:root{font-family:Arial,Helvetica,sans-serif;color:#10243e;background:#f1f5f8;font-size:16px;line-height:1.55}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}a{color:#184f7a}button,.portal-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 20px;border:1px solid #10243e;border-radius:8px;background:#10243e;color:#fff;font-weight:700;text-decoration:none;cursor:pointer}button.secondary{background:white;color:#10243e;border-color:#bcc9d4}button:disabled{opacity:.6;cursor:wait}input,select,textarea{display:block;width:100%;padding:12px;border:1px solid #b8c5d1;border-radius:7px;color:#10243e;background:white;margin:6px 0 18px}label{display:block;font-weight:600}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #ed8424;outline-offset:3px}.portal-header{background:#fff;padding:14px max(20px,calc((100vw - 1100px)/2));border-bottom:3px solid #ed8424;display:flex;align-items:center;gap:20px}.portal-header img{width:210px;height:auto;display:block}.portal-header>span{font-size:13px;letter-spacing:2px;font-weight:bold;margin-left:auto}.portal-header button{font-size:14px;background:#fff;color:#10243e;border-color:#b8c5d1}.preview-note{padding:12px 24px;text-align:center;background:#fff0dc;color:#713c10;font-size:14px}#portal{max-width:1100px;margin:auto;padding:32px 22px 50px}h1{font-size:clamp(28px,5vw,40px);line-height:1.15;letter-spacing:-1px;margin:5px 0 14px}h2{font-size:22px;margin:0 0 14px}h3{font-size:17px;margin:0 0 10px}p{margin:8px 0 16px}.eyebrow{font-size:13px;letter-spacing:1.5px;font-weight:bold;color:#53667a}.muted{color:#52677a;font-size:14px}.portal-tabs{display:flex;gap:8px;margin:24px 0;flex-wrap:wrap}.portal-tabs button{background:#fff;color:#10243e;border-color:#d5dfe7}.portal-tabs button[aria-current=page]{background:#10243e;color:#fff}.portal-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}.portal-card{background:#fff;border:1px solid #d6dfe7;border-radius:12px;padding:26px;margin-bottom:20px}.portal-card.featured{background:#10243e;color:#fff;border:0;border-top:5px solid #ed8424}.featured .muted{color:#d1deeb}.featured a{color:#ffd0a1}.portal-stat{font-size:34px;font-weight:bold;margin:8px 0}.portal-row{padding:16px 0;border-bottom:1px solid #e1e7ec;display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap}.portal-row:last-child{border:0}.portal-row p{margin:4px 0}.portal-tag{display:inline-block;background:#e9f0f6;padding:4px 9px;border-radius:5px;font-size:13px;font-weight:700;color:#294b69}.season{padding:18px 0 18px 22px;border-left:3px solid #ed8424}.season p{margin:6px 0}.portal-empty{padding:12px 0;color:#53667a}.portal-message{padding:16px;background:#fff1df;border-left:4px solid #ed8424;margin:16px 0}.portal-footer{padding:24px;text-align:center;font-size:14px;overflow-wrap:anywhere}.login-card{max-width:490px;margin:30px auto}.portal-document{background:#fff;border:1px solid #d6dfe7;padding:28px;overflow-wrap:anywhere}.portal-document img{max-width:100%;max-height:500px;object-fit:contain}.portal-document pre{font:inherit;white-space:pre-wrap}.portal-document table{border-collapse:collapse;width:100%;margin:16px 0}.portal-document th,.portal-document td{padding:12px;text-align:left;border-bottom:1px solid #d6dfe7}.portal-actions{display:flex;flex-wrap:wrap;gap:12px}.honeypot{position:absolute;left:-10000px}.danger-note{border-top:1px solid #d6dfe7;padding-top:20px;margin-top:25px}summary{cursor:pointer;font-weight:bold}.portal-card strong,.portal-card p,.portal-card a{overflow-wrap:anywhere}[hidden]{display:none!important}@media(max-width:650px){.portal-grid{grid-template-columns:1fr}#portal{padding:24px 16px}.portal-card{padding:20px}.portal-header{padding:12px 16px;gap:10px}.portal-header img{width:170px}.portal-header>span{font-size:11px}.portal-tabs{display:grid;grid-template-columns:repeat(2,1fr)}.portal-tabs button{padding:10px}.portal-header button{padding:8px}.portal-document{padding:18px}.portal-document table{font-size:14px}}@media print{.portal-header,.portal-footer,.portal-tabs,.preview-note,.portal-actions,button{display:none!important}#portal{padding:0;max-width:none}.portal-document{border:0}body{background:white}.portal-document section{break-inside:avoid}}

.portal-offer{padding:24px 0;border-bottom:1px solid #d6dfe7}.portal-offer:last-child{border-bottom:0}.portal-offer h3{font-size:22px;margin:16px 0 8px}.portal-offer button{margin-top:12px}.portal-offer details{margin-bottom:12px}

.portal-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px}.portal-tabs button{white-space:nowrap;flex-shrink:0;font-size:14px}.portal-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:18px 0}.portal-calendar>div{min-height:70px;border:1px solid #d6e0eb;border-radius:6px;padding:8px;background:#f4f7fa}.portal-calendar small{display:block;background:#ffe6c6;font-size:12px;padding:3px;border-radius:3px}.portal-calendar>strong{font-size:13px;text-align:center}@media(max-width:650px){.portal-tabs{display:flex}.portal-calendar>div{padding:4px;min-height:55px}.portal-calendar small{font-size:11px}}

/* Keep approval controls comfortable without oversized checkbox fields. */ #accept-estimate-form input[type=checkbox]{display:inline-block;width:20px;height:20px;margin:4px 8px 4px 0;vertical-align:middle}#accept-estimate-form label{margin-bottom:16px}#accept-estimate-form button{margin:12px 8px 0 0}#full-document{display:block;max-width:100%}

/* Customer bookings: clear date choices without exposing the internal route. */
.portal-calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}.portal-calendar-nav h3{margin:0;font-size:19px}.portal-calendar-nav button{padding:8px 14px;min-height:44px}.portal-calendar .portal-calendar-day{min-width:0;min-height:70px;padding:7px 2px;background:#f4f7fa;border:1px solid #d6e0eb;color:#10243e;border-radius:7px;text-align:center;font-size:14px}.portal-calendar-day b,.portal-calendar-day small{display:block}.portal-calendar .portal-calendar-day small{font-size:10px;padding:1px;margin-top:4px;white-space:normal;overflow-wrap:anywhere;background:transparent}.portal-calendar .has-window{background:#fff0d8;border-color:#ea9b46}.portal-calendar .has-booking{background:#10243e;border-color:#10243e;color:#fff}.portal-calendar .has-booking small{color:#fff}.portal-calendar-day[aria-pressed=true]{outline:3px solid #e98425;outline-offset:1px}.portal-calendar-key{display:flex;flex-wrap:wrap;gap:8px;font-size:12px}.portal-calendar-key span{padding:6px 8px;background:#fff0d8;border-radius:5px}.portal-calendar-key strong{padding:6px 8px;background:#10243e;color:#fff;border-radius:5px}.portal-visits{scroll-margin-top:20px}.portal-visit{margin:20px 0;padding:20px;background:#f3f7fa;border:1px solid #c6d5e2;border-top:4px solid #164d7b;border-radius:10px}.portal-visit.is-window{border-top-color:#ed8424}.portal-visit h3{font-size:21px;line-height:1.4;margin:14px 0}.portal-visit .portal-actions{margin-top:20px}.portal-schedule-update{padding:14px;background:#fff0d8;border-left:3px solid #ed8424}.portal-actions button{white-space:normal}.customer-site{overflow-x:clip}.customer-site #portal{padding-bottom:100px}
@media(max-width:420px){.portal-calendar{gap:3px}.portal-calendar .portal-calendar-day{min-height:64px}.portal-visit{padding:16px}.portal-visit h3{font-size:19px}.portal-calendar>strong{font-size:11px}}

.portal-next-booking{padding:24px;border:1px solid #c3d2df;border-top:5px solid #f99938;border-radius:12px;background:#10243e;color:white;margin-bottom:24px}.portal-next-booking .eyebrow{color:#ffbd7d}.portal-next-booking h2{font-size:25px;line-height:1.3}.portal-next-booking button{margin-top:10px}

/* Customer feedback */
.portal-rating-prompt{border-top:4px solid #f99530}.portal-rating-card{max-width:760px}.rating-field{border:0;padding:0;margin:26px 0}.rating-field legend{font-size:1.1rem;font-weight:700;margin-bottom:12px}.rating-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.rating-choices label{position:relative;margin:0;cursor:pointer}.rating-choices input{position:absolute;opacity:0;width:1px;min-height:0}.rating-choices span{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 3px;border:2px solid #ccd8e4;border-radius:10px;background:#f3f7fa;color:#10243e}.rating-choices b{font-size:1.15rem}.rating-choices small{font-size:.875rem}.rating-choices input:checked+span{border-color:#bd5700;background:#fff0de}.rating-choices input:focus-visible+span{outline:3px solid #10243e;outline-offset:3px}.rating-contact{display:flex!important;gap:10px;align-items:flex-start;margin:20px 0}.rating-contact input{width:22px;min-height:22px;flex:0 0 22px}.rating-customer-comment{white-space:pre-wrap;overflow-wrap:anywhere}.rating-thanks{margin-top:24px;padding:20px;background:#edf4f8;border-radius:10px}@media(max-width:400px){.rating-choices{gap:4px}.rating-choices small{font-size:.8rem}.portal-rating-card{padding:18px}}

.portal-review-link{display:inline-block;background:#10243e;color:#fff!important;font-weight:700;padding:13px 18px;border-radius:8px;text-decoration:none;margin:8px 8px 8px 0}.portal-service-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:16px 0 28px}.portal-service-links a{padding:16px;border:1px solid #cad8e5;border-left:4px solid #f99530;border-radius:8px;background:#f4f7fa;color:#10243e;font-weight:700;text-decoration:none}

/* Five touch-friendly stars, with the crew score directly below their portrait. */
.rating-crew{margin:28px 0;padding:24px 12px;background:#f3f7fa;border-radius:12px;text-align:center}.rating-crew-profile{display:flex;align-items:center;flex-direction:column;gap:10px}.rating-avatar{position:relative;display:grid;place-items:center;width:88px;height:88px;border:3px solid #f99938;border-radius:50%;background:#dce8ef;color:#10243e;font-size:28px;font-weight:700;overflow:hidden}.rating-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.rating-avatar img[hidden]{display:none}.rating-crew .rating-field{margin:16px 0 0}.rating-crew legend{float:left;width:100%;margin-bottom:8px}.rating-crew .rating-choices{clear:both;justify-content:center}.rating-choices{display:flex;gap:4px}.rating-choices label{flex:0 0 46px;width:46px;height:48px}.rating-choices label span{display:grid;place-items:center;padding:3px;width:46px;height:48px;border:0;background:transparent;border-radius:8px;color:#526579;box-sizing:border-box}.rating-choices svg{width:36px;height:36px;fill:transparent;stroke:currentColor;stroke-width:1.5}.rating-choices .is-filled span{color:#a84b00}.rating-choices .is-filled svg{fill:#f99938}.rating-choices input:checked+span{border:0;background:transparent}.rating-choices input:focus-visible+span{outline:3px solid #10243e;outline-offset:1px}.rating-selection{font-size:.9rem;color:#526579;margin:8px 0 0}.rating-choices label:hover span{background:#ffe6c7}
