@font-face{font-family:Zen Old Mincho;src:url('./fonts/ZenOldMincho-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Zen Kaku Gothic New;src:url('./fonts/ZenKakuGothicNew-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Zen Kaku Gothic New;src:url('./fonts/ZenKakuGothicNew-Medium.ttf') format('truetype');font-weight:500 900;font-display:swap}
:root{font-family:'Zen Kaku Gothic New','Yu Gothic',sans-serif;--muted:#b0bdc5;--gold:#d9c49b;--stroke:#33464e;font-synthesis:weight}
body{background:radial-gradient(ellipse at 80% 0,#263e43 0,transparent 50%),#101c24;font-size:16px}
.brand-text,.page-heading,.window-title,.home-section h2,.entry-copy h2,.crystal-text,.full-crystal,.preview-paper h1{font-family:'Zen Old Mincho','Yu Mincho',serif;font-weight:400}
.brand-text{font-size:24px;letter-spacing:.14em}.brand small{font-size:9px;color:#acb8bb;letter-spacing:.2em;margin-top:8px}.brand-mark{color:var(--gold)}
.app-shell{max-width:1320px;padding:30px 48px 48px}.topbar{border-color:#48534f;margin-bottom:34px;padding-bottom:24px}.heading-row{align-items:center}.page-heading{font-size:clamp(27px,3vw,40px);line-height:1.65;letter-spacing:.08em;margin:12px 0 28px}.eyebrow{color:#c3cbbf;font-size:10px;letter-spacing:.18em}
.live-clock{text-align:right;display:grid;gap:4px;white-space:nowrap;color:#eee7d5}.live-clock span{font-size:15px}.live-clock strong{font-size:32px;font-weight:400;font-variant-numeric:tabular-nums;letter-spacing:.08em}.live-clock small{font-size:11px;color:#b4c3bf}
.entry-hero{position:relative;overflow:hidden;border:1px solid #53615b;border-radius:4px;background:linear-gradient(110deg,#172b34,#263e40);min-height:240px}.entry-copy{position:relative;z-index:1;padding:32px 36px;max-width:800px;background:linear-gradient(90deg,#172b34e8,#172b34b8,transparent)}.entry-copy h2{font-size:26px;letter-spacing:.04em;margin:12px 0 20px}.entry-hero #observatory{left:40%;width:60%;opacity:.7}.search-row{box-shadow:none;border-radius:4px;border-color:#60736f;background:#0c1d27d9}.search-row input{font-size:16px}.search-row button,.btn{border-radius:4px;box-shadow:none}.btn-primary{background:#b9cbbc;color:#152c2b;font-weight:600}.btn-primary:hover{background:#d6e0cd}.btn{font-size:14px}.btn-small{font-size:13px}.f-button{font-size:14px}.home-section{padding-top:32px;margin-top:22px;border-top:1px solid #40504f}.home-section h2{font-size:25px;letter-spacing:.06em;margin:7px 0}.section-desc,.muted-sm{font-size:14px;line-height:1.9}.crystal-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-top:22px}.crystal-grid>div{min-width:0}.crystal{height:100%;min-height:240px;position:relative;display:flex;flex-direction:column;padding:18px 18px 12px;border:1px solid #8c846b;border-radius:3px;background:radial-gradient(ellipse at top,#3f4c48 0,#253b3f 60%,#213039 100%);box-shadow:0 8px 18px #050d1233,inset 0 0 0 5px #d9c49b06;cursor:grab}.crystal::before{content:'';position:absolute;inset:7px;border:1px solid #d9c49b20;pointer-events:none}.crystal-star{color:#d9c49b;font-size:24px;text-align:center}.crystal-text{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;font-size:18px;line-height:1.8;letter-spacing:.02em;color:#f1ead9;background:transparent;border:0;text-align:left;margin:10px 0 16px;padding:0;cursor:pointer}.crystal-footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;font-size:11px;color:#c2c6b6}.card-menu{position:relative;cursor:default}.card-menu summary{list-style:none;font-size:24px;line-height:1;padding:5px;cursor:pointer}.card-menu-items{position:absolute;right:0;bottom:100%;z-index:6;background:#172b34;box-shadow:0 6px 28px #0009;border:1px solid #829287;padding:5px;width:190px}.card-menu-items button{display:block;width:100%;padding:10px;text-align:left;color:#e6e8dc;background:none;border:0;font-size:13px}.card-menu-items button:hover{background:#344a4b}.crystal-empty{grid-column:1/-1;text-align:center;border:1px dashed #657469;padding:20px;color:#c3cec5;line-height:1.9}.crystal-empty>span{color:var(--gold);font-size:30px}.home-columns{display:grid;grid-template-columns:1.5fr 1fr;gap:40px}.guide-teaser p{line-height:2;color:#c3ccc9}.count-badge{font-size:18px;color:#ded0ae}.continuing-item{border-bottom:1px solid #33464e;padding:19px 0;display:flex;flex-direction:column;gap:10px}.continuing-item h3{font-size:16px;font-weight:500;line-height:1.7;margin:7px 0;overflow-wrap:anywhere}.note-status{font-size:12px;color:#d4c39a}.inline-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.home-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid #40504f;margin-top:32px;padding-top:20px;font-size:14px;line-height:1.9}.history-title{font-size:16px}.history-date{font-size:13px}.empty{font-size:15px}.tile{border-radius:5px;background:#172a33}.page-narrow{max-width:1200px}.window-title{font-size:25px;line-height:1.6}.record-tools{display:flex;justify-content:space-between;margin:12px 0 20px}.record-layout.with-reference{display:grid;grid-template-columns:290px minmax(0,1fr);gap:24px;align-items:start}.reference-panel{position:sticky;top:18px;border-left:2px solid #b3a580;background:#1b3038;padding:22px;max-height:calc(100vh - 40px);overflow:auto;line-height:1.8;overflow-wrap:anywhere}.reference-panel p{font-size:16px;white-space:pre-wrap;margin:8px 0 24px}.reference-panel p:last-child{margin-bottom:0}.label-small{font-size:14px;color:#c7d4ce}.wizard-bias-title{font-size:19px;color:#d8dbc8}.wizard-bias-description{font-size:16px;line-height:1.8;color:#c2ceca}.wizard-taxonomy{margin-top:10px;border-radius:3px;padding:14px}.wizard-question{font-size:20px;line-height:1.8;margin:20px 0}.wizard-panel{min-height:0;padding:24px}.wizard-panel h2{font-size:15px;letter-spacing:.04em;color:#a7bcb9}.wizard-subindex{font-size:13px}.wizard-options{gap:8px}.wizard-options .radio-label{font-size:16px;padding:11px 14px;border-radius:4px}.wizard-revised{border-radius:3px;padding:16px;margin-top:16px}.wizard-revised h3{font-size:18px;margin-top:0}.form-field{font-size:17px;line-height:1.8;min-height:105px;border-radius:4px}.help{font-size:16px;line-height:1.9}.form-actions{position:sticky;bottom:0;z-index:3;background:#101c24ee;border-top:1px solid #354b50;padding:14px 0;margin-top:20px}.status{font-size:12px}.footnote{font-size:13px}.wizard-progress-header{font-size:13px}.wizard-progress{margin-bottom:10px}.full-crystal{white-space:pre-wrap;overflow-wrap:anywhere;font-size:23px;line-height:2.1;color:#ebe5cf;margin:25px 0}.workspace-dialog{color:#e8eee9;background:#142831;border:1px solid #6f8178;border-radius:5px;padding:26px;max-height:90vh;overflow:auto;width:min(720px,94vw);box-shadow:0 20px 80px #0008}.workspace-dialog::backdrop{background:#030b11c9}.workspace-dialog h2{font-size:22px;font-weight:500}.workspace-dialog label{display:block;margin:18px 0 7px;line-height:1.7}.workspace-dialog textarea{width:100%}.wide-dialog{width:min(1220px,96vw)}.manager-slots,.card-pool{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0 30px}.manager-slot{border:1px dashed #738078;padding:9px;min-height:260px}.manager-slot .crystal{height:auto;min-height:210px}.manager-slot .crystal-text,.card-pool .crystal-text{font-size:16px;-webkit-line-clamp:4}.slot-number{font-size:12px;color:#baa97f}.manager-slot .inline-actions{gap:4px;justify-content:space-between;margin-top:8px}.manager-slot .f-button{font-size:12px}.manager-actions{position:sticky;bottom:-26px;background:#142831f5;padding:18px 0;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;border-top:1px solid #52645c}.drag-over{outline:2px solid #c8d2ac;outline-offset:3px}.guide-chapter{padding:17px 0;border-bottom:1px solid #41564f}.guide-chapter summary{cursor:pointer;font-size:17px}.guide-chapter p{line-height:2;color:#c8d3cc;font-size:16px}.schedule-box{border-top:1px solid #40504f;margin:20px 0;padding:12px 0}.schedule-box input[type=datetime-local]{padding:12px;color:#eef4e7;background:#0c202a;border:1px solid #60746c;max-width:100%;color-scheme:dark}.check-line{display:flex!important;align-items:center;gap:8px}.followup-paper{margin-top:24px}.preview-paper{font-family:'Zen Kaku Gothic New',sans-serif}.preview-paper .paper-content{font-size:16px}
@media(max-width:1050px){.crystal-grid,.manager-slots,.card-pool{grid-template-columns:repeat(3,minmax(0,1fr))}.app-shell{padding:25px}.home-columns{gap:24px}.record-layout.with-reference{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:760px){.app-shell{padding:20px}.heading-row{align-items:flex-start;flex-direction:column;gap:0}.live-clock{text-align:left;margin-bottom:24px;grid-template-columns:auto auto;align-items:center;gap:8px 20px}.live-clock strong{font-size:25px}.live-clock small{grid-column:1/-1}.entry-copy{padding:24px 18px}.entry-copy h2{font-size:22px}.crystal-grid,.manager-slots,.card-pool{grid-template-columns:repeat(2,minmax(0,1fr))}.home-columns{grid-template-columns:1fr;gap:0}.home-footer{align-items:flex-start;flex-direction:column}.home-section>.section-bar{align-items:flex-start;flex-wrap:wrap}.record-layout.with-reference{display:block}.reference-panel{position:sticky;top:0;z-index:4;display:grid;grid-template-columns:1fr 1fr;gap:6px 15px;padding:12px;max-height:180px;margin-bottom:14px;background:#1b3038fa}.reference-panel p{font-size:14px;margin:0;grid-row:2}.reference-panel .label-small{grid-row:1}.window-header{align-items:flex-start;flex-direction:column}.wizard-panel{padding:18px}.wizard-question{font-size:18px}.wizard-bias-description{font-size:15px}.preview-controls .buttons{flex-wrap:wrap}.workspace-dialog{padding:18px}.manager-actions{bottom:-18px}.brand-text{font-size:20px}}
@media(max-width:420px){.crystal-grid,.manager-slots,.card-pool{grid-template-columns:1fr}.crystal{min-height:200px}.page-heading{font-size:25px}.live-clock{grid-template-columns:1fr}.live-clock small{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media print{.workspace-dialog,.record-tools,.form-actions{display:none!important}.followup-paper{break-before:page}.preview-paper{background:white!important;color:#111!important}}

.question-context{margin:14px 0;font-size:14px;color:#bdcdc4;line-height:1.8}.question-context summary{cursor:pointer}.reflection-quote{white-space:pre-wrap;border-left:2px solid #b7aa8b;margin:15px 0;padding:12px 18px;background:#20363b;font-size:17px;line-height:1.9}

/* v4: requested alignment, hierarchy, home copy and duplicated reading controls only. */
.topbar .service-description{margin:0 0 0 auto;color:var(--text);font-size:14px;line-height:1.95;border-left:1px solid var(--stroke);padding-left:24px}
.draft-updated{margin:4px 0 0;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.emotion-item{grid-template-columns:minmax(115px,1fr) minmax(0,2fr) 48px}
.slider-area{display:grid;grid-template-columns:18px minmax(0,1fr) 28px 44px;gap:13px;min-width:0}
.slider-area input[type=range]{min-width:0;width:100%;margin:0}
.slider-area .score{width:44px;font-variant-numeric:tabular-nums}
.note-section-heading{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;border-bottom:1px solid var(--stroke);padding-bottom:14px;margin-bottom:20px}
.wizard-panel .note-section-heading h2{font-size:23px;font-weight:700;color:var(--text);line-height:1.6;margin:0}
.section-purpose{flex:1;min-width:240px;margin:0;color:var(--muted);font-size:14px;line-height:1.85}
.note-section-body>.help,.note-section-body>p.help{font-size:15px;line-height:1.9;margin:0 0 18px;color:var(--muted)}
.note-section-body>.label-small{display:block;font-size:18px;font-weight:700;color:var(--text);margin:18px 0 8px}
.note-section-body>.wizard-question{font-size:21px;font-weight:700}
.note-section-body>.muted-sm{font-size:14px}
.note-section-body .thought-support{margin:24px 0 0 16px;border-left:3px solid var(--stroke);border-radius:4px}
.thought-support summary{font-size:17px;font-weight:700}
.thought-support .label-small{font-size:15px;font-weight:700}
.thought-support .wizard-question{font-size:18px;font-weight:500}
.note-section-body .wizard-taxonomy{margin-top:0}
.note-section-body .wizard-bias-title{font-size:19px;font-weight:700}
.note-section-body .wizard-bias-description{font-size:14px}
.note-section-body .wizard-revised{margin-left:16px;border-left:3px solid var(--stroke)}
.preview-paper .paper-heading{font-size:19px;margin-bottom:16px;padding-bottom:10px}
.preview-paper .paper-block{margin:30px 0}
.preview-paper .paper-check-title{font-size:16px;font-weight:700}
.preview-paper .paper-check-question{font-size:14px}
.preview-controls-bottom{margin-top:24px;justify-content:flex-end;border-top:1px solid var(--stroke);padding-top:18px}
.preview-controls-bottom .buttons{flex-wrap:wrap}
@media(max-width:760px){.topbar{flex-wrap:wrap}.topbar .service-description{order:3;flex-basis:100%;margin:4px 0 0;padding:10px 0 0;border-left:0;border-top:1px solid var(--stroke);font-size:13px}.note-section-heading{gap:8px}.wizard-panel .note-section-heading h2{font-size:20px}.section-purpose{min-width:0;flex-basis:100%}.note-section-body .thought-support,.note-section-body .wizard-revised{margin-left:0}}
@media(max-width:500px){.emotion-item{grid-template-columns:minmax(0,1fr) 48px;gap:8px}.emotion-item select{grid-column:1/-1}.emotion-item .slider-area{grid-column:1;grid-row:2;gap:7px;grid-template-columns:14px minmax(0,1fr) 25px 34px}.slider-area .score{width:34px;font-size:21px}.emotion-item>button,.emotion-item>span{grid-column:2;grid-row:2}.wizard-panel .note-section-heading h2{font-size:19px}.preview-controls-bottom{align-items:stretch}}
@media print{.preview-controls-bottom{display:none!important}}
