.language-control{display:flex;align-items:center;gap:7px;flex-shrink:0;color:var(--muted,#d5c4ab);font-size:12px;position:relative;z-index:2}.language-control select{font:inherit;min-height:36px;max-width:132px;padding:6px 24px 6px 9px;border:1px solid #b59a6566;border-radius:8px;background:#211b29;color:#f2e1bd;cursor:pointer}.language-control select:focus-visible{outline:2px solid #ead28f;outline-offset:3px}.language-control select[aria-busy=true]{opacity:.7}.language-control option{color:#f2e1bd;background:#211b29}main>header{flex-wrap:wrap;gap:10px}.language-control label{white-space:nowrap}@media(max-width:600px){.language-control{gap:8px;margin-left:auto;max-width:100%;flex-wrap:wrap}.language-control label{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal;line-height:1.35;border:0}.language-control select{max-width:112px;min-height:40px;font-size:12px}html:not([lang=zh-CN]) .table-deck-nav button{white-space:normal;overflow-wrap:anywhere}html:not([lang=zh-CN]) .card-corner small{font-size:9px;line-height:1.15;max-width:75px}html:not([lang=zh-CN]) .focus-task-meta{flex-wrap:wrap}}html:not([lang=zh-CN]) button,html:not([lang=zh-CN]) label,html:not([lang=zh-CN]) h1,html:not([lang=zh-CN]) h2,html:not([lang=zh-CN]) h3{overflow-wrap:break-word}html:not([lang=zh-CN]) .zx-field{min-width:0}

main>header{height:auto;min-height:64px;padding-top:8px;padding-bottom:8px}@media(max-width:600px){.language-control select{font-size:16px}}

@media(max-width:760px){.sidebar .nav{font-size:14px!important}.table-deck-nav button,.table-deck-nav button[aria-pressed=true]{transform:none!important}.family-shortcuts button,.branch-picker button{hyphens:auto}}

@media(max-width:760px){.wheel-cell .level-1,.wheel-cell .level-2{display:none}.wheel-cell .level-0{font-size:40px!important}.family-shortcuts button{font-size:16px}html:not([lang=zh-CN]) .is-current .card-corner small{font-size:13px;line-height:1.4;max-width:none}.table-deck-nav button{font-size:14px!important;line-height:1.4!important}.joker-back .top-goals label{font-size:14px}.focus-task-meta button{font-size:13px!important;min-height:44px!important}}

/* Full names remain in the selection controls; numeric references keep dense rings readable. */
.wheel-selection{min-width:0;margin-bottom:20px}.wheel-selection h3{font-size:20px;line-height:1.4;margin:0 0 8px}.wheel-current{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 14px;padding:12px 0;color:#cdb7c1}.wheel-current strong{font-size:22px;line-height:1.4;color:#f4dfb9}.emotion-reference{font-variant-numeric:tabular-nums;font-size:12px;line-height:1.3;opacity:.75;flex-shrink:0;min-width:2.7em}.family-shortcuts button,.branch-picker button{display:flex;align-items:baseline;gap:7px;white-space:normal;text-align:left;line-height:1.45;min-height:44px;overflow-wrap:anywhere}.family-shortcuts button>span,.branch-picker button>span{min-width:0}.family-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.family-shortcuts button{padding:10px}.branch-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.branch-picker>section{min-width:0;padding:10px;background:#190f1c;border:1px solid #513947;border-radius:6px}.branch-picker .branch-title{width:100%;font-weight:700;border-bottom:1px solid #654858;margin-bottom:5px;color:#e4c998;border-radius:0}.branch-picker button{width:100%;padding:8px 4px}.wheel-diagram{border:1px solid #654858;border-radius:9px;padding:12px}.wheel-diagram>summary{cursor:pointer;min-height:44px;display:list-item;color:#e6be82;line-height:1.5;padding:8px}.wheel-close-label{display:none}.wheel-diagram[open] .wheel-open-label{display:none}.wheel-diagram[open] .wheel-close-label{display:inline}.wheel-scroller{max-width:100%;overflow:hidden}.emotion-wheel{width:100%;min-width:0;max-width:780px}.wheel-controls{flex-wrap:wrap}.wheel-controls button{min-width:0;flex:1 1 120px;line-height:1.4;white-space:normal}.wheel-caption{overflow-wrap:break-word}.atlas-count{white-space:normal;line-height:1.5}.atlas-tabs button{min-width:0;white-space:normal;line-height:1.4}.feeling-title h3{font-size:clamp(24px,3vw,38px);letter-spacing:0;line-height:1.35;overflow-wrap:anywhere}.feeling-title .zx-kicker{letter-spacing:.02em;line-height:1.5}.atlas-results button{white-space:normal;text-align:left;min-height:44px;overflow-wrap:anywhere}.atlas-results button small{display:block;margin-left:0}
html:not([lang=zh-CN]) .wheel-cell text{letter-spacing:0;font-size:18px}html:not([lang=zh-CN]) .wheel-cell .level-0{font-size:29px}html:not([lang=zh-CN]) .wheel-center-label{font-size:30px;letter-spacing:0}html:not([lang=zh-CN]) .table-deck-nav button{white-space:normal;line-height:1.35;height:auto;min-height:44px}.zx-field{min-width:0}.zx-field input,.zx-field select,.zx-field textarea{min-width:0;max-width:100%;box-sizing:border-box}#modal{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}#modalBody{min-width:0}#modalBody label.zx-field,#daily-settings-form label{display:flex;flex-direction:column;align-items:stretch;gap:8px;white-space:normal}#modalBody select,#daily-settings-form select{display:block;width:100%;min-width:0;max-width:100%;white-space:normal}#modalBody .actions,#modalBody .zx-actions,.cbt-actions{flex-wrap:wrap;gap:12px}.cbt-form .zx-kicker,.cbt-paths>*{white-space:normal;line-height:1.5}.time-scale>div{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.practice-options button{grid-template-columns:minmax(0,.35fr) minmax(0,1fr)}.fl-chart-key{flex-wrap:wrap}.fl-metrics>*{min-width:0}.fl-card,.fl-field,.fl-field input,.fl-field select,.fl-field textarea{min-width:0;max-width:100%}
@media(max-width:760px){.family-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.branch-picker{grid-template-columns:minmax(0,1fr)}.branch-picker>section{padding:12px}.branch-picker button{font-size:16px;min-height:44px}.branch-picker .branch-title{text-align:left;font-size:17px}.wheel-selection h3{font-size:20px}.wheel-current strong{font-size:22px}.emotion-wheel{min-width:0}.wheel-controls{gap:8px}.wheel-controls button{font-size:14px;padding:10px 8px;flex-basis:90px}.wheel-diagram{padding:8px}html:not([lang=zh-CN]) .wheel-cell .level-0{font-size:40px}html:not([lang=zh-CN]) .wheel-cell .level-1,html:not([lang=zh-CN]) .wheel-cell .level-2{display:none}.atlas-tabs{flex-wrap:wrap}.atlas-tabs button{flex:1 1 110px;min-height:44px}.actor-network{grid-template-columns:minmax(0,1fr)}.time-scale>div{grid-template-columns:minmax(0,1fr)}.practice-options button{grid-template-columns:minmax(0,1fr)}.practice-options span{grid-row:auto}.feeling-title{padding-left:14px;padding-right:14px}.feeling-title h3{font-size:29px}.zx-heading,.daily-section-title{flex-wrap:wrap;gap:10px}.zx-heading .zx-actions{max-width:100%}.zx-heading>.zx-btn{white-space:normal;max-width:100%}.sidebar nav{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-left:0}.sidebar .nav{min-width:0;white-space:normal;line-height:1.35;text-align:left}.zx-flow{flex-wrap:wrap}.zx-section-heading>*{min-width:0;max-width:100%}.zx-field select,.zx-field input,.zx-field textarea{font-size:16px}#modalBody{padding:24px 18px}.cbt-actions>*{max-width:100%;white-space:normal}.cbt-paths{grid-template-columns:minmax(0,1fr)}.calendar-grid{min-width:0}.calendar-week{font-size:12px;min-width:0;overflow-wrap:anywhere}.table-deck-nav{flex-wrap:wrap}.table-deck-nav button{min-width:0}.fl-row,.fl-actions,.zx-actions{flex-wrap:wrap}.fl-chart-key span{white-space:normal}.fl-formula{overflow-wrap:anywhere;white-space:normal}}
