:root{font-family:var(--font-ui);color:#16332c;background:var(--ground);font-synthesis:none;text-rendering:optimizelegibility;--ground:#edf1ee;--surface:#f8faf7;--surface-soft:var(--ground);--text:#16332c;--muted:#61776f;--line:#c9d5cf;--accent:#23756a;--accent-soft:#dcece8;--dawn:#d9963f;--shadow:0 1.25rem 3rem #223d371a;--font-ui:"PingFang TC", "Noto Sans TC", system-ui, sans-serif;--font-serif:Georgia, "Times New Roman", "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", "Source Han Serif TC", serif}*{box-sizing:border-box}html{background:var(--ground);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;touch-action:pan-x pan-y;min-height:100%}body{background:var(--surface-soft);min-width:20rem;min-height:100vh;color:var(--text);margin:0}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{color:inherit;font:inherit}.skip-link{top:max(.5rem, env(safe-area-inset-top));left:max(.5rem, env(safe-area-inset-left));z-index:30;background:var(--text);color:var(--surface);transform:translateY(calc(-100% - 1rem - env(safe-area-inset-top)));border-radius:.5rem;padding:.75rem 1rem;font-weight:700;position:fixed}.skip-link:focus{transform:translateY(0)}.app-shell{min-height:100dvh;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);background:var(--ground)}.nav-icon{place-items:center;display:grid}.morn-wordmark{width:auto;height:1.125rem;display:block}.morn-wordmark-letters,.morn-wordmark-horizon{fill:var(--text)}.morn-wordmark-o{fill:var(--dawn)}@keyframes morn-wordmark-o-rise{0%{transform:translateY(var(--morn-wordmark-o-rise,76.5px))}to{transform:translateY(0)}}.launch-screen .morn-wordmark-o{animation:.84s cubic-bezier(.22,.61,.36,1) both morn-wordmark-o-rise}.launch-screen{z-index:100;padding:2rem max(1.4rem, env(safe-area-inset-right)) 2rem max(1.4rem, env(safe-area-inset-left));background:var(--ground);color:var(--text);text-align:center;--ground:#0e1c19;--text:#e4ede7;--dawn:#e8ae55;--muted:#8fa69d;flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;display:flex;position:fixed;inset:0}.launch-screen[data-phase=fading]{opacity:0;pointer-events:none;transition:opacity .6s}.launch-screen-wordmark{width:min(52vw,14rem);height:auto}.launch-screen-divider{background:var(--dawn);width:2rem;height:1px}.launch-screen-verse-han,.launch-screen-verse-latin{max-width:22rem;font-family:var(--font-serif);margin:0}.launch-screen-verse-han{letter-spacing:.03em;font-size:1rem;line-height:1.95}.launch-screen-verse-latin{color:var(--muted);font-size:.9rem;font-style:italic;line-height:1.55}.launch-screen-reference{color:var(--muted);letter-spacing:.13em;margin:0;font-size:.65rem}.page{gap:1.25rem;width:min(100% - 2rem,46rem);margin:0 auto;padding:clamp(2rem,8vw,5rem) 0 7rem;display:grid}.agreement-review{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:1.75rem 1.75rem .5rem;gap:1.5rem;padding:clamp(1.5rem,6vw,2.5rem);display:grid}.agreement-review>header,.agreement-review>section{gap:.75rem;display:grid}.agreement-review h1{max-width:14em;font-size:clamp(1.8rem,7vw,3rem)}.agreement-review h2{font-size:clamp(1.2rem,4vw,1.5rem)}.agreement-review ul{color:var(--muted);gap:.65rem;margin:0;padding-left:1.25rem;line-height:1.7;display:grid}.form-error{color:#9f2d20;font-weight:700}.reading-status-card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:1.75rem 1.75rem .5rem;align-content:start;gap:1rem;min-height:18rem;padding:clamp(1.5rem,6vw,2.5rem);display:grid}.reading-status-card h1{max-width:14em;font-size:clamp(1.8rem,7vw,3rem)}.action-row{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.primary-action,.secondary-action,.secondary-link{border-radius:.75rem;width:fit-content;min-height:2.75rem;padding:.7rem 1rem;font-weight:700;line-height:1.35}.primary-action{border:1px solid var(--accent);background:var(--accent);color:#fff}.secondary-action,.secondary-link{border:1px solid var(--line);background:var(--surface);color:var(--accent)}.secondary-action{cursor:pointer}.eyebrow{color:var(--accent);letter-spacing:.16em;margin:0;font-size:.78rem;font-weight:700}h1,h2,p{margin:0}h1,h2{font-family:var(--font-serif);text-wrap:balance;font-weight:600;line-height:1.2}h1{max-width:10em;font-size:clamp(2rem,9vw,3.5rem)}h2{font-size:clamp(1.4rem,5vw,2rem)}p{max-width:42rem;color:var(--muted);font-size:1rem;line-height:1.75}.status-row{background:var(--accent-soft);width:fit-content;color:var(--accent);border-radius:999px;align-items:center;gap:.625rem;padding:.625rem .875rem;font-size:.9rem;font-weight:650;display:flex}.status-dot{background:currentColor;border-radius:50%;width:.5rem;height:.5rem}.reading-carousel{--card-shadow-room-top:2rem;--card-shadow-room-bottom:4.5rem;margin:calc(-1 * var(--card-shadow-room-top)) -1rem calc(-1 * var(--card-shadow-room-bottom));pointer-events:none;scroll-margin-top:calc(env(safe-area-inset-top) - var(--card-shadow-room-top));overflow:hidden}.reading-carousel[data-switching=true]{transition:height .3s}.reading-panels{align-items:flex-start;width:200%;transition:transform .3s;display:flex}.reading-panels[data-active-panel=note]{transform:translate(-50%)}.reading-slot{width:50%;min-width:0;padding:var(--card-shadow-room-top) 1rem var(--card-shadow-room-bottom);flex:none}.reading-card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);pointer-events:auto;border-radius:1.75rem 1.75rem .5rem;gap:1.5rem;padding:clamp(1.5rem,6vw,3rem);display:grid}.reading-carousel:not([data-switching=true]) .reading-card[aria-hidden=true]{box-shadow:none}.reading-note-link,.reading-panel-return,.note-editor-edit-action{border:1px solid var(--line);background:var(--surface);width:fit-content;color:var(--accent);white-space:nowrap;cursor:pointer;border-radius:999px;align-items:center;gap:.35rem;padding:.5rem .9rem;font-size:.9rem;font-weight:700;display:inline-flex}.day-switcher{grid-template-columns:1fr auto 1fr;align-items:center;gap:.75rem;display:grid}.day-switcher-arrow{border:1px solid var(--line);background:var(--surface);min-height:2.75rem;color:var(--accent);cursor:pointer;border-radius:999px;align-items:center;gap:.35rem;padding:.5rem .9rem;font-size:.9rem;font-weight:700;display:inline-flex}.day-switcher-prev{justify-self:start}.day-switcher-next{justify-self:end}.day-switcher-bound{color:var(--muted);cursor:not-allowed;opacity:.55}.day-switcher-date{min-width:8em;color:var(--muted);text-align:center;font-size:.9rem;font-weight:650}.reading-header{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr);gap:1rem;padding-bottom:1.25rem;display:grid}.reading-eyebrow-row{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.reading-heading-content{gap:.65rem;min-width:0;display:grid}.reading-header time,.reading-range{color:var(--muted);font-size:.9rem;font-weight:650}.reading-header h1{max-width:16em;font-size:clamp(1.8rem,7vw,3rem)}.reading-title-line{display:block}.reading-range{width:fit-content;background:var(--surface-soft);max-inline-size:100%;color:var(--accent);overflow-wrap:anywhere;border-radius:.5rem;padding:.45rem .7rem}.practice-status{background:var(--surface-soft);width:fit-content;color:var(--muted);border-radius:.5rem;padding:.35rem .7rem;font-size:.85rem;font-weight:650}.offline-indicator{background:var(--surface-soft);width:fit-content;color:var(--muted);border-radius:.5rem;padding:.3rem .6rem;font-size:.78rem;font-weight:700}.scripture{gap:1rem;margin:0;padding:0;list-style:none;display:grid}.scripture-verse{color:var(--text);font-family:var(--font-serif);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;grid-template-columns:2rem minmax(0,1fr);gap:.75rem;font-size:clamp(1.05rem,4.5vw,1.2rem);line-height:1.9;display:grid}.jump-to-note-action{bottom:calc(4.25rem + env(safe-area-inset-bottom) + .5rem);z-index:21;border:1px solid var(--accent);background:var(--surface);box-shadow:var(--shadow);color:var(--accent);font-family:var(--font-ui);white-space:nowrap;border-radius:999px;padding:.55rem 1.1rem;font-size:.85rem;font-weight:700;position:fixed;left:50%;transform:translate(-50%)}.scripture-verse-selectable{outline:1px dashed var(--line);outline-offset:.35rem;border-radius:.5rem}.scripture-verse-selected{background:var(--accent-soft);outline:1px solid var(--accent);outline-offset:.35rem;border-radius:.5rem}.touching-verse-hint{background:var(--accent-soft);color:var(--accent);border-radius:.6rem;align-items:center;gap:.6rem;margin:0 0 1rem;padding:.6rem .85rem;font-size:.85rem;display:flex}.touching-verse-hint-pulse{background:var(--accent);border-radius:50%;flex-shrink:0;width:.85rem;height:.85rem;animation:1.4s ease-out infinite touching-verse-hint-pulse}@keyframes touching-verse-hint-pulse{0%{box-shadow:0 0 #23756a73}to{box-shadow:0 0 0 .6rem #23756a00}}.verse-number{background:var(--accent-soft);min-height:2rem;color:var(--accent);font-family:var(--font-ui);border-radius:.55rem;place-items:start center;font-size:.75rem;font-weight:700;line-height:2rem;display:grid}.note-editor{gap:.85rem;display:grid}.note-editor-heading-row{justify-content:space-between;align-items:center;gap:.75rem;min-height:2.75rem;display:flex}.note-editor-heading-group{align-items:baseline;gap:.6rem;min-width:0;display:flex}.note-editor h2{margin:0;font-size:1.125rem}.note-editor-touching-verses-label{margin:0 0 .35rem}.note-editor-touching-verses-label,.note-editor-field-label{color:var(--muted);letter-spacing:.12em;font-size:.78rem;font-weight:700}.note-editor-touching-verses-empty{color:var(--muted);margin:0;font-size:.85rem}.note-editor-touching-verses-list{gap:.35rem;margin:0;padding:0;font-size:1rem;line-height:1.75;list-style:none;display:grid}.note-editor-touching-verses-list li{font-family:var(--font-serif);background:var(--accent-soft);border-radius:.5rem;padding:.6rem .8rem}.note-editor-field{gap:.4rem;display:grid}.note-editor-toolbar-button{border:1px solid var(--line);background:var(--surface-soft);width:2rem;height:2rem;color:var(--text);cursor:pointer;border-radius:.5rem;place-items:center;font-size:.9rem;display:grid}.note-editor-field-input{--note-field-min-height:6rem;--note-field-padding:.65rem .75rem;--note-field-border:1px;--note-field-font-size:1.0625rem;--note-field-line-height:1.85;display:grid}.note-editor-field-preview{box-sizing:border-box;min-height:var(--note-field-min-height);padding:var(--note-field-padding);border:var(--note-field-border) solid var(--line);background:var(--surface-soft);color:var(--text);font-family:inherit;font-size:var(--note-field-font-size);font-weight:400;line-height:var(--note-field-line-height);white-space:pre-wrap;overflow-wrap:break-word;cursor:text;border-radius:.65rem}.note-editor-field-preview:empty:before{content:""}.note-editor-save-action{width:100%}.primary-action:disabled{border-color:var(--line);background:var(--surface-soft);color:var(--muted);cursor:not-allowed}.note-editor-save-hint{color:var(--muted);margin:0;font-size:.8rem;line-height:1.6}.note-editor-reload-action{color:inherit;text-underline-offset:.2em;background:0 0;border:none;margin-left:.5rem;font-weight:700;text-decoration:underline}.note-editor-saved-notice{color:var(--accent);white-space:nowrap;margin:0;font-size:.8rem;font-weight:700;transition:opacity .8s}.note-editor-saved-notice-fading{opacity:0}.note-editor-readonly{gap:2.25rem;display:grid}.note-editor-readonly-field{gap:.75rem;display:grid}.note-editor-readonly-text{color:var(--text);white-space:pre-wrap;font-size:1.0625rem;line-height:1.85}.note-editor-readonly-text p,.note-editor-field-preview p{max-width:none;color:inherit;font-size:inherit;line-height:inherit;margin:0 0 1em}.note-editor-readonly-text p:last-child,.note-editor-field-preview p:last-child{margin-bottom:0}.note-editor-readonly-text ul,.note-editor-readonly-text ol,.note-editor-field-preview ul,.note-editor-field-preview ol{margin:0 0 1em;padding-left:1.4rem}.note-editor-readonly-text li+li,.note-editor-field-preview li+li{margin-top:.35em}.note-editor-readonly-text li::marker{color:var(--muted)}.note-editor-field-preview li::marker{color:var(--muted)}.note-editor-readonly-text h3,.note-editor-readonly-text h4,.note-editor-field-preview h3,.note-editor-field-preview h4{color:inherit;margin:0 0 .6em}.note-editor-readonly-text h3,.note-editor-field-preview h3{font-family:var(--font-serif);font-size:1.25rem;font-weight:600;line-height:1.45}.note-editor-readonly-text h4,.note-editor-field-preview h4{font-size:1.0625rem;font-weight:700;line-height:1.5}.note-editor-readonly-text blockquote,.note-editor-field-preview blockquote{border-left:2px solid var(--accent);color:var(--text);font-family:var(--font-serif);margin:0 0 1em;padding-left:1rem}.note-editor-readonly-text li>p,.note-editor-field-preview li>p,.writing-surface-editor .ProseMirror li>p{margin:0}.note-editor-readonly-text>:last-child,.note-editor-field-preview>:last-child{margin-bottom:0}.note-editor-edit-action{flex:none;min-height:2.75rem}.note-editor-edit-icon{width:1rem;height:1rem}.reading-attribution{border-top:1px solid var(--line);gap:.4rem;padding-top:1.25rem;display:grid}.reading-attribution p{overflow-wrap:anywhere;max-width:100%;font-size:.8rem;line-height:1.6}.reading-attribution a{color:var(--accent);text-underline-offset:.2em;font-weight:700;text-decoration:underline}.week-view{gap:1.25rem;display:grid}.week-list{gap:.6rem;margin:0;padding:0;list-style:none;display:grid}.week-day{border:1px solid var(--line);background:var(--surface);width:100%;min-height:3.5rem;color:var(--text);text-align:start;cursor:pointer;border-radius:1rem;align-items:center;gap:.75rem;padding:.75rem 1rem;display:flex}.week-day-date{flex:1;align-items:baseline;gap:.6rem;display:flex}.week-day-weekday{min-width:2.5em;color:var(--muted);font-size:.85rem;font-weight:700}.week-day-status{border-radius:50%;flex:none;width:.6rem;height:.6rem}.week-day-status-has-content{background:var(--accent)}.week-day-status-no-content{border:1px solid var(--muted);background:0 0}.week-day-completed{background:var(--accent-soft);width:.9rem;height:.9rem;color:var(--accent);border-radius:999px;place-items:center;font-size:.5rem;font-weight:700;display:grid}.history-view{overflow-anchor:none;grid-column:1/-1;gap:1rem;width:100%;min-width:0;max-width:40rem;margin-inline:auto;display:grid}.history-head{gap:.35rem;display:grid}.history-head p{font-size:.875rem}.history-empty{color:var(--muted);margin:0}.history-books{scrollbar-width:none;gap:.5rem;margin-inline:-1rem;padding:.25rem 1rem .5rem;display:flex;overflow-x:auto}.history-books::-webkit-scrollbar{display:none}.history-book{border:1px solid var(--line);min-height:2.75rem;color:var(--text);font:inherit;cursor:pointer;background:0 0;border-radius:999px;flex:none;align-items:center;gap:.4rem;padding:.55rem .95rem;font-size:.875rem;font-weight:600;display:inline-flex}.history-book-count{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:500}.history-book[aria-pressed=true]{border-color:var(--text);background:var(--text);color:var(--surface)}.history-book[aria-pressed=true] .history-book-count{color:color-mix(in srgb, var(--surface) 75%, var(--text))}.history-timeline[aria-busy=true]{opacity:.55;transition:opacity .12s}@media (width>=48rem){.history-books{flex-wrap:wrap;margin-inline:0;padding-inline:0;overflow-x:visible}}.history-timeline{border:1px solid var(--line);background:var(--surface);border-radius:1.5rem;overflow:clip}.history-month{scroll-margin-top:env(safe-area-inset-top);content-visibility:auto;contain-intrinsic-size:auto none auto calc(3rem + var(--history-month-entries,1) * 9.5rem)}.history-month+.history-month{border-top:1px solid var(--line)}.history-month-heading{top:env(safe-area-inset-top);z-index:2;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--surface) 94%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);max-width:none;font-family:var(--font-ui);letter-spacing:.02em;font-size:.95rem;font-weight:700;position:sticky}.history-month-button{width:100%;min-height:3rem;color:var(--text);font:inherit;letter-spacing:inherit;text-align:start;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:1rem;padding:.6rem 1.1rem;display:flex}.history-month-button:focus-visible{outline-offset:-3px}.history-month-name:after{border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);content:"";width:.4rem;height:.4rem;margin-inline-start:.5rem;display:inline-block;transform:translateY(-.2rem)rotate(45deg)}.history-month-count{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.8rem;font-weight:500}.history-list{margin:0;padding:0;list-style:none}.history-entry+.history-entry{border-top:1px solid var(--line)}.history-entry-button{width:100%;color:var(--text);font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;grid-template-columns:minmax(0,1fr);gap:.45rem;padding:1.1rem 1.1rem 1.15rem;display:grid}.history-entry-button:hover{background:color-mix(in srgb, var(--accent-soft) 45%, var(--surface))}.history-entry-button:active{background:var(--accent-soft)}.history-entry-button:focus-visible{outline-offset:-3px}.history-entry-meta{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:1rem;font-size:.8rem;display:flex}.history-entry-day{color:var(--text);font-weight:650}.history-entry-reference{color:var(--accent);text-align:end;font-weight:600}.history-entry-detail{gap:.45rem;display:grid}.history-entry-verse,.history-entry-title{text-wrap:pretty;font-size:1.125rem;line-height:1.7}.history-entry-verse{font-family:var(--font-serif)}.history-entry-verse-label{color:var(--accent);font-family:var(--font-ui);vertical-align:.3em;margin-inline-end:.3rem;font-size:.7rem;font-weight:650}.history-entry-title{color:var(--muted);font-weight:600}.history-entry-excerpt{color:var(--muted);-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:.9rem;line-height:1.65;display:-webkit-box;overflow:hidden}.history-end{border-top:1px solid var(--line);max-width:none;color:var(--muted);text-align:center;padding:1.25rem 1.1rem 1.5rem;font-size:.85rem}.history-load-more,.history-load-newer{width:100%}.history-month-picker{width:min(100%,30rem);max-width:100%;max-height:min(80dvh,40rem);padding:1.25rem 1.25rem calc(1.75rem + env(safe-area-inset-bottom));background:var(--surface);color:var(--text);border:0;border-radius:1.5rem 1.5rem 0 0;margin:auto auto 0;overflow-y:auto;box-shadow:0 -1rem 2.5rem #16332c26}.history-month-picker::backdrop{background:#16332c47}.history-picker-top{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.history-picker-top h2{font-family:var(--font-ui);font-size:1rem;font-weight:700}.history-picker-close{min-width:2.75rem;min-height:2.75rem;color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;font-weight:650}.history-picker-year+.history-picker-year{margin-top:1.25rem}.history-picker-year h3{color:var(--muted);font-variant-numeric:tabular-nums;margin:0 0 .6rem;font-size:.85rem;font-weight:600}.history-picker-months{grid-template-columns:repeat(4,1fr);gap:.5rem;display:grid}.history-picker-month{border:1px solid var(--line);background:var(--surface);min-height:3.6rem;color:var(--text);font:inherit;font-variant-numeric:tabular-nums;cursor:pointer;border-radius:.9rem;justify-items:center;gap:.15rem;padding:.5rem 0;display:grid}.history-picker-month b{font-size:.95rem}.history-picker-month span{min-height:1em;color:var(--muted);font-size:.72rem}.history-picker-month[aria-current=true]{border-color:var(--accent);background:var(--accent-soft)}.history-picker-month:disabled{color:color-mix(in srgb, var(--muted) 55%, var(--surface));cursor:default;background:0 0;border-style:dashed}@media (width>=48rem){.history-month-picker{border-radius:1.5rem;margin:auto}}.bottom-nav{z-index:20;min-height:calc(4.25rem + env(safe-area-inset-bottom));padding:.35rem max(.5rem, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(.5rem, env(safe-area-inset-left));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(.75rem);backdrop-filter:blur(.75rem);background:#edf1eef5;display:grid;position:fixed;bottom:0;left:0;right:0}.nav-item{min-width:2.75rem;min-height:3.5rem;color:var(--muted);cursor:pointer;background:0 0;border:none;flex-direction:column;justify-content:center;align-items:center;gap:.2rem;font-size:.75rem;font-weight:650;display:flex}.nav-icon{border-radius:.55rem;width:1.75rem;height:1.75rem}.nav-icon svg{width:1.25rem;height:1.25rem}.nav-item-active{color:var(--accent)}.nav-item-active .nav-icon{background:var(--accent-soft)}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}@media (width>=48rem){.app-shell{padding-bottom:0}.page{grid-template-columns:minmax(0,1.2fr) minmax(16rem,.8fr);align-items:start;padding-bottom:3rem}.page-reading{display:block}.reading-carousel{width:min(100% + 2rem,54rem);margin-inline:auto}.reading-header{grid-template-columns:minmax(0,1fr) auto;align-items:end}.reading-eyebrow-row,.reading-panel-return{grid-column:1/-1}.bottom-nav{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-top:0;width:min(100% - 2rem,46rem);min-height:auto;margin:0 auto;padding:0 0 2rem;position:static}.nav-item{border:1px solid var(--line);background:var(--surface);border-radius:999px;flex-direction:row}}@media (width<=26rem){.reading-card{padding-inline:1.125rem}.day-switcher{grid-template-columns:max-content minmax(0,1fr) max-content;gap:.35rem}.day-switcher-arrow{white-space:nowrap;gap:.2rem;padding-left:.55rem;padding-right:.55rem;font-size:.83rem}.day-switcher-date{white-space:nowrap;min-width:0;font-size:.83rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}.touching-verse-hint-pulse,.launch-screen .morn-wordmark-o{animation:none}}.incident-console,.incident-detail{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:1.75rem 1.75rem .5rem;gap:1.25rem;padding:clamp(1.5rem,6vw,2.5rem);display:grid}.incident-tabs{gap:.5rem;display:flex}.incident-tab{border:1px solid var(--line);background:var(--surface);min-height:2.5rem;color:var(--muted);border-radius:999px;padding:.5rem 1rem;font-weight:650}.incident-tab-active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.incident-empty{color:var(--muted)}.incident-list{gap:.75rem;padding:0;list-style:none;display:grid}.incident-row{border:1px solid var(--line);background:var(--surface);text-align:start;cursor:pointer;border-radius:1rem;gap:.35rem;width:100%;padding:.9rem 1.1rem;display:grid}.incident-row-source{font-weight:700}.incident-row-count,.incident-row-time{color:var(--muted);font-size:.9rem}.incident-status-badge{border-radius:999px;width:fit-content;padding:.2rem .65rem;font-size:.8rem;font-weight:700}.incident-status-badge-open{background:var(--accent-soft);color:var(--accent)}.incident-status-badge-resolved{background:var(--line);color:var(--muted)}.incident-id{word-break:break-all;font-family:ui-monospace,monospace;font-size:.75em}.incident-fields{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.75rem;margin:0;display:grid}.incident-fields dt{color:var(--muted);font-size:.8rem}.incident-fields dd{margin:0;font-weight:650}.incident-occurrences{color:var(--muted);gap:.35rem;margin:0;padding:0;font-size:.9rem;list-style:none;display:grid}.writing-surface{z-index:40;background:var(--ground);flex-direction:column;height:100dvh;display:flex;position:fixed;top:0;left:0;right:0}.writing-surface-bar{min-height:calc(2.75rem + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(.75rem, env(safe-area-inset-right)) 0 max(.75rem, env(safe-area-inset-left));border-bottom:1px solid var(--line);background:var(--ground);grid-template-columns:1fr auto 1fr;align-items:center;gap:.5rem;display:grid}.writing-surface-title{text-align:center;margin:0;font-size:.95rem;font-weight:650}.writing-surface-return,.writing-surface-action{color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;padding:.3rem 0;font-size:.95rem}.writing-surface-return{justify-self:start}.writing-surface-action{justify-self:end;font-weight:650}.writing-surface-action:disabled{color:var(--muted);cursor:default}.writing-surface-area{--format-bar-height:3rem;flex:1;min-height:0;display:flex;position:relative}.writing-surface-editor{flex:1;min-height:0;display:flex}.writing-surface-editor .ProseMirror{width:100%;padding:.9rem max(1rem, env(safe-area-inset-right)) 1rem max(1rem, env(safe-area-inset-left));background:var(--ground);color:var(--text);padding-bottom:calc(1rem + var(--format-bar-height) + var(--keyboard-inset,0px));border:0;flex:1;font-family:inherit;font-size:1rem;line-height:1.7;overflow-y:auto}.writing-surface-editor .ProseMirror:focus{box-shadow:inset 0 2px 0 var(--accent);outline:none}.writing-surface-editor .ProseMirror p{margin:0 0 .75rem}.writing-surface-editor .ProseMirror h3,.writing-surface-editor .ProseMirror h4{margin:0 0 .4rem;line-height:1.4}.writing-surface-editor .ProseMirror h3{font-size:1.15rem}.writing-surface-editor .ProseMirror h4{font-size:1.05rem}.writing-surface-editor .ProseMirror ul,.writing-surface-editor .ProseMirror ol{margin:0 0 .75rem;padding-left:1.5rem}.writing-surface-editor .ProseMirror blockquote{border-left:2px solid var(--line);color:var(--muted);margin:0 0 .75rem;padding-left:.75rem}.writing-surface-editor .ProseMirror>:last-child{margin-bottom:0}.writing-surface-editor .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;height:0;color:var(--muted);pointer-events:none}.writing-surface-format-bar{right:0;bottom:var(--keyboard-inset,0px);height:var(--format-bar-height);padding:0 max(.75rem, env(safe-area-inset-right)) 0 max(.75rem, env(safe-area-inset-left));border-top:1px solid var(--line);background:var(--ground);scrollbar-width:none;align-items:center;gap:.35rem;display:flex;position:absolute;left:0;overflow-x:auto}.writing-surface-format-bar::-webkit-scrollbar{display:none}.writing-surface-format-bar .note-editor-toolbar-button{flex:none;font-size:.8rem}.note-editor-toolbar-button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.writing-surface-notice{padding:.75rem max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));gap:.5rem;display:grid}.writing-surface-notice .form-error{margin:0}
