.tbn-rpq{--rpq-ink:#203a59;--rpq-muted:#5d7894;--rpq-blue:#287fb8;--rpq-red:#c92333;position:relative;isolation:isolate;box-sizing:border-box;width:min(1240px,calc(100% - 24px));margin:18px auto;padding:22px;border-radius:32px;color:var(--rpq-ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;background-color:#dcecff;background-image:radial-gradient(ellipse at 8% 0%,rgba(255,255,255,.60),transparent 34%),radial-gradient(ellipse at 94% 18%,rgba(126,207,255,.25),transparent 36%),radial-gradient(ellipse at 72% 96%,rgba(207,190,255,.22),transparent 36%),linear-gradient(145deg,#eaf4ff,#e5edff);box-shadow:0 28px 70px rgba(32,68,108,.14)}
.tbn-rpq *{box-sizing:border-box}.tbn-rpq button,.tbn-rpq input,.tbn-rpq select{font:inherit}.tbn-rpq button{cursor:pointer}.tbn-rpq-head,.tbn-rpq-card,.tbn-rpq-quote{border:1px solid rgba(255,255,255,.36);background:linear-gradient(135deg,rgba(255,255,255,.42),rgba(255,255,255,.19) 55%,rgba(255,255,255,.28));box-shadow:0 22px 38px -14px rgba(35,70,112,.24),0 7px 16px rgba(38,77,123,.08),inset 0 1px 2px rgba(255,255,255,.52),inset 0 -3px 8px rgba(44,80,115,.04);backdrop-filter:blur(24px) saturate(165%);-webkit-backdrop-filter:blur(24px) saturate(165%)}
.tbn-rpq-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border-radius:24px;margin-bottom:18px}.tbn-rpq-brand{display:flex;align-items:center;gap:14px;min-width:0}.tbn-rpq-brand img{width:142px;max-height:48px;object-fit:contain}.tbn-rpq-brand span b,.tbn-rpq-brand span small{display:block}.tbn-rpq-brand span b{font-size:17px}.tbn-rpq-brand span small{margin-top:3px;color:var(--rpq-muted);font-size:12px}.tbn-rpq-demo{flex:none;padding:7px 11px;border:1px solid rgba(255,255,255,.48);border-radius:99px;background:rgba(255,255,255,.42);font-size:11px;font-weight:750;color:#75522b}
.tbn-rpq-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(370px,.9fr);gap:18px;align-items:start}.tbn-rpq-form-stack{display:grid;gap:14px;min-width:0}.tbn-rpq-card{min-width:0;padding:20px;border-radius:22px}.tbn-rpq-card-title{display:flex;align-items:center;gap:11px;margin:0 0 17px}.tbn-rpq-card-title>i{display:grid;place-items:center;width:32px;height:32px;border-radius:11px;background:rgba(66,153,207,.14);color:#246f9f;font-size:12px;font-weight:850;font-style:normal}.tbn-rpq-card-title span b,.tbn-rpq-card-title span small{display:block}.tbn-rpq-card-title span b{font-size:16px}.tbn-rpq-card-title span small{margin-top:2px;color:var(--rpq-muted);font-size:11px}
.tbn-rpq-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tbn-rpq-grid>label,.tbn-rpq-grid>div{display:grid;align-content:start;gap:6px;min-width:0;color:#355572;font-size:12px;font-weight:700}.tbn-rpq-grid small{display:block;color:#6f8499;font-size:10px;font-weight:500;line-height:1.45}.tbn-rpq-grid input,.tbn-rpq-grid select,.tbn-rpq-add-gift input{width:100%;height:43px;min-width:0;padding:0 12px;border:1px solid rgba(255,255,255,.57);border-radius:13px;background:rgba(255,255,255,.57);color:#203a59;box-shadow:0 5px 12px rgba(44,75,110,.07),inset 0 1px 2px rgba(255,255,255,.74);outline:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.tbn-rpq-grid input:focus,.tbn-rpq-grid select:focus,.tbn-rpq-add-gift input:focus{transform:translateY(-1px);border-color:#7db8df;background:rgba(255,255,255,.80);box-shadow:0 8px 17px rgba(39,108,158,.16),inset 0 1px 2px rgba(255,255,255,.82);outline:3px solid rgba(49,139,198,.22);outline-offset:1px}.tbn-rpq-wide{grid-column:1/-1}.tbn-rpq-hint{margin:12px 0 0;color:#6d8298;font-size:11px;line-height:1.5}.tbn-rpq-subcard{padding:13px;border:1px solid rgba(255,255,255,.36);border-radius:17px;background:linear-gradient(135deg,rgba(255,255,255,.37),rgba(255,255,255,.17));box-shadow:0 12px 22px rgba(35,70,112,.10),inset 0 1px 2px rgba(255,255,255,.50)}.tbn-rpq-label{display:block;margin-bottom:6px;color:#355572;font-size:12px;font-weight:700}.tbn-rpq-chips{display:flex;flex-wrap:wrap;gap:6px}.tbn-rpq-chips label{cursor:pointer}.tbn-rpq-chips input{position:absolute;opacity:0;pointer-events:none}.tbn-rpq-chips span{display:inline-flex;min-height:34px;align-items:center;padding:0 11px;border:1px solid rgba(255,255,255,.55);border-radius:99px;background:rgba(255,255,255,.45);color:#42647f;font-size:11px;font-weight:750;box-shadow:0 5px 10px rgba(35,70,112,.07),inset 0 1px 1px rgba(255,255,255,.58);transition:transform .18s ease,background .18s ease,box-shadow .18s ease}.tbn-rpq-chips input:checked+span{border-color:rgba(72,157,207,.48);background:linear-gradient(135deg,rgba(218,239,253,.88),rgba(187,222,245,.72));color:#174f78;box-shadow:0 8px 16px rgba(47,119,176,.13),inset 0 1px 2px rgba(255,255,255,.72)}.tbn-rpq-summary{margin-top:13px;padding-top:5px}.tbn-rpq-summary>div{display:flex;justify-content:space-between;gap:10px;padding:7px 2px;border-bottom:1px dashed rgba(76,112,146,.20);font-size:12px}.tbn-rpq-summary>div:last-child{border-bottom:0}.tbn-rpq-summary b{font-variant-numeric:tabular-nums;text-align:right}.tbn-rpq-table-wrap{width:100%;overflow-x:auto;margin-top:13px;border:1px solid rgba(255,255,255,.42);border-radius:14px;background:rgba(255,255,255,.24)}.tbn-rpq-rates{width:100%;border-collapse:collapse;font-size:11px}.tbn-rpq-rates th{padding:8px 9px;text-align:left;color:#315d83;background:rgba(222,239,252,.50)}.tbn-rpq-rates td{padding:7px 9px;border-top:1px solid rgba(255,255,255,.36);white-space:nowrap}.tbn-rpq-rates tr.is-active{background:rgba(215,238,252,.40)}.tbn-rpq-rates input[type=number]{width:76px;height:32px;padding:0 6px;border:1px solid rgba(255,255,255,.58);border-radius:9px;background:rgba(255,255,255,.62);text-align:right;color:#203a59}.tbn-rpq-gifts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tbn-rpq-gift{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid rgba(255,255,255,.46);border-radius:13px;background:linear-gradient(135deg,rgba(255,255,255,.42),rgba(255,255,255,.22));box-shadow:0 6px 12px rgba(35,70,112,.07),inset 0 1px 1px rgba(255,255,255,.58);font-size:12px;font-weight:700;color:#31536f}.tbn-rpq-gift input{margin:2px 0 0;accent-color:#227ab4}.tbn-rpq-add-gift{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.tbn-rpq-btn{min-height:40px;padding:8px 13px;border:1px solid rgba(255,255,255,.38);border-radius:13px;background:linear-gradient(135deg,#41a9e5,#207bbd);color:#fff!important;font-size:12px;font-weight:800;box-shadow:0 10px 20px rgba(24,99,154,.22),inset 0 1px 2px rgba(255,255,255,.42);transition:transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .18s ease,filter .18s ease;-webkit-tap-highlight-color:transparent}.tbn-rpq-btn-light{border-color:rgba(255,255,255,.48);background:linear-gradient(135deg,rgba(255,255,255,.76),rgba(255,255,255,.40));color:#245b83!important;box-shadow:0 7px 16px rgba(38,77,123,.09),inset 0 1px 2px rgba(255,255,255,.58)}.tbn-rpq-btn:focus-visible,.tbn-rpq-card button:focus-visible{outline:3px solid rgba(49,139,198,.52);outline-offset:2px}.tbn-rpq-preview{position:sticky;top:20px;min-width:0}.tbn-rpq-toolbar{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:10px;color:#203a59;font-size:14px}.tbn-rpq-toolbar>div{display:flex;gap:6px}.tbn-rpq-toolbar .tbn-rpq-btn{min-height:36px;padding:6px 10px}.tbn-rpq-quote{position:relative;overflow:hidden;padding:25px 25px 20px;border-radius:21px;background:linear-gradient(135deg,rgba(255,255,255,.76),rgba(255,255,255,.56) 56%,rgba(240,248,255,.63));color:#233b56}.tbn-rpq-quote:before{position:absolute;z-index:-1;top:-135px;right:-140px;width:260px;height:260px;border-radius:50%;background:rgba(117,185,227,.15);content:""}.tbn-rpq-quote-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:14px;border-bottom:1px solid rgba(95,129,160,.23);font-size:10px;line-height:1.5;text-align:right;color:#56718b}.tbn-rpq-quote-head img{width:130px;max-height:45px;object-fit:contain}.tbn-rpq-quote>h2{margin:18px 0 2px;color:#203a59;font-size:22px}.tbn-rpq-quote>small{color:#788da2;font-size:10px}.tbn-rpq-car{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px 0;border-bottom:1px solid rgba(95,129,160,.18)}.tbn-rpq-car b{display:block;font-size:15px}.tbn-rpq-car small{display:block;margin-top:4px;color:#607b94;font-size:10px}.tbn-rpq-car>strong{color:#a51d2b;font-size:17px;white-space:nowrap}.tbn-rpq-quote section{padding:12px 0;border-bottom:1px solid rgba(95,129,160,.16)}.tbn-rpq-quote section h3{margin:0 0 8px;color:#71869a;font-size:10px;letter-spacing:.06em}.tbn-rpq-qrow{display:flex;justify-content:space-between;gap:9px;margin:6px 0;color:#536d85;font-size:10px;line-height:1.4}.tbn-rpq-qrow b{max-width:57%;color:#263f58;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.tbn-rpq-qrow em{font-style:normal}.tbn-rpq-total{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:10px;padding:11px 12px;border:1px solid rgba(85,151,195,.23);border-radius:13px;background:linear-gradient(135deg,rgba(220,240,253,.52),rgba(255,255,255,.50));box-shadow:0 6px 13px rgba(35,70,112,.07),inset 0 1px 1px rgba(255,255,255,.67);color:#315d83;font-size:11px;font-weight:750}.tbn-rpq-total b{color:#a41e2c;font-size:16px;text-align:right}.tbn-rpq-quote-gifts{display:flex;flex-wrap:wrap;gap:6px}.tbn-rpq-quote-gifts span{padding:7px 10px;border:1px solid rgba(221,169,176,.52);border-radius:11px;background:rgba(255,241,243,.74);color:#8f2631;font-size:10px;font-weight:750}.tbn-rpq-foot{margin:13px 0 0;color:#7a8ca0;font-size:9px;line-height:1.5}.tbn-rpq-tax{align-content:center;min-height:66px;padding:9px 11px;border:1px solid rgba(255,255,255,.45);border-radius:12px;background:rgba(255,255,255,.30)}.tbn-rpq-tax span,.tbn-rpq-tax b,.tbn-rpq-tax small{display:block}.tbn-rpq-tax b{margin-top:3px;color:#315d83}.tbn-rpq-status{min-height:18px;margin:8px 0 0;color:#315d83;font-size:11px;text-align:center}
@media(hover:hover) and (pointer:fine){.tbn-rpq-btn:hover,.tbn-rpq-gift:hover{transform:translateY(-2px);filter:brightness(1.025);box-shadow:0 12px 20px rgba(39,76,113,.16),inset 0 1px 2px rgba(255,255,255,.65)}.tbn-rpq-btn-light:hover{background:linear-gradient(135deg,rgba(255,255,255,.91),rgba(213,235,251,.62));color:#174f78!important}.tbn-rpq-chips label:hover span{transform:translateY(-1px);box-shadow:0 8px 15px rgba(39,76,113,.13)}}
.tbn-rpq-btn:active,.tbn-rpq-chips label:active span{transform:translateY(1px) scale(.97);filter:brightness(.97)}
@media(max-width:960px){.tbn-rpq-layout{grid-template-columns:1fr}.tbn-rpq-preview{position:static}.tbn-rpq-quote{max-width:700px;margin:0 auto}}
@media(max-width:600px){.tbn-rpq{width:calc(100% - 12px);margin:6px auto;padding:11px;border-radius:23px}.tbn-rpq-head{padding:11px 12px;border-radius:18px}.tbn-rpq-brand{gap:8px}.tbn-rpq-brand img{width:88px;max-height:36px}.tbn-rpq-brand span b{font-size:13px}.tbn-rpq-brand span small{font-size:9px}.tbn-rpq-demo{padding:6px 8px;font-size:9px}.tbn-rpq-card{padding:15px;border-radius:18px}.tbn-rpq-grid{grid-template-columns:1fr}.tbn-rpq-wide{grid-column:auto}.tbn-rpq-gifts{grid-template-columns:1fr}.tbn-rpq-toolbar{align-items:flex-start;flex-direction:column}.tbn-rpq-toolbar>div{width:100%}.tbn-rpq-toolbar .tbn-rpq-btn{flex:1}.tbn-rpq-quote{padding:18px 15px;border-radius:18px}.tbn-rpq-quote-head img{width:95px}.tbn-rpq-quote>h2{font-size:19px}.tbn-rpq-qrow{font-size:10px}.tbn-rpq-total b{font-size:14px}.tbn-rpq-add-gift{grid-template-columns:1fr auto}}
@media(prefers-reduced-transparency:reduce){.tbn-rpq-head,.tbn-rpq-card,.tbn-rpq-quote,.tbn-rpq-subcard{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(245,250,255,.95)}}
@media(prefers-reduced-motion:reduce){.tbn-rpq *, .tbn-rpq *::before,.tbn-rpq *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media print{@page{size:A4;margin:12mm}body *{visibility:hidden!important}.tbn-rpq,.tbn-rpq *{visibility:visible!important}.tbn-rpq{position:fixed;inset:0;width:100%;margin:0;padding:0;border-radius:0;background:#fff!important;box-shadow:none}.tbn-rpq-head,.tbn-rpq-form-stack,.tbn-rpq-toolbar,.tbn-rpq-status{display:none!important}.tbn-rpq-layout{display:block}.tbn-rpq-preview{position:static}.tbn-rpq-quote{max-width:none;padding:0;border:0;border-radius:0;background:#fff!important;box-shadow:none;backdrop-filter:none;overflow:visible}.tbn-rpq-quote:before{display:none}.tbn-rpq-quote section,.tbn-rpq-car{break-inside:avoid}.tbn-rpq-foot{font-size:8px}}
/* 1.0.1: align the standalone plugin panels with the soft blue glass demo. */
.tbn-rpq{background-image:radial-gradient(ellipse at 8% 0%,rgba(255,255,255,.68),transparent 34%),radial-gradient(ellipse at 96% 16%,rgba(126,207,255,.27),transparent 36%),radial-gradient(ellipse at 75% 96%,rgba(199,190,255,.20),transparent 38%),linear-gradient(145deg,#e8f4ff,#e8efff 58%,#f0efff);box-shadow:0 30px 72px rgba(36,73,112,.13),inset 0 1px 2px rgba(255,255,255,.30)}
.tbn-rpq-card,.tbn-rpq-quote{border-color:rgba(255,255,255,.50);background:linear-gradient(138deg,rgba(255,255,255,.52),rgba(255,255,255,.27) 58%,rgba(229,242,255,.34));box-shadow:0 22px 40px -14px rgba(35,70,112,.19),0 7px 16px rgba(38,77,123,.07),inset 0 1px 2px rgba(255,255,255,.62);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.tbn-rpq-quote{background:linear-gradient(138deg,rgba(255,255,255,.72),rgba(255,255,255,.52) 58%,rgba(234,245,255,.58));box-shadow:0 24px 52px rgba(34,72,112,.14),inset 0 1px 2px rgba(255,255,255,.78)}
@media(hover:hover) and (pointer:fine){.tbn-rpq-card:hover,.tbn-rpq-quote:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.72);box-shadow:0 28px 50px -16px rgba(35,70,112,.22),0 10px 20px rgba(38,77,123,.09),inset 0 1px 2px rgba(255,255,255,.72)}}
@media(prefers-reduced-transparency:reduce){.tbn-rpq{background:#eaf4ff}}
@media print{.tbn-rpq{background:#fff!important}}
body.tbn-rpq-standalone{min-height:100vh;margin:0;background:radial-gradient(ellipse at 8% 0%,rgba(255,255,255,.92),transparent 32rem),radial-gradient(ellipse at 96% 16%,rgba(132,202,245,.28),transparent 34rem),radial-gradient(ellipse at 75% 95%,rgba(199,190,255,.20),transparent 38rem),linear-gradient(145deg,#e8f4ff,#eaf0ff 55%,#f2f2ff);background-attachment:fixed}
body.tbn-rpq-standalone .tbn-rpq{margin:0 auto;border-radius:0;min-height:100vh;background-color:transparent}
.tbn-rpq-demo{border-color:rgba(255,255,255,.55);background:rgba(219,238,252,.46);color:#315d83;box-shadow:0 5px 12px rgba(35,70,112,.06)}
@media(max-width:600px){body.tbn-rpq-standalone .tbn-rpq{width:100%;padding:10px;border-radius:0}}
@media print{body.tbn-rpq-standalone{background:#fff!important}body.tbn-rpq-standalone .tbn-rpq{min-height:0}}
/* 1.0.6 mobile width, touch targets, readable repayment table, and shared staff identity. */
body.tbn-rpq-standalone{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;overflow-x:hidden!important}
body.tbn-rpq-standalone .tbn-rpq{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:100vh;margin:0!important;padding:clamp(10px,2vw,26px)!important;border-radius:0!important}
body.tbn-rpq-standalone .tbn-rpq-head{width:100%;min-width:0}
.tbn-rpq-brand{flex:1;min-width:0}
.tbn-rpq-logos{display:flex;align-items:center;gap:7px;flex:none;padding:6px 8px;border:1px solid rgba(255,255,255,.45);border-radius:15px;background:rgba(255,255,255,.48);box-shadow:0 7px 15px rgba(38,77,123,.08),inset 0 1px 2px rgba(255,255,255,.7)}
.tbn-rpq-brand .tbn-rpq-logos img{display:block;width:104px;height:42px;max-height:42px;object-fit:contain}
.tbn-rpq-brand .tbn-rpq-logos img+img{width:72px}
.tbn-rpq-employee{display:flex;align-items:center;gap:11px;flex:none;max-width:44%;min-width:0;padding:8px 11px;border:1px solid rgba(255,255,255,.36);border-radius:17px;background:rgba(255,255,255,.25);color:var(--rpq-ink)}
.tbn-rpq-employee>img,.tbn-rpq-employee-placeholder{display:grid;place-items:center;width:72px;height:72px;flex:none;border:1px solid rgba(255,255,255,.7);border-radius:15px;object-fit:cover;background:rgba(255,255,255,.45);font-size:29px}
.tbn-rpq-employee>span{display:block;min-width:0;overflow-wrap:anywhere}
.tbn-rpq-employee small,.tbn-rpq-employee b{display:block;line-height:1.35}
.tbn-rpq-employee small{color:var(--rpq-muted);font-size:11px}
.tbn-rpq-employee b{font-size:16px}
.tbn-rpq-logout{display:inline-flex;align-items:center;justify-content:center;min-height:38px;flex:none;margin-left:auto;padding:7px 11px;border:1px solid rgba(255,255,255,.55);border-radius:12px;background:rgba(255,255,255,.47);color:#315d83!important;font-size:12px;font-weight:750;text-decoration:none!important;white-space:nowrap}
.tbn-rpq-logout:focus-visible,.tbn-rpq-login-button:focus-visible{outline:3px solid rgba(49,139,198,.38);outline-offset:2px}
.tbn-rpq-chips{gap:8px}
.tbn-rpq-chips label{display:block;min-height:44px}
.tbn-rpq-chips span{justify-content:center;min-width:58px;min-height:44px;padding:0 14px;font-size:14px;transition:background-color .12s ease,border-color .12s ease,box-shadow .12s ease}
.tbn-rpq-chips label:active span{transform:none;filter:none}
.tbn-rpq-rates{font-size:14px}
.tbn-rpq-rates th{padding:11px 12px;font-size:13px;line-height:1.35}
.tbn-rpq-rates td{padding:10px 12px;font-size:14px}
.tbn-rpq-rates input[type=number]{width:88px;height:40px;padding:0 9px;font-size:14px}
.tbn-rpq-rates td:first-child label{display:inline-flex;min-height:48px;align-items:center;gap:9px;cursor:pointer}
.tbn-rpq-rates input[type=radio]{appearance:none;-webkit-appearance:none;display:inline-grid;width:28px;height:28px;flex:0 0 28px;place-content:center;margin:0;border:2px solid #8297a9;border-radius:50%;background:rgba(255,255,255,.72);cursor:pointer;box-shadow:0 2px 5px rgba(35,70,112,.12)}
.tbn-rpq-rates input[type=radio]::before{width:13px;height:13px;border-radius:50%;background:#1683c2;content:"";transform:scale(0);transition:transform .12s ease}
.tbn-rpq-rates input[type=radio]:checked{border-color:#1683c2;box-shadow:0 0 0 4px rgba(22,131,194,.13)}
.tbn-rpq-rates input[type=radio]:checked::before{transform:scale(1)}
.tbn-rpq-rates input[type=radio]:focus-visible{outline:3px solid rgba(49,139,198,.36);outline-offset:2px}
.tbn-rpq-gift-group{margin-bottom:12px}.tbn-rpq-gift-group>b{display:block;margin-bottom:8px;color:#355572;font-size:12px}.tbn-rpq-gift-actions{display:flex;gap:5px;margin-left:auto;flex:none}.tbn-rpq-gift-actions button{min-height:30px;padding:3px 8px;border:1px solid rgba(84,143,183,.24);border-radius:9px;background:rgba(255,255,255,.58);color:#245b83;font-size:11px;font-weight:700;cursor:pointer}.tbn-rpq-gift-group .tbn-rpq-add-gift[hidden]{display:none}
.tbn-rpq-custom-down-field[hidden]{display:none!important}
/* 1.0.8 demo: keep the down-payment choices on their own full desktop row. */
.tbn-rpq-subcard .tbn-rpq-grid>div:first-child{grid-column:1/-1}
.tbn-rpq-custom-down-field{grid-column:1/-1}
.tbn-rpq-sales-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;color:#355572;font-size:12px;font-weight:700}
.tbn-rpq-nickname-switch,.tbn-rpq-short-term-switch{display:inline-flex;align-items:center;gap:6px;flex:none;color:#42647f;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer}
.tbn-rpq-nickname-switch input,.tbn-rpq-short-term-switch input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;border:0!important;opacity:0!important;overflow:hidden!important}
.tbn-rpq-switch-track{position:relative;display:inline-block;width:36px;height:21px;flex:none;border:1px solid rgba(66,103,134,.28);border-radius:99px;background:rgba(95,119,140,.24);transition:background .16s ease,border-color .16s ease}
.tbn-rpq-switch-track:after{position:absolute;top:2px;left:2px;width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(35,70,112,.22);content:"";transition:transform .16s ease}
.tbn-rpq-nickname-switch input:checked+.tbn-rpq-switch-track{border-color:rgba(35,128,184,.45);background:#328fc5}
.tbn-rpq-nickname-switch input:checked+.tbn-rpq-switch-track:after{transform:translateX(15px)}
.tbn-rpq-nickname-switch input:focus-visible+.tbn-rpq-switch-track{outline:3px solid rgba(49,139,198,.3);outline-offset:2px}
.tbn-rpq-short-term-switch .tbn-rpq-switch-track{width:31px;height:18px}
.tbn-rpq-short-term-switch .tbn-rpq-switch-track:after{top:2px;left:2px;width:12px;height:12px}
.tbn-rpq-short-term-switch input:checked+.tbn-rpq-switch-track{border-color:rgba(35,128,184,.45);background:#328fc5}
.tbn-rpq-short-term-switch input:checked+.tbn-rpq-switch-track:after{transform:translateX(12px)}
.tbn-rpq-short-term-switch input:focus-visible+.tbn-rpq-switch-track{outline:3px solid rgba(49,139,198,.3);outline-offset:2px}
.tbn-rpq-term-tools{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px 16px;margin-top:12px}
.tbn-rpq-nickname-row{display:grid;grid-template-columns:minmax(0,1fr) 43px;gap:7px;align-items:center}
.tbn-rpq-nickname-row[hidden]{display:none!important}
.tbn-rpq-pencil{display:grid;place-items:center;width:43px;height:43px;padding:0;border:1px solid rgba(255,255,255,.58);border-radius:13px;background:rgba(255,255,255,.58);color:#2b6f9e;box-shadow:0 5px 12px rgba(44,75,110,.08),inset 0 1px 2px rgba(255,255,255,.72)}
.tbn-rpq-pencil svg{width:18px;height:18px;fill:currentColor}
@media(hover:hover) and (pointer:fine){.tbn-rpq-rates tbody tr{cursor:pointer}.tbn-rpq-rates tbody tr:not(.is-active):hover{background:rgba(207,232,249,.58)}}
.tbn-rpq-rates tbody tr{transition:background-color .12s ease}
@media(max-width:700px){body.tbn-rpq-standalone .tbn-rpq{padding:10px!important}.tbn-rpq-head{align-items:flex-start;flex-direction:column}.tbn-rpq-brand{width:100%}.tbn-rpq-brand .tbn-rpq-logos img{width:82px;height:36px}.tbn-rpq-brand .tbn-rpq-logos img+img{width:58px}.tbn-rpq-brand span b{font-size:14px}.tbn-rpq-brand span small{font-size:10px}.tbn-rpq-employee{max-width:100%;width:100%;padding:7px 9px}.tbn-rpq-employee>img,.tbn-rpq-employee-placeholder{width:48px;height:48px}.tbn-rpq-employee b{font-size:14px}.tbn-rpq-chips span{min-width:56px;min-height:46px;padding:0 12px;font-size:14px}.tbn-rpq-rates{font-size:12px}.tbn-rpq-rates th{padding:9px 7px;font-size:12px}.tbn-rpq-rates td{padding:9px 7px;font-size:13px}.tbn-rpq-rates input[type=number]{width:74px;height:40px;font-size:13px}}
.tbn-rpq-btn-save{background:linear-gradient(135deg,#328fca,#176ca8);box-shadow:0 9px 18px rgba(24,99,154,.21),inset 0 1px 2px rgba(255,255,255,.4)}
.tbn-rpq-history{margin-top:18px}
.tbn-rpq-history-filters{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(160px,1fr) auto auto;align-items:end;gap:10px}
.tbn-rpq-history-filters>label,.tbn-rpq-history-custom label{display:grid;gap:6px;color:#355572;font-size:12px;font-weight:700}
.tbn-rpq-history-filters input,.tbn-rpq-history-filters select{width:100%;height:43px;min-width:0;padding:0 12px;border:1px solid rgba(255,255,255,.58);border-radius:13px;background:rgba(255,255,255,.58);color:#203a59;box-shadow:0 5px 12px rgba(44,75,110,.07),inset 0 1px 2px rgba(255,255,255,.74)}
.tbn-rpq-history-custom{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tbn-rpq-history-custom[hidden]{display:none!important}
.tbn-rpq-history-count{margin:13px 0 8px;color:#5d7894;font-size:12px}
.tbn-rpq-history-list{display:grid;gap:9px}
.tbn-rpq-history-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid rgba(255,255,255,.45);border-radius:16px;background:linear-gradient(135deg,rgba(255,255,255,.47),rgba(255,255,255,.22));box-shadow:0 8px 16px rgba(38,77,123,.08),inset 0 1px 2px rgba(255,255,255,.55)}
.tbn-rpq-history-main{display:grid;gap:3px;min-width:0}
.tbn-rpq-history-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}
.tbn-rpq-history-actions .tbn-rpq-btn{min-height:42px;padding:10px 15px;white-space:nowrap}
.tbn-rpq-history-actions .tbn-rpq-history-delete{color:#ad3f45;background:rgba(255,244,244,.8);border:1px solid rgba(210,109,118,.25)}
.tbn-rpq-history-main>b{color:#203a59;font-size:14px}
.tbn-rpq-history-main>span{color:#355572;font-size:12px}
.tbn-rpq-history-main>small{color:#71869a;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
.tbn-rpq-history-empty{padding:20px;text-align:center;color:#6d8298;border:1px dashed rgba(76,112,146,.24);border-radius:15px;background:rgba(255,255,255,.22);font-size:13px}
.tbn-rpq-toolbar>div{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:900px){.tbn-rpq-history-filters{grid-template-columns:1fr 1fr}.tbn-rpq-history-search,.tbn-rpq-history-filters>[data-history-search-button]{grid-column:1/-1}}
@media(max-width:600px){.tbn-rpq-history-item{align-items:flex-start;flex-direction:column}.tbn-rpq-history-actions{width:100%}.tbn-rpq-history-actions .tbn-rpq-btn{flex:1 1 auto}.tbn-rpq-history-custom{grid-template-columns:1fr}.tbn-rpq-toolbar{align-items:flex-start;flex-direction:column}.tbn-rpq-toolbar>div{width:100%;justify-content:flex-start}.tbn-rpq-toolbar .tbn-rpq-btn{flex:1 1 auto}}
@media print{.tbn-rpq-history{display:none!important}}
.tbn-rpq-rate-library{margin-top:16px;padding:14px;border:1px solid rgba(255,255,255,.36);border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.32),rgba(255,255,255,.16));box-shadow:0 10px 20px rgba(35,70,112,.08),inset 0 1px 2px rgba(255,255,255,.45)}
.tbn-rpq-rate-library-head{display:grid;gap:3px;margin-bottom:12px}.tbn-rpq-rate-library-head>b{font-size:14px;color:#254966}.tbn-rpq-rate-library-head>small,.tbn-rpq-rate-note{color:#6d8298;font-size:11px;line-height:1.5}
.tbn-rpq-rate-bank-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.tbn-rpq-rate-bank{display:grid;align-content:start;gap:8px;min-width:0;padding:11px;border:1px solid rgba(255,255,255,.43);border-radius:15px;background:linear-gradient(140deg,rgba(255,255,255,.47),rgba(255,255,255,.23));box-shadow:0 7px 13px rgba(35,70,112,.07),inset 0 1px 2px rgba(255,255,255,.57)}
.tbn-rpq-rate-bank>b{color:#315d83;font-size:13px}
.tbn-rpq-rate-bank input[type=text],.tbn-rpq-rate-bank input[type=file]{width:100%;min-width:0;color:#44647f;font:inherit;font-size:10px}
.tbn-rpq-rate-bank input[type=text]{height:36px;padding:0 9px;border:1px solid rgba(255,255,255,.58);border-radius:10px;background:rgba(255,255,255,.56)}
.tbn-rpq-rate-bank input[type=file]::file-selector-button{max-width:100%;margin-right:6px;padding:6px 8px;border:1px solid rgba(255,255,255,.56);border-radius:9px;background:rgba(255,255,255,.64);color:#315d83;font:inherit;font-weight:700}
.tbn-rpq-rate-bank>div{display:grid;grid-template-columns:1fr 1fr;gap:6px}.tbn-rpq-rate-bank .tbn-rpq-btn{min-height:35px;padding:6px 7px;font-size:10px}.tbn-rpq-rate-bank .tbn-rpq-btn:disabled{cursor:not-allowed;opacity:.48}
.tbn-rpq-rate-note{margin:10px 0 0}
.tbn-rpq-rate-modal[hidden]{display:none!important}.tbn-rpq-rate-modal{position:fixed;z-index:999999;inset:0;display:grid;place-items:center;padding:18px;background:rgba(24,39,56,.64);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.tbn-rpq-rate-modal-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;width:min(1100px,100%);max-height:min(92vh,1000px);padding:15px;border:1px solid rgba(255,255,255,.3);border-radius:22px;background:linear-gradient(145deg,rgba(238,247,255,.96),rgba(218,234,249,.93));box-shadow:0 28px 80px rgba(0,0,0,.3),inset 0 1px 2px rgba(255,255,255,.8);color:#203a59}
.tbn-rpq-rate-modal-panel>header,.tbn-rpq-rate-modal-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.tbn-rpq-rate-modal-panel>header>b{font-size:16px}.tbn-rpq-rate-modal-panel>header>button{width:38px;height:38px;border:1px solid rgba(255,255,255,.66);border-radius:50%;background:rgba(255,255,255,.56);color:#315d83;font-size:25px;line-height:1;cursor:pointer}
.tbn-rpq-rate-viewer{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;justify-items:center;gap:8px;min-height:0;overflow:hidden;border:1px solid rgba(255,255,255,.48);border-radius:16px;background:rgba(171,197,220,.22)}
.tbn-rpq-rate-viewer>img{display:block;max-width:100%;width:auto;height:auto;max-height:calc(92vh - 150px);object-fit:contain;user-select:none;-webkit-user-drag:none}
.tbn-rpq-rate-viewer>button{width:42px;height:52px;border:1px solid rgba(255,255,255,.55);border-radius:15px;background:rgba(255,255,255,.58);color:#245b83;font-size:35px;line-height:1;box-shadow:0 5px 13px rgba(35,70,112,.12);cursor:pointer}.tbn-rpq-rate-viewer>button:disabled{opacity:.35;cursor:default}
.tbn-rpq-rate-modal-panel>footer{flex-wrap:wrap;color:#496983;font-size:12px}.tbn-rpq-rate-modal-panel>footer>[data-rate-modal-caption]{font-weight:750}.tbn-rpq-rate-modal-panel>footer>[data-rate-modal-count]{margin-left:auto}
@media(max-width:900px){.tbn-rpq-rate-bank-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tbn-rpq-rate-library{padding:11px}.tbn-rpq-rate-bank-grid{grid-template-columns:1fr}.tbn-rpq-rate-bank>div{grid-template-columns:1fr 1fr}.tbn-rpq-rate-modal{padding:8px}.tbn-rpq-rate-modal-panel{gap:8px;max-height:94vh;padding:9px;border-radius:17px}.tbn-rpq-rate-modal-panel>header>b{font-size:14px}.tbn-rpq-rate-viewer{grid-template-columns:36px minmax(0,1fr) 36px;gap:3px}.tbn-rpq-rate-viewer>button{width:33px;height:44px;border-radius:12px;font-size:29px}.tbn-rpq-rate-viewer>img{max-height:calc(94vh - 165px)}.tbn-rpq-rate-modal-panel>footer{font-size:10px}}
@media print{.tbn-rpq-rate-library,.tbn-rpq-rate-modal{display:none!important}}
.tbn-rpq-registration-label>span{display:flex;align-items:center;gap:6px}.tbn-rpq-info-button{display:inline-grid;place-items:center;width:23px;height:23px;padding:0;border:1px solid rgba(69,145,190,.27);border-radius:50%;background:rgba(255,255,255,.58);color:#2877a7;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 3px 8px rgba(35,70,112,.09)}
.tbn-rpq-money-input{font-variant-numeric:tabular-nums}
.tbn-rpq-temp-fee-box{display:grid;gap:8px;padding:12px;border:1px solid rgba(255,255,255,.38);border-radius:15px;background:rgba(255,255,255,.21)}
.tbn-rpq-temp-fee-box>small{color:#6d8298;font-size:10px}.tbn-rpq-temp-fee-box>[data-temp-fee-editor][hidden]{display:none!important}
.tbn-rpq-temp-fee-box>[data-temp-fee-editor]{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:9px}
.tbn-rpq-temp-fee-box>[data-temp-fee-editor]>label{display:grid;gap:6px;color:#355572;font-size:11px;font-weight:700}
.tbn-rpq-temp-fee-actions{display:flex;align-items:center;gap:7px}
.tbn-rpq-temp-fee-actions .tbn-rpq-btn{white-space:nowrap}
.tbn-rpq [data-money-input]::placeholder,.tbn-rpq [data-temp-fee-amount]::placeholder{color:#7890a6;font-size:9px;font-weight:500;opacity:.72}
.tbn-rpq [data-price][readonly]{cursor:not-allowed;opacity:.9}
.tbn-rpq-temp-fee-box>[data-temp-fee-editor] input{width:100%;height:40px;min-width:0;padding:0 10px;border:1px solid rgba(255,255,255,.58);border-radius:11px;background:rgba(255,255,255,.58);color:#203a59}
.tbn-rpq-temp-fee-list{display:grid;gap:5px}.tbn-rpq-temp-fee-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:8px 10px;border:1px solid rgba(255,255,255,.4);border-radius:11px;background:rgba(255,255,255,.34);font-size:11px}.tbn-rpq-temp-fee-item>b{overflow-wrap:anywhere}.tbn-rpq-temp-fee-item>span{font-weight:750;font-variant-numeric:tabular-nums}.tbn-rpq-temp-fee-item>button{padding:4px 8px;border:0;border-radius:8px;background:rgba(201,35,51,.1);color:#a52432;font-size:10px;font-weight:700;cursor:pointer}
.tbn-rpq-guide-modal[hidden]{display:none!important}.tbn-rpq-guide-modal{position:fixed;z-index:1000000;inset:0;display:grid;place-items:center;padding:16px;background:rgba(24,39,56,.64);backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px)}.tbn-rpq-guide-panel{position:relative;display:grid;place-items:center;width:min(900px,100%);max-height:92vh;padding:16px;border:1px solid rgba(255,255,255,.34);border-radius:20px;background:linear-gradient(145deg,rgba(238,247,255,.97),rgba(218,234,249,.94));box-shadow:0 28px 80px rgba(0,0,0,.3)}.tbn-rpq-guide-panel>img{display:block;max-width:100%;max-height:calc(92vh - 60px);object-fit:contain}.tbn-rpq-guide-panel>img[hidden],.tbn-rpq-guide-panel>p[hidden]{display:none!important}.tbn-rpq-guide-panel>p{color:#456680;font-size:14px}.tbn-rpq-guide-panel>button{position:absolute;z-index:1;top:7px;right:7px;width:38px;height:38px;border:1px solid rgba(255,255,255,.72);border-radius:50%;background:rgba(255,255,255,.76);color:#315d83;font-size:25px;line-height:1;cursor:pointer}
@media(max-width:600px){.tbn-rpq-temp-fee-box>[data-temp-fee-editor]{grid-template-columns:1fr 1fr}.tbn-rpq-temp-fee-actions{grid-column:1/-1}.tbn-rpq-temp-fee-actions .tbn-rpq-btn{flex:1}.tbn-rpq-guide-modal{padding:8px}.tbn-rpq-guide-panel{max-height:94vh;padding:9px}.tbn-rpq-guide-panel>img{max-height:calc(94vh - 45px)}}
@media print{.tbn-rpq-guide-modal{display:none!important}}
/* 1.0.12: clear cost fields and compact free switches */
.tbn-rpq-fee-field{display:grid;align-content:start;gap:6px;min-width:0;color:#355572;font-size:12px;font-weight:700}.tbn-rpq-fee-field>span{min-height:17px}.tbn-rpq-fee-field input.tbn-rpq-money-input{width:100%;height:43px;min-width:0;padding:0 12px;border:1px solid rgba(255,255,255,.57);border-radius:13px;background:rgba(255,255,255,.57);color:#203a59;box-shadow:0 5px 12px rgba(44,75,110,.07),inset 0 1px 2px rgba(255,255,255,.74)}.tbn-rpq-registration-label>span small{display:inline!important;margin-left:3px;color:#287fb2;font-size:10px;font-weight:700}.tbn-rpq-info-button{width:24px;height:24px;padding:0;border:1px solid rgba(58,143,195,.3);border-radius:50%;background:rgba(255,255,255,.62);color:#2377aa;font-size:13px;cursor:pointer}.tbn-rpq-free-toggle{display:inline-flex!important;grid-auto-flow:column;align-items:center;justify-content:flex-start;gap:5px;margin-top:1px;color:#39846c!important;font-size:10px!important;font-weight:750!important;cursor:pointer}.tbn-rpq-free-toggle input{width:27px!important;height:16px!important;margin:0;accent-color:#35a879;cursor:pointer}.tbn-rpq-free-toggle span{line-height:1}
/* 1.0.13: collapsible interest archive and inline free toggles */
.tbn-rpq-rate-library{overflow:hidden}.tbn-rpq-rate-library-summary{display:flex;align-items:center;gap:10px;min-height:42px;cursor:pointer;list-style:none;color:#254966}.tbn-rpq-rate-library-summary::-webkit-details-marker{display:none}.tbn-rpq-rate-library-summary:before{content:'＋';display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:rgba(255,255,255,.62);color:#287fb2;font-size:18px;font-weight:700;box-shadow:0 4px 10px rgba(35,70,112,.10)}.tbn-rpq-rate-library[open]>.tbn-rpq-rate-library-summary:before{content:'−'}.tbn-rpq-rate-library-summary>b{font-size:14px}.tbn-rpq-rate-library-summary>span{color:#71869a;font-size:10px}.tbn-rpq-rate-library-description{margin:0 0 12px;color:#6d8298;font-size:11px;line-height:1.5}.tbn-rpq-rate-library-content{padding-top:4px}.tbn-rpq-fee-heading{display:flex;align-items:center;gap:8px;min-width:0;color:#355572;font-size:12px;font-weight:700}.tbn-rpq-fee-heading>span{min-width:0}.tbn-rpq-fee-heading>span small{display:inline!important;margin-left:3px;color:#287fb2;font-size:10px;font-weight:700}.tbn-rpq-fee-heading .tbn-rpq-free-toggle{margin:0 0 0 auto!important;flex:0 0 auto}.tbn-rpq-fee-heading .tbn-rpq-info-button{flex:0 0 24px}.tbn-rpq-free-toggle{display:inline-flex!important;grid-auto-flow:column;align-items:center;justify-content:flex-start;gap:4px;margin-top:1px;color:#39846c!important;font-size:10px!important;font-weight:750!important;cursor:pointer}.tbn-rpq-free-toggle input{width:22px!important;height:15px!important;margin:0;accent-color:#35a879;cursor:pointer}.tbn-rpq-free-toggle span{line-height:1}
/* Toolbar hierarchy: export actions first, prominent save button last */
.tbn-rpq-toolbar>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.tbn-rpq-toolbar [data-save-quote]{grid-column:1/-1;min-height:52px;font-size:15px;letter-spacing:.01em;box-shadow:0 12px 24px rgba(24,99,154,.27),inset 0 1px 2px rgba(255,255,255,.48)}

/* 1.0.14: approved A4 quotation visual — paired finance figures and calm blue gift list */
.tbn-rpq-finance-highlights{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:8px}.tbn-rpq-finance-highlights>div{display:grid;align-content:center;gap:6px;min-width:0;padding:11px 13px;border:1px solid rgba(255,255,255,.55);border-radius:14px;background:linear-gradient(135deg,rgba(232,245,255,.62),rgba(255,255,255,.48));box-shadow:0 6px 13px rgba(35,70,112,.07),inset 0 1px 1px rgba(255,255,255,.68)}.tbn-rpq-finance-highlights small{color:#70869a;font-size:10px;font-weight:700}.tbn-rpq-finance-highlights b{color:#203a59;font-size:18px;font-weight:850;font-variant-numeric:tabular-nums}.tbn-rpq-quote-gifts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;counter-reset:quote-gift}.tbn-rpq-quote-gifts span{display:flex;align-items:center;gap:7px;min-width:0;padding:7px 9px;border:1px solid rgba(173,211,237,.45);border-radius:9px;background:linear-gradient(135deg,rgba(231,245,255,.84),rgba(245,250,255,.78));color:#315d83;font-size:10px;font-weight:700;line-height:1.35;overflow-wrap:anywhere;counter-increment:quote-gift}.tbn-rpq-quote-gifts span:before{content:counter(quote-gift,decimal-leading-zero);flex:0 0 auto;display:grid;place-items:center;min-width:19px;height:18px;padding:0 3px;border-radius:5px;background:rgba(194,226,247,.72);color:#287cad;font-size:8px;font-weight:850}.tbn-rpq-total b,.tbn-rpq-car>strong{color:#203a59}.tbn-rpq-quote section h3{color:#315d83;letter-spacing:0;font-size:12px}@media(max-width:600px){.tbn-rpq-finance-highlights>div{padding:9px 8px}.tbn-rpq-finance-highlights b{font-size:15px}.tbn-rpq-quote-gifts{grid-template-columns:1fr 1fr;gap:5px}.tbn-rpq-quote-gifts span{padding:6px 6px;font-size:9px}}

/* 1.0.15: rate card uploads start immediately after file selection */
.tbn-rpq-rate-bank>div{grid-template-columns:1fr}.tbn-rpq-rate-bank>div .tbn-rpq-btn{width:100%;min-height:38px}

/* 1.0.16: refined free toggle placed beside its amount field */
.tbn-rpq-fee-heading{min-height:24px}
.tbn-rpq-fee-entry{display:flex;align-items:center;gap:9px;min-width:0}
.tbn-rpq-fee-entry>.tbn-rpq-money-input{width:0!important;flex:1 1 auto;min-width:0}
.tbn-rpq-free-toggle{position:relative;display:inline-flex!important;flex:0 0 72px;align-items:center;justify-content:flex-start;gap:6px;margin:0!important;padding:5px 7px;border:1px solid rgba(75,125,162,.13);border-radius:999px;background:rgba(255,255,255,.42);color:#6b8293!important;font-size:10px!important;font-weight:750!important;line-height:1;cursor:pointer;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease}
.tbn-rpq-free-toggle input{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;opacity:0!important;pointer-events:none}
.tbn-rpq-free-track{position:relative;display:inline-block!important;flex:0 0 29px;width:29px;height:17px;border:1px solid rgba(82,112,135,.13);border-radius:99px;background:rgba(104,126,145,.22);box-shadow:inset 0 1px 2px rgba(33,62,85,.10);transition:background .2s ease,box-shadow .2s ease}
.tbn-rpq-free-track:after{position:absolute;top:2px;left:2px;width:11px;height:11px;border-radius:50%;background:linear-gradient(145deg,#fff,#edf4f8);box-shadow:0 1px 3px rgba(30,58,79,.20);content:"";transition:transform .2s cubic-bezier(.2,.8,.2,1)}
.tbn-rpq-free-toggle input:checked+.tbn-rpq-free-track{border-color:rgba(50,158,119,.22);background:linear-gradient(135deg,#55c99b,#2da87a);box-shadow:inset 0 1px 2px rgba(18,101,71,.14),0 2px 6px rgba(45,168,122,.16)}
.tbn-rpq-free-toggle input:checked+.tbn-rpq-free-track:after{transform:translateX(12px)}
.tbn-rpq-free-toggle:has(input:checked){border-color:rgba(53,162,120,.25);background:rgba(219,247,236,.70);color:#247a5a!important}
.tbn-rpq-free-toggle:has(input:focus-visible){outline:3px solid rgba(49,139,198,.26);outline-offset:2px}
@media(max-width:600px){.tbn-rpq-fee-entry{gap:8px}.tbn-rpq-free-toggle{flex-basis:68px;padding:5px 6px}.tbn-rpq-fee-heading{min-height:22px}}
@media(prefers-reduced-motion:reduce){.tbn-rpq-free-toggle,.tbn-rpq-free-track,.tbn-rpq-free-track:after{transition:none!important}}

/* 1.0.17: lighter rendering while retaining the blue glass palette */
.tbn-rpq{background-color:#e4f1ff;background-image:linear-gradient(145deg,#e9f4ff 0%,#dfedff 58%,#e8eaff 100%);box-shadow:0 14px 36px rgba(32,68,108,.10)}
.tbn-rpq-head,.tbn-rpq-card,.tbn-rpq-quote{background:linear-gradient(135deg,rgba(255,255,255,.49),rgba(245,250,255,.33));box-shadow:0 12px 24px -10px rgba(35,70,112,.17),inset 0 1px 1px rgba(255,255,255,.48);backdrop-filter:blur(9px) saturate(125%);-webkit-backdrop-filter:blur(9px) saturate(125%)}
.tbn-rpq-subcard{background:linear-gradient(135deg,rgba(255,255,255,.40),rgba(245,250,255,.26));box-shadow:0 7px 14px rgba(35,70,112,.07),inset 0 1px 1px rgba(255,255,255,.40)}
.tbn-rpq-grid input,.tbn-rpq-grid select,.tbn-rpq-add-gift input{box-shadow:0 3px 7px rgba(44,75,110,.045),inset 0 1px 1px rgba(255,255,255,.64);transition:border-color .12s ease,background-color .12s ease,box-shadow .12s ease}
.tbn-rpq-grid input:focus,.tbn-rpq-grid select:focus,.tbn-rpq-add-gift input:focus{transform:none;box-shadow:0 4px 9px rgba(39,108,158,.10);outline:2px solid rgba(49,139,198,.17)}
.tbn-rpq-chips span,.tbn-rpq-gift{box-shadow:0 3px 7px rgba(35,70,112,.045),inset 0 1px 1px rgba(255,255,255,.45);transition:background-color .12s ease,border-color .12s ease,box-shadow .12s ease}
.tbn-rpq-btn{box-shadow:0 6px 12px rgba(24,99,154,.15),inset 0 1px 1px rgba(255,255,255,.35);transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}
.tbn-rpq-btn-light{box-shadow:0 4px 9px rgba(38,77,123,.06),inset 0 1px 1px rgba(255,255,255,.48)}
.tbn-rpq-total,.tbn-rpq-finance-highlights>div{box-shadow:0 3px 8px rgba(35,70,112,.045),inset 0 1px 1px rgba(255,255,255,.50)}
.tbn-rpq-guide-modal{backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
@media(hover:hover) and (pointer:fine){.tbn-rpq-btn:hover,.tbn-rpq-gift:hover{transform:translateY(-1px);box-shadow:0 7px 12px rgba(39,76,113,.10)}.tbn-rpq-chips label:hover span{transform:translateY(-1px);box-shadow:0 5px 9px rgba(39,76,113,.08)}}
@media(prefers-reduced-transparency:reduce){.tbn-rpq-head,.tbn-rpq-card,.tbn-rpq-quote,.tbn-rpq-subcard{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(239,247,255,.94)}}

/* 1.0.18: searchable, category-filtered gift list */
.tbn-rpq-gift-filters{display:grid;grid-template-columns:1fr;gap:12px;margin:0 0 14px}
.tbn-rpq-gift-filters>label,.tbn-rpq-gift-category{display:grid;gap:7px;color:#355572;font-size:12px;font-weight:750}
.tbn-rpq-gift-filter-label{display:block;color:#355572;font-size:12px;font-weight:750}
.tbn-rpq-gift-filters input{width:100%;height:48px;min-width:0;padding:0 16px;border:1px solid rgba(255,255,255,.72);border-radius:17px;background:rgba(255,255,255,.72);color:#203a59;box-shadow:0 4px 10px rgba(44,75,110,.055),inset 0 1px 1px rgba(255,255,255,.65);font-size:15px}
.tbn-rpq-gift-category-pills{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.tbn-rpq-category-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:9px 20px;border:1px solid rgba(255,255,255,.88);border-radius:999px;background:rgba(255,255,255,.70);color:#3d6486;box-shadow:0 5px 12px rgba(52,91,131,.08),inset 0 1px 1px rgba(255,255,255,.9);font:inherit;font-size:14px;font-weight:700;line-height:1.2;cursor:pointer;touch-action:manipulation;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.tbn-rpq-category-pill small{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:99px;background:rgba(91,150,194,.12);color:#4f7899;font-size:11px;font-weight:800}
.tbn-rpq-category-pill[aria-pressed="true"]{border-color:rgba(104,178,218,.78);background:rgba(196,231,250,.56);color:#236c9c;box-shadow:0 4px 10px rgba(58,128,176,.09),inset 0 0 0 1px rgba(104,178,218,.28)}
.tbn-rpq-category-pill[aria-pressed="true"] small{background:rgba(77,152,201,.16);color:#236c9c}
.tbn-rpq-category-pill:focus-visible{outline:3px solid rgba(73,160,213,.35);outline-offset:2px}
.tbn-rpq-gift-row{display:flex;align-items:stretch;gap:5px;min-width:0}
.tbn-rpq-gift-row[hidden]{display:none!important}
.tbn-rpq-gift-row>.tbn-rpq-gift{flex:1;min-width:0;cursor:pointer}
.tbn-rpq-gift-star{display:inline-flex;flex:0 0 42px;align-items:center;justify-content:center;min-height:42px;padding:0;border:1px solid rgba(255,255,255,.78);border-radius:12px;background:rgba(255,255,255,.66);color:#6d8ba4;font-size:23px;line-height:1;cursor:pointer;touch-action:manipulation;box-shadow:0 3px 7px rgba(35,70,112,.05),inset 0 1px 1px rgba(255,255,255,.7)}
.tbn-rpq-gift-star[aria-pressed="true"]{color:#e1a823;background:rgba(255,248,218,.78);border-color:rgba(225,168,35,.38)}
.tbn-rpq-gift-star:focus-visible{outline:3px solid rgba(73,160,213,.35);outline-offset:2px}
.tbn-rpq-gift[hidden]{display:none!important}
@media(max-width:600px){.tbn-rpq-gift-category-pills{gap:8px}.tbn-rpq-category-pill{min-height:52px;padding:10px 17px;font-size:14px}.tbn-rpq-gift-filters input{height:50px}}
@media(hover:hover) and (pointer:fine){.tbn-rpq-category-pill:hover{transform:translateY(-1px);box-shadow:0 7px 14px rgba(52,91,131,.11)}}
@media(prefers-reduced-motion:reduce){.tbn-rpq-category-pill{transition:none}}

/* 1.0.26: compact gift filters and favorite-first view */
.tbn-rpq-gift-filters{gap:9px;margin-bottom:11px}
.tbn-rpq-gift-filters>label,.tbn-rpq-gift-category{gap:5px;font-size:11px}
.tbn-rpq-gift-filter-label{font-size:11px}
.tbn-rpq-gift-filters input{height:38px;padding:0 11px;border-radius:11px;font-size:12px}
.tbn-rpq-gift-category-pills{gap:6px}
.tbn-rpq-category-pill{gap:6px;min-height:36px;padding:6px 11px;font-size:11px}
.tbn-rpq-category-pill small{min-width:18px;height:18px;padding:0 5px;font-size:10px}
.tbn-rpq-category-star{color:#dba51f;font-size:13px;line-height:1}
.tbn-rpq-gift-favorite-tip{display:flex;align-items:center;gap:5px;color:#71869a;font-size:10px;font-weight:500;line-height:1.4}
.tbn-rpq-gift-favorite-tip>span{color:#dba51f;font-size:14px;line-height:1}
.tbn-rpq-gift-group:empty{display:none}
@media(max-width:600px){.tbn-rpq-gift-category-pills{gap:6px}.tbn-rpq-category-pill{min-height:36px;padding:6px 11px;font-size:11px}.tbn-rpq-gift-filters input{height:38px}}

/* 1.0.27: lightweight bank marks and clearer rate image controls */
.tbn-rpq-rate-bank-title{display:flex;align-items:center;gap:7px;min-height:28px;color:#214f73!important;font-size:13px!important;font-weight:800!important}
.tbn-rpq-rate-bank-title img{display:block;width:24px;height:24px;flex:0 0 24px;object-fit:contain;border-radius:6px}
.tbn-rpq-rate-bank input[type=text]{height:38px;padding:0 10px;border:1px solid rgba(99,157,197,.36);background:rgba(255,255,255,.78);color:#183f60;font-size:11px}
.tbn-rpq-rate-bank input[type=text]::placeholder{color:#58728a;opacity:1}
.tbn-rpq-rate-title-field{display:flex;align-items:center;gap:6px;min-width:0}
.tbn-rpq-rate-title-field>input{flex:1;min-width:0}
.tbn-rpq-rate-title-field .tbn-rpq-rate-edit-title{width:38px;height:38px;border-color:rgba(66,153,207,.38);border-radius:11px;background:linear-gradient(135deg,rgba(255,255,255,.9),rgba(213,237,252,.76));color:#287fb8;box-shadow:0 4px 9px rgba(31,101,151,.1),inset 0 1px 1px rgba(255,255,255,.8)}
.tbn-rpq-rate-title-field .tbn-rpq-rate-edit-title:hover{background:linear-gradient(135deg,#e6f5ff,#cbe8fa);color:#155b89}
.tbn-rpq-rate-title-actions{display:flex;gap:6px}
.tbn-rpq-rate-title-actions[hidden]{display:none!important}
.tbn-rpq-rate-title-actions .tbn-rpq-btn{flex:1;min-height:34px;padding:6px 9px;font-size:10px}
.tbn-rpq-rate-title-field>input[readonly]{cursor:default}
.tbn-rpq-rate-upload{position:relative;display:grid!important;place-items:center;min-height:39px;padding:7px 10px;border:1px solid #79b9e1;border-radius:11px;background:linear-gradient(135deg,#d9efff,#b9def5);color:#164e77!important;font-size:11px!important;font-weight:800!important;line-height:1.2;cursor:pointer;box-shadow:0 4px 9px rgba(31,101,151,.12),inset 0 1px 1px rgba(255,255,255,.8);overflow:hidden}
.tbn-rpq-rate-upload:hover{background:linear-gradient(135deg,#c8e8fc,#a9d4f0);border-color:#4e9ed1}
.tbn-rpq-rate-upload:focus-within{outline:3px solid rgba(49,139,198,.30);outline-offset:2px}
.tbn-rpq-rate-upload input[type=file]{position:absolute;inset:0;width:100%;height:100%;min-width:0;margin:0;padding:0;opacity:0;font-size:100px;cursor:pointer}
.tbn-rpq-rate-upload:has(input:disabled){opacity:.55;cursor:not-allowed}
.tbn-rpq-rate-library-description{color:#4e6a84;font-size:11px}

/* 1.0.28 work-in-progress: retain campaign names and allow editing from the image viewer */
.tbn-rpq-rate-campaign{display:flex;align-items:center;gap:6px;min-width:0;font-weight:750}
.tbn-rpq-rate-edit-title{display:grid;place-items:center;width:27px;height:27px;flex:none;padding:0;border:1px solid rgba(90,150,191,.3);border-radius:9px;background:rgba(255,255,255,.76);color:#286b98;cursor:pointer}
.tbn-rpq-rate-edit-title svg{width:14px;height:14px;fill:currentColor}
.tbn-rpq-rate-title-editor{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-width:min(420px,70vw)}
.tbn-rpq-rate-title-editor[hidden],.tbn-rpq-rate-edit-title[hidden],[data-rate-modal-caption][hidden]{display:none!important}
.tbn-rpq-rate-title-editor input{flex:1;min-width:130px;height:34px;padding:0 9px;border:1px solid #9bc9e5;border-radius:9px;background:#fff;color:#203a59;font:inherit;font-size:12px}
.tbn-rpq-rate-title-editor .tbn-rpq-btn{min-height:32px;padding:5px 9px;font-size:11px}
@media(max-width:600px){.tbn-rpq-rate-title-editor{min-width:0;width:min(100%,300px)}.tbn-rpq-rate-title-editor input{flex-basis:100%}}

/* Campaign name field: pencil sits inside the field at the right edge. */
.tbn-rpq-rate-title-field{position:relative;display:block;min-width:0}
.tbn-rpq-rate-title-field>input{display:block;width:100%;height:46px;padding:0 48px 0 14px;border:1px solid rgba(255,255,255,.72);border-radius:17px;background:rgba(255,255,255,.58);color:#203a59;font-size:14px;font-weight:700;box-shadow:0 7px 16px rgba(38,77,123,.08),inset 0 1px 2px rgba(255,255,255,.8)}
.tbn-rpq-rate-title-field>input::placeholder{color:#607b94;font-weight:550;opacity:.85}
.tbn-rpq-rate-title-field>input:focus{border-color:rgba(91,157,199,.48);outline:2px solid rgba(91,157,199,.16);outline-offset:1px}
.tbn-rpq-rate-title-field .tbn-rpq-rate-edit-title{position:absolute;z-index:1;top:50%;right:10px;display:grid;width:30px;height:30px;place-items:center;padding:0;transform:translateY(-50%);border:0;border-radius:10px;background:transparent;color:#6e879d;box-shadow:none;cursor:pointer}
.tbn-rpq-rate-title-field .tbn-rpq-rate-edit-title svg{width:19px;height:19px;fill:currentColor}
.tbn-rpq-rate-title-field .tbn-rpq-rate-edit-title:hover{background:rgba(109,151,182,.10);color:#3e6e91}
.tbn-rpq-rate-title-field .tbn-rpq-rate-edit-title:focus-visible{outline:2px solid rgba(49,139,198,.45);outline-offset:1px}
.tbn-rpq-rate-title-field .tbn-rpq-rate-edit-title[hidden]{display:none!important}

/* Optional company identity on the quotation, disabled by default. */
.tbn-rpq-company-toggle-wrap{grid-column:1/-1;display:grid;gap:4px}
.tbn-rpq-company-toggle-wrap>small{padding-left:42px;color:#71869a;font-size:10px;font-weight:500}
.tbn-rpq-company-switch{justify-self:start}
.tbn-rpq-quote-company{display:flex;align-items:center;gap:14px;min-width:0;text-align:left}
.tbn-rpq-quote-company[hidden]{display:none!important}
.tbn-rpq-quote-company>img{display:block;width:130px;max-height:45px;flex:none;object-fit:contain}
.tbn-rpq-quote-company-details{min-width:0;color:#56718b;font-size:10px;line-height:1.45}
.tbn-rpq-quote-company-details>b{color:#365672;font-size:11px;font-weight:800}
.tbn-rpq-quote-company-details>small{display:inline-block;max-width:360px;color:#71869a;font-size:8px;line-height:1.4}
.tbn-rpq-quote-date{flex:none;margin-left:auto;text-align:right;white-space:nowrap}
@media(max-width:600px){.tbn-rpq-quote-company{gap:8px}.tbn-rpq-quote-company>img{width:82px;max-height:34px}.tbn-rpq-quote-company-details{font-size:9px}.tbn-rpq-quote-company-details>b{font-size:9px}.tbn-rpq-quote-company-details>small{max-width:190px;font-size:7px}.tbn-rpq-quote-date{font-size:8px}}
.tbn-rpq-quote>h2{text-align:center}
.tbn-rpq [hidden]{display:none!important}

/* 1.0.31: clearer finance summary with conditional discount and equipment rows. */
.tbn-rpq-summary{margin-top:15px;padding:8px 2px 2px}
.tbn-rpq-summary>div{align-items:baseline;gap:14px;padding:9px 2px;font-size:14px;line-height:1.45;color:#294d6d}
.tbn-rpq-summary>div[hidden]{display:none!important}

.tbn-rpq-customer-type{display:flex;align-items:center;min-height:30px}
.tbn-rpq-net-car{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px;padding:14px 16px;border:1px solid rgba(86,151,192,.24);border-radius:16px;background:rgba(255,255,255,.35);color:#315d80}
.tbn-rpq-net-car b{font-size:22px;color:#1e6c9a}
.tbn-rpq-net-car small{grid-column:1/-1;color:#71869a;font-size:11px;font-weight:500}
.tbn-rpq [data-cash-down-view]{color:#1e6c9a;font-weight:750;background:rgba(235,248,255,.65)}
.tbn-rpq-customer-type .tbn-rpq-nickname-switch{font-size:13px}
.tbn-rpq-juristic-fields{display:grid;gap:10px;padding:15px;border:1px solid rgba(100,160,200,.23);border-radius:16px;background:rgba(255,255,255,.25)}
.tbn-rpq-company-lookup{display:flex;align-items:stretch;gap:9px;margin-top:6px}
.tbn-rpq-company-lookup input{flex:1;min-width:0}
.tbn-rpq-company-lookup button{flex:none}
.tbn-rpq-juristic-fields>small,.tbn-rpq [data-company-status]{margin:0;color:#637f99;font-size:11px;line-height:1.6}
.tbn-rpq [data-company-status]:empty{display:none}
.tbn-rpq-juristic-fields textarea{box-sizing:border-box;width:100%;padding:13px 14px;resize:vertical;min-height:86px;margin-top:6px;border:1px solid rgba(255,255,255,.85);border-radius:16px;background:rgba(255,255,255,.55);color:#203a59;font:inherit;line-height:1.7;outline-color:#75b7dd}
.tbn-rpq-customer-address-row b{max-width:78%;white-space:pre-line;overflow-wrap:anywhere;line-height:1.7}
.tbn-rpq [data-q-customer]{overflow-wrap:anywhere;white-space:pre-wrap}
/* Employee preview customer details are plain text, including iOS data-detector links. */
.tbn-rpq [data-q-customer],.tbn-rpq [data-q-address],.tbn-rpq [data-q-customer] a,.tbn-rpq [data-q-address] a{pointer-events:none!important;-webkit-touch-callout:none;text-decoration:none!important}
.tbn-rpq [data-q-customer] a,.tbn-rpq [data-q-address] a{color:inherit!important;font:inherit!important;border:0!important}
.tbn-rpq-gift-order{margin:0 0 16px;padding:12px 14px;border:1px solid rgba(79,151,198,.28);border-radius:16px;background:rgba(255,255,255,.36)}
.tbn-rpq-gift-order summary{color:#28658f;font-size:14px;font-weight:750;cursor:pointer}
.tbn-rpq-gift-order summary small{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:10px;background:#def1ff;font-size:11px}
.tbn-rpq-gift-order>p{margin:10px 0 0;color:#627d94;font-size:12px;line-height:1.6}
.tbn-rpq-gift-order ol{display:grid;gap:7px;list-style:none;margin:12px 0 0;padding:0}
.tbn-rpq-gift-order li{display:flex;align-items:center;gap:10px;padding:9px 11px;border:1px solid #d6e8f4;border-radius:12px;background:rgba(255,255,255,.62);color:#345c7c;font-size:13px;line-height:1.5}
.tbn-rpq-gift-order li>b{flex:none;padding:3px 7px;border-radius:7px;background:#ddf0ff;color:#28729f;font-size:11px}
.tbn-rpq-gift-order li>span{flex:1;min-width:0;overflow-wrap:anywhere}
.tbn-rpq-gift-order-actions{display:flex;gap:6px;flex:none}
.tbn-rpq-gift-order-actions button{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid #aacfe6;border-radius:9px;background:#f4fbff;color:#2474a7;font-size:20px;font-weight:750;cursor:pointer}
.tbn-rpq-gift-order-actions button:disabled{opacity:.32;cursor:default}
.tbn-rpq-gift-order-actions button:focus-visible{outline:3px solid #7ac0eb;outline-offset:2px}
.tbn-rpq-gift-order [data-gift-order-status]:empty{display:none}
.tbn-rpq [data-discount-field].tbn-rpq-discount-invalid{box-sizing:border-box;padding:12px;border:2px solid #d85858;border-radius:16px;background:#fff0f0;color:#a62929}
.tbn-rpq [data-discount-field].tbn-rpq-discount-invalid input{border:2px solid #d85858!important;background:#ffe3e3!important;color:#a32626!important;box-shadow:0 0 0 2px rgba(216,88,88,.08)}
.tbn-rpq [data-discount-error]{color:#b02c2c;font-size:12px;font-weight:700;line-height:1.6}
.tbn-rpq-delivery-summary>h3{font-size:15px!important;margin-bottom:10px!important}
.tbn-rpq-delivery-down-card{padding:13px 17px 13px 15px;margin-bottom:15px;border:1px solid #d3e9f8;border-radius:15px;background:#edf7ff}
.tbn-rpq-delivery-summary .tbn-rpq-qrow{align-items:center;gap:15px;padding:8px 0;font-size:15px;line-height:1.55}
.tbn-rpq-delivery-summary .tbn-rpq-qrow>span{flex:1;min-width:0}
.tbn-rpq-delivery-summary .tbn-rpq-qrow>b{flex:none;font-size:17px;font-variant-numeric:tabular-nums}
.tbn-rpq-delivery-summary .tbn-rpq-delivery-discount{padding-top:0;color:#318476}
.tbn-rpq-delivery-summary .tbn-rpq-delivery-discount>b{color:#318476;font-size:15px}
.tbn-rpq-delivery-summary .tbn-rpq-delivery-down{padding:8px 0 2px;color:#315e81;font-weight:750}
.tbn-rpq-delivery-summary .tbn-rpq-delivery-down>b{color:#216791;font-size:17px}
.tbn-rpq-delivery-down-note{margin:8px 0 0;color:#607d96;font-size:12px;line-height:1.65;text-align:right;overflow-wrap:anywhere}
.tbn-rpq-delivery-down-equation{--down-equation-size:15px;display:flex;align-items:baseline;justify-content:flex-start;gap:0;white-space:pre;font-size:var(--down-equation-size);font-weight:750;line-height:1.5;color:#315e81}
.tbn-rpq-delivery-down-equation>*{flex:none;font:inherit;color:inherit}
.tbn-rpq-delivery-down-equation>[data-q-down-prefix]{flex:1;min-width:0}
.tbn-rpq-delivery-down-equation>[data-q-delivery-down]{margin-left:12px;color:#263f58;font-size:17px;font-weight:700;text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:600px){.tbn-rpq-delivery-down-equation>[data-q-delivery-down]{font-size:16px}}
.tbn-rpq-delivery-fees{padding:0 4px 12px}
.tbn-rpq-delivery-fees h4{display:block;margin:0 0 10px;padding:12px 15px;border:1px solid #c4e1f3;border-radius:12px;background:#e5f2fc;font-size:15px;font-weight:800;line-height:1.45;color:#2f6b94}
.tbn-rpq-delivery-summary .tbn-rpq-delivery-deposit{padding:12px 15px;margin:8px 0 13px;border-radius:12px;background:#eef3f8}
.tbn-rpq-delivery-free{display:flex;flex-wrap:wrap;gap:7px;padding:10px 0}
.tbn-rpq-delivery-free>span{padding:5px 10px;border:1px solid #cae9df;border-radius:10px;background:#eefaf6;color:#287f6d;font-size:13px;font-weight:650}
.tbn-rpq-delivery-totals{border-top:1px solid #d0e3f1;padding-top:7px}
.tbn-rpq-delivery-summary .tbn-rpq-delivery-booking,.tbn-rpq-delivery-summary .tbn-rpq-delivery-booking>b{color:#318476}
.tbn-rpq-delivery-fees [data-delivery-item],.tbn-rpq-delivery-summary .tbn-rpq-delivery-deposit{padding:10px 13px;margin:5px 0;border:1px solid #deebf5;border-radius:10px;background:#f7fbff}
.tbn-rpq-delivery-fees [data-expense-tone="shade"],.tbn-rpq-delivery-summary .tbn-rpq-delivery-deposit[data-expense-tone="shade"]{background:#e3eef7}
.tbn-rpq-delivery-summary .tbn-rpq-delivery-subtotal,.tbn-rpq-delivery-summary .tbn-rpq-delivery-booking{padding:13px 15px;margin:8px 0;border:1px solid #b9dcef;border-radius:12px;background:#e8f4ff;color:#315e81;font-size:15px;font-weight:750}
.tbn-rpq-delivery-summary .tbn-rpq-delivery-booking{background:#d7ecff;color:#245f87}
.tbn-rpq-delivery-summary .tbn-rpq-delivery-subtotal>b,.tbn-rpq-delivery-summary .tbn-rpq-delivery-booking>b{color:#245f87;font-size:17px}
.tbn-rpq-delivery-summary .tbn-rpq-total{align-items:center;padding:15px 17px;margin-top:12px;background:#2d8fc5;color:#fff;border-color:#2d8fc5;font-size:15px}
.tbn-rpq-delivery-summary .tbn-rpq-total>b{font-size:17px;color:#fff;font-variant-numeric:tabular-nums}
@media(max-width:600px){.tbn-rpq-delivery-summary .tbn-rpq-qrow{font-size:14px}.tbn-rpq-delivery-summary .tbn-rpq-qrow>b{font-size:16px}.tbn-rpq-delivery-summary .tbn-rpq-delivery-down>b{font-size:16px}.tbn-rpq-delivery-summary .tbn-rpq-total>b{font-size:16px}}
@media(max-width:600px){.tbn-rpq-delivery-summary .tbn-rpq-delivery-subtotal,.tbn-rpq-delivery-summary .tbn-rpq-delivery-booking{font-size:14px}.tbn-rpq-delivery-summary .tbn-rpq-delivery-subtotal>b,.tbn-rpq-delivery-summary .tbn-rpq-delivery-booking>b{font-size:16px}}
@media(max-width:600px){.tbn-rpq-company-lookup{flex-wrap:wrap}.tbn-rpq-company-lookup input{flex-basis:100%}.tbn-rpq-company-lookup button{width:100%}}
.tbn-rpq-summary b{flex:none;font-size:15px;font-weight:800;color:#1d4669}
.tbn-rpq-summary>div:last-child{margin-top:3px;padding-top:11px;border-top:1px solid rgba(76,112,146,.22);color:#174f78;font-weight:800}
.tbn-rpq-summary>div:last-child b{font-size:17px;color:#155d8d}
@media(max-width:600px){.tbn-rpq-summary>div{gap:8px;padding:8px 1px;font-size:13px}.tbn-rpq-summary b{font-size:14px}.tbn-rpq-summary>div:last-child b{font-size:16px}}

/* Pending requested change: keep the 7% down-payment tax amount and free switch on one clear row. */
.tbn-rpq-tax{grid-column:1/-1;display:flex;align-items:center;gap:10px;min-height:52px;padding:8px 11px}
.tbn-rpq-tax>span{display:inline-block;flex:none;white-space:nowrap;color:#355572;font-size:12px;font-weight:750}
.tbn-rpq-tax>b{display:inline-block;margin:0 0 0 auto;color:#315d83;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.tbn-rpq-tax>.tbn-rpq-free-toggle{flex:0 0 68px;margin:0!important}
@media(max-width:600px){.tbn-rpq-tax{gap:7px;padding:8px}.tbn-rpq-tax>span{font-size:11px}.tbn-rpq-tax>b{font-size:12px}.tbn-rpq-tax>.tbn-rpq-free-toggle{flex-basis:60px;padding:5px 5px;gap:4px}}

/* Demo header and access gate: share the employee identity and permission used by Refinance Case Manager. */
.tbn-rpq-employee{max-width:min(52%,620px)}
.tbn-rpq-employee>span{flex:1 1 auto}
.tbn-rpq-login-page{display:grid;place-items:center;min-height:100vh;padding:20px}
.tbn-rpq-login-card{width:min(100%,440px);padding:28px;border:1px solid rgba(255,255,255,.64);border-radius:25px;background:linear-gradient(140deg,rgba(255,255,255,.78),rgba(231,244,255,.58));box-shadow:0 22px 50px rgba(48,86,130,.14),inset 0 1px 2px rgba(255,255,255,.84);backdrop-filter:blur(18px) saturate(135%);-webkit-backdrop-filter:blur(18px) saturate(135%);color:#203a59}
.tbn-rpq-login-logo{display:block;width:min(230px,70%);height:82px;margin:0 auto 12px;object-fit:contain}
.tbn-rpq-login-card h1{margin:4px 0;color:#203a59;font-size:21px;text-align:center}
.tbn-rpq-login-card>p{margin:0 0 18px;color:#657f98;font-size:13px;text-align:center}
.tbn-rpq-login-card form>label:not(.tbn-rpq-remember){display:grid;gap:6px;margin:13px 0;color:#355572;font-size:12px;font-weight:750}
.tbn-rpq-login-card form input:not([type=checkbox]){width:100%;height:46px;padding:0 12px;border:1px solid rgba(255,255,255,.72);border-radius:13px;background:rgba(255,255,255,.72);color:#203a59;box-shadow:inset 0 1px 2px rgba(255,255,255,.8),0 5px 12px rgba(44,75,110,.07)}
.tbn-rpq-remember{display:flex;align-items:center;gap:8px;margin:12px 0;color:#657f98;font-size:12px}
.tbn-rpq-login-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:10px 14px;border:1px solid rgba(255,255,255,.42);border-radius:14px;background:linear-gradient(135deg,#41a9e5,#207bbd);box-shadow:0 10px 20px rgba(24,99,154,.20),inset 0 1px 2px rgba(255,255,255,.42);color:#fff!important;font-size:14px;font-weight:800;text-decoration:none!important;cursor:pointer}
.tbn-rpq-login-card>small{display:block;margin-top:14px;color:#74899e;font-size:10px;text-align:center}
.tbn-rpq-login-alert{margin:0 0 13px;padding:10px 12px;border:1px solid rgba(192,75,83,.18);border-radius:12px;background:rgba(255,241,242,.76);color:#a32432;font-size:12px;line-height:1.5}
@media(max-width:700px){.tbn-rpq-employee{max-width:100%;width:100%;padding:8px 10px}.tbn-rpq-employee>img,.tbn-rpq-employee-placeholder{width:72px;height:72px}.tbn-rpq-employee b{font-size:16px}.tbn-rpq-logout{min-height:40px;padding:7px 10px;font-size:11px}}
@media(max-width:390px){.tbn-rpq-employee{gap:8px}.tbn-rpq-employee>img,.tbn-rpq-employee-placeholder{width:64px;height:64px}.tbn-rpq-employee b{font-size:14px}.tbn-rpq-logout{padding:6px 8px;font-size:10px}}
@media(prefers-reduced-transparency:reduce){.tbn-rpq-login-card{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(239,247,255,.97)}}

@media(max-width:600px){.tbn-rpq-delivery-down-equation{--down-equation-size:14px}}

.tbn-rpq-finance-highlights .tbn-rpq-interest-note{display:block;max-width:100%;padding:0 3px;text-align:center;font-size:10px;line-height:1.45;color:#607d96;overflow-wrap:anywhere}

/* Staff review only: match ordinary rows and use one compact gap between visible cards. */
.tbn-rpq-preview .tbn-rpq-delivery-summary{--delivery-gap:5px;display:grid;gap:var(--delivery-gap)}
.tbn-rpq-preview .tbn-rpq-delivery-summary>h3{font-size:12px!important;margin:0!important}
.tbn-rpq-preview .tbn-rpq-delivery-summary .tbn-rpq-qrow{font-size:10px;line-height:1.4}
.tbn-rpq-preview .tbn-rpq-delivery-summary .tbn-rpq-qrow>b,.tbn-rpq-preview .tbn-rpq-delivery-summary .tbn-rpq-total,.tbn-rpq-preview .tbn-rpq-delivery-summary .tbn-rpq-total>b{font-size:10px}
.tbn-rpq-preview .tbn-rpq-delivery-down-equation{--down-equation-size:10px}
.tbn-rpq-preview .tbn-rpq-delivery-down-note{font-size:9px}
.tbn-rpq-preview .tbn-rpq-delivery-down-card{margin:0}
.tbn-rpq-preview .tbn-rpq-delivery-fees{display:grid;gap:var(--delivery-gap);padding:0 4px}
.tbn-rpq-preview .tbn-rpq-delivery-fees h4{font-size:12px;margin:0}
.tbn-rpq-preview .tbn-rpq-delivery-summary [data-delivery-item],.tbn-rpq-preview .tbn-rpq-delivery-summary .tbn-rpq-delivery-subtotal,.tbn-rpq-preview .tbn-rpq-delivery-summary .tbn-rpq-delivery-booking,.tbn-rpq-preview .tbn-rpq-delivery-summary .tbn-rpq-total{margin:0}
.tbn-rpq-preview [data-q-temp-fees]{display:grid;gap:var(--delivery-gap)}
.tbn-rpq-preview [data-q-temp-fees]:empty{display:none}
.tbn-rpq-preview .tbn-rpq-delivery-totals{display:grid;gap:var(--delivery-gap);padding:0;border-top:0}

/* 1.0.50: keep history near the top until the quotation form is opened. */
.tbn-rpq-editor-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px}.tbn-rpq-editor-actions .tbn-rpq-btn{cursor:pointer}.tbn-rpq-editor-actions+[data-status]:empty{display:none}.tbn-rpq-editor-actions+[data-status]{margin:0 0 10px;text-align:left}.tbn-rpq [data-quote-editor],.tbn-rpq [data-history]{scroll-margin-top:16px}
@media print{.tbn-rpq-editor-actions{display:none!important}}

/* 1.0.51: optional free-item values remain separate from payable amounts. */
.tbn-rpq-free-value-hint{display:block;margin-top:5px;color:#57758e;font-size:10px;line-height:1.4}.tbn-rpq-preview .tbn-rpq-delivery-summary [data-free-item="true"]>b{color:#16704a;font-weight:850}

/* 1.0.52: separate the quotation title from the branch/address header. */
.tbn-rpq-preview .tbn-rpq-quote>h2{margin-top:28px}

/* 1.0.54: the address alone links to Maps; keep its icon slightly taller than the text. */
.tbn-rpq-quote-map-link{color:#71869a!important;font-size:8px;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}.tbn-rpq-quote-map-link:hover{text-decoration:underline}.tbn-rpq-quote-map-link>img{display:inline-block;width:auto!important;height:1.35em;max-height:none!important;margin:0 .35em 0 0;object-fit:contain;vertical-align:middle}
@media(max-width:600px){.tbn-rpq-quote-map-link{font-size:7px}}

.tbn-rpq-preview .tbn-rpq-delivery-down-equation{font-weight:550;color:#536d85}
.tbn-rpq-preview .tbn-rpq-delivery-down-equation>[data-q-delivery-down]{font-size:10px}

/* 1.0.56: move gifts to either end and keep names within one consistent row. */
.tbn-rpq-gift-order li:not(.tbn-rpq-gift-order-empty){display:grid;grid-template-columns:auto minmax(0,1fr) auto;min-height:64px;box-sizing:border-box}.tbn-rpq-gift-order [data-gift-order-name]{--gift-order-name-size:13px;white-space:nowrap;overflow:hidden;overflow-wrap:normal;line-height:1.5}.tbn-rpq-gift-order-actions button{width:38px;min-width:38px;min-height:38px;font-size:18px}
@media(max-width:600px){.tbn-rpq-gift-order li:not(.tbn-rpq-gift-order-empty){grid-template-columns:auto minmax(0,1fr);gap:6px 9px;min-height:84px}.tbn-rpq-gift-order-actions{grid-column:2;justify-self:end;gap:5px}.tbn-rpq-gift-order-actions button{width:34px;min-width:34px;min-height:34px}}

.tbn-rpq-gift-presets{padding:12px;border:1px solid #c8e0f1;border-radius:14px;background:#f3faff}.tbn-rpq-gift-presets>p{margin:0 0 10px;font-size:11px;line-height:1.5;color:#58758f}.tbn-rpq-preset-editor{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px}.tbn-rpq-preset-list{display:grid;gap:8px;margin-top:10px}.tbn-rpq-preset-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px;align-items:center;padding:9px;border:1px solid #d4e7f5;border-radius:11px;background:#fff}.tbn-rpq-preset-card[data-active="true"]{border-color:#67b2df;background:#eaf6ff}.tbn-rpq-preset-card>b{color:#315d83;font-size:12px;overflow-wrap:anywhere}.tbn-rpq-preset-card>small{color:#6b859a;font-size:10px}.tbn-rpq-preset-list>p{color:#6b859a;font-size:11px}.tbn-rpq-gift-presets [data-gift-preset-status]{margin:8px 0;color:#28658f}.tbn-rpq-gift-presets [data-gift-preset-status]:empty{display:none}
@media(max-width:600px){.tbn-rpq-preset-editor{grid-template-columns:1fr 1fr}.tbn-rpq-preset-editor>input{grid-column:1/-1}.tbn-rpq-preset-card{grid-template-columns:minmax(0,1fr) auto auto}.tbn-rpq-preset-card>small{grid-row:2;grid-column:1}}

.tbn-rpq-term-comparison{margin-top:9px}.tbn-rpq-comparison-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}.tbn-rpq-comparison-summary>div{display:grid;gap:5px;padding:10px;border:1px solid #cfe5f4;border-radius:12px;background:#eaf6ff;text-align:center}.tbn-rpq-comparison-summary small{color:#607d96;font-size:10px;font-weight:700}.tbn-rpq-comparison-summary b{color:#203a59;font-size:18px}.tbn-rpq-term-comparison table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0 3px;color:#345c7c;font-size:10px;text-align:center}.tbn-rpq-term-comparison th{padding:7px 3px;background:#dff0fc;font-weight:750}.tbn-rpq-term-comparison td{padding:7px 3px;background:#f8fcff;overflow-wrap:anywhere}.tbn-rpq-term-comparison tr:nth-child(even) td{background:#eaf4fc}.tbn-rpq-term-comparison td:nth-child(3){color:#176d9f;font-weight:850}.tbn-rpq-term-comparison>small{display:block;text-align:center;color:#6b859a;font-size:10px}
.tbn-rpq-validation-modal{position:fixed;z-index:1000010;inset:0;display:grid;place-items:center;padding:18px;background:rgba(28,49,72,.55);backdrop-filter:blur(7px)}.tbn-rpq-validation-panel{position:relative;width:min(470px,100%);padding:30px 26px 24px;box-sizing:border-box;border:1px solid #cee5f5;border-radius:25px;background:#f2f9ff;box-shadow:0 24px 70px rgba(20,50,78,.3);text-align:center;color:#294e6e}.tbn-rpq-validation-symbol{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 12px;border-radius:50%;background:#dcefff;color:#247bad;font-size:30px;font-weight:850}.tbn-rpq-validation-panel h3{margin:0 0 10px;font-size:22px;color:#245b83}.tbn-rpq-validation-panel p{margin:0 0 20px;font-size:15px;line-height:1.65;overflow-wrap:anywhere}.tbn-rpq-validation-panel>.tbn-rpq-btn{width:100%;min-height:48px;font-size:16px}.tbn-rpq-validation-close{position:absolute;top:9px;right:10px;width:36px;height:36px;border:0;border-radius:50%;background:#e0effb;color:#34698c;font-size:25px;cursor:pointer}
@media print{.tbn-rpq-validation-modal{display:none!important}}

.tbn-rpq-rates input[type=checkbox]{appearance:none;-webkit-appearance:none;display:inline-grid;width:28px;height:28px;flex:0 0 28px;place-content:center;margin:0;border:2px solid #8297a9;border-radius:7px;background:#fff;cursor:pointer;box-shadow:0 2px 5px rgba(35,70,112,.12)}.tbn-rpq-rates input[type=checkbox]::before{content:'✓';font-size:20px;font-weight:850;line-height:1;color:#fff;transform:scale(0)}.tbn-rpq-rates input[type=checkbox]:checked{border-color:#1683c2;background:#1683c2;box-shadow:0 0 0 4px rgba(22,131,194,.13)}.tbn-rpq-rates input[type=checkbox]:checked::before{transform:scale(1)}.tbn-rpq-rates input[type=checkbox]:focus-visible{outline:3px solid rgba(49,139,198,.36);outline-offset:2px}

/* 1.0.57: persistent history filters and contained mobile columns. */
html.tbn-rpq-document{width:100%;max-width:100%;min-width:0;overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.tbn-rpq-layout>*,.tbn-rpq-preview,.tbn-rpq-table-wrap,.tbn-rpq-history-filters>*{min-width:0;max-width:100%}
.tbn-rpq-history-main>b,.tbn-rpq-history-main>span{overflow-wrap:anywhere}
.tbn-rpq-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tbn-rpq-history-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tbn-rpq-history-search,.tbn-rpq-history-month,.tbn-rpq-history-filters>[data-history-custom-toggle],.tbn-rpq-history-filters>[data-history-search-button],.tbn-rpq-history-filters>[data-history-reset]{grid-column:1/-1}
.tbn-rpq-history-filters input,.tbn-rpq-history-filters select,.tbn-rpq-history-filters>.tbn-rpq-btn{height:52px;border-radius:16px;font-size:16px}
.tbn-rpq-history-filters>.tbn-rpq-btn{width:100%;justify-content:center;text-align:center;font-size:17px}
.tbn-rpq-history-custom{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tbn-rpq-history-custom label{min-width:0;text-align:center;font-size:14px}
.tbn-rpq-history-date{position:relative;display:grid;place-items:center;min-width:0;height:52px;padding:0 5px;border:1px solid rgba(255,255,255,.58);border-radius:16px;background:rgba(255,255,255,.58);box-shadow:0 5px 12px rgba(44,75,110,.07),inset 0 1px 2px rgba(255,255,255,.74);color:#203a59;font-size:16px;font-weight:750}
.tbn-rpq-history-date input[type=date]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.tbn-rpq-history-date input[type=date]::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:auto;height:auto;opacity:0;cursor:pointer}
.tbn-rpq-history-date:focus-within{outline:3px solid rgba(49,139,198,.26);outline-offset:2px}
.tbn-rpq-history-filters input:focus,.tbn-rpq-history-filters select:focus{outline:3px solid rgba(49,139,198,.26);outline-offset:2px}
@media(max-width:960px){.tbn-rpq-layout{grid-template-columns:minmax(0,1fr)}.tbn-rpq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.tbn-rpq input[type=text],.tbn-rpq input[type=number],.tbn-rpq input[type=search],.tbn-rpq input[type=tel],.tbn-rpq input[type=date],.tbn-rpq select,.tbn-rpq textarea{font-size:16px!important}.tbn-rpq-brand>span{min-width:0;overflow-wrap:anywhere}.tbn-rpq-employee>span{flex:1}.tbn-rpq-quote-company{flex-wrap:wrap}.tbn-rpq-tax{flex-wrap:wrap}.tbn-rpq-tax>span{white-space:normal;min-width:0;flex:1 1 100%}}
@media(max-width:600px){.tbn-rpq-grid{grid-template-columns:minmax(0,1fr)}.tbn-rpq-history-filters{gap:10px}.tbn-rpq-history-custom{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tbn-rpq-history-date{font-size:15px}.tbn-rpq-history-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.tbn-rpq-history-actions .tbn-rpq-btn{padding:10px 5px;min-width:0}.tbn-rpq-editor-actions .tbn-rpq-btn{max-width:100%;white-space:normal}}

/* 1.0.58: share generated files with a customer-specific name. */
.tbn-rpq-line-icon{display:block;flex:0 0 23px;width:23px;height:23px;overflow:visible}
.tbn-rpq-share-button{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.tbn-rpq-share-modal{position:fixed;z-index:1000020;inset:0;display:grid;place-items:center;padding:18px;background:rgba(28,49,72,.55);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.tbn-rpq-share-panel{position:relative;box-sizing:border-box;width:min(520px,100%);max-height:calc(100dvh - 36px);overflow-y:auto;padding:30px 24px 24px;border:1px solid #cee5f5;border-radius:25px;background:#f2f9ff;box-shadow:0 24px 70px rgba(20,50,78,.3);color:#294e6e}
.tbn-rpq-share-panel h3{margin:0 0 10px;padding-right:20px;color:#245b83;font-size:22px}
.tbn-rpq-share-panel>p{margin:0 0 16px;font-size:14px;line-height:1.6}
.tbn-rpq-share-name-field{display:grid;gap:7px;color:#355572;font-size:15px;font-weight:700}
.tbn-rpq-share-name-field>small{font-size:12px;font-weight:500;color:#6b859a}
.tbn-rpq-share-name-field>span{display:flex;align-items:center;min-width:0;gap:7px}
.tbn-rpq-share-name-field input{box-sizing:border-box;width:100%;min-width:0;height:48px;padding:0 12px;border:1px solid #a9cee6;border-radius:12px;background:#fff;color:#203a59;font-size:16px}
.tbn-rpq-share-name-field input:focus{outline:3px solid rgba(49,139,198,.24);outline-offset:2px}
.tbn-rpq-share-name-field b{font-size:14px;color:#6b859a}
.tbn-rpq-share-file-caption{display:block;color:#57758e;font-size:13px;overflow-wrap:anywhere}
.tbn-rpq-share-file-caption:empty{display:none}
.tbn-rpq-share-panel>.tbn-rpq-share-status{margin:14px 0;color:#57758e;font-size:13px;overflow-wrap:anywhere}
.tbn-rpq-share-actions{display:grid;gap:9px}.tbn-rpq-share-actions .tbn-rpq-btn{width:100%;min-height:46px;font-size:16px}
.tbn-rpq-share-panel button:disabled{cursor:wait;opacity:.55}
@media(max-width:600px){.tbn-rpq-share-modal{padding:12px}.tbn-rpq-share-panel{padding:28px 18px 18px}.tbn-rpq-toolbar [data-share-png],.tbn-rpq-toolbar [data-share-pdf]{flex:1 1 calc(50% - 6px)}}
@media print{.tbn-rpq-share-modal{display:none!important}}

/* 1.0.60: ready-state sharing needs no instruction or reserved status space. */
.tbn-rpq-share-panel>.tbn-rpq-share-status:empty{display:none}
.tbn-rpq-share-actions{margin-top:14px}

/* 1.0.61: keep the employee's name and registration phone together. */
.tbn-rpq-sales-contact-row{display:block;text-align:right;overflow:hidden}
.tbn-rpq-sales-contact-row>[data-q-sales]{display:inline-block;max-width:none;white-space:nowrap;font-weight:600}

/* 1.0.64: compact employee preview footer; exported document keeps its layout. */
.tbn-rpq-valid-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px}
.tbn-rpq-valid-heading>span{font-weight:700}.tbn-rpq-valid-heading .tbn-rpq-nickname-switch{font-size:10px}
.tbn-rpq-valid-field>[data-valid]{box-sizing:border-box;width:100%;max-width:100%;min-width:0;text-align:center;cursor:default}
.tbn-rpq-valid-field>[data-valid]::-webkit-date-and-time-value{text-align:center}
.tbn-rpq-footer-contact{padding:8px 10px!important;border:1px solid #dceaf5;border-radius:14px;background:#f4f9fd}
.tbn-rpq-footer-main{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;font-size:11px;line-height:1.5;color:#526f88}
.tbn-rpq-footer-validity{display:flex;align-items:center;gap:5px;flex:none;white-space:nowrap}
.tbn-rpq-footer-validity>small,.tbn-rpq-footer-validity>b{font-size:inherit;color:inherit;font-weight:600}
.tbn-rpq-footer-contact .tbn-rpq-sales-contact-row{flex:none;margin-left:auto;overflow:visible}.tbn-rpq-footer-contact .tbn-rpq-sales-contact-row>[data-q-sales]{font-size:inherit;color:inherit;font-weight:600}
.tbn-rpq-footer-contact [data-q-remarks-row]{margin-top:6px}
