@font-face{font-family:Poppins;src:url(/assets/poppins-latin-ext-400-BGNV62LR.woff2)format("woff2");font-style:normal;font-weight:400;font-display:swap;unicode-range:U+100-24F,U+259,U+1E??,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Poppins;src:url(/assets/poppins-latin-400-BwTUGeWf.woff2)format("woff2");font-style:normal;font-weight:400;font-display:swap;unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Poppins;src:url(/assets/poppins-latin-ext-500-DYJoBICm.woff2)format("woff2");font-style:normal;font-weight:500;font-display:swap;unicode-range:U+100-24F,U+259,U+1E??,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Poppins;src:url(/assets/poppins-latin-500-CWICHMj6.woff2)format("woff2");font-style:normal;font-weight:500;font-display:swap;unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Poppins;src:url(/assets/poppins-latin-ext-600-BO279Z4F.woff2)format("woff2");font-style:normal;font-weight:600;font-display:swap;unicode-range:U+100-24F,U+259,U+1E??,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Poppins;src:url(/assets/poppins-latin-600-DJVo7c07.woff2)format("woff2");font-style:normal;font-weight:600;font-display:swap;unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Poppins;src:url(/assets/poppins-latin-ext-700-ngPRHmr-.woff2)format("woff2");font-style:normal;font-weight:700;font-display:swap;unicode-range:U+100-24F,U+259,U+1E??,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Poppins;src:url(/assets/poppins-latin-700-g9MkRaG0.woff2)format("woff2");font-style:normal;font-weight:700;font-display:swap;unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:var(--font-family-ui);font-weight:var(--font-weight-regular);line-height:var(--line-height-body);--font-family-ui:"Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-family-mono:ui-monospace, SFMono-Regular, Menlo, monospace;--font-weight-regular:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--line-height-body:1.5;--line-height-heading:1.3;color:var(--ink);background:var(--app-canvas);font-synthesis:none;text-rendering:optimizelegibility;--ink:#0a0a0a;--ink-soft:#737373;--ink-faint:var(--ink-soft);--brand-primary-deep:#171717;--brand-primary-contrast:#171717;--mint:#b8d8c8;--mint-pale:#f5fdf8;--gold:#d8bd7b;--sold-pale:#fff2a8;--paper:var(--app-canvas);--white:#fff;--line:#e5e5e5;--line-strong:#d9d9d9;--danger:#a94d42;--success:#28745b;--subscription-action-text:#047857;--subscription-action-icon:#059669;--subscription-action-border:#6ee7b7;--subscription-action-surface:#f9fefa;--subscription-action-hover:#d1fae5;--crm-create-accent:#4f46e5;--crm-create-accent-hover:#4338ca;--crm-create-icon-surface:#e0e7ff;--crm-create-icon-color:#4338ca;--role-system-owner-text:var(--success);--role-system-owner-bg:#e8f4ec;--role-admin-text:var(--success);--role-admin-bg:#e8f4ec;--role-manager-text:#946025;--role-manager-bg:#fbf0dc;--role-sales-text:#3266a5;--role-sales-bg:#e8f1ff;--role-viewer-text:#536b79;--role-viewer-bg:#edf3f5;--status-disabled-text:#66736e;--status-disabled-bg:#edf0ee;--surface-subtle:#f5f5f5;--surface-quiet:#fafafa;--danger-border:#e6c4bf;--danger-surface:#fff8f7;--role-secretary-text:#5b6e56;--role-secretary-bg:#edf2e8;--nav-text:#737373;--nav-active-text:#fafafa;--nav-hover-surface:#f5f5f5;--nav-active-surface:#171717;--nav-active-indicator:#171717;--focus-ring-color:#737373;--overlay-scrim:#0000001a;--dialog-backdrop-blur:4px;--warning-text:#78643a;--warning-border:#e6d9b7;--warning-surface:#fbf8ef;--inventory-unsold-text:var(--success);--inventory-unsold-border:var(--mint);--inventory-unsold-surface:var(--mint-pale);--inventory-held-text:#3266a5;--inventory-held-surface:#e8f1ff;--inventory-sold-text:#946025;--inventory-sold-border:var(--gold);--inventory-sold-surface:var(--sold-pale);--shadow-surface:0 1px 3px #0000000f;--font-size-auth-title:32px;--font-size-auth-title-mobile:var(--font-size-auth-title);--app-canvas:#fafafa;--app-glow-blue:transparent;--app-glow-lilac:transparent;--app-backdrop:radial-gradient(ellipse at 52% 0%, var(--app-glow-blue), transparent 42%), radial-gradient(ellipse at 88% 72%, var(--app-glow-lilac), transparent 40%), var(--app-canvas);--surface-glass:#fff;--surface-glass-strong:#fff;--surface-glass-border:#e5e5e5;--surface-glass-shadow:0 2px 12px #0000000f;--surface-control:#f7f7f7;--surface-input:#00000008;--surface-table-head:#f7f7f7;--surface-hover:#f5f5f5;--action-primary:#171717;--action-primary-hover:#404040;--action-primary-shadow:0 1px 3px #0000001f;--font-size-display-mobile:32px;--font-size-display-small:var(--font-size-display-mobile);--overline-text:var(--ink-soft);--control-hover-border:#a3a3a3;--sidebar-border:var(--line);--sidebar-divider:var(--line);--avatar-border:var(--line-strong);--avatar-text:var(--ink);--avatar-surface:var(--surface-subtle);--account-name:var(--ink);--account-role:var(--ink-soft);--signout-text:var(--ink-soft);--count-text:var(--ink-soft);--credential-border:var(--line);--credential-text:var(--ink-soft);--credential-surface:var(--surface-subtle);--credential-title:var(--ink);--credential-caption:var(--ink-soft);--credential-input-border:var(--line-strong);--table-divider:#e5e5e5;--text-button-color:var(--action-primary);--status-active-text:#31714f;--status-active-surface:#eaf5ec;--status-muted-text:var(--status-disabled-text);--status-muted-surface:#f3eeeb;--status-neutral-text:#65756e;--project-avatar-border:var(--line-strong);--project-avatar-text:var(--ink);--project-avatar-surface:var(--surface-subtle);--number-unit-text:var(--ink-soft);--list-divider:#e5e5e5;--detail-shadow-color:#12241f0f;--customer-hover-surface:#f7f7f7;--customer-accent:var(--ink);--customer-phone-text:var(--ink);--customer-phone-decoration:var(--line-strong);--customer-subheading-text:var(--ink);--status-rejected-surface:#f8ece9;--font-size-brand-name:19px;--font-size-brand-caption:9px;--shadow-card:0 4px 18px #0000001a;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--font-size-micro:var(--font-size-caption);--font-size-caption:12px;--font-size-tiny:10px;--font-size-xs:var(--font-size-caption);--font-size-sm:var(--font-size-body);--font-size-dense:var(--font-size-body);--font-size-control:14px;--font-size-body:14px;--font-size-body-reading:16px;--font-size-section:14px;--font-size-card-title:var(--font-size-section);--font-size-nav:14px;--font-size-page-context:var(--font-size-stat);--font-size-page-title:30px;--font-size-page-title-tablet:24px;--font-size-overview-title:30px;--font-size-welcome-title:24px;--font-size-welcome-title-mobile:20px;--font-size-overview-title-mobile:18px;--font-size-page-section-title:24px;--font-size-page-section-title-mobile:20px;--font-size-dialog-title:20px;--font-size-detail-section:16px;--font-size-metric:18px;--font-size-toast:13px;--toast-shadow:0 4px 12px #0000001a;--segmented-shadow:0 1px 0 #0000000d;--font-size-stat:24px;--font-size-display:48px;--radius-control:10px;--radius-button:8px;--radius-button-pill:999px;--radius-panel:18px;--workspace-frame-inset:0px;--workspace-page-topbar-height:80px;--control-height-search:40px;font-optical-sizing:auto;--space-10:40px;--space-12:48px;--space-16:64px;--control-height-regular:32px;--control-height-small:28px;--control-height-subscription-action:28px;--control-height-touch:44px;--control-height-large:48px;--control-height:var(--control-height-regular);--control-height-compact:var(--control-height-small);--control-size-icon:var(--control-height-small);--sidebar-width:256px;--sidebar-width-wide:288px;--page-gutter:var(--space-8);--panel-padding:var(--space-4);--button-gap:var(--space-2)}*{box-sizing:border-box}html{background:var(--paper);min-width:320px;min-height:100%}body{min-width:320px;min-height:100vh;font-size:var(--font-size-body);margin:0}dialog::backdrop{background:var(--overlay-scrim);-webkit-backdrop-filter:blur(var(--dialog-backdrop-blur));backdrop-filter:blur(var(--dialog-backdrop-blur))}h1{font-size:var(--font-size-page-title)}h2,h3,h4,h5,h6{font-size:var(--font-size-section)}h1,h2,h3,h4,h5,h6{font-weight:var(--font-weight-semibold);line-height:var(--line-height-heading)}.app-dialog{border:1px solid var(--line-strong);border-radius:var(--radius-panel);width:min(560px,100% - 32px);max-width:none;max-height:calc(100dvh - 32px);padding:var(--space-6);color:var(--ink);background:var(--surface-glass-strong);margin:auto;overflow-y:auto}.app-dialog-heading{justify-content:space-between;align-items:flex-start;gap:var(--space-4);margin-bottom:var(--space-5);display:flex}.app-dialog-heading h3{color:var(--ink);font-size:var(--font-size-dialog-title);margin:0}.app-dialog-heading p{margin:var(--space-2) 0 0;color:var(--ink-soft);font-size:var(--font-size-caption);line-height:1.55}.app-dialog-heading-side{align-items:center;gap:var(--space-2);flex:none;display:flex}.page-heading-actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;flex:none;display:flex}strong,b{font-weight:var(--font-weight-semibold)}button,input,select,textarea{font:inherit;font-size:var(--font-size-control);font-weight:var(--font-weight-regular)}button{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--focus-ring-color);outline-offset:2px}.auth-screen{min-height:100dvh;padding:48px var(--page-gutter) 18px;background:var(--app-backdrop);flex-direction:column;align-items:center;display:flex}.brand-lockup{z-index:1;color:inherit;align-items:center;gap:13px;text-decoration:none;display:inline-flex;position:relative}.project-logo{background-color:var(--brand-primary-contrast);display:block;-webkit-mask-image:url(/brand/shangzun-grand-court-logo.png);mask-image:url(/brand/shangzun-grand-court-logo.png);-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.auth-project-logo{aspect-ratio:2400/680;width:min(100%,224px);margin:0 auto var(--space-5);-webkit-mask-position:50%;mask-position:50%}.session-project-logo{aspect-ratio:2400/680;background-color:var(--brand-primary-contrast);width:min(224px,70vw);-webkit-mask-position:50%;mask-position:50%}.auth-panel{flex-direction:column;flex:1 0 auto;justify-content:center;align-items:center;width:min(100%,440px);padding:0;display:flex}.auth-card{border:1px solid var(--surface-glass-border);border-radius:var(--radius-panel);background:var(--surface-glass);width:100%;box-shadow:var(--surface-glass-shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);padding:36px 40px 30px}.eyebrow{margin:0 0 var(--space-3);color:var(--overline-text);font-size:var(--font-size-caption);font-weight:var(--font-weight-semibold);letter-spacing:normal;text-transform:uppercase}.auth-card h1{color:var(--ink);font-family:var(--font-family-ui);font-size:var(--font-size-auth-title);font-weight:var(--font-weight-semibold);letter-spacing:normal;text-align:center;margin:0}.auth-heading{margin-bottom:var(--space-6);text-align:center}.auth-description{margin:var(--space-2) 0 0;color:var(--ink-soft);font-size:var(--font-size-body);line-height:1.75}.form-stack{gap:var(--space-5);flex-direction:column;display:flex}.field{gap:var(--space-1);min-width:0;color:var(--ink);font-size:var(--font-size-caption);font-weight:var(--font-weight-semibold);flex-direction:column;display:flex}.field input:not([type=checkbox]):not([type=radio]),.field select{width:100%;min-width:0;height:var(--control-height);border:1px solid var(--line-strong);border-radius:var(--radius-control);padding:0 var(--space-3);color:var(--ink);background:var(--surface-input);font-size:var(--font-size-body);font-weight:var(--font-weight-regular);transition:border-color .18s,box-shadow .18s}input[type=checkbox],input[type=radio]{width:var(--space-4);height:var(--space-4);accent-color:var(--action-primary);flex:none;margin:0}.field input::placeholder{color:var(--ink-faint)}.field input:not([type=checkbox]):not([type=radio]):hover,.field select:hover{border-color:var(--control-hover-border)}.field small{color:var(--ink-faint);font-size:var(--font-size-caption);font-weight:var(--font-weight-regular);line-height:1.55}.auth-field+.auth-field{margin-top:var(--space-1)}.icon-button{width:var(--control-size-icon);height:var(--control-size-icon);border-radius:var(--radius-control);color:var(--ink-soft);cursor:pointer;background:0 0;border:1px solid #0000;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.button{min-height:var(--control-height);border-radius:var(--radius-button);padding:0 var(--space-3);cursor:pointer;font-size:var(--font-size-control);font-weight:var(--font-weight-medium);justify-content:center;align-items:center;gap:var(--button-gap);border:1px solid #0000;transition:background .16s,border-color .16s,transform .16s;display:inline-flex}.button:disabled,.text-button:disabled{cursor:not-allowed;opacity:.55}.button-primary{color:var(--white);background:var(--action-primary);box-shadow:var(--action-primary-shadow)}.button-primary:hover:not(:disabled){background:var(--action-primary-hover);transform:none}.button-secondary{border-color:var(--line-strong);color:var(--ink);background:var(--surface-glass-strong);box-shadow:var(--action-primary-shadow)}.button-danger{border-color:var(--danger);color:var(--white);background:var(--danger);box-shadow:var(--action-primary-shadow)}.button-danger:hover:not(:disabled){border-color:var(--danger);background:var(--danger);filter:brightness(.92);transform:none}.button-icon{width:var(--space-4);height:var(--space-4);fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;flex:none}.button-secondary:hover:not(:disabled){border-color:var(--action-primary);background:var(--surface-hover)}.icon-button:hover:not(:disabled),.inventory-close-button:hover:not(:disabled){background:var(--surface-subtle);color:var(--ink)}.icon-button:disabled,.inventory-close-button:disabled{opacity:.55;cursor:not-allowed}.button:active:not(:disabled){background:var(--action-primary-hover)}.button-secondary:active:not(:disabled){background:var(--surface-subtle)}.button[aria-busy=true]:disabled{cursor:wait}.button-compact{min-height:var(--control-height-compact);padding:0 var(--space-3);font-size:var(--font-size-control)}.auth-submit{width:100%;min-height:var(--control-height-large);margin-top:var(--space-1);font-size:var(--font-size-body);background:var(--action-primary);box-shadow:var(--action-primary-shadow)}.auth-submit:hover:not(:disabled){background:var(--action-primary-hover)}.auth-help{margin:var(--space-6) 0 0;color:var(--ink-faint);font-size:var(--font-size-caption);text-align:center;line-height:1.65}.auth-footer{width:100%;margin-top:var(--space-4);color:var(--ink-faint);font-size:var(--font-size-caption);letter-spacing:.04em;text-align:center;flex:none}.form-error,.toast-error,.inventory-error-banner,.reporting-error,.employee-alert-error,.approval-feedback.is-error{border:1px solid var(--danger-border);border-radius:var(--radius-control);padding:var(--space-3) var(--space-4);color:var(--danger);background:var(--danger-surface);font-size:var(--font-size-caption);margin:0;line-height:1.6}.inline-success{margin:var(--space-3) 0 0;border:1px solid var(--status-active-surface);border-radius:var(--radius-control);padding:var(--space-3) var(--space-4);color:var(--status-active-text);background:var(--status-active-surface);font-size:var(--font-size-caption);line-height:1.6}.inline-warning{border:1px solid var(--warning-border);border-radius:var(--radius-control);padding:var(--space-3) var(--space-4);color:var(--warning-text);background:var(--warning-surface);font-size:var(--font-size-caption);margin:0;line-height:1.6}.employee-alert{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-3);border:1px solid var(--line);border-radius:var(--radius-control);padding:var(--space-3) var(--space-4);color:var(--ink-soft);background:var(--surface-glass);font-size:var(--font-size-caption);line-height:1.6;display:flex}.toast-stack{z-index:100;top:calc(var(--workspace-page-topbar-height) + var(--space-3));right:var(--space-6);gap:var(--space-2);width:min(356px, calc(100vw - var(--space-8)));pointer-events:none;flex-direction:column;display:flex;position:fixed}.toast-stack.is-in-dialog{top:calc(var(--space-6) * 4);right:var(--space-6)}.toast{align-items:center;gap:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-control);padding:var(--space-4);color:var(--ink);background:var(--surface-glass-strong);box-shadow:var(--toast-shadow);font-size:var(--font-size-toast);pointer-events:auto;line-height:1.5;animation:.18s ease-out toast-enter;display:flex;position:relative}@keyframes toast-enter{0%{opacity:0;transform:translateY(-8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.toast{animation:none}}.toast-icon{flex:none;justify-content:center;align-items:center;width:16px;height:16px;margin-left:-3px;display:flex}.toast-message{min-width:0;padding-right:var(--space-4);overflow-wrap:anywhere;flex:auto}.toast-dismiss{width:20px;height:20px;color:inherit;background:inherit;cursor:pointer;opacity:.6;border:1px solid;border-radius:50%;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;top:0;right:0;transform:translate(35%,-35%)}.toast-dismiss:after{content:"";border-radius:50%;position:absolute;inset:-12px}.toast-dismiss:hover{opacity:1}.toast.is-success{border-color:var(--mint);color:var(--status-active-text);background:var(--status-active-surface)}.toast.is-error{border-color:var(--danger-border);color:var(--danger);background:var(--danger-surface)}.toast.is-info{border-color:color-mix(in srgb, var(--inventory-held-text) 30%, white);color:var(--inventory-held-text);background:var(--inventory-held-surface)}.toast.is-warning{border-color:var(--warning-border);color:var(--warning-text);background:var(--warning-surface)}.confirm-dialog{border:1px solid var(--line-strong);border-radius:var(--radius-panel);width:min(440px,100% - 32px);max-width:none;max-height:calc(100dvh - 32px);padding:var(--space-6);color:var(--ink);background:var(--surface-glass-strong);box-shadow:var(--shadow-surface);margin:auto;overflow-y:auto}.confirm-dialog::backdrop{background:var(--overlay-scrim);-webkit-backdrop-filter:blur(var(--dialog-backdrop-blur));backdrop-filter:blur(var(--dialog-backdrop-blur))}.confirm-dialog-body h3{margin:0 0 var(--space-2);color:var(--ink);font-size:var(--font-size-dialog-title);font-weight:var(--font-weight-semibold)}.confirm-dialog-description{color:var(--ink-soft);font-size:var(--font-size-body);line-height:1.6}.confirm-dialog-description>*+*{margin-top:var(--space-2)}.confirm-dialog-description p{margin:0}.confirm-dialog-actions{justify-content:flex-end;gap:var(--space-2);margin-top:var(--space-6);display:flex}.scroll-hint[data-overflow-start=true]{-webkit-mask-image:linear-gradient(to right, transparent, currentColor var(--space-6));mask-image:linear-gradient(to right, transparent, currentColor var(--space-6));-webkit-mask-image:linear-gradient(to right, transparent, currentColor var(--space-6))}.scroll-hint[data-overflow-end=true]{-webkit-mask-image:linear-gradient(to left, transparent, currentColor var(--space-6));mask-image:linear-gradient(to left, transparent, currentColor var(--space-6));-webkit-mask-image:linear-gradient(to left, transparent, currentColor var(--space-6))}.scroll-hint[data-overflow-start=true][data-overflow-end=true]{-webkit-mask-image:linear-gradient(to right, transparent, currentColor var(--space-6), currentColor calc(100% - var(--space-6)), transparent);mask-image:linear-gradient(to right, transparent, currentColor var(--space-6), currentColor calc(100% - var(--space-6)), transparent);-webkit-mask-image:linear-gradient(to right, transparent, currentColor var(--space-6), currentColor calc(100% - var(--space-6)), transparent)}.session-check{justify-content:center;align-items:center;gap:var(--space-5);min-height:100vh;padding:var(--space-8);color:var(--ink-soft);background:var(--app-backdrop);text-align:center;flex-direction:column;display:flex}.session-check h1{margin:var(--space-2) 0 0;color:var(--ink);font-family:var(--font-family-ui);font-size:var(--font-size-dialog-title);font-weight:var(--font-weight-semibold)}.session-check p{max-width:420px;font-size:var(--font-size-dense);margin:0;line-height:1.7}.workspace-shell{background:var(--app-backdrop);min-height:0;display:flex;position:fixed;inset:0;overflow:clip}.sidebar{z-index:5;width:var(--sidebar-width);height:calc(100dvh - var(--workspace-frame-inset) - var(--workspace-frame-inset));flex:0 0 var(--sidebar-width);margin:var(--workspace-frame-inset);padding:var(--space-8) var(--space-4) var(--space-5);border:0;border-right:1px solid var(--sidebar-border);color:var(--ink);background:var(--surface-glass);box-shadow:none;border-radius:0;flex-direction:column;display:flex;position:relative}@media (width>=1280px){.sidebar{width:var(--sidebar-width-wide);flex-basis:var(--sidebar-width-wide)}}.workspace-brand{height:42px;min-height:42px;padding:0 var(--space-2);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;position:relative}.workspace-project-logo{width:202px;height:54px;position:absolute;top:50%;left:50%;transform:translate(-45.85%,-50%);-webkit-mask-position:0;mask-position:0;-webkit-mask-size:cover;mask-size:cover}.workspace-nav{gap:var(--space-2);flex-direction:column;margin-top:75px;display:flex}.nav-item{align-items:center;gap:var(--space-3);border-radius:var(--radius-button-pill);min-height:44px;padding:0 var(--space-4);color:var(--nav-text);cursor:pointer;font-size:var(--font-size-nav);font-weight:var(--font-weight-medium);text-align:left;background:0 0;border:0;transition:background .16s,color .16s;display:flex}.nav-item:hover{color:var(--action-primary);background:var(--nav-hover-surface)}.nav-item-active,.nav-item-active:hover{color:var(--nav-active-text);background:var(--nav-active-surface);font-weight:var(--font-weight-semibold)}.nav-symbol{opacity:.82;flex:none;width:17px;height:17px;display:block}.workspace-page-title-group{align-items:center;gap:var(--space-3);min-width:0;display:inline-flex}.sidebar-spacer{flex:1}.sidebar-account{align-items:center;gap:var(--space-3);border-top:1px solid var(--sidebar-divider);min-height:58px;padding:var(--space-4) var(--space-2) 0;display:flex}.avatar{border:1px solid var(--avatar-border);width:34px;height:34px;color:var(--avatar-text);background:var(--avatar-surface);font-size:var(--font-size-dense);border-radius:50%;flex:none;place-items:center;display:grid}.account-detail{gap:var(--space-1);flex-direction:column;flex:1;min-width:0;display:flex}.account-detail strong{color:var(--account-name);font-size:var(--font-size-caption);font-weight:var(--font-weight-semibold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-detail span{color:var(--account-role);font-size:var(--font-size-tiny)}.signout-button{width:var(--control-size-icon);height:var(--control-size-icon);border:1px solid var(--line);border-radius:var(--radius-control);color:var(--signout-text);cursor:pointer;font-size:var(--font-size-body);background:0 0;place-items:center;display:grid}.signout-button:hover{border-color:var(--action-primary);color:var(--action-primary);background:var(--surface-hover)}.workspace-main{min-width:0;min-height:0;height:calc(100dvh - var(--workspace-frame-inset) - var(--workspace-frame-inset));overscroll-behavior:contain;scrollbar-width:none;margin:var(--workspace-frame-inset) var(--workspace-frame-inset) var(--workspace-frame-inset) 0;background:var(--app-canvas);box-shadow:none;border:0;border-radius:0;flex:auto;overflow:auto;container-type:inline-size}.workspace-main::-webkit-scrollbar{display:none}.workspace-content{--workspace-content-gutter:var(--page-gutter);width:100%;height:100%;min-height:100%;padding:var(--space-6) var(--workspace-content-gutter) var(--space-6);margin:0 auto}.workspace-content.workspace-page-content{--workspace-page-frame-overhang:0px;padding-top:0}.workspace-content.overview-workspace-content{padding-top:0}.workspace-content.inventory-workspace-content,.workspace-content.crm-workspace-content,.workspace-content.audit-workspace-content{--workspace-page-frame-overhang:0px;--workspace-content-gutter:var(--page-gutter);width:100%;max-width:none;padding-top:0}.workspace-content.inventory-workspace-content,.workspace-content.audit-workspace-content{padding-bottom:0}.workspace-content.crm-workspace-content{height:auto;min-height:100%;padding-bottom:var(--space-8)}.mobile-signout{display:none}.content-stack{gap:var(--space-6);flex-direction:column;display:flex}.narrow-content{max-width:820px}.section-heading{justify-content:space-between;align-items:flex-end;gap:var(--space-5);display:flex}.workspace-page-topbar{min-height:var(--workspace-page-topbar-height);border-bottom:1px solid var(--line);padding:0 var(--space-5);align-items:center}:where(.workspace-page-content) .workspace-page-topbar{z-index:12;background:var(--surface-glass-strong);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);margin-inline:calc(-1 * (var(--workspace-content-gutter) + var(--workspace-page-frame-overhang)));padding-inline:var(--page-gutter);padding-block:var(--space-3);border-bottom:0;position:sticky;top:0}:where(.workspace-page-content) .workspace-page-topbar:after{background:var(--line);content:"";pointer-events:none;height:1px;position:absolute;bottom:0;left:0;right:0}.workspace-page-topbar>div:first-child{min-width:0}:where(.workspace-page-content) .workspace-page-topbar>div:first-child:where(:not(.workspace-page-title-group)){align-content:center;align-items:center;column-gap:var(--space-3);row-gap:var(--space-2);flex:auto;grid-template-columns:max-content minmax(0,1fr);display:grid}:where(.workspace-page-content) .workspace-page-topbar h1,:where(.workspace-page-content) .workspace-page-topbar h2{grid-area:1/1}:where(.workspace-page-content) .workspace-page-subtitle{min-width:0;max-width:720px;color:var(--ink-soft);font-size:var(--font-size-body);text-overflow:ellipsis;white-space:nowrap;grid-area:1/2;margin:0;line-height:1.5;overflow:hidden}.workspace-page-topbar .eyebrow,.workspace-page-topbar .nav-symbol{display:none}.workspace-page-content .reporting-heading>div:first-child{grid-template-columns:max-content minmax(0,1fr) auto}.workspace-page-content .reporting-heading .reporting-updated{white-space:nowrap;grid-area:1/3;align-self:center;margin-left:auto}.welcome-date{color:var(--ink-faint);font-size:var(--font-size-caption);padding:0}.section-heading:where(:not(.workspace-page-topbar)) h2{color:var(--ink);font-family:var(--font-family-ui);font-size:var(--font-size-section);font-weight:var(--font-weight-semibold);letter-spacing:normal;margin:0}.workspace-page-topbar h1,.workspace-page-topbar h2{color:var(--ink);font-family:var(--font-family-ui);font-size:var(--font-size-page-title);font-weight:var(--font-weight-bold);letter-spacing:normal;margin:0;line-height:1.3}.overview-page{gap:var(--space-6)}.overview-topbar{justify-content:space-between;align-items:center;gap:var(--space-6);margin-inline:calc(-1 * var(--page-gutter));padding-inline:var(--page-gutter);display:flex}.overview-page-title h1{font-size:var(--font-size-overview-title);font-weight:var(--font-weight-bold)}.overview-search{width:min(100%,320px);min-width:min(220px,40vw);height:var(--control-height-search);align-items:center;gap:var(--space-2);border-radius:var(--radius-button-pill);padding:0 var(--space-3);background:var(--surface-input);border:1px solid #0000;flex:0 320px;display:flex;position:relative}.overview-search:focus-within{background:var(--surface-glass-strong);outline:1px solid var(--focus-ring-color);outline-offset:0}.overview-search>svg{fill:none;width:14px;height:14px;stroke:var(--ink-soft);stroke-linecap:round;stroke-width:1.8px;flex:none}.overview-search input{width:100%;min-width:0;height:100%;color:var(--ink);font:inherit;background:0 0;border:0;outline:0}.overview-search input::placeholder{color:var(--ink-soft)}.overview-search kbd{border:1px solid var(--line);border-radius:var(--radius-button-pill);height:20px;padding:0 var(--space-2);color:var(--ink-soft);background:var(--paper);font:10px var(--font-family-mono);flex:none;align-items:center;display:inline-flex}.overview-search-results{z-index:30;top:calc(100% + var(--space-2));border:1px solid var(--line);border-radius:var(--radius-panel);max-height:min(60vh,520px);padding:var(--space-2);background:var(--surface-glass-strong);box-shadow:var(--shadow-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);position:absolute;left:0;right:0;overflow:auto}.overview-search-message,.overview-search-footnote{padding:var(--space-3);color:var(--ink-soft);font-size:var(--font-size-caption);margin:0}.overview-search-result{align-items:center;gap:var(--space-3);border-radius:var(--radius-control);width:100%;min-height:52px;padding:var(--space-2) var(--space-3);color:var(--ink);cursor:pointer;text-align:left;background:0 0;border:0;display:flex}.overview-search-result:hover,.overview-search-result[aria-selected=true]{background:var(--surface-subtle)}.overview-search-result:focus-visible{outline:2px solid var(--focus-ring-color);outline-offset:-2px}.overview-search-kind{width:30px;height:30px;color:var(--credential-text);background:var(--credential-surface);font-weight:var(--font-weight-semibold);border-radius:50%;flex:none;place-items:center;display:grid}.overview-search-kind-客户{color:var(--role-sales-text);background:var(--role-sales-bg)}.overview-search-kind-房源{color:var(--inventory-unsold-text);background:var(--inventory-unsold-surface)}.overview-search-kind-操作记录{color:var(--role-manager-text);background:var(--role-manager-bg)}.overview-search-result-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.overview-search-result-copy strong,.overview-search-result-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overview-search-result-copy strong{font-size:var(--font-size-body);font-weight:var(--font-weight-medium)}.overview-search-result-copy small,.overview-search-result-type{color:var(--ink-soft);font-size:var(--font-size-caption)}.overview-search-result-type{flex:none}.overview-search-footnote{border-top:1px solid var(--line)}.overview-welcome{justify-content:space-between;align-items:center;gap:var(--space-6);padding:var(--space-2) 0;display:flex}.overview-welcome h2{color:var(--ink);font-size:var(--font-size-welcome-title);font-weight:var(--font-weight-bold);letter-spacing:-.025em;margin:0;line-height:1.333}.overview-welcome p{margin:var(--space-1) 0 0;color:var(--ink-soft);font-size:var(--font-size-caption)}.overview-insights{gap:var(--space-4);display:grid}.overview-insights-message{border:1px solid var(--line);border-radius:var(--radius-control);padding:var(--space-3) var(--space-4);color:var(--ink-soft);background:var(--surface-glass);font-size:var(--font-size-caption);margin:0;line-height:1.6}.overview-metric-grid{gap:var(--space-4);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.overview-metric-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-metric-card{justify-content:flex-end;align-items:flex-start;gap:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-panel);min-height:150px;padding:var(--space-5);background:var(--surface-glass-strong);box-shadow:var(--shadow-surface);flex-direction:column;display:flex;position:relative}.overview-metric-icon{top:var(--space-4);right:var(--space-4);width:36px;height:36px;color:var(--action-primary);background:var(--surface-subtle);font-weight:var(--font-weight-semibold);border-radius:50%;place-items:center;display:grid;position:absolute}.overview-metric-label,.overview-metric-note{color:var(--ink-soft);font-size:var(--font-size-caption)}.overview-metric-card>strong{color:var(--ink);font-size:var(--font-size-stat);font-weight:var(--font-weight-bold);line-height:1}.overview-inventory-chart{gap:var(--space-4);display:grid}.overview-inventory-chart-heading{margin:0}.overview-inventory-chart-heading h3{font-size:var(--font-size-section);margin:0}.overview-inventory-chart-heading p{margin:var(--space-1) 0 0;color:var(--ink-soft);font-size:var(--font-size-caption)}.overview-chart-bar{border-radius:var(--radius-button-pill);background:var(--surface-control);height:16px;display:flex;overflow:hidden}.overview-chart-segment-available{background:var(--inventory-unsold-text)}.overview-chart-segment-sold{background:var(--gold)}.overview-chart-segment-subscribed{background:var(--inventory-held-text)}.overview-chart-segment-withdrawn{background:var(--ink-soft)}.overview-chart-legend{gap:var(--space-3) var(--space-6);flex-wrap:wrap;display:flex}.overview-chart-legend>span{align-items:center;gap:var(--space-2);color:var(--ink-soft);font-size:var(--font-size-caption);display:inline-flex}.overview-chart-legend strong{color:var(--ink);font-weight:var(--font-weight-semibold)}.overview-chart-dot{border-radius:50%;width:9px;height:9px}.overview-chart-dot-available{background:var(--inventory-unsold-text)}.overview-chart-dot-sold{background:var(--gold)}.overview-chart-dot-subscribed{background:var(--inventory-held-text)}.overview-chart-dot-withdrawn{background:var(--ink-soft)}.overview-workbench{gap:var(--space-4);display:grid}.overview-section-heading{justify-content:space-between;align-items:center;gap:var(--space-4);display:flex}.overview-section-heading h2{font-size:var(--font-size-section);margin:0}.overview-section-heading p{margin:var(--space-1) 0 0;color:var(--ink-soft);font-size:var(--font-size-caption)}.overview-section-heading>span{color:var(--ink-soft);font-size:var(--font-size-caption)}.overview-workbench-grid{gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));display:grid}.overview-workbench-card{align-items:start;gap:var(--space-4);border:1px solid var(--line);border-radius:var(--radius-panel);min-height:142px;padding:var(--panel-padding);color:inherit;background:var(--surface-glass-strong);box-shadow:var(--shadow-surface);cursor:pointer;text-align:left;grid-template-columns:auto minmax(0,1fr) auto;transition:border-color .16s,transform .16s,box-shadow .16s;display:grid}.overview-workbench-card:hover{border-color:var(--control-hover-border);box-shadow:var(--shadow-surface);transform:translateY(-2px)}.overview-workbench-card:focus-visible{outline:2px solid var(--focus-ring-color);outline-offset:2px}.overview-card-icon{border-radius:var(--radius-control);width:42px;height:42px;color:var(--action-primary);background:var(--surface-subtle);place-items:center;display:grid}.overview-card-icon .nav-symbol{opacity:1;width:21px;height:21px}.overview-card-copy{gap:var(--space-2);flex-direction:column;min-width:0;display:flex}.overview-card-copy small{color:var(--ink-soft);font-size:var(--font-size-caption)}.overview-card-copy strong{color:var(--ink);font-size:var(--font-size-section);font-weight:var(--font-weight-semibold)}.overview-card-copy>span{color:var(--ink-soft);font-size:var(--font-size-body);line-height:var(--line-height-body)}.overview-card-arrow{color:var(--ink-soft);font-size:var(--font-size-body-reading)}.audit-page-actions{align-items:center;gap:var(--space-3);min-width:0;display:flex}.audit-search-field input{width:min(32vw,360px);min-width:220px;min-height:var(--control-height);border:1px solid var(--line-strong);border-radius:var(--radius-control);padding:0 var(--space-3);color:var(--ink);background:var(--surface-input);font:inherit}.audit-search-field input:focus-visible{border-color:var(--focus-ring-color);outline:2px solid var(--focus-ring-color);outline-offset:1px}.count-pill{border:1px solid var(--line);border-radius:var(--radius-button-pill);padding:var(--space-2) var(--space-3);color:var(--count-text);background:var(--surface-glass-strong);font-size:var(--font-size-caption)}.surface-panel{border:1px solid var(--line);border-radius:var(--radius-panel);padding:var(--panel-padding);background:var(--surface-glass);box-shadow:var(--shadow-surface)}.panel-heading{justify-content:space-between;align-items:flex-start;gap:var(--space-4);margin-bottom:var(--space-4);display:flex}.panel-heading h2,.panel-heading h3{color:var(--ink);font-size:var(--font-size-section);font-weight:var(--font-weight-semibold);margin:0}.panel-heading p,.panel-intro{margin:var(--space-2) 0 0;color:var(--ink-faint);font-size:var(--font-size-caption);line-height:1.6}.employee-create-result{gap:var(--space-4);display:grid}.employee-create-result>.button{justify-self:end}.employee-page{gap:var(--space-6)}.employee-page-heading,.employee-heading-actions,.employee-panel-heading,.employee-toolbar,.employee-filter-controls,.employee-status-tabs,.employee-pagination,.employee-pagination-controls,.employee-role-card-heading,.employee-person,.employee-owner-row,.employee-appoint-form,.employee-password-action,.employee-drawer-footer{align-items:center;display:flex}.employee-page-heading,.employee-panel-heading,.employee-toolbar,.employee-pagination,.employee-password-action{justify-content:space-between;gap:var(--space-4)}.employee-page-heading h2,.employee-panel-heading h3,.employee-dialog-heading h3,.employee-drawer-heading h3{color:var(--ink);margin:0}.employee-panel-description{margin:var(--space-2) 0 0;color:var(--ink-soft);font-size:var(--font-size-caption);line-height:1.6}.employee-heading-actions{gap:var(--space-2);flex:none}.employee-stat-grid{gap:var(--space-3);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.employee-stat-card{justify-content:space-between;align-items:center;gap:var(--space-3);border:1px solid var(--line);border-radius:var(--radius-panel);min-height:78px;padding:var(--space-4);background:var(--surface-glass-strong);display:flex}.employee-stat-card span{color:var(--ink-soft);font-size:var(--font-size-caption)}.employee-stat-card strong{color:var(--brand-primary-deep);font-size:var(--font-size-stat);line-height:1}.employee-stat-disabled strong{color:var(--ink-faint)}.employee-stat-roles strong{color:var(--role-sales-text)}.employee-directory-panel,.employee-owner-panel,.employee-roles-panel{min-width:0}.employee-toolbar{margin-bottom:var(--space-4);flex-wrap:wrap}.employee-status-tabs{gap:var(--space-1);border:0;flex-wrap:wrap;min-width:0;margin:0;padding:0}.employee-status-tabs button,.employee-pagination-controls>button{min-height:var(--control-height-compact);border:1px solid var(--line);border-radius:var(--radius-button);padding:0 var(--space-3);color:var(--ink-soft);background:var(--surface-glass-strong);cursor:pointer;font-size:var(--font-size-control)}.employee-status-tabs button.is-selected,.employee-pagination-controls>button:hover:not(:disabled){border-color:var(--action-primary);color:var(--white);background:var(--action-primary)}.employee-status-tabs button:disabled,.employee-pagination-controls>button:disabled{cursor:not-allowed;opacity:.5}.employee-filter-controls{justify-content:flex-end;gap:var(--space-2);flex-wrap:wrap;min-width:0}.employee-filter select,.employee-search input,.employee-pagination-controls select{height:var(--control-height-compact);border:1px solid var(--line-strong);border-radius:var(--radius-control);padding:0 var(--space-3);color:var(--ink);background:var(--surface-glass-strong);font-size:var(--font-size-control)}.employee-search{align-items:center;display:flex;position:relative}.employee-search>span{color:var(--ink-faint);font-size:var(--font-size-dialog-title);line-height:1;position:absolute;left:11px}.employee-search input{width:min(250px,28vw);padding-left:34px}.employee-table-scroll{width:100%;overflow-x:auto}.employee-table{min-width:820px}.employee-table th,.employee-table td{padding-right:var(--space-3);padding-left:var(--space-3)}.employee-table th{background:var(--surface-subtle);white-space:nowrap}.employee-person{min-width:150px;min-height:var(--control-height-touch);gap:var(--space-2);text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.employee-person:disabled{cursor:default}.employee-avatar{border:1px solid var(--line);width:34px;height:34px;color:var(--brand-primary-deep);background:var(--mint-pale);font-size:var(--font-size-caption);font-weight:var(--font-weight-semibold);border-radius:50%;flex:none;place-items:center;display:inline-grid}.employee-avatar-large{width:54px;height:54px;font-size:var(--font-size-dialog-title)}.employee-person-copy{gap:var(--space-1);display:grid}.employee-person-copy strong,.employee-owner-copy strong{color:var(--ink);font-size:var(--font-size-body)}.employee-person-copy small{color:var(--ink-faint);font-size:var(--font-size-caption)}.employee-role-badge,.employee-status-badge,.employee-count-pill{border-radius:var(--radius-button-pill);padding:var(--space-1) var(--space-2);font-size:var(--font-size-caption);font-weight:var(--font-weight-semibold);white-space:nowrap;align-items:center;display:inline-flex}.employee-role-system-owner{color:var(--role-system-owner-text);background:var(--role-system-owner-bg)}.employee-role-admin{color:var(--role-admin-text);background:var(--role-admin-bg)}.employee-role-manager{color:var(--role-manager-text);background:var(--role-manager-bg)}.employee-role-secretary{color:var(--role-secretary-text);background:var(--role-secretary-bg)}.employee-role-sales{color:var(--role-sales-text);background:var(--role-sales-bg)}.employee-role-viewer,.employee-role-business{color:var(--role-viewer-text);background:var(--role-viewer-bg)}.employee-status-active{color:var(--success);background:var(--role-system-owner-bg)}.employee-status-disabled{color:var(--status-disabled-text);background:var(--status-disabled-bg)}.employee-login-time{white-space:nowrap;color:var(--ink-soft)}.employee-actions-trigger{width:var(--control-size-icon);height:var(--control-size-icon);border-radius:var(--radius-control);color:var(--ink-soft);cursor:pointer;font-weight:var(--font-weight-semibold);background:0 0;border:1px solid #0000;place-items:center;padding:0;display:grid}.employee-actions-trigger:hover,.employee-actions-trigger[aria-expanded=true]{border-color:var(--line);background:var(--surface-subtle)}.employee-actions-menu{z-index:60;gap:var(--space-1);border:1px solid var(--line);border-radius:var(--radius-control);min-width:150px;padding:var(--space-1);background:var(--surface-glass-strong);box-shadow:var(--shadow-card);display:grid;position:fixed}.employee-actions-menu button{border-radius:var(--radius-control);padding:var(--space-2) var(--space-3);color:var(--ink);text-align:left;cursor:pointer;font-size:var(--font-size-control);min-height:var(--control-height-compact);background:0 0;border:0}.employee-actions-menu button:hover{background:var(--mint-pale)}.employee-pagination{margin-top:var(--space-3);color:var(--ink-soft);font-size:var(--font-size-caption);flex-wrap:wrap}.employee-pagination-controls{gap:var(--space-2)}.employee-pagination-controls select{padding-right:var(--space-2)}.employee-state{align-content:center;justify-items:center;gap:var(--space-2);min-height:150px;color:var(--ink-soft);text-align:center;font-size:var(--font-size-caption);display:grid}.employee-state strong{color:var(--ink);font-size:var(--font-size-body)}.employee-state-error,.employee-state-denied{color:var(--danger)}.employee-alert-error{border-color:var(--danger-border);color:var(--danger);background:var(--danger-surface)}.employee-panel-heading{margin-bottom:var(--space-4);justify-content:space-between}.employee-panel-heading h3{font-size:var(--font-size-section)}.employee-count-pill{border:1px solid var(--line);color:var(--ink-soft);background:var(--surface-subtle)}.employee-owner-list{gap:var(--space-2);display:grid}.employee-owner-row{gap:var(--space-3);border-top:1px solid var(--line);min-width:0;padding-top:var(--space-3)}.employee-owner-copy{gap:var(--space-1);flex:1;min-width:0;display:grid}.employee-owner-copy span,.employee-help-text,.employee-password-action span,.employee-project-scope span{color:var(--ink-soft);font-size:var(--font-size-caption);line-height:1.5}.employee-appoint-form{align-items:end;gap:var(--space-3);margin-top:var(--space-4)}.employee-appoint-form .employee-filter{flex:1}.employee-role-grid{gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(300px,1fr));display:grid}.employee-role-card{border:1px solid var(--line);border-radius:var(--radius-control);min-width:0;padding:var(--space-3);background:var(--surface-quiet)}.employee-role-card-heading{justify-content:space-between;gap:var(--space-1)}.employee-role-card-heading>span:last-child{color:var(--ink-faint);font-size:var(--font-size-caption);white-space:nowrap}.employee-role-card p{margin:var(--space-2) 0 0;color:var(--ink-soft);font-size:var(--font-size-body);line-height:1.5}.employee-dialog{border:1px solid var(--line-strong);max-width:none;color:var(--ink);background:var(--surface-glass-strong)}.employee-create-dialog{border-radius:var(--radius-panel);width:min(620px,100% - 32px);max-height:calc(100dvh - 40px);padding:var(--space-6);margin:auto;overflow-y:auto}.role-dialog{border-radius:var(--radius-panel);width:min(760px,100% - 32px);max-height:calc(100dvh - 40px);padding:var(--space-6);margin:auto;overflow-y:auto}.employee-reset-dialog{border-radius:var(--radius-panel);width:min(440px,100% - 32px);max-height:calc(100dvh - 40px);padding:var(--space-6);margin:auto;overflow-y:auto}.employee-reset-footer{margin-top:var(--space-5)}.employee-reset-unavailable{color:var(--ink-soft);font-size:var(--font-size-caption);margin:0;line-height:1.55}.employee-dialog-heading,.employee-drawer-heading{justify-content:space-between;gap:var(--space-4);margin-bottom:var(--space-5);align-items:flex-start;display:flex}.employee-dialog-heading h3,.employee-drawer-heading h3{font-size:var(--font-size-dialog-title)}.employee-dialog-description{max-width:440px;margin:var(--space-2) 0 0;color:var(--ink-soft);font-size:var(--font-size-caption);line-height:1.55}.employee-create-form{gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.employee-create-error,.employee-dialog-footer{grid-column:1/-1}.employee-dialog-footer,.employee-drawer-footer{justify-content:flex-end;gap:var(--space-2);display:flex}.employee-edit-drawer{border-width:0 0 0 1px;border-radius:0;width:min(520px,100%);height:100dvh;max-height:none;margin:0 0 0 auto;padding:0;position:fixed;inset:0 0 0 auto;overflow:hidden}.employee-drawer-form{flex-direction:column;height:100%;display:flex}.employee-drawer-heading{border-bottom:1px solid var(--line);padding:var(--space-5) var(--space-6);flex:none;margin:0}.employee-drawer-body{align-content:start;gap:var(--space-5);padding:var(--space-5) var(--space-6);flex:auto;display:grid;overflow-y:auto}.employee-drawer-person{align-items:center;gap:var(--space-3);display:flex}.employee-drawer-person>div{justify-items:start;gap:var(--space-2);display:grid}.employee-drawer-person strong{color:var(--ink);font-size:var(--font-size-body)}.employee-form-section{gap:var(--space-3);display:grid}.employee-form-section h4{border-left:1px solid var(--brand-primary-deep);padding-left:var(--space-2);color:var(--ink);font-size:var(--font-size-body);margin:0}.employee-permission-list{gap:var(--space-2);display:grid}.employee-permission-row{align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-3);border:1px solid var(--line);border-radius:var(--radius-control);grid-template-columns:auto minmax(0,1fr) auto;display:grid}.employee-permission-row small{color:var(--ink-soft);font-size:var(--font-size-caption)}.employee-form-section .field{gap:var(--space-1)}.employee-help-text{margin:-6px 0 0}.employee-password-action,.employee-project-scope{border:1px solid var(--line);border-radius:var(--radius-control);padding:var(--space-3);background:var(--surface-quiet)}.employee-password-action>div,.employee-project-scope{gap:var(--space-1);display:grid}.employee-password-action strong,.employee-project-scope strong{color:var(--ink);font-size:var(--font-size-caption)}.employee-drawer-footer{border-top:1px solid var(--line);padding:var(--space-4) var(--space-6);background:var(--surface-glass-strong);flex:none}.create-button{min-height:var(--control-height);white-space:nowrap}.credential-notice{gap:var(--space-2);margin-top:var(--space-5);border:1px solid var(--credential-border);border-radius:var(--radius-control);padding:var(--space-4);color:var(--credential-text);background:var(--credential-surface);font-size:var(--font-size-caption);flex-direction:column;line-height:1.65;display:flex}.credential-notice strong{color:var(--credential-title);font-size:var(--font-size-dense)}.credential-notice p{color:var(--credential-caption);font-size:var(--font-size-caption);margin:0}.credential-field{margin-top:var(--space-1)}.credential-field input{border-color:var(--credential-input-border);font-family:var(--font-family-mono);background:#fff}.token-dialog{border:1px solid var(--line-strong);border-radius:var(--radius-panel);width:min(560px,100% - 32px);max-width:none;max-height:calc(100dvh - 40px);padding:var(--space-6);color:var(--ink);background:var(--surface-glass-strong);margin:auto;overflow-y:auto}.token-dialog-heading{justify-content:space-between;align-items:flex-start;gap:var(--space-4);margin-bottom:var(--space-5);display:flex}.token-dialog-heading h3{color:var(--ink);font-size:var(--font-size-dialog-title);margin:0}.token-dialog-heading p:not(.eyebrow){margin:var(--space-2) 0 0;color:var(--ink-soft);font-size:var(--font-size-caption);line-height:1.55}.token-dialog-form,.token-issued-content{gap:var(--space-4);display:grid}.token-dialog-form .form-error,.token-issued-content .form-error{margin:0}.token-secret-value{resize:vertical;border:1px solid var(--credential-input-border);border-radius:var(--radius-control);width:100%;min-height:88px;padding:var(--space-3);color:var(--credential-title);font-family:var(--font-family-mono);font-size:var(--font-size-caption);overflow-wrap:anywhere;background:#fff;line-height:1.55}.token-dialog-actions{justify-content:flex-end;gap:var(--space-3);flex-wrap:wrap;display:flex}.token-dialog-finish{justify-self:end}.token-list-intro{max-width:760px}.token-setup-heading,.property-list-heading{align-items:center}.property-list-heading>.button{white-space:nowrap;flex-shrink:0}.property-list-content{gap:var(--space-6);padding-block:var(--space-6);min-width:0;display:grid}.property-list-filters{border:1px solid var(--line);border-radius:var(--radius-panel);padding:var(--space-3) var(--space-4);align-items:center;gap:var(--space-3);background:var(--surface-glass-strong);min-width:0;box-shadow:var(--shadow-surface);flex-wrap:wrap;margin:0;display:flex}.property-list-filter-heading{align-items:center;gap:var(--space-2);color:var(--ink-soft);font-size:var(--font-size-control);font-weight:var(--font-weight-semibold);flex:none;display:inline-flex}.property-list-filter-heading svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:18px;height:18px}.property-list-filters label{gap:var(--space-2);min-width:0;font-size:var(--font-size-control);flex:10em;display:grid}.property-list-filters input,.property-list-filters select,.property-list-pagination select{width:100%;min-width:0;height:var(--control-height);border:1px solid var(--line-strong);border-radius:var(--radius-control);padding-inline:var(--space-3);color:var(--ink);background:var(--surface-glass-strong);font-size:var(--font-size-control)}.property-list-filters label:first-of-type{flex-grow:2}.property-list-filters input,.property-list-filters select{border-color:var(--line-strong);border-radius:var(--radius-control);background:var(--surface-input)}.property-list-totals{gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(min(100%,15em),1fr));margin:0;display:grid}.property-list-totals>div{border:1px solid var(--line);border-radius:var(--radius-panel);padding:var(--space-4);background:var(--surface-subtle)}.property-list-totals dt{color:var(--ink-soft);font-size:var(--font-size-control)}.property-list-totals dd{margin:var(--space-2) 0 0;font-size:var(--font-size-section);font-weight:var(--font-weight-semibold);overflow-wrap:anywhere}.property-list-table-scroll{border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--surface-glass-strong);min-width:0;overflow-x:auto}.property-list-table{border-collapse:collapse;text-align:left;width:100%;font-size:var(--font-size-body)}.property-list-table caption{padding:var(--space-4);text-align:left;font-weight:var(--font-weight-semibold)}.property-list-table th,.property-list-table td{padding:var(--space-3) var(--space-4);border-top:1px solid var(--line);white-space:nowrap}.property-list-table th{height:40px;color:var(--ink-soft);background:var(--surface-subtle);font-weight:var(--font-weight-medium);padding-block:0}.property-list-status{border-radius:var(--radius-button-pill);padding:var(--space-1) var(--space-2);color:var(--ink-soft);background:var(--surface-subtle);font-size:var(--font-size-caption);border:1px solid;align-items:center;display:inline-flex}.property-list-status-AVAILABLE{color:var(--inventory-unsold-text);background:var(--inventory-unsold-surface)}.property-list-status-SUBSCRIBED{color:var(--inventory-sold-text);background:var(--warning-surface)}.property-list-pagination{justify-content:flex-end;align-items:center;gap:var(--space-2);font-size:var(--font-size-control);flex-wrap:wrap;display:flex}.property-list-pagination select{width:auto}.agent-token-table-scroll{margin:0 -4px;overflow-x:auto}.agent-token-table{border-collapse:collapse;text-align:left;width:100%;min-width:760px}.agent-token-key-hint{color:var(--ink-soft);font-family:var(--font-family-mono);font-size:var(--font-size-caption);white-space:nowrap}.agent-token-operations{align-items:center;gap:var(--space-2);white-space:nowrap;display:flex}.agent-token-operations .icon-button{width:var(--control-size-icon);height:var(--control-size-icon)}.agent-token-operations svg{width:16px;height:16px}.table-scroll{margin:0 -4px;overflow-x:auto}.data-table{border-collapse:collapse;text-align:left;width:100%}.data-table th,.agent-token-table th{border-bottom:1px solid var(--line);height:40px;padding:0 var(--space-4);color:var(--ink-soft);background:var(--surface-table-head);font-size:var(--font-size-dense);font-weight:var(--font-weight-medium)}.data-table td,.agent-token-table td{border-bottom:1px solid var(--table-divider);padding:var(--space-3) var(--space-4);color:var(--ink);font-size:var(--font-size-body);vertical-align:middle}.data-table tbody tr:last-child td,.agent-token-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover>td,.agent-token-table tbody tr:hover>td{background:var(--surface-hover)}th.cell-number,td.cell-number{text-align:right;font-variant-numeric:tabular-nums}.text-button{padding:0 var(--space-2);color:var(--text-button-color);cursor:pointer;font-size:var(--font-size-control);font-weight:var(--font-weight-semibold);white-space:nowrap;min-height:var(--control-height-compact);justify-content:center;align-items:center;gap:var(--button-gap);border-radius:var(--radius-control);background:0 0;border:0;display:inline-flex}.text-button:hover:not(:disabled){color:var(--action-primary-hover);background:var(--surface-hover)}.danger-link{color:var(--danger)}.status-badge{border-radius:var(--radius-button-pill);padding:var(--space-2) var(--space-2);font-size:var(--font-size-caption);font-weight:var(--font-weight-semibold);white-space:nowrap;align-items:center;display:inline-flex}.status-active{color:var(--status-active-text);background:var(--status-active-surface)}.status-disabled{color:var(--status-muted-text);background:var(--status-muted-surface)}.status-neutral{color:var(--status-neutral-text);background:var(--table-divider)}.empty-state{border:1px dashed var(--line-strong);border-radius:var(--radius-control);padding:var(--space-5) var(--space-4);color:var(--ink-soft);background:var(--surface-subtle);font-size:var(--font-size-body);margin:0;line-height:1.65}td.empty-state{background:0 0;border:0;border-radius:0}.project-summary{align-items:center;gap:var(--space-4);border-bottom:1px solid var(--line);padding-bottom:var(--space-5);display:flex}.project-avatar{border:1px solid var(--project-avatar-border);width:46px;height:46px;color:var(--project-avatar-text);background:var(--project-avatar-surface);font-family:var(--font-family-ui);font-size:var(--font-size-dialog-title);border-radius:12px;place-items:center;display:grid}.project-summary h3{color:var(--ink);font-size:var(--font-size-section);margin:0}.project-summary p{margin:var(--space-2) 0 0;color:var(--ink-faint);font-size:var(--font-size-caption)}.settings-form{max-width:400px;margin-top:var(--space-5)}.number-field{align-items:center;gap:var(--space-3);display:flex}.number-field input,.number-field select{max-width:150px}.number-field>span{color:var(--number-unit-text);font-size:var(--font-size-caption);font-weight:var(--font-weight-regular)}.align-start{align-self:flex-start}.token-list-actions{align-items:center;gap:var(--space-2);flex:none;display:flex}.token-title{align-items:center;gap:var(--space-3);color:var(--ink);font-size:var(--font-size-dense);font-weight:var(--font-weight-semibold);display:flex}.audit-page{padding-bottom:var(--space-5)}.audit-page-heading{align-items:center}.audit-filters{align-items:end;gap:var(--space-3);border:0;flex-wrap:wrap;min-width:0;margin:0;padding:0;display:flex}.audit-filters .field{flex:1;min-width:170px;margin:0}.audit-result-summary{margin:var(--space-4) 0 var(--space-3);color:var(--ink-faint);font-size:var(--font-size-caption)}.audit-table-scroll{border:1px solid var(--line);border-radius:var(--radius-control);width:100%;overflow-x:auto}.audit-table{border-collapse:collapse;width:100%;min-width:880px;color:var(--ink-soft);font-size:var(--font-size-body)}.audit-table :where(th,td){padding:var(--space-3);text-align:left;vertical-align:top;border-bottom:1px solid var(--table-divider)}.audit-table th{height:40px;color:var(--ink);background:var(--surface-subtle);font-weight:var(--font-weight-medium);vertical-align:middle;white-space:nowrap;padding-block:0}.audit-table :where(tr:last-child td){border-bottom:0}.audit-table time{white-space:nowrap}.audit-table strong{color:var(--ink);font-weight:var(--font-weight-semibold)}.audit-table td:last-child{min-width:290px;max-width:420px}.audit-pagination,.audit-page-buttons,.audit-page-size{align-items:center;gap:var(--space-3);display:flex}.audit-pagination{margin-top:var(--space-4);flex-wrap:wrap;justify-content:space-between}.audit-page-size{color:var(--ink-soft);font-size:var(--font-size-caption);flex-direction:row}.audit-page-size select{width:auto}.audit-change-list{padding:0 0 0 var(--space-5);color:var(--ink-soft);font-size:var(--font-size-body);overflow-wrap:anywhere;background:0 0;margin:0;line-height:1.6}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.inventory-page{flex:auto;gap:0;height:100%;min-height:0;position:relative}.inventory-heading{margin-bottom:var(--space-1);align-items:center}.inventory-import-panel{z-index:30;top:var(--space-3);left:var(--space-3);width:min(700px, calc(100% - var(--space-6)));max-height:calc(100% - var(--space-6));gap:var(--space-3);border-color:var(--line);background:var(--surface-glass-strong);box-shadow:var(--shadow-card);flex-direction:column;display:flex;position:absolute;overflow:auto}.inventory-import-panel .panel-heading{margin-bottom:0}.inventory-import-controls{align-items:center;gap:var(--space-3);display:flex}.inventory-file-picker{cursor:pointer;flex:none}.inventory-file-picker:focus-within .button{outline:3px solid var(--focus-ring-color);outline-offset:2px}.inventory-file-name{min-width:0;color:var(--ink-soft);font-size:var(--font-size-caption);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.inventory-preview-button{flex:none}.inventory-import-hint{color:var(--ink-soft);font-size:var(--font-size-caption);margin:0;line-height:1.65}.inventory-preview{gap:var(--space-3);border-top:1px solid var(--line);padding-top:var(--space-4);flex-direction:column;display:flex}.inventory-preview-summary{align-items:baseline;gap:var(--space-4);color:var(--ink-soft);font-size:var(--font-size-caption);flex-wrap:wrap;display:flex}.inventory-preview-summary strong{color:var(--ink);font-size:var(--font-size-body)}.inventory-error-count{color:var(--danger)}.inventory-issue-list{border:1px solid var(--line);border-radius:var(--radius-control);max-height:220px;padding:var(--space-3);color:var(--danger);background:var(--paper);font-size:var(--font-size-caption);line-height:1.6;overflow:auto}.inventory-issue-list p{margin:0 0 var(--space-1)}.inventory-issue-list p:last-of-type{margin-bottom:0}.inventory-issue-list span{margin-top:var(--space-2);color:var(--ink-soft);display:block}.inventory-commit-button{align-self:flex-start}.inventory-map-panel{background:var(--surface-glass-strong);border:0;border-radius:0;flex-direction:column;flex:1;gap:0;min-width:0;min-height:0;padding:0;display:flex;container:inventory-map/inline-size}.inventory-workbench{background:var(--surface-glass-strong);width:100%;min-width:0;height:100%;min-height:0;display:flex}.inventory-v2-toolbar{align-items:center;gap:var(--space-2);padding-inline:var(--page-gutter);background:var(--surface-glass-strong);display:flex}.inventory-v2-toolbar>.workspace-page-title-group{margin-right:var(--space-4)}.inventory-v2-toolbar h1,.inventory-building-control{flex:none}.inventory-building-control select{min-width:84px;min-height:var(--control-height);border:1px solid var(--line);border-radius:var(--radius-control);padding:0 var(--space-3);color:var(--ink);background:var(--surface-glass-strong);font-size:var(--font-size-control);font-weight:var(--font-weight-semibold)}.inventory-unit-switch{align-items:center;gap:var(--space-2);border:0;flex:none;min-width:0;margin:0;padding:0;display:flex}.inventory-unit-switch button,.inventory-export{min-height:var(--control-height);justify-content:center;align-items:center;gap:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-button);padding:0 var(--space-3);color:var(--ink);background:var(--surface-glass-strong);cursor:pointer;font-size:var(--font-size-control);white-space:nowrap;display:inline-flex}.inventory-unit-switch button[aria-pressed=true]{border-color:var(--action-primary);color:var(--white);background:var(--action-primary)}.inventory-hold-form input,.inventory-hold-form select{min-height:var(--control-height);border:1px solid var(--line-strong);border-radius:var(--radius-control);padding:0 var(--space-3);color:var(--ink);background:var(--surface-glass-strong)}.inventory-search{flex:1;min-width:180px;display:flex;position:relative}.inventory-search input{width:100%;min-height:var(--control-height-search);border-radius:var(--radius-button-pill);padding:0 var(--space-3) 0 40px;background:var(--surface-input);border:1px solid #0000;transition:background-color .18s}.inventory-search:focus-within input{background:var(--surface-glass-strong)}.inventory-search input:focus-visible{outline:1px solid var(--focus-ring-color);outline-offset:0;border-color:#0000}.inventory-search-icon{z-index:1;border:1.5px solid var(--ink-soft);border-radius:50%;width:14px;height:14px;position:absolute;top:50%;left:13px;transform:translateY(-50%)}.inventory-search-icon:after{background:var(--ink-soft);content:"";width:6px;height:1.5px;position:absolute;bottom:-3px;right:-5px;transform:rotate(45deg)}.inventory-export{border-color:var(--line);color:var(--brand-primary-deep);font-weight:var(--font-weight-semibold)}.inventory-import-toggle{min-height:var(--control-height);padding:0 var(--space-2);color:var(--brand-primary-deep);cursor:pointer;font-size:var(--font-size-control);white-space:nowrap;background:0 0;border:0}.inventory-overview{align-items:center;gap:var(--space-2);padding:var(--space-1) var(--space-6);grid-template-columns:minmax(0,720px) minmax(0,1fr);display:grid}.inventory-summary{gap:var(--space-1);grid-template-columns:repeat(5,minmax(0,1fr));width:min(100%,720px);display:grid}.inventory-summary-item{min-width:0;min-height:calc(var(--space-8) + var(--space-6));justify-content:center;align-items:center;gap:var(--space-1);border-radius:var(--radius-control);padding:var(--space-1) var(--space-4);background:var(--paper);text-align:center;border:1px solid #0000;flex-direction:column;display:flex}.inventory-summary-item strong{color:var(--ink);font-size:var(--font-size-stat);font-variant-numeric:tabular-nums;line-height:1}.inventory-summary-item span{color:var(--ink-soft);font-size:var(--font-size-caption);line-height:1.25}button.inventory-summary-item{cursor:pointer}button.inventory-summary-item:hover,.inventory-summary-item.is-active{border-color:var(--line-strong);background:var(--surface-quiet)}button.inventory-summary-item:focus-visible{outline:2px solid var(--brand-primary-deep);outline-offset:2px}.inventory-overview-side{justify-content:center;align-items:flex-start;gap:var(--space-2);flex-flow:wrap;min-width:0;min-height:0;display:flex}.inventory-legend{justify-content:flex-end;gap:var(--space-4);border:1px solid var(--line);border-radius:var(--radius-control);padding:var(--space-2) var(--space-3);background:var(--paper);flex-wrap:wrap;display:flex}.inventory-legend>span{align-items:center;gap:var(--space-1);color:var(--ink-soft);font-size:var(--font-size-caption);white-space:nowrap;display:inline-flex}.inventory-legend-dot{background:var(--line-strong);border-radius:50%;flex:none;width:9px;height:9px}.inventory-legend-dot.status-unsold{background:var(--inventory-unsold-text)}.inventory-legend-dot.status-sales-control{background:var(--inventory-held-text)}.inventory-legend-dot.status-sold{background:var(--inventory-sold-border)}.inventory-access-note{color:var(--ink-faint);font-size:var(--font-size-caption);text-align:right;margin:0}.inventory-matrix-scroll{min-height:0;margin:0 var(--space-4) var(--space-3);background:var(--surface-glass-strong);flex:1;overflow:auto}.inventory-building-content{background:var(--surface-glass-strong);width:100%;min-width:0}.inventory-floor-matrix{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:calc(52px + var(--inventory-room-columns) * 8.5rem + var(--inventory-unit-gaps) * 16px)}.inventory-floor-matrix thead{z-index:8;position:sticky;top:0}.inventory-floor-track{width:52px}.inventory-room-track{width:calc((100% - 52px - var(--inventory-unit-gaps) * 16px) / var(--inventory-room-columns))}.inventory-unit-gap-track{width:16px}.inventory-floor-corner,.inventory-unit-heading,.inventory-room-column,.inventory-floor-label,.inventory-floor-matrix tbody tr>td.inventory-unit-floor-cell{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.inventory-floor-corner{z-index:10;border-top:1px solid var(--line);border-left:1px solid var(--line);text-align:center;min-width:52px;color:var(--ink);background:var(--surface-glass-strong);font-size:var(--font-size-body);font-weight:var(--font-weight-semibold);position:sticky;top:0;left:0}.inventory-unit-heading{height:37px;padding:var(--space-2);color:var(--ink);background:var(--surface-glass-strong);font-size:var(--font-size-body-reading);text-align:center;white-space:nowrap;border-top:1px solid var(--line)}.inventory-unit-gap-cell{background:var(--surface-glass-strong);border:0;width:16px;min-width:16px;padding:0}.inventory-room-column{min-height:37px;padding:var(--space-2);background:var(--surface-glass-strong);color:var(--ink);font-size:var(--font-size-body);font-weight:var(--font-weight-semibold);text-align:center}.inventory-floor-label{z-index:5;border-left:1px solid var(--line);min-width:52px;padding:var(--space-2);color:var(--ink-soft);background:var(--surface-glass-strong);font-size:var(--font-size-body);font-weight:var(--font-weight-regular);text-align:center;white-space:nowrap;position:sticky;left:0}.inventory-unit-floor-cell{min-width:0;padding:var(--space-2);vertical-align:middle;border-left:1px solid #0000}.inventory-unit-start{border-left:1px solid var(--line)}.inventory-room{justify-content:center;gap:var(--space-1);border:1px solid var(--line);width:100%;min-width:0;min-height:64px;padding:6px var(--space-2);color:var(--ink);background:var(--paper);cursor:pointer;text-align:left;border-radius:7px;flex-direction:column;display:flex}.inventory-room:hover{border-color:var(--action-primary)}.inventory-room-heading,.inventory-room-meta{justify-content:space-between;align-items:center;gap:var(--space-1);min-width:0;display:flex}.inventory-room-heading strong{color:var(--ink);font-size:var(--font-size-body);font-weight:var(--font-weight-semibold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inventory-room-meta{color:var(--ink-soft);font-size:var(--font-size-caption);white-space:nowrap}.inventory-room-price{color:var(--ink);font-size:var(--font-size-caption);font-variant-numeric:tabular-nums;font-weight:var(--font-weight-semibold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inventory-room-empty{min-height:64px;display:block}.inventory-detail-dialog{width:min(680px, calc(100vw - var(--space-8)));max-width:none;max-height:calc(100dvh - var(--space-8));border:1px solid var(--line);border-radius:var(--radius-panel);padding:var(--space-3);color:var(--ink);background:var(--paper);box-shadow:var(--shadow-card);margin:auto;overflow-y:auto}.inventory-detail-dialog[open]{gap:var(--space-2);flex-direction:column;display:flex}.inventory-detail-card{border:1px solid var(--line);border-radius:var(--radius-control);min-width:0;padding:var(--space-3);background:var(--surface-glass-strong)}.inventory-detail-summary-card{gap:var(--space-2);flex-direction:column;display:flex}.inventory-detail-header{justify-content:space-between;align-items:flex-start;gap:var(--space-3);display:flex}.inventory-detail-eyebrow{margin-bottom:var(--space-1);color:var(--ink-soft);font-size:var(--font-size-caption);display:block}.inventory-detail-header h2{overflow-wrap:anywhere;color:var(--ink);font-size:var(--font-size-dialog-title);font-weight:var(--font-weight-semibold);margin:0}.inventory-close-button{color:var(--ink-soft);cursor:pointer;font-size:var(--font-size-page-context);width:var(--control-size-icon);height:var(--control-size-icon);border-radius:var(--radius-control);background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;line-height:1;display:inline-flex}.inventory-status-badge{align-self:flex-start;align-items:center;gap:var(--space-2);border-radius:var(--radius-control);padding:var(--space-1) var(--space-3);font-size:var(--font-size-caption);display:inline-flex}.inventory-status-badge:before{content:"";background:currentColor;border-radius:50%;width:8px;height:8px}.inventory-detail-keyfacts{gap:var(--space-2);grid-template-columns:1fr 1fr;padding:0;display:grid}.inventory-detail-keyfacts div{gap:var(--space-1);border:1px solid var(--line);border-radius:var(--radius-control);min-width:0;padding:var(--space-2);background:var(--paper);flex-direction:column;display:flex}.inventory-detail-keyfact-price{border-left:0}.inventory-detail-keyfacts span,.inventory-detail-details dt{color:var(--ink-soft);font-size:var(--font-size-caption)}.inventory-detail-keyfacts strong{color:var(--ink);font-size:var(--font-size-page-context);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inventory-detail-keyfacts small{color:var(--ink-soft);font-size:var(--font-size-caption);white-space:nowrap}.inventory-detail-keyfact-price strong{color:var(--success)}.inventory-floorplan{flex-direction:column;min-height:clamp(150px,20vh,210px);display:flex}.inventory-property-card{gap:var(--space-2);flex-direction:column;display:flex}.inventory-floorplan strong{color:var(--ink);font-size:var(--font-size-caption)}.inventory-floorplan p{color:var(--ink-faint);font-size:var(--font-size-caption);flex:1;place-items:center;margin:0;display:grid}.inventory-detail-section-title{border-left:1px solid var(--brand-primary-deep);padding-left:var(--space-2);color:var(--ink);font-size:var(--font-size-section);margin:0}.inventory-detail-details{gap:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.inventory-detail-details div{gap:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-control);min-width:0;padding:var(--space-2);background:var(--paper);flex-direction:column;display:flex}.inventory-detail-details .inventory-detail-wide{grid-column:1/-1}.inventory-detail-details dd{overflow-wrap:anywhere;color:var(--ink);font-size:var(--font-size-body);margin:0}.inventory-hold-form{gap:var(--space-2);flex-direction:column;display:flex}.inventory-hold-form label,.inventory-hold-form p,.inventory-detail-note{color:var(--ink-soft);font-size:var(--font-size-dense)}.inventory-detail-actions{align-items:center;gap:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-control);padding:var(--space-3);background:var(--surface-glass-strong);box-shadow:0 -4px 12px var(--detail-shadow-color);flex-wrap:wrap;margin-top:auto;display:flex;position:sticky;bottom:0}@media (width<=1420px){.inventory-overview{padding-right:var(--space-4);padding-left:var(--space-4)}.inventory-room-meta{font-size:var(--font-size-caption)}}@media (width<=1180px){.inventory-overview{gap:var(--space-2);grid-template-columns:minmax(0,1fr)}.inventory-summary{max-width:720px}}@media (width<=760px){.inventory-v2-toolbar{flex-wrap:wrap}.inventory-unit-switch{order:2}.inventory-search{flex-basis:100%;order:3}.inventory-overview{padding:var(--space-1) var(--space-3)}.inventory-summary{width:100%}.inventory-summary-item{padding:var(--space-1)}.inventory-matrix-scroll{margin:0 var(--space-2) var(--space-2)}.inventory-detail-dialog{width:calc(100vw - var(--space-4));max-height:calc(100dvh - var(--space-4))}.inventory-detail-details{grid-template-columns:minmax(0,1fr)}}@media (width<=1023px){.overview-page-title h1{font-size:var(--font-size-page-title-tablet)}.overview-welcome h2{font-size:var(--font-size-welcome-title)}}@media (width<=639px){.overview-page-title h1{font-size:var(--font-size-overview-title-mobile)}.overview-welcome h2{font-size:var(--font-size-welcome-title-mobile)}}.sales-control-page,.subscription-page{gap:var(--space-6);min-width:0}.subscription-heading h1{color:var(--ink);margin:0}.subscription-panel{min-width:0;padding:var(--panel-padding)}.subscription-panel .panel-heading{margin-bottom:var(--space-4);align-items:center}.subscription-panel .panel-heading h2{color:var(--ink);font-size:var(--font-size-section);font-weight:var(--font-weight-semibold);margin:0}.subscription-panel .panel-heading p{margin:var(--space-1) 0 0;color:var(--ink-soft);font-size:var(--font-size-caption);line-height:1.6}.subscription-form{align-items:start;gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;display:grid}.subscription-form>*{min-width:0}.subscription-field-wide{grid-column:1/-1}.subscription-file-field input[type=file]{height:auto;min-height:var(--control-height);padding:var(--space-3);font-size:var(--font-size-control)}.subscription-upload-action{min-height:var(--control-height);grid-column:1/-1;align-items:center;min-width:0;display:flex}.subscription-uploaded{color:var(--success);font-size:var(--font-size-caption);overflow-wrap:anywhere;line-height:1.5}.subscription-form-actions{justify-content:flex-end;gap:var(--space-3);grid-column:1/-1;display:flex}.subscription-dialog{width:min(600px,100% - 32px)}@media (width<=639px){.subscription-form{grid-template-columns:minmax(0,1fr)}.subscription-form-actions .button{flex:auto;justify-content:center}}.sales-unit-status.status-pending_review{color:var(--brand-primary-deep);background:var(--mint-pale)}.sales-unit-status.status-confirmed{color:var(--success);background:var(--mint-pale)}.sales-unit-status.status-rejected{color:var(--danger);background:var(--status-rejected-surface)}.subscription-details{gap:var(--space-3) var(--space-4);grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;margin:0;display:grid}.subscription-details>div{min-width:0}.subscription-details dt{color:var(--ink-faint);font-size:var(--font-size-caption)}.subscription-details dd{margin:var(--space-1) 0 0;color:var(--ink-soft);font-size:var(--font-size-caption);overflow-wrap:anywhere;line-height:1.5}.subscription-reason{color:var(--danger);font-size:var(--font-size-caption);overflow-wrap:anywhere;margin:0;line-height:1.6}.subscription-actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.subscription-actions a{text-decoration:none}.subscription-reject-field textarea{border:1px solid var(--line-strong);border-radius:var(--radius-control);width:100%;min-height:68px;padding:var(--space-3) var(--space-4);color:var(--ink);background:var(--surface-glass-strong);font-size:var(--font-size-control);resize:vertical;line-height:1.5}.sales-control-heading h1{color:var(--ink);margin:0}.sales-hold-dialog{width:min(600px,100% - 32px)}.sales-control-review-grid{align-items:start;gap:var(--space-6);grid-template-columns:repeat(auto-fit,minmax(320px,1fr));min-width:0;display:grid}.sales-control-panel{min-width:0;padding:var(--panel-padding)}.sales-control-panel .panel-heading{align-items:center;gap:var(--space-3);margin-bottom:var(--space-4)}.sales-control-panel .panel-heading h2{color:var(--ink);font-size:var(--font-size-section);font-weight:var(--font-weight-semibold);margin:0}.sales-control-panel .panel-heading p{margin:var(--space-1) 0 0;color:var(--ink-soft);font-size:var(--font-size-caption);line-height:1.6}.sales-hold-form{align-items:start;gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.sales-hold-customer-field{grid-column:1/-1}.sales-hold-form-actions{justify-content:flex-end;gap:var(--space-3);grid-column:1/-1;display:flex}@media (width<=639px){.sales-hold-form{grid-template-columns:minmax(0,1fr)}.sales-hold-form-actions .button{flex:auto;justify-content:center}}.sales-hold-form .field,.sales-reason-field{min-width:0}.sales-control-list{gap:var(--space-3);grid-template-columns:repeat(auto-fill,minmax(320px,1fr));min-width:0;display:grid}.unit-card{gap:var(--space-3);border:1px solid var(--line);border-radius:var(--radius-control);min-width:0;padding:var(--space-4);background:var(--surface-glass-strong);flex-direction:column;display:flex}.unit-card>*{min-width:0}.unit-card-head{justify-content:space-between;align-items:flex-start;gap:var(--space-2);min-width:0;display:flex}.unit-card-title{align-items:baseline;gap:var(--space-1);white-space:nowrap;min-width:0;margin:0;display:flex}.unit-card-title strong{color:var(--ink);font-size:var(--font-size-body);font-weight:var(--font-weight-bold);flex:none;line-height:1.4}.unit-card-location{min-width:0;color:var(--ink-soft);font-size:var(--font-size-caption);text-overflow:ellipsis;white-space:nowrap;flex:0 auto;line-height:1.4;overflow:hidden}.unit-card-specs{gap:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-button);padding:var(--space-2) var(--space-3);background:var(--surface-input);grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.unit-card-specs>div{min-width:0}.unit-card-specs dt{color:var(--ink-faint);font-size:var(--font-size-tiny);font-weight:var(--font-weight-medium);letter-spacing:.06em;line-height:1.4}.unit-card-specs dd{-webkit-line-clamp:2;color:var(--ink);font-size:var(--font-size-caption);font-weight:var(--font-weight-semibold);overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:2px 0 0;line-height:1.5;display:-webkit-box;overflow:hidden}.unit-card-meta{color:var(--ink-soft);font-size:var(--font-size-caption);overflow-wrap:anywhere;margin:0;line-height:1.6}.unit-card-foot{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-3);border-top:1px solid var(--line);min-width:0;padding-top:var(--space-3);flex-wrap:wrap;margin-top:auto;display:flex}.unit-card-price{gap:2px;display:grid}.unit-card-price-label{color:var(--ink-faint);font-size:var(--font-size-tiny);font-weight:var(--font-weight-semibold);letter-spacing:.06em;line-height:1.4}.unit-card-price>strong{color:var(--ink);font-size:var(--font-size-body);font-weight:var(--font-weight-bold);font-variant-numeric:tabular-nums;line-height:1.4}.unit-card-actions{justify-content:flex-end;align-items:center;gap:var(--space-2);flex-wrap:wrap;margin-left:auto;display:flex}.sales-reason-field textarea{resize:vertical;min-height:68px}.sales-unit-status{border-radius:var(--radius-button-pill);padding:var(--space-1) var(--space-2);color:var(--ink-soft);background:var(--paper);font-size:var(--font-size-caption);white-space:nowrap;flex:none;align-items:center;line-height:1.4;display:inline-flex}.sales-unit-status.status-pending{color:var(--brand-primary-deep);background:var(--mint-pale)}.sales-unit-status.status-approved,.sales-unit-status.status-available{color:var(--success);background:var(--mint-pale)}.sales-control-empty{color:var(--ink-soft);font-size:var(--font-size-body);margin:0;line-height:1.65}.sales-unlock-state{color:var(--ink-soft);font-size:var(--font-size-caption);margin:0;line-height:1.5}@media (width<=1040px){.sidebar{width:var(--sidebar-width);flex-basis:var(--sidebar-width)}.workspace-content{--workspace-content-gutter:var(--page-gutter)}.employee-role-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.token-setup-heading{flex-direction:column;align-items:stretch}.token-setup-heading>.create-button{width:100%}}@media (width<=760px){.workspace-page-content .reporting-heading>div:first-child{grid-template-columns:max-content minmax(0,1fr)}.workspace-page-content .reporting-heading .reporting-updated{grid-area:2/1/auto/-1;justify-self:end}.employee-page-heading,.employee-toolbar,.employee-panel-heading,.employee-pagination,.employee-owner-row{flex-direction:column;align-items:stretch}.employee-page-heading.workspace-page-topbar{flex-flow:wrap;align-items:center}.employee-heading-actions,.employee-filter-controls{justify-content:stretch;width:100%}.employee-heading-actions>.button,.employee-filter-controls>.button,.employee-filter,.employee-search input,.employee-filter select{width:100%}.employee-stat-grid{gap:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr))}.employee-stat-card{min-height:66px;padding:var(--space-3)}.employee-table{min-width:760px}.employee-pagination-controls{justify-content:space-between}.employee-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-appoint-form{flex-direction:column;align-items:stretch}.employee-appoint-form>.button{width:100%}.employee-create-dialog,.employee-reset-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:var(--space-4)}.employee-create-form{grid-template-columns:minmax(0,1fr)}.employee-create-error,.employee-dialog-footer{grid-column:auto}.employee-dialog-footer>.button,.employee-drawer-footer>.button{flex:1}.employee-edit-drawer{width:100%}.employee-drawer-heading,.employee-drawer-body,.employee-drawer-footer{padding-right:var(--space-4);padding-left:var(--space-4)}.employee-owner-row{align-items:flex-start}.auth-screen{min-height:100dvh;padding:28px var(--space-4) 16px}.auth-panel{flex:1 0 auto;width:min(100%,480px)}.auth-footer{margin-top:var(--space-3)}.auth-card{padding:30px var(--space-6) 26px}.auth-card h1{font-size:var(--font-size-auth-title-mobile)}.auth-description{font-size:var(--font-size-caption)}.form-stack{gap:var(--space-4)}.auth-submit{min-height:var(--control-height-large)}.session-check{min-height:100dvh}.workspace-shell{flex-direction:column}.sidebar{border-right:0;border-bottom:1px solid var(--sidebar-border);width:auto;height:auto;margin:var(--workspace-frame-inset) var(--workspace-frame-inset) 0;padding:var(--space-3) var(--space-4) var(--space-3);flex:none;position:relative}.workspace-brand{height:var(--control-height-touch);min-height:var(--control-height-touch);width:167px;padding:0 var(--space-1);align-self:flex-start}.workspace-project-logo{width:159px;height:47.6px;transform:translate(-48.5%,-50%)}.sidebar-spacer,.sidebar-account{display:none}.workspace-nav{gap:var(--space-2);margin-top:var(--space-3);padding-bottom:var(--space-1);scrollbar-width:none;flex-direction:row;overflow-x:auto}.workspace-nav::-webkit-scrollbar{display:none}.nav-item{min-height:var(--control-height-touch);gap:var(--space-2);border-radius:var(--radius-button-pill);padding:0 var(--space-3);font-size:var(--font-size-control);font-weight:var(--font-weight-medium);flex:none}.nav-item-active{box-shadow:inset 0 -2px var(--nav-active-indicator)}.nav-symbol{width:13px;height:13px}.workspace-main{width:auto;height:auto;min-height:0;margin:var(--workspace-frame-inset);flex:auto}.mobile-signout{top:var(--space-3);right:var(--space-4);min-height:var(--control-height-touch);padding:var(--space-2);color:var(--ink-soft);font-size:var(--font-size-control);background:0 0;border:0;align-items:center;display:inline-flex;position:absolute}.workspace-content{--workspace-content-gutter:var(--page-gutter);padding-top:var(--space-4);padding-bottom:var(--space-4)}.content-stack{gap:var(--space-4)}.welcome-date{font-size:var(--font-size-caption);padding:0}.overview-topbar{align-items:stretch;gap:var(--space-3);padding-top:var(--space-3);padding-bottom:var(--space-3);flex-direction:column}.overview-search{flex-basis:auto;width:100%;min-width:0}.overview-search-results{left:0;right:0}.overview-welcome{align-items:flex-start;gap:var(--space-2);flex-direction:column}.overview-welcome p{font-size:var(--font-size-caption)}.overview-metric-grid,.overview-metric-grid-compact{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr))}.overview-metric-card{min-height:126px;padding:var(--space-3)}.overview-metric-card>strong{font-size:var(--font-size-stat)}.overview-metric-icon{top:var(--space-3);right:var(--space-3);width:30px;height:30px}.overview-workbench-grid{grid-template-columns:minmax(0,1fr)}.overview-workbench-card{min-height:116px;padding:var(--space-4)}.overview-section-heading{align-items:flex-start}.overview-chart-legend{gap:var(--space-2) var(--space-4)}.audit-page-actions{width:100%}.audit-search-field{flex:auto}.audit-search-field input{width:100%;min-width:0}.surface-panel{border-radius:var(--radius-panel);padding:var(--panel-padding)}.panel-heading{margin-bottom:var(--space-4);flex-direction:column;align-items:stretch}.create-button{justify-self:start}.token-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:var(--space-4)}.token-dialog-actions{flex-direction:column-reverse}.token-dialog-actions>.button{width:100%}.table-scroll{margin:0;overflow:visible}.data-table,.data-table tbody,.data-table tr,.data-table td{width:100%;display:block}.data-table thead{display:none}.data-table tbody{gap:var(--space-3);flex-direction:column;display:flex}.data-table tr{gap:var(--space-3);border:1px solid var(--list-divider);border-radius:var(--radius-control);padding:var(--space-3);grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.data-table td{min-width:0;font-size:var(--font-size-body);overflow-wrap:anywhere;border:0;padding:0}.data-table td:before{color:var(--ink-faint);content:attr(data-label);font-size:var(--font-size-caption);margin-bottom:5px;display:block}.data-table td:first-child{grid-column:1/-1}.data-table td:nth-child(6){align-self:end}.status-badge{padding:var(--space-1) var(--space-2);font-size:var(--font-size-caption)}.token-title{gap:var(--space-2);flex-wrap:wrap}.agent-token-table-scroll{margin:0 calc(-1 * var(--page-gutter));padding:0 var(--page-gutter) var(--space-2)}.agent-token-table{min-width:760px}.audit-filters{align-items:stretch}.audit-filters .field{flex-basis:100%;min-width:0}.audit-table-scroll{max-width:100%}.settings-panel{padding:var(--panel-padding)}.settings-form{margin-top:var(--space-4)}.number-field input,.number-field select{max-width:130px}.inventory-heading{align-items:center;gap:var(--space-3);flex-flow:wrap}.inventory-import-controls{flex-wrap:wrap}.inventory-file-name{flex-basis:100%;order:3}.inventory-preview-button{flex:1}.sales-control-heading{align-items:flex-start;gap:var(--space-3);flex-flow:wrap}.page-heading-actions,.unit-card-actions{width:100%}.page-heading-actions .button,.unit-card-actions .button{flex:auto;justify-content:center}.sales-control-review-grid{grid-template-columns:minmax(0,1fr)}.sales-control-panel{padding:var(--panel-padding)}.subscription-heading{align-items:flex-start;gap:var(--space-3);flex-flow:wrap}.subscription-panel{padding:var(--panel-padding)}.subscription-details{grid-template-columns:repeat(2,minmax(0,1fr))}.subscription-actions>.button{flex:100%}}@media (width<=390px){.auth-screen{padding-left:18px;padding-right:18px}.auth-card{padding-right:var(--space-4);padding-left:var(--space-4)}.workspace-content{--workspace-content-gutter:var(--page-gutter)}.surface-panel{padding:var(--panel-padding)}.data-table tr{padding:var(--space-3)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto;transition-duration:.01ms;animation-duration:.01ms;animation-iteration-count:1}}.inventory-status-badge.status-unsold{color:var(--success);background:var(--mint-pale)}.inventory-status-badge.status-sales-control{color:var(--inventory-held-text);background:var(--inventory-held-surface)}.inventory-status-badge.status-sold{color:var(--inventory-sold-text);background:var(--inventory-sold-surface)}.inventory-room.status-unsold{border-color:var(--inventory-unsold-border);background:var(--inventory-unsold-surface)}.inventory-room.status-sales-control{border-color:var(--inventory-held-text);background:var(--inventory-held-surface)}.inventory-room.status-sold{border-color:var(--inventory-sold-border);background:var(--inventory-sold-surface)}.inventory-room.is-selected{border:2px solid var(--brand-primary-deep);padding:var(--space-1) 7px}.inventory-summary-item.unsold strong{color:var(--inventory-unsold-text)}.inventory-summary-item.sales-control strong{color:var(--inventory-held-text)}.inventory-summary-item.sold strong{color:var(--inventory-sold-text)}@container inventory-map (width<=1120px){.inventory-v2-toolbar{flex-wrap:wrap}.inventory-unit-switch{flex-wrap:wrap;flex-shrink:1}.inventory-overview{gap:var(--space-2);grid-template-columns:minmax(0,1fr)}.inventory-overview-side{align-items:flex-start}.inventory-legend{justify-content:flex-start}.inventory-access-note{align-self:flex-start}}@container inventory-map (width<=300px){.inventory-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px),(pointer:coarse){html:root{--control-height:var(--control-height-touch);--control-height-compact:var(--control-height-touch);--control-size-icon:var(--control-height-touch)}.employee-pagination-controls>button{min-width:var(--control-height-touch);justify-content:center}.toast-stack{top:var(--space-2);right:var(--space-4);left:var(--space-4);width:auto}.toast-stack.is-in-dialog{top:calc(var(--space-8) * 3);right:var(--space-4);left:var(--space-4)}}@media (width<=760px){html:root{--page-gutter:var(--space-4);--panel-padding:var(--space-4)}}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):focus-visible,select:focus-visible,textarea:focus-visible{border-color:var(--focus-ring-color);outline:none}.role-capability-options{gap:var(--space-2);max-height:240px;padding:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface-quiet);grid-template-columns:repeat(auto-fill,minmax(180px,1fr));display:grid;overflow-y:auto}.role-capability-option{align-items:center;gap:var(--space-1);min-width:0;color:var(--ink-soft);font-size:var(--font-size-body);display:flex}@media (width<=760px){.role-capability-options{grid-template-columns:minmax(0,1fr)}}.page-header{justify-content:space-between;align-items:flex-start;gap:var(--space-4);margin-bottom:var(--space-6);display:flex}@media (width<=760px){.page-header{flex-direction:column;align-items:stretch}}@media (width>=761px){.workspace-page-topbar{align-items:center}}@media (width<=1023px){.workspace-page-topbar h1,.workspace-page-topbar h2{font-size:var(--font-size-page-title-tablet)}}@media (width<=639px){.workspace-page-topbar h1,.workspace-page-topbar h2{font-size:var(--font-size-overview-title-mobile)}}.workspace-page-topbar,.section-heading.workspace-page-topbar,.employee-page-heading.workspace-page-topbar{gap:var(--space-4)}.content-stack>.page-header,.content-stack>.workspace-page-topbar{margin-bottom:0}
