/* AMSA ERP Rilis 3D.1 — Quotation Workspace Standard
   Isolated CSS. Only affects .amsa-quote-ws. */
.amsa-quote-ws{--q-blue:#17458f;--q-green:#0f8b73;--q-border:#d9e1ea;--q-muted:#64748b;--q-text:#172033;display:flex;flex-direction:column;gap:14px;min-height:calc(100dvh - 32px)}
.amsa-quote-head{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid #e4e9f1;border-radius:22px;padding:16px 20px;box-shadow:0 10px 28px rgba(15,23,42,.07)}
.amsa-quote-kicker{font-size:11px;line-height:1.2;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#667085;margin-bottom:4px}.amsa-quote-title{margin:0;font-size:26px;line-height:1.05;color:#111827;font-weight:800}.amsa-quote-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.amsa-quote-actions .btn{height:36px;min-height:36px;padding:0 14px;border-radius:12px;font-size:13px;line-height:1}
.amsa-quote-tabs{display:none;gap:8px}.amsa-quote-tab{height:34px;border:1px solid #d8e1ed;background:#fff;border-radius:999px;padding:0 14px;font-size:12px;font-weight:800;color:#334155}.amsa-quote-tab.active{background:#173f87;color:#fff;border-color:#173f87}
.amsa-quote-grid{display:grid;grid-template-columns:minmax(360px,.88fr) minmax(420px,1fr);gap:16px;align-items:start;min-height:0}.amsa-quote-form,.amsa-quote-preview{background:#fff;border:1px solid #e2e8f0;border-radius:22px;box-shadow:0 12px 30px rgba(15,23,42,.06);min-width:0}.amsa-quote-form{padding:16px;max-height:calc(100dvh - 190px);overflow:auto}.amsa-quote-section{border:1px solid #e4e9f1;border-radius:18px;background:#fbfdff;padding:14px;margin-bottom:14px}.amsa-quote-section h3{margin:0 0 12px;font-size:16px;line-height:1.2;color:#1f2937}.amsa-quote-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.amsa-quote-form-grid .full{grid-column:1/-1}.amsa-quote-ws .field label{font-size:12px;font-weight:800;color:#475467;margin-bottom:6px}.amsa-quote-ws .input{min-height:36px;height:36px;border-radius:11px;font-size:13px;padding:8px 12px}.amsa-quote-ws textarea.input{height:auto;min-height:72px}.amsa-quote-section-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.amsa-quote-category{display:flex;align-items:center;gap:6px;white-space:nowrap}.amsa-quote-category>span{font-size:12px;font-weight:800;color:#667085}.amsa-quote-chip{height:30px;border:1px solid #d8e1ed;background:#fff;border-radius:999px;padding:0 12px;font-size:12px;font-weight:800;color:#334155}.amsa-quote-chip.active{background:#173f87;color:#fff;border-color:#173f87}.amsa-quote-items{display:flex;flex-direction:column;gap:8px}.amsa-quote-item-row{display:grid;grid-template-columns:1.05fr 1.25fr .42fr .45fr .58fr 34px;gap:8px;align-items:start}.amsa-quote-item-row .btn{min-height:36px;height:36px;border-radius:10px;padding:0}.amsa-quote-add{height:34px;min-height:34px;padding:0 14px;border-radius:11px;font-size:12.5px;margin-top:10px}.amsa-quote-form-total{margin-top:10px;text-align:right;font-size:13px;font-weight:800;color:#173f87}
.amsa-quote-preview{overflow:hidden}.amsa-quote-preview-head{height:45px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #e7edf5}.amsa-quote-preview-head b{font-size:16px;color:#1f2937}.amsa-quote-preview-head span{font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#6b7280}.amsa-quote-preview-scroll{background:#f5f7fb;padding:14px;max-height:calc(100dvh - 235px);overflow:auto}.amsa-quote-paper{width:100%;max-width:760px;min-height:1075px;margin:0 auto;background:#fff;border:1px solid #d7dee8;box-shadow:0 14px 32px rgba(15,23,42,.12);box-sizing:border-box;padding:36px 38px 24px;color:#172033;font-size:11px;line-height:1.35;display:flex;flex-direction:column;transform-origin:top center}.amsa-quote-paper .q-header{display:grid;grid-template-columns:84px 1fr 150px;gap:14px;align-items:center;border-bottom:3px solid #d8a11d;padding-bottom:10px}.amsa-quote-paper .q-logo img{max-width:78px;max-height:48px}.amsa-quote-paper h1{font-size:17px;margin:0;color:#153763;line-height:1.05}.amsa-quote-paper p{margin:0}.amsa-quote-paper .q-company p{font-size:8.5px;color:#4b5563}.amsa-quote-paper .q-title{text-align:right}.amsa-quote-paper .q-title h2{font-size:27px;line-height:1;margin:0;color:#0f8b73}.amsa-quote-paper .q-title small{font-size:8.5px;font-weight:800;color:#334155}.amsa-quote-paper .q-grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.amsa-quote-paper .q-box{border:1px solid #d9e1ea;border-radius:8px;padding:10px;min-height:78px}.amsa-quote-paper .q-box h3{margin:0 0 7px;font-size:9px;letter-spacing:.12em;color:#374151}.amsa-quote-paper .q-meta{display:grid;grid-template-columns:70px 8px 1fr;gap:3px;font-size:9px}.amsa-quote-paper .q-alert{display:grid;grid-template-columns:110px 1fr 70px 1fr;gap:8px;align-items:center;background:#e9faf2;border-radius:6px;margin:12px 0 10px;padding:7px 10px;color:#0f766e;font-size:9px}.amsa-quote-paper table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:8.6px}.amsa-quote-paper th{background:#0f8b73;color:#fff;padding:6px 5px;border:1px solid rgba(255,255,255,.28);font-size:8px}.amsa-quote-paper td{padding:5px;border:1px solid #dfe6ee;vertical-align:top;word-break:normal;overflow-wrap:anywhere}.amsa-quote-paper .center{text-align:center}.amsa-quote-paper .right{text-align:right;white-space:nowrap}.amsa-quote-paper .c-no{width:7%}.amsa-quote-paper .c-desc{width:46%}.amsa-quote-paper .c-qty{width:9%}.amsa-quote-paper .c-unit{width:10%}.amsa-quote-paper .c-price{width:14%}.amsa-quote-paper .c-sub{width:14%}.amsa-quote-tail{margin-top:auto;padding-top:18px}.amsa-quote-paper .q-bottom{display:grid;grid-template-columns:1fr 220px;gap:12px}.amsa-quote-paper .q-terms{border:1px solid #d9e1ea;border-radius:8px;padding:9px;min-height:58px;font-size:8.8px}.amsa-quote-paper .q-terms ul{margin:4px 0 0 16px;padding:0}.amsa-quote-paper .q-summary{border:1px solid #d9e1ea;border-radius:8px;overflow:hidden}.amsa-quote-paper .q-summary .row{display:grid;grid-template-columns:1fr 1fr;padding:6px 8px;border-bottom:1px solid #e6edf5;font-size:8.8px}.amsa-quote-paper .q-summary .total-row{background:#e9faf2;color:#0f766e;font-weight:900}.amsa-quote-paper .q-sign{width:250px;border:1px solid #d9e1ea;border-radius:8px;margin-top:14px;padding:10px;text-align:center;font-size:9px}.amsa-quote-paper .q-sign span{display:block;margin-top:30px}.amsa-quote-paper .q-footer{border-top:2px solid #d8a11d;margin-top:14px;padding-top:8px;display:grid;grid-template-columns:1fr 1fr 2fr;gap:10px;color:#4b5563;font-size:8px}
@media (min-width:900px) and (max-width:1280px){.amsa-quote-grid{grid-template-columns:minmax(330px,.86fr) minmax(390px,1fr);gap:14px}.amsa-quote-head{padding:14px 18px;border-radius:20px}.amsa-quote-title{font-size:24px}.amsa-quote-form{padding:14px;max-height:calc(100dvh - 180px)}.amsa-quote-preview-scroll{padding:12px;max-height:calc(100dvh - 225px)}.amsa-quote-paper{max-width:680px;min-height:960px;padding:32px 34px 22px;font-size:10px}.amsa-quote-paper .q-title h2{font-size:24px}.amsa-quote-paper table{font-size:7.8px}.amsa-quote-paper th{font-size:7.4px;padding:5px 4px}.amsa-quote-paper td{padding:4px}.amsa-quote-form-grid{gap:10px}.amsa-quote-item-row{grid-template-columns:1fr 1.1fr .38fr .42fr .54fr 32px;gap:7px}}
@media (max-width:899px){.amsa-quote-head{padding:14px 16px;border-radius:18px}.amsa-quote-title{font-size:22px}.amsa-quote-tabs{display:flex}.amsa-quote-grid{grid-template-columns:1fr}.amsa-quote-ws[data-tab="form"] .amsa-quote-preview{display:none}.amsa-quote-ws[data-tab="preview"] .amsa-quote-form{display:none}.amsa-quote-form{max-height:none}.amsa-quote-preview-scroll{max-height:none}.amsa-quote-item-row{grid-template-columns:1fr 1fr}.amsa-quote-item-row .btn{width:100%}.amsa-quote-form-grid{grid-template-columns:1fr}.amsa-quote-section-line{align-items:flex-start;flex-direction:column}.amsa-quote-paper{min-height:980px;padding:24px 22px}.amsa-quote-paper .q-header{grid-template-columns:58px 1fr 104px}.amsa-quote-paper .q-title h2{font-size:20px}.amsa-quote-paper .q-bottom{grid-template-columns:1fr}.amsa-quote-paper .q-footer{grid-template-columns:1fr}}
