/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-white:#fff;--spacing:.25rem;--font-weight-medium:500;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.mt-3{margin-top:calc(var(--spacing) * 3)}.block{display:block}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.rounded-\[6px\]{border-radius:6px}.border{border-style:var(--tw-border-style);border-width:1px}.border-border{border-color:var(--border)}.bg-danger{background-color:var(--danger)}.bg-primary{background-color:var(--primary)}.bg-transparent{background-color:#0000}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.text-\[12px\]{font-size:12px}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-foreground{color:var(--foreground)}.text-muted-foreground{color:var(--muted-foreground)}.text-primary-foreground{color:var(--primary-foreground)}.text-white{color:var(--color-white)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (hover:hover){.hover\:bg-danger\/90:hover{background-color:var(--danger)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-danger\/90:hover{background-color:color-mix(in oklab, var(--danger) 90%, transparent)}}.hover\:bg-muted:hover{background-color:var(--muted)}.hover\:bg-primary\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab, var(--primary) 90%, transparent)}}.hover\:text-foreground:hover{color:var(--foreground)}}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--ring)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}}:root{--background:#f4f5f6;--foreground:#23272e;--primary:#5b7ba6;--primary-foreground:#fff;--secondary-foreground:#4c5462;--muted:#eef0f3;--muted-foreground:#6d7686;--faint:#8b93a1;--border:#e4e6ea;--row-border:#f2f3f5;--dashed:#d5d9df;--danger:#c0705e;--success:#6f9a7d;--ring:#7893b7;--surface:#fff;--surface-muted:#fbfbfc;--sidebar:#fbfbfc;--shadow:#23272e14;--space-soft:#e8edf3;--space-border-light:#d8e0ea;--space-border:var(--space-border-light);--space-fill:var(--space-soft)}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#15171a;--foreground:#e5e7eb;--primary-foreground:#fff;--secondary-foreground:#c1c6ce;--muted:#272b32;--muted-foreground:#9ca3af;--faint:#777f8d;--border:#30353d;--row-border:#282d34;--dashed:#444b55;--danger:#d0806e;--success:#79a188;--surface:#1d2025;--surface-muted:#191c20;--sidebar:#181a1e;--shadow:#00000047;--space-fill:var(--primary)}@supports (color:color-mix(in lab, red, red)){:root[data-theme=dark]{--space-fill:color-mix(in srgb, var(--primary) 14%, var(--surface))}}:root[data-theme=dark]{--space-border:var(--primary)}@supports (color:color-mix(in lab, red, red)){:root[data-theme=dark]{--space-border:color-mix(in srgb, var(--primary) 28%, var(--border))}}*{box-sizing:border-box}html{font-size:12px}body{background:var(--background);min-width:320px;min-height:100svh;color:var(--foreground);font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;margin:0;font-family:-apple-system,BlinkMacSystemFont,Hiragino Kaku Gothic ProN,Hiragino Sans,Meiryo,system-ui,sans-serif}button,input,textarea{font:inherit}button,summary,a{-webkit-tap-highlight-color:transparent}a{color:inherit}h1,h2,h3,p{margin-top:0}:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.eyebrow,.sidebar-group-label,.entry-table-head,.drive-table-head,.entry-meta-panel h2{color:var(--faint);letter-spacing:.05em;text-transform:uppercase;font-size:10.5px;font-weight:700}.eyebrow{margin-bottom:8px}.text-field{border:1px solid var(--border);background:var(--surface);width:100%;min-height:32px;color:var(--foreground);border-radius:6px;outline:none;padding:6px 9px}.text-field:focus{border-color:var(--ring);box-shadow:0 0 0 2px var(--ring)}@supports (color:color-mix(in lab, red, red)){.text-field:focus{box-shadow:0 0 0 2px color-mix(in srgb, var(--ring) 18%, transparent)}}.field-label{font-size:11px;font-weight:650}.form-stack{gap:10px;display:grid}.w-full{width:100%}.mt-3{margin-top:12px}.notice{border-left:2px solid var(--primary);background:var(--muted);color:var(--secondary-foreground);border-radius:4px;margin:0 0 12px;padding:9px 10px;font-size:11px;line-height:1.55}.notice-danger{border-color:var(--danger);color:var(--danger)}.auth-page,.loading-page{background:var(--background);place-items:center;min-height:100svh;padding:20px;display:grid}.auth-card{border:1px solid var(--border);background:var(--surface);width:min(100%,390px);box-shadow:0 16px 48px var(--shadow);border-radius:8px;padding:28px}.ark-mark,.space-icon{background:var(--primary);color:#fff;border-radius:6px;place-items:center;font-weight:750;display:inline-grid}.ark-mark{width:34px;height:34px;margin-bottom:22px;font-size:15px}.auth-card h1,.settings-shell>h1{letter-spacing:-.02em;margin-bottom:8px;font-size:21px;font-weight:700}.lede{color:var(--muted-foreground);margin-bottom:20px;font-size:12px;line-height:1.65}.loading-page{color:var(--muted-foreground)}.loading-page .ark-mark{margin-inline:auto;margin-bottom:10px}.code-input,.code-grid{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.recovery-panel{margin-bottom:14px}.code-grid{border:1px dashed var(--dashed);background:var(--surface-muted);border-radius:6px;grid-template-columns:1fr 1fr;gap:5px 14px;margin:0;padding:12px 12px 12px 30px;font-size:11px;display:grid}.settings-page{min-height:100svh;padding:28px 16px 56px}.settings-shell{width:min(100%,760px);margin:0 auto}.back-link,.text-link{color:var(--muted-foreground);font-size:11px;text-decoration:none}.back-link{margin-bottom:24px;display:inline-block}.back-link:hover,.text-link:hover{color:var(--foreground)}.settings-section{border:1px solid var(--border);background:var(--surface);border-radius:8px;margin-top:12px;padding:18px}.section-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.section-heading h2{margin-bottom:3px;font-size:13.5px;font-weight:700}.section-heading p,.credential-meta,.settings-hint,.settings-empty{color:var(--muted-foreground);margin-bottom:0;font-size:11px;line-height:1.5}.settings-subsection{border-top:1px solid var(--row-border);margin-top:16px;padding-top:16px}.settings-subsection h3{margin:0 0 4px;font-size:12px;font-weight:700}.settings-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.settings-empty{margin-top:14px}.credential-list,.connection-list,.storage-list{margin:14px 0 0;padding:0;list-style:none}.credential-row{border-bottom:1px solid var(--row-border);padding:10px 0}.credential-form,.inline-form{gap:7px;display:flex}.credential-form .text-field,.inline-form .text-field{flex:1}.credential-meta{margin-top:5px}.add-passkey{border-top:1px solid var(--row-border);gap:6px;margin-top:12px;padding-top:12px;display:grid}.connection-list,.storage-list{border-top:1px solid var(--row-border)}.connection-list>li,.storage-list>li{border-bottom:1px solid var(--row-border);justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:8px 0;display:flex}.connection-list p,.connection-list small{color:var(--muted-foreground);overflow-wrap:anywhere;margin:3px 0 0;font-size:10px;display:block}.token-form{gap:9px;margin-top:14px;display:grid}.scope-grid{border:0;grid-template-columns:1fr 1fr;gap:6px;margin:0;padding:0;display:grid}.scope-grid legend{margin-bottom:6px;font-size:11px;font-weight:700}.scope-grid label{border:1px solid var(--border);background:var(--surface-muted);cursor:pointer;border-radius:6px;gap:7px;padding:8px;font-size:11px;display:flex}.scope-grid input{accent-color:var(--primary)}.scope-grid code{color:var(--muted-foreground);margin-top:2px;font-size:9.5px;display:block}.token-secret{border:1px solid var(--space-border);background:var(--space-fill);border-radius:6px;gap:6px;margin-top:10px;padding:10px;font-size:11px;display:grid}.token-secret code{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all}.content-app{background:var(--background);min-height:100svh;display:flex}.app-sidebar{z-index:30;border-right:1px solid var(--border);background:var(--sidebar);flex-direction:column;flex:0 0 216px;width:216px;height:100svh;display:flex;position:sticky;top:0}.sidebar-backdrop,.sidebar-trigger,.mobile-appbar{display:none}.sidebar-header{padding:14px 12px 10px}.sidebar-wordmark{letter-spacing:-.03em;margin:0 4px 12px;font-size:15px;font-weight:750;text-decoration:none;display:inline-block}.space-switcher{position:relative}.space-switcher>summary{border:1px solid var(--space-border);background:var(--space-fill);cursor:pointer;border-radius:8px;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:40px;padding:6px 8px;font-size:12px;font-weight:650;list-style:none;display:grid}.space-switcher>summary::-webkit-details-marker{display:none}.space-icon{width:26px;height:26px;font-size:10px}.switcher-chevrons{color:var(--muted-foreground);font-size:8px;line-height:.65;display:grid}.space-menu{z-index:45;border:1px solid var(--border);background:var(--surface);width:100%;box-shadow:0 12px 32px var(--shadow);border-radius:7px;padding:4px;display:grid;position:absolute;top:calc(100% + 4px);left:0}.space-menu a,.space-menu button{min-height:32px;color:var(--foreground);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:8px;padding:6px 7px;font-size:11px;text-decoration:none;display:flex}.space-menu a:hover,.space-menu button:hover{background:var(--muted)}.space-dot,.color-option{--dot-color:#6f9179;background:var(--dot-color);border-radius:3px;flex:none;width:9px;height:9px;display:inline-block}[data-color=sage]{--dot-color:#6f9179}[data-color=blue]{--dot-color:#5b7ba6}[data-color=violet]{--dot-color:#7d719e}[data-color=rose]{--dot-color:#a56f79}[data-color=amber]{--dot-color:#a6795b}[data-color=orange]{--dot-color:#a36f55}[data-color=cyan]{--dot-color:#5f8c91}[data-color=slate]{--dot-color:#6d7686}.space-icon[data-color]{background:var(--dot-color)}.sidebar-content{flex:1;min-height:0;padding:6px 10px;overflow-y:auto}.source-nav{gap:2px;display:grid}.source-nav a,.source-nav button,.sidebar-action{min-height:32px;color:var(--secondary-foreground);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:6px 8px;font-size:11.5px;text-decoration:none;display:flex}.source-nav a:hover,.source-nav button:hover,.sidebar-action:hover,.source-nav a.is-active{background:var(--space-fill);color:var(--foreground)}.source-nav a.is-active{font-weight:650}.source-nav small{background:var(--muted);min-width:20px;color:var(--muted-foreground);text-align:center;border-radius:999px;margin-left:auto;padding:1px 5px;font-size:9.5px}.sidebar-group-label{margin:18px 8px 5px}.received-dot{background:var(--success);vertical-align:middle;border-radius:50%;width:6px;height:6px;margin-left:auto;display:inline-block}.add-source{justify-content:center;margin-top:8px;border:1px dashed var(--dashed)!important;color:var(--muted-foreground)!important}.sidebar-footer{border-top:1px solid var(--border);padding:8px 10px 12px;display:grid}.sidebar-inset{flex:1;min-width:0;min-height:100svh;position:relative}.dialog-root{width:100%;max-width:none;height:100%;max-height:none;color:var(--foreground);background:0 0;border:0;margin:0;padding:14px;overflow:auto}.dialog-root[open]{place-items:center;display:grid}.dialog-root::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f121694}.dialog-content{border:1px solid var(--border);background:var(--surface);width:min(100%,420px);max-height:calc(100svh - 28px);box-shadow:0 20px 60px var(--shadow);border-radius:8px;padding:18px;overflow-y:auto}.dialog-header h2{margin-bottom:5px;font-size:15px;font-weight:700}.dialog-header>p:not(.eyebrow){color:var(--muted-foreground);margin-bottom:14px;font-size:11px;line-height:1.55}.dialog-footer{justify-content:flex-end;gap:6px;margin-top:14px;display:flex}.color-picker{border:0;margin:8px 0 0;padding:0}.color-picker legend{margin-bottom:7px;font-size:11px;font-weight:700}.color-grid{flex-wrap:wrap;gap:9px;display:flex}.color-option{cursor:pointer;border:0;width:20px;height:20px;padding:0}.color-option.is-selected{outline:2px solid var(--foreground);outline-offset:2px}.command-dialog{width:min(100%,520px);padding:0;overflow:hidden}.command-input{border:0;border-bottom:1px solid var(--border);width:100%;min-height:46px;color:var(--foreground);background:0 0;outline:none;padding:10px 12px;font-size:12px}.command-list{max-height:min(360px,60svh);padding:4px;overflow-y:auto}.command-empty{color:var(--muted-foreground);text-align:center;margin:0;padding:28px 10px;font-size:11px}.command-item{width:100%;min-height:36px;color:var(--foreground);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:5px;justify-content:space-between;align-items:center;padding:7px 8px;display:flex}.command-item:hover,.command-item:focus-visible{background:var(--muted)}.command-item small{color:var(--muted-foreground)}.diary-page,.reader-page,.vitals-page,.drive-page{width:min(100%,1120px);min-height:100svh;margin:0 auto;padding:28px clamp(18px,4vw,44px) 48px}.page-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;display:flex}.page-heading h1{letter-spacing:-.01em;margin:0;font-size:15px;font-weight:700}.heading-date{color:var(--faint);margin:3px 0 0;font-size:10.5px}.page-heading-actions,.drive-heading-actions{align-items:center;gap:7px;display:flex}.search-trigger,.drive-search{border:1px solid var(--border);background:var(--surface);min-height:32px;color:var(--muted-foreground);border-radius:6px;align-items:center;gap:7px;padding:5px 8px;font-size:11px;display:inline-flex}.search-trigger{cursor:pointer}kbd{border:1px solid var(--border);background:var(--surface-muted);border-radius:3px;padding:1px 4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px}.summary-strip{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px;display:grid;overflow:hidden}.summary-strip>div{border-right:1px solid var(--row-border);min-height:82px;padding:11px 13px}.summary-strip>div:last-child{border-right:0}.summary-strip span{color:var(--faint);font-size:10px;display:block}.summary-strip strong{margin-top:8px;font-size:19px;font-weight:700;line-height:1;display:block}.summary-strip strong small{margin-left:2px;font-size:10px;display:inline}.summary-strip>div>small{color:var(--muted-foreground);margin-top:6px;font-size:9.5px;display:block}.summary-strip .received-dot{margin:0 4px 0 0;display:inline-block}.summary-strip .vital-summary{font-size:15px}.frequency-card{flex-direction:column;display:flex}.mini-bars{flex:1;align-items:flex-end;gap:3px;min-height:42px;padding-top:7px;display:flex}.mini-bars i{background:var(--primary);border-radius:2px 2px 0 0;flex:1;min-height:3px;max-height:100%}@supports (color:color-mix(in lab, red, red)){.mini-bars i{background:color-mix(in srgb, var(--primary) 26%, var(--surface))}}.mini-bars i.is-today{background:var(--primary)}.entry-table-wrap,.vitals-table-wrap,.drive-list-wrap{border:1px solid var(--border);background:var(--surface);border-radius:8px;overflow:hidden}.entry-table-head,.entry-table a{grid-template-columns:88px minmax(180px,1fr) 90px 64px;align-items:center;gap:12px;display:grid}.entry-table-head{border-bottom:1px solid var(--border);background:var(--surface-muted);min-width:520px;padding:7px 14px}.entry-list{margin:0;padding:0;list-style:none}.entry-table li{border-bottom:1px solid var(--row-border)}.entry-table li:last-child{border-bottom:0}.entry-table li.is-today{background:var(--primary)}@supports (color:color-mix(in lab, red, red)){.entry-table li.is-today{background:color-mix(in srgb, var(--primary) 5%, var(--surface))}}.entry-table a{min-width:520px;min-height:42px;padding:6px 14px;text-decoration:none}.entry-table a:hover{background:var(--primary)}@supports (color:color-mix(in lab, red, red)){.entry-table a:hover{background:color-mix(in srgb, var(--primary) 5%, transparent)}}.entry-table time,.entry-character-count{color:var(--muted-foreground);font-size:10.5px}.entry-title-cell{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11.5px;font-weight:650;overflow:hidden}.entry-title-cell small{color:var(--faint);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:9.5px;font-weight:400;display:block;overflow:hidden}.title-kind{background:var(--space-fill);width:max-content;color:var(--primary);border-radius:999px;padding:2px 6px;font-size:9.5px;font-weight:650}.title-kind.is-manual{background:var(--muted);color:var(--muted-foreground)}.entry-character-count{text-align:right}.load-more{margin:14px auto 0;display:flex}.page-state{width:min(100% - 24px,520px);min-height:58svh;color:var(--muted-foreground);place-content:center;margin:0 auto;font-size:11px;line-height:1.65;display:grid}.page-state h1,.page-state h2{color:var(--foreground);margin-bottom:5px;font-size:14px;font-weight:700}.empty-symbol{color:var(--primary);margin-bottom:8px;font-size:20px}.editor-page{background:var(--surface);width:100%;min-height:100svh;position:relative}.editor-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:8px 14px;display:flex}.editor-context{align-items:center;gap:8px;min-width:0;display:flex}.editor-context strong{font-size:11.5px}.editor-context time{color:var(--muted-foreground);font-size:10px}.editor-context .space-icon{width:22px;height:22px}.save-status{color:var(--muted-foreground);white-space:nowrap;font-size:10px}.save-status.is-error{color:var(--danger)}.editor-workspace{grid-template-columns:minmax(0,1fr) 224px;min-height:calc(100svh - 49px);display:grid}.editor-main{min-width:0;padding:22px 24px 40px;position:relative}.editor-title-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin:0 0 3px;padding-right:220px;display:grid}.editor-title{min-width:0;color:var(--foreground);letter-spacing:-.02em;background:0 0;border:0;border-bottom:1px solid #0000;outline:none;padding:4px 0;font-size:18px;font-weight:700}.editor-title:focus{border-color:var(--border)}.title-description{color:var(--faint);margin:0 0 14px;font-size:9.5px}.markdown-editor>.editor-modes{position:absolute;top:21px;right:24px}.editor-modes{border:1px solid var(--border);background:var(--muted);border-radius:6px;padding:2px;display:flex}.editor-modes button{min-height:26px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:4px;padding:4px 9px;font-size:10.5px}.editor-modes button.is-active{background:var(--surface);color:var(--foreground);box-shadow:0 1px 3px var(--shadow)}.diary-textarea,.editor-preview{resize:none;width:100%;min-height:calc(100svh - 155px);color:var(--foreground);background:0 0;border:0;outline:none;margin:0;padding:14px 0;font-size:11.5px;line-height:1.8;display:block}.diary-textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Hiragino Sans,monospace}.editor-preview{background:var(--surface-muted);padding-inline:18px;font-size:12px;line-height:1.85}.editor-split{border-top:1px solid var(--border);grid-template-columns:1fr 1fr;margin-inline:-24px;display:grid}.editor-split>*{min-width:0;padding:16px 24px}.editor-split>:first-child{border-right:1px solid var(--border)}.entry-meta-panel{border-left:1px solid var(--border);background:var(--surface-muted);flex-direction:column;gap:18px;padding:18px 14px;display:flex}.entry-meta-panel h2{margin-bottom:9px}.entry-meta-panel dl{margin:0}.entry-meta-panel dl>div{border-bottom:1px solid var(--row-border);justify-content:space-between;gap:8px;padding:5px 0;display:flex}.meta-date-input{border:1px solid var(--border);background:var(--surface);color:inherit;font:inherit;font-variant-numeric:tabular-nums;border-radius:4px;padding:1px 4px}.entry-meta-panel dt{color:var(--faint);font-size:9.5px}.entry-meta-panel dd{color:var(--secondary-foreground);text-align:right;margin:0;font-size:9.5px}.entry-meta-panel p{color:var(--muted-foreground);font-size:10px}.entry-meta-panel ul{margin:0;padding:0;list-style:none}.entry-meta-panel li{border-bottom:1px solid var(--row-border);justify-content:space-between;padding:5px 0;font-size:10px;display:flex}.meta-delete{color:var(--danger);cursor:pointer;text-align:left;background:0 0;border:0;margin-top:auto;padding:7px 0;font-size:10.5px}.reader-page{max-width:920px}.reader-header{justify-content:space-between;align-items:center;margin-bottom:28px;display:flex}.reader-header .back-link{margin:0}.reader-actions{gap:5px;display:flex}.reader-article{border:1px solid var(--border);background:var(--surface);border-radius:8px;width:min(100%,72ch);margin:0 auto;padding:24px}.reader-date{color:var(--faint);margin-bottom:8px;font-size:10px}.reader-article>h1{letter-spacing:-.02em;margin-bottom:24px;font-size:19px;font-weight:700;line-height:1.4}.markdown-body{overflow-wrap:anywhere}.reader-copy{font-size:12px;line-height:1.85}.markdown-body h1,.markdown-body h2,.markdown-body h3{margin:2em 0 .65em;font-weight:700;line-height:1.45}.markdown-body h1{font-size:1.5em}.markdown-body h2{font-size:1.3em}.markdown-body h3{font-size:1.12em}.markdown-body p,.markdown-body ul,.markdown-body ol,.markdown-body blockquote,.markdown-body pre,.markdown-body table{margin:0 0 1.35em}.markdown-body a{color:var(--primary);text-underline-offset:2px}.markdown-body blockquote{border-left:2px solid var(--primary);color:var(--muted-foreground);padding-left:12px}.markdown-body code{background:var(--muted);border-radius:3px;padding:1px 4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}.markdown-body pre{border:1px solid var(--border);background:var(--surface-muted);border-radius:6px;max-width:100%;padding:10px;overflow-x:auto}.markdown-body pre code{background:0 0;padding:0}.markdown-body table{border-collapse:collapse;width:100%;display:block;overflow-x:auto}.markdown-body th,.markdown-body td{border:1px solid var(--border);text-align:left;padding:5px 7px}.markdown-body img{max-width:100%}.preview-empty{color:var(--muted-foreground);font-style:italic}.plain-text-preview{color:inherit;font:inherit;white-space:pre-wrap;background:0 0;border:0;margin:0;padding:0}.vitals-empty{border:1px solid var(--border);background:var(--surface);border-radius:8px;width:min(100%,620px);padding:18px}.vitals-empty h2,.drive-empty h2{margin-bottom:5px;font-size:13.5px;font-weight:700}.vitals-empty p,.vitals-empty li{color:var(--muted-foreground);font-size:11px;line-height:1.6}.vitals-empty a{color:var(--primary);font-weight:650}.vitals-empty code,.vitals-empty pre{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.vitals-empty pre{border:1px solid var(--border);background:var(--surface-muted);border-radius:6px;margin:12px 0 0;padding:10px;font-size:10px;line-height:1.55;overflow-x:auto}.vitals-table{border-collapse:collapse;width:100%;font-size:11px}.vitals-table th,.vitals-table td{border-bottom:1px solid var(--row-border);text-align:left;white-space:nowrap;height:32px;padding:7px 14px}.vitals-table th{color:var(--faint);letter-spacing:.05em;font-size:10.5px}.vitals-table tbody tr:last-child td{border-bottom:0}.drive-heading{align-items:center;margin-bottom:14px}.drive-title-row,.drive-breadcrumbs,.drive-breadcrumbs span{align-items:center;gap:7px;min-width:0;display:flex}.drive-title-row .space-icon{flex:none}.drive-breadcrumbs{color:var(--secondary-foreground);scrollbar-width:none;overflow-x:auto}.drive-breadcrumbs button,.view-switch button,.drive-item-actions button{color:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:4px;padding:4px 5px;font-size:10.5px}.drive-breadcrumbs button:first-child{color:var(--foreground);font-weight:700}.drive-search{padding:0 7px}.drive-search input{width:100px;min-height:30px;color:var(--foreground);background:0 0;border:0;outline:0}.view-switch{border:1px solid var(--border);background:var(--muted);border-radius:6px;gap:1px;padding:2px;display:flex}.view-switch button{min-width:26px;min-height:26px}.view-switch button:hover,.view-switch button.is-active,.drive-item-actions button:hover{background:var(--surface);color:var(--foreground)}.upload-progress{border:1px solid var(--border);background:var(--surface);border-radius:6px;gap:4px;margin:0 0 10px;padding:8px;list-style:none;display:grid}.upload-progress li{grid-template-columns:minmax(100px,1fr) minmax(80px,220px) 38px;align-items:center;gap:7px;font-size:10px;display:grid}.upload-progress progress{width:100%;accent-color:var(--primary)}.upload-progress small{color:var(--muted-foreground);text-align:right}.upload-progress li[data-status=error] small{color:var(--danger)}.drive-table-head{border-bottom:1px solid var(--border);background:var(--surface-muted);grid-template-columns:minmax(180px,1fr) 80px 70px 90px 112px;gap:8px;min-width:620px;padding:7px 14px;display:grid}.drive-items{margin:0;padding:0;list-style:none}.drive-items.is-list{min-width:620px}.drive-items.is-list>li{border-bottom:1px solid var(--row-border);grid-template-columns:minmax(0,1fr) 112px;align-items:center;min-height:32px;display:grid}.drive-items.is-list>li:last-child{border-bottom:0}.drive-item-main{min-width:0;min-height:32px;color:var(--foreground);cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:24px minmax(120px,1fr) 80px 70px 90px;align-items:center;gap:8px;padding:4px 14px;display:grid}.drive-items.is-list>li:hover{background:var(--primary)}@supports (color:color-mix(in lab, red, red)){.drive-items.is-list>li:hover{background:color-mix(in srgb, var(--primary) 5%, transparent)}}.drive-item-icon{border:1px solid var(--space-border);background:var(--space-fill);width:20px;height:20px;color:var(--primary);border-radius:4px;place-items:center;font-size:10px;display:grid}.drive-item-icon[data-kind=pdf]{border-color:var(--danger)}@supports (color:color-mix(in lab, red, red)){.drive-item-icon[data-kind=pdf]{border-color:color-mix(in srgb, var(--danger) 35%, var(--border))}}.drive-item-icon[data-kind=pdf]{background:var(--danger)}@supports (color:color-mix(in lab, red, red)){.drive-item-icon[data-kind=pdf]{background:color-mix(in srgb, var(--danger) 9%, var(--surface))}}.drive-item-icon[data-kind=pdf]{color:var(--danger)}.drive-item-icon[data-kind=markdown]{border-color:var(--success)}@supports (color:color-mix(in lab, red, red)){.drive-item-icon[data-kind=markdown]{border-color:color-mix(in srgb, var(--success) 35%, var(--border))}}.drive-item-icon[data-kind=markdown]{background:var(--success)}@supports (color:color-mix(in lab, red, red)){.drive-item-icon[data-kind=markdown]{background:color-mix(in srgb, var(--success) 9%, var(--surface))}}.drive-item-icon[data-kind=markdown]{color:var(--success)}.drive-item-icon[data-kind=image]{border-color:#7d719e}@supports (color:color-mix(in lab, red, red)){.drive-item-icon[data-kind=image]{border-color:color-mix(in srgb, #7d719e 35%, var(--border))}}.drive-item-icon[data-kind=image]{background:#7d719e}@supports (color:color-mix(in lab, red, red)){.drive-item-icon[data-kind=image]{background:color-mix(in srgb, #7d719e 9%, var(--surface))}}.drive-item-icon[data-kind=image]{color:#7d719e}.drive-item-name{text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:650;overflow:hidden}.drive-item-kind,.drive-item-size,.drive-item-main time{color:var(--muted-foreground);font-size:10px}.drive-item-main time{text-align:right}.drive-item-actions{color:var(--muted-foreground);opacity:0;justify-content:flex-end;gap:2px;padding-right:8px;display:flex}.drive-items li:hover .drive-item-actions,.drive-items li:focus-within .drive-item-actions{opacity:1}.drive-items.is-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;padding:10px;display:grid}.drive-items.is-grid>li{border:1px solid var(--border);background:var(--surface);border-radius:6px;min-width:0;display:grid;overflow:hidden}.drive-items.is-grid .drive-item-main{grid-template-columns:1fr;align-content:start;gap:5px;min-height:120px;padding:12px}.drive-items.is-grid .drive-item-icon{width:28px;height:28px;margin-bottom:8px}.drive-items.is-grid .drive-item-main time{text-align:left}.drive-items.is-grid .drive-item-actions{border-top:1px solid var(--row-border);opacity:1;padding:5px}.drive-empty,.drive-preview-state{min-height:190px;color:var(--muted-foreground);text-align:center;place-content:center;justify-items:center;font-size:11px;display:grid}.drive-drop-zone{border:1px dashed var(--dashed);width:100%;min-height:42px;color:var(--muted-foreground);cursor:pointer;background:0 0;border-radius:6px;justify-content:center;align-items:center;gap:7px;margin-top:10px;font-size:10.5px;display:flex}.drive-drop-zone:hover{border-color:var(--primary);color:var(--primary)}.drop-overlay{z-index:50;border:2px dashed var(--primary);background:var(--background);border-radius:8px;place-items:center;display:grid;position:fixed;inset:12px}@supports (color:color-mix(in lab, red, red)){.drop-overlay{background:color-mix(in srgb, var(--background) 90%, transparent)}}.drop-overlay{color:var(--primary);pointer-events:none;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);font-size:14px;font-weight:700}.folder-picker{border-block:1px solid var(--border);max-height:50svh;display:grid;overflow-y:auto}.folder-picker>button{border:0;border-bottom:1px solid var(--row-border);min-height:32px;color:var(--foreground);cursor:pointer;text-align:left;background:0 0;padding:6px 8px}.folder-picker>button:hover{background:var(--muted)}.drive-preview-dialog{width:min(100%,920px)}.drive-preview-header{justify-content:space-between;align-items:start;gap:10px;display:flex}.drive-preview-header h2{overflow-wrap:anywhere}.drive-preview-header .save-status{justify-self:auto}.drive-preview-dialog .markdown-editor{border-block:1px solid var(--border);margin-top:10px;padding:12px;position:relative}.drive-preview-dialog .markdown-editor>.editor-modes{width:max-content;margin:0 auto 8px;position:static}.drive-preview-dialog .diary-textarea,.drive-preview-dialog .editor-preview{min-height:50svh}.drive-image-preview{object-fit:contain;border-radius:6px;max-width:100%;max-height:65svh;margin:10px auto;display:block}.drive-pdf-preview{border:1px solid var(--border);background:#fff;border-radius:6px;width:100%;height:65svh;margin:10px 0;display:block}.file-glyph{color:var(--primary);margin-bottom:8px;font-size:28px}@media (width<=900px){.drive-heading{flex-direction:column;align-items:flex-start}.drive-heading-actions{flex-wrap:wrap;width:100%}.drive-search{flex:1}.drive-search input{width:100%}}@media (width<=760px){.content-app{display:block}.app-sidebar{width:min(88vw,260px);transition:transform .18s;position:fixed;inset:0 auto 0 0;transform:translate(-105%)}.app-sidebar.is-open{transform:translate(0)}.sidebar-backdrop{z-index:25;opacity:0;pointer-events:none;background:#0a0c0f80;border:0;transition:opacity .18s;display:block;position:fixed;inset:0}.sidebar-backdrop.is-open{opacity:1;pointer-events:auto}.mobile-appbar{z-index:20;border-bottom:1px solid var(--border);background:var(--background);align-items:center;gap:7px;min-height:44px;padding:6px 10px;display:flex;position:sticky;top:0}@supports (color:color-mix(in lab, red, red)){.mobile-appbar{background:color-mix(in srgb, var(--background) 90%, transparent)}}.mobile-appbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.mobile-appbar strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.sidebar-trigger{width:30px;height:30px;color:var(--foreground);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.diary-page,.reader-page,.vitals-page,.drive-page{min-height:calc(100svh - 44px);padding:18px 12px 40px}.summary-strip{grid-template-columns:1fr 1fr}.summary-strip>div{border-bottom:1px solid var(--row-border)}.summary-strip>div:nth-child(2){border-right:0}.summary-strip>div:nth-child(n+3){border-bottom:0}.entry-table-wrap,.drive-list-wrap,.vitals-table-wrap{overflow-x:auto}.entry-table-head,.entry-table a{grid-template-columns:68px minmax(0,1fr) 52px;gap:8px;min-width:0;padding-inline:10px}.entry-table-head span:nth-child(3),.entry-table .title-kind{display:none}.editor-toolbar{min-height:44px;padding:6px 8px}.editor-context strong,.editor-context time{display:none}.editor-workspace{min-height:calc(100svh - 44px);display:block}.editor-main{padding:16px 12px 30px}.editor-title-row{grid-template-columns:minmax(0,1fr) auto;padding-right:0}.editor-title{font-size:16px}.markdown-editor>.editor-modes{width:100%;margin:12px 0 8px;position:static}.editor-modes button{flex:1;min-height:30px}.editor-modes .split-mode-button{display:none}.editor-split{margin-inline:-12px;display:block}.editor-split>:first-child{border-right:0}.editor-split>.editor-preview{display:none}.diary-textarea,.editor-preview{min-height:calc(100svh - 200px);padding:12px 0}.entry-meta-panel{border:1px solid var(--border);border-radius:8px;margin:0 12px 24px;padding:14px}.reader-article{padding:18px}.drive-heading-actions>button{flex:1}.directory-upload-button{display:none}.drive-table-head{grid-template-columns:minmax(140px,1fr) 54px 82px;min-width:0}.drive-table-head span:nth-child(2),.drive-table-head span:nth-child(4){display:none}.drive-items.is-list{min-width:0}.drive-item-main{grid-template-columns:22px minmax(90px,1fr) 54px}.drive-items.is-list>li{grid-template-columns:minmax(0,1fr) 90px}.drive-item-kind,.drive-item-main time{display:none}.drive-item-actions{opacity:1}.dialog-footer{flex-direction:column-reverse}.scope-grid{grid-template-columns:1fr}.credential-form,.inline-form{flex-direction:column;align-items:stretch}}@media (width<=430px){.page-heading{flex-direction:column;align-items:stretch}.page-heading-actions{grid-template-columns:1fr 1fr;display:grid}.search-trigger{justify-content:space-between}.summary-strip>div{min-height:76px;padding:10px}.editor-context .space-icon{display:none}.save-status{text-overflow:ellipsis;max-width:110px;overflow:hidden}.editor-title-row{grid-template-columns:1fr}.editor-title-row button{justify-self:start}.drive-heading-actions{grid-template-columns:1fr auto;display:grid}.drive-search{grid-column:1/-1}.drive-heading-actions>button{width:100%}.code-grid{grid-template-columns:1fr}.section-heading{flex-direction:column;align-items:stretch}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
