:root {
  --ink:#00043b;
  --ink-soft:#2d3c67;
  --orange:#ff6600;
  --orange-dark:#d94f00;
  --orange-light:#ffb27f;
  --blue:#2b66aa;
  --paper:#fdf9f7;
  --paper-deep:#eaf2fc;
  --white:#fff;
  --line:rgba(0,4,59,.13);
  --shadow:0 22px 65px rgba(0,4,59,.13);
  --ok:#2f7d55;
  --warn:#b4553f;
  --radius:24px;
  --mvp-yellow:#f3cf32;
  --mvp-line:#e2b714;
  --mvp-label:#5f4b00;
}
*{box-sizing:border-box}
small{font-size:12px}
[hidden]{display:none!important}
.scope-guide{padding:13px 17px;margin:2px 0 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-radius:18px;font-size:14px}
.scope-guide strong{display:flex;align-items:center;gap:9px;white-space:nowrap}
.scope-guide strong i{width:16px;height:16px;border:1px solid var(--mvp-line);border-radius:50%}
.scope-guide>span{font-size:13px;line-height:1.5;color:var(--ink-soft)}
[data-mvp-ring="true"]{outline:1px solid var(--mvp-line);outline-offset:-1px;position:relative}
.card[data-mvp-ring="true"],.hero[data-mvp-ring="true"],.app-hero[data-mvp-ring="true"]{padding-top:35px}
.mvp-marker{position:absolute;top:9px;right:12px;border-radius:999px;background:var(--mvp-yellow);color:var(--mvp-label);padding:3px 7px;font-size:11px;font-weight:800;letter-spacing:.05em;z-index:3;pointer-events:none}
.overview-right>section[data-mvp-ring="true"]{padding:34px 14px 14px;border-radius:22px;background:rgba(255,255,255,.45)}
.side-nav button[data-mvp-ring="true"],.phone-menu button[data-mvp-ring="true"],.phone-tabs button[data-mvp-ring="true"]{outline:none}
.side-nav button[data-mvp-ring="true"]>span:nth-child(2),.phone-menu button[data-mvp-ring="true"]>span,.phone-tabs button[data-mvp-ring="true"]>span{text-decoration:underline;text-decoration-color:var(--mvp-yellow);text-decoration-thickness:1px;text-underline-offset:5px}
.phone-menu button[data-mvp-ring="true"]>span,.phone-tabs button[data-mvp-ring="true"]>span{text-decoration-color:var(--mvp-line)}
.nav-scope{background:var(--mvp-yellow);color:var(--mvp-label);font-size:10px;font-weight:800;padding:3px 4px;border-radius:99px}
.scope-tag{display:inline-block;padding:5px 9px;border-radius:99px;font-size:12px;font-weight:800;margin-bottom:12px;background:var(--paper-deep);color:var(--ink-soft)}
.scope-tag.mvp{background:var(--mvp-yellow);color:var(--mvp-label)}
.scope-tag.bonus{border:1px dashed var(--orange-dark);background:var(--paper);color:var(--orange-dark)}
.scope-tag.later{background:var(--ink);color:var(--white)}
.bonus-note{border:2px dashed var(--orange-dark);background:var(--paper);color:var(--ink)}
.scope-copy{font-size:14px;line-height:1.65;color:var(--ink-soft);margin:12px 0 16px}
.scope-additions{margin-top:18px}
.phase-empty{padding:46px;max-width:900px;min-height:470px}
.phase-empty h1{margin:18px 0;font-size:clamp(32px,4vw,52px)}
.phase-empty>p{max-width:700px;font-size:15px;line-height:1.7}
.scope-summary{padding:22px;margin:24px 0;background:var(--paper-deep);border-radius:18px}
.scope-summary p{font-size:15px;line-height:1.7;margin:10px 0 0}
.side-demo:disabled{opacity:.55;cursor:default}
textarea{font:inherit;display:block;width:100%;padding:13px;min-height:100px;border:1px solid var(--line);border-radius:12px;background:var(--white);resize:vertical;margin:10px 0}
.reader-steps{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.reader-steps button{padding:8px 12px;border-radius:99px;background:var(--paper-deep);color:var(--ink);font-size:14px}
.reader-steps button[aria-pressed="true"]{background:var(--ink);color:var(--white)}
.drawer .scope-copy{font-size:14px}
@media(max-width:780px){.scope-guide{align-items:flex-start;flex-direction:column}.scope-guide strong{white-space:normal}.phase-empty{padding:25px;min-height:0}.side-nav{padding:3px}}
html{background:var(--paper)}
body{margin:0;min-height:100vh;color:var(--ink);background:linear-gradient(145deg,#fffaf7 0%,#f5f8fd 55%,#fff5ee 100%);font:13px "Avenir Next",Avenir,Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
button,input,select{font:inherit;color:inherit}
button{border:0;cursor:pointer}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(255,102,0,.42);outline-offset:3px}
svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(28px,3vw,43px);line-height:1.02;letter-spacing:-1.8px}
h2{font-size:18px;line-height:1.15;letter-spacing:-.45px}
h3{font-size:15px;line-height:1.35}
small{color:var(--ink-soft)}
.ambient{position:fixed;pointer-events:none;filter:blur(4px);border-radius:50%;opacity:.65;z-index:0}
.ambient-one{width:460px;height:460px;right:-100px;top:30px;background:radial-gradient(circle,rgba(255,102,0,.16),transparent 68%)}
.ambient-two{width:560px;height:560px;left:5%;bottom:-320px;background:radial-gradient(circle,rgba(43,102,170,.18),transparent 70%)}
.demo-ribbon{min-height:48px;padding:6px 22px;display:flex;align-items:center;justify-content:center;gap:16px;background:var(--ink);color:rgba(255,255,255,.68);font-size:12px;position:relative;z-index:20}
.demo-label{font-weight:800;letter-spacing:.14em;white-space:nowrap}
.experience-switch,.version-switch{padding:3px;display:flex;gap:3px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.08)}
.version-switch[hidden]{display:none}
.experience-switch button,.version-switch button{padding:6px 11px;border-radius:999px;color:rgba(255,255,255,.62);background:transparent;font-size:12px;white-space:nowrap;transition:.2s ease}
.experience-switch button:hover,.version-switch button:hover{color:#fff;background:rgba(255,255,255,.08)}
.experience-switch button[aria-pressed="true"],.version-switch button[aria-pressed="true"]{color:#fff;background:linear-gradient(115deg,var(--orange),#ff8a45);box-shadow:0 6px 16px rgba(255,102,0,.23)}
.glass{background:linear-gradient(145deg,rgba(255,255,255,.74),rgba(255,255,255,.46));border:1px solid rgba(255,255,255,.82);box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 22px 62px rgba(0,4,59,.11);backdrop-filter:blur(26px) saturate(155%);-webkit-backdrop-filter:blur(26px) saturate(155%)}
.app-shell{max-width:1540px;margin:0 auto;padding:18px;display:grid;grid-template-columns:276px minmax(0,1fr);gap:18px;position:relative;z-index:1;min-height:calc(100vh - 48px)}
.sidebar{height:calc(100vh - 84px);min-height:650px;position:sticky;top:66px;padding:20px 15px 16px;display:flex;flex-direction:column;border-radius:30px;overflow:hidden;background:linear-gradient(160deg,rgba(0,4,59,.96),rgba(16,49,94,.91) 66%,rgba(43,102,170,.82));color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.23),inset 1px 0 0 rgba(255,255,255,.10),0 28px 70px rgba(0,4,59,.25)}
.sidebar::before{content:"";position:absolute;left:-30%;top:-12%;width:130%;height:210px;background:radial-gradient(circle at 50% 0,rgba(255,255,255,.22),transparent 58%);pointer-events:none}
.sidebar::after{content:"";position:absolute;inset:0;border-radius:30px;border:1px solid rgba(255,255,255,.16);pointer-events:none}
.brand{height:68px;padding:9px 11px;position:relative;z-index:1;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:inset 0 1px 0 #fff,0 12px 28px rgba(0,0,0,.16)}
.brand img{display:block;width:100%;height:100%;object-fit:contain;object-position:left center}
.owner{margin:17px 6px 10px;padding-bottom:16px;display:flex;align-items:center;gap:10px;border-bottom:1px solid rgba(255,255,255,.13);position:relative;z-index:1}
.owner>span,.avatar{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:50%;color:var(--ink);background:linear-gradient(145deg,#fff,#ffe2d1);font-size:14px;font-weight:800;box-shadow:inset 0 1px 0 #fff,0 7px 18px rgba(0,0,0,.15)}
.owner strong{display:block;font-size:14px}
.owner small{display:block;margin-top:2px;color:rgba(255,255,255,.55);font-size:12px}
.side-nav{overflow-y:auto;scrollbar-width:none;position:relative;z-index:1}
.side-nav::-webkit-scrollbar{display:none}
.side-nav p{margin:15px 10px 7px;color:rgba(255,255,255,.42);font-size:11px;font-weight:800;letter-spacing:.16em}
.side-nav button{width:100%;min-height:40px;margin:2px 0;padding:8px 10px;display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:8px;text-align:left;border-radius:13px;color:rgba(255,255,255,.72);background:transparent;font-size:13px;transition:.22s ease;position:relative;overflow:hidden}
.side-nav button::before{content:"";position:absolute;inset:0;background:linear-gradient(95deg,rgba(255,255,255,.18),rgba(255,255,255,.06));opacity:0;transition:.22s}
.side-nav button:hover::before{opacity:1}
.side-nav button[aria-current="page"]{color:#fff;background:linear-gradient(110deg,rgba(255,102,0,.98),rgba(255,124,54,.84));box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 10px 22px rgba(255,102,0,.24)}
.side-nav button>*{position:relative;z-index:1}
.nav-icon{display:grid;place-items:center}
.nav-icon svg{width:15px;height:15px}
.side-nav b{min-width:22px;padding:3px 6px;border-radius:999px;text-align:center;color:#fff;background:rgba(255,255,255,.16);font-size:11px}
.side-demo{width:100%;margin-top:auto;padding:11px;display:flex;align-items:center;gap:9px;position:relative;z-index:1;border:1px solid rgba(255,255,255,.13);border-radius:14px;color:#fff;text-align:left;background:rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.1);transition:.2s ease}
.side-demo:hover{background:rgba(255,255,255,.14);transform:translateY(-1px)}
.side-demo>span{width:8px;height:8px;border-radius:50%;background:#54d68c;box-shadow:0 0 0 4px rgba(84,214,140,.12)}
.side-demo>div{min-width:0;flex:1}
.side-demo strong{display:block;font-size:13px}
.side-demo small{display:block;margin-top:2px;color:rgba(255,255,255,.5);font-size:11px}
.side-demo b{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.12);font-size:12px}
.main-stage{min-width:0}
.topbar{width:max-content;min-height:52px;margin-left:auto;padding:8px 10px;display:flex;align-items:center;border-radius:18px;position:sticky;top:50px;z-index:10}
.top-actions{display:flex;align-items:center;gap:10px}
.top-actions button{padding:8px 13px;border:1px solid rgba(0,4,59,.09);border-radius:999px;color:var(--ink);background:rgba(255,255,255,.67);font-size:13px;box-shadow:inset 0 1px 0 #fff}
.top-actions button:hover{background:#fff}
.top-actions .avatar{color:var(--ink);font-size:13px;letter-spacing:0}
#view{padding:2px 0 8px;min-height:calc(100vh - 116px)}
.card{min-width:0;padding:19px;border:1px solid rgba(255,255,255,.9);border-radius:var(--radius);background:rgba(255,255,255,.88);box-shadow:0 14px 38px rgba(0,4,59,.055);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.hover-card:hover{transform:translateY(-4px);border-color:rgba(43,102,170,.18);box-shadow:0 20px 44px rgba(0,4,59,.09)}
.row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.muted{color:var(--ink-soft)}
.eyebrow{color:var(--orange);font-size:12px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.pill{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:30px;padding:7px 12px;border-radius:999px;color:#fff;background:var(--ink);font-size:13px;white-space:nowrap}
.pill.soft{color:var(--ink-soft);background:var(--paper-deep)}
.pill.orange{background:var(--orange)}
.pill svg{width:12px;height:12px}
.page-heading{margin:3px 3px 18px;display:flex;align-items:end;justify-content:space-between;gap:18px}
.page-heading h1{margin-top:7px}
.page-heading p:not(.eyebrow){margin-top:7px;color:var(--ink-soft);font-size:14px}
.overview{display:grid;grid-template-columns:minmax(0,2fr) minmax(265px,.82fr);gap:18px}
.overview-left,.overview-right{display:flex;flex-direction:column;gap:16px}
.hero{min-height:162px;padding:25px;position:relative;overflow:hidden;border-radius:var(--radius);color:#fff;background:linear-gradient(120deg,var(--ink) 0%,#10315e 58%,var(--blue) 100%);box-shadow:var(--shadow)}
.hero::before{content:"";position:absolute;width:330px;height:330px;right:-120px;top:-170px;border:45px solid rgba(255,255,255,.08);border-radius:50%}
.hero::after{content:"";position:absolute;width:190px;height:190px;right:45px;bottom:-135px;border:35px solid rgba(255,102,0,.82);border-radius:44% 56% 58% 42%;transform:rotate(28deg)}
.hero h1{max-width:670px;margin:8px 0 10px;position:relative;z-index:1}
.hero p{max-width:520px;color:rgba(255,255,255,.68);font-size:14px;line-height:1.6;position:relative;z-index:1}
.hero .eyebrow{color:var(--orange-light)}
.hero-actions{position:absolute;right:22px;bottom:20px;z-index:2;display:flex;gap:7px}
.hero-actions button{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.13);color:#fff;font-size:12px;backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.18)}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.kpi{padding:0;text-align:left;overflow:hidden;background:rgba(255,255,255,.9)}
.kpi button{width:100%;padding:16px;text-align:left;background:transparent}
.kpi-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--ink-soft);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.kpi-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:var(--blue);background:var(--paper-deep)}
.kpi-icon svg{width:14px;height:14px}
.kpi strong{display:block;margin:13px 0 3px;font-size:clamp(22px,2.3vw,34px);letter-spacing:-1.5px}
.kpi small{font-size:12px}
.kpi-link{margin-top:12px;padding-top:9px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);color:var(--blue);font-size:12px;font-weight:700}
.chart-grid{display:grid;grid-template-columns:1.4fr .72fr;gap:14px}
.chart-head p{margin-top:5px;color:var(--ink-soft);font-size:13px}
.bar-chart{height:182px;padding:25px 2px 17px;display:flex;align-items:end;gap:8px;position:relative;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 49px,rgba(0,4,59,.07) 50px)}
.week-bar{flex:1;height:var(--height);min-height:2px;position:relative;border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,#72a3d6,var(--blue));transform-origin:bottom}
.week-bar:nth-last-child(-n+3){background:linear-gradient(180deg,#ff9f6a,var(--orange))}
.week-bar.current{background:var(--ink)}
.week-labels{margin-top:8px;display:flex;justify-content:space-between;color:var(--ink-soft);font-size:11px}
.insight-stack{display:flex;flex-direction:column;gap:13px}
.ring-wrap{padding:14px 0 4px;display:flex;align-items:center;justify-content:center;gap:17px}
.ring{width:108px;height:108px;display:grid;place-items:center;position:relative;flex:0 0 108px}
.ring svg{width:108px;height:108px;position:absolute;transform:rotate(-90deg);stroke-width:10}
.ring-bg{stroke:var(--paper-deep)}
.ring-fill{stroke:var(--orange);stroke-dasharray:276;stroke-dashoffset:146;stroke-linecap:round}
.ring strong{font-size:26px;letter-spacing:-1px}
.ring-text p{margin:7px 0;color:var(--ink-soft);font-size:12px}
.ring-text i{width:7px;height:7px;display:inline-block;margin-right:6px;border-radius:50%;background:var(--orange)}
.ring-text p:nth-child(2) i{background:var(--blue)}
.attention{color:#fff;background:linear-gradient(125deg,var(--ink),#163c70)}
.attention p{max-width:90%;margin-top:8px;color:rgba(255,255,255,.62);font-size:13px;line-height:1.55}
.right-title{padding:3px 2px}
.right-title h2{margin-top:6px;font-size:26px}
.right-title p{margin-top:6px;color:var(--ink-soft);font-size:13px}
.course-list{display:flex;flex-direction:column;gap:8px}
.course-row{width:100%;padding:11px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;text-align:left;border-radius:15px;background:rgba(255,255,255,.9);border:1px solid rgba(255,255,255,.9)}
.course-row:hover{border-color:rgba(43,102,170,.25)}
.course-no{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;color:var(--blue);background:var(--paper-deep);font-size:13px;font-weight:800}
.course-row:nth-child(2) .course-no{color:#fff;background:var(--blue)}
.course-row:nth-child(3) .course-no{color:var(--orange-dark);background:#fff0e7}
.course-row:nth-child(4) .course-no{color:#fff;background:var(--orange)}
.course-row h3{font-size:13px}
.course-row p{margin-top:3px;color:var(--ink-soft);font-size:11px}
.course-row strong{font-size:15px}
.recent-list{margin-top:10px;display:flex;flex-direction:column;gap:7px}
.recent-purchase{width:100%;padding:10px;display:grid;grid-template-columns:28px 1fr auto;gap:9px;align-items:center;text-align:left;border-radius:12px;background:rgba(255,255,255,.86)}
.recent-purchase .initials{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:var(--blue);background:var(--paper-deep);font-size:11px;font-weight:800}
.recent-purchase p{font-size:12px}
.recent-purchase small{display:block;margin-top:2px;font-size:11px}
.recent-purchase strong{font-size:13px}
.toolbar{padding:13px;margin-bottom:13px;display:grid;grid-template-columns:minmax(180px,1fr) 240px auto;gap:9px;border-radius:18px}
.search-wrap{position:relative}
.search-wrap svg{position:absolute;left:12px;top:50%;width:15px;transform:translateY(-50%);color:var(--blue)}
.toolbar input,.toolbar select{width:100%;height:38px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.75);font-size:13px;outline:0}
.toolbar input{padding-left:36px}
.toolbar .result-count{display:flex;align-items:center;padding:0 10px;color:var(--ink-soft);font-size:12px;white-space:nowrap}
.table-card{padding:0;overflow:hidden}
.data-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}
.data-table th{padding:12px 14px;color:var(--ink-soft);background:rgba(234,242,252,.58);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.data-table td{padding:12px 14px;border-top:1px solid var(--line);vertical-align:middle}
.data-table tbody tr{transition:background .16s}
.data-table tbody tr:hover{background:rgba(234,242,252,.42)}
.person-cell{display:flex;align-items:center;gap:9px}
.mini-avatar{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border-radius:50%;color:var(--blue);background:var(--paper-deep);font-size:11px;font-weight:800}
.person-cell strong{display:block;font-size:13px}
.person-cell small{display:block;margin-top:2px;font-size:11px}
.status{display:inline-flex;padding:4px 7px;border-radius:999px;color:var(--ok);background:#e9f6ef;font-size:11px;font-weight:800}
.open-button{padding:6px 9px;border-radius:999px;color:var(--blue);background:var(--paper-deep);font-size:11px;font-weight:800}
.open-button:hover{color:#fff;background:var(--blue)}
.pagination{padding:12px 14px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);color:var(--ink-soft);font-size:12px}
.pagination div{display:flex;gap:6px}
.pagination button{width:29px;height:29px;border-radius:9px;background:var(--paper-deep);color:var(--blue)}
.pagination button:disabled{opacity:.35;cursor:default}
.profile-banner{padding:0;overflow:hidden}
.profile-cover{min-height:120px;padding:23px;position:relative;overflow:hidden;color:#fff;background:linear-gradient(120deg,var(--ink),var(--blue))}
.profile-cover::after{content:"";position:absolute;right:-50px;top:-90px;width:250px;height:250px;border:40px solid rgba(255,102,0,.72);border-radius:45% 55% 55% 45%;transform:rotate(28deg)}
.profile-cover h1{max-width:610px;margin-top:7px;position:relative;z-index:1}
.profile-cover .eyebrow{color:var(--orange-light);position:relative;z-index:1}
.privacy-note{padding:13px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.privacy-note p{color:var(--ink-soft);font-size:13px;line-height:1.55}
.privacy-note strong{color:var(--ink)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}
.stat p{display:flex;align-items:center;gap:8px;color:var(--ink-soft);font-size:12px}
.stat p svg{width:25px;height:25px;padding:5px;border-radius:50%;color:var(--blue);background:var(--paper-deep)}
.stat strong{display:block;margin:12px 0 3px;font-size:27px;letter-spacing:-1px}
.stat small{font-size:12px}
.people-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(240px,.72fr);gap:14px}
.people-list{margin-top:10px}
.person-row{width:100%;padding:11px 2px;display:grid;grid-template-columns:36px 1.3fr 1fr 78px 20px;gap:10px;align-items:center;text-align:left;border-bottom:1px solid var(--line);background:transparent}
.person-row:last-child{border-bottom:0}
.person-row:hover h3{color:var(--blue)}
.person-row h3{font-size:13px}
.person-row p,.person-row span{margin-top:3px;color:var(--ink-soft);font-size:11px}
.progress{height:6px;overflow:hidden;border-radius:999px;background:var(--paper-deep)}
.progress i{display:block;width:var(--width);height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--blue),var(--orange));transform-origin:left}
.people-side{display:flex;flex-direction:column;gap:13px}
.mood-chart{height:128px;margin-top:15px;display:flex;align-items:end;gap:8px}
.mood-col{height:100%;flex:1;display:flex;align-items:center;justify-content:end;flex-direction:column;gap:6px}
.mood-col i{width:100%;max-width:23px;height:var(--height);min-height:10px;border-radius:7px;background:linear-gradient(180deg,#76a7da,var(--blue));transform-origin:bottom}
.mood-col:nth-last-child(-n+2) i{background:linear-gradient(180deg,#ffb181,var(--orange))}
.mood-col span{font-size:10px;color:var(--ink-soft)}
.activity-list{margin-top:9px}
.activity{padding:9px 0;display:flex;gap:9px;border-bottom:1px solid var(--line)}
.activity:last-child{border:0}
.activity-icon{width:28px;height:28px;display:grid;place-items:center;flex:0 0 28px;border-radius:9px;color:var(--blue);background:var(--paper-deep)}
.activity-icon svg{width:13px;height:13px}
.activity p{font-size:12px;line-height:1.4}
.activity small{display:block;margin-top:3px;font-size:11px}
.commerce-insights{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:12px;margin:14px 0}
.metric-feature{min-height:132px;position:relative;overflow:hidden;color:#fff;background:linear-gradient(125deg,var(--ink),#164c88)}
.metric-feature::after{content:"";position:absolute;width:145px;height:145px;right:-55px;top:-65px;border:24px solid rgba(255,102,0,.72);border-radius:45% 55%;transform:rotate(24deg)}
.metric-feature .eyebrow{color:var(--orange-light);position:relative;z-index:1}
.metric-feature h2{max-width:260px;margin-top:10px;font-size:19px;position:relative;z-index:1}
.metric-feature p{max-width:290px;margin-top:7px;color:rgba(255,255,255,.65);font-size:12px;line-height:1.5;position:relative;z-index:1}
.metric-feature strong{display:block;margin-top:11px;font-size:22px;position:relative;z-index:1}
.customer-rank{display:flex;flex-direction:column;gap:7px;margin-top:10px}
.rank-row{padding:8px 9px;display:grid;grid-template-columns:25px 1fr auto;gap:8px;align-items:center;border-radius:11px;background:var(--paper-deep)}
.rank-row>span{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;color:var(--blue);background:#fff;font-size:11px;font-weight:800}
.rank-row h3{font-size:12px}.rank-row p{margin-top:2px;color:var(--ink-soft);font-size:11px}.rank-row strong{font-size:13px}
.app-hero{min-height:215px;padding:28px;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.65fr);gap:22px;position:relative;overflow:hidden;border-radius:28px;color:#fff;background:linear-gradient(125deg,var(--ink),#174d88);box-shadow:var(--shadow)}
.app-hero::after{content:"";position:absolute;width:330px;height:330px;right:-100px;top:-150px;border:52px solid rgba(255,102,0,.72);border-radius:45% 55%;transform:rotate(29deg)}
.app-hero>div,.app-hero>aside{position:relative;z-index:1}
.app-hero h1{max-width:760px;margin:9px 0 11px}.app-hero p{max-width:610px;color:rgba(255,255,255,.68);font-size:14px;line-height:1.6}.app-hero .eyebrow{color:var(--orange-light)}
.app-hero aside{align-self:center;padding:15px;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:rgba(255,255,255,.1);backdrop-filter:blur(14px)}
.app-hero aside span{display:block;color:rgba(255,255,255,.6);font-size:11px;text-transform:uppercase;letter-spacing:.12em}.app-hero aside strong{display:block;margin:7px 0 3px;font-size:18px}.app-hero aside small{color:rgba(255,255,255,.65);font-size:12px}
.app-actions{margin-top:16px;display:flex;gap:8px}.app-actions button{padding:9px 13px;border-radius:999px;color:var(--ink);background:#fff;font-size:12px;font-weight:800}.app-actions button.secondary{color:#fff;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.11)}
.app-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:14px;margin-top:14px}.app-stack{display:flex;flex-direction:column;gap:14px}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}
.product-card{padding:0;overflow:hidden;text-align:left}.product-card>button{width:100%;text-align:left;background:transparent}.product-art{height:112px;padding:14px;display:flex;align-items:flex-end;position:relative;overflow:hidden;background:linear-gradient(135deg,#dceafb,#f5f9fd)}.product-card:nth-child(even) .product-art{background:linear-gradient(135deg,#ffd8c2,#fff3ec)}.product-art::after{content:"";width:130px;height:130px;position:absolute;right:-36px;top:-55px;border:25px solid rgba(43,102,170,.14);border-radius:44% 56%;transform:rotate(25deg)}.product-card:nth-child(even) .product-art::after{border-color:rgba(255,102,0,.2)}
.product-art span{padding:5px 8px;position:relative;z-index:1;border-radius:999px;color:var(--ink-soft);background:rgba(255,255,255,.78);font-size:11px}.product-info{padding:13px}.product-info h3{min-height:32px;font-size:14px}.product-info p{margin-top:6px;color:var(--ink-soft);font-size:12px;line-height:1.45}.product-info footer{margin-top:11px;display:flex;align-items:center;justify-content:space-between}.product-info strong{font-size:15px}.product-info b{color:var(--blue);font-size:12px}
.purchase-history{display:flex;flex-direction:column;gap:8px;margin-top:11px}.purchase-card{padding:11px;display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:14px;background:#fff;text-align:left}.purchase-card h3{font-size:13px}.purchase-card p{margin-top:3px;color:var(--ink-soft);font-size:11px}.purchase-card strong{font-size:14px}
.resume-card{overflow:hidden}.resume-cover{min-height:150px;padding:22px;position:relative;color:#fff;background:linear-gradient(125deg,var(--blue),var(--ink))}.resume-cover::after{content:"";position:absolute;width:180px;height:180px;right:-50px;top:-90px;border:31px solid rgba(255,102,0,.8);border-radius:45% 55%;transform:rotate(25deg)}.resume-cover>*{position:relative;z-index:1}.resume-cover h2{max-width:420px;margin-top:8px;font-size:22px}.resume-cover p{margin-top:6px;color:rgba(255,255,255,.66);font-size:12px}.resume-body{padding:16px}.resume-body .progress{height:9px}.resume-meta{margin-bottom:8px;display:flex;justify-content:space-between;color:var(--ink-soft);font-size:12px}
.today-list,.checklist,.journal-list{margin-top:10px;display:flex;flex-direction:column;gap:8px}.today-row,.check-row,.journal-row{padding:11px;display:grid;grid-template-columns:31px 1fr auto;gap:10px;align-items:center;border-radius:13px;background:var(--paper-deep)}.today-row>span,.check-row>span{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;color:var(--blue);background:#fff}.today-row svg,.check-row svg{width:14px;height:14px}.today-row h3,.check-row h3,.journal-row h3{font-size:13px}.today-row p,.check-row p,.journal-row p{margin-top:3px;color:var(--ink-soft);font-size:11px}.today-row b,.check-row b{font-size:12px;color:var(--blue)}
.check-row.done{opacity:.68}.check-row.done h3{text-decoration:line-through}.journal-row{grid-template-columns:70px 1fr auto}.journal-row>span{color:var(--orange-dark);font-size:12px;font-weight:800}.journal-row b{font-size:12px;color:var(--blue)}
.mood-picker{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-top:14px}.mood-picker button{min-height:84px;padding:11px 7px;border:1px solid var(--line);border-radius:16px;background:#fff;font-size:23px;transition:.18s}.mood-picker button span{display:block;margin-top:7px;color:var(--ink-soft);font-size:11px}.mood-picker button:hover,.mood-picker button[aria-pressed="true"]{border-color:var(--orange);transform:translateY(-3px);box-shadow:0 12px 24px rgba(0,4,59,.09)}
.complete-note{margin:0 0 14px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-radius:16px;color:#fff;background:linear-gradient(110deg,var(--blue),var(--ink))}.complete-note p{font-size:12px;line-height:1.45}.complete-note strong{font-size:13px}.complete-note span{padding:5px 8px;border-radius:999px;background:var(--orange);font-size:11px;font-weight:800;white-space:nowrap}
.segmented{padding:3px;display:flex;gap:2px;border-radius:999px;background:var(--paper-deep)}
.segmented button{padding:6px 10px;border-radius:999px;color:var(--ink-soft);background:transparent;font-size:12px}
.segmented button[aria-pressed="true"]{color:#fff;background:var(--ink)}
.completion-layout,.needs-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(225px,1fr);gap:14px}
.path-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px;align-content:start}
.path-card{padding:8px;text-align:left}
.path-card>button{width:100%;text-align:left;background:transparent}
.path-art{min-height:102px;padding:15px;display:flex;align-items:end;position:relative;overflow:hidden;border-radius:16px;background:linear-gradient(135deg,#dceafb,#f4f8fd)}
.path-card:nth-child(2) .path-art{background:linear-gradient(135deg,#ffd7c1,#fff2ea)}
.path-card:nth-child(3) .path-art{background:linear-gradient(135deg,#d7e8f7,#edf5fc)}
.path-card:nth-child(4) .path-art{background:linear-gradient(135deg,#ffe5d4,#fff6f0)}
.path-art::before{content:"";position:absolute;width:130px;height:130px;right:-30px;top:-55px;border:24px solid rgba(43,102,170,.12);border-radius:44% 56%;transform:rotate(25deg)}
.path-card:nth-child(even) .path-art::before{border-color:rgba(255,102,0,.17)}
.path-art span{padding:4px 7px;border-radius:999px;color:var(--ink-soft);background:rgba(255,255,255,.72);font-size:11px}
.path-body{padding:11px 8px 7px}
.path-body h3{min-height:31px;font-size:14px}
.path-metrics{margin:10px 0 6px;display:flex;justify-content:space-between;gap:10px;color:var(--ink-soft);font-size:11px}
.path-metrics strong{color:var(--ink);font-size:13px}
.completion-side,.needs-side{align-self:start;display:flex;flex-direction:column;gap:13px}
.funnel{margin-top:14px}
.funnel-row{margin:9px 0;display:grid;grid-template-columns:64px 1fr 22px;align-items:center;gap:7px;color:var(--ink-soft);font-size:11px}
.funnel-row i{height:8px;width:var(--width);border-radius:999px;background:var(--blue);transform-origin:left}
.funnel-row:last-child i{background:var(--orange)}
.callout{color:#fff;background:linear-gradient(125deg,var(--ink),#16457f)}
.callout .eyebrow{color:var(--orange-light)}
.callout p{margin-top:8px;color:rgba(255,255,255,.66);font-size:13px;line-height:1.55}
.heat-card{overflow-x:auto}
.heat-table{width:100%;min-width:690px;margin-top:12px;border-collapse:separate;border-spacing:6px}
.heat-table th{padding:0 4px 6px;color:var(--ink-soft);font-size:11px;font-weight:600;text-align:center}
.heat-table th:first-child{text-align:left}
.heat-table td:first-child{width:115px;font-size:12px;font-weight:700}
.heat-cell{width:100%;min-height:42px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:0;border-radius:11px;color:var(--cell-ink,var(--ink));background:rgba(43,102,170,var(--alpha));transition:.18s}
.heat-cell:hover,.heat-cell[aria-pressed="true"]{transform:translateY(-2px) scale(1.025);box-shadow:0 8px 18px rgba(0,4,59,.14)}
.heat-cell[aria-pressed="true"]{outline:2px solid var(--orange);outline-offset:2px}
.heat-cell.gap{border:1.5px dashed var(--orange)}
.heat-cell b{font-size:14px}
.heat-cell small{margin-top:2px;color:inherit;font-size:10px;text-transform:uppercase}
.heat-legend{margin:9px 6px 0;display:flex;align-items:center;justify-content:flex-end;gap:5px;color:var(--ink-soft);font-size:11px}
.heat-legend i{width:15px;height:7px;border-radius:8px;background:rgba(43,102,170,var(--alpha))}
.selection-card{min-height:170px}
.selection-card h2{margin:7px 0;font-size:20px}
.selection-card p{color:var(--ink-soft);font-size:13px;line-height:1.55}
.selection-number{margin-top:16px;font-size:37px;font-weight:700;letter-spacing:-2px}
.selection-number span{color:var(--ink-soft);font-size:13px;font-weight:500;letter-spacing:0}
.legend-list{margin-top:11px}
.legend-list p{margin:7px 0;display:flex;align-items:center;gap:8px;color:var(--ink-soft);font-size:12px}
.legend-list i{width:10px;height:10px;border-radius:3px;background:var(--blue)}
.legend-list p:nth-child(2) i{background:transparent;border:1.5px dashed var(--orange)}
.wait-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}
.wait-card{padding:16px}
.wait-card .eyebrow{color:var(--blue)}
.wait-card strong{display:block;margin:11px 0 3px;font-size:27px}
.wait-card small{font-size:12px}
.security-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.security-card h2{display:flex;align-items:center;gap:9px}
.security-card h2 span{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;color:var(--blue);background:var(--paper-deep)}
.security-card h2 svg{width:14px;height:14px}
.security-card p{margin-top:11px;color:var(--ink-soft);font-size:13px;line-height:1.65}
.security-card ul{padding-left:17px;color:var(--ink-soft);font-size:13px;line-height:1.8}
.demo-footer{padding:8px 4px 0;display:flex;justify-content:space-between;gap:15px;color:var(--ink-soft);font-size:11px}
.demo-footer strong{color:var(--orange-dark)}
.drawer-overlay{position:fixed;inset:0;z-index:40;background:rgba(0,4,59,.26);backdrop-filter:blur(5px)}
.drawer{width:min(470px,calc(100vw - 24px));position:fixed;right:12px;top:44px;bottom:12px;z-index:50;padding:24px;border-radius:28px;overflow-y:auto;transform:translateX(calc(100% + 30px));transition:transform .42s cubic-bezier(.22,1,.36,1);background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(249,251,255,.82))}
.drawer.open{transform:translateX(0)}
.drawer[aria-hidden="true"]{visibility:hidden;pointer-events:none}
.drawer-close{width:34px;height:34px;position:sticky;top:0;float:right;display:grid;place-items:center;z-index:2;border-radius:50%;color:var(--ink);background:rgba(234,242,252,.9);font-size:21px}
.drawer-head{padding:9px 46px 18px 0;border-bottom:1px solid var(--line)}
.drawer-head h2{margin:7px 0 5px;font-size:24px}
.drawer-section{padding:18px 0;border-bottom:1px solid var(--line)}
.drawer-section:last-child{border:0}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}
.detail-item{padding:11px;border-radius:13px;background:var(--paper-deep)}
.detail-item span{display:block;color:var(--ink-soft);font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.detail-item strong{display:block;margin-top:5px;font-size:14px}
.timeline{margin-top:12px;padding-left:9px}
.timeline-row{padding:0 0 16px 18px;position:relative;border-left:1px solid rgba(43,102,170,.25)}
.timeline-row:last-child{padding-bottom:0;border-left-color:transparent}
.timeline-row::before{content:"";position:absolute;left:-5px;top:1px;width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:var(--blue);box-shadow:0 0 0 1px var(--blue)}
.timeline-row:first-child::before{background:var(--orange);box-shadow:0 0 0 1px var(--orange)}
.timeline-row strong{display:block;font-size:13px}
.timeline-row small{display:block;margin-top:3px;font-size:11px}
.check-list{margin-top:10px;display:flex;flex-direction:column;gap:8px}
.check-line{display:flex;gap:8px;color:var(--ink-soft);font-size:12px;line-height:1.45}
.check-line svg{width:14px;flex:0 0 14px;color:var(--ok)}
.drawer-actions{display:flex;gap:7px;margin-top:16px}
.drawer-actions button{padding:8px 11px;border-radius:999px;color:#fff;background:var(--ink);font-size:12px}
.drawer-actions button.secondary{color:var(--blue);background:var(--paper-deep)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.app-shell{grid-template-columns:250px minmax(0,1fr)}.overview{grid-template-columns:1fr}.overview-right{display:grid;grid-template-columns:1fr 1fr}.overview-right>section:last-child{grid-column:1/-1}.kpis{grid-template-columns:repeat(2,1fr)}.people-layout,.completion-layout,.needs-layout,.app-grid{grid-template-columns:1fr}.completion-side,.needs-side{display:grid;grid-template-columns:1fr 1fr}.toolbar{grid-template-columns:1fr 200px}.toolbar .result-count{display:none}.data-table th:nth-child(4),.data-table td:nth-child(4){display:none}.product-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.demo-ribbon{justify-content:flex-start;overflow-x:auto;white-space:nowrap}.demo-label{display:none}.app-shell{display:block;padding:10px}.sidebar{height:auto;min-height:0;position:relative;top:auto;padding:12px;border-radius:22px}.brand{width:210px}.owner{display:none}.side-demo{margin-top:10px}.side-nav{display:flex;gap:5px;overflow-x:auto}.side-nav p{display:none}.side-nav button{min-width:max-content;width:auto;grid-template-columns:20px auto auto;padding:8px 10px}.overview-right{grid-template-columns:1fr}.kpis,.stats-grid,.wait-grid{grid-template-columns:repeat(2,1fr)}.chart-grid{grid-template-columns:1fr}.insight-stack{display:grid;grid-template-columns:1fr 1fr}.people-layout,.completion-layout,.needs-layout{grid-template-columns:1fr}.path-grid{grid-template-columns:1fr 1fr}.completion-side,.needs-side{display:grid;grid-template-columns:1fr}.security-grid{grid-template-columns:1fr}.commerce-insights{grid-template-columns:1fr 1fr}.commerce-insights .metric-feature{grid-column:1/-1}.app-hero{grid-template-columns:1fr}.app-hero aside{display:none}.data-table th:nth-child(3),.data-table td:nth-child(3),.data-table th:nth-child(5),.data-table td:nth-child(5){display:none}.person-row{grid-template-columns:36px 1fr 70px 18px}.person-row>div:nth-child(3){display:none}}
@media(max-width:520px){.experience-switch button,.version-switch button{padding:6px 8px}.hero-actions{display:none}.kpis,.stats-grid,.wait-grid,.path-grid,.insight-stack,.commerce-insights,.product-grid{grid-template-columns:1fr}.commerce-insights .metric-feature{grid-column:auto}.toolbar{grid-template-columns:1fr}.toolbar select{display:none}.data-table th:nth-child(2),.data-table td:nth-child(2){display:none}.page-heading{align-items:flex-start;flex-direction:column}.privacy-note,.complete-note{align-items:flex-start;flex-direction:column}.detail-grid{grid-template-columns:1fr}.mood-picker{grid-template-columns:repeat(3,1fr)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* iPhone presentation shares the same views and state as the desktop demo. */
.device-switch{padding:3px;display:flex;gap:3px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.08)}
.device-switch button{padding:6px 11px;border-radius:999px;color:rgba(255,255,255,.7);background:transparent;font-size:12px}
.device-switch button[aria-pressed="true"]{color:var(--ink);background:var(--white)}
.iphone-frame,.iphone-scroll{min-width:0}
body[data-device="iphone"][data-area="patient"][data-version="mvp"] .app-shell{display:block;max-width:1040px}
body[data-device="iphone"][data-area="patient"][data-version="mvp"] .sidebar{display:none}
body[data-phone="true"] .app-shell{display:block;max-width:1320px;padding:22px 24px}
body[data-phone="true"] .sidebar{display:none}
body[data-phone="true"] .scope-guide{margin-bottom:22px}
body[data-phone="true"] .app-presentation{display:grid;grid-template-columns:minmax(0,1fr) 414px minmax(0,1fr);gap:28px;align-items:start}
body[data-phone="true"] .iphone-frame{position:relative;width:414px;height:868px;border:12px solid #252529;border-radius:60px;background:radial-gradient(ellipse at 100% 0,rgba(255,102,0,.15),transparent 40%),linear-gradient(160deg,#fcfaf8,#f2f6fc 50%,#fff8f2);box-shadow:0 0 0 2px #47474d,inset 0 0 0 1px rgba(255,255,255,.7),0 30px 65px rgba(0,4,59,.21);overflow:hidden;isolation:isolate}
.iphone-status{position:absolute;top:0;left:0;right:0;height:47px;padding:17px 26px 0;display:flex;justify-content:space-between;align-items:flex-start;color:var(--ink);font-size:15px;z-index:10;pointer-events:none}
.iphone-status>span{font-size:15px;letter-spacing:1px}.iphone-status>span b{font-size:16px;letter-spacing:0}
.dynamic-island{position:absolute;left:50%;top:9px;transform:translateX(-50%);width:126px;height:29px;border-radius:999px;background:#090909}
.iphone-header{position:absolute;top:48px;left:0;right:0;padding:9px 18px;display:flex;justify-content:space-between;align-items:center;gap:16px;z-index:6}
.iphone-header #phone-home{padding:8px 12px;min-height:44px;background:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.9);border-radius:999px;box-shadow:0 5px 18px rgba(0,4,59,.07)}
.iphone-header img{display:block;width:158px;height:34px;object-fit:contain}
.iphone-header #phone-more{min-width:44px;min-height:44px;font-size:19px;letter-spacing:2px;border-radius:50%;color:var(--ink);background:rgba(255,255,255,.75);box-shadow:inset 0 1px 0 var(--white),0 5px 18px rgba(0,4,59,.07)}
body[data-phone="true"] .iphone-scroll{position:absolute;inset:120px 0 100px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;scroll-padding-top:12px}
body[data-phone="true"] .iphone-frame{overflow:clip}
.iphone-scroll::-webkit-scrollbar{display:none}
body[data-phone="true"] #view{min-height:0;padding:0 16px 28px}
body[data-phone="true"] #view h1{font-size:29px;letter-spacing:-1px;line-height:1.08}
body[data-phone="true"] #view h2{font-size:19px;line-height:1.2;letter-spacing:-.45px}
body[data-phone="true"] #view h3{font-size:15px;line-height:1.35}
body[data-phone="true"] #view p,body[data-phone="true"] #view .scope-copy{font-size:14px;line-height:1.55}
body[data-phone="true"] #view .eyebrow{font-size:12px;line-height:1.5;letter-spacing:.1em}
body[data-phone="true"] #view .card{padding:20px;border-radius:25px;background:rgba(255,255,255,.84);box-shadow:inset 0 1px 0 var(--white),0 9px 25px rgba(0,4,59,.045)}
body[data-phone="true"] #view .card[data-mvp-ring="true"]{padding-top:33px}
body[data-phone="true"] #view .app-grid,body[data-phone="true"] #view .path-grid,body[data-phone="true"] #view .product-grid,body[data-phone="true"] #view .security-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
body[data-phone="true"] #view .app-stack{gap:14px}
body[data-phone="true"] #view .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body[data-phone="true"] #view .app-hero{display:block;min-height:0;padding:10px 3px 20px;border-radius:22px;color:var(--ink);background:transparent;box-shadow:none;overflow:visible;margin-bottom:8px}
body[data-phone="true"] #view .app-hero[data-mvp-ring="true"]{padding:29px 13px 18px;margin-bottom:16px}
body[data-phone="true"] #view .app-hero::after{display:none}
body[data-phone="true"] #view .app-hero h1{margin:9px 0 12px}
body[data-phone="true"] #view .app-hero p{color:var(--ink-soft)}
body[data-phone="true"] #view .app-hero .eyebrow{color:var(--orange-dark)}
body[data-phone="true"] #view .app-hero>aside{display:none}
body[data-phone="true"] #view .app-actions{flex-direction:column;gap:8px;margin-top:16px}
body[data-phone="true"] #view .app-actions button{width:100%;min-height:46px;background:var(--orange);color:var(--white);font-size:14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 7px 18px rgba(255,102,0,.16)}
body[data-phone="true"] #view .app-actions button.secondary{background:rgba(255,255,255,.85);color:var(--ink);border:1px solid var(--line);box-shadow:none}
body[data-phone="true"] #view .pill,body[data-phone="true"] #view .open-button{min-height:44px;font-size:14px;padding:10px 14px;white-space:normal}
body[data-phone="true"] #view .pill.soft{font-size:13px;min-height:32px;padding:7px 10px}
body[data-phone="true"] #view .purchase-card{min-height:74px;grid-template-columns:35px minmax(0,1fr) 54px;gap:8px;padding:13px 10px}
body[data-phone="true"] #view .purchase-card>div{min-width:0;overflow-wrap:anywhere}
body[data-phone="true"] #view .purchase-card p{font-size:13px;margin-top:4px}
body[data-phone="true"] #view .purchase-card>strong{font-size:12px;max-width:66px;white-space:nowrap}
body[data-phone="true"] #view .mini-avatar{width:35px;height:35px;flex:0 0 35px}
body[data-phone="true"] #view .page-heading{display:block;margin:0 2px 18px}
body[data-phone="true"] #view .page-heading p{margin-top:10px}
body[data-phone="true"] #view .page-heading>.pill{margin-top:10px}
body[data-phone="true"] #view .resume-cover{min-height:125px;padding:22px}
body[data-phone="true"] #view .resume-body{padding:17px 0 0}
body[data-phone="true"] #view .resume-body p{font-size:14px}
body[data-phone="true"] #view .resume-card{overflow:hidden}
body[data-phone="true"] #view .product-art{min-height:130px}
body[data-phone="true"] #view .product-art span{font-size:13px}
body[data-phone="true"] #view .complete-note{display:block;padding:17px;border-radius:20px;margin-bottom:14px}
body[data-phone="true"] #view .complete-note span{display:inline-block;margin-top:10px;font-size:12px}
body[data-phone="true"] #view .scope-tag{font-size:12px}
body[data-phone="true"] #view .mvp-marker{font-size:11px}
body[data-phone="true"] #view .journal-row{display:block;padding:15px}
body[data-phone="true"] #view .card.callout{color:var(--white);background:linear-gradient(125deg,var(--ink),#16457f)}
body[data-phone="true"] #view .card.callout p{color:rgba(255,255,255,.8)}
body[data-phone="true"] #view .check-row{grid-template-columns:31px minmax(0,1fr) 42px;min-height:66px}
body[data-phone="true"] #view .check-row p{font-size:13px}
body[data-phone="true"] #view .journal-row span{font-size:13px}
body[data-phone="true"] #view .mood-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}
body[data-phone="true"] #view .mood-picker button{min-height:76px}
body[data-phone="true"] #view .mood-picker button span{font-size:13px}
body[data-phone="true"] #view label{font-size:14px;line-height:1.5}
body[data-phone="true"] #view textarea{font-size:16px;min-height:120px}
body[data-phone="true"] #view .table-card{overflow-x:auto}
body[data-phone="true"] #view .data-table{min-width:500px}
body[data-phone="true"] #view .data-table th,body[data-phone="true"] #view .data-table td{font-size:13px}
.phone-tabs{position:absolute;left:12px;right:12px;bottom:22px;display:flex;gap:4px;z-index:12;padding:5px;border-radius:999px;background:rgba(255,255,255,.76);box-shadow:inset 0 1px 0 var(--white),0 10px 32px rgba(0,4,59,.13)}
.phone-tabs button{flex:1;min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:999px;background:transparent;color:var(--ink-soft);font-size:14px;font-weight:700;position:relative}
.phone-tabs button svg{width:21px;height:21px}
.phone-tabs button[aria-current="page"]{background:rgba(255,255,255,.95);color:var(--orange-dark);box-shadow:0 3px 10px rgba(0,4,59,.1)}

.home-indicator{position:absolute;bottom:7px;left:50%;transform:translateX(-50%);width:134px;height:5px;border-radius:999px;background:var(--ink);z-index:15}
.phone-menu{position:absolute;inset:111px 10px 98px;z-index:18;overflow-y:auto;padding:20px;border-radius:28px;background:rgba(249,250,253,.97)}
.phone-menu h2{font-size:22px;margin-bottom:14px}
.phone-menu p{font-size:14px;letter-spacing:.1em;margin:16px 0 7px;color:var(--ink-soft);font-weight:800}
.phone-menu button{width:100%;display:flex;align-items:center;gap:12px;min-height:48px;padding:11px 12px;margin:5px 0;border-radius:15px;text-align:left;background:rgba(255,255,255,.88);font-size:15px}
.phone-menu button .scope-tag{margin:0 0 0 auto;font-size:12px}
.phone-menu .phone-menu-close{width:44px;min-height:44px;float:right;justify-content:center;border-radius:50%;font-size:22px;padding:0;margin:-4px 0 0}
.phone-notes h2{font-size:20px;margin:7px 0 18px}
.phone-note{margin:0 0 13px;padding:20px;border:1px solid rgba(255,255,255,.9);border-radius:22px;background:rgba(255,255,255,.74);box-shadow:inset 0 1px 0 var(--white),0 8px 30px rgba(0,4,59,.04)}
.phone-note h3{font-size:16px;margin-bottom:9px}
.phone-note p{font-size:15px;line-height:1.65;color:var(--ink-soft)}
.phone-note .pill{font-size:15px;min-height:44px;margin-top:13px}
.phone-note .scope-tag{margin-bottom:9px}
.phone-notes .eyebrow{font-size:13px;margin-top:8px}
body[data-phone="true"] .demo-footer{margin-top:24px;font-size:12px}
body[data-phone="true"] .iphone-frame>.drawer-overlay{position:absolute;inset:47px 0 0;border-radius:0 0 45px 45px;z-index:30}
body[data-phone="true"] .iphone-frame>.drawer{position:absolute;inset:65px 7px 17px;width:auto;border-radius:28px;padding:22px 18px;z-index:35;transform:translateY(110%);transition:transform .35s cubic-bezier(.22,1,.36,1);background:rgba(251,252,255,.97)}
body[data-phone="true"] .iphone-frame>.drawer.open{transform:translateY(0)}
body[data-phone="true"] .drawer h2{font-size:21px}
body[data-phone="true"] .drawer p,body[data-phone="true"] .drawer label,body[data-phone="true"] .drawer .check-line{font-size:14px;line-height:1.6}
body[data-phone="true"] .drawer .drawer-actions{flex-direction:column}
body[data-phone="true"] .drawer button{min-height:44px;font-size:14px}
body[data-phone="true"] .drawer .drawer-close{width:44px;height:44px;font-size:24px}
body[data-phone="true"] .drawer textarea{font-size:16px}
body[data-phone="true"] .drawer .detail-item span,body[data-phone="true"] .drawer .timeline-row small{font-size:12px}
body[data-phone="true"] .drawer .detail-item strong,body[data-phone="true"] .drawer .timeline-row strong{font-size:14px}
body[data-phone="true"] .drawer .reader-steps{display:grid;grid-template-columns:1fr 1fr}
body[data-phone="true"] .drawer .drawer-section[data-mvp-ring="true"]{border-radius:18px;padding:35px 12px 16px;margin-top:12px}
@media(max-width:1100px){body[data-phone="true"] .app-presentation{grid-template-columns:minmax(0,1fr) 414px;gap:22px}body[data-phone="true"] #phone-notes-right{display:none}}
@media(max-width:780px){body[data-phone="true"] .app-presentation{display:flex;justify-content:center}body[data-phone="true"] .phone-notes{display:none}body[data-phone="true"] .app-shell{padding:20px 10px}.demo-ribbon{flex-wrap:wrap;overflow:visible;gap:7px;padding:9px 10px}.experience-switch{max-width:100%}.device-switch{flex-shrink:0}}
@media(max-width:520px){
  .demo-ribbon{height:124px;justify-content:center;gap:4px;padding:6px 8px}
  .experience-switch{flex-basis:100%;justify-content:center}
  .experience-switch button{font-size:14px;min-height:44px;padding:7px 11px}
  .version-switch button,.device-switch button{font-size:14px;min-height:44px;padding:6px 13px}
  body[data-phone="true"] .app-shell{padding:0;min-height:0}
  body[data-phone="true"] .main-stage{height:calc(100dvh - 124px);display:flex;flex-direction:column}
  body[data-phone="true"] .scope-guide{padding:12px 16px;margin:0;border-radius:0;gap:5px}
  body[data-phone="true"] .scope-guide>span{display:none}
  body[data-phone="true"] .app-presentation{display:block;flex:1;min-height:0}
  body[data-phone="true"] .iphone-frame{width:100%;height:100%;min-height:0;border:0;border-radius:0;box-shadow:none}
  body[data-phone="true"] .iphone-status,body[data-phone="true"] .home-indicator{display:none}
  body[data-phone="true"] .iphone-header{top:0;padding:8px 16px}
  body[data-phone="true"] .iphone-scroll{inset:77px 0 89px}
  body[data-phone="true"] .phone-tabs{bottom:max(12px,env(safe-area-inset-bottom));left:12px;right:12px}
  body[data-phone="true"] .phone-menu{inset:74px 10px 88px}
  body[data-phone="true"] .iphone-frame>.drawer{inset:15px 8px 8px}
  body[data-phone="true"] .iphone-frame>.drawer-overlay{inset:0;border-radius:0}
  body[data-phone="true"] .demo-footer{display:none}
}

/* The panel uses the same phone shell, with readable single-column analysis. */
body[data-phone="true"] #view .overview,body[data-phone="true"] #view .chart-grid,body[data-phone="true"] #view .overview-right,body[data-phone="true"] #view .insight-stack,body[data-phone="true"] #view .people-layout,body[data-phone="true"] #view .completion-layout,body[data-phone="true"] #view .needs-layout,body[data-phone="true"] #view .completion-side,body[data-phone="true"] #view .needs-side,body[data-phone="true"] #view .commerce-insights{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
body[data-phone="true"] #view .overview-right>section:last-child{grid-column:auto}
body[data-phone="true"] #view .kpis,body[data-phone="true"] #view .wait-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body[data-phone="true"] #view .hero{padding:24px 20px;min-height:0}
body[data-phone="true"] #view .hero[data-mvp-ring="true"]{padding-top:36px}
body[data-phone="true"] #view .hero-actions{display:flex;position:relative;inset:auto;margin-top:18px;flex-wrap:wrap}
body[data-phone="true"] #view .hero-actions button{min-height:44px;font-size:14px}
body[data-phone="true"] #view .kpi{padding:0!important}
body[data-phone="true"] #view .kpi>button{padding:19px 13px}
body[data-phone="true"] #view .kpi[data-mvp-ring="true"]>button{padding-top:33px}
body[data-phone="true"] #view .kpi-top{font-size:12px;letter-spacing:0}
body[data-phone="true"] #view .kpi strong{font-size:28px}
body[data-phone="true"] #view .kpi small,body[data-phone="true"] #view .kpi-link{font-size:12px;line-height:1.5}
body[data-phone="true"] #view .stat p{font-size:13px;line-height:1.4}
body[data-phone="true"] #view .stat small{font-size:13px;line-height:1.45}
body[data-phone="true"] #view .card.attention,body[data-phone="true"] #view .card.metric-feature{background:linear-gradient(125deg,var(--ink),#164c88);color:var(--white)}
body[data-phone="true"] #view .card.attention p,body[data-phone="true"] #view .card.metric-feature p{color:rgba(255,255,255,.8)}
body[data-phone="true"] #view .toolbar{grid-template-columns:minmax(0,1fr);padding:13px}
body[data-phone="true"] #view .toolbar input,body[data-phone="true"] #view .toolbar select{display:block;min-height:46px;font-size:15px}
body[data-phone="true"] #view .toolbar .result-count{display:block;font-size:13px;padding:3px 0}
body[data-phone="true"] #view .pagination{gap:12px;flex-wrap:wrap;font-size:13px;padding:14px 0}
body[data-phone="true"] #view .pagination button{width:44px;height:44px;font-size:19px}
body[data-phone="true"] #view .course-row{grid-template-columns:30px minmax(0,1fr) 25px;gap:9px;min-height:72px;padding:12px 9px}
body[data-phone="true"] #view .course-row p,body[data-phone="true"] #view .recent-purchase small{font-size:13px}
body[data-phone="true"] #view .recent-purchase{grid-template-columns:30px minmax(0,1fr) 43px;min-height:66px}
body[data-phone="true"] #view .recent-purchase strong{font-size:14px}
body[data-phone="true"] #view .person-row{grid-template-columns:35px minmax(0,1fr) 60px 12px;gap:8px;min-height:78px}
body[data-phone="true"] #view .person-row>div:nth-child(3){display:none}
body[data-phone="true"] #view .person-row h3{font-size:14px}
body[data-phone="true"] #view .person-row p,body[data-phone="true"] #view .person-row span,body[data-phone="true"] #view .rank-row p{font-size:12px;overflow-wrap:anywhere}
body[data-phone="true"] #view .rank-row{grid-template-columns:25px minmax(0,1fr) 48px;padding:12px 8px}
body[data-phone="true"] #view .rank-row strong{font-size:14px}
body[data-phone="true"] #view .privacy-note{display:block;padding:18px 0}
body[data-phone="true"] #view .privacy-note .pill{margin-top:12px}
body[data-phone="true"] #view .path-card{padding:0}
body[data-phone="true"] #view .path-metrics{font-size:14px}
body[data-phone="true"] #view .heat-table{min-width:610px}
body[data-phone="true"] #view .heat-cell{min-height:46px}
body[data-phone="true"] #view .funnel-row{grid-template-columns:90px minmax(0,1fr) 26px;font-size:12px;gap:7px}
body[data-phone="true"] #view .security-card ul,body[data-phone="true"] #view .activity small{font-size:14px;line-height:1.65}
body[data-phone="true"] .status{font-size:13px;padding:6px 9px}

/* Shared clinical and commercial flows keep the original Liquid Glass palette. */
.feature-card{margin-bottom:16px;min-width:0}
.feature-card>h2{margin-bottom:16px}
.feature-card .feature-card{box-shadow:none;background:var(--paper-deep)}
.feature-card input:not([type="checkbox"]):not([type="radio"]),.feature-card select,.feature-form input:not([type="checkbox"]):not([type="radio"]),.feature-form select{display:block;width:100%;min-height:44px;padding:10px 12px;margin:8px 0 14px;border:1px solid var(--line);border-radius:13px;background:var(--white);color:var(--ink);font-size:16px}
.feature-form label,.feature-card>label{display:block;font-size:15px;font-weight:600;line-height:1.5}
.feature-form textarea{font-size:16px;line-height:1.6}
.feature-form .pill,.drawer-section>.pill,.feature-card>.pill{margin:5px 5px 5px 0;min-height:44px;font-size:15px}
.feature-form fieldset,.editor-step{border:1px solid var(--line);padding:15px;border-radius:18px;min-width:0;margin:10px 0 16px}
.feature-form legend{font-size:15px;font-weight:800;padding:0 6px}
.face-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.face-options label{position:relative;display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center;justify-content:center;min-height:90px;padding:10px 4px;border:1px solid var(--line);border-radius:19px;background:var(--white);font-size:15px;cursor:pointer}
.face-options label:has(input:checked){outline:2px solid var(--orange);background:var(--paper)}
.face-options label span{font-size:31px}
.face-options input{position:absolute;left:6px;top:7px;accent-color:var(--orange);width:14px;height:14px}
.clinical-home fieldset{padding:0;border:0;margin:10px 0}
.clinical-home fieldset legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.clinical-home .face-options label{min-height:75px}
.checked-mood{display:flex;gap:15px;align-items:center;margin:16px 0}
.checked-mood>span{font-size:36px}
.checked-mood strong{font-size:15px}
.clinical-home .feature-form textarea{height:72px;min-height:72px}
body[data-phone="true"] #view .clinical-home .feature-form textarea{height:72px;min-height:72px}
.check-label{display:flex!important;gap:10px;align-items:flex-start;font-weight:500!important;line-height:1.6}
.check-label input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--orange);margin:2px 0}
.consent-box{padding:18px;border:1px solid var(--line);background:var(--paper-deep);border-radius:20px}
.daily-task{display:grid;grid-template-columns:4px minmax(0,1fr) auto;gap:13px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}
.daily-task:last-of-type{border-bottom:0}
.daily-task p{font-size:15px;line-height:1.6;margin:5px 0;color:var(--ink-soft)}
.task-stripe{width:4px;height:100%;min-height:65px;background:var(--orange);border-radius:4px}
.task-stripe.therapy{background:var(--blue)}
.daily-task .pill{padding:10px 13px;min-height:44px;font-size:15px}
.daily-task small{font-size:14px}
.appointment-date{font-size:20px;font-weight:800;line-height:1.4;margin-top:12px}
.record-line{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line);min-width:0}
.record-line>div{min-width:0;overflow-wrap:anywhere}
.record-line p{font-size:15px;line-height:1.65;color:var(--ink-soft);margin:6px 0}
.record-line .pill{min-height:44px;font-size:14px;flex-shrink:0;padding:10px 13px}
.feature-number{font-size:30px;line-height:1.3;display:block;margin:10px 0}
.feature-number small{font-size:16px}
.real-mood-chart{display:flex;gap:10px;height:175px;align-items:stretch;margin:22px 0 12px}
.real-mood-chart>div{position:relative;flex:1;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding-top:12px}
.real-mood-chart i{height:calc(var(--mood-height) * .7);min-height:12px;width:70%;max-width:40px;border-radius:10px 10px 3px 3px;background:linear-gradient(0deg,var(--orange),var(--orange-light))}
.real-mood-chart strong{font-size:14px;margin-top:8px}
.real-mood-chart small{font-size:13px;margin-top:5px;white-space:nowrap}
.message-warning{padding:13px 15px;background:var(--paper-deep);border-left:3px solid var(--orange);border-radius:12px;font-size:15px;line-height:1.65;margin-bottom:20px}
.message-list{display:grid;gap:13px;margin:15px 0 24px}
.message-bubble{padding:15px 18px;max-width:90%;border-radius:20px;overflow-wrap:anywhere}
.message-bubble strong{font-size:14px}
.message-bubble p{font-size:15px;line-height:1.7;margin:7px 0}
.message-bubble small{font-size:14px}
.from-veronica{justify-self:start;background:var(--paper-deep);border-bottom-left-radius:5px}
.from-person{justify-self:end;background:var(--ink);color:var(--white);border-bottom-right-radius:5px}
.from-person small{color:var(--orange-light)}
.document-row{padding:15px 0;border-bottom:1px solid var(--line);display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.document-row>div{width:100%;font-size:15px;line-height:1.6}
.document-row small{display:block;font-size:14px;margin-top:5px}
.document-copy{font-size:16px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:15px 0}
.media-demo{padding:16px;border:1px solid var(--line);border-radius:18px;margin-top:18px;background:var(--paper-deep)}
.media-demo video,.media-demo audio{width:100%;max-width:100%;display:block;margin:12px 0;border-radius:12px}
.media-demo video{aspect-ratio:16/9;background:var(--ink)}
.download-link{display:inline-flex;align-items:center;text-decoration:none;background:var(--ink);color:var(--white);padding:12px;border-radius:999px;font-size:15px;min-height:44px}
.catalog-filters{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}
.catalog-product{padding:20px}
.feature-flash,.form-result:not(:empty){display:block;padding:15px;border:1px solid var(--line);background:var(--paper-deep);border-radius:16px;font-size:15px;line-height:1.6;margin-bottom:18px;color:var(--ink)}
.feature-flash.error{border-color:var(--warn)}
.demo-disclaimer{font-size:14px;line-height:1.7;color:var(--ink-soft);margin:20px 0}
.readable-list{padding-left:22px;font-size:15px;line-height:1.9;margin:18px 0}
.tour-guide{padding:24px;margin-bottom:20px;border:2px solid var(--orange);background:var(--paper);position:relative;z-index:1}
.tour-guide .drawer-actions{margin-top:14px;flex-wrap:wrap}
[data-phase="bonus"]{border:2px dashed var(--orange-dark)}
.feature-card[data-phase="mvp"][data-mvp-ring="true"]{padding-top:38px}
.phone-menu button[aria-current="page"]{background:var(--paper-deep);color:var(--orange-dark);box-shadow:inset 3px 0 var(--orange)}
.iphone-header #phone-more[data-active="true"]{color:var(--orange-dark);box-shadow:inset 0 0 0 2px var(--orange-light)}
body[data-phone="true"] #view .feature-card .feature-card{padding:16px}
body[data-phone="true"] #view .daily-task{grid-template-columns:4px minmax(0,1fr) auto;gap:9px}
body[data-phone="true"] #view .daily-task p{font-size:14px}
body[data-phone="true"] #view .daily-task .pill{padding:10px;min-width:55px}
body[data-phone="true"] #view .record-line{align-items:flex-start;flex-direction:column;gap:8px}
body[data-phone="true"] #view .catalog-filters{grid-template-columns:1fr;gap:0}
body[data-phone="true"] #view .tour-guide{padding:18px}
body[data-phone="true"] #view .tour-guide .drawer-actions{flex-direction:column;align-items:stretch}
body[data-phone="true"] .feature-form input:not([type="checkbox"]):not([type="radio"]),body[data-phone="true"] .feature-form select,body[data-phone="true"] .feature-card select,body[data-phone="true"] .feature-card input:not([type="checkbox"]):not([type="radio"]){font-size:16px;min-height:46px}
body[data-phone="true"] .phone-tabs button{font-size:12px}
body[data-phone="true"] .drawer .feature-form label{font-size:14px}
body[data-phone="true"] .drawer .record-line{flex-direction:column;align-items:flex-start}
body[data-phone="true"] .drawer .media-demo{padding:12px}
body[data-phone="true"] .drawer .reader-steps{gap:6px}
body[data-phone="true"] .drawer .reader-steps button{padding:9px;font-size:13px;line-height:1.5}
body[data-phone="true"] .drawer .document-copy{font-size:15px}
.drawer-section[data-phase="mvp"][data-mvp-ring="true"]{padding:34px 12px 18px;margin:15px 0;border-radius:18px}
.pill.secondary{color:var(--blue);background:var(--paper-deep)}
.checkout-box{margin:12px 0 2px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--white);font-size:15px}
.checkout-box:has(input:checked){border-color:var(--orange);background:var(--paper)}
.checkout-box a{color:var(--blue);text-decoration:underline}
.checkout-stamp{display:block;min-height:14px;margin:0 0 4px 14px;font-size:14px;color:var(--ok)}
.drawer-section h3{margin:16px 0 4px;font-size:15px}
.visit-bars .funnel-row{grid-template-columns:130px minmax(0,1fr) 40px;font-size:14px}
.map-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:6px 0 20px}
.map-tools label{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--ink-soft)}
.map-tools select{width:auto;min-width:190px;min-height:34px;margin:0;padding:6px 12px;font-size:14px}
.map-board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px;align-items:stretch}
.map-col{position:relative;display:flex;flex-direction:column;justify-content:center;gap:10px;min-width:0;padding-top:28px}
.map-col+.map-col::before{content:"→";position:absolute;left:-19px;top:calc(50% + 14px);transform:translateY(-50%);color:var(--blue);font-size:16px;opacity:.6}
.map-col>.eyebrow{position:absolute;top:0;left:0;color:var(--ink-soft);letter-spacing:.12em}
.map-node{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:16px;background:var(--white);color:var(--ink);text-align:left;font:inherit;cursor:pointer;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.map-node:hover,.map-node:focus-visible{border-color:var(--blue);box-shadow:0 10px 24px rgba(0,4,59,.08);transform:translateY(-1px)}
.map-node span{font-size:14px;font-weight:700;line-height:1.3}
.map-node strong{font-size:22px;line-height:1.1}
.map-node small{font-size:13px;line-height:1.4;color:var(--ink-soft)}
.map-node.dark{min-height:130px;justify-content:center;background:var(--ink);border-color:var(--ink);color:var(--white)}
.map-node.dark small{color:rgba(255,255,255,.72)}
.map-node.accent{border:2px solid var(--orange)}
.map-node.accent strong{color:var(--orange)}
.map-node.dashed{border-style:dashed;background:transparent}
.map-rate{font-style:normal;font-size:13px;font-weight:800;color:var(--orange)}
.map-note{margin-top:18px;font-size:13px;line-height:1.55;color:var(--ink-soft)}
@media(max-width:1100px){.map-board{grid-template-columns:repeat(3,minmax(0,1fr))}.map-col:nth-child(3n+1)::before{display:none}}
@media(max-width:620px){.map-board{grid-template-columns:1fr}.map-col+.map-col::before{content:"↓";left:50%;top:-19px;transform:translateX(-50%);display:block}}
body[data-phone="true"] #view .map-board{grid-template-columns:minmax(0,1fr);gap:30px}
body[data-phone="true"] #view .map-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body[data-phone="true"] #view .map-node.dark,body[data-phone="true"] #view .map-node.accent,body[data-phone="true"] #view .map-rate{grid-column:1/-1}
body[data-phone="true"] #view .map-node.dark{min-height:0}
body[data-phone="true"] #view .map-col+.map-col::before{content:"↓";display:block;left:50%;top:-22px;transform:translateX(-50%)}
body[data-phone="true"] #view .map-node span{font-size:14px}
body[data-phone="true"] #view .map-node small,body[data-phone="true"] #view .map-rate,body[data-phone="true"] #view .map-note{font-size:14px}
body[data-phone="true"] #view .visit-bars .funnel-row{grid-template-columns:110px minmax(0,1fr) 40px;font-size:13px}
@media(max-width:780px){.clinical-home{grid-template-columns:1fr}.catalog-filters{grid-template-columns:1fr}.feature-form textarea,.feature-form input,.feature-form select{font-size:16px}.feature-card .record-line{flex-wrap:wrap}.feature-card .searchable-person{grid-template-columns:35px minmax(0,1fr) 70px 12px}}

/* Il sito: the published demo v3 in a frame, full width on desktop and edge to edge inside the iPhone */
body[data-area="site"] .sidebar{display:none}
body[data-area="site"] .app-shell{grid-template-columns:minmax(0,1fr)}
.site-frame{overflow:hidden;border-radius:24px;background:var(--white);box-shadow:0 14px 38px rgba(0,4,59,.08)}
.site-iframe{display:block;width:100%;height:calc(100vh - 150px);min-height:640px;border:0}
body[data-phone="true"][data-area="site"] .iphone-scroll{inset:54px 0 26px}
body[data-phone="true"][data-area="site"] #view{height:100%;padding:0}
body[data-phone="true"][data-area="site"] .site-frame{height:100%;border-radius:0;box-shadow:none}
body[data-phone="true"][data-area="site"] .site-iframe{height:100%;min-height:0}
