:root { color-scheme: light; --bg:#fff; --text:#202124; --muted:#5f6368; --footer:#f2f2f2; --button:#f8f9fa; --border:#dfe1e5; }
* { box-sizing:border-box; }
body { margin:0; min-height:100svh; display:flex; flex-direction:column; background:var(--bg); color:var(--text); font:14px Arial,Helvetica,sans-serif; }
[hidden] { display:none !important; }
a { color:inherit; text-decoration:none; }
a:hover { text-decoration:underline; }
button,input { font:inherit; }
button { cursor:pointer; }
.topbar { height:64px; padding:6px 18px 6px 30px; display:flex; justify-content:space-between; align-items:center; flex-shrink:0; }
.top-left,.top-right { display:flex; align-items:center; }
.top-left { gap:24px; }
.top-right { gap:16px; font-size:13px; }
.sign-in { height:40px; min-width:85px; padding:0 24px; border:0; border-radius:24px; background:#0b57d0; color:#fff; font-size:14px; font-weight:500; }
.sign-in:hover { background:#1b66d9; box-shadow:0 1px 3px #0002; }
.sign-in.signed-in { width:40px; min-width:40px; padding:0; border-radius:50%; background:#e8f0fe; color:#174ea6; font-size:19px; }
.search-main { flex:1; width:100%; display:flex; flex-direction:column; align-items:center; padding:clamp(72px,12vh,150px) 20px 64px; }
.logo-link { line-height:0; margin-bottom:34px; }
.google-logo { width:272px; height:92px; object-fit:contain; }
#google-search { width:min(100%,746px); }
.search-shell { position:relative; }
.search-bar { display:flex; align-items:center; min-height:52px; border:1px solid var(--border); border-radius:30px; padding:4px 8px 4px 13px; gap:12px; background:var(--bg); box-shadow:0 1px 6px #2021240d; }
.search-bar:hover,.search-bar:focus-within { box-shadow:0 1px 6px #20212436; border-color:transparent; }
#search-input { min-width:0; width:100%; flex:1; height:40px; padding:0; border:0; outline:none; background:transparent; color:var(--text); font-size:16px; }
#search-input::-webkit-search-cancel-button { display:none; }
.search-icon { display:inline-grid; place-items:center; flex-shrink:0; width:28px; height:36px; min-height:36px; padding:0; border:0; background:transparent; color:var(--text); }
.search-icon:hover { text-decoration:none; }
.search-icon img { display:block; }
.plus { font-size:29px; font-weight:400; margin-right:1px; }
.clear { font-size:28px; color:var(--muted); border-right:1px solid var(--border); padding-right:12px; width:38px; }
.ai-mode { display:flex; align-items:center; justify-content:center; gap:7px; height:40px; padding:0 13px; border-radius:24px; background:#f1f3f4; white-space:nowrap; font-size:14px; color:#202124; flex-shrink:0; }
.ai-mode:hover { text-decoration:none; background:#e8eaed; }
.search-actions { display:flex; justify-content:center; gap:12px; padding-top:28px; }
.search-actions button { min-height:36px; padding:0 16px; border:1px solid transparent; border-radius:4px; background:var(--button); color:var(--text); }
.search-actions button:hover { border-color:#dadce0; box-shadow:0 1px 1px #0000001a; }
.search-status { min-height:20px; margin-top:18px; color:var(--muted); font-size:13px; }
.google-footer { position:relative; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; column-gap:24px; row-gap:20px; background:var(--footer); padding:17px 30px; min-height:48px; flex-shrink:0; }
.footer-left,.footer-right { display:flex; gap:28px; align-items:center; }
.footer-center { text-align:center; }
.footer-right button { border:0; padding:0; background:transparent; color:var(--text); }
.footer-right button:hover { text-decoration:underline; }
.small-menu { position:absolute; z-index:1100; min-width:220px; padding:8px 0; border:1px solid #dadce0; border-radius:12px; background:var(--bg); color:var(--text); box-shadow:0 4px 12px #20212430; }
.small-menu a,.small-menu button { display:block; width:100%; text-align:left; padding:12px 20px; background:none; border:0; color:inherit; font:inherit; }
.small-menu a:hover,.small-menu button:hover { background:var(--button); text-decoration:none; }
.add-menu { left:0; top:60px; }
.settings-menu { right:24px; bottom:56px; }
dialog { width:min(420px,calc(100vw - 32px)); padding:32px; border:1px solid #dadce0; border-radius:24px; box-shadow:0 12px 40px #0003; background:var(--bg); color:var(--text); }
dialog::backdrop { background:#20212466; }
dialog h2 { font-size:22px; font-weight:400; margin:0 0 16px; }
dialog p { color:var(--muted); line-height:1.6; font-size:14px; }
dialog a { color:#1967d2; display:block; margin-top:22px; font-size:13px; }
.dialog-close { position:absolute; right:12px; top:8px; width:36px; height:36px; border:0; background:transparent; color:var(--muted); font-size:26px; }
#sign-out { background:#e8f0fe; color:#174ea6; border:0; padding:12px 18px; border-radius:24px; margin-top:18px; }
:focus-visible { outline:2px solid #1a73e8; outline-offset:3px; }
.panic-dock { bottom:calc(64px + env(safe-area-inset-bottom,0px)) !important; }
.panic-dock .panic-exit { background:#f8f9fa !important; color:#5f6368 !important; min-width:104px !important; min-height:40px !important; padding:8px 14px !important; border:1px solid #dadce0 !important; border-radius:24px !important; box-shadow:0 1px 4px #20212418 !important; font-size:12px !important; }
.panic-dock .panic-exit .panic-arrow { font-size:16px; }
body { padding-bottom:0 !important; }
body[data-theme="dark"] { color-scheme:dark; --bg:#202124; --text:#e8eaed; --muted:#bdc1c6; --footer:#171717; --button:#303134; --border:#5f6368; }
body[data-theme="dark"] .google-logo { filter:grayscale(1) brightness(0) invert(1); }
@media(max-width:1200px) { .footer-center { order:-1; width:100%; } .google-footer { justify-content:space-evenly; } .panic-dock { bottom:calc(110px + env(safe-area-inset-bottom,0px)) !important; } }
@media(max-width:600px) { .topbar { padding:10px 12px 10px 18px; } .top-left { gap:16px; font-size:13px; } .top-right { gap:12px; } .sign-in { padding:0 18px; min-width:76px; } .search-main { padding-top:90px; } .google-logo { width:216px; height:73px; } .logo-link { margin-bottom:28px; } .search-bar { gap:8px; padding-left:10px; } .ai-mode { font-size:12px; padding:0 9px; gap:4px; } .ai-mode img { width:17px; } .search-icon { width:24px; } .search-actions { padding-top:25px; gap:8px; } .search-actions button { font-size:13px; padding:0 12px; } .google-footer { font-size:12px; padding:20px 16px; gap:18px; justify-content:center; } .footer-left,.footer-right { gap:22px; justify-content:center; flex-wrap:wrap; } .footer-center { line-height:1.5; } .panic-dock { left:auto !important; bottom:calc(142px + env(safe-area-inset-bottom,0px)) !important; } }
@media(max-width:360px) { .ai-mode span { display:none; } .ai-mode { width:34px; padding:0; } }

@media(max-width:600px) { .panic-dock .panic-exit { min-height:48px !important; min-width:120px !important; } }
@media(max-width:360px) { .topbar { padding-inline:12px; } .top-left { gap:12px; font-size:12px; } .top-right { gap:8px; font-size:12px; } .sign-in { min-width:64px; padding:0 14px; } .launcher-trigger { width:36px; } }

@media(min-width:1201px) {
  .google-footer { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); }
  .footer-left { justify-self:start; }
  .footer-right { justify-self:end; }
}
