/* Shared finishing layer for the existing PHP site. */
.header-project-cta{flex:none;gap:9px!important;padding:11px 14px!important;font-size:13px!important;white-space:nowrap}
@media(min-width:1101px){.header-inner>.brand img{width:240px}#main-nav{gap:4px;font-size:13px}.header-dropdown>summary{padding-left:8px;padding-right:8px}.header-inner{gap:12px}}
.surface-dashboard .page-header,.surface-project .page-header,.surface-summary .page-header,.surface-profile .page-header,.surface-payment .page-header,.surface-quote .page-header,.guide-page>.page-header{padding:30px 32px;border:1px solid #dbe6f7;border-radius:20px;background:linear-gradient(120deg,#f1f6ff,#fff);margin-bottom:26px}
.surface-project .page-header h1,.surface-quote .page-header h1{overflow-wrap:anywhere}
.surface-profile fieldset{border:1px solid var(--line);border-radius:12px;padding:16px;min-width:0;display:grid;gap:12px}.surface-profile legend{padding:0 7px;font-size:12px;color:#4b6386}
.surface-profile fieldset[hidden]{display:none}.surface-profile .stack>.button{justify-self:start}
.notice.error,.field-error{color:#9a2945}.notice.error{background:#fff1f4;border-color:#f3c7d1}.field-error{display:block;font-size:12px;font-weight:400;margin-top:5px;line-height:1.6}
input[aria-invalid=true],select[aria-invalid=true],textarea[aria-invalid=true]{border-color:#c84161;background:#fffafb}
.form-error-link{color:inherit;text-decoration:underline}
.surface-auth .notice.error:focus,.surface-profile .notice.error:focus{outline:2px solid #2359d9;outline-offset:3px}
.customer-tasks ul{padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.customer-tasks li>a{display:flex;justify-content:space-between;gap:15px;height:100%;padding:18px;border:1px solid #dce6f6;border-radius:12px;background:#f7faff}.customer-tasks h3{font-size:15px;margin:10px 0 4px}.customer-tasks p{font-size:13px;overflow-wrap:anywhere}.customer-tasks li>a>span{font-size:21px;color:var(--brand)}
.project-progress ol{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:22px 0 14px}.project-progress li{padding:12px;border-top:3px solid #e0e7f2;display:flex;gap:9px;align-items:center;font-size:13px;color:#60718a}.project-progress li>span{font-size:11px}.project-progress li.is-current{border-color:var(--brand);background:#edf3ff;color:#1947b0;border-radius:0 0 9px 9px}.project-progress h2{font-size:20px}
.admin-shell>div{min-width:0}.admin-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:18px!important;margin-bottom:12px!important}.admin-filters label{min-width:135px;flex:1;font-size:12px}.admin-filters label:first-child{flex:2;min-width:180px}.admin-filters input,.admin-filters select{width:100%;min-width:0}.admin-filters .button{min-height:44px;font-size:12px;padding:11px 14px}.listing-summary{margin:8px 0 14px}.listing-summary p{font-size:13px}.pagination{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.pagination .button{padding:9px 13px;font-size:12px}.pagination [aria-current=page],.admin-nav [aria-current=page]{background:#2359d9!important;color:#fff!important;border-color:#2359d9}
.admin-nav [aria-current=page]{border-radius:9px}.admin-record-table th,.admin-record-table td{max-width:380px;overflow-wrap:anywhere}.admin-record-table td a{display:inline-block;padding:6px 0}.launch-readiness{margin:20px 0}.launch-readiness>summary{display:flex;justify-content:space-between;gap:12px}.launch-readiness>summary>span{font-size:11px;transform:none!important;color:var(--muted)}.launch-readiness ul{padding:0;list-style:none}.launch-readiness li{display:flex;align-items:start;justify-content:space-between;gap:15px;padding:15px 0;border-top:1px solid var(--line)}.launch-readiness li p{font-size:12px;margin-top:5px}.launch-readiness .badge{flex:none}
.guide-page .panel h2,.scenario-card h2{font-size:24px;margin-bottom:15px}.guide-page .grid-three h3,.guide-page .grid-two h3{font-size:17px;margin:10px 0}.guide-page .panel p{line-height:1.85}.guide-list{padding-left:22px;line-height:1.9;margin:15px 0}.guide-list li+li{margin-top:10px}.scenario-card .tag{margin-bottom:18px}.scenario-card h3{font-size:13px;margin:20px 0 6px;color:var(--brand)}.scenario-card p{font-size:13px}.scenario-card .button{margin-top:20px;font-size:12px}.guide-links{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}.guide-links a{font-size:13px}.category-guide .grid-two{margin-top:20px}.category-guide h3{font-size:17px}.category-guide ul{padding-left:20px;margin:12px 0;line-height:1.9}.category-guide .tiny{margin-top:18px}.learning-service-cta{margin:32px 0;background:linear-gradient(120deg,#eff5ff,#fff)}.learning-service-cta h2{font-size:24px;margin:9px 0}.learning-service-cta .row{margin-top:18px}.learning-service-cta p{max-width:750px}
.demo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0 22px}.demo-actions .button{font-size:12px;min-height:44px}.demo-actions p{font-size:12px;color:#526986;max-width:620px}.demo-status{font-size:12px;color:var(--brand)}
.guide-page .grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.scenario-card{min-width:0}.scenario-card .button{white-space:normal;width:100%;text-align:center}.scenario-card h2{overflow-wrap:anywhere}
@media(max-width:1100px) and (min-width:761px){.guide-page .grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.guide-page .grid-three{grid-template-columns:minmax(0,1fr)}}
/* Keep the drawing palette independent from the surrounding controls. */
.gerber-page .gerber-heading{background:linear-gradient(110deg,#0b203c,#1d4679);border-color:#345c8a}.gerber-page .gerber-heading h1,.gerber-page .gerber-heading p,.gerber-page .gerber-local{color:#e4efff}.gerber-page .gerber-banner-icon{color:#a9ceff;background:#ffffff0d;border-color:#729bd14d}
.gerber-page .gerber-titlebar{background:#edf3ff;color:#193f70;border-color:#d4e0f3}.gerber-page .gerber-sidebar{background:#f7faff;border-color:#d8e3f4}.gerber-page .gerber-panel-label,.gerber-page .gerber-file-limit{color:#536c90}.gerber-page .gerber-upload{background:#edf4ff;border-color:#9db8e3;color:#2356a8}.gerber-page .gerber-toolbar{background:#f4f7fc;border-color:#d8e3f3}.gerber-page .gerber-toolbar button{color:#315e9e;border-color:#d1def1}.gerber-page .gerber-toolbar button[aria-pressed=true]{color:#fff;background:#2359d9;border-color:#2359d9}.gerber-page .gerber-sidebar-note{background:#edf4ff;color:#365b92;border-color:#dce6f5}
.gerber-page #gerber-compare{background:#f8faff;border-color:#d2dff2}.gerber-page #gerber-compare>summary,.gerber-page #gerber-compare .revision-content{background:#f8faff;color:#315e9e}.gerber-page #gerber-compare .gerber-compare-heading strong{color:#193f70}.gerber-page #gerber-compare .gerber-compare-heading small,.gerber-page #gerber-compare .gerber-compare-intro>p,.gerber-page #gerber-compare .gerber-compare-step p{color:#62748f}.gerber-page #gerber-compare .gerber-compare-step,.gerber-page #gerber-compare .revision-controls{background:#fff;border-color:#dce5f4}.gerber-page #gerber-compare .button{background:#edf3ff;border-color:#c5d7f3;color:#2f5898}.gerber-page #gerber-compare .button.primary{background:#2359d9;color:#fff;border-color:#2359d9}.gerber-page #gerber-compare .gerber-compare-icon{background:#eaf2ff;border-color:#cddcf2;color:#315e9e}
/* Compact footer: retain readable labels and reduce vertical spacing. */
.premium-footer.footer-current .footer-column h2{font-size:11px}.premium-footer.footer-current .footer-column li>a{font-size:12px;min-height:30px;padding-top:3px;padding-bottom:3px}.premium-footer.footer-current .footer-legal a{font-size:11px;min-height:30px;padding-top:3px;padding-bottom:3px}.premium-footer.footer-current .footer-bottom{font-size:11px;padding-top:8px;padding-bottom:12px}.premium-footer.footer-current .footer-account{font-size:12px!important;min-height:32px}.premium-footer.footer-current .footer-made{white-space:normal}
/* Reserve room at the end of content; support stays anchored to the viewport. */
body.support-visible main{padding-bottom:90px}
body:has(#main-nav.open) .support-widget{visibility:hidden}
@media(max-width:1100px){#main-nav>.header-project-cta{align-self:stretch;justify-content:center!important;margin-top:10px}}
@media(max-width:760px){.surface-dashboard .page-header,.surface-project .page-header,.surface-summary .page-header,.surface-profile .page-header,.surface-payment .page-header,.surface-quote .page-header,.guide-page>.page-header{padding:22px 20px;border-radius:16px}.customer-tasks ul{grid-template-columns:1fr}.project-progress ol{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.project-progress li{flex-direction:column;align-items:start;padding:8px 4px;font-size:11px;gap:5px}.project-progress h2{font-size:18px}.launch-readiness li{flex-direction:column}.guide-page .panel h2,.learning-service-cta h2{font-size:21px}.guide-links{flex-direction:column}.admin-filters label{min-width:calc(50% - 12px)}.admin-filters label:first-child{flex-basis:100%}.admin-filters>.button{flex:1}.premium-footer.footer-current .footer-column li>a{font-size:12px;min-height:34px}.premium-footer.footer-current .footer-legal a{font-size:11px;min-height:34px}.premium-footer.footer-current .footer-bottom{padding-bottom:20px;padding-right:64px}.premium-footer.footer-current .footer-brand-actions{min-width:114px}.premium-footer.footer-current .footer-motto{font-size:12px}.premium-footer.footer-current .brand img{max-width:100%}.surface-profile .stack>.button{width:100%}.admin-record-table{min-width:650px}}
@media(max-width:390px){.project-progress li{font-size:10px}.admin-filters label{min-width:100%}}
@media(prefers-reduced-motion:reduce){.project-progress *,.demo-actions *{transition:none;scroll-behavior:auto}}

/* Text-led navigation, with compact utility links and readable mobile labels. */
.site-header .utility-links{font-size:11px}
@media(max-width:1100px){.site-header #main-nav{font-size:15px}}

.site-header .utility-links .utility-line-icon{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
