/* Customer-first visual system. Functional selectors and saved-state formats stay unchanged. */
:root { --bg:#090b10; --panel:#11151c; --text:#f3f6fa; --muted:#b2bdcb; --muted-2:#919cac; --line:#303945; --line-soft:#222a35; --clarity-red:#f13d32; --clarity-cyan:#65dbe8; --clarity-amber:#efbd66; }
body { background:var(--bg); }
button, input, select, textarea, summary { font-family:inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color:transparent; }
:is(button,a,input,select,textarea,summary):focus-visible { outline:3px solid var(--clarity-cyan); outline-offset:3px; }
button:disabled { cursor:not-allowed; }
dialog { --workspace-accent:var(--clarity-red); }
:is(.workshop-dialog,.range-dialog) { --workspace-accent:var(--clarity-cyan); }
.campus-ot-dialog { --workspace-accent:var(--clarity-amber); }

/* The approved three-choice front door. */
.clarity-home { background:radial-gradient(ellipse at 80% 20%,#16303935,transparent 45%),#090b10; }
.clarity-home .command-topbar { min-height:76px; padding:14px clamp(20px,3.2vw,52px); background:#0d1117; }
.clarity-home .command-brand > span:first-child { width:46px; height:46px; font-size:1.2rem; font-weight:700; line-height:1; font-family:inherit; color:#ff574e; }
.clarity-home .command-brand b { font-size:1.2rem; }
.clarity-home .command-brand small { font:400 .875rem/1.4 "DM Sans",sans-serif; letter-spacing:0; text-transform:none; color:#b1becd; }
.clarity-home-actions { display:flex; align-items:center; gap:20px; }
.clarity-home .command-skip { font-size:.95rem; min-height:44px; border:0; }
.clarity-session-button { min-height:44px; padding:10px 17px; color:#ecf1f7; background:#111820; border:1px solid #6c7a8c; border-radius:10px; font-size:.95rem; font-weight:600; }
.clarity-home .command-shell { width:min(1360px,calc(100% - 64px)); display:block; padding:28px 0 20px; margin:auto; }
.clarity-hero { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(220px,.75fr); align-items:center; gap:28px; }
.clarity-home .command-eyebrow { font-family:inherit; font-size:.8rem; color:#b0bdcc; margin-bottom:14px; letter-spacing:.16em; }
.clarity-home .command-lead h2 { font-size:clamp(2.2rem,4.5vw,4.15rem); letter-spacing:-.045em; line-height:1.06; }
.clarity-home .command-lead h2 em { color:#f3f6fa; font-weight:700; }
.clarity-home .command-summary { max-width:760px; font-size:1.1rem; line-height:1.5; margin:18px 0 20px; color:#bac7d4; }
.clarity-hero-art { display:block; width:100%; height:220px; object-fit:contain; mix-blend-mode:screen; }
.clarity-home .command-launchpad { padding:0; border:0; background:none; box-shadow:none; }
.clarity-home .launchpad-heading { min-height:0; margin:10px 0 16px; }
.clarity-home .launchpad-heading > span { font-size:1.5rem; font-weight:700; letter-spacing:-.025em; }
.clarity-launch-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.clarity-home .launch-card { --card-accent:var(--clarity-red); position:relative; display:flex; flex-direction:column; align-items:stretch; gap:0; min-width:0; min-height:0; margin:0; padding:0 22px 22px; border:1px solid color-mix(in srgb,var(--card-accent) 65%,#303945); border-radius:15px; background:linear-gradient(145deg,#141c24,#0d1118); box-shadow:none; overflow:hidden; }
.clarity-home .launch-card:hover { transform:translateY(-3px); border-color:var(--card-accent); box-shadow:0 14px 40px #0005; }
.clarity-home .clarity-attack-card { --card-accent:var(--clarity-cyan); }
.clarity-home .clarity-campus-card { --card-accent:var(--clarity-amber); }
.clarity-card-art { display:block; width:calc(100% + 44px); max-width:none; height:clamp(140px,14vw,205px); margin:0 -22px; object-fit:cover; mix-blend-mode:screen; }
.clarity-start { position:absolute; z-index:1; top:16px; left:18px; padding:7px 12px; border-radius:24px; background:#e63329; color:white; font-size:.75rem; font-weight:700; text-transform:uppercase; }
.clarity-home .launch-copy { display:flex; flex:1; flex-direction:column; gap:9px; padding:0; }
.clarity-home .launch-copy > strong { color:#f6f8fc; font-size:clamp(1.15rem,1.7vw,1.55rem); line-height:1.25; letter-spacing:-.025em; }
.clarity-home .launch-copy > span { font-size:1rem; line-height:1.5; color:#bac7d4; }
.clarity-card-cta { min-height:48px; margin-top:21px; padding:10px 12px; border:1px solid var(--card-accent); border-radius:9px; display:flex; align-items:center; justify-content:center; gap:18px; color:var(--card-accent); font-size:1rem; font-weight:700; }
.launch-primary .clarity-card-cta { color:white; background:#e62f25; border-color:#fa4d43; }
.clarity-resume { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:20px; padding:12px 20px; border:1px solid #303945; border-radius:12px; background:#10151d; font-size:.95rem; color:#c5cfdb; }
.clarity-resume button { min-height:44px; padding:8px 0; color:var(--clarity-cyan); background:none; border:0; font-size:1rem; font-weight:700; }
.clarity-home .command-footer { min-height:46px; padding:12px 32px; border:0; font-size:.8rem; }
.clarity-home .command-footer p { max-width:none; font-size:.8rem; color:#a4b0c0; }
.clarity-home .command-footer a { color:#a4b0c0; text-decoration:none; }

/* Shared controls: one clear primary action, details on demand. */
.clarity-more { position:relative; color:#d8e1ec; font-size:.875rem; }
.clarity-more > summary { min-height:42px; padding:10px 14px; border:1px solid #495667; border-radius:9px; background:#18202b; cursor:pointer; list-style:none; font-weight:600; }
.clarity-more > summary::after { content:"⌄"; margin-left:12px; }
.clarity-menu { position:absolute; z-index:100; right:0; top:calc(100% + 8px); width:290px; max-height:60dvh; overflow-y:auto; display:grid; gap:6px; padding:10px; border:1px solid #536176; border-radius:13px; background:#141c27; box-shadow:0 20px 55px #000b; }
.clarity-menu > :is(button,label) { display:flex; align-items:center; justify-content:flex-start; width:100%; min-height:44px; height:auto; margin:0; padding:11px 12px; color:#e8eef6; background:#1a2431; border:1px solid #303e50; border-radius:8px; text-align:left; font-size:.9rem; white-space:normal; box-shadow:none; }
.clarity-menu > :is(button,label):hover { background:#243345; border-color:#67798d; }
.clarity-details { margin:12px 0; border:1px solid #354151; border-radius:10px; padding:0; background:#121b26; color:#b8c5d4; }
.clarity-details > summary { cursor:pointer; min-height:44px; padding:12px 15px; color:#d5e0ed; font-size:.9rem; font-weight:600; }
.clarity-details > :not(summary) { margin:0; padding:0 15px 15px; font-size:.9rem; line-height:1.65; }
.clarity-details .evidence-meter { padding:14px; }
.clarity-tools-heading { margin:22px 0 5px; font-size:1.05rem; }
.topbar { background:#0e131b; border-color:#303945; }
.topbar .eyebrow { font-size:.75rem; }
.topbar .header-actions { flex-wrap:wrap; }
.topbar .header-actions > button { min-height:44px; font-size:.9rem; }
.topbar .header-actions .clarity-menu button { display:flex; }
.control-deck { background:#111720; border-color:#303945; }
.control-deck input { font-size:1rem; }
.coverage-lens button,.quick-topics button,.filter-field select { min-height:38px; font-size:.875rem; }
.pane { background:#10161f; border-color:#303945; }
.pane-head h2 { font-size:1.15rem; }
.tactic-button { min-height:44px; font-size:.9rem; }
.technique-name { font-size:.95rem; }
.technique-id,.mitre-id,.group-label { font-size:.8rem; }
.detail-description { font-size:1rem; line-height:1.7; }
.product-card h4,.product-name { font-size:.95rem; }
.notice.clarity-details { display:block; margin:10px 20px; }

/* Matching workspaces without replacing their interaction/state model. */
:is(.experience-dialog,.presenter-dialog,.range-dialog,.mission-dialog,.discovery-dialog,.products-dialog,.overview-dialog,.mobile-tools-dialog) { color:#eef3fa; background:#0d131c; border-color:#394758; border-radius:16px; box-shadow:0 32px 100px #0009; }
:is(.experience-head,.presenter-header,.range-header,.mission-header,.discovery-header,.overview-head,.dialog-head,.mobile-screen-head) { background:linear-gradient(110deg,#1b2532,#101720); border-bottom:1px solid #354252; }
:is(.experience-head,.range-header,.mission-header,.discovery-header) h2 { font-size:clamp(1.2rem,1.65vw,1.6rem); line-height:1.25; letter-spacing:-.025em; }
:is(.experience-kicker,.range-kicker,.mission-kicker,.discovery-kicker,.pane-kicker,.overview-kicker) { font-family:inherit; font-size:.8rem; line-height:1.5; letter-spacing:.06em; color:#a9b7c9; }
:is(.quiet-action,.range-dialog button,.mission-dialog button,.discovery-dialog button) { min-height:42px; font-size:.875rem; border-radius:9px; }
:is(.experience-dialog,.presenter-dialog,.range-dialog,.mission-dialog,.discovery-dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea) { color:#f1f5fb; background:#111b28; border-color:#49586d; font-size:1rem; border-radius:8px; }
:is(.experience-dialog,.presenter-dialog,.range-dialog,.mission-dialog,.discovery-dialog) :is(label,.form-label) { font-size:.875rem; }
:is(.assessment-toolbar,.range-toolbar,.range-tabs,.mission-utility,.discovery-tools,.discovery-sidebar) { background:#111a26; border-color:#303e50; }
:is(.assessment-toolbar,.stack-filter-row) label > span { color:#bac6d5; font-size:.875rem; }
.assessment-head .experience-head-actions { flex-wrap:wrap; overflow:visible; }
.assessment-head .experience-head-actions .clarity-menu { z-index:100; }
.assessment-head > div:first-child { flex:0 1 auto; }
.assessment-head .assessment-save-status { font-size:.8rem; white-space:normal; }
.assessment-toolbar { gap:14px; }
.assessment-toolbar input,.assessment-toolbar select { min-height:43px; }
.preset-actions.clarity-details { display:block; padding:0; min-width:150px; }
.preset-actions.clarity-details > div { display:flex; flex-wrap:wrap; gap:8px; padding:0 12px 12px; }
.preset-actions.clarity-details button { min-height:38px; font-size:.875rem; }
.builder-title h3 { font-size:1.2rem; }
.stack-columns-head { color:#d9e4ef; font-size:.875rem; }
.catalog-product-name { font-size:1rem; }
.catalog-product-category,.catalog-visible-count,.vendor-filter-strip button { font-size:.875rem; }
.catalog-product-description { font-size:.875rem; line-height:1.5; }
.selector-row { min-height:64px; }
.selector-product strong { font-size:1rem; line-height:1.35; }
.selector-product small { color:#aab8ca; font-size:.875rem; line-height:1.4; }
.selector-group > p { font-size:.8rem; font-family:inherit; letter-spacing:.03em; }
.selector-group > p small,.vendor-filter-strip small { font-size:.75rem; color:#a8b7c9; }
.check-cell { min-height:44px; }
.check-cell span { width:23px; height:23px; }
.catalog-source { font-size:.875rem; }
.assessment-impact-hero h4 { font-size:1.05rem; }
.assessment-impact-hero p { color:#b3c2d5; font-size:.95rem; line-height:1.55; }
.assessment-impact-hero .impact-label,.headline-score > div > span { color:#b8c8d9; font-size:.8rem; }
.coverage-orbit small { font-size:.7rem; }
.metric-strip span,.metric-strip small { color:#b0bfd1; font-size:.8rem; }
.results-heading > span,.section-title-row > span { color:#a6b7cc; font-size:.8rem; }
.assessment-results .clarity-details > .metric-strip { margin:0; }
.assessment-results .clarity-details > section { padding-top:14px; }
.assessment-results .clarity-details .section-title-row h4 { font-size:.95rem; }
.assessment-results .control-chip { font-size:.875rem; }
.scenario-card strong,.scenario-title-row > div > p { font-size:1rem; }
.scenario-card small,.rail-heading small,.attack-node > small { font-size:.8rem; }
.scenario-card { border-radius:11px; }
.attack-node > strong { font-size:.95rem; line-height:1.4; }
.stack-confirm-copy,.stack-confirm-footer > small { font-size:.95rem; line-height:1.6; }
.stack-confirm-summary small,.stack-confirm-summary span { font-size:.875rem; }
.stack-preview h4 { font-size:1rem; }
.vendor-filter-strip button { min-height:36px; }
.stack-builder { background:#0e151e; }
.assessment-results { background:#121c29; }
.assessment-results h3 { font-size:1.15rem; }
.model-note { color:#b2c0d1; font-size:.875rem; line-height:1.65; }
.discovery-assessment-entry { margin:0; padding:12px 18px; background:#141f2d; font-size:.875rem; }
.discovery-assessment-entry strong { font-size:1rem; }
.clarity-discovery-links { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:12px 18px; background:#101923; }
.clarity-discovery-links .discovery-assessment-entry { border-radius:9px; min-width:0; }
.clarity-discovery-links .ot-assessment-entry { border-color:#8b693c; background:#241e16; }
.clarity-discovery-links .discovery-assessment-entry { color:#dcebf8; border-color:#4b7785; background:#162935; }
.clarity-discovery-links .discovery-assessment-entry span { color:#b5c8db; }
.clarity-discovery-links .ot-assessment-entry { border-color:#8b693c; background:#241e16; }
.scenario-sidebar { background:#101b28; }
.scenario-option { border-radius:11px; }
.scenario-option strong { font-size:1rem; }
.scenario-option small { font-size:.875rem; }
.scenario-story p,.step-detail p,.stack-setup-title p { font-size:1rem; line-height:1.65; }
.attack-step { border-radius:12px; }
.attack-step strong { font-size:.95rem; }
.scenario-brief { color:#becbdd; }
.presenter-dialog { background:radial-gradient(ellipse at 80% 0,#123d4b40,transparent 50%),#0d131c; }
.slide-heading h1 { font-size:clamp(1.8rem,3.7vw,3.3rem); line-height:1.12; letter-spacing:-.035em; }
.slide-heading > span,.slide-heading > div > span { font-size:1rem; line-height:1.55; }
.presenter-stack-help,.presenter-stack-summary > p,.presenter-stack-row small { font-size:.875rem; }
.environment-layout { align-items:start; }
.environment-layout .visual-heading { flex-wrap:wrap; gap:8px 18px; }
.environment-layout .visual-heading > span { color:#becddd; font-size:.875rem; line-height:1.5; }
.environment-product-list { display:grid; gap:12px; margin:20px 0; padding:0; list-style:none; }
.environment-product-list > li { min-width:0; padding:16px; border:1px solid #3b485a; border-radius:10px; background:#17202c; overflow-wrap:anywhere; }
.environment-product-list h2 { margin:0; color:#f0f5fb; font-size:1.125rem; line-height:1.4; letter-spacing:normal; }
.environment-product-meta { display:block; margin-top:4px; color:#aebed0; font-size:.875rem; line-height:1.5; }
.environment-product-list p { margin:10px 0 0; color:#c6d3e2; font-size:1rem; line-height:1.6; }
.environment-product-list .environment-product-stages { border-top:1px solid #3b485a; padding-top:10px; font-size:.875rem; }
.environment-product-stages strong { color:#91dfeb; }
.environment-empty { margin:22px 0; color:#c6d3e2; font-size:1rem; line-height:1.6; }
.environment-mapping-note { color:#adbed0; font-size:.875rem; line-height:1.5; }
.environment-layout .fabric-overlay { min-height:0; }
.environment-edit-proposal { min-height:44px; padding:10px 16px; }
.attack-heading { flex-wrap:wrap; gap:20px; }
.attack-heading > div:first-child { flex:1 1 420px; min-width:0; }
.attack-view-toggle { gap:4px; padding:5px; }
.attack-view-toggle button { min-height:52px; min-width:132px; padding:12px 20px; color:#bfccdc; font-size:1rem; line-height:1.4; }
.attack-view-toggle button:focus-visible,.environment-edit-proposal:focus-visible { outline:3px solid #80dfeb; outline-offset:3px; }
@media(max-width:600px) { .attack-view-toggle { width:100%; }.attack-view-toggle button { flex:1; min-width:0; }.environment-product-list > li { padding:14px; } }
.presenter-stack-row strong { font-size:1rem; }
.presenter-stack-row { min-height:58px; border-radius:9px; }
.presenter-stack-picker,.presenter-stack-summary { background:#121d2b; border-color:#3a4a60; border-radius:13px; }
.presenter-stack-tabs button,.presenter-footer button { min-height:44px; font-size:.95rem; }
.selection-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.presenter-stack-picker > .selection-actions { margin-bottom:14px; }
.setup-preset-actions { flex-wrap:wrap; }
.setup-preset-actions .clear-selection,.setup-preset-actions .resume-selection { min-height:44px; padding:10px 14px; font-size:.875rem; }
.clear-selection,.resume-selection { min-height:44px; padding:10px 14px; border:1px solid #64758b; border-radius:9px; background:#1a293a; color:#edf3fa; font-family:inherit; font-size:.875rem; font-weight:600; line-height:1.4; cursor:pointer; }
.clear-selection:hover,.resume-selection:hover { border-color:#91c6d0; background:#23384b; }
.clear-selection:focus-visible,.resume-selection:focus-visible,.control-outcome-legend > summary:focus-visible { outline:3px solid #80dfeb; outline-offset:3px; }
.resume-selection[hidden] { display:none; }
.control-outcome-legend { min-width:0; margin:14px 0 20px; border:1px solid #46566b; border-radius:10px; color:#dce7f4; background:#131e2a; }
.control-outcome-legend > summary { min-height:44px; padding:12px 16px; font-size:.95rem; font-weight:600; line-height:1.5; cursor:pointer; }
.control-outcome-legend dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 24px; margin:4px 16px 16px; }
.control-outcome-legend dt { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; }
.control-outcome-legend dt .outcome { font-size:.875rem; }
.control-outcome-legend dt small { color:#adbed0; font-size:.875rem; }
.control-outcome-legend dd { margin:8px 0 0; color:#c5d4e4; font-size:1rem; line-height:1.6; }
.control-outcome-legend > p { margin:0 16px 16px; color:#adbed0; font-size:.875rem; line-height:1.5; }
.attack-slide { grid-template-rows:auto 1fr auto auto; }
.attack-slide > .control-outcome-legend { margin:0; }
@media(max-width:600px) { .control-outcome-legend dl { grid-template-columns:1fr; }.stack-builder .builder-title { align-items:flex-start; flex-wrap:wrap; gap:12px; } }
.presenter-product strong { font-size:.875rem; }
.presenter-product small,.evidence-meter span,.visual-heading > span { font-size:.8rem; }
.presenter-attack-node strong { font-size:1rem; }
.presenter-attack-node small,.presenter-attack-node em { font-size:.875rem; }
.attack-status-button { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:auto; min-height:44px; padding:10px 0 0; border:0; border-radius:5px; color:#c5d4e4; background:transparent; font:inherit; font-size:.875rem; font-weight:700; text-align:left; cursor:pointer; }
.attack-status-button > span { font-size:1rem; }
.blocked > .attack-status-button,.attack-details-outcome.blocked { color:#82dfae; }
.constrained > .attack-status-button,.attack-details-outcome.constrained { color:#e9c477; }
.detected > .attack-status-button,.attack-details-outcome.detected { color:#7cdce8; }
.exposed > .attack-status-button,.attack-details-outcome.exposed { color:#ff887f; }
.attack-status-button:hover,.attack-status-button[aria-expanded=true] { text-decoration:underline; text-underline-offset:4px; }
.attack-status-button:focus-visible,.attack-status-details:focus-visible,.attack-status-details button:focus-visible { outline:3px solid #80dfeb; outline-offset:3px; }
.attack-status-details { position:absolute; z-index:30; box-sizing:border-box; display:flex; flex-direction:column; max-width:calc(100% - 24px); overflow:hidden; border:1px solid #527084; border-radius:14px; color:#ecf3fb; background:#121e2c; box-shadow:0 18px 65px #000b,0 0 24px #61dceb12; text-align:left; }
.attack-status-details[hidden] { display:none; }
.attack-status-details > header { display:flex; flex:0 0 auto; justify-content:space-between; align-items:flex-start; gap:8px; padding:16px; border-bottom:1px solid #35485b; }
.attack-status-details header p { margin:0 0 5px; color:#b8c9db; font-size:.8rem; }
.attack-status-details h2 { margin:0; color:#f4f7fc; font-size:1.1rem; line-height:1.4; }
.attack-details-outcome { display:block; font-size:.875rem; }
.attack-status-details header button { flex:0 0 44px; width:44px; height:44px; padding:0; border:1px solid #4d6075; border-radius:8px; color:#ecf3fb; background:#223247; font-size:1.5rem; cursor:pointer; }
.attack-details-content { min-height:0; padding:16px; overflow-y:auto; overscroll-behavior:contain; }
.attack-details-content h3 { margin:0 0 8px; color:#edf3fb; font-size:1rem; }
.attack-details-content p { margin:6px 0 0; color:#bfcede; font-size:.875rem; line-height:1.55; }
.attack-details-content ul { display:grid; gap:12px; margin:12px 0 0; padding:0; list-style:none; }
.attack-details-content li > div { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; }
.attack-details-content li strong { color:#f3f7fc; font-size:1rem; overflow-wrap:anywhere; }
.attack-tool-origin { display:inline-block; padding:3px 7px; border:1px solid #4a5c70; border-radius:5px; color:#c3d2e3; background:#1b2a3b; font-size:.75rem; line-height:1.3; }
.attack-tool-origin.proposed { border-color:#44785f; color:#a8e9c6; background:#1b332b; }
.attack-details-additions { margin-top:18px; padding-top:16px; border-top:1px solid #426453; }
.attack-details-additions h3 { color:#a8e9c6; }
.attack-details-content .attack-details-note { margin-top:16px; padding-top:12px; border-top:1px solid #35485b; font-size:.8rem; }
.plain-language-callout { font-size:1rem; line-height:1.6; }
:is(.discovery-question,.discovery-record,.ot-equipment-card,.ot-contractor-card,.mission-service-card,.range-brief,.range-inspector) { border-color:#3c4a5c; border-radius:13px; background:#152030; }
.discovery-question-head h4 { font-size:1.2rem; line-height:1.4; }
.discovery-question > p,.discovery-section-heading > p,.mission-hero > p { font-size:1rem; line-height:1.6; }
.discovery-sidebar button,.discovery-choices label { min-height:44px; }
.discovery-choices label { font-size:1rem; }
.discovery-sidebar button small,.discovery-progress small,.discovery-badge { font-size:.8rem; }
.discovery-sidebar button[aria-current=step] { border-color:var(--workspace-accent); background:color-mix(in srgb,var(--workspace-accent) 13%,#141e2b); }
.discovery-followup > summary { min-height:44px; padding-top:12px; font-size:.875rem; }
.discovery-primary { background:#203e4d; border-color:var(--workspace-accent); color:#f4f9fe; }
.campus-ot-dialog .discovery-primary { background:#523b1e; border-color:#d8a455; }
.range-tabs button,.mission-tabs button { font-size:.95rem; min-height:46px; }
.range-brief p,.range-decision-intro p,.range-inspector > p,.range-mappings > p { font-size:1rem; line-height:1.6; }
.range-section-heading h3 { font-size:1.2rem; }
.range-save,.range-header-actions > span,.mission-utility > span,.discovery-tools > span { font-size:.8rem; }
.range-dialog .range-primary { background:#175361; border-color:#65dbe8; }
.mission-hero h3 { font-size:clamp(1.5rem,2.5vw,2rem); line-height:1.2; }
.mobile-tools-dialog { width:min(780px,calc(100vw - 40px)); height:min(850px,calc(100dvh - 48px)); max-height:none; }
.mobile-tools-dialog[open] { display:flex; flex-direction:column; }
.mobile-tools-content { min-height:0; }
.mobile-tool-list button { background:#172333; border-color:#3a4c64; border-radius:11px; }
.mobile-tool-list button span { font-size:.875rem; }
.mobile-session-summary { background:linear-gradient(130deg,#193344,#14202c); }
.mobile-screen-head small { font-size:.8rem; font-family:inherit; }
.products-dialog p,.directory-card p,.pillar-explainer { font-size:1rem; line-height:1.6; }
.directory-card-top > span,.audit-status { font-size:.8rem; }

@media (max-width:1100px) and (min-width:901px) {
  .clarity-home .command-shell { width:calc(100% - 40px); }
  .clarity-home .launch-card { padding:0 16px 16px; }
  .clarity-card-art { margin:0 -16px; width:calc(100% + 32px); }
  .clarity-home .launch-copy > span { font-size:.95rem; }
}
@media (max-width:900px) {
  .clarity-home .command-topbar { padding:12px 16px; gap:12px; flex-wrap:wrap; }
  .clarity-home .command-brand b { font-size:1.05rem; }
  .clarity-home .command-brand small { font-size:.8rem; }
  .clarity-home-actions { width:100%; justify-content:space-between; gap:12px; }
  .clarity-home .command-skip,.clarity-session-button { font-size:.875rem; }
  .clarity-home .command-shell { width:calc(100% - 32px); margin:0 auto; padding:22px 0 16px; }
  .clarity-hero { display:block; }
  .clarity-hero-art { display:none; }
  .clarity-home .command-eyebrow { display:none; }
  .clarity-home .command-lead h2 { font-size:clamp(2.1rem,7vw,3rem); line-height:1.08; }
  .clarity-home .command-summary { margin:12px 0 24px; font-size:1rem; }
  .clarity-home .launchpad-heading > span { font-size:1.25rem; }
  .clarity-launch-grid { grid-template-columns:1fr; gap:12px; }
  .clarity-home .launch-card { display:grid; grid-template-columns:78px minmax(0,1fr); gap:8px 13px; padding:17px; border-radius:13px; }
  .clarity-home .clarity-start { position:static; grid-column:2; justify-self:start; font-size:.75rem; padding:4px 9px; }
  .clarity-card-art { grid-column:1; grid-row:1 / span 3; align-self:center; width:86px; height:102px; margin:0 -4px; object-fit:cover; }
  .clarity-home .launch-copy { grid-column:2; gap:5px; }
  .clarity-home .launch-copy > strong { font-size:1.2rem; }
  .clarity-home .launch-copy > span { font-size:.95rem; line-height:1.45; }
  .clarity-card-cta { grid-column:2; min-height:44px; margin:5px 0 0; font-size:.95rem; }
  .clarity-resume { padding:12px 16px; flex-wrap:wrap; gap:4px; }
  .clarity-resume > span { font-size:.875rem; }
  .clarity-home .command-footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; padding:8px 16px calc(90px + env(safe-area-inset-bottom)); }
  :is(.experience-dialog,.presenter-dialog,.range-dialog,.mission-dialog,.discovery-dialog,.products-dialog,.overview-dialog,.mobile-tools-dialog) { border-radius:0; }
  .mobile-tools-dialog { width:100%; height:100dvh; }
  .experience-head { height:auto; min-height:108px; padding:12px 14px; }
  .experience-head .experience-head-actions { flex-wrap:nowrap; }
  .assessment-head .experience-head-actions { display:grid; grid-template-columns:44px minmax(0,1fr) auto; overflow:visible; gap:7px; }
  .assessment-head .dialog-close { grid-column:1; grid-row:1; }
  .assessment-head .save-action { grid-column:2; grid-row:1; }
  .assessment-head .clarity-more { grid-column:3; grid-row:1; }
  .assessment-head .assessment-save-status { grid-column:1 / -1; grid-row:2; min-width:0; font-size:.75rem; }
  .mobile-assessment-tabs { position:static; }
  .assessment-head .experience-head-actions .save-action { display:inline-flex; padding-inline:8px; font-size:.8rem; }
  .clarity-more > summary { min-height:44px; font-size:.875rem; padding:11px 12px; }
  .clarity-menu { position:fixed; top:120px; right:14px; left:14px; width:auto; max-height:calc(100dvh - 210px); }
  .clarity-menu .quiet-action { min-height:44px; width:100%; }
  .clarity-discovery-links { grid-template-columns:1fr; padding:10px 14px; gap:8px; }
  .clarity-discovery-links .discovery-assessment-entry { padding:10px 14px; }
  .clarity-discovery-links .discovery-assessment-entry span { font-size:.875rem; }
  .clarity-discovery-links .discovery-assessment-entry strong { font-size:.95rem; }
  .mobile-nav { background:#101822; border-color:#354153; }
  .mobile-nav button { font-size:.75rem; }
  .mobile-nav button[aria-current=page] { color:#c4f5fa; background:#193644; border-color:#51828a; }
  .discovery-dialog .mobile-nav button { font-size:.75rem; min-height:51px; }
  .slide-heading h1 { font-size:1.8rem; }
  .notice.clarity-details { margin:8px 12px; }
}
@media (max-height:550px) and (max-width:900px) {
  .clarity-home .command-lead h2 { font-size:2rem; }
  .experience-head { min-height:92px; padding:7px 12px; }
  .discovery-header h2 { font-size:1.2rem; }
  .discovery-header { padding:8px 14px; }
  .clarity-menu { top:95px; max-height:calc(100dvh - 165px); }
}
@media (prefers-reduced-motion:reduce) {
  .clarity-home .launch-card { transition:none; }
  .clarity-home .launch-card:hover { transform:none; }
}
