:root{--paper:#fbf9f4;--surface:#fff;--ink:#172f51;--muted:#536073;--line:#c5cbd2;--navy:#122b4b;--gold:#e8c99b;--soft:#f2ede4;--error:#922b30;--green:#255f4a;color-scheme:light;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:100%}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-size:1rem;line-height:1.65}a{color:inherit;text-underline-offset:.2em}button,input,select,textarea{font:inherit;color:inherit}button,.button{min-height:44px;min-width:44px;border:1px solid #758196;border-radius:6px;background:var(--surface);padding:.6rem 1rem;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.6rem;text-align:center;line-height:1.4}button:hover,.button:hover{background:var(--soft)}button:disabled{opacity:.6;cursor:not-allowed}.primary{background:var(--navy);color:#fff;border-color:var(--navy)}.primary:hover{background:#244668;color:#fff}.danger{color:var(--error);border-color:var(--error)}:focus-visible{outline:3px solid #9c5605;outline-offset:4px}.sidebar :focus-visible{outline-color:var(--gold)}h1,h2,h3,p{overflow-wrap:anywhere}h1,h2,h3{line-height:1.22;color:var(--ink)}h1{font-family:Georgia,serif;font-size:clamp(2rem,3.6vw,3.4rem);font-weight:400;letter-spacing:-.025em;margin:.25rem 0 1rem}h2{font-family:Georgia,serif;font-size:1.6rem;font-weight:400;margin:0 0 1rem}h3{font-size:1.05rem;margin:1.2rem 0 .5rem}p{margin:.5rem 0 1rem}small{font-size:.85rem}.eyebrow{font-size:.75rem;letter-spacing:.13em;text-transform:uppercase;font-weight:650;color:var(--muted);margin:0 0 .7rem}.lede{font-size:1.1rem;color:var(--muted);max-width:50rem}.quiet,.help{color:var(--muted)}.help{font-size:.88rem;line-height:1.5;margin:.4rem 0 1rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;left:1rem;top:-10rem;z-index:1000;background:var(--navy);color:white;padding:1rem}.skip:focus{top:1rem}.app-shell{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#fff;padding:2rem 1.1rem;display:flex;flex-direction:column}.brand{display:flex;gap:.6rem;align-items:center;color:#fff;text-decoration:none;line-height:1.4;padding:0 .4rem 2.3rem;font-weight:600}.brand img{background:var(--gold);border-radius:50%;padding:4px;flex-shrink:0}.brand small{display:block;color:#dec9a9;font-size:.72rem;font-weight:400;letter-spacing:.1em;margin-top:.15rem;text-transform:uppercase}.sidebar nav{display:grid;gap:.4rem}.sidebar nav a{display:flex;align-items:center;min-height:48px;padding:.65rem 1rem;border-radius:5px;text-decoration:none;color:#e8edf4;border:1px solid transparent}.sidebar nav a[aria-current]{background:#294563;color:#fff;border-color:#66809d;box-shadow:inset 3px 0 var(--gold);font-weight:700}.sidebar nav a:hover{background:#294563}.sidebar-foot{margin-top:auto;padding:3rem .6rem 0;font-size:.85rem;color:#d0d9e5}.quiet-light{background:transparent;border-color:#8191a5;color:#fff;padding:.4rem .75rem}.workspace{min-width:0;display:flex;flex-direction:column}.topbar{padding:1.1rem 3rem;border-bottom:1px solid var(--line);display:flex;gap:1rem;flex-wrap:wrap;justify-content:space-between;font-size:.8rem;color:var(--muted)}main{padding:2.8rem 3rem 3rem;max-width:1500px;width:100%;margin:0 auto}main:focus{outline:none}.page-heading{display:flex;justify-content:space-between;gap:2rem;align-items:center;margin-bottom:2.2rem}.page-heading>.button{flex-shrink:0}.panel{background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:1.5rem;margin-bottom:1.5rem;min-width:0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1.3rem}.section-heading h2{margin:0}.section-heading>a{font-size:.88rem}.content-row{display:flex;gap:1rem;align-items:center;justify-content:space-between;border-top:1px solid #dce0e5;padding:1.1rem .2rem;text-decoration:none;min-width:0}.content-row>span:first-child{min-width:0;flex:1}.content-row strong{display:block;font-size:1.03rem;line-height:1.4;margin:.4rem 0}.content-row small{display:block;color:var(--muted)}a.content-row:hover strong{text-decoration:underline}.row-end{font-size:.85rem;white-space:nowrap}.pill,.status-pill{display:inline-block;border:1px solid #c0c9d1;border-radius:4px;background:#edf1f5;font-size:.72rem;line-height:1.5;padding:.15rem .45rem;color:#3b4e64}.status-pill{background:#edf4ef;color:#27533e;max-width:14rem;text-align:center}.gentle-note{background:var(--soft);border-radius:7px;padding:1.3rem 1.5rem;color:#445267;margin-top:1.5rem;font-size:.92rem}.gentle-note p:last-child{margin-bottom:0}.app-footer{margin-top:auto;border-top:1px solid var(--line);padding:1rem 3rem;font-size:.75rem;color:var(--muted);display:flex;justify-content:space-between;gap:1rem}.notice{background:#fff4dd;border:1px solid #a88a51;border-radius:7px;padding:1.2rem;margin:1rem 0 1.5rem}.notice h2{font-size:1.3rem}.error{background:#fff2f1;border-color:#b97070;color:#7f2327}.error h2{color:inherit}.errorlist{color:var(--error);padding-left:1.3rem}.empty{padding:2rem;text-align:center;max-width:40rem;margin:auto}.empty h3{font-family:Georgia,serif;font-size:1.7rem;font-weight:400}.creation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem;margin-top:2rem}.type-card{display:flex;align-items:flex-start;flex-direction:column;text-align:left;padding:1.8rem;min-height:280px;border-color:var(--line);font-weight:400;line-height:1.6}.type-card strong{font-family:Georgia,serif;font-size:1.8rem;font-weight:400}.type-card>span:last-child{font-size:.95rem;color:var(--muted)}.type-symbol{font-size:2.1rem;line-height:1.4;color:#805720;min-height:4rem}.filters{display:flex;flex-wrap:wrap;align-items:end;gap:1rem}.filters>div{flex:1 1 10rem}.filters>.search-field{flex:3 1 17rem}.filters label{font-size:.82rem}.more-filters{flex-basis:100%}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}label{display:block;font-size:.92rem;font-weight:600;margin:.8rem 0 .4rem}input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select{display:block;width:100%;min-width:0;padding:.65rem .75rem;border:1px solid #7d899b;background:#fff;border-radius:5px;min-height:44px;font-size:1rem}input[readonly]{background:#f4f5f6!important}input[type=file]{padding:.5rem!important}textarea{resize:vertical;max-width:100%}.check{display:flex;align-items:flex-start;gap:.65rem;font-weight:400;margin:1rem 0}.check input{min-width:1.25rem;min-height:1.25rem;margin-top:.25rem;accent-color:var(--navy)}details>summary{cursor:pointer;font-weight:600;min-height:44px;padding:.4rem 0}details[open]>summary{margin-bottom:1rem}.auth-page{background:linear-gradient(125deg,#eae3d5,#fbf9f4 70%);min-height:100vh;display:grid;place-items:center;padding:1rem}.auth-card{max-width:480px;border:1px solid var(--line);border-top:5px solid var(--navy);border-radius:10px;background:#fff;padding:2.5rem}.auth-card h1{font-size:2.5rem}.auth-card button{margin-top:1rem;width:100%}.auth-card input{width:100%}.auth-card li{font-size:.85rem}.back-link{font-size:.88rem}.editor-heading{display:flex;gap:1rem;justify-content:space-between;align-items:center;margin-top:1.5rem}.editor-heading h1{font-size:2.2rem}.editor-actions{padding:1rem 0;margin-bottom:1.2rem;border-block:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.editor-actions p{font-size:.85rem;margin:0}.action-group{display:flex;flex-wrap:wrap;gap:.6rem}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:1.5rem;align-items:start}.writing-pane,.details-pane{min-width:0}.writing-pane{background:#fff;border:1px solid var(--line);border-radius:9px;padding:1.5rem}.title-input{font-size:1.4rem!important;font-family:Georgia,serif}.field{margin-bottom:1.5rem}.details-pane .panel{padding:1.1rem}.details-pane h2{font-family:inherit;font-size:1rem;font-weight:650}.details-pane label,.details-pane .help{font-size:.8rem}.stack-actions{display:grid;gap:.6rem;margin-top:1.3rem}.rich-field{margin-bottom:1.6rem}.rich-label{font-weight:650;margin-bottom:.5rem}.rich-help{font-size:.85rem;color:var(--muted)}.rich-toolbar{display:flex;flex-wrap:wrap;gap:3px;border:1px solid var(--line);background:#f5f6f8;border-radius:5px 5px 0 0;padding:.4rem}.rich-toolbar button{padding:.3rem .55rem;min-width:44px;min-height:44px;border:1px solid transparent;font-size:.82rem;background:transparent}.rich-toolbar button[aria-pressed=true]{background:#d6e1ec;border-color:#617995}.rich-toolbar select{width:auto;max-width:100%;font-size:.82rem;padding:.3rem;min-height:44px}.ProseMirror{border:1px solid #7d899b;border-top:0;border-radius:0 0 5px 5px;min-height:200px;padding:1.2rem;font-size:1.08rem;line-height:1.75;overflow-wrap:anywhere}.rich-field.compact .ProseMirror{min-height:90px}.ProseMirror p{margin:0 0 1em}.ProseMirror p:last-child{margin-bottom:0}.ProseMirror h2{font-family:Georgia,serif;font-size:1.7rem}.ProseMirror h3{font-size:1.4rem}.ProseMirror blockquote{margin:1rem 0;padding-left:1rem;border-left:3px solid #bfa77e}.ProseMirror img{max-width:100%;height:auto}.ProseMirror pre{white-space:pre-wrap;background:#eff1f4;padding:1rem;font-size:.9rem}.ProseMirror table{border-collapse:collapse;width:100%;table-layout:fixed}.ProseMirror th,.ProseMirror td{border:1px solid #607087;padding:.4rem;position:relative}.ProseMirror th{background:#e8edf1}.ProseMirror .selectedCell{background:#f4dfb6}.ProseMirror .ProseMirror-selectednode{outline:3px solid #95630f}.rich-field .tableWrapper{overflow:auto}.image-choice{display:flex;gap:.5rem;flex-wrap:wrap}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.settings-grid .panel{margin:0}.narrow{max-width:600px}.search-inline{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin-bottom:1.5rem}.search-inline input{flex:1 1 15rem}.media-grid,.media-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem}.media-card{flex-direction:column;align-items:stretch;padding:.8rem;min-width:0;text-align:left;border-color:var(--line)}.media-card img{width:100%;height:150px;object-fit:contain;background:#eef0f3}.media-card strong{overflow-wrap:anywhere;font-size:.9rem}.media-card small{color:var(--muted)}.media-card[aria-pressed=true]{outline:3px solid #94630e;outline-offset:1px}.media-preview{width:100%;max-height:220px;object-fit:contain}.media-picker{max-height:280px;overflow:auto;padding:.3rem;margin-bottom:1rem}.media-picker img{height:100px}dialog{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:9px;padding:1.8rem;max-width:min(660px,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);overflow:auto}dialog::backdrop{background:#102746b3}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.dialog-heading h2{margin:0}.recovery-text{white-space:pre-wrap;max-height:200px;overflow:auto;background:#f1f3f5;padding:1rem}.operation-status{margin:0}.auth-card .helptext{font-size:.85rem;color:var(--muted)}
@media(max-width:1120px){main{padding:2rem 1.5rem}.topbar,.app-footer{padding-inline:1.5rem}.app-shell{grid-template-columns:195px minmax(0,1fr)}.editor-grid{grid-template-columns:minmax(0,1fr)}.details-pane{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.details-pane .panel{margin:0}.creation-grid{grid-template-columns:1fr}.type-card{min-height:0}.type-symbol{min-height:0}.row-end{display:none}}
@media(max-width:760px){.app-shell{display:block}.sidebar{padding:1rem}.brand{padding:0 0 1rem}.sidebar nav{display:flex;flex-wrap:wrap;gap:.2rem}.sidebar nav a{padding:.5rem .7rem;font-size:.9rem}.sidebar-foot{padding:1rem 0 0;margin:0;display:flex;justify-content:flex-end}.sidebar-foot p{display:none}.sidebar-foot form button{min-height:44px}.topbar{padding:1rem}.topbar .quiet{display:none}main{padding:1.6rem 1rem}.page-heading{align-items:flex-start;flex-direction:column;gap:.5rem}.panel{padding:1rem}.content-row{align-items:flex-start;flex-wrap:wrap}.status-pill{max-width:none}.form-grid,.settings-grid,.details-pane{grid-template-columns:1fr}.editor-heading{align-items:flex-start;flex-direction:column}.writing-pane{padding:1rem}.app-footer{padding:1rem;flex-wrap:wrap}.auth-card{padding:1.5rem}.ProseMirror{padding:.8rem}.creation-grid{gap:1rem}.type-card{padding:1.5rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(forced-colors:active){button,.button,.panel,.content-row,input,select,textarea,.ProseMirror{border:1px solid CanvasText}.sidebar nav a[aria-current]{outline:2px solid Highlight}.status-pill,.pill{border:1px solid CanvasText}}
[hidden]{display:none!important}
