/* Shared portal form and quote cards: match the CRM registration controls. */
.portal-request162{padding:24px!important;font-size:14px;line-height:1.5}
.portal-request162 h2,.portal-quotes163 h2{margin:0 0 10px;font-size:20px;font-weight:700}
.portal-request162>p{color:#64748b;margin:0 0 24px}
.portal-request162 label{display:flex;flex-direction:column;gap:8px;margin:0;color:#30343a;font-size:14px;font-weight:600;min-width:0}
.portal-request162 :is(input,select){box-sizing:border-box;display:block;width:100%;min-width:0;min-height:44px;margin:0;border:1px solid #d4d9e0;border-radius:9px;background:#fff;color:#30343a;padding:10px 12px;font-weight:400;font-size:14px;line-height:1.5;font-family:inherit;box-shadow:none}
.portal-request162 :is(input,select):focus-visible{outline:2px solid #d51b2f;outline-offset:2px}
.portal-request162 :is(input,select):disabled{background:#f5f6f8;color:#64748b}
.portal-request162 input[type=number]{min-width:100px;max-width:140px}
.portal-request162 button{min-height:44px;border-radius:9px;padding:10px 18px;font-size:14px;font-weight:600;line-height:1.5;white-space:normal;cursor:pointer}
.portal-request162 .request-select163{display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:12px 20px;padding:20px;margin:24px 0;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}
#request-quotes.request-select163{grid-template-columns:minmax(260px,1fr) auto}
#request-quotes.request-select163>label{grid-column:1/-1}
.portal-request162 .request-lines163{border:1px solid #e2e8f0;border-radius:12px;margin:20px 0;overflow:hidden}
.portal-request162 .table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:#f8fafc}
.portal-request162 h3{font-size:16px;margin:20px 0 12px}
.portal-request162 .table-toolbar h3{margin:0}
.portal-request162 table{min-width:600px;width:100%;border-collapse:collapse}
.portal-request162 :is(th,td){padding:14px 18px;text-align:left;border-bottom:1px solid #e5e9ee;font-size:14px}
.portal-request162 th{background:#f8fafc;color:#64748b;font-weight:600}
.portal-request162 :is(.request-reference163,#portal-order-form>label){margin-top:24px;max-width:760px}
.portal-request162 :is(.request-total163,#portal-order-form>p:has(#request-total)){display:flex;justify-content:space-between;align-items:center;gap:20px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:20px;margin:24px 0;font-size:16px;color:#334155}
.portal-request162 :is(#request-total162,#request-total){color:#b5132b;font-size:24px;font-weight:800}
.portal-request162 button:disabled{opacity:.55;cursor:not-allowed}
.portal-quotes163 .portal-quote-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0}
.portal-quotes163 .portal-quote-card{background:white;border:1px solid #e2e8f0;border-radius:14px;padding:22px;display:flex;flex-direction:column;gap:16px;min-width:0;box-shadow:0 2px 5px #17203306}
.portal-quotes163 .portal-quote-card header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#64748b}
.portal-quotes163 .portal-quote-card .badge{background:#f1f5f9;border-radius:6px;padding:5px 8px;color:#475569;font-size:11px;white-space:normal}
.portal-quotes163 .portal-quote-card h3{margin:0;color:#b5132b;font-size:18px;line-height:1.4;overflow-wrap:anywhere}
.portal-quotes163 .portal-quote-card dl{display:grid;gap:12px;margin:0}
.portal-quotes163 .portal-quote-card dl>div{display:grid;grid-template-columns:minmax(85px,.85fr) minmax(0,1.15fr);gap:12px;padding-top:12px;border-top:1px solid #edf1f5;font-size:14px;line-height:1.5}
.portal-quotes163 .portal-quote-card dt{color:#64748b;font-weight:400}
.portal-quotes163 .portal-quote-card dd{margin:0;text-align:right;color:#243449;font-weight:600;overflow-wrap:anywhere}
@media(max-width:1100px){.portal-quotes163 .portal-quote-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.portal-quotes163 .portal-quote-grid{grid-template-columns:1fr}.portal-request162 .request-select163,#request-quotes.request-select163{grid-template-columns:1fr}.portal-request162{padding:18px!important}.portal-request162 .table-toolbar{flex-wrap:wrap}}
.document-panel170 .document-tabs170{margin:22px 0;display:flex;gap:14px}.document-panel170 .document-categories170{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.document-panel170 .document-category170{display:flex;flex-direction:column;gap:14px;align-items:flex-start;text-align:left;background:white;color:#243449;border:1px solid #dfe4eb;border-radius:12px;padding:24px;box-shadow:0 3px 12px #19253608;cursor:pointer;font:inherit}.document-panel170 .document-category170 span{font-size:13px;color:#667085}.document-panel170 .document-category170.selected{border-color:#be1230;background:#fff5f7}.document-panel170 .document-tabs170 button.active{color:#be1230;border-color:#be1230}.document-file170{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-bottom:1px solid #e5e9ee;overflow-wrap:anywhere}.document-file170 div{display:flex;gap:20px;flex-shrink:0}@media(max-width:850px){.document-panel170 .document-categories170{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.document-panel170 .document-categories170{grid-template-columns:1fr}.document-file170{align-items:flex-start;flex-direction:column}}
