/* inter-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100;
  src: url('./fonts/inter-v20-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-100italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100;
  src: url('./fonts/inter-v20-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('./fonts/inter-v20-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 200;
  src: url('./fonts/inter-v20-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('./fonts/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300;
  src: url('./fonts/inter-v20-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  src: url('./fonts/inter-v20-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('./fonts/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 500;
  src: url('./fonts/inter-v20-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('./fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 600;
  src: url('./fonts/inter-v20-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 700;
  src: url('./fonts/inter-v20-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('./fonts/inter-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 800;
  src: url('./fonts/inter-v20-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('./fonts/inter-v20-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 900;
  src: url('./fonts/inter-v20-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root{--navy:#122f49;--navy-dark:#0b2237;--navy-light:#31536c;--gold:#aa8645;--gold-soft:#e8d9b6;--ink:#173247;--muted:#718093;--line:#e6eaf0;--bg:#f6f8fa;--white:#fff;--danger:#bb4144;--shadow:0 8px 35px rgba(18,47,73,.045);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}a{text-decoration:none;color:inherit}button{cursor:pointer}img{max-width:100%}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(24px,3vw,35px);line-height:1.18;letter-spacing:-.035em;margin-bottom:10px}h2{font-size:18px;letter-spacing:-.022em}h3{font-size:15px}p{line-height:1.65}small,.muted{color:var(--muted)}.nowrap{white-space:nowrap}.hidden{display:none!important}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.18em;color:var(--gold);margin-bottom:11px}.app-shell{min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:248px;background:linear-gradient(172deg,#112d45,#0a2137 100%);display:flex;flex-direction:column;z-index:11;box-shadow:5px 0 30px #11283b13;color:#e7eef3}.brand{margin:28px 24px 27px;padding:5px 15px 4px;border-radius:13px;background:white;display:block;height:74px;overflow:hidden}.brand img{width:100%;height:100%;object-fit:contain}.nav-group{padding:8px 15px 18px}.nav-label{font-size:9px;letter-spacing:.18em;font-weight:800;color:#87a2b4;padding:0 18px 10px}.nav-link{display:flex;align-items:center;gap:13px;color:#b7c6d2;padding:11px 17px;border-radius:10px;font-size:13px;transition:background .15s,color .15s}.nav-link .fa-solid{font-size:15px;width:18px;text-align:center}.nav-link:hover{background:#ffffff11;color:white}.nav-link.active{color:#f5deb0;background:linear-gradient(105deg,#b08a4730,#24476050);font-weight:700;box-shadow:inset 3px 0 0 #cfa757}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;gap:10px;padding:18px 15px;border-top:1px solid #ffffff15;font-size:12px}.sidebar-bottom>div{min-width:0;flex:1}.sidebar-bottom strong,.sidebar-bottom small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-bottom small{font-size:10px;color:#90aab9;margin-top:4px}.avatar{width:35px;height:35px;border-radius:11px;background:#d3b77b;color:#173149;display:grid;place-items:center;font-weight:800}.sidebar-bottom form{margin:0}.icon-btn{display:grid;place-items:center;width:34px;height:34px;background:none;border:0;color:inherit;border-radius:9px}.icon-btn:hover{background:#ffffff17}.main{margin-left:248px;padding:39px clamp(24px,3.8vw,68px) 72px;width:calc(100% - 248px);max-width:none}.mobile-top,.bottom-nav{display:none}.page-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:30px}.page-heading p{color:var(--muted);margin:0}.heading-actions{display:flex;gap:10px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:12px 17px;min-height:42px;font-size:12px;white-space:nowrap;font-weight:750;letter-spacing:.005em;border-radius:10px;border:1px solid transparent;transition:transform .12s,box-shadow .12s,background .12s;line-height:1.1}.btn:hover{transform:translateY(-1px)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{color:#fff;background:linear-gradient(116deg,#173d5d,#0a243a);box-shadow:0 5px 16px #18395429}.btn-primary:hover{box-shadow:0 8px 22px #18395448}.btn-secondary{color:#29475c;background:white;border-color:#dfe5ec}.btn-secondary:hover{border-color:#bdcbd8}.btn-ghost{color:#31546e;background:transparent;padding:9px 11px}.btn-ghost:hover{background:#ecf0f5}.btn-sm{min-height:30px;padding:7px 10px}.btn-danger{background:var(--danger);color:#fff}.btn-block{width:100%}.danger{color:var(--danger)!important}.welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(112deg,#102a43,#315c79);padding:35px 40px;color:white;border-radius:20px;margin-bottom:23px;overflow:hidden;position:relative}.welcome:after{content:'';position:absolute;pointer-events:none;right:12%;top:-135px;width:330px;height:330px;border:1px solid #ffffff21;border-radius:50%;box-shadow:0 0 0 70px #ffffff05,0 0 0 130px #ffffff04}.welcome .eyebrow{color:#ddbf81}.welcome h1{margin-bottom:7px}.welcome h1 span{font-size:22px;color:#d8b66f}.welcome p{color:#c4d4df;margin-bottom:0}.welcome>.btn{z-index:1;background:linear-gradient(114deg,#ddc085,#a98645);color:#132e44;box-shadow:0 9px 28px #040d1530}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.stat-card{padding:22px 23px;background:white;border:1px solid #ecf0f4;box-shadow:var(--shadow);border-radius:15px}.stat-icon{height:36px;width:36px;display:grid;place-items:center;border-radius:11px;background:#f7f0e3;color:#ad8848;font-size:15px;margin-bottom:20px}.stat-value{font-size:clamp(21px,2.6vw,28px);font-weight:800;color:#112b42;letter-spacing:-.055em;white-space:nowrap}.stat-label{font-size:11px;color:var(--muted);margin-top:7px}.two-cols{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,1fr);gap:22px;align-items:start}.stack{display:flex;flex-direction:column;gap:21px}.panel{background:#fff;border:1px solid #e9edf2;border-radius:16px;padding:24px;box-shadow:var(--shadow);min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:17px;margin-bottom:6px;border-bottom:1px solid var(--line)}.panel-head h2{margin:0}.text-link{font-size:12px;color:#b28c49;font-weight:750}.activity{display:flex;gap:13px;align-items:center;padding:17px 3px;border-bottom:1px solid #edf0f3;min-width:0}.activity:last-child{border:0}.activity-icon{height:37px;width:37px;border-radius:10px;background:#e9eff5;color:#52728a;flex:0 0 auto;display:grid;place-items:center}.activity-copy{min-width:0;flex:1}.activity-copy strong,.activity-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-copy strong{font-size:13px}.activity-copy small{font-size:11px;margin-top:5px}.activity-value{text-align:right;font-weight:750;font-size:12px;white-space:nowrap}.activity-value .status{margin-top:6px}.quick-links>a{display:flex;align-items:center;gap:15px;padding:17px 4px;border-bottom:1px solid #edf0f3}.quick-links>a:last-child{border:0}.quick-links strong,.quick-links small{display:block}.quick-links strong{font-size:13px}.quick-links small{font-size:11px;margin-top:4px}.quick-links>a>.fa-solid{color:#a2acb7;margin-left:auto}.quick-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:#eaf0f5;color:#254962;font-size:16px}.hint-card{display:flex;gap:11px;border:1px solid #ecdabb;background:#fffaf1;border-radius:12px;padding:14px 15px;color:#94723e;margin-top:21px;line-height:1.6;font-size:11px}.hint-card i{font-size:16px;margin-top:2px}.empty-state{text-align:center;padding:44px 10px}.empty-state>.fa-solid{font-size:38px;color:#d8c39b;margin-bottom:15px}.empty-state p{color:#6d7c88}.status{border-radius:20px;padding:5px 10px;display:inline-block;font-size:10px;font-weight:750;white-space:nowrap}.status.draft{background:#eaf0f6;color:#4b6c87}.status.sent{background:#e5efff;color:#376ac1}.status.accepted{background:#e7f5ee;color:#21815b}.status.rejected{background:#fdecee;color:#b4474e}.status.expired{background:#fff1dd;color:#ad7830}.searchbar{display:flex;gap:10px;justify-content:flex-start;margin-bottom:18px}.searchbar label{display:flex;gap:10px;align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:0 14px;min-width:min(100%,340px);color:#90a1b0}.searchbar label input{border:0;outline:0;background:transparent;min-width:0;width:100%;padding:12px 0}.filter-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:17px}.filter-pill{display:inline-block;padding:8px 13px;border:1px solid #e8edf1;border-radius:22px;color:#657b8c;font-size:11px;font-weight:700}.filter-pill.chosen{background:#172f45;color:white;border-color:#172f45}.table-wrap{overflow-x:auto;width:100%}table{width:100%;border-collapse:collapse}th{text-align:left;color:#8494a2;background:#f8fafc;font-size:10px;letter-spacing:.06em;text-transform:uppercase;font-weight:800;padding:13px 12px;white-space:nowrap}td{border-bottom:1px solid #eff2f4;padding:15px 12px;font-size:12px;vertical-align:middle}td strong{color:#1b394e}tbody tr:last-child td{border-bottom:0}.table-sub{font-size:10px;color:#8391a0;display:block;margin-top:6px}.cell-actions{display:flex;gap:4px;align-items:center;justify-content:flex-end;white-space:nowrap}.cell-actions form{display:inline-flex}.cell-actions .btn{min-height:36px}.empty{padding:35px;text-align:center;color:#8d9baa}.pager{margin-top:20px;display:flex;justify-content:space-between;align-items:center;gap:10px;color:#8897a4;font-size:11px}.pager-controls{display:flex;gap:9px;align-items:center}.pager select{font-size:11px;border:1px solid #e4e9ef;border-radius:8px;background:#fff;padding:8px}.form-panel{width:100%;max-width:none}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;min-width:0}.field>span{font-weight:750;color:#3b5062}.field input:not([type=checkbox]):not([type=color]),.field textarea,.field select,td input,td select{width:100%;border:1px solid #dfe6ee;border-radius:9px;min-height:43px;padding:10px 13px;outline:none;background:#fff;color:#203c52;transition:border-color .1s,box-shadow .1s}.field input:focus,.field select:focus,.field textarea:focus,td input:focus,td select:focus{border-color:#b79a61;box-shadow:0 0 0 3px #bda06a25}.field textarea{resize:vertical;min-height:100px}.field input[type=file]{border:1px dashed #c8d3dc!important;padding:14px!important}.field-check{flex-direction:row;align-items:center;gap:10px;align-self:center;margin-top:21px}.field-check input{accent-color:#244d69;width:17px;height:17px}.form-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:23px}.section-title{margin:32px 0 8px}.help{font-size:12px;color:#82919f}.step-heading{display:flex;gap:15px;align-items:center;margin:0 0 25px}.step-heading>span{height:40px;width:40px;border-radius:11px;background:linear-gradient(140deg,#ecdbb7,#b89557);color:#143047;font-size:16px;font-weight:800;display:grid;place-items:center}.step-heading h2{margin:0}.step-heading p{margin:3px 0 0;color:var(--muted);font-size:12px}.quote-rows{display:flex;flex-direction:column;gap:12px;margin-bottom:18px}.quote-row{border:1px solid #e6eaf0;border-radius:13px;padding:16px;background:#fbfcfd}.quote-row-title{display:flex;align-items:center;justify-content:space-between;color:#8b99a6;font-size:11px;font-weight:800;margin-bottom:10px}.quote-line-grid{grid-template-columns:2fr 1fr 1fr}.quote-line-grid .span-2{grid-column:span 1}.line-price{font-size:11px;color:#6e8496;margin-top:12px}.quote-summary{text-align:right;border-top:1px solid var(--line);margin-top:20px;padding-top:20px;color:#18374d;font-weight:800;font-size:20px}.detail-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:-14px;margin-bottom:21px}.detail-actions .muted{margin-right:auto}.totals{margin:16px 0 0 auto;max-width:330px}.totals>div{display:flex;justify-content:space-between;padding:8px 0;color:#768797;font-size:12px}.totals strong{color:#15334b}.totals .grand-total{border-top:1px solid #dfe6eb;margin-top:6px;font-size:17px;font-weight:800;color:#18364c;padding-top:16px}.totals .grand-total strong{font-size:20px;color:#b28a45}.version-row{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid var(--line);font-size:11px}.version-row span:first-child{flex:1}.version-row small{display:block;margin-top:4px}.version-row:last-child{border-bottom:0}.signature-preview{margin-top:16px}.signature-preview img{border:1px solid #eee;background:white;border-radius:8px;max-height:110px}.correspondence{border-bottom:1px solid var(--line);padding:16px 0}.correspondence strong,.correspondence small{display:block}.correspondence small{font-size:10px;margin-top:5px}.correspondence p{margin:10px 0;font-size:12px;color:#536e82;white-space:pre-wrap}.metric-inline{padding:14px;background:#f8fafb;border-radius:10px;margin:15px 0}.metric-inline strong{display:block;font-size:25px}.metric-inline small{display:block;font-size:10px;margin-top:4px}.company-logo img{max-height:130px}.flash{background:#e7f5ee;color:#237452;border:1px solid #bfe3d0;border-radius:11px;padding:15px 20px;margin-bottom:20px}.flash.warning{background:#fff6e9;color:#946d30;border-color:#efd9b4}.flash.error{background:#ffecee;color:#ac3442;border-color:#f9c8cc}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(circle at top left,#315778,#0d2439 65%)}.auth-card{width:min(100%,460px);background:white;border-radius:22px;box-shadow:0 25px 100px #0004;padding:42px}.auth-brand{width:245px;display:block;margin:0 auto 24px}.auth-card h1{font-size:26px}.auth-card .stack{margin-top:25px}.auth-card .btn-block{margin-top:7px}.main-public{margin:0;padding:0;width:100%}.public-wrap{max-width:640px;margin:45px auto;padding:0 18px}.public-brand{display:flex;justify-content:center;margin-bottom:27px}.public-brand img{width:190px}.public-card{padding:38px}.public-card h1{font-size:27px}.offer-amount{font-size:35px;font-weight:800;color:#b38d48;padding:24px 0}.offer-amount small{display:block;font-size:12px;font-weight:500;margin-top:5px}.offer-info{display:flex;flex-wrap:wrap;gap:12px;color:#6e8595;padding-bottom:20px}.public-card hr{border:0;border-top:1px solid var(--line);margin:27px 0}.response-buttons{display:flex;flex-wrap:wrap;gap:10px}.public-foot{text-align:center;margin:24px 0;font-size:11px;color:#879baa}.signature-area{margin-top:18px}.signature-area canvas{touch-action:none;width:100%;height:auto;border:2px dashed #b5c4d0;border-radius:10px;background:#fff;cursor:crosshair}.expired-icon,.success-icon{font-size:46px;color:#ad8e57;margin-bottom:18px}.success-icon{color:#24845c}.error-panel{max-width:620px;margin:10vh auto}.menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:25px}.menu-grid a{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px;min-height:80px;font-weight:750}.menu-grid a>.fa-solid:first-child{font-size:18px;color:#b18c50}.menu-grid a>.fa-solid:last-child{margin-left:auto;font-size:11px;color:#98a6b4}.modal{border:0;background:transparent;padding:0;width:min(450px,calc(100vw - 25px));max-width:none;box-shadow:none}.modal::backdrop{background:#091d31a9;backdrop-filter:blur(4px)}.modal-card{background:white;border-radius:18px;padding:26px;box-shadow:0 25px 70px #0004}.modal-card p{color:#708496}.modal-card .actions{display:flex;justify-content:flex-end;gap:8px}.modal-card input{width:100%;border:1px solid #dfe6ee;border-radius:9px;padding:13px;margin:10px 0}.editor{border:1px solid #dfe6ee;border-radius:10px;overflow:hidden}.editor-tools{background:#f8fafb;border-bottom:1px solid #e6e9ed;display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:8px}.editor-tools button{border:0;border-radius:6px;padding:8px;min-width:32px;background:white;color:#31516c}.editor-tools button:hover{background:#e8eef3}.editor-tools input[type=color]{height:31px;width:34px;background:white;border:1px solid #ddd;border-radius:5px}.editor-area{outline:0;min-height:140px;padding:13px;font-size:13px;line-height:1.55}.editor-area h2{font-size:19px}.editor-area h3{font-size:16px}.editor-area a{color:#2d5ec1;text-decoration:underline}.editor-area p{margin-bottom:10px}
@media(min-width:1600px){.main{padding-left:70px;padding-right:70px}.stats{gap:24px}.two-cols{gap:26px}.panel{padding:30px}}
@media(max-width:1190px){.sidebar{width:215px}.main{width:calc(100% - 215px);margin-left:215px;padding:33px 26px 70px}.stats{grid-template-columns:repeat(2,1fr)}.two-cols{grid-template-columns:minmax(0,1fr)}.brand{margin-left:17px;margin-right:17px}}
@media(max-width:760px){body{font-size:13px}.sidebar{display:none}.mobile-top{display:flex;align-items:center;gap:10px;position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid #e8edf2;padding:8px 17px;height:61px;box-shadow:0 3px 15px #18354b0b}.mobile-top img{width:76px;height:41px;object-fit:contain}.mobile-top strong{margin:auto;font-size:14px;color:#14344d}.mobile-top .icon-btn{background:#e8f0f6;color:#17374f}.bottom-nav{display:flex;position:fixed;z-index:25;left:0;right:0;bottom:0;justify-content:space-around;background:white;border-top:1px solid #e6edf2;padding:8px 4px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -5px 24px #17354b10}.bottom-nav .nav-link{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;padding:6px 8px;min-width:56px;border-radius:9px;color:#8c9aa6}.bottom-nav .nav-link .fa-solid{font-size:19px}.bottom-nav .nav-link:nth-child(3) .fa-solid{font-size:28px;color:#b99557}.bottom-nav .nav-link:nth-child(3){font-weight:800;color:#1d3a53}.main{width:100%;margin-left:0;padding:22px 15px calc(108px + env(safe-area-inset-bottom))}.page-heading{margin-bottom:22px;align-items:flex-start}.page-heading h1{font-size:26px}.page-heading p{font-size:12px}.page-heading .btn{font-size:0;width:44px;padding:10px}.page-heading .btn .fa-solid{font-size:15px}.welcome{padding:27px 23px;border-radius:16px;flex-direction:column;align-items:flex-start;gap:20px}.welcome h1{font-size:27px}.welcome p{font-size:12px}.welcome .btn{align-self:stretch}.stats{gap:10px;margin-bottom:17px}.stat-card{padding:17px;border-radius:13px}.stat-value{font-size:20px}.stat-icon{margin-bottom:15px;height:32px;width:32px}.stat-label{font-size:10px;line-height:1.35}.panel{padding:17px;border-radius:14px}.two-cols{gap:16px}.form-grid{grid-template-columns:1fr;gap:15px}.quote-line-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-line-grid .span-2{grid-column:span 2}.quote-summary{font-size:18px}.form-panel{padding:20px 16px}.detail-actions .muted{flex-basis:100%}.table-wrap{margin:0 -10px;width:calc(100% + 20px)}th,td{padding:12px 10px}.cell-actions .btn{padding:6px}.pager{align-items:flex-start}.pager-controls{flex-wrap:wrap;justify-content:flex-end}.searchbar{gap:6px}.searchbar label{min-width:0;flex:1}.searchbar .btn{padding:10px 11px}.public-wrap{margin:24px auto}.public-card{padding:23px}.public-card h1{font-size:23px}.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.menu-grid a{padding:14px;gap:9px}.menu-grid a>.fa-solid:last-child{display:none}.auth-wrap{padding:16px}.auth-card{padding:29px 23px}.activity-value{font-size:11px}.quick-panel{padding-bottom:20px}}
@media(max-width:385px){.stats{grid-template-columns:1fr 1fr}.stat-card{padding:13px}.stat-value{font-size:18px}.page-heading h1{font-size:22px}.btn{padding:11px 12px}.public-card{padding:18px}.detail-actions{gap:6px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

.item-name{display:flex;align-items:center;gap:10px}.item-thumb{width:40px;height:40px;object-fit:cover;border-radius:8px;border:1px solid #e4eaf0;flex:none}.filter-row form,.filter-row select{border:1px solid #dce5ed;border-radius:9px;background:white;padding:10px;font-size:12px;color:#536f80}.filter-row select{max-width:220px}.filter-row>button{min-height:38px}.filter-row{align-items:center}

.response-history{border-top:1px solid #e9edf1;margin-top:20px;padding-top:18px}.response-entry{padding:13px 0;border-bottom:1px solid #edf0f4}.response-entry>strong{display:block;color:#274c69;font-size:12px}.response-entry>small{display:block;font-size:10px;color:#7b8d9b;margin-top:5px}

/* 1.1.0: full-width master-data / quote forms and consistent delivery address / CSV controls. */
.stack,.stack>.panel,.form-panel,.form-panel>.stack{min-width:0;width:100%}
.shipping-section{border-top:1px solid var(--line);padding-top:5px;margin-top:18px}
.shipping-section .section-title{margin:16px 0 9px}
.shipping-switch{margin:0 0 20px;align-self:flex-start;font-weight:700}
.shipping-fields[hidden]{display:none!important}
.address-detail{border-top:1px solid var(--line);margin-top:20px;padding-top:17px}
.address-detail h3{margin-bottom:7px}
.country-import{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:20px;margin-bottom:21px}
.country-import>div{flex:1 1 300px}
.country-import h2{margin-bottom:6px}
.country-import p{font-size:12px;margin-bottom:0}
.country-import-form{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.country-import-form input[type=file]{max-width:320px;font-size:12px}
@media(max-width:760px){.country-import-form,.country-import-form input[type=file]{width:100%}.country-import-form .btn{width:100%}}

/* 1.1.5 – letter templates and shared editor, aligned with app palette. */
.editor-tools button.active,.editor-tools button[aria-pressed="true"]{background:#1d405b;color:#fff;box-shadow:inset 0 0 0 1px #1d405b}
.editor-tools button:focus-visible,.editor-tools input[type=color]:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.letter-section{border:1px solid #e4e9ef;border-radius:13px;padding:18px;background:#fcfdfe;margin-bottom:24px}
.letter-section h2{margin-bottom:7px}.letter-section .field{margin-bottom:10px}
.letter-section .editor-area{min-height:250px;background:white;overflow-wrap:break-word}
.letter-preview{overflow-wrap:anywhere;font-size:13px;line-height:1.35}.letter-preview ul,.letter-preview ol{padding-left:23px}.letter-preview a{color:#285c9e;text-decoration:underline}
@media(max-width:640px){.letter-section{padding:12px}.editor-tools{gap:3px}.editor-tools button{min-width:34px;min-height:35px}.editor-area{min-height:195px}}

/* Keep additional master-data sections reachable on smaller laptop displays. */
.sidebar{overflow-y:auto;overscroll-behavior:contain}
.sidebar-bottom{flex-shrink:0}

/* 1.1.6: unified placeholder reference, grouped article rows and mobile vertical record cards. */
.placeholder-reference{border:1px solid var(--line);background:#f9fbfd;border-radius:10px;margin:9px 0 18px;padding:12px 14px;color:var(--ink)}
.placeholder-reference summary{cursor:pointer;font-weight:700;line-height:1.5}
.placeholder-reference summary .fa-solid{color:var(--gold);margin-right:6px}
.placeholder-reference .help{margin:12px 0;color:var(--muted);font-size:12px}
.placeholder-group{margin-top:13px}.placeholder-group>strong{font-size:12px}
.placeholder-chips{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}
.placeholder-chips>.placeholder-token{background:white;border:1px solid var(--line);padding:7px 9px;border-radius:8px;display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap}
.placeholder-chips>.placeholder-token:hover{border-color:var(--gold);background:#fffaf0}.placeholder-feedback{min-height:1em;font-size:11px;color:#31536c;margin:8px 0 0}.placeholder-chips code{font-size:11px;overflow-wrap:anywhere;color:#204d74}.placeholder-chips small{font-size:10px;color:var(--muted)}
.table-group td{background:#eaf0f5!important;color:#1e4057;font-weight:700;padding:12px 15px!important}
.table-group .fa-solid{color:var(--gold);margin-right:8px}
.group-selector{margin:0;min-width:170px}.group-selector span{font-size:11px}
[hidden]{display:none!important}
@media(max-width:760px){
  /* Every page heading action retains readable text; 'Neu' is centralized in the two mobile nav bars. */
  .page-heading{display:flex;flex-wrap:wrap;gap:12px}
  .page-heading>div:first-child{flex:1 1 100%;min-width:0}
  .heading-actions{width:100%;display:flex;flex-wrap:wrap;gap:8px}
  .heading-actions .btn{font-size:12px;width:100%;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;white-space:normal}
  .heading-actions .btn .fa-solid{font-size:14px}
  .heading-actions .btn[data-create-action]{display:none}
  .mobile-top strong{min-width:0;flex:1;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mobile-top [data-context-create]{flex-shrink:0;min-width:44px;min-height:42px;display:flex;align-items:center;justify-content:center}
  .menu-grid a{min-width:0;overflow-wrap:anywhere;hyphens:auto;align-items:center}
  .menu-grid a span{min-width:0;overflow-wrap:anywhere;line-height:1.35}
  /* Apply the vertical presentation to ALL existing .table-wrap tables, including price entry forms. */
  .table-wrap{width:100%;margin:0;overflow-x:visible;min-width:0}
  .table-wrap table{width:100%!important;min-width:0!important;display:block;border-collapse:separate}
  .table-wrap thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
  .table-wrap tbody{display:block;width:100%;min-width:0}
  .table-wrap tbody tr{display:block;width:100%;min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;margin:0 0 13px;overflow:hidden;box-shadow:0 3px 12px #17354b08}
  .table-wrap tbody td{display:grid;grid-template-columns:minmax(82px,34%) minmax(0,1fr);gap:8px;align-items:start;width:100%!important;min-width:0;max-width:100%;box-sizing:border-box;white-space:normal!important;text-align:left!important;padding:11px 12px;border:0;border-bottom:1px solid #edf0f3;overflow-wrap:anywhere}
  .table-wrap tbody td:last-child{border-bottom:0}
  .table-wrap tbody td[data-label]::before{content:attr(data-label);font-size:11px;font-weight:700;color:#698093;line-height:1.5;overflow-wrap:anywhere}
  .table-wrap tbody td[data-label=""]::before{content:"Details"}
  .table-wrap tbody td.table-wide-cell{display:block}
  .table-wrap tbody td.table-wide-cell::before{content:none}
  .table-wrap tbody td .cell-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-width:0}
  .table-wrap tbody td.cell-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
  .table-wrap tbody td.cell-actions::before{flex:0 0 32%}
  .table-wrap tbody td input,.table-wrap tbody td select,.table-wrap tbody td textarea{max-width:100%;width:100%;min-width:0;box-sizing:border-box}
  .table-wrap tbody td .btn{font-size:12px;padding:8px 11px;white-space:normal}
  .table-wrap tbody td .item-name{min-width:0;overflow-wrap:anywhere}
  .table-wrap tbody td .item-name strong{min-width:0;overflow-wrap:anywhere}
  .table-wrap tbody tr.table-group{border:none;background:transparent;box-shadow:none;margin:17px 0 7px}
  .table-wrap tbody tr.table-group td{padding:10px 12px!important;border-radius:9px}
  .table-wrap tbody tr.table-group td::before{content:none}
  .table-wrap tbody tr .empty{text-align:center!important}
  .filter-row{flex-wrap:wrap}.filter-row .group-selector{flex:1 1 190px}.filter-row select{max-width:100%}
}
