:root{--bg:#f6f7f4;--paper:#fff;--ink:#222d29;--muted:#7c857e;--line:#e8ebe5;--orange:#e9774f;--orange-bg:#fff0e9;--green:#417d63;--green-bg:#edf6ee;--sidebar:#202a25;--radius:14px;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,select,input[type=checkbox]{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #eaa083;outline-offset:3px}a{color:inherit}button{color:inherit}svg{vertical-align:middle}.icon{width:19px;height:19px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.shell{min-height:100vh;display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:222px;background:var(--sidebar);color:#b9c3bc;padding:34px 20px 22px;display:flex;flex-direction:column;z-index:30}.brand{color:#fff;font-size:27px;font-weight:700;letter-spacing:-1.7px;padding:0 14px}.brand span{color:#f1a47f;letter-spacing:0;font-weight:400}.brand-caption{font-size:10px;letter-spacing:2.3px;margin:8px 14px 39px;color:#8d9c93}.nav{display:flex;flex-direction:column;gap:6px}.nav-btn{border:0;background:transparent;display:flex;align-items:center;gap:13px;padding:13px 15px;color:#b9c3bc;border-radius:8px;text-align:left;position:relative}.nav-btn:hover{background:#2d3831;color:white}.nav-btn.active{background:#3e4c40;color:#f7faf5}.nav-btn.active:before{content:'';width:3px;height:19px;background:#dfab81;position:absolute;left:-20px;border-radius:0 4px 4px 0}.nav-btn .count{margin-left:auto;background:#57634f;color:#eaf0e6;border-radius:5px;font-size:10px;padding:2px 6px}.dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex-shrink:0}.nav-btn .nav-total{margin-left:auto;color:#8fa194;font-size:12px;font-variant-numeric:tabular-nums}.nav-btn.active .nav-total,.nav-btn:hover .nav-total{color:#d8e2d8}.sidebar-bottom{margin-top:auto}.sidebar-foot{padding:12px;display:flex;align-items:center;gap:10px;font-size:11px}.avatar{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex-shrink:0;border-radius:50%;background:#e5eade;color:#61705c;font-size:11px;font-weight:600}.avatar.dark{background:#53634f;color:#e4eddc}.sidebar-foot span small{display:block;color:#869a8b;margin-top:4px}.main{margin-left:222px;width:calc(100% - 222px)}.topbar{height:78px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.75);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:20px}.breadcrumb{font-size:12px;color:#8e968f;display:flex;align-items:center;gap:12px;white-space:nowrap}.breadcrumb strong{font-weight:500;color:#49564d}.top-actions{display:flex;align-items:center;gap:17px}.search-box{display:flex;align-items:center;gap:9px;color:#9aa299;background:#f3f5f1;border:1px solid transparent;padding:9px 13px;border-radius:7px}.search-box input{border:0;background:none;outline:0;min-width:0;width:150px;font-size:12px}.search-box:focus-within{border-color:#b8c8b1}.search-box kbd{font-family:inherit;font-size:10px;border:1px solid #dce2d8;border-radius:3px;padding:1px 4px}.role-select{background:transparent;border:0;font-size:12px;padding:7px 19px 7px 0;max-width:180px}.role-control{display:flex;align-items:center;gap:8px;border-left:1px solid var(--line);padding-left:20px}.menu-button{display:none}.content{max-width:1640px;margin:auto;padding:33px 38px 40px}.page-kicker{font-size:10px;letter-spacing:2px;color:#9ba595;font-weight:600;margin:0 0 9px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-heading h1{font-size:27px;font-weight:600;letter-spacing:.4px;margin:0 0 9px;line-height:1.3}.page-heading p{font-size:12px;color:var(--muted);margin:0;line-height:1.7}.heading-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.btn{border:1px solid #dce2d9;background:#fff;border-radius:7px;min-height:36px;padding:8px 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:500;text-decoration:none;white-space:nowrap}.btn:hover{background:#f4f6f0;border-color:#c3cfbd}.btn.primary{color:#fff;background:#e8754d;border-color:#e8754d;box-shadow:0 3px 5px #d4784830}.btn.primary:hover{background:#d56842}.btn.dark{background:#3f5642;border-color:#3f5642;color:#fff}.btn.text{border-color:transparent;background:transparent;color:var(--muted);padding-left:4px;padding-right:4px}.btn.small{min-height:29px;font-size:11px;padding:5px 9px}.btn.danger{color:#bd514a;border-color:#ecc5c0}.icon-btn{padding:7px;border:0;border-radius:6px;background:transparent;color:#899286;display:inline-flex;align-items:center;justify-content:center}.icon-btn:hover{background:#edf0e9}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:28px}.stat{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:20px 21px;position:relative}.stat .label{font-size:12px;color:#7d887c}.stat .symbol{position:absolute;right:19px;top:17px;width:32px;height:32px;display:grid;place-items:center;background:#f3f5ed;color:#93a081;border-radius:8px}.stat:nth-child(2) .symbol{background:#edf3f8;color:#849db4}.stat:nth-child(3) .symbol{background:#fff3e9;color:#e6a263}.stat:nth-child(4) .symbol{background:#f5eef1;color:#b7919a}.stat .number{font-size:31px;font-weight:600;line-height:1.2;margin:13px 0 9px;letter-spacing:-1px}.stat .sub{font-size:10px;color:#a0a89b}.stat .sub em{font-style:normal;color:#6f9365;margin-right:4px}.overview-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:12px}.section-title h2{font-size:16px;font-weight:600;margin:0;display:flex;align-items:center;gap:8px}.section-title .hint{font-size:11px;font-weight:400;color:#a0a69d}.tabs{display:flex;gap:19px;border-bottom:1px solid var(--line);margin-bottom:20px;overflow:auto}.tab{border:0;background:transparent;font-size:12px;white-space:nowrap;color:#8a9287;padding:3px 1px 13px;position:relative}.tab.active{color:#394d39;font-weight:600}.tab.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#516b48}.tab small{font-size:10px;color:#9ca694;margin-left:6px}.project-controls{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:17px}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter{background:#fff;border:1px solid #e4e8df;border-radius:6px;font-size:11px;min-height:31px;padding:5px 9px;color:#7d8777;max-width:180px}.view-toggle{display:flex;border:1px solid #e3e7de;border-radius:6px;background:#fff;padding:2px;gap:2px}.view-toggle button{border:0;background:none;border-radius:4px;color:#a6ada2;padding:4px 7px}.view-toggle button.active{background:#eff2e9;color:#64745b}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.project-card{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;cursor:pointer;transition:transform .15s,box-shadow .15s;position:relative}.project-card:hover{transform:translateY(-3px);box-shadow:0 8px 25px #2b3c2410;border-color:#cdd7c4}.project-visual{height:113px;position:relative;overflow:hidden;background:#efeee7;display:flex;align-items:center;justify-content:center}.project-visual.cd{background:#efeee6}.project-visual.vinyl{background:#eaece6}.project-visual.headphones{background:#e8edf0}.product-art{width:180px;height:111px}.project-visual .badge{position:absolute;left:14px;top:12px;background:#ffffffb8;border-color:#ffffff90;font-size:9px;backdrop-filter:blur(3px);z-index:1}.product-word{font-size:65px;letter-spacing:-5px;font-weight:600;position:absolute;right:5px;top:26px;color:#ffffff80;line-height:1;user-select:none}.card-content{padding:16px 18px 14px}.project-name-row{display:flex;align-items:start;justify-content:space-between;gap:8px;margin-bottom:7px}.project-name-row h3{font-size:17px;letter-spacing:-.2px;margin:0 0 5px;font-weight:600}.project-type{font-size:10px;color:#92998d}.badge{font-size:10px;display:inline-flex;gap:5px;align-items:center;white-space:nowrap;padding:4px 7px;line-height:1.2;border-radius:4px;border:1px solid transparent;background:#f0f3eb;color:#7a886a}.badge.green{background:#eff6ee;color:#638359}.badge.amber{background:#fff6e8;color:#b68a48}.badge.red{background:#fdf0ed;color:#ca7661}.badge.blue{background:#edf3f7;color:#6c8ea4}.badge.gray{background:#f2f3ef;color:#8b9386}.badge.orange{background:#fef1e8;color:#cb895f}.progress-row{display:flex;align-items:center;gap:9px;margin:12px 0}.progress-label{width:24px;flex-shrink:0;font-size:10px;color:#929a8b}.progress-track{height:4px;flex:1;background:#f0f2ec;border-radius:4px;overflow:hidden}.progress-track span{height:100%;display:block;background:#91a383;border-radius:4px}.progress-row.marketing .progress-track span{background:#dfb68e}.progress-number{font-size:10px;color:#7c8873;width:28px;text-align:right}.card-next{font-size:10px;color:#89917f;display:flex;gap:6px;align-items:center;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-next span{overflow:hidden;text-overflow:ellipsis}.card-footer{margin:13px -18px -14px;padding:11px 17px;background:#fcfcfa;border-top:1px solid #f0f2ec;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#929a88}.person{display:flex;gap:6px;align-items:center}.person .avatar{width:21px;height:21px;font-size:8px}.card-footer .date{display:flex;align-items:center;gap:5px}.rail-panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px 18px;margin-bottom:18px}.rail-panel h3{font-size:13px;font-weight:600;margin:0;display:flex;align-items:center;gap:7px}.rail-panel .rail-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.focus-item{border-bottom:1px solid #eef0e8;padding:0 0 16px;margin-bottom:15px}.focus-item:last-child{border:0;margin:0;padding:0}.focus-meta{display:flex;align-items:center;gap:7px;font-size:10px;color:#919c87;margin-bottom:8px}.focus-item h4{font-size:11px;line-height:1.8;font-weight:500;margin:0 0 9px}.focus-bottom{display:flex;justify-content:space-between;align-items:center;color:#a3aa9b;font-size:9px}.focus-bottom .urgent{color:#d29269}.focus-item button{border:0;background:none;text-align:left;padding:0;width:100%}.section-arrow{font-size:11px;color:#9ba592}.quick-action{display:flex;gap:11px;align-items:center;padding:10px 0;font-size:11px;background:transparent;border:0;text-align:left;width:100%}.quick-action .quick-icon{background:#f5f4ed;padding:8px;border-radius:7px;color:#a39f84}.quick-action .quick-icon .icon{width:16px;height:16px}.quick-action strong{display:block;font-size:11px;font-weight:500;margin-bottom:5px}.quick-action small{font-size:9px;color:#a3a996}.rail-tip{font-size:10px;line-height:1.9;color:#9aa28f;padding:5px 6px}.activity{display:flex;gap:11px;margin-bottom:18px;font-size:10px;line-height:1.8}.activity .activity-dot{width:6px;height:6px;border:1px solid #abb89a;background:#f1f4e9;border-radius:50%;margin-top:7px;flex-shrink:0}.activity small{display:block;color:#abb09f;font-size:9px}.footer-note{display:flex;gap:8px;justify-content:center;align-items:center;font-size:10px;color:#a2ab99;padding:28px 0 0}.table-wrap{background:white;border:1px solid var(--line);border-radius:12px;overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{background:#f9faf6;font-size:10px;color:#939d8a;font-weight:500;padding:14px 16px;white-space:nowrap}td{padding:15px 16px;border-top:1px solid var(--line);line-height:1.7}tr.clickable{cursor:pointer}tr.clickable:hover{background:#fbfcf8}td strong{font-weight:500}td small{display:block;color:#a0a795;font-size:10px}td .progress-row{min-width:110px;margin:5px 0}.empty{background:#fff;border:1px dashed #dce2d3;border-radius:12px;padding:45px 20px;text-align:center;color:#8b977e;grid-column:1/-1}.empty p{font-size:12px;line-height:1.9;margin:10px 0 17px}.empty .icon{width:30px;height:30px;color:#acb79d}.notice{font-size:11px;color:#8e926e;background:#f5f3e6;border:1px solid #e9e6cf;padding:11px 14px;line-height:1.8;border-radius:8px;margin-bottom:20px;display:flex;align-items:center;gap:8px}.notice.blue{background:#edf3f5;color:#728e98;border-color:#dfe9ed}.detail-header{display:flex;align-items:center;gap:24px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px 25px;margin-bottom:22px}.detail-product{background:#efeee6;border-radius:10px;width:140px;flex-shrink:0;overflow:hidden}.detail-product .product-art{width:140px;height:100px}.detail-info{flex:1}.detail-info h1{font-size:26px;margin:0 0 7px}.detail-info p{font-size:12px;color:#87947c;margin:0 0 13px}.detail-meta{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:#8c9783}.detail-meta strong{font-weight:500;color:#54644a}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:23px}.panel{background:#fff;border:1px solid var(--line);padding:23px;border-radius:12px;margin-bottom:20px}.panel h2{font-size:15px;margin:0 0 20px;font-weight:600}.panel h3{font-size:13px;font-weight:500;margin:0 0 12px}.dual-track{display:grid;grid-template-columns:1fr 1fr;gap:20px}.track-box{border:1px solid var(--line);border-radius:10px;padding:18px}.track-box .track-label{display:flex;justify-content:space-between;font-size:12px;margin-bottom:15px}.track-box .track-label strong{font-size:25px;font-weight:500;line-height:1}.track-box .progress-track{height:6px}.track-box.mk .progress-track span{background:#dfb68e}.stage-steps{display:flex;justify-content:space-between;gap:5px;margin-top:17px;font-size:9px;color:#abb49f}.stage-steps .done{color:#728c64}.track-foot{font-size:10px;color:#9ba38f;margin-top:16px;display:flex;gap:8px;align-items:center;justify-content:space-between}.task-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.task-row:last-child{border:0;padding-bottom:0}.task-check{border:1px solid #d9dfcf;border-radius:5px;min-width:19px;height:19px;background:#fff;display:grid;place-items:center;padding:0;color:#fff}.task-check .icon{width:12px;height:12px}.task-check.done{background:#849a73;border-color:#849a73}.task-row-content{min-width:0;flex:1}.task-row-content strong{font-size:12px;font-weight:500;display:block;margin-bottom:5px}.task-row-content small{font-size:10px;color:#9ca68e;display:flex;gap:9px;align-items:center}.task-row.completed strong{text-decoration:line-through;color:#a9b19d}.due-over{color:#cf8767!important}.timeline{position:relative}.diary-card{position:relative;margin:0 0 24px 17px;padding-left:27px;border-left:1px solid #dfe5d7}.diary-card:before{content:'';position:absolute;left:-5px;top:6px;border:3px solid var(--bg);background:#9eb08b;width:9px;height:9px;border-radius:50%}.diary-date{font-size:10px;color:#8b9980;margin:0 0 11px;letter-spacing:.3px}.diary-inner{border:1px solid var(--line);border-radius:12px;background:#fff;padding:22px}.diary-head{display:flex;justify-content:space-between;gap:10px;align-items:start}.diary-head h3{font-size:15px;margin:0 0 8px;font-weight:500}.diary-head small{font-size:10px;color:#9ba78f}.diary-content{font-size:12px;line-height:1.9;color:#7e8c71;margin:17px 0}.diary-facts{background:#f8f9f4;border-radius:8px;padding:12px 15px;display:grid;gap:9px;font-size:11px;line-height:1.9}.diary-facts p{margin:0}.diary-facts strong{font-weight:500;color:#55674b}.diary-facts span{color:#91a080}.diary-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:14px}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:16px 0}.photo-grid button{border:1px solid var(--line);padding:0;background:#f1f3eb;border-radius:7px;overflow:hidden;aspect-ratio:1.3;position:relative}.photo-grid img{width:100%;height:100%;object-fit:cover}.attachment{display:inline-flex;align-items:center;gap:7px;border:1px solid #e2e7d9;background:#fff;border-radius:5px;padding:7px 10px;font-size:10px;margin:10px 5px 0 0;max-width:100%;text-decoration:none}.attachment span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment .icon{width:14px;height:14px}.issue-card{background:white;border:1px solid var(--line);border-radius:10px;padding:18px 20px;margin-bottom:12px;display:flex;align-items:start;gap:14px}.issue-card .issue-body{flex:1;min-width:0}.issue-card h3{font-size:13px;margin:0 0 10px;font-weight:500;line-height:1.7}.issue-card p{font-size:11px;line-height:1.8;color:#95a086;margin:0 0 10px}.issue-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:10px;color:#9ba78e}.issue-actions{display:flex;gap:7px;align-items:center}.risk-number{font-size:10px;color:#a6af9c;margin:3px 0}.feedback-card{border:1px solid var(--line);border-radius:10px;background:#fff;padding:18px;margin-bottom:12px}.feedback-card h3{font-size:13px;margin:0 0 10px;font-weight:500}.feedback-card p{font-size:12px;color:#849575;line-height:1.9}.feedback-card footer{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#9caa8f}.weekly-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:0 0 23px}.weekly-summary>div{background:#f5f7ef;border:1px solid #e7ecde;border-radius:10px;padding:18px;font-size:11px;color:#94a281}.weekly-summary strong{display:block;color:#5e7550;font-size:25px;margin-bottom:8px;font-weight:500}.report{background:#fff;border:1px solid var(--line);border-radius:12px;padding:32px;max-width:1000px}.report h2{font-size:20px;margin:0 0 6px}.report>p{font-size:11px;line-height:1.8;color:#95a384}.report h3{font-size:14px;border-top:1px solid var(--line);padding-top:22px;margin:26px 0 14px}.report li{font-size:12px;line-height:2.2;color:#7c8e6d}.report table{font-size:11px}.report td{padding:12px}.report th{padding:10px}.modal-overlay{position:fixed;inset:0;background:#1c281d70;backdrop-filter:blur(4px);z-index:100;display:flex;justify-content:center;align-items:center;padding:24px}.modal{background:#fff;border-radius:16px;width:600px;max-width:100%;max-height:90dvh;overflow:auto;box-shadow:0 20px 80px #17291e40}.modal.wide{width:760px}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:23px 25px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.modal-head h2{font-size:17px;margin:0;font-weight:600}.modal-body{padding:22px 25px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:17px 25px;border-top:1px solid var(--line);background:#fbfcf9;position:sticky;bottom:0;z-index:1}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:500;color:#829171}.required{color:#d98765;margin-left:3px}.field input,.field textarea,.field select{border:1px solid #dfe5d7;background:#fff;border-radius:6px;padding:10px 12px;min-width:0;width:100%;color:#506047;font-size:12px}.field textarea{min-height:88px;resize:vertical;line-height:1.8}.field input[type=range]{padding:6px 0;accent-color:#8d9f7b}.field small{font-size:10px;line-height:1.8;color:#a0ad94}.field .checkbox-label{display:flex;align-items:center;gap:8px;margin-top:8px}.field .checkbox-label input{width:auto}.upload-box{display:flex;flex-direction:column;align-items:center;gap:8px;border:1px dashed #cbd6bd;border-radius:9px;background:#f9faf5;padding:22px;cursor:pointer;text-align:center;color:#9eac90;font-size:11px}.upload-box input{max-width:100%;font-size:10px;border:0;background:none;padding:5px}.upload-box strong{font-weight:500;color:#7c9169}.upload-previews{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.upload-item{position:relative}.upload-item img{width:100%;height:75px;object-fit:cover;border:1px solid var(--line);border-radius:5px}.upload-item button{position:absolute;right:2px;top:2px;min-height:20px;background:#263624b0;color:white;border:0;border-radius:50%;width:20px;height:20px;font-size:12px}.file-item{font-size:10px;padding:7px 0;border-bottom:1px solid var(--line);display:flex;gap:8px;justify-content:space-between;color:#889a79}.form-error{font-size:11px;line-height:1.8;background:#fff1ea;border:1px solid #ecc7b4;color:#b96b46;border-radius:6px;padding:10px 14px;margin-top:15px}.modal-photo{width:100%;max-height:65vh;object-fit:contain;background:#eef1e9}.photo-caption{font-size:11px;color:#9ba98e;word-break:break-all;margin:12px 0 0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid p{color:#8b9d7a;font-size:12px;line-height:2}.settings-grid .btn{margin:7px 5px 0 0}.loading{padding:25vh 0;text-align:center;font-size:36px;font-weight:600;color:#53694a}.loading span{display:block;font-weight:400;font-size:13px;margin:20px}.error-screen{margin:80px auto;max-width:700px;padding:30px;background:#fff;border-radius:15px;line-height:2;color:#7e906d}#toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#2f442d;color:#f2f7ec;padding:13px 21px;max-width:90vw;border-radius:9px;font-size:12px;z-index:200;opacity:0;transition:all .2s;pointer-events:none;box-shadow:0 5px 20px #2c382c30}#toast.show{opacity:1;transform:translate(-50%,0)}.mobile-scrim{display:none}.report-controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.report-controls input{padding:8px 10px;background:#fff;border:1px solid var(--line);border-radius:6px;font-size:12px;color:#758967}.report-controls span{font-size:11px;color:#98a98b}.revision{border-bottom:1px solid var(--line);padding:15px 0;font-size:12px;line-height:1.9;color:#7d926b}.revision h3{font-size:12px;font-weight:500;color:#5b7549;margin:0 0 10px}.revision p{margin:5px 0}.save-indicator{font-size:9px;color:#94a48a;display:flex;gap:5px;align-items:center}.save-indicator .dot{width:5px;height:5px;background:#8da776}
@media(min-width:1600px){.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.project-visual{height:127px}.product-art{height:125px;width:200px}.overview-layout{grid-template-columns:minmax(0,1fr) 285px}}
@media(max-width:1200px){.sidebar{width:195px;padding-left:15px;padding-right:15px}.nav-btn.active:before{left:-15px}.main{margin-left:195px;width:calc(100% - 195px)}.content{padding:27px 25px}.topbar{padding:0 25px}.overview-layout{grid-template-columns:minmax(0,1fr) 235px;gap:18px}.project-grid{gap:13px}.card-content{padding:15px 14px 13px}.card-footer{margin:13px -14px -13px;padding:10px 13px}.stat{padding:18px 17px}.stat .symbol{right:12px}.detail-layout{grid-template-columns:minmax(0,1fr) 250px}.dual-track{gap:12px}.track-box{padding:14px}.top-actions{gap:10px}.search-box input{width:120px}.search-box kbd{display:none}.role-control{padding-left:12px}}
@media(max-width:1020px){.overview-layout,.detail-layout{grid-template-columns:1fr}.overview-rail{display:grid;grid-template-columns:1fr 1fr;gap:16px}.overview-rail .rail-panel{margin-bottom:0}.overview-rail .rail-tip{display:none}.overview-rail .rail-panel:last-of-type{display:none}.stats{gap:12px}.stat .label{font-size:11px}.stat .symbol{width:27px;height:27px}.stat .symbol .icon{width:16px;height:16px}.detail-side{display:grid;grid-template-columns:1fr 1fr;gap:16px}.detail-side .panel{margin:0}.topbar .breadcrumb>span:first-child,.topbar .breadcrumb>.slash{display:none}.topbar{gap:10px}.page-heading h1{font-size:25px}.search-box input{width:125px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:222px}.sidebar.open{transform:translateX(0)}.mobile-scrim.open{display:block;position:fixed;inset:0;background:#13200f80;z-index:29}.main{margin-left:0;width:100%}.topbar{height:65px;padding:0 17px;gap:9px}.menu-button{display:inline-flex}.breadcrumb{margin-right:auto;font-size:11px}.top-actions{gap:6px}.search-box{padding:8px;background:transparent}.search-box input{width:85px;font-size:11px}.role-control{border:0;padding-left:0;gap:4px}.role-control .avatar{display:none}.role-select{font-size:10px;max-width:132px;padding-right:2px}.content{padding:25px 18px}.page-heading{margin-bottom:23px;gap:14px;align-items:start}.page-heading h1{font-size:24px}.page-heading p{font-size:10px;max-width:240px}.heading-actions{gap:7px}.page-heading .btn{font-size:11px;padding:8px 10px}.page-kicker{font-size:9px}.stats{grid-template-columns:repeat(2,1fr);gap:11px;margin-bottom:25px}.stat{padding:15px 17px}.stat .number{font-size:27px;margin:10px 0 6px}.stat .sub{font-size:9px}.stat .symbol{top:13px;right:15px}.overview-layout{gap:23px}.project-grid{gap:12px}.project-visual{height:100px}.product-art{width:150px;height:99px}.product-word{font-size:48px;top:33px}.card-content{padding:13px 13px 12px}.project-name-row h3{font-size:15px}.badge{font-size:9px;padding:3px 5px}.project-type{font-size:9px}.progress-row{margin:11px 0;gap:6px}.progress-label{font-size:9px;width:22px}.progress-number{font-size:9px;width:25px}.card-footer{margin:12px -13px -12px;padding:10px 12px;font-size:9px}.card-footer .date .icon{display:none}.card-next{font-size:9px}.card-next .icon{width:12px;height:12px}.filters{gap:6px}.filter{max-width:140px;font-size:10px}.tabs{gap:22px;margin-bottom:15px}.section-title h2{font-size:15px}.overview-rail{grid-template-columns:1fr 1fr;gap:12px}.rail-panel{padding:16px 14px}.rail-panel h3{font-size:12px}.rail-panel .rail-head{margin-bottom:14px}.focus-item h4{font-size:10px}.detail-header{padding:18px;gap:15px;align-items:start}.detail-product{width:95px}.detail-product .product-art{width:95px;height:85px}.detail-info h1{font-size:23px}.detail-info p{font-size:10px;line-height:1.7}.detail-meta{gap:7px;font-size:9px}.detail-layout{gap:0}.dual-track{gap:10px}.track-box{padding:14px 11px}.track-box .track-label{font-size:11px}.track-box .track-label strong{font-size:23px}.stage-steps{font-size:8px;gap:4px;flex-wrap:wrap}.track-foot{font-size:9px;display:block;line-height:1.8}.track-foot .btn{margin-top:8px}.panel{padding:18px}.detail-side{grid-template-columns:1fr;margin-top:3px}.detail-side .panel{margin-bottom:18px}.diary-inner{padding:16px}.diary-card{margin-left:7px;padding-left:18px}.diary-head h3{font-size:13px}.diary-content{font-size:11px}.diary-facts{padding:10px 12px;font-size:10px}.photo-grid{grid-template-columns:repeat(3,1fr)}.issue-card{padding:15px 14px;gap:9px;flex-wrap:wrap}.issue-actions{margin-left:auto}.issue-card h3{font-size:12px}.task-row{gap:9px}.task-row-content strong{font-size:11px}.task-row-content small{font-size:9px;gap:6px;flex-wrap:wrap}.task-row>.badge{display:none}.modal-overlay{padding:12px}.modal{max-height:94dvh}.modal-head{padding:19px}.modal-body{padding:19px}.modal-footer{padding:15px 19px}.form-grid{gap:14px}.field input,.field textarea,.field select{font-size:16px;padding:9px 11px}.field label{font-size:11px}.upload-previews{grid-template-columns:repeat(4,1fr)}.upload-box{padding:15px}.settings-grid{grid-template-columns:1fr}.report{padding:21px 16px}.report h2{font-size:17px}.report li{font-size:11px}.weekly-summary{gap:8px}.weekly-summary>div{padding:13px 11px;font-size:9px}.weekly-summary strong{font-size:23px}.footer-note{font-size:9px}.notice{font-size:10px;align-items:start}.heading-actions .btn.text{display:none}}
@media(max-width:390px){.project-grid{grid-template-columns:1fr}.project-visual{height:120px}.product-art{height:120px;width:195px}.overview-rail{grid-template-columns:1fr}.topbar .search-box{display:none}.page-heading{flex-wrap:wrap}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}}
/* Product-first research journals. Business records and file storage are unchanged. */
.journal-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start}.journal-directory{position:sticky;top:100px;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.journal-directory-heading{display:flex;justify-content:space-between;align-items:center;padding:18px 18px 14px;gap:8px}.journal-directory-heading h2{font-size:16px;margin:0}.journal-directory-heading>span{font-size:14px;color:#75816d;white-space:nowrap}.journal-product-list{display:flex;flex-direction:column;gap:6px;padding:0 9px 10px;max-height:calc(100dvh - 175px);overflow:auto}.journal-product-option{display:flex;align-items:center;gap:12px;width:100%;min-width:0;text-align:left;border:1px solid transparent;border-radius:9px;padding:12px 10px;background:transparent;color:var(--ink)}.journal-product-option:hover{background:#f6f8f2}.journal-product-option.active{border-color:#b9c9ab;background:#edf3e7;box-shadow:inset 3px 0 #698157}.journal-product-option:focus-visible{outline:2px solid #698157;outline-offset:-2px}.journal-option-art{width:48px;height:48px;border-radius:7px;overflow:hidden;flex-shrink:0;background:#f1f1e9;display:grid;place-items:center}.journal-option-art .project-image,.journal-option-art .product-art{width:100%;height:100%;object-fit:contain}.journal-option-info{min-width:0;display:flex;flex-direction:column;gap:5px}.journal-option-info>strong{font-size:20px;line-height:1.25;font-weight:700;color:#29392c;overflow-wrap:anywhere}.journal-option-info>span{font-size:14px;color:#6e7b64;line-height:1.4}.journal-option-info>small{font-size:12px;color:#7c8772;line-height:1.5}.journal-workspace,.journal-product-info{min-width:0}.journal-product-header{display:flex;align-items:center;gap:18px;padding:24px;background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:18px}.journal-product-art{width:88px;height:88px;background:#f0f1e9;border-radius:10px;overflow:hidden;flex-shrink:0;display:grid;place-items:center}.journal-product-art .project-image,.journal-product-art .product-art{width:100%;height:100%;object-fit:contain}.journal-product-info{flex:1}.journal-product-info>p{margin:0 0 8px;font-size:14px;color:#738367;line-height:1.6}.journal-product-info h2{font-size:34px;line-height:1.25;font-weight:750;letter-spacing:-.6px;margin:0 0 10px;color:#26392a;overflow-wrap:anywhere}.journal-product-info h2>span{display:inline-block;font-size:16px;font-weight:500;letter-spacing:0;color:#728267;margin-left:12px}.journal-product-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:14px;color:#718163;line-height:1.6}.journal-product-meta strong{font-weight:650;color:#455d3c}.journal-product-actions{display:flex;flex-direction:column;gap:9px;flex-shrink:0}.journal-product-actions .btn{justify-content:center;font-size:14px}.journal-sort-note{display:flex;align-items:center;gap:7px;color:#78866e;font-size:14px;line-height:1.7;margin:0 0 20px}.journal-sort-note .icon{width:16px;height:16px;flex-shrink:0}.journal-workspace .diary-inner,.journal-detail .diary-inner{padding:24px}.diary-date{display:flex;align-items:center;gap:12px;flex-wrap:wrap;line-height:1.5;font-size:14px;color:#78866e;letter-spacing:0}.diary-model{font-size:18px;color:#3f5836;font-weight:700;overflow-wrap:anywhere}.journal-workspace .diary-head h3,.journal-detail .diary-head h3{font-size:18px;line-height:1.6;font-weight:600}.journal-workspace .diary-head small,.journal-detail .diary-head small{font-size:14px;line-height:1.7}.journal-workspace .diary-content,.journal-detail .diary-content{font-size:16px;line-height:1.9;overflow-wrap:anywhere}.journal-workspace .diary-facts,.journal-detail .diary-facts{font-size:14px;line-height:1.9}.journal-workspace .diary-actions .btn,.journal-detail .diary-actions .btn{font-size:14px}.journal-detail .journal-product-header.compact{padding:18px 22px}.journal-detail .journal-product-art{width:68px;height:68px}.journal-detail .journal-product-info h2{font-size:28px}.journal-detail .journal-product-actions{flex-direction:row}
@media(max-width:1200px){.journal-layout{grid-template-columns:215px minmax(0,1fr);gap:18px}.journal-product-header{flex-wrap:wrap;padding:20px}.journal-product-actions{flex-direction:row;width:100%;justify-content:flex-end}.journal-option-art{width:38px;height:42px}.journal-option-info>strong{font-size:18px}.journal-product-option{gap:9px}}
@media(max-width:1020px){.journal-layout{grid-template-columns:1fr}.journal-directory{position:static}.journal-directory-heading{padding:16px 16px 12px}.journal-product-list{flex-direction:row;max-height:none;overflow-x:auto;padding:0 12px 12px;scroll-snap-type:x proximity}.journal-product-option{width:210px;flex:0 0 210px;border-color:var(--line);align-items:flex-start;scroll-snap-align:start}.journal-product-option.active{box-shadow:inset 0 -3px #698157}.journal-product-info h2{font-size:30px}.journal-product-actions{width:auto;margin-left:auto}.journal-product-header{flex-wrap:nowrap}.journal-option-info>strong{font-size:20px}}
@media(max-width:760px){.journal-layout{gap:18px}.journal-product-option{flex-basis:180px;width:180px;padding:11px 9px}.journal-option-art{width:35px;height:40px}.journal-option-info>span{font-size:14px}.journal-product-header{gap:12px;padding:18px;flex-wrap:wrap}.journal-product-art{width:62px;height:62px}.journal-product-info h2{font-size:30px;margin-bottom:7px}.journal-product-info h2>span{display:block;margin:6px 0 0;font-size:14px}.journal-product-info>p{font-size:14px;margin-bottom:5px}.journal-product-meta{gap:4px 10px;font-size:14px}.journal-product-actions{width:100%;flex-direction:row;margin:3px 0 0;justify-content:flex-end;flex-wrap:wrap}.journal-product-actions .btn{font-size:14px;padding:9px 12px}.journal-sort-note{font-size:14px;align-items:flex-start}.journal-workspace .diary-inner,.journal-detail .diary-inner{padding:17px}.journal-workspace .diary-card,.journal-detail .diary-card{margin-left:4px;padding-left:14px}.journal-workspace .diary-head,.journal-detail .diary-head{flex-wrap:wrap}.journal-workspace .diary-head h3,.journal-detail .diary-head h3{font-size:18px}.journal-workspace .diary-facts,.journal-detail .diary-facts{padding:11px 12px}.journal-workspace .diary-actions .btn,.journal-detail .diary-actions .btn{white-space:normal;text-align:left}.journal-detail .journal-product-header.compact{padding:16px}.diary-date{gap:8px}.diary-model{font-size:18px}.journal-workspace .photo-grid,.journal-detail .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-workspace .badge,.journal-detail .badge{font-size:13px}.journal-directory .project-image{max-width:100%}}
.task-row-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.task-delete-btn{font-size:14px;padding:6px 9px;min-height:32px}.task-delete-btn .icon{width:16px;height:16px}.trash-tabs{flex-wrap:wrap;gap:0 22px}.trash-project-info h2{flex-wrap:wrap}.task-row-content strong{overflow-wrap:anywhere}
@media(max-width:760px){.task-row{flex-wrap:wrap;row-gap:10px}.task-row-content{flex:1;min-width:calc(100% - 34px)}.task-row-actions{width:100%;justify-content:flex-end;padding-left:28px}.task-delete-btn{font-size:14px;padding:7px 11px}.trash-tabs{gap:0 18px}.trash-tabs .tab{font-size:14px}.trash-project-info h2{font-size:18px;line-height:1.5}}
.project-summary-layout .section-title{gap:12px;flex-wrap:wrap}.project-summary-layout .section-title h2{font-size:18px;margin:0}.project-summary-layout .section-title .btn{font-size:14px}.current-stage-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:5px 0 14px}.current-stage-heading>div>span{font-size:14px;color:#7b8771}.current-stage-heading h3{font-size:28px!important;font-weight:700!important;line-height:1.3;margin:6px 0 0!important;color:#2d432e}.current-stage-heading .badge{font-size:14px}.current-status-note{font-size:16px;line-height:1.9;color:#51634a;margin:0 0 12px;overflow-wrap:anywhere}.current-status-updated{font-size:13px;color:#839276;margin:0 0 16px}.current-working{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:16px}.current-working>strong{font-size:14px;font-weight:500;color:#6b7d61}.current-working>button{display:inline-flex;align-items:center;gap:8px;background:#f4f7f0;border:1px solid #dde5d6;border-radius:7px;padding:8px 10px;font-size:14px;text-align:left;max-width:100%}.current-working>button>span:last-child{overflow-wrap:anywhere}.current-working small{font-size:13px;color:#7e8d73}.current-next{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:14px;margin:0 0 14px;font-size:14px}.current-next>span{color:#78876e}.current-next>strong{color:#435c38;font-weight:600;overflow-wrap:anywhere}.current-diary{display:flex;flex-direction:column;gap:7px;margin:0 0 18px}.current-diary>span{font-size:13px;color:#7e8e73}.current-diary>button{display:inline-flex;align-items:center;align-self:flex-start;gap:8px;padding:0;border:0;background:transparent;font-size:14px;color:#506e42;text-align:left;line-height:1.7;overflow-wrap:anywhere}.current-diary .icon{width:16px;height:16px}.current-status-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;border-top:1px solid var(--line);padding-top:17px}.current-status-metrics>div{display:flex;flex-direction:column;gap:6px}.current-status-metrics strong{font-size:23px;font-weight:650;color:#3b5533;line-height:1.3}.current-status-metrics span{font-size:14px;color:#7b8a70}.summary-section-note{font-size:14px;color:#7e8d73;line-height:1.8;margin:-5px 0 13px}.completed-summary-list{display:flex;flex-direction:column}.completed-summary-item{display:flex;align-items:flex-start;gap:12px;padding:17px 0;border-bottom:1px solid var(--line)}.completed-summary-item:last-child{border-bottom:0;padding-bottom:0}.completion-symbol{width:25px;height:25px;display:grid;place-items:center;flex-shrink:0;background:#eaf3e5;color:#658951;border-radius:50%;margin-top:1px}.completion-symbol .icon{width:15px;height:15px}.completion-body{flex:1;min-width:0}.completion-body h3{font-size:16px!important;line-height:1.65;font-weight:600!important;margin:0 0 8px!important;overflow-wrap:anywhere}.completion-meta{display:flex;align-items:center;gap:7px 11px;flex-wrap:wrap;font-size:13px;color:#7f8f75}.completion-meta .badge{font-size:12px}.completion-body>p{font-size:14px;color:#7c8d70;line-height:1.8;margin:9px 0 0;overflow-wrap:anywhere}.completed-summary-item>.btn{font-size:14px;flex-shrink:0}.completion-expand{display:flex;justify-content:center;padding-top:18px}.completion-expand .btn{font-size:14px}.summary-empty{padding:20px 8px;text-align:center;color:#819474;font-size:14px;line-height:1.8}.summary-empty>.icon{width:27px;height:27px;color:#9bae8d}.summary-empty p{font-size:16px;color:#5c7250;margin:10px 0 5px}.stage-steps .current{color:#4c7040;font-weight:650}.project-summary-layout .stage-steps{flex-wrap:wrap;line-height:1.8}
@media(max-width:760px){.current-stage-heading h3{font-size:26px!important}.current-status-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.project-summary-layout .section-title{align-items:flex-start}.project-summary-layout .section-title h2{font-size:18px}.project-summary-layout .section-title .btn{font-size:14px;padding:8px 10px}.completed-summary-item{gap:9px;flex-wrap:wrap}.completed-summary-item>.btn{margin-left:auto}.completion-body{min-width:calc(100% - 40px)}.current-working{align-items:flex-start}.current-working>strong{width:100%}.current-next{gap:5px;flex-direction:column}.completed-summary .hint{font-size:13px}.project-summary-layout .dual-track{grid-template-columns:1fr}.project-summary-layout .track-foot{font-size:13px}.project-summary-layout .stage-steps{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.heading-actions,.report-controls,.footer-note,.btn{display:none!important}.main{margin:0;width:100%}.content{padding:0}.report{border:0;padding:0;max-width:none}.weekly-summary{break-inside:avoid}body{background:#fff}.report table{font-size:9px}.report h3{break-after:avoid}.report li{break-inside:avoid}}

.icon-btn.menu-button{display:none}@media(max-width:760px){.icon-btn.menu-button{display:inline-flex}}

@media(max-width:760px){.sidebar{visibility:hidden}.sidebar.open{visibility:visible}}

.project-visual .project-image{width:100%;height:100%;object-fit:contain;padding:9px 16px;background:#f1f2eb}.detail-product.with-image{padding:0;border:1px solid #e0e6d7;display:block;background:#f6f7f1;cursor:zoom-in}.detail-product .project-image{width:100%;height:100px;object-fit:contain;display:block;padding:7px}.project-cover-editor{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:center;padding:15px;background:#f8faf4;border:1px dashed #d0dbc4;border-radius:10px}.project-cover-preview{height:115px;border:1px solid #e2e8d9;border-radius:8px;background:#fff;overflow:hidden}.project-cover-preview img{width:100%;height:100%;object-fit:contain;padding:5px}.project-cover-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#a1b18f;font-size:10px}.project-cover-placeholder .icon{width:26px;height:26px}.project-cover-controls{display:flex;flex-direction:column;gap:8px;min-width:0}.project-cover-controls strong{font-size:12px;font-weight:500;color:#738766}.project-cover-controls input[type=file]{border:0;padding:6px 0;background:none;font-size:11px}.project-cover-filename{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#8da17a;margin-bottom:4px}.project-cover-controls #project-image-actions .btn{color:#bb7b60}
@media(max-width:760px){.project-cover-editor{grid-template-columns:100px minmax(0,1fr);padding:12px;gap:12px}.project-cover-preview{height:100px}.detail-product .project-image{height:85px}.project-cover-controls strong{font-size:11px}.project-cover-controls small{font-size:9px}.project-cover-controls input[type=file]{font-size:10px;padding:4px 0}}

.issue-image-field{padding:0 0 5px}.issue-image-field>label{display:flex;align-items:center;justify-content:space-between}.issue-image-count{font-size:10px;font-weight:400;color:#9baa8e}.issue-image-upload{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 12px;background:#f7f9f2;border:1px dashed #d3ddc8;border-radius:7px;color:#92a27f}.issue-image-upload input[type=file]{border:0;padding:0;background:none;width:auto;max-width:100%;font-size:11px}.issue-image-upload small{font-size:9px;margin-left:auto}.issue-image-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.issue-image-item{position:relative;min-width:0}.issue-image-thumb{display:block;aspect-ratio:1.4;background:#f4f6ee;border:1px solid #e0e7d7;border-radius:7px;overflow:hidden;cursor:zoom-in}.issue-image-thumb img{width:100%;height:100%;object-fit:cover;display:block}.issue-image-thumb:hover{border-color:#91a67c}.issue-image-remove{position:absolute;right:4px;top:4px;width:22px;height:22px;display:grid;place-items:center;padding:0;background:#2f402bc9;color:#fff;border:1px solid #fff9;border-radius:50%;font-size:15px;line-height:1}.issue-image-filename{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#9aa98c;font-size:9px;padding-top:5px}.issue-no-images{grid-column:1/-1;padding:1px 0;color:#a5b198}.issue-image-overlay{z-index:120}.issue-saved-images{margin:12px 0}.issue-saved-images>strong,.issue-resolution>strong{font-size:10px;font-weight:500;color:#849672;display:block;margin-bottom:9px}.issue-saved-images .issue-image-grid{grid-template-columns:repeat(4,minmax(0,100px))}.issue-resolution{margin:14px 0;padding:13px 14px 2px;background:#f8faf4;border:1px solid #edf0e7;border-radius:8px}.issue-resolution>p{font-size:11px;line-height:1.9}.issue-resolution .issue-saved-images{margin-top:10px}.issue-image-dialog .modal-photo{max-height:65dvh}
@media(max-width:760px){.issue-image-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.issue-image-upload{padding:10px;gap:8px}.issue-image-upload small{width:100%;margin-left:0}.issue-image-upload .icon{width:16px;height:16px}.issue-image-upload input[type=file]{width:calc(100% - 26px);font-size:11px}.issue-saved-images .issue-image-grid{grid-template-columns:repeat(3,minmax(0,90px))}.issue-resolution{padding:11px 10px 1px}.issue-image-filename{font-size:8px}}

.sidebar{overflow-y:auto}.project-delete-btn{margin-right:auto}.project-delete-confirm{margin-top:22px;padding:17px;background:#fff4ef;border:1px solid #ebc5b8;border-radius:9px}.project-delete-confirm h3{font-size:13px;color:#af654e;margin:0 0 10px;font-weight:500}.project-delete-confirm p{font-size:11px;line-height:1.9;color:#ae8a7b;margin:0 0 14px}.project-delete-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.trash-project-card{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid var(--line);padding:23px;border-radius:12px;margin-bottom:16px}.trash-project-info{min-width:0}.trash-project-info h2{font-size:19px;margin:0 0 9px;display:flex;align-items:center;gap:10px;overflow-wrap:anywhere}.trash-project-info p{font-size:11px;color:#89977d;margin:0 0 12px;line-height:1.8}.trash-project-counts{display:flex;gap:8px 16px;flex-wrap:wrap;font-size:11px;color:#7d916e;margin-bottom:12px}.trash-project-info small{font-size:10px;color:#a4b096;line-height:1.8}
@media(max-width:760px){.trash-project-card{padding:18px;flex-wrap:wrap;gap:14px}.trash-project-info{width:100%}.trash-project-card>.btn{margin-left:auto}.project-delete-btn{font-size:11px;padding:8px 10px}.project-delete-confirm{padding:14px}.project-delete-actions .btn{font-size:10px}.project-delete-confirm p{font-size:10px}}

.issue-actions{flex-direction:column;align-items:flex-end;gap:10px}.issue-status-line{display:flex;align-items:center;gap:7px}.issue-action-buttons{display:flex;gap:7px;justify-content:flex-end;flex-wrap:wrap}.issue-complete-btn{background:#f1f7ed;color:#668158;border-color:#d7e5cc}.issue-complete-btn:hover{background:#e7f0df;border-color:#b8cda8}.issue-summary-tabs{display:flex;gap:5px;margin:-2px 0 8px;background:#f5f7f0;border-radius:7px;padding:3px;width:max-content;max-width:100%}.issue-summary-tabs button{border:0;background:transparent;border-radius:5px;padding:6px 11px;font-size:10px;color:#98a28d}.issue-summary-tabs button.active{background:#fff;color:#647b55;box-shadow:0 1px 3px #35442b12}.issue-summary-tabs button span{margin-left:8px;font-size:9px;color:#a0ad94}
@media(max-width:760px){.issue-action-buttons{gap:6px}.issue-action-buttons .btn{font-size:10px;padding:5px 8px}.issue-action-buttons .icon{width:14px;height:14px}.issue-actions{flex-direction:row;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;width:100%}}

/* Share and trial controls stay distinct from formal project editing. */
.access-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #c8d4c0;border-radius:14px;background:#eef3e9;padding:18px 22px;margin-bottom:28px;color:#344b39}.access-banner>div:first-child{display:flex;align-items:flex-start;gap:12px}.access-banner strong{display:block;font-size:17px}.access-banner small{display:block;margin-top:5px;font-size:14px;line-height:1.6;color:#52644c}.access-banner .icon{flex-shrink:0;width:24px;height:24px;margin-top:2px}.access-banner.trial{background:#fff5e9;border-color:#e8d5b9}.access-actions,.owner-control,.section-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.access-actions{flex-shrink:0}.share-panel label{display:block;font-size:14px;font-weight:600;margin:22px 0 8px}.share-panel input{width:100%;font-size:14px;padding:12px;border:1px solid #c8d2c0;border-radius:9px;background:#fafcf9;margin-bottom:12px;color:#344b39;box-sizing:border-box}.settings-grid .panel p{font-size:15px;line-height:1.8}.settings-grid .panel .btn{margin:5px 8px 5px 0}.reset-trial-panel{border-color:#e5bcaf}.role-control>label{font-size:14px;white-space:nowrap}.section-actions .btn{white-space:nowrap}.owner-control .badge{font-size:14px}
@media(max-width:800px){.access-banner{flex-direction:column;align-items:stretch;padding:16px}.access-actions{flex-wrap:wrap}.owner-control{justify-content:flex-end}.owner-control .badge{font-size:12px}.section-title:has(.section-actions){flex-wrap:wrap;gap:15px}.section-actions{width:100%}.role-control>label{display:none}.share-panel input{font-size:13px}.access-banner small{font-size:14px}}
.share-panel textarea{width:100%;box-sizing:border-box;border:1px solid #c8d2c0;border-radius:9px;padding:12px;font:inherit;font-size:15px;margin-bottom:12px;background:#fafcf9}.shared-gate{max-width:680px;margin:12vh auto;padding:32px;line-height:1.8}.shared-gate .brand{color:#263e2d;margin-bottom:36px}.shared-gate h1{font-size:28px}.shared-gate p{font-size:17px;color:#52644c;margin-bottom:28px}.access-banner.shared-trial{background:#fff5e9;border-color:#e8d5b9}

/* Product phases and traceable task deliverables. */
.phase-overview h2,.phase-heading h2{margin:0;font-size:22px}.phase-overview .section-title p,.phase-heading p{font-size:16px;line-height:1.7;color:var(--muted);margin:10px 0 0}.phase-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.phase-progress-card{border:1px solid var(--line);border-radius:12px;padding:24px;background:#fff;min-width:0}.phase-progress-title{display:flex;justify-content:space-between;align-items:center;gap:16px}.phase-progress-title h3{font-size:18px;line-height:1.5;margin:0}.phase-progress-title>strong{font-size:32px;line-height:1.2;white-space:nowrap}.phase-progress-title small{font-size:16px;margin-left:3px}.phase-meter{height:10px;overflow:hidden;border-radius:20px;background:#edf1e9;margin:24px 0 16px}.phase-meter>span{display:block;height:100%;background:#8fa480;border-radius:20px;transition:width .2s}.phase-count{font-size:16px;color:#65765d;margin:0 0 18px}.phase-count strong{color:#263b2a}.phase-status-counts{display:flex;flex-wrap:wrap;gap:10px;font-size:14px;color:#6e7c67;margin-bottom:24px}.phase-progress-card .btn,.phase-task-card .btn,.phase-task-toolbar .btn{font-size:14px;min-height:36px}.phase-progress-note{font-size:14px;color:#6b7b63;line-height:1.8;margin:24px 0 0}.phase-heading{display:flex;align-items:center;justify-content:space-between;gap:40px}.phase-heading-progress{min-width:220px}.phase-heading-progress>strong{font-size:32px;color:#344c35;display:block}.phase-heading-progress>span{display:block;font-size:14px;color:#64775d;margin-top:5px}.phase-heading-progress .phase-meter{margin:14px 0 0}.phase-task-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.phase-status-filter{display:flex;gap:4px;background:#edf1e9;padding:5px;border-radius:10px;max-width:100%;flex-wrap:wrap}.phase-status-filter button{border:0;background:transparent;border-radius:7px;font-size:14px;color:#65765d;padding:10px 12px;white-space:nowrap}.phase-status-filter button.active{background:white;color:#364f35;box-shadow:0 1px 5px #253c2410}.phase-status-filter small{margin-left:6px;font-size:14px}.phase-task-card{margin-bottom:18px}.phase-task-title{display:flex;align-items:start;justify-content:space-between;gap:20px}.phase-task-title h3{font-size:19px;margin:0;line-height:1.6}.phase-task-title .badge{font-size:14px;white-space:nowrap}.phase-task-meta{font-size:14px;color:#6e7d67;margin:12px 0 20px}.phase-result{background:#f6f8f2;padding:18px 20px;border-radius:10px}.phase-result>strong{font-size:15px;color:#465b3e}.phase-result>p{font-size:16px;line-height:1.8;margin:8px 0 0;white-space:normal;overflow-wrap:anywhere}.phase-result>small{font-size:14px;display:block;color:#6f7d68;margin-top:10px;line-height:1.7}.phase-task-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:20px}.phase-task-footer>span{font-size:14px;color:#75826f}.phase-task-footer>div{display:flex;gap:10px;flex-wrap:wrap}.phase-output-files{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.phase-output-file{min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;padding:12px}.phase-image-button{border:0;width:100%;height:150px;padding:0;background:#f1f4ed;border-radius:6px;overflow:hidden;cursor:zoom-in}.phase-image-button img{width:100%;height:100%;object-fit:contain}.phase-output-file video{display:block;width:100%;height:150px;background:#202b23;border-radius:6px}.phase-file-name{display:flex;align-items:start;gap:8px;margin-top:12px;line-height:1.6;color:#42593a;font-size:14px;text-decoration:none}.phase-file-name span{overflow-wrap:anywhere}.phase-file-name .icon{margin-top:2px}.phase-document-icon{display:flex;align-items:center;justify-content:center;gap:9px;height:100px;background:#f3f6ee;color:#6d7f61;font-size:14px;border-radius:6px}.phase-upload-zone{border:1px dashed #a9bca0;background:#f7f9f3;border-radius:12px;padding:22px;display:flex;align-items:start;flex-direction:column;gap:12px}.phase-upload-zone>strong{font-size:16px}.phase-upload-zone input{font-size:14px;max-width:100%}.phase-upload-zone small{font-size:14px;color:#64765c;line-height:1.8}.phase-task-fieldset{border:0;margin:0;padding:0}.phase-task-fieldset input,.phase-task-fieldset select,.phase-task-fieldset textarea{font-size:16px}.phase-task-fieldset .field label{font-size:14px}.phase-task-fieldset .field small{font-size:14px;line-height:1.7}.phase-upload-field{margin-top:24px}.phase-upload-field>label{font-size:15px;font-weight:600}.phase-modal-context{font-size:16px;color:#607356;margin:0 0 24px}.phase-board-note{font-size:16px;color:#6c7a66;line-height:1.7}.product-phase-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.product-phase-tabs .tab{flex-shrink:0;white-space:nowrap;font-size:16px}.phase-task-fieldset .field[hidden]{display:none}
@media(max-width:1100px){.phase-overview-grid{grid-template-columns:1fr}.phase-progress-card{padding:22px}.phase-progress-title h3{font-size:19px}}
@media(max-width:650px){.phase-heading{align-items:stretch;flex-direction:column;gap:22px}.phase-heading-progress{min-width:0}.phase-output-files{grid-template-columns:repeat(2,minmax(0,1fr))}.phase-task-footer{align-items:start;flex-direction:column}.phase-task-footer>div{width:100%}.phase-task-footer .btn{flex:1}.phase-result{padding:16px}.phase-task-title h3{font-size:18px}.phase-task-toolbar{gap:12px}.phase-status-filter button{padding:9px 10px}.phase-upload-zone{padding:18px}.phase-image-button,.phase-output-file video{height:120px}.phase-overview h2,.phase-heading h2{font-size:21px}.phase-task-title{gap:12px}}
.phase-video-note{display:block;font-size:14px;line-height:1.6;color:#6c7d63;margin-top:10px}

/* Compact task rows; results and attachments are opened on demand. */
.phase-compact-list{display:flex;flex-direction:column;gap:10px}.phase-task-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:10px 18px;background:#fff;border:1px solid var(--line);border-radius:10px}.phase-task-row:hover{border-color:#b9c8b0;background:#fcfdf9}.phase-task-name{flex:1;min-width:0;text-align:left;border:0;background:transparent;font-size:16px;line-height:1.6;font-weight:600;padding:8px 0;overflow-wrap:anywhere}.phase-task-name:hover{color:#527346}.phase-inline-status{appearance:none;flex-shrink:0;min-height:36px;min-width:116px;border:1px solid #dce3d6;border-radius:7px;padding:7px 32px 7px 13px;font-size:14px;line-height:1.5;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%2365775e' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-position:right 11px center;background-repeat:no-repeat}.phase-status-pending{background-color:#f3f4ef;color:#697560}.phase-status-active{background-color:#edf4f8;color:#427b9d;border-color:#d3e3ed}.phase-status-done{background-color:#edf5e8;color:#527741;border-color:#d7e6cb}.phase-task-row>.badge{font-size:14px;white-space:nowrap}.phase-inline-status:disabled{cursor:wait}.phase-task-row .badge{flex-shrink:0}@media(max-width:650px){.phase-task-row{min-height:60px;padding:8px 12px;gap:12px}.phase-inline-status{min-width:106px;padding-left:10px;padding-right:28px}.phase-task-name{font-size:16px}}

.trash-item-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;flex-shrink:0}.purge-warning{color:#a64035;background:#fff1ed;border-color:#edbfb5}.purge-item-name{font-size:18px;font-weight:600;overflow-wrap:anywhere}.purge-scope{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}.purge-scope li{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}.purge-scope strong{font-variant-numeric:tabular-nums}
@media(max-width:760px){.trash-item-actions{width:100%}.purge-scope{grid-template-columns:1fr}}

.trash-item-actions .btn,[data-action="empty-trash"]{font-size:14px;min-height:38px}.purge-warning,.purge-note,.purge-confirm-label{font-size:14px;line-height:1.7}#purge-confirmation{font-size:16px}

.card-next{flex-wrap:wrap;white-space:normal;font-size:12px;row-gap:5px}
.card-next .card-next-text{flex:1 1 100px;min-width:0;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.card-next-date{margin-left:auto;white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}

.health-link{cursor:pointer;min-height:28px;font-family:inherit;transition:border-color .15s,box-shadow .15s}
.health-link:hover{border-color:currentColor;text-decoration:underline;text-underline-offset:3px}
.table-health{margin-top:6px}
.project-status-view .section-title{align-items:flex-start;flex-wrap:wrap}
.project-status-view h2{font-size:18px}
.project-status-view h3{font-size:14px;margin:22px 0 8px}
.health-actions,.health-state-line{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.health-state-line .badge{font-size:14px;padding:7px 10px}
.health-source,.health-updated{font-size:13px;color:#73826c;line-height:1.7}
.health-note{font-size:15px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}
.health-empty{font-size:14px;color:#7c8874;line-height:1.8;margin:10px 0}
.health-updated{margin-top:16px}
.health-issues{display:grid;gap:12px}
.health-issue-link{display:flex;flex-direction:column;gap:12px;width:100%;padding:16px;background:#fff;border:1px solid var(--line);border-radius:10px;text-align:left;color:var(--ink)}
.health-issue-link:hover{border-color:#acbea2;background:#f9fbf6}
.health-issue-title{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.health-issue-title strong{font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.health-issue-description{font-size:14px;line-height:1.7;color:#728366;white-space:pre-wrap;overflow-wrap:anywhere}
.health-issue-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:13px;color:#7b8972;line-height:1.6}

.feedback-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.feedback-card footer{gap:14px;flex-wrap:wrap}.feedback-card footer>span{font-size:14px}.feedback-edited{display:block;color:var(--muted);font-size:13px}.feedback-replies{margin-top:18px;padding-left:18px;border-left:2px solid var(--line)}.feedback-replies:empty{display:none}.feedback-reply{padding:14px 0;border-top:1px solid var(--line)}.feedback-reply:first-child{border-top:0}.feedback-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:14px}.feedback-meta small{color:var(--muted)}.feedback-reply p,.feedback-deleted p{white-space:pre-wrap;overflow-wrap:anywhere}.feedback-deleted{padding:18px 0;border-bottom:1px solid var(--line)}.feedback-audit-entry{border:1px solid var(--line);border-radius:10px;padding:16px;margin:14px 0}.feedback-audit-entry summary{cursor:pointer;font-weight:600}.feedback-audit-entry summary small{display:block;color:var(--muted);font-weight:400;margin-top:5px}.feedback-audit-diff{display:grid;grid-template-columns:1fr 1fr;gap:16px}.feedback-audit-diff section{padding:16px;background:var(--bg);border-radius:8px;overflow-wrap:anywhere}.feedback-audit-diff p{white-space:pre-wrap}.feedback-audit-diff h4{margin:0 0 12px}@media(max-width:640px){.feedback-audit-diff{grid-template-columns:1fr}.feedback-replies{padding-left:12px}.feedback-card footer{align-items:flex-start;flex-direction:column}}

.feedback-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,150px));gap:12px;margin:16px 0}.feedback-image{position:relative;min-width:0}.feedback-image a{display:block;aspect-ratio:1;border:1px solid var(--line,#e2e7df);border-radius:12px;overflow:hidden;background:#f4f6f1}.feedback-image img{width:100%;height:100%;object-fit:cover}.feedback-image-remove{position:absolute;right:-7px;top:-7px;background:white;border:1px solid #e3b3aa;color:#b33e30;border-radius:50%;width:28px;height:28px;font-size:22px;line-height:24px;cursor:pointer}.feedback-upload label span{font-size:14px;margin-left:10px}.feedback-reply .feedback-images{grid-template-columns:repeat(auto-fill,minmax(90px,120px))}@media(max-width:600px){.feedback-images{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.feedback-reply .feedback-images{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Two-level electronics task board. */
.electronics-group{background:#fff;border:1px solid var(--line);border-radius:14px;margin:0 0 20px;overflow:hidden}.electronics-group-heading{display:flex;align-items:center;gap:24px;width:100%;padding:23px 24px;border:0;background:white;text-align:left}.electronics-group-title{display:flex;align-items:center;gap:14px;flex:1;min-width:0}.electronics-group-title>.icon{width:27px;height:27px;color:#537546;flex-shrink:0}.electronics-group-title strong{font-size:21px;line-height:1.5}.electronics-group-progress{display:flex;align-items:center;gap:20px;color:#697b60;font-size:14px;white-space:nowrap}.electronics-group-progress .phase-meter{margin:0;width:160px;height:9px}.group-chevron{display:flex;color:#607952;transform:rotate(180deg)}.group-chevron.collapsed{transform:none}.electronics-columns,.electronics-task-line{display:grid;grid-template-columns:minmax(180px,1fr) minmax(120px,230px) 120px 28px;gap:20px;align-items:center;padding:12px 24px}.electronics-columns{background:#f3f6ef;color:#6b7e60;font-size:13px;padding-top:10px;padding-bottom:10px}.electronics-task-line{min-height:65px}.electronics-task+.electronics-task{border-top:1px solid var(--line)}.electronics-task-line .phase-task-name{font-size:16px;font-weight:500}.phase-file-count{display:inline-flex;align-items:center;gap:4px;margin-left:12px;color:#7b8972;font-size:13px;white-space:nowrap}.phase-file-count .icon{width:16px;height:16px}.component-model{display:inline-flex;align-items:center;gap:8px;max-width:100%;border:1px solid transparent;border-radius:8px;padding:8px 12px;font-size:14px;line-height:1.5;text-align:left;overflow-wrap:anywhere;background:#f1f3ee;color:#8a9483}.component-model.confirmed{background:#edf5e7;color:#3f632d}.component-model.confirmed .icon{width:16px;height:16px;flex-shrink:0}.component-model:hover{border-color:#aec39e}.phase-no-model{padding:8px 12px;color:#97a28f}.phase-model-summary{min-width:0}.phase-state-cell{min-width:0}.phase-expand-button{width:28px;height:32px;padding:4px}.phase-expand-button.expanded{transform:rotate(-90deg)}.phase-expanded-detail{padding:0 24px 22px}.phase-expanded-detail .phase-result{margin-bottom:14px}.phase-expanded-detail .phase-output-files{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));margin:14px 0}.phase-expanded-detail .phase-output-file{max-width:300px}.phase-expanded-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:16px}.phase-expanded-actions small{color:#7e8d74;font-size:13px}.phase-group-empty{padding:15px 24px;color:#819177;font-size:14px}.phase-legacy-records{border:1px solid var(--line);border-radius:12px;padding:18px 22px;background:#fafbf7;margin-top:24px}.phase-legacy-records summary{font-size:15px;font-weight:600;cursor:pointer;color:#66795c}.phase-legacy-records>p{color:#819076;font-size:14px;line-height:1.8}.phase-legacy-row{display:flex;align-items:center;gap:16px;border-top:1px solid var(--line);padding:13px 0}.phase-legacy-row>strong{flex:1;font-size:14px}.model-confirmation label{display:flex;align-items:center;gap:9px;font-weight:500}.model-confirmation input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:#587b45}.model-confirmation small{margin-top:8px}.phase-task-fieldset>.form-grid>.field>strong{font-size:16px;color:#4c6740}
@media(max-width:1100px){.electronics-columns,.electronics-task-line{grid-template-columns:minmax(130px,1fr) minmax(90px,160px) 116px 24px;gap:12px;padding-left:18px;padding-right:18px}.electronics-group-heading{padding:20px 18px;gap:15px}.electronics-group-progress{gap:10px}.electronics-group-progress .phase-meter{width:100px}.electronics-group-title strong{font-size:19px}.phase-expanded-detail{padding-left:18px;padding-right:18px}}
@media(max-width:650px){.electronics-columns{display:none}.electronics-group-heading{flex-wrap:wrap;padding:17px 14px;gap:9px}.electronics-group-title strong{font-size:18px}.electronics-group-title>.icon{width:23px;height:23px}.electronics-group-progress{order:3;width:100%;font-size:13px;justify-content:space-between;padding-left:36px}.electronics-group-progress .phase-meter{width:42%;flex:1;margin-left:8px}.electronics-task-line{grid-template-columns:minmax(0,1fr) 106px 22px;gap:7px 8px;padding:12px 14px}.electronics-task-line .phase-task-name{grid-column:1;grid-row:1;font-size:15px;padding:2px 0}.phase-model-summary{grid-column:1;grid-row:2}.phase-state-cell{grid-column:2;grid-row:1 / span 2}.phase-expand-button{grid-column:3;grid-row:1 / span 2}.component-model{font-size:13px;padding:5px 8px}.phase-model-summary:has(.phase-no-model){display:none}.phase-file-count{font-size:12px;margin-left:6px}.phase-expanded-detail{padding:0 14px 16px}.phase-legacy-row{flex-wrap:wrap;gap:10px}.phase-legacy-row>strong{min-width:50%}.electronics-task-line .phase-inline-status{font-size:13px;min-width:104px;width:104px}.phase-expanded-actions .btn{font-size:13px}}

@media(min-width:651px){.electronics-group:not(.hardware-group) .electronics-columns,.electronics-group:not(.hardware-group) .electronics-task-line{grid-template-columns:minmax(180px,1fr) 120px 28px}.electronics-group:not(.hardware-group) .phase-model-summary,.electronics-group:not(.hardware-group) .electronics-columns>span:nth-child(2){display:none}}

.project-edit-status {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px solid #dae6d3;
  border-radius: 8px;
  background: #f5f9f1;
  color: #405d36;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.project-edit-status::before {
  content: "";
  flex: 0 0 7px;
  height: 7px;
  margin-top: .45em;
  border-radius: 50%;
  background: #5e8c44;
}
.project-edit-status.offline {
  border-color: #e6ddc8;
  background: #fcf8ee;
  color: #735a26;
}
.project-edit-status.offline::before { background: #bc8f38; }
.project-edit-conflicts {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #e7d4ac;
  border-radius: 8px;
  background: #fffaf0;
  color: #503718;
  font-size: 13px;
}
.project-conflict {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e9dfcb;
}
.project-conflict > div { min-width: 0; }
.project-conflict small {
  display: block;
  margin-top: 4px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #654f30;
}
.project-conflict-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.field .project-edit-field-presence {
  width: max-content;
  max-width: 100%;
  padding: 3px 7px;
  border-radius: 4px;
  background: #edf4e7;
  color: #405d36;
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.btn.admin-mode-switch {
  background: var(--orange-bg);
  border-color: #f4d5c8;
  color: #8a422a;
}
.btn.admin-mode-switch:hover:not(:disabled) {
  background: #ffe6dc;
}
.btn.admin-mode-switch[hidden] {
  display: none;
}
@media (max-width: 1050px) {
  .topbar:has(.has-mode-switch) .search-box { display: none; }
}
@media (max-width: 480px) {
  .topbar:has(.has-mode-switch) { height: auto; min-height: 65px; flex-wrap: wrap; padding-block: 8px; }
  .topbar:has(.has-mode-switch) .top-actions { flex: 1 0 100%; }
  .role-control.has-mode-switch { flex-wrap: wrap; }
}
