/* Guided setup and calmer grouped navigation. */
.primary-navigation { flex:0 0 auto; min-height:0; }
.sidebar-footer,.sidebar-support { flex:0 0 auto; }
.mountain-decoration { pointer-events:none; }
.nav-group { margin: 3px 0 6px; }
.nav-group>summary { display:flex; align-items:center; justify-content:space-between; min-height:34px; padding:7px 12px; color:#aebdb2; border-radius:4px; font-size:9px; font-weight:700; letter-spacing:1.25px; text-transform:uppercase; list-style:none; }
.nav-group>summary::-webkit-details-marker { display:none; }
.nav-group>summary:hover { color:#fff; background:#ffffff0b; }
.nav-group>summary span { font-size:15px; font-weight:400; transition:transform .18s ease; }
.nav-group[open]>summary span { transform:rotate(45deg); }
.nav-group .nav-item { margin-left:5px; padding-block:8px; min-height:38px; }

.guided-tour { --guide-left:calc(50vw - 180px); --guide-top:120px; position:fixed; z-index:90; left:var(--guide-left); top:var(--guide-top); width:min(370px,calc(100vw - 28px)); padding:23px; border:1px solid #d6c390; border-radius:10px; background:var(--cream,#fffdf8); box-shadow:0 20px 60px #041b1642; }
.guided-tour::before { content:""; position:absolute; inset:-6px; z-index:-1; border:1px solid #c9a35b55; border-radius:14px; pointer-events:none; }
.guided-tour h2 { margin-bottom:9px; font-size:23px; }
.guided-tour>p:not(.eyebrow) { font-size:12px; line-height:1.65; }
.guided-tour-progress { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; color:var(--muted); font-size:10px; font-weight:700; letter-spacing:.45px; text-transform:uppercase; }
.guided-tour-progress>span:last-child { display:flex; gap:5px; }
.guided-tour-progress i { display:block; width:17px; height:3px; border-radius:3px; background:#d9d7cf; }
.guided-tour-progress i.done { background:#75998d; }
.guided-tour-progress i.current { background:var(--brass); }
.guided-tour-actions { display:flex; align-items:center; justify-content:flex-end; gap:9px; margin-top:19px; }
.guided-tour-actions .text-button { margin-right:auto; color:var(--muted); font-size:11px; }
.guided-tour-actions .button { min-height:39px; padding:8px 15px; }
.tour-focus { position:relative; z-index:89 !important; border-radius:7px; box-shadow:0 0 0 4px #c9a35bc9,0 0 0 9999px #061d1830; }

.setup-center-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(230px,34%); gap:34px; align-items:center; padding:30px; border-color:#d4c18e; background:linear-gradient(130deg,#fffdf8,#f4efe1); }
.setup-center-hero h2 { margin-bottom:8px; font-size:28px; }
.setup-center-hero p:last-child { margin-bottom:0; }
.setup-progress { position:relative; height:14px; overflow:visible; border-radius:10px; background:#dfddd5; }
.setup-progress>span { display:block; height:100%; min-width:5px; border-radius:inherit; background:linear-gradient(90deg,var(--forest-800),#4f8070); }
.setup-progress strong { position:absolute; right:0; top:22px; color:var(--forest-800); font-size:11px; }
.setup-roadmap { display:grid; gap:12px; margin:22px 0 30px; padding:0; list-style:none; }
.setup-step { display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:18px; align-items:center; padding:22px 24px; border:1px solid var(--line); border-radius:8px; background:var(--cream); box-shadow:var(--shadow); }
.setup-step.next { border-color:#c9a35b; box-shadow:0 0 0 2px #c9a35b1c; }
.setup-step.complete { border-left:4px solid #4f8070; }
.setup-step-number { display:grid; place-items:center; width:38px; height:38px; border:1px solid #cfcac0; border-radius:50%; color:var(--muted); font:20px var(--serif); }
.setup-step.complete .setup-step-number { border-color:#4f8070; background:#e4eee9; color:#245648; }
.setup-step h2 { margin:0 0 5px; font-size:20px; }
.setup-step p { margin-bottom:5px; font-size:12px; }
.setup-step .eyebrow { margin-bottom:6px; font-size:8px; }
.setup-state { color:var(--forest-800); font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; }
.setup-step:not(.complete) .setup-state { color:#876629; }
.setup-step .button { min-width:135px; }
.setup-optional { margin-bottom:30px; }
.setup-optional-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.setup-optional-grid .card { min-height:190px; }
.setup-optional-grid h3 { margin:12px 0 7px; }
.setup-optional-grid p { min-height:51px; font-size:12px; }
.setup-optional-grid a { font-size:11px; font-weight:700; }
.setup-card-icon { display:grid; place-items:center; width:39px; height:39px; border-radius:50%; background:#eee8d8; color:var(--forest-800); }
.setup-card-icon .icon { width:20px; height:20px; }
.setup-center-card { border-color:#d1bd84; background:linear-gradient(145deg,#fffdf8,#f4edda); }

@media (max-width:900px) {
  .setup-center-hero { grid-template-columns:1fr; gap:22px; }
  .setup-roadmap .setup-step { grid-template-columns:42px minmax(0,1fr); }
  .setup-step>.button { grid-column:2; justify-self:start; }
}
@media (max-width:680px) {
  .guided-tour { position:fixed; left:14px !important; right:14px; top:auto !important; bottom:14px; width:auto; padding:19px; }
  .guided-tour h2 { font-size:20px; }
  .guided-tour-actions { flex-wrap:wrap; }
  .tour-focus { z-index:89 !important; box-shadow:0 0 0 3px #c9a35bc9; }
  .setup-center-hero { padding:22px 18px; }
  .setup-center-hero h2 { font-size:23px; }
  .setup-step { grid-template-columns:36px minmax(0,1fr); gap:12px; padding:18px 15px; }
  .setup-step-number { width:34px; height:34px; }
  .setup-step>.button { grid-column:1 / -1; width:100%; }
  .setup-optional-grid { grid-template-columns:1fr; }
  .setup-optional-grid .card { min-height:0; padding:19px; }
  .setup-optional-grid p { min-height:0; }
}
@media (prefers-reduced-motion:reduce) {
  .nav-group>summary span { transition:none; }
}
