:root{color-scheme:light;font-family:Arial,Segoe UI,sans-serif;color:#111;background:#eef1f4}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.62}.app-shell{min-height:100vh;display:grid;grid-template-rows:auto auto 1fr;background:#eef1f4}.titlebar{min-height:58px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:18px;padding:10px 18px;background:#111;color:#fff}.brand{display:flex;align-items:center;gap:10px}.logo-placeholder{width:32px;height:32px;display:grid;place-items:center;border:1px solid #34a9e0;border-radius:6px;color:#34a9e0;font-size:11px;font-weight:700}.brand-name{font-size:17px;line-height:1;font-weight:700;letter-spacing:1.5px}.brand-name span{color:#34a9e0}.brand-subtitle{margin-top:4px;color:#ffffffb8;font-size:11px}.titlebar-end{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:16px}.user-menu{display:flex;flex-shrink:0;align-items:center;gap:10px;font-size:14px}.user-name{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.user-role{border:1px solid rgba(52,169,224,.5);border-radius:999px;padding:3px 10px;color:#34a9e0;font-size:12px}.logout-button{min-height:34px;border:1px solid rgba(255,255,255,.24);border-radius:6px;padding:6px 14px;background:transparent;color:#fff;font-size:13px}.logout-button:hover{border-color:#34a9e0;color:#34a9e0}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px 16px;background:#111}.login-card{width:100%;max-width:380px;display:grid;gap:16px;padding:28px;border-radius:10px;background:#fff;box-shadow:0 20px 50px #00000059}.login-card .brand-subtitle{color:#70798a}.login-card h1{margin:6px 0 0;font-size:22px}.login-notice,.login-error{margin:0;border-radius:6px;padding:10px 12px;font-size:13px}.login-notice{background:#f1f9fd;color:#1f6f96}.login-error{background:#fdf0ef;color:#b42318}.password-input{position:relative}.password-input input{padding-right:46px}.password-input input::-ms-reveal,.password-input input::-ms-clear{display:none}.password-toggle{position:absolute;top:50%;right:4px;width:36px;height:32px;display:grid;place-items:center;border:0;border-radius:5px;background:transparent;color:#70798a;transform:translateY(-50%)}.password-toggle:hover,.password-toggle[aria-pressed=true]{color:#34a9e0}.password-toggle:focus-visible{outline:2px solid rgba(52,169,224,.45)}.login-submit{width:100%;min-height:42px}.snackbar-region{position:fixed;right:16px;bottom:20px;left:16px;z-index:50;display:flex;justify-content:flex-end;pointer-events:none}.snackbar{max-width:min(520px,100%);display:flex;align-items:center;gap:12px;border-left:4px solid #34a9e0;border-radius:6px;padding:10px 10px 10px 14px;background:#111;color:#fff;box-shadow:0 10px 28px #11111138;font-size:14px;pointer-events:auto;animation:snackbar-in .16s ease-out}.snackbar.error{border-left-color:#e5484d}.snackbar span{min-width:0;overflow-wrap:anywhere}.snackbar-action{flex-shrink:0;min-height:32px;border:0;border-radius:4px;padding:0 10px;background:transparent;color:#34a9e0;font-weight:700}.snackbar-action:hover{background:#ffffff1f}.snackbar-close{flex-shrink:0;width:28px;height:28px;border:0;border-radius:4px;background:transparent;color:#ffffffb8;font-size:18px;line-height:1}.snackbar-close:hover{background:#ffffff1f;color:#fff}@keyframes snackbar-in{0%{opacity:0;transform:translateY(8px)}}@keyframes detail-slide-in{0%{transform:translate(100%)}}@media (prefers-reduced-motion: reduce){.snackbar,.app-shell .workspace.detail-open .detail-pane{animation:none}.app-shell .new-entry-fab{transition:none}}.tabbar{display:flex;gap:4px;padding:0 18px;background:#1a1a1a;border-bottom:1px solid #111111}.tab{min-height:42px;padding:0 18px;border:0;border-bottom:3px solid transparent;background:transparent;color:#ffffffb3;font-size:12px;font-weight:700;letter-spacing:0}.tab.active{color:#34a9e0;border-bottom-color:#34a9e0}.workspace{display:grid;grid-template-columns:min(var(--list-width, 310px),50%) 6px minmax(0,1fr);min-height:0;background:#fff}.workspace.list-collapsed{grid-template-columns:44px minmax(0,1fr)}.workspace.list-collapsed .list-pane,.workspace.list-collapsed .list-resizer{display:none}.workspace.resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}.list-pane{min-width:0;min-height:0;display:flex;flex-direction:column;padding:14px;background:#fbfcfd}.list-resizer{border-left:1px solid #e4e6ea;background:#f6f8fb;cursor:col-resize;touch-action:none;transition:background .15s ease}.list-resizer:hover,.list-resizer:focus-visible,.workspace.resizing .list-resizer{outline:none;background:#34a9e059}.list-strip{display:none;justify-content:center;padding-top:14px;border-right:1px solid #e4e6ea;background:#fbfcfd}.workspace.list-collapsed .list-strip{display:flex}.pane-toolbar{display:grid;gap:8px}.search-row{display:flex;gap:8px}.search-row input{min-width:0;flex:1}.pane-toggle{width:32px;height:40px;flex-shrink:0;border:1px solid #d9dee7;border-radius:6px;background:#fff;color:#293241;font-size:18px;line-height:1}.pane-toggle:hover{border-color:#34a9e0;color:#34a9e0}.pane-toolbar input,.field input,.field textarea{width:100%;border:1px solid #d9dee7;border-radius:6px;background:#fff;color:#111}.pane-toolbar input,.field input{min-height:40px;padding:10px 12px}.pane-toolbar input:focus,.field input:focus,.field textarea:focus{outline:2px solid rgba(52,169,224,.18);border-color:#34a9e0}.pane-toolbar span,.empty-list,.editor-header p,.field span,.placeholder-view p,.entry-card small{color:#70798a;font-size:12px}.new-entry-button{width:100%;min-height:40px;margin-top:12px;border:0;border-radius:6px;padding:10px 12px;background:#111;color:#fff;font-weight:700}.entry-list{flex:1;min-height:0;display:grid;grid-auto-rows:max-content;align-content:start;gap:8px;margin:12px -2px 0;padding:2px;overflow-y:auto}.list-sentinel{height:1px}.new-entry-fab{display:none}.entry-card{display:grid;gap:5px;width:100%;min-height:66px;border:1px solid #e2e7ef;border-radius:6px;padding:11px 12px;background:#fff;text-align:left}.entry-card:hover,.entry-card.active{border-color:#34a9e0;background:#f1f9fd}.entry-card span{overflow:hidden;color:#111;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.entry-card .entry-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere;white-space:normal;color:#4f5b6d;font-size:13px;font-weight:400;line-height:1.4}.entry-card .entry-preview.empty{color:#9aa3b2;font-style:italic}.empty-list{padding:16px 0}.detail-pane{min-width:0;min-height:0;overflow-y:auto;padding:20px 22px;background:#f6f8fb}.detail-back-bar{display:none}.editor-panel{min-height:100%;display:grid;grid-template-rows:auto auto minmax(360px,1fr);gap:14px;padding:20px;border:1px solid #e1e6ee;border-radius:8px;background:#fff;box-shadow:0 10px 28px #1111110f}.editor-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid #e4e6ea}.editor-header h1{margin:5px 0 0;overflow-wrap:anywhere;font-size:26px;line-height:1.2}.editor-header p{margin:0}.editor-meta{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:8px;color:#70798a;font-size:12px}.editor-meta span{color:#4f5b6d}.editor-actions{display:flex;flex-shrink:0;gap:8px}.primary-button,.ghost-button{min-height:38px;border-radius:6px;padding:8px 14px;font-weight:700}.primary-button{border:1px solid #111111;background:#111;color:#fff}.ghost-button{border:1px solid #d9dee7;background:#fff;color:#293241}.ghost-button:hover:not(:disabled){border-color:#b7c4d4}.ghost-button.danger:hover:not(:disabled){border-color:#d64545;color:#b42318}.editor-meta strong{color:#34a9e0}.shortcut-hint{color:#9aa3b2}.view-panel{grid-template-rows:auto 1fr}.text-view{max-width:100ch;overflow-wrap:anywhere;white-space:pre-wrap;color:#1f2733;font-size:16px;line-height:1.7;cursor:text}.text-view mark,.editor-header h1 mark{border-radius:2px;background:#ffe58a;color:inherit}.text-view .text-highlight{border-radius:3px;padding:1px 2px;-webkit-box-decoration-break:clone;box-decoration-break:clone}.text-view strong{color:#111;font-weight:700}.content-label-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.format-toolbar{display:flex;align-items:center;gap:4px}.format-toolbar small{margin-right:6px;color:#70798a;font-size:12px}.format-button{width:34px;height:30px;display:grid;place-items:center;border:1px solid #d9dee7;border-radius:6px;padding:0;background:#fff;color:#293241}.format-button:hover,.format-button:focus-visible{border-color:#34a9e0;color:#1f6f99}.format-button.bold{font-family:Georgia,Times New Roman,serif;font-size:16px;font-weight:700}.format-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.format-button .format-marker-line{stroke-width:3}.highlight-control{position:relative;display:flex}.highlight-control .marker-button{border-top-right-radius:0;border-bottom-right-radius:0}.highlight-control .palette-toggle{width:22px;margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.highlight-control .palette-toggle svg{width:14px;height:14px}.highlight-palette{position:absolute;top:calc(100% + 6px);right:0;z-index:20;display:flex;gap:6px;border:1px solid #d9dee7;border-radius:8px;padding:8px;background:#fff;box-shadow:0 10px 28px #11111124}.palette-swatch{width:28px;height:28px;border:1px solid rgba(17,17,17,.18);border-radius:50%;padding:0}.palette-swatch:hover,.palette-swatch:focus-visible{outline:2px solid #34a9e0;outline-offset:2px}.palette-swatch.selected{box-shadow:0 0 0 2px #fff,0 0 0 4px #111}.text-view-empty{color:#70798a;font-style:italic}.empty-detail{grid-template-rows:none;align-content:center;justify-items:center;gap:10px;text-align:center}.empty-detail h1{margin:0;font-size:20px}.empty-detail p{margin:0 0 8px;color:#70798a;font-size:14px}.field{display:grid;gap:7px}.field.grow{min-height:0;display:flex;flex-direction:column}.field textarea{flex:1;min-height:360px;resize:none;padding:14px 15px;line-height:1.6}.field span{font-weight:700}.field input,.field textarea{transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.field textarea{background:linear-gradient(#fff,#fff) padding-box,linear-gradient(180deg,#34a9e042,#d9dee7cc) border-box}.field input:hover,.field textarea:hover{border-color:#b7c4d4}.app-shell.fit-screen{height:100vh;height:100dvh;min-height:0}.calendar-view{min-width:0;min-height:0;padding:12px 16px;background:#fff;--fc-classic-button: #111111;--fc-classic-button-border: #111111;--fc-classic-button-strong: #34a9e0;--fc-classic-button-strong-border: #34a9e0;--fc-classic-primary: #34a9e0;--fc-classic-today: #34a9e01a;--fc-classic-border: #e1e6ee}.calendar-loading{display:grid;place-content:center;color:#70798a}.day-cell-clickable,.task-event{cursor:pointer}.task-event.completed{text-decoration:line-through}.calendar-tab{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff}.calendar-tab .calendar-view{flex:1}.calendar-toolbar{display:flex;align-items:center;gap:12px;padding:10px 16px 0}.view-switch{display:flex;gap:3px;border-radius:8px;padding:3px;background:#eef1f4}.view-switch button{min-height:34px;display:flex;align-items:center;gap:8px;border:0;border-radius:6px;padding:0 14px;background:transparent;color:#4b5565;font-weight:700}.view-switch button.active{background:#fff;color:#111;box-shadow:0 1px 3px #11111126}.count-badge,.tab-badge{min-width:20px;border-radius:999px;padding:1px 6px;background:#dfe3e8;color:#4b5565;font-size:11px;line-height:18px;text-align:center}.count-badge.late,.tab-badge{background:#c62a2f;color:#fff}.tab-badge{margin-left:8px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.overdue-banner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:10px 16px 0;border:1px solid #f3b8b8;border-radius:8px;padding:10px 14px;background:#fdf0f0}.overdue-banner div{min-width:0;display:flex;flex-wrap:wrap;gap:2px 10px}.overdue-banner strong{color:#8a1c13}.overdue-banner span{min-width:0;overflow-wrap:anywhere;color:#4b5565;font-size:13px}.overdue-banner-button{min-height:36px;border:0;border-radius:6px;padding:0 14px;background:#b42318;color:#fff;font-weight:700}.overdue-view{flex:1;min-height:0;display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);margin-top:10px;border-top:1px solid #e4e6ea}.overdue-list{min-height:0;display:flex;flex-direction:column;border-right:1px solid #e4e6ea;background:#f8f9fb}.overdue-toolbar{display:grid;gap:10px;border-bottom:1px solid #e4e6ea;padding:12px 14px}.overdue-toolbar input{min-height:38px;border:1px solid #d9dee7;border-radius:6px;padding:8px 12px;background:#fff}.priority-filters{display:flex;flex-wrap:wrap;gap:6px}.filter-chip{min-height:30px;border:1px solid #c9d0da;border-radius:999px;padding:0 11px;background:#fff;color:#111;font-size:12px;font-weight:700}.filter-chip.active{border-color:#111;background:#111;color:#fff}.overdue-sort{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#5d6675;font-size:12px}.overdue-sort select{min-height:30px;border:1px solid #d9dee7;border-radius:6px;padding:0 6px;background:#fff;font-size:12px}.overdue-items{flex:1;min-height:0;overflow-y:auto;display:grid;align-content:start;gap:8px;margin:0;padding:10px;list-style:none}.overdue-item{width:100%;display:flex;gap:10px;border:1px solid #e4e6ea;border-radius:8px;padding:11px 12px;background:#fff;color:#111;text-align:left}.overdue-item:hover{border-color:#b7c4d4}.overdue-item.active{border-color:#34a9e0;background:#e6f5fc;box-shadow:inset 3px 0 #34a9e0}.priority-dot{flex-shrink:0;width:9px;height:9px;margin-top:4px;border-radius:50%}.overdue-item-body{min-width:0;flex:1;display:grid;gap:6px}.overdue-item-title{display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-weight:700;line-height:1.3}.overdue-item-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 8px;color:#5d6675;font-size:12px}.late-badge,.priority-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:2px 9px;font-size:12px;font-weight:700}.late-badge{background:#fde8e8;color:#b42318}.priority-badge{background:#eef1f4;color:#293241}.priority-badge .priority-dot{margin-top:0}.overdue-message{margin:0;display:grid;justify-items:center;gap:10px;padding:28px 16px;color:#5d6675;text-align:center}.overdue-message p{margin:0}.overdue-detail{min-width:0;min-height:0;overflow-y:auto;padding:24px 28px}.overdue-detail-body{max-width:760px;display:grid;gap:16px}.overdue-detail-body h2{margin:0;overflow-wrap:anywhere;font-size:24px;line-height:1.25}.overdue-detail-body .task-notes{margin:0}.overdue-detail-badges,.overdue-actions,.move-picker-quick{display:flex;flex-wrap:wrap;gap:8px}.overdue-detail-facts{display:grid;grid-template-columns:auto 1fr;gap:8px 18px;margin:0}.overdue-detail-facts dt{color:#5d6675}.overdue-detail-facts dd{margin:0;font-weight:700}.overdue-detail-facts dd.overdue{color:#b42318}.overdue-actions{border-top:1px solid #e4e6ea;padding-top:16px}.overdue-actions button{min-height:42px}.move-picker{display:grid;gap:12px;border:1px solid #dfe3e8;border-radius:8px;padding:14px;background:#f8f9fb}.move-picker p{margin:0;font-weight:700}.move-picker-custom{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px}.move-picker-custom input{min-height:38px;border:1px solid #d9dee7;border-radius:6px;padding:0 10px;background:#fff}.move-picker-custom .primary-button{min-height:38px}.overdue-viewer-note{margin:0;color:#5d6675}.overdue-empty{display:grid;justify-items:center;gap:8px;padding:60px 16px;text-align:center}.overdue-empty h2{margin:0;font-size:20px}.overdue-empty p{margin:0;color:#5d6675}.modal{width:min(480px,calc(100% - 32px));border:0;border-radius:10px;padding:0;background:#fff;color:#111;box-shadow:0 24px 60px #11111147}.modal::backdrop{background:#11111173}.modal-body{padding:22px}.modal h2{margin:0 0 16px;overflow-wrap:anywhere;font-size:20px;line-height:1.3}.task-form{display:grid;gap:14px}.task-form h2{margin-bottom:2px}.task-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.task-time-label{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}.task-form input,.task-form select,.task-form textarea{width:100%;min-height:40px;border:1px solid #d9dee7;border-radius:6px;padding:9px 12px;background:#fff;color:#111;font:inherit}.task-form textarea{resize:vertical;line-height:1.5}.task-form input:focus,.task-form select:focus,.task-form textarea:focus{outline:2px solid rgba(52,169,224,.18);border-color:#34a9e0}.task-form-error{margin:0;color:#b42318;font-size:13px}.task-details h2.completed{color:#70798a;text-decoration:line-through}.task-details dl{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;margin:0;font-size:14px}.task-details dt{color:#70798a}.task-details dd{margin:0;font-weight:700}.task-details dd.overdue{color:#b42318}.task-notes{margin:16px 0 0;border-top:1px solid #e4e6ea;padding-top:14px;overflow-wrap:anywhere;white-space:pre-wrap;color:#1f2733;line-height:1.6}.task-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:20px}.task-form .task-dialog-actions{margin-top:6px}.cat-blue{--cat-color: #34a9e0;--cat-bg: #e3f3fb;--cat-text: #135e86}.cat-orange{--cat-color: #f08a3c;--cat-bg: #fdebdd;--cat-text: #8a3d0a}.cat-green{--cat-color: #2fa36b;--cat-bg: #e2f4ea;--cat-text: #1d6b42}.cat-purple{--cat-color: #8466d9;--cat-bg: #eee8fb;--cat-text: #5b3ba5}.cat-red{--cat-color: #e5484d;--cat-bg: #fde7e7;--cat-text: #9b1c20}.cat-gray{--cat-color: #8b95a5;--cat-bg: #eef1f4;--cat-text: #3e4756}.category-dot{width:10px;height:10px;flex-shrink:0;border-radius:999px;background:var(--cat-color, #8b95a5)}.category-dot.ring{border:2px dashed #8b95a5;background:transparent}.category-filter{display:grid;gap:6px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #e4e6ea}.category-filter-header{display:flex;align-items:center;justify-content:space-between;min-height:30px;padding-left:2px;color:#5d6778;font-size:12px;font-weight:700;letter-spacing:.6px}.icon-button{width:36px;height:36px;display:inline-grid;flex-shrink:0;place-items:center;border:1px solid #d9dee7;border-radius:6px;padding:0;background:#fff;color:#293241;font-size:20px;line-height:1}.icon-button.small{width:30px;height:30px}.icon-button:hover{border-color:#34a9e0;color:#1f6f99}.icon-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.category-picker{position:relative;min-width:0}.category-trigger{width:100%;min-height:42px;display:flex;align-items:center;gap:10px;border:1px solid #d9dee7;border-radius:6px;padding:0 12px;background:#fff;color:#1f2733;font-size:14px;font-weight:700;text-align:left}.category-trigger:hover,.category-trigger[aria-expanded=true]{border-color:#34a9e0}.category-trigger .category-name,.category-option .category-name,.category-manager-row .category-name,.category-badge .category-name{min-width:0;flex:1;overflow:hidden;color:inherit;font-size:inherit;font-weight:inherit;text-overflow:ellipsis;white-space:nowrap}.category-trigger .category-count,.category-option .category-count,.category-manager-row .category-count{flex-shrink:0;color:#5d6778;font-size:12px;font-weight:400}.category-chevron{width:14px;height:14px;flex-shrink:0;fill:none;stroke:#5d6778;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.category-popover{position:absolute;top:calc(100% + 4px);right:0;left:0;z-index:20;display:flex;flex-direction:column;border:1px solid #d9dee7;border-radius:8px;background:#fff;box-shadow:0 12px 28px #11111129}.category-popover .category-search{width:auto;min-height:40px;margin:8px 8px 4px;border:1px solid #d9dee7;border-radius:6px;padding:9px 12px;background:#fff;color:#111}.category-popover .category-search:focus{outline:2px solid rgba(52,169,224,.18);border-color:#34a9e0}.category-options{max-height:340px;overflow-y:auto;display:flex;flex-direction:column;gap:2px;padding:4px}.category-option{min-height:38px;display:flex;flex-shrink:0;align-items:center;gap:10px;border-radius:6px;padding:0 10px;color:#1f2733;font-size:14px;cursor:pointer}.category-option.highlighted{background:#eef3f8;outline:2px solid #34a9e0;outline-offset:-2px}.category-option.selected{background:#e3f3fb;color:#0f4c6e;font-weight:700}.category-separator{height:1px;flex-shrink:0;margin:2px 6px;background:#e4e6ea}.category-empty{margin:8px 10px;color:#5d6778;font-size:13px}.category-popover-info{border-top:1px solid #eef1f4;padding:8px 12px;color:#5d6778;font-size:12px}.category-badge{max-width:100%;min-width:0;display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:3px 10px 3px 8px;background:var(--cat-bg, #eef1f4);color:var(--cat-text, #3e4756);font-size:12px;font-weight:700;line-height:1.3}.category-badge.small{padding:2px 8px 2px 6px;font-size:11px}.category-badge .category-dot{width:8px;height:8px}.category-badge.none{font-weight:400;font-style:italic}.entry-card .entry-card-footer{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:400}.entry-card .category-badge{flex:0 1 auto;color:var(--cat-text, #6b7484);font-weight:700}.entry-card .category-badge.none{padding:0;background:transparent;font-weight:400}.entry-card .entry-card-footer small{flex-shrink:0}.editor-meta .category-badge{color:var(--cat-text, #3e4756)}.editor-fields{display:flex;flex-wrap:wrap;align-items:flex-start;gap:14px}.editor-title-field{min-width:0;flex:2 1 320px}.editor-category-field{min-width:0;flex:1 1 240px}.editor-category-field .category-trigger{min-height:40px;font-weight:400}.link-button{justify-self:start;border:0;padding:0;background:transparent;color:#1f6f99;font-size:12px;text-decoration:underline}.link-button:hover{color:#134d6b}.modal.wide{width:min(600px,calc(100% - 32px))}.modal.large{width:min(1160px,calc(100% - 32px));height:min(860px,calc(100% - 32px))}.modal.large .modal-body{height:100%;display:flex;flex-direction:column}.category-filter-actions{display:flex;gap:6px}.import-dialog{display:grid;gap:16px}.import-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e1e6ee;border-radius:6px;overflow:hidden;font-size:13px}.import-columns>div{display:grid;gap:2px;padding:10px 12px;background:#f6f8fb}.import-columns>div+div{border-left:1px solid #e1e6ee}.import-columns span{color:#5d6778}.import-columns .required{color:#b42318}.import-dropzone{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:2px dashed #34a9e0;border-radius:8px;padding:20px;background:#f1f9fd;text-align:center}.import-dropzone.dragging{background:#e3f3fb}.import-dropzone svg{width:40px;height:40px;fill:none;stroke:#34a9e0;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.import-dropzone>span{color:#5d6778;font-size:13px}.import-dialog-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;color:#5d6778;font-size:13px}.import-dialog-footer .link-button,.import-preview .link-button{font-size:13px;font-weight:700}.import-dialog-footer code{border-radius:3px;padding:1px 4px;background:#eef1f4}.import-preview{min-height:0;flex:1;display:flex;flex-direction:column;gap:12px}.import-preview h2{margin:0}.import-file-line{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.import-file-chip{overflow-wrap:anywhere;border-radius:999px;padding:4px 10px;background:#eef1f4;color:#293241}.import-mapping{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border-radius:8px;padding:10px 12px;background:#f6f8fb;font-size:13px}.import-mapping>b{color:#5d6778}.import-chip{border:1px solid #d9dee7;border-radius:999px;padding:3px 10px;background:#fff}.import-chip.skipped{border-style:dashed;color:#70798a}.import-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.import-stat{display:grid;gap:2px;border-radius:8px;padding:10px 12px;font-size:12px}.import-stat b{font-size:22px;line-height:1.1}.import-stat.ok{background:#e2f4ea;color:#1d6b42}.import-stat.update{background:#e3f3fb;color:#135e86}.import-stat.warning{background:#fdebdd;color:#8a3d0a}.import-stat.error{background:#fde7e7;color:#9b1c20}.import-note{margin:0;color:#4f5b6d;font-size:13px}.import-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.import-filters{display:flex;flex-wrap:wrap;gap:6px}.import-filter{min-height:34px;border:1px solid #d9dee7;border-radius:999px;padding:6px 12px;background:#fff;color:#293241;font-size:13px;font-weight:700}.import-filter.active{border-color:#111;background:#111;color:#fff}.import-select-all{display:flex;align-items:center;gap:6px;font-size:13px}.import-table{min-height:0;flex:1;overflow:auto;border:1px solid #e1e6ee;border-radius:8px}.import-row{display:grid;grid-template-columns:28px 64px minmax(180px,2fr) minmax(140px,1.2fr) minmax(160px,2fr) minmax(170px,1.3fr);align-items:center;gap:8px;border-bottom:1px solid #eef1f4;padding:8px 12px;background:#fff;font-size:13px}.import-row.import-head{position:sticky;top:0;z-index:1;background:#f6f8fa;color:#5d6778;font-size:11px;font-weight:700;letter-spacing:.5px}.import-row.tone-error{background:snow}.import-row.tone-warning{background:#fffcf8}.import-row.excluded>:not(input){opacity:.55}.import-line{color:#70798a}.import-line small{display:block;font-size:11px}.import-title{min-width:0;overflow:hidden;border:0;padding:0;background:transparent;color:#111;font-weight:700;text-align:left;text-overflow:ellipsis;white-space:nowrap}.import-title:hover{color:#1f6f99}.import-title em{color:#b42318;font-weight:400}.import-category,.import-status{min-width:0;display:grid;gap:2px;overflow-wrap:anywhere}.import-category-name{font-weight:700}.import-new{margin-left:6px;color:#135e86;font-size:10px;font-weight:700}.import-muted{color:#70798a;font-size:12px}.import-snippet{min-width:0;overflow:hidden;color:#4f5b6d;text-overflow:ellipsis;white-space:nowrap}.import-status{font-weight:700}.import-status.ok{color:#1d6b42}.import-status.update{color:#135e86}.import-status.warning{color:#8a3d0a}.import-status.error{color:#9b1c20}.import-status.muted{color:#70798a}.import-full-text{grid-column:1 / -1;max-height:260px;overflow:auto;border-radius:6px;padding:10px 12px;background:#f6f8fb;line-height:1.5;white-space:pre-wrap}.import-empty{margin:0;padding:16px;color:#70798a;font-size:13px}.import-preview-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;color:#4f5b6d;font-size:13px}.import-preview-footer b{color:#111}.import-actions{display:flex;gap:8px}.category-manager{display:grid;gap:14px}.category-manager-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.category-manager-header h2{margin:0}.category-manager-header p{margin:6px 0 0;color:#5d6778;font-size:13px}.category-manager-toolbar,.category-add-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.category-manager-toolbar input,.category-add-row input{min-width:0;min-height:40px;flex:1 1 200px;border:1px solid #d9dee7;border-radius:6px;padding:9px 12px;background:#fff;color:#111}.category-manager-toolbar input:focus,.category-add-row input:focus{outline:2px solid rgba(52,169,224,.18);border-color:#34a9e0}.category-add{display:grid;gap:10px;border-radius:8px;padding:14px 12px;background:#f6f8fb}.category-add-title{color:#5d6778;font-size:12px;font-weight:700}.color-swatches{display:flex;flex-wrap:wrap;gap:8px}.color-swatch{width:28px;height:28px;border:2px solid #ffffff;border-radius:999px;padding:0;background:var(--cat-color);box-shadow:0 0 0 1px #d9dee7}.color-swatch[aria-pressed=true]{box-shadow:0 0 0 2px #111}.form-error{margin:0;color:#b42318;font-size:12px}.category-added-note{margin:0;color:#1d6b42;font-size:13px}.category-manager-info{color:#5d6778;font-size:12px}.category-manager-list{max-height:min(420px,50vh);overflow-y:auto;border:1px solid #e4e6ea;border-radius:8px}.category-manager-item+.category-manager-item{border-top:1px solid #eef1f4}.category-manager-item.open{background:#f6f8fb}.category-manager-row{width:100%;min-height:44px;display:flex;align-items:center;gap:10px;border:0;padding:0 12px;background:transparent;color:#1f2733;font-size:14px;text-align:left}.category-manager-row:hover,.category-manager-item.new .category-manager-row{background:#e3f3fb}.category-manager-item.open .category-manager-row{font-weight:700}.category-editor{display:grid;gap:12px;padding:4px 12px 14px}.category-editor-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px}.category-delete-confirm{display:flex;flex-wrap:wrap;align-items:center;gap:10px;border-radius:6px;padding:10px 12px;background:#fdf1f1;color:#8a1f1f;font-size:13px}.category-delete-confirm span{flex:1 1 220px}.danger-button{min-height:38px;border:1px solid #b42318;border-radius:6px;padding:8px 14px;background:#b42318;color:#fff;font-weight:700}.category-no-match{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 12px;color:#5d6778;font-size:13px}.category-no-match span{flex:1 1 200px}.placeholder-view{display:grid;place-content:center;gap:8px;padding:32px;text-align:center;background:#fff}.placeholder-view h1{margin:0;font-size:24px}.placeholder-view p{margin:0}@media (max-width: 760px){.titlebar{grid-template-columns:1fr;justify-items:start}.titlebar-end{width:100%;flex-wrap:wrap;justify-content:space-between;gap:8px}.workspace,.workspace.list-collapsed{grid-template-columns:1fr}.workspace.list-collapsed .list-pane{display:flex}.list-resizer,.workspace.list-collapsed .list-strip,.pane-toggle{display:none}.list-pane{padding-bottom:0}.entry-list{padding-bottom:88px}.category-filter{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:10px;padding-bottom:0;border-bottom:0}.category-filter-header{display:contents}.category-filter-header>span{display:none}.category-filter .category-picker{grid-column:1;grid-row:1}.category-filter-actions{grid-column:2;grid-row:1}.category-filter .icon-button{width:44px;height:44px}.category-filter .category-trigger{min-height:44px}.new-entry-button{display:none}.new-entry-fab{position:fixed;right:18px;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:20;width:58px;height:58px;display:grid;place-items:center;border:0;border-radius:50%;padding:0;background:#111;color:#fff;box-shadow:0 8px 20px #11111147;transform:translateY(calc(-1 * var(--snackbar-space, 0px)));transition:transform .2s ease}.new-entry-fab svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}.new-entry-fab:focus-visible{outline:3px solid rgba(52,169,224,.6);outline-offset:3px}.workspace:not(.detail-open) .detail-pane{display:none}.workspace.detail-open .detail-pane{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;overscroll-behavior:contain;padding:0 12px 20px;animation:detail-slide-in .2s ease-out}.detail-back-bar{position:sticky;top:0;z-index:1;display:flex;margin:0 -12px 12px;padding:8px 12px;background:#111}.back-button{min-height:40px;border:0;border-radius:6px;padding:8px 12px 8px 4px;background:transparent;color:#fff;font-weight:700}.back-button:hover,.back-button:focus-visible{color:#34a9e0}.workspace.detail-open .editor-panel{min-height:calc(100% - 68px)}.app-shell.calendar-screen{height:auto;min-height:100vh}.calendar-view{height:640px;padding:8px}.calendar-tab .calendar-view{flex:none}.calendar-toolbar{padding:10px 12px 0}.view-switch{flex:1}.view-switch button{flex:1;justify-content:center;min-height:40px}.overdue-banner{margin:10px 12px 0}.overdue-view{grid-template-columns:minmax(0,1fr)}.overdue-list{border-right:0}.overdue-items{overflow-y:visible}.overdue-view:not(.detail-open) .overdue-detail,.overdue-view.detail-open .overdue-list{display:none}.overdue-detail{padding:0 12px 24px}.overdue-actions button{flex:1 1 140px;min-height:46px}.task-form-row{grid-template-columns:1fr}.snackbar-region{bottom:calc(12px + env(safe-area-inset-bottom,0px));justify-content:stretch}.snackbar{max-width:none;flex:1}.editor-panel{min-height:560px}.editor-header{align-items:stretch;flex-direction:column}.content-label-row{align-items:stretch;flex-direction:column;gap:6px}.format-toolbar small{order:1;margin:0 0 0 6px}.format-button{width:44px;height:40px}.highlight-control .palette-toggle{width:32px}.highlight-palette{right:auto;left:0}.palette-swatch{width:36px;height:36px}.editor-actions{width:100%}.shortcut-hint{display:none}.primary-button,.ghost-button{flex:1}}
