/* Wrappy workspace — navigation, content and controls share one visual system. */
:root{
 --ui-canvas:#f3f6f7;--ui-surface:#fff;--ui-text:#202a30;--ui-secondary:#65747c;
 --ui-line:#dee6e9;--ui-accent:#176f73;--ui-accent-soft:#e7f3f2;
 --ui-font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Helvetica,Arial,sans-serif;
 --workspace-sidebar:216px;--workspace-gutter:32px;--member-topbar-height:72px;--member-header-height:140px;--member-header-gap:0px;
 font:15px/1.5 var(--ui-font);color:var(--ui-text);background:var(--ui-canvas);color-scheme:light;
}
html body,body:has(#app.sketch-profile),body:has(.activation-header){margin:0;background:var(--ui-canvas);color:var(--ui-text);font:15px/1.5 var(--ui-font);--green:var(--ui-accent);-webkit-font-smoothing:antialiased}
html body::before,body:has(#app.sketch-profile)::before{display:none}
html body :is(button,input,textarea,select,dialog){font-family:var(--ui-font)}
html body :is(h1,h2,h3,h4){color:var(--ui-text);font-weight:600}
html body h2{font-size:21px;letter-spacing:-.025em}html body h3{letter-spacing:-.015em}
html body :is(.muted,.eyebrow){color:var(--ui-secondary)}
html body .eyebrow{font-size:10px;font-weight:600;letter-spacing:.09em}
html body a{color:var(--ui-accent)}
html body p{color:var(--ui-secondary)}
html body :focus-visible{outline:3px solid #176f7366;outline-offset:3px}
html body [hidden]{display:none!important}
html body button{min-height:40px;border-radius:8px;font-size:14px;font-weight:500;box-shadow:none;transition:background .15s,border-color .15s,color .15s}
html body button.primary,html body button[type=submit]{background:var(--ui-accent);border:1px solid var(--ui-accent);color:#fff;box-shadow:none}
html body button.primary:hover,html body button[type=submit]:hover{background:#115b5e;border-color:#115b5e}
html body button.ghost{background:#fff;color:var(--ui-text);border:1px solid var(--ui-line);box-shadow:none}
html body button.ghost:hover{background:#edf2f3;border-color:#c4d1d6}
html body button.danger{background:#fff3f2;border:1px solid #f0d7d3;color:#ad3a32}
html body button:disabled{opacity:.5;cursor:default}
html body :is(input,textarea,select){min-height:40px;border:1px solid #ccd8dd;border-radius:8px;background:#fff;color:var(--ui-text);font-size:15px;box-shadow:none}
html body :is(input,textarea):focus{border-color:var(--ui-accent);outline:3px solid #176f7320;outline-offset:0}
html body :is(input[type=checkbox],input[type=radio]){min-height:0;accent-color:var(--ui-accent)}
html body .fields{gap:20px 24px}html body label{color:var(--ui-secondary);font-weight:500}
html body :is(input,select,textarea)::placeholder{color:#7b8b93}
/* Fixed sidebar and compact context bar. */
body.workspace-auth{--member-header-height:140px;--member-header-gap:0px}
body.workspace-auth .topbar{position:fixed;top:0;left:var(--workspace-sidebar);right:0;transform:none;width:auto;min-height:72px;height:72px;margin:0;border-radius:0;padding:0 var(--workspace-gutter);display:flex;align-items:center;z-index:50;background:#fff;border:0;border-bottom:1px solid var(--ui-line);box-shadow:none;backdrop-filter:none}
body.workspace-auth .topbar>.brand{display:none}
html body #top-actions{display:flex;align-items:center;flex-wrap:nowrap;justify-content:space-between;gap:20px;width:100%;max-width:none;padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
.workspace-sidebar{position:fixed;inset:0 auto 0 0;width:var(--workspace-sidebar);z-index:60;display:flex;flex-direction:column;padding:24px 14px 18px;background:#fff;border-right:1px solid var(--ui-line);overflow-y:auto}
html body .workspace-brand{display:block;margin:0 14px 38px;color:var(--ui-text);font-size:27px;line-height:1;font-weight:750;letter-spacing:-.075em;text-decoration:none}
html body .workspace-brand>span{color:var(--ui-accent)}
.workspace-nav-label{padding:0 14px;margin-bottom:12px;font-size:9px;font-weight:650;letter-spacing:.13em;color:#829198}
.workspace-primary,.workspace-secondary{display:flex;flex-direction:column;gap:5px}
.workspace-secondary{margin-top:auto;padding-top:24px}
html body .workspace-sidebar .workspace-nav-item,html body .workspace-sidebar .install-button{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:11px 13px;border:0;border-radius:8px;background:transparent;color:#52636c;text-align:left;font-size:14px;font-weight:500;line-height:1.45;white-space:normal}
html body .workspace-sidebar .workspace-nav-item:hover,html body .workspace-sidebar .install-button:hover{background:#f0f5f5;color:var(--ui-text)}
html body .workspace-sidebar .workspace-nav-item.nav-current{background:var(--ui-accent-soft);color:var(--ui-accent);font-weight:600}
.workspace-nav-icon{display:block;flex:0 0 18px;width:18px;height:18px}.workspace-nav-icon svg{display:block;width:18px;height:18px}
.workspace-nav-text{min-width:0}
html body .workspace-organization,html body .workspace-year{display:flex;align-items:center;gap:12px;margin:0;color:var(--ui-secondary);font-size:12px;min-width:0}
html body .workspace-year{margin-left:auto;flex:none}
html body #top-actions .workspace-organization>.wrappy-select{width:190px;max-width:100%}
html body #top-actions .workspace-year>.wrappy-select{width:90px}
html body #top-actions .wrappy-select-trigger{min-height:40px;background:#fff;border:1px solid var(--ui-line);padding:9px 30px 9px 12px;font-size:14px;font-weight:500}
html body .workspace-menu-toggle{display:none}
html body .workspace-backdrop{position:fixed;inset:0;z-index:55;border:0;border-radius:0;background:#202a3055;backdrop-filter:blur(2px)}
/* Page geometry: context, title, toolbar, then the content. */
html body main{width:auto;max-width:none;margin:0;padding:100px var(--workspace-gutter) 40px}
body.workspace-auth main{margin-left:var(--workspace-sidebar)}
body.workspace-auth main:has(.page-header){padding-top:calc(72px + var(--member-header-height) + 24px)}
body.workspace-auth .page-header{position:fixed;top:72px;left:calc(var(--workspace-sidebar) + var(--workspace-gutter));right:var(--workspace-gutter);transform:none;width:auto;height:var(--member-header-height);display:grid;grid-template-rows:64px 44px;row-gap:12px;padding:12px 0 8px;z-index:40;background:var(--ui-canvas)}
body.workspace-auth .page-header>.hero,body.workspace-auth .page-header>.dashboard-head{grid-row:1;display:flex;align-items:center;justify-content:space-between;margin:0!important;min-height:0;gap:20px}
body.workspace-auth .page-header>.hero>div:first-child,body.workspace-auth .page-header>.dashboard-head>div:first-child{display:block;align-self:center;min-width:0}
body.workspace-auth .page-header .eyebrow{margin:0 0 5px;min-height:0}
body.workspace-auth #app .page-header h1{font-size:32px;font-weight:600;line-height:1.15;letter-spacing:-.035em;margin:0;overflow-wrap:anywhere}
body.workspace-auth .page-header .hero p,body.workspace-auth .page-header .dashboard-head p{display:none}
body.workspace-auth .page-header>.page-submenu,body.workspace-auth .page-header>.member-tabs{grid-row:2;align-self:stretch;display:flex;align-items:center;justify-content:flex-start;width:100%;max-width:100%;min-width:0;min-height:44px;max-height:44px;margin:0;padding:0;gap:4px;border:0;border-bottom:1px solid #d4e0e4;border-radius:0;background:transparent;box-shadow:none;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;white-space:nowrap;scrollbar-width:thin}
html body .page-submenu :is(button,input,select,label,.wrappy-select-trigger),html body .sketch-profile .member-tabs :is(button,input,select,label,.wrappy-select-trigger){font-size:14px}
html body .page-submenu button,html body .sketch-profile .member-tab{flex:none;min-height:40px;padding:9px 13px;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;color:#5a6b73;font-weight:500;box-shadow:none}
body.workspace-auth #app .page-header button.member-tab:where(:not(.primary):not(.wrappy-select-trigger)){background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;color:#5a6b73;font-size:14px;font-weight:500;box-shadow:none}
html body .page-submenu button:hover,html body .sketch-profile .member-tab:hover{background:#eaf0f1;color:var(--ui-text)}
html body .page-submenu button.nav-current,html body .sketch-profile .member-tab.nav-current,body.workspace-auth #app .page-header button.member-tab.nav-current{border-bottom-color:var(--ui-accent);background:transparent;color:var(--ui-accent);font-weight:600;box-shadow:none}
html body .page-submenu button.primary{padding:8px 14px;border:1px solid var(--ui-accent);border-radius:8px;background:var(--ui-accent);color:#fff;margin-left:8px}
html body .page-submenu label{display:flex;align-items:center;gap:8px;flex:none;margin:0;padding:0 4px}
html body .page-submenu input{min-height:36px;max-width:250px}
html body .page-submenu button.wrappy-select-trigger{min-height:36px;font-size:14px;padding:7px 30px 7px 10px;border:1px solid #ccd8dd;border-radius:8px;background:#fff;color:var(--ui-text)}
html body .sketch-profile .member-tabs>.profile-toolbar{display:contents}
html body .page-header~.panel,html body .page-header~.dashboard-stats{margin-top:0}
/* Content surfaces and common lists. */
html body :is(.panel,.dashboard-stat,.dashboard-finance,.profile-person,.profile-restaurant,.profile-company,.profile-social-card,.rating-card,.activation-member,.activity-card,.partner-card,.wrap-panel){border:1px solid var(--ui-line);border-radius:12px;background:#fff;box-shadow:none;backdrop-filter:none}
html body .panel{padding:28px;margin-bottom:24px}
html body .section-title{margin-bottom:24px}
html body .section-title h2{font-size:21px}
html body :is(.row,.album-list-item,.media-item,.activity-item,.activity-connection){border-color:var(--ui-line);border-radius:8px;background:#fff;color:var(--ui-text);box-shadow:none}
html body :is(.row,.album-list-item,.media-item,.activity-item):hover{background:#f2f7f7;transform:none;box-shadow:none}
html body :is(.tag,.tag-list .tag){border:0;border-radius:5px;background:#edf2f3;color:#5e727b;font-weight:400}
html body .dashboard-stats{gap:20px;margin-bottom:24px}
html body .dashboard-stat{padding:24px;min-height:120px;gap:18px}
html body .dashboard-stat.featured{background:#fff}
html body .dashboard-stat strong{font-size:36px;letter-spacing:-.04em;color:var(--ui-text);font-weight:600}
html body .dashboard-stat span,html body .dashboard-finance span{font-size:13px;color:var(--ui-secondary)}
html body .dashboard-finance{padding:24px}
html body .dashboard-finance strong{color:var(--ui-text)}
/* One restaurant per directory row. */
html body .membership-directory{padding-top:0}
html body .membership-directory-surface{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
html body .membership-directory-heading{padding:0;margin:0 0 16px;border:0}
html body .membership-directory-heading p{margin:0;font-size:13px;color:var(--ui-secondary)}
html body .membership-directory-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
html body .membership-directory-grid .membership-directory-card{display:grid;grid-template-columns:minmax(190px,1.15fr) minmax(160px,1fr) minmax(210px,1.4fr) 120px;align-items:center;min-height:100px;padding:22px 24px;gap:24px;border:1px solid var(--ui-line);border-radius:10px;background:#fff;box-shadow:none;text-decoration:none;color:var(--ui-text)}
html body .membership-directory-grid .membership-directory-card:hover{background:#fcfefe;border-color:#a9c8c8;box-shadow:none}
html body .membership-directory-identity{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}
html body .membership-directory-card h3{margin:0;font-size:20px;font-weight:600;line-height:1.35;letter-spacing:-.025em;color:var(--ui-text);overflow-wrap:anywhere}
html body :is(.membership-directory-since,.membership-directory-label){font-size:11px;color:var(--ui-secondary)}
html body :is(.membership-directory-people,.membership-directory-contact){display:flex;flex-direction:column;gap:5px;min-width:0}
html body .membership-directory-value{font-size:14px;color:var(--ui-text);overflow-wrap:anywhere}
html body .membership-directory-address{font-size:13px;color:var(--ui-secondary);overflow-wrap:anywhere}
html body .membership-directory-details{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin:0;padding:4px 0 4px 20px;border:0;border-left:1px solid var(--ui-line);font-size:13px;color:var(--ui-secondary)}
html body .membership-directory-details>span+span{border:0;padding:0}
html body .membership-directory-type{font-size:11px;letter-spacing:0;text-transform:none;padding:3px 7px;background:var(--ui-accent-soft);color:var(--ui-accent);border-radius:5px}
html body .membership-directory-empty{padding:30px;background:#fff;border:1px solid var(--ui-line);border-radius:10px}
/* Profiles and recognitions. */
html body .sketch-profile .profile-pane{padding-top:0}
html body .profile-people-grid,html body .sketch-profile .profile-restaurant-grid,html body .profile-social-grid,html body .sketch-profile .ratings-grid{gap:24px}
html body .profile-person,html body .sketch-profile .profile-restaurant,html body .sketch-profile .profile-company{padding:24px;border:1px solid var(--ui-line);border-radius:12px;background:#fff}
html body .profile-person{gap:24px}
html body .sketch-profile .profile-picture,html body .profile-picture img{border-radius:9px;background:#edf2f3}
html body .profile-photo-edit{border-radius:7px;background:#fffffff0;color:var(--ui-text)}
html body .profile-person h2,html body .profile-social-head h2{font-size:23px;font-weight:600;letter-spacing:-.03em}
html body .profile-details{font-size:14px;line-height:1.6}
html body .profile-details dt{font-size:12px;color:var(--ui-secondary)}html body .profile-details dd{color:var(--ui-text)}
html body .profile-role,html body :is(.profile-sync-note,.profile-sync-date){color:var(--ui-secondary)}
html body .profile-link,html body .profile-followers{color:var(--ui-accent)}
html body .sketch-profile .profile-company-list{gap:20px}
html body .sketch-profile .profile-pane .panel{padding:0;border:0;background:transparent;box-shadow:none}
html body .rating-card-head{padding:22px;border-bottom:1px solid var(--ui-line)}
html body .rating-guide-mark{border:0;border-radius:8px;background:#edf4f4;color:var(--ui-accent)}
html body .sketch-profile .rating-edition{padding:24px}
html body .rating-year,html body .rating-year.is-undated{background:#edf2f3;color:var(--ui-secondary);border-radius:5px}
html body .rating-value{font-weight:600;color:var(--ui-text)}
html body .rating-symbols{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-height:38px}
html body .rating-symbols img{display:block;flex:none;width:auto;height:32px;max-width:none;object-fit:contain}
html body .rating-symbols-toque{gap:3px}
/* Activation, shared lists and member-specific view. */
html body .activation-content{padding-top:0;padding-bottom:0}
html body .activation-context{margin:0 0 20px}
html body .activation-member-list{gap:18px}
html body .activation-member-summary{padding:24px}
html body .activation-member-identity h2{font-size:19px;font-weight:600}
html body .activation-avatar{border:0;border-radius:8px;background:var(--ui-accent-soft);color:var(--ui-accent)}
html body .activation-member-metric strong,html body .activation-member-metric.is-total strong{color:var(--ui-text);font-weight:600}
html body .activation-member-tags .activation-tag{background:#edf2f3;color:var(--ui-secondary);border-radius:5px}
html body .activation-member-body .activation-activity{border:1px solid var(--ui-line);border-radius:8px;background:#f7fafa}
html body .activation-activity-value.is-positive{background:var(--ui-accent-soft);color:var(--ui-accent)}
html body .activation-activity-value.is-zero,html body .activation-activity-value.is-unknown{background:#edf2f3;color:var(--ui-secondary)}
html body .activation-profile-header{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px}
html body .activation-profile-title h2{margin:0;font-size:21px}
html body .activation-profile-tools{display:none}
html body .activation-profile-content .activation-member{display:block;background:#fff;border:1px solid var(--ui-line);border-radius:12px;overflow:hidden}
html body .activation-profile-content .activation-member-summary{display:block;padding:20px 24px;margin:0;border:0;border-bottom:1px solid var(--ui-line);border-radius:0;background:transparent;cursor:default}
html body .activation-profile-content :is(.activation-member-identity,.activation-member-tags,.activation-chevron){display:none}
html body .activation-profile-content .activation-member-metrics{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:20px 32px;padding:0;max-width:none;width:auto}
html body .activation-profile-content .activation-member-metric{display:flex;flex-direction:row;align-items:baseline;gap:9px;min-width:0;font-size:13px}
html body .activation-profile-content .activation-member-metric strong{font-size:26px;line-height:1.2}
html body .activation-profile-content .activation-member-metric+.activation-member-metric{padding-left:28px;border-left:1px solid var(--ui-line)}
html body .activation-profile-content .activation-member-body{display:block;padding:0;border:0}
html body .activation-profile-content .activation-activity-group{display:grid;grid-template-columns:160px minmax(0,1fr);align-items:center;gap:24px;padding:18px 24px;margin:0;border:0;border-radius:0;background:transparent}
html body .activation-profile-content .activation-activity-group+.activation-activity-group{border-top:1px solid var(--ui-line)}
html body .activation-profile-content .activation-activity-group>h3{padding:0;margin:0;border:0;font-size:14px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--ui-secondary)}
html body .activation-profile-content .activation-activity-list{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
html body .activation-profile-content .activation-member-body .activation-activity{display:inline-grid;grid-template-columns:minmax(0,1fr) auto;flex:0 1 auto;width:fit-content;max-width:100%;min-height:0;padding:8px 14px;gap:8px;border:0;border-radius:7px;background:#eff4f4}
html body .activation-profile-content .activation-activity:has(.activation-activity-open){display:block;flex:0 0 auto;width:max-content;max-width:100%;padding:0}
html body .activation-profile-content .activation-activity:has(.activation-activity-open)>.activation-activity-info:has(>.activation-activity-meta:empty){display:none}
html body .activation-profile-content .activation-activity .activation-activity-open{display:block;width:auto;height:auto;min-width:0;min-height:38px;max-width:100%;margin:0;padding:8px 14px;border:0;border-radius:7px;background:transparent;color:var(--ui-text);font-size:14px;line-height:1.5;text-align:left;font-weight:400;white-space:normal;word-break:normal;overflow-wrap:break-word}
html body .activation-profile-content .activation-activity-open:hover{background:var(--ui-accent-soft)}
html body .activation-profile-content .activation-activity h4{font-size:14px;font-weight:400;line-height:1.5;margin:0}
/* Tables: scrolling data, fixed headers and total rows. */
html body table{color:var(--ui-text);font-size:13px}
html body :is(th,td){border-color:var(--ui-line)}
html body table thead th,html body .activity-year-table th{background:#f1f6f6;color:#50656e;font-size:11px;font-weight:600;letter-spacing:.025em}
html body table tbody tr:nth-child(even)>:is(td,th){background:#f8fbfb}
html body table tbody tr:hover>:is(td,th){background:#edf5f4}
html body :is(.activation-table-wrap,.profile-ratings-wrap,.activity-year-scroll){border:1px solid var(--ui-line);border-radius:10px;background:#fff;scrollbar-width:thin}
html body .activation-table-shell .activation-table .activation-groups>th,html body .activation-table-shell .activation-table thead tr:first-child>th:first-child,html body .activation-table-shell .activation-table .activation-fixed-total{background:#e2eded;color:#314f54;border-bottom:1px solid #c6d9db;font-size:11px;font-weight:600}
html body .activation-table-shell .activation-table .activation-column-headings>th{background:#f1f6f6;color:#5c7179;font-size:11px}
html body .activation-table-count.has-value{background:var(--ui-accent-soft);color:var(--ui-accent);border-radius:5px}
html body .activation-table-name,html body .activity-event-link,html body .dashboard-member{color:var(--ui-text)}
html body .activation-column-navigation{margin:0 0 12px}
html body .activation-column-navigation button{border-radius:8px;background:#fff;border-color:var(--ui-line);color:var(--ui-text)}
html body :is(.activation-table,.profile-finance-table) tfoot{position:sticky;bottom:0;z-index:6;background:#eaf2f2}
html body :is(.activation-table,.profile-finance-table) tfoot :is(th,td){position:sticky;bottom:0;background:#eaf2f2;color:var(--ui-text);border-top:1px solid #c6d9db;border-bottom:0;padding:14px;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;text-align:center;box-shadow:0 -3px 8px #202a3005}
html body .profile-finance-table tfoot td{text-align:left}html body .profile-finance-table tfoot td.numeric{text-align:right;white-space:nowrap}
html body .activation-table tfoot th{left:0;z-index:8;text-align:left;width:var(--activation-member-width)}
html body .activation-table-shell .activation-table tfoot td.activation-table-total{left:var(--activation-member-width);z-index:8;background:#eaf2f2}
html body .profile-finance-table thead{z-index:4}
html body .finance-table-scroll table{border-collapse:separate;border-spacing:0}
@media screen{
 html:has(#app .profile-finance-table),body:has(#app .profile-finance-table),html:has(#app .activation-table-shell),body:has(#app .activation-table-shell){height:100%;overflow:hidden}
 body.workspace-auth #app:has(.profile-finance-table),body.workspace-auth #app:has(.activation-table-shell){height:100dvh;min-height:0;display:flex;flex-direction:column;padding-bottom:20px;overflow:hidden}
 html body #app.sketch-profile .profile-pane:has(.profile-finance-table),html body #app.sketch-profile .profile-pane>.panel:has(.profile-finance-table){display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden;padding:0;margin:0}
 html body #app.sketch-profile .table-wrap:has(.profile-finance-table){flex:1 1 0;min-height:0;height:auto;max-height:none;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;isolation:isolate}
 html body #app .activation-content:has(.activation-table-shell),html body #app .activation-table-shell{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden}
 html body #app .activation-table-shell .activation-table-wrap{flex:1 1 0;min-height:0;height:auto;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
 html body #app :is(.activation-context,.activation-column-navigation){flex:none}
 html body #app .profile-finance-totals{flex:none;margin-top:16px;padding-top:16px;gap:32px;border-color:var(--ui-line)}
 html body #app .profile-finance-totals strong{font-size:23px;color:var(--ui-text)}
 html body #app .profile-finance-totals~.profile-note{flex:none;margin:8px 0 0;font-size:11px;color:var(--ui-secondary)}
}
/* Every table view uses the remaining viewport; scrolling belongs to its data region. */
@media screen{
 html:has(#app table,#app .activity-year-scroll),body:has(#app table,#app .activity-year-scroll){height:100%;overflow:hidden}
 body.workspace-auth #app:has(table,.activity-year-scroll){height:100dvh;min-height:0;display:flex;flex-direction:column;padding-bottom:20px;overflow:hidden}
 html body #app :is(.panel,.profile-pane,.activation-content):has(table,.activity-year-scroll){display:flex;flex-direction:column;flex:1 1 0;min-width:0;min-height:0;overflow:hidden;margin-bottom:0}
 html body #app :is(.dashboard-table-wrap,.activity-year-scroll,.table-wrap,.profile-ratings-wrap):has(table),html body #app .activity-year-scroll{flex:1 1 0;min-width:0;min-height:0;height:auto;max-height:none;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;isolation:isolate}
 html body #app table:not(.activation-table){border-collapse:separate;border-spacing:0}
 html body #app table:not(.activation-table) thead{position:sticky;top:0;z-index:4}
 html body #app table tfoot{position:sticky;bottom:0;z-index:6;background:#eaf2f2}
 html body #app table tfoot :is(th,td){position:sticky;bottom:0;background:#eaf2f2;border-top:1px solid #c6d9db}
 html body #app :is(.section-title,.media-filter,.profile-finance-totals,.profile-note){flex-shrink:0}
 html body #app .dashboard-list{padding:20px}
 html body #app .dashboard-list .section-title{margin-bottom:16px;min-height:40px}
 html body #app:has(.dashboard-table) .dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex:none;gap:12px;margin-bottom:12px}
 html body #app:has(.dashboard-table) .dashboard-stat{display:flex;flex-direction:column;justify-content:center;gap:3px;padding:12px 16px;min-height:76px}
 html body #app:has(.dashboard-table) .dashboard-stat strong{font-size:27px;line-height:1.2}
 html body #app:has(.dashboard-table) .dashboard-finances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:none;gap:12px;margin-bottom:16px}
 html body #app:has(.dashboard-table) .dashboard-finance{padding:10px 16px;min-height:60px}
 html body #app:has(.dashboard-table) .dashboard-finance strong{font-size:21px;line-height:1.3}
 html body #app .activity-year-panel>h2{margin-bottom:16px;flex:none}
 html body #app .activity-year-panel>.muted{margin-bottom:12px;flex:none}
}
@media screen and (max-width:750px){
 html body #app:has(.dashboard-table) .dashboard-stats{grid-template-columns:repeat(4,minmax(126px,1fr));overflow-x:auto;scrollbar-width:thin}
 html body #app:has(.dashboard-table) .dashboard-finances{grid-template-columns:repeat(2,minmax(190px,1fr));overflow-x:auto;scrollbar-width:thin}
 html body #app .dashboard-list .section-title{flex-direction:row;align-items:center;gap:12px}
 html body #app .dashboard-list h2{font-size:17px;flex:none}
 html body #app .dashboard-list .dashboard-search{min-width:0;width:160px}
}
/* Designed dropdowns, including those inside dialogs. */
html body .wrappy-select-trigger{min-height:40px;padding:9px 12px;border:1px solid #ccd8dd;border-radius:8px;background:#fff;color:var(--ui-text);font-size:14px;font-weight:400}
html body .wrappy-select-trigger::after{border-color:#71858e;border-radius:0}
html body .wrappy-select-trigger:hover{background:#fbfdfd;border-color:#9cb9be}
html body .wrappy-select-trigger[aria-expanded=true],html body .wrappy-select-trigger:focus-visible{border-color:var(--ui-accent);outline:3px solid #176f7320;outline-offset:0}
html body .wrappy-select-popup{background:#fff;border:1px solid var(--ui-line);border-radius:10px;padding:5px;box-shadow:0 12px 32px #202a301a;font:14px/1.45 var(--ui-font);color:var(--ui-text)}
html body .wrappy-select-option{min-height:40px;padding:10px 12px;border-radius:6px;color:var(--ui-text);font-weight:400}
html body .wrappy-select-option:hover,html body .wrappy-select-option:focus-visible{background:#f0f5f5;color:var(--ui-text)}
html body .wrappy-select-option[aria-selected=true]{background:var(--ui-accent-soft);color:var(--ui-accent);font-weight:600}
html body .wrappy-select-search{border-radius:7px;background:#f3f6f7;border-color:var(--ui-line);font-size:14px}
html body .company-search-dropdown{background:#fff;border:1px solid var(--ui-line);border-radius:10px;box-shadow:0 10px 30px #202a3015}
html body :is(.company-search-selection,.company-search-all,.company-search-result:hover){background:#f0f5f5;color:var(--ui-text);border-color:var(--ui-line)}
/* Dialogs and galleries. */
html body dialog:not(.photo-modal){background:#fff;color:var(--ui-text);border:1px solid var(--ui-line);border-radius:14px;box-shadow:0 24px 70px #202a3026;font-family:var(--ui-font)}
html body dialog::backdrop{background:#202a3060;backdrop-filter:blur(3px)}
html body .profile-dialog,html body .profile-video-dialog{padding:28px}
html body .activation-drawer{border-radius:14px 0 0 14px!important}
html body :is(.activation-drawer-head,.excel-import-dialog-header){padding:22px 24px;border-bottom:1px solid var(--ui-line);background:#fff}
html body :is(.import-record,.import-json){border-radius:8px;border-color:var(--ui-line);background:#f5f9f9}
html body .settings-panel{max-width:720px}html body .settings-panel form{max-width:520px}
html body .tour-tip{border-radius:12px;background:#fff;border-color:var(--ui-line);color:var(--ui-text);box-shadow:0 10px 30px #202a3020}
html body .photo-card{border:1px solid var(--ui-line);border-radius:10px;background:#fff;box-shadow:none;overflow:hidden}
html body :is(.album-cover,.photo-card img){border-radius:8px;background:#edf2f3}
html body .photo-open{border-radius:0;background:transparent}
html body .photo-modal{border-radius:12px;background:#152024}
html body .photo-modal-tags{background:#fff;color:var(--ui-text)}
html body .photo-modal-close{border-radius:50%;color:var(--ui-text)}
html body .profile-pane :is(.album-list-item,.profile-media .media-item){background:#fff;border-color:var(--ui-line);border-radius:10px}
/* Sign in shares the workspace palette without navigation furniture. */
body:not(.workspace-auth) main{margin:0;padding:28px 20px}
body:not(.workspace-auth) .topbar{position:static;transform:none;width:calc(100% - 40px);height:auto;min-height:64px;margin:0 auto;padding:20px 0;background:transparent;border:0}
html body .brand{font-size:27px;font-weight:750;letter-spacing:-.075em;color:var(--ui-text)}html body .brand span{color:var(--ui-accent)}
html body .login{width:100%;max-width:420px;margin:7vh auto 0;padding:36px;border:1px solid var(--ui-line);border-radius:14px;background:#fff;box-shadow:0 8px 32px #202a3005}
html body .login h1{font-size:30px;line-height:1.2;letter-spacing:-.035em;margin-bottom:28px}
html body .login form{gap:20px}html body .login label{font-size:13px}
html body .login button[type=submit]{min-height:42px;margin-top:8px;font-size:14px}
html body .login .install-button{margin-top:16px;background:#f0f5f5;border-color:var(--ui-line);color:var(--ui-secondary)}
html body #notice{border-radius:8px;background:#b94035;box-shadow:0 8px 28px #202a3015}
html body #notice.good{background:#267350}
/* Responsive workspace. */
@media(max-width:1200px){html body .membership-directory-grid .membership-directory-card{grid-template-columns:minmax(170px,1fr) minmax(200px,1.3fr) 110px;gap:20px}html body .membership-directory-identity{grid-column:1;grid-row:1}html body .membership-directory-people{grid-column:1;grid-row:2}html body .membership-directory-contact{grid-column:2;grid-row:1/3}html body .membership-directory-details{grid-column:3;grid-row:1/3}html body .profile-people-grid{grid-template-columns:1fr}}
@media(max-width:900px){
 :root{--workspace-sidebar:0px;--workspace-gutter:24px}
 body.workspace-auth .topbar{left:0;padding:0 24px}
 body.workspace-auth main{margin-left:0}
 html body .workspace-menu-toggle{display:block;flex:none;min-width:40px;height:40px;padding:6px;border:1px solid var(--ui-line);border-radius:8px;background:#fff;color:var(--ui-text);font-size:20px}
 .workspace-sidebar{width:230px;transform:translateX(-100%);transition:transform .18s ease}
 body.workspace-drawer-open{overflow:hidden}body.workspace-drawer-open .workspace-sidebar{transform:translateX(0)}
 html body .workspace-organization{gap:8px}html body .workspace-control-label{display:none}
 html body #top-actions .workspace-organization>.wrappy-select{width:180px}
 html body .sketch-profile .profile-restaurant-grid{grid-template-columns:1fr}
}
@media(max-width:650px){
 :root{--workspace-gutter:16px;--member-header-height:160px}
 body.workspace-auth{--member-header-height:160px}
 body.workspace-auth .topbar{padding:0 16px}
 html body #top-actions{gap:10px}
 html body #top-actions .workspace-organization>.wrappy-select{width:145px}
 html body #top-actions .workspace-year>.wrappy-select{width:94px}
 body.workspace-auth .page-header{grid-template-rows:84px 44px}
 body.workspace-auth #app .page-header h1{font-size:28px;letter-spacing:-.03em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 html body .page-submenu :is(button,input,label,.wrappy-select-trigger){font-size:13px}
 html body .page-submenu button{padding:9px 11px}
 html body .panel,html body .profile-person,html body .sketch-profile .profile-restaurant,html body .sketch-profile .profile-company{padding:20px}
 html body .membership-directory-grid .membership-directory-card{grid-template-columns:minmax(0,1fr) auto;padding:20px;gap:16px}
 html body .membership-directory-identity{grid-column:1;grid-row:1}
 html body .membership-directory-details{grid-column:2;grid-row:1;font-size:12px;padding-left:16px}
 html body .membership-directory-people{grid-column:1/-1;grid-row:2}
 html body .membership-directory-contact{grid-column:1/-1;grid-row:3;border-top:1px solid var(--ui-line);padding-top:14px}
 html body .membership-directory-card h3{font-size:19px}
 html body .profile-person{grid-template-columns:minmax(0,1fr);align-items:start;gap:20px}
 html body .profile-person .profile-picture{width:112px;max-width:100%;aspect-ratio:3/4;align-self:start}
 html body .profile-person .profile-details{grid-template-columns:110px minmax(0,1fr);gap:10px 16px}
 html body .profile-person .profile-details dd{margin:0}
 html body .activation-member-summary{padding:20px}
 html body .activation-profile-content .activation-member-summary{padding:18px 20px}
 html body .activation-profile-content .activation-member-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px}
 html body .activation-profile-content .activation-member-metric{display:flex;flex-direction:column;align-items:flex-start;gap:6px;font-size:12px;line-height:1.4}
 html body .activation-profile-content .activation-member-metric+.activation-member-metric{padding:0;border:0}
 html body .activation-profile-content .activation-activity-group{display:block;padding:16px 20px}
 html body .activation-profile-content .activation-activity-group>h3{margin-bottom:10px}
 html body .activation-profile-content .activation-activity-list{gap:8px}
 html body .rating-card-head,html body .sketch-profile .rating-edition{padding:20px}
 html body .login{padding:28px;margin-top:4vh}
 html body #app .profile-finance-totals{gap:20px}html body #app .profile-finance-totals strong{font-size:20px}
}
@media(prefers-reduced-motion:reduce){html body *,html body *::before,html body *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media print{
 html body{background:#fff}html body .topbar,html body .workspace-sidebar,html body .workspace-backdrop,html body .page-header{display:none!important}
 body.workspace-auth main,body.workspace-auth main:has(.page-header){margin:0;padding:0;max-width:none;height:auto!important;overflow:visible}
 html body #app .table-wrap,html body #app .activation-table-wrap{height:auto;max-height:none;overflow:visible}
 html body :is(.activation-table,.profile-finance-table) tfoot,html body :is(.activation-table,.profile-finance-table) tfoot :is(th,td){position:static}
}
