/* Shared components, scoped to Sonnywebs surfaces. */
:root{--sw-brand-navy:#091a31;--sw-brand-blue:#145bce;--sw-brand-cyan:#12bce3;--sw-brand-ink:#10243e;--sw-brand-muted:#52647b;--sw-brand-line:#dce5ef;--sw-brand-radius:14px;--sw-brand-shadow:0 4px 20px rgba(16,36,62,.045)}
:is(.swcrm,.swb,.swp-shell,#swcc-app,.swm-shell,.swaff,.swsupport){font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--sw-brand-ink);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}
:is(.swcrm,.swb,.swp-shell,#swcc-app,.swm-shell,.swaff,.swsupport) :is(h1,h2,h3){letter-spacing:-.025em;line-height:1.25}
:is(.swcrm-head,.swb-head){margin-bottom:24px}.swcrm-head p{color:var(--sw-brand-muted)}
:is(.swcrm-panel,.swcrm-form,.swb-panel,.swb-card,.swp-panel,.swcc-panel){border:1px solid var(--sw-brand-line);border-radius:var(--sw-brand-radius);box-shadow:var(--sw-brand-shadow);padding:24px;background:#fff}
.swb-metrics{gap:16px}.swb-card{position:relative;overflow:hidden;min-width:0;padding:22px}.swb-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#145bce}.swb-card strong{font-size:clamp(24px,2.2vw,34px);letter-spacing:-.04em;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.swb-card p{color:#52647b;font-size:13px}.swb-card a{font-size:12px;font-weight:650;color:#145bce}
:is(.swcrm,.swb,.swp-shell,#swcc-app,.swm-shell,.swaff) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]),select,textarea){box-sizing:border-box;border:1px solid #becddd;border-radius:8px;background:#fff;color:#10243e;min-height:42px;padding:9px 12px;font:inherit;max-width:100%}
:is(.swcrm,.swb,.swp-shell,#swcc-app,.swm-shell,.swaff) input[type=checkbox],:is(.swcrm,.swb,.swp-shell,#swcc-app,.swm-shell,.swaff) input[type=radio]{accent-color:#145bce}
:is(.swcrm,.swb,.swp-shell,#swcc-app,.swm-shell,.swaff) :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #087caa;outline-offset:3px}
:is(.swcrm-table-wrap,.swb-table){border:1px solid var(--sw-brand-line);border-radius:12px;overflow:auto;background:#fff}
:is(.swcrm-table-wrap,.swb-table) table{border:0;border-collapse:collapse;table-layout:auto;width:100%;min-width:680px}
:is(.swcrm-table-wrap,.swb-table) :is(th,td){padding:13px 16px;line-height:1.5;text-align:left;vertical-align:middle;border-bottom:1px solid #e9eef5;font-size:13px;word-break:normal}
:is(.swcrm-table-wrap,.swb-table) th{background:#edf3f9;color:#455b74;font-size:11px;font-weight:700;letter-spacing:.04em}
:is(.swcrm-table-wrap,.swb-table) tbody tr:nth-child(even){background:#f9fbfd}:is(.swcrm-table-wrap,.swb-table) tbody tr:hover{background:#edf5ff}
:is(.swcrm-table-wrap,.swb-table) td:last-child{white-space:nowrap}:is(.swcrm-table-wrap,.swb-table) td a{color:#145bce}:is(.swcrm-table-wrap,.swb-table) td .swcrm-delete{color:#ac2638}
.swcrm-search{gap:10px;flex-wrap:wrap}.swcrm-search input{min-width:200px}.swcrm-badge,.swm-status{font-size:11px;font-weight:700;padding:5px 10px}.swcrm-progress{height:7px}
.swm-review-head{background:linear-gradient(115deg,#091a31,#12365b);border-radius:16px;padding:28px;margin:22px 0}.swm-review-head h2,.swm-review-head p{color:#fff}.swm-review-grid{gap:20px}.swm-price-compare{gap:10px}.swm-price-compare>span{background:#edf3f9;border-radius:10px;padding:15px;font-size:12px}.swm-price-compare b{font-size:15px;font-variant-numeric:tabular-nums}
.sw-brand-record-state{background:#edf8f6;border:1px solid #c8e6df;border-radius:12px;padding:20px;margin:22px 0}.sw-brand-record-state>strong{color:#09644e;font-size:17px}.sw-brand-record-state p{color:#355d55}.sw-brand-record-state>div{display:flex;flex-wrap:wrap;gap:10px}
.swp-shell{border:1px solid #dce5ef;border-radius:18px;box-shadow:0 12px 40px #10243e0a;overflow:hidden}.swp-main{background:#f3f6fa;min-width:0}.swp-main>h1{font-size:30px}.swp-nav{background:#091a31}.swp-panel h3{font-size:18px}.swp-table{border-radius:12px}
.swcc-nav{background:#091a31}.swcc-nav-links a{border-radius:8px}.swcc-panel{margin-bottom:20px}
.sw-brand-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.sw-brand-scroll:focus-visible{outline:3px solid #087caa;outline-offset:2px}
@media(max-width:1000px){.swm-review-grid{grid-template-columns:1fr}.swb-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){:is(.swcrm-panel,.swcrm-form,.swb-panel,.swb-card,.swp-panel,.swcc-panel){padding:18px}.swb-metrics{grid-template-columns:1fr}.swm-price-compare{grid-template-columns:1fr}.swcrm-search input{min-width:0;flex:1}.swp-main>h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){:is(.swcrm,.swb,.swp-shell,#swcc-app,.swm-shell,.swaff) *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{.sw-brand-scroll{overflow:visible}.swb-card,.swb-panel{box-shadow:none}.swb-card:before{display:none}}

.swb{--accent:#145bce}.swb-card:hover{border-color:#145bce}.swb-card>span{font-size:13px;color:#52647b}.swb-card>small{font-size:12px;color:#145bce}.swb-kicker{color:#52647b}.swb-filters{background:#fff;border:1px solid #dce5ef;border-radius:12px;padding:16px}.swb-filters label{font-size:12px;font-weight:600}
:is(.swcrm-table-wrap,.swb-table) table:has(th:nth-child(8)){min-width:1080px}
