@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/InterVariable.woff2) format("woff2-variations"),url(/fonts/InterVariable.woff2) format("woff2")}
@font-face{font-family:"Space Grotesk Variable";font-style:normal;font-display:swap;font-weight:300 700;src:url(/fonts/SpaceGrotesk-Variable.woff2) format("woff2-variations"),url(/fonts/SpaceGrotesk-Variable.woff2) format("woff2")}
:root{color-scheme:dark;--bg:#05090f;--surface:#101722;--ink:#edf3fc;--muted:#a9b6c9;--line:#3b485c;--accent:#c4dcff;--error:#ffc2bd;--sphere:#d6e9ff;--soft:rgba(190,216,255,.05);--font-body:"Inter Variable",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;--font-display:"Space Grotesk Variable",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font:15px/1.55 var(--font-body);font-synthesis:none;font-feature-settings:"ss01" 1,"cv05" 1}
:root[data-theme=light]{color-scheme:light;--bg:#f4f7fb;--surface:#fff;--ink:#182437;--muted:#4d5e75;--line:#738296;--accent:#254b89;--error:#952e25;--sphere:#3a5c89;--soft:rgba(26,56,106,.035)}
@media(prefers-color-scheme:light){:root[data-theme=system]{color-scheme:light;--bg:#f4f7fb;--surface:#fff;--ink:#182437;--muted:#4d5e75;--line:#738296;--accent:#254b89;--error:#952e25;--sphere:#3a5c89;--soft:rgba(26,56,106,.035)}}
*{box-sizing:border-box;min-width:0}html{scrollbar-gutter:stable}body{margin:0;min-height:100svh;max-width:100vw;overflow-x:hidden;background:radial-gradient(ellipse 40% 48% at 50% 23%,var(--soft),transparent),var(--bg);color:var(--ink);display:flex;flex-direction:column}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:5px}button,input,select,textarea{font:inherit;color:inherit}:where(button){cursor:pointer;border:1px solid var(--line);border-radius:10px;background:var(--soft);padding:10px 16px;min-height:44px}:where(button):hover{background:color-mix(in srgb,var(--accent) 10%,transparent)}button:disabled{cursor:not-allowed;opacity:.5}input,textarea,select{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:10px 12px;min-width:0;color:var(--ink)}
/* Google-style select: own chevron, no native triangle, consistent in light + dark. */
select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding:9px 34px 9px 12px;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6b7f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");background-repeat:no-repeat;background-position:right 10px center;background-size:14px 14px;cursor:pointer;transition:border-color .15s,background-color .15s,box-shadow .15s}
select:hover{border-color:color-mix(in srgb,var(--accent) 60%,var(--line));background-color:color-mix(in srgb,var(--accent) 4%,var(--surface))}
select:focus-visible{border-color:var(--accent);outline:0;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 25%,transparent)}
/* The option list is drawn by the OS and only a subset is CSS-reachable, but
   setting background + color here consistently applies across modern browsers
   so the dropdown picks up the right theme instead of inheriting Chrome's
   dark-mode default. */
select option{background:var(--surface);color:var(--ink);padding:6px 10px}
/* Themed combobox — replaces the native dropdown panel so dark/light theme
   extends to the open list. The underlying <select> stays as a focusable
   fallback (t-select-native) and still catches form submission. */
.t-select{position:relative;display:inline-flex;align-items:center;min-width:0;max-width:100%}
.t-select-native{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);pointer-events:none;opacity:0}
.t-select-button{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:7px 10px 7px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;font-size:13px;cursor:pointer;min-width:0;transition:border-color .15s,background-color .15s,box-shadow .15s}
.t-select-button:hover{border-color:color-mix(in srgb,var(--accent) 60%,var(--line));background:color-mix(in srgb,var(--accent) 4%,var(--surface))}
.t-select-button:focus-visible{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 25%,transparent)}
.t-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.t-select-chevron{width:14px;height:14px;flex:none;color:var(--muted);transition:transform .15s}
.t-select[data-open=true] .t-select-chevron{transform:rotate(180deg);color:var(--accent)}
.t-select-listbox{position:absolute;top:calc(100% + 4px);left:0;z-index:20;min-width:100%;max-height:320px;overflow-y:auto;margin:0;padding:4px;list-style:none;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 28px -14px color-mix(in srgb,var(--ink) 25%,transparent),0 2px 8px color-mix(in srgb,var(--ink) 8%,transparent)}
.t-select-option{display:flex;align-items:center;min-height:30px;padding:6px 10px;border-radius:6px;font-size:13px;color:var(--ink);cursor:pointer;outline:0}
.t-select-option:hover,.t-select-option:focus-visible{background:color-mix(in srgb,var(--accent) 10%,transparent)}
.t-select-option[aria-selected=true]{background:color-mix(in srgb,var(--accent) 16%,transparent);font-weight:500}
.t-select-option[aria-selected=true]::after{content:"";margin-left:auto;width:12px;height:12px;background:currentColor;color:var(--accent);mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;flex:none}
select option:checked{background:color-mix(in srgb,var(--accent) 18%,var(--surface));color:var(--ink)}
select option:hover{background:var(--soft)}textarea{resize:vertical}button,a,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.4;fill:none;stroke-linecap:round;stroke-linejoin:round}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%)}.skip-link{position:absolute;top:-80px;left:20px;background:var(--surface);padding:12px;z-index:20}.skip-link:focus{top:10px}#landscape{position:fixed;left:0;bottom:0;width:100%;height:60vh;pointer-events:none;z-index:-1;opacity:.85}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 35px;min-height:89px}.brand-lockup{display:flex;gap:43px;align-items:flex-start}.wordmark,.hero h1,.utility-shell h1,.settings-heading h1,.settings-page h1,.source-note h2,dialog h2,.package-card h3,.notice h2,.settings-overview-card h3,.privacy-copy h1{font-family:var(--font-display)}
.wordmark{font-size:24px;font-weight:350;letter-spacing:.43em;line-height:1.8;white-space:nowrap}.brand-promise{font-size:9px;letter-spacing:.24em;line-height:1.85;margin:0;color:var(--muted)}.topbar nav{display:flex;align-items:center;gap:22px;font-size:13px;color:var(--muted)}.topbar nav>a{display:flex;align-items:center;min-height:44px}.topbar nav>a:not(.account-circle){padding:0 11px;border-radius:9px;transition:background .15s,color .15s}.topbar nav>a:not(.account-circle):hover{background:var(--soft);color:var(--ink);text-decoration:none}.topbar nav>a[aria-current=page]{color:var(--ink)}.topbar .account-circle:hover{background:var(--soft)}.topbar .account-circle{display:block;min-height:0;width:29px;height:29px;border:1.3px solid var(--ink);border-radius:50%;margin-left:4px}.shell{width:min(1110px,calc(100% - 44px));margin:0 auto;flex:1}.hero{position:relative;display:flex;flex-direction:column;align-items:center;padding-top:0;text-align:center}.logo-frame{position:relative;width:min(550px,90vw);height:430px}.logo-frame canvas{width:100%;height:100%;display:block}.static-orb{position:absolute;inset:15% 22%;width:56%;height:70%;opacity:.5;stroke:var(--accent);stroke-width:.5}.canvas-ready .static-orb{display:none}.hero h1{font-size:44px;font-weight:350;letter-spacing:.48em;text-indent:.48em;line-height:1.3;margin:2px 0 8px}.tagline{font-size:12px;letter-spacing:.34em;font-weight:350;color:var(--muted);margin:0}.orb-caption{position:absolute;left:75%;top:194px;display:flex;gap:24px;white-space:nowrap;align-items:flex-start}.orb-caption span{width:44px;height:1px;background:var(--muted);opacity:.6;margin-top:11px}.orb-caption p{font-size:9px;letter-spacing:.25em;line-height:1.9;margin:0;color:var(--muted)}.search-section{width:min(620px,100%);margin:40px auto 0}.search-form{display:flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid color-mix(in srgb,var(--accent) 80%,transparent);border-radius:28px;background:color-mix(in srgb,var(--surface) 83%,transparent);box-shadow:0 0 25px -18px var(--accent),inset 0 0 12px color-mix(in srgb,var(--accent) 3%,transparent);min-height:52px}.search-form:focus-within{outline:1px solid var(--accent);outline-offset:3px}.search-form button{border:0;background:transparent;padding:6px;width:34px;height:34px;flex:none;border-radius:8px;display:inline-grid;place-items:center}.search-form button:hover{color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,transparent)}.search-form .search-icon{width:34px;height:34px}.search-form svg{width:18px;height:18px}.search-form .search-icon svg{width:18px;height:18px}.search-form input{border:0;outline:none;background:transparent;border-radius:0;padding:6px 4px;width:100%;min-width:0;font-size:15px;font-weight:400;min-height:36px}.search-form input::placeholder{color:var(--muted);opacity:.85}.search-form input:focus-visible{outline:none}input[type=search]::-webkit-search-cancel-button{cursor:pointer}.search-options{display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--muted);font-size:11px;margin:6px 15px 0;opacity:.83}.search-options p{margin:0}.sort-label{display:flex;gap:6px;align-items:center;white-space:nowrap}.sort-label select{min-height:32px;border:0;background:transparent;font-size:11px;padding:4px 0;max-width:112px}.sort-label option{background:var(--surface)}kbd{font-family:ui-monospace,monospace}.search-categories{display:flex;justify-content:center;align-items:center;gap:29px;margin:5px 0 0}.category{display:flex;align-items:center;gap:9px;border:0;border-radius:0;background:transparent;position:relative;padding:10px 2px;font-size:13px;font-weight:350;color:var(--muted);min-height:44px;white-space:nowrap}.category:disabled{opacity:.65}.category svg{height:17px;width:17px}.ui-icon{stroke-width:1.6;color:inherit}.icon-button{min-height:34px}.icon-button .ui-icon{width:17px;height:17px}.search-form .icon-button,.search-form button,.search-form .search-icon,.search-form button#search-submit{min-height:34px;height:34px;width:34px}.search-form .search-icon svg,.search-form button svg,.search-form .icon-button svg{width:17px;height:17px}.more-icon{stroke:none}.category.active{color:var(--ink)}.category.active svg{color:#a3ceff}.category.active::after{content:"";position:absolute;bottom:0;left:0;right:0;height:1px;background:var(--accent)}.category span{font-size:23px;line-height:1}.shortcut-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:16px}.shortcut-row:empty{display:none}.shortcut-row button{font-size:12px;min-height:34px;padding:5px 12px}.search-status{font-size:13px;color:var(--muted);text-align:center;max-width:740px;margin:18px auto}.search-status:empty{margin:0}.work-status{display:flex;align-items:center;gap:12px;justify-content:center;margin:24px 0 0;font-size:13px;color:var(--muted)}.work-status p{margin:0}.pulse-dot{width:7px;height:7px;background:var(--accent);border-radius:100%;animation:pulse 1.1s ease-in-out infinite}@keyframes pulse{50%{opacity:.25}}
@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
body:not(.results-mode) .hero{animation:rise .7s cubic-bezier(.16,1,.3,1) both}
body:not(.results-mode) .search-section{animation:rise .7s .1s cubic-bezier(.16,1,.3,1) both}
body:not(.results-mode) .search-categories{animation:rise .7s .18s cubic-bezier(.16,1,.3,1) both}footer{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:55px 35px 40px;margin-top:35px;flex-wrap:wrap}.footer-motto{display:flex;align-items:center;gap:19px}.footer-motto>span{width:30px;height:1px;background:var(--muted);opacity:.5}.footer-motto p{margin:0;font-size:8px;letter-spacing:.26em;line-height:1.9;color:var(--muted)}.footer-center{font-size:10px;color:var(--muted);opacity:.75;margin:0}.footer-links{display:flex;align-items:center;gap:22px;font-size:11px;letter-spacing:.08em;color:var(--muted)}.footer-links a:hover{color:var(--ink)}.results-mode .hero{display:none}.results-mode .search-section{margin-top:10px;margin-left:0;margin-bottom:0}.results-mode .shell{padding-top:12px}.results-mode .search-status{display:none}.results-mode .results-toolbar{margin:8px 0 12px}.results-mode .search-categories{gap:16px;margin:4px 0;padding-bottom:2px;border-bottom:1px solid color-mix(in srgb,var(--line) 40%,transparent);justify-content:flex-start}.results-mode #results-region{margin-top:12px}.results-mode #landscape{opacity:.15}.results-toolbar{display:flex;justify-content:space-between;align-items:center;margin:24px 0;font-size:13px;color:var(--muted)}.mode-pill{border:1px solid var(--line);border-radius:20px;padding:5px 12px}.results-layout{display:grid;grid-template-columns:minmax(0,750px) 1fr;gap:45px}.result{padding:22px 0;border-top:1px solid color-mix(in srgb,var(--line) 50%,transparent)}.result:first-child{border-top:0}.result-host{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.result h2{font-size:23px;font-weight:450;letter-spacing:-.025em;margin:6px 0 7px;line-height:1.3}.result-source-badge{display:inline-block;margin-left:10px;padding:2px 8px;font-size:11px;font-weight:500;letter-spacing:.04em;text-transform:lowercase;color:var(--muted);border:1px solid var(--line);border-radius:999px;vertical-align:middle;background:var(--soft)}.result[data-source=brave] .result-source-badge{color:#eaa544;border-color:color-mix(in srgb,#eaa544 40%,var(--line))}.result h2 a{color:var(--accent)}.result p{margin:0;overflow-wrap:anywhere;line-height:1.75}.result time{font-size:12px;color:var(--muted)}.source-note{padding:12px 14px;border:1px solid color-mix(in srgb,var(--line) 55%,transparent);border-radius:10px;align-self:start;background:transparent}.source-note h2{font-size:12px;font-weight:500;line-height:1.3;letter-spacing:.03em;text-transform:uppercase;color:var(--muted);margin:0 0 6px}.source-note p{font-size:11px;color:var(--muted);line-height:1.45;margin:3px 0}.pagination{display:flex;align-items:center;gap:16px;margin:25px 0}.extension-badge{display:inline-block;font-size:11px;border:1px solid var(--line);border-radius:6px;padding:2px 7px;margin:8px 6px 0 0;color:var(--muted)}:root[data-density=compact] .result,:root[data-extension-density=compact] .result{padding-block:12px}.notice{border:1px solid var(--line);border-radius:18px;padding:18px 24px;margin:24px auto;max-width:775px;background:var(--surface)}.error-notice{color:var(--error)}.notice h2{font-size:20px;font-weight:450;margin:0 0 8px}.notice p{margin:0 0 15px}.eyebrow{font-size:10px;font-weight:500;letter-spacing:.2em;color:var(--muted);margin:0 0 15px;text-transform:uppercase}.muted,.fine-print{color:var(--muted)}.fine-print{font-size:12px;line-height:1.75}.utility-page{background:var(--bg)}.utility-shell{width:min(760px,calc(100% - 40px));margin:35px auto 70px;flex:1}.utility-shell .fine-print{max-width:72ch}.control-label{display:flex;align-items:center;gap:10px;white-space:nowrap;color:var(--muted);font-size:13px}.control-label select{min-height:44px;border-radius:10px;color:var(--ink)}.empty-state{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:36px 24px;border:1px dashed color-mix(in srgb,var(--line) 70%,var(--muted));border-radius:20px;color:var(--muted);background:color-mix(in srgb,var(--soft) 60%,transparent)}.empty-state svg{width:30px;height:30px;opacity:.65;stroke-width:1.2}.empty-state p{margin:0;max-width:46ch;font-size:14px;line-height:1.6}.empty-state button{margin-top:8px}.package-grid:empty{display:none}.utility-shell.wide{width:min(1030px,calc(100% - 40px))}.utility-shell h1{font-size:clamp(32px,5vw,54px);line-height:1.15;font-weight:350;letter-spacing:-.04em;margin:0 0 22px}.utility-shell h2{font-size:23px;font-weight:450}.lede{font-size:17px;color:var(--muted);max-width:680px;margin-bottom:30px}.panel{padding:25px;border:1px solid var(--line);border-radius:20px;background:var(--soft);margin:22px 0}.panel p{color:var(--muted)}.panel h2{margin-top:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.panel-heading h2{margin:0}.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:17px 0}.panel form>label,.advanced>label{display:block;margin-top:18px;margin-bottom:8px}.panel form>input,.panel form>textarea,.advanced>input{width:100%}.check-row{display:flex!important;align-items:center;gap:10px;margin:16px 0}.check-row input{width:18px;height:18px;flex:none}.settings-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}.settings-grid label select{display:block;width:100%;margin-top:8px}.warning,.danger{color:var(--error)}.advanced{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.advanced summary{cursor:pointer;min-height:44px}.package-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin:22px 0 40px}.package-card{padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--soft)}.package-card h3{font-size:22px;font-weight:400;margin:10px 0}.package-card p{color:var(--muted)}.package-card button{margin:4px}.package-card .eyebrow{font-size:9px}.permission-row{display:flex;gap:12px;align-items:start;padding:13px 0;border-top:1px solid var(--line)}.permission-row input{width:20px;height:20px;flex:none}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--line)}.setting-row input{height:18px;width:18px}dialog{width:min(560px,calc(100% - 28px));max-height:90svh;overflow:auto;padding:28px;border:1px solid var(--line);border-radius:23px;background:var(--surface);color:var(--ink);box-shadow:0 20px 100px #0008}dialog::backdrop{background:#02050bba;backdrop-filter:blur(5px)}dialog h2{font-size:25px;font-weight:450}dialog p{color:var(--muted);font-size:14px}#install-dialog>label select{display:block;width:100%;margin:10px 0}#store-status,#account-status{min-height:24px;color:var(--accent);overflow-wrap:anywhere}body[aria-busy=true] main{cursor:progress}.privacy-copy{padding:30px 0 80px;max-width:850px}.privacy-copy h1{font-size:42px;line-height:1.2}.privacy-copy p{color:var(--muted)}
@media(min-height:1050px) and (min-width:900px){.hero{padding-top:3vh}.logo-frame{height:470px}.search-section{margin-top:55px}}
@media(max-width:1100px){.orb-caption{left:77%;gap:12px}.orb-caption span{width:24px}.orb-caption p{font-size:8px;letter-spacing:.16em}.brand-promise{display:none}.results-layout{grid-template-columns:1fr}.source-note{display:none}.footer-center{display:none}}
@media(max-width:720px){.topbar{padding:16px 18px;min-height:64px;flex-wrap:nowrap}.wordmark{font-size:16px;letter-spacing:.26em}.topbar nav{gap:8px;font-size:11px;flex-wrap:nowrap}.topbar nav>a:not(.account-circle){padding:0 4px}.topbar .account-circle{width:24px;height:24px;margin:0;flex:none}.shell{width:calc(100% - 24px)}.orb-caption{display:none}.logo-frame{height:315px;width:410px;max-width:100%}.hero h1{font-size:34px;letter-spacing:.37em;text-indent:.37em}.tagline{font-size:8px;letter-spacing:.24em}.search-section{margin-top:32px}.search-form{min-height:60px;gap:2px;padding:5px 6px}.search-form input{font-size:16px}.search-form button{width:40px}.search-form svg{width:20px;height:20px}.search-categories{gap:14px;justify-content:space-between;overflow-x:auto}.category{gap:5px;font-size:11px}.category svg{width:14px;height:14px}.search-options{font-size:9px;margin-inline:4px;gap:8px}.sort-label select{font-size:10px;max-width:88px}.sort-label{gap:4px}.search-options p{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}footer{padding:35px 20px 25px;margin-top:24px;justify-content:center;text-align:center}.footer-motto p{font-size:7px;letter-spacing:.16em}.footer-motto>span{display:none}.footer-links{font-size:10px;gap:14px}.utility-shell,.utility-shell.wide{width:calc(100% - 28px);margin-top:15px}.package-grid,.settings-grid{grid-template-columns:1fr}.panel{padding:20px}.search-status{font-size:12px}.result h2{font-size:21px}}
@media(max-width:460px){.topbar{padding:14px 14px;gap:10px}.wordmark{font-size:13px;letter-spacing:.16em}.topbar nav{gap:8px;font-size:10px}.topbar nav>a:nth-child(3){display:none}.topbar nav>a:not(.account-circle){padding:0 4px}.topbar .account-circle{width:20px;height:20px;margin-left:2px}}
@media(max-height:780px) and (min-width:721px){.logo-frame{height:315px}.hero h1{font-size:36px}.search-section{margin-top:30px}.orb-caption{top:140px}footer{padding-top:24px;padding-bottom:24px;margin-top:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
:root[data-animation=off] #brand-logo{visibility:hidden}:root[data-animation=off] .static-orb{display:block}

body{isolation:isolate}

.topbar .account-circle{position:relative}.topbar .account-circle::after{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;transform:translate(-50%,-50%)}

/* Search-first refinements: the hero no longer pushes results below the fold. */
.search-section{position:relative}.search-form{position:relative}
.suggestions{position:absolute;z-index:14;top:calc(100% + 4px);left:0;right:0;margin:0;padding:6px;list-style:none;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 10px 32px -14px color-mix(in srgb,var(--ink) 25%,transparent),0 2px 8px color-mix(in srgb,var(--ink) 8%,transparent);max-height:min(380px,60vh);overflow-y:auto}
.suggestions li{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:8px;cursor:pointer;font-size:14px;color:var(--ink)}
.suggestions li[aria-selected=true],.suggestions li:hover{background:color-mix(in srgb,var(--accent) 8%,transparent)}
.suggestions li .sug-glyph{width:16px;height:16px;flex:none;color:var(--muted);opacity:.9}
.suggestions li .sug-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.summary-label{font-size:11px;letter-spacing:.06em;opacity:.7;margin:8px 0}.result time{font-size:12px;opacity:.7}.results-mode .hero{display:none}.results-mode .shell{padding-top:24px}.results-mode #landscape{opacity:.17}.results-mode .search-section{margin-top:0}.topbar nav{opacity:.82}
@media(min-width:960px) and (max-height:900px){body:not(.results-mode) .hero{padding-top:0}body:not(.results-mode) .logo-frame{height:310px}body:not(.results-mode) #brand-logo{height:310px}body:not(.results-mode) .tagline{margin-bottom:24px}}

.documentation{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;line-height:1.7}
/* v0.4 result polish: local geometric details, no external favicons or trackers. */
.result{position:relative;padding:23px 20px 23px 24px;border:1px solid transparent;border-bottom-color:var(--line);border-radius:18px;transition:background .16s,border-color .16s}.result:hover{background:var(--soft);border-color:var(--line)}.result::before{content:"";position:absolute;left:0;top:28px;height:38px;width:2px;border-radius:10px;background:linear-gradient(180deg,var(--accent),transparent);opacity:.45}.result-host{display:flex;align-items:center;gap:9px}.source-symbol{position:relative;display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:transparent;font-size:10px;color:var(--muted);overflow:hidden;flex:none}.source-letter{line-height:1;letter-spacing:.02em;transition:opacity .18s}.source-favicon{position:absolute;inset:0;width:20px;height:20px;object-fit:contain;opacity:0;transition:opacity .18s;pointer-events:none;border-radius:50%}.source-favicon.loaded{opacity:1}.source-favicon.loaded+.source-letter,.source-symbol:has(.source-favicon.loaded) .source-letter{opacity:0}.source-kind{margin-left:auto;font-size:9px;letter-spacing:.11em;opacity:.75}.media-details{border-top:1px solid var(--line);padding-top:8px;font-size:13px}.media-details a{display:block;margin:8px 0}.pagination{justify-content:space-between;max-width:760px}.pagination button{min-width:112px}.settings-page{max-width:860px;padding-bottom:80px}.settings-page h1{font-weight:500;font-size:42px}.settings-section{margin-block:26px;border:1px solid var(--line);border-radius:20px;padding:24px}.settings-section h2{font-size:22px;margin-top:0}.settings-section p{color:var(--muted)}.settings-section .setting-row>span{max-width:75%}.setting-row input[type=search],.setting-row input[type=text]{min-height:44px;border:1px solid var(--line);border-radius:10px;padding:8px 10px;width:min(300px,50%);background:var(--surface);color:var(--ink)}.file-label{display:block;margin-block:16px}.settings-page #settings-status{min-height:32px;font-size:13px;color:var(--muted)}:root[data-text-scale="90"] .result{font-size:90%}:root[data-text-scale="110"] .result{font-size:110%}:root[data-text-scale="125"] .result{font-size:125%}:root[data-text-scale="150"] .result{font-size:150%}:root[data-summaries="hide"] .result-excerpt,:root[data-summaries="hide"] .summary-label{display:none}:root[data-dates="hide"] .result time{display:none}:root[data-contrast="high"]{--muted:var(--ink);--line:currentColor}:root[data-density="compact"] .result{padding-block:12px}.results-mode .hero{display:none}.results-mode .search-section{margin-top:24px}.results-mode .home-note{display:none}@media(prefers-reduced-motion:reduce){.result{transition:none}}@media(max-width:600px){.settings-section{padding:16px}.settings-section .setting-row{align-items:flex-start}.result{padding-inline:14px}.settings-page h1{font-size:32px}}

:root[data-source-types=hide] .source-kind{display:none}:root[data-summaries=hide] .result-excerpt,:root[data-summaries=hide] .summary-label{display:none}
.result-excerpt mark,.result h2 mark{background:color-mix(in srgb,var(--accent) 22%,transparent);color:inherit;padding:0 2px;border-radius:3px;font-weight:500}
.result:focus-within{outline:2px solid color-mix(in srgb,var(--accent) 60%,transparent);outline-offset:3px;border-radius:18px}
.empty-results{padding:16px 20px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--surface) 85%,transparent)}
.empty-results .notice{margin:0 0 8px;font-size:16px;font-weight:450}
.empty-hints{margin:0;padding-left:18px;color:var(--muted);font-size:14px;line-height:1.6}
dialog.shortcut-help{border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);padding:0;max-width:420px;width:min(92vw,420px)}
dialog.shortcut-help::backdrop{background:rgba(2,6,8,.62)}
dialog.shortcut-help form{padding:22px 24px}
dialog.shortcut-help h2{margin:0 0 14px;font-size:18px;font-weight:500;letter-spacing:.02em}
dialog.shortcut-help dl{display:grid;grid-template-columns:auto 1fr;gap:10px 18px;margin:0 0 16px;font-size:14px}
dialog.shortcut-help dt{display:flex;gap:4px;flex-wrap:wrap}
dialog.shortcut-help dd{margin:0;color:var(--muted)}
dialog.shortcut-help kbd{display:inline-block;padding:2px 7px;border:1px solid var(--line);border-bottom-width:2px;border-radius:6px;background:color-mix(in srgb,var(--soft) 70%,transparent);font-family:ui-monospace,monospace;font-size:12px;line-height:1.4;color:var(--ink)}
dialog.shortcut-help button{min-height:34px;padding:4px 14px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--ink);cursor:pointer}
dialog.shortcut-help button:hover{background:var(--soft)}
/* Signum desktop-shell tweaks: pad the window chrome so content doesn't collide with the macOS traffic lights overlay titlebar. */
html[data-tauri-shell="1"] .topbar{padding-top:28px}
html[data-tauri-shell="1"] #voice-info{display:none}
.instant-answer{padding:18px 22px;border:1px solid var(--line);border-radius:16px;background:color-mix(in srgb,var(--accent) 10%,transparent);margin:0 0 18px}
.instant-answer .ia-expr{margin:0 0 4px;font-size:14px;color:var(--muted)}
.instant-answer .ia-value{margin:0 0 8px;font-size:36px;font-weight:400;letter-spacing:.02em;color:var(--ink);font-variant-numeric:tabular-nums}
.instant-answer .ia-note{margin:0;font-size:11px;letter-spacing:.08em;color:var(--muted);text-transform:uppercase}
.did-you-mean{margin:0 0 14px;font-size:16px;color:var(--muted)}
.did-you-mean a{color:var(--accent);text-decoration:none;font-weight:450}
.did-you-mean a:hover{text-decoration:underline}
.related-searches{margin:24px 0 8px;padding:18px 0 0;border-top:1px solid var(--line)}
.related-searches .related-label{margin:0 0 10px;font-size:12px;letter-spacing:.08em;color:var(--muted);text-transform:uppercase}
.related-searches .related-grid{display:flex;flex-wrap:wrap;gap:8px}
.suggestions li.pedal{background:color-mix(in srgb,var(--accent) 7%,transparent)}
.suggestions li.pedal .sug-text{font-weight:450;color:var(--ink)}
.suggestions li .sug-kbd{margin-left:auto;font-family:ui-monospace,monospace;font-size:11px;color:var(--muted);padding:2px 7px;border:1px solid var(--line);border-radius:5px}
.suggestions li.history .sug-glyph{color:var(--muted)}
.suggestions li .sug-remove{margin-left:auto;border:0;background:transparent;color:var(--muted);font-size:18px;line-height:1;cursor:pointer;padding:0 6px;border-radius:4px}
.suggestions li .sug-remove:hover{background:var(--soft);color:var(--ink)}
/* Theme background image (uploadable). Falls back to the base gradient. */
html{background-image:var(--bg-image),radial-gradient(40% 48% at 50% 23%,color-mix(in srgb,var(--accent) 5%,transparent),transparent);background-size:cover;background-position:center;background-attachment:fixed}
html:has(.results-mode){background-attachment:fixed}
/* Shortcut tiles (cr-most-visited parity). */
.shortcuts{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:24px auto 0;max-width:620px;padding:0 16px}
.shortcut-tile{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;width:74px;padding:8px 4px 6px;border-radius:12px;color:var(--ink);text-decoration:none;transition:background .14s;background:transparent;border:1px solid transparent;cursor:pointer;font-family:inherit}
.shortcut-tile:hover{background:var(--soft);border-color:var(--line);text-decoration:none}
.shortcut-tile.drop-target{outline:2px dashed color-mix(in srgb,var(--accent) 60%,transparent);outline-offset:3px}
.shortcut-tile.dragging{opacity:.4}
.shortcut-face{position:relative;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:color-mix(in srgb,var(--surface) 85%,transparent);border:1px solid var(--line);font-size:15px;font-weight:450;color:var(--ink);overflow:hidden}
.shortcut-letter{position:relative;z-index:1;letter-spacing:.03em}
.shortcut-fav{position:absolute;inset:7px;width:26px;height:26px;object-fit:contain;opacity:0;transition:opacity .18s}
.shortcut-fav.loaded{opacity:1}
.shortcut-fav.loaded ~ .shortcut-letter,.shortcut-face:has(.shortcut-fav.loaded) .shortcut-letter{opacity:0}
.shortcut-label{font-size:11px;letter-spacing:.02em;color:var(--muted);text-align:center;max-width:84px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shortcut-tile:hover .shortcut-label{color:var(--ink)}
.shortcut-remove{position:absolute;top:3px;right:3px;width:20px;height:20px;border:0;border-radius:50%;background:color-mix(in srgb,var(--bg) 80%,transparent);color:var(--muted);font-size:14px;line-height:1;cursor:pointer;opacity:0;transition:opacity .12s;padding:0}
.shortcut-tile:hover .shortcut-remove{opacity:1}
.shortcut-remove:hover{color:var(--ink);background:var(--soft)}
.shortcut-add .shortcut-face{font-size:24px;color:var(--muted);background:transparent}
.shortcut-add:hover .shortcut-face{color:var(--ink)}
.results-mode .shortcuts,.results-mode .customize-fab{display:none}
/* Shortcut edit dialog */
dialog.shortcut-dialog{border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);padding:0;max-width:420px;width:min(92vw,420px)}
dialog.shortcut-dialog::backdrop{background:rgba(2,6,8,.62)}
dialog.shortcut-dialog form{padding:22px 24px;display:flex;flex-direction:column;gap:14px}
dialog.shortcut-dialog h2{margin:0;font-size:18px;font-weight:500}
dialog.shortcut-dialog label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted)}
dialog.shortcut-dialog input{min-height:38px;padding:7px 11px;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--ink);font-size:14px;font-family:inherit}
dialog.shortcut-dialog .button-row{display:flex;gap:8px;justify-content:flex-end;margin-top:4px}
dialog.shortcut-dialog button{min-height:34px;padding:4px 14px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--ink);cursor:pointer;font-family:inherit}
dialog.shortcut-dialog button:hover{background:var(--soft)}
dialog.shortcut-dialog #shortcut-save{background:color-mix(in srgb,var(--accent) 22%,transparent);border-color:color-mix(in srgb,var(--accent) 40%,var(--line))}
/* Customize floating action button */
.customize-fab{position:fixed;right:18px;bottom:18px;z-index:4;display:inline-flex;align-items:center;gap:7px;padding:6px 12px;min-height:32px;border:1px solid var(--line);border-radius:999px;background:color-mix(in srgb,var(--surface) 90%,transparent);color:var(--ink);font-size:12px;cursor:pointer;transition:background .14s,border-color .14s;backdrop-filter:blur(10px)}
.customize-fab:hover{background:var(--soft);border-color:color-mix(in srgb,var(--accent) 40%,var(--line))}
.customize-fab .ui-icon{width:14px;height:14px}
/* Voice search overlay */
dialog.voice-dialog{border:0;padding:0;margin:0;max-width:none;width:100vw;height:100vh;background:color-mix(in srgb,var(--bg) 96%,transparent);color:var(--ink);inset:0}
dialog.voice-dialog::backdrop{background:color-mix(in srgb,var(--bg) 90%,transparent)}
dialog.voice-dialog .voice-close{position:absolute;top:22px;right:22px;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--muted);font-size:22px;line-height:1;cursor:pointer}
dialog.voice-dialog .voice-close:hover{color:var(--ink);background:var(--soft)}
dialog.voice-dialog .voice-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:22px;padding:40px 24px}
dialog.voice-dialog .voice-ring{position:relative;display:grid;place-items:center;width:160px;height:160px;border-radius:50%;border:1px solid var(--line);background:color-mix(in srgb,var(--surface) 90%,transparent)}
dialog.voice-dialog .voice-pulse{position:absolute;inset:0;border-radius:50%;border:1px solid color-mix(in srgb,var(--accent) 55%,transparent);animation:voice-pulse 1.4s ease-out infinite}
@keyframes voice-pulse{0%{transform:scale(1);opacity:.9}100%{transform:scale(1.5);opacity:0}}
dialog.voice-dialog .voice-mic{width:60px;height:60px;color:var(--ink)}
dialog.voice-dialog .voice-prompt{margin:0;font-size:18px;color:var(--ink)}
dialog.voice-dialog .voice-transcript{margin:0;font-size:20px;font-weight:450;color:var(--accent);min-height:28px;max-width:620px;text-align:center}
dialog.voice-dialog .voice-footnote{margin:8px 0 0;font-size:11px;letter-spacing:.08em;color:var(--muted);text-transform:uppercase}
.appearance-tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin:20px 0}
.appearance-card{padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--surface) 85%,transparent)}
.appearance-card h2{margin:0 0 6px;font-size:14px;font-weight:500;letter-spacing:.02em}
.appearance-card p{margin:0 0 10px;font-size:13px;color:var(--muted)}
.appearance-card .row{display:flex;flex-wrap:wrap;gap:8px}
.appearance-card button,.appearance-card .file-pill{min-height:32px;padding:4px 12px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--ink);font-size:12px;cursor:pointer;font-family:inherit}
.appearance-card button:hover,.appearance-card .file-pill:hover{background:var(--soft)}
.appearance-card .small{font-size:11px;letter-spacing:.04em;margin:8px 0 0}
/* Seasonal doodle hint on the orb. Subtle — the brand stays Signum. */
html[data-season="autumn"]{--sphere:#f0c38a}
html[data-season="winter"]{--sphere:#cde6ff}
html[data-season="spring"]{--sphere:#c6f0d5}
html[data-season="summer"]{--sphere:#ffd98a}
/* Promo slot (middle-slot-promo analogue) */
.promo-slot{position:relative;max-width:620px;margin:18px auto 0;padding:10px 40px 10px 14px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--surface) 85%,transparent)}
.promo-slot .promo-title{margin:0 0 4px;font-size:14px;font-weight:500;color:var(--ink)}
.promo-slot .promo-body{margin:0;font-size:12px;color:var(--muted);line-height:1.5}
.promo-slot .promo-close{position:absolute;top:10px;right:10px;width:24px;height:24px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:16px;line-height:1;cursor:pointer}
.promo-slot .promo-close:hover{color:var(--ink);background:var(--soft)}
.results-mode .promo-slot{display:none}
/* Customize mini-dialog */
dialog.customize-dialog,dialog.lens-dialog{border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);padding:0;max-width:520px;width:min(94vw,520px)}
dialog.customize-dialog::backdrop,dialog.lens-dialog::backdrop{background:rgba(2,6,8,.68)}
dialog.customize-dialog form,dialog.lens-dialog form{padding:22px 24px}
dialog.customize-dialog h2,dialog.lens-dialog h2{margin:0;font-size:18px;font-weight:500;letter-spacing:.02em}
dialog .row-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
dialog .dialog-close{width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:18px;line-height:1;cursor:pointer}
dialog .dialog-close:hover{background:var(--soft);color:var(--ink)}
.customize-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid var(--line)}
.customize-row:first-of-type{border-top:0}
.customize-row h3{margin:0 0 2px;font-size:14px;font-weight:450}
.customize-row p{margin:0;font-size:12px;color:var(--muted)}
.customize-row select,.file-pill,.customize-row button,.row-actions button{min-height:32px;padding:4px 12px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--ink);font-size:12px;cursor:pointer;font-family:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.file-pill:hover,.customize-row button:hover,.row-actions button:hover{background:var(--soft)}
.row-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.customize-footnote{margin:18px 0 0;font-size:11px;letter-spacing:.08em;color:var(--muted);text-transform:uppercase}
/* Lens upload dialog */
.lens-drop{border:1.5px dashed var(--line);border-radius:14px;padding:28px 20px;text-align:center;background:color-mix(in srgb,var(--bg) 50%,transparent);transition:border-color .14s,background .14s;cursor:default}
.lens-drop.over{border-color:color-mix(in srgb,var(--accent) 60%,transparent);background:color-mix(in srgb,var(--accent) 8%,transparent)}
.lens-drop p{margin:0 0 10px;font-size:14px;color:var(--ink)}
.lens-drop p.small{font-size:11px;color:var(--muted);margin:12px 0 0;letter-spacing:.03em}
.lens-status{margin:12px 0 0;font-size:12px;color:var(--muted);min-height:18px}
.lens-status:empty{display:none}
/* Waffle (apps grid) menu in topbar + popover */
.apps-waffle{min-height:36px;width:36px;padding:0;display:inline-grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer;transition:background .12s,color .12s}
.apps-waffle:hover{background:var(--soft);color:var(--ink)}
.apps-waffle .ui-icon{width:20px;height:20px}
.apps-menu{position:absolute;right:22px;top:60px;z-index:12;display:grid;grid-template-columns:repeat(3,78px);gap:0;padding:8px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 10px 32px -14px color-mix(in srgb,var(--ink) 25%,transparent),0 2px 6px color-mix(in srgb,var(--ink) 8%,transparent);backdrop-filter:none;-webkit-backdrop-filter:none}
.apps-menu a{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px 8px;border-radius:10px;text-decoration:none;color:var(--ink);font-size:11px;line-height:1.1;letter-spacing:0;transition:background .12s;position:relative}
.apps-menu a:hover,.apps-menu a:focus-visible{background:color-mix(in srgb,var(--accent) 7%,transparent);text-decoration:none;outline:0}
.apps-menu a:focus-visible{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 45%,transparent)}
.apps-menu a::before{content:"";display:block;width:36px;height:36px;background-color:var(--muted);mask-repeat:no-repeat;mask-position:center;mask-size:22px 22px;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:22px 22px;transition:background-color .12s}
.apps-menu a:hover::before,.apps-menu a:focus-visible::before{background-color:var(--accent)}
.apps-menu a[data-glyph="home"]::before{mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 10 12 4l8 6v10a1 1 0 0 1-1 1h-4v-7h-6v7H5a1 1 0 0 1-1-1Z'/></svg>");-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 10 12 4l8 6v10a1 1 0 0 1-1 1h-4v-7h-6v7H5a1 1 0 0 1-1-1Z'/></svg>")}
.apps-menu a[data-glyph="package"]::before{mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3 4 7l8 4 8-4Z'/><path d='M4 7v10l8 4 8-4V7'/><path d='M12 11v10'/></svg>");-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3 4 7l8 4 8-4Z'/><path d='M4 7v10l8 4 8-4V7'/><path d='M12 11v10'/></svg>")}
.apps-menu a[data-glyph="sliders"]::before{mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 6h8'/><circle cx='15' cy='6' r='2'/><path d='M4 12h4'/><circle cx='9' cy='12' r='2'/><path d='M12 12h8'/><path d='M4 18h12'/><circle cx='18' cy='18' r='2'/></svg>");-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 6h8'/><circle cx='15' cy='6' r='2'/><path d='M4 12h4'/><circle cx='9' cy='12' r='2'/><path d='M12 12h8'/><path d='M4 18h12'/><circle cx='18' cy='18' r='2'/></svg>")}
.apps-menu a[data-glyph="avatar"]::before{mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='9' r='3'/><path d='M5 20c1.5-3 4-5 7-5s5.5 2 7 5'/></svg>");-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='9' r='3'/><path d='M5 20c1.5-3 4-5 7-5s5.5 2 7 5'/></svg>")}
.apps-menu a[data-glyph="info"]::before{mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 10v6'/><path d='M12 7v.5'/></svg>");-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 10v6'/><path d='M12 7v.5'/></svg>")}
.apps-menu a[data-glyph="shield"]::before{mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l8 3v6c0 5-3.6 8-8 9-4.4-1-8-4-8-9V6l8-3Z'/></svg>");-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l8 3v6c0 5-3.6 8-8 9-4.4-1-8-4-8-9V6l8-3Z'/></svg>")}
/* Dual CTA under the search bar (Google Search / Feeling Lucky analogues) */
.search-cta{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:14px auto 0}
.search-cta .btn-primary,.search-cta .btn-secondary{min-height:32px;padding:5px 14px;border:1px solid var(--line);border-radius:999px;background:color-mix(in srgb,var(--surface) 80%,transparent);color:var(--ink);font-size:12px;letter-spacing:.03em;cursor:pointer;font-family:inherit;transition:background .14s,border-color .14s}
.search-cta .btn-primary:hover,.search-cta .btn-secondary:hover{background:var(--soft);border-color:color-mix(in srgb,var(--accent) 35%,var(--line))}
.search-cta .btn-primary{background:color-mix(in srgb,var(--accent) 20%,transparent);border-color:color-mix(in srgb,var(--accent) 50%,var(--line))}
.results-mode .search-cta{display:none}
/* Query tools (+ button) */
.query-tools{position:relative}
.query-tools-menu{position:absolute;top:70px;left:50%;transform:translateX(-50%);z-index:7;list-style:none;margin:0;padding:6px 0;min-width:260px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(10px);box-shadow:0 24px 60px -36px rgba(0,0,0,.72)}
.query-tools-menu li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 16px;font-size:13px;color:var(--ink);cursor:pointer;transition:background .12s}
.query-tools-menu li:hover{background:var(--soft)}
.query-tools-menu kbd{font-family:ui-monospace,monospace;font-size:11px;color:var(--muted);padding:2px 7px;border:1px solid var(--line);border-radius:5px;background:color-mix(in srgb,var(--bg) 60%,transparent)}
/* Language switcher */
.language-switcher{margin:14px auto 0;text-align:center;font-size:12px;color:var(--muted)}
.language-switcher a{color:var(--accent);text-decoration:none;margin-left:4px}
.language-switcher a:hover{text-decoration:underline}
.results-mode .language-switcher{display:none}
/* Footer promo + region */
.footer-region{margin:0 0 2px;font-size:11px;letter-spacing:.08em;color:var(--muted);text-transform:uppercase}
.footer-promo{display:inline-flex;align-items:center;gap:8px;margin:12px auto 0;padding:7px 14px;border:1px solid var(--line);border-radius:999px;text-decoration:none;color:var(--ink);font-size:12px;background:color-mix(in srgb,var(--surface) 70%,transparent);transition:background .14s,border-color .14s}
.footer-promo:hover{background:var(--soft);border-color:color-mix(in srgb,var(--accent) 35%,var(--line))}
.footer-promo-badge{font-size:10px;letter-spacing:.08em;padding:2px 7px;border-radius:999px;background:color-mix(in srgb,var(--accent) 24%,transparent);color:var(--ink);text-transform:uppercase}
.result-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.result-action-chip{min-height:26px;padding:3px 11px;border:1px solid var(--line);border-radius:14px;background:transparent;color:var(--muted);font-size:11px;letter-spacing:.02em;cursor:pointer;transition:background .12s,color .12s,border-color .12s}
.result-action-chip:hover{background:var(--soft);color:var(--ink);border-color:color-mix(in srgb,var(--accent) 35%,var(--line))}
.time-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.time-chip{min-height:28px}
.suggestions{list-style:none;margin:4px 0 0;padding:4px 0;border:1px solid var(--line);border-radius:16px;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(10px);max-height:52vh;overflow:auto;position:relative;z-index:5}
.suggestions li{display:flex;align-items:center;gap:12px;padding:8px 16px;font-size:14px;color:var(--ink);cursor:pointer;border-radius:0;min-height:36px}
.suggestions li:hover,.suggestions li.active{background:color-mix(in srgb,var(--accent) 10%,transparent)}
.suggestions .sug-glyph{color:var(--muted);flex:none}
.suggestions .sug-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.suggestions strong{font-weight:600;color:var(--ink)}
.source-chips{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 14px;padding:0 2px}
.chip{min-height:30px;padding:4px 12px;border:1px solid var(--line);border-radius:16px;background:transparent;color:var(--muted);font-size:12px;cursor:pointer;transition:background .14s,color .14s}
.chip:hover{color:var(--ink);background:var(--soft)}
.chip.active{color:var(--ink);background:color-mix(in srgb,var(--accent) 18%,transparent);border-color:color-mix(in srgb,var(--accent) 40%,var(--line))}
.entity-card{border:1px solid var(--line);border-radius:18px;padding:18px 20px;background:color-mix(in srgb,var(--surface) 90%,transparent);margin:12px 0 20px;max-width:420px}
.entity-card h2{margin:0 0 4px;font-size:19px;font-weight:500}
.entity-card .entity-source{margin:0 0 10px;font-size:11px;letter-spacing:.08em;color:var(--muted);text-transform:uppercase}
.entity-card .entity-lead{margin:0 0 12px;color:var(--muted);font-size:14px;line-height:1.55}
.entity-card a{font-size:13px}
@media(min-width:960px){.results-mode #main-content{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px}.entity-card{margin-top:0;grid-column:2;grid-row:1 / span 10}}

#location-controls{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}#location-controls label{display:inline-flex;flex-direction:column;gap:5px;margin:6px 12px 6px 0;font-size:13px}#location-controls input{max-width:170px;min-height:44px;border:1px solid var(--line);padding:8px;border-radius:10px}.source-distance{font-size:12px;color:var(--muted)}

/* v0.5: restrained depth, a forgiving settings navigator, and readable source surfaces. */
.settings-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:12px}.settings-heading h1{margin:0;font-size:24px;font-weight:500;letter-spacing:-.025em}.settings-page .eyebrow{display:none}.settings-page .remember-control{font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:8px;max-width:200px;text-align:right}.settings-page .remember-control input{margin:0;flex:none}.settings-heading p{display:none}.remember-control{display:flex;align-items:center;gap:14px;font-size:13px;color:var(--muted)}.remember-control input{width:20px;height:20px;accent-color:var(--accent)}
.settings-workspace{display:grid;grid-template-columns:64px minmax(0,1fr);gap:28px;align-items:start;position:relative;min-height:660px}.settings-workspace[data-pinned=true],.settings-workspace:has(.settings-sidebar[data-open=true]){grid-template-columns:272px minmax(0,1fr)}
.settings-sidebar{position:sticky;top:20px;width:64px;max-height:calc(100svh - 40px);overflow-x:hidden;overflow-y:auto;z-index:8;border:0;border-radius:0;background:transparent;box-shadow:none;transition:width .18s ease}
.settings-sidebar[data-open=true]{width:272px;box-shadow:0 18px 44px #0003}.sidebar-tools{height:62px;display:flex;align-items:center;gap:10px;padding:8px}.sidebar-toggle{width:44px;min-width:44px;min-height:44px;padding:0;border-radius:12px;background:transparent;border-color:transparent}.sidebar-tools #sidebar-pin{font-size:12px;padding:6px 12px;min-height:38px;white-space:nowrap}
.settings-tree,.settings-tree ul{list-style:none;margin:0;padding:0}.settings-tree{padding:4px 8px 14px;min-width:250px}.settings-group-row{display:flex;align-items:center;gap:0}.settings-group-row>a{flex:1;display:flex;align-items:center;gap:12px;padding:10px 8px;min-height:44px;text-decoration:none;font-size:13px;color:var(--ink);border-radius:10px}.settings-symbol{width:25px;flex:none;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);letter-spacing:0}.settings-symbol svg{width:18px;height:18px;display:block}.settings-tree a[aria-current=page] .settings-symbol{color:var(--accent)}.group-disclosure{border:0;background:transparent;padding:0;min-height:44px;width:40px;color:var(--muted);flex:none}.settings-tree ul{border-left:1px solid var(--line);margin:3px 0 8px 23px;padding-left:15px}.settings-tree ul a{display:block;padding:9px 10px;min-height:40px;font-size:12px;text-decoration:none;border-radius:8px;color:var(--muted)}.settings-tree a[aria-current=page]{background:var(--soft);color:var(--ink);box-shadow:inset 2px 0 0 var(--accent)}.settings-tree a:hover{background:var(--soft)}
.settings-main{min-width:0;max-width:920px}.settings-find{display:flex;align-items:center;gap:20px;padding-bottom:14px;border-bottom:1px solid var(--line);font-size:13px}.settings-find span{color:var(--muted);white-space:nowrap}.settings-find input{width:100%;border:1px solid var(--line);min-height:46px;border-radius:12px;padding:8px 12px;background:var(--surface)}.settings-status{font-size:12px;min-height:32px;padding:8px 0;color:var(--muted)}.settings-breadcrumb{font-size:12px;color:var(--muted);letter-spacing:.025em;margin:8px 0 12px}#settings-controls h2{font-size:19px;font-weight:500;letter-spacing:-.02em;margin:4px 0 10px}
.settings-overview{display:flex;flex-direction:column;gap:0;margin-top:12px;border-top:1px solid color-mix(in srgb,var(--line) 55%,transparent)}.settings-overview-card{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:16px;padding:14px 4px;border:0;border-bottom:1px solid color-mix(in srgb,var(--line) 55%,transparent);border-radius:0;background:transparent;color:var(--ink);text-decoration:none;transition:background .12s ease}.settings-overview-card:hover,.settings-overview-card:focus-visible{border-color:color-mix(in srgb,var(--line) 55%,transparent);background:color-mix(in srgb,var(--accent) 4%,transparent)}.settings-overview-card h3{font-size:14px;font-weight:500;margin:0}.settings-overview-head{display:contents}.settings-overview-icon{width:28px;height:28px;grid-column:1;flex:none;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);background:transparent;border:0}.settings-overview-icon svg{width:20px;height:20px;display:block}.settings-overview-card h3,.settings-overview-card p{grid-column:2}.settings-overview-card p{font-size:12px;color:var(--muted);margin:2px 0 0;line-height:1.4}.settings-overview-card small{grid-column:1 / -1;border-top:0;padding-top:0;color:var(--muted);font-size:11px;margin-top:2px;display:none}.settings-overview-card::after{content:"";grid-column:3;width:14px;height:14px;background:currentColor;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>") center/14px no-repeat;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>") center/14px no-repeat;color:var(--muted);justify-self:end;align-self:center}
.appearance-list{list-style:none;margin:0 0 20px;padding:0}.appearance-row{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:14px;padding:10px 0;border-top:1px solid color-mix(in srgb,var(--line) 55%,transparent)}.appearance-row:first-child{border-top:0}.appearance-row-icon{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);flex:none}.appearance-row-icon svg{width:18px;height:18px;display:block}.appearance-row-copy h2{font-size:14px;font-weight:500;margin:0 0 2px}.appearance-row-copy p{font-size:12px;color:var(--muted);margin:0;line-height:1.4}.appearance-row-copy p+p{margin-top:2px;min-height:0}.appearance-row-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.appearance-row-actions button,.appearance-row-actions .file-pill{min-height:30px;padding:4px 10px;font-size:12px;border-radius:6px;border:1px solid var(--line);background:transparent;color:var(--ink);cursor:pointer}.appearance-row-actions .file-pill:hover,.appearance-row-actions button:hover{border-color:var(--accent);color:var(--accent)}
@media(max-width:620px){.appearance-row{grid-template-columns:38px 1fr;gap:10px}.appearance-row-actions{grid-column:2/-1;justify-content:flex-start}}.settings-overview-card p{font-size:13px}.settings-overview-card small{display:block;border-top:1px solid var(--line);padding-top:12px;color:var(--muted);font-size:11px}.settings-section{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:16px 22px;margin:22px 0}.settings-section>.setting-row:first-child{border-top:0}.setting-copy{display:flex;flex-direction:column;gap:7px;max-width:65%}.setting-copy>span{font-size:14px}.setting-copy small{font-size:12px;color:var(--muted);line-height:1.55}.setting-row input[type=checkbox]{width:20px;height:20px;accent-color:var(--accent);flex:none}.setting-row select{max-width:42%;font-size:13px}.setting-row input[type=text]{max-width:190px;min-height:42px;border-radius:10px;border:1px solid var(--line);padding:8px 10px}.settings-found-link{display:block;margin:14px 0}.settings-section>.file-label{display:block;padding:16px 0}.settings-section>button{margin:4px 10px 4px 0}
@media(prefers-color-scheme:light){:root[data-theme=system]{--result-wash:rgba(21,67,111,.035)}}
:root[data-theme=light]{--result-wash:rgba(21,67,111,.035);--page-end:#eff4fa}body{--page-end:#030812}.settings-page{padding-bottom:70px}html[data-theme=light] body{background:radial-gradient(ellipse at 50% 10%,#c4dfff55,transparent 55%),linear-gradient(var(--bg),#edf3fa)}
@media(max-width:760px){.settings-heading{align-items:flex-start;flex-direction:column;gap:10px}.settings-workspace,.settings-workspace[data-pinned=true],.settings-workspace:has(.settings-sidebar[data-open=true]){grid-template-columns:52px minmax(0,1fr);gap:12px}.settings-workspace[data-pinned=true],.settings-workspace:has(.settings-sidebar[data-open=true]){grid-template-columns:min(272px,calc(100vw - 30px)) minmax(0,1fr)}.settings-sidebar{top:8px;width:52px;border-radius:14px}.settings-sidebar[data-open=true]{width:min(272px,calc(100vw - 30px))}.sidebar-tools{padding:3px;height:52px}.settings-overview{grid-template-columns:1fr;gap:10px}.settings-find{display:block}.settings-find span{display:block;margin-bottom:8px}.settings-section{padding:12px}.setting-row{flex-wrap:wrap;align-items:center;gap:12px}.setting-copy{max-width:calc(100% - 36px)}.setting-row select{max-width:100%}.settings-find input{font-size:16px}#settings-controls h2{font-size:24px}.settings-tree a{font-size:13px}.settings-overview-card{padding:18px}}
@media(prefers-reduced-motion:reduce){.settings-sidebar,.settings-overview-card{transition:none}}
/* ------------------------------------------------------------------
   Settings overhaul (Chrome / Linear / Vercel pattern)
   - Compact "Settings" title; hero banner gone
   - Appearance quick-actions row at top of page hidden
     (actions still reachable via home-page customize dialog)
   - Sidebar sits flush-left, sticky at viewport-top, no boxed chrome,
     no hamburger / "Keep open" tools (one state only)
   - Settings-section loses the card wrapper → flat rows with hairlines
   - Setting-row density matches Chrome Settings
   ------------------------------------------------------------------ */
.settings-page{padding-top:14px}
.settings-page .settings-heading{padding:0;margin:0 0 18px}
.settings-page .settings-heading > div > p{display:none}
.settings-page .settings-heading h1{font-size:22px;font-weight:500;letter-spacing:-.02em;margin:0}
.settings-page .appearance-list{display:none}
.settings-page .settings-workspace,
.settings-page .settings-workspace[data-pinned=true],
.settings-page .settings-workspace[data-pinned=false],
.settings-page .settings-workspace:has(.settings-sidebar[data-open=true]){display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start;min-height:0}
.settings-page .settings-sidebar,
.settings-page .settings-sidebar[data-open=true]{position:sticky;top:16px;width:auto;max-width:220px;max-height:calc(100svh - 32px);overflow-y:auto;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;transition:none}
.settings-page .sidebar-tools{display:none}
.settings-page .settings-tree{padding:0;min-width:0}
.settings-page .settings-group-row>a{min-height:34px;padding:6px 10px;font-size:13px;border-radius:6px}
.settings-page .settings-symbol{width:20px}
.settings-page .settings-symbol svg{width:16px;height:16px}
.settings-page .group-disclosure{min-height:34px;width:32px;font-size:14px;line-height:1}
.settings-page .settings-tree ul{margin:1px 0 6px 20px;padding-left:10px;border-left-color:color-mix(in srgb,var(--line) 50%,transparent)}
.settings-page .settings-tree ul a{padding:5px 10px;min-height:30px;font-size:12.5px;border-radius:6px}
.settings-page .settings-tree a[aria-current=page]{box-shadow:inset 2px 0 0 var(--accent);background:color-mix(in srgb,var(--accent) 8%,transparent)}
.settings-page .settings-main{max-width:none}
.settings-page .settings-find{display:flex;align-items:center;gap:0;padding:0 0 14px;border-bottom:1px solid color-mix(in srgb,var(--line) 50%,transparent);font-size:13px;position:relative}
.settings-page .settings-find span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.settings-page .settings-find input{width:100%;border:1px solid var(--line);min-height:38px;border-radius:8px;padding:7px 12px 7px 36px;background:var(--surface);font-size:13px}
.settings-page .settings-find::before{content:"";position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;background:var(--muted);mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") center/16px no-repeat;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") center/16px no-repeat;pointer-events:none}
.settings-page .settings-breadcrumb{font-size:11px;color:var(--muted);margin:12px 0 6px}
.settings-page #settings-controls h2{font-size:18px;font-weight:500;letter-spacing:-.015em;margin:0 0 4px}
.settings-page #settings-controls > p.muted{font-size:13px;color:var(--muted);margin:0 0 14px}
.settings-page .settings-section{background:transparent;border:0;border-radius:0;padding:0;margin:12px 0 20px}
.settings-page .settings-section > .setting-row{border-top:1px solid color-mix(in srgb,var(--line) 40%,transparent);padding:14px 2px;min-height:56px}
.settings-page .settings-section > .setting-row:first-child{border-top:0}
.settings-page .setting-copy{max-width:62%;gap:4px}
.settings-page .setting-copy > span{font-size:13.5px;font-weight:500}
.settings-page .setting-copy small{font-size:12px;line-height:1.5;color:var(--muted)}
.settings-page .setting-row input[type=checkbox]{width:18px;height:18px}
.settings-page .setting-row select,.settings-page .setting-row .t-select{max-width:220px}
.settings-page .settings-section > button,
.settings-page .settings-section > .file-label{margin:14px 10px 6px 0;font-size:13px;min-height:34px;padding:6px 14px}
.settings-page .settings-overview{gap:0;margin-top:10px}
.settings-page .settings-overview-card{padding:12px 4px;grid-template-columns:28px 1fr 14px;gap:14px}
.settings-page .settings-overview-icon{width:22px;height:22px}
.settings-page .settings-overview-icon svg{width:18px;height:18px}
.settings-page .settings-overview-card h3{font-size:13.5px}
.settings-page .settings-overview-card p{font-size:12px}
@media(max-width:760px){
 .settings-page .settings-workspace,
 .settings-page .settings-workspace[data-pinned=true]{grid-template-columns:1fr;gap:12px}
 .settings-page .settings-sidebar{position:relative;top:0;max-height:none}
}
/* ------------------------------------------------------------------
   SERP overhaul (Google / DDG / Kagi pattern)
   - Kill the sphere/landscape background in results mode
   - Tighter result row spacing + readable excerpt max-width
   - Hide the "From the page" caption label (redundant with the excerpt
     and with Signum's "every excerpt comes from the page" promise)
   - Date goes inline with the hostname line (not its own row)
   - Sort control gets a flat chip look + proper combobox
   ------------------------------------------------------------------ */
body.results-mode #landscape,body.results-mode #brand-logo{display:none}
body.results-mode .search-options{display:flex;align-items:center;gap:14px;margin:2px 0 0;font-size:12px;color:var(--muted);flex-wrap:wrap}
body.results-mode .search-options p{margin:0;color:var(--muted);font-size:12px;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.results-mode .sort-label{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px}
body.results-mode .sort-label .t-select-button,body.results-mode .sort-label select{min-height:28px;padding:4px 10px 4px 12px;font-size:12px}
body.results-mode .result-surface{padding:12px 0 14px}
body.results-mode .result-surface .result-excerpt{font-size:14px;line-height:1.6;max-width:660px;margin:4px 0 6px!important}
body.results-mode .result-surface .summary-label{display:none}
body.results-mode .result-surface time{display:inline;margin:0 0 0 8px;font-size:12px;vertical-align:baseline;color:var(--muted)}
body.results-mode .result-surface time::before{content:"· ";color:var(--muted);margin-right:2px}
body.results-mode .result-host{font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:6px;max-width:100%}
body.results-mode .result-host + p{margin-top:0}
body.results-mode .result-surface h2{margin:2px 0 4px;font-size:19px}
body.results-mode .match-strip{display:none}
body.results-mode .result-details{margin-top:4px}
body.results-mode .results-shell{max-width:900px;margin-left:0;padding-left:0}
body.results-mode .result-surface + .result-surface{border-top:0}
body.results-mode .grouped-links{margin-top:2px;padding-left:14px;border-left:0}
body.results-mode .grouped-links > summary{padding-left:0}
body.results-mode .grouped-links .group-explanation{display:none}
/* Left-align the results column instead of centering it in the max-1110px
   shell. Google aligns the SERP column to the left ~140 px, not centered. */
body.results-mode .shell{max-width:720px;margin-left:min(10vw,180px);margin-right:auto}
body.results-mode .results-shell{max-width:720px;margin:0}
/* Favicon fallback — if the server letter-badge or the real favicon fails to
   paint, make the letter in the source-symbol visible instead of near-invisible
   10px muted text. A tiny soft-grey chip reads cleanly on both themes. */
body.results-mode .source-symbol{background:color-mix(in srgb,var(--accent) 10%,transparent);width:18px;height:18px;color:var(--ink);font-size:9px;font-weight:600;letter-spacing:0}
body.results-mode .source-favicon{inset:0;width:18px;height:18px}
.results-shell{max-width:1060px}.results-shell>.search-form{max-width:860px;margin-inline:0}.results-toolbar{font-size:12px;align-items:center;color:var(--muted)}.results-mode-label{letter-spacing:.035em}.search-scope{font-size:12px;color:var(--muted);margin:-6px 0 24px}.search-scope summary{cursor:pointer;display:list-item;min-height:36px;line-height:36px}.search-scope p{max-width:750px}.search-form .search-action,.search-form #search-submit{height:34px;min-width:34px;width:34px;flex:none;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:8px}.search-form .search-action svg,.search-form #search-submit svg{display:block;flex:none}.search-form input#query{min-width:0}
.result-surface{position:relative;border:0;border-radius:0;padding:14px 0 18px;margin:0;background:transparent;transition:background .12s}.result-surface + .result-surface{border-top:1px solid color-mix(in srgb,var(--line) 35%,transparent)}.result-surface::before{display:none}.result-surface:hover,.result-surface:focus-within{background:transparent;box-shadow:none}.result-surface:hover::before,.result-surface:focus-within::before{display:none}.result-surface h2{font-size:20px;font-weight:450;letter-spacing:-.015em;line-height:1.3;margin:4px 0 6px}.result-surface h2 a{text-decoration:none}.result-surface h2 a:hover,.result-surface h2 a:focus-visible{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}.result-surface .result-excerpt{font-size:15px;line-height:1.75;max-width:78ch;margin:8px 0 12px!important}.result-surface .summary-label{font-size:10px;letter-spacing:.04em;margin:0!important;color:var(--muted);font-weight:500}.destination-path{font-size:11px;color:var(--muted);overflow-wrap:anywhere;display:none}html[data-destinations=show] .destination-path{display:block}.match-strip{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.match-strip:empty{display:none}.match-strip span{border:1px solid var(--line);border-radius:7px;padding:3px 8px;font-size:10px;letter-spacing:.015em;color:var(--muted)}html[data-match-details=hide] .match-strip{display:none}.result-surface time{display:block;font-size:11px;color:var(--muted);margin-top:10px}.result-details{font-size:12px;color:var(--muted);margin-top:6px}.result-details summary{cursor:pointer;min-height:24px;padding:2px 0;width:fit-content;list-style:none;color:var(--muted);font-size:12px}.result-details summary::-webkit-details-marker{display:none}.result-details summary::before{content:"";display:inline-block;width:10px;height:10px;margin-right:6px;vertical-align:-1px;background:currentColor;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>") center/10px no-repeat;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>") center/10px no-repeat;transition:transform .15s}.result-details[open] summary::before{transform:rotate(90deg)}
.result-group>summary,.grouped-links>summary{cursor:pointer;list-style:none;color:var(--muted);font-size:12px;padding:4px 0;display:flex;align-items:center;gap:6px;width:fit-content}.result-group>summary::-webkit-details-marker,.grouped-links>summary::-webkit-details-marker{display:none}.result-group>summary::marker,.grouped-links>summary::marker{content:""}.result-group>summary::before,.grouped-links>summary::before{content:"";display:inline-block;width:10px;height:10px;flex:none;background:currentColor;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>") center/10px no-repeat;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>") center/10px no-repeat;transition:transform .15s}.result-group[open]>summary::before,.grouped-links[open]>summary::before{transform:rotate(90deg)}.grouped-links{margin-top:4px;padding-left:12px;border-left:1px solid color-mix(in srgb,var(--line) 35%,transparent)}.grouped-links .group-explanation{font-size:11px;color:var(--muted);margin:4px 0 8px}
/* Hide the heavy results-mode chrome Google/DDG don't show either: duplicate
   count line, "Source pages" pill, and the "ABOUT THESE RESULTS" explainer
   that competed with the actual results for attention. */
.results-mode .results-toolbar,.results-mode .source-note{display:none}
.results-mode .results-shell>.search-form{max-width:720px}
.results-mode .search-categories{gap:12px;font-size:12px;margin:4px 0 10px;padding-bottom:0;border-bottom:0;justify-content:flex-start}
.results-mode .category{padding:6px 10px;min-height:30px;border-radius:999px;color:var(--muted);font-size:12px;font-weight:400}
.results-mode .category.active{color:var(--ink);background:color-mix(in srgb,var(--accent) 10%,transparent)}
.results-mode .category.active::after{display:none}
.results-mode .category svg{width:13px;height:13px}
.results-mode .category span{font-size:12px}.result-details[open]{border-top:1px solid color-mix(in srgb,var(--line) 40%,transparent);margin-top:10px;padding-top:6px}.result-details p{max-width:75ch;line-height:1.65}.result-details dl{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;font-size:12px}.result-details dd{margin:0;overflow-wrap:anywhere}.result-details dt{color:var(--muted)}.result-details a{overflow-wrap:anywhere}.pagination{justify-content:space-between;max-width:860px;padding-top:10px}.pagination button{min-width:108px;border-radius:12px}.pagination:has(form:only-child){justify-content:flex-end}.pagination:has(button:only-child){justify-content:flex-end}
@media(max-width:760px){.result-surface{padding:12px 0 16px}.result-surface .result-excerpt{font-size:14px;line-height:1.75}.result-details dl{grid-template-columns:1fr;gap:5px}.result-details dd{padding-bottom:8px}.results-mode-label{display:none}.results-toolbar{margin-top:20px;gap:12px}.search-form .search-action,.search-form #search-submit{width:34px;height:34px;min-width:34px}}
@media(prefers-reduced-motion:reduce){.result-surface,.result-surface::before{transition:none}}

/* Overview links use surface/focus changes instead of underlining whole paragraphs. */
.settings-page{max-width:1180px}.settings-overview-card:hover{text-decoration:none}.settings-overview-card:focus-visible{outline:2px solid var(--accent);outline-offset:4px}

/* v0.8: the first results become a visual row, never a second ranking order. */
.featured-results{display:grid;grid-template-columns:minmax(0,1.12fr) repeat(2,minmax(0,1fr));gap:18px;align-items:start;margin:0 0 26px}
.featured-result.result-surface{min-width:0;overflow:hidden;padding:0;margin:0;background:var(--surface)}
.featured-result .result-copy{padding:20px 22px;min-width:0}
.featured-result.result-surface h2{font-size:19px;line-height:1.35;letter-spacing:-.015em}
.featured-result .result-excerpt{font-size:14px;line-height:1.7}
.featured-result .source-kind{margin-left:auto}
.featured-result .result-host{font-size:11px;min-width:0;overflow-wrap:anywhere;flex-wrap:wrap}
.featured-result::before{display:none}
.result-visual{margin:0;position:relative;overflow:hidden;background:var(--soft);isolation:isolate}
.result-visual img{display:block;width:100%;height:100%;object-fit:cover}
.featured-result .result-visual{width:100%;aspect-ratio:16/9;border-bottom:1px solid var(--line)}
.result-visual[data-kind=screenshot] img{object-fit:contain}
.preview-caption{position:absolute;bottom:8px;left:9px;z-index:1;padding:3px 7px;border-radius:6px;background:rgba(9,14,23,.83);color:#f1f5fa;font-size:10px;line-height:1.4;letter-spacing:.02em}
.preview-error{position:absolute;inset:0;align-content:center;text-align:center;padding:12px;font-size:12px;color:var(--muted);background:var(--soft)}
.compact-results{max-width:960px}
.compact-result.has-preview{display:grid;grid-template-columns:minmax(0,1fr) 128px;column-gap:22px;align-items:start}
.compact-result.has-preview .result-copy{grid-column:1;grid-row:1;min-width:0}
.compact-result.has-preview .result-visual{grid-column:2;grid-row:1;width:128px;aspect-ratio:4/3;border:1px solid var(--line);border-radius:12px;margin-top:4px}
.compact-result .preview-caption{font-size:9px;left:5px;bottom:5px;padding:2px 5px}
.results-layout:has(.featured-results){display:block}.results-layout:has(.featured-results) .source-note{display:none}
.results-shell:has(.featured-results){max-width:1200px}
html[data-result-layout=text] .result-visual{display:none}html[data-result-layout=text] .compact-result.has-preview{display:block}
@media(min-width:1021px){.featured-results>.featured-result:first-child h2{font-size:23px}}
@media(max-width:1020px){.featured-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.featured-result .result-copy{padding:18px 20px}}
@media(max-width:640px){.featured-results{grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:20px}.featured-result .result-copy{padding:20px}.featured-result.result-surface h2{font-size:20px}.featured-result .result-excerpt{font-size:15px}.compact-result.has-preview{grid-template-columns:minmax(0,1fr) 96px;column-gap:13px}.compact-result.has-preview .result-visual{width:96px;border-radius:10px}.compact-result.has-preview h2{font-size:19px}.compact-result .preview-caption{font-size:8px}}
@media(prefers-reduced-motion:reduce){.result-visual{transition:none}}
/* On phones a thumbnail shares the heading row, not the entire excerpt column. */
@media(max-width:640px){
 .compact-result.has-preview{display:block}
 .compact-result.has-preview .result-visual{float:right;margin:4px 0 12px 13px}
 .compact-result.has-preview .summary-label{clear:both;padding-top:10px}
 .compact-result.has-preview .result-excerpt,.compact-result.has-preview .result-details{clear:both}
 .compact-result.has-preview::after{content:"";display:block;clear:both}
}

/* v0.9: native, translucent scrollbar. No JS scroll hijacking or hidden scrolling controls. */
:root{--scroll-thumb:rgba(176,200,232,.64);--scroll-active:rgba(216,232,252,.88)}
:root[data-theme=light]{--scroll-thumb:rgba(50,70,100,.65);--scroll-active:rgba(33,57,89,.9)}
@media(prefers-color-scheme:light){:root[data-theme=system]{--scroll-thumb:rgba(50,70,100,.65);--scroll-active:rgba(33,57,89,.9)}}
:root:not([data-scrollbars=system]),:root:not([data-scrollbars=system]) .settings-nav{scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) transparent}
:root:not([data-scrollbars=system]):hover{scrollbar-color:var(--scroll-active) transparent}
@supports not (scrollbar-color: red transparent){
 :root:not([data-scrollbars=system])::-webkit-scrollbar{width:12px;height:12px}
 :root:not([data-scrollbars=system])::-webkit-scrollbar-track{background:transparent}
 :root:not([data-scrollbars=system])::-webkit-scrollbar-thumb{background:var(--scroll-thumb);border:3px solid transparent;background-clip:padding-box;border-radius:20px;box-shadow:inset 0 0 2px rgba(240,248,255,.4)}
 :root:not([data-scrollbars=system])::-webkit-scrollbar-thumb:hover{background-color:var(--scroll-active)}
}
:root[data-contrast=high],:root[data-scrollbars=system]{scrollbar-width:auto;scrollbar-color:auto}
@media(forced-colors:active),(pointer:coarse){:root:not([data-scrollbars=system]),:root:not([data-scrollbars=system]) .settings-nav{scrollbar-width:auto;scrollbar-color:auto}}
.match-meter{display:inline-flex;gap:3px;align-items:end;float:right;margin:2px 0 8px 12px;color:var(--muted);max-width:120px;min-height:18px}
.match-meter i{display:block;width:4px;height:7px;border-radius:3px;background:var(--line);border:1px solid currentColor;opacity:.65}
.match-meter i:nth-child(2){height:10px}.match-meter i:nth-child(3){height:13px}.match-meter i:nth-child(4){height:16px}.match-meter i.filled{background:var(--accent);border-color:var(--accent);opacity:1}
.meter-label{font-size:10px;margin-left:5px;align-self:center;letter-spacing:.06em}.match-meter-note{float:right;font-size:10px;color:var(--muted);margin-left:12px}
:root[data-match-meter=hide] .match-meter,:root[data-match-meter=hide] .match-meter-note{display:none}
.source-group{min-width:0}.grouped-links{margin:0 0 20px 24px;border-left:1px solid var(--line);padding:0 0 0 18px}.grouped-links>summary{font-size:13px;color:var(--muted);cursor:pointer;padding:12px 0;min-height:44px}.group-explanation{font-size:12px;color:var(--muted)}
.featured-results{margin-bottom:32px;padding-bottom:26px;border-bottom:1px solid var(--line)}
.result-host{line-height:1.6}.result-host>span:not(.source-kind):not(.source-symbol){color:var(--ink)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.result-surface{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}.result-surface:hover{box-shadow:none}}
@media(max-width:640px){.grouped-links{margin-left:8px;padding-left:12px}.featured-results{margin-bottom:20px}}
@media(forced-colors:active){.match-meter i{background:Canvas;border:1px solid CanvasText}.match-meter i.filled{background:Highlight;border-color:Highlight}.grouped-links{border-color:CanvasText}}
.result-feedback{margin-top:12px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.result-feedback>summary{cursor:pointer;padding:10px 0;min-height:44px}.result-feedback p{font-size:12px;line-height:1.6}.result-feedback form{display:grid;gap:12px;max-width:420px}.result-feedback label{display:grid;gap:6px}.result-feedback label.feedback-consent{display:flex;align-items:center;gap:8px;min-height:44px}.result-feedback button{justify-self:start}.result-feedback select{max-width:100%}.feedback-status{min-height:1.5em}
