/* Sjettesporet Budsjekk — intentionally scoped styles, no remote dependencies. */
.sb-bids{--sb-bg:#0d1723;--sb-panel:#182635;--sb-panel2:#1d2d3f;--sb-line:#35465a;--sb-text:#f5f7fb;--sb-muted:#9bb0c3;--sb-accent:#ff5348;--sb-green:#65dba9;box-sizing:border-box;width:100%;max-width:100%;margin:20px auto 34px;background:var(--sb-bg);border:1px solid #344458;border-radius:16px;overflow:hidden;color:var(--sb-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;font-size:14px;line-height:1.5;container-type:inline-size}
.sb-bids *,.sb-bids *:before,.sb-bids *:after{box-sizing:border-box}.sb-bids :is(h2,h3,h4,p){font-family:inherit!important;letter-spacing:normal;font-style:normal;text-transform:none;color:inherit;margin:0;padding:0}.sb-bids a{color:inherit}.sb-bids :is(a,button,input,select):focus-visible{outline:2px solid #ffcb75;outline-offset:3px}.sb-bids-visually-hidden{position:absolute!important;height:1px;width:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
.sb-bids-hero{position:relative;isolation:isolate;min-height:230px;padding:36px 36px 29px;background:radial-gradient(ellipse at 93% 0%,#394351 0%,transparent 52%),linear-gradient(115deg,#111c2b,#1c2c3e);border-bottom:1px solid var(--sb-line);overflow:hidden}.sb-bids-hero:before{content:'';position:absolute;left:36px;top:0;width:135px;height:5px;background:var(--sb-accent)}.sb-bids-hero:after{content:'';position:absolute;width:280px;height:320px;right:-20px;top:-100px;transform:skew(-23deg);z-index:-1;opacity:.16;background:repeating-linear-gradient(90deg,#798596 0 1px,transparent 1px 44px)}.sb-bids-kicker{display:flex;gap:10px;align-items:center;font-weight:850;font-size:10px;letter-spacing:2px;color:#b8c7d6}.sb-bids-dot{display:inline-block;width:8px;height:8px;background:var(--sb-accent);border-radius:50%;box-shadow:0 0 0 4px #ff534828}.sb-bids .sb-bids-hero h2{margin:13px 0 6px;font-weight:950;font-size:clamp(38px,6.8cqi,68px);line-height:1.09;letter-spacing:-2px;text-transform:uppercase;color:#fff}.sb-bids-hero h2 span,.sb-bids-hero h2 small{color:var(--sb-accent);font-size:inherit}.sb-bids-hero p{color:#bdccdb;max-width:570px;font-size:13px}.sb-bids-tags{display:flex;flex-wrap:wrap;gap:12px 25px;margin-top:23px;font-size:9px;font-weight:850;letter-spacing:1.2px;color:#abbccd}
.sb-bids-content{padding:28px 30px 34px}.sb-bids-section-top,.sb-bids-panel-heading{display:flex;gap:12px;align-items:end;justify-content:space-between}.sb-bids-eyebrow{color:var(--sb-accent);font-size:10px;letter-spacing:1.8px;font-weight:850}.sb-bids :is(.sb-bids-section-top h3,.sb-bids-panel-heading h3,.sb-bids-explain h3){font-weight:840;font-size:23px;line-height:1.2;margin-top:5px;color:var(--sb-text)}.sb-bids-caption{font-size:11px;color:var(--sb-muted)}.sb-bids-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 27px}.sb-bids-kpi{min-width:0;min-height:121px;padding:17px 17px 14px;border:1px solid var(--sb-line);border-radius:10px;background:linear-gradient(135deg,#213246,#19293a);display:flex;flex-direction:column}.sb-bids-kpi>span{font-size:9px;font-weight:850;letter-spacing:1.3px;color:#adbecf}.sb-bids-kpi strong{font-size:clamp(23px,3cqi,33px);letter-spacing:-.8px;margin:5px 0 0;line-height:1.24;overflow-wrap:anywhere}.sb-bids-kpi strong.sb-bids-kpi-word{font-size:clamp(17px,2.2cqi,23px);color:var(--sb-green);letter-spacing:-.2px;line-height:1.5}.sb-bids-kpi small{margin-top:auto;color:var(--sb-muted);font-size:11px}.sb-bids-main-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,.86fr);gap:15px;align-items:start}.sb-bids-primary,.sb-bids-side{min-width:0}.sb-bids-side{display:block;width:auto;max-width:none;float:none;position:static;margin:0;padding:0;background:transparent;border:0}.sb-bids-panel{border:1px solid var(--sb-line);border-radius:11px;background:#182635;min-width:0;overflow:hidden}.sb-bids-panel-heading{padding:23px 21px 17px}.sb-bids-panel-heading h3{font-size:21px!important}.sb-bids-filters{padding:0 21px 18px}.sb-bids-search{display:flex;align-items:center;gap:8px;border:1px solid #4c5d72;background:#101d2c;color:#b7c6d5;border-radius:7px;padding:0 13px;height:44px}.sb-bids-search span[aria-hidden]{font-size:24px;line-height:1}.sb-bids .sb-bids-search input{flex:1;min-width:0;border:0;box-shadow:none!important;outline:0;background:transparent!important;color:#f8fcff!important;display:block;width:100%;height:100%;font:inherit!important;font-size:13px!important;padding:0!important}.sb-bids .sb-bids-search input::placeholder{color:#8da0b5}.sb-bids-filter-row{margin-top:11px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.sb-bids-filter-row label{min-width:0;display:flex;flex-direction:column;gap:6px}.sb-bids-filter-row label>span{font-size:9px;letter-spacing:1px;font-weight:800;color:#b3c3d3}.sb-bids .sb-bids-filter-row select{width:100%;min-width:0;max-width:none!important;height:40px;border:1px solid #455970;background:#263749;color:#eef2f8;border-radius:7px;font:inherit;font-size:12px;padding:0 9px;box-shadow:none}.sb-bids-filter-actions{display:flex;align-items:end;gap:10px;grid-column:1/-1;margin-top:4px}.sb-bids .sb-bids-button{display:flex;align-items:center;justify-content:space-between;gap:27px;color:#fff!important;background:var(--sb-accent);border:1px solid #ff7167;border-radius:7px;padding:10px 14px;min-height:41px;font:inherit;font-size:12px;font-weight:850;text-transform:none;letter-spacing:.35px;cursor:pointer}.sb-bids .sb-bids-button:hover{background:#fa7468}.sb-bids .sb-bids-button span{font-size:21px;line-height:1}.sb-bids-clear{font-size:12px;text-decoration:underline!important;color:#bdcddd!important;padding:9px}.sb-bids-table-wrap{overflow-x:auto}.sb-bids .sb-bids-table{width:100%;border-collapse:collapse;border:0;border-spacing:0;table-layout:auto;margin:0;background:transparent!important;color:#e4edf7}.sb-bids-table thead{background:#253648}.sb-bids .sb-bids-table th{font:inherit;font-size:9px;font-weight:850;letter-spacing:1px;color:#aabbce;text-align:left;padding:13px 12px;border:0;border-bottom:1px solid #3c4e64;background:transparent}.sb-bids .sb-bids-table td{padding:15px 12px;border:0;border-bottom:1px solid #314357;font-size:11px;color:#e2ebf5;vertical-align:middle;background:transparent}.sb-bids .sb-bids-table tbody tr:last-child td{border:0}.sb-bids-table td strong{display:block;font-size:12px;font-weight:800;color:#f6f9fd}.sb-bids .sb-bids-table td .sb-bids-event-link{color:#bfe6ff!important;text-decoration:underline;text-decoration-color:#5889aa;text-underline-offset:3px;text-decoration-thickness:1px}.sb-bids .sb-bids-table td .sb-bids-event-link:hover{color:#fff!important;text-decoration-color:var(--sb-accent)}.sb-bids .sb-bids-table td .sb-bids-event-link:focus-visible{border-radius:2px;outline:2px solid #ffcb75;outline-offset:3px}.sb-bids-table td small{display:block;font-size:10px;margin-top:3px;line-height:1.6;color:#99adbf}.sb-bids .sb-bids-table th:first-child,.sb-bids .sb-bids-table td:first-child{padding-left:20px}.sb-bids .sb-bids-table th:last-child,.sb-bids .sb-bids-table td:last-child{padding-right:20px}.sb-bids .sb-bids-number{text-align:right!important}.sb-bids-number b{font-weight:850;font-size:17px;color:var(--sb-green)}.sb-bids-pill{display:inline-block;white-space:nowrap;font-size:10px;color:#bfd2e4;background:#293d50;border:1px solid #3f586e;border-radius:5px;padding:3px 7px}.sb-bids-paging{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #354658;padding:16px 19px;color:#a9bdcc;font-size:11px}.sb-bids-paging>div{display:flex;gap:10px}.sb-bids-paging a{color:#fff;text-decoration:none;background:#2a3b4e;border:1px solid #4a6279;border-radius:6px;padding:7px 11px;font-weight:750}.sb-bids-empty{text-align:center;padding:42px 20px 50px;border-top:1px solid #354658}.sb-bids-empty strong{font-size:16px}.sb-bids-empty p{font-size:12px;color:var(--sb-muted);margin-top:5px}.sb-bids-ranking .sb-bids-panel-heading{padding:23px 19px 8px}.sb-bids-ranking-rows{padding:10px 19px 20px}.sb-bids-rank{padding:12px 0}.sb-bids-rank-head{display:flex;align-items:center;gap:8px;justify-content:space-between}.sb-bids-rank-head span{font-size:12px;font-weight:760}.sb-bids-rank-head i{font-size:10px;font-style:normal;color:#ff675b;margin-right:7px}.sb-bids-rank-head strong{font-size:11px;white-space:nowrap;color:#dee9f3}.sb-bids-bar{height:5px;background:#35485e;border-radius:5px;overflow:hidden;margin-top:11px}.sb-bids-bar span{display:block;height:100%;background:linear-gradient(90deg,#ff5149,#ffb17a);border-radius:5px}.sb-bids-explain{margin-top:15px;padding:21px 19px}.sb-bids-explain h3{font-size:17px!important;margin:6px 0 12px}.sb-bids-explain p{font-size:12px;line-height:1.7;color:#abbdd0;margin:11px 0}.sb-bids-side-empty{padding:12px 20px;color:var(--sb-muted)}
.sb-bids-events{padding:22px}.sb-bids-events-heading h2{font-size:27px!important;margin:7px 0 17px;color:#fff!important}.sb-bids-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.sb-bids-event-card{min-width:0;background:#1d2b3c;border:1px solid #3e5066;border-radius:10px;padding:18px;display:flex;flex-direction:column;gap:7px}.sb-bids-event-card small{color:#ff7c6f;font-size:11px;font-weight:800}.sb-bids-event-card h3{font-size:17px!important;font-weight:850;line-height:1.3}.sb-bids-event-card>span{font-size:11px;color:#a9bdcf}.sb-bids-event-card>div{font-size:12px;color:#c4d3df;margin-top:10px}.sb-bids-event-card a{margin-top:5px;color:#ff867b;text-decoration:none;font-size:12px;font-weight:800}
@container (max-width:980px){.sb-bids-main-grid{grid-template-columns:1fr}.sb-bids-side{display:grid;grid-template-columns:1fr 1fr;gap:13px}.sb-bids-explain{margin:0}.sb-bids-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.sb-bids-kpi strong{font-size:29px}.sb-bids-kpi strong.sb-bids-kpi-word{font-size:23px}}
@container (max-width:620px){.sb-bids-hero{padding:29px 21px 23px;min-height:216px}.sb-bids-hero:before{left:21px}.sb-bids-hero h2{font-size:42px!important}.sb-bids-tags{gap:10px;font-size:8px}.sb-bids-content{padding:20px 12px}.sb-bids-section-top{align-items:start}.sb-bids-section-top h3{font-size:21px!important}.sb-bids-caption{font-size:10px}.sb-bids-kpis{gap:8px;margin:16px 0 20px}.sb-bids-kpi{min-height:97px;padding:12px}.sb-bids-kpi strong{font-size:24px}.sb-bids-kpi strong.sb-bids-kpi-word{font-size:20px}.sb-bids-kpi small{font-size:10px}.sb-bids-filter-row{grid-template-columns:1fr 1fr}.sb-bids-filter-row label:nth-child(3){grid-column:1/-1}.sb-bids-panel-heading{padding:17px 13px}.sb-bids-panel-heading h3{font-size:19px!important}.sb-bids-filters{padding:0 13px 15px}.sb-bids-side{grid-template-columns:1fr}.sb-bids-ranking-rows{padding:7px 16px 17px}.sb-bids-table thead{display:none}.sb-bids .sb-bids-table,.sb-bids .sb-bids-table tbody,.sb-bids .sb-bids-table tr,.sb-bids .sb-bids-table td{display:block;width:100%}.sb-bids .sb-bids-table tr{position:relative;padding:13px 14px;border-bottom:1px solid #34475b}.sb-bids .sb-bids-table tr:last-child{border-bottom:0}.sb-bids .sb-bids-table td,.sb-bids .sb-bids-table td:first-child,.sb-bids .sb-bids-table td:last-child{border:0;padding:3px 0;font-size:12px}.sb-bids .sb-bids-table td:first-child{padding-bottom:6px}.sb-bids .sb-bids-table td:first-child strong{font-size:14px}.sb-bids .sb-bids-table td:first-child small{font-size:10px}.sb-bids .sb-bids-table td:nth-child(2){color:#bcd0df}.sb-bids .sb-bids-table td:nth-child(3){margin-top:4px}.sb-bids .sb-bids-table td:nth-child(4){position:absolute;right:15px;top:16px;text-align:right!important}.sb-bids .sb-bids-table td:nth-child(4):before{content:attr(data-label);display:block;font-size:9px;letter-spacing:1px;color:#98adbf}.sb-bids .sb-bids-table td:nth-child(5):before{content:attr(data-label) ': ';color:#90a6ba}.sb-bids-number b{font-size:24px}.sb-bids .sb-bids-table td:first-child,.sb-bids .sb-bids-table td:nth-child(2){padding-right:70px}.sb-bids-event-grid{grid-template-columns:1fr}}
@container (max-width:350px){.sb-bids-hero h2{font-size:36px!important}.sb-bids-filter-row{grid-template-columns:1fr}.sb-bids-filter-row label:nth-child(3){grid-column:auto}.sb-bids-kpi strong{font-size:21px}.sb-bids-tags span:last-child{display:none}}
@media (max-width:900px){.sb-bids{container-type:inline-size}}

/* Editable explanatory paragraphs can include newlines. */
.sb-bids-hero p,.sb-bids-explain p,.sb-bids-empty p{white-space:pre-line}

.sb-bids-hero h2,.sb-bids-events-heading h2,.sb-bids :is(.sb-bids-section-top h3,.sb-bids-panel-heading h3,.sb-bids-explain h3){overflow-wrap:anywhere}

/* Independent driver/car and bid-winner searches; race names are filtered separately. */
.sb-bids-search-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.sb-bids-search-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.sb-bids-search-caption{display:block;color:#b3c3d3;font-size:10px;letter-spacing:1px;font-weight:800}
.sb-bids-search-fields .sb-bids-search{width:100%;min-width:0}
@container (max-width:620px){.sb-bids-search-fields{grid-template-columns:1fr}}
