/* R6: scoped compact layout; native Discuz forms, permissions and editor stay intact. */
.cecat-brand{flex-basis:146px}.cecat-brand img{width:146px;height:50px}
.cecat-touch .header .mzlogo img{content:url('site-logo.png?v=20261101r6final');width:116px;height:40px;object-fit:contain}
.cecat-reference #ct.cecat-columns{margin-top:20px}
.cecat-feature-block .cecat-feature{border:0;margin:0;height:300px}
.cc-home-stats{display:flex;align-items:center;gap:0;flex-wrap:wrap;padding:10px 14px;border-top:1px solid #eae3f0;color:#7b6c86;font:12px/20px Tahoma,'Microsoft YaHei',sans-serif;background:#faf8fc;border-radius:0 0 5px 5px}
.cc-home-stats>span{display:flex;align-items:baseline;gap:5px;padding:0 12px;border-right:1px solid #e6ddeb;white-space:nowrap}
.cc-home-stats>span:first-child{padding-left:0}.cc-home-stats>span:last-child{border:0;min-width:0}
.cc-home-stats b,.cc-home-stats a{color:#59446b;font-weight:600}.cc-home-stats .cc-new-member a{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cecat-touch .cc-home-stats{margin:0 12px 12px;padding:8px 10px;border:1px solid #eee5f0;border-radius:8px;font-size:11px;row-gap:4px}
.cecat-touch .cc-home-stats>span{padding:0 7px}.cecat-touch .cc-home-stats .cc-new-member{border:0}
:is(.cecat-inner,.cecat-touch) .cc-filters{padding:7px 14px!important;margin:10px 18px 14px;border-radius:8px;box-shadow:none;background:#fff}
.cc-filter-reset{margin:0;height:23px;align-items:center}.cc-filter-reset a{font-size:11px;padding:0}
:is(.cecat-inner,.cecat-touch) .cc-filters .tsm{table-layout:fixed!important;width:100%}
:is(.cecat-inner,.cecat-touch) .cc-filters .tsm th{width:80px!important;padding:3px 8px 3px 0;line-height:28px;font-size:12px}
:is(.cecat-inner,.cecat-touch) .cc-filters .tsm td{padding:3px 0;min-width:0}
.cc-filter-options{display:flex;gap:6px;align-items:flex-start;min-width:0}.cc-filter-rail{min-width:0;flex:1;overflow:auto;scrollbar-width:thin;scrollbar-color:#d8c9e2 transparent}
:is(.cecat-inner,.cecat-touch) .cc-filters .tbmu{flex-wrap:nowrap;gap:3px;min-width:0}
:is(.cecat-inner,.cecat-touch) .cc-filters .tbmu li{flex:none;max-width:none}
:is(.cecat-inner,.cecat-touch) .cc-filters .tbmu a{padding:3px 9px;line-height:20px;white-space:nowrap;border-radius:5px}
.cc-filter-expand{flex:none;border:0;background:#f6f2f9;color:#715485;font-size:11px;line-height:28px;padding:0 7px;border-radius:5px;cursor:pointer}
.cc-filter-expand[hidden]{display:none!important}.cc-filter-options.is-open .cc-filter-rail{overflow:visible}.cc-filter-options.is-open .tbmu{flex-wrap:wrap}
:is(.cecat-inner,.cecat-touch) #thread_types{padding:6px 14px;gap:4px}:is(.cecat-inner,.cecat-touch) #thread_types a{padding:3px 10px;line-height:24px;border-radius:5px}
/* Two metadata columns, with labels above values on narrow screens. */
:is(.cecat-inner,.cecat-touch) .typeoption.cc-specification,.cc-specification.viewsort{margin:12px 0 0;border-radius:8px 8px 0 0;box-shadow:none}
:is(.cecat-inner,.cecat-touch) .cc-specification table{display:block;width:100%;margin:0}
:is(.cecat-inner,.cecat-touch) .cc-specification caption{display:block;padding:8px 14px;min-height:24px;background:#f8f5fb}
.cc-specification caption>strong{font-size:14px;margin:0;line-height:24px}.cc-spec-category{margin:0;padding:1px 8px;line-height:22px;font-size:11px}
.cc-specification .cgtl tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.cc-specification .cgtl tr{display:grid;grid-template-columns:108px minmax(0,1fr);border-bottom:1px solid #eee7f3;min-width:0}
:is(.cecat-inner,.cecat-touch) .cc-specification .cgtl th,:is(.cecat-inner,.cecat-touch) .cc-specification .cgtl td{display:block;width:auto!important;padding:7px 12px;line-height:20px;min-width:0;overflow-wrap:anywhere;border:0;font-size:12px}
.cc-specification .cgtl tr:nth-child(odd){border-right:1px solid #eee7f3}
.cecat-touch .cecat-resource-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0!important;background:#fff}
.cecat-touch .cecat-resource-fields.cc-specification{margin:10px 0 0!important;border-radius:8px 8px 0 0}
.cecat-touch .cecat-resource-fields h4{grid-column:1/-1;font-size:14px;line-height:24px;margin:0;padding:7px 12px;background:#f8f5fb}
.cecat-touch .cecat-resource-row{display:flex;flex-direction:column;gap:0;padding:6px 10px;font-size:12px;line-height:19px;min-width:0}
.cecat-touch .cecat-resource-row:nth-child(even){border-right:1px solid #eee7f3}.cecat-touch .cecat-resource-label{font-size:11px}.cecat-touch .cecat-resource-value{font-weight:500}
/* Native resource entry fields: preserve input IDs, dynamic selects and validators. */
.cecat-inner #postbox>.exfm:has(.cc-sort-fields){padding:10px 12px;margin:10px 0;border-radius:8px;background:#fcfbfe;border:1px solid #e9e1f0}
#postform .cc-sort-fields{display:block;width:100%!important;margin:0;padding:0}
#postform table.cc-sort-fields>tbody{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 18px}
#postform table.cc-sort-fields tr{display:flex;flex-direction:column;min-width:0;position:relative}
#postform table.cc-sort-fields th,#postform table.cc-sort-fields td{width:auto!important;padding:0!important;display:block;border:0;min-width:0}
#postform table.cc-sort-fields th{font-size:12px;line-height:23px;color:#776382;font-weight:400}
#postform .cc-sort-fields input.px,#postform .cc-sort-fields select,#postform .cc-sort-fields textarea{box-sizing:border-box;width:100%!important;max-width:100%;min-width:0;height:34px;border:1px solid #ddd2e7;background:#fff;border-radius:5px;padding:5px 8px;color:#51405f;font-size:13px;line-height:22px}
#postform .cc-sort-fields textarea{height:70px;resize:vertical}
#postform .cc-sort-fields tr>td:last-child:not(:nth-child(2)){position:absolute;right:4px;top:0;font-size:11px;color:#a54444}
#postform .cc-sort-fields .warning{background:#fff3f1;position:relative;z-index:1;line-height:22px}
#postform .cc-sort-fields .cc-sort-intro{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;gap:12px;color:#8a7996;font-size:12px}
#postform .cc-sort-fields .cc-sort-wide{grid-column:1/-1}
#postform .cc-hints-ready .cc-field-hint{display:none!important}
.cc-sort-help,.cc-publish-help{font-size:12px;color:#7a6788;line-height:1.8;margin:7px 0 0}.cc-sort-help summary,.cc-publish-help summary{cursor:pointer;width:fit-content;color:#755389;list-style:disclosure-closed}
.cc-sort-help[open] summary,.cc-publish-help[open] summary{list-style:disclosure-open}.cc-sort-help p{padding:3px 0;margin:0;color:#74627f;font-size:12px}
.cecat-inner #postbox .pbt{margin-bottom:8px}.cecat-inner #postbox #subject{width:30em!important;height:36px!important;padding:6px 10px!important;line-height:22px!important}
.cecat-inner #post_extra{margin:8px 0}.cecat-inner #post_extra .tb a{padding:0 10px;line-height:28px}
.cecat-touch #postform .post_from.post_box{margin:10px;border-radius:8px}
.cecat-touch #postform .post_box.cc-sort-fields{box-sizing:border-box;width:auto!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px;padding:10px!important;margin:8px 10px;border-radius:7px}
.cecat-touch #postform .cc-sort-fields .mtext{padding:0!important;margin:0;gap:3px;border:0;display:flex;flex-direction:column;min-width:0}
.cecat-touch #postform .cc-sort-fields .mtext>.flex:first-child{font-size:12px;line-height:20px}
.cecat-touch #postform .cc-sort-fields .mtext>div[id^=select_]{min-width:0;width:100%}
.cecat-touch #postform .cc-sort-fields select,.cecat-touch #postform .cc-sort-fields input.px{height:34px!important;padding:4px 7px!important;font-size:16px}
.cecat-touch #postform .cc-sort-fields .cc-sort-intro{gap:3px;align-items:start}
.cecat-touch #postform .cc-sort-fields>.mtit:not(.cc-field-hint){grid-column:1/-1;padding:0!important;min-height:0}
.cecat-touch .cc-sort-help{margin:4px 12px 9px}.cecat-touch #postform .cc-sort-fields+.discuz_x{height:0}
.cecat-touch #postform #post_extra{margin:4px 0}.cecat-touch #postform #post_extra .swiper-slide a{line-height:32px;font-size:12px}
.cecat-touch #postform .cc-native-title{font-size:16px;padding:6px 8px!important;line-height:24px!important}
@media(max-width:1000px){#postform table.cc-sort-fields>tbody{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 .cecat-reference .cecat-brand{flex-basis:120px}.cecat-reference .cecat-brand img{width:120px;height:44px}
 .cecat-feature-block .cecat-feature{height:auto}.cc-home-stats{padding:8px 12px;row-gap:5px}.cc-home-stats>span{padding:0 8px;font-size:11px}.cc-home-stats .cc-new-member{flex-basis:100%;padding-left:0}
 :is(.cecat-inner,.cecat-touch) .cc-filters{padding:6px 10px!important;margin:10px 12px!important}
 :is(.cecat-inner,.cecat-touch) .cc-filters .tsm th{width:68px!important;font-size:11px;padding:3px 5px 3px 0;line-height:28px}
 :is(.cecat-inner,.cecat-touch) .cc-filters .tbmu a{font-size:12px;padding:3px 7px}
 .cc-specification .cgtl tr{grid-template-columns:minmax(0,1fr);align-content:start}
 :is(.cecat-inner,.cecat-touch) .cc-specification .cgtl th{padding:5px 10px 0;font-size:11px;line-height:19px;background:#fff}
 :is(.cecat-inner,.cecat-touch) .cc-specification .cgtl td{padding:0 10px 5px;font-size:12px;line-height:20px}
 :is(.cecat-inner,.cecat-touch) .cc-specification caption{padding:7px 10px}.cc-spec-category{float:right;margin:0;font-size:10px}
 .cecat-inner #postbox #subject{width:100%!important;min-width:0}.cecat-inner #subjectchk{display:inline-block;font-size:11px}
 #postform table.cc-sort-fields>tbody{gap:8px 10px}.cecat-inner #postbox>.exfm:has(.cc-sort-fields){padding:8px}
}
