:root{--ink:#203a33;--green:#173f35;--green2:#285a48;--cream:#f5f2eb;--gold:#c3a46b;--line:#e3e7df;--muted:#6b766e;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:15px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font:500 40px/1.18 Georgia,serif;letter-spacing:-.8px;margin-bottom:20px}h2{font:500 25px/1.3 Georgia,serif}h3{font-size:17px}small{font-size:11px;letter-spacing:1.4px}.muted,.help{color:var(--muted)}.help{font-size:12px;line-height:1.7}.wordmark{display:block;font:700 60px/1 Georgia,serif;letter-spacing:-4px}.wordmark span{display:block;font:600 9px/2.4 system-ui;letter-spacing:2px}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:var(--green);color:#f7f5e9;padding:34px 24px;display:flex;flex-direction:column}.sidebar>.wordmark{text-align:center}.sidebar>small{color:#d0be92;text-align:center;margin:14px 0 32px;font-size:10px}.sidebar nav{display:grid;gap:6px}.sidebar nav a{padding:11px 15px;border-radius:8px;font-size:13px;color:#d3ded5}.sidebar nav a:hover,.sidebar nav a.selected{background:#ffffff13;color:white}.sidebar nav a.selected{box-shadow:inset 3px 0 var(--gold)}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff22;padding-top:20px}.sidebar-bottom strong,.sidebar-bottom small{display:block}.sidebar-bottom small{letter-spacing:0;color:#bfd0c5}.avatar{float:left;margin:0 12px 10px 0;border:1px solid #ffffff33;border-radius:50%;width:38px;height:38px;text-align:center;line-height:36px}.sidebar-bottom button{background:transparent;padding:5px 0;font-size:12px;color:#d3ded5}.workspace{margin-left:250px}.topbar{height:76px;border-bottom:1px solid var(--line);background:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 42px;font-size:13px}.languages{display:flex;gap:16px;font-size:12px;font-weight:650}.languages a:hover{text-decoration:underline}.content{max-width:1500px;margin:auto;padding:38px 42px}.hero{background:var(--green);border-radius:14px;color:white;padding:43px 45px;position:relative;overflow:hidden;min-height:285px}.hero>small{color:#d7c69f}.hero h1{font-size:43px;max-width:580px;margin-top:16px}.hero p{color:#d0ddd4;max-width:520px;font-size:14px}.hero-seal{position:absolute;right:8%;top:45px;border:1px solid #c3a46b77;border-radius:50%;width:180px;height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#d7c69f;font:bold 75px/1 Georgia,serif;transform:rotate(-12deg)}.hero-seal small{font:10px/1.5 system-ui;letter-spacing:3px;text-align:center;margin-top:12px}.button,button{display:inline-block;border:0;border-radius:6px;background:var(--green);color:#fff;padding:11px 19px;font:600 12px/1.5 system-ui;cursor:pointer}.button.light{background:#e9dec8;color:var(--green)}.button.secondary{background:#edf2ec;color:var(--green)}button:hover,.button:hover{filter:brightness(1.08)}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:26px 0}.metric{display:block;border:1px solid var(--line);border-radius:10px;padding:23px;background:white;position:relative}.metric small{display:block;letter-spacing:0;color:var(--muted);font-size:12px}.metric strong{display:block;font:500 36px/1.5 Georgia,serif}.metric>span{position:absolute;right:24px;bottom:30px;color:var(--gold)}.two-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:24px}.card{border:1px solid var(--line);border-radius:10px;background:white;padding:27px;margin-bottom:24px}.card.accent{background:#ebe5d8;border-color:#ebe5d8;padding:32px}.card.accent h2{margin-top:22px}.card.accent p{color:var(--muted);font-size:13px}.notice{padding-top:15px;border-top:1px solid var(--line);margin-top:18px}.notice small{color:var(--muted);letter-spacing:0}.notice h3{margin:6px 0}.notice p{font-size:13px}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.product-symbol{background:#ece9df;border-radius:7px;min-height:145px;margin-bottom:22px;font:600 55px Georgia;text-align:center;padding:25px;color:var(--green)}.product-symbol small{display:block;font:10px system-ui;letter-spacing:2px;margin-top:12px}.product h2{margin:10px 0}.product p{font-size:13px;color:var(--muted);margin-top:18px;white-space:normal}.badge{display:inline-block;background:#edf2ec;border-radius:4px;padding:4px 9px;font-size:10px}.filter{display:flex;gap:12px;align-items:end;margin:25px 0}.filter label{min-width:170px}.filter input{margin:0;max-width:400px}.filter button{height:44px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}label{display:block;font-size:12px;font-weight:600;margin-bottom:18px}input,select,textarea{display:block;width:100%;padding:12px;border:1px solid #d8ded5;border-radius:5px;background:white;color:var(--ink);font:14px system-ui;margin-top:6px}input:focus,select:focus,textarea:focus{outline:2px solid #c3a46b;outline-offset:1px}textarea{min-height:120px;resize:vertical}input[type=file]{background:#fafbf8}input[type=checkbox]{width:auto;display:inline}form>button{margin-top:4px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}th{text-align:left;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:1px;padding:12px 14px;border-bottom:1px solid var(--line)}td{padding:16px 14px;border-bottom:1px solid var(--line)}td small{display:block;color:var(--muted);font-size:10px;letter-spacing:0}td form{margin:0}td button{padding:5px 10px}summary{cursor:pointer;font-size:15px;font-weight:600}details[open] summary{margin-bottom:25px}.danger{border-color:#cfa49a}.alert{border-radius:6px;padding:15px 20px;font-size:13px}.error{background:#f7e8e2;color:#813c2a}.success{background:#e0eddf;color:#2f5a37}.empty{padding:40px;color:var(--muted)}.page-footer{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);border-top:1px solid var(--line);padding-top:22px;margin-top:30px}.login{min-height:100vh;display:grid;grid-template-columns:1.12fr 1fr}.login-story{background:var(--green);color:white;padding:55px 12%;position:relative;overflow:hidden;min-height:740px}.login-story>.wordmark{margin-bottom:30px}.login-story>small{color:var(--gold)}.login-story h1{font-size:52px;margin-top:35px}.login-story p{color:#bdcec1;max-width:300px}.coffee-ring{height:210px;width:210px;border-radius:50%;border:30px solid #c3a46b22;outline:1px solid #c3a46b55;display:flex;align-items:center;justify-content:center;font:bold 75px Georgia;color:#d0b67c;margin:45px 0}.login-story footer{font-size:9px;letter-spacing:2px;color:#bdcec1;position:absolute;bottom:35px}.login-form{align-self:center;width:100%;max-width:460px;margin:60px auto;padding:0 35px}.login-form .languages{justify-content:flex-end;margin-bottom:65px}.login-form>small{color:var(--muted);font-size:10px}.login-form h2{font-size:36px;margin:12px 0}.login-form form{margin-top:30px}.login-form button{width:100%;padding:14px}.login-form .help{margin-top:30px}.setup{max-width:780px;margin:45px auto;padding:30px}.setup .wordmark{margin-bottom:30px}.check{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px}@media(max-width:1100px){.hero-seal{right:3%;width:135px;height:135px;font-size:55px;opacity:.6}.hero h1,.hero p{max-width:75%}.product-grid{grid-template-columns:1fr 1fr}.content{padding:28px}.topbar{padding:0 28px}}@media(max-width:760px){.sidebar{position:static;width:100%;padding:20px}.sidebar>.wordmark{font-size:40px}.sidebar>small{margin:7px 0 16px}.sidebar nav{display:flex;overflow:auto;gap:5px}.sidebar nav a{white-space:nowrap;padding:8px}.sidebar-bottom{display:none}.workspace{margin:0}.topbar{height:55px;padding:0 20px}.content{padding:22px 16px}.hero{padding:28px 24px;min-height:260px}.hero h1{font-size:34px}.hero-seal{display:none}.hero h1,.hero p{max-width:100%}.metrics{gap:10px;margin:18px 0}.metric{padding:16px 12px}.metric strong{font-size:27px}.metric small{font-size:10px}.metric>span{display:none}.two-columns,.product-grid,.form-grid{grid-template-columns:1fr}.card{padding:22px}.filter{flex-wrap:wrap}.filter label,.filter input{flex:1;min-width:160px}.page-footer{gap:20px}.login{grid-template-columns:1fr}.login-story{min-height:280px;padding:30px}.login-story h1{font-size:34px;margin-top:15px}.login-story>.wordmark{font-size:42px;margin-bottom:15px}.login-story p,.coffee-ring,.login-story footer{display:none}.login-form{margin:30px auto}.login-form .languages{margin-bottom:30px}.setup{margin:10px auto;padding:12px}h1{font-size:32px}}

.product-photo{width:100%;height:210px;object-fit:contain;background:#fff;border-radius:10px}.product details{margin-top:14px}.product .help{overflow-wrap:anywhere}

.customer-quote table{width:100%;border-collapse:collapse}.customer-quote th,.customer-quote td{padding:12px;border-bottom:1px solid #ddd;text-align:left}.customer-quote{background:white}.quote-controls{margin-bottom:24px}@media print{@page{size:A4;margin:15mm}.sidebar,.topbar,.page-footer,.quote-controls{display:none!important}.workspace{margin:0!important;width:100%!important}.layout{display:block!important}.content{padding:0!important}.customer-quote{box-shadow:none;border:0;padding:0}body{background:white}.customer-quote tr{break-inside:avoid}.customer-quote thead{display:table-header-group}}

@media print{.alert{display:none!important}}

.catalog-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:12px;align-items:end;margin:18px 0;padding:18px;background:#fff;border:1px solid #ddd;border-radius:12px}.catalog-table-wrap{overflow-x:auto;background:#fff;border-radius:12px}.catalog-table{width:100%;min-width:850px;border-collapse:collapse}.catalog-table th,.catalog-table td{padding:12px 10px;border-bottom:1px solid #e6e9e6;text-align:left;vertical-align:middle}.catalog-table td strong,.catalog-table td small{display:block}.catalog-table td small{font-size:12px;color:#64746c;max-width:330px}.catalog-table input[type=checkbox],.product input[type=checkbox]{width:19px;height:19px}.catalog-thumb{display:block;width:62px;height:62px;object-fit:contain;background:#fff}.catalog-placeholder{background:#eee9db;text-align:center;line-height:62px;font-family:Georgia,serif;font-size:24px;color:#183d32}.product>.catalog-thumb{width:100%;height:180px;object-fit:contain}.product>.catalog-placeholder{line-height:180px}.catalog-table .button{padding:8px 10px;font-size:12px}#product-editor{scroll-margin-top:24px}

.catalog-table{white-space:normal}.catalog-table th,.catalog-table td{overflow-wrap:anywhere}.catalog-table th{letter-spacing:.3px}.catalog-table .catalog-thumb{width:48px;height:48px}

.resource-card{padding:0;overflow:hidden}.resources-scroll{max-height:777px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.resources-scroll table{width:100%;margin:0;min-width:1050px;table-layout:fixed;border-collapse:collapse}.resources-scroll thead th{position:sticky;top:0;z-index:2;background:#f4f6f2;box-shadow:0 1px 0 var(--line);height:42px;padding:10px;line-height:20px}.resources-scroll tbody tr,.resources-scroll tbody td{height:72px}.resources-scroll td{padding:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.resources-scroll td strong,.resources-scroll td small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:20px}.resources-scroll th:nth-child(1){width:32%}.resources-scroll th:nth-child(2){width:21%}.resources-scroll th:nth-child(3){width:7%}.resources-scroll th:nth-child(4){width:7%}.resources-scroll th:nth-child(5){width:17%}.resources-scroll th:nth-child(6){width:16%}.resources-scroll:focus-visible{outline:2px solid var(--gold);outline-offset:-3px}@media print{.resources-scroll{max-height:none!important;overflow:visible}.resources-scroll thead th{position:static}.resources-scroll table{min-width:0}.resources-scroll td{white-space:normal}.resources-scroll td strong,.resources-scroll td small{white-space:normal}}
.order-lines{min-width:1100px;width:100%;table-layout:fixed}.order-lines th:first-child{width:90px}.order-lines th:nth-child(2){width:27%}.order-lines th:nth-child(6){width:95px}.order-lines td{white-space:normal;overflow-wrap:anywhere}.order-lines td small{display:block}.order-lines input{min-width:65px;width:100%}.order-search-results{max-height:355px;overflow:auto}.order-search-results th{position:sticky;top:0;background:#f4f6f2}.order-search-results form{margin:0}#order-editor{scroll-margin-top:20px}

.notice-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.notice-actions form{margin:0}#notice-edit{margin-top:24px;border-top:1px solid var(--line);padding-top:24px;scroll-margin-top:20px}

.partners-table{min-width:1250px;width:100%;font-size:12px}.partners-table small{display:block;letter-spacing:0;overflow-wrap:anywhere}.partners-table td{vertical-align:top;white-space:normal}.partner-actions{display:grid;gap:7px;min-width:175px;max-width:320px}.partner-actions form{margin:0}.partner-actions button{width:100%;padding:8px 10px}.partner-actions input[readonly]{width:100%;min-width:240px;font-size:11px}.partners-table tr{scroll-margin-top:20px}

.order-product{display:flex;gap:12px;align-items:center;min-width:150px}.order-product>span{min-width:0}.order-thumb{width:54px;height:64px;object-fit:contain;flex:0 0 54px;background:white;border:1px solid var(--line);border-radius:7px;padding:4px}.order-thumb-empty{display:flex;align-items:center;justify-content:center;color:var(--muted);font-family:Georgia,serif}.order-back{display:inline-block;margin-bottom:16px;text-decoration:underline}.order-action-panel{border-top:5px solid var(--green)}.order-action-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.order-action-heading h1{font-size:28px;margin:8px 0 20px}.order-state{padding:6px 15px;border-radius:20px;background:var(--cream);font-weight:700}.order-primary-actions{display:flex;gap:12px;align-items:stretch;flex-wrap:wrap;margin:0 0 12px}.order-primary-actions form{margin:0;display:flex}.order-primary-actions .button,.order-primary-actions button{font-size:16px;min-height:50px;display:inline-flex;align-items:center;justify-content:center;padding:12px 22px}.order-primary-actions button:disabled{opacity:1;background:#edf0eb;color:#707a73;cursor:not-allowed;border:1px solid var(--line)}.order-email-info{background:#f5f7f3;border-radius:8px;padding:12px 16px;font-size:14px}.order-action-note{border-left:4px solid var(--gold);padding:12px 16px;background:#faf6e9;margin:14px 0}.order-management summary{font-weight:700;cursor:pointer}.order-management-grid{display:flex;gap:18px;align-items:flex-end;flex-wrap:wrap;padding-top:18px}.order-management-grid form{margin:0}.order-management-grid label{margin-bottom:8px}@media(max-width:700px){.order-primary-actions>*{width:100%}.order-primary-actions form button{width:100%}.order-thumb{width:44px;height:54px;flex-basis:44px}.order-action-heading h1{font-size:23px}}@media print{.order-thumb{width:36px;height:42px;flex-basis:36px}.order-product{min-width:0;gap:6px}}

.order-row-actions{display:flex;gap:7px;flex-wrap:wrap;min-width:235px;max-width:340px}.order-row-actions .button{padding:7px 12px;font-size:12px;white-space:nowrap;min-height:36px}.order-number{font-weight:700;text-decoration:underline}.order-archive-badge{display:inline-block;font-size:11px;background:#ede8dd;border-radius:12px;padding:2px 9px;margin-top:5px}#order-actions{scroll-margin-top:20px}

.order-results-count{margin:16px 12px 0;font-size:13px;color:var(--muted);font-weight:600}

.order-tax-summary{margin:20px 0 20px auto;max-width:470px;padding:18px 22px;background:#f4f6f0;border-radius:9px}.order-tax-summary p{display:flex;gap:20px;justify-content:space-between;margin:7px 0}.order-tax-summary strong{white-space:nowrap}.order-tax-grand{border-top:1px solid var(--line);padding-top:12px;font-size:18px}

.order-tax-badge{display:inline-block;font-weight:700;font-size:12px;background:#edf2ec;color:var(--green);border-radius:16px;padding:4px 10px;white-space:nowrap}.order-tax-legacy{font-size:12px;color:var(--muted)}

.order-lines th:first-child,.order-snapshot th:first-child{white-space:nowrap}
