:root{--bg:#f4f6f4;--white:#fff;--text:#22372c;--muted:#829087;--line:#e3eae4;--green:#237951;--dark:#153d30;--pale:#eaf4ed;--red:#b85b49;--amber:#a7823e;--radius:12px;--side:238px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:13px Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #91c5a4;outline-offset:3px}a{color:var(--green);text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:28px;font-weight:650;letter-spacing:-.8px}h2{font-size:14px;letter-spacing:-.2px;font-weight:650}h3{font-size:12px;font-weight:650}svg{vertical-align:middle;flex-shrink:0}button svg{pointer-events:none}small{font-size:10px}.boot{padding:100px;text-align:center;color:var(--muted)}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--side);background:var(--dark);color:#bdd2c5;padding:29px 16px 18px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;gap:11px;align-items:center;padding:0 10px 27px}.brand-mark{background:#edf6ee;color:#1e6343;width:37px;height:37px;display:grid;place-items:center;border-radius:11px;transform:rotate(-3deg)}.brand-name{font-size:19px;font-weight:700;letter-spacing:-.6px;color:white}.brand-sub{font-size:9px;letter-spacing:1.6px;margin-top:5px;color:#a3bdac;text-transform:uppercase}.nav-label{font-size:9px;text-transform:uppercase;letter-spacing:1.6px;padding:23px 13px 9px;color:#829f8e}.nav-link{width:100%;background:none;border:0;display:flex;gap:11px;align-items:center;color:#bfd1c4;padding:11px 13px;font-size:11px;border-radius:7px;text-align:left;margin:2px 0}.nav-link:hover{background:#ffffff0b;color:white}.nav-link.active{background:#edf6ed;color:#1c643e;font-weight:650}.nav-count{margin-left:auto;font-size:10px;background:#ffffff13;border-radius:4px;padding:2px 5px}.nav-link.active .nav-count{background:#d6e9d8}.sidebar-bottom{margin-top:auto}.sidebar-note{padding:11px 13px;border:1px solid #ffffff18;border-radius:8px;color:#a6c1af;font-size:10px;line-height:1.7;margin-top:16px}.sidebar-note b{display:block;color:#e0eee2}.version-mini{display:flex;justify-content:space-between;margin:14px 12px 0;font-size:9px;color:#87a68e}.workspace{margin-left:var(--side)}.topbar{position:sticky;top:0;z-index:20;height:76px;background:white;border-bottom:1px solid var(--line);padding:0 34px;display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumb{display:flex;align-items:center;gap:9px;color:#88998c;font-size:11px}.breadcrumb b{color:#46604b;font-weight:550}.top-tools{display:flex;gap:16px;align-items:center}.search-top{display:flex;gap:8px;align-items:center;border:1px solid var(--line);padding:8px 10px;border-radius:7px;width:225px;color:#829889}.search-top input{font-size:11px;outline:none;border:0;width:100%;background:none}.account{display:flex;gap:10px;align-items:center;border-left:1px solid var(--line);padding-left:17px}.avatar{border-radius:50%;background:#e7eee6;color:#4d7354;width:34px;height:34px;display:grid;place-items:center;font-size:10px;font-weight:650}.account select{max-width:172px;border:0;background:white;font-size:11px;color:#38543f}.account small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.content{max-width:1570px;margin:0 auto;padding:29px 34px 38px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:23px}.eyebrow{font-size:9px;letter-spacing:1.8px;color:#74967c;text-transform:uppercase;font-weight:600;margin-bottom:9px}.subtitle{font-size:12px;color:var(--muted);line-height:1.7;margin-top:7px}.head-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:8px;justify-content:flex-end}.button{border:1px solid #dfe8df;border-radius:7px;background:white;color:#4d6b55;padding:9px 12px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:550;white-space:nowrap}.button:hover{border-color:#a6c9b0;background:#f4faf5}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button.primary:hover{background:#1c6744}.button.danger{color:#a9503f;background:#fff5f0;border-color:#edd0c4}.button.ghost{border-color:transparent;background:none}.button.small{font-size:10px;padding:5px 9px;min-height:28px}.icon-button{width:31px;height:31px;border:1px solid var(--line);background:white;border-radius:6px;color:#7a927f;display:inline-flex;align-items:center;justify-content:center}.flex{display:flex;align-items:center;gap:9px}.wrap{flex-wrap:wrap}.spread{justify-content:space-between}.right{text-align:right}.muted{color:var(--muted)}.small{font-size:11px}.strong{font-weight:600}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.92em}.gap{height:20px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:600;border-radius:5px;padding:4px 7px;white-space:nowrap;background:#eff3ef;color:#788d7a}.badge:before{content:'';display:block;width:4px;height:4px;border-radius:50%;background:currentColor}.badge.green{background:#eaf5eb;color:#418454}.badge.blue{background:#eaf1f9;color:#537fad}.badge.amber{background:#fbf3e3;color:#a18340}.badge.red{background:#fff0e9;color:#b7664f}.badge.dark{background:#e9efea;color:#68816b}.demo-strip{display:flex;align-items:center;gap:9px;background:#faf6e9;border:1px solid #ece5ce;padding:10px 12px;border-radius:7px;font-size:10px;line-height:1.5;color:#99875c;margin-bottom:22px}.demo-strip a{margin-left:auto;color:#8a763f;font-weight:600;white-space:nowrap}.scope-row{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:22px}.scope-card{display:flex;gap:9px;justify-content:space-between;text-align:left;padding:15px 17px;border:1px solid var(--line);background:white;color:#58755f;border-radius:9px}.scope-card.active{background:#f7fbf7;border-color:#9dbfaa;box-shadow:inset 3px 0 #408157}.scope-card .title{font-size:12px;font-weight:600}.scope-card .desc{font-size:9px;color:#91a095;margin-top:6px}.scope-card .value{font-size:24px;line-height:1;font-weight:650;letter-spacing:-.6px}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:23px}.kpi{background:white;border:1px solid var(--line);border-radius:12px;padding:18px 20px}.kpi-top{display:flex;justify-content:space-between;align-items:center;color:#7e9383;font-size:11px}.kpi-icon{width:29px;height:29px;border-radius:7px;display:grid;place-items:center;background:#f1f6f1;color:#6c9672}.kpi-value{font-size:31px;font-weight:650;letter-spacing:-1px;margin:10px 0 9px}.kpi-foot{font-size:10px;color:#91a094}.kpi.red .kpi-icon{background:#fff1eb;color:#c57f69}.kpi.red .kpi-value{color:#b96651}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0;box-shadow:0 3px 16px #264a3003}.panel-head{padding:19px 21px;border-bottom:1px solid #edf2ed;display:flex;gap:12px;align-items:center;justify-content:space-between}.panel-head h2{font-size:13px}.panel-head p{font-size:10px;color:#91a095;margin-top:5px;line-height:1.5}.panel-body{padding:21px}.panel-footer{padding:13px 20px;background:#fbfdfb;border-top:1px solid #edf2ed;font-size:10px;line-height:1.6;color:#97a296}.grid-main{display:grid;grid-template-columns:minmax(0,1fr) 332px;gap:20px;margin-bottom:22px}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.pipeline-bars{display:flex;flex-direction:column;gap:18px;padding:24px}.bar-line{display:grid;grid-template-columns:130px 1fr 22px;align-items:center;gap:12px;font-size:11px;color:#69826e}.bar{height:8px;background:#f1f5f1;border-radius:5px;overflow:hidden}.bar i{display:block;height:100%;border-radius:5px;background:#77a788}.bar-line:nth-child(2) i{background:#4e8e68}.bar-line:nth-child(3) i{background:#277956}.bar-line:nth-child(4) i{background:#739dac}.bar-line:nth-child(5) i{background:#d1ba83}.bar-line b{text-align:right;font-size:11px}.flag-row{display:flex;gap:10px;padding:14px 18px;border-bottom:1px solid #eff3ef;align-items:flex-start}.flag-row:last-child{border:0}.flag-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:6px;background:#fff1eb;color:#c17a61;flex-shrink:0}.flag-icon.warning{background:#fbf3e3;color:#b49b64}.flag-body{flex:1;min-width:0}.flag-title{font-size:11px;font-weight:600;color:#566e5c;margin-bottom:5px;line-height:1.4}.flag-meta{font-size:9px;line-height:1.6;color:#98a296}.flag-body a{font-size:9px;font-weight:550}.tabs{display:flex;gap:23px;border-bottom:1px solid #dce7df;overflow:auto;margin-bottom:20px}.tab{border:0;background:none;padding:12px 1px 13px;color:#8b9b8f;font-size:11px;border-bottom:2px solid transparent;white-space:nowrap}.tab.active{border-color:#37825a;color:#2b7f51;font-weight:650}.toolbar{padding:15px 19px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #edf2ed;flex-wrap:wrap}.filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.filters input,.filters select,.select-small{border:1px solid var(--line);border-radius:6px;font-size:10px;color:#69826e;background:white;padding:8px 10px;max-width:240px}.segmented{display:flex;border:1px solid var(--line);border-radius:6px;padding:2px}.segmented button{border:0;background:none;color:#91a394;border-radius:4px;font-size:10px;padding:5px 9px}.segmented button.active{background:#edf5ee;color:#477650}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px}th{padding:12px 16px;background:#fafcfb;border-bottom:1px solid #e6eee6;color:#8f9e90;font-size:9px;text-transform:uppercase;letter-spacing:.45px;font-weight:600;text-align:left;white-space:nowrap}td{padding:15px 16px;border-bottom:1px solid #eff3ef;line-height:1.5;vertical-align:middle}tr:last-child td{border:0}.sub{font-size:9px;color:#95a297;margin-top:4px;line-height:1.6}.code-link{color:#348152;font-weight:650}.row-click{cursor:pointer}.row-click:hover{background:#fbfdfb}.pagination{display:flex;justify-content:space-between;padding:13px 17px;border-top:1px solid var(--line);font-size:10px;align-items:center;color:#8b9e91}.due-red{color:#b66550;font-weight:550}.empty{text-align:center;padding:36px 22px;color:#96a697;font-size:11px;line-height:1.8}.empty svg{display:block;margin:0 auto 12px;color:#a3b7a6}.empty h3{color:#657f6c;margin-bottom:6px}.board{display:flex;gap:14px;overflow:auto;padding:18px}.board-column{flex:1;min-width:220px;background:#edf2ed;border-radius:9px;padding:11px}.board-head{display:flex;justify-content:space-between;font-size:11px;font-weight:600;padding:5px 4px 14px}.board-card{background:white;border:1px solid #dce7df;border-radius:8px;padding:15px;margin-bottom:11px;cursor:pointer}.board-card:hover{border-color:#91b99d}.board-card p{font-size:10px;line-height:1.7;color:#879c8c;margin:8px 0 14px}.detail-summary{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;background:var(--line);gap:1px;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:20px}.summary-cell{background:white;padding:16px 19px}.summary-label{font-size:9px;text-transform:uppercase;letter-spacing:.65px;color:#93a495;margin-bottom:8px}.summary-value{font-size:12px;font-weight:600;line-height:1.5}.summary-sub{font-size:10px;color:#90a293;margin-top:6px}.progress-track{display:flex;overflow:auto;padding:21px 2px 27px}.step{position:relative;text-align:center;min-width:92px;flex:1;font-size:9px;color:#9bad9d}.step:before{content:'';position:absolute;height:2px;left:-50%;right:50%;top:12px;background:#dce7de}.step:first-child:before{display:none}.step-mark{position:relative;z-index:1;margin:0 auto 10px;width:27px;height:27px;border:1px solid #d4e3d8;border-radius:50%;background:var(--bg);display:grid;place-items:center;font-size:9px}.step.done{color:#589467}.step.done .step-mark{color:#438852;background:#e9f5ec;border-color:#8cb498}.step.current .step-mark{background:#347d50;border-color:#347d50;color:white;box-shadow:0 0 0 4px #e1eee4}.step.current{color:#377e51;font-weight:600}.kv-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px 26px}.kv-label{font-size:10px;color:#92a495;margin-bottom:7px}.kv-value{font-size:12px;color:#526e5b;line-height:1.65}.note-box{background:#f7fbf7;border:1px solid #e3ede5;border-radius:7px;padding:13px 15px;color:#789280;font-size:11px;line-height:1.7}.note-box.warn{background:#fffaf0;border-color:#eee1bf;color:#9c8553}.note-box.red{background:#fff5ef;border-color:#edd3c5;color:#ab7159}.note-box.blue{background:#f3f7fb;border-color:#dbe7f0;color:#708ba1}.shipment-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:20px}.ship-actions{display:flex;gap:8px;flex-wrap:wrap;padding:14px 20px;border-top:1px solid #e9f0e9}.qc-band{padding:13px 20px;background:#fafdFA;border-top:1px solid #edf2ed;display:flex;gap:10px;font-size:11px;align-items:center;color:#7e9584}.timeline{padding:22px}.timeline-event{display:flex;gap:13px;margin-bottom:23px}.timeline-marker{width:26px;height:26px;border-radius:50%;border:1px solid #dce9df;background:#f3f9f3;color:#78a07e;display:grid;place-items:center;flex-shrink:0}.timeline-content{flex:1;min-width:0}.event-top{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#97a899;margin-bottom:7px}.timeline-content p{font-size:11px;line-height:1.7;color:#6b8471}.timeline-content details{font-size:10px;color:#829e86;margin-top:9px}.timeline-content pre{font-size:10px;background:#f7fbf7;padding:12px;border-radius:6px;white-space:pre-wrap;max-height:200px;overflow:auto}.document-list{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;padding:19px}.doc-card{padding:14px;border:1px solid var(--line);border-radius:8px;display:flex;gap:11px;align-items:flex-start}.doc-card h3{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.doc-card p{font-size:9px;line-height:1.8;color:#91a195;margin-top:6px}.doc-symbol{background:#f0f6f0;border-radius:5px;color:#7e9d85;width:31px;height:36px;display:grid;place-items:center;flex-shrink:0}.footer-note{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:17px;margin-top:25px;font-size:9px;color:#9aa69c;line-height:1.6}.modal-backdrop{position:fixed;inset:0;background:#102b206d;display:flex;align-items:center;justify-content:center;padding:22px;z-index:90;backdrop-filter:blur(3px)}.modal{background:white;border:1px solid #dfebdf;width:650px;max-width:100%;max-height:93vh;border-radius:14px;box-shadow:0 25px 90px #10281840;display:flex;flex-direction:column;overflow:hidden}.modal.wide{width:1010px}.modal-head{padding:21px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:14px;align-items:center}.modal-head h2{font-size:18px;letter-spacing:-.45px}.modal-head p{font-size:11px;line-height:1.6;color:#93a495;margin-top:5px}.modal-body{padding:22px 24px;overflow:auto;flex:1}.modal-foot{padding:15px 24px;background:#fbfdfb;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid.three{grid-template-columns:repeat(3,1fr)}.full{grid-column:1/-1}.field{font-size:10px;color:#748e7b}.field label{font-weight:550}.field input,.field select,.field textarea{display:block;width:100%;background:white;border:1px solid #dce7de;border-radius:6px;padding:9px 11px;font-size:11px;color:#516e5a;margin-top:7px;min-height:36px;line-height:1.6}.field textarea{min-height:85px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #aad2b6;border-color:#8cba9a}.field small{display:block;font-size:9px;color:#97a799;line-height:1.6;margin-top:6px}.field input[type=file]{background:#f8fbf7}.form-section{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:#6a9274;font-weight:650;margin:23px 0 14px}.form-section:first-child{margin-top:0}.line-editor{padding:15px;border:1px solid var(--line);background:#fcfefc;border-radius:9px;margin-bottom:11px}.line-editor-grid{display:grid;grid-template-columns:minmax(160px,2fr) 85px 100px minmax(110px,1fr) 30px;gap:11px;align-items:end}.checkbox{display:flex;gap:9px;align-items:flex-start;color:#789380;font-size:11px;line-height:1.6}.checkbox input{accent-color:#348255;margin-top:2px}.check-list{display:flex;flex-direction:column;gap:12px;margin:16px 0}.form-error{display:none;padding:12px 15px;background:#fff1ea;color:#a5664e;border:1px solid #efcdbd;border-radius:7px;font-size:11px;line-height:1.7;margin-bottom:17px}.form-error.visible{display:block}.toast{position:fixed;bottom:25px;right:25px;background:#22573a;color:#e8f6eb;border-radius:9px;padding:15px 18px;max-width:440px;box-shadow:0 7px 30px #174b3027;z-index:150;display:flex;align-items:flex-start;gap:10px;line-height:1.7;font-size:12px}.toast.error{background:#ac624d}.spec-text{font-family:inherit;white-space:pre-wrap;background:#f8fbf8;border:1px solid #e7eee7;padding:15px;border-radius:7px;font-size:11px;line-height:1.8;color:#7e9382}.intro-banner{padding:25px 28px;border-radius:12px;background:#193f30;color:#bed6c4;margin-bottom:23px;display:flex;justify-content:space-between;align-items:center;gap:20px}.intro-banner h2{font-size:21px;color:#f1f8f2;letter-spacing:-.5px}.intro-banner p{font-size:11px;line-height:1.8;margin-top:9px}.release-row{display:grid;grid-template-columns:95px 1fr 80px;gap:17px;padding:18px 21px;border-bottom:1px solid var(--line);font-size:11px}.release-row small{display:block;color:#8b9f91;line-height:1.8;margin-top:6px}.import-stats{display:flex;gap:11px;flex-wrap:wrap;margin:16px 0}.import-stat{padding:10px 15px;background:#f8fbf7;border:1px solid var(--line);border-radius:7px;font-size:10px;min-width:105px}.import-stat b{display:block;font-size:22px;margin-top:7px;color:#648a67}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.login-brand{padding:70px;background:#163d2e;color:white;display:flex;flex-direction:column;justify-content:center}.login-brand h1{font-size:43px;line-height:1.2;max-width:450px}.login-brand p{font-size:14px;line-height:1.9;color:#acc6b0;max-width:410px;margin-top:22px}.login-form{display:flex;align-items:center;justify-content:center;padding:40px}.login-card{width:360px}.login-card h2{font-size:24px;margin-bottom:10px}.login-card p{font-size:12px;line-height:1.7;color:#8ca491;margin-bottom:25px}.login-card .field{margin-bottom:17px}.login-card .button{width:100%;margin-top:8px}.mobile-toggle{display:none}.print-sheet{display:none}
@media(min-width:1550px){.grid-main{grid-template-columns:minmax(0,1fr) 385px}}
@media(max-width:1200px){:root{--side:211px}.topbar{padding:0 25px}.content{padding:25px}.grid-main{grid-template-columns:minmax(0,1fr) 288px}.bar-line{grid-template-columns:110px 1fr 22px}.search-top{width:180px}.document-list{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){:root{--side:190px}.brand{padding-left:3px}.brand-name{font-size:16px}.brand-sub{font-size:8px}.sidebar{padding-left:12px;padding-right:12px}.grid-main,.grid-two{grid-template-columns:1fr}.scope-row{grid-template-columns:1fr 1fr}.search-top{display:none}.kpi{padding:15px}.kpi-grid{gap:10px}.detail-summary{grid-template-columns:1fr 1fr}.shipment-facts{grid-template-columns:1fr 1fr}.topbar{padding:0 20px}}
@media(max-width:720px){:root{--side:0px}.sidebar{width:230px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:none;box-shadow:0 0 0 100vmax #12342175}.workspace{margin-left:0}.mobile-toggle{display:inline-flex}.topbar{height:63px;padding:0 15px}.breadcrumb{font-size:9px}.account{padding-left:7px;gap:6px}.account select{max-width:122px;font-size:10px}.account small{display:none}.top-tools{gap:7px}.top-tools>.icon-button{display:none}.content{padding:20px 15px}.page-head{flex-direction:column;gap:8px}h1{font-size:25px}.head-actions{justify-content:flex-start}.demo-strip{font-size:9px}.demo-strip a{display:none}.scope-row{gap:9px}.scope-card{padding:12px}.kpi-grid{grid-template-columns:1fr 1fr}.kpi-value{font-size:27px}.kpi-top{font-size:10px}.kpi-foot{font-size:9px}.panel-head{padding:16px}.panel-body{padding:17px}.document-list{grid-template-columns:1fr}.form-grid,.form-grid.three{grid-template-columns:1fr}.line-editor-grid{grid-template-columns:1fr 1fr}.line-editor-grid>.field:first-child{grid-column:1/-1}.modal-backdrop{padding:8px}.modal{max-height:96vh}.modal-head,.modal-foot{padding:16px}.modal-body{padding:18px 16px}.footer-note{flex-direction:column;gap:5px}.tabs{gap:20px}.summary-cell{padding:13px}.summary-sub{font-size:9px}.shipment-facts{padding:17px}.intro-banner{padding:21px}.intro-banner h2{font-size:18px}.release-row{grid-template-columns:80px 1fr}.release-row>.badge{display:none}.login-page{grid-template-columns:1fr}.login-brand{padding:35px}.login-brand h1{font-size:29px}.login-brand p{font-size:12px}.login-form{padding:30px 20px}.toast{left:14px;right:14px}.bar-line{grid-template-columns:125px 1fr 22px}}
@media print{body>*{display:none!important}.print-sheet{display:block!important;padding:12mm;font-size:11px;color:#193c29}.print-sheet h1{font-size:26px}.print-sheet h2{margin:18px 0 10px}.print-sheet pre{font-family:inherit;white-space:pre-wrap;line-height:1.6}.print-head{display:flex;justify-content:space-between;border-bottom:2px solid #317443;padding-bottom:16px;margin-bottom:22px}.print-line{break-inside:avoid;margin-top:20px}.print-warning{padding:12px;border:1px solid #d8bc7c;color:#9c8050;margin-top:25px}@page{size:A4;margin:8mm}}
/* PLM module additions */
.lineage{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px;border:1px solid #e5eee8;border-radius:12px;background:#f8fbf9}
.lineage>div{text-align:center}.lineage-arrow{color:#8ba69a}.link-button{border:0;background:none;padding:0;color:#246c52;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.link-button:hover{color:#153d30}
@media(max-width:720px){.lineage{align-items:flex-start}.lineage-arrow{transform:rotate(90deg)}}
/* Shipping & freight module additions */
.revised-date{color:#b05d45;background:#fff1e9;padding:2px 5px;border-radius:4px}
.shipping-milestones{display:grid;grid-template-columns:repeat(5,minmax(135px,1fr));gap:0;padding:16px 20px;border-top:1px solid #edf2ed;background:#fbfdfb;overflow:auto}
.ship-milestone{min-width:135px;display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-left:2px solid #dde7df;color:#91a096}
.ship-milestone>span{width:18px;height:18px;border-radius:50%;border:1px solid #d6e3d9;display:grid;place-items:center;background:white;flex-shrink:0}
.ship-milestone b{display:block;font-size:9px;line-height:1.45;color:#78907e}.ship-milestone small{display:block;margin-top:5px;line-height:1.5;color:#99a69c}
.ship-milestone.done{border-left-color:#4f956a;background:#f7fbf7}.ship-milestone.done>span{background:#e9f5eb;color:#3e8658;border-color:#bdd9c3}.ship-milestone.done b{color:#427551}
.ship-milestone.active{border-left-color:#b9a16a;background:#fffaf0}.ship-milestone.active>span{background:#fbf2df;border-color:#e6d3a6}.ship-milestone.active b{color:#91793e}
.trend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:20px}.trend-card{border:1px solid var(--line);border-radius:10px;padding:17px;background:#fcfefc}.trend-value{font-size:27px;font-weight:650;letter-spacing:-.7px;margin:14px 0 8px;color:#355b43}.history-row{display:grid;grid-template-columns:minmax(160px,2fr) 100px 150px 90px;gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid #edf2ed;font-size:10px;color:#829187}.history-row:last-child{border-bottom:0}.history-row b{color:#506e59;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1000px){.shipping-milestones{grid-template-columns:repeat(3,minmax(145px,1fr))}.trend-grid{grid-template-columns:1fr}.history-row{grid-template-columns:1fr 90px 130px}.history-row span:last-child{display:none}}
@media(max-width:720px){.shipping-milestones{display:flex;padding:12px 14px}.ship-milestone{min-width:175px}.history-row{grid-template-columns:1fr 90px}.history-row span:nth-of-type(2),.history-row span:last-child{display:none}}

/* ========================================================================== 
   FARMING HUB BRAND GUIDELINES — v0.3.3-alpha.6
   Source of truth: docs/brand/Farming_Hub_Brand_Guidelines.pdf
   Primary: #204321 / #C5DA41. Preferred typeface: AmsiPro.
   Secondary: #EEBF9E #F47422 #D99B9A #60BB46 #EDF2C0 #EBBE87.
   Logo is used unchanged with clear space, preserved proportions and no effects.
   ========================================================================== */
:root{
  --fh-green:#204321;
  --fh-lime:#C5DA41;
  --fh-peach:#EEBF9E;
  --fh-orange:#F47422;
  --fh-rose:#D99B9A;
  --fh-leaf:#60BB46;
  --fh-pale:#EDF2C0;
  --fh-tan:#EBBE87;
  --bg:#f7f8f1;
  --white:#ffffff;
  --text:#203a25;
  --muted:#748176;
  --line:#e3e8dc;
  --green:var(--fh-green);
  --dark:var(--fh-green);
  --pale:#f2f5dd;
  --red:#a64d48;
  --amber:#9a6a19;
  --radius:14px;
  --side:246px;
  --fh-shadow:0 8px 26px rgba(32,67,33,.065);
  --fh-shadow-sm:0 3px 14px rgba(32,67,33,.05);
}
html{background:var(--bg)}
body{
  background:linear-gradient(180deg,#fbfbf7 0,#f7f8f1 20rem,#f5f7ee 100%);
  color:var(--text);
  font-family:AmsiPro,'Amsi Pro','Trebuchet MS','Segoe UI',Arial,sans-serif;
}
button,input,select,textarea{font-family:inherit}
h1,h2,h3,.brand-name,.kpi-value,.trend-value{font-family:AmsiPro,'Amsi Pro','Trebuchet MS','Segoe UI',Arial,sans-serif}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(197,218,65,.72);outline-offset:2px}
a{color:var(--fh-green)}

/* Brand structure / official logo */
.sidebar{
  background:var(--fh-green);
  color:#e8eddd;
  border-right:0;
  box-shadow:none;
  overflow:hidden;
}
.sidebar:before,.sidebar:after{
  content:'';position:absolute;pointer-events:none;z-index:0;
  background:var(--fh-lime);opacity:.08;
}
.sidebar:before{width:240px;height:150px;right:-125px;top:86px;border-radius:72% 0 65% 28%;transform:rotate(-17deg)}
.sidebar:after{width:200px;height:92px;left:-92px;bottom:110px;border-radius:0 75% 18% 70%;transform:rotate(14deg)}
.sidebar>*{position:relative;z-index:1}
.brand-logo-block{display:block;padding:0 8px 26px}
.brand-logo-shell{
  display:flex;align-items:center;justify-content:center;
  background:#fff;border:1px solid #eef0e8;border-radius:10px;
  padding:12px 14px;max-width:202px;box-shadow:none;
}
.brand-logo{display:block;width:100%;height:auto;max-height:54px;object-fit:contain}
.brand-logo-block .brand-sub{margin:9px 3px 0;color:#d7dfca;font-size:9px;font-weight:700;letter-spacing:1.65px;text-transform:uppercase}
.nav-label{color:#b9c5ad;font-weight:700;letter-spacing:1.55px}
.nav-link{color:#e0e6d8;border:1px solid transparent;transition:background .15s ease,color .15s ease}
.nav-link:hover{background:rgba(237,242,192,.10);color:#fff;transform:none}
.nav-link.active{background:var(--fh-lime);color:var(--fh-green);font-weight:700;border-color:var(--fh-lime);box-shadow:none;position:relative}
.nav-link.active:before{content:'';position:absolute;left:-5px;top:8px;bottom:8px;width:3px;border-radius:4px;background:#fff}
.nav-count{background:rgba(255,255,255,.12);color:#fff}
.nav-link.active .nav-count{background:rgba(32,67,33,.12);color:var(--fh-green)}
.sidebar-note{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.17);color:#ccd7c4}
.sidebar-note b{color:#fff}.version-mini{color:#b7c4ad}

/* Header / layout */
.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);box-shadow:none}
.topbar:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--fh-lime)}
.breadcrumb{color:#829085}.breadcrumb b{color:var(--fh-green);font-weight:700}
.search-top{border-color:#dfe5d8;background:#fff;border-radius:9px}
.avatar{background:var(--fh-pale);color:var(--fh-green);border:1px solid #dce4ac}
.account select{color:var(--fh-green)}
.content{padding-top:31px}
.page-head{margin-bottom:25px}.page-head h1{font-size:30px;font-weight:800;color:var(--fh-green);letter-spacing:-.8px}
.eyebrow{color:#527027;font-weight:800;letter-spacing:1.65px}
.subtitle{color:var(--muted)}

/* Controls */
.button{border:1px solid #dce4d4;border-radius:9px;background:#fff;color:var(--fh-green);box-shadow:none;font-weight:650}
.button:hover{border-color:#aabd71;background:#fbfceF;transform:none}
.button.primary{background:var(--fh-green);border-color:var(--fh-green);color:#fff;box-shadow:none}
.button.primary:hover{background:#17361b;border-color:#17361b}
.button.danger{background:#fff6f1;border-color:#efc8b6;color:#98472d}
.button.ghost{background:transparent}
.icon-button{border-color:#dfe5d8;color:var(--fh-green);border-radius:8px}
.filters input,.filters select,.select-small,.search-top,input,select,textarea{accent-color:var(--fh-lime)}
.filters input,.filters select,.select-small{border-color:#dfe5d8;border-radius:8px;background:#fff;color:#405945}
.segmented{border-color:#dfe5d8;border-radius:8px}.segmented button.active{background:var(--fh-pale);color:var(--fh-green);font-weight:700}

/* Cards / tables */
.scope-row{gap:15px}.scope-card{border-radius:13px;border-color:var(--line);box-shadow:var(--fh-shadow-sm);color:#506756}
.scope-card.active{background:#fbfceF;border-color:#cbd98b;box-shadow:inset 4px 0 var(--fh-lime),var(--fh-shadow-sm)}
.scope-card .value{color:var(--fh-green);font-weight:800}
.kpi-grid{gap:16px}.kpi{border-radius:14px;border-color:var(--line);box-shadow:var(--fh-shadow-sm);position:relative;overflow:hidden}
.kpi:before{content:'';position:absolute;left:0;right:0;top:0;height:4px;background:var(--fh-lime)}
.kpi-icon{background:var(--fh-pale);color:var(--fh-green);border-radius:8px}
.kpi-value{color:var(--fh-green);font-weight:800}
.kpi.red .kpi-icon{background:#fff0e7;color:var(--fh-orange)}.kpi.red .kpi-value{color:#9d4f33}
.panel{border-radius:14px;border-color:var(--line);box-shadow:var(--fh-shadow)}
.panel-head{background:#fff;padding:20px 22px}.panel-head h2{color:var(--fh-green);font-weight:800}
.panel-footer{background:#fbfcf7}
.tabs{border-bottom-color:#dfe5d8}.tab{font-weight:650}.tab.active{border-color:var(--fh-lime);color:var(--fh-green);font-weight:800}
table thead th{background:#f2f5dd;color:#52664f;font-weight:800}
table tbody tr:hover{background:#fcfdf6}.code-link{color:var(--fh-green)}
.pipeline-bars .bar{background:#eef1e8}.pipeline-bars .bar i{background:var(--fh-leaf)}
.bar-line:nth-child(2) i{background:var(--fh-green)}.bar-line:nth-child(3) i{background:var(--fh-lime)}.bar-line:nth-child(4) i{background:var(--fh-tan)}.bar-line:nth-child(5) i{background:var(--fh-orange)}

/* Status vocabulary uses the approved secondary palette. */
.badge{border-radius:999px;padding:4px 8px;font-weight:750}
.badge.green{background:#edf7e9;color:#337630}.badge.blue{background:var(--fh-pale);color:#526a25}.badge.amber{background:#fff3df;color:#8a5a12}.badge.red{background:#fbe9e7;color:#984b46}.badge.dark{background:#edf0e8;color:#566557}
.flag-icon{border-radius:8px;background:#fff0e8;color:var(--fh-orange)}.flag-icon.warning{background:#fff3df;color:#a56a16}
.flag-title{color:#405b45}.demo-strip{background:#fbf8e8;border-color:#e8ddb2;color:#806e42;border-radius:9px}

/* Shipping / trends */
.ship-milestone.done{border-left-color:var(--fh-leaf);background:#f7fbf2}.ship-milestone.done>span{background:#edf7e9;color:#357b39;border-color:#bdd9ad}
.ship-milestone.active{border-left-color:var(--fh-orange);background:#fff8ef}.ship-milestone.active>span{background:#fff0e7;border-color:#efc29e}.ship-milestone.active b{color:#8c551c}
.trend-card{background:#fff;border-color:var(--line);box-shadow:var(--fh-shadow-sm)}.trend-value{color:var(--fh-green);font-weight:800}

/* Brand-element curves: based on the guidelines' scalable spark/curve language. */
.page-head:after{
  content:'';display:block;width:54px;height:13px;margin-left:auto;margin-top:2px;
  background:var(--fh-lime);border-radius:75% 18% 70% 25%;transform:rotate(-8deg);opacity:.95;flex:0 0 auto;
}
.panel.brand-accent{position:relative;overflow:hidden}.panel.brand-accent:after{content:'';position:absolute;width:130px;height:50px;right:-38px;bottom:-26px;background:var(--fh-pale);border-radius:70% 0 0 0;pointer-events:none}

/* Login follows the approved white / primary-green / lime language. */
.login-page{background:#f8f9f1}
.login-brand{background:var(--fh-green);position:relative;overflow:hidden}
.login-brand:before,.login-brand:after{content:'';position:absolute;pointer-events:none;background:var(--fh-lime)}
.login-brand:before{width:360px;height:210px;right:-140px;top:68px;border-radius:70% 0 65% 20%;transform:rotate(-10deg);opacity:.12}
.login-brand:after{width:430px;height:180px;left:-160px;bottom:-75px;border-radius:0 75% 25% 65%;transform:rotate(7deg);opacity:.10}
.login-brand>*{position:relative;z-index:1}
.login-logo-block{display:block}
.login-logo-shell{display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid #eef0e8;border-radius:11px;padding:14px 17px;box-shadow:none}
.login-brand-logo{display:block;width:min(300px,54vw);height:auto;max-height:88px;object-fit:contain}
.login-brand h1{font-size:46px;line-height:1.08;max-width:650px;letter-spacing:-1.5px;color:#fff;font-weight:800}
.login-brand p{color:#d8e2d0;max-width:570px}.login-form{background:#f8f9f1}
.login-card{border-radius:16px;box-shadow:var(--fh-shadow);border-color:#dfe5d8}

/* Logo integrity: white background, clear zone, no recolor / distortion / effects. */
.brand-logo-shell,.login-logo-shell,.print-logo-shell{background:#fff}
.brand-logo,.login-brand-logo,.print-logo{filter:none!important;transform:none!important;opacity:1!important;box-shadow:none!important}
.print-logo{display:block;width:152px;height:auto;max-height:50px;object-fit:contain;margin:0 0 12px}

/* Printing stays clean and brand-compliant. */
@media print{
  body{background:#fff;color:#202d23;font-family:AmsiPro,'Amsi Pro','Trebuchet MS','Segoe UI',Arial,sans-serif}
  .print-logo{width:145px;max-height:48px}
  .print-head{border-bottom:3px solid var(--fh-lime);padding-bottom:12px}
}
@media(max-width:900px){.topbar{height:70px}.page-head h1{font-size:26px}.login-brand h1{font-size:36px}.brand-logo-shell{max-width:190px}.login-brand-logo{width:min(250px,66vw)}}
@media(max-width:720px){.brand-logo-block{padding-bottom:18px}.brand-logo-shell{max-width:178px}.login-logo-shell{padding:11px 13px}.login-brand-logo{width:min(220px,72vw)}.page-head:after{display:none}}

/* Supplier price-list module */
.price-warning{display:block;margin-top:7px;color:#8a4d13;font-weight:700}

/* v0.4.1-alpha.8 — visible workflow stage card (Farming Hub guideline palette) */
.current-stage-card{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  margin:0 0 20px;padding:17px 20px;border:1px solid #dfe6c8;border-left:5px solid var(--fh-lime);
  border-radius:12px;background:#fbfcef;box-shadow:var(--fh-shadow-sm);
}
.current-stage-card h2{margin:2px 0 4px;color:var(--fh-green);font-size:19px;font-weight:800;letter-spacing:-.25px}
.current-stage-card p{margin:0;color:#6e7d6f;font-size:11px;line-height:1.55}
@media(max-width:720px){.current-stage-card{align-items:flex-start;flex-direction:column}}
