/* Owner workspace app shell (owner, 30 Oct 2026: designer's "Calendar UI/UX Redesign Specification", section 1–2;
   ClaudeHandOverDocs/09 phase A). Applies only where MainLayout draws the shell (.ws-top), so client pages keep each
   business's own theme. Loaded after modern.css. Tokens: the business's own colours (--brand from its theme or its own mix, owner 30 Oct 2026: Setup >
   Business & team > Colours), light grey page, white surfaces, 12–16px radii. */
body:has(.ws-top){
 --brand-hover:color-mix(in srgb,var(--brand) 82%,#000);--soft:color-mix(in srgb,var(--brand) 9%,#fff);--ink:#121317;--muted:#5B5F6B;--line:#E7E7EE;--surface:#fff;
 --ws-top:64px;--ws-side:232px;--ws-rail:72px;--ws-radius:12px;--ws-shadow:0 1px 2px rgba(18,19,23,.06),0 8px 24px -16px rgba(18,19,23,.25);
 color:var(--ink)
}
body:has(.ws-top) :focus-visible{outline:2px solid var(--brand);outline-offset:2px}
body:has(.ws-top) .button:not(.secondary):not(.danger){background:var(--brand);border-color:var(--brand)}
body:has(.ws-top) .button:not(.secondary):not(.danger):hover{background:var(--brand-hover)}

/* Top bar */
.ws-top{position:sticky;top:0;z-index:45;display:flex;align-items:center;gap:10px;height:var(--ws-top);padding:0 16px;background:#fff;border-bottom:1px solid var(--line)}
.ws-icon-btn{position:relative;display:inline-grid;place-items:center;flex:none;width:42px;height:42px;border:0;border-radius:var(--ws-radius);background:transparent;color:var(--ink);cursor:pointer;text-decoration:none}
.ws-icon-btn:hover{background:#F4F4F8}
.ws-icon-btn .unread-badge{position:absolute;top:4px;right:3px;min-width:18px;height:18px;padding:0 5px;font-size:11px;line-height:18px}
.ws-burger,.ws-burger::before,.ws-burger::after{display:block;width:18px;height:2px;border-radius:2px;background:currentColor;content:""}
.ws-burger{position:relative}.ws-burger::before{position:absolute;top:-6px}.ws-burger::after{position:absolute;top:6px}
.ws-brand{display:flex;align-items:center;gap:10px;flex:none;width:calc(var(--ws-side) - 68px);min-width:0;color:var(--ink);text-decoration:none}
.ws-brand img,.ws-brand-initial{flex:none;width:34px;height:34px;border-radius:10px;object-fit:cover}
.ws-brand-initial,.ws-biz-initial{display:grid;place-items:center;background:var(--brand);color:#fff;font-weight:700}
.ws-brand>span{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.ws-brand b,.ws-brand small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ws-brand b{font-size:15px}.ws-brand small{font-size:12px;color:var(--muted)}
.ws-search{display:flex;align-items:center;gap:8px;flex:1;min-width:0;max-width:560px;height:42px;margin:0 auto 0 8px;padding:0 12px;border:1px solid transparent;border-radius:var(--ws-radius);background:#F2F2F6;color:var(--muted)}
.ws-search:focus-within{background:#fff;border-color:var(--brand)}
.ws-search input{flex:1;min-width:0;height:100%;border:0;background:transparent;color:var(--ink);font:inherit;font-size:14px;outline:none}
.ws-new{display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 16px;border-radius:var(--ws-radius);white-space:nowrap}
.ws-profile{position:relative;flex:none;border:0;margin:0;padding:0;background:none}
.ws-profile>summary{display:flex;align-items:center;gap:10px;padding:4px 8px 4px 4px;color:var(--ink);border-radius:var(--ws-radius);list-style:none;cursor:pointer;min-height:42px}
.ws-profile>summary::-webkit-details-marker{display:none}.ws-profile>summary:hover{background:#F4F4F8}
.ws-profile .me-avatar{width:34px;height:34px;font-size:13px}
.ws-who{display:flex;flex-direction:column;line-height:1.2;color:var(--ink)}.ws-who b{font-size:14px;color:var(--ink)}.ws-who small{font-size:12px;color:var(--muted)}
.ws-caret{color:var(--muted);font-size:12px}
.ws-profile-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:50;min-width:220px;padding:6px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--ws-shadow)}
.ws-profile-menu a,.ws-profile-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:0;border-radius:10px;background:none;color:var(--ink);font:inherit;font-size:14px;text-align:left;text-decoration:none;cursor:pointer}
.ws-profile-menu a:hover,.ws-profile-menu button:hover{background:#F4F4F8}.ws-profile-menu .icon{color:var(--muted)}
.ws-profile-menu form{margin:4px 0 0;padding-top:4px;border-top:1px solid var(--line)}

/* Sidebar */
.ws-side{position:fixed;top:var(--ws-top);left:0;bottom:0;z-index:30;display:flex;flex-direction:column;gap:12px;width:var(--ws-side);padding:12px 10px;background:#fff;border-right:1px solid var(--line);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.ws-side .workspace-nav{display:flex;flex-direction:column;flex-wrap:nowrap;gap:14px;padding:0;overflow:visible;max-width:none;border:0}
.ws-side .nav-group{display:flex;flex-direction:column;align-items:stretch;gap:2px}
.ws-side .nav-group>span{padding:4px 12px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.ws-side .workspace-nav a{display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 12px;border:0;border-radius:10px;background:none;color:var(--ink);font-size:14px;font-weight:500;white-space:nowrap;text-decoration:none}
.ws-side .workspace-nav a .icon{flex:none;color:var(--muted)}
.ws-side .workspace-nav a:hover{background:#F4F4F8}
.ws-side .workspace-nav a.active{background:var(--soft);color:var(--brand);font-weight:650;box-shadow:inset 3px 0 0 var(--brand)}
.ws-side .workspace-nav a.active .icon{color:var(--brand)}
.ws-label{overflow:hidden;text-overflow:ellipsis}
.ws-biz{display:flex;align-items:center;gap:10px;margin-top:auto;padding:10px;border:1px solid var(--line);border-radius:14px;color:var(--ink);text-decoration:none}
.ws-biz:hover{background:#F4F4F8}
.ws-biz img,.ws-biz-initial{flex:none;width:36px;height:36px;border-radius:10px;object-fit:cover}
.ws-biz .ws-label{display:flex;flex-direction:column;min-width:0;line-height:1.25}.ws-biz b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ws-biz small{font-size:12px;color:var(--muted)}
.ws-scrim{position:fixed;inset:0;z-index:55;background:rgba(18,19,23,.4)}

/* Page area next to the sidebar */
.ws-main{margin-left:var(--ws-side);min-height:calc(100vh - var(--ws-top))}
body:has(.ws-top)>footer,body:has(.ws-top) footer{margin-left:var(--ws-side)}
.ws-main .workspace{display:block;max-width:1440px;margin:0;padding:20px 28px 40px}
.ws-main .workspace>*{grid-column:auto}
.ws-main .panel{border-color:var(--line);border-radius:16px;box-shadow:none}

/* Search results */
.search-hit{color:var(--ink);text-decoration:none;border-radius:10px;padding:10px 8px}
.search-hit:hover{background:#F4F4F8}.search-hit small{display:block;color:var(--muted)}

/* Computer: the menu button collapses the sidebar to an icon rail (remembered). */
@media (min-width:1100px){
 html.ws-collapsed .ws-side{width:var(--ws-rail);padding:12px 8px}
 html.ws-collapsed .ws-main,html.ws-collapsed body:has(.ws-top) footer{margin-left:var(--ws-rail)}
 html.ws-collapsed .ws-side .ws-label,html.ws-collapsed .ws-side .nav-group>span{display:none}
 html.ws-collapsed .ws-side .nav-group{border-top:1px solid var(--line);padding-top:8px}html.ws-collapsed .ws-side .nav-group:first-child{border-top:0;padding-top:0}
 html.ws-collapsed .ws-side .workspace-nav a{justify-content:center;padding:8px}
 html.ws-collapsed .ws-biz{justify-content:center;padding:6px;border:0}
}
/* Tablet: an icon rail; the menu button opens the full menu over the page. */
@media (min-width:768px) and (max-width:1099px){
 .ws-side{width:var(--ws-rail);padding:12px 8px;transition:width .18s ease}
 .ws-main,body:has(.ws-top) footer{margin-left:var(--ws-rail)}
 html:not(.ws-drawer-open) .ws-side .ws-label,html:not(.ws-drawer-open) .ws-side .nav-group>span{display:none}
 html:not(.ws-drawer-open) .ws-side .workspace-nav a{justify-content:center;padding:8px}
 html:not(.ws-drawer-open) .ws-biz{justify-content:center;padding:6px;border:0}
 html.ws-drawer-open .ws-side{width:272px;z-index:60;box-shadow:var(--ws-shadow)}
 .ws-brand{width:auto;max-width:200px}
 .ws-who{display:none}
}
/* Phone: the sidebar is a drawer; the bottom tab bar stays. */
@media (max-width:767px){
 .ws-top{gap:6px;padding:0 8px}
 .ws-brand{display:none}
 /* Search is an icon on phones (3 Nov 2026: the bar was crowded); tapping it opens the field across the bar. The
    invisible input covers the icon, so one tap focuses it. */
 .ws-search{position:relative;flex:0 0 42px;width:42px;margin:0 0 0 auto;padding:0;justify-content:center;background:transparent}
 .ws-search input{position:absolute;inset:0;opacity:0;cursor:pointer}
 .ws-search:focus-within{position:absolute;left:8px;right:8px;top:calc((var(--ws-top) - 42px) / 2);z-index:3;width:auto;max-width:none;padding:0 12px;justify-content:flex-start;background:#fff}
 .ws-search:focus-within input{position:static;opacity:1;cursor:text}
 .ws-new{width:42px;padding:0;justify-content:center}.ws-new span{display:none}
 .ws-who,.ws-caret{display:none}.ws-profile>summary{padding:4px}
 .ws-side{top:0;z-index:60;width:min(300px,86vw);transform:translateX(-105%);transition:transform .2s ease;box-shadow:var(--ws-shadow)}
 html.ws-drawer-open .ws-side{transform:none}
 .ws-main,body:has(.ws-top) footer{margin-left:0}
 .ws-main .workspace{padding:14px 14px 32px}
}
@media (prefers-reduced-motion:reduce){.ws-side{transition:none}}
@media print{.ws-top,.ws-side,.ws-scrim{display:none!important}.ws-main,body:has(.ws-top) footer{margin-left:0}}
/* Workspace view (doc 20, 6.3): the bar on a page kept in More tools, and More tools as the menu's last item. */
.hidden-bar{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between;margin:0 0 14px}.hidden-bar .button{min-height:44px}
.ws-side .nav-more{border-top:1px solid var(--line);padding-top:8px}

/* ===== Simple's Today and short forms (doc 20, 6.4; 9 Nov 2026). Only Simple's own elements: .simple-today and
   .simple-more. One column at every width, tap targets of at least 44px, no tables. ===== */
.simple-today{display:flex;flex-direction:column;gap:14px;max-width:720px}
.simple-today .st-head h1{margin:2px 0 4px}
.simple-today .st-head p{margin:0;color:var(--muted)}
.simple-today .st-card{margin:0}
.simple-today .st-card h2{font-size:1.1rem;margin:0 0 8px;display:flex;align-items:center;gap:8px}
.simple-today .section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px}
.simple-today .section-heading h2{margin:0}
.simple-today .st-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 4px;border-top:1px solid var(--line);color:var(--ink);text-decoration:none}
.simple-today .st-row:first-of-type{border-top:0}
.simple-today .st-row small{display:block;color:var(--muted)}
.simple-today .st-waiting{border-left:4px solid var(--brand)}
.simple-today .st-appt{display:flex;align-items:stretch;gap:8px;background:#fff;border:1px solid var(--line);border-radius:var(--ws-radius,14px);margin:0 0 8px;overflow:hidden}
.simple-today .st-appt.past{opacity:.65}
.simple-today .st-appt-main{flex:1;display:flex;align-items:center;gap:14px;min-height:64px;padding:10px 12px;color:var(--ink);text-decoration:none}
.simple-today .st-time{font-size:1.15rem;min-width:52px}
.simple-today .st-appt-main strong{display:block;font-size:1.05rem}
.simple-today .st-appt-main small{display:block;color:var(--muted)}
.simple-today .st-appt-main em{font-style:normal;font-size:.8rem}
.simple-today .st-card-link{display:flex;align-items:center;justify-content:center;min-width:52px;min-height:44px;border-left:1px solid var(--line);color:var(--brand)}
.simple-today .st-notes{margin:8px 0 0;padding:10px 12px;background:var(--soft,#f6f6f8);border-radius:10px;white-space:pre-line}
.simple-today .st-due-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:8px 0;border-top:1px solid var(--line)}
.simple-today .st-due-row a:first-child{flex:1;color:var(--ink);text-decoration:none}
.simple-today .st-due-row small{display:block;color:var(--muted)}
.simple-today .st-due-row .button,.simple-today .st-link-actions .button,.simple-today .section-heading .button{min-height:44px}
.simple-today .st-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;text-align:center}
.simple-today .st-numbers strong{display:block;font-size:1.6rem}
.simple-today .st-numbers small{color:var(--muted)}
.simple-today .st-link-actions{display:flex;flex-wrap:wrap;gap:8px}
.simple-today .share-url{word-break:break-all}
.simple-more>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:600}
@media (max-width:480px){
  .simple-today .st-appt-main{gap:10px;padding:10px}
  .simple-today .st-due-row{flex-wrap:wrap}
  .simple-today .st-link-actions .button{flex:1 1 100%;justify-content:center}
}

/* ===== The public "How to book with {salon}" guide (doc 20, 6.6; 9 Nov 2026). Its own elements only. ===== */
.how-to-book{max-width:720px;display:flex;flex-direction:column;gap:14px;padding-bottom:32px}
.how-to-book .htb-hero{position:relative;border-radius:18px;overflow:hidden;background:var(--brand);color:#fff;padding:20px;display:flex;flex-direction:column;gap:14px}
.how-to-book .htb-hero.has-cover{padding-top:150px}
.how-to-book .htb-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.55)}
.how-to-book .htb-title{position:relative;display:flex;gap:14px;align-items:center}
.how-to-book .htb-title h1{margin:2px 0;color:#fff;font-size:1.5rem}
.how-to-book .htb-title p,.how-to-book .htb-title .eyebrow{margin:0;color:#fff;opacity:.9}
.how-to-book .htb-logo{flex:0 0 56px;width:56px;height:56px;border-radius:50%;background:#fff;color:var(--brand);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.4rem;overflow:hidden;border:3px solid #fff}
.how-to-book .htb-logo img{width:100%;height:100%;object-fit:cover}
.how-to-book .htb-hero .button{position:relative;align-self:flex-start;min-height:48px;background:#fff;color:var(--brand)}
.how-to-book .htb-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.how-to-book .htb-step{display:flex;gap:14px;align-items:flex-start;margin:0}
.how-to-book .htb-step h2{font-size:1.1rem;margin:0 0 4px}
.how-to-book .htb-step p{margin:0 0 8px}
.how-to-book .htb-num{flex:0 0 36px;height:36px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.how-to-book audio{width:100%;max-width:360px;height:40px}
.how-to-book .htb-end .button{min-height:48px}

/* ===== Choosing a level and the first week (doc 20, 6.5, 6.7, 6.8; 9 Nov 2026). Their own elements only. ===== */
.reg-level,.level-pick fieldset{border:0;padding:0;margin:12px 0;display:flex;flex-direction:column;gap:8px}
.level-opt{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid var(--line);border-radius:12px;cursor:pointer;min-height:44px}
.level-opt small{display:block;color:var(--muted)}
/* Straight rows (owner, 10 Nov 2026): the site's form styles stretched the radio and centred the text; the radio sits left, the words next to it. */
.level-opt input[type=radio]{flex:none;width:18px;height:18px;margin:2px 0 0;padding:0}.level-opt>span{flex:1;min-width:0;text-align:left}
.level-opt.current{border-color:var(--brand)}
.level-confirm ul{margin:4px 0 10px 18px}
.level-idle{margin-top:12px}
.simple-checklist .check-steps{list-style:none;margin:0;padding:0}
.simple-checklist .step-mark{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--soft,#f2f2f5);margin-right:6px;font-size:.85rem}
.simple-checklist .done .step-mark{background:var(--brand);color:#fff}
.simple-checklist .done h3{color:var(--muted)}
.demo-view{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between;margin:0 0 12px}
.demo-view .button{min-height:44px}

/* ===== "How it will look" (owner, 10 Nov 2026): a button on each workspace row opens a drawing of that menu (native popover). */
.level-row{position:relative;display:flex;align-items:stretch;gap:10px}
.level-row .level-opt{flex:1;min-width:0}
.level-peek-btn{flex:none;align-self:center;font:inherit;font-size:13px;font-weight:600;color:var(--brand);background:none;border:1px solid var(--line);border-radius:999px;padding:8px 14px;cursor:pointer;white-space:nowrap}
.level-peek-btn:hover{border-color:var(--brand);background:color-mix(in srgb,var(--brand) 6%,transparent)}
.level-peek{width:min(560px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;margin:auto;padding:18px 20px;border:1px solid var(--line);border-radius:18px;background:#fff;color:inherit;box-shadow:0 30px 80px -20px rgba(15,10,40,.45)}
.level-peek::backdrop{background:rgba(15,10,40,.45)}
.peek-head{display:flex;justify-content:space-between;align-items:center;font-size:18px}
.peek-close{font:inherit;font-size:22px;line-height:1;background:none;border:0;cursor:pointer;color:var(--muted);padding:4px 8px}
.peek-shot{display:grid;grid-template-columns:minmax(150px,200px) 1fr;gap:0;margin:12px 0;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-height:220px}
.peek-side{background:#faf9ff;border-right:1px solid var(--line);padding:10px}
.peek-brand{display:block;font-weight:700;font-size:13px;margin-bottom:8px;color:var(--brand)}
.peek-side ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.peek-side li{font-size:12.5px;padding:4px 6px;border-radius:6px;display:flex;justify-content:space-between;gap:6px}
.peek-side li.new{background:color-mix(in srgb,var(--brand) 10%,transparent);font-weight:600}
.peek-side li i{font-style:normal;font-size:10.5px;font-weight:700;color:#fff;background:var(--brand);border-radius:999px;padding:1px 7px;align-self:center}
.peek-main{padding:14px;display:grid;gap:10px;align-content:start}


@media (max-width:560px){.level-row{flex-direction:column;gap:6px}.level-peek-btn{align-self:flex-start}.peek-shot{grid-template-columns:1fr}.peek-main{display:none}}

/* ===== "How it will look", the example Today screen (owner, 10 Nov 2026: the grey boxes were too plain) */
.peek-side li{align-items:center;justify-content:flex-start}.peek-side li svg{flex:none;color:var(--brand);opacity:.8}.peek-side li span{flex:1}
.pm-top{display:flex;justify-content:space-between;align-items:baseline}.pm-top b{font-size:15px}.pm-top small{font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);border:1px dashed var(--line);border-radius:999px;padding:1px 8px}
.peek-main .pm-stats{display:flex;gap:8px;flex-wrap:wrap;background:none;border-radius:0}
.pm-stats span{flex:1;min-width:70px;display:flex;flex-direction:column;padding:8px 10px;border:1px solid var(--line);border-radius:10px;font-size:11px;color:var(--muted);background:#fff}.pm-stats b{font-size:15px;color:#15121f}
.pm-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.pm-list li{display:flex;gap:10px;align-items:center;padding:7px 10px;border-radius:10px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--brand)}
.pm-list time{font-size:12px;font-weight:700;color:var(--brand);min-width:38px}.pm-list span{display:flex;flex-direction:column;font-size:12.5px}.pm-list small{color:var(--muted);font-size:11px}
.peek-main .pm-card{display:flex;gap:10px;align-items:center;padding:9px 10px;border-radius:10px;background:#faf9ff;border:1px solid var(--line);font-size:12.5px}
.pm-card svg{flex:none;color:var(--brand)}.pm-card span{display:flex;flex-direction:column}.pm-card small{color:var(--muted);font-size:11px}
.peek-main .pm-card.add{border-color:color-mix(in srgb,var(--brand) 35%,var(--line));background:color-mix(in srgb,var(--brand) 6%,#fff)}
@media (max-width:560px){.peek-main{display:grid}}

/* Settings swap in place (WorkspaceNav, owner, 11 Nov 2026; replaced the second column): tapping Settings slides the main
   menu away and the settings take its place. The lists scroll in .ws-lists; the toggle lives in the dock under it, so Settings
   and Main menu swap in one spot and never move ("everything must happen in the same place at the bottom"). */
.ws-side .nav-settings{border-top:1px solid var(--line);padding-top:8px}
.ws-side .ws-settings-nav{display:none}
.ws-side.ws-set .ws-settings-nav{display:flex}
.ws-side.ws-set .ws-main-nav{display:none}
.ws-side .ws-set-head{border-bottom:1px solid var(--line);padding-bottom:8px}
.ws-side .ws-settings-nav .ws-set-title{font-size:16px;font-weight:800}
.ws-side .ws-settings-nav .pro-tag{margin-left:6px}
.ws-side{overflow:hidden;padding-bottom:0}
html.ws-collapsed .ws-side{padding-bottom:0}
.ws-lists{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:14px;margin:-12px -10px 0;padding:12px 10px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.ws-dock{flex:none;display:flex;flex-direction:column;gap:8px;margin:0 -10px;padding:8px 10px 12px;background:#fff;border-top:1px solid var(--line)}
html.ws-collapsed .ws-lists{margin:-12px -8px 0;padding:12px 8px}html.ws-collapsed .ws-dock{margin:0 -8px;padding:8px 8px 12px}
@media (min-width:768px) and (max-width:1099px){.ws-side{padding-bottom:0}.ws-lists{margin:-12px -8px 0;padding:12px 8px}.ws-dock{margin:0 -8px;padding:8px 8px 12px}}
.ws-dock .ws-biz{margin-top:0}
.ws-side .ws-dock-nav{gap:2px}
.ws-side.ws-set .ws-dock [data-ws-settings],.ws-side:not(.ws-set) .ws-dock .ws-back{display:none}
.ws-back{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:8px 12px;border:0;border-radius:10px;background:var(--soft);color:var(--brand);font:inherit;font-size:14px;font-weight:650;text-align:left;white-space:nowrap;cursor:pointer}
.ws-back .icon{flex:none}
.ws-back:hover{filter:brightness(.97)}
.ws-back:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
html.ws-collapsed .ws-side .ws-back{justify-content:center;padding:8px}
@media (min-width:768px) and (max-width:1099px){html:not(.ws-drawer-open) .ws-side .ws-back{justify-content:center;padding:8px}}
.ws-side .ws-slide-in{animation:ws-slide-in .2s ease both}
.ws-side .ws-slide-back{animation:ws-slide-back .2s ease both}
@keyframes ws-slide-in{from{opacity:0;transform:translateX(28px)}}
@keyframes ws-slide-back{from{opacity:0;transform:translateX(-28px)}}
@media (prefers-reduced-motion:reduce){.ws-side .ws-slide-in,.ws-side .ws-slide-back{animation:none}}
/* Settings home (SettingsHome.razor): the settings as cards, one line each, in sections. */
.settings-section{margin:0 0 22px}.settings-section h2{font-size:15px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 10px}
.settings-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.settings-card{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);text-decoration:none;transition:border-color .15s,box-shadow .15s}
.settings-card:hover{border-color:var(--brand);box-shadow:0 6px 18px -12px rgba(76,29,149,.45)}
.settings-card b{display:block;font-size:15px}.settings-card small{display:block;margin-top:3px;color:var(--muted);font-size:13px;line-height:1.4}
.settings-icon{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--soft);color:var(--brand)}/* The demo's banner sits beside the menu , not under them (11 Nov 2026). */
body:has(.ws-top) .demo-banner{max-width:none;margin:12px 28px 0 calc(var(--ws-side) + 28px)}html.ws-collapsed body:has(.ws-top) .demo-banner{margin-left:calc(var(--ws-rail) + 28px)}
@media (min-width:768px) and (max-width:1099px){body:has(.ws-top) .demo-banner{margin-left:calc(var(--ws-rail) + 20px)}}
@media (max-width:767px){body:has(.ws-top) .demo-banner{margin:10px 12px 0}}

/* A paid tool the plan doesn't include stays in the menu, locked: greyed, with its plan's tag (owner, 11 Nov 2026). */
.ws-side .workspace-nav a.locked .ws-label{color:var(--muted)}.ws-side .workspace-nav a.locked .icon{opacity:.6}

/* Settings needs attention (owner, 12 Nov 2026): a red dot on Settings and on Subscription (WorkspaceNav.SettingsAttention). */
.attn-dot{flex:none;width:9px;height:9px;margin-left:auto;border-radius:50%;background:#DC2626;box-shadow:0 0 0 2px #fff}
.ws-side .workspace-nav a{position:relative}
html.ws-collapsed .ws-side .attn-dot{position:absolute;top:6px;right:8px;margin:0}
@media (min-width:768px) and (max-width:1099px){html:not(.ws-drawer-open) .ws-side .attn-dot{position:absolute;top:6px;right:8px;margin:0}}
