:root{font-family:Inter,'Microsoft YaHei',sans-serif;color:#25363d;background:#f3f5f5;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #d9e1e0;border-radius:7px;background:white;color:#31464b;padding:9px 14px}button:hover{background:#eaf1ef}button.primary{background:#20745f;color:white;border-color:#20745f}button.small{padding:5px 9px;font-size:12px}input,select,textarea{border:1px solid #d5dedd;border-radius:7px;background:white;padding:10px;max-width:100%;color:#25363d}textarea{min-height:90px;resize:vertical}a{color:#23755f}aside{width:222px;background:#152f31;position:fixed;inset:0 auto 0 0;color:#d6e5e0;padding:30px 18px}.brand{font-size:25px;letter-spacing:3px;color:#fff;margin:0 10px}.brand small{font-size:11px;display:block;letter-spacing:2px;color:#8ea9a3;margin-top:9px}nav{margin-top:44px;display:grid;gap:9px}nav button{border:0;background:transparent;color:#abc3bd;text-align:left;padding:14px 16px}nav button.active{background:#2a4d46;color:white}aside footer{position:absolute;bottom:24px;font-size:12px;line-height:2;color:#a0b6b1}.main{margin-left:222px;padding:0 38px 42px}.top{height:78px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dce4e1;margin-bottom:29px}.muted{color:#7c8b8c;font-size:12px}.heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}h1{font-size:27px;margin:5px 0 10px;font-weight:600}h2{font-size:17px;margin:0 0 18px}h3{font-size:15px;margin:0 0 10px}p{line-height:1.8}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:25px}.stat,.panel{background:white;border:1px solid #e2e8e5;border-radius:12px;padding:23px}.stat strong{font-size:30px;display:block;margin-top:12px;font-weight:500}.stat:nth-child(1){background:#e5efeb}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{justify-content:space-between}.grid{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}.panel{margin-bottom:20px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:15px 10px;border-bottom:1px solid #edf0ef;font-size:13px}th{font-size:12px;color:#81918e;font-weight:400}tr:last-child td{border:0}.badge{display:inline-block;padding:5px 9px;border-radius:5px;background:#edf4f1;color:#33775d;font-size:11px}.badge.warn{background:#fff2df;color:#aa742b}.badge.gray{background:#f0f2f3;color:#6c7e82}.progress{height:6px;background:#e7eeeb;border-radius:9px;overflow:hidden;margin-top:8px;min-width:70px}.progress i{height:100%;display:block;background:#468b73}.empty{padding:40px 15px;text-align:center;color:#87948f;line-height:1.9}.tabs{display:flex;gap:9px;margin-bottom:20px}.tabs button.active{background:#dcebe5;border-color:#95bdad}.form{display:grid;gap:14px}.form label{display:grid;gap:7px;font-size:13px}.form .checks{display:flex;flex-wrap:wrap;gap:13px}.checks label{display:flex;align-items:center;gap:5px}.form .cols{display:grid;grid-template-columns:1fr 1fr;gap:15px}dialog{border:0;border-radius:14px;padding:27px;width:610px;max-width:94vw;max-height:90vh;box-shadow:0 30px 100px #102f3344}dialog::backdrop{background:#122a3566}dialog h2{font-size:21px}.actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.assets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.asset{background:white;border:1px solid #e1e8e5;border-radius:12px;overflow:hidden}.asset img{width:100%;height:210px;object-fit:contain;background:#eff2f0}.asset section{padding:17px}.asset .note{font-size:12px;color:#788984;white-space:pre-wrap}.chips{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0 22px}.chips button{border-radius:18px;font-size:12px}.chips .selected{background:#23755f;color:white}.login{max-width:430px;margin:10vh auto;padding:35px;background:white;border:1px solid #dbe5df;border-radius:16px}.login .brand{color:#20745f;margin:0 0 25px}.notice{padding:13px 16px;background:#f4f1e6;border-radius:7px;color:#89733c;font-size:12px;line-height:1.8;margin-bottom:18px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#173b36;color:white;padding:13px 23px;border-radius:8px;z-index:100;display:none}.error{color:#b3433b;font-size:13px;line-height:1.7}.checkline{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0ed}.listitem{padding:13px 0;border-bottom:1px solid #edf0ef}.listitem:last-child{border:0}.link{border:0;background:none;color:#23755f;text-align:left;padding:0}.scroll{overflow:auto}.summary{font-size:12px;color:#7c8b8c;margin-bottom:20px}@media(max-width:900px){aside{width:170px;padding:24px 12px}.main{margin-left:170px;padding:0 18px}.grid{grid-template-columns:1fr}.assets{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){aside{position:static;width:100%;padding:16px}.brand small,aside footer{display:none}nav{margin:16px 0 0;display:flex;overflow:auto;gap:3px}nav button{white-space:nowrap;padding:9px}.main{margin:0;padding:0 12px}.assets{grid-template-columns:1fr}.top{height:60px}.heading{align-items:flex-start}h1{font-size:23px}}

#project-fields{border:0;margin:0;padding:0;display:grid;gap:14px}#project-fields:disabled{opacity:.5}#category-editor{padding:12px;background:#edf4f1;border-radius:8px}#category-editor button{margin-top:8px}.reference-grid{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.reference-grid img{width:120px;height:90px;object-fit:contain;background:#f3f5f5;border-radius:6px}.reference-grid a{display:grid;max-width:130px;font-size:12px;overflow-wrap:anywhere}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}
.danger{color:#a64037}.drag-handle{cursor:grab;padding:5px 8px}.dragging{opacity:.45}.drop-target{box-shadow:inset 0 3px #20745f;background:#edf4f1}.sort-controls{display:flex;gap:3px}.sort-controls button:disabled{opacity:.3;cursor:default}.dashboard-feed{max-height:340px;overflow:auto}.dashboard-feed .row{margin-top:8px}.completed{opacity:.65}.completed strong{text-decoration:line-through}.project-table{min-width:850px}summary{cursor:pointer;font-weight:600}button:disabled{cursor:default}
.project-list-help{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#7c8b8c;margin-bottom:16px}.project-scroll{border:1px solid #e5ece8;border-radius:10px;margin-bottom:14px}.visual-project-table{table-layout:fixed;min-width:1154px;width:100%}.visual-project-table .col-sort{width:60px}.visual-project-table .col-project{width:176px}.visual-project-table .col-model{width:80px}.visual-project-table .col-features{width:180px}.visual-project-table .col-image{width:140px}.visual-project-table .col-progress{width:144px}.visual-project-table .col-owner{width:122px}.visual-project-table .col-actions{width:72px}.visual-project-table th{background:#edf4f1;color:#49645a;font-weight:500;padding:13px 10px;white-space:nowrap}.visual-project-table td{vertical-align:middle;padding:18px 10px}.visual-project-table tbody tr:hover{background:#fafcfb}.visual-project-table .sort-controls{flex-direction:column;align-items:center;gap:5px}.visual-project-table .sort-controls button{padding:3px 5px}.visual-project-table .sort-controls>div{display:flex;gap:1px}.visual-project-table .drag-handle{border-color:transparent;background:transparent;font-size:19px}.project-title{font-size:14px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}.project-code{margin:6px 0 8px;font-size:11px;overflow-wrap:anywhere}.model-name{font-size:15px;color:#235b4c;overflow-wrap:anywhere}.feature-copy{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:12px;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.project-thumb{display:block;width:120px;padding:0;border:1px solid #e2e8e5;border-radius:8px;background:white;overflow:hidden;text-align:center}.project-thumb img{display:block;width:118px;height:94px;object-fit:contain;background:#f8faf9}.project-thumb span{display:block;padding:5px 2px;font-size:10px;color:#697f75;background:#f0f5f2}.image-placeholder{display:flex;align-items:center;justify-content:center;min-height:98px;width:120px;border:1px dashed #dbe5df;border-radius:8px;color:#9aa9a2;background:#fafcfb;font-size:11px}.effect-caption{font-size:11px;color:#71827b;line-height:1.6;margin-top:7px;overflow-wrap:anywhere;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.progress-label{display:flex;justify-content:space-between;margin-top:16px;color:#205e4c;font-size:13px}.progress-label span{font-size:10px;color:#8c9993}.visual-project-table .progress{height:5px}.project-owner{font-size:13px}.project-date{margin-top:8px}.project-actions{display:flex;flex-direction:column;gap:7px}.project-actions .small{font-size:11px;padding:5px 8px}.visual-upload-note{padding:12px;background:#edf4f1;border-radius:7px;font-size:12px;line-height:1.7;color:#537062}.existing-images{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.existing-images img{width:60px;height:50px;object-fit:contain;border:1px solid #e3e9e6;border-radius:5px}.project-gallery{width:950px}.project-gallery h2{margin:0;font-size:18px}.gallery-stage{text-align:center;margin-top:18px}.gallery-stage>img{width:100%;max-height:65vh;object-fit:contain;background:#f5f7f6;border-radius:8px}.gallery-stage p{font-size:12px;color:#70827a;overflow-wrap:anywhere}.gallery-thumbs{display:flex;gap:8px;overflow:auto;padding:6px 0}.gallery-thumbs button{padding:3px}.gallery-thumbs img{display:block;width:70px;height:55px;object-fit:contain}
.project-category-bar{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-bottom:22px}.project-category-bar h2{margin:0;white-space:nowrap;font-size:19px}.project-category-tabs{display:flex;gap:8px;flex-wrap:wrap}.project-category-tabs button{background:#f6f8fa;border:1px solid #e1e7ee;border-radius:7px;color:#566777;font-size:12px;padding:9px 12px}.project-category-tabs button span{margin-left:7px;font-size:11px;opacity:.75}.project-category-tabs button:hover{background:#edf3ff;border-color:#9dbbf4}.project-category-tabs button.selected{background:#2563eb;border-color:#2563eb;color:white;box-shadow:0 2px 5px #2563eb22}.project-category-tabs button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}@media(max-width:600px){.project-category-bar{gap:12px}.project-category-tabs{gap:6px}.project-category-tabs button{padding:8px 9px}}
.paste-zone{width:100%;padding:15px;border:1px dashed #9ab7cd;background:#f5f9ff;color:#547a9a;text-align:center;line-height:1.6;font-size:12px}.paste-zone:focus{outline:2px solid #2563eb;outline-offset:2px;background:#eaf2ff;color:#1e55ac}.upload-queue{display:flex;flex-wrap:wrap;gap:10px}.upload-queue:empty{display:none}.upload-queue-item{display:grid;gap:5px;width:125px;padding:7px;background:#f5f8f6;border:1px solid #e0e8e3;border-radius:8px}.upload-queue-item img{width:109px;height:80px;object-fit:contain}.upload-queue-item span{font-size:11px;overflow-wrap:anywhere;max-height:36px;overflow:hidden}.upload-queue-item button{padding:4px;font-size:11px}.legacy-notes{margin:14px 0;color:#71827b;font-size:12px}
/* Fit project information to its available width instead of horizontal scrolling. */
.project-scroll{container-type:inline-size;overflow:visible;min-width:0}.visual-project-table{min-width:0;width:100%;table-layout:fixed}.visual-project-table .col-sort{width:5%}.visual-project-table .col-project{width:16%}.visual-project-table .col-model{width:7%}.visual-project-table .col-features{width:15%}.visual-project-table .col-image{width:11%}.visual-project-table .col-progress{width:14%}.visual-project-table .col-owner{width:13%}.visual-project-table .col-actions{width:8%}.visual-project-table th{white-space:normal;overflow-wrap:anywhere;padding:12px 7px;font-size:11px}.visual-project-table td{padding:12px 7px;overflow-wrap:anywhere}.visual-project-table .project-thumb,.visual-project-table .image-placeholder{width:100%;max-width:110px;margin:auto}.visual-project-table .project-thumb img{width:100%;height:74px}.visual-project-table .project-thumb span{font-size:10px}.visual-project-table .image-placeholder{min-height:94px;text-align:center;padding:5px}.visual-project-table .badge{max-width:100%;padding:4px 6px;overflow-wrap:anywhere}.visual-project-table .progress{min-width:0}.visual-project-table .progress-label{gap:3px;flex-wrap:wrap}.visual-project-table .project-title{font-size:13px}.visual-project-table .feature-copy{font-size:11px}.visual-project-table .project-date{font-size:11px}.visual-project-table .project-actions button{padding:5px 4px;white-space:normal}.gallery-thumbs{flex-wrap:wrap;overflow-x:visible;overflow-y:auto;max-height:24vh}.gallery-stage>img{max-height:50vh}
@container (max-width:920px){.visual-project-table,.visual-project-table tbody{display:block}.visual-project-table colgroup,.visual-project-table thead{display:none}.visual-project-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:16px;border-bottom:1px solid #dfe8e3}.visual-project-table tr:last-child{border-bottom:0}.visual-project-table td{display:block;border:0;padding:0;min-width:0}.visual-project-table td::before{content:attr(data-label);display:block;font-size:11px;color:#7c8b8c;margin-bottom:6px}.visual-project-table td[data-label="排序"],.visual-project-table td[data-label="项目"],.visual-project-table td[data-label="新品特性"],.visual-project-table td[data-label="操作"]{grid-column:1/-1}.visual-project-table td[data-label="排序"]::before{display:none}.visual-project-table .sort-controls{flex-direction:row;justify-content:flex-end}.visual-project-table .project-actions{flex-direction:row}.visual-project-table .project-actions button{padding:6px 18px}.visual-project-table .project-thumb,.visual-project-table .image-placeholder{max-width:160px;margin:0}.visual-project-table .project-thumb img{height:100px}.visual-project-table .project-title{font-size:15px}.visual-project-table .feature-copy{font-size:12px}.visual-project-table .progress-label{margin-top:8px}}
.project-category-tabs .add-product-category{border-style:dashed;background:white;color:#2563eb}.ip-guide .grid>div{min-width:0}.ip-guide a{overflow-wrap:anywhere}.ip-guide p{font-size:12px;margin:8px 0}.ip-counts{display:flex;gap:18px;flex-wrap:wrap;padding:14px;background:#f0f5f2;border-radius:8px;margin:12px 0 18px;font-size:12px}.ip-counts strong{color:#20745f;margin-left:5px;font-size:18px}.ip-holdings{display:grid;gap:14px}.holding-card{border:1px solid #e1e9e4;border-radius:10px;padding:18px;overflow-wrap:anywhere}.holding-card p{margin:8px 0;font-size:13px}.holding-card details{margin-top:14px}.holding-card summary{font-size:12px;color:#74877d}

.ip-resource-row{display:grid;grid-template-columns:minmax(210px,28%) minmax(0,1fr) auto;gap:20px;align-items:center;padding:14px 0;border-bottom:1px solid #edf0ef}.ip-resource-row:last-child{border-bottom:0}.ip-resource-title{font-size:13px;line-height:1.6}.ip-resource-row p{margin:0;line-height:1.7}.ip-resource-row button{white-space:nowrap}@media(max-width:700px){.ip-resource-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.ip-resource-row p{grid-column:1;grid-row:2}.ip-resource-row button{grid-column:2;grid-row:1 / span 2}}

.holding-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:16px 0}.holding-filters label{display:grid;gap:6px;font-size:12px;min-width:150px}.holding-filters input,.holding-filters select{padding:9px;border:1px solid #dbe3e0;border-radius:7px;max-width:100%}.holding-pagination{justify-content:flex-end;flex-wrap:wrap;margin-top:16px;font-size:12px}.holding-card{padding:12px 16px}.holding-card p{margin:6px 0}

.team-grid{align-items:start}.team-member{display:flex;align-items:center;gap:10px;padding:12px 0;flex-wrap:nowrap}.team-member .member-name{min-width:3em;overflow-wrap:anywhere}.team-member .badge,.member-actions button{white-space:nowrap}.member-actions{margin-left:auto;flex-wrap:nowrap;gap:6px}.audit-pagination{justify-content:flex-end;flex-wrap:wrap;margin-top:16px;font-size:12px}.team-grid>.panel{min-width:0}@media(min-width:901px) and (max-width:1200px){.team-grid{grid-template-columns:1fr}}@media(max-width:480px){.team-member{gap:5px}.member-actions{gap:4px}.member-actions button{font-size:11px;padding:6px}.team-member .badge{font-size:11px;padding:4px}.team-member .member-name{font-size:12px}}

.asset-preview-button{position:relative;display:block;width:100%;border:0;padding:0;border-radius:0;background:#eff2f0;cursor:zoom-in}.asset-preview-button img{display:block}.asset-preview-button span{position:absolute;right:8px;bottom:8px;font-size:11px;background:#ffffffdd;color:#345b50;padding:4px 8px;border-radius:6px}.asset-image-dialog{width:1100px;max-width:94vw}.asset-image-dialog h2{font-size:17px;margin:0;overflow-wrap:anywhere;max-width:80%}.preview-tools{justify-content:center;margin:12px 0;font-size:12px}.asset-image-stage{height:65vh;overflow:auto;background:#eef2f0;border-radius:8px}.asset-image-stage img{display:block;max-width:none;height:auto;margin:0 auto}.asset-preview-button:focus-visible{outline:3px solid #4c65e8;outline-offset:-3px}
.project-filters{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 20px}.project-filters label{display:flex;align-items:center;gap:8px;margin:0;font-size:13px}.project-filters select{width:auto;min-width:140px;margin:0;padding:8px 12px}.project-filters .muted{font-size:12px}.gallery-filename{font-size:12px;color:#70827a;overflow-wrap:anywhere}
.library-layout{margin:0 0 18px;font-size:13px}.library-layout .selected{background:#4c63e8;border-color:#4c63e8;color:#fff}.assets.library-columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}.assets.library-columns-5{grid-template-columns:repeat(5,minmax(0,1fr))}.assets .asset{min-width:0}.assets .asset h3{overflow-wrap:anywhere}.assets.library-columns-4 .asset img,.assets.library-columns-5 .asset img{height:auto;aspect-ratio:4/3}.assets.library-columns-4 .asset section,.assets.library-columns-5 .asset section{padding:12px}.assets .asset .note{overflow-wrap:anywhere}@media(max-width:900px){.assets.library-columns-4,.assets.library-columns-5{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.assets.library-columns-4,.assets.library-columns-5{grid-template-columns:minmax(0,1fr)}}
.assets .asset section>.row{flex-wrap:nowrap;gap:6px}.assets .asset section>.row>.small{flex:1 1 auto;min-width:0;white-space:nowrap;padding:6px 4px;font-size:12px}
.report-row{display:grid;grid-template-columns:minmax(180px,1fr) auto 110px 110px auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid #e5ebe8}.report-title{min-width:0;overflow-wrap:anywhere}.report-title .muted{margin-top:4px}.report-title details{font-size:12px;margin-top:4px}.report-actions{gap:6px}.report-preview-link{font-size:12px;border:1px solid #d9e1e0;border-radius:7px;padding:5px 9px;text-decoration:none;white-space:nowrap}@media(max-width:1100px){.report-row{grid-template-columns:minmax(0,1fr) auto}.report-actions{grid-column:1/-1}}
