/* Refined tool surfaces, sidebar preferences and language sheet. */
:root{--muted:#6b6b6b;--focus:#7e7e7e}html.dark{--muted:#a4a4a4;--focus:#888}body{font-family:Arial,"Noto Sans",sans-serif;-webkit-font-smoothing:antialiased}::selection{background:#dce8fb;color:#202020}html.dark ::selection{background:#365379;color:#fff}*{scrollbar-width:thin;scrollbar-color:var(--line) transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--focus);outline-offset:3px}#featureView{padding-top:40px;padding-bottom:48px}.viewHeading h1{font-size:30px;font-weight:600;letter-spacing:-.025em}#viewDescription{font-size:15px;line-height:1.65;max-width:65ch;margin:12px 0 32px}.featureToolbar{display:flex;align-items:center;gap:16px;margin:28px 0 18px}.featureToolbar input{width:min(100%,420px);border:1px solid var(--line);border-radius:24px;background:var(--bg);padding:11px 18px;outline-offset:2px}.toolList{border-top:1px solid var(--line)}.toolRow{display:flex;align-items:center;gap:18px;padding:22px 2px;border-bottom:1px solid var(--line);width:100%;text-align:start;background:none}.toolRow:hover{background:var(--side)}.toolGlyph{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--hover);flex-shrink:0}.toolGlyph svg{width:25px;height:25px}.toolCopy{flex:1;min-width:0}.toolCopy strong{display:block;font-size:16px;font-weight:600;margin-bottom:5px}.toolCopy small{display:block;font-size:14px;line-height:1.55;color:var(--muted);max-width:58ch}.toolArrow{color:var(--muted);padding:8px}.toolRow:nth-child(1) .toolGlyph{color:#1f8954;background:#e5f3eb}.toolRow:nth-child(2) .toolGlyph{color:#3373be;background:#e7f0fc}.toolRow:nth-child(3) .toolGlyph{color:#9865b1;background:#f3eafb}html.dark .toolRow .toolGlyph{background:var(--hover)}.toolNote{font-size:12px;color:var(--muted);line-height:1.6;margin-top:22px;max-width:65ch}.exploreGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.exploreItem{text-align:start;display:flex;align-items:flex-start;gap:16px;padding:24px 18px;border-radius:14px;background:none;border:1px solid transparent;min-height:134px}.exploreItem:hover{background:var(--side);border-color:var(--line)}.exploreItem .toolGlyph{width:42px;height:42px;border-radius:12px}.exploreItem strong{display:block;font-size:17px;margin:2px 0 8px}.exploreItem small{display:block;color:var(--muted);font-size:14px;line-height:1.6;max-width:32ch}.settingsTrigger{font-size:14px;margin-top:6px}.settingsMenu{position:fixed;width:300px;max-width:calc(100vw - 24px);max-height:min(730px,calc(100dvh - 30px));overflow:auto;padding:10px;border-radius:18px;z-index:40}.settingsMenu button{gap:14px;padding:11px 12px;font-size:14px}.settingsTools{border-bottom:1px solid var(--line);padding-bottom:8px;margin-bottom:8px}.themeRow{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;font-size:14px;gap:16px}.themeControl{display:flex;padding:3px;background:var(--side);border-radius:12px;gap:2px}.settingsMenu .themeControl button{width:38px;height:36px;display:grid;place-items:center;padding:7px;border-radius:9px}.themeControl button[aria-pressed=true]{background:var(--pop);box-shadow:0 2px 6px #0000000c}.rowEnd{margin-inline-start:auto}.rowEnd svg{width:16px;height:16px}.settingsMenu .rowEnd{margin-inline-start:auto}.account{padding-top:6px}.loginLanguage{display:block;margin:20px auto 0;color:var(--muted);font-size:13px}.loginLinks{display:flex;justify-content:center;gap:18px;margin-top:18px;flex-wrap:wrap}.loginLinks a{font-size:11px;color:var(--muted);text-decoration:none}.loginLinks a:hover{text-decoration:underline}#languageDialog{width:min(480px,calc(100% - 32px));padding:26px 16px 16px;max-height:85dvh}#languageDialog h2{font-size:23px;font-weight:600;margin:0 12px 22px}#languageList{overflow:auto;max-height:65dvh}#languageList button{width:100%;display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:9px;text-align:start;min-height:48px}#languageList button:hover{background:var(--hover)}#languageList button[aria-pressed=true]{background:#eef3ff}html.dark #languageList button[aria-pressed=true]{background:#26344a}#languageList button>span:first-child{flex:1}#languageList small{font-size:12px;color:var(--muted)}.languageCheck{width:18px;text-align:center;font-size:19px}.sheetHandle{display:none}#projectDialog{width:min(420px,calc(100% - 32px));padding:28px;border-radius:22px}#projectTitle{font-size:23px;font-weight:600;letter-spacing:-.02em;margin:18px 0 10px}.projectGlyph{display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--line);border-radius:14px}.projectGlyph svg{width:23px;height:23px}#projectDialog .dialogHint{font-size:14px;line-height:1.6;margin-bottom:22px}.fieldLabel{font-size:13px;display:block;font-weight:600;margin-bottom:9px}#projectName{height:46px;border-radius:10px;padding:10px 12px;font-size:15px}#projectDialog .dialogActions{margin-top:24px;gap:8px}#projectDialog .dialogActions button{font-size:14px;padding:10px 18px;min-height:40px}#projectDialog .primary{background:var(--text);color:var(--bg)}#projectDialog .primary:disabled{opacity:.35;cursor:not-allowed}.inlineError{font-size:13px;color:var(--danger);margin-top:12px}#projectError:empty{display:none}.policyContent{max-width:65ch;line-height:1.85;font-size:15px}.policyContent p{margin:20px 0;color:var(--muted)}.policyContent a{color:var(--text);text-underline-offset:4px}#webForm{display:flex;gap:10px;margin:24px 0}#webQuery{width:100%;min-width:0;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:24px;padding:12px 18px}#webForm button{padding:10px 24px;background:var(--text);color:var(--bg);border-radius:24px}.searchResult{padding:20px 0;border-bottom:1px solid var(--line)}.searchResult a{color:var(--text);font-size:18px;font-weight:600;text-decoration:none}.searchResult a:hover{text-decoration:underline}.searchResult p{font-size:14px;color:var(--muted);line-height:1.65;max-width:65ch}.searchResult small{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.settingsMenu svg{flex-shrink:0}html[dir=rtl] aside{left:auto;right:0}html[dir=rtl] main{margin-left:0;margin-right:260px}html[dir=rtl] body.sideCollapsed aside{transform:translateX(100%)}html[dir=rtl] body.sideCollapsed main{margin-right:0}html[dir=rtl] header #theme{margin-left:0;margin-right:auto}html[dir=rtl] .dialogClose{right:auto;left:14px}html[dir=rtl] .message.user{margin-left:0;margin-right:auto}@media(max-width:1000px){html[dir=rtl] main{margin-right:240px}}@media(max-width:700px){#featureView{padding:26px 18px}.viewHeading h1{font-size:27px}.exploreGrid{grid-template-columns:1fr;gap:4px}.exploreItem{min-height:108px;padding:20px 10px}.toolRow{gap:14px;padding:20px 0}.toolGlyph{width:42px;height:42px}.toolCopy small{font-size:13px}.toolArrow{padding:2px}.settingsMenu{max-height:calc(100dvh - 32px)}#languageDialog{position:fixed;inset:auto 0 0;width:100%;max-width:100%;margin:0;border-radius:24px 24px 0 0;padding:30px 14px 22px}#languageDialog .sheetHandle{display:block;position:absolute;top:8px;left:calc(50% - 22px);width:44px;height:4px;background:var(--line);border-radius:3px}html[dir=rtl] aside{transform:translateX(100%)}html[dir=rtl] body.sideOpen aside{transform:translateX(0)}html[dir=rtl] main{margin-right:0}#projectDialog{padding:24px}.policyContent{font-size:14px}}@media(prefers-reduced-motion:no-preference){.toolRow,.exploreItem,.settingsMenu button{transition:background-color .12s ease}.languageCheck{transition:opacity .12s ease}}
.googleG{color:#2f66c7}.footnote,.loginLinks a{font-size:12px}.searchResult a,.searchResult small{display:block}#composer:focus-within{border-color:var(--focus)}
.chatSectionTitle{margin:22px 12px 0;padding-top:18px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}#history>.caption:first-child{margin-top:3px}#projects .caption{padding-bottom:4px}
