:root{--ink:#172e37;--muted:#74858d;--accent:#007e88;--line:#e3e9ed;--bg:#f4f7f9;--side:#edf3f5;--red:#b7313c;--shadow:0 16px 60px #18343b12}*{box-sizing:border-box}body{margin:0;font:13px -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer;transition:background .15s}button:disabled{cursor:default;opacity:.45}a{color:var(--accent)}input,select,textarea{border:1px solid #d7e1e6;border-radius:8px;background:white;padding:10px 11px;color:var(--ink);width:100%;min-width:0;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #007e8810}input[type=checkbox]{width:auto;accent-color:var(--accent)}textarea{resize:vertical;min-height:80px}label{display:block;font-size:12px;color:#50636c;margin-bottom:7px}button.primary{background:var(--accent);border:1px solid var(--accent);color:white;border-radius:8px;padding:10px 16px;font-weight:600}button.secondary{background:white;border:1px solid #d7e2e7;border-radius:8px;padding:9px 13px;color:var(--ink)}button.link{border:0;background:none;color:var(--accent);padding:4px}button.danger{color:var(--red);border-color:#efd5d8}.muted{color:var(--muted)}.small{font-size:11px}.mono{font-variant-numeric:tabular-nums}h1,h2,h3,p{margin-top:0}h1{font-size:23px;letter-spacing:-.5px;margin-bottom:7px}h2{font-size:15px;margin-bottom:17px}h3{font-size:13px}.loading{padding:80px;text-align:center}.shell{display:flex;min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:222px;background:var(--side);border-right:1px solid #dce6eb;padding:26px 17px 18px;display:flex;flex-direction:column;z-index:4}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 25px}.brand .flake{font-size:28px;color:var(--accent)}.brand strong{font-size:24px;font-weight:850;letter-spacing:1px}.brand .small{margin-top:4px}.nav-group{font-size:10px;color:#8999a1;margin:24px 12px 9px;letter-spacing:1px}.nav button{width:100%;text-align:left;border:0;background:none;border-radius:8px;padding:11px 12px;color:#516971;margin-bottom:5px;display:flex;gap:11px;align-items:center}.nav button.active{background:#dbecef;color:#006a75;font-weight:650}.nav .symbol{width:18px;text-align:center;font-size:16px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:17px 8px 0}.profile-name{font-weight:650}.role{font-size:10px;display:inline-block;padding:3px 6px;background:white;border-radius:5px;margin-left:6px;color:var(--accent)}.sync-status{display:flex;align-items:center;gap:6px;margin:13px 0 9px;font-size:10px;color:var(--muted)}.dot{width:6px;height:6px;border-radius:50%;background:#3d9b79}.dot.offline{background:#cd7743}.main{margin-left:222px;width:calc(100% - 222px);min-width:0}.topbar{background:white;border-bottom:1px solid var(--line);padding:23px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;z-index:3}.topbar p{margin:0;font-size:11px;color:var(--muted)}.actions{display:flex;gap:8px;align-items:center}.content{padding:25px 28px 40px;max-width:1500px;margin:auto}.quote-grid{display:grid;grid-template-columns:360px minmax(320px,1fr);gap:20px;align-items:start}.stack{display:flex;flex-direction:column;gap:18px}.card{background:white;border:1px solid var(--line);border-radius:14px;padding:21px}.card h2{display:flex;align-items:center;gap:8px}.card h2 .symbol{color:var(--accent);font-weight:400}.field-row{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.field-row.two{grid-template-columns:repeat(2,1fr)}.field{margin-bottom:15px}.field:last-child{margin-bottom:0}.hint{font-size:10px;color:var(--muted);line-height:1.65;margin:8px 0 0}.sku-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sku,.mode-option{border:1px solid #e1e8ec;background:#f7f9fa;color:var(--ink);border-radius:9px;padding:12px;text-align:left}.sku strong{display:block;font-size:12px;margin-bottom:5px}.sku span{font-size:10px;color:var(--muted)}.sku.active,.mode-option.active{background:#edf6f7;border-color:#80bdc2}.mode-option{width:100%;display:flex;align-items:center;gap:10px;margin-top:8px}.mode-option .radio{width:16px;height:16px;flex:0 0 auto;border:1.5px solid #bac7cd;border-radius:50%}.mode-option.active .radio{border:4px solid var(--accent);background:white}.mode-option strong{display:block;font-size:12px;margin-bottom:4px}.mode-option .small{color:var(--muted);font-size:10px}.hero{padding:23px 25px;border-radius:15px;background:linear-gradient(125deg,#113e4d,#00838c);color:white}.hero-label{font-size:12px;display:flex;justify-content:space-between;align-items:center}.hero-badge{font-size:10px;background:#ffffff18;padding:5px 10px;border-radius:20px}.hero-value{font-size:51px;font-weight:650;letter-spacing:-1px;margin:16px 0 13px;line-height:1}.hero-value .unit{font-size:19px;font-weight:450;letter-spacing:0;margin-left:8px}.hero-sub{font-size:12px}.hero .hint{color:#d1eaec;margin-top:14px}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-bottom:18px}.metric-name{font-size:11px;color:var(--muted);margin-bottom:8px}.metric-value{font-size:24px;font-weight:650;letter-spacing:-.5px}.metric-value span{font-size:11px;color:var(--muted);font-weight:400;margin-left:4px}.line{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin-bottom:13px;font-size:12px}.line .label{color:var(--muted)}.line:last-child{margin-bottom:0}.divider{border:0;border-top:1px solid var(--line);margin:17px 0}.empty-result{padding:60px 25px;text-align:center}.empty-result .big{font-size:55px;color:#90bfc4;font-weight:200;margin-bottom:25px}.empty-result h2{font-size:20px;justify-content:center}.empty-result p{font-size:12px;color:var(--muted);line-height:1.8}.error{color:var(--red);font-size:12px;margin:12px 0;line-height:1.6}.banner{padding:12px 17px;background:#fff7e9;border:1px solid #f0dfbd;border-radius:9px;font-size:12px;margin-bottom:18px;color:#826438;line-height:1.6}.badge{display:inline-block;font-size:10px;padding:4px 7px;border-radius:5px;background:#eff5f7;color:#506b76;white-space:nowrap}.badge.green{background:#edf7f1;color:#287853}.badge.amber{background:#fff5e8;color:#99651f}.badge.red{background:#fff0f1;color:#ab3b42}.unit-suggestion{border:1px solid #c9e0e4;background:#f3f9fa;border-radius:10px;padding:15px}.unit-suggestion strong{display:block;margin-bottom:8px}.unit-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:var(--muted);font-size:10px;font-weight:500;border-bottom:1px solid var(--line);padding:13px 10px;white-space:nowrap}td{padding:14px 10px;border-bottom:1px solid #eef2f4;vertical-align:middle}td.right,th.right{text-align:right;white-space:nowrap}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f9fbfc}td .muted{display:block;font-size:10px;margin-top:5px}.pricing-total{font-size:25px;font-weight:650;margin:15px 0 6px}.cost-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:17px;padding-top:15px;border-top:1px solid var(--line)}.cost-grid strong{font-size:17px;display:block;margin-top:6px}.tabs{display:flex;gap:6px;margin-bottom:20px;flex-wrap:wrap}.tabs button{border:1px solid #dbe4e8;background:white;border-radius:7px;color:#667c85;padding:9px 13px}.tabs button.active{background:var(--ink);color:white;border-color:var(--ink)}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.toolbar input{max-width:330px}.section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.quote-line{display:grid;grid-template-columns:1fr 75px 24px;gap:8px;align-items:center;margin-top:9px}.quote-line input{padding:8px}.summary-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:20px}.summary-cards .card{padding:20px}.summary-cards .value{font-size:29px;font-weight:650;margin-top:10px}.modal-backdrop{position:fixed;inset:0;background:#132a3559;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:35px;z-index:20}.modal{background:white;border-radius:17px;width:740px;max-width:100%;max-height:90vh;overflow:auto;box-shadow:var(--shadow)}.modal-header{padding:24px 26px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}.modal-header h2{font-size:19px;margin:0}.modal-body{padding:24px 26px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:17px 26px;border-top:1px solid var(--line);position:sticky;bottom:0;background:white}.close{background:none;border:0;font-size:22px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.form-grid .full{grid-column:1/-1}.checkbox-row{display:flex;gap:14px;flex-wrap:wrap;margin:10px 0}.checkbox-row label{display:flex;align-items:center;gap:7px;margin:0}.perf-row{display:grid;grid-template-columns:90px 90px 90px 1fr 27px;gap:8px;margin-bottom:10px}.perf-row input{padding:9px 7px}.auth-layout{display:grid;grid-template-columns:1.1fr 1fr;min-height:100vh}.auth-story{background:linear-gradient(150deg,#113b4a,#006f7b);color:white;padding:65px max(45px,7vw);display:flex;flex-direction:column;justify-content:space-between}.auth-story .brand{padding:0}.auth-story .flake{color:#81cbd1}.auth-story h1{font-size:40px;font-weight:650;letter-spacing:-1px;line-height:1.4;margin:45px 0 20px}.auth-story p{color:#b6d7dc;line-height:1.9;max-width:400px}.auth-story .features{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;margin-top:30px}.auth-story .features span{border:1px solid #ffffff30;border-radius:25px;padding:8px 14px}.auth-panel{display:flex;justify-content:center;align-items:center;padding:40px;background:white}.auth-form{max-width:370px;width:100%}.auth-form h2{font-size:27px;margin-bottom:12px}.auth-form .subtitle{color:var(--muted);font-size:12px;line-height:1.8;margin-bottom:25px}.auth-form .primary{width:100%;padding:12px;margin-top:7px}.auth-form .footer{font-size:10px;color:#a0adb4;line-height:1.8;margin-top:25px}.settings-grid{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(420px,1.3fr);gap:20px}.profile-setting{padding-top:15px;margin-top:15px;border-top:1px solid var(--line)}.profile-setting .field-row{grid-template-columns:repeat(4,1fr)}.profile-setting label{font-size:10px}.profile-setting input{padding:9px 7px}.toast{position:fixed;bottom:27px;left:50%;transform:translateX(-50%);padding:13px 22px;background:#173d48;color:white;font-size:12px;border-radius:10px;box-shadow:var(--shadow);z-index:50;max-width:80%;text-align:center}.toast.error-toast{background:#943740}.readonly-title{font-size:20px;font-weight:650;margin-bottom:7px}.zero-state{padding:70px;text-align:center;color:var(--muted)}.zero-state strong{display:block;color:var(--ink);font-size:17px;margin-bottom:12px}.print-frame{position:fixed;width:0;height:0;border:0;visibility:hidden}.check-label{display:flex;gap:8px;align-items:center}.footer-note{font-size:10px;color:var(--muted);line-height:1.8;margin-top:20px}.hidden{display:none!important}@media(max-width:1120px){.quote-grid{grid-template-columns:320px minmax(290px,1fr)}.sidebar{width:198px}.main{margin-left:198px;width:calc(100% - 198px)}.content,.topbar{padding-left:21px;padding-right:21px}.card{padding:18px}.settings-grid{grid-template-columns:1fr}.profile-setting .field-row{grid-template-columns:repeat(4,1fr)}}@media(max-width:880px){.sidebar{width:175px;padding-left:10px;padding-right:10px}.main{margin-left:175px;width:calc(100% - 175px)}.quote-grid{grid-template-columns:1fr}.section-grid,.summary-cards{grid-template-columns:1fr}.topbar{align-items:flex-start}.topbar h1{font-size:20px}.actions{flex-wrap:wrap;justify-content:flex-end}.auth-layout{grid-template-columns:1fr}.auth-story{display:none}.perf-row{grid-template-columns:repeat(3,1fr) 30px}.perf-row .source-field{grid-column:1/4}.modal-backdrop{padding:15px}}@media print{.sidebar,.topbar,.actions{display:none}.main{margin:0;width:100%}.card,.hero{break-inside:avoid}.content{padding:0}.shell{display:block}.quote-grid{grid-template-columns:1fr 1fr}.hero{color:black;background:white;border:1px solid #ddd}}

.component-row,.component-heading{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(180px,1.3fr) 110px 28px;gap:10px;align-items:center;margin-bottom:10px}.component-heading{font-size:11px;color:var(--muted)}

.profile-setting .field-row{grid-template-columns:repeat(2,minmax(0,1fr))}

.unit-editor{width:860px}.component-row input{min-width:0}.component-row [data-component="description"]{font-size:12px}

.project-customer{margin-bottom:20px}.project-customer .field-row{grid-template-columns:repeat(2,minmax(0,1fr))}.project-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch;grid-auto-rows:1fr;margin-bottom:20px}.project-modules>.card{min-width:0;margin:0}.project-modules .field-row{grid-template-columns:repeat(3,minmax(0,1fr))}.project-modules .sku-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-demand{margin-top:20px;padding:16px;background:#edf6f7;border-radius:10px;color:#08636e;font-weight:600}.project-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px}#quote-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.quote-grid #quote-preview{display:flex;flex-direction:column}.project-modules~#quote-preview>.card:last-child{grid-column:1/-1}@media(max-width:700px){.project-modules,.project-bottom,#quote-preview{grid-template-columns:1fr;grid-auto-rows:auto}.project-customer .field-row{grid-template-columns:1fr}}

.unit-family{padding:16px;border-radius:12px;margin-bottom:16px}.unit-family.air{background:#edf6f7}.unit-family.water{background:#eef1f9}.unit-family-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.unit-family-heading span{font-size:11px;color:var(--muted)}.unit-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.unit-pick{display:flex;flex-direction:column;gap:9px;text-align:left;padding:14px 10px;background:white;border:1px solid #d4e0e5;border-radius:10px;min-width:0;color:var(--ink);cursor:pointer}.unit-pick strong{font-size:18px}.unit-pick span{font-size:11px;line-height:1.5;overflow-wrap:anywhere}.unit-pick .unit-capacity{color:#166b77;font-weight:600}.unit-pick.selected{border:2px solid #008996;padding:13px 9px;background:#e0f3f4}.unit-pick:focus-visible{outline:2px solid #008996;outline-offset:3px}.unit-pick:disabled{opacity:.55;cursor:default}@media(max-width:450px){.unit-card-grid{grid-template-columns:1fr}.unit-family-heading{align-items:flex-start;flex-direction:column}}

.energy-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}.energy-pick{padding:12px 8px;background:#f5f8fa;border:1px solid #d4e0e5;border-radius:9px;color:var(--ink);font-size:12px;line-height:1.5;cursor:pointer;overflow-wrap:anywhere}.energy-pick.selected{background:#e0f3f4;border:2px solid #008996;padding:11px 7px;color:#08636e}.energy-pick:focus-visible{outline:2px solid #008996;outline-offset:3px}.project-customer{padding:16px 20px;margin-bottom:12px}.project-customer h2{margin-bottom:10px}.project-modules{gap:12px;margin-bottom:12px;grid-auto-rows:auto}.project-modules>.card{padding:18px}.project-modules h2{margin-bottom:12px}.project-modules .field{margin-bottom:10px}.project-modules input,.project-modules select{padding:9px 10px}.project-modules .mode-option{padding:12px;margin-bottom:8px}.project-modules .sku{padding:10px}.project-modules .hint{margin-top:9px;line-height:1.6}.project-modules .module-demand{margin-top:12px;padding:12px}.project-modules .unit-family{padding:12px;margin-bottom:10px}.project-modules .unit-family-heading{margin-bottom:9px}.project-modules .unit-pick{padding:11px 9px;gap:6px}.project-modules .unit-pick.selected{padding:10px 8px}.project-bottom{gap:12px;margin-bottom:12px}.project-bottom>.card{padding:18px}#quote-preview{gap:12px}.project-customer .field{margin-bottom:0}@media(max-width:450px){.energy-card-grid{grid-template-columns:1fr}.project-customer .field-row{gap:10px}}

/* Compact project configuration */
.project-customer{padding:12px 16px;margin-bottom:8px}.project-customer h2{margin-bottom:7px}.project-modules{gap:8px;margin-bottom:8px}.project-modules>.card{padding:13px}.project-modules h2{font-size:15px;margin-bottom:8px}.project-modules .field{margin-bottom:7px}.project-modules label{margin-bottom:5px}.project-modules input,.project-modules select,.project-customer input{padding:7px 9px}.project-modules .field-row{gap:8px}.project-modules .sku-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.project-modules .sku{padding:8px 4px}.project-modules .sku strong{font-size:12px}.project-modules .sku span{font-size:10px}.project-modules .mode-option{padding:8px 10px;margin-bottom:5px}.project-modules .mode-option strong{font-size:12px}.project-modules .mode-option .small{font-size:10px}.project-modules p.small,.project-modules .hint{margin-top:6px;margin-bottom:7px;line-height:1.5}.project-modules .module-demand{margin-top:8px;padding:9px 11px;font-size:12px}.project-modules .unit-family{padding:9px;margin-bottom:7px}.project-modules .unit-family-heading{margin-bottom:6px}.project-modules .unit-family-heading strong{font-size:12px}.project-modules .unit-card-grid{gap:6px}.project-modules .unit-pick{padding:8px 7px;gap:4px}.project-modules .unit-pick.selected{padding:7px 6px}.project-modules .unit-pick strong{font-size:15px}.project-modules .unit-pick span{font-size:10px;line-height:1.4}.project-modules .energy-card-grid{gap:6px;margin-bottom:9px}.project-modules .energy-pick{padding:8px 5px;font-size:11px}.project-modules .energy-pick.selected{padding:7px 4px}.project-bottom{gap:8px;margin-bottom:8px}.project-bottom>.card{padding:13px}.project-bottom h2{margin-bottom:8px}#quote-preview{gap:8px}@media(max-width:1000px){.project-modules .sku-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.topbar.compact-project-header{padding-top:10px;padding-bottom:10px;min-height:0;gap:10px;align-items:center}.topbar.compact-project-header h1{font-size:19px;line-height:1.3;margin:0}.topbar.compact-project-header p{display:none}.topbar.compact-project-header .primary{padding:8px 14px;font-size:12px}.compact-project-header+.content{padding-top:12px}

.project-columns{align-items:start}.project-column{display:flex;flex-direction:column;gap:8px;min-width:0}.project-column>.card{padding:13px;margin:0;min-width:0}.body-geometry{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.body-geometry .metric-value{font-size:20px}.body-geometry .line{padding-top:5px;padding-bottom:5px}.project-columns~#quote-preview{display:block}.project-columns~#quote-preview:empty{display:none}.project-columns~#quote-preview>.card{margin:0}

.transport-parameters{border:1px solid #cddfe3;border-radius:9px;padding:10px 12px;margin:10px 0;background:#f4f9fa}.transport-parameters h3{font-size:12px;margin:0 0 5px;color:#46646d}.integrated-energy{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.integrated-energy h2{font-size:13px}

.body-geometry .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.body-geometry .metric-value{font-size:25px;line-height:1.35;margin-top:7px}.body-geometry .metric-value span{font-size:12px;margin-left:5px;color:var(--muted)}.body-geometry .dimension-value{font-size:18px;overflow-wrap:anywhere}.body-geometry .geometry-tiles{margin-top:12px}.transport-parameters .geometry-tiles{margin-top:8px}.transport-parameters{padding:12px}.body-geometry .metric-name{font-size:11px}@media(max-width:450px){.body-geometry .metric-value{font-size:21px}.body-geometry .dimension-value{font-size:15px}}

.body-geometry>.metric-grid{padding:0 12px}.body-geometry>.geometry-tiles{padding-top:12px;padding-bottom:12px;margin-top:0}.body-geometry>.transport-parameters{margin:4px 0 0}.body-geometry .metric-grid{column-gap:16px;align-items:start}.body-geometry .metric-value{min-height:34px;display:flex;align-items:baseline;flex-wrap:wrap}.body-geometry .dimension-value{font-size:21px;white-space:nowrap}.body-geometry .transport-parameters h3{margin-bottom:10px}.body-geometry .transport-parameters .metric-grid{margin-top:0}@media(max-width:450px){.body-geometry .dimension-value{font-size:15px;white-space:normal}}

.body-geometry>.geometry-unified{padding:0;gap:12px 16px}.body-geometry .geometry-unified .metric-value{font-size:21px;min-height:27px;margin-top:4px;line-height:1.3}.body-geometry .geometry-unified .dimension-value{font-size:17px;white-space:normal}.body-geometry .geometry-unified .metric-name{font-size:11px}.body-geometry{margin-top:9px;padding-top:9px}.body-geometry>h2{margin-bottom:9px}@media(max-width:450px){.body-geometry .geometry-unified .metric-value{font-size:19px}.body-geometry .geometry-unified .dimension-value{font-size:14px}}

.project-column{gap:6px}.project-column>.card{padding:10px 12px}.project-customer{padding:9px 12px;margin-bottom:6px}.project-modules{gap:8px;margin-bottom:6px}.project-modules h2{margin-bottom:6px}.project-modules .field{margin-bottom:5px}.project-modules input,.project-modules select,.project-customer input{padding:6px 8px}.project-modules .hint{margin-top:5px;margin-bottom:4px}.project-modules .mode-option{padding:7px 9px;margin-bottom:4px}.project-modules .unit-family{padding:7px;margin-bottom:6px}.project-modules .unit-pick{padding:7px 6px;gap:3px}.project-modules .unit-pick.selected{padding:6px 5px}.integrated-energy{padding-top:8px;margin-top:8px}.body-geometry .geometry-unified{gap:9px 12px}.body-geometry .geometry-unified .metric-value{font-size:20px;min-height:25px;margin-top:3px}.body-geometry .geometry-unified .dimension-value{font-size:16px}.compact-project-header+.content{padding-top:8px}

.purpose-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.project-modules .purpose-grid .mode-option{margin:0;padding:9px 7px;gap:6px;min-width:0}.purpose-grid .mode-option strong{font-size:11px}.purpose-grid .radio{width:12px;height:12px;min-width:12px}.purpose-grid .mode-option .small{margin-top:3px}.project-modules .module-demand{padding:8px 10px;margin-top:8px}.purpose-grid+.field{margin-top:8px}@media(max-width:420px){.purpose-grid{grid-template-columns:1fr}.purpose-grid .mode-option{padding:7px 9px}}

.unit-library-groups{display:flex;flex-direction:column;gap:12px}.unit-library-family{padding:12px;border-radius:10px}.unit-library-family.air{background:#edf6f7}.unit-library-family.water{background:#eef1f9}.unit-library-family.legacy{background:#f5f7f8}.unit-library-family h2{font-size:14px;margin:0 0 8px}.unit-library-family table{table-layout:fixed}.unit-library-family th:first-child{width:48%}.unit-library-family th:last-child{width:30%}.unit-library-family td{padding-top:10px;padding-bottom:10px}

.body-cost-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.body-cost-form{padding:18px;min-width:0}.body-cost-form h2{margin-bottom:6px}.body-cost-form .hint{margin:0 0 14px}.body-cost-head,.body-cost-row{display:grid;grid-template-columns:minmax(85px,.85fr) repeat(2,minmax(0,1fr));gap:10px;align-items:center}.body-cost-head{font-size:11px;color:var(--muted);margin-bottom:8px}.body-cost-row{margin-bottom:10px}.body-cost-row strong{font-size:12px}.body-cost-form input{padding:9px;min-width:0;width:100%}.body-cost-footer{display:flex;justify-content:space-between;align-items:center;margin-top:14px}.body-cost-footer button{padding:9px 14px}.custom-cost-form{grid-column:1/-1}.custom-panel-costs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.custom-panel-costs label{display:flex;flex-direction:column;gap:6px}.body-save-status{font-size:11px;color:var(--muted)}@media(max-width:1000px){.body-cost-modules{grid-template-columns:1fr}.custom-panel-costs{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.custom-panel-costs{grid-template-columns:1fr}.body-cost-row,.body-cost-head{gap:6px}.body-cost-form{padding:12px}}

.container-cost-version{padding:12px 0;border-top:1px solid var(--line)}.container-cost-version h3{font-size:13px;margin:0 0 9px}.container-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.container-inputs label{display:flex;flex-direction:column;gap:6px;font-size:11px}.container-totals{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:10px;font-size:12px}.container-totals strong{color:#096673}@media(max-width:450px){.container-inputs{grid-template-columns:1fr}.container-totals{flex-direction:column}}

.shared-container-cost{display:flex;flex-direction:column;gap:6px;margin:12px 0 16px}.shared-container-cost span{font-size:12px}.container-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:450px){.container-inputs{grid-template-columns:1fr}}

.cost-group{margin-bottom:16px}.cost-group-title{font-size:16px;margin:0 0 10px}.admin-unit-groups{display:flex;flex-direction:column;gap:14px}.admin-unit-group{padding:12px;border-radius:10px;margin:0}.admin-unit-group.air{background:#edf6f7}.admin-unit-group.water{background:#eef1f9}.admin-unit-group.accessories{background:#f5f7f8}.admin-unit-group table{table-layout:fixed}.admin-unit-group th:first-child{width:42%}.admin-unit-group th:last-child{width:12%}.custom-body-group>.card{margin:0}

.unit-cost-module{border:1px solid var(--line);border-radius:10px;padding:14px;margin-bottom:12px}.unit-module-header{display:flex;gap:12px;align-items:center;margin-bottom:10px}.unit-module-header input{flex:1;min-width:0;font-weight:600}.unit-module-header button{white-space:nowrap}.unit-module-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:8px;font-size:12px}.unit-module-footer span{color:#096673}

.custom-body-total{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.custom-body-total>span{font-size:12px;color:var(--muted)}.custom-body-total>strong{display:block;font-size:22px;color:#08636e;margin:5px 0}.project-modules .sku .panel-unit-price{font-size:11px;color:#08636e;margin-top:5px;overflow-wrap:anywhere}

.module-public-description{display:flex;flex-direction:column;gap:6px;margin:0 0 12px}.module-public-description>span{font-size:12px;color:var(--muted)}.module-public-description textarea{min-height:58px;resize:vertical}.module-spec-line{display:block;margin-top:4px;font-size:11px;line-height:1.6;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere}

.usd-pricing{margin-top:10px;padding:16px}.usd-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.usd-pricing table th,.usd-pricing table td{font-size:11px;padding:10px 6px}.usd-pricing input,.usd-pricing select{padding:8px}.usd-pricing .hint{line-height:1.6}@media(max-width:600px){.usd-controls{grid-template-columns:1fr}}

.energy-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

.hybrid-cost-form{margin-bottom:14px}.hybrid-cost-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.hybrid-cost-grid label{display:flex;flex-direction:column;gap:6px;font-size:12px}.hybrid-cost-readout{background:#edf6f7;padding:9px 11px;border-radius:8px;font-size:11px;line-height:1.8;margin-top:8px}.hybrid-cost-readout strong{display:block;color:#096673}@media(max-width:700px){.hybrid-cost-grid{grid-template-columns:1fr 1fr}}

.profit-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.profit-summary>div{background:#edf6f7;border-radius:9px;padding:12px}.profit-summary span{display:block;font-size:11px;color:var(--muted)}.profit-summary strong{display:block;margin-top:6px;font-size:18px;color:#096673}@media(max-width:600px){.profit-summary{grid-template-columns:1fr}}

.company-logo{display:block;width:165px;height:58px;object-fit:cover;object-position:center;border-radius:7px;margin-bottom:5px}.sidebar .brand{padding-top:0;padding-bottom:0}.sidebar .brand>div{width:100%}.sidebar .company-logo{width:100%;max-width:180px}

.topbar.compact-project-header{padding-top:6px;padding-bottom:6px;gap:8px}.topbar.compact-project-header h1{font-size:17px}.topbar.compact-project-header .primary{padding:6px 11px;font-size:11px}.compact-project-header+.content{padding-top:6px}

.compact-project-header .header-title-group{display:flex;align-items:center;gap:14px}.compact-project-header .header-title-group h1{white-space:nowrap}

.sidebar{padding:16px 12px}.sidebar .brand{margin-bottom:12px}.sidebar .company-logo{height:48px;max-width:155px}.sidebar .nav{margin-top:8px}.sidebar .nav-group{margin-top:13px;margin-bottom:5px;font-size:10px}.sidebar .nav button{padding:9px 10px;margin-bottom:3px;font-size:12px}.sidebar .sidebar-bottom{padding-top:12px}.sidebar .profile-name{font-size:12px}.sidebar .sync-status{margin-top:7px;margin-bottom:7px;font-size:10px}

.sidebar{width:158px;padding-left:9px;padding-right:9px}.main{margin-left:158px;width:calc(100% - 158px)}.sidebar .company-logo{max-width:140px;height:43px}.sidebar .nav button{padding:9px 7px;gap:7px}.sidebar .role{padding:2px 5px}.sidebar .sidebar-bottom .small{font-size:9px}@media(max-width:880px){.sidebar{width:145px}.main{margin-left:145px;width:calc(100% - 145px)}.sidebar .company-logo{max-width:127px;height:40px}}

.sidebar .brand{display:flex;justify-content:center;padding:0;margin:3px 0 17px}.sidebar .brand>div{width:auto}.sidebar .company-logo{width:116px;max-width:116px;height:30px;object-fit:cover;border-radius:4px;margin:0}.sidebar .nav{margin-top:0}@media(max-width:880px){.sidebar .company-logo{width:108px;max-width:108px;height:28px}}

.sidebar{padding-top:14px;padding-bottom:14px}.sidebar .nav{margin:0}.sidebar .nav-group{margin:14px 8px 7px;font-size:10px;letter-spacing:.4px}.sidebar .nav-group:first-child{margin-top:0}.sidebar .nav button{display:flex;align-items:center;min-height:36px;padding:8px 9px;margin:0 0 4px;gap:8px}.sidebar .nav .symbol{width:17px;text-align:center;flex-shrink:0}.sidebar .sidebar-bottom{margin-top:auto;padding:12px 7px 0;border-top:1px solid var(--line)}.sidebar .profile-name{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.sidebar .sync-status{margin:8px 0 6px}.sidebar .sidebar-bottom>.small{line-height:1.6}.sidebar .sidebar-bottom>.link{margin-top:8px!important}

.sidebar-business{flex:1;display:flex;flex-direction:column;justify-content:center;min-height:150px}.sidebar .sidebar-admin-entry{flex-shrink:0;margin-bottom:12px}.sidebar .sidebar-bottom{margin-top:0;flex-shrink:0}.backend-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.backend-menu-item{text-align:left;display:flex;flex-direction:column;gap:10px;padding:24px;cursor:pointer;color:var(--ink)}.backend-menu-item strong{font-size:17px}.backend-menu-item span{color:var(--muted);font-size:12px}.backend-menu-item:hover{border-color:#008996;background:#f1f8f9}@media(max-width:700px){.backend-menu{grid-template-columns:1fr}}

/* Compact workspace navigation */
.sidebar{background:#fff;border-right:1px solid #e5eaee;padding:20px 10px 12px;width:158px}.sidebar-business{flex:0 0 auto;min-height:0;justify-content:flex-start}.sidebar .nav-group{font-size:10px;color:#97a3aa;margin:0 10px 12px;letter-spacing:1px}.sidebar .nav button{min-height:39px;padding:10px;margin-bottom:5px;border-radius:7px;color:#596971;gap:9px;font-weight:500}.sidebar .nav button:hover{background:#f3f6f7}.sidebar .nav button.active{background:#edf6f6;color:#007e88;font-weight:650;box-shadow:inset 3px 0 #00838c}.sidebar .nav .symbol{font-size:15px;color:#819198}.sidebar .nav button.active .symbol{color:#00838c}.sidebar .sidebar-admin-entry{margin:15px 0 0;padding-top:15px;border-top:1px solid #edf0f2}.sidebar .sidebar-admin-entry button{font-size:11px}.sidebar .sidebar-bottom{margin-top:auto;border-top:1px solid #edf0f2;padding:12px 8px 0}.sidebar .profile-name{font-size:11px}.sidebar .role{background:#f2f6f7;color:#667b83}.sidebar .sync-status{font-size:9px}.sidebar .sidebar-bottom>.small{font-size:9px}.main{margin-left:158px;width:calc(100% - 158px)}@media(max-width:880px){.sidebar{width:145px;padding-left:8px;padding-right:8px}.main{margin-left:145px;width:calc(100% - 145px)}}

.project-customer .field-row{grid-template-columns:repeat(3,minmax(0,1fr))}.project-customer textarea{min-height:48px;padding:7px 9px}.crm-board{padding:22px}.crm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.crm-stage{height:100px;border-radius:12px;color:white;padding:18px;display:flex;flex-direction:column;justify-content:center;gap:10px}.crm-stage small{opacity:.7}.crm-stage strong{font-size:16px;overflow-wrap:anywhere}.stage-0{background:#4287df}.stage-1{background:#37a579}.stage-2{background:#9364cf}.stage-3{background:#dc9a35}.crm-zone{min-height:120px;display:flex;align-content:flex-start;align-items:flex-start;flex-wrap:wrap;gap:12px;padding:18px 0}.customer-dot{background:none;border:0;padding:0;width:58px;color:var(--ink);display:flex;align-items:center;flex-direction:column;gap:5px}.customer-dot>span{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:color-mix(in srgb,var(--stage-color) 12%,white);border:2px solid var(--stage-color);font-size:11px}.customer-dot small{font-size:10px;max-width:58px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-dot:hover>span{background:var(--stage-color);color:white}@media(max-width:800px){.crm-grid{gap:10px}.crm-stage{padding:12px}.project-customer .field-row{grid-template-columns:1fr 1fr}}

/* Rarity-style customer tiers: full-height lanes */
.crm-board{background:#fff;padding:20px 22px 16px}.crm-board .toolbar{margin-bottom:18px}.crm-board .toolbar h2{margin:0}.crm-grid{gap:22px;align-items:stretch}.crm-column{--rarity:#258cff;--rarity-rgb:37,140,255;min-height:360px;min-height:clamp(360px,calc(100vh - 235px),640px);display:grid;grid-template-rows:minmax(120px,1fr) auto minmax(120px,1fr);border:1px solid rgba(var(--rarity-rgb),.38);border-radius:15px;background:linear-gradient(180deg,rgba(var(--rarity-rgb),.10),rgba(var(--rarity-rgb),.025) 42%,rgba(var(--rarity-rgb),.075));box-shadow:0 0 15px rgba(var(--rarity-rgb),.10),inset 0 1px 0 #ffffff;overflow:hidden}.rarity-1{--rarity:#20c982;--rarity-rgb:32,201,130}.rarity-2{--rarity:#a45bff;--rarity-rgb:164,91,255}.rarity-3{--rarity:#ffac32;--rarity-rgb:255,172,50}.crm-zone{min-height:120px;padding:20px 14px;gap:16px 9px}.crm-stage{height:94px;margin:0 12px;border-radius:10px;padding:15px 16px;gap:8px;border:1px solid rgba(var(--rarity-rgb),.65);background:linear-gradient(125deg,#124a93,#258cff);box-shadow:0 0 18px rgba(var(--rarity-rgb),.30),inset 0 1px 0 #ffffff50;color:#fff}.crm-stage.stage-1{background:linear-gradient(125deg,#08734e,#20b978)}.crm-stage.stage-2{background:linear-gradient(125deg,#6230ad,#a45bff)}.crm-stage.stage-3{background:linear-gradient(125deg,#a7590b,#f8a62d)}.crm-stage small{font-size:10px;letter-spacing:2px;opacity:.8}.crm-stage strong{font-size:17px;text-shadow:0 1px 7px #00000020}.customer-dot>span{box-shadow:0 0 9px color-mix(in srgb,var(--stage-color) 20%,transparent)}.crm-board>.hint{margin-top:15px}@media(max-width:800px){.crm-grid{gap:12px}.crm-board{padding:16px}.crm-stage{margin:0 8px;padding:12px;font-size:14px}.crm-stage strong{font-size:14px}.crm-zone{padding:15px 8px}.crm-column{border-radius:12px}}

/* Solid rarity cards, with progressively richer framing */
.crm-column{position:relative;background:#2475ce;border:1px solid #81bcff;box-shadow:0 3px 9px #173c6b18,inset 0 0 0 4px #ffffff0b;color:white;border-radius:12px}.crm-column.rarity-1{background:#13875b;border:2px solid #70e3ac;box-shadow:0 0 12px #20c98225,inset 0 0 0 4px #ffffff0c}.crm-column.rarity-2{background:#7540b7;border:2px solid #d0a0ff;box-shadow:0 0 17px #a45bff45,inset 0 0 0 5px #ffffff10}.crm-column.rarity-3{background:#bd771d;border:2px solid #ffe3a0;box-shadow:0 0 22px #ffac3260,inset 0 0 0 5px #ffedb71c}.crm-column:before{content:'';pointer-events:none;position:absolute;inset:9px;border:1px solid #ffffff1c;border-radius:5px}.crm-column.rarity-2:before{border-color:#e2c3ff66;inset:8px}.crm-column.rarity-3:before{border-color:#ffe8ac99;inset:8px;box-shadow:inset 0 0 9px #ffe4a518}.crm-column.rarity-1:after,.crm-column.rarity-2:after,.crm-column.rarity-3:after{content:'';position:absolute;pointer-events:none;inset:7px;background:linear-gradient(#c4f5df,#c4f5df) left top/14px 2px no-repeat,linear-gradient(#c4f5df,#c4f5df) left top/2px 14px no-repeat,linear-gradient(#c4f5df,#c4f5df) right bottom/14px 2px no-repeat,linear-gradient(#c4f5df,#c4f5df) right bottom/2px 14px no-repeat;opacity:.7}.crm-column.rarity-2:after{inset:6px;background:linear-gradient(#ecd4ff,#ecd4ff) left top/22px 3px no-repeat,linear-gradient(#ecd4ff,#ecd4ff) left top/3px 22px no-repeat,linear-gradient(#ecd4ff,#ecd4ff) right top/22px 3px no-repeat,linear-gradient(#ecd4ff,#ecd4ff) right top/3px 22px no-repeat,linear-gradient(#ecd4ff,#ecd4ff) left bottom/22px 3px no-repeat,linear-gradient(#ecd4ff,#ecd4ff) left bottom/3px 22px no-repeat,linear-gradient(#ecd4ff,#ecd4ff) right bottom/22px 3px no-repeat,linear-gradient(#ecd4ff,#ecd4ff) right bottom/3px 22px no-repeat;opacity:.9}.crm-column.rarity-3:after{inset:5px;background:linear-gradient(#fff0b5,#fff0b5) left top/30px 3px no-repeat,linear-gradient(#fff0b5,#fff0b5) left top/3px 30px no-repeat,linear-gradient(#fff0b5,#fff0b5) right top/30px 3px no-repeat,linear-gradient(#fff0b5,#fff0b5) right top/3px 30px no-repeat,linear-gradient(#fff0b5,#fff0b5) left bottom/30px 3px no-repeat,linear-gradient(#fff0b5,#fff0b5) left bottom/3px 30px no-repeat,linear-gradient(#fff0b5,#fff0b5) right bottom/30px 3px no-repeat,linear-gradient(#fff0b5,#fff0b5) right bottom/3px 30px no-repeat;filter:drop-shadow(0 0 4px #ffe58d);opacity:1}.crm-column .crm-stage{background:none;border:0;box-shadow:none;text-align:center;align-items:center;height:110px;margin:0 16px;border-radius:0;position:relative}.crm-stage small{font-size:12px;letter-spacing:3px;opacity:.75}.crm-stage strong{font-size:19px;text-shadow:0 1px 2px #00000020}.rarity-1 .crm-stage:after,.rarity-2 .crm-stage:after,.rarity-3 .crm-stage:after{content:'◆';font-size:12px;color:#b4f1d6;letter-spacing:5px;margin-top:2px}.rarity-2 .crm-stage:after{content:'◆ ◆';color:#e7cfff;text-shadow:0 0 8px #ddbbff}.rarity-3 .crm-stage:after{content:'◆ ◆ ◆';color:#fff0b9;text-shadow:0 0 10px #ffe296}.crm-column .customer-dot{color:white;position:relative;z-index:1}.crm-column .customer-dot>span{background:#ffffffed;color:#263d4c;border-color:#ffffffa0;box-shadow:0 2px 8px #00000020}.crm-column .customer-dot:hover>span{background:white;box-shadow:0 0 12px #ffffff70;color:#172e37}.crm-column .crm-zone{position:relative;z-index:1;padding:22px 16px}@media(max-width:800px){.crm-stage strong{font-size:15px}.crm-column .crm-stage{margin:0 8px}.crm-column .crm-zone{padding:20px 12px}}

.crm-column.rarity-0{--rarity:#88929c;--rarity-rgb:136,146,156;background:#79838d;border:1px solid #aeb6bd;box-shadow:0 2px 5px #25334112,inset 0 0 0 4px #ffffff06}.crm-column.rarity-0:before{border-color:#ffffff18}.rarity-0 .crm-stage strong{text-shadow:none}

/* Light silver common tier */
.crm-column.rarity-0{--rarity:#aeb9c3;--rarity-rgb:174,185,195;background:#edf0f3;border:1px solid #cad2da;color:#465560;box-shadow:0 2px 5px #2533410b,inset 0 0 0 4px #ffffff35}.crm-column.rarity-0:before{border-color:#ffffffb3}.rarity-0 .crm-stage{color:#465560}.rarity-0 .crm-stage small{color:#7f8d99;opacity:1}.rarity-0 .customer-dot{color:#465560}.rarity-0 .customer-dot>span{background:#fff;border-color:#bac5ce;color:#465560;box-shadow:0 2px 5px #25334112}

/* Progressively richer tier emblems and frames */
.crm-column .crm-stage{height:160px;gap:9px}.rarity-emblem{display:flex;align-items:center;justify-content:center;width:45px;height:45px;font-size:28px;line-height:1}.rarity-0 .rarity-emblem{color:#a1adb8;font-size:25px}.rarity-0:before{display:none}.rarity-1 .rarity-emblem{color:#cbffe6;border:1px solid #8eeec366;transform:rotate(0deg);border-radius:8px;font-size:24px;box-shadow:0 0 12px #73ffc020,inset 0 0 0 3px #ffffff06}.rarity-1 .crm-stage:after{content:'';width:45px;height:1px;background:#9fefca88;margin-top:4px}.crm-column.rarity-1:before{inset:7px;border:1px solid #adf7d455;box-shadow:inset 0 0 0 3px #ffffff04}.rarity-2 .rarity-emblem{width:54px;height:54px;color:#f1deff;font-size:34px;border:1px solid #e5bdffa6;border-radius:11px;background:#ffffff09;box-shadow:0 0 20px #d495ff50,inset 0 0 12px #f3d8ff15;text-shadow:0 0 10px #efcfff}.rarity-2 .crm-stage:after{content:'◆ ─ ◆';font-size:11px;letter-spacing:3px;margin-top:4px}.crm-column.rarity-2{border:2px solid #e1b9ff;box-shadow:0 0 21px #a45bff50,inset 0 0 0 4px #ffffff13}.crm-column.rarity-3{border:2px solid #ffedb4;box-shadow:0 0 27px #ffb03270,0 4px 14px #93520720,inset 0 0 0 4px #ffefab30}.crm-column.rarity-3:before{inset:10px;border:1px solid #ffeab9b3;box-shadow:inset 0 0 0 3px #ffdfa514,inset 0 0 15px #ffe4a526}.rarity-3 .rarity-emblem{width:66px;height:66px;font-size:39px;color:#fff0b2;border:2px solid #ffe5a0;border-radius:50%;background:#ffffff0d;box-shadow:0 0 0 4px #ffe4a518,0 0 27px #ffe18470,inset 0 0 14px #ffe4a52b;text-shadow:0 0 12px #fff0af}.rarity-3 .crm-stage strong{font-size:21px;color:#fff6d7;letter-spacing:1px;text-shadow:0 0 13px #ffdd9b50}.rarity-3 .crm-stage:after{content:'✦ ◆ ✦';font-size:13px;letter-spacing:6px;color:#ffeeb6;margin-top:5px;text-shadow:0 0 10px #ffe296}.crm-column.rarity-3:after{opacity:1;filter:drop-shadow(0 0 6px #ffe58d)}@media(max-width:800px){.crm-column .crm-stage{height:160px}.rarity-3 .crm-stage strong{font-size:16px}.rarity-3 .rarity-emblem{width:56px;height:56px;font-size:33px}}

/* Compact draggable customer tiles */
.crm-column .customer-dot{width:38px;gap:0;cursor:grab;user-select:none}.crm-column .customer-dot>span{width:34px;height:32px;border-radius:6px;font-size:10px;font-weight:650;border-width:1px;box-shadow:0 2px 4px #00000015}.customer-dot small{display:none}.customer-dot.dragging{opacity:.35;cursor:grabbing}.crm-zone.drop-target{background:#ffffff25;outline:2px dashed #ffffffa0;outline-offset:-10px;border-radius:12px}.rarity-0 .crm-zone.drop-target{background:#ffffffb0;outline-color:#97a8b7}.crm-column .crm-zone{gap:10px 7px;min-height:120px}.crm-column .crm-stage{height:130px}

/* Two horizontal customer cards per tier */
.crm-grid{grid-template-columns:repeat(4,minmax(260px,1fr));gap:16px}.crm-board{overflow-x:auto}.crm-column .crm-zone{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;align-items:start;gap:9px;padding:20px 12px}.crm-column .customer-dot{width:100%;min-width:0;display:flex;flex-direction:row;align-items:center;gap:7px;padding:8px 7px;background:#fffffff2;color:#304653;border:1px solid #ffffffa6;border-radius:7px;box-shadow:0 2px 5px #00000012;text-align:left;min-height:54px}.crm-column .customer-dot:hover{background:white;box-shadow:0 2px 8px #00000020}.crm-column .customer-dot>.customer-avatar{width:25px;height:28px;flex:0 0 25px;background:#edf2f5;border:0;border-radius:5px;color:#617582;font-size:9px;box-shadow:none}.customer-label{min-width:0;display:flex;flex-direction:column;gap:4px}.customer-label strong{font-size:10px;font-weight:650;line-height:1.3;overflow-wrap:anywhere}.customer-dot .customer-label small{display:block;font-size:9px;color:#7a8992;max-width:none;white-space:normal;line-height:1.2}.rarity-0 .customer-dot{border-color:#d7dfe5}.crm-column .customer-dot.dragging{opacity:.35}.crm-board .toolbar,.crm-board>.hint{position:sticky;left:0}@media(min-width:1400px){.customer-label strong{font-size:11px}.customer-dot .customer-label small{font-size:10px}}

.crm-column{grid-template-rows:minmax(120px,1fr) auto minmax(120px,1fr)}.crm-column .crm-stage{height:auto;min-height:150px;padding:20px 0;gap:8px;width:auto}.crm-column .crm-stage .crm-middle{width:100%;min-height:64px;padding:12px 0 0;align-self:stretch}.crm-stage:after{order:0}.crm-middle{order:1}.crm-column .customer-dot>.customer-avatar{font-size:9px;letter-spacing:.3px}.crm-trash-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin:20px 0}.crm-trash-list button{text-align:left;display:flex;flex-direction:column;gap:6px}.crm-trash-list span{color:var(--muted);font-size:11px}

/* Full-area free placement, no divided drop regions */
.crm-column{display:block;min-height:480px;height:clamp(480px,calc(100vh - 235px),720px);overflow:hidden}.crm-column .crm-stage{position:absolute;left:10px;right:10px;top:50%;transform:translateY(-50%);margin:0;padding:0;pointer-events:none;opacity:.55;z-index:0}.crm-column .customer-free{position:absolute;width:calc((100% - 32px)/2);height:58px;min-height:58px;z-index:2;background:#f9fafb;border:1px solid #c8d0d8;color:#3a4b59;box-shadow:0 2px 6px #00000012}.rarity-1 .customer-free{background:#d4f4e4;border:1px solid #6be2a8;color:#125e40;box-shadow:0 0 7px #6be2a825}.rarity-2 .customer-free{background:#e9d9ff;border:1px solid #d4a6ff;color:#643297;box-shadow:0 0 10px #d4a6ff40}.rarity-3 .customer-free{background:#ffedbf;border:1px solid #ffe398;color:#84500a;box-shadow:0 0 12px #ffe39870}.crm-column .customer-free .customer-avatar{background:#ffffff60;color:inherit}.crm-column .customer-free .customer-label small{color:inherit;opacity:.72}.crm-column .customer-free:hover{filter:brightness(1.05);background:inherit}.rarity-0 .customer-free:hover{background:#fff}.rarity-1 .customer-free:hover{background:#d4f4e4}.rarity-2 .customer-free:hover{background:#e9d9ff}.rarity-3 .customer-free:hover{background:#ffedbf}

/* Sixteen snap positions, two columns by eight rows */
.crm-column{height:600px;min-height:600px}.crm-slots{position:absolute;inset:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(8,minmax(0,1fr));gap:8px;z-index:2}.crm-slot{min-width:0;min-height:0;border-radius:7px;border:1px solid #ffffff12;background:#ffffff03}.rarity-0 .crm-slot{border-color:#b0bbc320;background:#ffffff12}.crm-column .crm-slots .customer-free{position:relative;left:auto;top:auto;width:100%;height:100%;min-height:0;padding:8px 6px}.crm-column .customer-free{background:#e2e8ee;border:1px solid #b8c5d0;color:#394d60}.rarity-1 .customer-free{background:#45d397;border-color:#9df8cb;color:#074b31;box-shadow:0 0 9px #46e4a345,inset 0 1px 0 #ffffff50}.rarity-2 .customer-free{background:#bd87f5;border-color:#e0baff;color:#3e166f;box-shadow:0 0 12px #cb8eff55,inset 0 1px 0 #ffffff60}.rarity-3 .customer-free{background:#ffd065;border-color:#ffedb3;color:#663802;box-shadow:0 0 15px #ffd36b70,inset 0 1px 0 #ffffff80}.rarity-1 .customer-free:hover{background:#59dfaa}.rarity-2 .customer-free:hover{background:#ca9bff}.rarity-3 .customer-free:hover{background:#ffdc81}.crm-column .customer-free .customer-avatar{background:#ffffff40;color:inherit}.crm-slots .customer-label strong{font-size:10px}.crm-slots .customer-label small{font-size:9px}

/* Keep snap targets invisible */
.crm-column .crm-slot,.crm-column.rarity-0 .crm-slot{border:0;background:transparent;box-shadow:none}

/* Stronger rarity hierarchy: restrained common to luminous legendary */
.crm-column.rarity-0{background:#edf0f3;border-color:#d5dce2;box-shadow:0 1px 3px #273b4b08}.rarity-0 .rarity-emblem{color:#aeb9c3}.crm-column.rarity-1{background:#13875b;border:2px solid #69efb3;box-shadow:0 0 0 2px #33dc9412,0 0 14px #32df9438,inset 0 0 0 4px #8cf4c018}.crm-column.rarity-1:before{border-color:#b5ffdb75}.rarity-1 .rarity-emblem{border-color:#a6ffda;color:#d5ffeb;box-shadow:0 0 17px #74ffbb45}.crm-column.rarity-2{background:#7540b7;border:3px solid #dfacff;box-shadow:0 0 0 3px #b466ef25,0 0 25px #b777ff75,0 5px 18px #66339824,inset 0 0 0 4px #eccdff24}.crm-column.rarity-2:before{inset:11px;border:1px solid #eacfffaa;box-shadow:inset 0 0 0 3px #d8a9ff15}.crm-column.rarity-2:after{filter:drop-shadow(0 0 6px #eac5ff);opacity:1}.rarity-2 .rarity-emblem{width:64px;height:64px;border:2px solid #efcfff;font-size:43px;box-shadow:0 0 0 4px #d7a5ff18,0 0 28px #ddacff88,inset 0 0 18px #edd6ff35;text-shadow:0 0 13px #f1d8ff}.crm-column.rarity-3{background:#bd771d;border:3px solid #fff0b5;box-shadow:0 0 0 3px #ecc56555,0 0 0 6px #ffdf9420,0 0 34px #ffbb4090,0 8px 24px #ae6a1830,inset 0 0 0 5px #fff0b64a,inset 0 0 25px #ffe3a330}.crm-column.rarity-3:before{inset:13px;border:2px solid #ffefb9c0;box-shadow:0 0 8px #ffe8a54a,inset 0 0 0 3px #ffe3a524}.crm-column.rarity-3:after{inset:7px;filter:drop-shadow(0 0 9px #fff1b5);opacity:1}.rarity-3 .rarity-emblem{width:82px;height:82px;border:3px double #fff4cc;color:#fff9df;font-size:51px;box-shadow:0 0 0 5px #ffe3a52b,0 0 0 9px #ffe3a514,0 0 38px #ffe791a6,inset 0 0 21px #fff0b54a;text-shadow:0 0 16px #fff4bf}.rarity-3 .crm-stage:after{font-size:16px;letter-spacing:9px;color:#fff4c8;text-shadow:0 0 14px #ffebaa}.crm-column .crm-stage{opacity:.82}.rarity-0 .crm-stage{opacity:.5}.rarity-3 .crm-stage{opacity:1}.rarity-2 .customer-free{border:2px solid #e3beff;box-shadow:0 0 13px #d098ff65,inset 0 1px 0 #ffffff70}.rarity-3 .customer-free{border:2px solid #fff0bf;box-shadow:0 0 17px #ffe19885,inset 0 1px 0 #fff8de; background:#ffd065}.crm-grid{gap:22px}.crm-board{padding:24px 26px 20px}

/* Narrow navigation and four tiers fitting the available viewport */
.sidebar{width:79px;padding:17px 5px 12px}.main{margin-left:79px;width:calc(100% - 79px)}.sidebar .nav-group{font-size:10px;letter-spacing:0;margin:0 5px 13px;text-align:center}.sidebar .nav button{padding:10px 6px;gap:5px;font-size:11px;min-height:37px;white-space:nowrap}.sidebar .nav .symbol{width:14px;font-size:13px}.sidebar .sidebar-admin-entry{margin-top:13px;padding-top:13px}.sidebar .sidebar-admin-entry button{font-size:11px}.sidebar .sidebar-bottom{display:none}.crm-board{overflow-x:visible;padding:20px 18px 16px}.crm-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.crm-column{min-width:0}.crm-column .crm-slots{inset:12px 8px;gap:8px 6px}.crm-column .crm-slots .customer-free{gap:5px;padding:6px 4px}.crm-column .customer-free .customer-avatar{flex:0 0 21px;width:21px;font-size:8px}.crm-slots .customer-label strong{font-size:10px;line-height:1.25}.crm-slots .customer-label small{font-size:9px}.crm-board .toolbar{gap:10px;flex-wrap:wrap}.crm-board .toolbar .actions{flex-wrap:wrap}.crm-board .toolbar .small{display:none}.crm-column.rarity-3{box-shadow:0 0 0 2px #ecc56555,0 0 0 4px #ffdf941a,0 0 20px #ffbb4065,inset 0 0 0 5px #fff0b64a,inset 0 0 25px #ffe3a330}@media(max-width:880px){.sidebar{width:79px;padding-left:5px;padding-right:5px}.main{margin-left:79px;width:calc(100% - 79px)}.crm-grid{gap:12px}.crm-board{padding:16px 12px}.content{padding-left:14px;padding-right:14px}.crm-column .customer-free .customer-avatar{display:none}.crm-slots .customer-label strong{font-size:9px}.crm-slots .customer-label small{font-size:8px}}

/* Give compact navigation a little more breathing room */
.sidebar{width:96px;padding-left:7px;padding-right:7px}.main{margin-left:96px;width:calc(100% - 96px)}.sidebar .nav button{padding:10px 9px;gap:7px;font-size:12px}.sidebar .sidebar-admin-entry button{font-size:12px}@media(max-width:880px){.sidebar{width:96px;padding-left:7px;padding-right:7px}.main{margin-left:96px;width:calc(100% - 96px)}}

/* Four-character navigation labels */
.sidebar{width:120px;padding-left:7px;padding-right:7px}.main{margin-left:120px;width:calc(100% - 120px)}.sidebar .nav button{padding:10px 9px;gap:7px;font-size:12px}.sidebar .sidebar-admin-entry button{font-size:12px}@media(max-width:880px){.sidebar{width:120px;padding-left:7px;padding-right:7px}.main{margin-left:120px;width:calc(100% - 120px)}}

/* Unified geometric tier medallions */
.crm-column .crm-stage:after{content:none}.crm-column .tier-medallion{position:relative;width:66px;height:76px;border:0;border-radius:0;box-shadow:none;background:currentColor;clip-path:polygon(50% 0,94% 24%,94% 76%,50% 100%,6% 76%,6% 24%);color:#bcc6cf;font-size:22px;text-shadow:none;filter:none}.tier-medallion:before{content:'';position:absolute;inset:2px;background:#edf0f3;clip-path:inherit}.tier-roman{position:relative;font-family:Georgia,'Times New Roman',serif;font-size:25px;font-weight:400;letter-spacing:2px;margin-left:2px;z-index:1}.crm-column.rarity-0 .tier-medallion{width:49px;height:57px;opacity:.65}.rarity-0 .tier-roman{font-size:21px}.crm-column.rarity-1 .tier-medallion{color:#b7f5d8;filter:drop-shadow(0 0 6px #b7f5d825)}.rarity-1 .tier-medallion:before{background:#13875b;inset:2px}.crm-column.rarity-2 .tier-medallion{width:76px;height:88px;color:#ebceff;filter:drop-shadow(0 0 10px #e7bbff60)}.rarity-2 .tier-medallion:before{background:#7540b7;inset:4px}.rarity-2 .tier-medallion:after{content:'';position:absolute;inset:9px;border:1px solid #eacfff65;clip-path:inherit;background:#eacfff10}.rarity-2 .tier-roman{font-size:27px}.crm-column.rarity-3 .tier-medallion{width:90px;height:104px;color:#fff1bf;filter:drop-shadow(0 0 13px #ffe7a77a)}.rarity-3 .tier-medallion:before{inset:5px;background:#bd771d}.rarity-3 .tier-medallion:after{content:'';position:absolute;inset:10px;background:#fff1bf;clip-path:inherit}.rarity-3 .tier-roman{display:flex;align-items:center;justify-content:center;width:64px;height:76px;clip-path:polygon(50% 0,94% 24%,94% 76%,50% 100%,6% 76%,6% 24%);background:#bd771d;font-size:30px;letter-spacing:3px;margin-left:0;color:#fff4cf}.crm-column .crm-stage{min-height:130px}

.crm-column .crm-stage .tier-title{font-size:16px;letter-spacing:1px;margin-top:8px;line-height:1.4;color:inherit}.rarity-0 .crm-stage .tier-title{color:#465560}.crm-column .crm-stage{gap:8px;min-height:170px}@media(max-width:880px){.crm-column .crm-stage .tier-title{font-size:13px;letter-spacing:0}}

/* Keep customer cards clear of ornamental frames */
.crm-column .crm-slots{inset:23px 20px;gap:8px 7px}.crm-column .crm-slots .customer-free{padding:6px 5px}@media(max-width:880px){.crm-column .crm-slots{inset:22px 17px;gap:8px 6px}}

.order-finance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.order-finance>div{padding:14px 12px;background:#edf6f6;border-radius:9px}.order-finance span{display:block;color:var(--muted);font-size:10px;margin-bottom:9px}.order-finance strong{font-size:17px;color:#087e88}.modal:has(.order-finance){max-width:820px;width:90vw}@media(max-width:600px){.order-finance{grid-template-columns:1fr}}

/* Sidebar workspace heading */
.sidebar .nav-group{font-size:17px;font-weight:700;letter-spacing:1px;color:#29434e;text-align:left;margin:3px 9px 20px;line-height:1.4;padding-bottom:12px;border-bottom:1px solid #e6ecef}.sidebar .nav-group:after{content:'';display:block;width:22px;height:3px;background:#00838c;border-radius:2px;position:relative;top:14px}.sidebar{padding-top:22px}

/* Single-line, centered purpose choices */
.project-modules .purpose-grid .mode-option{justify-content:center;align-items:center;gap:6px}.purpose-grid .mode-option>span:last-child{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;white-space:nowrap}.purpose-grid .mode-option strong{display:inline;margin:0;font-size:11px;line-height:1.4}.project-modules .purpose-grid .mode-option strong{margin:0}.project-modules .purpose-grid .mode-option .small{display:inline;margin:0;font-size:10px;line-height:1.4}.purpose-grid .mode-option .radio{flex-shrink:0}

/* Left-aligned purpose choices and separate panel pricing line */
.project-modules .purpose-grid .mode-option{justify-content:flex-start;padding-left:10px}.purpose-grid .mode-option>span:last-child{justify-content:flex-start;text-align:left}.sku-grid .sku>span{display:block;line-height:1.4}.sku-grid .sku .panel-unit-price{display:block;margin-top:5px;white-space:nowrap;font-size:10px}

.sidebar .nav-group{position:relative;display:flex;align-items:center;justify-content:space-between;letter-spacing:0;margin-left:5px;margin-right:3px;font-size:16px}.workspace-update{width:21px;height:23px;padding:0;border:1px solid #d9e5e8;border-radius:5px;color:#00838c;background:#f6fafb;font-size:17px;line-height:20px;font-weight:500;flex-shrink:0}.workspace-update:hover{background:#e4f3f4}.workspace-update.update-available{background:#00838c;color:white;border-color:#00838c;box-shadow:0 0 0 2px #00838c20}.sidebar .nav-group:after{position:absolute;left:0;top:auto;bottom:-2px}

/* Keep every registered customer accessible when a stage exceeds its first 16 slots. */
.crm-column .crm-slots{overflow:visible;grid-template-rows:repeat(8,62px);grid-auto-rows:62px;align-content:start;padding-bottom:8px}
.customer-picker-row{display:block;width:100%;text-align:left;margin-bottom:8px}

/* Employee software updates only start on an explicit click. */
.sidebar .nav-group{flex-wrap:wrap;row-gap:8px}
.workspace-update{width:100%;height:28px;font-size:12px;line-height:24px;flex-shrink:0}

.plan-view-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}

.material-actions{flex-wrap:wrap;margin:18px 0 24px}.material-breadcrumb{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.material-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px}.material-card{min-width:0;border:1px solid #dce8eb;border-radius:12px;padding:14px;display:flex;flex-direction:column;justify-content:space-between;gap:12px}.material-open{width:100%;border:0;background:none;text-align:left;padding:0;display:flex;flex-direction:column;gap:9px;color:inherit;min-width:0}.material-open strong{overflow-wrap:anywhere;font-size:14px}.material-open small{color:#71858c}.material-type{height:95px;width:100%;display:grid;place-items:center;background:#eef6f8;border-radius:8px;color:#247e8b;font-size:22px;font-weight:600}.material-folder-icon{font-size:54px;line-height:95px;color:#d1a147}.material-thumb{width:100%;height:95px;object-fit:contain;background:#f4f7f8;border-radius:8px}.material-preview-image,.material-preview-video{display:block;width:100%;max-height:65vh;object-fit:contain}.material-note-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.8 inherit}.material-library>.toolbar{flex-wrap:wrap;gap:12px}

/* Teamwork company workspaces */
.teamwork-shell{--accent:#266557;--bg:#f7f8fa;--ink:#203330;--muted:#7a8683}
.teamwork-shell .sidebar{width:232px;background:#fcfdfc;padding:28px 18px 18px;overflow-y:auto;border-right:1px solid #e4e9e6;gap:0}
.teamwork-shell .main{margin-left:232px;width:calc(100% - 232px)}
.teamwork-brand{display:flex;align-items:center;gap:10px;margin:0 9px 34px}.teamwork-brand strong{font-size:23px;letter-spacing:-.8px;color:#214b40}.teamwork-mark{display:grid;place-items:center;background:#266557;color:#fff;width:30px;height:32px;border-radius:10px;font-size:25px;font-weight:700;line-height:1}
.company-picker{padding:0 7px 24px}.company-picker label{font-size:9px;font-weight:600;letter-spacing:1.5px;color:#8b9691;margin-bottom:10px}.company-picker select{font-weight:650;font-size:13px;padding:11px;background:#fff;border-color:#dce5df;border-radius:9px}.company-picker .add-company{font-size:10px;margin-top:8px;color:#81908a}
.teamwork-shell .nav-group{font-size:9px;letter-spacing:1.4px;color:#96a09b;margin:0 10px 12px;text-align:left}.teamwork-shell .nav button{white-space:normal;font-size:13px;padding:12px 11px;gap:11px;min-height:43px;margin-bottom:5px;border-radius:8px}.teamwork-shell .nav .symbol{width:18px;font-size:19px;line-height:1}.teamwork-shell .nav button.active{background:#eaf1ec;color:#266557;box-shadow:none;font-weight:650}.module-arrow{margin-left:auto;color:#9aa9a0;font-size:17px}.teamwork-shell .workspace-tool-nav{border-top:1px solid #e8ece8;margin-top:22px;padding-top:22px}.teamwork-shell .workspace-tool-nav .nav button{font-size:11px;min-height:34px;padding:9px 12px}.workspace-tool-nav .symbol:empty{display:none}
.teamwork-shell .sidebar-bottom{display:block;margin-top:auto;padding:24px 8px 0;border:0}.teamwork-shell .workspace-update{margin:0 0 20px;font-size:10px;width:100%;font-weight:500;padding:8px;border:1px solid #dce5df;border-radius:7px;background:#fff;color:#52675e}.teamwork-shell .profile-name{font-size:11px}.teamwork-shell .sync-status{font-size:9px;line-height:1.5;margin-top:9px}.teamwork-shell .role{font-size:9px}.teamwork-shell .sidebar-bottom .link{font-size:10px}
.workspace-bar{height:63px;border-bottom:1px solid #e6eae8;background:#fff;padding:0 38px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#929d97}.workspace-bar strong{color:#485d52;font-weight:550}.workspace-slash{padding:0 14px;color:#c1c9c3}.workspace-account{font-size:10px;color:#819087}.teamwork-shell .topbar{padding:36px 38px 20px;background:transparent;border-bottom:0;min-height:0}.teamwork-shell .topbar h1{font-size:30px;letter-spacing:-.9px;margin:0;font-weight:600;color:#243c31}.workspace-eyebrow{font-size:10px;color:#8a9890;margin-bottom:9px;letter-spacing:1px}.teamwork-shell .content{padding:8px 38px 32px}.teamwork-shell .topbar p{margin:8px 0 0}.module-empty{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #dbe3dc;border-radius:14px;background:#ffffff80}.module-empty-icon{height:52px;width:52px;display:grid;place-items:center;background:#edf2ee;border:1px solid #e1e8e1;border-radius:15px;color:#71917e;font-size:28px;margin-bottom:18px}.module-empty h2{font-size:15px;font-weight:550;margin:0 0 9px;color:#53685b}.module-empty p{font-size:12px;color:#9aa59f;margin:0}.existing-tools{margin-top:26px;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:23px 0}.existing-tools h2{font-size:12px;margin:0 0 7px;font-weight:600}.existing-tools p{margin:0;color:#8c9891;font-size:11px}.existing-tool-links{display:flex;gap:9px;flex-wrap:wrap}.existing-tool-links button{display:flex;align-items:center;gap:22px;background:#fff;border:1px solid #e0e7e1;border-radius:8px;padding:11px 14px;font-size:11px;color:#4a6555}.existing-tool-links button:hover{border-color:#8eae9b;background:#f1f6f1}.existing-tool-links span{color:#99ad9f}.teamwork-shell .topbar.compact-project-header{padding:18px 24px}.teamwork-shell .compact-project-header h1{font-size:20px}.teamwork-shell .crm-board{overflow-x:visible}.teamwork-shell .crm-slots{overflow-y:visible}
@media(max-width:1000px){.teamwork-shell .sidebar{width:195px;padding:24px 12px 14px}.teamwork-shell .main{margin-left:195px;width:calc(100% - 195px)}.workspace-bar{padding:0 24px}.teamwork-shell .topbar{padding:28px 24px 18px}.teamwork-shell .content{padding:8px 24px 26px}.existing-tools{align-items:flex-start;flex-direction:column;gap:16px}.teamwork-brand strong{font-size:21px}.module-empty{min-height:320px}}
@media(max-width:620px){.teamwork-shell .sidebar{width:156px;padding:20px 8px}.teamwork-shell .main{margin-left:156px;width:calc(100% - 156px)}.teamwork-brand{gap:7px;margin:0 5px 25px}.teamwork-brand strong{font-size:17px}.teamwork-mark{width:25px;height:27px;font-size:22px}.teamwork-shell .nav button{font-size:11px;padding:10px 8px;gap:7px}.company-picker{padding:0 4px 20px}.company-picker select{font-size:11px}.workspace-bar{padding:0 14px}.workspace-account{display:none}.teamwork-shell .topbar{padding:24px 15px 18px}.teamwork-shell .content{padding:4px 15px 22px}.teamwork-shell .topbar h1{font-size:25px}.module-empty{min-height:280px}.existing-tool-links{flex-direction:column;width:100%}.existing-tool-links button{justify-content:space-between}}

/* Personal role workspaces */
.personal-shell .teamwork-brand img{width:35px;height:35px;border-radius:11px}.role-workspace{margin:0 9px 30px;padding:0 0 20px;border-bottom:1px solid #e2e9e4;display:flex;flex-direction:column;gap:8px}.role-workspace span{font-size:10px;letter-spacing:1px;color:#617f6c}.role-workspace strong{font-size:13px;font-weight:500;color:#8a9990}.personal-shell .module-navigation button{margin-bottom:8px}.personal-shell .sidebar{overflow-y:auto}.task-badge{margin-left:auto;background:#ca644b;color:#fff;font-size:10px;font-weight:600;border-radius:10px;min-width:20px;height:20px;padding:2px 6px;display:grid;place-items:center}.task-badge.hidden{display:none}.top-company,.top-account-actions{display:flex;align-items:center;gap:16px}.top-company label{margin:0;font-size:11px;color:#8a9990}.top-company select{width:175px;font-size:12px;font-weight:600;border-color:#e1e7e3;background:#fcfdfc;padding:8px 10px}.top-account-actions .link{font-size:11px}.personal-shell .workspace-bar{position:relative}.personal-shell .topbar{align-items:center;flex-wrap:wrap;gap:16px}.personal-shell .topbar p{font-size:12px;color:#8b9991;max-width:650px;line-height:1.6}.account-links{display:flex;gap:13px;margin-top:8px}.setup-notice{margin:18px 38px 0;border:1px solid #dfd6b4;background:#fffdf3;border-radius:10px;padding:13px 17px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;color:#847448}.setup-notice button{font-size:10px;flex-shrink:0}.workspace-loading{padding:70px;text-align:center;color:#8b9991}.product-grid,.client-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card,.client-card{border:1px solid #e3e9e4;background:#fff;border-radius:13px;padding:23px;min-width:0;display:flex;flex-direction:column}.product-card h2,.client-card h2{font-size:17px;margin:18px 0 10px;line-height:1.5;overflow-wrap:anywhere}.product-card>p{font-size:12px;line-height:1.7;color:#819087;white-space:pre-line}.product-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.category-label,.source-tag{background:#eff4ef;padding:5px 8px;border-radius:5px;font-size:9px;color:#6b8573}.product-price{display:flex;flex-direction:column;gap:7px;margin:15px 0 20px}.product-price span{font-size:10px;color:#8a9990}.product-price strong{font-size:20px;color:#315d46;font-weight:600}.stock-line{display:flex;flex-wrap:wrap;gap:9px;font-size:10px;color:#8b9991;border-top:1px solid #edf0ed;padding:14px 0}.stock-line strong{color:#536c5b}.product-card .actions,.client-card .actions{margin-top:auto;flex-wrap:wrap;padding-top:12px;gap:11px}.product-card .actions button,.client-card .actions button{font-size:10px}.internal-information{border:1px solid #e4e1d5;background:#faf9f3;border-radius:8px;padding:14px;margin:15px 0;color:#786f57;font-size:11px}.internal-information>span{font-size:9px;text-transform:uppercase;letter-spacing:1px}.internal-information p{margin:9px 0 0;line-height:1.7}.internal-information h3{margin-bottom:13px}.internal-information details{padding:12px 0;border-top:1px solid #e7e2d5}.internal-information summary{cursor:pointer}.business-empty{min-height:330px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px dashed #dce5de;border-radius:13px}.business-empty>span{font-size:35px;color:#91ab9a;margin-bottom:20px}.business-empty h2{color:#5e7868;font-size:16px;margin:0 0 12px}.business-empty p{font-size:12px;color:#92a097;text-align:center;max-width:400px;line-height:1.7}.business-toolbar{display:flex;align-items:center;gap:12px;margin:0 0 24px}.business-toolbar input{max-width:320px}.business-toolbar select{width:210px}.business-toolbar span{margin-left:auto;font-size:11px;color:#8d9b92}.client-notes{min-height:32px;font-size:12px;line-height:1.7;white-space:pre-line;color:#708477}.client-card dl{font-size:11px;margin:8px 0 15px}.client-card dl>div{display:flex;justify-content:space-between;margin:7px 0;gap:12px}.client-card dt{color:#99a59d}.client-card dd{margin:0;color:#5f7768}.block{display:block;margin-top:6px}.status-chip{display:inline-block;background:#eef3ed;color:#5d7d61;border-radius:6px;padding:6px 8px;font-size:10px;white-space:nowrap}.personal-shell table{font-size:11px}.personal-shell th{font-size:9px;text-transform:uppercase;letter-spacing:.5px;color:#8b9a90}.personal-shell td{font-size:11px;line-height:1.6}.personal-shell .card{border-color:#e3e9e4;box-shadow:none}.personal-shell .table-wrap{overflow-x:auto}.personal-shell .table-wrap table{min-width:700px}.personal-shell .content{overflow:hidden}.finance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:15px}.finance-card{background:#fff;border:1px solid #e3e9e4;border-radius:11px;padding:22px 19px;display:flex;flex-direction:column;gap:14px}.finance-card>span{font-size:10px;color:#8b9b91;line-height:1.6}.finance-card>strong{font-size:22px;color:#3d6550;font-weight:550;overflow-wrap:anywhere}.financial-row{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:15px 0;border-bottom:1px solid #edf0ed;font-size:11px}.task-toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px;font-size:11px;color:#8c9c91}.task-toolbar select{width:180px;font-size:11px}.task-list{display:flex;flex-direction:column;gap:12px}.task-card{display:flex;align-items:flex-start;gap:18px;background:#fff;padding:23px;border:1px solid #e2e9e3;border-radius:11px}.task-check{flex-shrink:0;width:23px;height:23px;margin-top:3px;border:1px solid #b9cdbf;background:#fff;border-radius:7px;color:#fff}.completed .task-check{background:#45735a;border-color:#45735a}.task-card>div{flex:1;min-width:0}.task-card.completed h2{text-decoration:line-through;opacity:.5}.task-card h2{margin:9px 0;font-size:16px}.task-card h2 button{padding:0;font-size:16px;color:#3e5e4c;text-align:left}.task-meta{display:flex;gap:15px;color:#8b9b91;font-size:9px}.task-card p{font-size:12px;color:#829388;white-space:pre-line;line-height:1.7}.overdue{color:#b66d58}.personal-login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#f9fbf9}.login-brand-panel{background:#224e3f;padding:15%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;color:white}.login-brand-panel img{width:80px;height:80px;border-radius:23px;margin-bottom:35px}.login-brand-panel h1{font-size:42px;font-weight:600;letter-spacing:-1.8px}.login-brand-panel p{font-size:24px;line-height:1.7;color:#b1c8b8;margin:25px 0 70px}.login-brand-panel>span{font-size:11px;letter-spacing:2px;color:#88a893}.login-form-panel{display:flex;align-items:center;justify-content:center;padding:50px}.login-form-panel form{width:100%;max-width:340px}.login-form-panel h2{font-size:28px;color:#294c3a;margin:18px 0}.login-form-panel p{font-size:12px;color:#8a9990;line-height:1.7;margin-bottom:28px}.login-form-panel input{padding:13px}.login-form-panel .primary{width:100%;margin-top:20px;padding:13px;background:#2b6550}.modal:has([id^=tw-]){max-width:920px;width:calc(100vw - 80px)}.modal .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.modal .form-grid>.field{min-width:0}.modal .field{margin-bottom:18px}.modal .field input,.modal .field select{font-size:12px}.modal .internal-information{margin-top:20px}.modal .form-grid label{font-size:11px}.modal .check-options{display:flex;flex-wrap:wrap;gap:18px;margin:15px 0 25px}.check-options label{display:flex;align-items:center;gap:9px;margin:0}.check-options input{width:auto}.bom-editor-row{display:grid;grid-template-columns:1.3fr .7fr 1fr .8fr auto;gap:8px;margin-bottom:10px}.bom-editor-row input,.cost-editor-row input,.order-editor-row input,.order-editor-row select{padding:9px;font-size:11px}.bom-editor-row button,.cost-editor-row button,.order-editor-row button{font-size:10px}.order-editor-row,.editor-labels{display:grid;grid-template-columns:2fr .7fr 1fr auto;gap:10px;margin-bottom:12px}.editor-labels{font-size:10px;color:#8b9b91;margin-top:20px;padding:0 5px}.order-entry-total{text-align:right;font-size:22px;font-weight:600;color:#2f6650;margin:20px 0}.cost-editor-row{display:grid;grid-template-columns:1.5fr 1fr .8fr auto;gap:8px;margin-bottom:10px}.order-detail-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:25px;gap:20px}.order-detail-heading>strong{font-size:23px;color:#37634a}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:15px 0 30px}.detail-grid>div{font-size:10px;color:#8b9b91;display:flex;flex-direction:column;gap:8px}.detail-grid strong{font-size:13px;color:#496b55;font-weight:550}.preserve-lines{white-space:pre-line;line-height:1.8}.fulfillment-line{padding:15px;border:1px solid #e2e7e3;border-radius:9px;margin:15px 0}.fulfillment-line>strong{display:block;margin-bottom:20px}.modal .financial-row{font-size:10px}.modal details{margin:15px 0}.modal h3{margin-top:22px}.modal table td,.modal table th{font-size:10px}
@media(max-width:1250px){.product-grid,.client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-notice{margin-left:24px;margin-right:24px}}
@media(max-width:850px){.top-account-actions>span{display:none}.top-company{gap:8px}.top-company select{width:140px}.product-grid,.client-grid{grid-template-columns:1fr}.personal-login{grid-template-columns:1fr}.login-brand-panel{display:none}.login-form-panel{min-height:100vh;padding:30px}.setup-notice{flex-direction:column;align-items:flex-start}.bom-editor-row{grid-template-columns:1fr 1fr}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modal:has([id^=tw-]){width:calc(100vw - 35px)}.modal .form-grid{grid-template-columns:1fr}.finance-card>strong{font-size:18px}}

.company-tiles{display:flex;gap:9px}.company-tile{min-width:94px;height:43px;padding:0 17px;border:1px solid #dce5df;border-radius:8px;background:#fff;color:#6c7d72;font-weight:600;font-size:12px;letter-spacing:.2px}.company-tile.selected{background:#2c6550;border-color:#2c6550;color:#fff;box-shadow:0 3px 8px #244e3e12}.company-tile:hover:not(.selected){background:#f0f5f0;border-color:#a9c1ae}.company-tile:focus-visible{outline:2px solid #8eb49d;outline-offset:3px}@media(max-width:850px){.company-tile{min-width:75px;height:39px;padding:0 11px;font-size:11px}.top-account-actions{gap:8px}}

.admin-preview-actions{display:flex;gap:14px;align-items:center}.admin-preview-actions button{font-size:11px}.preview-notice{margin:16px 38px 0;padding:12px 16px;border:1px solid #e4dcbf;background:#fcfaf0;border-radius:8px;color:#8a7c55;font-size:12px}.account-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.account-preview-tile{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:22px;border:1px solid #dce6de;border-radius:11px;background:#fff;text-align:left}.account-preview-tile:hover{background:#f2f6f1;border-color:#9ebba7}.account-preview-tile strong{font-size:17px;color:#325b45}.account-preview-tile span{font-size:12px;color:#6a8373}.account-preview-tile small{font-size:10px;color:#91a296}@media(max-width:850px){.account-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preview-notice{margin-left:24px;margin-right:24px}}

.product-series-section{margin-bottom:32px}.product-series-section>h2{font-size:14px;font-weight:600;color:#526d5c;margin-bottom:16px}.product-series-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-series-tile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid #e0e8e1;border-radius:13px;background:white;padding:22px;min-height:220px;transition:background .15s,border-color .15s}.product-series-tile:hover{background:#f4f8f3;border-color:#a5bea8}.series-initial{display:grid;place-items:center;min-width:48px;height:43px;border-radius:10px;background:#ecf2ec;color:#62846b;font-size:14px;padding:0 10px;font-weight:600;margin-bottom:18px}.product-series-tile>strong{font-size:17px;color:#365b43}.product-series-tile>p{font-size:11px;line-height:1.7;color:#8c9d91;margin:10px 0 20px}.series-product-count{margin-top:auto;display:flex;justify-content:space-between;width:100%;font-size:11px;color:#8da292}.series-product-count>span{color:#72977e}@media(max-width:1150px){.product-series-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.product-series-grid{grid-template-columns:1fr}}

.client-region-toolbar{display:flex;justify-content:space-between;align-items:center;margin:0 0 14px;font-size:12px}.client-region-toolbar .selected{font-weight:650}.client-region-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0 0 23px}.client-region-tile{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid #dfe7df;border-radius:11px;padding:22px;color:#5c7866}.client-region-tile>strong{font-size:20px;font-weight:550}.client-region-tile>span{font-size:11px;color:#92a498}.client-region-tile.selected{background:#2d6650;border-color:#2d6650;color:#fff}.client-region-tile.selected>span{color:#c0d7c8}.client-region-tile:hover:not(.selected){background:#f1f6f0;border-color:#a5c0ab}.client-region-label{font-size:10px;color:#7b9784;margin-top:14px}.client-region-label .link{padding:0;font-size:10px;color:#7b9784}.client-region-label+h2{margin-top:8px}@media(max-width:800px){.client-region-tile{padding:17px 12px;flex-direction:column;align-items:flex-start;gap:9px}.client-region-tile>strong{font-size:17px}}

.product-status{font-size:10px;padding:5px 8px;border-radius:6px;background:#eff2f1;color:#809087;white-space:nowrap}.product-status.DEVELOPMENT{background:#f3edf8;color:#856299}.product-status.COMING_SOON{background:#fff4dc;color:#9e7b35}.product-status.RELEASED{background:#eaf5ed;color:#4e805e}.product-grid{align-items:start}.personal-shell .product-card{padding:20px}.product-card h2{margin:12px 0 8px}.product-card>p{margin:6px 0;line-height:1.55}.product-card .product-price{margin:12px 0}.product-card .internal-information{margin:10px 0;padding:11px}.product-series-tile{min-height:185px;padding:20px}.personal-shell .content{padding-bottom:36px}

.workspace-navigation{display:flex;align-items:center;gap:20px;min-width:0}.workspace-back{white-space:nowrap;font-size:12px;padding:8px 12px}.personal-shell .workspace-bar{position:sticky;top:0;z-index:10;flex-shrink:0}.workspace-back.hidden{display:none}@media(max-width:850px){.workspace-navigation{gap:10px}.workspace-back{padding:8px;font-size:11px}.personal-shell .workspace-bar{padding-left:20px;padding-right:20px}}

/* Only the navigation stays pinned; page headings remain in document flow. */
.personal-shell .topbar{position:static;top:auto;z-index:auto}

/* Order documents: independent readable cards, fixed images keep their source ratio. */
.pi-editor-line,.pi-pack-group{padding:18px;margin:16px 0;border:1px solid #dce3ee;background:#f8faff;border-radius:8px}.pi-content{display:grid;grid-template-columns:2fr 1fr auto;gap:12px;align-items:end;margin:12px 0}.pi-totals{font-size:18px;font-weight:600;padding:20px 0;color:#103fa8;line-height:1.7}.pi-editor-line small,.pi-pack-group small{display:block;color:#708099;margin-top:6px}#tw-pi-form h3{margin-top:28px}#tw-pi-form textarea{min-height:80px}@media(max-width:650px){.pi-content{grid-template-columns:1fr}.pi-editor-line,.pi-pack-group{padding:12px}}

.compact-pi-grid{display:grid;grid-template-columns:minmax(200px,2.3fr) minmax(90px,.7fr) minmax(130px,1fr) auto;gap:14px;align-items:end}.compact-pi-grid input[readonly]{background:#edf2f7;color:#345}.pi-client-summary{white-space:pre-line;padding:14px 16px;background:#f4f7fb;line-height:1.7;margin:12px 0 20px;border-radius:6px}.pi-auto-packing{color:#708099;line-height:1.7;padding-top:14px}.compact-pi-line[data-physical=false] .compact-pi-grid{grid-template-columns:minmax(200px,2.3fr) minmax(150px,1fr) auto}@media(max-width:650px){.compact-pi-grid,.compact-pi-line[data-physical=false] .compact-pi-grid{grid-template-columns:1fr 1fr}}

.compact-pi-grid{grid-template-columns:minmax(115px,1fr) minmax(170px,1.8fr) minmax(65px,.5fr) minmax(100px,.8fr) auto}.compact-pi-line[data-physical=false] .compact-pi-grid{grid-template-columns:minmax(115px,1fr) minmax(170px,1.8fr) minmax(100px,1fr) auto}.custom-order-dimensions{margin-top:16px;grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:760px){.compact-pi-grid,.compact-pi-line[data-physical=false] .compact-pi-grid,.custom-order-dimensions{grid-template-columns:1fr 1fr}}

/* Regional client boards preserve the original sales-stage palette. */
.region-client-board{margin:28px 0 38px}.region-client-board>h2{font-size:22px;margin-bottom:18px}.region-client-board>h2 span{font-size:14px;font-weight:400}.region-client-board .crm-grid{align-items:stretch}.region-client-board .crm-column{height:auto!important;min-width:0;padding-bottom:14px}.region-client-list{position:relative;z-index:1;display:grid;gap:12px;padding:16px 12px}.region-client-board .client-card{padding:15px;border-radius:9px;background:#fff;color:#465560}.region-client-board .rarity-1 .client-card{background:#45d397;border:1px solid #9df8cb;color:#074b31}.region-client-board .rarity-2 .client-card{background:#bd87f5;border:2px solid #e3beff;color:#3e166f}.region-client-board .rarity-3 .client-card{background:#ffd065;border:2px solid #fff0bf;color:#663802}.region-client-board .client-card h2{margin:12px 0 7px}.region-client-board .client-card p,.region-client-board .client-card dt,.region-client-board .client-card dd,.region-client-board .client-card .link{color:inherit}.region-client-board .client-card .source-tag{background:#ffffff65;color:inherit}.region-client-board .client-notes{max-height:130px;overflow:auto}.region-stage-empty{color:#fff;text-align:center;font-size:12px}.rarity-0 .region-stage-empty{color:#708090}.region-client-board .crm-column:before,.region-client-board .crm-column:after{pointer-events:none}@media(max-width:1050px){.region-client-board .crm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.region-client-board .crm-grid{grid-template-columns:1fr}.client-region-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.region-client-board .crm-column{min-height:330px;display:flex;flex-direction:column}.region-client-board .crm-column .crm-stage{position:relative;top:auto;left:auto;right:auto;transform:none;min-height:170px;flex-shrink:0;padding:20px 8px 8px;opacity:1}.region-client-board .region-client-list{align-content:start}.region-client-board .crm-column.rarity-0 .crm-stage{opacity:.7}

/* Personnel filters complement the regional four-stage client boards. */
.client-personnel-panel{margin-bottom:25px}.client-personnel-panel>h2{font-size:20px;margin-bottom:12px}.client-personnel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:12px}.client-personnel-tile{display:grid;grid-template-columns:1fr auto;gap:10px;padding:17px;text-align:left;border:1px solid #dfe7df;border-radius:11px;background:#fff;color:#466451;min-width:0}.client-personnel-tile strong{font-size:17px;overflow-wrap:anywhere}.client-personnel-tile span{font-size:12px}.client-personnel-tile small{grid-column:1/-1;font-size:11px;line-height:1.7;color:#728479}.client-personnel-tile.selected{border-color:#2d6650;background:#e7f2eb;box-shadow:inset 0 0 0 1px #2d6650}.client-personnel-panel>.hint{margin-top:10px}@media(max-width:600px){.client-personnel-grid{grid-template-columns:1fr}.client-personnel-tile{padding:14px}}

/* Won clients are a fifth manual CRM stage, independent of payment verification. */
.region-client-board .crm-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.crm-column.rarity-4{--rarity:#238acc;--rarity-rgb:35,138,204;background:#176a9d;border:2px solid #8bd3ff;box-shadow:0 0 16px #238acc30,inset 0 0 0 4px #ffffff0c}.region-client-board .rarity-4 .client-card{background:#bce4ff;border:1px solid #e1f3ff;color:#123f5a}.rarity-4 .crm-stage:after{content:'✓';color:#c6efff;font-size:18px}.crm-board .crm-grid:has(.rarity-4){grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:1400px){.region-client-board .crm-grid,.crm-board .crm-grid:has(.rarity-4){grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1050px){.region-client-board .crm-grid,.crm-board .crm-grid:has(.rarity-4){grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.region-client-board .crm-grid,.crm-board .crm-grid:has(.rarity-4){grid-template-columns:1fr}}

/* Compact customer reminders; detailed data stays in the name action. */
.region-client-board .compact-client-card{padding:13px 14px}.compact-client-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.region-client-board .compact-client-heading h2{margin:0;min-width:0;font-size:18px;line-height:1.3}.client-name-button{padding:0;border:0;background:none;color:inherit;text-align:left;font:inherit;font-weight:650;overflow-wrap:anywhere;cursor:pointer}.client-name-button:hover{text-decoration:underline}.compact-client-order{flex-shrink:0;white-space:nowrap;font-size:11px;padding:3px 0}.region-client-board .compact-client-meta{display:flex;justify-content:space-between;gap:10px;margin:8px 0;font-size:12px;line-height:1.4;opacity:.85}.compact-client-meta span{font-size:11px}.region-client-board .compact-client-card .client-notes{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;overflow-wrap:anywhere;max-height:none;line-height:1.5;font-size:13px;margin:8px 0 0}.region-client-board .crm-column{min-height:220px;grid-template-rows:auto 1fr}.region-client-list{align-content:start}

/* Ten compact customer cards per stage page; the page scrolls vertically. */
.region-client-board .crm-column{height:1600px!important;min-height:1600px;grid-template-rows:110px 1fr auto;padding-bottom:12px}.region-client-list{display:flex;flex-direction:column;gap:10px;padding:12px;min-height:0;align-content:start}.region-client-board .compact-client-card{height:132px;min-height:132px;flex-shrink:0;box-sizing:border-box;padding:12px}.region-client-board .compact-client-heading h2{font-size:16px;line-height:1.35}.compact-client-heading h2 .client-name-button{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.region-client-board .compact-client-meta{margin:6px 0;font-size:11px}.region-client-board .compact-client-card .client-notes{font-size:12px;line-height:1.4;margin-top:6px}.client-stage-pagination{display:flex;justify-content:space-between;align-items:center;gap:4px;padding:8px 12px;font-size:11px;position:relative;z-index:1;color:inherit}.client-stage-pagination .link{color:inherit;font-size:11px;padding:5px 0}.client-stage-pagination .link:disabled{opacity:.4;cursor:default}.region-client-board .region-stage-empty{margin-top:12px}
.region-client-board .crm-column{display:grid;height:1640px!important;min-height:1640px;grid-template-rows:110px minmax(0,1fr) auto}.region-client-board .crm-column .crm-stage{height:110px;min-height:110px;padding:10px 8px;gap:6px;box-sizing:border-box}.region-client-board .crm-column .tier-medallion{width:44px;height:50px}.region-client-board .crm-column .crm-stage .tier-title{margin-top:0;font-size:13px}.region-client-board .region-client-list{flex-shrink:0}

/* Select a series once, then add its model rows inside the same group. */
.pi-series-group{border:1px solid #dce3ee;border-radius:10px;background:#fff;margin:16px 0;overflow:hidden}.pi-series-heading{display:flex;align-items:end;gap:14px;padding:15px;background:#f1f6fc;border-bottom:1px solid #e1e7ef}.pi-series-heading>label{flex:1;max-width:420px}.pi-series-heading .link{margin-left:auto;white-space:nowrap}.pi-series-models .pi-editor-line{margin:0;border:0;border-radius:0;background:#fff;padding:15px}.pi-series-models .pi-editor-line+.pi-editor-line{border-top:1px solid #e6ecf2}.pi-series-models .compact-pi-grid{grid-template-columns:minmax(160px,2fr) minmax(65px,.6fr) minmax(110px,1fr) auto}.pi-series-models .compact-pi-line[data-physical=false] .compact-pi-grid{grid-template-columns:minmax(160px,2fr) minmax(110px,1fr) auto}.pi-series-models .compact-pi-line>.hint{margin-bottom:0;font-size:11px}.pi-series-heading button:disabled{opacity:.45;cursor:default}@media(max-width:650px){.pi-series-heading{flex-wrap:wrap;gap:10px}.pi-series-heading>label{flex-basis:100%;max-width:none}.pi-series-models .compact-pi-grid,.pi-series-models .compact-pi-line[data-physical=false] .compact-pi-grid{grid-template-columns:1fr 1fr}}

.pi-order-discount{max-width:300px;margin:18px 0 0 auto}.pi-totals{white-space:pre-line}

.follow-order-summary{display:flex;flex-wrap:wrap;gap:24px;align-items:center}.follow-order-summary>div{display:grid;gap:6px}.follow-order-summary span{font-size:12px;color:#789}.follow-order-summary .actions{margin-left:auto}.follow-product-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.follow-product-heading h2{font-size:19px}.follow-product-heading>span{font-size:13px;color:#789}.follow-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}#tw-fulfillment-form>.card{margin:18px 0}#tw-fulfillment-form>.actions{padding-bottom:24px}@media(max-width:650px){.follow-field-grid{grid-template-columns:1fr}.follow-product-heading{display:block}.follow-product-heading>span{display:block;margin-top:8px}.follow-order-summary{gap:15px}}
#tw-fulfillment-form .field,#tw-fulfillment-form input,#tw-fulfillment-form select,#tw-fulfillment-form textarea{min-width:0;max-width:100%;box-sizing:border-box}#tw-fulfillment-form .cost-editor-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.8fr) auto}.follow-order-summary strong,.follow-product-heading{overflow-wrap:anywhere}.personal-shell:has(#tw-fulfillment-form) #topbar{flex-wrap:wrap}.personal-shell:has(#tw-fulfillment-form) #topbar>div{min-width:0}.personal-shell:has(#tw-fulfillment-form) #topbar p{overflow-wrap:anywhere}@media(max-width:650px){#tw-fulfillment-form .cost-editor-row{grid-template-columns:1fr}.follow-order-summary .actions{margin-left:0;max-width:100%}.follow-order-summary .actions button{white-space:normal}}
.personal-shell:has(#tw-fulfillment-form) .workspace-bar{flex-wrap:wrap;gap:8px}.personal-shell:has(#tw-fulfillment-form) .workspace-navigation{flex-wrap:wrap;min-width:0;gap:8px}.personal-shell:has(#tw-fulfillment-form) .top-company{min-width:0}

/* Internal operator workspace: two separate work pages. */
.operation-pages{display:flex;gap:12px;margin:0 0 24px;flex-wrap:wrap}.operation-pages button{min-width:140px}.operation-section-heading{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-bottom:18px}.operation-section-heading h2{margin:0}.operation-pages+section table td{vertical-align:top}.operation-pages~section td small{overflow-wrap:anywhere}@media(max-width:600px){.operation-section-heading{align-items:flex-start;flex-direction:column}.operation-pages{gap:8px}.operation-pages button{min-width:0;flex:1}}
/* Spreadsheet-style order entry and internal follow-up. */
.order-entry-modal{width:min(1240px,96vw);max-width:1240px}.order-entry-heading{display:grid;grid-template-columns:minmax(180px,1fr) 110px minmax(220px,1.6fr);gap:12px;align-items:start}.order-entry-heading .field{margin:0}.order-entry-heading textarea{min-height:38px;height:38px;resize:vertical}.order-entry-modal .pi-client-summary{padding:5px 0;background:none;margin:4px 0 10px;font-size:12px;white-space:normal}.order-entry-modal .pi-series-group{margin:8px 0;border-radius:3px}.order-entry-modal .pi-series-heading{padding:6px 8px;align-items:center;gap:10px}.order-entry-modal .pi-series-heading label{margin:0;display:flex;align-items:center;gap:8px;font-size:11px;max-width:500px}.order-entry-modal .pi-series-heading select{padding:5px 7px;font-size:12px}.order-entry-modal .pi-series-heading button{font-size:12px;padding:5px 8px}.sheet-column-heading,.order-entry-modal .pi-series-models .compact-pi-grid,.order-entry-modal .pi-series-models .compact-pi-line[data-physical=false] .compact-pi-grid{display:grid;grid-template-columns:minmax(200px,1fr) 90px 130px 130px 40px;gap:0;align-items:stretch}.sheet-column-heading{background:#edf3ef;font-size:11px;color:#536b60}.sheet-column-heading>span{padding:6px 8px;border-right:1px solid #dce6df}.order-entry-modal .pi-series-models .pi-editor-line{padding:0}.order-entry-modal .compact-pi-grid>[role=cell]{border-right:1px solid #dce6df;padding:0;display:flex;align-items:center;min-width:0}.order-entry-modal .compact-pi-grid select,.order-entry-modal .compact-pi-grid input{border:0;border-radius:0;padding:8px;font-size:13px;min-height:34px;box-shadow:none}.order-entry-modal .compact-pi-grid input:focus,.order-entry-modal .compact-pi-grid select:focus{outline:2px solid #2e7558;outline-offset:-2px;background:#f3fbf5}.order-entry-modal .compact-pi-grid output{justify-content:flex-end;padding:8px!important;font-variant-numeric:tabular-nums}.order-entry-modal .compact-pi-grid .single-product-spec{font-size:13px;padding:8px}.order-entry-modal .custom-order-dimensions{display:flex;gap:8px;align-items:center;padding:6px 8px;margin:0;background:#f8faf9;flex-wrap:wrap}.order-entry-modal .custom-order-dimensions label{display:flex;gap:5px;align-items:center;margin:0;font-size:11px}.order-entry-modal .custom-order-dimensions input{width:76px;padding:5px;font-size:12px}.order-entry-modal .custom-order-dimensions select{width:85px;padding:5px;font-size:12px}.order-entry-modal .custom-order-dimensions .field{margin:0}.order-entry-modal .custom-order-dimensions .hint{margin:0;font-size:10px}.order-entry-modal .pi-auto-packing{padding:0;margin:8px 0;font-size:11px}.order-entry-modal .pi-order-discount{max-width:210px;margin:10px 0}.order-entry-modal .pi-order-discount input{padding:6px 8px}.order-entry-modal .pi-totals{margin:6px 0;font-size:18px}.order-entry-modal .toolbar{margin:8px 0}.order-sheet-card{padding:0;overflow:hidden;border-radius:5px}.order-sheet{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.order-sheet th,.order-sheet td{border:1px solid #dce6df;padding:7px 8px!important;vertical-align:middle;font-size:12px}.order-sheet th{background:#eaf2ed;font-weight:600;white-space:nowrap}.order-sheet input,.order-sheet select{padding:7px 6px;border-radius:2px;min-height:34px;font-size:12px}.follow-sheet{min-width:1060px}.follow-sheet td:nth-child(2){min-width:180px}.follow-sheet td:nth-child(5){width:130px}.follow-sheet td:nth-child(6){width:115px}.follow-sheet td:nth-child(7){width:150px}.follow-sheet td:nth-child(8){min-width:170px}.follow-extras{padding:12px 16px;margin-top:12px}.follow-extras .field{margin:0}.follow-extras details{margin:12px 0}.follow-logistics{flex-wrap:wrap}.payment-buckets{display:flex;gap:10px;margin:0 0 16px;flex-wrap:wrap}.receipt-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.receipt-grid .field{margin:0}.follow-order-summary{padding:14px;margin-bottom:12px;gap:16px}.follow-order-summary .actions{flex-wrap:wrap}@media(max-width:760px){.order-entry-heading{grid-template-columns:1fr 100px}.order-entry-heading .order-address{grid-column:1/-1}.order-entry-modal .pi-series-group{overflow-x:auto}.order-entry-modal .pi-series-heading,.order-entry-modal .sheet-column-heading,.order-entry-modal .pi-series-models{min-width:660px}.order-entry-modal .pi-series-heading{flex-wrap:nowrap}.order-entry-modal .pi-series-heading>label{flex-basis:auto;max-width:420px}.receipt-grid{grid-template-columns:1fr}.follow-order-summary .actions{grid-column:1/-1}}

.modal.order-entry-modal{width:min(1240px,calc(100vw - 32px));max-width:1240px}.order-entry-modal .modal-body{padding:16px 20px}.order-entry-modal .modal-header{padding:16px 20px}.order-entry-modal .modal-footer{padding:12px 20px}.order-entry-modal #tw-pi-form .order-entry-heading textarea{min-height:38px;height:38px}.order-entry-modal #tw-pi-form .field{margin-bottom:0}.order-entry-modal .pi-series-heading>label{white-space:nowrap}.order-entry-modal .pi-totals{padding:8px 0}.order-entry-modal .pi-order-discount{margin:8px 0}.order-entry-modal .pi-series-heading{padding-top:5px;padding-bottom:5px}
.order-entry-modal #pi-lines{max-height:none;overflow:visible}.order-sheet-card:has(.follow-sheet) .table-wrap{max-height:56vh;overflow:auto;overscroll-behavior:contain}.follow-sheet thead th{position:sticky;top:0;z-index:1}.order-entry-modal .sheet-column-heading{position:sticky;top:0;z-index:1}

.inventory-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:start;flex-wrap:wrap;margin-bottom:16px}.inventory-toolbar>label{min-width:210px}.inventory-series-section{margin-top:22px}.inventory-series-section>h3{font-size:15px;padding:10px 12px;margin:0;background:#edf3ef;border:1px solid #dce6df;border-radius:4px 4px 0 0}.inventory-series-section table{width:100%}.inventory-series-section td{vertical-align:middle}.inventory-series-section th:first-child{width:36%}.inventory-toolbar .payment-buckets{margin:0}@media(max-width:600px){.inventory-toolbar>label{width:100%}.operation-section-heading>.actions{flex-wrap:wrap}}

/* Keep the follow-up header compact so the order table starts near the top. */
.personal-shell .topbar.follow-compact-header{padding:10px 24px 6px;gap:8px;align-items:center;flex-wrap:nowrap}.personal-shell .topbar.follow-compact-header>div:first-child{display:flex;align-items:baseline;gap:12px;min-width:0;flex-wrap:wrap}.personal-shell .topbar.follow-compact-header h1{font-size:18px;line-height:1.3;letter-spacing:0;margin:0;white-space:nowrap}.personal-shell .topbar.follow-compact-header p{font-size:12px;line-height:1.4;margin:0;max-width:none;overflow-wrap:anywhere}.personal-shell .topbar.follow-compact-header>.actions{gap:6px;flex-shrink:0;flex-wrap:nowrap}.follow-compact-header button.primary,.follow-compact-header button.secondary{padding:6px 10px;font-size:12px;line-height:1.4}.personal-shell .content:has(#tw-fulfillment-form){padding-top:4px}.content:has(#tw-fulfillment-form) .follow-order-summary{display:flex;padding:8px 12px;margin-bottom:8px;border-radius:5px;gap:6px 20px;align-items:center}.content:has(#tw-fulfillment-form) .follow-order-summary>div{display:flex;align-items:baseline;gap:6px;min-width:0;flex-wrap:wrap}.content:has(#tw-fulfillment-form) .follow-order-summary span{font-size:11px;line-height:1.5}.content:has(#tw-fulfillment-form) .follow-order-summary strong{font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}.content:has(#tw-fulfillment-form) .order-sheet-card:has(.follow-sheet) .table-wrap{max-height:calc(100dvh - 185px)}@media(max-width:900px){.personal-shell .topbar.follow-compact-header{flex-wrap:wrap}.personal-shell .topbar.follow-compact-header>.actions{margin-left:auto}.content:has(#tw-fulfillment-form) .follow-order-summary{gap:6px 14px}}@media(max-width:600px){.personal-shell .topbar.follow-compact-header{padding:8px 15px 5px}.personal-shell .topbar.follow-compact-header>div:first-child{gap:4px 10px}.personal-shell .topbar.follow-compact-header>.actions{width:100%;margin-left:0}.follow-compact-header button.primary{margin-left:auto}.content:has(#tw-fulfillment-form) .follow-order-summary{padding:8px;gap:5px 12px}.content:has(#tw-fulfillment-form) .order-sheet-card:has(.follow-sheet) .table-wrap{max-height:calc(100dvh - 280px)}}

/* The back button and company switch must wrap within narrow screens. */
@media(max-width:600px){.personal-shell .workspace-bar{flex-wrap:wrap;gap:8px}.personal-shell .workspace-navigation{min-width:0;max-width:100%;flex-wrap:wrap}.personal-shell .top-company{min-width:0;max-width:100%;flex-wrap:wrap}.personal-shell .company-tiles{max-width:100%;flex-wrap:wrap}}

/* Per-product sales requirements in desktop order sheets. */
.order-entry-modal .sheet-column-heading,.order-entry-modal .pi-series-models .compact-pi-grid,.order-entry-modal .pi-series-models .compact-pi-line[data-physical=false] .compact-pi-grid{grid-template-columns:minmax(180px,1.5fr) minmax(220px,1.8fr) 75px 110px 110px 34px}.order-entry-modal #tw-pi-form textarea[name=line-salesDetails]{width:100%;min-height:34px;height:34px;max-height:100px;padding:7px 8px;resize:vertical;border:0;border-radius:0;font-size:12px;line-height:18px}.order-entry-modal #tw-pi-form textarea[name=line-salesDetails]:focus{outline:2px solid #2e7558;outline-offset:-2px}.order-entry-modal #tw-pi-form textarea[name=line-salesDetails][readonly]{background:#f5f7f6;color:#52665b}.follow-sheet{min-width:1260px}.follow-sheet td:nth-child(3){width:240px;min-width:200px}.follow-sheet td:nth-child(5){width:105px}.follow-sheet td:nth-child(6){width:130px}.follow-sheet td:nth-child(7){width:115px}.follow-sheet td:nth-child(8){width:150px;min-width:140px}.follow-sheet td:nth-child(9){min-width:170px}.sales-details-display{white-space:pre-wrap;overflow-wrap:anywhere;max-height:90px;overflow:auto;line-height:1.5;font-size:12px;min-width:140px}.sales-product-details{max-width:270px}

.follow-sheet{min-width:1160px}.follow-sheet td:nth-child(2){min-width:150px;width:170px}.follow-sheet td:nth-child(3){min-width:180px;width:210px}.follow-sheet td:nth-child(4){width:50px}.follow-sheet td:nth-child(5){width:95px}.follow-sheet td:nth-child(6){width:115px}.follow-sheet td:nth-child(7){width:100px}.follow-sheet td:nth-child(8){width:140px;min-width:130px}.follow-sheet td:nth-child(9){min-width:140px}

/* Follow-up has no expected completion date column. */
.follow-sheet{min-width:1020px}.follow-sheet td:nth-child(8){width:auto;min-width:170px}

/* Compact desktop handoff list: prominent action on the left, wider progress on the right. */
.operation-order-list{width:100%;table-layout:fixed;min-width:850px}.operation-order-list th:nth-child(1){width:125px}.operation-order-list th:nth-child(2){width:190px}.operation-order-list th:nth-child(3){width:160px}.operation-order-list th:nth-child(4){width:auto}.operation-order-list td{padding:12px 10px;vertical-align:middle;overflow-wrap:anywhere}.operation-order-list td:nth-child(2){line-height:1.65}.operation-order-list .operation-follow-button{min-height:44px;min-width:104px;padding:10px 13px;font-size:15px;font-weight:650;white-space:nowrap}.operation-goods-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:7px 18px;align-items:start}.operation-goods-item{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;line-height:1.4;font-size:12px}.operation-goods-state{color:#677e73;white-space:nowrap}.operation-order-list td:nth-child(3)>small{line-height:1.45;margin-top:4px}

.receipt-sheet{min-width:760px;margin-bottom:12px}.receipt-sheet input{width:100%;min-width:100px}.receipt-sheet th:last-child,.receipt-sheet td:last-child{width:60px}.receipt-sheet td{padding:5px!important}

/* Compact desktop order finance: no sales-detail column. */
.order-entry-modal .sheet-column-heading,.order-entry-modal .pi-series-models .compact-pi-grid,.order-entry-modal .pi-series-models .compact-pi-line[data-physical=false] .compact-pi-grid{grid-template-columns:minmax(220px,1fr) 75px 110px 110px 34px}
.follow-sheet{min-width:1150px;table-layout:fixed}.follow-sheet th:first-child,.follow-sheet td:first-child{width:32px}.follow-sheet th:nth-child(2),.follow-sheet td:nth-child(2){width:190px;min-width:0}.follow-sheet th:nth-child(3),.follow-sheet td:nth-child(3){width:50px;min-width:0}.follow-sheet th:nth-child(4),.follow-sheet td:nth-child(4){width:95px;min-width:0}.follow-sheet th:nth-child(5),.follow-sheet td:nth-child(5),.follow-sheet th:nth-child(6),.follow-sheet td:nth-child(6),.follow-sheet th:nth-child(7),.follow-sheet td:nth-child(7){width:120px;min-width:0}.follow-sheet th:nth-child(8),.follow-sheet td:nth-child(8){width:100px;min-width:0}.follow-sheet th:nth-child(9),.follow-sheet td:nth-child(9){width:auto;min-width:0}.follow-sheet input,.follow-sheet select{width:100%;min-width:0}.follow-finance-summary{margin-top:12px;padding:16px}.follow-finance-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.follow-finance-grid span{display:block;color:#7c8e85;font-size:12px}.follow-finance-grid strong{display:block;font-size:18px;margin-top:5px}.follow-finance-summary .hint{margin:10px 0 0}

/* Unit and total product costs remain separately editable. */
.follow-sheet{min-width:1220px}.follow-sheet th:nth-child(5),.follow-sheet td:nth-child(5),.follow-sheet th:nth-child(6),.follow-sheet td:nth-child(6),.follow-sheet th:nth-child(7),.follow-sheet td:nth-child(7),.follow-sheet th:nth-child(8),.follow-sheet td:nth-child(8){width:115px;min-width:0}.follow-sheet th:nth-child(9),.follow-sheet td:nth-child(9){width:100px;min-width:0}.follow-sheet th:nth-child(10),.follow-sheet td:nth-child(10){width:auto;min-width:150px}

/* Desktop financial summaries and filters. */
.company-finance .detail-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.company-finance .detail-grid strong{font-size:18px;color:#183139}.company-finance .detail-grid small{display:block;line-height:1.5;margin-top:4px}.company-finance .toolbar select{flex:1;min-width:160px}.company-finance .toolbar label:has(#finance-show-void){display:flex;align-items:center;gap:6px;white-space:nowrap;flex:0 0 auto}.company-finance .order-sheet td{overflow-wrap:anywhere}

/* One company ledger: dual currencies, manual pending totals. */
.company-finance .detail-grid{grid-template-columns:repeat(6,minmax(0,1fr))}

/* Desktop navigation: company in the sidebar, context tabs in the sticky top bar. */
.personal-shell .teamwork-brand{margin-bottom:22px}.sidebar-company{padding:0 8px 16px;margin-bottom:16px;border-bottom:1px solid #e2e9e4}.sidebar-company>span{display:block;font-size:10px;color:#829289;margin-bottom:8px}.sidebar-company .company-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.sidebar-company .company-tile{min-width:0;width:100%;height:36px;padding:0 8px;font-size:12px}.sidebar-company>strong{font-size:13px;color:#31594a}.personal-shell .role-workspace{margin-bottom:20px;padding-bottom:14px}.workspace-subnav{display:flex;align-items:center;gap:9px;min-width:0}.workspace-subnav button{font-size:13px;min-height:38px;min-width:118px;padding:8px 14px;white-space:nowrap}.workspace-current-module{font-size:13px;font-weight:600;color:#53695d}.personal-shell .workspace-navigation{gap:14px}.personal-shell .workspace-bar{min-height:63px;height:auto;padding-top:10px;padding-bottom:10px}.personal-shell .admin-preview-actions{flex-shrink:0}.personal-shell .sidebar-company .company-tile:focus-visible{outline:2px solid #8eb49d;outline-offset:2px}

/* Explicit columns reserve usable note space; amounts carry units in headings only. */
.personal-shell:has(#tw-fulfillment-form) .content{padding-left:18px;padding-right:18px}.follow-sheet{width:100%;min-width:1000px;table-layout:fixed}.follow-sheet th,.follow-sheet td{width:auto!important;min-width:0!important;max-width:none!important;padding:5px!important;font-size:12px}.follow-sheet th{white-space:normal;line-height:1.35}.follow-sheet .follow-number{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.follow-sheet input,.follow-sheet select,.follow-sheet textarea{box-sizing:border-box;width:100%;min-width:0;font-size:12px;padding:5px;min-height:32px}.follow-sheet input[type=number]{text-align:right;font-variant-numeric:tabular-nums;-moz-appearance:textfield;appearance:textfield}.follow-sheet input[type=number]::-webkit-inner-spin-button,.follow-sheet input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.follow-sheet textarea{display:block;min-height:44px;max-height:140px;line-height:1.4;resize:vertical}.follow-sheet td:last-child{padding:5px!important}.follow-sheet td:nth-child(2) small{font-size:10px;line-height:1.35}.follow-sheet td:nth-child(2) strong{font-size:12px}.follow-sheet select{padding-left:3px;padding-right:2px}

/* Order list: direct table without a repeated section heading. */
.operation-orders-card{padding:10px 16px;margin-bottom:12px}.operation-orders-card .operation-order-list th{padding:8px 10px}.operation-orders-card .operation-order-list td{padding:10px}.operation-orders-card>p{margin:6px 0}

/* Desktop series overview: all current series in one compact grouped page. */
.product-series-overview{display:grid;gap:10px}.product-series-overview .product-series-section{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:14px;margin:0;padding:10px 12px;border:1px solid #e1e8e3;border-radius:9px;background:#fff}.product-series-overview .product-series-section>h2{margin:0;font-size:13px;line-height:1.5}.product-series-overview .product-series-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.product-series-overview .product-series-tile{display:block;min-height:66px;padding:9px 10px;border-radius:7px;background:#fbfcfb;min-width:0}.series-entry-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.series-entry-heading>strong{font-size:14px;font-weight:600;color:#365b43;line-height:1.4}.product-series-overview .series-product-count{width:auto;flex:none;gap:7px;margin:0;font-size:11px;white-space:nowrap}.product-series-overview .product-series-tile>p{font-size:11px;line-height:1.5;margin:5px 0 0;color:#809185}.product-series-overview .product-series-tile:focus-visible{outline:2px solid #4c8b6d;outline-offset:2px}

.product-filter-toggle{display:flex;align-items:center;gap:7px;white-space:nowrap;margin:0;font-size:12px;color:#526b5c}.product-filter-toggle input{width:auto}.product-series-overview .product-series-tile{min-height:60px}

/* Two series-level states, inline with the compact entry title. */
.product-series-overview .product-series-tile{padding:7px 8px}.series-entry-heading{gap:5px;align-items:center}.series-entry-open{display:flex;align-items:center;gap:6px;justify-content:space-between;flex:1;min-width:0;padding:0;border:0;background:transparent;text-align:left;color:#365b43}.series-entry-open strong{font-size:12px;line-height:1.35}.series-entry-open .series-product-count{font-size:10px}.series-status-select{width:86px;min-width:86px;padding:4px 2px 4px 5px;font-size:11px;min-height:27px;color:#355a47;border-radius:5px}.product-series-overview .product-series-tile>p{font-size:10.5px;margin-top:4px}.series-entry-open:focus-visible{outline:2px solid #4c8b6d;outline-offset:3px}.topbar .series-status-select{width:110px;min-width:110px;font-size:12px}

/* Series status stays readable through both text and distinct colors. */
.product-series-overview .series-state-released{background:#f2f9f4;border-color:#c4dfcd}.product-series-overview .series-state-development{background:#fff7eb;border-color:#e8c99a}.series-status-select.status-released{background:#e5f3e9;border-color:#91c3a1;color:#245d38;font-weight:600}.series-status-select.status-development{background:#fff0d7;border-color:#d6a35c;color:#875114;font-weight:600}.series-state-development .series-entry-open{color:#805321}.series-state-development .series-product-count,.product-series-overview .series-state-development>p{color:#99764a}.series-status-select option{background:#fff;color:#203330}

/* Unit models share a compact, owner-maintained small series. */
.unit-subseries-grid{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px;align-items:stretch}.unit-subseries-entry{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #d9e3dd;border-radius:10px;padding:8px 14px}.unit-subseries-entry.active,.unit-subseries-grid>.active{background:#e5f1e9;border-color:#39735d}.unit-subseries-entry>button:first-child{text-align:left;display:grid;gap:4px}.unit-subseries-entry span{font-size:12px;color:#778b80}.unit-model-table{width:100%;background:#fff}.unit-model-table small{display:block;font-size:12px;color:#7e8d85;margin-top:5px}.unit-model-table td{padding:12px}.unit-model-table td:first-child{white-space:nowrap}.sheet-model-row [data-pi-subseries]{margin-bottom:5px;width:100%}

/* Stretch the native entry button across its card; keep settings independent. */
.product-series-overview .product-series-tile,.unit-subseries-entry{position:relative}
.series-entry-open::after,.unit-subseries-entry>button:first-child::after{content:"";position:absolute;inset:0;border-radius:inherit;cursor:pointer}
.product-series-tile .series-status-select,.unit-subseries-entry>button:not(:first-child){position:relative;z-index:1}
.product-series-tile:focus-within,.unit-subseries-entry:focus-within{outline:2px solid #4c8b6d;outline-offset:2px}

/* Client stages are full-width horizontal bands rather than tall columns. */
.region-client-board .crm-grid{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:12px;overflow:visible}
.region-client-board .crm-grid .crm-column{display:grid;grid-template-columns:140px minmax(0,1fr);grid-template-rows:minmax(120px,auto) auto;height:auto!important;min-height:140px;padding:10px;gap:0 12px;align-items:stretch}
.region-client-board .crm-grid .crm-stage{grid-column:1;grid-row:1;height:auto;min-height:120px;padding:12px 6px;justify-content:center;opacity:1}
.region-client-board .crm-grid .tier-medallion{width:32px;height:38px}
.region-client-board .crm-grid .crm-stage .tier-title{font-size:13px;line-height:1.5}
.region-client-board .crm-grid .region-client-list{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;padding:0;align-content:start;min-width:0}
.region-client-board .crm-grid .compact-client-card{height:120px;min-height:120px;margin:0;padding:12px}
.region-client-board .crm-grid .client-stage-pagination{grid-column:2;grid-row:2;padding:8px 0 0}
.region-client-board .crm-grid .region-stage-empty{grid-column:1/-1;align-self:center;margin:0;padding:40px 14px;text-align:left}

/* Client ownership and geography stay in the top bar, leaving the board visible. */
.personal-shell:has(.client-compact-header) .workspace-bar{padding:6px 24px;min-height:52px;gap:10px;flex-wrap:wrap}
.personal-shell:has(.client-compact-header) .workspace-navigation{flex:1;min-width:0}
.personal-shell:has(.client-compact-header) .workspace-subnav{flex-wrap:wrap;gap:12px}
.workspace-subnav .client-topbar-people{display:flex;gap:6px;margin:0;padding:0;border:0;background:none}
.workspace-subnav .client-personnel-tile{display:flex;gap:8px;align-items:center;padding:6px 10px;min-height:32px;min-width:0;border-radius:6px}
.workspace-subnav .client-personnel-tile strong{font-size:12px}.workspace-subnav .client-personnel-tile span{font-size:10px}
.workspace-subnav .client-topbar-regions{display:flex;gap:5px;margin:0}
.workspace-subnav .client-region-tile{display:flex;gap:7px;padding:6px 9px;min-width:0;min-height:32px;border-radius:6px}
.workspace-subnav .client-region-tile strong{font-size:12px}.workspace-subnav .client-region-tile span{font-size:10px}
.personal-shell .topbar.client-compact-header{padding:8px 24px;gap:10px;flex-wrap:nowrap}
.client-compact-header .workspace-eyebrow,.client-compact-header p{display:none}
.personal-shell .client-compact-header h1{font-size:20px;margin:0;white-space:nowrap}
.client-compact-header .actions{gap:8px;flex-wrap:nowrap}.client-compact-header input{width:180px;padding:7px 9px}.client-compact-header select{width:130px;padding:7px 9px}.client-compact-header button.primary{padding:7px 11px;font-size:12px}
.personal-shell .content:has(.region-client-board){padding:4px 24px 12px}
.region-client-board{margin:4px 0 16px}.region-client-board>h2{font-size:15px;margin:0 0 8px}.region-client-board>h2 span{font-size:12px}
.region-client-board .crm-grid{gap:8px}
.region-client-board .crm-grid .crm-column{grid-template-columns:160px minmax(0,1fr);grid-template-rows:minmax(84px,auto) auto;min-height:98px;padding:6px;gap:0 8px}
.region-client-board .crm-grid .crm-stage{flex-direction:row;min-height:84px;padding:5px;gap:8px}
.region-client-board .crm-grid .tier-medallion{width:22px;height:28px;flex-shrink:0}
.region-client-board .crm-grid .crm-stage .tier-title{font-size:12px}
.region-client-board .crm-grid .region-client-list{max-height:84px;overflow-y:auto;grid-auto-rows:84px;scrollbar-gutter:stable}
.region-client-board .crm-grid .compact-client-card{height:84px;min-height:84px;padding:7px 10px}
.region-client-board .compact-client-heading h2{font-size:14px}.region-client-board .compact-client-meta{margin:3px 0;font-size:10px}.region-client-board .compact-client-card .client-notes{margin:3px 0 0;font-size:11px;line-height:1.3}
.region-client-board .crm-grid .region-stage-empty{padding:28px 10px}.region-client-board .crm-grid .client-stage-pagination{padding-top:4px}

.workspace-subnav .client-region-tile.selected strong,.workspace-subnav .client-region-tile.selected span{color:#fff}.region-client-board .crm-grid .crm-stage .tier-title{white-space:nowrap}

/* Square reminders run left-to-right inside five compact viewport-sized stages. */
.region-client-board{--client-tile-size:clamp(92px,calc((100dvh - 210px)/4 - 14px),148px);margin-bottom:4px}
.region-client-board .crm-grid{gap:6px}
.region-client-board .crm-grid .crm-column{grid-template-rows:calc(var(--client-tile-size) + 6px);height:auto!important;min-height:0;padding:4px;gap:0 8px}
.region-client-board .crm-grid .crm-stage{min-height:0;height:100%;padding:3px;grid-row:1}
.region-client-board .crm-grid .region-client-list{display:grid;grid-auto-flow:column;grid-auto-columns:var(--client-tile-size);grid-template-columns:none;grid-template-rows:var(--client-tile-size);grid-auto-rows:auto;gap:8px;height:calc(var(--client-tile-size) + 6px);max-height:none;overflow-x:auto;overflow-y:hidden;scrollbar-gutter:auto;justify-content:start;align-content:start;scrollbar-width:thin}
.region-client-board .region-client-list::-webkit-scrollbar{height:6px}
.region-client-board .crm-grid .compact-client-card{position:relative;width:var(--client-tile-size);height:var(--client-tile-size);min-height:0;aspect-ratio:1;padding:6px 7px 18px;overflow:hidden;border-radius:7px}
.region-client-board .compact-client-heading{display:block}.region-client-board .compact-client-heading h2{font-size:12px;line-height:1.25;margin:0}.region-client-board .client-name-button{-webkit-line-clamp:1}
.region-client-board .compact-client-meta{font-size:9px;line-height:1.2;margin:3px 0;white-space:nowrap;overflow:hidden}.region-client-board .compact-client-meta span{font-size:9px;flex-shrink:0}
.region-client-board .compact-client-card .client-notes{font-size:10px;line-height:1.25;margin:3px 0 0;-webkit-line-clamp:2}
.region-client-board .compact-client-order{position:absolute;bottom:3px;right:6px;font-size:9px;line-height:1.2;padding:0}
.region-client-board .crm-grid .region-stage-empty{align-self:center;padding:0 10px;white-space:nowrap;grid-row:1}
.region-client-board .crm-grid .client-stage-pagination{grid-column:1;grid-row:1;align-self:end;padding:0 2px 1px;gap:4px;font-size:9px}.region-client-board .client-stage-pagination .link{font-size:9px;padding:1px}

/* All client controls live in the sticky top bar; there is no duplicate content header. */
.personal-shell .topbar.client-compact-header{display:none}
.personal-shell:has(.client-compact-header) .workspace-navigation{flex:1 1 auto}
.personal-shell:has(.client-compact-header) .workspace-subnav{width:100%;gap:8px}
.client-topbar-tools{display:flex;align-items:center;gap:6px;margin-left:auto}
.workspace-subnav .client-topbar-tools input{width:155px;padding:6px 8px;font-size:12px}
.workspace-subnav .client-topbar-tools select{width:112px;padding:6px 8px;font-size:12px}
.workspace-subnav .client-topbar-tools button{min-width:0;min-height:32px;padding:6px 9px;font-size:12px}
.personal-shell:has(.client-compact-header) .workspace-bar{align-items:center}

.region-client-board .compact-client-heading{flex:0 0 auto}.region-client-board .compact-client-heading h2 .client-name-button{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}
.region-client-board .compact-client-card .compact-client-meta{flex:0 0 11px;min-height:11px;line-height:11px;margin:2px 0}
.region-client-board .compact-client-card .client-notes{flex:0 0 auto;max-height:25px;margin:2px 0 0;overflow:hidden}

/* Calm, color-coded client stages replace decorative rarity frames. */
.region-client-board .crm-column.rarity-0{--stage-accent:#71808e;--stage-bg:#f4f6f8;--stage-line:#dce3e8}
.region-client-board .crm-column.rarity-1{--stage-accent:#278365;--stage-bg:#f0f7f3;--stage-line:#d5e6dc}
.region-client-board .crm-column.rarity-2{--stage-accent:#8760b0;--stage-bg:#f6f3fa;--stage-line:#e4dced}
.region-client-board .crm-column.rarity-3{--stage-accent:#b47b22;--stage-bg:#fcf7ed;--stage-line:#eee1c6}
.region-client-board .crm-column.rarity-4{--stage-accent:#347da7;--stage-bg:#eef5fa;--stage-line:#d4e3ef}
.region-client-board .crm-grid .crm-column{background:var(--stage-bg);border:1px solid var(--stage-line);border-left:3px solid var(--stage-accent);border-radius:9px;box-shadow:none;color:#35493e}
.region-client-board .crm-grid .crm-column::before,.region-client-board .crm-grid .crm-column::after,.region-client-board .crm-grid .crm-stage::after{content:none;box-shadow:none;filter:none}
.region-client-board .crm-grid .crm-stage{justify-content:flex-start;padding-left:12px;gap:9px;color:#35493e;text-shadow:none;opacity:1}
.region-client-board .crm-grid .crm-stage::before{content:"";position:static;display:block;width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--stage-accent);border:0;box-shadow:none}
.region-client-board .crm-grid .crm-stage .tier-title{color:#35493e;font-size:12px;font-weight:600;letter-spacing:0;text-shadow:none}
.client-stage-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;font-size:11px;font-weight:600;color:var(--stage-accent);background:#fff;border:1px solid var(--stage-line);border-radius:6px}
.region-client-board .crm-grid .crm-column .client-card{background:#fff;border:1px solid var(--stage-line);color:#34483e;box-shadow:0 1px 2px #263e2e05}
.region-client-board .crm-grid .crm-column .client-card:hover{border-color:var(--stage-accent);background:#fff;box-shadow:0 2px 5px #263e2e0a}
.region-client-board .crm-grid .region-stage-empty{color:#84928b;font-size:11px}
.region-client-board .crm-column .client-card .compact-client-meta{color:#829088}.region-client-board .crm-column .client-card .client-notes{color:#66786c}.region-client-board .crm-column .client-card .compact-client-order{color:#477760}

/* Four concise client fields; the whole square is the native view button. */
.region-client-board .crm-grid button.compact-client-card{text-align:left;cursor:pointer;padding:7px;gap:0;font:inherit}
.region-client-board .compact-client-heading .client-name-button{display:block;width:100%;font-size:12px;font-weight:650;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;background:none;border:0}
.region-client-board .compact-client-card .compact-client-meta{display:flex;width:100%;align-items:center;justify-content:space-between;gap:4px;margin:4px 0;flex:0 0 12px;line-height:12px;min-height:12px}
.region-client-board .compact-client-meta .client-country{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.region-client-board .compact-client-meta .client-number{flex:0 0 auto;min-width:19px;text-align:right;font-variant-numeric:tabular-nums}
.region-client-board .compact-client-card .client-notes{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;width:100%;font-size:10px;line-height:1.3;max-height:26px;margin:3px 0 0;overflow:hidden}
.region-client-board button.compact-client-card:focus-visible{outline:2px solid var(--stage-accent);outline-offset:2px}

.region-client-board .crm-grid button.compact-client-card{padding:10px}.region-client-board .compact-client-heading .client-name-button{font-size:14px}
.region-client-board .compact-client-card .compact-client-meta{flex-basis:14px;min-height:14px;line-height:14px;margin:5px 0}.region-client-board .compact-client-meta .client-country{font-size:11px}.region-client-board .compact-client-meta .client-number{font-size:10px}
.region-client-board .compact-client-card .client-notes{font-size:11px;line-height:1.4;max-height:31px;margin-top:4px}

/* Product quotation details: desktop readable configuration tables. */
.product-sales-details table,.product-sales-reference table{width:100%;table-layout:fixed;margin:10px 0 18px;}
.product-sales-details th,.product-sales-reference th{width:24%;vertical-align:top;text-align:left;}
.product-sales-details td,.product-sales-reference td{overflow-wrap:anywhere;vertical-align:top;}
.product-sales-reference summary{cursor:pointer;font-weight:600;margin:14px 0;}

/* Product costs: one total, separate compact breakdown rows. */
.personal-shell .product-grid{align-items:stretch;}
.personal-shell .product-card{padding:22px;gap:0;}
.product-card h2{margin:12px 0 8px;line-height:1.35;}
.product-card>.product-card-summary{font-size:12px;line-height:1.6;min-height:40px;margin:4px 0 12px;white-space:pre-line;}
.product-card .product-price{gap:8px;margin:4px 0 16px;}
.product-card .product-price>.product-cost-amount{display:block;font-size:26px;line-height:1.2;font-weight:650;letter-spacing:-.5px;font-variant-numeric:tabular-nums;}
.product-grid:has(.product-cost-breakdown) .product-card .product-price{min-height:126px;}
.product-cost-breakdown{display:grid;gap:8px;font-size:12px;font-weight:400;color:#74847a;margin:8px 0 0;line-height:1.5;}
.product-cost-breakdown>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;}
.product-cost-breakdown dt{margin:0;min-width:0;}
.product-cost-breakdown dd{margin:0;font-weight:500;color:#466151;white-space:nowrap;font-variant-numeric:tabular-nums;}
.product-card>.product-material-count{font-size:10px;line-height:1.5;margin:0 0 8px;color:#8b9990;}
.product-card .stock-line{padding:12px 0 8px;}
.product-card .actions{padding-top:10px;}

.product-grid:has(>.product-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr));max-width:1040px;}

/* Desktop order entry: costs, manual USD prices and quotation margins. */
.order-entry-modal{width:min(1380px,97vw);max-width:1380px;}
.order-entry-modal .modal-header{padding:14px 20px;}
.order-entry-modal .modal-body{padding:14px 20px;}
.order-entry-modal .modal-footer{padding:10px 20px;}
.order-entry-modal .order-entry-heading{gap:8px;grid-template-columns:minmax(160px,1fr) 100px minmax(220px,1.6fr);}
.order-entry-modal .pi-client-summary{margin:3px 0 6px;font-size:11px;}
.order-entry-modal .pi-pricing-context{font-size:10px;color:#7d8b83;line-height:1.5;margin:0 0 6px;}
.order-entry-modal .pi-series-group{margin:6px 0;}
.order-entry-modal .pi-series-heading{padding:4px 7px;gap:7px;}
.order-entry-modal .pi-series-heading select{padding:3px 5px;}
.order-entry-modal .pi-series-heading button{padding:3px 6px;font-size:11px;}
.order-entry-modal .sheet-column-heading,.order-entry-modal .pi-series-models .compact-pi-grid,.order-entry-modal .pi-series-models .compact-pi-line[data-physical=false] .compact-pi-grid{grid-template-columns:minmax(210px,1fr) 55px 88px 92px 92px 96px 72px 26px;}
.order-entry-modal .sheet-column-heading>span{padding:4px 6px;font-size:10px;white-space:nowrap;}
.order-entry-modal .compact-pi-grid input,.order-entry-modal .compact-pi-grid select{padding:5px 6px;font-size:12px;min-height:30px;}
.order-entry-modal .compact-pi-grid output{font-size:12px;padding:5px 6px!important;display:flex;align-items:center;justify-content:flex-end;border-right:1px solid #dce6df;white-space:nowrap;min-width:0;}
.order-entry-modal [data-line-cost]{background:#f6f8f6;color:#526d5c;}
.order-entry-modal .compact-pi-grid .single-product-spec{padding:5px 6px;font-size:12px;}
.order-entry-modal .custom-order-dimensions{gap:6px;padding:4px 6px;}
.order-entry-modal .custom-order-dimensions input{padding:3px 4px;width:64px;}
.order-entry-modal .custom-order-dimensions select{padding:3px 4px;}
.order-entry-modal .pi-order-discount{margin:5px 0;max-width:180px;}
.order-entry-modal .pi-order-discount input{padding:4px 6px;}
.order-entry-modal .pi-totals{font-size:15px;line-height:1.4;margin:4px 0;}
.pi-pricing-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:9px 12px;background:#f3f7f4;border:1px solid #dce7df;border-radius:5px;font-size:12px;margin:6px 0;}
.pi-pricing-summary>div{display:flex;flex-direction:column;gap:4px;}.pi-pricing-summary span{font-size:10px;color:#7d8b82;}.pi-pricing-summary strong{font-size:16px;color:#2f624d;font-variant-numeric:tabular-nums;}
.pi-pricing-summary>p{grid-column:1/-1;font-size:10px;color:#87968b;margin:3px 0 0;line-height:1.4;}
.is-negative{color:#ad3946!important;}

.product-equipment-photo{margin:12px 0 18px;border:1px solid #e0e8e3;border-radius:8px;overflow:hidden;background:#fff;}
.product-equipment-photo img{display:block;width:100%;max-height:360px;object-fit:contain;}
.product-equipment-photo figcaption{padding:8px 12px;text-align:center;font-size:12px;color:#597065;background:#f7faf8;}

.order-sheet [data-order-open]{cursor:pointer;}
.order-sheet [data-order-open]:hover td,.order-sheet [data-order-open]:focus-visible td{background:#eaf3ee;}
.order-sheet [data-order-open]:focus-visible{outline:2px solid #2b6754;outline-offset:-2px;}

.personal-shell .product-grid.container-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}

.pi-transport{border:1px solid #dce6df;border-radius:6px;padding:10px 12px;margin:8px 0;background:#f7faf8;}
.pi-transport-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:6px;}
.pi-transport-heading span{font-variant-numeric:tabular-nums;color:#41634f;}
.pi-transport-controls{display:grid;grid-template-columns:130px 155px 150px minmax(210px,1fr);gap:8px;align-items:end;}
.pi-transport-controls input,.pi-transport-controls select{padding:5px 6px;min-height:30px;font-size:12px;}
.pi-transport-controls label{font-size:11px;}.pi-transport-charge{font-size:12px;padding-bottom:8px;color:#285f4d;}
.pi-transport-lines{margin-top:6px;font-size:11px;color:#617568;}.pi-transport-lines>div{display:grid;grid-template-columns:minmax(180px,1fr) 110px 110px;gap:8px;padding:3px 0;}
.pi-transport-lines>div span:not(:first-child){text-align:right;font-variant-numeric:tabular-nums;}.pi-transport .hint{font-size:10px;margin:6px 0 0;}

.pi-transport-table{margin-top:6px;border-top:1px solid #dce6df;}
.pi-transport-row{display:grid;grid-template-columns:110px 170px minmax(100px,150px) minmax(100px,1fr) minmax(100px,1fr);gap:10px;align-items:center;padding:5px 0;font-size:12px;}
.pi-transport-row input,.pi-transport-row select,.pi-transport-legacy input{min-width:0;width:100%;font-size:12px;padding:4px 6px;min-height:28px;}
.pi-transport-row span:nth-last-child(-n+2){text-align:right;font-variant-numeric:tabular-nums;}
.pi-transport-labels{color:#74867b;font-size:11px;}.pi-transport-billing{font-size:11px;color:#385f4b;margin-top:5px;}
.pi-transport-total{border-top:1px solid #dce6df;padding-top:6px;text-align:right;font-size:12px;font-weight:600;color:#285f4d;}
.pi-transport-legacy{font-size:11px;display:flex;gap:8px;align-items:center;}.pi-transport-legacy input{width:110px;}

/* Compact engineering pairings; never imply unverified capacity matching. */
.equipment-match-filters{display:flex;gap:16px;align-items:end;margin-bottom:12px}
.equipment-match-filters label:first-child{flex:1;max-width:650px}
.equipment-match-filters label:last-child{width:150px}
.equipment-matching .hint{margin:8px 0 12px}
.equipment-match-table{min-width:850px;width:100%;background:#fff}
.equipment-match-table th,.equipment-match-table td{padding:12px 14px;vertical-align:top}
.equipment-match-table td:first-child{min-width:160px}
.equipment-match-table td small{display:block;color:#718079;margin-top:5px;font-size:13px}
.equipment-match-table td:nth-child(5){min-width:220px;max-width:520px;overflow-wrap:anywhere}
.equipment-match-table td:last-child .link{padding:4px 7px;white-space:nowrap}
.equipment-match-status{display:inline-block;padding:4px 8px;border-radius:6px;font-size:13px;white-space:nowrap}
.equipment-match-status.reference{background:#fff3d9;color:#835c19}
.equipment-match-status.verified{background:#e5f3e9;color:#28634b}
.pi-equipment-match{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;padding:6px 10px;background:#f6faf7;font-size:13px}
.pi-equipment-match select{width:auto;max-width:460px;min-width:220px;font-size:13px}
.pi-equipment-match .secondary{padding:5px 10px;font-size:13px}
.pi-equipment-match .hint{flex-basis:100%;margin:0;font-size:12px;line-height:1.5}
/* WhatsApp channel: compact desktop workspace; all customer text remains escaped. */
.wa-setup-steps{display:grid;gap:12px;margin:0 0 18px;padding-left:24px;font-size:14px;line-height:1.5}.wa-setup-steps strong,.wa-setup-steps span{display:block}.wa-setup-steps span{color:#6b8278}.wa-setup-downloads{gap:10px}.wa-setup-downloads a{text-decoration:none}.wa-setup-full{font-size:13px;margin-top:12px}.wa-setup-full textarea{width:100%;margin-top:10px;resize:vertical;font-family:inherit;font-size:12px;line-height:1.5;white-space:pre-wrap}
.wa-summary{display:flex;align-items:center;gap:24px;margin:0 0 14px;padding:10px 16px;background:#fff;border:1px solid #dce6e1;border-radius:10px;font-size:14px}.wa-summary strong{margin-left:6px}.wa-summary .muted{margin-left:auto}.wa-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:16px}.wa-layout .card{padding:16px}.wa-layout h2{font-size:18px;margin:0 0 12px}.wa-connection{display:grid;gap:6px;padding:12px 0;border-top:1px solid #e4ebe7;font-size:14px}.wa-connection button{justify-self:start}.wa-inbox{overflow:auto}.wa-inbox table{width:100%;table-layout:fixed}.wa-inbox th:first-child{width:23%}.wa-inbox th:nth-child(2){width:40%}.wa-inbox td{padding:12px 10px;overflow-wrap:anywhere;font-size:14px}.wa-inbox td small{display:block;color:#789087;margin-top:4px}.wa-inbox tr[data-wa-thread]{cursor:pointer}.wa-inbox tr[data-wa-thread]:hover{background:#edf6f1}.wa-empty{padding:32px 12px;font-size:14px}.wa-thread-summary p{margin:8px 0}.wa-facts{display:flex;gap:12px 24px;flex-wrap:wrap;font-size:14px}.wa-facts dt{color:#789087}.wa-facts dd{margin:4px 0}.wa-messages{display:flex;flex-direction:column;gap:10px;margin-top:18px}.wa-message{max-width:85%;padding:10px 14px;background:#edf2ef;border-radius:10px;align-self:flex-start}.wa-message.from-me{align-self:flex-end;background:#e2f1e8}.wa-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}.wa-message small{color:#6b8278;font-size:12px}#wa-connect-form{display:grid;gap:14px}#wa-connect-form label{display:grid;gap:5px}#wa-connection-config{width:100%;font-family:monospace;font-size:13px}

.wa-setup-downloads{flex-wrap:wrap}.wa-setup-downloads a{padding:8px 10px;border:1px solid #d7e2e7;border-radius:7px;font-size:13px;background:#fff}

.wa-official-steps{font-size:14px;line-height:1.5;margin-bottom:18px}.wa-official-steps p{margin:10px 0}.wa-official-steps a{display:inline-block;padding:7px 12px;font-size:13px;text-decoration:none}.wa-config-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wa-config-grid label,.wa-compose label{display:grid;gap:5px;font-size:14px}.wa-config-grid input{min-width:0;width:100%}.wa-compose{border-top:1px solid #dce6e1;padding-top:14px;margin-top:14px;display:grid;gap:10px}.wa-compose textarea{min-height:72px}.wa-messages{max-height:45vh;overflow:auto}.wa-message a{font-size:13px}

.website-inquiry { padding: 18px 20px; margin: 0 0 12px; overflow-wrap: anywhere; }
.website-inquiry-header { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.website-inquiry-header h2 { margin: 0 0 4px; font-size: 18px; }
.website-inquiry-header p { margin: 0; color: var(--muted); }
.website-inquiry dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; margin: 14px 0 0; }
.website-inquiry dt { color: var(--muted); margin: 0 0 3px; }
.website-inquiry dd { margin: 0; white-space: pre-wrap; }
.website-inquiry-details { margin: 12px 0 0; white-space: pre-wrap; }
.website-inquiry-files, .website-inquiry-pages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
