:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17221d;background:#f4f6f5;--green:#185c43;--green2:#22765a;--line:#dfe6e2;--muted:#68766f;--white:#fff}*{box-sizing:border-box}body{margin:0;min-width:320px}.hidden{display:none!important}.boot{height:100dvh;display:grid;place-items:center}.spinner{width:34px;height:34px;border:3px solid #d9e5df;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}button,input{font:inherit}button{cursor:pointer}.eyebrow{margin:0 0 8px;font-size:11px;font-weight:800;letter-spacing:.16em}.eyebrow.green{color:var(--green)}.muted{color:var(--muted)}.login{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(440px,.92fr);background:#f3f5f4}.login-brand{display:flex;align-items:center;gap:38px;padding:clamp(54px,7vw,110px);background:linear-gradient(145deg,#154d39,#1e704f);color:#fff;overflow:hidden;position:relative}.login-brand:after{content:"";position:absolute;width:520px;height:520px;border-radius:50%;border:90px solid rgba(255,255,255,.04);right:-270px;bottom:-270px}.login-brand .brand-logo{width:126px;height:126px;object-fit:contain;border-radius:30px;background:#fff;padding:8px}.login-brand h1{max-width:560px;margin:0 0 16px;font-size:clamp(38px,4.5vw,64px);line-height:1.04}.login-brand p:last-child{max-width:510px;margin:0;color:#d9e9e1;line-height:1.65}.login-card{align-self:center;justify-self:center;width:min(440px,calc(100% - 48px));padding:32px;background:#fff;border:1px solid #dfe6e2;border-radius:20px;box-shadow:0 10px 30px rgba(29,63,48,.055)}.mobile-brand{display:none}.mobile-brand img{display:block;width:132px;height:auto}.login-card>.eyebrow{margin:0 0 4px;font-size:10px;font-weight:750;letter-spacing:.14em}.login-card h2{font-size:28px;line-height:1.15;margin:0}.login-card form{display:grid;gap:16px;margin-top:22px}.login-card label{display:grid;gap:7px;font-size:12px;font-weight:650;color:#34443c}.login-card input{width:100%;height:54px;padding:0 15px;border:1px solid #d5ded9;border-radius:13px;background:#fff;color:#17221d;outline:none;transition:border-color .15s,box-shadow .15s}.login-card input:focus{border-color:#3d7d62;box-shadow:0 0 0 2px rgba(24,92,67,.09)}.login-password-field{position:relative}.login-password-field input{padding-right:48px}.login-password-field button{position:absolute;right:5px;top:5px;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:10px;background:transparent;color:#65746c}.login-password-field button:hover{background:#f0f4f2;color:var(--green)}.login-password-field button:focus-visible{outline:2px solid rgba(24,92,67,.3);outline-offset:1px}.login-password-field svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}.login-card .error{font-size:12px}.login-card #login-button{height:55px;padding:0 18px;border-radius:13px;font-size:13px;font-weight:750;box-shadow:none;transition:background .15s,transform .1s,opacity .15s}.login-card #login-button:hover{background:var(--green2)}.login-card #login-button:active{transform:translateY(1px)}.login-card #login-button:focus-visible{outline:3px solid rgba(24,92,67,.2);outline-offset:2px}.login-card #login-button:disabled{opacity:.62;box-shadow:none}.primary,.secondary{border:0;border-radius:10px;padding:14px 18px;font-weight:800}.primary{background:var(--green);color:#fff}.primary:hover{background:var(--green2)}.primary:disabled{opacity:.55;cursor:wait}.compact{padding:12px 16px}.secondary{background:#edf3ef;color:var(--green)}.error{background:#fff0f0;color:#a02929;border:1px solid #f2cccc;padding:11px;border-radius:9px;margin:0;font-size:13px}.app{min-height:100dvh;padding-left:244px}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:#153c2d;color:#fff;padding:25px 18px;display:flex;flex-direction:column;z-index:40}.logo-link{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-size:18px;font-weight:800;padding:0 8px 26px}.logo-link img{width:40px;height:40px;border-radius:10px;background:#fff;object-fit:contain}.sidebar nav{display:grid;gap:6px}.nav,.logout{border:0;background:transparent;color:#ccded5;border-radius:9px;padding:12px;text-align:left;font-weight:650}.nav span{display:inline-grid;width:27px}.nav:hover,.nav.active{background:#285944;color:#fff}.logout{margin-top:auto;border:1px solid rgba(255,255,255,.13);text-align:center}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);padding:0 32px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:30}.topbar .eyebrow{margin:0}.user-box{display:flex;align-items:center;gap:10px}.user-identity{display:grid;min-width:0}.user-identity strong,.user-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-box small{color:var(--muted);font-size:11px}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#e4eee9;color:var(--green);font-weight:900}#clock{font-variant-numeric:tabular-nums;color:var(--muted);font-size:13px}.menu-button{display:none;border:0;background:transparent;font-size:22px}.content{padding:34px;max-width:1500px;margin:auto}.welcome{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.welcome h1{font-size:clamp(28px,3.6vw,44px);margin:0 0 5px}.welcome p:last-child{margin:0}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.metrics article,.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px}.metrics article{display:grid;grid-template-columns:auto 1fr;gap:2px 13px}.metrics article>p{margin:2px 0;color:var(--muted);font-size:13px;font-weight:700}.metrics strong{font-size:30px;grid-column:2}.metrics small{grid-column:2;color:var(--muted)}.metric-icon{grid-row:1/4;width:39px;height:39px;border-radius:10px;display:grid;place-items:center;font-weight:900}.green-bg{background:#dcece4;color:#176041}.yellow-bg{background:#fff1ce;color:#986812}.blue-bg{background:#e0edf6;color:#276184}.red-bg{background:#f7dede;color:#a33c3c}.panel-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:16px;margin-top:16px}.panel-head h2{margin:0 0 5px}.panel-head p{margin:0;color:var(--muted);font-size:13px}.steps{display:flex;align-items:center;gap:12px;margin-top:28px}.steps>span{flex:0 0 32px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e2eee8;color:var(--green);font-weight:900}.steps p{margin:0;display:grid;gap:4px}.steps small{color:var(--muted);line-height:1.4}.steps i{height:1px;min-width:22px;flex:1;background:var(--line)}.access-summary{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.access-summary span{background:#edf3ef;border-radius:30px;padding:8px 11px;color:#315545;font-size:12px;font-weight:700}.placeholder{min-height:360px;display:grid;place-content:center;justify-items:center;text-align:center}.placeholder h1{margin:4px 0 10px}.placeholder p{max-width:560px;color:var(--muted);line-height:1.7}.overlay{position:fixed;inset:0;background:rgba(14,30,23,.45);z-index:35}
@media(max-width:1050px){.metrics{grid-template-columns:repeat(2,1fr)}.panel-grid{grid-template-columns:1fr}.steps{align-items:flex-start;flex-direction:column}.steps i{width:1px;height:18px;margin-left:15px;flex:none}}
@media(max-width:760px){.login{display:grid;grid-template-columns:1fr;place-items:start center;padding:clamp(56px,11vh,94px) 20px max(28px,env(safe-area-inset-bottom));padding-top:max(clamp(56px,11vh,94px),calc(env(safe-area-inset-top) + 28px))}.login-brand{display:none}.login-card{align-self:auto;justify-self:auto;width:100%;margin-bottom:auto;padding:32px}.mobile-brand{display:block;margin-bottom:22px}.app{padding-left:0}.sidebar{transform:translateX(-100%);transition:transform .2s ease}.sidebar.open{transform:none}.menu-button{display:block}.topbar{padding:0 16px;gap:10px}.topbar>div:nth-child(2){flex:1}.user-box #clock,.user-identity{display:none}.content{padding:23px 15px}.welcome{align-items:flex-start;flex-direction:column}.metrics{grid-template-columns:1fr 1fr;gap:10px}.metrics article{padding:15px;grid-template-columns:1fr}.metric-icon{grid-row:auto}.metrics strong,.metrics small{grid-column:1}.panel{padding:17px}}
.user-password-button{margin-left:4px;padding:6px 10px;border:1px solid #cfe0d7;border-radius:9px;background:#eef6f2;color:#245d43;font-size:10px;font-weight:800;cursor:pointer}.user-password-button:hover{background:#e0efe7}.change-password-modal{width:min(470px,100%)}
@media(max-width:760px){.user-box .user-password-button{padding:6px 8px;font-size:9px}}
.sidebar-footer .user-password-button{display:block;width:100%;margin:0 0 8px;padding:11px;border:1px solid rgba(255,255,255,.16);border-radius:9px;background:rgba(255,255,255,.07);color:#d3e6dc;font-size:11px;font-weight:800;text-align:center;cursor:pointer}.sidebar-footer .user-password-button:hover{background:rgba(255,255,255,.14);color:#fff}
@media(max-width:430px){.metrics{grid-template-columns:1fr}.user-box{gap:4px}}

/* Projects */
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.page-head h1{font-size:40px;margin:0 0 5px}.page-head p:last-child{margin:0}.project-list-panel{padding:0;overflow:hidden}.project-toolbar{display:flex;gap:12px;padding:16px;border-bottom:1px solid var(--line)}.search-field{height:42px;display:flex;align-items:center;gap:8px;flex:1;max-width:540px;border:1px solid #cedbd4;border-radius:10px;padding:0 12px;background:#fff}.search-field input{border:0;outline:0;width:100%;min-width:0}.project-toolbar select,.progress-form select,.progress-form input{height:42px;border:1px solid #cedbd4;border-radius:9px;padding:0 11px;background:#fff}.table-wrap{overflow:auto}.project-table{border-collapse:collapse;width:100%;min-width:940px}.project-table th{padding:12px 16px;background:#f7f9f8;color:#6d7973;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}.project-table td{padding:15px 16px;border-top:1px solid #edf1ef;font-size:13px}.project-table tbody tr{cursor:pointer}.project-table tbody tr:hover{background:#f8fbf9}.project-name-cell{display:grid;gap:4px}.project-name-cell strong{font-size:14px}.project-code{color:var(--green);font-size:11px;font-weight:850;letter-spacing:.04em}.stage-label{white-space:nowrap;color:#526159}.mini-progress{display:flex;align-items:center;gap:8px;min-width:110px}.mini-progress span{width:72px;height:6px;border-radius:10px;background:#e7ece9;overflow:hidden}.mini-progress i{display:block;height:100%;background:var(--green);border-radius:10px}.status-pill{display:inline-flex;align-items:center;padding:5px 8px;border-radius:20px;background:#e7f0eb;color:#285c45;font-size:10px;font-weight:850;white-space:nowrap}.status-pill.solved{background:#e7e9e8;color:#68716d}.status-pill.cancelled{background:#f5e2e2;color:#963f3f}.status-pill.waiting-approval{background:#fff0cd;color:#8e681b}.empty-state{text-align:center;padding:70px 20px}.empty-state p{color:var(--muted)}.loading-row{padding:55px;display:grid;place-items:center}.modal-shell{position:fixed;inset:0;z-index:80;padding:24px;display:grid;place-items:center;background:rgba(12,29,21,.58);backdrop-filter:blur(3px)}.modal-card{width:min(760px,100%);max-height:calc(100dvh - 48px);overflow:auto;background:#fff;border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.24)}.form-modal{padding:25px}.modal-head,.detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.modal-head h2,.detail-head h2{margin:0}.icon-button{width:37px;height:37px;border:0;border-radius:50%;background:#edf2ef;font-size:23px;color:#506059}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:25px}.form-grid label{display:grid;gap:7px;font-size:12px;font-weight:750;color:#435148}.form-grid label b{color:#a23838}.form-grid .wide{grid-column:1/-1}.form-grid input,.form-grid textarea,.post-form textarea{width:100%;border:1px solid #cedbd4;border-radius:9px;padding:11px;outline:none;resize:vertical}.form-grid input:focus,.form-grid textarea:focus,.post-form textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(24,92,67,.08)}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.detail-shell{padding:14px}.detail-modal{width:min(1240px,100%);height:min(850px,calc(100dvh - 28px));max-height:none;display:flex;flex-direction:column;overflow:hidden}.detail-head{padding:22px 24px 17px;border-bottom:1px solid var(--line)}.detail-code-row{display:flex;align-items:center;gap:9px;margin-bottom:6px}.detail-head h2{font-size:26px}.detail-head p{margin:5px 0 0;font-size:12px}.detail-progress{padding:12px 24px;border-bottom:1px solid var(--line);background:#f8faf9}.detail-progress>div:first-child{display:flex;justify-content:space-between;font-size:12px;margin-bottom:7px}.progress-track{height:8px;border-radius:10px;background:#e2e9e5;overflow:hidden}.progress-track i{display:block;width:0;height:100%;background:linear-gradient(90deg,#2c8965,#60a880);transition:width .25s;border-radius:10px}.detail-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(370px,.85fr);min-height:0;flex:1}.detail-main,.timeline-panel{padding:22px;overflow:auto}.timeline-panel{border-left:1px solid var(--line);background:#fbfcfb}.detail-section{border:1px solid var(--line);border-radius:12px;padding:18px;margin-bottom:14px}.detail-section h3,.timeline-panel h3{margin:0;font-size:16px}.detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:17px 25px;margin:18px 0 0}.detail-fields div{display:grid;gap:4px}.detail-fields dt{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:#849087}.detail-fields dd{margin:0;line-height:1.55;font-size:13px;white-space:pre-wrap}.detail-fields .wide{grid-column:1/-1}.section-title{display:flex;align-items:start;justify-content:space-between;gap:12px}.section-title small{color:var(--muted)}.progress-form{display:grid;grid-template-columns:1.2fr .65fr 1.1fr auto;gap:9px;align-items:end;margin-top:16px}.progress-form label{display:grid;gap:5px;font-size:10px;font-weight:800;text-transform:uppercase;color:#6b7770}.progress-form button{height:42px}.solve-button{width:100%;border:1px solid #bcd4c8;background:#e8f2ed;color:#145a3f;padding:12px;border-radius:9px;font-weight:850}.post-form{margin:17px 0 20px}.post-form>div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.post-form small{color:var(--muted);font-size:10px}.timeline{position:relative;display:grid;gap:12px}.timeline-item{position:relative;background:#fff;border:1px solid var(--line);border-radius:11px;padding:13px 14px 13px 38px}.timeline-item:before{content:"";position:absolute;left:16px;top:17px;width:9px;height:9px;border-radius:50%;background:#2a7658;box-shadow:0 0 0 4px #e4eee9}.timeline-item.system{background:#f4f8f6}.timeline-item.system:before{background:#9aa79f}.timeline-item p{margin:0 0 9px;line-height:1.55;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.timeline-meta{display:flex;justify-content:space-between;gap:8px;color:#7b8780;font-size:10px}.timeline-delete{border:0;background:none;color:#a14646;padding:0;font-size:10px}.timeline-empty{text-align:center;color:var(--muted);padding:30px 10px}.solved-lock{padding:13px;border-radius:9px;background:#eef1ef;color:#657069;font-size:12px;text-align:center}
@media(max-width:950px){.detail-grid{grid-template-columns:1fr}.detail-main,.timeline-panel{overflow:visible}.detail-modal{display:block;height:auto;overflow:auto}.timeline-panel{border-left:0;border-top:1px solid var(--line)}.progress-form{grid-template-columns:1fr 1fr}.detail-shell{place-items:start center}}
@media(max-width:760px){.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:32px}.project-toolbar{flex-direction:column}.search-field{max-width:none}.modal-shell{padding:0;place-items:stretch}.modal-card,.detail-modal{max-height:100dvh;height:100dvh;border-radius:0}.form-modal{padding:20px}.form-grid,.detail-fields,.progress-form{grid-template-columns:1fr}.form-grid .wide,.detail-fields .wide{grid-column:auto}.detail-head{padding:18px}.detail-progress{padding:12px 18px}.detail-main,.timeline-panel{padding:16px}.post-form>div{align-items:flex-end}.project-create-button{width:100%}}
.project-form-step{margin-top:24px}.step-intro{margin:0;line-height:1.6}.first-step-grid{margin-top:18px}.form-grid label small{color:var(--muted);font-weight:500;line-height:1.45}.customer-combobox{position:relative}.suggestions{position:absolute;z-index:5;top:72px;left:0;right:0;max-height:min(360px,48vh);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;background:#fff;border:1px solid #cfdad4;border-radius:12px;box-shadow:0 18px 42px rgba(24,60,43,.18);padding:7px}.suggestion{width:100%;min-width:0;border:0;background:#fff;border-radius:8px;padding:12px 14px;text-align:left;display:grid;gap:5px}.suggestion:hover,.suggestion.active{background:#edf4f0}.suggestion strong{font-size:13px;line-height:1.45;overflow-wrap:anywhere}.suggestion small{font-size:11px;line-height:1.45;overflow-wrap:anywhere}.suggestion-new{padding:13px 14px;color:var(--green);font-size:12px;line-height:1.5}.form-modal:has(#project-form-step-one:not(.hidden)){width:min(760px,100%)}
@media(max-width:760px){#customer-suggestions{position:fixed;z-index:120;top:auto;right:14px;bottom:14px;left:14px;max-height:min(420px,58vh);border-radius:14px;padding:8px;box-shadow:0 20px 60px rgba(12,35,24,.28)}}
/* Mobile wizard: step produk jadi satu-satunya area scroll; footer statis di luar scroll supaya kartu produk tidak pernah menutupinya. */
@media(max-width:760px){#project-form:has(#project-form-step-two:not(.hidden)){display:flex;flex-direction:column;overflow:hidden}#project-form:has(#project-form-step-two:not(.hidden)) .modal-head,#project-form:has(#project-form-step-two:not(.hidden)) .modal-actions{flex:none}#project-form:has(#project-form-step-two:not(.hidden)) #project-form-step-two{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}#project-form:has(#project-form-step-two:not(.hidden)) .modal-actions{position:static;z-index:auto;bottom:auto;margin:14px 0 0;padding:0 0 env(safe-area-inset-bottom);background:transparent;box-shadow:none;backdrop-filter:none}}
#project-form-step-one #customer-suggestions{position:static;z-index:auto;inset:auto;margin-top:2px;max-height:min(360px,42vh);width:100%}
#project-form:has(#project-form-step-one:not(.hidden)) .modal-actions{position:static;z-index:auto;bottom:auto;margin:22px 0 0;padding:0;background:transparent;box-shadow:none;backdrop-filter:none}
@media(max-width:760px){#project-form-step-one #customer-suggestions{position:static;inset:auto;max-height:min(420px,48vh);border-radius:12px;box-shadow:0 14px 35px rgba(24,60,43,.18)}}
.ready-sample-notice{display:grid;gap:9px;margin-bottom:16px;padding:15px;border:1px solid #9acdb2;border-left:5px solid #27825b;border-radius:12px;background:#edf8f2}.ready-sample-notice-head{display:grid;gap:3px}.ready-sample-notice-head>strong{color:#185f43;font-size:15px}.ready-sample-notice-head>small{color:#587066;font-size:10px;line-height:1.45}.ready-sample-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;padding:10px 12px;border:1px solid #cce4d7;border-radius:9px;background:#fff}.ready-sample-item>strong{color:#27483a;font-size:12px;overflow-wrap:anywhere}.ready-sample-item>span{min-width:0;color:#277052;font-size:10px;font-weight:850;overflow-wrap:anywhere}.ready-sample-item>small{grid-column:1/-1;color:#74827b;font-size:9px}@media(max-width:600px){.ready-sample-item{grid-template-columns:1fr}.ready-sample-item>small{grid-column:auto}}.project-customer-summary{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;align-items:center;padding:14px 16px;border:1px solid #cfe0d7;border-radius:12px;background:#f2f8f5}.project-customer-summary:before{content:"✓";grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#dcece4;color:var(--green);font-weight:900}.project-customer-summary>span{align-self:end;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.project-customer-summary>strong{font-size:15px;color:#203d30}.project-customer-summary>small{grid-column:2;color:var(--muted);font-size:10px}.product-step-grid{margin-top:16px}.product-type-segmented span{padding:12px}.product-type-segmented input:checked+span{color:#145d40}
.customer-mode-field{border:0;padding:0;margin:0}.customer-mode-field legend{font-size:12px;font-weight:750;color:#435148;margin-bottom:8px}.segmented{display:grid;grid-template-columns:1fr 1fr;padding:4px;background:#edf2ef;border-radius:11px}.segmented label{display:block}.segmented input{position:absolute;opacity:0;pointer-events:none}.segmented span{display:block;padding:10px;text-align:center;border-radius:8px;color:#68766f;font-size:12px;font-weight:800;cursor:pointer}.segmented input:checked+span{background:#fff;color:var(--green);box-shadow:0 2px 8px rgba(31,66,50,.12)}
.form-grid .inline-field{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px}.form-grid .inline-field>span{white-space:nowrap}.form-grid .inline-field>input{min-width:0}
@media(max-width:520px){.form-grid .inline-field{grid-template-columns:1fr;align-items:stretch;gap:7px}}
.sample-request-button{width:100%;margin-bottom:10px}.sample-form-modal{width:min(700px,100%)}.sample-type-choice{margin-top:24px}.sample-type-choice>p{font-size:12px;font-weight:800;color:#435148}.sample-type-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sample-type-grid label{display:block}.sample-type-grid input{position:absolute;opacity:0}.sample-type-grid span{height:100%;display:grid;gap:5px;padding:15px;border:1px solid #cedbd4;border-radius:11px;cursor:pointer}.sample-type-grid small{color:var(--muted);line-height:1.4}.sample-type-grid input:checked+span{border-color:var(--green);background:#edf5f1;box-shadow:0 0 0 2px rgba(24,92,67,.08)}.sample-detail-modal{width:min(1160px,100%);max-height:calc(100dvh - 28px);overflow:hidden}.sample-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,.85fr);min-height:0}.sample-detail-grid>.detail-main,.sample-action-panel{overflow:auto;padding:22px}.sample-action-panel{border-left:1px solid var(--line);background:#fafcfb}.sample-update-form{display:grid;gap:13px;margin-top:18px;padding-bottom:20px;border-bottom:1px solid var(--line)}.sample-update-form label{display:grid;gap:6px;font-size:11px;font-weight:800;color:#58665e}.sample-update-form input,.sample-update-form select,.sample-update-form textarea{width:100%;padding:10px;border:1px solid #cedbd4;border-radius:9px;background:#fff;resize:vertical}.product-combobox{position:relative}.product-combobox .suggestions{top:65px}.sample-notes{margin-top:21px}.sample-notes .timeline{margin-top:15px}.sample-type-custom-new-development{background:#e3edf7;color:#315f82}.sample-type-existing-product{background:#f4ead4;color:#805f25}
@media(max-width:850px){.sample-detail-grid{grid-template-columns:1fr}.sample-detail-modal{overflow:auto}.sample-detail-grid>.detail-main,.sample-action-panel{overflow:visible}.sample-action-panel{border-left:0;border-top:1px solid var(--line)}}
@media(max-width:600px){.sample-type-grid{grid-template-columns:1fr}.sample-form-modal,.sample-detail-modal{height:100dvh;max-height:100dvh;border-radius:0}}
.user-form-modal{width:min(540px,100%)}.user-form-grid{grid-template-columns:1fr}.user-role{display:inline-flex;padding:6px 9px;border-radius:20px;background:#e8f0ec;color:#285b45;font-size:11px;font-weight:800}.user-role.none{background:#eff1f0;color:#7b847f}.login-state{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:750}.login-state:before{content:"";width:8px;height:8px;border-radius:50%;background:#aab1ad}.login-state.active:before{background:#2b9365}.login-state.inactive{color:#8a5555}.user-actions{display:flex;gap:7px}.user-actions button{border:1px solid #d3ddd8;border-radius:8px;background:#fff;padding:7px 10px;color:#3e5148;font-size:11px;font-weight:750}.user-actions .danger{color:#9b3e3e;border-color:#efd2d2}.password-field{display:flex;border:1px solid #cedbd4;border-radius:9px;overflow:hidden}.password-field input{border:0!important;border-radius:0;flex:1;box-shadow:none!important}.password-field button{border:0;border-left:1px solid #e0e7e3;background:#f5f8f6;color:var(--green);padding:0 12px;font-size:11px;font-weight:800}.switch-row{display:flex!important;align-items:center;justify-content:space-between;position:relative;padding:12px;border:1px solid var(--line);border-radius:10px}.switch-row>span{display:grid;gap:3px}.switch-row input{position:absolute;opacity:0}.switch-row i{width:44px;height:24px;border-radius:20px;background:#bbc5c0;position:relative;transition:.2s}.switch-row i:after{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s}.switch-row input:checked+i{background:var(--green)}.switch-row input:checked+i:after{transform:translateX(20px)}
.product-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:3px}.product-chip{display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border-radius:8px;background:#e8f1ec;color:#245941;font-size:11px;font-weight:750}.product-chip button{width:18px;height:18px;border:0;border-radius:50%;background:#cbded4;color:#315c49;padding:0;line-height:1}.sample-routing{margin:22px 0 4px;padding:14px 16px;border:1px solid #d6e2dc;border-radius:11px;background:#f2f7f4;display:grid;gap:4px}.sample-routing strong{color:#244c3a}.sample-routing span,.sample-routing small{color:var(--muted);font-size:12px}.project-product-list{display:grid;gap:7px}.project-product-item{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;padding:9px 10px;border:1px solid var(--line);border-radius:8px}.project-product-item b{grid-row:1/3;color:var(--green)}.project-product-item small{color:var(--muted)}
.form-section-label{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:11px;background:#f3f7f5}.form-section-label.divided{margin-top:8px}.form-section-label i{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:50%;background:#dcebe3;color:var(--green);font-size:12px;font-style:normal;font-weight:900}.form-section-label span{display:grid;gap:2px}.form-section-label strong{font-size:13px;color:#263d32}.form-section-label small{font-size:11px;color:var(--muted)}
.project-detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:10px}.project-detail-actions button{min-height:42px}.danger-button{border:1px solid #ebcaca;border-radius:9px;background:#fff5f5;color:#a43d3d;font-weight:800}.danger-button:hover{background:#fbeaea}.edit-locked-note{margin-top:20px;padding:11px 13px;border-radius:9px;background:#f1f4f2;color:#65716a;font-size:11px;line-height:1.5}
.form-grid .currency-input{display:flex;align-items:center;border:1px solid #cedbd4;border-radius:9px;background:#fff;overflow:hidden}.form-grid .currency-input:focus-within{border-color:var(--green);box-shadow:0 0 0 3px rgba(24,92,67,.08)}.form-grid .currency-input>span{align-self:stretch;display:flex;align-items:center;padding:0 11px;background:#f3f6f4;border-right:1px solid #dce4e0;color:#536158;font-size:12px;font-weight:850}.form-grid .currency-input>input{min-width:0;border:0;border-radius:0;box-shadow:none;padding-left:12px}.form-grid .currency-input>input:focus{box-shadow:none}
.form-subgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-subgrid>.wide{grid-column:1/-1}.product-chips{display:grid;gap:7px}.selected-product-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 11px;border-radius:10px;background:#f3f7f5}.selected-product-row>span:nth-child(2){display:grid;gap:2px;min-width:0}.selected-product-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-product-row button{width:25px;height:25px;border:0;border-radius:50%;background:#dce7e1;color:#52645a;font-size:17px}.row-number{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#dcebe3;color:var(--green);font-size:11px;font-weight:900}.existing-product-rows{display:grid;gap:12px;margin-top:14px}.existing-product-card{padding:14px;border:1px solid #d9e2dd;border-radius:12px;background:#fbfcfb}.existing-product-card header{display:flex;align-items:center;gap:10px;margin-bottom:13px}.existing-product-card header div{display:grid;gap:2px}.existing-product-card header strong{font-size:13px;color:#274235}.existing-product-card header small{font-size:10px;color:var(--muted)}.existing-product-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.existing-product-grid label{display:grid;gap:6px;font-size:11px;font-weight:750;color:#4d5c54}.existing-product-grid .wide{grid-column:1/-1}.existing-product-grid input,.existing-product-grid select{width:100%;min-width:0;padding:10px;border:1px solid #cedbd4;border-radius:9px;background:#fff}.existing-product-grid .currency-input input{border:0}.existing-product-grid label>b{color:#a23838}
@media(max-width:520px){.project-detail-actions{grid-template-columns:1fr}}
@media(max-width:600px){.form-subgrid,.existing-product-grid{grid-template-columns:1fr}.form-subgrid>.wide,.existing-product-grid .wide{grid-column:auto}}
#project-form.existing-detail-mode,.form-modal:has(#existing-project-edit-fields:not(.hidden)){width:min(1180px,100%)}#project-form.existing-detail-mode .modal-actions,#project-edit-form .modal-actions{position:sticky;z-index:40;bottom:-25px;margin:22px -25px -25px;padding:15px 25px 20px;background:rgba(255,255,255,.96);box-shadow:0 -10px 24px rgba(35,60,47,.07);backdrop-filter:blur(8px)}.existing-product-rows{margin-top:14px;border:1px solid #d9e2dd;border-radius:12px;overflow:hidden}.existing-product-table-head,.existing-product-row{display:grid;grid-template-columns:minmax(220px,1.45fr) minmax(120px,.7fr) minmax(150px,.85fr) minmax(180px,1.15fr) minmax(190px,1fr);gap:12px;align-items:center}.existing-product-table-head{padding:10px 14px;background:#eef4f1;color:#66756d;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.035em}.existing-product-row{padding:13px 14px;background:#fff;border-top:1px solid #e4eae7}.existing-product-row:nth-child(odd){background:#fbfcfb}.existing-product-identity{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;min-width:0}.existing-product-identity>span:last-child{display:grid;gap:1px;min-width:0}.existing-product-identity strong{font-size:12px;color:var(--green)}.existing-product-identity b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.existing-product-identity small{font-size:10px;color:var(--muted)}.existing-product-row label{display:grid;gap:5px;min-width:0}.existing-product-row label>span{display:none;font-size:10px;color:#68766f}.existing-product-row input,.existing-product-row select{height:40px;width:100%;min-width:0;padding:0 10px;border:1px solid #cedbd4;border-radius:8px;background:#fff}.existing-product-row .currency-input{height:40px}.existing-product-row .currency-input>span{display:flex}.sample-amount-input{display:grid;grid-template-columns:minmax(65px,1fr) 92px}.sample-amount-input input{border-radius:8px 0 0 8px}.sample-amount-input select{border-left:0;border-radius:0 8px 8px 0;padding:0 7px}.existing-product-row label>span b{color:#a23838}
@media(max-width:900px){.existing-product-table-head{display:none}.existing-product-rows{border:0;overflow:visible}.existing-product-row{grid-template-columns:1fr 1fr;border:1px solid #d9e2dd;border-radius:12px;margin-bottom:12px;padding:14px}.existing-product-identity{grid-column:1/-1;padding-bottom:3px}.existing-product-row label>span{display:block}}
@media(max-width:600px){#project-form.existing-detail-mode .modal-actions,#project-edit-form .modal-actions{bottom:-20px;margin:22px -20px -20px;padding:14px 20px 18px}.existing-product-row{grid-template-columns:1fr}.existing-product-identity{grid-column:auto}}
#existing-products-field{z-index:20}#project-product-suggestions{top:66px;max-height:min(190px,35vh);z-index:30}
#project-form .modal-actions{position:sticky;z-index:40;bottom:-25px;margin:22px -25px -25px;padding:15px 25px 20px;background:rgba(255,255,255,.96);box-shadow:0 -10px 24px rgba(35,60,47,.07);backdrop-filter:blur(8px)}#project-product-suggestions{overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
@media(max-width:600px){#project-form .modal-actions{bottom:-20px;margin:22px -20px -20px;padding:14px 20px 18px}}
#project-form.existing-detail-mode,.form-modal:has(#existing-project-edit-fields:not(.hidden)){width:min(900px,100%)}.existing-product-table-head,.existing-product-row{grid-template-columns:minmax(280px,1.5fr) minmax(170px,.7fr) minmax(240px,1fr)}
@media(max-width:900px){.existing-product-row{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.existing-product-row{grid-template-columns:1fr}}
.split-actions{justify-content:space-between}.split-actions>div{display:flex;gap:9px}.page-actions{display:flex;gap:9px;align-items:center}.product-brief-title{align-items:center}.project-detail-actions{display:flex;grid-template-columns:none;gap:5px;margin:0}.project-detail-actions .quiet-action{min-height:32px;padding:6px 9px;border:1px solid #d9e3de;border-radius:8px;background:#f7faf8;color:#426050;font-size:11px;font-weight:800}.quiet-action:hover{background:#edf4f0}.quiet-action.danger{border-color:#edd7d7;background:#fff8f8;color:#a13f3f}.delete-approval{display:grid;gap:10px;margin:11px -1px -1px;padding:11px;border-radius:9px;background:#fff4dc;color:#775719;font-size:11px;font-weight:800}.delete-approval>div{display:flex;gap:7px}.role-form-modal{width:min(760px,100%)}.role-select{display:grid;gap:7px;margin-top:22px;font-size:12px;font-weight:800;color:#435148}.role-select select{height:44px;padding:0 11px;border:1px solid #cedbd4;border-radius:9px;background:#fff}.permission-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.permission-check{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #dce5e0;border-radius:10px;background:#fafcfb;cursor:pointer}.permission-check:has(input:checked){border-color:#9fc5b2;background:#edf6f1}.permission-check input{width:17px;height:17px;accent-color:var(--green)}.permission-check span{display:grid;gap:2px}.permission-check b{font-size:11px}.permission-check small{color:var(--muted);font-size:9px}.permission-check:has(input:disabled){opacity:.7;cursor:not-allowed}
@media(max-width:600px){.split-actions{align-items:stretch}.split-actions>div{display:grid}.page-actions{width:100%}.page-actions button{flex:1}.product-brief-title{align-items:flex-start;flex-direction:column}.permission-options{grid-template-columns:1fr}}
.metrics{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.sample-items-editor{padding:15px;border:1px solid #d9e3de;border-radius:12px;background:#fafcfb}.sample-items-editor .section-title>div{display:grid;gap:3px}.sample-item-rows{display:grid;gap:9px;margin-top:13px}.sample-item-add-bottom{width:100%;margin-top:10px}.sample-item-row{display:grid;grid-template-columns:auto minmax(180px,1fr) 110px 120px 34px;gap:9px;align-items:end;padding:11px;border:1px solid #dce5e0;border-radius:10px;background:#fff}.sample-item-row>.row-number{align-self:center}.sample-item-row label{display:grid;gap:5px;font-size:10px;font-weight:800;color:#536158}.sample-item-row input,.sample-item-row select{width:100%;height:40px;padding:0 10px;border:1px solid #cedbd4;border-radius:8px;background:#fff}.sample-item-row label span b{color:#a23838}.sample-item-remove{width:34px;height:40px;border:0;border-radius:8px;background:#fff0f0;color:#a43d3d;font-size:20px}.sample-items-empty{padding:24px;text-align:center;border:1px dashed #ccd9d2;border-radius:10px;color:var(--muted);font-size:12px}.sample-items-modal{width:min(850px,100%)}.sample-items-heading{align-items:center;margin-top:22px}.sample-items-heading>span{font-size:12px;font-weight:850}
@media(max-width:760px){.metrics{grid-template-columns:1fr 1fr}.sample-item-row{grid-template-columns:auto 1fr 34px}.sample-item-row label{grid-column:2}.sample-item-row>.row-number{grid-row:1;grid-column:1}.sample-item-remove{grid-row:1;grid-column:3}.sample-items-heading{align-items:flex-start}}
@media(max-width:430px){.metrics{grid-template-columns:1fr}}
#project-form:has(#project-form-step-two:not(.hidden)):has(input[name="projectType"][value="EXISTING_PRODUCT"]:checked){width:min(940px,100%)}.sample-form-modal,.sample-items-modal{width:min(900px,100%)}.sample-item-row{grid-template-columns:auto minmax(160px,1.1fr) 95px 105px minmax(150px,1fr) 34px}
@media(max-width:760px){.sample-item-row{grid-template-columns:auto 1fr 34px}}
@media(max-width:1024px){input:not([type="checkbox"]):not([type="radio"]),select,textarea{font-size:16px!important}}
.existing-products-modal{width:min(760px,100%)}.existing-product-create{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;margin:24px 0 14px}.existing-product-create input,.existing-master-row input{width:100%;min-width:0;border:1px solid #cedbd4;border-radius:9px;padding:11px;outline:none}.existing-product-create input:focus,.existing-master-row input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(24,92,67,.08)}.existing-products-list{display:grid;gap:8px;max-height:52vh;overflow:auto;padding-right:3px}.existing-master-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:11px;background:#fafcfb}.existing-master-row button{height:42px;padding:0 13px}
@media(max-width:600px){.existing-product-create{grid-template-columns:1fr}.existing-master-row{grid-template-columns:1fr 1fr}.existing-master-row input{grid-column:1/-1}}
.preview-banner{position:sticky;top:76px;z-index:29;display:flex;align-items:center;justify-content:center;gap:16px;padding:10px 20px;background:#fff4cf;border-bottom:1px solid #ead38a;color:#6d5512;font-size:12px}.preview-banner button{border:0;border-radius:8px;padding:8px 12px;background:#735a17;color:#fff;font-weight:800}.preview-user{color:#185c43!important;background:#e7f2ec!important}.sample-product-combobox{position:relative;min-width:0}.sample-product-suggestions{top:61px;max-height:min(280px,38vh);z-index:25;overflow-y:auto;overscroll-behavior:contain}.sample-item-row{grid-template-columns:auto minmax(240px,1.4fr) 110px minmax(180px,1fr) 34px}.sample-item-row:focus-within{position:relative;z-index:12}
@media(max-width:760px){.preview-banner{top:76px;justify-content:space-between;padding:9px 14px}.preview-banner span{line-height:1.4}.sample-item-row{grid-template-columns:auto 1fr 34px}.sample-product-suggestions{max-height:240px}}
.request-product-summary{display:grid;gap:8px;margin-top:14px}.request-product-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid #dce5e0;border-radius:10px;background:#fff}.request-product-row>span:nth-child(2){display:grid;gap:3px;min-width:0}.request-product-row strong{font-size:13px;color:#294638}.request-product-row small{color:var(--muted);font-size:10px;overflow-wrap:anywhere}.request-product-row>b{font-size:11px;color:var(--green);white-space:nowrap}
@media(max-width:600px){.request-product-row{grid-template-columns:auto 1fr}.request-product-row>b{grid-column:2}}
.sample-request-button:disabled{cursor:default}.resample-form-shell{place-items:start center;padding:10px;overflow:auto}.resample-form-modal{width:min(620px,100%);height:auto;max-height:calc(100dvh - 20px);border-radius:16px;overflow:auto}.resample-product-options{display:grid;gap:9px;margin:22px 0}.resample-product-option{display:flex;align-items:flex-start;gap:11px;padding:12px;border:1px solid #dce5e0;border-radius:11px;background:#fafcfb}.resample-product-option:has(input:checked){border-color:#8ebca5;background:#edf6f1}.resample-product-option:has(input:disabled){opacity:.68}.resample-product-option input{width:18px;height:18px;margin-top:2px;accent-color:var(--green)}.resample-product-option span{display:grid;gap:3px}.resample-product-option strong{font-size:13px;color:#294638}.resample-product-option small{font-size:11px;color:var(--muted);line-height:1.4}.resample-reason-field{display:grid;gap:7px;font-size:12px;font-weight:800;color:#435148}.resample-reason-field textarea{width:100%;padding:11px;border:1px solid #cedbd4;border-radius:10px;resize:vertical}.resample-reason-field b{color:#a23838}@media(max-width:600px){.resample-form-modal{padding:16px}.resample-form-modal .modal-actions{position:sticky;bottom:-16px;margin:22px -16px -16px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);box-shadow:0 -8px 20px rgba(26,57,43,.07)}.resample-form-modal .modal-actions button{min-height:48px}}
.sample-ready-help{margin:12px 0 16px;color:var(--muted);font-size:12px;line-height:1.5}.sample-ready-button,.sample-pickup-document-button{width:100%}.sample-pickup-document-button{margin-bottom:10px;border-color:#176a40;color:#176a40}.sample-ready-button.waiting-approval:disabled,.sample-ready-button.document-required:disabled,.sample-ready-button.results-required:disabled{background:#e4e8e6;color:#69746f;opacity:1;cursor:not-allowed}.sample-approval-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.sample-approval-actions button{min-height:46px}
.sales-brief{display:grid;gap:14px;margin-top:18px}.brief-route,.brief-facts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.brief-route>.wide,.brief-facts-grid>.wide{grid-column:1/-1}.brief-fact{display:grid;gap:5px;padding:12px 13px;border:1px solid #e0e8e4;border-radius:10px;background:#f8faf9}.brief-fact span,.brief-block>span,.brief-block-title>span{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:#7d8a83}.brief-fact strong{font-size:13px;color:#294638;line-height:1.4}.brief-block{padding:15px;border:1px solid #dce6e1;border-radius:11px;background:#fff}.brief-primary{border-left:4px solid var(--green);background:#f8fbf9}.brief-primary h4{margin:7px 0 8px;font-size:16px;color:#1f4233}.brief-primary p{margin:0;color:#4f5f57;font-size:13px;line-height:1.7;white-space:pre-wrap}.brief-block-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.brief-block-title small{font-size:10px;color:var(--muted)}.brief-product-list{display:grid;gap:8px}.brief-product-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px;border:1px solid #e2e9e5;border-radius:10px;background:#fafcfb}.brief-product-number{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#e3eee8;color:var(--green);font-size:11px;font-weight:900}.brief-product-card h4{margin:0 0 3px;color:#294638;font-size:13px}.brief-product-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.4}.brief-product-card>strong{color:var(--green);font-size:13px;white-space:nowrap}.brief-product-card>strong small{font-size:9px;font-weight:750}
.brief-product-actions{display:grid;justify-items:end;gap:7px}.brief-product-actions>strong{color:var(--green);font-size:13px;white-space:nowrap}.brief-product-actions>strong small{font-size:9px;font-weight:750}.brief-product-actions .quiet-action{padding:5px 8px;border:1px solid #cfded6;border-radius:7px;background:#fff;color:var(--green);font-size:10px;font-weight:800}
.brief-product-sku{margin:2px 0 0!important;color:var(--green)!important;font-weight:800}.brief-product-pending{margin:2px 0 0!important;color:#a8681f!important;font-weight:750}.brief-product-original{margin:2px 0 0!important;color:var(--muted)!important;font-style:italic}
.product-revision-modal{width:min(560px,100%);display:grid;gap:18px}.product-revision-source{display:flex;align-items:flex-start;gap:12px;padding:13px 15px;border:1px solid #e2e9e5;border-radius:11px;background:#f7faf8}.product-revision-source-label{flex:none;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:#7d8a83;padding-top:2px}.product-revision-source strong{font-size:13px;color:#294638;line-height:1.45;overflow-wrap:anywhere}.product-revision-picker{display:grid;gap:8px}.product-revision-search{display:grid;gap:6px;font-weight:700;font-size:12px;color:#33453c}.product-revision-input{display:flex;align-items:center;gap:9px;height:46px;padding:0 13px;border:1px solid #cedbd4;border-radius:10px;background:#fff}.product-revision-input:focus-within{border-color:var(--green);box-shadow:0 0 0 3px rgba(24,92,67,.12)}.product-revision-input svg{flex:none;width:17px;height:17px;stroke:var(--muted);fill:none;stroke-width:2;stroke-linecap:round}.product-revision-input input{border:0;outline:0;width:100%;min-width:0;font-size:14px;background:transparent}.product-revision-input input::-webkit-search-cancel-button{display:none}.product-revision-suggestions{display:grid;gap:3px;max-height:min(300px,42vh);overflow:auto;overscroll-behavior:contain;padding:5px;border:1px solid #cfdad4;border-radius:11px;background:#fff;box-shadow:0 16px 40px rgba(24,60,43,.14)}.product-revision-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 11px;border:0;border-radius:8px;background:#fff;text-align:left}.product-revision-option:hover,.product-revision-option.active{background:#edf4f0}.product-revision-option span{display:grid;gap:3px;min-width:0}.product-revision-option strong{font-size:13px;color:#294638;line-height:1.4;overflow-wrap:anywhere}.product-revision-option small{font-size:11px;color:var(--muted);font-weight:750;letter-spacing:.03em}.product-revision-option b{flex:none;font-size:11px;color:var(--green);font-weight:800}.product-revision-empty{display:grid;gap:3px;padding:14px;text-align:center}.product-revision-empty strong{font-size:13px;color:#294638}.product-revision-empty small{font-size:11px;color:var(--muted)}.product-revision-selected{display:grid;gap:3px;padding:13px 15px;border:1px solid #b8d8c7;border-radius:11px;background:#edf8f2}.product-revision-selected>span{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:#4d7f67}.product-revision-selected strong{font-size:14px;color:#176a40;overflow-wrap:anywhere}.product-revision-selected small{font-size:11px;color:#4d7f67;font-weight:800;letter-spacing:.03em}
@media(max-width:760px){#sample-product-revision-modal{place-items:start center;padding:10px;overflow:auto}.product-revision-modal{height:auto;max-height:calc(100dvh - 20px);padding:16px;gap:14px;border-radius:16px;overflow:auto}.product-revision-modal .modal-head{gap:12px;padding-top:2px}.product-revision-modal .modal-head h2{font-size:21px}.product-revision-modal .modal-head .muted{margin:5px 0 0;font-size:12px;line-height:1.45}.product-revision-modal .eyebrow{margin-bottom:5px;font-size:9px}.product-revision-modal .icon-button{flex:none;width:40px;height:40px}.product-revision-source{display:grid;gap:4px;padding:11px 13px}.product-revision-source-label{padding:0}.product-revision-input{height:50px}.product-revision-input input{font-size:16px}.product-revision-suggestions{max-height:min(240px,32dvh);box-shadow:none}.product-revision-option{min-height:54px;padding:10px}.product-revision-selected{padding:11px 13px}.product-revision-modal .modal-actions{position:sticky;z-index:3;bottom:-16px;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:auto -16px -16px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:rgba(255,255,255,.97);box-shadow:0 -8px 20px rgba(26,57,43,.07);backdrop-filter:blur(8px)}.product-revision-modal .modal-actions button{width:100%;min-height:48px;padding:11px 8px}.brief-route,.brief-facts-grid{grid-template-columns:1fr}.brief-product-card{grid-template-columns:auto minmax(0,1fr)}.brief-product-card>strong,.brief-product-actions{grid-column:2;justify-items:start}}
.post-form>.mention-composer{display:block;position:relative;margin-top:0}.post-form>div:last-child{justify-content:flex-end}.mention-suggestions{position:absolute;z-index:35;left:0;right:0;top:calc(100% + 5px);display:grid;max-height:220px;overflow:auto;padding:5px;background:#fff;border:1px solid #cedbd4;border-radius:10px;box-shadow:0 12px 28px rgba(24,55,42,.16)}.mention-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px;border:0;border-radius:7px;background:#fff;text-align:left;color:#294638}.mention-option:hover,.mention-option.active{background:#e9f2ed}.mention-option strong{font-size:12px}.mention-option small{color:var(--muted);font-size:10px}.sample-ready-button{margin-bottom:10px}
.timeline-attachment{display:flex;align-items:center;gap:10px;margin-top:10px;padding:10px 12px;border:1px solid #cadbd1;border-radius:10px;background:#f5faf7}.timeline-attachment>a:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;flex:1;color:#176a40;text-decoration:none}.timeline-attachment:hover{background:#eaf4ee}.timeline-attachment strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.timeline-attachment span,.timeline-download{font-size:11px;font-weight:700;white-space:nowrap}.timeline-download{padding-left:10px;border-left:1px solid #cadbd1;color:#176a40;text-decoration:none}
.project-table{min-width:1120px}.project-products{display:flex;align-items:center;gap:5px;max-width:250px;min-width:150px}.project-product-chip{display:block;max-width:108px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 8px;border-radius:7px;background:#edf3ef;color:#315545;font-size:10px;font-weight:750}.project-product-more{flex:none;padding:5px 7px;border-radius:20px;background:#e1ebe6;color:var(--green);font-size:9px;font-weight:850;white-space:nowrap}

/* Application shell refresh */
body{background:#f2f5f3}.app{padding-left:272px}.sidebar{width:272px;padding:20px 16px 18px;background:linear-gradient(180deg,#103a2b 0%,#0d3024 100%);box-shadow:12px 0 40px rgba(12,48,35,.08)}
.logo-link{gap:11px;margin-bottom:22px;padding:8px 9px 20px;border-bottom:1px solid rgba(255,255,255,.1)}.logo-mark{width:43px;height:43px;display:grid;place-items:center;flex:none;border-radius:12px;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.15)}.logo-link .logo-mark img{width:37px;height:37px;border-radius:8px;padding:2px}.logo-copy{display:grid;gap:1px}.logo-copy strong{font-size:15px;letter-spacing:.01em}.logo-copy small{color:#9fc0af;font-size:10px;font-weight:650;letter-spacing:.02em}
.sidebar nav{display:grid;gap:20px}.nav-group{display:grid;gap:5px}.nav-group:not(:has(.nav:not(.hidden))){display:none}.nav-group-title{margin:0 10px 4px;color:#729684;font-size:9px;font-weight:850;letter-spacing:.15em;text-transform:uppercase}.nav{position:relative;width:100%;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;min-height:45px;padding:6px 10px;border:1px solid transparent;border-radius:11px;color:#bcd2c7;font-size:12px;font-weight:750;transition:background .16s,border-color .16s,color .16s,transform .16s}.nav:hover{transform:translateX(2px);background:rgba(255,255,255,.07);color:#fff}.nav.active{background:linear-gradient(135deg,rgba(84,155,121,.35),rgba(52,122,89,.25));border-color:rgba(176,221,199,.16);color:#fff;box-shadow:0 8px 22px rgba(5,30,20,.16)}.nav.active:before{content:"";position:absolute;left:-16px;top:10px;bottom:10px;width:3px;border-radius:0 4px 4px 0;background:#83d3a9}.nav .nav-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.06)}.nav.active .nav-icon{background:rgba(255,255,255,.12)}.nav .nav-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav .nav-label{display:block;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.sidebar-footer{display:grid;gap:11px;margin-top:auto;padding-top:17px;border-top:1px solid rgba(255,255,255,.1)}.sidebar-footer>span{display:flex;align-items:center;gap:7px;padding:0 9px;color:#739886;font-size:9px;font-weight:700}.sidebar-footer>span i{width:7px;height:7px;border-radius:50%;background:#62c891;box-shadow:0 0 0 4px rgba(98,200,145,.1)}.sidebar .logout{width:100%;margin:0;padding:10px 12px;border-color:rgba(255,255,255,.12);border-radius:10px;color:#bcd2c7;text-align:center}.sidebar .logout:hover{background:rgba(255,255,255,.07);color:#fff}
.topbar{height:72px;padding:0 34px;border-bottom:1px solid rgba(24,92,67,.09);background:rgba(255,255,255,.9);box-shadow:0 8px 28px rgba(25,61,44,.04);backdrop-filter:blur(14px)}.topbar-context{display:grid;gap:1px}.topbar-context .eyebrow{font-size:8px;letter-spacing:.18em}.topbar-context>strong{font-size:13px;color:#294538}.user-box{gap:11px;padding:7px 9px 7px 13px;border:1px solid #e0e8e4;border-radius:13px;background:#f8faf9}.avatar{width:34px;height:34px;border:1px solid #cee0d6;background:#e8f2ed}.content{max-width:1540px;padding:38px 42px 54px}.welcome{align-items:center;margin-bottom:24px}.welcome h1,.page-head h1{letter-spacing:-.035em;color:#183b2c}.welcome .primary,.page-head .primary{box-shadow:0 8px 20px rgba(24,92,67,.18)}
.metrics{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.metrics article,.panel{border-color:#e2e9e5;border-radius:16px;box-shadow:0 8px 28px rgba(28,68,49,.045)}.metrics article{position:relative;min-height:130px;padding:20px 21px;overflow:hidden}.metrics article:after{content:"";position:absolute;width:90px;height:90px;right:-36px;bottom:-42px;border:18px solid rgba(31,109,78,.035);border-radius:50%}.metrics article>p{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.055em}.metrics strong{font-size:34px;line-height:1.15;letter-spacing:-.035em}.metrics small{font-size:10px}.metric-icon{width:40px;height:40px;border-radius:11px;font-size:9px;letter-spacing:.08em}.panel-grid{grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);gap:14px;margin-top:14px}.panel-head h2{font-size:17px;letter-spacing:-.015em}.workflow-panel .steps{gap:9px}.workflow-panel .steps>span{width:29px;height:29px;flex-basis:29px;font-size:11px}.workflow-panel .steps p{min-width:105px}.workflow-panel .steps b{font-size:11px}.workflow-panel .steps small{font-size:9px}.access-summary span{border:1px solid #dce7e1;background:#f3f7f5}
.page-head{align-items:center;margin-bottom:22px}.page-head h1{font-size:38px}.page-head .muted{font-size:13px}.project-list-panel{border-radius:16px}.project-toolbar{padding:15px 17px;background:#fbfcfb}.search-field{height:44px;border-color:#dbe4df;border-radius:11px}.project-toolbar select{height:44px;border-color:#dbe4df;border-radius:11px;color:#40554a}.project-table th{padding:13px 16px;background:#f5f8f6;color:#718078;font-size:9px}.project-table td{padding:16px;border-top-color:#edf2ef}.project-table tbody tr{transition:background .15s}.project-table tbody tr:hover{background:#f4f9f6}
.primary,.secondary{border-radius:11px;transition:transform .14s,box-shadow .14s,background .14s}.primary:not(:disabled):hover,.secondary:not(:disabled):hover{transform:translateY(-1px)}.primary:not(:disabled):active,.secondary:not(:disabled):active{transform:none}.primary{box-shadow:0 7px 18px rgba(24,92,67,.12)}.secondary{border:1px solid #dce6e1;background:#f2f6f4}
@media(max-width:1050px){.panel-grid{grid-template-columns:1fr}.workflow-panel .steps{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:5px 12px}.workflow-panel .steps>span{grid-column:1}.workflow-panel .steps>p{grid-column:2}.workflow-panel .steps i{grid-column:1;width:1px;min-width:1px;height:16px;justify-self:center;margin:0;flex:none}}
@media(max-width:760px){.app{padding-left:0}.sidebar{width:min(286px,86vw);padding:18px 15px}.content{padding:25px 15px 42px}.topbar{height:70px;padding:0 15px}.topbar-context .eyebrow{display:none}.topbar-context>strong{font-size:12px}.user-box{padding:5px;border:0;background:transparent}.welcome{align-items:flex-start}.page-head h1{font-size:31px}.metrics{grid-template-columns:1fr}.metrics article{min-height:112px}.panel-grid{grid-template-columns:1fr}}

/* Activity cards */
.timeline-panel,.sample-action-panel{min-width:0;overflow-x:hidden}.timeline{min-width:0}.timeline-item{min-width:0;overflow:hidden;padding:14px 14px 14px 40px;border-radius:12px;box-shadow:0 5px 16px rgba(25,65,47,.045)}.timeline-item.system{border-color:#b8d8c7;border-left:4px solid #23815e;background:linear-gradient(135deg,#edf8f2 0%,#f8fcfa 100%)}.timeline-item.manual{border-color:#dbe4df;border-left:4px solid #82978c;background:#fff}.timeline-item.system:before{left:15px;background:#23815e;box-shadow:0 0 0 4px #d6ebdf}.timeline-item.manual:before{left:15px;background:#71877c;box-shadow:0 0 0 4px #e7ece9}.timeline-kind{width:max-content;max-width:100%;margin:0 0 8px;padding:4px 7px;border-radius:6px;font-size:8px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.timeline-item.system .timeline-kind{background:#d7ecdf;color:#176343}.timeline-item.manual .timeline-kind{background:#edf1ef;color:#566b60}.timeline-item.system>p{color:#173f2d;font-weight:650}.timeline-item.manual>p{color:#33483e}.timeline-meta{margin-top:9px;padding-top:7px;border-top:1px solid rgba(113,135,124,.16)}
.timeline-attachment{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;max-width:100%;min-width:0;gap:9px;padding:10px;background:#fff;border-color:#bdd6c8}.timeline-attachment>a:first-child{display:grid;grid-template-columns:minmax(0,1fr) auto;min-width:0;gap:8px}.timeline-attachment strong{min-width:0;overflow-wrap:anywhere;white-space:normal;line-height:1.4}.timeline-attachment span{align-self:center}.timeline-download{align-self:stretch;display:flex;align-items:center;flex:none;padding-left:9px}
.post-actions{min-width:0}.post-image-controls{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.post-camera-button{flex:none;width:40px;height:40px;display:grid;place-items:center;padding:0;border:1px solid #cbdad2;border-radius:8px;background:#edf4f0;color:#245f44}.post-camera-button svg{width:22px;height:22px}.post-image-picker{position:relative;min-width:0;display:flex;align-items:center;gap:8px;flex:1;cursor:pointer}.post-image-picker input{position:absolute;z-index:2;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.post-image-picker>span{flex:none;padding:8px 10px;border:1px solid #cbdad2;border-radius:8px;background:#f5f8f6;color:#246447;font-size:10px;font-weight:850}.post-image-picker>small{min-width:0;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.post-image-picker:has(input:focus-visible)>span{outline:2px solid rgba(24,92,67,.25);outline-offset:2px}.timeline-image{display:grid;gap:6px;width:100%;min-width:0;margin-top:10px;padding:7px;border:1px solid #c9dad1;border-radius:10px;background:#fff;color:#466056;text-decoration:none;overflow:hidden}.timeline-image img{display:block;width:100%;max-height:290px;object-fit:contain;border-radius:7px;background:#edf2ef}.timeline-image span{padding:1px 3px 2px;overflow-wrap:anywhere;font-size:10px;font-weight:700}
@media(max-width:520px){.timeline-attachment{grid-template-columns:1fr}.timeline-attachment>a:first-child{grid-template-columns:minmax(0,1fr) auto}.timeline-download{padding:8px 0 0;border-left:0;border-top:1px solid #cadbd1}.timeline-item{padding-right:12px}.post-actions{align-items:stretch!important;flex-direction:column}.post-actions>button{width:100%}.post-image-controls{width:100%}.post-image-controls .post-camera-button{width:46px;min-width:46px;height:46px}.post-image-picker{width:100%;min-height:46px;padding:5px;border:1px solid #cbdad2;border-radius:10px;background:#f5f8f6}.post-image-picker>span{border:0;background:transparent;font-size:11px}.post-image-picker>small{max-width:none;white-space:normal}.post-image-picker input{min-height:46px}}

#post-camera-dialog{width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:16px;border:0;border-radius:16px;background:#fff;color:#17221d;box-shadow:0 20px 60px #0005}#post-camera-dialog::backdrop{background:#0c1d15b8}#post-camera-dialog header,#post-camera-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px}#post-camera-dialog h2{margin:0;font-size:18px}#post-camera-dialog header button{width:40px;height:40px;border:0;border-radius:50%;background:#edf2ef;font-size:24px}#post-camera-dialog video{display:block;width:100%;max-height:60dvh;margin-top:12px;border-radius:10px;background:#17221d;object-fit:contain}#post-camera-dialog p{font-size:12px;color:#526159}#post-camera-dialog footer{justify-content:flex-end}#post-camera-dialog footer button{min-height:44px}

/* Multiple custom products */
.custom-products-editor{display:grid;gap:13px;padding:15px;border:1px solid #d9e3de;border-radius:12px;background:#fafcfb}.custom-products-heading{align-items:center;margin:0}.custom-products-heading>div{display:grid;gap:3px}.custom-product-cards{display:grid;gap:10px}.custom-product-card{overflow:hidden;border:1px solid #dce5e0;border-radius:12px;background:#fff;transition:border-color .16s,box-shadow .16s}.custom-product-card.expanded{border-color:#91bba6;box-shadow:0 7px 22px rgba(24,92,67,.08)}.custom-product-card.complete:not(.expanded){border-left:4px solid #2b8a61}.custom-product-card-head{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 14px;border:0;background:#fff;color:#294638;text-align:left;cursor:pointer}.custom-product-card-head>span:nth-child(2){display:grid;gap:3px}.custom-product-card-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.custom-product-card-head small{color:var(--muted);font-size:10px}.custom-product-card.incomplete .custom-product-card-head small{color:#9a6a21}.custom-product-card-head i{font-style:normal;color:#648074}.custom-product-card-body{padding:4px 14px 15px;border-top:1px solid #edf2ef}.custom-product-card-body .form-subgrid{margin-top:13px}.custom-product-card-body>.quiet-action{margin-top:12px}.custom-brief-product{display:grid;gap:12px}.custom-brief-primary{padding:14px;border-left:4px solid var(--green);border-radius:9px;background:#f8fbf9}.custom-brief-primary h4{margin:0 0 7px;color:#1f4233;font-size:16px}.custom-brief-primary p{margin:0;color:#4f5f57;font-size:13px;line-height:1.7;white-space:pre-wrap}
@media(max-width:600px){.custom-products-heading{align-items:flex-start;flex-direction:column}.custom-products-heading button{width:100%}.split-actions>div:last-child{gap:8px}.custom-product-card-head{padding:12px}.custom-product-card-body{padding:4px 11px 13px}}

/* Admin recycle bin */
.page-head-actions{display:flex;align-items:center;gap:10px}.deleted-projects-card{display:flex;flex-direction:column;gap:12px;max-height:min(80dvh,640px)}.deleted-projects-list{display:grid;gap:10px;overflow-y:auto;overscroll-behavior:contain;padding-right:2px}.deleted-project-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e2d2d2;border-radius:11px;background:#fdf7f7}.deleted-project-row>div{display:grid;gap:3px;min-width:0}.deleted-project-row strong{color:#294638;font-size:13px;overflow-wrap:anywhere}.deleted-project-row span,.deleted-project-row small{color:var(--muted);font-size:10px}.deleted-project-row .danger-button{flex:none;min-height:40px}

@media(max-width:760px){.page-head-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.page-head-actions button{width:100%}.deleted-projects-card{height:100dvh;max-height:100dvh;border-radius:0}.deleted-projects-list{flex:1;min-height:0}.deleted-project-row{align-items:stretch;flex-direction:column}.deleted-project-row .danger-button{width:100%;min-height:44px}}

/* R&D custom sample results */
.custom-sample-results-section>.section-title>div{display:grid;gap:4px}.custom-sample-results-section>.section-title p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.custom-sample-result-rows{display:grid;gap:14px;margin-top:15px}.custom-sample-product-group{display:grid;gap:11px;padding:13px;border:1px solid #ccdcd4;border-radius:13px;background:#fff}.custom-sample-product-heading{display:flex;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid #e5ece8}.custom-sample-product-heading>div{display:grid;gap:3px;min-width:0}.custom-sample-product-heading strong{color:#234936;font-size:14px;overflow-wrap:anywhere}.custom-sample-product-heading small{color:var(--muted);font-size:10px}.custom-sample-product-results{display:grid;gap:10px}.custom-sample-product-group>.add-custom-sample-result{width:100%;border-style:dashed}.custom-sample-result-row{display:grid;gap:11px;padding:13px;border:1px solid #dce6e1;border-radius:11px;background:#f9fbfa;transition:border-color .18s,background .18s,box-shadow .18s}.custom-sample-result-row.saved{border-color:#70ad8c;border-left:5px solid #23815e;background:linear-gradient(135deg,#e8f6ee 0%,#f5fbf7 100%);box-shadow:0 6px 18px rgba(35,129,94,.08)}.custom-sample-result-row.saved .brief-product-number{background:#23815e;color:#fff}.custom-sample-result-product{display:flex;align-items:center;gap:10px}.custom-sample-result-product>span:nth-child(2){display:grid;gap:3px;min-width:0}.custom-sample-result-product strong{font-size:13px;color:#294638}.custom-sample-result-product small{font-size:10px;color:var(--muted)}.custom-sample-result-state{margin-left:auto;padding:5px 8px;border-radius:20px;background:#edf1ef;color:#6d7973;font-size:9px;white-space:nowrap}.custom-sample-result-row.saved .custom-sample-result-state{background:#cce9d8;color:#176343}.custom-sample-result-row.saved>.save-custom-sample-result{border-color:#79ae90;background:#e0f1e7;color:#176343}.custom-sample-result-row label{display:grid;gap:6px;color:#536158;font-size:10px;font-weight:850}.custom-sample-result-row label b{color:#a23838}.custom-sample-result-row input,.custom-sample-result-row textarea{width:100%;padding:10px;border:1px solid #cedbd4;border-radius:9px;background:#fff;outline:none;resize:vertical}.custom-sample-result-row input:focus,.custom-sample-result-row textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(24,92,67,.08)}.custom-sample-result-row input:disabled,.custom-sample-result-row textarea:disabled{color:#40544a;background:#f0f4f2;opacity:1}.custom-sample-result-row>.save-custom-sample-result{width:100%}
.custom-sample-pic-field{display:grid;gap:10px;margin:0;padding:12px;border:1px solid #d7e3dd;border-radius:11px;background:#f8faf9}.custom-sample-pic-field legend{padding:0 5px;font-size:11px;font-weight:800;color:#536158}.custom-sample-pic-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.custom-sample-pic-option{display:flex;align-items:center;gap:9px;min-height:44px;padding:9px 11px;border:1px solid #d8e2dd;border-radius:9px;background:#fff;color:#31463b;font-size:12px;font-weight:750;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}.custom-sample-pic-option input{width:18px;height:18px;min-width:18px;margin:0;accent-color:var(--green)}.custom-sample-pic-option:has(input:checked){border-color:#338263;background:#edf7f2;box-shadow:inset 0 0 0 1px #338263}.custom-sample-pic-option:focus-within{outline:3px solid rgba(253,194,58,.38);outline-offset:1px}.custom-sample-pic-field .secondary{justify-self:end;white-space:nowrap}@media(max-width:520px){.custom-sample-pic-options{grid-template-columns:1fr 1fr}.custom-sample-pic-field .secondary{width:100%;justify-self:stretch}}
@media(max-width:520px){.custom-sample-result-product{align-items:flex-start;flex-wrap:wrap}.custom-sample-result-state{margin-left:35px}}
.custom-sample-result-actions{display:grid;gap:8px}.custom-sample-result-actions:empty{display:none}.custom-sample-result-actions>button{width:100%}.custom-sample-result-row.ready{border-color:#ddb76a;border-left:5px solid #c18a24;background:linear-gradient(135deg,#fff7e6 0%,#fffdf8 100%)}.custom-sample-result-row.ready .brief-product-number{background:#b77d18;color:#fff}.custom-sample-result-row.ready .custom-sample-result-state{background:#f7e4b9;color:#805812}.custom-sample-result-row.picked-up{border-color:#7da891;border-left:5px solid #176343;background:#edf7f1}.custom-sample-result-row.picked-up .brief-product-number{background:#176343;color:#fff}.custom-sample-result-row.picked-up .custom-sample-result-state{background:#cce9d8;color:#176343}.custom-sample-pickup-info{padding:9px 10px;border-radius:8px;background:rgba(255,255,255,.72);color:#486156;font-size:10px;font-weight:750}
.pickup-recipient-field{display:grid;gap:10px;margin:0;padding:12px;border:1px solid #cedbd4;border-radius:10px}.pickup-recipient-field legend{padding:0 5px;color:#536158;font-size:11px;font-weight:800}.pickup-recipient-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pickup-recipient-options label{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #d8e2dd;border-radius:9px;background:#f8faf9;cursor:pointer}.pickup-recipient-options input{width:auto;height:auto;margin:0;accent-color:var(--green)}#pickup-recipient-other-field{display:grid;gap:6px}#pickup-recipient-other-field b{color:#a23838}@media(max-width:520px){.pickup-recipient-options{grid-template-columns:1fr}}

/* Mobile request detail containment */
.sample-detail-modal,.sample-detail-grid,.sample-detail-grid>*{min-width:0;max-width:100%}.sample-detail-modal .detail-head>div:first-child{min-width:0;flex:1}.sample-detail-modal .detail-head>.icon-button{flex:0 0 37px}.sample-detail-modal .detail-head h2,.sample-detail-modal .detail-head p{max-width:100%;overflow-wrap:anywhere}.sample-detail-modal .detail-code-row{min-width:0;flex-wrap:wrap}.sample-detail-modal .timeline,.sample-detail-modal .timeline-item,.sample-detail-modal .timeline-attachment{max-width:100%}
@media(max-width:600px){.sample-detail-modal{width:100%;overflow-x:hidden}.sample-detail-modal .detail-head{width:100%;min-width:0;gap:10px;padding:16px}.sample-detail-modal .detail-head h2{font-size:21px;line-height:1.25}.sample-detail-modal .detail-code-row{gap:6px}.sample-detail-modal .detail-main,.sample-detail-modal .sample-action-panel{width:100%;min-width:0;overflow-x:hidden}.sample-detail-modal .timeline-attachment>a:first-child{grid-template-columns:minmax(0,1fr);align-items:start}.sample-detail-modal .timeline-attachment span{white-space:normal}.sample-detail-modal .timeline-download{white-space:normal}}

/* Milestone process stepper */
.process-stepper-wrap{padding:14px 24px 17px;border-bottom:1px solid var(--line);background:#f8faf9}.process-stepper-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.process-stepper-heading>span{color:#77857d;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.process-stepper-heading>strong{color:#24553f;font-size:11px}.process-stepper{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);width:100%}.process-step{position:relative;z-index:0;display:grid;justify-items:center;gap:7px;min-width:0;text-align:center}.process-step:not(:last-child):after{content:"";position:absolute;z-index:-1;top:13px;left:calc(50% + 14px);width:calc(100% - 28px);height:2px;background:#d9e2dd}.process-step.done:not(:last-child):after{background:#4b9a73}.process-step>i{width:27px;height:27px;display:grid;place-items:center;border:2px solid #ccd8d1;border-radius:50%;background:#fff;color:#fff;font-size:10px;font-style:normal;font-weight:900}.process-step.done>i{border-color:#3b8a65;background:#3b8a65}.process-step.current>i{border:7px solid #d6ede0;background:#267858;box-shadow:0 0 0 2px #267858}.process-step.current.halted>i{border-color:#f3d8d8;background:#a64545;box-shadow:0 0 0 2px #a64545}.process-step>span{max-width:120px;color:#98a39d;font-size:9px;font-weight:750;line-height:1.35;overflow-wrap:anywhere}.process-step.done>span,.process-step.current>span{color:#2f5b47}.process-current-label{display:inline-block;max-width:180px;color:#315545;font-size:11px;font-weight:800;line-height:1.35}.sample-process-stepper-wrap{flex:none}
@media(max-width:600px){.process-stepper-wrap{padding:13px 16px 15px}.process-stepper-heading{align-items:flex-start;flex-direction:column;gap:4px;margin-bottom:13px}.process-stepper{grid-auto-flow:row;grid-auto-columns:auto;gap:11px}.process-step{grid-template-columns:26px minmax(0,1fr);justify-items:start;align-items:center;gap:10px;text-align:left}.process-step:not(:last-child):after{top:25px;left:12px;width:2px;height:calc(100% + 12px)}.process-step>i{width:25px;height:25px}.process-step.current>i{border-width:6px}.process-step>span{max-width:none;font-size:10px}.sample-process-stepper-wrap{position:relative;z-index:1}}

/* Custom product dictionary */
.product-dictionary-panel{padding:0;overflow:hidden}.product-dictionary-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:14px;padding:18px}.product-dictionary-card{min-width:0;display:grid;gap:13px;padding:17px;border:1px solid #dce7e1;border-radius:14px;background:linear-gradient(145deg,#fff 0%,#f8fbf9 100%);box-shadow:0 7px 22px rgba(26,70,49,.05)}.product-dictionary-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #e8eeeb}.product-dictionary-card header>div{min-width:0;display:grid;gap:5px}.product-dictionary-card h2{margin:0;color:#1f4233;font-size:17px;line-height:1.3;overflow-wrap:anywhere}.product-dictionary-code{width:max-content;max-width:100%;padding:4px 7px;border-radius:6px;background:#dceee5;color:#176343;font-size:9px;font-weight:900;letter-spacing:.06em;overflow-wrap:anywhere}.product-dictionary-source{flex:none;padding:5px 8px;border-radius:20px;background:#fff0ca;color:#8b6317;font-size:9px;font-weight:900}.product-dictionary-card section{display:grid;gap:5px}.product-dictionary-card section>span{color:#758279;font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.product-dictionary-card section>p{margin:0;color:#344b40;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.product-dictionary-card section.serving{padding:11px;border-left:3px solid #4b9a73;border-radius:8px;background:#edf7f1}.product-dictionary-card footer{display:grid;gap:4px;padding-top:11px;border-top:1px solid #e8eeeb;color:#78857e;font-size:9px;line-height:1.45}.product-dictionary-panel>.empty-state{margin:18px}@media(max-width:520px){.product-dictionary-grid{grid-template-columns:1fr;padding:12px}.product-dictionary-card{padding:14px}.product-dictionary-card header{gap:8px}}

/* Sales forecast and buffer */
.forecast-period-pill{padding:8px 12px;border:1px solid #cfe0d7;border-radius:20px;background:#eef6f2;color:#245d43;font-size:10px;font-weight:850}.forecast-buffer-panel{padding:0;overflow:hidden}.forecast-buffer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:14px;padding:18px}.forecast-buffer-card{min-width:0;display:grid;gap:13px;padding:17px;border:1px solid #dce7e1;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(26,70,49,.05)}.forecast-buffer-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #e8eeeb}.forecast-buffer-card header>div{min-width:0;display:grid;gap:5px}.forecast-buffer-card h2{margin:0;color:#1f4233;font-size:16px;line-height:1.3;overflow-wrap:anywhere}.forecast-sku{width:max-content;padding:4px 7px;border-radius:6px;background:#e6eef8;color:#315d8b;font-size:9px;font-weight:900;letter-spacing:.06em}.forecast-approved{flex:none;padding:5px 8px;border-radius:20px;background:#dceee5;color:#176343;font-size:9px;font-weight:900}.forecast-owner{display:grid;grid-template-columns:1fr 1fr;gap:8px}.forecast-owner>span{min-width:0;display:grid;gap:3px;color:#40564b;font-size:11px;overflow-wrap:anywhere}.forecast-owner b{color:#7a8780;font-size:8px;letter-spacing:.08em;text-transform:uppercase}.forecast-quantity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.forecast-quantity-grid>span,.forecast-quantity-grid>label{min-width:0;display:grid;align-content:center;gap:5px;min-height:70px;padding:10px;border:1px solid #e0e8e4;border-radius:10px;background:#f8faf9}.forecast-quantity-grid small{color:#728078;font-size:8px;font-weight:850;text-transform:uppercase}.forecast-quantity-grid strong{color:#294c3c;font-size:17px}.forecast-quantity-grid input{width:100%;height:34px;padding:5px 7px;border:1px solid #bfd3c8;border-radius:7px;background:#fff;color:#174a34;font-size:14px;font-weight:850;outline:none}.forecast-quantity-grid input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(24,92,67,.08)}.forecast-quantity-grid input:disabled{background:#edf1ef;color:#64736b}.forecast-quantity-grid .forecast-total{border-color:#bdd9ca;background:#edf7f1}.forecast-buffer-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:11px;border-top:1px solid #e8eeeb}.forecast-buffer-actions small{color:#77857d;font-size:9px;line-height:1.45}.forecast-buffer-actions button{flex:none}.forecast-buffer-panel>.empty-state{margin:18px}@media(max-width:560px){.forecast-buffer-grid{grid-template-columns:1fr;padding:12px}.forecast-buffer-card{padding:14px}.forecast-owner{grid-template-columns:1fr}.forecast-quantity-grid{grid-template-columns:1fr 1fr}.forecast-quantity-grid .forecast-total{grid-column:1/-1}.forecast-buffer-actions{align-items:stretch;flex-direction:column}.forecast-buffer-actions button{width:100%}}
#start-forecast-copy{margin:0 18px 14px;min-height:38px;font-size:12px}.forecast-copy-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 18px 14px;padding:12px 14px;border:1px solid #dce7e1;border-radius:10px;background:#f5f8f6}.forecast-copy-summary{display:grid;gap:4px;min-width:0}.forecast-copy-summary strong{font-size:12px;color:#29483a}.forecast-copy-summary span{font-size:11px;color:#6c7e74}.forecast-copy-toolbar button{flex:none;min-height:40px;font-size:12px}.forecast-copy-toolbar button:disabled{opacity:.45;cursor:not-allowed}.forecast-customer-select{display:flex;align-items:center;gap:10px}.forecast-customer-select .forecast-copy-check{flex:none;width:18px;height:18px;margin:0;accent-color:#185c43;cursor:pointer}.forecast-customer-select strong{min-width:0}.forecast-table tr:has(.forecast-copy-check:checked){background:#eef7f1}@media(max-width:600px){.forecast-copy-toolbar{margin:0 12px 12px;padding:12px;align-items:stretch;flex-direction:column;gap:10px}.forecast-copy-toolbar button{width:100%}.forecast-customer-select .forecast-copy-check{width:22px;height:22px}}.forecast-toolbar{align-items:center}.forecast-toolbar .search-field{flex:1}.forecast-toolbar>button{flex:none}.forecast-table-wrap{width:100%;overflow-x:auto}.forecast-table{width:100%;min-width:1120px;border-collapse:collapse}.forecast-table th{padding:12px 11px;background:#f3f7f5;color:#64766c;font-size:8px;font-weight:900;letter-spacing:.045em;text-align:left;text-transform:uppercase;white-space:nowrap}.forecast-table td{padding:13px 11px;border-top:1px solid #e8eeeb;color:#3b5046;font-size:11px;line-height:1.45;vertical-align:top}.forecast-table tbody tr{transition:background .15s,box-shadow .15s}.forecast-table tbody tr:hover{background:#f8fbf9}.forecast-table tbody tr.changed{background:#fff8e8;box-shadow:inset 4px 0 #d29a2f}.forecast-table td>strong{display:block;color:#28483a;font-size:11px}.forecast-table .forecast-sku{display:inline-flex;white-space:nowrap}.forecast-number{font-weight:850;font-variant-numeric:tabular-nums;white-space:nowrap}.forecast-buffer-input{width:112px;height:36px;padding:6px 8px;border:1px solid #abc9ba;border-radius:8px;background:#fff;color:#174a34;font-size:13px;font-weight:850;outline:none}.forecast-buffer-input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(24,92,67,.09)}.forecast-buffer-input:disabled{background:#edf1ef;color:#64736b}.forecast-update-note,.forecast-product-warning{display:block;max-width:160px;margin-top:5px;color:#7c8982;font-size:8px;line-height:1.4}.forecast-product-warning{color:#9a691f}.forecast-table .forecast-total strong{color:#176343;font-size:14px;font-variant-numeric:tabular-nums}.forecast-buffer-panel>.empty-state{margin:18px}
.forecast-table tbody tr.invalid{background:#fff3f3;box-shadow:inset 4px 0 #b84a4a}.forecast-table tr.invalid .forecast-buffer-input{border-color:#c95a5a;box-shadow:0 0 0 3px rgba(185,62,62,.08)}
.forecast-toolbar-actions{display:flex;align-items:center;gap:8px}.forecast-entry-input{width:100%;min-width:125px;height:38px;padding:7px 8px;border:1px solid #cbd9d2;border-radius:8px;background:#fff;color:#29463a;font-size:11px;outline:none}.forecast-entry-input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(24,92,67,.08)}.forecast-entry-input:disabled,.forecast-entry-input[readonly]{background:#eef3f0;color:#53675d}.forecast-master-product{min-width:145px;max-width:210px;line-height:1.45}.forecast-row-action{min-width:62px;text-align:center}.forecast-row-action .quiet-action{padding:7px 9px;color:#9a4242}.forecast-row-action>span{display:inline-flex;padding:5px 7px;border-radius:20px;background:#e3f1e9;color:#246546;font-size:8px;font-weight:850}.forecast-table tr.invalid .forecast-entry-input:invalid,.forecast-table tr.invalid [data-forecast-field="sku"]{border-color:#c95a5a}.forecast-table tr.new{box-shadow:inset 4px 0 #3c8c67}.forecast-table tr.new.invalid{box-shadow:inset 4px 0 #b84a4a}
@media(max-width:760px){.forecast-period-pill{align-self:flex-start}.forecast-toolbar{align-items:stretch;flex-direction:column}.forecast-toolbar>button{width:100%}.forecast-table-wrap{padding:12px;overflow:visible}.forecast-table{min-width:0}.forecast-table thead{display:none}.forecast-table tbody{display:grid;gap:12px}.forecast-table tr{display:grid;padding:8px 13px;border:1px solid #dce7e1;border-radius:13px;background:#fff;box-shadow:0 6px 18px rgba(26,70,49,.05)}.forecast-table tbody tr.changed{background:#fffaf0;box-shadow:inset 4px 0 #d29a2f,0 6px 18px rgba(26,70,49,.05)}.forecast-table td{min-width:0;display:grid;grid-template-columns:112px minmax(0,1fr);align-items:start;gap:10px;padding:9px 0;border-top:1px solid #edf2ef;overflow-wrap:anywhere}.forecast-table td:first-child{border-top:0}.forecast-table td:before{content:attr(data-label);color:#77857e;font-size:8px;font-weight:900;letter-spacing:.055em;text-transform:uppercase}.forecast-table td>*{min-width:0}.forecast-table td>.forecast-sku{justify-self:start}.forecast-buffer-input{width:100%;max-width:180px}.forecast-update-note,.forecast-product-warning{grid-column:2;max-width:none;margin-top:-5px}.forecast-table .forecast-total{margin:3px -5px -1px;padding:11px 5px;border-radius:8px;background:#edf7f1}.forecast-table .forecast-total strong{font-size:16px}}
@media(max-width:760px){.forecast-toolbar-actions{display:grid;grid-template-columns:1fr 1fr}.forecast-toolbar-actions button{width:100%}.forecast-entry-input{min-width:0}.forecast-master-product{min-width:0;max-width:none}.forecast-row-action{text-align:left}}
.forecast-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid #e3ebe7;background:#fbfcfb}.forecast-period-controls #export-forecast-pdf:disabled{opacity:.5;cursor:not-allowed}.forecast-preview-heading>div{display:grid;gap:3px}.forecast-preview-heading>div span,.forecast-entry-heading>div>span{color:#31805d;font-size:8px;font-weight:900;letter-spacing:.09em}.forecast-preview-heading>div strong{color:#29483a;font-size:14px}.forecast-preview-heading .search-field{width:min(420px,48%)}.forecast-entry-form{display:grid;gap:16px;margin:18px;padding:18px;border:1px solid #cfe0d7;border-radius:14px;background:linear-gradient(145deg,#f5faf7 0%,#fff 100%);box-shadow:0 8px 24px rgba(27,77,52,.06)}.forecast-entry-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:13px;border-bottom:1px solid #dfe9e4}.forecast-entry-heading>div{display:grid;gap:4px}.forecast-entry-heading strong{color:#234735;font-size:17px}.forecast-entry-heading small{color:#74837b;font-size:10px}.forecast-entry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.forecast-entry-grid label{min-width:0;display:grid;align-content:start;gap:6px;color:#53645b;font-size:10px;font-weight:850}.forecast-entry-grid label>span b{color:#a94444}.forecast-entry-grid input{width:100%;height:42px;padding:9px 10px;border:1px solid #c9d8d0;border-radius:9px;background:#fff;color:#29483a;font-size:12px;outline:none}.forecast-entry-grid input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(24,92,67,.08)}.forecast-entry-grid input[readonly]{background:#edf2ef;color:#5c6d64}.forecast-product-output,.forecast-calculated-output{min-height:42px;display:flex;align-items:center;padding:9px 10px;border:1px solid #d5e1db;border-radius:9px;background:#edf5f1;color:#24563e;font-size:12px;font-weight:800;line-height:1.4}.forecast-entry-grid label>small{color:#7a8880;font-size:8px;line-height:1.4}.forecast-product-error{color:#a44040!important}.forecast-calculated-output{font-size:15px;font-variant-numeric:tabular-nums}.forecast-entry-actions{display:flex;justify-content:flex-end}.forecast-entry-actions button{min-width:210px}.forecast-entry-form>.error{margin:0}.forecast-table td .forecast-product-warning{margin-top:4px}.forecast-table .forecast-row-action .quiet-action{border:1px solid #cfdcd5;background:#fff;color:#276447}
@media(max-width:980px){.forecast-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.forecast-preview-heading{align-items:stretch;flex-direction:column;padding:14px}.forecast-preview-heading .search-field{width:100%}.forecast-entry-form{margin:12px;padding:14px}.forecast-entry-heading{flex-direction:column}.forecast-entry-grid{grid-template-columns:1fr}.forecast-entry-actions button{width:100%;min-width:0}}
.forecast-table-wrap{max-height:460px;overflow-x:hidden;overflow-y:auto}.forecast-table{min-width:0;table-layout:fixed}.forecast-table th{position:sticky;z-index:2;top:0}.forecast-table th:nth-child(1){width:14%}.forecast-table th:nth-child(2){width:7%}.forecast-table th:nth-child(3){width:14%}.forecast-table th:nth-child(4){width:8%}.forecast-table th:nth-child(5){width:8%}.forecast-table th:nth-child(n+6):nth-child(-n+8){width:8%}.forecast-table th:nth-child(9){width:17%}.forecast-table th:nth-child(10){width:8%;text-align:center}.forecast-notes-cell{white-space:pre-wrap;line-height:1.5}.forecast-table th:nth-child(n+6):nth-child(-n+8){white-space:normal}.forecast-table td{overflow-wrap:anywhere}.forecast-table .forecast-row-action{min-width:0;padding-left:6px;padding-right:6px;text-align:center}.forecast-table .forecast-row-action .quiet-action{width:100%;max-width:62px;padding:6px 4px}.forecast-table .forecast-row-action .quiet-action+.quiet-action{margin-top:4px}.forecast-table .forecast-row-action .danger{border-color:#edd7d7;background:#fff8f8;color:#a13f3f}.forecast-table .forecast-row-action .forecast-row-actions{display:grid;justify-items:center}.forecast-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.forecast-entry-grid select{width:100%;height:42px;padding:9px 10px;border:1px solid #c9d8d0;border-radius:9px;background:#fff;color:#29483a;font-size:12px;outline:none}.forecast-entry-grid select:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(24,92,67,.08)}
@media(max-width:980px){.forecast-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.forecast-table-wrap{max-height:560px;padding:12px;overflow-x:hidden;overflow-y:auto}.forecast-table{table-layout:auto}.forecast-table .forecast-row-action{text-align:left}.forecast-table .forecast-row-action .forecast-row-actions{display:flex;align-items:stretch;gap:8px;justify-content:flex-start}.forecast-table .forecast-row-action .quiet-action{width:auto;min-width:72px;height:40px;max-width:none;margin:0;padding:8px 14px}.forecast-table .forecast-row-action .quiet-action+.quiet-action{margin-top:0}}
@media(max-width:600px){.forecast-entry-grid{grid-template-columns:1fr}}
.forecast-combobox{position:relative}.forecast-combobox .suggestions{z-index:40;top:67px;max-height:min(300px,42vh);text-align:left}.forecast-combobox .suggestion{font-weight:500}.forecast-combobox .suggestion strong{color:#28493a}.forecast-combobox .suggestion small{color:#74837b}
@media(max-width:600px){.forecast-combobox .suggestions{position:static;inset:auto;margin-top:1px;max-height:260px;box-shadow:0 12px 28px rgba(24,60,43,.14)}}
.forecast-deadline-status{width:max-content;max-width:100%;margin:9px 0 0;padding:9px 12px;border:1px solid #c7dfd2;border-left-width:4px;border-radius:8px;background:#edf7f2;color:#256044;font-size:11px;line-height:1.45}.forecast-deadline-status.is-safe{border-color:#9dceb4;background:#edf7f2;color:#256044}.forecast-deadline-status.is-warning{border-color:#e7bc54;background:#fff8e5;color:#75530b}.forecast-deadline-status.is-urgent{border-color:#e37979;background:#fff0f0;color:#a02929;animation:forecast-deadline-pulse 1.8s ease-in-out infinite}.forecast-deadline-status.is-closed{border-color:#c94d4d;background:#ffe7e7;color:#8d2222}@keyframes forecast-deadline-pulse{50%{box-shadow:0 0 0 4px rgba(201,77,77,.12)}}.forecast-period-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.forecast-period-controls select{min-width:210px;height:40px;padding:0 34px 0 12px;border:1px solid #cfe0d7;border-radius:10px;background:#eef6f2;color:#245d43;font-size:10px;font-weight:850;outline:none}.forecast-period-controls select:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(24,92,67,.08)}.forecast-period-modal{width:min(620px,100%)}
@media(max-width:700px){.forecast-period-controls{width:100%;align-items:stretch;flex-direction:column}.forecast-period-controls select,.forecast-period-controls button{width:100%}}
/* Daftar SKU: satu customer, banyak SKU card sebelum disimpan */
.forecast-shared-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.forecast-sku-section{display:grid;gap:10px}
.forecast-sku-heading{display:flex;align-items:center;gap:6px;color:#2b5a44;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.forecast-sku-heading strong{display:flex;align-items:center;gap:6px}.forecast-sku-heading i{color:#9aaba2;font-style:normal}.forecast-sku-heading span{color:#6f8279;font-weight:850}
.forecast-sku-items{display:grid;gap:10px}
.forecast-sku-card{display:grid;gap:0;border:1px solid #d5e3db;border-radius:12px;background:#fff;overflow:hidden}
.forecast-sku-card.is-open{border-color:#a8cbb9;box-shadow:0 0 0 3px rgba(24,92,67,.07)}
.forecast-sku-card-head{display:grid;grid-template-columns:auto minmax(0,1fr) 30px;align-items:center;gap:10px;min-height:46px;padding:7px 9px 7px 12px;background:#f6faf8;border-bottom:1px solid transparent}
.forecast-sku-card.is-open .forecast-sku-card-head{border-bottom-color:#e4eee8}
.forecast-sku-toggle{padding:0;border:0;background:transparent;color:#2b5a44;font-size:12px;font-weight:900;letter-spacing:.03em;text-transform:uppercase;cursor:pointer}
.forecast-sku-summary{min-width:0;overflow:hidden;color:#5f7268;font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.forecast-sku-card.is-open .forecast-sku-summary{color:#8b9790}
.forecast-sku-remove{width:30px;height:30px;justify-self:end;padding:0;border:1px solid #e2e8e5;border-radius:8px;background:#fff;color:#8a9791;font-size:15px;line-height:1;cursor:pointer}
.forecast-sku-remove:hover{border-color:#e3c4c4;color:#9c4b4b}
.forecast-sku-body{display:none;gap:11px;padding:12px}
.forecast-sku-card.is-open .forecast-sku-body{display:grid}
.forecast-sku-field{position:relative;display:grid;gap:6px}
.forecast-sku-body label{display:grid;align-content:start;gap:6px;color:#53645b;font-size:10px;font-weight:850}
.forecast-sku-body label>span b{color:#a94444}
.forecast-sku-body input{width:100%;height:42px;padding:9px 10px;border:1px solid #c9d8d0;border-radius:9px;background:#fff;color:#29483a;font-size:12px;outline:none}
.forecast-notes-input{width:100%;min-width:0;min-height:74px;resize:vertical;padding:10px;border:1px solid #c9d8d0;border-radius:9px;background:#fff;color:#29483a;font-family:inherit;font-size:12px;line-height:1.5}.forecast-notes-input:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px rgba(24,92,67,.08)}
.forecast-sku-body input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(24,92,67,.08)}
.forecast-qty-row{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.forecast-item-error{margin:0;padding:8px 10px;border:1px solid #eccfcf;border-radius:8px;background:#fff6f6;color:#a44040;font-size:10px;font-weight:800;line-height:1.4}
.forecast-add-sku{width:100%;min-height:48px;border:1px dashed #b9cec3;border-radius:10px;background:#fff;color:#2c6b4d;font-size:12px;font-weight:850;cursor:pointer}
.forecast-add-sku:hover{background:#eef7f1}
@media(max-width:600px){
  .forecast-shared-fields{grid-template-columns:1fr}
  .forecast-sku-card-head{grid-template-columns:auto minmax(0,1fr) 38px;min-height:50px}
  .forecast-sku-remove{width:38px;height:38px}
  .forecast-sku-body input{height:46px;font-size:16px}
  .forecast-notes-input{font-size:16px}
  .forecast-qty-row{grid-template-columns:1fr}
}
.forecast-month-field{min-width:0;margin:0;padding:10px;border:1px solid #dce7e1;border-radius:10px;background:#fbfcfb}.forecast-month-field legend{padding:0 5px;color:#53645b;font-size:10px;font-weight:850}.forecast-month-field legend b{color:#a94444}.forecast-month-field>small{display:block;margin-top:8px;color:#7a8880;font-size:9px}.forecast-month-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.forecast-month-option{min-width:0;display:grid;gap:7px;padding:9px;border:1px solid #e0e8e4;border-radius:9px;background:#fff}.forecast-month-option>label{display:flex!important;align-items:center;gap:7px;cursor:pointer}.forecast-month-option>label input[type=checkbox]{flex:none;width:17px;height:17px;margin:0;accent-color:var(--green)}.forecast-month-option>label span{color:#40584b;font-size:10px;font-weight:850}.forecast-month-option>input{min-width:0;height:38px!important;padding:7px!important;font-size:12px!important}.forecast-month-option>input:disabled{background:#f0f3f1;color:#849189}.forecast-month-option>input:disabled::placeholder{color:transparent}
@media(max-width:600px){.forecast-month-options{grid-template-columns:1fr}.forecast-month-option{grid-template-columns:minmax(0,1fr) minmax(100px,38%);align-items:center}.forecast-month-option>input{height:42px!important}}

/* Notification center */
.topbar-actions{display:flex;align-items:center;gap:10px}.notification-center{position:relative}.notification-button{position:relative;width:42px;height:42px;display:grid;place-items:center;border:1px solid #dce7e1;border-radius:12px;background:#f8faf9;color:#315747;transition:border-color .15s,background .15s,transform .15s}.notification-button:hover,.notification-button[aria-expanded="true"]{border-color:#accbbd;background:#edf6f1;color:#176343}.notification-button:active{transform:scale(.97)}.notification-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.notification-badge{position:absolute;top:-5px;right:-5px;min-width:19px;height:19px;padding:0 5px;display:grid;place-items:center;border:2px solid #fff;border-radius:20px;background:#c13f3f;color:#fff;font-size:8px;font-weight:900;line-height:1}.notification-panel{position:absolute;z-index:80;top:51px;right:0;width:min(390px,calc(100vw - 32px));overflow:hidden;border:1px solid #d8e4de;border-radius:16px;background:#fff;box-shadow:0 22px 60px rgba(25,61,44,.2)}.notification-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 17px;border-bottom:1px solid #e5ece8;background:#fbfcfb}.notification-panel>header>div{display:grid;gap:3px}.notification-panel>header strong{color:#213f32;font-size:15px}.notification-panel>header small{color:#78857e;font-size:9px}.notification-panel>header button{padding:4px 0;border:0;background:transparent;color:#267353;font-size:9px;font-weight:850}.notification-panel>header button:disabled{opacity:.55}.notification-list{max-height:min(520px,calc(100vh - 150px));overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.notification-item{position:relative;width:100%;display:grid;grid-template-columns:9px minmax(0,1fr) 12px;align-items:start;gap:10px;padding:14px 15px;border:0;border-bottom:1px solid #edf2ef;background:#fff;color:inherit;text-align:left}.notification-item:last-child{border-bottom:0}.notification-item:hover{background:#f7faf8}.notification-item.unread{background:#edf7f2}.notification-item.unread:hover{background:#e6f3ec}.notification-state{width:7px;height:7px;margin-top:5px;border-radius:50%;background:#ccd7d1}.notification-item.unread .notification-state{background:#2a8a62;box-shadow:0 0 0 4px rgba(42,138,98,.11)}.notification-copy{min-width:0;display:grid;gap:5px}.notification-copy strong{color:#29483a;font-size:11px;line-height:1.4;overflow-wrap:anywhere}.notification-item.unread .notification-copy strong{color:#155a3e}.notification-copy>span{color:#5f7067;font-size:10px;line-height:1.5;overflow-wrap:anywhere}.notification-copy small{color:#8b9790;font-size:8px;font-weight:750}.notification-arrow{color:#9ba7a0;font-size:19px;line-height:1}.notification-loading{min-height:130px;display:grid;place-items:center}.notification-loading .spinner{width:26px;height:26px}.notification-empty{min-height:160px;display:grid;place-content:center;justify-items:center;gap:5px;padding:22px;text-align:center}.notification-empty>span{width:30px;height:30px;display:grid;place-items:center;margin-bottom:3px;border-radius:50%;background:#e5f2eb;color:#267353;font-weight:900}.notification-empty strong{color:#3d554a;font-size:12px}.notification-empty small{max-width:240px;color:#849089;font-size:9px;line-height:1.5}
@media(max-width:760px){.topbar-actions{gap:4px}.notification-button{width:39px;height:39px;border:0;background:transparent}.notification-panel{position:fixed;top:64px;right:10px;left:10px;width:auto;max-height:calc(100dvh - 76px)}.notification-list{max-height:calc(100dvh - 148px)}}

/* Urgent announcements */
.announcement-fab{position:fixed;z-index:28;right:26px;bottom:26px;width:58px;height:58px;display:grid;place-items:center;border:0;border-radius:50%;background:linear-gradient(145deg,#247858,#14543b);color:#fff;box-shadow:0 12px 32px rgba(18,77,52,.34);transition:transform .16s,box-shadow .16s}.announcement-fab:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(18,77,52,.42)}.announcement-fab svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.announcement-form-modal{width:min(900px,100%)}.announcement-form-grid{display:grid;grid-template-columns:minmax(270px,.8fr) minmax(0,1.2fr);gap:18px}.announcement-recipient-section,.announcement-message-section{min-width:0;display:grid;align-content:start;gap:13px}.announcement-recipient-section{padding-right:18px;border-right:1px solid #e1e9e5}.announcement-recipient-section .section-title{margin:0}.announcement-user-list{max-height:320px;overflow-x:hidden;overflow-y:auto;border:1px solid #dce6e1;border-radius:12px;background:#f8faf9}.announcement-user-option{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) 20px;align-items:center;gap:10px;padding:11px;border-bottom:1px solid #e5ece8;background:#fff;cursor:pointer}.announcement-user-option:last-child{border-bottom:0}.announcement-user-option:hover{background:#f2f8f5}.announcement-user-option input{position:absolute;opacity:0;pointer-events:none}.announcement-user-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#e8f2ed;color:#276348;font-size:9px;font-weight:900}.announcement-user-option>span:nth-of-type(2){min-width:0;display:grid;gap:3px}.announcement-user-option strong{color:#304b3e;font-size:11px;overflow-wrap:anywhere}.announcement-user-option small{color:#7a8880;font-size:9px;line-height:1.4}.announcement-user-option>i{width:18px;height:18px;display:none;place-items:center;border-radius:50%;background:#247858;color:#fff;font-size:9px;font-style:normal}.announcement-user-option:has(input:checked){background:#edf7f2;box-shadow:inset 3px 0 #247858}.announcement-user-option:has(input:checked)>i{display:grid}.announcement-user-option.all-users .announcement-user-avatar{background:#247858;color:#fff}.announcement-message-section label{display:grid;gap:7px;color:#4c6257;font-size:10px;font-weight:850}.announcement-message-section label b{color:#a23f3f}.announcement-message-section input,.announcement-message-section textarea{width:100%;padding:10px 12px;border:1px solid #cad9d1;border-radius:10px;background:#fff;color:#29483a;font-size:12px;line-height:1.6;outline:none;resize:vertical}.announcement-message-section input{height:43px}.announcement-message-section input:focus,.announcement-message-section textarea:focus{border-color:#247858;box-shadow:0 0 0 3px rgba(36,120,88,.09)}.announcement-warning{display:grid;gap:3px;padding:11px 12px;border:1px solid #efd596;border-radius:10px;background:#fff8e7;color:#6f5219}.announcement-warning strong{font-size:10px}.announcement-warning span{font-size:9px}.urgent-announcement-shell{z-index:120;background:rgba(13,28,21,.72);backdrop-filter:blur(5px)}.urgent-announcement-card{width:min(620px,100%);overflow:hidden;padding:0;border:1px solid #e3c679;border-radius:20px;box-shadow:0 28px 90px rgba(0,0,0,.32);animation:urgentAppear .24s ease-out}@keyframes urgentAppear{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}.urgent-announcement-card>header{display:flex;align-items:center;gap:14px;padding:20px 22px;background:linear-gradient(135deg,#8f2e2e,#b33f34);color:#fff}.urgent-announcement-card>header>div{min-width:0;display:grid;gap:3px}.urgent-announcement-card>header p{margin:0;color:#ffd9cf;font-size:8px;font-weight:900;letter-spacing:.15em}.urgent-announcement-card h2{margin:0;font-size:21px;line-height:1.3;overflow-wrap:anywhere}.urgent-announcement-icon{flex:none;width:42px;height:42px;display:grid;place-items:center;border:2px solid rgba(255,255,255,.65);border-radius:50%;background:rgba(255,255,255,.12);font-size:22px;font-weight:950}.urgent-announcement-meta{display:flex;justify-content:space-between;gap:12px;padding:11px 22px;border-bottom:1px solid #eee5ce;background:#fffaf0;color:#796f5c;font-size:9px;font-weight:750}.urgent-announcement-content{max-height:min(380px,45vh);min-height:150px;overflow-x:hidden;overflow-y:auto;padding:24px;color:#303e37;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;outline:none}.urgent-announcement-content:focus{box-shadow:inset 0 0 0 2px rgba(36,120,88,.14)}.urgent-announcement-read-hint{padding:10px 20px;border-top:1px solid #eee8d9;background:#fffaf0;color:#936b18;font-size:9px;font-weight:850;text-align:center}.urgent-announcement-read-hint.completed{background:#edf7f2;color:#277052}.urgent-announcement-card>footer{padding:15px 20px 19px;background:#fff}.urgent-announcement-card>footer button{width:100%}.urgent-announcement-card>footer button:disabled{background:#b9c2bd;color:#eef1ef;cursor:not-allowed}
@media(max-width:760px){.announcement-fab{right:16px;bottom:18px;width:54px;height:54px}.announcement-form-grid{grid-template-columns:1fr}.announcement-recipient-section{padding:0 0 16px;border-right:0;border-bottom:1px solid #e1e9e5}.announcement-user-list{max-height:245px}.urgent-announcement-shell{padding:12px;place-items:center}.urgent-announcement-card{height:auto;max-height:calc(100dvh - 24px);display:flex;flex-direction:column;border-radius:18px}.urgent-announcement-card h2{font-size:18px}.urgent-announcement-card>header{padding:17px;flex:none}.urgent-announcement-meta{align-items:flex-start;flex-direction:column;padding:10px 17px;flex:none}.urgent-announcement-content{flex:1 1 auto;max-height:min(52vh,calc(100dvh - 330px));min-height:150px;padding:19px 17px}.urgent-announcement-read-hint{flex:none}.urgent-announcement-card>footer{flex:none;padding:13px 17px calc(15px + env(safe-area-inset-bottom))}}

/* Corner team activity window */
.team-online-badge{position:absolute;top:-3px;right:-3px;min-width:20px;height:20px;padding:0 5px;display:grid;place-items:center;border:2px solid #fff;border-radius:20px;background:#4dad79;color:#fff;font-size:8px;font-weight:900}.team-activity-panel{position:fixed;z-index:50;right:24px;bottom:96px;width:min(370px,calc(100vw - 28px));overflow:hidden;border:1px solid #dbe5e0;border-radius:16px;background:#fff;box-shadow:0 22px 60px rgba(20,55,39,.22);animation:teamPanelAppear .18s ease-out}@keyframes teamPanelAppear{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}.team-panel-head{min-height:62px;display:flex;align-items:center;gap:10px;padding:13px 15px;border-bottom:1px solid #e6ece9;background:#fff}.team-panel-head>div{min-width:0;display:grid;gap:3px;flex:1}.team-panel-head strong{color:#243e32;font-size:15px}.team-panel-head small{color:#76847c;font-size:9px}.team-panel-head>button{flex:none;width:35px;height:35px;display:grid;place-items:center;border:1px solid #d8e3dd;border-radius:10px;background:#f7faf8;color:#2c6b50;font-size:21px;font-weight:800}.team-panel-head>button.loading{animation:spin .8s linear infinite}.team-panel-head>.team-back-button{border:0;background:transparent;font-size:19px}.team-activity-list{height:min(430px,calc(100dvh - 265px));min-height:260px;overflow-x:hidden;overflow-y:auto}.team-activity-user{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;padding:12px 14px;border-bottom:1px solid #e8eeeb}.team-user-avatar{position:relative;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#e7eeea;color:#5d7067;font-size:12px;font-weight:900}.team-user-avatar>i{position:absolute;right:0;bottom:0;width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:#aeb9b3}.team-activity-user.online .team-user-avatar{background:#e0f2e8;color:#20704e}.team-activity-user.online .team-user-avatar>i{background:#48b47c}.team-user-copy{min-width:0;display:grid;gap:2px}.team-user-copy>strong{color:#293d34;font-size:11px;overflow-wrap:anywhere}.team-user-copy>small{color:#849089;font-size:8px}.team-user-copy>b{margin-top:2px;color:#4d6258;font-size:9px;line-height:1.35;overflow-wrap:anywhere}.team-user-copy>em{color:#87938c;font-size:8px;font-style:normal}.team-activity-user.online .team-user-copy>em{color:#248158;font-weight:850}.team-panel-actions{padding:11px 13px;border-top:1px solid #e6ece9;background:#fbfcfb}.team-panel-actions button{width:100%;padding:11px}.team-activity-panel footer{padding:8px 12px;background:#eef2f0;color:#7c8982;font-size:8px;text-align:center}.team-announcement-view{max-height:min(650px,calc(100dvh - 120px));overflow:hidden}.team-announcement-body{display:grid;gap:11px;max-height:min(510px,calc(100dvh - 245px));padding:13px;overflow-x:hidden;overflow-y:auto}.team-announcement-body .announcement-user-list{max-height:190px}.team-announcement-body .announcement-message-section{gap:10px}.team-announcement-body .announcement-message-section textarea{min-height:105px}.team-announcement-body .announcement-warning{padding:9px 10px}.team-announcement-view>.team-panel-actions{position:relative}.announcement-fab[aria-expanded="true"]{background:#b13e38}.announcement-fab[aria-expanded="true"] svg{transform:rotate(-8deg)}
@media(max-width:760px){.team-activity-panel{right:12px;bottom:82px;width:calc(100vw - 24px)}.team-activity-list{height:min(420px,calc(100dvh - 245px))}.team-announcement-view{max-height:calc(100dvh - 100px)}.team-announcement-body{max-height:calc(100dvh - 225px)}}

/* Floating utilities are intentionally separate: team presence and announcements. */
.team-activity-fab{position:fixed;z-index:28;right:96px;bottom:26px;width:58px;height:58px;display:grid;place-items:center;border:0;border-radius:50%;background:linear-gradient(145deg,#247858,#14543b);color:#fff;box-shadow:0 12px 32px rgba(18,77,52,.34);transition:transform .16s,box-shadow .16s}.team-activity-fab:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(18,77,52,.42)}.team-activity-fab svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.announcement-fab{right:26px;background:linear-gradient(145deg,#c74942,#96312e);box-shadow:0 12px 32px rgba(128,38,35,.34)}.announcement-fab:hover{box-shadow:0 16px 36px rgba(128,38,35,.44)}.announcement-panel{bottom:96px}.active-announcement-list{max-height:min(410px,calc(100dvh - 290px));overflow-x:hidden;overflow-y:auto;padding:10px;background:#f6f8f7}.active-announcement-card{display:grid;gap:8px;margin-bottom:9px;padding:13px;border:1px solid #e2e8e5;border-left:4px solid #b64039;border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(26,59,43,.06)}.active-announcement-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.active-announcement-card h4{margin:0;color:#293d34;font-size:11px;line-height:1.45;overflow-wrap:anywhere}.active-announcement-card p{margin:0;color:#64746c;font-size:9px;line-height:1.55;overflow-wrap:anywhere}.active-announcement-card small{color:#87928c;font-size:8px}.active-announcement-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0;background:transparent;text-align:left}.active-announcement-card footer span{color:#4e6258;font-size:8px;font-weight:750}.announcement-solve{flex:none;padding:7px 10px;border:1px solid #bdd9cb;border-radius:8px;background:#edf7f2;color:#216b4b;font-size:9px;font-weight:900}.announcement-solve:hover{background:#dff1e8}.announcement-delete{flex:none;padding:7px 10px;border:1px solid #e6c9c9;border-radius:8px;background:#fdf1f1;color:#963f3f;font-size:9px;font-weight:900}.announcement-delete:hover{background:#f8e3e3}.active-announcement-card footer>div{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end}.announcement-fab[aria-expanded="true"]{background:#7e2926}.team-activity-fab[aria-expanded="true"]{background:#103e2d}
@media(max-width:760px){.team-activity-fab{right:82px;bottom:18px;width:54px;height:54px}.announcement-fab{right:16px;bottom:18px;width:54px;height:54px}.announcement-panel{right:12px;bottom:82px;width:calc(100vw - 24px)}.active-announcement-list{max-height:min(390px,calc(100dvh - 270px))}}

.status-filter-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;margin:-8px 0 16px}.status-filter-card{position:relative;min-width:0;min-height:82px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:7px;padding:14px 15px;overflow:hidden;border:1px solid #dfe7e3;border-radius:13px;background:#fff;color:#516158;text-align:left;box-shadow:0 5px 18px rgba(28,68,49,.04);transition:border-color .16s,box-shadow .16s,transform .16s}.status-filter-card:hover{transform:translateY(-1px);border-color:#a9c8b9;box-shadow:0 8px 22px rgba(28,68,49,.08)}.status-filter-card>span{align-self:start;min-width:0;color:#65756c;font-size:9px;font-weight:850;line-height:1.35;text-transform:uppercase;letter-spacing:.045em}.status-filter-card>strong{grid-row:1/3;grid-column:2;align-self:center;color:#263d32;font-size:26px;line-height:1}.status-filter-card>i{width:32px;height:4px;border-radius:10px;background:#8da399}.status-filter-card>i.waiting-approval{background:#d8a330}.status-filter-card>i.preparing{background:#4183aa}.status-filter-card>i.ready{background:#2f9a69}.status-filter-card>i.completed,.status-filter-card>i.solved{background:#52675d}.status-filter-card>i.rejected,.status-filter-card>i.cancelled,.status-filter-card>i.waiting-deletion-approval{background:#c65d58}.status-filter-card.active{border-color:#2b7a5b;background:linear-gradient(145deg,#f3faf6,#eaf5ef);box-shadow:0 0 0 2px rgba(36,120,88,.1),0 8px 24px rgba(28,68,49,.09)}.status-filter-card.active>span,.status-filter-card.active>strong{color:#185c43}
@media(max-width:760px){.status-filter-cards{display:flex;gap:9px;margin:-6px -15px 14px;padding:0 15px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}.status-filter-cards::-webkit-scrollbar{display:none}.status-filter-card{flex:0 0 145px;min-height:78px;scroll-snap-align:start}}

.urgent-announcement-confirm{display:flex;align-items:flex-start;gap:10px;padding:13px 20px;border-top:1px solid #eee8d9;background:#fffaf0;color:#5f5440;font-size:10px;font-weight:800;line-height:1.5;cursor:pointer}.urgent-announcement-confirm input{flex:none;width:18px;height:18px;margin:0;accent-color:#247858}.urgent-announcement-confirm:has(input:checked){background:#edf7f2;color:#27684c}.urgent-announcement-confirm.history-view{background:#f3f5f4;color:#65716b;cursor:default}.active-announcement-card.solved{border-left-color:#9ba7a1;background:#fafbfa}.announcement-history-status{flex:none;padding:4px 7px;border-radius:20px;font-size:8px;font-weight:900}.announcement-history-status.active{background:#fff0cd;color:#8e681b}.announcement-history-status.solved{background:#e8ecea;color:#647169}.active-announcement-card footer>div{display:flex;gap:6px}.announcement-open{padding:7px 10px;border:1px solid #d3dfd9;border-radius:8px;background:#fff;color:#315b48;font-size:9px;font-weight:900}.announcement-open:hover{background:#f1f7f4}

/* Shared status palette for summary cards, list tables, and detail headers. */
#project-status-cards{display:flex;overflow-x:auto;scrollbar-width:none}#project-status-cards::-webkit-scrollbar{display:none}#project-status-cards .status-filter-card{flex:1 0 135px}.status-filter-card{--status-color:#718078;border-top:3px solid var(--status-color)}.status-filter-card>i{background:var(--status-color)}.status-filter-card.active{border-color:var(--status-color);background:#f8faf9;box-shadow:0 0 0 2px rgba(55,76,66,.08),0 8px 24px rgba(28,68,49,.08)}.status-filter-card.active>span,.status-filter-card.active>strong{color:var(--status-color)}.status-filter-card.all{--status-color:#617169}.status-filter-card.draft{--status-color:#7c8490}.status-filter-card.not-requested{--status-color:#c68b28}.status-filter-card.waiting-approval{--status-color:#d19b27}.status-filter-card.preparing{--status-color:#3f82ad}.status-filter-card.ready{--status-color:#279266}.status-filter-card.completed{--status-color:#247858}.status-filter-card.solved{--status-color:#65716b}.status-filter-card.rejected{--status-color:#c34f4a}.status-filter-card.cancelled{--status-color:#9d625f}.status-pill.draft{background:#eef0f3;color:#59616d}.status-pill.not-requested{background:#fff3d8;color:#8b6218}.status-pill.requested{background:#eee9fb;color:#6652a0}.status-pill.waiting-approval{background:#fff0c9;color:#8a6516}.status-pill.preparing{background:#e2f0f8;color:#286b93}.status-pill.ready{background:#ddf3e8;color:#1e7550}.status-pill.approved{background:#dff1e8;color:#206d4d}.status-pill.completed{background:#dceee5;color:#185f43}.status-pill.solved{background:#e7e9e8;color:#606b65}.status-pill.rejected{background:#f9e0de;color:#a43d38}.status-pill.cancelled{background:#f2e6e5;color:#87504d}.status-pill.waiting-deletion-approval{background:#fbe6dc;color:#a34e2c}

/* Sidebar information architecture */
.sidebar nav{flex:1;min-height:0;align-content:start;overflow-x:hidden;overflow-y:auto;padding:1px 3px 12px 0;scrollbar-width:thin;scrollbar-color:rgba(171,211,191,.25) transparent}.sidebar nav::-webkit-scrollbar{width:4px}.sidebar nav::-webkit-scrollbar-thumb{border-radius:10px;background:rgba(171,211,191,.25)}.nav-group-admin{padding-top:2px}.nav-group-admin .nav-group-title{color:#91a99e}

/* Dictionary cleanup after source project deletion */
.product-dictionary-card.project-deleted{border-color:#e6c4c0;background:linear-gradient(145deg,#fff 0%,#fff9f8 100%)}.product-dictionary-deleted-notice{padding:12px!important;border:1px solid #edcbc6!important;border-left:4px solid #b84a43!important;border-radius:10px!important;background:#fff2f0!important}.product-dictionary-deleted-notice>span{color:#a23f39!important}.product-dictionary-deleted-notice>p{color:#755d59!important;font-size:10px!important;line-height:1.5!important}.product-dictionary-deleted-notice>button{width:100%;margin-top:5px;padding:10px 12px}.product-dictionary-deleted-notice>button:disabled{opacity:.55;cursor:wait}

/* Dashboard totals by Sales. */
.dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(430px,1fr)}.dashboard-sales-panel{min-width:0}.dashboard-sales-list{max-height:218px;overflow:auto;margin-top:17px;border:1px solid #e4ebe7;border-radius:11px}.dashboard-sales-head,.dashboard-sales-row{display:grid;grid-template-columns:minmax(100px,1fr) repeat(3,minmax(58px,.6fr));gap:8px;align-items:center;padding:11px 12px;text-align:center}.dashboard-sales-head{position:sticky;top:0;background:#f3f7f5;color:#66776e;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.dashboard-sales-row{border-top:1px solid #edf1ee;font-size:12px;color:#40554a}.dashboard-sales-row:nth-child(odd){background:#fbfcfb}.dashboard-sales-row strong{text-align:left;color:#244b38;overflow-wrap:anywhere}.dashboard-sales-row span{font-variant-numeric:tabular-nums;font-weight:800}.dashboard-sales-head span:first-child{text-align:left}.dashboard-sales-empty{padding:24px 12px;color:#748279;font-size:11px;text-align:center}.dashboard-sales-list .loading-row{padding:27px}
@media(max-width:1250px){.dashboard-grid{grid-template-columns:1fr}}
@media(max-width:760px){.dashboard-sales-head,.dashboard-sales-row{grid-template-columns:minmax(88px,1fr) repeat(3,minmax(46px,.55fr));gap:5px;padding:10px 8px}.dashboard-sales-head{font-size:8px}.dashboard-sales-row{font-size:11px}}

/* Manual dictionary project picker */
.manual-project-field{padding:14px;border:1px solid #d9e5df;border-radius:12px;background:#f8fbf9}.manual-project-field>span{color:#294638}.manual-project-field select{height:48px;padding:0 42px 0 13px;border-color:#b9cec3;border-radius:10px;background-color:#fff;background-image:linear-gradient(45deg,transparent 50%,#416957 50%),linear-gradient(135deg,#416957 50%,transparent 50%);background-position:calc(100% - 18px) 20px,calc(100% - 13px) 20px;background-size:5px 5px;background-repeat:no-repeat;appearance:none;color:#264437;font-size:13px;font-weight:700;cursor:pointer}.manual-project-field select:hover{border-color:#7fa590}.manual-project-field select:focus{border-color:var(--green);outline:0;box-shadow:0 0 0 3px rgba(24,92,67,.12)}#manual-product-form .form-grid>:is(label,div),#manual-product-form :is(input,select,textarea){min-width:0;max-width:100%}#manual-product-form .form-grid{grid-template-columns:minmax(0,1fr)}.manual-project-field select{width:100%}.manual-project-field small{overflow-wrap:anywhere}
.manual-project-field small{padding-left:2px}

/* Add/edit manual dictionary product: bottom sheet on phones so the actions never get pushed off screen. */
@media(max-width:760px){#manual-product-modal{place-items:end center;padding:10px;overflow:hidden}#manual-product-modal .modal-card{max-height:calc(100dvh - 20px);overflow:hidden}#manual-product-form{display:flex;flex-direction:column;height:auto;max-height:calc(100dvh - 20px);padding:18px 16px;border-radius:18px 18px 14px 14px;gap:0}#manual-product-form .modal-head{flex:none;padding-bottom:14px;border-bottom:1px solid var(--line)}#manual-product-form .modal-head h2{font-size:21px}#manual-product-form .form-grid{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin-top:14px;padding-right:2px}#manual-product-form .form-grid label input,#manual-product-form .form-grid label textarea{font-size:16px}#manual-product-form .error{flex:none;margin:10px 0 0}#manual-product-form .modal-actions{flex:none;position:static;margin:14px 0 0;padding:10px 0 calc(2px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}#manual-product-form .modal-actions.split-actions{align-items:center;gap:8px}#manual-product-form .modal-actions button{min-height:48px}#manual-product-form .modal-actions>div{flex:1;display:flex;gap:8px}#manual-product-form .modal-actions>div button{flex:1}}@media(max-width:360px){#manual-product-form .modal-actions.split-actions{align-items:stretch;flex-direction:column}#manual-product-form .modal-actions>button,#manual-product-form .modal-actions>div{width:100%}#manual-product-form .modal-actions>div{display:grid;grid-template-columns:1fr 1fr}}

/* Compact mobile dashboard */
@media(max-width:760px){
  .topbar{height:62px;padding:0 12px;gap:7px}.menu-button{width:36px;height:36px;padding:0}.topbar-context{min-width:0}.topbar-context>strong{font-size:11px;white-space:nowrap}.topbar-actions{min-width:0;gap:2px}.notification-button{width:36px;height:36px}.user-box{padding:2px;gap:3px}.avatar{width:32px;height:32px}
  .content{padding:18px 13px 36px}#dashboard-view .content,#dashboard-view .welcome{margin-bottom:0}#dashboard-view .welcome{gap:9px;margin-bottom:12px}#dashboard-view .welcome h1{margin-bottom:3px;font-size:26px}#dashboard-view .welcome .eyebrow{margin-bottom:4px}#dashboard-view .welcome .muted{font-size:11px;line-height:1.45}#dashboard-view .welcome .primary{padding:10px 13px;font-size:11px}
  #dashboard-view .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#dashboard-view .metrics article{height:auto;min-height:104px;padding:13px;grid-template-columns:27px minmax(0,1fr);grid-template-rows:auto auto auto;gap:0 10px;border-radius:12px;align-content:center}#dashboard-view .metrics article>*{position:relative;z-index:1}#dashboard-view .metrics article:first-child{min-height:104px;grid-column:1/-1}#dashboard-view .metrics article:after{width:44px;height:44px;right:-22px;bottom:-26px;border-width:9px;border-color:rgba(31,109,78,.028)}#dashboard-view .metric-icon{grid-column:1;grid-row:1/4;width:27px;height:27px;align-self:start;border-radius:7px;font-size:7px}#dashboard-view .metrics article>p{grid-column:2;grid-row:1;align-self:center;margin:0;font-size:8px;line-height:1.35;letter-spacing:.035em}#dashboard-view .metrics strong{grid-column:2;grid-row:2;margin-top:6px;font-size:24px;line-height:1}#dashboard-view .metrics small{grid-column:2;grid-row:3;margin-top:2px;font-size:8px;line-height:1.35}
  #dashboard-view .panel-grid{gap:9px;margin-top:9px}#dashboard-view .panel{padding:13px;border-radius:13px}#dashboard-view .panel-head h2{font-size:14px}#dashboard-view .panel-head p{font-size:9px;line-height:1.35}
  #dashboard-view .workflow-panel .steps{grid-template-columns:24px minmax(0,1fr);gap:0 8px;margin-top:12px}#dashboard-view .workflow-panel .steps>span{width:22px;height:22px;min-width:22px;font-size:9px}#dashboard-view .workflow-panel .steps>p{gap:1px;padding-top:2px}#dashboard-view .workflow-panel .steps b{font-size:10px}#dashboard-view .workflow-panel .steps small{font-size:8px;line-height:1.3}#dashboard-view .workflow-panel .steps i{width:1px;min-width:1px;height:10px}
  #dashboard-view .dashboard-sales-list{max-height:302px;margin-top:10px;border:0;border-radius:0;background:transparent}#dashboard-view .dashboard-sales-head{display:none}#dashboard-view .dashboard-sales-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-bottom:6px;padding:8px 10px;border:1px solid #e2e9e5;border-radius:10px;background:#fbfcfb;text-align:left}#dashboard-view .dashboard-sales-row:nth-child(odd){background:#fbfcfb}#dashboard-view .dashboard-sales-row strong{grid-column:1/-1;padding-bottom:5px;border-bottom:1px solid #e7ede9;font-size:10px}#dashboard-view .dashboard-sales-row span{display:grid;gap:1px;font-size:11px;color:#29483a}#dashboard-view .dashboard-sales-row span:before{content:attr(data-label);color:#7b8881;font-size:7px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
  #dashboard-view .content{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
  .announcement-fab{bottom:calc(18px + env(safe-area-inset-bottom))}.team-activity-fab{bottom:calc(18px + env(safe-area-inset-bottom))}.announcement-panel,.team-activity-panel{bottom:calc(82px + env(safe-area-inset-bottom))}
}
