﻿.gp-quote-page{background:#f4f7fa;color:#142d43;min-height:70vh;padding-bottom:90px}
.gp-quote-breadcrumb{display:flex;align-items:center;gap:10px;min-height:52px;color:#536b7c;font-size:13px}
.gp-quote-breadcrumb a{color:#194b80;text-decoration:none}
.gp-quote-breadcrumb a:hover{text-decoration:underline}
.gp-quote-layout{display:block}
.gp-quote-main{max-width:850px;margin-right:360px;padding:26px 0 60px}
.gp-quote-header{padding:30px 34px 28px;border-radius:16px;background:#102d4b;color:#fff}
.gp-quote-header .gp7-eyebrow{color:#d6e8f4!important;margin:0 0 12px}
.gp-quote-header h1{margin:0;color:#fff;font-size:clamp(31px,3.5vw,47px);line-height:1.18}
.gp-quote-header>p:last-child{max-width:640px;margin:15px 0 0;color:#d9e7f0;line-height:1.65}
.gp-quote-article,.gp-quote-pending{margin-top:24px;padding:32px 34px;border:1px solid #dce5eb;border-radius:14px;background:#fff;line-height:1.8;overflow-wrap:anywhere}
.gp-quote-article :is(h2,h3){color:#102d4b;line-height:1.3;margin-top:1.5em}
.gp-quote-article img{max-width:100%;height:auto}
.gp-quote-article table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}
.gp-quote-article :is(th,td){border:1px solid #dce5eb;padding:10px 13px;text-align:left}
.gp-quote-pending h2{margin:0 0 12px;font-size:26px;color:#102d4b}
.gp-quote-pending p{margin:0}
.gp-quote-direct{margin:24px 0 0;font-weight:600}
.gp-quote-direct a{color:#194b80}
.gp-quote-card{position:fixed;right:18px;bottom:var(--gp-quote-card-bottom,18px);z-index:1010;width:min(340px,calc(100vw - 24px));filter:drop-shadow(0 18px 35px #102d4b29)}
.gp-quote-card details{overflow:hidden;border:1px solid #bed2e0;border-radius:14px;background:#fff}
.gp-quote-card summary{display:flex;align-items:center;gap:11px;min-height:70px;padding:12px 16px;background:#102d4b;color:#fff;cursor:pointer;list-style:none}
.gp-quote-card summary::-webkit-details-marker{display:none}
.gp-quote-card summary:focus-visible{outline:3px solid #c52332;outline-offset:-3px}
.gp-quote-card summary strong,.gp-quote-card summary small{display:block;line-height:1.4}
.gp-quote-card summary strong{font-size:16px}
.gp-quote-card summary small{margin-top:2px;color:#c9dbea;font-size:12px}
.gp-quote-card-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:10px;background:#ffffff1c;color:#fff}
.gp-quote-card-chevron{margin-left:auto;font-size:23px;transition:transform .2s}
.gp-quote-card details:not([open]) .gp-quote-card-chevron{transform:rotate(180deg)}
.gp-quote-card-content{max-height:min(620px,calc(100dvh - 112px));overflow-y:auto;padding:16px}
.gp-quote-card-content>p{margin:0 0 14px;color:#4c6274;font-size:13px;line-height:1.55}
.gp-quote-card form{display:grid;gap:8px}
.gp-quote-card form label{font-size:13px;font-weight:700;color:#102d4b}
.gp-quote-card form>input:not([type=hidden]){width:100%;min-height:44px;padding:10px 12px;border:1px solid #cbd9e3;border-radius:8px;background:#fff;font-size:16px;color:#102d4b}
.gp-quote-card form>input:focus-visible{outline:2px solid #194b80;outline-offset:1px}
.gp-quote-card form>button{min-height:46px;margin-top:8px;border:0;border-radius:8px;background:#c52332;color:#fff;font-size:14px;font-weight:750;cursor:pointer}
.gp-quote-card form>button:disabled{opacity:.55;cursor:not-allowed}
.gp-quote-card form>button:not(:disabled):hover{background:#a81d2b}
.gp-quote-card form>small{color:#5f7280;font-size:11px;line-height:1.5}
.gp-quote-card-phone{display:flex;align-items:center;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #dce5eb;color:#194b80;font-weight:700;text-decoration:none}
@media(max-width:1000px){.gp-quote-main{max-width:none;margin-right:0}.gp-quote-card{right:12px;bottom:var(--gp-quote-card-bottom,calc(72px + env(safe-area-inset-bottom,0px)));width:min(340px,calc(100vw - 24px))}.gp-quote-card-content{max-height:calc(100dvh - 185px)}}
@media(max-width:650px){.gp-quote-page{padding-bottom:130px}.gp-quote-main{padding:12px 0 42px}.gp-quote-header{padding:25px 20px}.gp-quote-article,.gp-quote-pending{padding:23px 20px}.gp-quote-card summary{min-height:60px;padding:10px 12px}.gp-quote-card-content{padding:14px}}
@media(prefers-reduced-motion:reduce){.gp-quote-card-chevron{transition:none}}

/* Tables authored in the Gia Phat quote editor. */
.gp-quote-article .gp-glass-table-scroll{width:100%;max-width:100%;overflow-x:auto;margin:24px 0;}
.gp-quote-article table{width:100%;border-collapse:collapse;background:#fff;}
.gp-quote-article th,.gp-quote-article td{border:1px solid #dce6ec;padding:12px;text-align:left;vertical-align:top;line-height:1.6;}
.gp-quote-article thead th{background:#edf4f8;color:#17354e;}

/* Full article-width tables; wide configurations scroll inside their wrapper. */
.gp-quote-article .gp-glass-table-scroll{width:100%;max-width:100%;overflow-x:auto}
.gp-quote-article .gp-glass-table-scroll table{display:table;width:100%;min-width:0;table-layout:fixed}
.gp-quote-article th,.gp-quote-article td{overflow-wrap:anywhere}
.gp-quote-article img{display:block;max-width:100%;height:auto;margin:24px auto}

/* Wider quotation reading area, with the floating form aligned to its right edge. */
@media(min-width:1280px){
 .gp-quote-layout,.gp-quote-breadcrumb{width:calc(100% - 64px);max-width:1480px}
 .gp-quote-main{max-width:none;margin-right:360px}
 .gp-quote-card{right:max(32px,calc((100vw - 1480px)/2))}
}
/* All quotation table headers and cell contents align to the left. */
.gp-quote-page .gp-quote-article table :is(th,td),
.gp-quote-page .gp-quote-article table :is(th,td) *{text-align:left!important}
