@import url("in2com-button.css?v=511d1");
@import url("in2com-form.css?v=511g1");
/* V435 staff-only quote hardware and Settings editor */
.v435-hardware{margin:22px 0;padding:17px;border:1px solid #bcdef1;border-radius:12px;background:#f4fbff}
.v435-hardware h2{margin:0 0 6px;color:#102b43}
.v435-hardware>p{margin:4px 0 15px;color:#496579}
.v435-hardware-line{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px;margin:10px 0;border:1px solid #cddfe9;background:white;border-radius:10px}
.v435-hardware-line-title{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}
.v435-hardware-line label{min-width:0;display:grid;gap:5px;font-size:13px;font-weight:600;color:#26465a}
.v435-hardware-line input,.v435-hardware-line select{box-sizing:border-box;width:100%;min-width:0;padding:8px;border:1px solid #9db4c1;border-radius:7px}
.v435-hardware-line button{border:0;background:transparent;color:#8d3441;text-decoration:underline;cursor:pointer}
#v435-hardware-settings .v435-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0;max-width:1000px}
#v435-hardware-settings .v435-editor label{display:grid;gap:6px}#v435-hardware-settings input{padding:10px;min-width:0;max-width:100%;box-sizing:border-box}
#v435-hardware-settings .v435-table{width:100%;border-collapse:collapse}#v435-hardware-settings td,#v435-hardware-settings th{text-align:left;padding:9px;border-bottom:1px solid #d8e4eb}
#v435-hardware-settings tr[data-v435-edit]{cursor:pointer}#v435-hardware-settings tr[data-v435-edit]:hover{background:#e9f5fd}
@media(max-width:720px){.v435-hardware-line,#v435-hardware-settings .v435-editor{grid-template-columns:1fr}}

/* V436: clear admin discovery and transparent hardware loading errors */
.v435-hardware .v436-staff-label{display:inline-block;vertical-align:middle;padding:4px 8px;border:1px solid #a5cfe4;border-radius:7px;color:#20587b;background:#e4f3fa;font-size:11px;font-weight:700;letter-spacing:.01em}
.v435-hardware [data-hw-retry]{margin-left:10px;padding:5px 11px;cursor:pointer}
/* V504 catalogue management, scoped to Products & Pricing. */
#v435-hardware-settings .v504-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:18px 0}
#v435-hardware-settings .v504-toolbar label{display:grid;gap:6px;font-weight:600;min-width:150px}
#v435-hardware-settings .v504-toolbar label:first-child{flex:1;min-width:200px}
#v435-hardware-settings .v504-toolbar input,#v435-hardware-settings select,#v435-hardware-settings textarea{box-sizing:border-box;border:1px solid #a9bfd0;border-radius:8px;padding:10px;background:#fff;color:#14344c;font:inherit;width:100%}
#v435-hardware-settings .v504-table-scroll{overflow:auto}#v435-hardware-settings .v435-table{min-width:660px}
#v435-hardware-settings .v435-table td{vertical-align:middle}#v435-hardware-settings .v435-table tr[data-v435-edit]:focus-visible{outline:2px solid #0876ab;outline-offset:-2px}
#v435-hardware-settings .v504-sort{background:none;color:inherit;border:0;padding:0;box-shadow:none;font:inherit;cursor:pointer}#v435-hardware-settings th[aria-sort=ascending] .v504-sort:after{content:' ↑'}#v435-hardware-settings th[aria-sort=descending] .v504-sort:after{content:' ↓'}
#v435-hardware-settings .v504-code{display:block;color:#526b80;font-size:.85em;margin-top:4px}#v435-hardware-settings .v504-loss{color:#a13232}
#v435-hardware-settings .v504-dialog{padding:0;border:1px solid #c7d9e8;border-radius:16px;max-height:90vh;width:min(760px,calc(100% - 24px));max-width:none;background:#fff;color:#14344c;box-shadow:0 18px 70px #16354e42}
#v435-hardware-settings .v504-dialog::backdrop{background:#19354a85}#v435-hardware-settings .v504-dialog form{display:flex;flex-direction:column;max-height:89vh;margin:0}
#v435-hardware-settings .v504-head,#v435-hardware-settings .v504-footer{display:flex;align-items:center;gap:10px;padding:18px 22px;background:#f4f8fb}#v435-hardware-settings .v504-head{justify-content:space-between;border-bottom:1px solid #d3e2ec}#v435-hardware-settings .v504-head h2{margin:4px 0 0}#v435-hardware-settings .v504-body{padding:20px 22px;overflow:auto}#v435-hardware-settings .v504-footer{border-top:1px solid #d3e2ec;flex-wrap:wrap}#v435-hardware-settings .v504-spacer{flex:1}#v435-hardware-settings .v504-dialog .v435-editor{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 18px;gap:14px}#v435-hardware-settings .v504-wide{grid-column:1/-1}#v435-hardware-settings .v504-check{display:flex;align-items:center;gap:9px}#v435-hardware-settings .v504-check input{width:auto}#v435-hardware-settings .v504-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;background:#edf5fa;padding:15px;border-radius:10px;margin-bottom:20px}#v435-hardware-settings .v504-metrics strong{display:block;font-size:1.35em;margin-top:6px}#v435-hardware-settings .v504-xero h3{margin:0 0 12px}#v435-hardware-settings .v504-xero p{font-size:.9em;color:#526b80}
@media(max-width:540px){#v435-hardware-settings .v504-dialog .v435-editor{grid-template-columns:1fr}#v435-hardware-settings .v504-metrics{gap:6px;padding:10px;font-size:.85em}#v435-hardware-settings .v504-body,#v435-hardware-settings .v504-footer,#v435-hardware-settings .v504-head{padding:13px}}
#v435-hardware-settings [hidden]{display:none!important}
#v435-hardware-settings .v504-dialog .v435-editor label.v504-check{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:9px}#v435-hardware-settings .v504-check input{margin:0;padding:0;flex:0 0 auto;min-width:0;width:18px;height:18px}

/* V503a: align catalogue form controls and keep validation inside the modal. */
#v435-hardware-settings .v504-dialog{width:min(800px,calc(100% - 24px));max-height:92vh;max-height:92dvh}
#v435-hardware-settings .v504-dialog form{max-height:91vh;max-height:91dvh;min-height:0}
#v435-hardware-settings .v504-head,#v435-hardware-settings .v504-footer{flex:0 0 auto}
#v435-hardware-settings .v504-body{min-height:0;overscroll-behavior:contain}
#v435-hardware-settings .v504-head small{font-size:12px;letter-spacing:.12em;font-weight:750;color:#54758d}
#v435-hardware-settings .v504-head h2{font-size:25px;line-height:1.2}

#v435-hardware-settings .v504-dialog .v435-editor{align-items:start;gap:18px 16px}
#v435-hardware-settings .v504-dialog label{display:grid;align-content:start;align-items:start;gap:6px;font-size:14px;font-weight:650;line-height:1.4;min-width:0}
#v435-hardware-settings .v504-dialog label small{font-size:12px;font-weight:400;line-height:1.45;color:#526b80}
#v435-hardware-settings .v504-dialog .v435-editor label.v504-check{align-items:center;min-height:28px}
#v435-hardware-settings .v504-dialog .v504-check input{accent-color:#086b9e}
#v435-hardware-settings .v504-xero{border:1px solid #d4e2ec;border-radius:12px;padding:16px;background:#f8fbfd}
#v435-hardware-settings .v504-xero p{margin:8px 0 0;line-height:1.5}

@media(max-width:540px){#v435-hardware-settings .v504-dialog .v435-editor{grid-template-columns:1fr;gap:14px}#v435-hardware-settings .v504-head h2{font-size:22px}#v435-hardware-settings .v504-footer{gap:8px}#v435-hardware-settings .v504-footer [data-save]{flex:1 1 auto}#v435-hardware-settings .v504-xero{padding:12px}}

/* V503b: shared quotation equipment editor. Keep catalogue Settings styling independent. */
#app .v503b-equipment{margin:18px 0;padding:clamp(12px,2vw,20px);background:#f2f8fc;border:1px solid #c4dceb;border-radius:12px}
#app .v503b-equipment h2{font-size:1.15rem;line-height:1.35;margin:0 0 6px}
#app .v503b-equipment>p{font-size:.92rem;line-height:1.5;margin:0 0 14px}
#app .v503b-equipment-line{display:grid;grid-template-columns:minmax(0,.8fr) repeat(2,minmax(0,1fr));align-items:start;gap:14px 12px;padding:clamp(12px,2vw,18px);margin:0 0 12px;border:1px solid #cbdbe7;border-radius:12px;background:#fff}
#app .v503b-equipment-line .v435-hardware-line-title{margin-bottom:0;gap:10px;align-items:center;min-height:36px}
#app .v503b-equipment-line .v435-hardware-line-title strong{font-size:1rem}


#app .v503b-equipment-line label{display:grid;grid-template-rows:auto auto;align-content:start;gap:6px;margin:0;font-size:.86rem;line-height:1.3;font-weight:650;color:var(--ink,#15354e);min-width:0}
#app .v503b-equipment-line .v503b-product,#app .v503b-equipment-line .v503b-description,#app .v503b-equipment-line .v503b-site,#app .v503b-equipment-line .v503b-product-hint{grid-column:1/-1}
#app .v503b-equipment-line input[type=number]{appearance:textfield;-moz-appearance:textfield;font-variant-numeric:tabular-nums}
#app .v503b-equipment-line input[type=number]::-webkit-inner-spin-button,#app .v503b-equipment-line input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#app .v503b-product-hint{margin:0;color:#526b80;font-size:.85rem;line-height:1.4}
#app .v503b-line-totals{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:1px solid #dce8ef;padding-top:12px}
#app .v503b-line-totals div{min-width:0;display:grid;gap:4px}
#app .v503b-line-totals span{font-size:.78rem;color:#526b80}
#app .v503b-line-totals strong{font-size:1rem;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}

@media(max-width:520px){#app .v503b-equipment-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}#app .v503b-equipment-line label:has(input[data-hw-key=qty]){grid-column:1/-1}#app .v503b-line-totals{gap:7px}#app .v503b-line-totals strong{font-size:.9rem}#app .v503b-equipment [data-hw-add]{width:100%}}

/* Equipment line layout: aligned single-line controls. */
#app .v503b-equipment-line :is(input,select){height:44px;padding-block:9px}
