/* The first morning: the same green-and-brass world, with daylight and a personal notebook. */
.morning-page{overflow-anchor:none;background:radial-gradient(ellipse at 95% 5%,#c6a46612,transparent 45%),#0c1d18;}
.morning-page .murdle-top{gap:18px;align-items:center;flex-wrap:wrap;}
.morning-page .murdle-top>span{margin-left:auto;color:#b0b7a6;font-size:.9rem;}
.morning-identity{display:flex;align-items:center;gap:16px;border-top:1px solid #c1a16935;border-bottom:1px solid #c1a16935;padding:20px 0;margin:16px 0 38px;}
.morning-portrait{flex:none;display:block;width:58px;height:64px;border:1px solid #bea77766;background-image:url('assets/chronicle/ian-crowe-arrival.webp');background-size:480% auto;background-position:25.493421% 9.943182%;background-repeat:no-repeat;}
.morning-portrait.is-crowe{background-size:480% auto;background-position:80% 1.7%;}
.morning-identity>div{display:grid;gap:5px;}
.morning-identity strong{font-weight:500;font-size:1.08rem;color:#e3d1a5;}
.morning-identity>div span,.morning-identity-note{font-size:.875rem;color:#b4bdad;line-height:1.65;}
.morning-identity-note{margin-left:auto;letter-spacing:.04em;}
.morning-time{display:flex;align-items:center;gap:12px 24px;flex-wrap:wrap;margin-top:14px;color:#b8bda8;font-size:.9375rem;}
.morning-time time{color:#c7ad75;letter-spacing:.06em;font-variant-numeric:tabular-nums;}
.morning-page h1{color:#e6d8b4;font-family:"Songti SC","Noto Serif SC",Georgia,serif;font-weight:400;line-height:1.35;font-size:clamp(1.8rem,3.3vw,3rem);margin:22px 0 30px;}
.morning-scene-heading{max-width:800px;margin-inline:auto;}
.morning-scene-heading.is-transition{margin-bottom:26px;}
.morning-scene-heading h1,.morning-finished h1{font-size:clamp(1.65rem,2.6vw,2.25rem);line-height:1.5;text-wrap:balance;}
.morning-scene-image{width:min(100%,36rem,57svh);margin:0 auto;border:1px solid #b49b6655;}
.morning-scene-image img{width:100%;height:auto;display:block;}
.morning-prose{max-width:800px;margin:36px auto;}
.morning-prose>p{font-size:1.1rem;line-height:2;margin:24px 0;color:#d0d1bf;}
.morning-speech{margin:26px 0;padding:19px 24px;border:0;border-left:2px solid #bda472;background:linear-gradient(90deg,#c1a16b0e,transparent);}
.morning-speech>div{display:flex;align-items:center;gap:12px;}
.morning-speech .morning-portrait{width:42px;height:46px;}
.morning-speech cite{font-style:normal;color:#c4ad7d;font-size:.9375rem;}
.morning-speech p{font-size:1.15rem;line-height:1.9;margin:15px 0 0;color:#e0d8be;}
.morning-speech.is-you{border-color:#718f7d;background:linear-gradient(90deg,#84a28b0a,transparent);}
.morning-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;border-top:1px solid #baa0693b;margin-top:32px;padding-top:26px;}
.morning-actions .murdle-primary{margin-left:auto;min-height:46px;}
.morning-review{position:relative;font-size:.9rem;}
.morning-review summary{color:#c7b17c;cursor:pointer;}
.morning-review>div{position:absolute;z-index:8;top:32px;left:0;width:200px;box-sizing:border-box;padding:12px;display:grid;gap:10px;background:#14291f;border:1px solid #ac945c66;box-shadow:0 16px 40px #0007;}
.morning-review button,.morning-review a{min-width:0;white-space:normal;overflow-wrap:break-word;font-size:.875rem;padding:10px;background:transparent;border:0;color:#d8c9a4;text-align:left;}
.morning-cast{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:800px;margin:40px auto 0;}
.morning-cast h2{font-size:1.1rem;font-weight:500;color:#decca4;margin:16px 0 5px;}
.morning-cast article>span{font-size:.875rem;color:#bda570;}
.morning-cast p{font-size:1rem;line-height:1.9;color:#bac5b3;}
.morning-bench-heading{display:flex;gap:20px;justify-content:space-between;align-items:center;}
.morning-bench-heading h1{font-size:clamp(1.6rem,3vw,2.5rem);margin:16px 0;}
.morning-bench-heading p{font-size:1rem;line-height:1.8;}
.morning-difficulty{white-space:nowrap;color:#c7b17d;font-size:.875rem;}
.morning-rules{border-left:2px solid #9b885c;background:#a28d5b0a;padding:20px 24px;margin:24px 0 32px;}
.morning-rules h2{font-size:1rem;font-weight:500;color:#cfb781;margin:0 0 10px;}
.morning-rules p{margin:0;font-size:1rem;line-height:1.9;color:#c3ccb9;}
.morning-workbench{gap:28px;align-items:start;}
#app .morning-page .morning-evidence{display:block;}
.morning-page .morning-evidence{padding:24px;min-width:0;background:#14241c;border:1px solid #c7ac6b40;}
.morning-paper-heading{display:flex;align-items:baseline;gap:15px;border-bottom:1px solid #b49b6645;padding-bottom:16px;}
.morning-paper-heading span{color:#c4aa74;font-size:1rem;letter-spacing:.06em;}
.morning-paper-heading h2{font-size:1.05rem;font-weight:400;margin:0;color:#d3cbb0;line-height:1.6;}
.morning-reference{margin-top:22px;}
.morning-reference-cards{display:grid;gap:12px;margin:16px 0 24px;}
.morning-reference-cards article{display:grid;grid-template-columns:70px minmax(0,1fr);gap:14px;align-items:start;}
.morning-reference-cards article>div{min-width:0;}
.morning-reference-cards article>div:only-child{grid-column:1 / -1;}
.morning-reference-cards h3{font-size:1rem;font-weight:500;color:#d8c8a4;margin:0 0 5px;}
.morning-reference-cards article>div>span{font-size:.875rem;color:#bca36e;}
.morning-reference-cards p{font-size:.9375rem;line-height:1.75;margin:0;color:#b9c4b2;}
.morning-clues{list-style:none;margin:10px 0 0;padding:0;}
.morning-clues li{display:flex;gap:16px;border-top:1px solid #b6a17238;padding:22px 0;}
.morning-clue-number{font:1.15rem/1.5 Georgia,serif;color:#b99e68;}
.morning-source{font-size:.8125rem;letter-spacing:.04em;color:#a3b49e;}
.morning-clues h3{font-size:1.08rem;font-weight:500;color:#dfcfa7;margin:6px 0 9px;}
.morning-clues p{font-size:1rem;line-height:1.9;margin:0;color:#cbd0bc;}
.morning-page .morning-notebook{min-width:0;border-left:4px solid #645d3d;background:linear-gradient(90deg,#9c935516,transparent 8%),#13251d;padding:24px;}
.morning-notebook-intro{font-size:.9375rem;line-height:1.8;color:#b6bda6;margin:0 0 24px;}
.morning-page .experiment-notebook-heading{color:#d1bd88;font-family:"Songti SC",Georgia,serif;font-size:1.45rem;}
.morning-page .murdle-grid-layout{display:block;}
.morning-page .murdle-grid{margin-bottom:24px;}
.morning-page .murdle-grid caption{font-size:1rem;}
.morning-page .murdle-grid th{font-size:.875rem;word-break:normal;overflow-wrap:anywhere;}
.morning-page .murdle-grid .murdle-cell{min-height:45px;}
.morning-page .murdle-answer-fields{grid-template-columns:1fr;gap:16px;}
.morning-page .murdle-answer-fields select{width:100%;font-size:1rem;}
.morning-verdict h2{font-size:1.2rem;color:#dcca9d;line-height:1.6;}
.morning-verdict .chronicle-quiet{margin-top:14px;}
.morning-verdict .morning-actions{flex-direction:column;align-items:stretch;}
.morning-verdict .morning-actions .murdle-primary{margin:0;}
.morning-feedback{font-size:1rem;line-height:1.85;border-left:2px solid #b8a26b;padding:12px 16px;background:#beab7220;color:#e0d6b9;}
.morning-answer-record,.morning-completion-record{border:1px solid #b9a06977;background:linear-gradient(135deg,#384331,#1a2c20);padding:28px 32px;margin:28px 0;}
.morning-answer-record>span,.morning-completion-record>span{font-size:.875rem;color:#c9b381;letter-spacing:.12em;}
.morning-answer-record dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:25px 0 0;}
.morning-answer-record dt{font-size:.875rem;color:#b0bba2;margin-bottom:12px;}
.morning-answer-record dd{font-size:1.35rem;font-family:"Songti SC",Georgia,serif;color:#e4d8b3;margin:0;}
.morning-proof{max-width:800px;margin:32px auto;}
.morning-proof li{font-size:1rem;line-height:1.9;padding:10px 0;}
.morning-finished{max-width:800px;margin:50px auto;text-align:center;}
.morning-finished>p{font-size:1.15rem;line-height:1.9;color:#c4c8b3;}
.morning-completion-record{margin:36px auto;text-align:left;max-width:500px;}
.morning-completion-record strong{display:block;font:1.8rem/1.8 "Songti SC",Georgia,serif;color:#e1d2aa;margin-top:12px;}
.morning-completion-record p{font-size:.9375rem;color:#bbc5ad;}
.morning-entry{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:36px;border:1px solid #c4a87566;background:linear-gradient(120deg,#2d382b,#102119);margin:30px 0;padding:30px;}
.morning-entry h2{color:#e1d1a7;font:400 clamp(1.5rem,3vw,2.3rem)/1.4 "Songti SC",Georgia,serif;margin:15px 0;}
.morning-entry p{font-size:1rem;line-height:1.9;color:#c2ccb4;margin:0 0 24px;}
.morning-entry img{display:block;width:100%;height:auto;border:1px solid #b4a16f44;}
.morning-page :focus-visible,.morning-entry :focus-visible{outline:2px solid #e4c98d;outline-offset:4px;}
@media(min-width:981px){#app .morning-page .morning-workbench{grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);}#app .morning-page .morning-workbench>.morning-evidence{padding:24px;}}
@media(max-width:980px){.morning-page .morning-evidence,.morning-page .morning-notebook{padding:22px;}#app .morning-page .morning-workbench[data-workspace="notebook"]>.morning-evidence{display:none;}.morning-page .murdle-workbench-tabs{background:#10241b;}.morning-identity-note{display:none;}.morning-difficulty{display:none;}}
@media(max-width:980px){.morning-page:has(.morning-workbench[data-workspace="evidence"])>.experiment-floating-tools{display:none;}}
@media(max-width:640px){
 .morning-page .murdle-top{position:relative;}
 .morning-review{position:static;}
 .morning-review>div{top:calc(100% + 8px);left:0;right:0;width:auto;max-width:100%;max-height:60vh;max-height:60svh;overflow-y:auto;overscroll-behavior:contain;}
 .morning-page .murdle-top>span{display:none;}.morning-identity{gap:12px;margin-bottom:25px;}.morning-identity>div span{font-size:.8125rem;}.morning-identity strong{font-size:1rem;}.morning-identity>.morning-portrait{width:46px;height:51px;}
 .morning-prose{margin:24px 0;}.morning-prose>p{font-size:1rem;line-height:1.95;}.morning-speech{padding:16px 18px;margin:22px 0;}.morning-speech p{font-size:1.05rem;}
 .morning-cast{grid-template-columns:1fr;gap:24px;}.morning-cast article{display:grid;grid-template-columns:88px minmax(0,1fr);column-gap:16px;}.morning-cast .officeframe-art{grid-row:1/4;}.morning-cast h2{margin-top:0;}.morning-cast p{font-size:.9375rem;margin:10px 0 0;}
 .morning-page .morning-evidence,.morning-page .morning-notebook{padding:18px 14px;}.morning-rules{padding:18px;}.morning-clues li{gap:12px;}.morning-clues p{font-size:.9375rem;}.morning-reference-cards article{grid-template-columns:58px minmax(0,1fr);gap:12px;}
 .morning-answer-record{padding:24px;}.morning-answer-record dl{grid-template-columns:1fr;gap:20px;}.morning-answer-record dt{margin-bottom:7px;}.morning-answer-record dd{font-size:1.2rem;}.morning-actions{align-items:stretch;}.morning-actions .murdle-primary{margin-left:0;width:100%;text-align:center;}
 .morning-entry{grid-template-columns:1fr;gap:24px;padding:24px;}.morning-entry img{grid-row:1;}.morning-entry .murdle-primary{display:block;text-align:center;}
 .morning-time{font-size:.8125rem;gap:8px;}.morning-page .murdle-grid th{font-size:.8125rem;}.morning-finished{margin:30px auto;}
}
@media(prefers-reduced-motion:no-preference){.morning-story,.morning-resolution,.morning-finished{animation:morning-arrive .45s ease-out both;}}
@keyframes morning-arrive{from{opacity:.4;transform:translateY(7px)}to{opacity:1;transform:none}}
body[data-motion="reduced"] .morning-story,body[data-motion="reduced"] .morning-resolution,body[data-motion="reduced"] .morning-finished{animation:none;}

/* A remembered name stays beside the new records, on both mobile workspace views. */
.coffee-margin{border:1px solid #c5aa6a66;border-left:3px solid #c5aa6a;padding:16px 20px;margin:0 0 24px;background:#b9995214;}
.coffee-margin>span{font-size:.875rem;color:#c7ad79;letter-spacing:.06em;}
.coffee-margin p{font-family:"Songti SC",Georgia,serif;font-size:1.1rem;line-height:1.85;color:#e1d4b1;margin:9px 0 0;}
.chapter-one-history{margin-top:22px;font-size:.9375rem;color:#bfac82;}
.chapter-one-history summary{cursor:pointer;padding:8px 0;}
.chapter-one-history a{display:block;color:#d9caac;padding:12px 0;line-height:1.8;}
@media(max-width:640px){.morning-cast .cafecup-art{grid-row:1/4;}.coffee-margin{padding:14px;}.coffee-margin p{font-size:1rem;}}

@media(min-width:981px){.coffee-page .morning-evidence>.coffee-margin{display:none;}}
@media(max-width:640px){
 .morning-page .experiment-shortcut-bar .experiment-relation-links{grid-template-columns:1fr;gap:6px;}
 .morning-page .experiment-shortcut-bar .experiment-relation-link{font-size:.875rem;padding:9px 10px;gap:8px;}
 .morning-page .experiment-relation-links button span{white-space:normal;}
}

/* Mainline cafe portraits are photographic across profiles and dialogue. */
.coffee-portrait{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border:1px solid #b8a26c40;}
@media(max-width:640px){.morning-cast .coffee-portrait{grid-row:1/4;}}

/* Mainline visitors use the same photographic scene as their introduction. */
.morning-visitor{display:block;width:100%;aspect-ratio:1;border:1px solid #b8a26c40;background:url('assets/chronicle/morning-visitors.webp') 8% 12% / 450% auto no-repeat}
.morning-visitor.is-1{background-position:51% 15%}.morning-visitor.is-2{background-position:91% 20%}
@media(max-width:640px){.morning-cast .morning-visitor{grid-row:1/4}}

.morning-case-summary{max-width:42rem;margin:28px auto;text-align:left;}
.morning-case-summary p{font-size:1.0625rem;line-height:1.95;color:#c4c8b3;margin:0 0 1.2em;overflow-wrap:anywhere;}

/* Use the same mobile reading rhythm throughout the first chapter. */
@media(max-width:600px){
 .morning-prose>p,.morning-speech p{font-size:1rem;line-height:1.8;letter-spacing:normal;word-spacing:normal;text-align:start;text-wrap:wrap;word-break:normal;overflow-wrap:break-word;line-break:auto;}
 .morning-prose>p{margin-block:0 18px;}
}
