/* Personal05: owning composition. The common shell and semantic palette remain shared. */
.personal-country-flag{display:inline-block;width:36px;height:25px;vertical-align:middle;flex-shrink:0;border-radius:2px;overflow:hidden;filter:drop-shadow(0 2px 3px #0005)}
.personal-breadcrumbs{display:flex;align-items:center;gap:12px;min-height:24px;color:var(--text-secondary);font-size:.9rem;margin-bottom:12px}
.catalog-body>.nav{position:relative}
.catalog-body .catalog-page{padding:20px 40px 48px;background:transparent}
.catalog-body .catalog-page>.container{max-width:1506px;padding:0}
.catalog-body .catalog-page h1{font-size:clamp(2rem,3.6vw,3.5rem);line-height:1.08;margin:4px 0 4px}
.catalog-body .catalog-intro{font-size:1.25rem;margin:0 0 12px}
.catalog-workspace:not([hidden]){display:grid;grid-template-columns:minmax(0,2.25fr) minmax(300px,1fr);gap:28px;position:relative}
.catalog-list-column{min-width:0;container-type:inline-size;container-name:catalog-list}
.catalog-body .catalog-reference{margin:0 0 16px;padding:12px 0;border-block:1px solid var(--border)}
.catalog-body .catalog-reference summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;font-size:.875rem}
.catalog-body .catalog-reference summary strong{font-size:2.7rem;line-height:1.1}
.catalog-body #catalogReferenceDate{grid-column:1/-1;font-size:.85rem;color:var(--text-secondary)}
.catalog-body .search-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.catalog-body .breadcrumbs{min-height:24px;margin-bottom:0;font-size:.9rem}.catalog-body .search-box{margin-top:0}
.catalog-body #catalogSearch{border-radius:12px;min-height:54px;border-color:var(--input-border)}
.catalog-body .catalog-toolbar{margin-top:0;gap:12px;flex-wrap:wrap}
.catalog-body .catalog-views{gap:12px;flex-wrap:wrap}
.catalog-body .catalog-results-title{margin:0;gap:10px;flex-wrap:wrap;padding:3px 0}
.catalog-body .catalog-results-title h2{font-size:.8rem}
.catalog-body #catalogFullStatus{font-size:.7rem}
.catalog-body .catalog-board-status{font-size:.7rem;line-height:1.4;min-height:0;margin:4px 0}
.catalog-body .catalog-comparison{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:4px 0;margin:0}
.catalog-body .search-box{margin-bottom:14px}
.catalog-personal-summary{min-width:0;width:250px;max-width:100%}.catalog-personal-summary #catalogPersonalLink{display:block;padding:0;min-height:28px}.catalog-personal-summary .catalog-board-status{margin:0;font-size:.65rem;line-height:1.3}.catalog-body #catalogMeetingLink{font-size:1rem;white-space:normal;min-height:44px}.catalog-comparison[data-selected=false]{padding:0;border:0;min-height:0}.catalog-comparison[data-selected=false] #catalogSelection{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.catalog-body #catalogReferenceDate::after{content:none}
.catalog-body #catalogSelection{font-size:.75rem;line-height:1.5}
.catalog-body #catalogCompare{font-size:.85rem;min-height:44px;white-space:normal}
.catalog-column-headings{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,.9fr) minmax(0,.8fr) 121px;gap:14px;padding:8px 12px;border-bottom:1px solid var(--border);font-size:.8rem;color:var(--text-secondary)}
.catalog-column-headings>span:last-child{font-size:.65rem}.catalog-heading-context{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.catalog-heading-context h2{font-size:.8rem;line-height:1.5;margin:0}.catalog-heading-context #catalogFullStatus{font-size:.65rem;line-height:1.5}
.catalog-body .catalog-results{padding:0}
.catalog-body .catalog-row{grid-template-columns:minmax(0,1.8fr) minmax(0,.9fr) minmax(0,.8fr) max-content;gap:14px;padding:6px 12px;min-height:80px;border-color:var(--border)}
.catalog-body .catalog-identity{display:grid;grid-template-columns:38px minmax(0,1fr);gap:4px 16px;align-items:center}
.catalog-identity .personal-country-flag{grid-column:1;grid-row:1/span 2}
.catalog-identity .catalog-city,.catalog-identity .catalog-context{grid-column:2}
.catalog-body .catalog-city{color:var(--text);font-size:1.5rem;font-weight:650;line-height:1.25}
.catalog-body .catalog-context{font-size:.9rem;line-height:1.4}
.catalog-body .catalog-time{font-size:2.8rem;line-height:1;font-weight:700}
.catalog-body .catalog-date{font-size:.875rem;line-height:1.4}
.catalog-body .catalog-actions{flex-direction:row;align-items:center;gap:5px}
.catalog-body .catalog-save,.catalog-body .catalog-select{display:flex;flex-direction:column;align-items:center;justify-content:center;width:max-content;min-width:58px;min-height:44px;gap:2px;padding:3px}
.catalog-body .catalog-save span,.catalog-body .catalog-select{font-size:.875rem}
.catalog-body .catalog-offset{font-size:1.1rem}
.catalog-world{border:1px solid var(--border);border-radius:14px;padding:22px 26px;align-self:start;background:var(--glass);min-width:0}
.catalog-world h2{font-size:2rem;line-height:1.2;margin:0 0 6px}
.catalog-world>p{line-height:1.5;color:var(--text-secondary)}
.catalog-earth{display:block;width:100%;height:auto;margin:12px 0 0;mask-image:radial-gradient(ellipse 51% 53% at 50% 50%,#000 83%,transparent 99%)}
.catalog-art-note{font-size:.7rem;text-align:center;margin:0 0 14px}
.catalog-world .btn{display:flex;justify-content:center;align-items:center;width:100%;margin:10px 0;min-height:54px;white-space:normal;text-align:center;font-size:1rem}
.catalog-body .catalog-world .catalog-tomorrow,.dashboard-create-event{background:linear-gradient(115deg,#ffd76a,#ffba21);border:1px solid #ffd06a;color:#17140c;box-shadow:0 0 26px #ffba211c}
.personal-action-icon{flex-shrink:0;vertical-align:middle}.catalog-world .personal-action-icon{margin-right:14px}


.catalog-planet-link{display:block;text-align:right;padding:15px 0 0}
.catalog-world-context p{font-size:.85rem;line-height:1.6;padding:12px;border:1px solid var(--border);border-radius:8px;margin:12px 0}
.catalog-world-context button{font:inherit;min-height:44px;background:var(--glass);color:var(--accent);border:1px solid var(--border);border-radius:8px;padding:8px 12px;margin-right:8px}
.catalog-body .catalog-recovery{padding:14px;border:1px solid var(--border);border-radius:10px}
.catalog-body .catalog-recovery-actions{display:flex;flex-wrap:wrap;gap:10px}
.catalog-body .catalog-recovery button{white-space:normal;min-height:44px}
.catalog-body #catalogCountries{margin-top:28px}
@media(min-width:1200px){.catalog-body .catalog-reference{position:absolute;right:0;bottom:calc(100% + 16px);width:28.5%;border:0;padding:0;margin:0}.catalog-body .catalog-reference[open]{position:relative;right:auto;bottom:auto;width:auto}}
@media(max-width:900px){.catalog-workspace:not([hidden]){grid-template-columns:minmax(0,1fr)}.catalog-world{max-width:600px;width:100%;margin:auto}.catalog-earth{max-width:360px;margin-inline:auto}}
@media(max-width:600px){.catalog-body .catalog-page{padding:22px 18px}.catalog-body .catalog-row{grid-template-columns:minmax(0,1fr) auto;padding:16px 0;gap:10px}.catalog-body .catalog-identity{grid-template-columns:30px minmax(0,1fr);gap:4px 10px}.catalog-identity .personal-country-flag{width:28px;height:20px}.catalog-body .catalog-city{font-size:1.15rem}.catalog-body .catalog-time{font-size:2rem}.catalog-body .catalog-offset{grid-column:1}.catalog-body .catalog-actions{grid-column:2;grid-row:2;justify-content:flex-end}.catalog-body .catalog-intro{font-size:1rem}.catalog-world{padding:18px}.catalog-body .catalog-toolbar a{white-space:normal}.catalog-column-headings{display:block;padding:8px 0}.catalog-column-headings>span:not(.catalog-heading-context){display:none}.catalog-body .catalog-comparison{display:block}}

/* Board presentation consumes the existing board, card faces and single shared clock. */
.dashboard-page>.nav{position:relative}
.dashboard-page .dashboard-main{width:100%;max-width:1586px;padding:28px 40px 56px}
.dashboard-heading{margin-bottom:12px;max-width:none}
.dashboard-heading h1{font-size:clamp(2.4rem,4vw,3.6rem);line-height:1.08;margin-bottom:8px;overflow-wrap:anywhere}
.dashboard-heading>p:last-child{font-size:1.25rem;max-width:none;color:var(--text-secondary)}
.dashboard-workspace{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 352px;column-gap:20px;align-items:start}
.dashboard-workspace::before{content:'';position:absolute;z-index:-1;top:10px;left:8%;right:14%;height:150px;border-top:1px solid #38b8ed80;border-radius:50%;box-shadow:0 -4px 16px #11afff22;pointer-events:none}
.dashboard-tabs{grid-column:1/-1;display:flex;gap:28px;border-bottom:1px solid var(--border);padding:8px 0;margin-bottom:18px}
.dashboard-tabs a{padding:8px 10px;min-height:44px;font-size:1.2rem}
.dashboard-tabs a[aria-current]{border-bottom:3px solid var(--accent);font-weight:600}
.dashboard-workspace>.dashboard-source{grid-column:1/-1;padding:0;border:0;margin-top:14px;font-size:.75rem}
.dashboard-workspace>.dashboard-toolbar{grid-column:1/-1;border:0;margin:0 0 18px;padding:0;align-items:center;gap:10px}
.dashboard-page #dashboardAdd{background:var(--glass);color:var(--accent);border:1px solid var(--accent)}
.dashboard-page .dashboard-toolbar>.btn,.dashboard-more>summary{min-height:44px;border-radius:10px}
.dashboard-more-panel{z-index:20;max-width:calc(100vw - 36px)}
.dashboard-more-panel .dashboard-scenario-label{display:grid;margin-top:16px}
.dashboard-more-panel #dashboardView{margin-top:16px}
.dashboard-more-panel select{max-width:100%}
.dashboard-more-panel .dashboard-view-panel{position:static;width:auto;padding:12px 0;border:0;box-shadow:none}
.dashboard-page .dashboard-grid{grid-column:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;grid-auto-rows:auto;margin:0}
.dashboard-page .dashboard-card{position:relative;isolation:isolate;overflow:hidden;--dashboard-content-padding:30px 22px 20px;padding:var(--dashboard-content-padding);min-height:480px;border:1px solid #4e95bd80;border-radius:16px;background-color:#03172b;background-image:linear-gradient(#042965 0%,#086bc1 60%,#07305b 100%);background-position:center bottom;background-size:100% auto;background-repeat:no-repeat;color:#f4f8ff}
.dashboard-page .dashboard-card[data-art=night]{background-image:linear-gradient(#020d25 0%,#041f50 65%,#03162b 100%)}
.dashboard-page .dashboard-card[data-art=home]{background-image:linear-gradient(#03102b 0%,#073760 65%,#031426 100%)}
.dashboard-page .dashboard-card[data-art=space]{background-image:url('/assets/visual-fidelity/shared/starfield-v1.bb10631e68e4.webp');background-size:cover;background-position:center}
.dashboard-page .dashboard-card::after{content:'';position:absolute;z-index:-1;inset:30% -30% 10%;border:1px solid #42cafa40;border-radius:50%;transform:rotate(-19deg);pointer-events:none}
/* D41 exact proposal: gradients sampled from unchanged image edge bands; no bitmap fill. */
.dashboard-page .dashboard-card[data-art=home]{--dashboard-scene-aspect:1272/1237;background-color:#010e28;background-image:none;--dashboard-edge-left:linear-gradient(to bottom,#010c23 0%,#000c23 4.5%,#000c24 9%,#000e28 13.5%,#01112e 18%,#011231 25%,#0a224a 40%,#935047 60%,#20120b 80%,#000209 100%);--dashboard-edge-right:linear-gradient(to bottom,#010b22 0%,#000c24 4.5%,#010e27 9%,#000f29 13.5%,#00102c 18%,#001433 25%,#1a2b4d 40%,#01173c 60%,#00132d 80%,#002c5f 100%);}
.dashboard-page .dashboard-card[data-art=day]{--dashboard-scene-aspect:1007/1562;background-color:#00286c;background-image:none;--dashboard-edge-left:linear-gradient(to bottom,#002568 0%,#002669 4.5%,#002b72 9%,#1d4c9a 13.5%,#013282 18%,#0244a2 25%,#2b82d9 40%,#b1dbec 60%,#012449 80%,#012953 100%);--dashboard-edge-right:linear-gradient(to bottom,#002a70 0%,#002b72 4.5%,#00307d 9%,#0d4397 13.5%,#1755ae 18%,#0154b8 25%,#2a89e1 40%,#a2daf2 60%,#013569 80%,#011530 100%);}
.dashboard-page .dashboard-card[data-art=night]{--dashboard-scene-aspect:978/1608;background-color:#000c27;background-image:none;--dashboard-edge-left:linear-gradient(to bottom,#000a25 0%,#000c28 4.5%,#000c28 9%,#000c29 13.5%,#000d2a 18%,#000f2f 25%,#00143f 40%,#082763 60%,#010621 80%,#00020d 100%);--dashboard-edge-right:linear-gradient(to bottom,#000b25 0%,#000b24 4.5%,#000c29 9%,#000e2e 13.5%,#000d2b 18%,#000e2e 25%,#00143f 40%,#1c2a66 60%,#0a0e25 80%,#010514 100%);}
.dashboard-page .dashboard-card:is([data-art=home],[data-art=day],[data-art=night])::before{content:'';position:absolute;z-index:-2;left:0;right:0;bottom:0;width:100%;height:auto;max-height:100%;aspect-ratio:var(--dashboard-scene-aspect);background:var(--dashboard-edge-left) left bottom/50% 100% no-repeat,var(--dashboard-edge-right) right bottom/50% 100% no-repeat;mask-image:linear-gradient(to bottom,transparent,#00000026 4.5%,#00000080 9%,#000000d9 13.5%,#000 18%);pointer-events:none}
/* The complete primary scene retains native proportions over sampled edge colors. */
.dashboard-page .dashboard-card>.dashboard-scene{display:block;position:absolute;z-index:-1;left:50%;bottom:0;transform:translateX(-50%);width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;pointer-events:none;mask-image:linear-gradient(to right,transparent,#00000026 2%,#00000080 4%,#000000d9 6%,#000 8%,#000 92%,#000000d9 94%,#00000080 96%,#00000026 98%,transparent),linear-gradient(to bottom,transparent,#00000026 4.5%,#00000080 9%,#000000d9 13.5%,#000 18%);mask-composite:intersect}
.dashboard-page .dashboard-card>.dashboard-scene[hidden]{display:none}
.dashboard-page .dashboard-card:is([data-art=home],[data-art=day],[data-art=night])::after{content:none}
.dashboard-page .dashboard-card h2{font-size:1.9rem;line-height:1.25}
.dashboard-page .dashboard-card h2 a{color:#f4f8ff}
.dashboard-page .dashboard-card .dashboard-icon-button{color:#b9e4f4;background:#031629b0}
.dashboard-page .dashboard-country{color:#c5d6e9;font-size:.8rem;min-height:30px;line-height:1.4}
.dashboard-page .dashboard-clock{min-height:130px;justify-content:flex-start;align-items:flex-start}
.dashboard-page .dashboard-clock time{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:baseline;font-size:clamp(3rem,5.7vw,5.6rem);font-weight:650;line-height:1.1;letter-spacing:-.045em;font-variant-numeric:tabular-nums;text-shadow:0 2px 20px #00101f}
.dashboard-clock time>span{white-space:nowrap}
.dashboard-page .dashboard-clock .dashboard-seconds{font-size:.36em;color:#a5eaff}
.dashboard-page .dashboard-date,.dashboard-page .dashboard-day-difference{text-align:left;color:#edf5ff;font-size:1rem;text-shadow:0 2px 7px #00101f}
.dashboard-page .dashboard-date{width:fit-content;max-width:100%;padding:4px 8px;border-radius:6px;background:#03172b;text-shadow:none}
.dashboard-page .dashboard-day-difference:not(:empty){width:fit-content;max-width:100%;padding:2px 8px;border-radius:6px;background:rgba(3,23,43,.55);backdrop-filter:blur(8px);margin-top:4px}
.dashboard-page .dashboard-offset{text-align:left;color:#edf5ff;font-size:.8rem;border:1px solid #80b4d877;padding:9px 12px;border-radius:8px;width:fit-content;margin-top:12px;background:#001327b8}
.dashboard-card-context{display:none}
.dashboard-page .dashboard-card[data-anchor=true]{--dashboard-content-padding:28px 32px 20px;padding:var(--dashboard-content-padding);border-color:#20dcf6;box-shadow:0 0 24px #00d5ff24}
.dashboard-card[data-anchor=true] .dashboard-card-context{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#bdd4eb;font-size:.9rem;line-height:1.4;margin-bottom:12px}
.dashboard-page .dashboard-card[data-anchor=true] h2{font-size:2.35rem;line-height:1.15}
.dashboard-page .dashboard-card[data-anchor=true] .dashboard-country{min-height:22px}
.dashboard-page .dashboard-card[data-anchor=true] .dashboard-clock{min-height:158px;justify-content:flex-start;align-items:flex-start}
.dashboard-page .dashboard-card[data-anchor=true] .dashboard-clock time{font-size:clamp(4rem,8.7vw,8.6rem);line-height:1.05}
.dashboard-reference-badge{display:none}
.dashboard-card[data-anchor=true] .dashboard-reference-badge{position:absolute;bottom:12px;left:28px;display:flex;align-items:center;justify-content:center;min-height:65px;width:226px;max-width:calc(100% - 56px);padding:8px 12px;border:1px solid #00d9f0;border-radius:12px;background:#00192d;color:#6feeff;text-align:center;font-size:1rem}
.dashboard-page .dashboard-card[data-face=analog] .dashboard-clock{align-items:center;min-height:260px}
.dashboard-page .dashboard-card[data-face=analog] .dashboard-clock time{font-size:1.4rem;letter-spacing:0}
.dashboard-page .dashboard-card[data-face=analog] .dashboard-dial{background:#031629d9;border-radius:50%;max-width:250px}
.dashboard-workspace>.dashboard-reference-anchor{grid-column:1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:22px;border:1px solid var(--accent);border-radius:16px;margin-bottom:16px}
.dashboard-reference-anchor h2{overflow-wrap:anywhere}.dashboard-reference-reading time{font-size:3rem;font-variant-numeric:tabular-nums}
.dashboard-workspace>.dashboard-meta,.dashboard-workspace>.dashboard-help,.dashboard-workspace>.dashboard-scenario-panel,.dashboard-workspace>.dashboard-footer-actions,.dashboard-workspace>.dashboard-empty,.dashboard-workspace>.dashboard-primary-actions{grid-column:1}
.dashboard-primary-actions{display:flex;gap:16px;margin:30px 0 10px;flex-wrap:wrap}
.dashboard-primary-actions .btn{flex:1;min-height:86px;font-size:1.1rem;white-space:normal}
.dashboard-workspace>.dashboard-meta{border-top:1px solid var(--border);padding-top:16px}
.dashboard-page .dashboard-reorder-controls{background:#031629ee;color:#fff;flex-wrap:wrap}
.dashboard-page .dashboard-reorder-controls button{min-height:44px}
.dashboard-page .dashboard-focus-header{flex-wrap:wrap}
.dashboard-workspace>.dashboard-event-entry{grid-column:2;grid-row:2/span 4;display:block;margin:0;border:0;padding:0;min-width:0}
.dashboard-nearest-event,.dashboard-future-event{position:relative;isolation:isolate;border:1px solid var(--border);border-radius:14px;padding:24px 22px;background:var(--glass);overflow-wrap:anywhere}
.dashboard-nearest-event{min-height:394px;display:flex;flex-direction:column;align-items:stretch}
.dashboard-event-eyebrow{font-size:.95rem;line-height:1.4;color:var(--text-secondary);margin-bottom:18px}
.dashboard-nearest-event h2{font-size:1.85rem;line-height:1.2;margin-bottom:10px}
.dashboard-nearest-event time{display:block;font-size:1.35rem;line-height:1.5}
.dashboard-event-zone{font-size:1rem;line-height:1.4;color:var(--text-secondary);margin-top:4px}
.dashboard-event-countdown{font-size:2.65rem;line-height:1.2;font-weight:650;border-top:1px solid var(--border);padding-top:18px;margin:18px 0 10px;font-variant-numeric:tabular-nums}
.dashboard-event-countdown[data-phase=waiting]::after{content:'до начала';display:block;font-size:1rem;color:var(--text-secondary);font-weight:400;margin-top:5px}
.dashboard-nearest-event>.btn{margin-top:auto;min-height:56px;font-size:1rem;white-space:normal;border-color:var(--accent);color:var(--accent)}
.dashboard-future-event{min-height:216px;margin-top:12px;overflow:hidden;padding-right:90px}
.dashboard-future-event .dashboard-event-eyebrow{margin-bottom:14px}
.dashboard-future-event h3{font-size:1.5rem;line-height:1.25;position:relative;z-index:1}
.dashboard-future-event time{display:block;font-size:1.05rem;line-height:1.45;margin-top:7px;position:relative;z-index:1}
.dashboard-future-event>a{position:relative;z-index:1;display:inline-flex;align-items:center;min-height:44px;font-size:.85rem}
.dashboard-future-art{position:absolute;z-index:-1;inset:0;background:url('/assets/visual-fidelity/personal/future-earth-v1.19600aa1048f.png') right bottom/236px 113px no-repeat,url('/assets/visual-fidelity/personal/future-fireworks-v1.5968fc77a94d.png') right 10px top 16px/75px 62px no-repeat}
.dashboard-event-collection{margin-top:8px;font-size:.8rem}
.dashboard-event-collection summary{cursor:pointer;min-height:44px;padding:10px 6px;color:var(--accent)}
.dashboard-personal-list{list-style:none;padding:0;margin:0;min-width:0}
.dashboard-personal-list a{display:block;min-height:44px;padding:.65rem 0;overflow-wrap:anywhere}
.dashboard-page :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.dashboard-page input{caret-color:var(--accent)}
.dashboard-source-details>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--text-secondary);font-size:.75rem}.dashboard-source-details>p{font-size:.75rem;line-height:1.6;padding:8px 0 12px}
#dashboardSpecialClocks{margin:12px 0}
#dashboardLegacyMode p{margin:0 0 8px}
@media(min-width:1200px){.dashboard-workspace>.dashboard-tabs{grid-row:1;grid-column:1/-1;padding-right:650px}.dashboard-workspace>.dashboard-toolbar{grid-row:1;grid-column:1/-1;justify-self:end;align-self:start;width:auto;justify-content:flex-end;margin:0}.dashboard-workspace>.dashboard-source{grid-row:10}.dashboard-page .dashboard-grid-focus-few{grid-template-columns:minmax(0,1.67fr) minmax(0,1.05fr) minmax(0,1fr)}}
@media(max-width:1199px){.dashboard-workspace{grid-template-columns:minmax(0,1fr)}.dashboard-workspace>.dashboard-event-entry{grid-column:1;grid-row:auto;margin-top:22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dashboard-future-event{margin:0}.dashboard-event-collection{grid-column:1/-1}.dashboard-page .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-page .dashboard-card[data-anchor=true] .dashboard-clock time{font-size:clamp(3.5rem,9vw,7rem)}}
@media(max-width:600px){.dashboard-page .dashboard-main{padding:26px 18px 44px}.dashboard-heading>p:last-child{font-size:1rem}.dashboard-page .dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-page .dashboard-card,.dashboard-page .dashboard-card[data-anchor=true]{min-height:450px;--dashboard-content-padding:24px;padding:var(--dashboard-content-padding)}.dashboard-page .dashboard-card h2,.dashboard-page .dashboard-card[data-anchor=true] h2{font-size:1.7rem}.dashboard-page .dashboard-clock time{font-size:clamp(52px,19vw,88px)}.dashboard-page .dashboard-card[data-anchor=true] .dashboard-clock time{font-size:clamp(56px,22vw,96px)}.dashboard-page .dashboard-card[data-anchor=true] .dashboard-clock{min-height:130px}.dashboard-page .dashboard-clock{min-height:120px}.dashboard-page .dashboard-card[data-anchor=true] .dashboard-reference-badge{left:22px;max-width:calc(100% - 44px);width:230px;bottom:9px}.dashboard-primary-actions{gap:10px;margin-top:20px}.dashboard-primary-actions .btn{flex-basis:100%;min-height:68px}.dashboard-tabs{gap:14px;flex-wrap:wrap}.dashboard-card[data-anchor=true] .dashboard-card-context{flex-wrap:wrap}.dashboard-more[open]{flex-basis:100%;width:100%}.dashboard-more-panel{position:static;width:100%;max-width:100%;margin-top:8px}.dashboard-workspace>.dashboard-event-entry{display:block}.dashboard-future-event{margin-top:12px}.dashboard-nearest-event{min-height:330px}.dashboard-workspace>.dashboard-reference-anchor{grid-template-columns:minmax(0,1fr)}.dashboard-more-panel{right:0;max-width:calc(100vw - 36px)}}
@media(prefers-reduced-motion:reduce){.dashboard-card{transition:none}}
/* Intrinsic catalog reflow has priority over the normal compact row breakpoints. */
@media(max-width:999px){
 .dashboard-card[data-anchor=true] .dashboard-reference-badge{position:static;width:auto;max-width:100%;margin-top:18px}
 .catalog-body .catalog-reference summary{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
 .catalog-body .catalog-reference summary>span{max-width:none}
 .catalog-body .catalog-row{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:18px}
 .catalog-body .catalog-actions{grid-column:1;grid-row:auto;justify-content:flex-start;flex-wrap:wrap;gap:12px}
 .catalog-body .catalog-save,.catalog-body .catalog-select{width:auto;flex-direction:row;padding:8px;gap:8px;overflow-wrap:normal;word-break:normal}
 .catalog-body .catalog-city{overflow-wrap:normal;word-break:normal}
 .catalog-body .catalog-offset{flex-wrap:wrap}
}
/* Reuse the compact flow when enlarged text outgrows the four-column reading. */
@container catalog-list (width < 40rem){
 .catalog-body .catalog-row{grid-template-columns:minmax(0,1fr)}
 .catalog-body .catalog-actions{grid-column:1;grid-row:auto;justify-content:flex-start;flex-wrap:wrap}
 .catalog-body .catalog-city{overflow-wrap:normal;word-break:normal}
 .catalog-body .catalog-offset{flex-wrap:wrap}
}


/* Current board: frame the complete scenes inside a comparison-sized card. */
.dashboard-page:not(.is-focus-mode) .dashboard-grid{grid-template-columns:minmax(0,1.45fr) repeat(2,minmax(0,1fr));align-items:start;container-type:inline-size;container-name:dashboard-board}
.dashboard-page:not(.is-focus-mode) .dashboard-card{min-height:470px;min-width:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;align-self:start;overflow:hidden}
.dashboard-page:not(.is-focus-mode) .dashboard-placeholder{overflow:clip}
.dashboard-page:not(.is-focus-mode) .dashboard-card>.dashboard-card-content{display:flex;flex-direction:column;grid-area:1/1;z-index:1;min-width:0;padding:22px 18px 18px;min-height:470px}
.dashboard-page:not(.is-focus-mode) .dashboard-card>.dashboard-scene{grid-area:1/1;position:absolute;inset:auto 0 0;transform:none;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover;object-position:center bottom;mask:none;border-radius:14px}
.dashboard-page:not(.is-focus-mode) .dashboard-card[data-art=day]::after{content:'';position:absolute;inset:0;z-index:0;border:0;border-radius:0;transform:none;background:linear-gradient(to bottom,#021536a8 0%,#031c4755 38%,transparent 70%);pointer-events:none}
.dashboard-page .dashboard-card::before{display:none}
.dashboard-page .dashboard-card .dashboard-clock{min-height:100px;flex:none;justify-content:flex-start;align-items:flex-start;container-type:inline-size}
.dashboard-page .dashboard-card .dashboard-clock time{--dashboard-digital-size:clamp(2.6rem,4.2vw,4.5rem);font-size:var(--dashboard-digital-size);letter-spacing:-.035em}
.dashboard-page .dashboard-card[data-anchor=true] .dashboard-clock time{--dashboard-digital-size:clamp(3.2rem,6vw,6.1rem);font-size:var(--dashboard-digital-size)}
.dashboard-page .dashboard-card[data-anchor=true] .dashboard-clock{min-height:128px}
.dashboard-page .dashboard-card h2,.dashboard-page .dashboard-card[data-anchor=true] h2{font-size:1.6rem;line-height:1.18;overflow-wrap:anywhere}
.dashboard-page .dashboard-card[data-anchor=true] h2{font-size:2rem}
.dashboard-page .dashboard-country{font-size:.875rem;min-height:25px}
.dashboard-page .dashboard-card .dashboard-offset{font-size:.875rem;margin-top:8px;max-width:100%;overflow-wrap:anywhere}
.dashboard-card[data-anchor=true] .dashboard-reference-badge{position:static;min-height:44px;width:fit-content;max-width:100%;margin-top:auto;align-self:start}
.dashboard-page .dashboard-card-context{font-size:.875rem}
.dashboard-page .dashboard-card[data-face=analog] .dashboard-clock{min-height:245px;align-items:center}
.dashboard-page .dashboard-card[data-face=analog] .dashboard-clock time{font-size:1.2rem}
.dashboard-page .dashboard-card[data-face=analog] .dashboard-dial{max-width:205px}
.dashboard-nearest-event:has(.dashboard-event-countdown:empty){min-height:220px}
.dashboard-primary-actions{margin:18px 0 10px}
.dashboard-primary-actions .btn{min-height:64px;font-size:1rem}
.dashboard-source-details>summary,.dashboard-source-details>p,.dashboard-event-collection{font-size:.875rem}
@media(min-width:1200px){.dashboard-workspace{grid-template-columns:minmax(0,1fr) 300px;gap:0 20px}.dashboard-workspace>.dashboard-tabs{padding-right:625px}.dashboard-page .dashboard-toolbar>.btn,.dashboard-more>summary{padding-inline:12px}.dashboard-nearest-event{min-height:260px}.dashboard-future-event{min-height:180px}}
@media(min-width:601px) and (max-width:1199px){.dashboard-page:not(.is-focus-mode) .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-page .dashboard-card .dashboard-clock time{--dashboard-digital-size:clamp(3rem,6vw,5rem);font-size:var(--dashboard-digital-size)}}
@media(max-width:600px){
 .dashboard-page .dashboard-main{padding:18px 16px 36px}.dashboard-heading{margin-bottom:6px}.dashboard-heading h1{font-size:2rem;margin-bottom:4px}.dashboard-heading>p:last-child{margin-bottom:6px}
 .dashboard-tabs{gap:16px;padding:0;margin-bottom:10px}.dashboard-tabs a{font-size:1rem;padding:8px 4px}
 .dashboard-workspace>.dashboard-toolbar{gap:8px;margin-bottom:12px;display:flex;flex-wrap:wrap}.dashboard-toolbar>.btn,.dashboard-more>summary{font-size:.875rem;padding:8px 10px}
 .dashboard-workspace>.dashboard-source{margin-top:8px;font-size:.875rem}
 .dashboard-page:not(.is-focus-mode) .dashboard-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .dashboard-page:not(.is-focus-mode) .dashboard-card,.dashboard-page:not(.is-focus-mode) .dashboard-card>.dashboard-card-content{min-height:355px}
 .dashboard-page:not(.is-focus-mode) .dashboard-card>.dashboard-card-content{padding:18px}
 .dashboard-page .dashboard-card h2,.dashboard-page .dashboard-card[data-anchor=true] h2{font-size:1.6rem}
 .dashboard-page .dashboard-card .dashboard-clock time,.dashboard-page .dashboard-card[data-anchor=true] .dashboard-clock time{--dashboard-digital-size:clamp(3.2rem,18vw,4.6rem);font-size:var(--dashboard-digital-size)}
 .dashboard-page .dashboard-card .dashboard-clock,.dashboard-page .dashboard-card[data-anchor=true] .dashboard-clock{min-height:86px}
 .dashboard-page .dashboard-card[data-face=analog] .dashboard-clock{min-height:230px}
 .dashboard-primary-actions .btn{min-height:52px;flex-basis:100%}.dashboard-nearest-event{min-height:200px}
}
/* Catalog is a list of cities with an immediately reachable world exploration. */
.catalog-body .catalog-board-status,.catalog-personal-summary .catalog-board-status,.catalog-heading-context #catalogFullStatus,.catalog-body #catalogFullStatus,.catalog-body #catalogSelection,.catalog-column-headings>span:last-child{font-size:.875rem;line-height:1.4}
.catalog-world-jump{display:none}
@media(max-width:999px){
 .catalog-body .catalog-reference{padding:8px 0;margin-bottom:10px}.catalog-body .catalog-reference summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px}.catalog-body .catalog-reference summary>span{font-size:.875rem}.catalog-body .catalog-reference summary strong{font-size:1.75rem;grid-column:2;grid-row:1/span 2}.catalog-body #catalogReferenceDate{grid-column:1;font-size:.875rem}
 .catalog-world-jump{display:inline-flex;align-items:center;min-height:44px;white-space:normal}
 .catalog-body .catalog-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:4px 12px;padding:12px 0;align-items:start}
 .catalog-body .catalog-identity{grid-column:1;grid-row:1;grid-template-columns:28px minmax(0,1fr);gap:3px 8px}.catalog-body .catalog-city{font-size:1.1rem;overflow-wrap:anywhere}.catalog-body .catalog-context{font-size:.875rem;line-height:1.35}
 .catalog-body .catalog-time{font-size:1.8rem}.catalog-body .catalog-date{font-size:.875rem}.catalog-body .catalog-offset{grid-column:1;font-size:.875rem;align-self:center}
 .catalog-body .catalog-actions{grid-column:2;grid-row:2;gap:6px;justify-content:flex-end}.catalog-body .catalog-save,.catalog-body .catalog-select{font-size:.875rem;padding:5px;gap:5px;min-width:44px}
 .catalog-body .catalog-comparison{display:flex;padding:0;gap:0 12px}.catalog-personal-summary{width:auto;flex:1 1 100%}.catalog-personal-summary #catalogPersonalLink{display:inline-flex;min-height:30px;align-items:center}
 .catalog-body .catalog-column-headings{padding:6px 0}.catalog-body .catalog-toolbar{gap:4px 12px}.catalog-body .catalog-views{gap:12px}.catalog-body .catalog-intro{margin-bottom:8px}
 .catalog-body .catalog-world{scroll-margin-top:16px}.catalog-world h2{font-size:1.6rem}
}
@media(max-width:600px){.catalog-body .catalog-page{padding:14px 16px 32px}.catalog-body .catalog-page h1{font-size:2rem}.catalog-body #catalogSearch{min-height:48px}.catalog-body .search-box{margin-bottom:8px}.catalog-body .catalog-toolbar{align-items:center}.catalog-body #catalogMeetingLink{padding:6px 0;min-height:44px}.catalog-body .catalog-views a{padding:8px 0}.catalog-heading-context h2{font-size:.875rem}.catalog-body .catalog-workspace{gap:18px}}
@container catalog-list (width < 20rem){.catalog-body .catalog-row{grid-template-columns:minmax(0,1fr)}.catalog-body .catalog-actions{grid-column:1;grid-row:auto;justify-content:flex-start}.catalog-body .catalog-offset{grid-column:1}}

@container catalog-list (width < 20rem){.catalog-body .catalog-reference summary{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.catalog-body .catalog-reference summary>span{max-width:100%;overflow-wrap:anywhere}}
/* Keep HH:MM and live seconds together; fit only when the reading exhausts its own column. */
.dashboard-page .dashboard-card:not([data-face=analog]) .dashboard-clock time{font-size:min(var(--dashboard-digital-size),29cqi)}
.dashboard-page .dashboard-card .dashboard-clock time{max-width:100%;flex-wrap:nowrap}
@media(max-width:999px){.catalog-body .catalog-reference summary{padding:4px 0;min-height:52px}.catalog-body .catalog-toolbar{justify-content:flex-start}.catalog-body .catalog-views{flex-basis:100%}.catalog-world-jump{margin-left:auto}.catalog-body .catalog-personal-summary{display:flex;flex-wrap:wrap;gap:0 12px;align-items:center}.catalog-body .catalog-personal-summary #catalogPersonalLink{font-size:.875rem}.catalog-body .catalog-heading-context{gap:0 8px}.catalog-body .catalog-city{padding:0;min-height:44px;align-content:center}}

/* Keep primary actions beneath the clock grid on desktop (per 05-my-time.png). */
@media(min-width:1200px){.dashboard-workspace>.dashboard-primary-actions{grid-column:1;margin:18px 0 10px;align-self:start}.dashboard-workspace>.dashboard-event-entry{grid-row:2/span 6}}

/* 05: strong action symbols, blue inset picker and coherent native settings. */
.dashboard-card[data-anchor=true] .dashboard-reference-badge{display:inline-flex;align-items:center;gap:8px}.dashboard-reference-badge .control-svg{width:20px;height:20px}.dashboard-card [data-action=settings] .control-svg{width:22px;height:22px}.dashboard-card [data-action=settings] [data-control-label]{display:none}
.dashboard-page #dashboardAdd>[data-control-icon],.dashboard-page #dashboardFocus>[data-control-icon]{width:24px;height:24px}.dashboard-page #dashboardAdd,.dashboard-page #dashboardFocus{gap:12px}
.dashboard-dialog .control-search-field input,.dashboard-page select,.dashboard-dialog select{background:var(--control-fill);border-color:var(--control-edge);box-shadow:var(--control-light);border-radius:10px}.dashboard-dialog .control-search-field{border-radius:12px}

/* T28: keep clock cards close to the primary actions on narrow screens. */
@media(max-width:360px){
 .dashboard-workspace>.dashboard-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px}
 .dashboard-workspace>.dashboard-toolbar>.btn,.dashboard-workspace>.dashboard-toolbar>.dashboard-more{min-width:0;width:100%;margin:0}
 .dashboard-workspace>.dashboard-toolbar>.btn{display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal}
 .dashboard-workspace>.dashboard-toolbar>.dashboard-more>summary{display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal;overflow-wrap:normal;gap:4px;padding-inline:6px}
}

/* T28: use a compact two-line city row while preserving labels and 44px actions. */
@container catalog-list (width < 20rem){
 .catalog-body .catalog-row{grid-template-columns:minmax(0,1fr) max-content;gap:2px 10px;padding-block:10px}
 .catalog-body .catalog-identity{grid-column:1;grid-row:1;grid-template-columns:28px minmax(0,1fr);gap:2px 8px}
 .catalog-body .catalog-time-group{grid-column:2;grid-row:1/span 2;align-self:center;text-align:right}
 .catalog-body .catalog-time{font-size:1.55rem}
 .catalog-body .catalog-offset{grid-column:1;grid-row:2;align-self:center}
 .catalog-body .catalog-actions{grid-column:1/-1;grid-row:3;justify-content:flex-start;gap:8px}
}

.dashboard-page .dashboard-guide{border:1px solid var(--glass-border);border-radius:14px;background:var(--glass);padding:24px 28px;margin-top:28px}
.dashboard-page .dashboard-guide .dashboard-guide-links{margin-bottom:0}

/* Give each fact a full row when the compact columns outgrow the list. */
@container catalog-list (width < 13rem){
 .catalog-body .catalog-row{grid-template-columns:minmax(0,1fr);gap:8px}
 .catalog-body .catalog-row > *{grid-column:1;grid-row:auto}
 .catalog-body .catalog-city{overflow-wrap:normal}
 .catalog-body .catalog-time-group{text-align:start}
}

/* Stage 3B P2 (L03): daytime clock cards, light London scene, and crisp catalog earth mask. */
html[data-theme="light"] .dashboard-workspace::before{border-top-color:rgba(56,162,216,.38);box-shadow:0 -4px 16px rgba(56,162,216,.12)}
html[data-theme="light"] .dashboard-page .dashboard-card{border-color:rgba(88,148,188,.45);background:#edf6fe;color:#142b3d;box-shadow:0 12px 30px rgba(24,74,114,.1)}
html[data-theme="light"] .dashboard-page .dashboard-card[data-anchor=true]{border-color:#2ab9dc;box-shadow:0 12px 34px rgba(14,158,196,.2)}
html[data-theme="light"] .dashboard-page .dashboard-card::after{content:'';position:absolute;inset:0;z-index:0;border:0;border-radius:14px;transform:none;pointer-events:none;background-color:#edf6fe;background-repeat:no-repeat}
html[data-theme="light"] .dashboard-page .dashboard-card[data-art=home]::after{background-image:linear-gradient(180deg,#edf6fe 0%,#eef7ff 38%,rgba(238,247,255,0) 60%),url('/assets/visual-fidelity/personal/home-river-light-v1.41b0cc4b5267.webp');background-size:100% 100%,100% auto;background-position:center top,center bottom}
html[data-theme="light"] .dashboard-page .dashboard-card[data-art=day]::after{background-image:linear-gradient(180deg,#edf6fe 0%,#eef7ff 38%,rgba(238,247,255,0) 60%),url('/assets/visual-fidelity/personal/day-city-light-v1.748e337cd92d.webp');background-size:100% 100%,100% auto;background-position:center top,center bottom}
html[data-theme="light"] .dashboard-page .dashboard-card[data-art=day][data-city="london"]::after,html[data-theme="light"] .dashboard-page .dashboard-card[data-art=night][data-city="london"]::after{background-image:linear-gradient(180deg,#edf6fe 0%,#eef7ff 38%,rgba(238,247,255,0) 60%),url('/assets/visual-fidelity/personal/london-city-light-v1.1999aae08fc1.webp');background-size:100% 100%,100% auto;background-position:center top,center bottom}
html[data-theme="light"] .dashboard-page .dashboard-card[data-art=night]::after{background-image:linear-gradient(180deg,#edf6fe 0%,#eef7ff 38%,rgba(238,247,255,0) 60%),url('/assets/visual-fidelity/personal/night-city-light-v1.aaf02f9e386b.webp');background-size:100% 100%,100% auto;background-position:center top,center bottom}
html[data-theme="light"] .dashboard-page .dashboard-card[data-art=space]::after{background-image:radial-gradient(circle at 75% 85%,rgba(120,196,242,.28),transparent 58%),linear-gradient(180deg,#f5faff,#e4f1fb);background-size:cover}
html[data-theme="light"] .dashboard-page .dashboard-card h2 a{color:#142b3d}
html[data-theme="light"] .dashboard-page .dashboard-country{color:#3b5369}
html[data-theme="light"] .dashboard-page .dashboard-card-context{color:#3b5369}
html[data-theme="light"] .dashboard-page .dashboard-card .dashboard-icon-button{color:#086b88;background:rgba(255,255,255,.88);border:1px solid rgba(88,148,188,.34)}
html[data-theme="light"] .dashboard-page .dashboard-clock time{color:#102437;text-shadow:none}
html[data-theme="light"] .dashboard-page .dashboard-clock .dashboard-seconds{color:#142b3d;opacity:.8}
html[data-theme="light"] .dashboard-page .dashboard-date{background:#f4f9fe;color:#142b3d;border:1px solid rgba(88,148,188,.28);box-shadow:0 2px 8px rgba(24,74,114,.08);text-shadow:none}
html[data-theme="light"] .dashboard-page .dashboard-day-difference{color:#142b3d;text-shadow:none}
html[data-theme="light"] .dashboard-page .dashboard-day-difference:not(:empty){background:rgba(255,255,255,.92);border:1px solid rgba(88,148,188,.28)}
html[data-theme="light"] .dashboard-page .dashboard-offset{background:rgba(255,255,255,.9);color:#142b3d;border-color:rgba(88,148,188,.38)}
html[data-theme="light"] .dashboard-card[data-anchor=true] .dashboard-reference-badge{background:rgba(255,255,255,.94);color:#086b88;border-color:#089bb8;box-shadow:0 4px 14px rgba(24,74,114,.14)}
html[data-theme="light"] .dashboard-page .dashboard-card[data-face=analog] .dashboard-dial{background:rgba(255,255,255,.92);border:1px solid rgba(88,148,188,.36)}
html[data-theme="light"] .dashboard-page .dashboard-reorder-controls{background:rgba(255,255,255,.94);color:#142b3d;border:1px solid rgba(88,148,188,.36)}
html[data-theme="light"] .dashboard-future-art{opacity:.55;mask-image:linear-gradient(135deg,transparent 15%,#000 55%)}
html[data-theme="light"] .catalog-earth{mask-image:radial-gradient(circle closest-side at 50% 50%,#000 88%,transparent 99%)}
html[data-theme="light"] .catalog-body .catalog-row{border-color:rgba(45,108,148,.16)}

