/* Guide layer screens. Tokens follow DESIGN-SYSTEM.md: sage is action, gold is progress. */
.gd{--sage:#64795D;--sage-d:#506449;--sage-dd:#3F4F3A;--sage-l:#E8EEE4;--gold:#C9A05F;--gold-l:#F5EBDA;--gold-d:#7A5C26;--card:#FFFDF9;--line:#DEDBD1;--soft:#ECE7DC;--ink:#35332E;--mute:#5F5B53;display:flex;flex-direction:column;gap:18px;color:var(--ink)}
.gd h1{margin:0;font:500 clamp(28px,4.4vw,38px)/1.12 'Playfair Display',Georgia,serif;letter-spacing:-.01em}
.gd h2{margin:0;font:600 18px/1.3 Inter,system-ui,sans-serif}
.gd p{margin:0}
.gd-eyebrow{margin:0 0 6px!important;font:600 12px/1.3 Inter,system-ui,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:var(--sage-dd)}
.gd-gold{color:var(--gold-d)}
.gd-lead{margin-top:10px!important;color:var(--mute);max-width:560px}
.gd-muted{color:var(--mute);font-size:14px}
.gd-fine{color:var(--mute);font-size:13px}
.gd-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px}
.gd-back{align-self:flex-start;margin-bottom:-6px}
.gd-pill{padding:8px 14px;border-radius:999px;background:var(--card);border:1px solid var(--line);font-size:14px;font-weight:600;color:var(--sage-dd);white-space:nowrap}
.gd-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:20px 22px;display:flex;flex-direction:column;gap:10px;min-width:0}
.gd-split{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:18px;align-items:start}
.gd-split-wide{grid-template-columns:minmax(0,7fr) minmax(0,3fr)}
.gd-split-even{grid-template-columns:repeat(3,minmax(0,1fr))}
.gd-side{display:flex;flex-direction:column;gap:16px;min-width:0}
.gd .linkbtn{min-height:44px;display:inline-flex;align-items:center;padding:0;background:none;border:0;color:var(--sage-d);font-weight:600;font-size:14px;text-decoration:underline;text-underline-offset:3px}

/* Candles */
.gd-flame{width:22px;height:29px;flex:none}
.gd-candle-card{padding:12px}
.gd-candles{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:4px}
.gd-candle{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:104px;padding:14px 4px 12px;border:0;border-radius:14px;background:transparent;color:var(--ink);text-align:center}
.gd-candle strong{font-size:14px;font-weight:600}
.gd-candle small{font-size:12px;color:var(--mute)}
.gd-candle:hover{background:#F6F2EA}
.gd-candle.is-next{background:var(--sage-l);box-shadow:inset 0 0 0 2px var(--sage)}
.gd-candle.is-next small{color:var(--sage-dd);font-weight:700}
.gd-candle.is-done .gd-flame{filter:drop-shadow(0 0 6px rgba(201,160,95,.55))}

/* Next card */
.gd-next{background:var(--sage-l);border:1px solid #CBD7C4;border-radius:18px;padding:26px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.gd-next h2{font:500 clamp(22px,3.4vw,28px)/1.2 'Playfair Display',Georgia,serif}
.gd-next .btn{margin-top:6px;min-height:48px;padding:0 26px}

/* Rows */
.gd-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;width:100%;padding:6px 0;border:0;border-top:1px solid var(--soft);background:none;color:var(--ink);text-align:left;font-size:15px}
.gd-row small{flex:none;color:var(--sage-dd);font-weight:600;font-size:13px}
button.gd-row:hover span{text-decoration:underline}
.gd-insurer{text-decoration:none}
.gd-insurer span{display:flex;flex-direction:column;gap:2px}
.gd-insurer b{font-weight:600;color:var(--sage-d)}
.gd-insurer small{font-weight:400!important;color:var(--mute)!important;font-size:13px!important}
.gd-dot{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:9px;background:var(--sage)}
.gd-dot.is-date,.gd-dot.is-opening{background:var(--gold)}
.gd-dot.is-target{background:#A8B5A2}

/* Blanks */
.gd-blank{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;padding-top:10px;border-top:1px solid var(--soft)}
.gd-card>.gd-blank:first-child,.gd-card>h2+.gd-blank,.gd-bigdate+.gd-blank{border-top:0;padding-top:0}
.gd-blank>span:first-child{flex:1 1 100%;font-weight:500}
.gd-blank label{flex:1 1 160px;display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500}
.gd-blank input,.gd-comply input,.gd-comply select,.gd-other input{min-height:44px;padding:8px 11px;border:1px solid #8F8B80;border-radius:10px;background:#fff;font:inherit;font-size:16px;color:var(--ink);width:100%}
.gd-chips{display:flex;flex-wrap:wrap;gap:8px}
.gd-chip{min-height:44px;padding:0 14px;border-radius:999px;border:1px solid #A8B5A2;background:var(--card);color:var(--sage-d);font-weight:600;font-size:14px}
.gd-chip:hover{background:var(--sage-l)}
.gd-chip[aria-pressed=true]{background:var(--sage);border-color:var(--sage);color:#fff}

/* Launch menu */
.gd-menu-item{gap:12px}
.gd-menu-item.is-placed{border-color:#CBD7C4}
.gd-menu-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.gd-menu-head h2{font:500 22px/1.2 'Playfair Display',Georgia,serif;flex:1 1 auto}
.gd-check-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding-top:12px;border-top:1px solid var(--soft)}
.gd-check-row>span:first-child{flex:1 1 240px;font-weight:500}
.gd-suggest{padding:12px 14px;border-radius:12px;background:var(--gold-l);color:#5C4A2A;font-size:15px}
.gd-place{display:flex;flex-wrap:wrap;gap:10px;padding-top:4px}
.gd-place .btn{min-height:48px;flex:1 1 160px}

/* Area list */
.gd-list{padding:6px 22px;gap:0}
.gd-decision{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid var(--soft)}
.gd-decision>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.gd-decision small{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--sage-dd)}
.gd-decision strong{font-size:17px}
.gd-decision.is-made small{color:var(--mute)}
.gd-decision .btn{flex:none}
.gd-step{display:flex;align-items:flex-start;gap:14px;padding:14px 0;border-bottom:1px solid var(--soft)}
.gd-list>:last-child,.gd-fold>:last-child{border-bottom:0}
.gd-fold{border-bottom:1px solid var(--soft)}
.gd-fold summary{min-height:52px;display:flex;align-items:center;cursor:pointer;color:var(--sage-d);font-weight:600;font-size:15px}
.gd-list>.gd-muted{padding:14px 0}
.gd-check{flex:none;width:44px;height:44px;margin:-8px -10px;padding:0;border:0;background:none;display:grid;place-items:center}
.gd-check span{width:24px;height:24px;border-radius:7px;border:1.5px solid #8F8B80;background:#fff;display:grid;place-items:center;color:#fff;font-size:15px;font-weight:700}
.gd-check[aria-checked=true] span{background:var(--sage);border-color:var(--sage)}
.gd-step-body{flex:1;min-width:0}
.gd-step-body strong{font-weight:600}
.gd-step-body p{font-size:14px;color:var(--mute)}
.gd-step.is-done .gd-step-body strong{color:var(--mute);text-decoration:line-through}
.gd-step-links{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:4px!important}
.gd-step-links a{display:inline-flex;align-items:center;min-height:44px;color:var(--sage-d);font-weight:600;font-size:14px}
.gd-step-when{flex:none;display:flex;flex-direction:column;align-items:flex-end;text-align:right;font-size:14px;font-weight:600;color:var(--sage-dd)}
.gd-step-when small{font-weight:400;color:var(--mute)}
.gd-step.is-late .gd-step-when>span{color:var(--gold-d)}
.gd-date{margin-top:2px}
.gd-date summary{min-height:32px;display:flex;align-items:center;justify-content:flex-end;cursor:pointer;color:var(--sage-d);font-weight:600;font-size:13px;text-decoration:underline;text-underline-offset:3px;list-style:none}
.gd-date summary::-webkit-details-marker{display:none}
.gd-date form{display:flex;gap:8px;align-items:center;padding-top:6px}
.gd-date input{min-height:44px;padding:6px 9px;border:1px solid #8F8B80;border-radius:10px;background:#fff;font:inherit;font-size:16px;color:var(--ink)}
.gd-later{margin:0;padding:6px 0 14px 20px;color:var(--mute);font-size:15px;display:flex;flex-direction:column;gap:4px}
.gd-bar{height:10px;border-radius:999px;background:var(--soft);overflow:hidden}
.gd-bar span{display:block;height:100%;border-radius:999px;background:var(--gold)}
.gd-unlock{flex-direction:row;align-items:center;gap:14px}
.gd-note{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-radius:16px;background:var(--gold-l);border:1px solid #E7D3AF}
.gd-note>div{display:flex;align-items:center;gap:14px}
.gd-note p{font-size:14px;color:#5C4A2A}

/* Decision */
.gd-ask{padding:16px 22px}
.gd-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.gd-option{display:flex;flex-direction:column;gap:12px;padding:22px;border-radius:18px;border:1px solid var(--line);background:var(--card)}
.gd-option.is-pick,.gd-option.is-chosen{border-color:var(--sage);box-shadow:inset 0 0 0 1px var(--sage)}
.gd-option-top{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.gd-option h2{font:500 22px/1.2 'Playfair Display',Georgia,serif;flex:1 1 auto}
.gd-logo{width:32px;height:32px;flex:none;display:grid;place-items:center}
.gd-logo svg{width:100%;height:100%}
.gd-logo img{width:100%;height:100%;border-radius:6px}
.gd-pic{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--sage-l);color:var(--sage-dd)}
.gd-pic svg{width:22px;height:22px}
.gd-pic.is-big{width:48px;height:48px;border-radius:14px}
.gd-pic.is-big svg{width:26px;height:26px}
.gd-initial{border-radius:8px;background:var(--sage-l);color:var(--sage-dd);font-weight:700}
.gd-badge{padding:4px 10px;border-radius:999px;background:var(--gold-l);color:var(--gold-d);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.gd-best{font-weight:600;color:var(--sage-dd)}
.gd-price{font-size:15px;color:#3F3D37}
.gd-option ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px;font-size:15px;color:#3F3D37}
.gd-option li{padding-left:22px;position:relative}
.gd-option li:before{content:"\2713";position:absolute;left:0;color:var(--sage)}
.gd-option>.btn{margin-top:auto;min-height:48px}
.gd-swatches{display:flex;height:34px;border-radius:9px;overflow:hidden;border:1px solid var(--soft)}
.gd-swatches i{flex:1}
.gd-decision .gd-swatches{width:120px;height:14px;margin-top:6px}
.gd-preview{display:flex;flex-direction:column;align-items:center;gap:2px;padding:20px 12px;border-radius:12px;text-align:center}
.gd-preview b{font:500 24px/1.2 'Playfair Display',Georgia,serif;overflow-wrap:anywhere}
.gd-preview i{font:600 10px/1.4 Inter,sans-serif;letter-spacing:.3em;font-style:normal}
.gd-setup{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-radius:16px;background:var(--gold-l);border:1px solid #E7D3AF}
.gd-setup span{color:#5C4A2A}
.gd-foot{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:8px 20px}
.gd-other summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--sage-d);font-weight:600;font-size:15px}
.gd-other form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;padding:6px 0 10px}
.gd-other label{display:flex;flex-direction:column;gap:6px;font-size:14px;min-width:min(260px,100%)}

/* Moment */
.gd-moment{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:56px 24px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,#FFFDF9 0%,#F7EEDD 100%)}
.gd-moment-flames{display:flex;align-items:flex-end;gap:16px;margin-bottom:6px}
.gd-moment .is-new{width:36px;height:47px;filter:drop-shadow(0 0 14px #E8C88A);animation:gd-glow 1.6s ease-out 1}
@keyframes gd-glow{0%{opacity:0;transform:translateY(6px) scale(.8)}60%{opacity:1;transform:none}100%{opacity:1}}
.gd-unlocked{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 14px;padding:14px 20px;border-radius:14px;background:var(--card);border:1px solid var(--line);margin-top:8px}
.gd-unlocked span{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-d)}
.gd-moment .btn{margin-top:10px;min-height:48px;padding:0 26px}

/* Plan */
.gd-monthnav{display:flex;gap:6px}
.gd-cal{padding:0;gap:0;overflow:hidden}
.gd-legend{display:flex;flex-wrap:wrap;gap:6px 16px;padding:14px 16px 4px;font-size:13px;color:var(--mute)}
.gd-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;background:var(--sage)}
.gd-legend i.is-date{background:var(--gold)}
.gd-legend i.is-routine{background:#CFC8B8}
.gd-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.gd-grid-head span{padding:10px 8px 8px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
.gd-cell{min-height:86px;padding:6px;border-top:1px solid var(--soft);border-left:1px solid var(--soft);display:flex;flex-direction:column;gap:4px;min-width:0}
.gd-cell:nth-child(7n+1){border-left:0}
.gd-cell.is-out{background:#F6F2EA}
.gd-daynum{font-size:13px;font-weight:600;color:var(--mute)}
.gd-cell.is-today .gd-daynum{align-self:flex-start;min-width:24px;padding:1px 6px;border-radius:999px;background:var(--sage);color:#fff;text-align:center}
.gd-ev{padding:3px 6px;border-radius:6px;font-size:11px;font-weight:600;line-height:1.3;background:var(--sage-l);color:var(--sage-dd);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.gd-ev.is-date,.gd-ev.is-opening{background:var(--gold-l);color:var(--gold-d)}
.gd-ev.is-routine{background:var(--soft);color:var(--mute)}
.gd-ev.is-target{background:transparent;border:1px dashed #A8B5A2;color:var(--sage-dd)}
.gd-more{font-size:11px;color:var(--mute)}
.gd-agenda{display:none;padding:4px 16px 12px}
.gd-bigdate{font:500 26px/1.2 'Playfair Display',Georgia,serif}
.gd-done-note{font-weight:600;color:var(--sage-dd)}

/* Compliance */
.gd-comply{border-bottom:1px solid var(--soft)}
.gd-comply summary{display:flex;align-items:center;gap:14px;min-height:68px;padding:10px 0;cursor:pointer;list-style:none}
.gd-comply summary::-webkit-details-marker{display:none}
.gd-check-dot{flex:none;width:24px;height:24px;border-radius:50%;border:1.5px solid #B9B2A2;display:grid;place-items:center;color:#fff;font-size:13px;font-weight:700}
.gd-comply.is-done .gd-check-dot{background:var(--sage);border-color:var(--sage)}
.gd-comply-main{flex:1;min-width:0;display:flex;flex-direction:column}
.gd-comply-main small{font-size:14px;color:var(--mute)}
.gd-comply-state{flex:none;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:4px 10px;font-size:13px;color:var(--mute)}
.gd-tag{padding:5px 12px;border-radius:999px;border:1px solid #A8B5A2;color:var(--sage-d);font-size:13px;font-weight:700;white-space:nowrap}
.gd-tag.is-ok{border-color:transparent;background:var(--sage-l);color:var(--sage-dd)}
.gd-tag.is-warn{border-color:transparent;background:var(--gold-l);color:var(--gold-d)}
.gd-comply form{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;align-items:end;padding:4px 0 16px 38px}
.gd-comply label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500}
.gd-comply form .btn{justify-self:start}

/* Readiness, phases, stack, simulator */
.gd-ready-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.gd-ready-num{font:500 34px/1.1 'Playfair Display',Georgia,serif;color:var(--gold-d)}
.gd-money{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:6px}
.gd-money .gd-tile{min-height:0;padding:14px 16px}
.gd-money .gd-tile strong{font:500 26px/1.2 'Playfair Display',Georgia,serif}
.gd-phases,.gd-stack-list{padding:6px 18px;gap:0}
.gd-phase,.gd-stack{display:flex;align-items:center;gap:14px;width:100%;min-height:72px;padding:12px 4px;border:0;border-bottom:1px solid var(--soft);background:none;color:var(--ink);text-align:left}
.gd-phases>:last-child,.gd-stack-list>:last-child{border-bottom:0}
.gd-phase-n{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--mute);font-weight:700;font-size:14px}
.gd-phase.is-done .gd-phase-n{background:var(--sage);color:#fff}
.gd-phase.is-next .gd-phase-n{background:var(--gold);color:#fff}
.gd-phase-main,.gd-stack-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.gd-phase-main small,.gd-stack-main small{color:var(--mute);font-size:14px}
.gd-phase-main .gd-bar{height:6px;margin-top:5px}
.gd-phase-pct{flex:none;min-width:44px;text-align:right;font-weight:600;font-size:14px;color:var(--sage-dd)}
.gd-phase.is-locked strong{color:var(--mute)}
button.gd-phase:hover strong,button.gd-stack:hover strong{text-decoration:underline}
.gd-sim{margin-bottom:22px}
.gd-sim-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;align-items:end}
.gd-sim-form label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500}
.gd-dollar{position:relative;display:block}
.gd-dollar:before{content:'$';position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--mute)}
.gd-dollar input{width:100%;min-height:44px;padding:8px 11px 8px 26px;border:1px solid #8F8B80;border-radius:10px;background:#fff;font:inherit;font-size:16px;color:var(--ink)}
.gd-sim-form .btn{min-height:48px;justify-self:start}

/* People */
.gd-av{flex:none;display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;color:#fff;font-weight:700;font-size:15px}
.gd-av.is-small{width:22px;height:22px;font-size:11px;margin-right:7px;vertical-align:middle}
.gd-who{display:flex;flex-direction:column;gap:8px;padding-top:10px;font-size:14px;font-weight:500;text-align:left}
.gd-who-tiles{display:flex;flex-wrap:wrap;gap:8px}
.gd-who-tile{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:56px;min-height:64px;padding:6px 8px;border-radius:12px;border:1px solid transparent;background:none;color:var(--ink)}
.gd-who-tile small{font-size:12px;color:var(--mute);max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gd-who-tile[aria-pressed=true]{border-color:var(--sage);background:var(--sage-l)}
.gd-who-tile:hover{background:#F6F2EA}
.gd-person{display:flex;align-items:center;gap:10px;min-height:52px;padding:6px 0;border-top:1px solid var(--soft)}
.gd-person>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column}
.gd-person small{color:var(--mute);font-size:13px}
.gd .gd-quiet{color:var(--mute);font-weight:500}
.gd-date[open]{flex:1 1 100%;min-width:0;width:100%;text-align:left}
.gd-date form{flex-wrap:wrap}
.gd-date input{flex:1 1 140px;min-width:0;max-width:100%}

/* Inventory */
.gd-inv-add summary,.gd-inv-edit summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--sage-d);font-weight:600}
.gd-inv-add form,.gd-inv-edit form{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;align-items:end;padding-top:8px}
.gd-inv-add label,.gd-inv-edit label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500}
.gd-inv-add input,.gd-inv-add select,.gd-inv-edit input{min-height:44px;padding:8px 11px;border:1px solid #8F8B80;border-radius:10px;background:#fff;font:inherit;font-size:16px;color:var(--ink);width:100%}
.gd-inv-add input[type=file],.gd-inv-edit input[type=file]{padding:8px;font-size:14px}
.gd-inv-add .btn{justify-self:start;min-height:48px}
.gd-inv-group{gap:0;padding:14px 22px}
.gd-inv-group h2 small{font-weight:400;color:var(--mute);margin-left:6px}
.gd-inv{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:6px 14px;align-items:center;padding:14px 0;border-top:1px solid var(--soft)}
.gd-inv-group h2+.gd-inv{margin-top:10px}
.gd-thumb{position:relative;width:64px;height:64px;border-radius:12px;background:var(--sage-l);color:var(--sage-dd);display:grid;place-items:center;overflow:hidden}
.gd-thumb svg{width:26px;height:26px}
.gd-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.gd-inv-main{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.gd-inv-main small{color:var(--mute);font-size:14px}
.gd-qty{display:flex;align-items:center;gap:4px}
.gd-qty output{min-width:38px;text-align:center;font-weight:700;font-size:18px}
.gd-qty-btn{width:44px;height:44px;border-radius:50%;border:1px solid #A8B5A2;background:var(--card);color:var(--sage-d);font-size:22px;line-height:1;font-weight:600}
.gd-qty-btn:hover{background:var(--sage-l)}
.gd-inv-edit{grid-column:1/-1}
.gd-inv-edit summary{min-height:36px;font-size:14px}
.gd-inv-actions{display:flex;align-items:center;gap:18px}

/* Practice */
.gd-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}
.gd-tile{display:flex;flex-direction:column;gap:4px;min-height:92px;padding:18px;border-radius:16px;border:1px solid var(--line);background:var(--card);color:var(--ink);text-align:left}
.gd-tile:hover{border-color:var(--sage)}
.gd-tile small{color:var(--mute);font-size:13px}

.gd button:focus-visible,.gd a:focus-visible,.gd summary:focus-visible,.gd input:focus-visible,.gd select:focus-visible{outline:3px solid #C9A05F;outline-offset:2px}

@media(max-width:1100px){.gd-candles{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:900px){.gd-split,.gd-split-wide,.gd-split-even{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){
 .gd-candles{grid-template-columns:repeat(3,minmax(0,1fr))}
 .gd-money{grid-template-columns:1fr 1fr;gap:8px}
 .gd-money .gd-tile{padding:12px}
 .gd-money .gd-tile strong{font-size:21px}
 .gd-candle{min-height:92px;padding:10px 2px}
 .gd-candle strong{font-size:13px}
 .gd-candle small{font-size:11px}
 .gd-card{padding:16px}
 .gd-list{padding:4px 16px}
 .gd-next{padding:20px}
 .gd-next .btn{width:100%}
 .gd-grid,.gd-legend{display:none}
 .gd-agenda{display:block;padding-top:8px}
 .gd-step{flex-wrap:wrap}
 .gd-step-when{flex:1 1 100%;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px 10px;padding-left:38px;min-width:0;box-sizing:border-box}
 .gd-date summary{justify-content:flex-start}
 .gd-comply summary{flex-wrap:wrap}
 .gd-comply-state{flex:1 1 100%;justify-content:flex-start;padding-left:38px}
 .gd-comply form{padding-left:0}
 .gd-decision{flex-wrap:wrap}
 .gd-moment{padding:40px 16px}
 .gd-moment-flames{gap:10px}
}
@media(prefers-reduced-motion:reduce){.gd-moment .is-new{animation:none}}
