:root{color-scheme:light;--chrome:#e8ecf1;--toolbar:#f8f9fb;--page:#f7f9fc;--ink:#29343c;--muted:#78828d;--line:#e1e6ec;--accent:#29776a;--soft:#e2f0e9;--surface:#fff;--hover:#dce2e8;--shadow:0 12px 50px #192a4520;--glow:#e5edf7;--glow2:#eef3ed}html[data-theme=dark]{color-scheme:dark;--chrome:#20272e;--toolbar:#2b333b;--page:#171e25;--ink:#e6eaf0;--muted:#9aa6b2;--line:#37414a;--accent:#98d4ba;--soft:#28443b;--surface:#25303a;--hover:#3a454f;--shadow:0 12px 50px #0006;--glow:#21303c;--glow2:#21332e}*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden}body{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;color:var(--ink);background:var(--page)}button,input,select{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation;border:0;background:none}button:disabled{opacity:.35;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,[role=tab]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}[hidden]{display:none!important}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.browser-app{height:100dvh;display:flex;flex-direction:column}.chrome{background:var(--chrome);position:relative;z-index:5;flex-shrink:0}.tab-row{height:45px;display:flex;align-items:center;padding:6px 10px 0;gap:6px}.brand-mark{font-size:30px;color:var(--accent);width:34px;height:34px;line-height:1;font-weight:600}.tab-strip{display:flex;gap:3px;overflow-x:auto;scrollbar-width:none;max-width:calc(100% - 150px);align-self:stretch;min-width:0}.tab-strip::-webkit-scrollbar{display:none}.browser-tab{display:flex;align-items:center;gap:9px;width:211px;min-width:105px;max-width:211px;border-radius:10px 10px 0 0;padding:0 10px 0 13px;color:var(--muted);cursor:pointer;flex-shrink:1;user-select:none}.browser-tab:hover{background:var(--hover)}.browser-tab[aria-selected=true]{background:var(--toolbar);color:var(--ink)}.tab-favicon{display:grid;place-items:center;width:17px;height:17px;border-radius:4px;background:var(--soft);color:var(--accent);font-size:10px;font-weight:700;flex-shrink:0}.tab-favicon.harbor{font-size:21px;background:none}.tab-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:11px}.close-tab{display:grid;place-items:center;width:23px;height:23px;flex-shrink:0;border-radius:50%;opacity:.75}.close-tab:hover{background:var(--hover)}.close-tab svg{width:13px;height:13px}.browser-tab.loading .tab-favicon{border:1.5px solid var(--line);border-top-color:var(--accent);border-radius:50%;font-size:0;background:none;animation:spin 1s linear infinite}.icon-button{width:35px;height:35px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;flex-shrink:0}.icon-button:hover:not(:disabled){background:var(--hover)}.add-tab{margin-bottom:3px;width:30px;height:30px}.add-tab svg{width:17px;height:17px}.window-label{margin-left:auto;margin-right:12px;font-size:9px;letter-spacing:2px;color:var(--muted)}.toolbar{height:53px;display:flex;align-items:center;gap:11px;background:var(--toolbar);padding:6px 12px}.navigation-buttons{display:flex;gap:2px}.omnibox-area{position:relative;flex:1;min-width:0}.omnibox{height:36px;border:1px solid transparent;display:flex;align-items:center;border-radius:20px;background:var(--chrome);padding:0 6px 0 13px;gap:10px}.omnibox:focus-within{border-color:var(--accent);background:var(--surface)}.omnibox>svg{width:15px;height:15px;color:var(--muted)}.omnibox input{border:0;outline:0!important;background:transparent;color:var(--ink);width:100%;min-width:0;font-size:12px}.omnibox input::placeholder{color:var(--muted)}.bookmark-button{height:28px;width:28px}.bookmark-button svg{height:17px;width:17px}.bookmark-button.saved{color:var(--accent)}.bookmark-button.saved svg{fill:var(--soft)}.bookmarks-row{height:31px;display:flex;align-items:center;background:var(--toolbar);border-bottom:1px solid var(--line);padding:0 16px;gap:16px}.bookmarks{display:flex;gap:5px;overflow:hidden;flex:1;align-items:center;height:100%}.bookmark-item{display:flex;align-items:center;gap:7px;white-space:nowrap;border-radius:5px;padding:4px 8px;font-size:10px;max-width:180px}.bookmark-item:hover{background:var(--hover)}.mini-icon{display:grid;place-items:center;width:14px;height:14px;font-size:8px;border-radius:3px;background:var(--soft);color:var(--accent);font-weight:650}.bookmark-item>span:last-child{overflow:hidden;text-overflow:ellipsis}.history-shortcut{display:flex;gap:6px;align-items:center;font-size:10px;color:var(--muted);height:25px}.history-shortcut svg{width:13px;height:13px}.load-track{position:absolute;bottom:0;left:0;right:0;height:2px;overflow:hidden;pointer-events:none}#progress{width:35%;height:100%;background:var(--accent);animation:progress 1.6s ease-in-out infinite}.viewport{position:relative;flex:1;min-height:0;overflow:hidden}.newtab{height:100%;display:flex;flex-direction:column;background:radial-gradient(ellipse at 22% 65%,var(--glow),transparent 45%),radial-gradient(ellipse at 85% 10%,var(--glow2),transparent 48%),var(--page)}.newtab-top{display:flex;justify-content:space-between;padding:26px 36px;font-size:10px;color:var(--muted)}.local-label{display:flex;align-items:center;gap:7px}.local-label i{width:5px;height:5px;border-radius:50%;background:var(--accent)}.newtab-content{margin:auto;transform:translateY(-36px);width:min(620px,calc(100% - 48px));text-align:center}.wordmark{font-size:49px;font-weight:650;letter-spacing:-2.5px;display:flex;justify-content:center;align-items:center;gap:12px;line-height:1.3}.wordmark>span{font-size:63px;line-height:.6;color:var(--accent);font-weight:550;transform:translateY(-2px)}h1{font-size:14px;font-weight:400;margin:10px 0 33px;color:var(--muted);letter-spacing:.15px}.home-search{height:56px;display:flex;align-items:center;gap:14px;padding:0 9px 0 21px;background:var(--surface);border-radius:16px;border:1px solid var(--line);box-shadow:0 3px 15px #20304807}.home-search>svg{color:var(--muted)}.home-search input{width:100%;min-width:0;border:0;background:none;color:var(--ink);outline:0!important;font-size:14px}.home-search:focus-within{border-color:var(--accent)}.home-search>button{width:38px;height:38px;border-radius:10px;background:var(--soft);color:var(--accent);display:grid;place-items:center;flex-shrink:0}.search-caption{font-size:10px;color:var(--muted);margin:12px 0 0}.search-caption button{font-size:10px;color:var(--accent);padding:0 0 2px;border-bottom:1px dotted var(--accent)}.shortcut-grid{display:flex;justify-content:center;gap:24px;margin:35px auto 0}.shortcut-grid>button{width:78px;padding:10px 7px;display:flex;flex-direction:column;align-items:center;gap:10px;border-radius:12px;font-size:10px}.shortcut-grid>button:hover{background:var(--chrome)}.shortcut-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;font-size:20px;font-weight:650;border:1px solid #ffffff90}.green{background:#e0ede2;color:#4f7650}.blue{background:#dee8f3;color:#4a6d94}.amber{background:#f0e5d5;color:#aa7a3b}.plain{background:var(--chrome);color:var(--muted);border-color:var(--line)}.newtab-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 32px;font-size:10px;color:var(--muted)}.newtab-footer button{display:flex;align-items:center;gap:8px;background:var(--surface);padding:9px 13px;border:1px solid var(--line);border-radius:18px;font-size:10px}.newtab-footer svg{width:13px;height:13px}.frames{height:100%;width:100%;background:#fff}.site-frame{display:block;height:100%;width:100%;border:0;background:#fff}.loading-error{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:var(--page);text-align:center;padding:25px}.loading-error>span{font-size:64px;color:var(--accent)}.loading-error h2{font-size:21px;font-weight:500;margin-bottom:5px}.loading-error p{max-width:500px;line-height:1.8;color:var(--muted);font-size:12px}.primary{background:var(--accent);color:var(--surface);padding:11px 20px;border-radius:8px;font-weight:550}.secondary{border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:9px 13px;font-size:11px}.secondary:hover{background:var(--chrome)}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);padding:12px 19px;border-radius:10px;max-width:calc(100% - 40px);width:max-content;font-size:12px;z-index:50}.browser-menu{position:fixed;right:12px;top:94px;width:270px;padding:7px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);z-index:15}.browser-menu button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;font-size:12px;padding:10px 12px;border-radius:6px}.browser-menu button:hover{background:var(--chrome)}.browser-menu button>span{margin-left:auto;font-size:10px;color:var(--muted)}.browser-menu svg{width:16px;height:16px;color:var(--muted)}hr{border:0;border-top:1px solid var(--line);margin:5px 0}.suggestions{position:absolute;left:0;right:0;top:43px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);padding:6px;border-radius:12px;z-index:20}.suggestion{display:flex;align-items:center;gap:10px;width:100%;padding:12px 10px;border-radius:7px;text-align:left;overflow:hidden}.suggestion:hover,.suggestion.selected{background:var(--chrome)}.suggestion svg{width:15px;height:15px;color:var(--muted)}.suggestion-title{font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.suggestion small{color:var(--muted);font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:auto;max-width:45%}dialog{color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:26px;width:min(570px,calc(100% - 32px));max-height:calc(100dvh - 70px);box-shadow:var(--shadow)}dialog::backdrop{background:#14212d3b;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.dialog-heading h2{font-size:23px;letter-spacing:-.6px;font-weight:550;margin:7px 0 0}.eyebrow{font-size:9px;letter-spacing:1.8px;color:var(--muted)}.setting{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 0;border-top:1px solid var(--line);font-size:12px}.setting small{display:block;margin-top:6px;color:var(--muted);font-size:10px;line-height:1.6;max-width:290px}.setting select{font-size:11px;border:1px solid var(--line);padding:9px;border-radius:7px;background:var(--toolbar);color:var(--ink);max-width:150px}.setting input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent)}.setting-note{font-size:11px;color:var(--muted);line-height:1.8}#history-list{margin-bottom:20px}.history-entry{display:flex;text-align:left;gap:12px;align-items:center;width:100%;padding:13px 5px;border-bottom:1px solid var(--line)}.history-entry:hover{background:var(--toolbar)}.history-entry svg{width:16px;height:16px;color:var(--muted)}.history-entry>div{flex:1;overflow:hidden}.history-entry strong{font-size:12px;font-weight:500;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-entry small{font-size:10px;color:var(--muted);display:block;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-entry time{font-size:10px;color:var(--muted)}#bookmark-form label{display:block;margin:17px 0;font-size:12px}#bookmark-form input{display:block;width:100%;border:1px solid var(--line);border-radius:7px;padding:11px;background:var(--toolbar);color:var(--ink);margin-top:8px;font-size:16px}#diagnostics-dialog{width:min(720px,calc(100% - 32px))}.diagnostic-actions{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.check-row{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:12px 0;font-size:11px}.check-row>span:last-child{font-size:10px;color:var(--accent);text-align:right}.check-row.warn>span:last-child{color:#b07532}#socket-list{margin-top:15px}.socket-row{font-size:10px;padding:8px 0;color:var(--muted);overflow-wrap:anywhere}.socket-row strong{color:var(--ink);font-weight:500}input[type=search]::-webkit-search-cancel-button{display:none}@keyframes spin{to{transform:rotate(360deg)}}@keyframes progress{from{transform:translateX(-110%)}to{transform:translateX(390%)}}@media(max-width:800px){.window-label{display:none}.tab-strip{max-width:calc(100% - 74px);flex:1}.browser-tab{min-width:115px}.newtab-top{padding:24px}.newtab-footer{padding:20px 24px}.toolbar{gap:7px;padding-left:7px;padding-right:7px}.navigation-buttons{gap:0}.home-button{display:none}.newtab-content{transform:translateY(-20px)}}@media(max-width:480px){.tab-row{height:44px;padding-left:5px}.brand-mark{width:28px;font-size:26px}.browser-tab{min-width:110px;padding-left:9px;gap:6px}.tab-strip{max-width:calc(100% - 65px)}.toolbar{gap:4px}.navigation-buttons .icon-button{width:28px}.navigation-buttons svg{width:17px;height:17px}.omnibox{padding-left:10px;gap:6px}.omnibox input{font-size:12px}.bookmark-button{display:none}.bookmarks-row{padding:0 8px;gap:5px}.history-shortcut span{display:none}.bookmark-item{padding:4px 6px;gap:5px}.newtab-top{padding:23px 20px;font-size:9px}.local-label{display:none}.newtab-top #date-label{margin-left:auto}.wordmark{font-size:42px}.wordmark>span{font-size:55px}.newtab-content{width:calc(100% - 36px);transform:translateY(-12px)}h1{font-size:12px;margin-bottom:29px}.home-search{height:53px;border-radius:14px;padding-left:16px;gap:11px}.home-search input{font-size:16px}.shortcut-grid{gap:4px;margin-top:27px}.shortcut-grid>button{width:74px;font-size:10px}.shortcut-icon{width:44px;height:44px;border-radius:14px}.newtab-footer{padding:17px;font-size:9px;align-items:flex-end}#engine-status{max-width:140px;line-height:1.6}.newtab-footer button{font-size:9px;padding:9px 10px}.setting{gap:12px;align-items:flex-start}.setting small{max-width:200px}.setting select{max-width:116px}dialog{padding:21px}.suggestion small{display:none}}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important}}
