*{box-sizing:border-box;margin:0;padding:0}:root{--brand-bg:#f7f5f2;--brand-surface:#fff;--brand-surface-elevated:#fdfcfb;--brand-border:#e8e2da;--brand-border-subtle:#f0ebe4;--brand-text:#1c1c1c;--brand-text-muted:#6b6560;--brand-text-faint:#9a948d;--brand-accent:#7d2e3e;--brand-accent-hover:#6a2735;--brand-accent-soft:#f5e8eb;--brand-accent-muted:#c9a0a8;--brand-gold:#b8956a;--brand-gold-soft:#f5f0e8;--shadow-sm:0 1px 2px #1c1c1c0a;--shadow-md:0 4px 16px #1c1c1c0f;--shadow-lg:0 8px 32px #1c1c1c14;--shadow-fab:0 6px 20px #7d2e3e47;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:24px;--radius-full:9999px;--font-display:var(--font-cormorant), "Cormorant Garamond", Georgia, serif;--font-body:var(--font-dm-sans), "DM Sans", system-ui, sans-serif;--header-height:60px;--nav-height:68px;--fab-clearance:5rem;--content-max-narrow:640px;--content-max-wide:1600px;--safe-bottom:env(safe-area-inset-bottom,0px)}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility;height:100%}body{height:100%;font-family:var(--font-body);background:var(--brand-bg);color:var(--brand-text);line-height:1.5;overflow:hidden}.radix-themes{height:100%}.brand-logo{font-family:var(--font-display);letter-spacing:.18em;text-transform:uppercase;color:var(--brand-text);font-size:1.375rem;font-weight:500;line-height:1}.brand-tagline{letter-spacing:.12em;text-transform:uppercase;color:var(--brand-text-faint);font-size:.6875rem;font-weight:500}.page-title{font-family:var(--font-display);letter-spacing:-.01em;color:var(--brand-text);font-size:clamp(1.75rem,4vw,2.125rem);font-weight:500;line-height:1.15}.page-subtitle{color:var(--brand-text-muted);margin-top:.25rem;font-size:.875rem}.section-label{letter-spacing:.1em;text-transform:uppercase;color:var(--brand-text-faint);font-size:.6875rem;font-weight:600}.app-shell{background:var(--brand-bg);flex-direction:column;height:100dvh;max-height:100dvh;display:flex;overflow:hidden}.app-header{z-index:30;height:var(--header-height);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--brand-border-subtle);background:#f7f5f2eb;flex-shrink:0;justify-content:space-between;align-items:center;padding:0 1.25rem;display:flex;position:relative}.app-content{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;min-height:0;padding:1.25rem;padding-bottom:calc(var(--nav-height) + var(--fab-clearance) + var(--safe-bottom) + 1rem);flex:1;width:100%;margin:0 auto;overflow:hidden auto}.app-content--scroll-hidden{scrollbar-width:none;-ms-overflow-style:none}.app-content--scroll-hidden::-webkit-scrollbar{width:0;height:0;display:none}.header-menu-btn{border:1px solid var(--brand-border-subtle);border-radius:var(--radius-md);background:var(--brand-surface);width:2.5rem;height:2.5rem;color:var(--brand-text);cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;display:none}.header-menu-btn:hover{background:var(--brand-surface-elevated)}.app-content--narrow{max-width:1140px}.app-content--wide{max-width:var(--content-max-wide)}.bottom-nav{z-index:40;height:calc(var(--nav-height) + var(--safe-bottom));padding-bottom:var(--safe-bottom);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--brand-border-subtle);background:#ffffffeb;justify-content:space-around;align-items:stretch;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 24px #1c1c1c0a}.bottom-nav__item{cursor:pointer;color:var(--brand-text-faint);font-family:var(--font-body);background:0 0;border:none;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.25rem;padding:.5rem;transition:color .2s;display:flex}.bottom-nav__item:hover{color:var(--brand-text-muted)}.bottom-nav__item--active{color:var(--brand-accent)}.bottom-nav__label{letter-spacing:.04em;font-size:.6875rem;font-weight:500}.bottom-nav__item--active .bottom-nav__label{font-weight:600}.bottom-nav__icon-wrap{border-radius:var(--radius-full);justify-content:center;align-items:center;width:2.5rem;height:2.5rem;transition:background .2s,color .2s,transform .15s;display:flex}.bottom-nav__icon-wrap--active{background:var(--brand-accent-soft);color:var(--brand-accent);transform:translateY(-1px)}.bottom-nav__item--active .bottom-nav__label{color:var(--brand-accent)}@media (min-width:768px){.header-menu-btn{display:flex}.bottom-nav{display:none!important}.app-content{padding-bottom:calc(var(--fab-clearance) + var(--safe-bottom) + 1.5rem)}.fab{bottom:calc(1.25rem + var(--safe-bottom))}}.nav-drawer-backdrop{z-index:200;cursor:pointer;background:#1c1c1c59;border:none;position:fixed;inset:0}.nav-drawer{z-index:210;background:var(--brand-surface);border-right:1px solid var(--brand-border-subtle);width:min(300px,88vw);height:100dvh;box-shadow:var(--shadow-lg);flex-direction:column;padding:1.25rem;display:flex;position:fixed;top:0;left:0}.nav-drawer__header{border-bottom:1px solid var(--brand-border-subtle);flex:none;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem;padding-bottom:1rem;display:flex}.nav-drawer__eyebrow{letter-spacing:.1em;text-transform:uppercase;color:var(--brand-text-faint);margin-bottom:.25rem;font-size:.6875rem;font-weight:600}.nav-drawer__user{font-family:var(--font-display);color:var(--brand-text);font-size:1.25rem}.nav-drawer__close{border-radius:var(--radius-sm);background:var(--brand-border-subtle);cursor:pointer;width:2rem;height:2rem;color:var(--brand-text-muted);border:none;justify-content:center;align-items:center;display:flex}.nav-drawer__links{overscroll-behavior:contain;scrollbar-color:var(--brand-border) transparent;scrollbar-width:thin;-webkit-overflow-scrolling:touch;flex-direction:column;flex:1;gap:.375rem;min-height:0;padding-bottom:1rem;padding-right:.25rem;display:flex;overflow-y:auto}.nav-drawer__link{border-radius:var(--radius-md);width:100%;font-size:.9375rem;font-family:var(--font-body);color:var(--brand-text-muted);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:.75rem;padding:.75rem 1rem;transition:background .15s,color .15s;display:flex}.nav-drawer__link:hover{background:var(--brand-border-subtle);color:var(--brand-text)}.nav-drawer__link--active{background:var(--brand-accent-soft);color:var(--brand-accent);font-weight:600}.nav-drawer__group{border-radius:var(--radius-md)}.nav-drawer__group-label{width:100%;color:var(--brand-text-muted);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:.75rem;padding:.75rem 1rem .5rem;font-size:.9375rem;font-weight:500;display:flex}.nav-drawer__group-label:hover{color:var(--brand-text)}.nav-drawer__group--active .nav-drawer__group-label{color:var(--brand-accent);font-weight:600}.nav-drawer__children{flex-direction:column;gap:.125rem;padding:0 0 .375rem 2.35rem;display:flex}.nav-drawer__child{border:0;border-left:1px solid var(--brand-border);width:100%;color:var(--brand-text-muted);font-family:var(--font-body);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:.625rem;padding:.625rem .75rem;font-size:.875rem;transition:color .15s,border-color .15s,background .15s;display:flex}.nav-drawer__child:hover{color:var(--brand-text);background:var(--brand-border-subtle)}.nav-drawer__child--active{border-left-color:var(--brand-accent);color:var(--brand-accent);background:var(--brand-accent-soft);font-weight:600}.nav-drawer__footer{border-top:1px solid var(--brand-border-subtle);flex:none;padding-top:1rem}.nav-drawer__logout{border:1px solid var(--brand-border);border-radius:var(--radius-md);width:100%;color:var(--brand-accent);font-size:.875rem;font-weight:500;font-family:var(--font-body);cursor:pointer;background:0 0;padding:.75rem}.nav-drawer__logout:hover{background:var(--brand-accent-soft)}.profile-photo-btn{background:var(--brand-accent);cursor:pointer;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex;position:absolute;bottom:0;right:0}.profile-action-menu{background:var(--brand-surface);border:1px solid var(--brand-border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin-top:1rem;overflow:hidden}.profile-action-menu__item{border:0;border-bottom:1px solid var(--brand-border-subtle);background:var(--brand-surface);width:100%;min-height:3.5rem;color:var(--brand-text);font-family:var(--font-body);text-align:left;cursor:pointer;align-items:center;gap:1rem;padding:.875rem 1rem;font-size:.9375rem;font-weight:500;text-decoration:none;transition:background .15s;display:flex}.profile-action-menu__item:last-child{border-bottom:0}.profile-action-menu__item:hover,.profile-action-menu__item:focus-visible{background:var(--brand-surface-elevated);outline:none}.profile-action-menu__icon{width:2rem;height:2rem;color:var(--brand-text-muted);flex-shrink:0;justify-content:center;align-items:center;display:flex}.profile-action-menu__chevron{color:var(--brand-text-faint);margin-left:auto}.profile-action-menu__item--danger,.profile-action-menu__item--danger .profile-action-menu__icon{color:#b42318}@media (min-width:768px){.profile-action-menu__item--mobile-only{display:none}}.customer-holding-card{background:var(--brand-surface);border:1px solid var(--brand-border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);overflow:hidden}.customer-holding-table{table-layout:fixed;border-collapse:collapse;width:100%}.customer-holding-table th,.customer-holding-table td{text-align:left;vertical-align:middle;border-bottom:1px solid var(--brand-border-subtle);padding:.875rem 1rem}.customer-holding-table th{color:var(--brand-text-faint);background:var(--brand-surface-elevated);letter-spacing:.06em;text-transform:uppercase;font-size:.6875rem;font-weight:600;line-height:1.35}.customer-holding-table th:first-child{width:46%}.customer-holding-table tbody tr:last-child td{border-bottom:0}.customer-holding-row{cursor:pointer}.customer-holding-row td{transition:background .15s}.customer-holding-row:hover td,.customer-holding-row:focus-within td{background:var(--brand-surface-elevated)}.customer-holding-row:focus-within td:first-child{box-shadow:inset 3px 0 0 var(--brand-accent)}.customer-holding-name{color:var(--brand-text);overflow-wrap:anywhere;font-size:.875rem;font-weight:600;line-height:1.35;display:block}.customer-holding-row:hover .customer-holding-name,.customer-holding-row:focus-within .customer-holding-name{color:var(--brand-accent)}.customer-holding-name:focus-visible{outline:2px solid var(--brand-accent);outline-offset:2px}.customer-holding-table small{color:var(--brand-text-muted);overflow-wrap:anywhere;margin-top:.2rem;font-size:.75rem;display:block}.customer-holding-empty{color:var(--brand-text-faint)}.customer-holding-state{text-align:center;background:var(--brand-surface);border:1px solid var(--brand-border-subtle);border-radius:var(--radius-lg);flex-direction:column;justify-content:center;align-items:center;gap:.75rem;min-height:12rem;padding:2rem;display:flex}@media (max-width:640px){.customer-holding-table th,.customer-holding-table td{padding:.75rem .625rem}.customer-holding-table th{letter-spacing:.035em;font-size:.625rem}.customer-holding-table th:first-child{width:42%}.customer-holding-table [data-accent-color]{white-space:normal;text-align:center}}.customer-card{padding:1rem 1.125rem}.customer-card__avatar{border-radius:var(--radius-full);background:var(--brand-accent-soft);width:3rem;height:3rem;color:var(--brand-accent);flex-shrink:0;justify-content:center;align-items:center;font-size:.875rem;font-weight:600;display:flex;overflow:hidden}.customer-card__avatar--lg{width:4.5rem;height:4.5rem;font-size:1.125rem}.customer-card__avatar img{object-fit:cover;width:100%;height:100%}.app-card{background:var(--brand-surface);border:1px solid var(--brand-border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);transition:box-shadow .2s,border-color .2s,transform .2s}.app-card--interactive{cursor:pointer}.app-card--interactive:hover{box-shadow:var(--shadow-md);border-color:var(--brand-border)}.app-card--interactive:active{transform:scale(.995)}.app-card--selected{border-color:var(--brand-accent);background:var(--brand-accent-soft);box-shadow:0 0 0 1px var(--brand-accent-muted)}.app-card--accent{background:var(--brand-gold-soft);border-color:#b8956a40}.dashboard{flex-direction:column;gap:1.25rem;padding-bottom:1rem;display:flex}.dashboard-hero{border-radius:var(--radius-xl);color:#fff;background:radial-gradient(circle at 88% 15%,#b8956a47,#0000 26%),linear-gradient(125deg,#221b1d 0%,#422a31 60%,#6d3442 100%);justify-content:space-between;align-items:flex-end;gap:1.5rem;min-height:150px;padding:1.75rem 2rem;display:flex;overflow:hidden;box-shadow:0 16px 36px #43262e24}.dashboard-eyebrow,.dashboard-section-label{letter-spacing:.12em;text-transform:uppercase;font-size:.66rem;font-weight:600}.dashboard-eyebrow{color:#ffffff94;margin-bottom:.55rem}.dashboard-hero h1{font-family:var(--font-display);font-size:clamp(2rem,4vw,2.7rem);font-weight:500;line-height:1}.dashboard-hero p:last-child{color:#ffffffb3;margin-top:.65rem;font-size:.875rem}.dashboard-primary-action{border-radius:var(--radius-md);color:#522936;background:#fff;flex-shrink:0;align-items:center;gap:.45rem;padding:.72rem 1rem;font-size:.8rem;font-weight:700;text-decoration:none;display:inline-flex;box-shadow:0 8px 20px #00000029}.sales-hourly-panel{border:1px solid var(--brand-border-subtle);border-radius:var(--radius-lg);background:radial-gradient(circle at 100% 0%, #7d2e3e12, transparent 25rem), var(--brand-surface);box-shadow:var(--shadow-sm);padding:1.25rem;overflow:hidden}.sales-hourly-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.sales-hourly-header h2{font-family:var(--font-display);font-size:1.55rem;font-weight:600;line-height:1.1}.sales-hourly-header>div:first-child>p:last-child{color:var(--brand-text-muted);margin-top:.3rem;font-size:.72rem}.sales-hourly-date-nav{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.sales-hourly-date-nav button,.sales-hourly-date-nav label{border:1px solid var(--brand-border);border-radius:var(--radius-sm);background:var(--brand-surface);min-height:2.25rem;color:var(--brand-text-muted);cursor:pointer;font:inherit;justify-content:center;align-items:center;gap:.4rem;padding:.45rem .7rem;font-size:.72rem;font-weight:600;display:inline-flex}.sales-hourly-date-nav button.is-active{border-color:var(--brand-accent-muted);background:var(--brand-accent-soft);color:var(--brand-accent)}.sales-hourly-date-nav label{color:var(--brand-text);position:relative}.sales-hourly-date-nav input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.sales-hourly-totals{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-top:1.15rem;display:grid}.sales-hourly-totals>div{border-left:3px solid var(--brand-accent-muted);background:var(--brand-surface-elevated);min-width:0;padding:.7rem .8rem}.sales-hourly-totals span,.sales-hourly-totals strong{display:block}.sales-hourly-totals span{color:var(--brand-text-muted);font-size:.66rem}.sales-hourly-totals strong{text-overflow:ellipsis;font-family:var(--font-display);white-space:nowrap;margin-top:.2rem;font-size:1.2rem;overflow:hidden}.sales-hourly-legend{flex-wrap:wrap;align-items:center;gap:.9rem;margin:.9rem 0 .35rem;display:flex}.sales-hourly-legend button{color:var(--brand-text-muted);cursor:pointer;font:inherit;background:0 0;border:0;align-items:center;gap:.35rem;font-size:.66rem;display:inline-flex}.sales-hourly-legend button.is-hidden{opacity:.38}.sales-hourly-legend button span{border-radius:3px;width:8px;height:8px}.sales-hourly-scroll{overscroll-behavior-x:contain;scrollbar-width:thin;width:100%;overflow-x:auto}.sales-hourly-chart{width:100%;min-width:56rem;height:17rem}.sales-hourly-tooltip{border:1px solid var(--brand-border);border-radius:var(--radius-sm);background:var(--brand-surface);min-width:11rem;box-shadow:var(--shadow-md);padding:.7rem}.sales-hourly-tooltip>strong{margin-bottom:.35rem;font-size:.72rem;display:block}.sales-hourly-tooltip>div{grid-template-columns:auto 1fr auto;align-items:center;gap:.4rem;margin-top:.25rem;display:grid}.sales-hourly-tooltip span{border-radius:2px;width:7px;height:7px}.sales-hourly-tooltip small{color:var(--brand-text-muted);font-size:.64rem}.sales-hourly-tooltip b{font-size:.65rem}.sales-hourly-tooltip-customers{border-top:1px solid var(--brand-border-subtle);max-height:13rem;padding-top:.55rem;overflow-y:auto;margin-top:.65rem!important;display:block!important}.sales-hourly-tooltip-customers>p{color:var(--brand-text-faint);letter-spacing:.08em;text-transform:uppercase;margin-bottom:.3rem;font-size:.6rem;font-weight:700}.sales-hourly-tooltip-customer{border-top:1px solid var(--brand-border-subtle);width:100%;color:var(--brand-text);text-align:left;justify-content:space-between;align-items:center;gap:.8rem;padding:.45rem 0;display:flex}.sales-hourly-tooltip-customer:first-of-type{border-top:0}.sales-hourly-tooltip-customer span{width:auto;min-width:0;height:auto;display:block;background:0 0!important}.sales-hourly-tooltip-customer span:last-child{text-align:right;flex-shrink:0}.sales-hourly-tooltip-customers strong,.sales-hourly-tooltip-customers small,.sales-hourly-tooltip-customers b{display:block}.sales-hourly-tooltip-customers strong{text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;overflow:hidden}.sales-hourly-tooltip-customers small{color:var(--brand-text-faint);margin-top:.1rem;font-size:.58rem}.sales-hourly-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.35rem;min-height:15rem;display:flex}.sales-hourly-state>small{color:var(--brand-text-muted)}.sales-hourly-state>button{border-radius:var(--radius-sm);background:var(--brand-border-subtle);color:var(--brand-text);cursor:pointer;font:inherit;border:0;align-items:center;gap:.35rem;margin-top:.35rem;padding:.45rem .65rem;display:inline-flex}.sales-hourly-loader{border:2px solid var(--brand-border);border-top-color:var(--brand-accent);border-radius:50%;width:1.5rem;height:1.5rem;animation:.7s linear infinite sales-hourly-spin}@keyframes sales-hourly-spin{to{transform:rotate(360deg)}}.dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:.875rem;display:grid}.dashboard-kpi{border:1px solid var(--brand-border-subtle);border-radius:var(--radius-lg);background:var(--brand-surface);box-shadow:var(--shadow-sm);padding:1.15rem 1.25rem}.dashboard-kpi--primary{border-top:3px solid var(--brand-accent)}.dashboard-kpi--warning{background:#fffbf5;border-color:#eee0ca}.dashboard-kpi__top{color:var(--brand-text-muted);justify-content:space-between;align-items:center;font-size:.72rem;font-weight:600;display:flex}.dashboard-kpi__top svg{width:18px;height:18px;color:var(--brand-accent-muted)}.dashboard-kpi strong{font-family:var(--font-display);white-space:nowrap;margin-top:.75rem;font-size:clamp(1.55rem,3vw,2rem);font-weight:600;line-height:1;display:block}.dashboard-kpi small{color:var(--brand-text-faint);margin-top:.55rem;font-size:.68rem;display:block}.dashboard-main-grid{grid-template-columns:minmax(0,1.65fr) minmax(280px,.85fr);gap:1rem;display:grid}.dashboard-lower-grid{grid-template-columns:minmax(300px,.8fr) minmax(0,1.4fr);gap:1rem;display:grid}.dashboard-panel{background:var(--brand-surface);border:1px solid var(--brand-border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);min-width:0;padding:1.25rem}.dashboard-panel__header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.15rem;display:flex}.dashboard-section-label{color:var(--brand-text-faint);margin-bottom:.28rem}.dashboard-panel h2{font-family:var(--font-display);font-size:1.35rem;font-weight:600;line-height:1.1}.dashboard-panel__header>a{color:var(--brand-accent);white-space:nowrap;align-items:center;gap:.3rem;font-size:.72rem;font-weight:600;text-decoration:none;display:inline-flex}.dashboard-panel__header>span{color:var(--brand-text-faint);font-size:.7rem}.dashboard-chart{align-items:stretch;gap:clamp(.45rem,2vw,1rem);height:188px;padding-top:1rem;display:flex}.dashboard-chart__column{flex-direction:column;flex:1;align-items:center;min-width:0;display:flex}.dashboard-chart__value{height:24px;color:var(--brand-text-faint);white-space:nowrap;font-size:.57rem}.dashboard-chart__track{background:var(--brand-border-subtle);border-radius:7px 7px 3px 3px;flex:1;width:min(36px,75%);position:relative;overflow:hidden}.dashboard-chart__track div{background:linear-gradient(180deg, #9b5665, var(--brand-accent));border-radius:7px 7px 3px 3px;width:100%;transition:height .4s;position:absolute;bottom:0}.dashboard-chart__label{color:var(--brand-text-muted);margin-top:.45rem;font-size:.65rem;font-weight:600}.dashboard-actions{padding-bottom:.6rem}.dashboard-action-row{color:var(--brand-text);border-top:1px solid var(--brand-border-subtle);grid-template-columns:36px 1fr auto;align-items:center;gap:.75rem;padding:.8rem 0;text-decoration:none;display:grid}.dashboard-action-row__icon{background:var(--brand-gold-soft);color:#8c6b43;border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.dashboard-action-row--urgent .dashboard-action-row__icon{color:#9a3f3f;background:#fbecec}.dashboard-action-row>span:nth-child(2){min-width:0}.dashboard-action-row strong,.dashboard-action-row small{display:block}.dashboard-action-row strong{font-size:.78rem}.dashboard-action-row small{color:var(--brand-text-faint);margin-top:.18rem;font-size:.66rem}.dashboard-action-row>svg{color:var(--brand-text-faint)}.dashboard-pipeline__bar{background:var(--brand-border-subtle);border-radius:999px;width:100%;height:9px;display:flex;overflow:hidden}.dashboard-pipeline__bar span+span{border-left:2px solid #fff}.dashboard-pipeline__legend{grid-template-columns:repeat(2,1fr);gap:.65rem 1rem;margin-top:1rem;display:grid}.dashboard-pipeline__legend>div{grid-template-columns:7px 1fr auto;align-items:center;gap:.45rem;display:grid}.dashboard-pipeline__legend span{border-radius:50%;width:7px;height:7px}.dashboard-pipeline__legend p{color:var(--brand-text-muted);font-size:.68rem}.dashboard-pipeline__legend strong{font-size:.72rem}.dashboard-order-row{color:var(--brand-text);border-top:1px solid var(--brand-border-subtle);grid-template-columns:34px minmax(120px,1fr) auto minmax(78px,auto);align-items:center;gap:.7rem;padding:.67rem 0;text-decoration:none;display:grid}.dashboard-order-row__customer{width:34px;height:34px;color:var(--brand-accent);background:var(--brand-accent-soft);border-radius:50%;place-items:center;font-size:.7rem;font-weight:700;display:grid}.dashboard-order-row__main,.dashboard-order-row__amount{min-width:0}.dashboard-order-row strong,.dashboard-order-row small{display:block}.dashboard-order-row__main strong{text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.dashboard-order-row small{color:var(--brand-text-faint);margin-top:.12rem;font-size:.62rem}.dashboard-order-row__amount{text-align:right}.dashboard-order-row__amount strong{white-space:nowrap;font-size:.72rem}.dashboard-empty{text-align:center;color:var(--brand-text-faint);padding:2rem 0;font-size:.8rem}.dashboard-skeleton{flex-direction:column;gap:1rem;display:flex}.dashboard-skeleton__hero,.dashboard-skeleton__cards>div,.dashboard-skeleton__body{background:linear-gradient(100deg, var(--brand-border-subtle) 35%, #f8f5f1 50%, var(--brand-border-subtle) 65%);border-radius:var(--radius-lg);background-size:300% 100%;animation:1.5s infinite dashboard-shimmer}.dashboard-skeleton__hero{height:150px}.dashboard-skeleton__cards{grid-template-columns:repeat(4,1fr);gap:.875rem;display:grid}.dashboard-skeleton__cards>div{height:125px}.dashboard-skeleton__body{height:320px}@keyframes dashboard-shimmer{to{background-position-x:-150%}}.dashboard-error{text-align:center;max-width:440px;color:var(--brand-text-muted);margin:5rem auto}.dashboard-error svg{color:var(--brand-accent)}.dashboard-error h1{font-family:var(--font-display);color:var(--brand-text);margin-top:1rem;font-size:1.8rem}.dashboard-error p{margin-top:.4rem;font-size:.82rem}.dashboard-error button{border-radius:var(--radius-sm);background:var(--brand-accent);color:#fff;cursor:pointer;border:0;margin-top:1rem;padding:.65rem 1rem;font-family:inherit}@media (max-width:900px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-main-grid,.dashboard-lower-grid{grid-template-columns:1fr}}@media (max-width:560px){.dashboard{gap:.85rem}.dashboard-hero{flex-direction:column;align-items:flex-start;min-height:176px;padding:1.35rem}.dashboard-hero h1{font-size:2rem}.dashboard-primary-action{justify-content:center;width:100%}.sales-hourly-panel{padding:1rem}.sales-hourly-header{flex-direction:column}.sales-hourly-date-nav{width:100%}.sales-hourly-date-nav label{flex:1}.sales-hourly-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.sales-hourly-chart{min-width:50rem;height:15rem}.dashboard-kpis{gap:.65rem}.dashboard-kpi{padding:.9rem}.dashboard-kpi strong{font-size:1.45rem}.dashboard-kpi small{min-height:2em}.dashboard-panel{padding:1rem}.dashboard-chart{gap:.3rem;height:170px}.dashboard-chart__value{font-size:.5rem;transform:rotate(-24deg)}.dashboard-order-row{grid-template-columns:34px minmax(0,1fr) auto}.dashboard-order-row__status,.dashboard-order-row__amount small{display:none}.dashboard-skeleton__cards{grid-template-columns:repeat(2,1fr)}}@media (prefers-reduced-motion:reduce){.sales-hourly-loader{animation:none}}.info-panel{background:var(--brand-surface);border:1px solid var(--brand-border-subtle);border-radius:var(--radius-md);padding:1rem}.info-panel--muted{background:var(--brand-surface-elevated)}.info-panel--accent{background:var(--brand-accent-soft);border-color:#7d2e3e26}.info-panel--warning{background:#fef7ed;border-color:#f5dcc0}.info-panel--error{background:#fdf2f2;border-color:#f5c6c6}.manager-orders-sales-person-filter{width:100%;max-width:320px}.manager-orders-rep-detail-row{gap:1rem;min-width:0}.manager-orders-rep-detail-value{overflow-wrap:anywhere;text-align:right;max-width:70%}@media (max-width:640px){.manager-orders-sales-person-filter{max-width:none}.manager-orders-rep-detail-row{align-items:flex-start}}.payment-entry-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.75rem;margin-bottom:.75rem;display:grid}.payment-report-panel{background:var(--brand-surface-elevated);border:1px solid var(--brand-border-subtle);border-radius:var(--radius-lg);flex-shrink:0;margin-bottom:1rem;padding:1rem}.payment-audit-page{flex-direction:column;height:100%;min-height:0;display:flex}.audit-table-shell{background:var(--brand-surface);border:1px solid var(--brand-border-subtle);border-radius:var(--radius-lg);min-height:280px;box-shadow:var(--shadow-sm);flex-direction:column;flex:auto;display:flex;overflow:hidden}.audit-table-scroll{scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;flex:auto;min-height:0;overflow:auto}.audit-table{border-collapse:collapse;width:100%;min-width:1120px}.audit-table thead th{z-index:2;position:sticky;top:0}.audit-table tbody tr:hover{background:var(--brand-surface-elevated)}.audit-table-footer{border-top:1px solid var(--brand-border-subtle);background:var(--brand-surface-elevated);flex-shrink:0}.customer-import-step{padding:1.25rem}.customer-import-file-input{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.customer-import-table-scroll{border:1px solid var(--brand-border-subtle);border-radius:var(--radius-md);-webkit-overflow-scrolling:touch;overflow-x:auto}.customer-import-table{border-collapse:collapse;width:100%;min-width:920px;font-size:.8125rem}.customer-import-table th,.customer-import-table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--brand-border-subtle);padding:.75rem}.customer-import-table th{color:var(--brand-text-muted);background:var(--brand-surface-elevated);white-space:nowrap;font-size:.75rem;font-weight:600}.customer-import-table tbody tr:last-child td{border-bottom:0}.customer-import-table tbody tr.has-error{background:#fff7f7}@media (max-width:767px){.payment-audit-page{height:auto}.audit-table-shell{height:min(60dvh,520px);min-height:320px}}.order-detail-hero{overflow:hidden}.order-timeline{align-items:flex-start;min-width:max-content;display:flex}.order-timeline-scroll{overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-color:var(--gray-7) transparent;scrollbar-width:thin;-webkit-overflow-scrolling:touch;max-width:100%;padding-bottom:.75rem;scroll-padding-inline:.5rem;overflow-x:auto}.order-timeline-scroll::-webkit-scrollbar{height:6px}.order-timeline-scroll::-webkit-scrollbar-track{background:0 0}.order-timeline-scroll::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-7)}.order-timeline__step{min-width:168px;color:var(--brand-text-faint);border-radius:var(--radius-2);cursor:help;scroll-snap-align:center;outline:none;flex:0 0 168px}.order-timeline__step:focus-visible{box-shadow:0 0 0 2px var(--blue-7)}.order-timeline__track{height:16px;position:relative}.order-timeline__track:before,.order-timeline__track:after{content:"";background:var(--gray-5);width:50%;height:2px;position:absolute;top:7px}.order-timeline__track:before{left:0}.order-timeline__track:after{right:0}.order-timeline__step:first-child .order-timeline__track:before,.order-timeline__step:last-child .order-timeline__track:after{display:none}.order-timeline__dot{z-index:1;border:2px solid var(--gray-6);background:var(--brand-surface);border-radius:50%;width:12px;height:12px;position:absolute;top:2px;left:50%;transform:translate(-50%)}.order-timeline__label{text-align:center;white-space:nowrap;padding:0 .25rem;display:block}@media (max-width:640px){.order-timeline-scroll{margin-inline:-.5rem;padding:0 .5rem .75rem}.order-timeline__step{flex:0 0 116px;min-width:116px}.order-timeline__label{overflow-wrap:break-word;white-space:normal;max-width:116px;min-height:2.4em;padding:0 .35rem;line-height:1.2}}.order-timeline__step--completed{color:var(--green-11)}.order-timeline__step--completed .order-timeline__track:before,.order-timeline__step--completed .order-timeline__track:after,.order-timeline__step--current .order-timeline__track:before{background:var(--green-9)}.order-timeline__step--completed .order-timeline__dot{border-color:var(--green-9);background:var(--green-9)}.order-timeline__step--current{color:var(--blue-11)}.order-timeline__step--current .order-timeline__dot{border-color:var(--blue-9);background:var(--blue-9)}.order-timeline__step--terminal{color:var(--red-11)}.order-timeline__step--terminal .order-timeline__dot{border-color:var(--red-9);background:var(--red-9)}.order-timeline-tooltip.rt-TooltipContent{max-width:260px;color:var(--brand-text);background:var(--brand-surface);border:1px solid var(--brand-border-subtle);box-shadow:var(--shadow-md);padding:.65rem .75rem}.order-timeline-tooltip .rt-TooltipArrow{fill:var(--brand-surface)}.order-timeline-tooltip__content{gap:.2rem;line-height:1.4;display:grid}.order-timeline-tooltip__content strong{font-weight:600}.order-timeline-tooltip__content>span{color:var(--brand-text-muted)}.payment-detail-block{border:1px solid var(--brand-border-subtle);border-radius:var(--radius-md);background:var(--brand-surface-elevated);padding:1rem}.payment-history-record{border:1px solid var(--brand-border-subtle);border-radius:var(--radius-md);background:var(--brand-surface-elevated)}@media (max-width:640px){.payment-entry-fields{grid-template-columns:1fr}}.orders-list{padding-bottom:.5rem}.search-panel{background:var(--brand-surface);border:1px solid var(--brand-border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:1rem}.fab{bottom:calc(var(--nav-height) + 1rem + var(--safe-bottom));border-radius:var(--radius-full);background:var(--brand-accent);color:#fff;cursor:pointer;width:3.5rem;height:3.5rem;box-shadow:var(--shadow-fab);z-index:20;border:none;justify-content:center;align-items:center;transition:transform .2s,background .2s;display:flex;position:fixed;right:1.25rem}.fab:hover{background:var(--brand-accent-hover);transform:scale(1.05)}.fab:active{transform:scale(.98)}.login-page{-webkit-overflow-scrolling:touch;flex-direction:column;height:100dvh;min-height:100dvh;display:flex;overflow:hidden auto}.login-hero{text-align:center;color:#fff;background:linear-gradient(#1c1c1c 0%,#2a2426 100%);flex:none;padding:3rem 1.5rem 2rem}.login-hero .brand-logo{color:#fff;letter-spacing:.22em;font-size:clamp(2rem,6vw,2.75rem)}.login-hero .brand-tagline{color:#ffffff8c;margin-top:.75rem}.login-form-wrap{flex:1;justify-content:center;align-items:flex-start;margin-top:-1.5rem;padding:2rem 1.25rem 2.5rem;display:flex}.login-card{background:var(--brand-surface);border-radius:var(--radius-xl);width:100%;max-width:420px;box-shadow:var(--shadow-lg);border:1px solid var(--brand-border-subtle);padding:2rem 1.5rem}.step-indicator{align-items:center;gap:.5rem;margin-bottom:1.5rem;display:flex}.step-dot{border-radius:var(--radius-full);background:var(--brand-border-subtle);width:2rem;height:2rem;color:var(--brand-text-faint);flex-shrink:0;justify-content:center;align-items:center;font-size:.75rem;font-weight:600;display:flex}.step-dot--active{background:var(--brand-accent);color:#fff}.step-dot--done{background:var(--brand-gold-soft);color:var(--brand-gold)}.step-line{background:var(--brand-border-subtle);flex:1;max-width:3rem;height:2px}.step-line--done{background:var(--brand-gold)}.product-grid{grid-template-columns:repeat(2,1fr);gap:.875rem;display:grid}@media (min-width:640px){.product-grid{grid-template-columns:repeat(3,1fr);gap:1rem}}@media (min-width:900px){.product-grid{grid-template-columns:repeat(4,1fr)}}.product-card{background:var(--brand-surface);border:1px solid var(--brand-border-subtle);border-radius:var(--radius-md);cursor:pointer;transition:box-shadow .2s,transform .2s;overflow:hidden}.product-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.product-card__image{aspect-ratio:3/4;background:var(--brand-border-subtle);overflow:hidden}.product-card__image img{object-fit:cover;width:100%;height:100%}.product-card__body{padding:.75rem}.product-card__name{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.8125rem;font-weight:500;line-height:1.35;display:-webkit-box;overflow:hidden}.product-card__designer{color:var(--brand-text-faint);text-transform:uppercase;letter-spacing:.06em;margin-top:.25rem;font-size:.6875rem}.product-card__price{color:var(--brand-text);margin-top:.375rem;font-size:.8125rem;font-weight:600}.table-desktop-only{display:none}@media (min-width:768px){.table-desktop-only{display:block}.product-grid{display:none}}.empty-state{text-align:center;color:var(--brand-text-muted);padding:3rem 1.5rem}.empty-state__icon{opacity:.35;width:3rem;height:3rem;margin:0 auto 1rem}.loading-screen{height:100dvh;min-height:100dvh;color:var(--brand-text-muted);flex-direction:column;justify-content:center;align-items:center;gap:1rem;display:flex}.followup-tabs{scrollbar-width:none;gap:.5rem;margin:0 -.25rem 1.25rem;padding:.25rem;display:flex;overflow-x:auto}.followup-tabs::-webkit-scrollbar{display:none}.followup-tab{border:1px solid var(--brand-border-subtle);border-radius:var(--radius-md);background:var(--brand-surface);color:var(--brand-text-muted);flex:none;align-items:center;gap:.5rem;padding:.65rem .8rem;font-size:.8125rem;font-weight:500;text-decoration:none;transition:border-color .15s,background .15s,color .15s;display:inline-flex}.followup-tab:hover{border-color:var(--brand-border);color:var(--brand-text)}.followup-tab--active{border-color:var(--brand-accent);background:var(--brand-accent-soft);color:var(--brand-accent);font-weight:700}.followup-tab__count{border-radius:var(--radius-full);background:var(--brand-border-subtle);min-width:1.45rem;color:inherit;text-align:center;padding:.125rem .375rem;font-size:.6875rem;line-height:1.2}.followup-tab--active .followup-tab__count{background:var(--brand-surface)}.followup-filters{overflow:visible}.followup-card{border-left:3px solid #0000}.followup-card--urgent{border-left-color:var(--red-9)}.followup-customer__avatar{border-radius:var(--radius-full);background:var(--brand-accent-soft);width:3rem;height:3rem;color:var(--brand-accent);flex:none;justify-content:center;align-items:center;font-size:.875rem;font-weight:700;display:flex;overflow:hidden}.followup-customer__avatar img{object-fit:cover;width:100%;height:100%}.followup-customer__name{color:var(--brand-text);font-family:var(--font-display);font-size:1.05rem;font-weight:700;text-decoration:none}.followup-customer__name:hover,.followup-product__name:hover,.followup-order__number:hover{color:var(--brand-accent);text-decoration:underline}.followup-contact-link{color:var(--brand-text-muted);align-items:center;gap:.25rem;font-size:.75rem;text-decoration:none;display:inline-flex}.followup-contact-link:hover{color:var(--brand-accent)}.followup-product{border:1px solid var(--brand-border-subtle);border-radius:var(--radius-md);background:var(--brand-bg);gap:1rem;padding:.875rem;display:flex}.followup-product__image{border-radius:var(--radius-sm);background:var(--brand-border-subtle);width:4.5rem;height:5.75rem;color:var(--brand-text-faint);flex:none;justify-content:center;align-items:center;font-size:.625rem;display:flex;overflow:hidden}.followup-product__image img{object-fit:cover;width:100%;height:100%}.followup-product__name,.followup-order__number{color:var(--brand-text);margin-top:.125rem;font-size:.9375rem;font-weight:700;line-height:1.35;text-decoration:none;display:inline-block}.followup-order__number{font-family:var(--font-display);margin-top:0;font-size:1.05rem}.followup-decision{border:1px solid var(--orange-6);border-radius:var(--radius-sm);background:var(--orange-2);margin-top:.875rem;padding:.75rem .875rem}.followup-decision--overdue{border-color:var(--red-6);background:var(--red-2)}.followup-items{flex-direction:column;gap:.5rem;margin-top:.875rem;display:flex}.followup-item{border:1px solid var(--brand-border-subtle);border-radius:var(--radius-sm);background:var(--brand-bg);align-items:center;gap:.75rem;padding:.625rem;display:flex}.followup-item__image{background:var(--brand-border-subtle);border-radius:.375rem;flex:none;width:2.75rem;height:3.5rem;overflow:hidden}.followup-item__image img{object-fit:cover;width:100%;height:100%}.followup-details{border-top:1px solid var(--brand-border-subtle);margin-top:.875rem;padding-top:.75rem}.followup-details summary{width:fit-content;color:var(--brand-accent);cursor:pointer;font-size:.75rem;font-weight:600}.followup-meta-grid{grid-template-columns:1fr;gap:.75rem;margin:.875rem 0 0;display:grid}.followup-meta-grid div{min-width:0}.followup-meta-grid dt{color:var(--brand-text-faint);letter-spacing:.02em;text-transform:uppercase;font-size:.6875rem;font-weight:600}.followup-meta-grid dd{color:var(--brand-text);overflow-wrap:anywhere;margin:.2rem 0 0;font-size:.8125rem;line-height:1.45}.followup-empty{text-align:center;padding:3rem 1.25rem}@media (min-width:640px){.followup-tab{padding:.75rem 1rem;font-size:.875rem}.followup-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.followup-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.avatar{border-radius:var(--radius-full);background:var(--brand-accent-soft);width:2.25rem;height:2.25rem;color:var(--brand-accent);cursor:pointer;border:2px solid var(--brand-surface);box-shadow:var(--shadow-sm);justify-content:center;align-items:center;font-size:.8125rem;font-weight:600;transition:box-shadow .2s;display:flex;overflow:hidden}.avatar:hover{box-shadow:var(--shadow-md)}.avatar--lg{width:4.5rem;height:4.5rem;font-size:1.25rem}.avatar img{object-fit:cover;width:100%;height:100%}.back-link{color:var(--brand-text-muted);cursor:pointer;font-size:.8125rem;font-weight:500;font-family:var(--font-body);background:0 0;border:none;align-items:center;gap:.375rem;margin-bottom:1rem;padding:.375rem 0;transition:color .2s;display:inline-flex}.back-link:hover{color:var(--brand-accent)}.order-item-card{background:var(--brand-surface);border:1px solid var(--brand-border-subtle);border-radius:var(--radius-md);overflow:hidden}.order-item-card--selected{border-color:var(--brand-accent);box-shadow:0 0 0 1px var(--brand-accent-muted)}.order-item-card--removed{opacity:.85;border-color:#f5c6c6}.order-item-image{border-radius:var(--radius-sm);background:var(--brand-border-subtle);flex-shrink:0;width:5.5rem;height:8rem;overflow:hidden}.order-item-image img{object-fit:cover;width:100%;height:100%}.product-detail-zoom-trigger{cursor:zoom-in;appearance:none;width:100%;height:100%;font:inherit;background:0 0;border:0;flex:1;padding:0;display:block;position:relative}.product-detail-zoom-trigger img{object-fit:cover;width:100%;height:100%;display:block}.product-detail-zoom-affordance{border-radius:var(--radius-full);color:#fff;pointer-events:none;background:#0000009e;border:1px solid #ffffff73;justify-content:center;align-items:center;width:1.75rem;height:1.75rem;display:inline-flex;position:absolute;bottom:.4rem;right:.4rem;box-shadow:0 2px 8px #0003}.product-detail-zoom-modal{z-index:9999;color:#fff;background:#000;position:fixed;inset:0;overflow:hidden}.product-detail-zoom-stage{touch-action:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;overflow:hidden}.product-detail-zoom-content{width:100%;height:100%}.product-detail-zoom-image{object-fit:contain;object-position:center;transform-origin:50%;will-change:transform;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;width:100%;height:100dvh}.product-detail-zoom-close{top:calc(env(safe-area-inset-top,0px) + 16px);z-index:2;border-radius:var(--radius-full);color:#fff;cursor:pointer;background:#ffffff29;border:0;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex;position:absolute;right:18px}.product-detail-zoom-hint{top:calc(env(safe-area-inset-top,0px) + 30px);z-index:2;color:#fff;pointer-events:none;white-space:nowrap;font-size:.75rem;font-weight:600;line-height:1;position:absolute;left:50%;transform:translate(-50%)}.product-detail-zoom-controls{left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 1.25rem);z-index:2;border-radius:var(--radius-full);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#181818c7;gap:.25rem;padding:.25rem;display:flex;position:absolute;transform:translate(-50%)}.product-detail-zoom-controls button{border-radius:var(--radius-full);color:#fff;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;width:2.75rem;height:2.75rem;display:inline-flex}.product-detail-zoom-controls button:focus-visible,.product-detail-zoom-close:focus-visible,.product-detail-zoom-trigger:focus-visible{outline-offset:2px;outline:2px solid #fff}.product-detail-zoom-controls button:hover,.product-detail-zoom-close:hover{background:#ffffff38}@media (min-width:480px){.order-item-image{width:6.25rem;height:9rem}}.rt-TextFieldRoot{--text-field-border-radius:var(--radius-md)}.rt-Button{letter-spacing:.01em;font-weight:500}.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.no-scrollbar::-webkit-scrollbar{display:none}.customer-form-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:1.25rem;display:grid}.customer-form-card{padding:clamp(1rem,2.5vw,1.5rem)}.form-section+.form-section{border-top:1px solid var(--brand-border-subtle);margin-top:1.5rem;padding-top:1.5rem}.form-section__title{color:var(--brand-text-faint);letter-spacing:.1em;text-transform:uppercase;margin-bottom:.9rem;font-size:.6875rem;font-weight:600}.form-field{flex:1;min-width:0;display:block}.form-field__label{color:var(--brand-text-muted);letter-spacing:.02em;margin-bottom:.4rem;font-size:.75rem;font-weight:600;display:block}.form-field__req{color:var(--brand-accent)}.form-field .rt-TextFieldRoot,.form-select{--text-field-border-radius:var(--radius-md);background:var(--brand-surface-elevated)}.form-select{border:1px solid var(--brand-border);border-radius:var(--radius-md);width:100%;height:2.5rem;color:var(--brand-text);font:inherit;cursor:pointer;padding:0 .75rem;font-size:.875rem}.form-select:focus-visible{outline:2px solid var(--brand-accent-muted);outline-offset:-1px}.form-hint{color:var(--brand-text-faint);margin-top:.4rem;font-size:.75rem;line-height:1.45}.form-toggle-panel{border:1px solid var(--brand-border-subtle);border-radius:var(--radius-md);background:var(--brand-surface-elevated);padding:.875rem 1rem;transition:border-color .15s,background .15s}.form-toggle-panel--on{border-color:var(--brand-accent-muted);background:var(--brand-accent-soft)}.form-toggle-panel__row{align-items:center;gap:.625rem;display:flex}.form-toggle-panel__label{cursor:pointer;font-size:.875rem;font-weight:500}.form-toggle-panel__body{border-top:1px solid #7d2e3e24;max-width:12rem;margin-top:.875rem;padding-top:.875rem}.form-actions{border-top:1px solid var(--brand-border-subtle);justify-content:flex-end;align-items:center;gap:.75rem;margin-top:1.5rem;padding-top:1.25rem;display:flex}.customer-preview{padding:1.25rem;position:sticky;top:0}.customer-preview__eyebrow{color:var(--brand-text-faint);letter-spacing:.1em;text-transform:uppercase;font-size:.6875rem;font-weight:600}.customer-preview__identity{align-items:center;gap:.75rem;margin:.9rem 0 1rem;display:flex}.customer-preview__avatar{border-radius:var(--radius-full);background:var(--brand-accent-soft);width:3rem;height:3rem;color:var(--brand-accent);flex-shrink:0;place-items:center;font-size:.9375rem;font-weight:600;display:grid}.customer-preview__avatar--empty{background:var(--brand-border-subtle);color:var(--brand-text-faint)}.customer-preview__name{overflow-wrap:anywhere;font-family:var(--font-display);font-size:1.25rem;font-weight:500;line-height:1.2}.customer-preview__name--empty{color:var(--brand-text-faint)}.customer-preview__list{border-top:1px solid var(--brand-border-subtle);gap:.7rem;margin:0;padding-top:.9rem;display:grid}.customer-preview__list dt{color:var(--brand-text-faint);letter-spacing:.06em;text-transform:uppercase;font-size:.6875rem;font-weight:600}.customer-preview__list dd{color:var(--brand-text);overflow-wrap:anywhere;margin:.15rem 0 0;font-size:.8125rem}.customer-preview__placeholder{color:var(--brand-text-faint)}@media (max-width:900px){.customer-form-layout{grid-template-columns:1fr}.customer-preview{position:static}}@media (max-width:560px){.customer-form-card{padding:1.15rem}.form-actions{flex-direction:column-reverse}.form-actions>button{width:100%}}.customer-hero{border:1px solid var(--brand-border-subtle);border-radius:var(--radius-xl);background:var(--brand-surface);box-shadow:var(--shadow-sm);margin-bottom:1.75rem;overflow:hidden}.customer-hero__band{color:#fff;background:radial-gradient(circle at 88% 12%,#b8956a4d,#0000 32%),linear-gradient(125deg,#221b1d 0%,#422a31 60%,#6d3442 100%);justify-content:space-between;align-items:center;gap:1.25rem;padding:1.5rem;display:flex}.customer-hero__identity{align-items:center;gap:1rem;min-width:0;display:flex}.customer-hero__avatar{border-radius:var(--radius-full);color:#fff;letter-spacing:.04em;background:#ffffff1f;border:1px solid #ffffff38;flex-shrink:0;place-items:center;width:4rem;height:4rem;font-size:1.05rem;font-weight:600;display:grid;overflow:hidden}.customer-hero__avatar img{object-fit:cover;width:100%;height:100%}.customer-hero__name{font-family:var(--font-display);overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:.65rem;font-size:clamp(1.6rem,3vw,2rem);font-weight:500;line-height:1.1;display:flex}.customer-hero__status{border-radius:var(--radius-full);color:#ffffffe6;font-family:var(--font-body);letter-spacing:.06em;text-transform:uppercase;background:#ffffff24;flex-shrink:0;align-items:center;gap:.4rem;padding:.2rem .6rem;font-size:.6875rem;font-weight:600;display:inline-flex}.customer-hero__status:before{content:"";background:#7bd88f;border-radius:50%;width:6px;height:6px}.customer-hero__status--inactive:before{background:#ffffff73}.customer-hero__contacts{flex-wrap:wrap;align-items:center;gap:.45rem;margin-top:.7rem;display:flex}.customer-hero__chip{border-radius:var(--radius-full);color:#ffffffe0;background:#ffffff14;border:1px solid #ffffff2e;align-items:center;gap:.4rem;padding:.32rem .7rem;font-size:.75rem;text-decoration:none;transition:background .15s,color .15s;display:inline-flex}.customer-hero__chip:hover{color:#fff;background:#ffffff2e}.customer-hero__chip svg{opacity:.75}.customer-hero__cta{border-radius:var(--radius-md);color:#522936;font-family:var(--font-body);cursor:pointer;background:#fff;border:0;flex-shrink:0;justify-content:center;align-items:center;gap:.45rem;padding:.8rem 1.15rem;font-size:.8125rem;font-weight:700;transition:transform .15s;display:inline-flex;box-shadow:0 8px 20px #0000002e}.customer-hero__cta:hover{transform:translateY(-1px)}.customer-hero__cta:active{transform:translateY(0)}.customer-hero__stats{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.customer-stat{border-left:1px solid var(--brand-border-subtle);min-width:0;padding:.95rem 1.5rem}.customer-stat:first-child{border-left:0}.customer-stat__label{color:var(--brand-text-faint);letter-spacing:.08em;text-transform:uppercase;font-size:.6875rem;font-weight:600}.customer-stat__value{font-family:var(--font-display);margin-top:.3rem;font-size:1.25rem;font-weight:600;line-height:1.15;display:block}.customer-stat__note{color:var(--brand-text-faint);margin-top:.2rem;font-size:.6875rem;display:block}.customer-hero__footer{border-top:1px solid var(--brand-border-subtle);background:var(--brand-surface-elevated);color:var(--brand-text-faint);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem 1.5rem;font-size:.75rem;display:flex}.customer-hero__footer-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.customer-section{margin-bottom:1.75rem}.customer-section__head{align-items:center;gap:.75rem;margin-bottom:.9rem;display:flex}.customer-section__title{font-family:var(--font-display);flex-shrink:0;align-items:baseline;gap:.5rem;font-size:1.2rem;font-weight:600;display:flex}.customer-section__count{color:var(--brand-text-faint);font-family:var(--font-body);font-size:.75rem;font-weight:500}.customer-section__rule{background:var(--brand-border-subtle);flex:1;height:1px}.address-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:.75rem;display:grid}.address-card{border:1px solid var(--brand-border-subtle);border-radius:var(--radius-lg);background:var(--brand-surface);padding:1rem 1.1rem;transition:border-color .15s,box-shadow .15s;position:relative}.address-card:hover{border-color:var(--brand-border);box-shadow:var(--shadow-sm)}.address-card--default{box-shadow:inset 3px 0 0 var(--brand-accent)}.address-card--default:hover{box-shadow:inset 3px 0 0 var(--brand-accent), var(--shadow-sm)}.address-card__head{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.address-card__label{min-width:0;color:var(--brand-text);letter-spacing:.02em;align-items:center;gap:.5rem;font-size:.8125rem;font-weight:600;display:flex}.address-card__body{color:var(--brand-text-muted);overflow-wrap:anywhere;font-size:.8125rem;line-height:1.55}.address-card__contact{color:var(--brand-text-faint);margin-top:.5rem;font-size:.75rem}.customer-order-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem 1rem;padding:.9rem 1.1rem;display:grid}.customer-order-row__number{font-family:var(--font-display);font-size:1.05rem;font-weight:600;line-height:1.2}.customer-order-row__meta{color:var(--brand-text-faint);margin-top:.2rem;font-size:.75rem}.customer-order-row__right{justify-self:end;align-items:center;gap:.9rem;display:flex}.customer-order-row__amount{color:var(--brand-text);white-space:nowrap;font-size:.875rem;font-weight:600}.customer-empty{border:1px dashed var(--brand-border);border-radius:var(--radius-lg);color:var(--brand-text-muted);text-align:center;padding:1.5rem;font-size:.8125rem}.customer-pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-top:.9rem;display:flex}@media (max-width:760px){.customer-hero__band{flex-direction:column;align-items:flex-start}.customer-hero__cta{width:100%}.customer-hero__stats{grid-template-columns:1fr}.customer-stat{border-left:0;border-top:1px solid var(--brand-border-subtle);padding:.75rem 1.25rem}.customer-stat:first-child{border-top:0}}@media (prefers-reduced-motion:reduce){.customer-hero__cta:hover{transform:none}}.pwa-install-banner{background:var(--brand-accent-soft);border-bottom:1px solid var(--brand-border-subtle);padding:.625rem 1.25rem;padding-left:max(1.25rem, env(safe-area-inset-left));padding-right:max(1.25rem, env(safe-area-inset-right));flex-shrink:0}.notification-row{text-align:left;border-radius:var(--radius-2);cursor:pointer;background:0 0;border:0;width:100%;padding:.5rem .625rem;display:block}.notification-row:hover,.notification-row:focus-visible{background:var(--gray-3)}.notification-row[data-unread=true]{border-left:3px solid var(--accent-9);padding-left:.5rem}
