@font-face{font-family:Montserrat;src:url('../assets/fonts/Montserrat.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:Poppins;src:url('../assets/fonts/Poppins-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Poppins;src:url('../assets/fonts/Poppins-Medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Poppins;src:url('../assets/fonts/Poppins-SemiBold.ttf') format('truetype');font-weight:600 900;font-style:normal;font-display:swap}
@font-face{font-family:Syne;src:url('../assets/fonts/Syne.ttf') format('truetype');font-weight:400 800;font-style:normal;font-display:swap}
/* Accent alternatives. The default (system blue) and Sunlight are set in apple.css, which loads last. */
:root{--accent:#ffc300}:root[data-accent=ocean]{--accent:#4b8df8}:root[data-accent=forest]{--accent:#2fb36a}:root[data-accent=sunset]{--accent:#ff8a3d}:root[data-accent=grape]{--accent:#9b7bf7}:root[data-accent=mono]{--accent:#c9c9c4}
.accent-swatches{display:inline-flex;gap:8px;flex-wrap:wrap}.accent-swatch{width:26px;height:26px;min-height:0;padding:0;border-radius:50%;cursor:pointer;flex-shrink:0;outline-offset:3px;transition:transform .12s}.accent-swatch:hover{transform:scale(1.1)}.accent-swatch[aria-checked=true]{outline:2px solid currentColor}[data-swatch=sunlight]{background:#ffc300!important}[data-swatch=ocean]{background:#4b8df8!important}[data-swatch=forest]{background:#2fb36a!important}[data-swatch=sunset]{background:#ff8a3d!important}[data-swatch=grape]{background:#9b7bf7!important}[data-swatch=mono]{background:#c9c9c4!important}.control-accent{display:flex;justify-content:center;padding:4px 0 12px}
:root,html.restored-module{--font:Poppins,sans-serif!important;--font-body:Poppins,sans-serif!important;--font-display:Montserrat,sans-serif!important;--sh-xs:none!important;--sh-sm:none!important;--sh-md:none!important;--sh-lg:none!important;--sh-xl:none!important;--shadow:none!important;--ring:none!important}
*,*::before,*::after{box-shadow:none!important;text-shadow:none!important;border:none!important}
html body,html button,html input,html select,html textarea,html.restored-module body,html.restored-module button,html.restored-module input,html.restored-module select,html.restored-module textarea{font-family:Poppins,sans-serif!important}
html h1,html h2,html h3,html h4,html .page-title,html .window-caption,html .library-app strong,html .file-item strong,html .dc-chan-head,html .dc-top .t{font-family:Montserrat,sans-serif!important}
html .brand,html .os-wordmark,html .about-wordmark,html .desktop-brand-caption{font-family:Syne,sans-serif!important;font-weight:650;letter-spacing:-1.3px}
html .desktop-brand-caption span{font-family:Montserrat,sans-serif!important;letter-spacing:2px}
html .terminal-app,html .terminal-app input,html .terminal-app pre,html .terminal-app label{font-family:ui-monospace,Consolas,monospace!important}
.card{background:var(--surface-2)}.project-card,.doc-card,.person-card{background:var(--surface-2)}.project-card:hover,.doc-card:hover{background:var(--hover)}.new-project-card{background:var(--surface-2)}.card .task-row:hover{background:var(--hover)}.task-checkbox{background:var(--hover)}.task-checkbox.checked{background:var(--accent)}.tab.active{background:var(--surface-2);border-radius:5px 5px 0 0}.tab{padding:8px 10px;margin-left:-10px}.tabs{gap:24px}.status-select,.toolbar input,.toolbar select,.field input,.field select,.field textarea,.search-button,.sidebar-search{background:var(--surface-2)}.btn:not(.primary):not(.dark):not(.ghost){background:var(--surface-2)}.btn:not(.primary):not(.dark):not(.ghost):hover{background:var(--hover)}.workspace-switch{background:transparent}.today-summary{margin-bottom:20px}.today-side{background:var(--surface-2);padding:22px;border-radius:8px}.today-grid{gap:30px}.today-summary i,.separator,.nav-break,.dock-divider,.menu-separator{background:none}.today-project-row:hover,.today-tasks .task-row:hover{background:var(--surface-2)}.today-project-row{padding-left:9px;padding-right:9px;margin-left:-9px;width:calc(100% + 18px);border-radius:6px}.workspace-app:hover{background:var(--surface-2);border-radius:6px}.topbar{background:var(--bg)}.sidebar{background:var(--sidebar)}.main-shell{background:var(--bg)}.modal{background:var(--surface)}.modal::backdrop{background:#0d0d0d65}.calendar-grid{gap:3px}.calendar-day{background:var(--surface-2)}.calendar-day.other-month{opacity:.5}.calendar-weekday{background:transparent}.project-context{background:var(--surface-2)}.board-task{background:var(--surface)}
.os-window{background:var(--surface)}.os-window:not(.is-focused) .os-window-bar{background:var(--inset)}.os-window.is-focused .os-window-bar{background:var(--chrome)}.os-window-body{background:var(--surface)}.native-settings-group{background:var(--inset)}.native-settings-group .settings-row{padding-top:18px;padding-bottom:18px}.os-button:not(.primary){background:var(--inset)}.native-search{background:var(--inset)}.appearance-preview{outline:2px solid transparent;outline-offset:3px}.appearance-choice.selected .appearance-preview,.wallpaper-choice.selected .wallpaper-swatch{outline:2px solid var(--accent);outline-offset:3px}.os-panel{background:var(--surface)}.os-context-menu{background:var(--surface)}.os-context-menu button:hover{background:var(--inset)}.desktop-agenda,.desktop-quicknote,.attendance-control{background:#1c1c1c}.light-wall .desktop-agenda,.light-wall .desktop-quicknote,.light-wall .attendance-control{background:#e2e2e2;color:#333}.os-dock{background:#252525}.os-toast{background:#252525}.settings-row select{background:var(--surface)}.file-items{background:var(--surface)}
.file-tabs-strip{display:flex;align-items:center;gap:5px;padding:5px 12px 0;background:var(--chrome);min-height:41px;flex-shrink:0}.file-tabs{display:flex;gap:4px;flex:1;overflow-x:auto;scrollbar-width:thin;min-width:0}.file-tab{display:flex;align-items:center;min-width:115px;max-width:215px;flex:1;background:transparent;border-radius:7px 7px 0 0;color:var(--secondary);position:relative}.file-tab.active{background:var(--surface);color:var(--text)}.file-tab>[role=tab]{display:flex;align-items:center;gap:7px;padding:10px 6px 10px 12px;min-width:0;flex:1;text-align:left;font-size:10px;height:36px}.file-tab>[role=tab] span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-tab>[role=tab] .icon{width:14px;height:14px;color:var(--secondary)}.file-tab.active>[role=tab] .icon{color:color-mix(in srgb,var(--accent) 70%,#000)}.file-tab-close{display:grid;place-items:center;width:23px;height:23px;flex-shrink:0;padding:4px;margin-right:6px;border-radius:4px;opacity:0;color:var(--secondary)}.file-tab:hover .file-tab-close,.file-tab.active .file-tab-close,.file-tab:focus-within .file-tab-close{opacity:1}.file-tab-close:hover{background:var(--inset)}.file-tab-close .icon{width:12px;height:12px}.new-file-tab{width:27px;height:27px;display:grid;place-items:center;padding:5px;border-radius:5px;color:var(--secondary);flex-shrink:0;margin-bottom:4px}.new-file-tab:hover{background:var(--inset)}.new-file-tab .icon{width:17px;height:17px}.files-sidebar{background:var(--inset)}.native-toolbar{background:var(--chrome)}.file-breadcrumb{padding-top:16px;padding-bottom:12px}.file-items.grid .file-item{border-radius:8px}.file-item.selected{background:var(--inset)}.file-item:hover{background:var(--inset)}.file-item>.icon{color:color-mix(in srgb,var(--accent) 71%,#000)}.file-items.list .file-item:nth-child(even){background:var(--inset)}
html.restored-module .card,html.restored-module .stat-card{background:var(--bg-2)}html.restored-module .btn:not(.btn-primary){background:var(--bg-2)}html.restored-module input,html.restored-module textarea,html.restored-module select{background:var(--bg-2)}html.restored-module .dc-input{background:var(--bg-2)}html.restored-module .dc-input input{background:transparent}html.restored-module .dc-msg:hover{background:var(--bg-2)}html.restored-module tbody tr:nth-child(even){background:var(--bg-2)}html.restored-module .thread-chip{background:var(--bg-2)}html.restored-module .dc-ch.active{background:var(--bg-3)!important}
@media(max-width:900px){.today-side{padding:22px;gap:25px}.embedded .today-side{padding:22px}.file-tab{min-width:110px}}
@media(max-width:700px){.today-grid{gap:24px}.today-side{padding:19px}.file-tabs-strip{padding-left:6px;padding-right:6px}.file-tab>[role=tab]{padding-left:8px;font-size:9px}.file-tab{min-width:105px}.file-tab-close{margin-right:3px}.today-tasks .task-title{font-size:11px!important}}
:root .data-mode-label { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 6px; background: var(--accent); color: #0d0d0d; font: 500 10px/1.3 Poppins, sans-serif; text-decoration: none; white-space: nowrap; }
.sidebar > .data-mode-label { align-self: flex-start; margin-bottom: 10px; }
