/* Approved portrait-and-porcelain reference. This layer changes presentation only. */
:root{--bg:#f7f7f9;--surface:#fff;--ink:#151922;--muted:#788094;--border:#e6e9ef;--border-strong:#d2d8e3;--main:#ffbf2e;--main-hi:#ffca50;--accent-soft:#f6ecd8;--gold-ink:#a87b26;--accent-ink:#211b0e;--shadow:0 4px 20px #27385405}
:root[data-theme=dark]{--bg:#14171d;--surface:#1d222b;--ink:#f5f5f7;--muted:#a6b0c2;--border:#333b49;--border-strong:#535f72;--accent-soft:#3b3222;--gold-ink:#eac479;--accent-ink:#211b0e}
body{background:var(--bg);color:var(--ink);letter-spacing:-.25px}
.elegant.app{grid-template-columns:272px minmax(0,1fr)}
.elegant .sidebar{padding:42px 24px 22px;background:var(--bg);border:0;display:flex;flex-direction:column;z-index:3}
.elegant .brand{padding:0 0 36px 9px;margin:0;display:block;font-size:29px;line-height:1.2;letter-spacing:-1.05px;color:var(--ink)}
.brand small{display:block;font-size:11px;letter-spacing:-.1px;color:var(--muted);font-weight:400;margin-top:10px;line-height:1.5;white-space:normal}
.elegant .menu{gap:12px;flex:0 0 auto;overflow:visible;max-height:none}
.elegant .navbtn{padding:15px 18px;min-height:56px;gap:17px;border-radius:11px;color:var(--ink);font-size:17px;font-weight:400}
.elegant .navbtn .icon{width:25px;height:25px;flex-shrink:0}
.elegant .navbtn.active{background:var(--accent-soft);box-shadow:none;font-weight:600}
.elegant .navbtn.active>.icon{color:var(--ink)}
.elegant .sidebar-bottom{margin-top:auto;padding-top:30px}
.sidebar-motto{color:#aeb4bf;padding:56px 25px 0;position:relative;margin-top:auto}
.branch-art{width:108px;height:150px;color:#d7ad5e;display:block}
.sidebar-motto p{font:italic 22px/1.26 Georgia,serif;color:#636f84;margin:12px 0 17px;letter-spacing:-.2px}
.sidebar-motto>span{display:block;width:34px;height:1px;background:#d7ad5e}
.elegant .sidebar-bottom>.theme-button{font-size:12px;min-height:36px;padding:7px 10px;margin-bottom:4px}
.elegant .side-profile{padding:12px 2px 0;gap:9px;border-color:var(--border)}
.elegant .side-profile .profile-avatar{width:31px;height:31px;min-width:31px;font-size:10px}
.elegant .profile-copy strong{font-size:11px}.elegant .profile-copy small{font-size:10px}
.elegant .side-profile>.icon{width:16px;height:16px}
.workspace-topbar{max-width:1180px;padding:30px 38px 0;display:flex;gap:22px;align-items:center;margin:auto}
#workspace-search-form{display:flex;align-items:center;gap:13px;background:var(--surface);border:1px solid var(--border-strong);border-radius:12px;min-height:53px;padding:0 18px;flex:1;min-width:0;box-shadow:0 2px 7px #24334802}
#workspace-search-form>.icon{width:21px;height:21px;color:#788399;flex-shrink:0}
#workspace-search{font-size:15px;color:var(--ink);padding:12px 0;background:transparent;border:0;outline-offset:7px;box-shadow:none;min-width:0;width:100%;min-height:50px;border-radius:5px}
#workspace-search::placeholder{color:var(--muted);opacity:1}
.search-submit{width:30px;min-width:30px;height:38px;border:0;background:transparent;color:var(--muted);display:grid;place-items:center;opacity:0}
#workspace-search-form:focus-within .search-submit{opacity:1}
.topbar-bell,.topbar-profile{display:grid;place-items:center;border:0;background:transparent;color:var(--ink);padding:0;width:40px;height:44px;min-width:40px;position:relative}
.topbar-bell .icon{width:25px;height:25px;color:#626e82}.notification-dot{position:absolute;top:7px;right:8px;width:5px;height:5px;border-radius:50%;background:var(--main)}
.topbar-profile{width:40px;height:40px;border-radius:50%;background:#e9e5df;color:#76644f;font-size:12px}
.connection-bar{max-width:1180px;padding:6px 38px 0;min-height:24px;margin:0 auto;font-size:9px;gap:12px;color:#8b93a2}
.connection-bar .tiny-action{min-height:22px;font-size:9px;padding:0}
#root{max-width:1180px;padding:22px 38px 64px}
.top{margin-bottom:26px}.top h1{font-size:44px;font-weight:600;letter-spacing:-1.5px;line-height:1.15}
.top .page-date{font-size:20px;line-height:1.5;margin-top:10px;color:var(--muted)}
.top .page-intro{font-size:16px;color:var(--muted);max-width:54ch}
.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:27px}
.dashboard-heading .top{margin:0}.dashboard-heading .top h1{font-size:48px;letter-spacing:-1.8px}
.practice-card{display:grid;grid-template-columns:minmax(90px,1fr) auto;gap:13px 16px;align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:17px 20px;width:350px;max-width:45%;text-align:left;color:var(--ink);box-shadow:var(--shadow)}
.practice-card>strong{font-size:16px;font-weight:600;grid-column:1/-1;line-height:1.4}
.practice-progress{display:block;height:9px;border-radius:20px;background:var(--border);min-width:100px;overflow:hidden}
.practice-progress>i{display:block;background:var(--main);height:100%;border-radius:20px}
.practice-caption{font-size:12px;color:var(--muted);white-space:nowrap}
.studio-stage{margin-bottom:24px}
.focus-card{border:1px solid var(--border);border-radius:17px;padding:22px;background:var(--surface);box-shadow:var(--shadow)}
.focus-content{padding:0;gap:27px;display:flex;align-items:stretch;min-height:248px}
.focus-avatar,.focus-avatar.client-list-photo{width:198px;height:auto;min-height:248px;align-self:stretch;border-radius:12px;object-fit:cover;object-position:center;flex-shrink:0;font-size:55px;background:var(--surface-soft);display:grid;place-items:center}
.focus-copy{min-width:0;flex:1;padding:6px 0 0;position:relative;display:flex;flex-direction:column;align-items:flex-start}
.focus-content h2{font-size:31px;font-weight:600;line-height:1.25;letter-spacing:-1.1px;margin:0 0 6px;color:var(--ink)}
.focus-purpose{font-size:17px;line-height:1.45;margin:0;color:var(--muted)}
.focus-label{font-size:11px;line-height:1.4;color:var(--muted);display:block;margin-top:4px}
.focus-rule{height:1px;width:46px;background:#d9dee6;margin:17px 0}
.focus-agreement{font-size:17px;line-height:1.5;display:flex;align-items:flex-start;gap:14px;margin:0 0 19px;max-width:47ch;overflow-wrap:anywhere}
.focus-agreement>.icon{width:24px;height:24px;flex-shrink:0;margin-top:2px;color:#5c6880}
.focus-bottom{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;border:0;padding:0;gap:22px;margin-top:auto;width:100%}
.focus-bottom .btn{width:auto;min-height:49px;border-radius:11px;padding:12px 17px;font-size:14px;gap:9px;white-space:normal;line-height:1.35;background:var(--main);color:var(--accent-ink);border:0}
.focus-bottom .btn>.icon{width:22px;height:22px;flex-shrink:0}
.training-link{display:inline-flex;align-items:center;gap:8px;color:#788dad;background:none;border:0;padding:8px 0;font-size:12px;text-align:left;min-height:40px;line-height:1.4}
.training-link>span{text-decoration:underline;text-underline-offset:3px}.training-link>.icon{width:21px;height:21px;flex-shrink:0}
.focus-detail-link{font-size:10px;line-height:1.4;color:var(--muted);background:none;border:0;padding:7px 0 0;display:flex;align-items:center;gap:3px;min-height:23px}
.focus-detail-link>.icon{width:12px;height:12px}
.focus-empty{padding:20px 8px}.focus-empty h2{font-size:28px}.focus-empty p{font-size:16px;margin-bottom:25px}
.focus-payment{font-size:18px;margin:0 0 12px}.focus-payment>small{display:block}
.agenda-panel{padding:22px 24px 0;background:var(--surface);border:1px solid var(--border);border-radius:17px;overflow:hidden;box-shadow:var(--shadow)}
.section-heading{margin-bottom:15px}.section-heading h2{font-size:25px;letter-spacing:-.6px;font-weight:600;line-height:1.3}
.section-heading .text-link{font-size:13px;font-weight:400;color:#758aaa;text-decoration:underline;text-underline-offset:3px;gap:6px}
.agenda-panel .plan-row,.agenda-panel .plan-row:first-child,.agenda-panel .plan-row:last-child{padding:17px 0;margin:0;border:0;border-bottom:1px solid var(--border);border-radius:0;display:grid;grid-template-columns:57px minmax(200px,1.1fr) minmax(150px,1fr) 23px;align-items:center;gap:15px;background:transparent;min-height:83px}
.plan-row .task-daytime{font-size:16px;font-weight:600;max-width:none;color:var(--ink);text-align:left;white-space:normal}
.plan-person{display:flex;align-items:center;gap:12px;border:0;background:none;padding:0;text-align:left;min-width:0;color:var(--ink)}
.plan-person .person-photo{width:45px;height:45px;flex-shrink:0;font-size:15px}
.plan-person>span{min-width:0}.plan-person strong{font-size:16px;line-height:1.4;font-weight:400;display:block;overflow-wrap:anywhere}
.plan-person small{font-size:13px;line-height:1.4;display:block;color:var(--muted);margin-top:3px}
.agenda-panel .plan-row h3{font-size:14px;color:#636f83;font-weight:400;letter-spacing:-.15px;line-height:1.5;margin:0;max-width:none}
.plan-open{border:0;background:transparent;color:#8592a9;min-height:44px;min-width:25px;padding:2px;display:grid;place-items:center}
.plan-open .icon{width:19px;height:19px}
.agenda-summary{font-size:10px;min-height:36px;padding:9px 0;gap:7px;color:#8a94a6}.agenda-summary>.icon{width:14px;height:14px}
.dashboard-utilities{margin-top:34px}.dashboard-utilities>.section-heading>h2{font-size:18px;color:var(--muted)}
.dashboard-utilities .studio-columns{grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr);gap:24px}
.dashboard-utilities .recent-section{margin:0}.dashboard-utilities .recent-section h2{font-size:20px}
.dashboard-utilities .base-panel .section-heading h2{font-size:20px}
.dashboard-utilities>.panel{margin-top:24px}
.btn{border-radius:10px}.btn:not(.secondary):not(.neutral):not(.danger){background:var(--main);color:var(--accent-ink)}
.btn.secondary,.btn.neutral,.mini{border-color:var(--border);background:var(--surface);color:var(--ink)}
.client-grid,.ordercard,.data-row,.meeting-entry,.panel,.task-card,.reminder-card,.empty{box-shadow:var(--shadow);border-color:var(--border)}
.toolbar .search{border-color:var(--border-strong);border-radius:12px;min-height:53px}
.clientcard{padding:24px}.clientcard>.inline-actions .btn{background:var(--surface);color:var(--ink);border:1px solid var(--border-strong)}
.clientcard>.inline-actions .mini{border:0;background:none;color:var(--muted)}
.client-request{color:#68758b}.person-photo,.client-list-photo{object-fit:cover}
.task-entry-actions .task-message{background:var(--accent-soft);color:var(--gold-ink)}
.task-group-label{font-size:14px;color:var(--muted)}
.modal:has([data-client-history]){width:min(650px,100vw);background:var(--bg);border-radius:22px;box-shadow:0 24px 90px #19263b24}
.modal:has([data-client-history]) .modal-header{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;position:relative;z-index:5;min-height:64px;padding:14px 22px;border:0;background:var(--bg)}
.modal:has([data-client-history]) .modal-header h2{text-align:center;font-size:18px;line-height:1.4;letter-spacing:-.2px;margin:0;font-weight:600}
.profile-back{width:40px;height:40px;display:grid;place-items:center;background:none;border:0;color:var(--ink);padding:0}
.profile-back>.icon{width:24px;height:24px}
.profile-actions{position:relative}.profile-actions summary{list-style:none;display:grid;place-items:center;width:40px;height:40px;cursor:pointer;color:var(--ink)}
.profile-actions summary::-webkit-details-marker{display:none}.profile-actions summary>.icon{width:25px;height:25px}
.profile-actions>div{position:absolute;right:0;top:43px;width:235px;max-width:calc(100vw - 45px);display:grid;background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:8px;box-shadow:0 12px 35px #24334820;z-index:10}
.profile-actions .mini{text-align:left;justify-content:flex-start;border:0;min-height:42px;font-size:14px;background:transparent}
.profile-actions .mini:hover{background:var(--accent-soft)}
.modal:has([data-client-history]) .modal-body{padding:4px 25px 32px}
.client-profile{padding:0;margin:0 0 19px;border:0;background:none;overflow:visible;box-shadow:none}
.client-profile-person{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.profile-photo-wrap{position:relative;width:150px;height:150px}
.profile-photo,.client-photo.profile-photo{width:150px;height:150px;min-width:150px;border-radius:50%;object-fit:cover;box-shadow:0 5px 18px #2433480b;font-size:42px}
.profile-care{position:absolute;right:-1px;bottom:0;display:grid;place-items:center;width:41px;height:41px;border-radius:50%;border:1px solid #eadcb9;background:#fff8e9;color:#b88828;box-shadow:0 3px 10px #27385409;padding:9px}
.profile-care>.icon{width:21px;height:21px}
.client-profile h3{font-size:27px;letter-spacing:-1px;line-height:1.25;margin:0;font-weight:600;overflow-wrap:anywhere;max-width:100%}
.client-context h4,.client-materials h4{font-size:15px;letter-spacing:-.3px;line-height:1.5;margin:18px 0 7px;font-weight:600}
.remember-card{padding:0 14px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow)}
.remember-card p{margin:0;padding:11px 0;display:flex;align-items:center;gap:14px;font-size:14px;line-height:1.45;color:#5f6b81}
.remember-card p+p{border-top:1px solid var(--border)}.remember-card .icon{width:23px;height:23px;flex-shrink:0;color:#65718a}
.remember-empty{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:10px;font-size:14px;text-align:left;line-height:1.5;padding:14px;color:var(--muted);width:100%}
.client-agreement{display:flex;align-items:center;gap:15px;padding:12px 14px;background:var(--surface);border:1px solid var(--border);border-radius:10px;width:100%;min-height:64px;text-align:left;color:#5f6b81;font-size:14px;line-height:1.5}
.client-agreement>.icon{width:25px;height:25px;flex-shrink:0;color:#65718a}.client-agreement>span{overflow-wrap:anywhere}.client-agreement small{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.card-tabs{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;border:0;margin:17px 0 15px;padding:0;background:none}
.card-tabs button{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:12px;line-height:1.35;min-height:75px;padding:10px 3px;color:#647089}
.card-tabs button .icon{width:24px;height:24px}
.card-tabs button[aria-pressed=true]{color:var(--ink);background:var(--surface);box-shadow:none;border-color:#d3dbe7}
.client-materials{margin:0 0 20px}.client-materials h4{margin:0 0 7px}
.client-material-card{display:flex;align-items:center;gap:13px;width:100%;padding:0;background:var(--surface);border:1px solid var(--border);border-radius:10px;text-align:left;overflow:hidden;min-height:95px;color:var(--ink)}
.material-art{display:grid;place-items:center;width:92px;align-self:stretch;flex-shrink:0;background:#eeeade;overflow:hidden;position:relative}
.material-art .branch-art{width:78px;height:101px;transform:rotate(20deg);color:#89907b;position:absolute;left:9px;bottom:-5px}
.client-material-card>span:nth-child(2){flex:1;min-width:0}.client-material-card strong{display:block;font-size:13px;line-height:1.4;font-weight:600}.client-material-card small{display:block;font-size:11px;color:var(--muted);line-height:1.45;margin-top:5px}
.client-material-card>.icon{width:18px;height:18px;margin-right:10px;flex-shrink:0;color:#6a7690}
.client-tab-body{border-top:1px solid var(--border);padding-top:20px}.client-tab-body>.section-action{margin-top:0}
.client-tab-body .section-action>.btn{font-size:13px;min-height:43px}
.client-tab-body .task-card,.client-tab-body .reminder-card{padding:17px;box-shadow:none}
.workspace-result{display:flex;align-items:center;gap:15px;padding:16px 0;width:100%;text-align:left;border:0;border-bottom:1px solid var(--border);background:none;color:var(--ink)}
.workspace-result>.icon{width:23px;height:23px;flex-shrink:0;color:var(--muted)}.workspace-result>span{flex:1;min-width:0}.workspace-result strong{font-size:16px;display:block;overflow-wrap:anywhere;line-height:1.5}.workspace-result small{font-size:12px;color:var(--muted);display:block;margin-top:4px}.search-query{color:var(--muted);font-size:14px}
.getting-started{margin-bottom:22px;border-color:var(--border);background:var(--surface);box-shadow:none}
@media(min-width:1500px){.elegant.app{grid-template-columns:290px minmax(0,1fr)}.elegant .sidebar{padding-inline:29px}.workspace-topbar,#root,.connection-bar{max-width:1250px}}
@media(max-width:1200px) and (min-width:901px){.elegant.app{grid-template-columns:235px minmax(0,1fr)}.elegant .sidebar{padding-inline:17px}.elegant .brand{font-size:25px}.brand small{font-size:10px}#root{padding-inline:27px}.workspace-topbar{padding-inline:27px}.connection-bar{padding-inline:27px}.focus-avatar,.focus-avatar.client-list-photo{width:165px;min-height:235px}.focus-content{gap:21px}.focus-content h2{font-size:27px}.focus-bottom{gap:5px 15px}.training-link{font-size:11px}.focus-bottom .btn{font-size:13px}.dashboard-heading .top h1{font-size:43px}.practice-card{padding:14px 16px;width:300px}.practice-card>strong{font-size:14px}.practice-caption{font-size:10px}.agenda-panel .plan-row{grid-template-columns:45px minmax(160px,1fr) minmax(120px,.9fr) 20px;gap:12px}.plan-person strong{font-size:14px}.plan-person small{font-size:11px}.plan-person .person-photo{width:40px;height:40px}.agenda-panel .plan-row h3{font-size:13px}.dashboard-utilities .studio-columns{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.elegant.app{display:block}.elegant .sidebar{display:none}.workspace-topbar{padding:18px 22px 0;gap:13px;max-width:800px}.workspace-topbar #workspace-search-form{min-height:46px;padding:0 12px;gap:9px}#workspace-search{font-size:13px;min-height:44px}.workspace-topbar .topbar-bell{width:30px;min-width:30px}.workspace-topbar .topbar-profile{width:32px;min-width:32px;height:32px;font-size:10px}.connection-bar{height:22px;min-height:22px;max-width:800px;padding:3px 22px 0;font-size:9px}.connection-bar .tiny-action{min-height:20px;font-size:9px}#root{max-width:800px;padding:18px 22px 108px}.top h1{font-size:35px}.dashboard-heading .top h1{font-size:42px}.top .page-date{font-size:16px}.dashboard-heading{gap:15px;margin-bottom:20px}.practice-card{width:270px;padding:13px 15px;gap:9px 12px}.practice-card>strong{font-size:14px}.practice-caption{font-size:10px}.practice-progress{min-width:60px;height:7px}.focus-content{gap:24px}.focus-avatar,.focus-avatar.client-list-photo{width:175px;min-height:235px}.focus-content h2{font-size:28px}.focus-agreement{font-size:16px}.focus-bottom .btn{font-size:13px}.training-link{font-size:11px}.agenda-panel .plan-row{grid-template-columns:49px minmax(170px,1fr) minmax(130px,1fr) 20px;gap:13px}.agenda-panel .plan-row h3{font-size:13px}.plan-person strong{font-size:14px}.plan-person small{font-size:11px}.plan-person .person-photo{width:42px;height:42px}.dashboard-utilities .studio-columns{grid-template-columns:1fr 1fr;gap:20px}.mobile-nav{padding:6px 8px calc(7px + env(safe-area-inset-bottom));min-height:64px;background:var(--surface);border-top:1px solid var(--border)}.mobile-nav button,.mobile-nav .navbtn{font-size:10px;gap:4px;min-height:48px;border-radius:0;color:#6e7a90;background:transparent}.mobile-nav .icon{width:22px;height:22px}.mobile-nav button.active{background:transparent;color:var(--gold-ink)}.mobile-nav button.active>.icon{color:var(--main);fill:#ffbf2e18}.modal:has([data-client-history]){width:min(600px,100vw)}body:has([data-client-history]) .mobile-nav{z-index:60}.modal:has([data-client-history]) .modal-body{padding-bottom:100px}.due-alert{bottom:84px}}
@media(max-width:600px){.workspace-topbar{padding:15px 17px 0;gap:10px}.topbar-profile{display:none}.workspace-topbar .topbar-bell{width:28px;min-width:28px}.search-submit{display:none}#workspace-search{font-size:12px;letter-spacing:-.2px}.connection-bar{padding-inline:18px;height:20px;min-height:20px}#root{padding:16px 18px 100px}.top{margin-bottom:18px;align-items:center}.top h1{font-size:32px;letter-spacing:-1.1px}.top-right{margin:0}.top-right .btn{margin:0;width:auto;min-height:42px;font-size:13px;padding:9px 11px}.top .page-date{font-size:14px;margin-top:6px}.dashboard-heading{align-items:flex-start;gap:13px;flex-direction:column;margin-bottom:19px}.dashboard-heading .top h1{font-size:38px}.practice-card{max-width:none;width:100%;grid-template-columns:auto minmax(55px,1fr) auto;padding:11px 13px;gap:11px;border-radius:10px}.practice-card>strong{grid-column:auto;font-size:12px}.practice-caption{font-size:10px}.practice-progress{height:6px}.studio-stage{margin-bottom:18px}.focus-card{padding:17px;border-radius:15px}.focus-content{display:block;min-height:0}.focus-avatar,.focus-avatar.client-list-photo{width:100%;height:220px;min-height:0;border-radius:10px;object-position:center 37%;margin:0 0 17px;font-size:58px}.focus-copy{padding:0}.focus-content h2{font-size:27px;line-height:1.25;letter-spacing:-.9px}.focus-purpose{font-size:15px;line-height:1.5}.focus-label{font-size:10px;margin-top:4px}.focus-rule{margin:14px 0}.focus-agreement{font-size:15px;line-height:1.5;gap:11px;margin:0 0 16px}.focus-agreement>.icon{width:22px;height:22px}.focus-bottom{display:flex;gap:5px 14px;width:100%;padding:0}.focus-bottom .btn{width:auto;flex:1 1 100%;min-height:47px;padding:11px 12px;font-size:14px}.training-link{font-size:11px;min-height:34px}.focus-detail-link{padding:0;font-size:10px;margin-top:2px}.agenda-panel{padding:19px 16px 0;border-radius:15px}.section-heading h2{font-size:22px;letter-spacing:-.7px}.section-heading .text-link{font-size:12px}.agenda-panel .plan-row,.agenda-panel .plan-row:first-child,.agenda-panel .plan-row:last-child{grid-template-columns:42px minmax(0,1fr) 20px;gap:3px 10px;padding:15px 0;min-height:88px}.plan-row .task-daytime{grid-column:1;grid-row:1/3;font-size:13px;align-self:start;padding-top:9px}.plan-person{grid-column:2;grid-row:1;gap:9px}.plan-person .person-photo{width:36px;height:36px;font-size:12px}.plan-person strong{font-size:14px;font-weight:400}.plan-person small{font-size:10px;margin-top:1px}.agenda-panel .plan-row h3{grid-column:2;grid-row:2;font-size:12px;margin:4px 0 0 45px;line-height:1.5}.plan-open{grid-column:3;grid-row:1/3;min-width:20px}.agenda-summary{font-size:9px}.dashboard-utilities{margin-top:26px}.dashboard-utilities .studio-columns{grid-template-columns:1fr;gap:23px}.dashboard-utilities>.section-heading>h2{font-size:16px}.dashboard-utilities>.section-heading>.btn{font-size:11px;padding:9px 10px;min-height:39px}.clientcard{padding:21px 17px}.task-card h3,.reminder-card h3{font-size:18px}.modal:has([data-client-history]){height:100dvh;max-height:100dvh;border-radius:0}.modal:has([data-client-history]) .modal-header{min-height:57px;padding:9px 15px;grid-template-columns:36px 1fr 36px}.modal:has([data-client-history]) .modal-header h2{font-size:17px}.profile-back{width:36px;height:36px}.profile-actions summary{width:36px;height:36px}.modal:has([data-client-history]) .modal-body{padding:7px 20px 100px}.client-profile{margin-bottom:16px}.profile-photo-wrap{width:148px;height:148px}.profile-photo,.client-photo.profile-photo{width:148px;height:148px;min-width:148px}.client-profile-person{gap:15px}.client-profile h3{font-size:27px;letter-spacing:-.9px}.profile-care{width:39px;height:39px;right:0;bottom:0}.client-context h4,.client-materials h4{font-size:14px;line-height:1.5;margin-top:17px;margin-bottom:6px}.remember-card{padding:0 12px}.remember-card p{padding:11px 0;font-size:13px;gap:12px;line-height:1.4}.remember-card .icon{width:22px;height:22px}.client-agreement{font-size:13px;line-height:1.4;gap:12px;padding:11px 12px;min-height:61px}.client-agreement small{font-size:10px}.client-agreement>.icon{width:23px;height:23px}.card-tabs{gap:8px;margin:16px 0 15px}.card-tabs button{font-size:11px;min-height:73px;gap:8px}.card-tabs button .icon{width:23px;height:23px}.client-materials{margin-bottom:21px}.client-materials h4{margin-top:0}.client-material-card{min-height:88px;gap:11px}.material-art{width:86px}.client-material-card strong{font-size:12px}.client-material-card small{font-size:11px}.client-material-card>.icon{margin-right:8px}.client-tab-body{padding-top:18px}.client-tab-body .empty{padding:23px 15px}.client-tab-body .empty h3{font-size:18px}.client-tab-body .empty p{font-size:14px}.modal-header h2{font-size:24px}.modal-body{padding:21px 18px}.panel,.ordercard,.data-row,.meeting-entry{border-radius:15px}.panelhead,.panel-body{padding-inline:20px}.formgrid .field label{color:#65718a}.notice{font-size:14px}.mobile-nav button.active{color:var(--gold-ink);background:transparent}.due-alert{left:15px;right:15px;bottom:78px;font-size:12px;border-radius:12px;padding:13px}.getting-started{padding:18px}.getting-started h2{font-size:18px}.getting-started li{font-size:13px}}
@media(max-width:360px){#root{padding-inline:14px}.workspace-topbar{padding-inline:14px}.focus-card{padding:14px}.focus-avatar,.focus-avatar.client-list-photo{height:200px}.focus-content h2{font-size:25px}.practice-card>strong{font-size:11px}.practice-caption{font-size:9px}.modal:has([data-client-history]) .modal-body{padding-inline:17px}.client-profile h3{font-size:24px}.profile-photo-wrap,.profile-photo,.client-photo.profile-photo{width:138px;height:138px;min-width:138px}.client-material-card strong{font-size:11px}.client-material-card small{font-size:10px}.material-art{width:77px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media(min-width:901px) and (max-height:850px){.elegant .sidebar{padding-top:30px;overflow-y:auto}.elegant .brand{padding-bottom:27px}.elegant .sidebar-bottom{display:none}.sidebar-motto{padding-top:25px;margin-top:auto}.sidebar-motto .branch-art{height:115px;width:85px}.sidebar-motto p{font-size:20px;margin-top:5px}.elegant .navbtn{min-height:52px;padding-block:13px}.elegant .menu{gap:8px}}
.focus-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px}.focus-meta .focus-label{margin:0}.profile-photo-trigger{padding:0;border:0;border-radius:50%;background:none;display:block;width:100%;height:100%;cursor:pointer}.profile-photo-trigger:focus-visible{outline-offset:6px}
@media(min-width:1101px) and (max-width:1200px){.elegant.app{grid-template-columns:272px minmax(0,1fr)}.elegant .sidebar{padding-inline:24px}.elegant .brand{font-size:29px}.brand small{font-size:11px}#root,.workspace-topbar,.connection-bar{padding-inline:28px}.focus-avatar,.focus-avatar.client-list-photo{width:198px;min-height:248px}.focus-content h2{font-size:31px}.focus-bottom .btn{font-size:14px}.training-link{font-size:12px}}
@media(max-width:600px){.profile-photo-wrap,.profile-photo,.client-photo.profile-photo{width:156px;height:156px;min-width:156px}.client-profile h3{font-size:28px}.modal:has([data-client-history]) .modal-header h2{font-size:18px}.remember-card p{font-size:15px;line-height:1.45}.client-agreement{font-size:15px;line-height:1.45}.card-tabs button{font-size:12px}.client-material-card strong{font-size:14px}.client-material-card small{font-size:12px}}
.profile-actions>div{max-height:calc(100dvh - 110px);overflow:auto}.profile-actions a.mini{display:flex;align-items:center;text-decoration:none;color:var(--ink)}
@media(max-width:600px){.remember-card p{font-size:16px}.remember-card p>span{max-width:230px}.remember-card p>.icon{align-self:flex-start;margin-top:2px}}
@media(min-width:1101px){.elegant .brand{font-size:30px}.brand small{font-size:12px;letter-spacing:-.2px}.elegant .navbtn{font-size:18px}.focus-avatar,.focus-avatar.client-list-photo{width:210px;min-height:248px}.focus-content h2{font-size:33px}.focus-agreement{font-size:18px}.focus-bottom .btn{font-size:16px;min-height:53px;padding:12px 20px;gap:11px}.training-link{font-size:13px}.connection-bar{height:16px;min-height:16px;padding-top:2px;font-size:8px}.connection-bar .tiny-action{min-height:16px;font-size:8px}#root{padding-top:13px}}
@media(min-width:1101px) and (max-height:850px){.elegant .sidebar{padding-top:42px}.elegant .brand{padding-bottom:36px}}
[data-theme=dark] .remember-card p,[data-theme=dark] .client-agreement,[data-theme=dark] .agenda-panel .plan-row h3,[data-theme=dark] .client-request,[data-theme=dark] .sidebar-motto p,[data-theme=dark] .plan-open,[data-theme=dark] .focus-agreement>.icon,[data-theme=dark] .remember-card .icon,[data-theme=dark] .client-agreement>.icon{color:var(--muted)}
@media(min-width:1101px){.brand small{white-space:nowrap;max-width:none;width:230px;font-size:11px;letter-spacing:-.25px}}
/* Reset inherited grid columns rather than mixing a grid with flex sizing. */
@media(max-width:650px){.order-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}.order-heading .order-icon{display:none}.order-heading .summary{grid-column:1;width:100%;min-width:0}.order-total{grid-column:1;margin:0;max-width:100%;font-size:25px}.order-heading h3{font-size:21px;line-height:1.45}.clientcard>.inline-actions{width:calc(100% - 65px);margin-left:65px;padding-top:0;display:flex;flex-wrap:wrap;gap:8px}.clientcard>.inline-actions>.btn{flex:1 1 150px;min-width:0}.clientcard>.inline-actions>.mini{flex:0 0 auto;max-width:100%}}
@media(max-width:360px){.clientcard>.inline-actions{margin-left:0;width:100%}}
.focus-detail-link{position:absolute;top:0;right:-5px;min-height:36px;min-width:30px;padding:0;margin:0;font-size:0;justify-content:center}.focus-detail-link>.icon{width:18px;height:18px}.focus-content h2{max-width:calc(100% - 30px)}
@media(min-width:1101px){.dashboard-heading{margin-bottom:39px}.practice-card{transform:translateY(14px)}}
@media(min-width:1101px) and (max-width:1200px){.practice-card{padding-block:17px}}
.focus-content h2,.clientcard h3{overflow-wrap:anywhere}
/* Reference geometry, measured from the approved laptop and phone interior. */
:root{--bg:#f8f9fb;--sidebar:#f2f3f7;--ink:#0d111b;--muted:#738097;--border:#e9edf3;--accent-soft:#f3e5d2;--page-start:#fbfbfd;--page-end:#f6f7fa}
:root[data-theme=dark]{--bg:#14171d;--sidebar:#181d25;--ink:#f5f5f7;--muted:#a6b0c2;--border:#333b49;--accent-soft:#3b3222;--page-start:#171b23;--page-end:#14171d}
html{scrollbar-width:none}html::-webkit-scrollbar{display:none}
.elegant .content{background:linear-gradient(150deg,var(--page-start),var(--page-end))}
.material-art img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}
.topbar-profile{display:flex;width:70px;min-width:70px;height:46px;gap:12px;background:transparent;border-radius:0;color:var(--ink)}
.account-avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#e9e5df;color:#76644f;font-size:12px;flex-shrink:0}
.topbar-profile>.icon{width:16px;height:16px;transform:rotate(90deg);flex-shrink:0}
.search-submit{position:absolute;right:9px;top:7px}#workspace-search-form{position:relative}
.connection-bar{height:0;min-height:0;margin:0;padding:0}
.connection-bar #connection-status:not(.error){position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}
.connection-bar>.tiny-action{display:none}
.connection-bar:has(.error){height:auto;min-height:44px;margin:12px 20px 0;padding:10px 14px;background:var(--accent-soft);border-radius:9px;gap:12px;max-width:none;font-size:14px;line-height:1.45}
.connection-bar:has(.error)>.tiny-action{display:block;font-size:13px;min-height:36px;margin-left:auto}
.dashboard-heading .top p.page-date{font-size:24px;line-height:1.5;letter-spacing:-.3px;margin-top:3px}
.dashboard-heading .top p.page-date::first-letter{text-transform:uppercase}
.focus-bottom .btn{background:linear-gradient(155deg,#ffca43,#ffbc29);border:1px solid #ffba20;box-shadow:inset 0 1px 0 #fff5}
.dashboard-utilities>.agenda-summary{font-size:13px;line-height:1.5;padding:0 0 20px;min-height:0}
body:has(#modal-root .modal) .due-alert{display:none}
@media(min-width:1101px){
 .elegant.app{grid-template-columns:279px minmax(0,1fr)}
 .elegant .sidebar{background:var(--sidebar);padding:42px 19px 55px 17px;height:100dvh;overflow:hidden}
 .elegant .brand{font-size:35px;line-height:1.2;padding:0 0 31px 8px;letter-spacing:-1.3px}
 .elegant .brand small{font-size:13px;line-height:1.5;margin-top:9px;width:auto;white-space:nowrap;letter-spacing:-.3px}
 .elegant .menu{display:grid;gap:10px}
 .elegant .navbtn{min-height:55px;padding:13px 15px;gap:23px;font-size:20px;line-height:1.35;border-radius:11px;font-weight:400}
 .elegant .navbtn .icon{width:26px;height:26px}
 .elegant .navbtn.active{font-weight:600;background:var(--accent-soft)}
 .elegant .sidebar-bottom{display:none}
 .sidebar-motto{margin-top:auto;padding:141px 0 0 42px;min-height:230px;width:243px;flex-shrink:0}
 .sidebar-motto .branch-art{position:absolute;left:0;top:0;width:140px;height:145px;color:#e5b65d}
 .sidebar-motto p{margin:0 0 17px;font:italic 22px/1.16 Georgia,serif;letter-spacing:0;color:#5e6a81;white-space:nowrap}
 .sidebar-motto>span{width:45px;height:1px;background:#d7ad5e}
 .workspace-topbar{padding:28px 20px 0 22px;max-width:1250px;gap:22px}
 #workspace-search-form{min-height:52px;height:52px;gap:18px;padding:0 18px;border-color:#dce3ed;border-radius:12px;background:#ffffffb8}
 #workspace-search{font-size:15px;min-height:48px;padding-block:10px}
 .topbar-bell{width:40px;height:46px;min-width:40px}
 .topbar-bell .icon{width:24px;height:24px}
 #root{padding:29px 20px 64px;max-width:1250px}
 .dashboard-heading{padding-left:8px;gap:24px;margin-bottom:27px;align-items:center}
 .dashboard-heading .top h1{font-size:52px;line-height:1.08;letter-spacing:-1.8px;font-weight:600}
 .practice-card{width:396px;max-width:51%;padding:15px 24px;gap:7px 20px;transform:translateY(11px);border-radius:12px}
 .practice-card>strong{font-size:17px;line-height:22px;font-weight:400}
 .practice-caption{font-size:14px;line-height:20px}
 .practice-progress{height:10px;min-width:100px}
 .studio-stage{margin-bottom:22px}
 .focus-card{padding:21px 22px;border-radius:16px}
 .focus-content{min-height:248px;gap:27px;align-items:stretch}
 .focus-avatar,.focus-avatar.client-list-photo{width:211px;height:248px;min-height:248px;border-radius:11px;object-fit:cover}
 .focus-copy{padding:10px 0 4px}
 .focus-content h2{font-size:34px;line-height:1.25;margin:0 0 4px;letter-spacing:-1px;font-weight:600}
 .focus-purpose{font-size:20px;line-height:1.4;margin:0}
 .focus-label{font-size:12px}
 .focus-rule{width:78px;margin:16px 0}
 .focus-agreement{font-size:19px;line-height:1.4;padding-left:7px;gap:20px;margin-bottom:15px;max-width:none;color:#202a43}
 .focus-agreement>.icon{width:24px;height:24px;margin-top:2px;color:#34425f}
 .focus-bottom{gap:24px;flex-wrap:nowrap;width:100%}
 .focus-bottom .btn{width:289px;min-width:289px;min-height:56px;padding:12px 20px;font-size:18px;line-height:1.35;gap:14px;border-radius:11px;white-space:nowrap}
 .focus-bottom .btn>.icon{width:24px;height:24px}
 .training-link{font-size:14px;line-height:1.4;gap:8px;min-height:44px;flex-shrink:0;color:#748eaf}
 .training-link>.icon{width:24px;height:24px}
 .agenda-panel{padding:13px 22px 0;border-radius:12px}
 .agenda-panel .section-heading{min-height:36px;margin-bottom:5px;gap:16px}
 .agenda-panel .section-heading h2{font-size:28px;line-height:36px;letter-spacing:-.7px;font-weight:600}
 .agenda-panel .section-heading .text-link{font-size:16px;line-height:1.4;padding:4px 0;min-height:36px;font-weight:400}
 .agenda-panel .plan-row,.agenda-panel .plan-row:first-child,.agenda-panel .plan-row:last-child{grid-template-columns:70px minmax(0,1.31fr) minmax(0,1fr) 18px;gap:17px;min-height:96px;padding:12px 0;margin:0;border:0;border-bottom:1px solid var(--border);border-radius:0}
 .agenda-panel .plan-row:last-of-type{border-bottom:0}
 .agenda-panel .task-daytime{font-size:21px;font-weight:400;line-height:1.4}
 .agenda-panel .plan-person{gap:23px}
 .agenda-panel .plan-person .person-photo{width:72px;height:72px;font-size:24px}
 .agenda-panel .plan-person strong{font-size:20px;line-height:1.4;font-weight:400}
 .agenda-panel .plan-person small{font-size:18px;line-height:1.4;margin-top:3px}
 .agenda-panel .plan-row h3{font-size:19px;line-height:1.4;font-weight:400;color:#495772;margin:0;letter-spacing:-.2px}
 .plan-open{transform:translateX(4px)}
}
@media(min-width:901px) and (max-width:1100px){
 .dashboard-heading .top p.page-date{font-size:18px}
 .agenda-panel .plan-person .person-photo{width:50px;height:50px}
 .agenda-panel .plan-person strong{font-size:16px}
 .agenda-panel .plan-person small,.agenda-panel .plan-row h3{font-size:14px}
}
@media(max-width:900px){
 .workspace-topbar .topbar-profile{display:none}
 .dashboard-heading .top p.page-date{font-size:17px;line-height:1.5}
 .modal-body{scrollbar-width:none}.modal-body::-webkit-scrollbar{display:none}
 .client-material-card{min-height:108px}
 .material-art{width:108px}
 .client-material-card strong{font-size:15px;line-height:1.35}
 .client-material-card small{font-size:13px;line-height:1.4;color:#586780}
 .mobile-nav{min-height:70px;padding:6px 8px calc(8px + env(safe-area-inset-bottom));background:#fff}
 .mobile-nav button,.mobile-nav .navbtn{min-height:52px;font-size:11px;line-height:1.2;gap:5px;color:#35435f}
 .mobile-nav button .icon,.mobile-nav .navbtn .icon{width:25px;height:25px}
 .mobile-nav [data-nav=dashboard].active .icon{fill:var(--main);stroke:var(--main)}
 .mobile-nav button.active{color:#b37d16}
}
@media(max-width:600px){
 .modal:has([data-client-history]) .modal-header{height:48px;min-height:48px;padding:3px 16px;grid-template-columns:36px 1fr 36px}
 .modal:has([data-client-history]) .modal-header h2{font-size:22px;line-height:1.3;font-weight:600}
 .modal:has([data-client-history]) .modal-body{padding:4px 18px 100px}
 .profile-photo-wrap,.profile-photo,.client-photo.profile-photo{width:178px;height:178px;min-width:178px}
 .profile-photo-trigger{overflow:hidden}
 .profile-photo-trigger img{transform:scale(1.1)}
 .client-profile-person{gap:2px}
 .client-profile{margin-bottom:16px}
 .client-profile h3{font-size:31px;letter-spacing:-1px;line-height:1.25;font-weight:600}
 .profile-care{width:49px;height:49px;right:-14px;bottom:5px;border-color:#f0e6d1;background:#fff7e8;box-shadow:0 2px 8px #9e854318}
 .profile-care>.icon{width:25px;height:25px}
 .client-context h4,.client-materials h4{font-size:18px;line-height:1.4;letter-spacing:-.35px;margin-top:14px;margin-bottom:6px;font-weight:600}
 .remember-card{padding:0;border-radius:10px;box-shadow:0 2px 9px #24334803}
 .remember-card p{display:grid;grid-template-columns:27px minmax(0,1fr);gap:31px;position:relative;padding:12px 21px;margin:0;font-size:19px;line-height:1.4;color:#293650}
 .remember-card p>span{max-width:none}
 .remember-card p>.icon{width:27px;height:27px;margin:0;align-self:center;color:#34425e}
 .remember-card p+p{border-top:0}
 .remember-card p+p:before{content:"";position:absolute;left:79px;right:21px;top:0;border-top:1px solid var(--border)}
 .client-agreement{display:grid;grid-template-columns:27px minmax(0,1fr);gap:31px;padding:9px 21px;min-height:73px;font-size:19px;line-height:1.4;color:#293650;border-radius:10px}
 .client-agreement>.icon{width:27px;height:27px;color:#34425e}
 .card-tabs{gap:8px;margin-top:11px;margin-bottom:14px}
 .card-tabs button,.card-tabs button[aria-pressed=true]{min-height:89px;padding:10px 3px;gap:9px;font-size:14px;line-height:1.3;font-weight:400;border-color:var(--border);color:#34425e;background:var(--surface);box-shadow:0 2px 9px #24334803}
 .card-tabs button .icon{width:27px;height:27px}
 .client-materials h4{margin-top:0}
 .client-material-card{min-height:108px;gap:17px;border-radius:10px}
 .client-material-card strong{font-size:15px;line-height:1.35}
 .client-material-card small{font-size:14px;line-height:1.3;margin-top:6px}
 .client-material-card>.icon{width:22px;height:22px;margin-right:10px;color:#34425e}
 .toolbar .search{font-size:16px}
 .period-control,.period-control select,.debt-filter select{font-size:15px}
 .clientcard>.inline-actions .btn,.clientcard>.inline-actions .mini{font-size:14px;min-height:44px}
 .clientcard h3{font-size:21px}.client-request{font-size:15px;line-height:1.5}.client-phone{font-size:15px}
 .task-entry-actions .btn{font-size:14px}
}
@media(max-width:360px){
 .modal:has([data-client-history]) .modal-header{height:44px;min-height:44px}
 .modal:has([data-client-history]) .modal-header h2{font-size:20px}
 .modal:has([data-client-history]) .modal-body{padding-inline:16px}
 .profile-photo-wrap,.profile-photo,.client-photo.profile-photo{width:160px;height:160px;min-width:160px}
 .client-profile h3{font-size:28px}
 .profile-care{width:44px;height:44px;right:-12px;bottom:4px}
 .client-context h4,.client-materials h4{font-size:16px}
 .remember-card p,.client-agreement{font-size:17px;grid-template-columns:24px minmax(0,1fr);gap:27px;padding-inline:18px}
 .remember-card p>.icon,.client-agreement>.icon{width:24px;height:24px}
 .remember-card p+p:before{left:69px;right:18px}
 .card-tabs button,.card-tabs button[aria-pressed=true]{min-height:80px;font-size:13px}
 .material-art{width:96px}.client-material-card{min-height:96px;gap:13px}
 .client-material-card strong{font-size:14px}.client-material-card small{font-size:12px}
}
[data-theme=dark] .focus-agreement,[data-theme=dark] .agenda-panel .plan-row h3,[data-theme=dark] .remember-card p,[data-theme=dark] .client-agreement,[data-theme=dark] .sidebar-motto p,[data-theme=dark] .client-material-card small,[data-theme=dark] .mobile-nav button{color:var(--muted)}
[data-theme=dark] .mobile-nav{background:var(--surface)}

@media(max-width:900px){.mobile-nav{min-height:64px;padding:6px 8px calc(7px + env(safe-area-inset-bottom))}.mobile-nav button,.mobile-nav .navbtn{min-height:50px;padding:2px;gap:4px}}
.remember-card p>span,.client-material-card>span:nth-child(2){min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){
 .modal:has([data-client-history]) .modal-header{padding:2px 12px;grid-template-columns:44px 1fr 44px}
 .profile-back,.profile-actions summary{width:44px;height:44px}
 .client-profile{margin-bottom:12px}
 .client-context>h4:first-child{margin-top:12px}
 .card-tabs{margin-top:15px}
}
@media(max-width:360px){.modal:has([data-client-history]) .modal-header{padding:0 8px}}
