.appearance-controls{display:grid;gap:5px;margin:8px 10px 12px}.appearance-controls button{display:flex;align-items:center;gap:9px;width:100%;padding:5px 0;font-size:13px;text-align:left}.appearance-controls svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.appearance-label{flex:1}.appearance-switch{width:28px;height:16px;background:#c9cdc7;border-radius:20px;position:relative;flex-shrink:0}.appearance-switch:after{content:'';position:absolute;top:2px;left:2px;width:12px;height:12px;background:white;border-radius:50%;transition:transform .15s}.appearance-controls [aria-checked="true"] .appearance-switch{background:#aacc00}.appearance-controls [aria-checked="true"] .appearance-switch:after{transform:translateX(12px)}
@media(min-width:701px){body.hide-sidebar .appearance-label,body.hide-sidebar .appearance-switch{display:none}body.hide-sidebar .appearance-controls{margin:8px 0}body.hide-sidebar .appearance-controls button{justify-content:center;padding:7px}body.hide-sidebar .appearance-controls [aria-checked="true"]{color:#aacc00}}
html[data-theme="dark"]{--ink:#f0f0f0;--muted:#aaaaaa;--line:#383838;--lime-ink:#e5ff66;--lime-mid:#c2e600;--lime-edge:#4d5c00;--lime-soft:#3d4a00;--lime-tint:#333d00;--lime-wash:#232b00;--selected:#3b3b3b;background:#191919;color:#f0f0f0}
html[data-theme="dark"] body,html[data-theme="dark"] .workspace,html[data-theme="dark"] .sidebar{background:#191919;color:var(--ink)}
html[data-theme="dark"] :is(.list,.editor-panel,.dashboard-card,dialog,.menu,main:not(.workspace)){background:#242424;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] :is(.search,input,select,.dashboard-folder,.account-avatar,.dashboard-note-symbol){background:#2e2e2e;color:var(--ink);border-color:#444444}
html[data-theme="dark"] :is(.toolbar,.side-bottom,.list-footer,.dashboard-note,.note-card,.video-card,.attachment-card){border-color:var(--line)}
html[data-theme="dark"] :is(.folder:hover,.note-card:hover,.dashboard-note:hover,.dashboard-folder:hover,.menu button:hover){background:#333333}
html[data-theme="dark"] :is(.folder.active,.note-card.active){background:var(--selected);color:var(--ink)}
html[data-theme="dark"] .list{background:linear-gradient(165deg,#ffffff1c,#ffffff0a);border-color:#ffffff1f;box-shadow:inset 0 1px 0 #ffffff12}html[data-theme="dark"] .note-card{background:#ffffff14;border:0;box-shadow:none}html[data-theme="dark"] .list .note-card:hover:not(.active){background:#ffffff1f}html[data-theme="dark"] .workspace::before{background:radial-gradient(520px 420px at 22% 10%,#d6ff0026,transparent 70%),radial-gradient(420px 380px at 16% 92%,#4aa3ff21,transparent 72%)}
@supports not (backdrop-filter:blur(2px)){html[data-theme="dark"] .list{background:#1f1f1f}html[data-theme="dark"] .note-card{background:#2b2b2b}}@media(max-width:700px){html[data-theme="dark"] .note-card.active{background:#2b2b2b}}
html[data-theme="dark"] :is(.editor,.note-title,.dashboard-card h2,.dashboard-number,.dashboard-counts b,.account-name,.brand-name,.toolbar button,.side-bottom button){color:var(--ink)}
html[data-theme="dark"] :is(.note-preview,.note-folder,.date,.local-hint,.side-heading,.section-label,.dashboard-note-copy>span,.dashboard-note time,.dashboard-total p,.dashboard-counts,.dashboard-empty,.dashboard-metrics span,.dashboard-folder>span:last-child){color:var(--muted)}
html[data-theme="dark"] .account-details #google-signout{color:var(--muted)}
html[data-theme="dark"] :is(.dashboard-total,.dashboard-folder-icon,.note-shared-badge,.shared-status-icon,.toolbar .on,.dashboard-pin-symbol){background:#d6ff00;color:#111}
html[data-theme="dark"] .dashboard-total :is(h2,p,button,b,.dashboard-number,.dashboard-counts){color:#232b00}
html[data-theme="dark"] :is(.brand-icon img,.mobile-brand img){filter:invert(1)}
html[data-theme="dark"] :is(.video-card,.attachment-card){background:#292929;color:var(--ink)}
html[data-theme="dark"] .media-layout-tools{background:#2e2e2e;border-color:#444;box-shadow:0 6px 24px #0008}html[data-theme="dark"] .media-layout-tools hr{border-color:#444}
html[data-theme="dark"] .media-layout-tools button{color:var(--ink)}
html[data-theme="dark"] .media-layout-tools button:hover{background:#3b3b3b}
html[data-theme="dark"] .media-layout-tools button[aria-pressed="true"]{background:#d6ff00;color:#111}html[data-theme="dark"] .video-card figcaption .media-arrange[aria-expanded="true"]{background:#d6ff00;color:#111}
html[data-theme="dark"] .editor blockquote{color:#cfcfcf}
html[data-theme="dark"] .note-glyph{color:#e5ff66}html[data-theme="dark"] .note-items.grid .note-glyph{background:#333d00;color:#d6ff00}html[data-theme="dark"] .note-items.grid .note-glyph.is-default{background:#333;color:#aaa}
html[data-theme="dark"] .format-bar{background:#2a2a2a;border-color:#444;box-shadow:0 8px 28px #0008}html[data-theme="dark"] .format-bar button{color:#ddd}html[data-theme="dark"] .format-bar .fb-ai{background:#3d4a00;color:#f1ffad}html[data-theme="dark"] .format-bar .fb-ai:hover{background:var(--lime);color:#111}html[data-theme="dark"] .format-bar button:hover{background:#3b3b3b}html[data-theme="dark"] .fb-group{border-color:#444}
html[data-theme="dark"] .ai-btn{color:#e5ff66}html[data-theme="dark"] .ai-btn:hover{background:#3b3b3b}html[data-theme="dark"] :is(.ai-result,.ai-event){background:#2a2a2a;border-color:#444}html[data-theme="dark"] .date-chip{background:#d6ff00;color:#111}html[data-theme="dark"] .date-chip:hover{background:#e5ff66}html[data-theme="dark"] ::highlight(date){text-decoration-color:#e5ff66}
html[data-theme="dark"] .tray-item{background:#2b2b2b;border-color:#3d3d3d}html[data-theme="dark"] .tray-item:hover{background:#333;border-color:#4d5c00}html[data-theme="dark"] .tray-panel{border-color:#3a3a3a}html[data-theme="dark"] .tray-panel.is-target{background:#333d00}html[data-theme="dark"] .tray-item-tools button{background:#2b2b2b}
html[data-theme="dark"] .lock-dialog input{background:#2e2e2e;border-color:#444;color:#f0f0f0}
html[data-theme="dark"] :is(.timer-panel,.rec-panel){background:#262626;border-color:#444;box-shadow:0 12px 40px #0008}html[data-theme="dark"] .timer-panel.is-done .timer-clock{color:#ff8a80}
html[data-theme="dark"] .editor th{background:#2f2f2f}html[data-theme="dark"] .editor table.first-col tr>:is(td,th):first-child{background:#2a2a2a}html[data-theme="dark"] .editor table.first-col thead tr>th:first-child{background:#343434}html[data-theme="dark"] .editor table.numbered tr::before{background:#262626}html[data-theme="dark"] .table-menu-check{border-color:#555}html[data-theme="dark"] .table-menu button svg{color:#bbb}html[data-theme="dark"] .table-menu button:hover svg{color:#fff}html[data-theme="dark"] .table-tools{background:#2e2e2e;border-color:#555;color:#ddd}html[data-theme="dark"] .table-rail-handle{color:#aaa;background:#2e2e2e;border-color:#555}html[data-theme="dark"] .editor :is(td,th).is-picked{background:#3d4a00!important}
html[data-theme="dark"] .history-media{background:#2e2e2e;border-color:#444}html[data-theme="dark"] .history-preview-head{background:#2a2a2a}
html[data-theme="dark"] .video-card figcaption .media-action{color:#d6d6d6}html[data-theme="dark"] .video-card figcaption .media-action:hover{background:#3b3b3b;color:#fff}
html[data-theme="dark"] .side-bottom .sync-now{background:#2e2e2e;border-color:#494949;color:var(--ink)}
html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] input:focus-visible,html[data-theme="dark"] select:focus-visible{outline-color:#d6ff00}
html[data-theme="dark"] .editor [style*="background-color: rgb"]{color:#111}
html[data-theme="dark"] #google-signin,html[data-theme="dark"] .recent-account{background:#2e2e2e;color:#f0f0f0;border-color:#444444}
html[data-theme="dark"] .account-choice{background:transparent;color:#f0f0f0}html[data-theme="dark"] .forget-account{color:#aaa}html[data-theme="dark"] .forget-account:hover{background:rgba(255,255,255,.08);color:#fff}
html[data-theme="dark"] .foot,html[data-theme="dark"] main>p{color:#aaaaaa}
html[data-theme="dark"] .field input{background:#2e2e2e;border-color:#444;color:#f0f0f0}html[data-theme="dark"] .field{color:#aaa}html[data-theme="dark"] .or{color:#888}html[data-theme="dark"] .or:before,html[data-theme="dark"] .or:after{border-color:#3a3a3a}
html[data-theme="dark"] .email-submit{color:#111}html[data-theme="dark"] .linkish{color:#e5ff66}html[data-theme="dark"] .auth-note{background:#333d00;color:#f1ffad}

html[data-theme="dark"] .note-card-meta .note-folder.note-shared-badge{color:#111}
html[data-theme="dark"] .appearance-switch{background:#4a4a4a}
html[data-theme="dark"] .appearance-switch:after{background:#bdbdbd}
html[data-theme="dark"] .appearance-controls [aria-checked="true"] .appearance-switch{background:#d6ff00}
html[data-theme="dark"] .appearance-controls [aria-checked="true"] .appearance-switch:after{background:#111}html[data-theme="dark"] .list-head .icon-btn{color:#eeeeee}
html[data-theme="dark"] .mobile-nav{background:#242424;border-color:var(--line)}
html[data-theme="dark"] .mobile-nav-item{color:#bdbdbd}
html[data-theme="dark"] .mobile-avatar{background:#3b3b3b;color:#eee}
html[data-theme="dark"] .mobile-sync{color:#ddd}
html[data-theme="dark"] .account-menu .appearance-controls button:hover,html[data-theme="dark"] .menu button:hover{background:#333}
html[data-theme="dark"] .note-check{background:#2a2a2a;border-color:#555}
html[data-theme="dark"] .note-card.is-chosen .note-check{background:var(--lime);border-color:var(--lime)}html[data-theme="dark"] .note-card.is-chosen .note-check svg{color:#111}
html[data-theme="dark"] .find-bar{background:#1f1f1f}html[data-theme="dark"] .find-bar input{background:#2a2a2a;color:var(--ink)}html[data-theme="dark"] ::highlight(find){background:#4d5c00;color:#fff}
html[data-theme="dark"] .storage-bar{background:#3a3a3a}
html[data-theme="dark"] .boot{background:#161616}html[data-theme="dark"] .boot-mark path{fill:#f0f0f0;stroke:#f0f0f0}html[data-theme="dark"] .boot-text{color:#999}
