:root{color-scheme:dark;font-family:system-ui,-apple-system,Segoe UI,sans-serif;--black-gradient: linear-gradient(79deg, #2d2d2d 3.76%, #585c64 96.61%);--green-gradient: linear-gradient(78deg, #c7ff2d 3.8%, #f7fbec 96.96%);--orange-gradient: linear-gradient(79deg, #ff6e09 3.76%, #ffb04a 96.61%);--primary-black: #2d2d2d;--dark-green: #2d3d00;--dark-orange: #FF2DB7;--dark-gray: #585c64;--green: #496400;--primary-orange: #ff6e09;--cold-light-gray: #9ea1ac;--primary-green: #c7ff2d;--light-orange: #ffb04a;--light-gray: #c4c4c6;--light-green: #d6ff65;--light-orange-too: #FF2DB729;--radius: 24px;--radius-sm: 16px;--radius-pill: 999px;--page-bg: #16171a;--surface: #212228;--surface-2: #2a2b32;--border: rgba(255, 255, 255, .08);--border-strong: rgba(255, 255, 255, .16);--text: #f3f3f3;--text-muted: var(--cold-light-gray)}*{box-sizing:border-box}@keyframes fadeInUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion: no-preference){.card,.site-banner{animation:fadeInUp .3s ease both}.skeleton{animation:shimmer 1.6s ease-in-out infinite}}.skeleton{background:linear-gradient(90deg,var(--surface-2) 30%,rgba(255,255,255,.08) 50%,var(--surface-2) 70%);background-size:300% 100%;border-radius:var(--radius-sm)}.card.motion-card{animation:none}body{margin:0;min-height:100vh;background:var(--page-bg);color:var(--text)}a{color:inherit}button{font-family:inherit;cursor:pointer}input,textarea,select{font-family:inherit;font-size:inherit}.layout{display:flex;min-height:100vh}.sidebar{width:300px;flex-shrink:0;background:var(--primary-black);color:#fff;padding:20px 16px;display:flex;flex-direction:column;gap:4px}.sidebar a{display:block;padding:8px 12px;border-radius:var(--radius-pill);text-decoration:none;color:#d6d8dc;transition:background-color .15s ease,color .15s ease}.sidebar a.active,.sidebar a:hover{background:#c7ff2d24;color:var(--primary-green)}.sidebar a.sidebar-brand{display:flex;width:100%;justify-content:center;padding:14px 0 20px;margin-bottom:8px;border-radius:var(--radius);background:transparent;transition:opacity .15s ease}.sidebar-brand:hover{opacity:.85}.sidebar-logo{display:block;height:32px;width:auto}.sidebar-section-title{padding:14px 10px 4px;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--cold-light-gray)}.sidebar a.sidebar-external-link{display:flex;align-items:center;gap:10px}.sidebar-external-favicon{width:18px;height:18px;border-radius:5px;flex-shrink:0;background:#fff;object-fit:contain;padding:2px}.sidebar-external-icon{margin-left:auto;color:var(--cold-light-gray);font-size:12px}.main{flex:1;padding:24px 32px;max-width:960px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:22px;box-shadow:0 16px 40px #00000059,inset 0 1px #ffffff0a;margin-bottom:18px;color:var(--text)}.field{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}.field label{font-size:13px;font-weight:600;color:var(--text-muted)}.field input{padding:10px 16px;border:1px solid var(--border-strong);border-radius:var(--radius-pill);background:var(--surface-2);color:var(--text);transition:border-color .15s ease,box-shadow .15s ease}.select{position:relative;width:100%}.select-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 16px;border-radius:var(--radius-pill);border:1px solid var(--border-strong);background:var(--surface-2);color:var(--text);font-family:inherit;font-size:14px;text-align:left;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}.select-trigger:hover{border-color:var(--primary-green)}.select-trigger:focus-visible{outline:none;border-color:var(--primary-green);box-shadow:0 0 0 3px #c7ff2d40}.select-placeholder{color:var(--text-muted)}.select-chevron{flex-shrink:0;color:var(--text-muted);transition:transform .2s ease}.select-chevron.open{transform:rotate(180deg)}.select-list{position:absolute;top:calc(100% + 6px);left:0;right:0;max-height:280px;overflow-y:auto;background:var(--surface-2);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:0 16px 40px #00000073;padding:6px;z-index:20}.select-group-label{padding:10px 12px 4px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.select-option{padding:8px 12px;border-radius:var(--radius-sm);cursor:pointer;color:var(--text);font-size:14px;transition:background-color .15s ease,color .15s ease}.select-option.active,.select-option:hover{background:var(--light-green);color:var(--dark-green)}.field textarea{padding:10px 14px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text);transition:border-color .15s ease,box-shadow .15s ease}.field input::placeholder,.field textarea::placeholder{color:var(--text-muted);opacity:.8}.field input:focus,.field textarea:focus{outline:none;border-color:var(--primary-green);box-shadow:0 0 0 3px #c7ff2d40}.row{display:flex;gap:12px;align-items:center}.btn{padding:10px 22px;border-radius:var(--radius-pill);border:none;background:var(--primary-green);color:var(--primary-black);font-weight:700;transition:filter .15s ease,background-color .15s ease,transform .1s ease}.btn:hover{filter:brightness(.97)}.btn:active:not(:disabled){transform:scale(.97)}.btn:disabled{opacity:.6;cursor:default}.btn.secondary{background:transparent;color:var(--text);border:1px solid var(--border-strong)}.btn.secondary:hover{background:#ffffff0f}.btn.danger{background:var(--primary-orange);color:var(--primary-black)}.notice{padding:10px 18px;border-radius:var(--radius-pill);margin-bottom:16px;font-size:14px;font-weight:600}.notice.success{background:var(--light-green);color:var(--dark-green)}.notice.error{background:var(--light-orange-too);color:var(--dark-orange)}.toast-viewport{position:fixed;top:20px;right:20px;z-index:1000;display:flex;flex-direction:column;gap:10px;width:320px;max-width:calc(100vw - 40px);pointer-events:none}.notice.toast{margin-bottom:0;box-shadow:0 12px 32px #0006;cursor:pointer;pointer-events:auto}.login-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--primary-black)}.login-card{width:320px}.page-loader{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--primary-black)}.page-loader-logo{height:36px;width:auto}.combobox{position:relative;width:100%}.combobox-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 16px;border-radius:var(--radius-pill);border:1px solid var(--border-strong);background:var(--surface-2);color:var(--text);font-size:14px;text-align:left;transition:border-color .15s ease,background-color .15s ease}.combobox-trigger:hover{border-color:var(--primary-green)}.combobox-trigger-sub{color:var(--text-muted);font-weight:400}.combobox-placeholder{color:var(--text-muted)}.combobox-panel{position:relative;z-index:20}.combobox-input{width:100%;padding:10px 16px;border:1px solid var(--primary-green);border-radius:var(--radius-pill);background:var(--surface-2);color:var(--text);outline:none}.combobox-list{position:absolute;top:calc(100% + 6px);left:0;right:0;max-height:280px;overflow-y:auto;background:var(--surface-2);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:0 16px 40px #00000073;padding:6px}.combobox-option{padding:8px 12px;border-radius:var(--radius-sm);cursor:pointer;color:var(--text);transition:background-color .15s ease,color .15s ease}.combobox-option.active,.combobox-option:hover{background:var(--light-green);color:var(--dark-green)}.combobox-option-sub{font-size:12px;color:var(--text-muted)}.combobox-option.active .combobox-option-sub,.combobox-option:hover .combobox-option-sub{color:var(--dark-green)}.combobox-empty{padding:10px 12px;color:var(--text-muted);font-size:14px}.sidebar .combobox-trigger{background:#ffffff14;border-color:#ffffff2e;color:#fff}.sidebar .combobox-placeholder,.sidebar .combobox-trigger-sub{color:var(--cold-light-gray)}.switch{display:inline-flex;align-items:center;gap:10px;cursor:pointer;-webkit-user-select:none;user-select:none}.switch input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.switch-track{position:relative;flex-shrink:0;width:38px;height:22px;border-radius:999px;background:var(--dark-gray);transition:background-color .2s ease}.switch-thumb{position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #00000059,0 1px 1px #0000004d}.switch input:checked+.switch-track{background:var(--primary-green)}.switch input:focus-visible+.switch-track{box-shadow:0 0 0 3px #c7ff2d73}.switch input:disabled+.switch-track{opacity:.5;cursor:default}.switch-label{font-size:14px;color:var(--text)}.picker-card{max-width:480px}.site-banner{padding:4px 0 14px}.site-banner-name{font-size:22px;font-weight:700}.badge{display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:700}.badge-draft{background:var(--light-orange-too);color:var(--dark-orange)}.day-card-date{font-size:13px;color:var(--text-muted)}.content-toolbar{position:sticky;top:0;z-index:5;padding:12px 0;margin:-12px 0 16px;background:var(--page-bg)}.day-nav{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.day-nav-calendars{display:flex;flex-wrap:wrap;gap:16px;margin-top:12px}.day-nav-month{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 12px}.day-nav-month-title{font-size:12px;font-weight:700;text-transform:capitalize;color:var(--text-muted);margin-bottom:8px}.day-nav-grid{display:grid;grid-template-columns:repeat(7,30px);gap:4px}.day-nav-weekday{width:30px;height:20px;display:flex;align-items:center;justify-content:center;font-size:10px;color:var(--text-muted);text-transform:uppercase}.day-nav-blank{width:30px;height:30px}.day-nav-grid .day-nav-item{width:30px;height:30px;min-width:30px;padding:0;font-size:11px}.day-nav-item{min-width:34px;height:34px;padding:0 6px;border-radius:var(--radius-pill);border:1px solid var(--border-strong);background:transparent;color:var(--text-muted);font-size:12px;font-weight:700;cursor:pointer;transition:border-color .15s ease,color .15s ease,background-color .15s ease}.day-nav-item:hover{border-color:var(--primary-green);color:var(--text)}.day-nav-item.filled{background:var(--surface-2);color:var(--text);border-color:var(--border-strong)}.day-nav-item.hidden-day{opacity:.5}.day-nav-item.active{border-color:var(--primary-green);color:var(--primary-green)}.day-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;-webkit-user-select:none;user-select:none}.day-card-header-main{display:flex;align-items:center;gap:10px;min-width:0}.day-card-title-preview{color:var(--text-muted);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.day-card-title-preview.empty{font-style:italic}.day-card-chevron{flex-shrink:0;transition:transform .2s ease;color:var(--text-muted)}.day-card-chevron.expanded{transform:rotate(180deg)}.day-card-body{margin-top:16px}.site-banner-meta{font-size:13px;color:var(--text-muted);margin-top:2px}.tabs{display:flex;width:fit-content;gap:2px;margin-bottom:20px;padding:4px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-pill)}.tabs a,.tabs button{position:relative;padding:8px 16px;text-decoration:none;background:none;border:none;border-radius:var(--radius-pill);color:var(--text-muted);font-size:14px;font-weight:600;font-family:inherit;cursor:pointer;transition:color .15s ease}.tabs a.active,.tabs button.active{color:var(--primary-black)}.tab-pill{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--primary-green);border-radius:var(--radius-pill);z-index:0}.tab-label{position:relative;z-index:1}.tabs.settings-subtabs{margin-bottom:20px;padding:3px;gap:0;background:transparent;border:none}.tabs.settings-subtabs button{padding:6px 14px 9px;font-size:13px;font-weight:500}.tabs.settings-subtabs .tab-pill{inset:auto 4px 0 4px;height:2px;background:var(--primary-green);border-radius:1px}.tabs.settings-subtabs button.active{color:var(--primary-green)}
