/* Panel composition only; canonical cards and method geometry remain upstream. */
.panel-demo{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;margin-top:28px}.panel-demo aside{display:grid;align-content:start;gap:20px}.panel-main{min-width:0}.panel-demo .panel{padding:20px}.panel-demo .method-surface{margin-top:0;padding:20px}.panel-demo .layout-viewport{max-height:680px;overflow:auto;overscroll-behavior:contain}.panel-demo .selection-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:12px;padding:16px}.panel-demo h3{font-size:16px}.panel-demo .position-label{font-size:14px}.demo-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.demo-controls button{height:100%}button:not(:disabled){cursor:pointer;border-color:#a28e62;color:var(--text)}button:not(:disabled):hover{background:#365056}.demo-badges{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.demo-badges strong{font-size:12px;padding:8px 12px;border:1px solid var(--gold);border-radius:20px}.panel-demo label{display:grid;gap:8px;margin:14px 0;font-size:13px;color:var(--muted)}.panel-demo select{width:100%;min-width:0;min-height:44px;padding:10px;background:#142a2e;color:var(--text);border:1px solid #839590;border-radius:5px}.panel-demo select:focus-visible,#selection-note:focus-visible{outline:3px solid var(--gold);outline-offset:4px}.panel-demo select:disabled{opacity:.7}.demo-methods{list-style:none;padding:0;margin:0}.demo-methods li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.demo-methods strong{font-weight:500;color:var(--muted)}.demo-methods [data-status=ativo] strong{color:var(--gold)}.demo-methods [data-status=disponível] strong{color:var(--good)}.panel-main>section+section{margin-top:24px}.demo-flow{border-left:3px solid var(--gold);padding:12px 16px;background:#203238}.demo-error{color:var(--bad);margin-top:12px}.demo-error:empty{display:none}.demo-history{padding-left:20px;font-size:13px;line-height:1.7}.empty-table{padding:80px 20px;text-align:center;color:var(--muted)}#simulation button{width:100%}.panel-demo dd{overflow-wrap:anywhere}.panel-demo .celtic-layout{justify-content:start}.panel-demo .arc-layout{min-width:880px}.panel-demo .decision-path{min-width:620px}.panel-demo .method-layout[data-method=DECISION]{min-width:620px}.panel-demo .three-layout{gap:24px;min-width:590px}.panel-main .panel h2{font-size:23px}.demo-instructions{font-size:13px;color:var(--muted);margin-top:16px}.demo-instructions a{text-decoration:underline}@media(min-width:1700px){.panel-demo{grid-template-columns:300px minmax(0,1fr)}.panel-demo .selection-grid{grid-template-columns:repeat(13,minmax(0,1fr))}}@media(max-width:1000px){.panel-demo{grid-template-columns:1fr}.panel-demo aside{grid-template-columns:1fr 1fr}.panel-demo .selection-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}@media(max-width:600px){.panel-demo aside{grid-template-columns:1fr}.demo-controls{grid-template-columns:1fr}.panel-demo .selection-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.panel-demo .panel{padding:12px}}

.panel-demo [hidden]{display:none}

.panel-demo input{width:100%;min-width:0;padding:10px;background:#142a2e;color:var(--text);border:1px solid #839590;border-radius:5px}.panel-demo input[type=checkbox]{width:22px;height:22px}.panel-demo input:focus-visible{outline:3px solid var(--gold);outline-offset:3px}#temporal-controls button{margin:6px 0;width:100%}#invitation-code{font-family:monospace}#demo-retry{margin:12px 0}

/* 14G-FIX-03: scoped to real panels; 14E demonstration is preserved. */
.guided-panel [hidden]{display:none!important}
.guided-panel{max-width:1400px}.guided-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0 22px}.guided-heading p{margin:0}
.guided-panel .workflow{border-top:3px solid var(--gold);padding:32px 36px;margin-bottom:26px}
.guided-panel h1{font-size:clamp(28px,3vw,42px);margin:8px 0 16px}.guided-panel .flow-message{color:var(--muted);font-size:18px;max-width:760px;margin-bottom:18px}.guided-panel .round-summary{color:var(--gold)}
.guided-panel .primary-actions,.guided-panel .secondary-actions{display:flex;flex-wrap:wrap;gap:12px}
.guided-panel .primary-actions{margin-top:22px}.guided-panel .primary-actions button:not(:disabled),.guided-panel #demo-copy:not(:disabled),.guided-panel #demo-join:not(:disabled){background:var(--gold);border-color:var(--gold);color:#17262a;font-weight:600;min-width:180px}
.guided-panel .primary-actions button:not(:disabled):hover,.guided-panel #demo-copy:not(:disabled):hover,.guided-panel #demo-join:not(:disabled):hover{background:#ecd09b}
.guided-panel .secondary-actions{margin-top:20px}.guided-panel .secondary-actions button{background:transparent}.guided-panel label{display:grid;gap:8px;margin:14px 0;font-size:14px;color:var(--muted)}
.guided-panel input,.guided-panel select{width:100%;min-width:0;min-height:46px;padding:11px 12px;background:#142a2e;color:var(--text);border:1px solid #839590;border-radius:5px;font:inherit}
.guided-panel input:focus-visible,.guided-panel select:focus-visible,.guided-panel summary:focus-visible,.guided-panel .layout-viewport:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.guided-panel input[type=checkbox]{width:22px;height:22px;min-height:22px}.guided-panel label:has(input[type=checkbox]){display:flex;align-items:center;gap:12px}
.guided-panel .method-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;margin-top:20px}.guided-panel .demo-methods li{font-size:14px}
.guided-panel .invitation-section{max-width:760px;padding:8px 0}.guided-panel #copy-message{margin-top:12px;color:var(--good)}
.guided-panel .temporal-controls{padding:24px;margin-top:20px;background:#14252a;border:1px solid var(--line);border-radius:8px}.guided-panel .temporal-controls button{margin:6px 12px 6px 0}.guided-panel .assessment-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
.guided-panel .method-surface{margin:26px 0;padding:24px}.guided-panel .layout-viewport{max-height:720px;overflow:auto;overscroll-behavior:contain}.guided-panel .three-layout{min-width:590px}.guided-panel .arc-layout{min-width:880px}.guided-panel .decision-path,.guided-panel .method-layout[data-method=DECISION]{min-width:620px}.guided-panel .celtic-layout{justify-content:start}
.guided-panel .selection-section{margin:24px 0}.guided-panel .selection-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:12px;padding:12px 0}
.guided-panel .history-section{margin:26px 0}.guided-panel .history-section h2{font-size:23px}.guided-panel .demo-history{font-size:15px}
.guided-panel .technical{margin-top:24px;padding:18px 24px;background:transparent}.guided-panel summary{cursor:pointer;color:var(--muted);min-height:28px}.guided-panel .technical[open]>summary{margin-bottom:22px}.guided-panel .technical dd{overflow-wrap:anywhere}.guided-panel .technical dl{display:grid;grid-template-columns:140px 1fr;gap:12px}.guided-panel .technical dd,.guided-panel .technical dt{margin:0}
.guided-panel #recovery-controls{max-width:650px;border-top:1px solid var(--line);padding-top:22px}.guided-panel #recovery-controls button{margin-right:12px}
.guided-panel dialog{max-width:min(520px,90vw);padding:30px;background:var(--panel);color:var(--text);border:1px solid var(--gold);border-radius:10px}.guided-panel dialog::backdrop{background:#0009}.guided-panel #abort-accept{border-color:var(--bad)}
.guided-panel #connection-message:empty,.guided-panel #round-summary:empty{display:none}
@media(max-width:900px){.guided-panel .method-options{grid-template-columns:1fr;gap:18px}.guided-panel .workflow{padding:24px}.guided-panel .selection-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:600px){.guided-heading{align-items:start;flex-direction:column}.guided-panel .workflow,.guided-panel .method-surface{padding:18px}.guided-panel .selection-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.guided-panel .assessment-fields{grid-template-columns:1fr}.guided-panel .technical dl{grid-template-columns:1fr}.guided-panel .primary-actions button{width:100%}}
/* 14G-UX-R2: Constelação palette; real panels only. */
.guided-page{--text:#193447;--muted:#536b7a;--panel:#fff;--line:#c7d9e6;--gold:#8b641e;--good:#006ea7;--bad:#a33b32;background:radial-gradient(circle at 8% 4%,#76bfe838,transparent 28%),radial-gradient(circle at 92% 90%,#ead8bd52,transparent 30%),#f3f8fc;color:var(--text)}
.guided-page .top{background:#ffffffde}.guided-page nav a:hover,.guided-page nav a[aria-current]{background:#e4f2fc;color:#015a9c}.guided-page .brand b,.guided-page h1,.guided-page h2{color:#015a9c}
.guided-panel .workflow{border-top-color:#d8b661;box-shadow:0 10px 36px #015a9c09}.guided-panel .method-surface,.guided-panel .selection-grid{background:#fff8ed}.guided-panel .temporal-controls{background:#f3f8fc}
.guided-panel input,.guided-panel select{background:#fff;color:#193447;border-color:#aac3d4}.guided-panel button{background:#fff;color:#015a9c;border-color:#91b4cc}.guided-panel button:not(:disabled):hover{background:#e8f4fc}.guided-panel button:disabled{background:#edf1f4;color:#667b89;border-color:#bdcbd5}
.guided-panel .primary-actions button:not(:disabled),.guided-panel #demo-copy:not(:disabled),.guided-panel #demo-join:not(:disabled){background:#015a9c;border-color:#015a9c;color:#fff}.guided-panel .primary-actions button:not(:disabled):hover,.guided-panel #demo-copy:not(:disabled):hover{background:#004a82}
.guided-page[data-role=therapist][data-screen=reading] .guided-panel{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start;max-width:1560px}
.guided-page[data-screen=reading] .guided-heading{grid-column:1/-1}.guided-page[data-screen=reading] .workflow,.guided-page[data-screen=reading] #table-section,.guided-page[data-screen=reading] #history-section,.guided-page[data-screen=reading] #technical-details{grid-column:2;margin:0;min-width:0}
.guided-panel .methods-sidebar{grid-column:1;grid-row:2 / span 4;position:sticky;top:20px;padding:20px 16px}.guided-panel .methods-sidebar h2{font-size:22px}.guided-panel .demo-methods li{flex-direction:column;gap:5px;padding:12px;border-radius:6px;margin:6px 0;border:1px solid var(--line)}.guided-panel .demo-methods strong{font-size:12px}.guided-panel .demo-methods [data-status=ativa]{background:#e6f4ff;border-color:#0083b7}.guided-panel .demo-methods [data-status=consumida]{background:#263e50;border-color:#263e50;color:#d1d7dc}.guided-panel .demo-methods [data-status=consumida] strong{color:#d1d7dc}.guided-panel .method-options{grid-template-columns:1fr}
.guided-panel .selection-counter{position:fixed;z-index:30;bottom:16px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);width:max-content;padding:16px 24px;background:#015a9c;color:white;border:2px solid #d8b661;border-radius:12px;box-shadow:0 8px 28px #19344740;text-align:center;font-weight:600;pointer-events:none}.guided-page[data-role=participant] .guided-panel{padding-bottom:130px}.guided-panel .selection-grid{padding-bottom:110px;scroll-margin-bottom:120px}.guided-panel .selection-grid button{scroll-margin-block:130px}
.guided-panel .tarot-card[data-state=COMMITTED] .tarot-face{outline:3px solid #015a9c;outline-offset:2px}.guided-panel .tarot-card[data-state=BLOCKED]{opacity:.65}.guided-panel .tarot-card .tarot-face:focus-visible{outline:3px solid #015a9c;outline-offset:4px}
/* Preserve all canonical Celtic positions; align their containing grid. */
.guided-panel .celtic-layout{grid-template-columns:110px 230px 110px 130px 110px;grid-template-rows:240px 260px 240px;gap:20px;min-width:770px;padding:34px 12px 12px;justify-content:center;align-items:center;width:max-content}
.guided-panel .celtic-layout .tarot-card{--card-width:80px}.guided-panel .celtic-layout .central-pair{padding-top:170px;align-self:center;min-height:240px;gap:16px}.guided-panel .central-pair .tarot-card,.guided-panel .central-pair .pos-2 .tarot-card{top:34px;left:calc(50% - 40px)}.guided-panel .central-pair .pos-2 .tarot-face{transform:rotate(90deg)}.guided-panel .central-pair .pos-2 img{transform:rotate(-90deg)}
.guided-panel .celtic-column{gap:12px;padding-top:52px;position:relative}.guided-panel .celtic-column>.group-label{position:absolute;top:0;left:0;right:0}.guided-panel .celtic-layout .position-label{font-size:12px;line-height:1.4}.guided-panel .celtic-layout figcaption{display:none}
/* One common theme, two parallel paths; canonical selection order unchanged. */
.guided-panel .method-layout[data-method=DECISION]{grid-template-columns:130px minmax(470px,1fr);grid-template-rows:auto auto;gap:24px;min-width:650px;max-width:820px;align-items:center}.guided-panel .decision-theme{grid-column:1;grid-row:1/3}.guided-panel .decision-path{grid-column:2;min-width:0;gap:18px;padding:18px;background:#ffffffb3}.guided-panel .decision-path.path-A{grid-row:1}.guided-panel .decision-path.path-B{grid-row:2}.guided-panel .method-layout[data-method=DECISION] .tarot-card{--card-width:90px}.guided-panel .method-layout[data-method=DECISION] .position-label{font-size:13px}
@media(max-width:900px){.guided-page[data-role=therapist][data-screen=reading] .guided-panel{grid-template-columns:1fr}.guided-page[data-screen=reading] .workflow,.guided-page[data-screen=reading] #table-section,.guided-page[data-screen=reading] #history-section,.guided-page[data-screen=reading] #technical-details{grid-column:1}.guided-panel .methods-sidebar{grid-column:1;grid-row:auto;position:static}.guided-panel .demo-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.guided-panel .selection-counter{font-size:14px;padding:12px 16px;bottom:8px}.guided-panel .demo-methods li{margin:0}}

/* 14G-ASSETS: geometry verified against the supplied real references. */
.guided-panel .celtic-layout{grid-template-rows:repeat(3,260px);align-items:start}
.guided-panel .celtic-layout>.pos-3,.guided-panel .celtic-layout>.pos-4,.guided-panel .celtic-layout>.pos-5,.guided-panel .celtic-layout>.pos-6{align-self:start;padding-top:40px}
.guided-panel .celtic-layout .central-pair{align-self:start;height:260px;min-height:260px;padding-top:180px}.guided-panel .central-pair .tarot-card,.guided-panel .central-pair .pos-2 .tarot-card{top:40px}.guided-panel .central-pair .pos-2{z-index:1}
.guided-panel .celtic-column{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));height:820px;gap:0;padding:0}.guided-panel .celtic-column>.group-label{top:-20px;white-space:nowrap;font-size:11px}.guided-panel .celtic-column>.method-slot{padding-top:40px;align-self:start}.guided-panel .celtic-layout>.pos-11{height:205px;align-self:end;padding-top:40px}
.guided-panel .method-layout[data-method=DECISION]{gap:20px;grid-template-rows:360px 360px}.guided-panel .decision-path{height:360px;padding:80px 18px;align-items:start;position:relative;background:linear-gradient(90deg,#ffffff99,#fff8ed66);border-color:#d9caa9}.guided-panel .decision-path>.group-label{position:absolute;left:18px;top:16px;grid-column:auto;text-align:left}.guided-panel .path-B>.group-label{top:auto;bottom:16px}.guided-panel .decision-path>.method-slot{grid-row:1}.guided-panel .path-A>.pos-2,.guided-panel .path-B>.pos-7{transform:translateY(60px)}.guided-panel .path-A>.pos-4,.guided-panel .path-B>.pos-5{transform:translateY(-60px)}.guided-panel .method-layout[data-method=DECISION] figcaption{display:none}

/* 14G-UX-R3: secondary group remains below the five single-use methods. */
.guided-panel .special-methods{margin-top:24px;padding:18px 10px 10px;background:#eef6fb;border:1px solid #c7d9e6;border-radius:8px}.guided-panel .special-methods h2{font-size:20px}.guided-panel .special-methods p{font-size:12px;line-height:1.5;color:var(--muted)}

/* 14G-UX-R4: identity, compact selection, and unobstructed Celtic pair. */
.guided-panel .opening-logo{display:block;width:clamp(92px,12vw,150px);height:auto;max-height:110px;object-fit:contain;margin:0 0 20px;opacity:.88}
.guided-page[data-screen=reading] .opening-logo{display:none}
.guided-panel .selection-section{scroll-margin-top:16px}
.guided-panel .selection-grid{grid-template-columns:repeat(auto-fit,minmax(68px,1fr));gap:10px}
.guided-panel .temporal-analysis{display:grid;gap:8px;margin:12px 0 18px}.guided-panel .temporal-analysis p{margin:0}.guided-panel .temporal-analysis strong{color:#015a9c;font-size:18px}
.guided-panel .temporal-analysis ol{margin:0;padding-left:24px;line-height:1.65}.guided-panel .temporal-analysis .temporal-result-label{display:block}.guided-panel .temporal-analysis .temporal-estimate{padding:12px 14px;background:#fff;border-left:4px solid #015a9c;font-size:17px}.guided-panel .temporal-analysis .temporal-rationale{color:var(--muted)}
.guided-panel .field-error{min-height:1.4em;margin:6px 0;color:var(--bad);font-weight:600}.guided-panel input[aria-invalid=true]{border:2px solid var(--bad);box-shadow:0 0 0 3px #a33b3222}
.guided-panel .celtic-layout .central-pair{display:grid;grid-template-columns:repeat(2,80px);grid-template-rows:auto auto;gap:12px 0;width:160px;height:auto;min-height:0;padding:0;justify-self:center;align-self:center}
.guided-panel .celtic-layout .central-pair>.group-label{position:static;grid-column:1/-1;grid-row:1}
.guided-panel .celtic-layout .central-pair>.method-slot{grid-row:2;padding:0;transform:none}
.guided-panel .celtic-layout .central-pair>.pos-2{grid-column:1;z-index:auto}
.guided-panel .celtic-layout .central-pair>.pos-1{grid-column:2}
.guided-panel .central-pair .tarot-card,.guided-panel .central-pair .pos-2 .tarot-card{position:static;top:auto;left:auto}
.guided-panel .central-pair .pos-2 .tarot-face,.guided-panel .central-pair .pos-2 .card-content,.guided-panel .central-pair .pos-2 img{transform:none!important}

.video-conference-panel{box-sizing:border-box;position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:40;display:flex;flex-direction:column;width:min(360px,calc(100vw - 36px));height:320px;max-height:calc(100dvh - 36px);overflow:hidden;border:1px solid #8d744f;border-radius:16px;background:#fffaf2;color:#302b25;box-shadow:0 12px 34px rgb(24 17 10 / 32%)}
.video-conference-panel[hidden]{display:none}.video-conference-panel.video-conference-minimized{width:280px;height:auto}.video-conference-header{display:flex;min-height:46px;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px 6px 14px;background:#f2e8d7}.video-icon-button{min-width:42px;min-height:42px;border:1px solid #a88468;border-radius:10px;background:#fff;color:inherit;font-size:1.25rem}.video-connection-state{margin:0;padding:5px 14px;color:#665849;font-size:.78rem}.video-state-connected{color:#237443}.video-state-connecting,.video-state-reconnecting{color:#9b651d}.video-state-failed,.video-error{color:#9f241d}.video-stage{position:relative;flex:1;min-height:110px;margin:0 8px;overflow:hidden;border-radius:10px;background:#211e1b}.video-remote{display:block;width:100%;height:100%;object-fit:contain}.video-local{position:absolute;right:6px;bottom:6px;width:28%;height:38%;border:1px solid #fff;border-radius:7px;background:#302b25;object-fit:cover}.video-track-notice{position:absolute;inset:50% auto auto 50%;width:max-content;max-width:75%;transform:translate(-50%,-50%);color:#fff;text-align:center;font-size:.78rem}.video-media-notice,.video-error{margin:5px 10px 0;font-size:.78rem}.video-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px}.video-controls button{min-height:44px;padding:5px;border:1px solid #a88468;border-radius:9px;background:#fff;color:inherit;font:inherit;font-size:.76rem;font-weight:700}.video-controls .video-join-button{grid-column:1/-1;background:#715339;color:#fff}.video-controls .video-leave-button{border-color:#b34b42;color:#8f211b}
@media(max-width:600px){.video-conference-panel{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));width:min(340px,calc(100vw - 24px));height:300px;max-height:calc(100dvh - 24px)}.video-conference-panel.video-conference-minimized{width:240px}.video-controls button{min-height:48px}.video-stage{min-height:100px}}
@media(prefers-reduced-motion:reduce){.video-conference-panel *{animation:none!important;transition:none!important;scroll-behavior:auto}}
