.tarot-sections{display:flex;gap:8px;margin:12px 0 22px}.tarot-sections .active{background:var(--accent);color:white}.tarot-study-nav{display:flex;align-items:end;justify-content:center;gap:12px;margin-bottom:20px}.tarot-study-nav label{width:min(420px,65%);margin:0}.tarot-study{display:grid;grid-template-columns:minmax(200px,330px) minmax(300px,680px);gap:28px;justify-content:center;margin-bottom:24px}.tarot-front{margin:0;align-self:start;position:sticky;top:16px}.tarot-front img{width:100%;border:6px solid var(--element);border-radius:12px;box-shadow:0 8px 24px #0002}.tarot-front figcaption{text-align:center;padding:12px}.tarot-paper{background:var(--surface);border:1px solid var(--line);border-top:7px solid var(--element);border-radius:14px;padding:26px}.tarot-meaning h2{font:600 27px Georgia,serif;margin:10px 0}.tarot-meaning p{line-height:1.7}.tarot-keywords{color:var(--element);font-weight:700;font-size:17px}.tarot-symbols{display:flex;flex-wrap:wrap;justify-content:center;gap:24px;margin:22px 0}.tarot-symbol{display:flex;flex-direction:column;align-items:center;gap:6px}.tarot-symbol>span{font-family:'Segoe UI Symbol',serif;font-size:38px;color:var(--element)}.tarot-symbol svg{width:38px;height:38px}.tarot-orientation{font-size:13px;font-weight:650;color:var(--muted)}.tarot-start{display:grid;grid-template-columns:200px minmax(240px,500px);justify-content:center;gap:32px;padding:28px}.tarot-start>img{width:100%;align-self:center}.tarot-heading{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.tarot-heading h2{margin:0}.tarot-deck{display:grid;grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:6px;padding:16px 0 26px}.tarot-back{aspect-ratio:22/36;min-height:75px;padding:0;background:#723640 url('/assets/tarot-back.svg') center/contain no-repeat;border:1px solid #d6b776;border-radius:5px;transition:transform .2s}.tarot-back:hover:not(:disabled){transform:translateY(-8px)}.tarot-back.chosen{opacity:.25;transform:translateY(-4px)}.tarot-spread{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.tarot-result{min-width:0;display:flex;flex-direction:column;gap:8px;text-align:center;animation:tarot-reveal .5s ease-out}.tarot-result h3{font-size:14px}.tarot-flip{padding:0;display:block;width:100%;background:var(--surface);border:4px solid var(--element);border-radius:12px;overflow:hidden;aspect-ratio:220/360}.tarot-flip img{width:100%;height:100%;object-fit:contain}.tarot-flip img.reversed{transform:rotate(180deg)}.tarot-flip.text-side{aspect-ratio:auto;min-height:320px;padding:16px;text-align:left;align-self:start}.tarot-flip .tarot-meaning h2{font-size:21px}.tarot-flip .tarot-meaning p{font-size:14px}.tarot-bottom{display:flex;align-items:center;justify-content:center;gap:24px;margin:24px 0}.tarot-bottom>img{width:90px;box-shadow:5px 4px #b6a589,10px 8px #723640}.tarot-bottom .tarot-result{width:min(240px,60%)}.tarot-transcript{margin-top:20px}.tarot-transcript textarea{width:100%;margin:10px 0}.shuffling .tarot-back{animation:tarot-shuffle .4s infinite alternate}.tarot-back:focus-visible{outline:3px solid var(--accent);outline-offset:3px}@keyframes tarot-shuffle{to{transform:translateY(-6px) rotate(3deg)}}@keyframes tarot-reveal{from{opacity:.2;transform:rotateY(60deg)}to{opacity:1;transform:none}}
.journey-layout{display:grid;grid-template-columns:minmax(260px,1fr) minmax(280px,1fr);gap:24px}.journey-companion{position:relative;min-height:590px;display:flex;flex-direction:column;align-items:center;background:radial-gradient(ellipse at 50% 80%,#e6d9b755,transparent 65%),var(--surface);border-radius:18px;padding:24px}.journey-companion svg.human{height:420px;width:100%;transform-origin:50% 90%;animation:companion-sway 8s ease-in-out infinite}.journey-companion .rig-body{transform-origin:150px 560px;animation:companion-breathe 6s ease-in-out infinite}.companion-bubble{background:var(--surface);border:1px solid var(--line);border-radius:18px 18px 18px 2px;padding:18px 24px;max-width:420px;min-height:90px;box-shadow:0 4px 15px #0001;font-size:18px;line-height:1.5}.journey-sheet{line-height:1.8}.journey-sheet h3{margin:22px 0 8px}.journey-sheet p{white-space:pre-wrap;overflow-wrap:anywhere}.journey-future{border-left:4px solid var(--accent);padding:10px 16px;background:var(--surface2)}@keyframes companion-sway{0%,100%{transform:rotate(-1deg)}50%{transform:rotate(1deg)}}@keyframes companion-breathe{0%,100%{transform:scaleX(1)}50%{transform:scaleX(1.025)}}
#connection-stage .scene-quick-add{width:61.2px;height:61.2px;min-width:61.2px;min-height:61.2px}.scene-quick-add svg{width:30px;height:30px}.shell .sidebar .brand{height:94px;min-height:94px;padding-bottom:6px}.shell .brand-caption{margin-top:5px;padding-top:5px}.contact-sheet summary .count{margin-left:8px!important;margin-right:auto!important}.note-card p{font-size:17px!important;font-weight:400!important}.atlas-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px;padding:0!important;background:none!important;border:0!important}.atlas-filters button{flex:1;justify-content:center;border:1px solid var(--line)!important;border-radius:10px!important}.contact-avatar.record-badge{container-type:size}.record-style-editor .record-badge{font-size:25px!important}.birth-details{display:grid!important;grid-template-columns:minmax(145px,1fr) minmax(110px,.8fr) minmax(160px,1.2fr) 100px;gap:10px;align-items:end}.birth-reminder-button{height:36px;min-width:36px;padding:5px;position:absolute;right:4px;top:4px}.birth-input-wrap{position:relative}.birth-input-wrap input{padding-right:44px}.birth-reminder-button[aria-pressed=true]{background:var(--accent);color:white}.record-style-editor input[type=color]{height:36px;min-height:36px}.sidebar-collapsed .tools-nav[open]>div{position:fixed;left:64px;top:190px;width:240px;z-index:1000;background:var(--sidebar);padding:8px;border-radius:0 12px 12px 0;box-shadow:3px 5px 18px #0003}.sidebar-collapsed .tools-nav[open]>div .nav-label{display:inline!important}.sidebar-collapsed .tools-nav[open]>div button{width:100%;justify-content:flex-start}.period-caption{display:flex;align-items:center;gap:8px}
@media(max-width:750px){.tarot-study{grid-template-columns:1fr}.tarot-front{position:static;max-width:260px;justify-self:center}.tarot-start,.journey-layout{grid-template-columns:1fr}.tarot-start>img{width:130px;justify-self:center}.tarot-spread{gap:8px}.tarot-result strong{font-size:12px}.tarot-paper{padding:18px}.birth-details{grid-template-columns:1fr 1fr}.journey-companion{min-height:480px}.tarot-study-nav{gap:5px}.tarot-study-nav button{font-size:12px;padding:7px}.tarot-flip.text-side{min-height:260px;padding:6px}.tarot-flip .tarot-meaning p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.tarot-result,.tarot-back,.journey-companion svg.human,.journey-companion .rig-body{animation:none!important;transition:none!important}}
.compact-conference-dialog{width:min(1100px,96vw)!important}.compact-conference-head{background:var(--surface2);padding:16px;border-radius:12px}.compact-conference-head>label{margin:10px 0}.compact-total{display:flex;gap:20px;align-items:center;justify-content:space-between}.compact-total>span{display:flex;flex-direction:column;gap:4px}.compact-outstanding strong{font-size:25px;color:var(--accent)}.compact-balance{height:30px;display:flex;border-radius:6px;overflow:hidden;background:var(--line);margin:14px 0 5px}.compact-balance>span{min-width:0;display:flex;justify-content:center;align-items:center;overflow:hidden;color:#fff;font-size:11px;border-right:1px solid #fff5}.compact-balance b{white-space:nowrap}.compact-balance .remaining{background:var(--surface);color:var(--text)}.compact-conference-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:14px 0}.compact-conference-actions>div{display:flex;gap:3px;align-items:center}.compact-conference-actions button{height:34px;padding:5px 9px;font-size:12px}.compact-conference-row{border:1px solid var(--line);border-left:12px solid var(--part);background:color-mix(in srgb,var(--part) 9%,var(--surface));border-radius:9px;margin:10px 0;padding:10px 12px}.compact-conference-row legend{font-size:12px;color:var(--muted)}.compact-main-fields{display:grid;grid-template-columns:12% 8% 12% 24% 17% 17% 1fr;gap:7px;align-items:end}.compact-main-fields label,.compact-extra label{min-width:0;font-size:12px;margin:0}.compact-main-fields input,.compact-main-fields select{width:100%;min-width:0;padding:6px;height:36px}.compact-row-actions{display:flex;gap:3px;align-items:center}.compact-row-actions button{width:30px;min-width:30px;height:36px;padding:4px}.compact-conference-row details{margin-top:7px}.compact-conference-row summary{font-size:12px}.compact-extra{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;padding-top:10px}.compact-conference-dialog .modal-body{display:block}.compact-conference-row .error:empty{display:none}.compact-conference-dialog .modal-summary:empty{display:none}.record-editor-layout{grid-template-columns:1fr!important}.record-editor-layout .record-style-editor{display:grid;grid-template-columns:72px minmax(150px,1fr) auto auto;gap:12px;align-items:center}.record-editor-layout .record-style-editor>button{grid-row:1/3}.record-editor-layout .record-editor-fields{display:block}.record-editor-layout .record-editor-fields>.form-grid{grid-template-columns:2fr 1fr}.period-heading,.period-header{align-items:center!important}
@media(max-width:1000px){.compact-main-fields{grid-template-columns:1fr .7fr 1fr 2fr}.compact-main-fields>label:nth-child(5),.compact-main-fields>label:nth-child(6){grid-column:span 1}.compact-row-actions{grid-column:span 2;justify-content:flex-end}}@media(max-width:600px){.compact-main-fields{grid-template-columns:1fr 1fr}.compact-main-fields>label:nth-child(4){grid-column:span 2}.compact-total{gap:8px;font-size:12px}.compact-outstanding strong{font-size:20px}.compact-extra{grid-template-columns:1fr}.record-editor-layout .record-style-editor{grid-template-columns:64px 1fr}.record-editor-layout .record-editor-fields>.form-grid{grid-template-columns:1fr}}

 .journey-counts{display:block}.journey-count-grid button{align-items:center}.journey-counts h2{margin-bottom:14px}.journey-count-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.journey-count-grid button{min-width:0;display:flex;flex-direction:column;gap:4px;padding:8px 5px}.notes-tabs{display:flex;align-items:center;gap:2px}.notes-tabs-start,.notes-tabs-end{display:flex;align-items:center;gap:2px}.notes-tabs-end{margin-left:auto}.notes-tabs button{flex:0 0 auto}