.sg-launcher,.sg-dialog{font-family:'Zen Kaku Gothic New',sans-serif;color:#102b46;font-size:15px;line-height:1.8}
.sg-launcher{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#e8eff5;border:1px solid #bdcddd;border-left:4px solid #123a60;padding:24px;margin:32px 0}
.sg-launcher h2{font-family:inherit;font-size:24px;font-weight:700;line-height:1.5;margin:4px 0 8px}.sg-launcher p{margin:0;font-size:14px}
.sg-kicker{font-size:11px;letter-spacing:.14em;font-weight:700;color:#46637e;margin:0 0 12px}
.sg-button{min-height:44px;border:1px solid #a4b8ca;background:white;color:#102b46;padding:10px 16px;border-radius:6px;font:700 14px/1.5 'Zen Kaku Gothic New',sans-serif;cursor:pointer;transition:background .18s,opacity .18s;transform:none!important}
.sg-button:hover{background:#e8eff5;filter:none}.sg-button:active{background:#d8e5ee}.sg-primary{background:#102b46;color:white;border-color:#102b46}.sg-primary:hover{background:#254d70}.sg-button:disabled{opacity:.4;cursor:default}.sg-button:focus-visible{outline:3px solid #4f8dbd;outline-offset:3px}
body dialog.sg-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:0;background:transparent;overflow:hidden}
.sg-dialog::backdrop{background:transparent}.sg-dialog:not([open]){display:none}.sg-dialog[data-phase=menu],.sg-dialog[data-phase=done]{background:#06172bb3}
.sg-panel{position:absolute;bottom:16px;right:16px;width:min(420px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;background:#fff;border:1px solid #b9ccdc;border-radius:12px;box-shadow:0 16px 48px #06172b33}
.sg-dialog[data-phase=menu] .sg-panel,.sg-dialog[data-phase=done] .sg-panel{bottom:50%;right:50%;transform:translate(50%,50%);width:min(520px,calc(100% - 32px))}
.sg-panel h2{font-family:inherit;font-size:23px;font-weight:700;line-height:1.5;margin:0 0 8px}.sg-description{font-size:15px;line-height:1.85;margin:0 0 20px}.sg-count{font-size:12px;color:#46637e;margin:0 0 12px}.sg-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.sg-choices{display:grid;gap:12px;margin-bottom:20px}.sg-choices .sg-button{display:block;text-align:left;padding:16px}.sg-choices small{display:block;color:#46637e;font-size:12px;font-weight:500;margin-top:6px}.sg-spotlight{position:fixed;border:2px solid #93c8ee;border-radius:6px;box-shadow:0 0 0 200vmax #06172bb3;pointer-events:none}.sg-warning{font-size:13px;color:#8b3d28}.sg-dialog [hidden]{display:none!important}
.guide-strength{padding-block:80px}.guide-strength-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:start}.guide-strength h2{font-size:clamp(30px,4vw,48px);line-height:1.5;margin:12px 0 24px;font-weight:700}.guide-strength p{font-size:16px;line-height:1.9}.guide-strength ol{list-style:none;padding:0;margin:0;border-top:1px solid #b9c9d5}.guide-strength li{padding:24px 0;border-bottom:1px solid #b9c9d5}.guide-strength li strong{display:block;font-size:20px;margin-bottom:8px}.guide-strength li span{font-size:15px;line-height:1.9}.guide-strength .guide-links{display:flex;gap:16px;flex-wrap:wrap;margin-top:24px}.guide-strength a{display:inline-flex;align-items:center;min-height:44px;font-weight:700;text-underline-offset:5px}.guide-strength .guide-disclosure{font-size:13px;color:#52677c;margin-top:24px}
body[data-demo=guided]{background:#edf3f8}.crm-layout{display:grid;grid-template-columns:1.1fr 2fr;gap:32px;align-items:start}.crm-list{display:grid;gap:12px}.crm-row{display:grid;grid-template-columns:1fr 160px;gap:24px;padding:24px;border:1px solid #bdcddd;background:white;align-items:center}.crm-row h3{font-size:18px;margin:0 0 6px}.crm-row p{margin:0;color:#52677c}.crm-form-note{font-size:13px}.crm-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.crm-stats{max-width:none}.crm-stats .stat{border-top:3px solid #123a60}
/* Entrance movement remains fixed; operations may update content without flying in. */
body[data-demo=board] .task{animation:none}
@media(max-width:700px){.guide-strength-grid,.crm-layout{grid-template-columns:1fr;gap:32px}.guide-strength{padding-block:48px}.sg-launcher{align-items:start;flex-direction:column;padding:20px;gap:16px}.sg-launcher h2{font-size:22px}.crm-row{grid-template-columns:1fr;gap:12px}.sg-panel{padding:20px;bottom:12px;right:12px;width:calc(100% - 24px)}.sg-panel h2{font-size:20px}.sg-description{font-size:14px;margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){.sg-button{transition:none}}
/* Leave room above the tour instructions for the control they describe. */
@media (orientation:landscape) and (max-height:520px){
 .sg-dialog[data-phase=tour] .sg-panel{
  inset:auto 12px 8px;width:auto;max-height:50dvh;padding:10px 16px;
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;align-content:start
 }
 .sg-dialog[data-phase=tour] .sg-kicker{display:none}
 .sg-dialog[data-phase=tour] .sg-panel h2,
 .sg-dialog[data-phase=tour] .sg-count,
 .sg-dialog[data-phase=tour] .sg-description{grid-column:1;margin:0}
 .sg-dialog[data-phase=tour] .sg-panel h2{font-size:18px}
 .sg-dialog[data-phase=tour] .sg-description{font-size:14px}
 .sg-dialog[data-phase=tour] .sg-actions{grid-column:2;align-self:start;margin:0}
 .sg-dialog[data-phase=tour] .sg-description+.sg-actions{grid-row:1 / span 2}
 .sg-dialog[data-phase=tour] .sg-actions:last-of-type{grid-row:3}
}
