/* Dashboard: the SaaS satellite's site design (backend/app/services/site_designs).
   Loaded only with <html data-design>; restyles existing elements, adds no content.
   Fonts: SIL OFL 1.1, served from /fonts with their licence (OFL-*.txt). */
@font-face{font-family:'Geist';font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/geist-var-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Geist';font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/geist-var-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
html[data-design]{--sd-bg:#F7F8FB;--sd-surface:#EEF1F8;--sd-ink:#0E1525;--sd-ink2:#3D4659;--sd-muted:#586174;--sd-accent:#2F55E4;--sd-accent-h:#2241B8;--sd-on-accent:#FFFFFF;--sd-kick:#2F55E4;--sd-mint:#2DD4A7;--sd-aurora:linear-gradient(110deg,#6D7CFF,#38BDF8 55%,#2DD4A7);--sd-border:#E2E6EF;--sd-font-display:'Geist',system-ui,sans-serif;--sd-font-body:'Geist',system-ui,sans-serif;--sd-r-sm:8px;--sd-r-btn:10px;--sd-r-card:14px;--sd-dur:200ms;--sd-ease:cubic-bezier(.2,0,0,1);--sd-footer-bg:#0E1525;--sd-footer-ink:#FFFFFF;--sd-footer-ink2:#B7C0D3;--sd-footer-head:#9DB0FF;--sd-footer-border:#1F2940;--sd-footer-hover:#9DB0FF}
html[data-design] h1,html[data-design] h2,html[data-design] h3,html[data-design] .font-serif{font-weight:650;letter-spacing:-.03em}
html[data-design] .sd-hero-title{font-size:clamp(32px,5.6vw,56px);line-height:1.02;max-width:18ch}
html[data-design] .sd-wm{font-weight:650;letter-spacing:-.02em}
html[data-design] .sd-hero::before{inset:0 calc(50% - 50vw);background:radial-gradient(40% 60% at 85% 20%,rgba(109,124,255,.2),transparent 70%),radial-gradient(35% 50% at 70% 85%,rgba(45,212,167,.14),transparent 70%),radial-gradient(rgba(14,21,37,.13) 1px,transparent 1.4px) 0 0/22px 22px}
html[data-design] .sd-hero::after{top:8%;bottom:8%;right:2%;width:min(500px,38%);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 380'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='1' x2='0' y2='0'%3E%3Cstop offset='0' stop-color='%236D7CFF'/%3E%3Cstop offset='1' stop-color='%2338BDF8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='212' y='158' width='252' height='172' rx='16' fill='%230E1525' fill-opacity='.05'/%3E%3Crect x='208' y='150' width='252' height='172' rx='16' fill='%23FFFFFF' stroke='%23E2E6EF' stroke-width='2'/%3E%3Crect x='230' y='172' width='84' height='9' rx='4' fill='%23D9DEEA'/%3E%3Cg fill='url(%23g)'%3E%3Crect x='238' y='250' width='22' height='50' rx='4'/%3E%3Crect x='274' y='222' width='22' height='78' rx='4'/%3E%3Crect x='310' y='236' width='22' height='64' rx='4'/%3E%3Crect x='346' y='196' width='22' height='104' rx='4'/%3E%3Crect x='382' y='212' width='22' height='88' rx='4'/%3E%3Crect x='418' y='182' width='22' height='118' rx='4'/%3E%3C/g%3E%3Crect x='44' y='46' width='206' height='88' rx='14' fill='%230E1525' fill-opacity='.05'/%3E%3Crect x='40' y='40' width='206' height='86' rx='14' fill='%23FFFFFF' stroke='%23E2E6EF' stroke-width='2'/%3E%3Crect x='60' y='62' width='90' height='9' rx='4' fill='%23D9DEEA'/%3E%3Crect x='60' y='84' width='58' height='9' rx='4' fill='%23E8EBF3'/%3E%3Crect x='174' y='66' width='50' height='28' rx='14' fill='%232DD4A7'/%3E%3Ccircle cx='209' cy='80' r='11' fill='%23FFFFFF'/%3E%3Crect x='34' y='236' width='182' height='112' rx='14' fill='%230E1525' fill-opacity='.05'/%3E%3Crect x='30' y='230' width='182' height='110' rx='14' fill='%23FFFFFF' stroke='%23E2E6EF' stroke-width='2'/%3E%3Crect x='48' y='248' width='60' height='8' rx='4' fill='%23D9DEEA'/%3E%3Cpath d='M48 318 76 300 102 308 130 282 156 290 192 262V326H48Z' fill='%232DD4A7' fill-opacity='.16'/%3E%3Cpath d='M48 318 76 300 102 308 130 282 156 290 192 262' fill='none' stroke='%232F55E4' stroke-width='3' stroke-linejoin='round' stroke-linecap='round'/%3E%3Ccircle cx='192' cy='262' r='5' fill='%232DD4A7' stroke='%23FFFFFF' stroke-width='2'/%3E%3Cpath d='M256 112v26l7-6.5 5 11 5-2.2-5-10.8 9.5-.5z' fill='%230E1525' stroke='%23FFFFFF' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") right center/contain no-repeat;animation:sd-float 1s var(--sd-ease) both}
@keyframes sd-float{from{opacity:0;transform:translateY(14px)}}
@media (max-width:1279px){
html[data-design] .sd-hero::after{opacity:.22;width:300px;right:0}
}
html[data-design] .sd-kicker{letter-spacing:.14em;color:var(--sd-ink2)}
html[data-design] .sd-kicker::before{content:"";width:8px;height:8px;flex:none;border-radius:50%;background:var(--sd-mint);box-shadow:0 0 0 4px rgba(45,212,167,.22)}
html[data-design] .sd-btn-primary{box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(14,21,37,.2)}
html[data-design] .sd-btn-primary:hover{transform:translateY(-1px)}
html[data-design] .sd-btn{background-color:#fff;box-shadow:0 1px 2px rgba(14,21,37,.06)}
html[data-design] .sd-btn:hover,html[data-design] .group:hover .sd-btn{border-color:#C3CBDB;color:var(--sd-ink)}
html[data-design] .sd-chip{background-color:#fff}
html[data-design] .sd-posts{gap:16px}
html[data-design] .sd-post{padding:24px;border:1px solid transparent;border-radius:var(--sd-r-card);background:linear-gradient(#fff,#fff) padding-box,linear-gradient(var(--sd-border),var(--sd-border)) border-box;box-shadow:0 1px 2px rgba(14,21,37,.05)}
html[data-design] .sd-post:hover{background:linear-gradient(#fff,#fff) padding-box,var(--sd-aurora) border-box;transform:translateY(-2px);box-shadow:0 14px 28px -18px rgba(47,85,228,.45)}
html[data-design] .sd-cat{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;background:var(--sd-surface);color:var(--sd-ink2);letter-spacing:.06em;font-size:11px;font-weight:600}
html[data-design] .sd-cat::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--sd-mint)}
html[data-design] .sd-post:hover .sd-cat::before{animation:sd-pulse .7s var(--sd-ease)}
@keyframes sd-pulse{50%{box-shadow:0 0 0 5px rgba(45,212,167,.3)}}
html[data-design] .sd-post:hover .sd-post-title,html[data-design] .sd-post:hover h3,html[data-design] .sd-item:hover h2{color:var(--sd-ink)}
html[data-design] .prose a{color:var(--sd-accent);text-decoration-color:rgba(47,85,228,.35);text-decoration-thickness:1.5px;text-underline-offset:3px}
html[data-design] .prose a:hover{text-decoration-color:var(--sd-accent)}
html[data-design] .sd-article .prose h2::before{content:"";display:block;width:28px;height:4px;border-radius:2px;margin-bottom:12px;background:var(--sd-aurora)}
html[data-design] .prose blockquote{position:relative;background:#fff;border:1px solid var(--sd-border);border-radius:14px 14px 14px 4px;padding:18px 20px 18px 58px;font-style:normal;color:var(--sd-ink);box-shadow:0 1px 2px rgba(14,21,37,.05)}
html[data-design] .prose blockquote::before{content:"";position:absolute;left:18px;top:18px;width:26px;height:26px;border-radius:50%;background:var(--sd-aurora)}
html[data-design] .sd-article .prose table{background:#fff;border:1px solid var(--sd-border);border-radius:12px;border-collapse:separate;border-spacing:0;overflow:hidden;font-variant-numeric:tabular-nums}
html[data-design] .sd-article .prose thead th{background:var(--sd-surface);font-size:.85em;color:var(--sd-ink2)}
html[data-design] .sd-article .prose tbody td{border-top:1px solid var(--sd-border)}
html[data-design] .sd-note{background:#EEF3FF;border:1px solid #D5DFFB;border-radius:10px;padding:10px 12px;color:#26324A}
html[data-design] .sd-note-ai{font-style:normal}
html[data-design] .sd-tag{background:#fff;border-color:#D3D9E6;border-bottom-width:2px;border-radius:6px;font-weight:500}
html[data-design] .sd-faq-item{background-color:#fff}
html[data-design] .sd-faq-item:hover{border-color:#B9C6F5}
html[data-design] .sd-rel-item{background-color:#fff}
html[data-design] .sd-rel-item:hover{border-color:#B9C6F5;box-shadow:0 12px 24px -18px rgba(47,85,228,.4)}
html[data-design] .sd-badge{border-radius:12px;background:#EEF3FF}
html[data-design] .sd-pager a,html[data-design] .sd-pager span{border-radius:10px}
html[data-design] .sd-field{background-color:#fff;border-radius:10px}
html[data-design] .sd-field:focus{outline:none;border-color:var(--sd-accent);box-shadow:0 0 0 3px rgba(47,85,228,.18)}
html[data-design] .sd-footer{border-top-width:0}
html[data-design] .sd-footer::before{content:"";display:block;height:2px;background:var(--sd-aurora)}
html[data-design] .sd-err{background:#fff;border:1.5px dashed #C3CBDB;border-radius:16px}
html[data-design] .sd-err::before{inset:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Crect x='30' y='44' width='140' height='112' rx='16' fill='none' stroke='%232F55E4' stroke-opacity='.18' stroke-width='3' stroke-dasharray='8 8'/%3E%3Ccircle cx='92' cy='96' r='20' fill='none' stroke='%232F55E4' stroke-opacity='.2' stroke-width='5'/%3E%3Cpath d='M107 111l16 16' stroke='%232F55E4' stroke-opacity='.2' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center/200px no-repeat}
@supports (animation-timeline:scroll()){
html[data-design] body.sd-article::before{content:"";position:fixed;top:0;left:0;right:0;height:3px;z-index:60;background:linear-gradient(110deg,#6D7CFF,#38BDF8 55%,#2DD4A7);transform-origin:0 50%;animation:sd-progress linear both;animation-timeline:scroll(root);pointer-events:none}
}
