/* SPOT CREATOR 2026 — a shared product interface, not a skin on the old portal. */
:root{--next-ink:#253844;--next-muted:#627783;--next-green:#e6f5fa;--next-paper:#f6f8fa;--next-border:#e3e9ed;--next-dark:#05799d}
body.spot-v2{margin:0;background:var(--next-paper);color:var(--next-ink);font-family:-apple-system,BlinkMacSystemFont,'Noto Sans JP','Hiragino Kaku Gothic ProN',Meiryo,sans-serif;font-size:15px;line-height:1.8}
.spot-v2 *{box-sizing:border-box}
.spot-v2 a{color:inherit;text-decoration:none;border-bottom:0}
.spot-v2 img{max-width:100%}
.spot-v2 :is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #0788ac;outline-offset:4px}
.next-site-header{background:#f6f8faf5;border-bottom:1px solid var(--next-border);position:relative;z-index:20}
.next-header-inner{max-width:1320px;margin:auto;padding:22px 40px;display:flex;gap:40px;align-items:center}
.next-brand{display:inline-flex;align-items:baseline;font-size:36px;font-weight:850;letter-spacing:-2px;line-height:1;white-space:nowrap;color:var(--next-ink)}
.next-brand-dot{color:#0788ac;font-size:16px;align-self:flex-start;letter-spacing:0;margin:2px 5px 0 2px}
.next-brand small{font-size:10px;letter-spacing:1.4px;font-weight:650;margin-left:4px}
.next-desktop-nav{display:flex;gap:28px;margin-right:auto;font-size:13px;font-weight:600}
.next-desktop-nav a{padding:10px 0}
.next-header-actions{display:flex;gap:20px;align-items:center;font-size:12px;font-weight:600}
.next-header-actions .next-button{min-height:44px;padding:12px 20px;font-size:13px}
.next-mobile-menu{display:none}
.next-main{max-width:1320px;margin:auto;padding:48px 40px 80px;min-height:60vh}
.spot-v2 #centercolumn,.spot-v2 #centerCcolumn{float:none;width:100%;margin:0;padding:0;min-width:0;background:transparent}
.spot-v2 .spot-screen{font-size:15px;color:var(--next-ink);line-height:1.85}
.spot-next :is(h1,h2,h3,h4){font-family:inherit;font-weight:700;color:var(--next-ink);letter-spacing:-.035em;line-height:1.5;padding:0;border:0;text-transform:none}
.spot-next p{font-size:15px;line-height:1.9;color:var(--next-muted);padding:0;margin:0 0 18px}
.spot-next section{background:none;padding:0;margin:0}
.spot-next ul{padding-left:20px;margin:16px 0;list-style:disc;font-size:14px}
.spot-next li{font-size:14px;color:var(--next-muted)}
.next-eyebrow{font-size:10px;letter-spacing:.14em;font-weight:750;color:var(--next-muted);display:inline-flex;gap:10px;align-items:center;line-height:1.6}
.next-eyebrow i{width:7px;height:7px;border-radius:50%;background:#0788ac;display:inline-block}
.spot-next .next-hero{display:grid;grid-template-columns:1.35fr 1fr;gap:70px;align-items:center;padding:36px 0 72px;border-bottom:1px solid var(--next-border)}
.next-hero h1{font-size:clamp(34px,3.6vw,54px);line-height:1.5;margin:22px 0 24px;letter-spacing:-.045em}
.next-hero-copy>p{font-size:15px;line-height:2}
.next-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:26px 0 0}
.spot-screen a.next-button,.spot-screen button.next-button,.next-header-actions .next-button{display:inline-flex;align-items:center;justify-content:center;gap:20px;border:1px solid var(--next-dark);border-radius:8px;background:var(--next-dark);color:#fff;font-size:14px;font-weight:650;min-height:50px;padding:14px 22px;line-height:1.5;cursor:pointer;box-shadow:none;text-align:center}
.spot-screen .next-button:hover,.next-header-actions .next-button:hover{background:#056681;border-color:#056681}
.spot-screen .next-button.secondary{background:transparent;color:var(--next-ink);border-color:#cbdbe4}
.spot-screen .next-button.secondary:hover{background:#edf7fb}
.spot-screen .next-button:disabled{opacity:.65;cursor:wait}
.spot-next p.next-caption{font-size:12px;line-height:1.8;color:var(--next-muted);margin:18px 0}
.next-hero-board{background:var(--next-green);border-radius:20px;padding:32px 34px;box-shadow:14px 14px 0 #edf3f6;transform:rotate(-1deg)}
.next-hero-board .next-eyebrow{color:#426879}
.next-hero-board h2{font-size:27px;margin:16px 0 26px}
.next-board-line{display:flex;align-items:flex-start;gap:18px;padding:18px 0;border-top:1px solid #bddce7}
.next-board-line>span{font-size:11px;color:#6c8897;padding-top:3px}
.next-board-line strong{font-size:15px;font-weight:700}
.next-board-line p{font-size:12px;margin:5px 0 0;color:#426879}
.next-hero-board>a{display:inline-block;margin-top:14px;font-size:12px;font-weight:700}
.spot-next .next-section{padding:56px 0 0}
.next-section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}
.next-section-head h2{font-size:28px;margin:8px 0 0}
.next-section-head>p,.next-section-head>a{font-size:13px;margin:0;flex-shrink:0}
.next-purpose-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.next-purpose{position:relative;display:block;background:#fff;border:1px solid var(--next-border);border-radius:12px;padding:24px;min-height:165px;transition:background .15s,border-color .15s}
.next-purpose:hover{background:#edf7fb;border-color:#b1cfdd}
.next-purpose>span{font-size:11px;color:#718692}
.next-purpose h3{font-size:18px;line-height:1.6;margin:20px 20px 0 0}
.next-purpose b{position:absolute;right:22px;bottom:25px;font-size:20px;font-weight:400}
.next-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.next-case-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.next-case{border:1px solid var(--next-border);border-radius:14px;background:#fff;overflow:hidden;min-width:0;transition:transform .15s,box-shadow .15s}
.next-case:hover{transform:translateY(-3px);box-shadow:0 10px 26px #2538440b}
.next-case-image{height:240px;background:#f0f4f7;display:flex;align-items:center;justify-content:center;padding:24px}
.next-case-image img{height:100%;width:100%;object-fit:contain;margin:0}
.next-case-body{padding:22px}
.next-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:11px;color:#657f8d;margin-bottom:12px}
.next-case h3{font-size:18px;line-height:1.6;margin:0 0 12px;overflow-wrap:anywhere}
.next-case p{font-size:12px;line-height:1.8;margin-bottom:20px}
.next-case-bottom{border-top:1px solid #edf1f3;padding-top:14px;display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#657f8d}
.next-case-bottom a{font-weight:700;color:var(--next-ink)}
.next-placeholder{font-size:10px;letter-spacing:.12em;color:#718692}
.spot-next .next-split-banner{margin-top:64px;padding:40px;background:var(--next-dark);border-radius:16px;display:flex;justify-content:space-between;gap:32px;align-items:center}
.next-split-banner :is(h2,p,.next-eyebrow){color:#fff}
.next-split-banner h2{font-size:30px;margin:16px 0}
.next-split-banner p{font-size:14px;margin:0;color:#d7edf5}
.spot-screen .next-split-banner .next-button{background:var(--next-green);border-color:var(--next-green);color:var(--next-ink)}
.next-page-heading{max-width:850px;margin:14px 0 36px}
.next-page-heading h1{font-size:38px;line-height:1.6;margin:14px 0}
.next-page-heading p{font-size:15px;line-height:1.9;margin:0}
.next-filters{padding:22px;background:#fff;border:1px solid var(--next-border);border-radius:12px;display:flex;gap:16px;flex-wrap:wrap;align-items:end;margin-bottom:28px}
.next-filters .next-field{flex:1 1 180px;margin:0}
.next-field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:550;margin-bottom:24px;min-width:0}
.next-field>span{color:#426879}
.next-field small{font-size:10px;margin-left:7px;background:#edf7fb;padding:3px 5px;border-radius:3px;color:#426879}
.spot-screen .next-field :is(input,select,textarea){width:100%;background:#f9fbfc;border:1px solid #cfdae1;border-radius:7px;padding:12px;min-height:48px;font-size:15px;line-height:1.6;font-family:inherit;color:var(--next-ink)}
.spot-screen .next-field textarea{min-height:130px;resize:vertical}
.next-form{padding:30px;border:1px solid var(--next-border);border-radius:14px;background:#fff;margin:0 0 24px;max-width:920px}
.next-form>h2{font-size:23px;margin:0 0 24px}
.next-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.next-check{flex-direction:row;align-items:flex-start;gap:12px;font-weight:400}
.spot-screen .next-check input{width:18px;min-height:18px;height:18px;flex:0 0 18px;margin:3px 0;padding:0;accent-color:#0788ac}
.next-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.next-results-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;margin-bottom:24px}
.next-results-meta>span{color:var(--next-muted);font-size:12px}
.next-pagination,.next-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:28px 0}
.next-pagination a,.next-tabs a{min-width:44px;min-height:44px;padding:9px 16px;border:1px solid var(--next-border);border-radius:7px;font-size:13px;background:white;text-align:center}
.next-pagination a[aria-current],.next-tabs a[aria-current]{background:var(--next-dark);color:#fff;border-color:var(--next-dark)}
.next-tabs{margin-top:0;padding-bottom:24px;border-bottom:1px solid var(--next-border)}
.next-empty{padding:40px;text-align:center;border:1px dashed #c5d7e1;border-radius:14px;background:#edf7fb;margin:28px 0}
.next-empty h2{font-size:22px;margin:0 0 15px}
.next-empty p{font-size:14px}
.spot-next .next-panel{padding:28px;margin:0 0 24px;background:#fff;border:1px solid var(--next-border);border-radius:14px;min-width:0}
.next-panel h2{font-size:22px;margin:0 0 18px}
.next-panel p{font-size:14px;line-height:1.95}
.next-panel details{font-size:13px;padding-top:18px;border-top:1px solid var(--next-border)}
.spot-next summary{cursor:pointer;padding:12px 0;font-size:14px;font-weight:650;min-height:44px}
.next-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px;align-items:start}
.next-detail-grid>article,.next-detail-grid>div{min-width:0}
.next-detail-aside{position:sticky;top:35px;min-width:0}
.next-detail-aside .next-button{width:100%;gap:8px;font-size:13px;padding:12px}
.next-detail-aside h2{font-size:23px;overflow-wrap:anywhere}
.next-gallery{display:grid;gap:20px;margin-bottom:28px}
.next-gallery figure{margin:0;padding:24px;border:1px solid var(--next-border);border-radius:14px;background:#f0f5f8;text-align:center}
.next-gallery img{display:block;max-width:100%;max-height:560px;width:auto;height:auto;object-fit:contain;margin:auto}
.next-gallery figcaption{font-size:12px;color:var(--next-muted);margin-top:14px}
.next-facts{margin:22px 0 0;display:grid;gap:0}
.next-facts>div{padding:16px 0;border-top:1px solid var(--next-border);display:grid;grid-template-columns:155px minmax(0,1fr);gap:20px;font-size:14px}
.next-facts dt{color:var(--next-muted);font-size:12px}
.next-facts dd{margin:0;color:var(--next-ink);overflow-wrap:anywhere}
.next-price{padding:20px;background:#edf7fb;border-radius:10px;display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin:22px 0}
.next-price span{font-size:12px;color:#657f8d}
.next-price strong{font-size:30px;letter-spacing:-.03em}
.next-status{display:inline-flex;border:1px solid #d6e4eb;background:#edf4f7;padding:5px 10px;font-size:11px;color:#587585;border-radius:5px;line-height:1.6}
.next-status.is-open{background:#ddf3ed;border-color:#b5ddd0;color:#206f58}
.next-back,.next-text-link{display:inline-block;font-size:13px;font-weight:600;padding:10px 0}
.next-inbox-row{display:flex;gap:24px;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--next-border);border-radius:12px;padding:24px;margin-bottom:14px;font-size:13px}
.next-inbox-row>div{min-width:0}
.next-inbox-row h3{font-size:19px;margin:8px 0 0;overflow-wrap:anywhere}
.next-inbox-row p{font-size:12px;margin:8px 0 0}
.next-inbox-row>span{flex-shrink:0}
.next-reply>div{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:13px;margin-bottom:16px}
.next-reply time{font-size:11px;color:var(--next-muted)}
.next-notice{padding:18px 22px;margin-bottom:24px;border:1px solid #c5dfe8;border-radius:10px;background:#edf7fb;font-size:13px;color:#426879}
.next-notice a{display:block;text-decoration:underline;margin-top:8px}
.next-dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.next-dashboard-grid h2{font-size:20px;margin:16px 0 10px}
.next-creator-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.next-creator{background:white;border:1px solid var(--next-border);border-radius:14px;padding:26px;min-width:0}
.next-avatar{width:60px;height:60px;display:grid;place-items:center;background:#eaf6fa;border-radius:50%;font-size:23px;color:#426879;margin-bottom:20px}
.next-creator h3{font-size:22px;margin:18px 0 12px;overflow-wrap:anywhere}
.next-creator p{font-size:13px;min-height:48px}
.next-site-footer{border-top:1px solid var(--next-border);background:#edf3f6;padding:42px max(24px,calc((100vw - 1240px)/2)) 24px;color:var(--next-ink)}
.next-footer-top{display:flex;justify-content:space-between;gap:36px;align-items:start}
.next-footer-top p{font-size:12px;margin:18px 0 0;color:var(--next-muted)}
.next-footer-top nav{display:flex;flex-wrap:wrap;gap:24px;font-size:12px}
.next-footer-top nav a{padding:10px 0}
.next-footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #d6e2e8;padding-top:24px;margin-top:35px;font-size:9px;letter-spacing:.06em;color:#657f8d}
.next-skip{position:absolute;top:-100px;left:20px;z-index:100;padding:12px;background:#fff}
.next-skip:focus{top:10px}
.spot-v2 .spot-screen-editorial{max-width:100%;background:white;border-color:var(--next-border);color:var(--next-ink)}
.spot-v2 .spot-screen-editorial>h1{font-size:30px;margin-bottom:28px}
.spot-v2 .spot-screen-editorial #content{padding:0}
.spot-v2 .spot-screen-editorial :is(button,input[type=submit]){background:var(--next-dark);border-color:var(--next-dark)}
@media(max-width:1050px){.next-header-inner{gap:24px;padding:20px 28px}.next-desktop-nav{gap:18px}.next-header-studio{display:none}.next-main{padding:35px 28px 60px}.spot-next .next-hero{gap:36px}.next-hero h1{font-size:37px}.next-hero-board{padding:26px}.next-hero-board h2{font-size:23px}.next-case-image{height:205px}.next-detail-grid{grid-template-columns:minmax(0,1fr) 280px;gap:24px}.next-purpose{padding:20px}.next-purpose h3{font-size:16px}}
@media(max-width:760px){.next-header-inner{padding:20px;gap:18px;flex-wrap:wrap}.next-brand{font-size:32px}.next-desktop-nav,.next-header-actions{display:none}.next-mobile-menu{display:block;margin-left:auto;font-size:12px}.next-mobile-menu summary{padding:10px 12px;border:1px solid #c7dbe4;border-radius:7px;cursor:pointer;list-style:none;min-height:44px;line-height:24px}.next-mobile-menu summary::-webkit-details-marker{display:none}.next-mobile-menu[open] nav{position:absolute;top:80px;left:0;right:0;display:flex;flex-direction:column;padding:14px 20px 22px;background:var(--next-paper);border-bottom:1px solid var(--next-border);box-shadow:0 10px 15px #2538440b}.next-mobile-menu nav a{padding:14px 0;border-bottom:1px solid var(--next-border);font-size:14px;min-height:48px}.next-main{padding:28px 20px 48px}.spot-next .next-hero{grid-template-columns:1fr;gap:38px;padding:12px 0 38px}.next-hero h1{font-size:36px;line-height:1.55;margin:18px 0 20px}.next-hero-copy>p{font-size:14px}.next-hero-copy>p br{display:none}.next-actions{gap:10px}.next-actions .next-button{flex:1 1 100%;width:100%}.next-hero-board{transform:none;box-shadow:7px 7px 0 #edf3f6;padding:26px;border-radius:14px}.next-hero-board h2{font-size:25px}.spot-next .next-section{padding-top:38px}.next-section-head{display:block;margin-bottom:20px}.next-section-head h2{font-size:25px}.next-section-head>p,.next-section-head>a{display:block;margin-top:12px}.next-purpose-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.next-purpose{padding:18px;min-height:160px}.next-purpose h3{font-size:15px;margin:18px 0 26px}.next-purpose b{right:18px;bottom:15px}.next-case-grid,.next-case-grid.two,.next-creator-grid,.next-dashboard-grid{grid-template-columns:1fr;gap:18px}.next-case-image{height:240px;padding:22px}.next-case-body{padding:20px}.next-case h3{font-size:20px}.next-case p{font-size:13px}.next-case-bottom{font-size:12px}.next-meta{font-size:12px}.spot-next .next-split-banner{padding:28px;display:block;margin-top:38px}.next-split-banner h2{font-size:27px}.next-split-banner .next-button{margin-top:25px;width:100%}.next-page-heading{margin:8px 0 28px}.next-page-heading h1{font-size:29px;line-height:1.6}.next-page-heading p{font-size:14px}.next-filters{padding:18px;gap:16px}.next-filters .next-field{flex-basis:100%}.next-filters .next-button{width:100%}.spot-screen .next-field :is(input,textarea,select){font-size:16px}.next-detail-grid{grid-template-columns:1fr;gap:10px}.next-detail-aside{position:static}.spot-next .next-panel{padding:22px;border-radius:12px}.next-panel h2{font-size:21px}.next-facts>div{grid-template-columns:1fr;gap:5px}.next-facts dd{font-size:14px}.next-gallery figure{padding:18px}.next-form{padding:22px}.next-form-grid{grid-template-columns:1fr;gap:0}.next-inbox-row{padding:20px;gap:12px;align-items:start}.next-inbox-row h3{font-size:18px}.next-inbox-row>span{font-size:11px}.next-empty{padding:28px 20px}.next-empty h2{font-size:20px}.next-footer-top{display:block}.next-footer-top nav{margin-top:24px;gap:14px 24px}.next-footer-bottom{flex-direction:column;gap:8px}.next-status{font-size:12px}.spot-v2 .spot-screen-editorial{padding:20px}}
@media(prefers-reduced-motion:reduce){.next-case{transition:none}.next-case:hover{transform:none}}

/* Keep the established SPOT logo, dark header, blue navigation and sidebar. */
.spot-v2 #site-content .spot-next{padding:0;background:transparent;border:0}
.spot-v2 .spot-next .next-hero{gap:24px;padding-top:0}
.spot-v2 .next-hero h1{font-size:38px}
.spot-v2 .next-hero-board{padding:24px;transform:none;box-shadow:none;border:1px solid #d3e6ef}
.spot-v2 .next-hero-board h2{font-size:23px}
.spot-v2 .next-purpose-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.spot-v2 .next-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.spot-v2 .next-detail-grid{grid-template-columns:minmax(0,1fr) 250px;gap:24px}
.spot-v2 .next-creator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.spot-v2 .next-split-banner .next-button{background:#fff;color:#05799d}
.spot-v2 .next-user-menu a{display:block;padding:12px 0;border-bottom:1px solid #e3e9ed;font-size:13px;color:#05799d}
.spot-v2 .next-user-menu p{font-size:13px;line-height:1.8;padding:0;margin:0 0 12px}
.spot-v2 .next-user-menu .next-caption{font-size:11px;color:#718692;line-height:1.8;margin-top:18px}
.spot-v2 .next-user-menu button{cursor:pointer;background:#05799d;color:white;border:0;border-radius:7px;padding:12px;width:100%}
@media(max-width:1000px){.spot-v2 .spot-next .next-hero{grid-template-columns:1fr}.spot-v2 .next-detail-grid{grid-template-columns:1fr}.spot-v2 .next-detail-aside{position:static}.spot-v2 .next-dashboard-grid{grid-template-columns:1fr}}
@media(max-width:700px){.spot-v2 .next-case-grid,.spot-v2 .next-case-grid.two,.spot-v2 .next-creator-grid{grid-template-columns:1fr}.spot-v2 .next-hero h1{font-size:32px}.spot-v2 .next-page-heading h1{font-size:27px}.spot-v2 .next-purpose h3{font-size:15px}.spot-v2 .next-case-image{height:240px}}

.spot-v2 .top-nav .social-menu a{color:#ddd}
.spot-v2 .next-filters .next-button{width:auto}
.spot-v2 .next-panel .spot-form{padding:0;margin:18px 0 0;border:0;background:none;box-shadow:none}
.spot-v2 .next-panel .spot-form button.next-button{width:100%;background:white;color:#05799d}
.spot-v2 .next-inbox-row .next-eyebrow{font-size:11px}
.spot-v2 .next-detail-aside .next-button{white-space:normal}
@media(max-width:700px){.spot-v2 .next-filters .next-button{width:100%}}

.next-footer-links{padding:24px 20px;text-align:center;font-size:13px;line-height:2;color:#42647a}.next-footer-links a{color:#246b91}

/* Sidebar rests directly on the page background. */
.spot-v2 .sidebar,.spot-v2 .sidebar .widget,.spot-v2 .sidebar .widget-content{background:transparent;border:0;box-shadow:none;border-radius:0}

/* Match native select fields to the keyword search control. */
.spot-v2 .next-filters .next-field :is(input,select){box-sizing:border-box;height:50px;min-height:50px;background-color:#f9fbfc;border:1px solid #cfdae1;border-radius:7px;padding:12px;font-size:15px;line-height:24px}
.spot-v2 .next-filters .next-field select{-webkit-appearance:none;appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23426879' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;cursor:pointer}
@media(max-width:760px){.spot-v2 .next-filters .next-field :is(input,select){font-size:16px}}

/* Restore the original SPOT sidebar heading treatment. */
.spot-v2 .sidebar .widget-title,.spot-v2 .sidebar .native-menu-title{display:inline-block;width:100%;color:var(--spot-ink,#253844);font-size:15px;letter-spacing:1px;line-height:1.5;text-transform:uppercase;padding:16px 0 10px;margin:0 0 15px;border:0;border-bottom:2px solid #0093c2;background:transparent;box-shadow:none}

.next-gallery figure>a{cursor:zoom-in}
.next-lightbox{box-sizing:border-box;width:fit-content;max-width:94vw;max-height:94vh;border:0;border-radius:12px;padding:20px;background:#fff;color:#253844;overflow:auto}
.next-lightbox::backdrop{background:rgba(15,25,33,.88)}
.next-lightbox img{display:block;width:auto;height:auto;max-width:calc(94vw - 40px);max-height:70vh;object-fit:contain;margin:auto}
.next-lightbox button{cursor:pointer;border:1px solid #cfdae1;border-radius:7px;background:#f9fbfc;color:#253844;padding:10px 14px;font:inherit;font-size:14px;min-height:44px}
.next-lightbox-close{display:block;margin:0 0 12px auto}
.next-lightbox-caption{font-size:13px;line-height:1.6;margin:14px 0;text-align:center}
.next-lightbox-nav{display:flex;gap:16px;align-items:center;justify-content:space-between}.next-lightbox-nav[hidden]{display:none}
.next-lightbox-nav span{font-size:13px;white-space:nowrap}
@media(max-width:600px){.next-lightbox{padding:12px}.next-lightbox img{max-width:calc(94vw - 24px);max-height:65vh}.next-lightbox-nav{gap:8px}.next-lightbox button{font-size:12px;padding:8px 10px}}

.reference-submenus{position:relative;align-items:flex-start;gap:10px;flex-wrap:wrap}
.reference-category-menu{position:relative;font-size:13px;min-width:0}
.reference-category-menu summary{cursor:pointer;min-height:44px;padding:9px 16px;border:1px solid var(--next-border);border-radius:7px;background:#fff;list-style:none}
.reference-category-menu summary::after{content:' ▾';margin-left:8px;color:#05799d}
.reference-category-menu[open]>div{position:absolute;z-index:30;top:calc(100% + 6px);left:0;min-width:240px;max-width:80vw;max-height:360px;overflow:auto;padding:8px;border:1px solid #cfdae1;border-radius:10px;background:white;box-shadow:0 8px 24px #25384420}
.reference-category-menu>div a{display:block;text-align:left;padding:10px 12px;border:0;border-radius:4px;min-height:44px}
.reference-category-menu>div a:hover{background:#edf7fb}
.reference-tip .next-case-image{height:80px;padding:12px}.reference-tip .next-case-image img{max-height:60px;object-fit:contain}
.reference-tip .next-case-body h2{font-size:19px;line-height:1.6;margin:0 0 14px}
@media(max-width:760px){.reference-category-menu{flex:1 1 100%}.reference-category-menu[open]>div{position:static;min-width:0;max-width:100%;max-height:300px;margin-top:6px;box-shadow:none}.reference-category-menu summary{width:100%}}

/* Contextual submenu in the original blue navigation band. */
.spot-v2 .primary-menu.reference-blue-menu{display:flex;flex-wrap:wrap;float:none;align-items:stretch}
.spot-v2 .primary-menu.reference-blue-menu>li{float:none;flex:0 1 auto;margin:0}
.spot-v2 .primary-menu.reference-blue-menu>li>a{padding:16px 14px;font-size:12px;white-space:normal;line-height:1.5;height:100%;display:flex;align-items:center}
.spot-v2 .primary-menu.reference-blue-menu>li>a[aria-current=page]{background:#05799d;color:#fff}

.spot-v2 .primary-menu.reference-blue-menu .reference-menu-label{display:block;padding:16px 18px;font-size:12px;line-height:1.5;color:white}
.tips-checkbox-form>.next-field{flex-basis:100%}
.tips-category-filter{width:100%;min-width:0}
.tips-filter-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 12px}.tips-filter-intro h2{font-size:20px;margin:0}.tips-filter-intro a{font-size:13px;color:#05799d}
.tips-category-group{border:0;min-width:0;margin:20px 0 0;padding:0}
.tips-category-group legend{display:block;float:left;width:100%;box-sizing:border-box;background:#edf1f3;border-radius:7px;padding:12px 16px;margin-bottom:14px;font-weight:650}
.tips-category-group>ul{clear:both}
.tips-category-filter label{display:flex;align-items:center;gap:10px;cursor:pointer;min-height:44px;font-size:14px;line-height:1.6}
.spot-v2 .tips-category-filter input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;flex:0 0 18px;width:18px;height:18px;min-height:18px;padding:0;margin:0;accent-color:#05799d}
.tips-category-children{list-style:none!important;display:flex;flex-wrap:wrap;gap:6px 22px;margin:0!important;padding:0 12px!important}
.tips-category-children>li{list-style:none!important;margin:0!important;padding:0!important;min-width:0}
.tips-category-children>li.has-children{flex:1 1 100%;padding:4px 0 12px!important}
.tips-category-children>li.has-children>label{font-weight:600;color:#426879}
.tips-category-children .tips-category-children{border-left:2px solid #e3e9ed;margin-left:8px!important;padding-left:18px!important}
.tips-filter-status{color:#05799d!important;font-weight:600;font-size:13px!important}
[data-reference-results][aria-busy=true]{opacity:.55}
@media(max-width:760px){.tips-category-children{gap:4px 12px;padding:0 4px!important}.tips-category-filter label{font-size:14px}.tips-category-group legend{padding:10px 12px}.tips-filter-intro h2{font-size:18px}}

.tips-category-group>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;background:#edf1f3;border-radius:7px;padding:16px;font-size:15px;font-weight:650;min-height:52px;line-height:1.6}
.tips-category-group>summary::-webkit-details-marker{display:none}
.tips-category-group>summary::after{content:'＋';font-size:20px;color:#05799d;font-weight:400}
.tips-category-group[open]>summary{background:#e6f5fa;color:#05799d}
.tips-category-group[open]>summary::after{content:'−'}
.tips-category-options{padding:14px 0 4px}

.tip-bookmark-card{height:100%;margin:0!important;display:flex;flex-direction:column;gap:8px}
.tip-bookmark-card h2{font-size:20px!important;line-height:1.6!important;margin:8px 0!important}.tip-bookmark-card>.next-text-link{margin-top:auto;color:#05799d;font-size:13px}
.tip-save-facets{border:1px solid #e3e9ed;border-radius:8px;display:flex;flex-wrap:wrap;gap:8px 16px;padding:16px;margin:20px 0}
.tip-save-facets legend{padding:0 6px;font-size:14px;font-weight:600}.tip-save-facets label{display:flex;align-items:center;gap:8px;min-height:40px;font-size:13px;cursor:pointer}
.spot-v2 .tip-save-facets input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;width:18px;min-height:18px;height:18px;margin:0;accent-color:#05799d}
/* SPOT LIBRARY: compact material browsing and separate search axes. */
.library-discovery .library-search{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;scroll-margin-top:60px}
.library-search-help{grid-column:1/-1;margin:0;font-size:12px;color:#58717e}
.library-download-note{font-size:13px;color:#476777;margin:-20px 0 24px}
.spot-v2 .library-material-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.library-material-card .next-case-image{height:180px;padding:16px}
.library-material-card .next-case-body{padding:16px}
.library-material-card .next-case-body h2{font-size:16px;line-height:1.6;margin:0 0 10px}
.library-material-card .next-text-link{display:block;min-height:44px;padding:10px 0;font-size:12px}
.library-badges{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.library-badges span{padding:3px 8px;border:1px solid #bdd1db;border-radius:5px;background:#edf5f8;font-size:11px;font-weight:700;color:#356478}
.library-material-size{font-size:11px;color:#58717e;margin:8px 0}
.library-result-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0 12px}
.library-result-toolbar a{font-size:13px;padding:12px 0;min-height:44px}
.library-active-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.library-active-filters span{font-size:12px;padding:5px 10px;background:#edf4f8;border-radius:20px;color:#355566}
.library-back-search{position:static;float:right;display:block;background:#fff;border:1px solid #bfd1dc;border-radius:24px;padding:12px 18px;margin:24px 0;box-shadow:0 2px 12px #25384415;font-size:13px;z-index:10}
.library-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.library-preview{background:#f0f4f7;border-radius:10px;padding:24px;display:flex;align-items:center;justify-content:center}
.library-preview img{width:100%;max-height:420px;object-fit:contain}
.library-details dl{font-size:13px;margin:20px 0}
.library-details dt{font-weight:700;color:#496675;margin-top:12px}
.library-details dd{margin:3px 0 12px;overflow-wrap:anywhere}
.library-license{margin:24px 0;padding:24px;background:#f4f7f9;border-radius:12px;font-size:13px;line-height:1.9}
.library-license h2,.library-keywords h2{font-size:16px}
.library-license summary{cursor:pointer;min-height:44px;padding:10px 0;color:#356478}
.library-keywords{margin-top:24px}
.library-keywords a{display:inline-block;font-size:12px;border:1px solid #d3e0e6;border-radius:14px;padding:6px 10px;margin:4px 4px 0 0;min-height:32px}
@media(min-width:1700px){.spot-v2 .library-material-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.library-material-card .next-case-image{height:150px}}
@media(max-width:760px){.library-discovery .library-search{grid-template-columns:1fr 1fr}.library-search>label:first-of-type{grid-column:1/-1}.spot-v2 .library-material-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.library-material-card .next-case-image{height:150px;padding:12px}.library-material-card .next-case-body{padding:12px}.library-material-card .next-case-body h2{font-size:14px}.library-detail-layout{grid-template-columns:1fr}.library-preview img{max-height:320px}.library-license{padding:18px}.library-download-note{margin:-8px 0 20px}.library-material-card .next-caption{font-size:11px}}
.spot-upload-existing{margin:18px 0}.spot-upload-existing h3{font-size:16px}.spot-upload-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0}.spot-upload-previews figure{margin:0;padding:10px;background:#f3f7fa;border:1px solid #dce6ed;border-radius:10px;min-width:0}.spot-upload-previews img{display:block;width:100%;height:140px;object-fit:contain}.spot-upload-previews figcaption{font-size:12px;overflow-wrap:anywhere;line-height:1.6;margin-top:8px}.spot-upload-status{font-size:13px;color:#426879}.spot-upload-status:empty{display:none}@media(max-width:700px){.spot-upload-previews{grid-template-columns:repeat(2,minmax(0,1fr))}.spot-upload-previews img{height:120px}}

.spot-upload-previews figcaption label{display:block;margin-top:8px;font-size:12px;color:#526b7b}.spot-upload-previews figcaption input{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:9px;border:1px solid #ccd9e2;border-radius:6px;background:#fff;color:#263b47;font:inherit}

.spot-upload-previews .spot-image-delete{color:#b33a39;display:flex;gap:7px;align-items:center}.spot-upload-previews .spot-image-delete input{width:auto;margin:0}.spot-image-removing img{opacity:.25}.spot-image-removing{outline:2px dashed #bf5555}

.spot-v2 .sidebar section.spot-sidebar-ranking{margin-top:30px;padding:0;background:transparent}.spot-sidebar-ranking ol{list-style:none;margin:0;padding:0}.spot-sidebar-ranking li{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid #dce5eb;align-items:flex-start}.spot-sidebar-rank{flex:0 0 25px;height:25px;background:transparent;color:#24648c;text-align:center;line-height:25px;font-size:12px;font-weight:700}.spot-sidebar-ranking li:nth-child(-n+3) .spot-sidebar-rank{background:transparent;color:#24648c}.spot-sidebar-ranking li a{font-size:13px;line-height:1.6;color:#263d4b;overflow-wrap:anywhere;text-decoration:none}.spot-sidebar-ranking li a:hover{color:#1681bd}.spot-sidebar-ranking small{display:block;font-size:11px;color:#6a8292;margin-top:3px}
