/* Second design review: editorial controls and readable evidence. */
.cluster-map{height:560px;min-width:820px;position:relative;background:radial-gradient(circle at 50% 50%,#fffdf9,#f8efe3);border:1px solid #eadbc8;border-radius:24px;overflow:hidden}.cluster-wires{position:absolute;inset:0;width:100%;height:100%;z-index:0}.cluster-wires path{fill:none;stroke:#c8a77c;stroke-width:1.5;opacity:.7}.cluster-wires text{fill:#a27c52;font:10px Urbanist,sans-serif}.memory-cluster{position:absolute;width:29%;min-height:132px;padding:18px 19px;border:1px solid #e1cfb5;border-radius:20px;background:#fffdf9e8;box-shadow:0 8px 26px #6845170d;z-index:1}.memory-cluster.is-active{border-color:#c47d39;background:#302c25;color:#fff8eb;box-shadow:0 12px 32px #68451720}.cluster-slot-0{left:5%;top:12%}.cluster-slot-1{right:5%;top:12%}.cluster-slot-2{left:5%;bottom:12%}.cluster-slot-3{right:5%;bottom:12%}.cluster-slot-4{left:35.5%;top:2%}.cluster-slot-5{left:35.5%;bottom:2%}.memory-cluster header{display:flex;align-items:flex-start;gap:10px}.cluster-index{font-size:12px;color:#bc8b58}.memory-cluster .eyebrow{font-size:8px;color:#af9578}.memory-cluster.is-active .eyebrow,.memory-cluster.is-active .cluster-index{color:#efb165}.memory-cluster h3{font-size:21px;margin:3px 0 0;text-transform:capitalize}.memory-cluster header strong{margin-left:auto;font-size:25px;font-weight:400;color:#bd9366}.memory-cluster p{display:flex;flex-wrap:wrap;gap:4px;margin:14px 0 7px}.cluster-memory{border:0;padding:0;background:none;color:#8f6c49;text-align:left;font:400 10px Urbanist,sans-serif}.cluster-memory:after{content:' ↗'}.memory-cluster.is-active .cluster-memory{color:#f6c47e}.memory-cluster>small{font-size:9px;color:#b49c80}.memory-cluster.is-active>small{color:#d2b48c}
#emotion-chips{display:flex;align-items:center;gap:16px;padding:13px 0 17px;border-bottom:1px solid var(--border);margin-bottom:0;flex-wrap:wrap}
#emotion-chips label{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.1em}
#mood-filter{appearance:auto;border:0;background:transparent;color:#2b2925;font:500 14px Urbanist,sans-serif;padding:4px 12px 4px 0;min-width:135px;cursor:pointer}
.filter-caption{font-size:11px;color:#82796e;margin-left:auto}
.entry-card .emo-pill{border:0;background:none;padding:0;font-size:10px;letter-spacing:.025em;color:#7d7266;border-radius:0;gap:6px}
.entry-card .emo-pill .dot{width:5px;height:5px}.entry-card .row{gap:13px}
#btn-palette{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid #ded5cb;background:#f4eee7;border-radius:100px;color:#554d44}
#btn-palette svg{width:15px;height:15px}.search-label{font-size:12px}.search-shortcut{font-size:10px;color:#8b8074;padding-left:12px;border-left:1px solid #d7cbbb}.today-label{font-size:11px;letter-spacing:.03em;margin-right:13px}
.chat-welcome{text-align:left;max-width:720px;width:100%;padding:36px 14px 24px;margin:auto}
.chat-welcome>.eyebrow{font-size:10px;letter-spacing:.13em;color:#9b7150;display:block;margin-bottom:18px}
.chat-welcome h3{font-size:42px;letter-spacing:-.05em;line-height:1.1;max-width:410px}
.chat-welcome>p{font-size:15px;line-height:1.65;max-width:380px;margin:16px 0 28px}
.suggest-wrap{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;counter-reset:prompt;margin-top:0}
.suggest{position:relative;display:grid;grid-template-columns:22px 1fr 15px;align-items:center;gap:10px;border:0;border-top:1px solid #dcd1c4;background:transparent;border-radius:0;padding:20px 0;font-size:14px;color:#54493e;text-align:left;line-height:1.4;box-shadow:none}
.suggest::before{counter-increment:prompt;content:'0' counter(prompt);font-size:10px;color:#a69380}.suggest::after{content:'↗';font-size:17px;color:#6e5a47}.suggest:hover{background:transparent;color:#a45120;transform:none;border-color:#9c7555}
/* A daily intensity display: each mark is a real observation, never interpolated. */
.rhythm-panel #mood-line-wrap{height:auto!important;min-height:245px}.rhythm-panel .section-title{margin-bottom:27px}
#daily-rhythm{position:relative;padding-left:0}.rhythm-scale{display:flex;justify-content:space-between;color:#958574;font-size:10px;margin-bottom:14px}.rhythm-scale span:last-child{display:none}
.rhythm-stems{display:flex;gap:clamp(3px,.6vw,10px);align-items:stretch;height:160px;border-bottom:1px solid #e9e0d5;padding:14px 10px 10px;background:linear-gradient(180deg,#fcf8f2,#faf5ee);border-radius:18px}
.rhythm-day{flex:1;min-width:0;border:0;background:none;padding:0;display:flex;flex-direction:column;align-items:center;gap:10px;color:#877868;cursor:pointer}
.stem-track{display:flex;align-items:flex-end;width:100%;max-width:18px;height:125px;background:#eee6db66;border-radius:100px;overflow:hidden;position:relative}
.stem-fill{display:block;width:100%;height:var(--level);min-height:2px;border-radius:100px;background:linear-gradient(0deg,#d6bea4,#bb9166);box-shadow:inset 1px 0 1px #fff8}
.rhythm-day[aria-pressed=true] .stem-fill{background:linear-gradient(0deg,#f3b567,#e4822b)}
.rhythm-day[aria-pressed=true] small{color:#2a2723;font-weight:700}.rhythm-day:hover .stem-fill{background:#d29457}
.rhythm-day small{font-size:9px}.rhythm-day.unwritten .stem-track{background:#f1ebe2;border:0}.rhythm-day.unwritten .stem-fill{display:none}
.rhythm-detail{display:flex;align-items:center;gap:18px;padding:17px 0 6px;min-height:83px}.rhythm-detail>div{display:flex;align-items:center;gap:15px}.rhythm-detail strong{font:400 27px Urbanist,sans-serif;white-space:nowrap}.rhythm-detail strong small{font-size:11px;color:#a09181}.rhythm-detail p{font-size:11px;color:#857460;margin:0}.rhythm-detail .text-action{margin-left:auto;font-size:11px}.rhythm-empty{padding:55px 12px;font-size:17px;color:#8d7c69;line-height:1.7}
#mood-week-compare{display:grid!important;grid-template-columns:1fr 1fr;gap:25px!important;padding-top:17px!important;margin-top:11px!important}
#mood-week-compare>div{display:flex;flex-direction:column;gap:7px}#mood-week-compare strong{font-size:27px;font-weight:400}#mood-week-compare strong small{font-size:11px;color:#93816d}#mood-week-compare>div>span:last-child{font-size:11px;color:#8a7b6a}.chart-note{font-size:10px;max-width:580px;color:#887a69}
/* Monthly writing journal */
#insight-activity>.card{border:0;background:none;padding:0}.heatmap-wrap{overflow:visible;padding:0}.writing-calendar{display:grid;grid-template-columns:1fr 1.45fr;gap:40px;padding:25px 0 33px}
.month-story{display:flex;flex-direction:column;align-items:flex-start;padding:15px 0}.month-story>h3{font-size:44px;line-height:1.1;margin:18px 0 26px}.month-story>h3 small{display:block;font-size:25px;color:#b3a18d;font-weight:300;margin-top:5px}
.month-totals{display:flex;gap:28px}.month-totals strong{font-size:34px;font-weight:400}.month-totals span{display:block;font-size:11px;color:#897864;margin-top:2px;font-weight:400}.month-story>p{font-size:13px;color:#978672;line-height:1.8;margin-top:24px}.month-pager{display:flex;align-items:center;gap:17px;margin-top:auto;padding-top:20px}.month-pager .btn{width:36px;height:36px;padding:0;min-height:0}.month-pager>span{font-size:11px;color:#92806d}
.month-sheet{padding:24px;background:#f4eee4;border-radius:23px;border:1px solid #e9dfd0;box-shadow:inset 0 1px 1px #fff}
.month-weekdays,.month-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.month-weekdays{font-size:10px;color:#a18e77;text-align:center;margin-bottom:15px}.writing-day{position:relative;min-width:0;aspect-ratio:1;display:grid;place-content:center;gap:3px;background:transparent;border:1px solid transparent;border-radius:50%;color:#ac9a85;font:400 13px Urbanist,sans-serif;padding:3px}.writing-day i{font-style:normal;font-size:7px;line-height:1;color:#ac8560}.writing-day.written{background:#fffaf2;border-color:#dbc7ad;color:#4c3a27;box-shadow:0 3px 8px #80644408}.writing-day.written:hover{background:#25231f;color:#fffaf3}.writing-day:disabled{cursor:default}.calendar-key{display:flex;align-items:center;gap:8px;font-size:10px;color:#9b866c;margin:18px 0 0}.calendar-key i{width:8px;height:8px;border-radius:50%;background:#c69c6a}
#insight-activity .insight-row{border-top:1px solid var(--border);padding-top:25px;gap:35px}#insight-activity .insight-row>.card{border:0;background:none;padding:0}#insight-activity .section-label{font:400 20px Urbanist,sans-serif!important;letter-spacing:-.025em!important;text-transform:none!important;color:#514638!important;margin-bottom:22px!important}
.feeling-segments{display:flex;gap:4px;height:8px;margin-bottom:20px;overflow:hidden;border-radius:100px}.feeling-segments span{border-radius:100px;opacity:.75}.feeling-ledger>div{display:grid;grid-template-columns:8px 1fr auto 55px;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #eee5d9;font-size:13px}.feeling-mark{width:6px;height:6px;border-radius:50%;background:var(--feeling)}.feeling-ledger>div>span:nth-child(2){text-transform:capitalize}.feeling-ledger strong{font-size:18px;font-weight:400}.feeling-ledger small{font-size:10px;color:#a08e78}.feeling-ledger strong small{font-size:10px;margin-left:2px}.topic-ledger{display:block}.topic-ledger button{display:flex;gap:13px;align-items:center;width:100%;padding:13px 0;border:0;border-bottom:1px solid #eee5d9;background:none;text-align:left;color:#574836;font:400 14px Urbanist,sans-serif}.topic-ledger button>small{font-size:10px;color:#a59075}.topic-ledger button>small:nth-last-child(2){margin-left:auto;white-space:nowrap}.topic-ledger button:hover{color:#bc7134}
/* Named memory connections, three at a time. */
.memory-explorer{display:grid;grid-template-columns:245px minmax(0,1fr);overflow:hidden;min-height:580px}
.memory-index{padding:28px 20px;background:#efe5d794;border-right:1px solid #ded0be}.memory-search{display:flex;gap:10px;align-items:center;border-bottom:1px solid #d6c5af;padding:13px 0;margin:10px 0 14px}.memory-search input{background:none;border:0;outline:none;min-width:0;width:100%;font:400 13px Urbanist,sans-serif;color:#43382b}.memory-search:focus-within{border-color:#b57037}.memory-search>span{font-size:23px;color:#8d765c}
#memory-list{max-height:480px;overflow:auto;padding-right:3px}.memory-index-item{width:100%;text-align:left;border:1px solid transparent;background:none;border-radius:15px;padding:14px 13px;margin:2px 0;display:grid;grid-template-columns:1fr 15px;gap:6px;color:#77634d}.memory-index-item time{grid-column:1/3;font-size:10px;color:#a28b72}.memory-index-item span{font:400 15px/1.3 Urbanist,sans-serif}.memory-index-item i{font-style:normal;font-size:15px;opacity:0}.memory-index-item[aria-pressed=true]{background:#fffaf2;border-color:#e5d5c0;color:#342b20;box-shadow:0 5px 15px #77502006}.memory-index-item[aria-pressed=true] i{opacity:1}.memory-index-item:hover{background:#fffaf28c}.memory-count{font-size:10px;margin:16px 12px 0;color:#9f896e}
.memory-stage{padding:30px;min-width:0}.memory-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:28px}.memory-heading>span:last-child{font-size:11px;color:#97826a}.memory-origin{position:relative;background:#292720;color:#fff8e9;padding:25px;display:flex;gap:18px;align-items:center;border-radius:23px;box-shadow:0 9px 24px #55402a0c}.memory-pin{font-size:11px;color:#c3ae91;align-self:flex-start;border:1px solid #ffffff30;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;flex-shrink:0}.memory-origin>div{min-width:0}.memory-origin time{font-size:10px;color:#c2b39c}.memory-origin h2{font-size:28px;line-height:1.15;margin:9px 0 10px;overflow-wrap:anywhere}.memory-origin p{font-size:11px;color:#bca88a;margin:0}.memory-open{margin-left:auto;flex-shrink:0;background:#f3a14f;border:0;border-radius:50%;width:36px;height:36px;font-size:20px;color:#352818}.connection-explanation{font-size:11px;color:#9b8469;margin:22px 0 4px;padding-left:22px;border-left:1px solid #d8c4aa}.memory-branches{padding-left:22px;border-left:1px solid #d8c4aa}.memory-branch{position:relative;padding-top:18px}.thread-reason{display:flex;align-items:center;gap:10px;font-size:10px;color:#9a754b;margin:0 0 10px}.thread-knot{position:absolute;left:-27px;width:9px;height:9px;background:#d2ab7e;border:2px solid #fffaf2;border-radius:50%}.connected-memory{display:grid;grid-template-columns:1fr 32px;gap:10px 16px;background:#f5eee3;border:1px solid #e5d7c3;border-radius:17px;padding:17px 20px;position:relative}.connected-memory:before{content:'';position:absolute;width:22px;left:-23px;top:26px;border-top:1px solid #d8c4aa}.connected-memory time{font-size:10px;color:#a28a6c}.connected-memory h3{font-size:21px;line-height:1.3;margin-top:5px}.read-memory{background:#fffaf1;border:1px solid #e1d0b7;width:30px;height:30px;border-radius:50%;color:#8b6d48;font-size:17px;align-self:center}.follow-memory{grid-column:1/3;border:0;border-top:1px solid #e4d5c0;background:none;padding:10px 0 0;color:#9b7951;font:400 10px Urbanist,sans-serif;text-align:left;display:flex;justify-content:space-between}.follow-memory:hover{color:#3a2e20}.memory-pagination{display:flex;align-items:center;gap:8px;margin-top:22px}.memory-pagination p{font-size:10px;color:#9d886d;margin-right:auto}.memory-pagination .btn{width:32px;min-height:32px;padding:0}.btn:disabled{opacity:.35;cursor:default}
/* Evidence gets readable rows, not pills. */
.wellbeing-card{border:0;background:#f3ede3;border-radius:22px;padding:26px}.wellbeing-card .level-strip{display:none}.wellbeing-card .head{align-items:flex-start;gap:12px}.wellbeing-card .name{font-size:26px;font-weight:400}.wellbeing-card .level{background:none!important;border:0!important;color:#897359!important;text-transform:none;letter-spacing:0;font-size:10px;padding:5px 0}.wellbeing-card .summary{font-size:15px;line-height:1.6;color:#6b5842;margin:22px 0;order:0}.signal-details,.signal-evidence{border-top:1px solid #deceb8;padding-top:13px;margin-top:16px;font-size:11px;color:#8f7656}.signal-details summary,.signal-evidence summary{cursor:pointer}.signal-details .stats-row{font-family:Urbanist,sans-serif;font-size:12px;padding-top:13px;line-height:1.8}.signal-details .stats-row b{font-weight:500}.wellbeing-card .cite-row{display:block;margin-top:10px}.wellbeing-card .cite-pill{display:grid;grid-template-columns:7px 75px 1fr 14px;align-items:center;gap:8px;border:0;border-top:1px solid #e2d2bc;border-radius:0;background:none;width:100%;padding:12px 0;color:#6f583e;text-align:left;font:400 12px Urbanist,sans-serif;max-width:none;white-space:normal}.wellbeing-card .cite-pill time{font-size:9px;color:#a48a6a}.cite-pill i{font-style:normal}.wellbeing-card .cite-pill .dot{width:5px;height:5px}.wellbeing-card.warn,.wellbeing-card.high{background:#f6e7d7}.wellbeing-card.warn .level,.wellbeing-card.high .level{color:#a2582c!important}
/* Music feels like a record sleeve, including its setup state. */
.spotify-intro{display:grid;grid-template-columns:1.15fr 1fr;min-height:405px;overflow:hidden;border-radius:28px;background:#fffcf6;border:1px solid #fff}
.record-room{position:relative;display:grid;place-items:center;min-height:390px;background:linear-gradient(130deg,#dfd0bd,#f6eddf);overflow:hidden}.record-disc{position:relative;width:265px;aspect-ratio:1;border-radius:50%;background:repeating-radial-gradient(circle at center,#2c2a25 0 2px,#38352e 3px 4px);box-shadow:20px 25px 30px #5d45252b;display:grid;place-items:center;transform:rotate(-18deg)}.record-disc:after{content:'';position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 40deg,transparent,#fff2,transparent 45%,#fff1,transparent 80%)}.record-label{width:95px;height:95px;border-radius:50%;background:#f4a652;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#34291c;font-size:13px;gap:5px}.record-label small{font-size:8px;letter-spacing:.12em}.record-label i{width:8px;height:8px;border-radius:50%;background:#dac5a5;border:2px solid #312c24;margin-top:5px}.record-caption{position:absolute;bottom:24px;left:28px;right:28px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.08em;color:#8c7255}.music-invitation{padding:38px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0}.music-service{display:flex;align-items:center;gap:8px;font-size:12px;color:#5e4b36;margin-bottom:24px}.music-service svg{width:20px;height:20px}.music-invitation h3{font-size:36px;line-height:1.08;max-width:310px;margin:0 0 18px}.music-invitation>p{font-size:14px;line-height:1.75;color:#8e775a;max-width:320px;margin-bottom:23px}.music-invitation .btn{font-size:12px;min-height:43px;padding-inline:21px}.music-invitation .connection-status{font-size:10px;margin:14px 0 0;color:#9c8567}.music-invitation .text-action{margin-top:10px;font-size:10px}.music-notes{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin:20px 0;padding:24px 28px;border:1px solid #fffcf5;background:#fffaf1e8;border-radius:23px}.music-notes>div{border-right:1px solid #e4d5c0;padding-right:20px}.music-notes>div:last-child{border:0}.music-notes small{font-size:10px;color:#b18b5e}.music-notes h4{font-size:20px;margin:6px 0 9px}.music-notes p{font-size:12px;line-height:1.6;color:#958064;margin:0}.music-hero{background:#eee2cf;border:1px solid #e2d2b9;box-shadow:none;border-radius:24px;padding:27px}.music-hero h2{font-weight:400}.music-hero .sub{color:#927757}.track-card{border:0!important;box-shadow:none!important;background:#fffaf2!important;border-radius:20px!important}.track-card img{border-radius:12px}.spotify-setup-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.spotify-setup-header h3{margin:0}.setup-status{font-size:10px;color:#927858;white-space:nowrap}.spotify-setup-intro{max-width:600px;color:#8b7357;font-size:14px;line-height:1.7}.spotify-setup-fields{margin-top:24px;padding-top:20px;border-top:1px solid #e4d6c3}.spotify-setup-fields>summary{font-size:12px;color:#81684a;cursor:pointer;margin-bottom:20px}.spotify-help{font-size:12px;line-height:1.8;color:#927a5e;max-width:600px;margin:18px 0}.spotify-help .code-line{overflow-wrap:anywhere;white-space:normal;font-size:11px;margin:10px 0}.settings-row label{font-size:11px;color:#917a5d}.settings-row .input{background:#f5eee3;border:1px solid #e2d3be;font-size:13px}.settings-row .btn-spotify{background:#292720}.settings-section h3{font-weight:400}
@media(max-width:1200px){.memory-explorer{grid-template-columns:210px minmax(0,1fr)}.memory-stage{padding:24px}.memory-origin{padding:20px;gap:12px}.memory-origin h2{font-size:24px}.memory-pin{display:none}.music-invitation{padding:28px}.record-disc{width:220px}.writing-calendar{gap:25px;grid-template-columns:.85fr 1.15fr}.month-sheet{padding:19px}.rhythm-stems{gap:5px}.rhythm-detail{gap:12px;flex-wrap:wrap}.rhythm-detail>div{gap:12px}.filter-caption{display:none}}
@media(max-width:980px){.memory-explorer{grid-template-columns:1fr}.memory-index{border-right:0;border-bottom:1px solid #ded0be;padding:20px}.memory-index>.eyebrow{display:none}.memory-search{margin:0 0 10px;padding:8px 0}#memory-list{display:flex;gap:7px;overflow-x:auto;max-height:110px;scroll-snap-type:x proximity}.memory-index-item{min-width:170px;width:170px;flex-shrink:0;scroll-snap-align:start}.memory-count{display:none}.writing-calendar{grid-template-columns:1fr;gap:20px}.month-story{display:grid;grid-template-columns:1fr 1fr;gap:10px}.month-story>.eyebrow{grid-column:1/3}.month-story>h3{margin:8px 0;font-size:35px}.month-story>p{display:none}.month-totals{align-self:center;gap:18px;justify-content:flex-end}.month-pager{grid-column:1/3;justify-content:space-between;padding-top:10px}.month-sheet{max-width:100%}.spotify-intro{grid-template-columns:1fr}.record-room{min-height:260px}.record-disc{width:190px}.record-caption{font-size:8px}.music-invitation h3{max-width:100%}.music-invitation>p{max-width:100%}.music-notes{gap:15px;padding:20px}.music-notes h4{font-size:17px}.suggest-wrap{grid-template-columns:1fr}.chat-welcome{padding:22px 8px}.chat-welcome h3{font-size:35px}.suggest{padding:15px 0}}
@media(max-width:780px){.search-shortcut{display:none}.today-label{display:none}.topbar #btn-palette{padding:7px 11px;gap:7px}.search-label{font-size:11px}.rhythm-panel #mood-line-wrap{min-height:0}.rhythm-stems{height:145px;gap:4px}.stem-track{height:110px}.rhythm-day small{font-size:7px}.rhythm-day:nth-child(even) small{visibility:hidden}.rhythm-detail{gap:8px;padding-top:13px}.rhythm-detail>div{gap:11px}.rhythm-detail p{font-size:10px}.rhythm-detail strong{font-size:24px}.rhythm-detail .text-action{font-size:10px}#mood-week-compare{gap:15px!important}#mood-week-compare strong{font-size:25px}.writing-calendar{padding-top:10px}.month-sheet{padding:15px}.month-story>h3{font-size:30px}.month-story>h3 small{font-size:20px}.month-totals strong{font-size:29px}.month-totals span{font-size:9px}.month-days{gap:5px}.writing-day{font-size:12px}#insight-activity .insight-row{grid-template-columns:1fr;gap:26px}.memory-stage{padding:22px 18px}.memory-origin{padding:20px 17px}.memory-origin h2{font-size:24px}.memory-origin p{font-size:10px}.memory-open{width:30px;height:30px}.memory-heading{margin-bottom:20px}.memory-heading>span:last-child{font-size:10px}.memory-branches,.connection-explanation{padding-left:15px}.thread-knot{left:-20px}.thread-reason{font-size:9px}.connected-memory{padding:16px 14px}.connected-memory:before{left:-16px;width:15px}.connected-memory h3{font-size:20px}.memory-pagination p{font-size:9px}.memory-pagination{gap:6px}.music-notes{grid-template-columns:1fr;gap:18px}.music-notes>div{border-right:0;border-bottom:1px solid #e4d5c0;padding:0 0 17px}.music-notes>div:last-child{padding:0}.music-notes h4{font-size:21px}.music-invitation{padding:27px}.music-invitation h3{font-size:32px}.spotify-setup-header{align-items:flex-start;flex-direction:column;gap:10px}.signal-details .stats-row{font-size:11px}.wellbeing-card{padding:23px}.wellbeing-card .head{flex-direction:column;gap:5px}.wellbeing-card .cite-pill{grid-template-columns:5px 60px 1fr 10px;font-size:11px}.wellbeing-card .cite-pill time{font-size:8px}.chat-welcome h3{font-size:32px}.chat-welcome>p{font-size:14px}.suggest{font-size:13px}}
.rhythm-scale span:last-child{display:inline}.rhythm-scale{font-size:9px;letter-spacing:.04em}.listening-cover{position:relative;display:flex;min-height:265px;padding:34px 38px;overflow:hidden;background:#eee0cb}.listening-cover h2{font-size:43px;line-height:1.05;letter-spacing:-.045em;margin:18px 0 22px}.listening-cover .eyebrow{font-size:9px;color:#a08059}.connected-person{display:flex;gap:10px;align-items:center;font-size:13px;color:#685035}.connected-person img{width:33px;height:33px;border-radius:50%;object-fit:cover}.connected-person small{display:block;font-size:10px;margin-top:4px;color:#a08766}.cover-record{position:absolute;right:75px;top:35px;transform:rotate(13deg)}.cover-record .record-disc{width:220px}.listening-cover>.text-action{position:absolute;right:27px;bottom:24px;font-size:10px;color:#8f714e}.music-shelf{margin-top:18px;padding:28px}.music-shelf .section-title{margin:0 0 25px;display:flex;align-items:center;justify-content:space-between;gap:15px}.music-shelf .section-title h3{font-size:27px;margin-top:8px}.music-shelf .section-title .eyebrow{font-size:9px}.music-shelf #top-range{width:auto;border-radius:100px;padding:9px 13px;font-size:11px;background:#f3eadc;border-color:#ddcbb3}.music-shelf .track-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px 20px}.music-shelf .track{display:block;padding:0;border:0;border-radius:0;background:none;box-shadow:none;min-width:0}.music-shelf .track:hover{transform:none;box-shadow:none}.music-shelf .track .art{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:14px;background:#eaddc9;box-shadow:0 6px 12px #5f3d1612}.music-shelf .track .info{padding:12px 1px 0;min-width:0}.music-shelf .track .name{font-size:14px;font-weight:500;line-height:1.4;color:#59432b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.music-shelf .track .artist{font-size:11px;color:#a38765;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.music-rhythm-summary{display:grid;grid-template-columns:auto auto 1fr;gap:30px;align-items:center;margin-bottom:25px}.music-rhythm-summary strong{font-size:35px;font-weight:400;display:block}.music-rhythm-summary span{font-size:10px;color:#a1896c;display:block;margin-top:4px}.music-rhythm-summary p{font-size:13px;line-height:1.7;color:#907657;max-width:350px;margin-left:auto}.listening-ledger-head,.listening-day{display:grid;grid-template-columns:90px minmax(0,1fr) 140px;gap:25px;align-items:center}.listening-ledger-head{font-size:10px;color:#a48a6a;padding-bottom:14px;border-bottom:1px solid #ddcdb7}.listening-day{padding:15px 0;border-bottom:1px solid #ece1d1}.listening-day time{font-size:12px;color:#7c6244}.listening-volume{display:flex;align-items:center;gap:15px}.listening-volume>span{position:relative;flex:1;height:5px;background:#eee2d2;border-radius:100px}.listening-volume>span:before{content:'';display:block;width:var(--volume);height:100%;background:#b99467;border-radius:100px}.listening-volume b{font-size:12px;font-weight:400;min-width:20px;color:#816344}.journal-reading>span{font-size:11px;color:#ad987c}.journal-reading button{border:0;background:none;color:#8e6336;font:400 15px Urbanist,sans-serif;padding:0}.journal-reading small{font-size:10px;color:#a89070}.music-data-note{font-size:10px;color:#a48a6a;line-height:1.7;margin:22px 0 0}.audio-details{font-size:12px;color:#917353;margin-top:15px}.genre-details>summary{font-size:22px;color:#61482e;cursor:pointer;list-style:none;display:flex;gap:15px;align-items:center;justify-content:space-between}.genre-details>summary>span{font-size:10px;color:#a38662}.genre-details[open]>summary{margin-bottom:25px}.genre-details #mood-quadrant{background:none;border:0;padding:0;box-shadow:none}.music-reflection #music-insight{font-size:14px;line-height:1.8;color:#917456;background:none;border:0;padding:0}.music-reflection{background:#f1e5d3}.music-shelf .hour-bars .bar{background:linear-gradient(#b19067,#d8c3a6);border-radius:100px}.music-shelf .hour-bars{height:105px}.music-shelf .hour-meta{color:#9a805f;font-size:11px;line-height:1.8}.music-empty{font-size:14px;color:#9b8262;line-height:1.8}
@media(max-width:1200px){.cover-record{right:45px}.cover-record .record-disc{width:190px}.music-rhythm-summary{gap:20px}.music-shelf .track-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){.listening-cover h2{font-size:35px}.cover-record{right:-40px;top:40px}.cover-record .record-disc{width:190px}.listening-cover>div:first-child{position:relative;z-index:1;max-width:70%}.music-rhythm-summary{grid-template-columns:1fr 1fr}.music-rhythm-summary p{grid-column:1/3;max-width:none;margin:0}.listening-ledger-head,.listening-day{grid-template-columns:65px minmax(0,1fr) 100px;gap:15px}}
@media(max-width:780px){.listening-cover{padding:27px;min-height:270px}.listening-cover h2{font-size:33px}.cover-record{right:-70px;top:40px;opacity:.85}.cover-record .record-disc{width:170px}.cover-record .record-label{width:65px;height:65px;font-size:10px}.music-shelf{padding:23px}.music-shelf .section-title{align-items:flex-start;flex-wrap:wrap}.music-shelf .section-title h3{font-size:24px}.music-shelf .track-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.music-shelf .track .name{font-size:13px}.music-shelf .track .artist{font-size:10px}.genre-details>summary{font-size:20px;align-items:flex-start;flex-direction:column;gap:8px}.listening-ledger-head,.listening-day{grid-template-columns:58px minmax(0,1fr) 85px;gap:10px}.listening-ledger-head{font-size:9px}.music-rhythm-summary{gap:15px}.music-rhythm-summary strong{font-size:29px}.music-rhythm-summary p{font-size:12px}}
.memory-index{min-width:0}.memory-explorer>.empty{grid-column:1/-1}.memory-origin{min-width:0}
@media(max-width:980px){.memory-explorer{grid-template-columns:minmax(0,1fr)}#memory-list{min-width:0;max-width:100%}}
.chat-welcome .suggest-wrap{width:100%;max-width:none;margin:0}.chat-welcome{max-width:660px}.chat-input-wrap .chat-input{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0;outline:none}.chat-input-wrap:focus-within{border-color:#b79469;box-shadow:0 0 0 2px #b7946918}
@media(max-height:800px) and (min-width:781px){.chat-welcome{padding:12px 6px}.chat-welcome>.eyebrow{margin-bottom:11px}.chat-welcome h3{font-size:34px}.chat-welcome>p{font-size:13px;margin:12px 0 18px;max-width:440px}.chat-welcome .suggest{padding:14px 0;font-size:12px}.chat-feed{padding-top:12px;padding-bottom:12px}}
/* Desktop spatial map: readable memories, quiet continuous connections. */
.memory-explorer{grid-template-columns:minmax(0,1fr)}
.memory-index{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:center;gap:22px;padding:18px 26px;border-right:0;border-bottom:1px solid #e4d7c6;background:#f3ebdf}
.memory-index>.eyebrow,.memory-count{display:none}.memory-search{margin:0;padding:10px 0}#memory-list{display:flex;gap:8px;max-height:105px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity}
.memory-index-item{width:190px;min-width:190px;flex-shrink:0;scroll-snap-align:start;margin:0;padding:12px}.memory-index-item span{font-size:13px}.memory-index-item time{font-size:10px}
.memory-stage{padding:23px 28px}.memory-heading{margin-bottom:0}.spatial-map-scroll{overflow-x:auto}.spatial-map{height:600px;min-width:720px;position:relative}.memory-wires{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.memory-wires path{fill:none;stroke:#c3a47e;stroke-width:1.2;vector-effect:non-scaling-stroke}
.map-centre{position:absolute;left:37%;top:50%;transform:translateY(-50%);width:26%;border-radius:26px;background:#2c2922;color:#fff9ed;padding:25px 20px;box-shadow:0 12px 35px #543a1612;z-index:1}.map-centre>.eyebrow{color:#d4b183;font-size:9px;letter-spacing:.12em}.map-centre time{display:block;font-size:10px;color:#c4b49d;margin-top:17px}.map-centre h2{font-size:24px;line-height:1.2;margin:10px 0 14px;overflow-wrap:anywhere}.map-centre p{font-size:10px;line-height:1.6;color:#baa68a}.map-centre .memory-open{margin:17px 0 0;width:auto;height:auto;border-radius:100px;padding:10px 14px;font:500 11px Urbanist,sans-serif;background:#f2ac5c}
.map-neighbour{position:absolute;width:28%;top:23%;transform:translateY(-50%);border:1px solid #e4d5c0;background:linear-gradient(140deg,#fffdf9,#f5ecdf);border-radius:22px;box-shadow:0 7px 25px #6b462008;overflow:hidden;z-index:1}.map-slot-0,.map-slot-2{left:0}.map-slot-1,.map-slot-3{right:0}.map-slot-2,.map-slot-3{top:77%}.map-recentre{border:0;background:none;width:100%;text-align:left;padding:21px 21px 15px;color:#493a29}.map-recentre time{font-size:10px;color:#a08869}.map-recentre h3{font-size:20px;line-height:1.25;margin:9px 0 16px;overflow-wrap:anywhere}.map-shared{display:block;font-size:11px;line-height:1.6;color:#a07e53}.map-shared small{display:block;font-size:8px;letter-spacing:.07em;color:#b59b7b;margin-bottom:5px}.map-read{border:0;border-top:1px solid #e9dccb;background:#f6ecdf66;padding:11px 21px;width:100%;text-align:right;font:400 10px Urbanist,sans-serif;color:#9c7850}.map-recentre:hover{background:#f1e3d14d}.map-read:hover{color:#453323;background:#eaddc966}.map-link-label{position:absolute;z-index:2;padding:5px 9px;border:1px solid #dfc9a9;border-radius:999px;background:#fffaf2;color:#98724a;font-size:9px;letter-spacing:.02em;box-shadow:0 3px 12px #6b46200d;white-space:nowrap}.map-link-label-0{left:27%;top:31%}.map-link-label-1{right:27%;top:31%}.map-link-label-2{left:27%;top:65%}.map-link-label-3{right:27%;top:65%}.map-no-links{position:absolute;top:78%;width:100%;text-align:center;color:#9f8768;font-size:13px;line-height:1.7}.memory-pagination{margin-top:0;padding-top:14px;border-top:1px solid #eee3d4}.memory-heading>span:last-child{font-size:11px}.rhythm-day.unwritten small{color:#bcb0a0}
.relationship-field{height:560px;background:linear-gradient(90deg,#fbf6ee 0%,#fffdf9 48%,#f8f0e5 100%);border:1px solid #eadbc8;border-radius:24px}.relationship-field .map-centre{left:7%;top:50%;width:30%;padding:28px 24px}.relationship-field .map-neighbour{left:auto;right:7%;width:35%;height:94px;top:11%;transform:none;border-radius:16px}.relationship-field .map-slot-0{top:11%}.relationship-field .map-slot-1{top:29%}.relationship-field .map-slot-2{top:51%}.relationship-field .map-slot-3{top:69%}.relationship-field .map-recentre{padding:13px 18px 9px 48px;min-height:62px}.relationship-field .map-recentre time{font-size:9px}.relationship-field .map-recentre h3{display:inline-block;font-size:16px;margin:5px 0 4px;max-width:80%;vertical-align:top}.relationship-field .map-shared{font-size:9px;line-height:1.3}.relationship-field .map-shared small{display:inline;margin-right:7px;font-size:7px}.relationship-field .map-read{padding:7px 18px;font-size:9px}.relationship-field .map-order{position:absolute;left:17px;top:17px;color:#bc8b58;font-size:15px;font-weight:600}.relationship-field .map-link-label{left:48%;right:auto;padding:4px 8px;font-size:8px;background:#fffdf9}.relationship-field .map-link-label-0{top:17%}.relationship-field .map-link-label-1{top:35%}.relationship-field .map-link-label-2{top:57%}.relationship-field .map-link-label-3{top:75%}

/* Entries saved while the model was unreachable */
.unread-note{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 16px;padding:14px 18px;border:1px solid var(--border);border-radius:18px;background:rgba(255,250,240,.8);font-size:13px;color:var(--text)}
.unread-note span{flex:1 1 260px}

/* Wellbeing with too few entries: neutral, not the green of "no pattern" */
.wellbeing-card.insufficient .level-strip{background:var(--border)}
.wellbeing-card.insufficient .level{background:transparent;color:var(--text-muted);border-color:var(--border)}
