.quotation-document{overflow-wrap:anywhere;min-width:0;color:var(--foreground);background:var(--background)}.quote-brand{border-bottom:1px solid var(--border);padding:20px 28px;font-weight:600}.quote-header{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:24px;padding:28px;display:flex}.quote-header h1{letter-spacing:-.02em;font-size:26px;font-weight:600}.quote-number{color:var(--muted-foreground)}.quote-status{margin-top:8px}.quote-dates{grid-template-columns:auto 1fr;gap:4px 16px;margin-top:16px;font-size:13px;display:grid}.quote-dates dt,.quote-detail{color:var(--muted-foreground)}.quote-amount{text-align:right;margin-left:auto}.quote-amount strong{font-variant-numeric:tabular-nums;font-size:32px;font-weight:600;display:block}.quote-amount span{color:var(--muted-foreground);font-size:12px}.quote-parties{border-bottom:1px solid var(--border);grid-template-columns:1fr 1fr;gap:24px;padding:24px 28px;display:grid}.quotation-document h2{color:var(--muted-foreground);margin-bottom:8px;font-size:12px;font-weight:600}.quote-parties address{font-style:normal}.quote-lines{padding:8px 20px 0}.quote-lines table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:13px}.quote-lines th{text-align:left;color:var(--muted-foreground);font-size:12px;font-weight:500}.quote-lines th,.quote-lines td{border-bottom:1px solid var(--border);vertical-align:top;padding:14px 8px}.quote-lines th:first-child{width:24%}.quote-lines th:last-child,.quote-lines td:last-child{text-align:right}.quote-detail{margin-top:4px;font-size:12px}.quote-warning{margin-top:6px;font-size:12px;font-weight:500}.quote-instructions,.quote-appendices{padding:20px 28px}.quote-totals{font-variant-numeric:tabular-nums;justify-content:flex-end;padding:20px 28px 28px;display:flex}.quote-totals dl{width:min(100%,320px)}.quote-totals dl>div{justify-content:space-between;gap:16px;padding:5px 0;display:flex}.quote-totals .quote-total{border-top:1px solid var(--border);margin-top:8px;padding-top:12px;font-size:18px;font-weight:700}.quote-next{background:var(--muted);border-radius:12px;margin:0 28px 24px;padding:18px}.quote-next ol{grid-template-columns:repeat(3,1fr);gap:16px;font-size:13px;display:grid}.quote-next li{align-items:flex-start;gap:10px;display:flex}.quote-next li>span{background:var(--background);border:1px solid var(--border);border-radius:50%;flex-shrink:0;place-items:center;width:26px;height:26px;display:grid}.quote-controls{padding:0 28px 24px}.quote-controls>*+*{margin-top:20px}.quote-controls section p>[data-slot=button]{white-space:normal;max-width:100%}.quote-terms{border-top:1px solid var(--border);margin:0 28px;padding:18px 0}.quote-terms summary{cursor:pointer;padding:10px 0;font-weight:600;line-height:24px}.quote-terms p{color:var(--muted-foreground);margin-top:12px;font-size:13px}.quote-footer{text-align:center;color:var(--muted-foreground);padding:16px 28px 24px;font-size:11px}.quote-action-bar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.quote-action-total{display:none}@media (width<=640px){.quote-brand,.quote-header,.quote-parties,.quote-instructions,.quote-appendices,.quote-totals,.quote-footer{padding-left:16px;padding-right:16px}.quote-header{padding-top:20px}.quote-amount{text-align:left;border-top:1px solid var(--border);width:100%;margin-left:0;padding-top:12px}.quote-parties{grid-template-columns:1fr;gap:18px}.quote-lines{padding:0 16px}.quote-lines table,.quote-lines tbody{display:block}.quote-lines thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.quote-lines tr{border-bottom:1px solid var(--border);grid-template-columns:1fr 1fr;gap:12px 16px;padding:18px 0;display:grid}.quote-lines td{border:0;padding:0;display:block}.quote-lines td:first-child{grid-column:1/-1;font-size:15px}.quote-lines td:not(:first-child):before{content:attr(data-label);color:var(--muted-foreground);margin-bottom:3px;font-size:11px;display:block}.quote-lines td:last-child{text-align:left}.quote-lines tr.quote-discount-row{grid-template-columns:1fr auto}.quote-lines .quote-discount-row td:first-child{grid-column:auto}.quote-lines .quote-discount-row td:last-child{text-align:right}.quote-lines .quote-discount-row td:last-child:before{display:none}.quote-totals dl{width:100%}.quote-next{margin:0 16px 24px}.quote-next ol{grid-template-columns:1fr}.quote-controls{padding:0 16px 24px}.quote-terms{margin:0 16px}.customer-quotation{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.quote-action-bar{z-index:30;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--background);border-top:1px solid var(--border);position:fixed;inset:auto 0 0;box-shadow:0 -4px 16px #0000000a}.quote-action-total{color:var(--muted-foreground);font-size:11px;display:block}.quote-action-total strong{color:var(--foreground);font-size:16px;display:block}.quote-action-bar button{white-space:normal;flex:1;height:auto;min-height:44px}}@media print{@page{size:A4;margin:14mm}html,body,#root{background:#fff;height:auto;overflow:visible}body{color:#000}.quotation-document{--background:white;--foreground:#18181b;--muted:#f4f4f5;--muted-foreground:#52525b;--border:#d4d4d8}.customer-quotation{border:0;border-radius:0;padding:0}.quote-controls,.quote-action-bar,.quote-preview-banner{display:none}.quote-lines table{display:table}.quote-lines thead{clip-path:none;width:auto;height:auto;display:table-header-group;position:static}.quote-lines tbody{display:table-row-group}.quote-lines tr{break-inside:avoid;display:table-row}.quote-lines td{border-bottom:1px solid var(--border);padding:12px 8px;display:table-cell}.quote-lines td:before{display:none}.quote-parties{grid-template-columns:1fr 1fr}.quote-next ol{grid-template-columns:repeat(3,1fr)}.quote-header,.quote-parties,.quote-totals,.quote-next{break-inside:avoid}.quote-terms-content{display:block}.quote-terms::details-content{content-visibility:visible;height:auto;display:block}}
