:root{--bg:#f7f8f5;--card:#fff;--line:#e5e9e0;--text:#1f2a1a;--text-secondary:#5a6754;--muted:#8a9485;--primary:#3d8b5a;--primary-light:#e8f5ec;--primary-dark:#2d6b44;--warm:#c4783a;--warm-light:#fef6ee;--warn:#c45c3a;--warn-bg:#fef0ec;--info:#4a7ab5;--info-bg:#eef4fa;--success:#3d8b5a;--radius:10px;--shadow:0 1px 3px #1f2a1a0f;--font:"PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "WenQuanYi Micro Hei", "Droid Sans Fallback", sans-serif;--background:#f7f8f5;--foreground:#1f2a1a;--border:#e5e9e0;--ring:#3d8b5a}body{font-family:var(--font);background:var(--bg);color:var(--text);min-height:100vh;font-size:15px;line-height:1.55}.main a{color:var(--primary);text-decoration:none}.main a:hover{text-decoration:underline}.topbar{background:var(--card);border-bottom:1px solid var(--line);z-index:40;box-shadow:var(--shadow);position:sticky;top:0}.app-shell{min-height:100vh}.desktop-sidebar{z-index:45;background:var(--card);border-right:1px solid var(--line);width:216px;box-shadow:var(--shadow);flex-direction:column;padding:18px 14px;display:flex;position:fixed;inset:0 auto 0 0}.sidebar-brand-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:6px;padding:0 4px 14px;display:flex}.desktop-sidebar .brand{border-bottom:0;flex:auto;min-width:0;padding:0 3px}.brand-name{min-width:0}.sidebar-collapse-toggle{width:36px;min-height:34px;color:var(--text-secondary);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex:0 0 36px;justify-content:center;align-items:center;padding:0;display:inline-flex}.sidebar-collapse-toggle:hover{background:var(--primary-light);color:var(--primary-dark);border-color:#c8dfcf}.sidebar-collapse-toggle:focus-visible{outline-offset:2px;outline:3px solid #3d8b5a47}.nav-sidebar{flex-flow:column;flex:none;align-items:stretch;gap:4px;width:100%;padding-top:14px;display:flex}.nav-sidebar>a,.nav-sidebar>.nav-group{width:100%}.nav-sidebar a,.nav-sidebar .disabled{box-sizing:border-box;min-height:42px;padding:9px 12px}.nav-group{flex-direction:column;gap:2px;display:flex}.nav-subnav{border-left:1px solid var(--line);flex-direction:column;gap:2px;margin:0 0 4px 21px;padding-left:10px;display:flex}.nav-subnav a{gap:8px;min-height:36px;padding:7px 10px;font-size:13px}.nav-subnav .nav-icon{flex-basis:16px}.sidebar-footer{border-top:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:12px;margin-top:auto;padding:14px 6px 4px;display:flex}.sidebar-footer .store-chip{white-space:nowrap}.sidebar-account-row{align-items:center;gap:6px;width:100%;display:flex}.sidebar-account-row .user-chip{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.sidebar-account-row>a{color:var(--primary-dark);white-space:nowrap;flex:none;font-size:12px;text-decoration:none}.sidebar-account-row>a:hover{text-decoration:underline}.sidebar-account-row form{flex:none;margin:0}.sidebar-account-management{color:var(--primary-dark);margin-top:-8px;font-size:12px;text-decoration:none}.sidebar-account-management:hover{text-decoration:underline}.sidebar-logout-btn{width:34px;height:34px;color:var(--text-secondary);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;place-items:center;padding:0;display:grid}.sidebar-logout-btn:hover{color:#a3432b;background:#fff7f5;border-color:#f0d7d1}.sidebar-logout-btn:focus-visible{outline-offset:2px;outline:3px solid #3d8b5a47}.app-content{min-height:100vh;margin-left:216px}.desktop-sidebar,.app-content{transition:width .18s,margin-left .18s}.app-shell.sidebar-collapsed .desktop-sidebar{width:64px;padding-left:8px;padding-right:8px}.app-shell.sidebar-collapsed .app-content{margin-left:64px}.app-shell.sidebar-collapsed .sidebar-brand-row{flex-direction:column;gap:7px;padding-left:0;padding-right:0}.app-shell.sidebar-collapsed .desktop-sidebar .brand{flex:none;justify-content:center;padding:0}.app-shell.sidebar-collapsed .brand-name,.app-shell.sidebar-collapsed .nav-sidebar a>span:not(.nav-icon),.app-shell.sidebar-collapsed .nav-subnav,.app-shell.sidebar-collapsed .sidebar-footer .store-chip,.app-shell.sidebar-collapsed .sidebar-account-row .user-chip,.app-shell.sidebar-collapsed .sidebar-account-management{display:none}.app-shell.sidebar-collapsed .sidebar-collapse-toggle{flex-basis:36px;width:36px;padding:0}.app-shell.sidebar-collapsed .nav-sidebar a{justify-content:center;padding-left:0;padding-right:0}.app-shell.sidebar-collapsed .nav-sidebar .nav-icon{flex:0 0 20px}.app-shell.sidebar-collapsed .sidebar-footer{align-items:center;padding-left:0;padding-right:0}.app-shell.sidebar-collapsed .sidebar-account-row{justify-content:center}.mobile-header,.mobile-account-summary,.mobile-header-actions{display:none}.topbar-inner{flex-wrap:wrap;align-items:center;gap:24px;max-width:1280px;margin:0 auto;padding:12px 24px;display:flex}.brand{color:var(--text);white-space:nowrap;align-items:center;gap:10px;font-size:17px;font-weight:700;text-decoration:none;display:flex}.brand:hover{color:var(--primary-dark);text-decoration:none}.brand-mark{background:linear-gradient(135deg, var(--primary), #5aad72);color:#fff;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-size:14px;font-weight:800;display:flex}.brand-sub{color:var(--muted);margin-left:2px;font-size:12px;font-weight:500}.nav{flex-wrap:wrap;flex:1;gap:4px;display:flex}.nav a,.nav .disabled{color:var(--text-secondary);border-radius:8px;align-items:center;gap:10px;padding:8px 14px;font-size:14px;font-weight:500;text-decoration:none;display:inline-flex}.nav-icon{color:currentColor;flex:0 0 18px;place-items:center;display:inline-grid}.nav-icon svg{display:block}.nav a:hover{background:var(--primary-light);color:var(--primary-dark);text-decoration:none}.nav a.active{background:var(--primary-light);color:var(--primary-dark);font-weight:600}.nav a.disabled,.nav .disabled{color:#b8c0b4;cursor:not-allowed;pointer-events:none}.nav a.disabled:after,.nav .disabled:after{content:"后做";color:#999;background:#eee;border-radius:4px;margin-left:4px;padding:1px 5px;font-size:10px}.nav-toggle{border:1px solid var(--line);background:var(--card);color:var(--text-secondary);cursor:pointer;border-radius:8px;align-items:center;gap:3px;min-height:36px;padding:0 9px;display:none}.nav-toggle>span:not(.nav-toggle-label){background:currentColor;border-radius:2px;width:16px;height:2px;display:block}.nav-toggle-label{margin-left:4px;font-size:13px;font-weight:600}.topbar-right{align-items:center;gap:12px;margin-left:auto;display:flex}.store-chip{background:var(--warm-light);color:var(--warm);border:1px solid #f0dcc8;border-radius:20px;padding:5px 12px;font-size:13px;font-weight:600}.user-chip{color:var(--text-secondary);font-size:13px}.user-chip a,.topbar a.quiet{color:var(--text-secondary);font-size:13px;text-decoration:none}.user-chip a:hover,.topbar a.quiet:hover{color:var(--primary-dark)}.main{max-width:1280px;margin:0 auto;padding:20px 24px 48px}.calendar-quick-add{position:relative}.calendar-quick-trigger{min-height:40px;padding:8px 13px;font-size:13px;box-shadow:0 2px 5px #2149301a}.calendar-quick-overlay{z-index:140;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1b261e61;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.calendar-quick-backdrop{cursor:default;background:0 0;border:0;width:100%;height:100%;position:absolute;inset:0}.calendar-quick-panel{z-index:1;background:var(--card);border:1px solid #dfe7dc;border-radius:18px;width:min(560px,100%);max-height:min(760px,100dvh - 48px);padding:22px;position:relative;overflow-y:auto;box-shadow:0 24px 70px #1b261e3d}.calendar-quick-heading{border-bottom:1px solid #e8ede5;justify-content:space-between;align-items:center;gap:14px;padding-bottom:16px;display:flex}.calendar-quick-heading>div{align-items:center;gap:12px;min-width:0;display:flex}.calendar-quick-heading strong{font-size:18px}.calendar-quick-heading p{color:var(--muted);margin:3px 0 0;font-size:12px}.calendar-quick-icon{width:38px;height:38px;color:var(--primary-dark);background:#eef7f0;border:1px solid #d6e8db;border-radius:12px;flex:0 0 38px;place-items:center;display:grid}.calendar-quick-form{padding-top:14px}.calendar-quick-fields{grid-template-columns:1fr 1fr;gap:0 12px;display:grid}.calendar-quick-fields .field{min-width:0}.calendar-quick-fields .field>span,.calendar-customer-field>label{color:var(--text-secondary);font-size:13px;font-weight:600}.calendar-quick-fields .field>input,.calendar-quick-fields .field>select,.calendar-customer-search-wrap>input,.calendar-quick-fields .field>textarea{box-sizing:border-box;border:1px solid var(--line);width:100%;min-width:0;min-height:38px;color:var(--text);font:inherit;background:#fff;border-radius:8px;padding:7px 12px;font-size:14px;transition:border-color .14s,box-shadow .14s}.calendar-quick-fields .field>textarea{resize:vertical;min-height:88px}.calendar-quick-fields .field>input::placeholder,.calendar-customer-search-wrap>input::placeholder,.calendar-quick-fields .field>textarea::placeholder{color:var(--muted)}.calendar-quick-fields .field>input:focus,.calendar-quick-fields .field>select:focus,.calendar-customer-search-wrap>input:focus,.calendar-quick-fields .field>textarea:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #3d8b5a21}.calendar-customer-field,.calendar-note-field{grid-column:1/-1}.calendar-customer-search-wrap{position:relative}.calendar-customer-options{z-index:2;background:#fff;border:1px solid #dfe7dc;border-radius:12px;max-height:240px;padding:5px;position:absolute;top:calc(100% + 5px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 28px #1f2a1a29}.calendar-customer-options button{width:100%;min-height:44px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex}.calendar-customer-options button:hover,.calendar-customer-options button[aria-selected=true]{background:#edf6ef}.calendar-customer-options button strong{font-size:14px}.calendar-customer-options button span,.calendar-customer-empty{color:var(--muted);font-size:12px}.calendar-customer-empty{margin:0;padding:12px}.calendar-quick-actions{border-top:1px solid #e8ede5;justify-content:flex-end;gap:8px;margin-top:14px;padding-top:12px;display:flex}.calendar-page .page-header{align-items:center}.calendar-page-actions{justify-content:flex-end;align-items:center;gap:14px;display:flex}.calendar-total{color:var(--muted);align-items:center;gap:6px;font-size:13px;display:inline-flex}.calendar-list-section{margin-bottom:16px}.calendar-entry-list{display:grid}.calendar-entry{border-top:1px solid #edf0e9;grid-template-columns:minmax(150px,190px) minmax(0,1fr) auto;align-items:start;gap:14px;padding:14px 0;display:grid}.calendar-entry:first-child{border-top:0;padding-top:0}.calendar-entry-date{color:var(--text-secondary);flex-direction:column;gap:2px;font-size:13px;display:flex}.calendar-entry-date strong{color:var(--text);font-size:14px}.calendar-entry-heading{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.calendar-assignee-field{grid-column:1/-1}.calendar-assignee-tag{width:fit-content;color:var(--text-secondary);white-space:nowrap;background:#f5f8f3;border:1px solid #e2eadf;border-radius:999px;align-items:center;padding:3px 8px;font-size:12px;font-weight:600;line-height:1.35;display:inline-flex}.calendar-type-tag{white-space:nowrap;border-radius:999px;align-items:center;padding:3px 8px;font-size:12px;font-weight:700;display:inline-flex}.calendar-type-联系{color:#3d719f;background:#eaf4fb}.calendar-type-跟进{color:var(--primary-dark);background:#e8f5ec}.calendar-type-备注{color:#9b602d;background:#fff3e6}.calendar-customer-link{color:var(--primary-dark);align-items:baseline;gap:8px;font-weight:700;text-decoration:none;display:inline-flex}.calendar-customer-link small{color:var(--muted);font-size:12px;font-weight:500}.calendar-entry-content p{color:var(--text-secondary);white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0}.calendar-entry-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.calendar-entry-action,.calendar-entry-delete-form{margin:0}.calendar-entry-action .btn,.calendar-entry-delete{white-space:nowrap;gap:5px}.calendar-entry-delete{color:#a94e43;background:#fff8f6;border-color:#f0d4cf}.calendar-entry-delete:hover{background:#fff0ed;border-color:#e9bcb4}.calendar-entry.is-completed .calendar-entry-content{opacity:.65}.calendar-entry-past{color:var(--muted)}.calendar-empty{min-height:170px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex}.calendar-empty strong{color:var(--text-secondary)}.dashboard-calendar-card .card-title{margin-bottom:6px}.dashboard-calendar-list{display:grid}.dashboard-calendar-row{border-top:1px solid #edf0e9;grid-template-columns:74px auto minmax(0,1fr) auto;align-items:start;gap:10px;padding:10px 0;display:grid}.dashboard-calendar-row:first-child{border-top:0}.dashboard-calendar-row time{color:var(--muted);flex-direction:column;font-size:12px;line-height:1.35;display:flex}.dashboard-calendar-row time strong{color:var(--text);font-size:14px}.dashboard-calendar-copy{min-width:0}.dashboard-calendar-action{margin:0}.dashboard-calendar-action .btn{min-height:30px;padding:4px 10px;font-size:12px}.dashboard-calendar-done{white-space:nowrap}.dashboard-calendar-copy>a,.dashboard-calendar-copy>strong{color:var(--primary-dark);font-size:14px;font-weight:700}.dashboard-calendar-copy p{color:var(--text-secondary);overflow-wrap:anywhere;margin:2px 0 0;font-size:13px}.dashboard-calendar-row.is-completed .dashboard-calendar-copy{opacity:.62}@media (max-width:900px){.desktop-sidebar{display:none}.app-content,.app-shell.sidebar-collapsed .app-content{margin-left:0}.mobile-header{z-index:80;display:block}.calendar-quick-overlay{padding:calc(12px + env(safe-area-inset-top,0px)) 10px calc(12px + env(safe-area-inset-bottom,0px));align-items:start}.calendar-quick-panel{width:100%;max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));border-radius:16px;padding:17px 15px}.calendar-quick-fields{grid-template-columns:minmax(0,1fr)}.calendar-quick-fields .calendar-customer-field,.calendar-quick-fields .calendar-note-field{grid-column:1}.calendar-quick-actions{background:var(--card);margin:14px -15px -17px;padding:12px 15px 14px;position:sticky;bottom:-17px}.calendar-page-actions{flex-wrap:wrap;gap:8px}.calendar-page .page-header{align-items:flex-start}.calendar-entry{grid-template-columns:minmax(0,1fr) auto;gap:7px 10px}.calendar-entry-date{flex-direction:row;grid-column:1/-1;align-items:baseline;gap:8px}.calendar-entry-content{grid-area:2/1}.calendar-entry-actions{flex-direction:column;grid-area:2/2;align-items:flex-end}.calendar-entry-action .btn{padding:5px 8px;font-size:12px}.calendar-entry-heading{gap:5px}.calendar-customer-link{flex-wrap:wrap;gap:4px}.mobile-topbar-inner{flex-wrap:nowrap;align-items:center;gap:8px;padding:8px 12px;display:flex}.mobile-topbar-inner>.brand{flex:none;gap:7px;min-width:0;font-size:17px}.brand-mark{width:30px;height:30px}.brand-sub{display:none}.mobile-account-summary{min-width:0;color:var(--text-secondary);white-space:nowrap;flex:auto;align-items:baseline;gap:4px;font-size:12px;display:flex;overflow:hidden}.mobile-account-name{text-overflow:ellipsis;min-width:0;color:var(--text);flex:auto;font-weight:650;text-decoration:none;overflow:hidden}.mobile-account-name:hover{color:var(--primary-dark)}.mobile-account-role{color:var(--muted);flex:none;font-size:11px}.mobile-account-summary a{color:var(--primary-dark);flex:none;font-size:11px;text-decoration:none}.mobile-header-actions{flex:none;align-items:center;gap:4px;display:flex}.mobile-icon-button,.nav-toggle{border:1px solid var(--line);background:var(--card);width:38px;height:38px;min-height:38px;color:var(--text-secondary);cursor:pointer;border-radius:10px;place-items:center;padding:0;display:inline-grid}.mobile-icon-button:hover,.nav-toggle:hover{color:var(--primary-dark);background:var(--primary-light);border-color:#c8dfcf}.mobile-icon-button svg,.nav-toggle svg{display:block}.mobile-logout{display:flex}.mobile-nav-menu{position:relative}.nav-toggle{list-style:none}.nav-toggle::-webkit-details-marker{display:none}.nav-toggle::marker{content:""}.nav-toggle-open-icon{display:block}.nav-toggle-close-icon{display:none!important}.mobile-nav-menu[open]>.nav-toggle .nav-toggle-open-icon{display:none}.mobile-nav-menu[open]>.nav-toggle .nav-toggle-close-icon{display:block!important}.nav-mobile{z-index:1;border:1px solid var(--line);background:var(--card);border-radius:12px;flex-flow:column;flex:none;gap:4px;width:min(300px,100vw - 24px);max-height:calc(100dvh - 72px);padding:8px;display:none;position:absolute;top:calc(100% + 8px);right:0;overflow:auto;box-shadow:0 12px 36px #1f2a1a2e}.mobile-nav-menu[open]>.nav-mobile{display:flex}.nav-mobile a,.nav-mobile .disabled{width:100%;min-height:42px;padding:10px 12px}.nav-mobile .nav-group{width:100%}.nav-mobile .nav-subnav{width:calc(100% - 24px);margin-left:24px;padding-left:8px}.nav-mobile .nav-subnav a{min-height:38px;padding:8px 10px}.main{padding:16px 12px 40px}.store-chip{display:none}}.mobile-icon-button{font:inherit}.mobile-logout{margin:0}.mobile-customer-search-trigger{display:none}.mobile-customer-search-overlay{z-index:220;padding:calc(env(safe-area-inset-top,0px) + 8px) 12px 12px;background:#18221957;justify-content:center;align-items:flex-start;display:flex;position:fixed;inset:0}.mobile-customer-search-dialog{border:1px solid var(--line);background:var(--card);border-radius:15px;width:min(560px,100%);max-height:min(62dvh,560px);overflow:hidden;box-shadow:0 14px 40px #1f2a1a33}.mobile-customer-search-field{border-bottom:1px solid var(--line);min-height:50px;color:var(--muted);align-items:center;gap:9px;padding:0 8px 0 14px;display:flex}.mobile-customer-search-field:focus-within{box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--primary) 22%, transparent)}.mobile-customer-search-field input{width:100%;min-width:0;min-height:48px;color:var(--text);font:inherit;background:0 0;border:0;outline:0;font-size:16px}.mobile-customer-search-field input::placeholder{color:var(--muted)}.mobile-customer-search-close{width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:none;place-items:center;display:grid}.mobile-customer-search-close:hover{background:var(--primary-light);color:var(--primary-dark)}.mobile-customer-search-results{overscroll-behavior:contain;max-height:min(52dvh,480px);overflow:auto}.mobile-customer-search-results>p{color:var(--muted);margin:0;padding:18px 16px;font-size:13px}.mobile-customer-search-result{border-bottom:1px solid #edf0e9;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:9px 16px;display:flex;color:var(--text)!important;text-decoration:none!important}.mobile-customer-search-result:last-child{border-bottom:0}.mobile-customer-search-result:active,.mobile-customer-search-result:hover{background:var(--primary-light)}.mobile-customer-search-result>span:first-child{align-items:baseline;gap:8px;min-width:0;display:flex}.mobile-customer-search-result strong{color:var(--primary-dark);text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.mobile-customer-search-result small,.mobile-customer-search-phone{color:var(--muted);white-space:nowrap;font-size:12px}@media (max-width:900px){.mobile-customer-search-trigger{display:inline-grid}}.desktop-ai-entry-trigger{z-index:60;border:1px solid var(--primary);background:var(--primary);color:#fff;cursor:pointer;border-radius:15px;place-items:center;width:50px;height:50px;padding:0;transition:transform .14s,box-shadow .14s,background .14s;display:grid;position:fixed;bottom:24px;right:28px;box-shadow:0 8px 24px #1f56343d}.desktop-ai-entry-trigger:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 11px 28px #1f56344d}.desktop-ai-entry-trigger:focus-visible{outline-offset:3px;outline:3px solid #3d8b5a4d}@media (max-width:900px){.desktop-ai-entry-trigger{display:none}}.ai-entry-backdrop{z-index:200;padding:max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#141f1575;place-items:center;display:grid;position:fixed;inset:0}.ai-entry-dialog{border:1px solid var(--line);background:var(--card);border-radius:16px;flex-direction:column;width:min(560px,100%);max-height:min(820px,100dvh - 24px);display:flex;overflow:hidden;box-shadow:0 24px 80px #141f153d}.ai-entry-head{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:18px 20px;display:flex}.ai-entry-mark,.ai-entry-result-icon{background:var(--primary-light);width:42px;height:42px;color:var(--primary);border-radius:12px;flex:none;place-items:center;display:grid}.ai-entry-head h2{color:var(--text);margin:0;font-size:18px;line-height:1.35}.ai-entry-head p{color:var(--muted);margin:3px 0 0;font-size:12px}.ai-entry-close{width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:none;place-items:center;margin-left:auto;display:grid}.ai-entry-close:hover{background:var(--bg);color:var(--text)}.ai-entry-body{overscroll-behavior:contain;padding:18px 20px;overflow:auto}.ai-entry-label{color:var(--text);justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:8px;font-size:14px;font-weight:650;display:flex}.ai-entry-label span{color:var(--muted);font-size:12px;font-weight:400}.ai-entry-textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:138px;color:var(--text);font:inherit;background:#fff;border-radius:10px;padding:12px 14px;font-size:15px;line-height:1.6;display:block}.ai-entry-textarea::placeholder{color:#9aa397}.ai-entry-textarea:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #3d8b5a21}.ai-entry-text-meta{color:var(--muted);justify-content:space-between;gap:10px;margin-top:7px;font-size:11px;display:flex}.ai-entry-submit{border:1px solid var(--primary);background:var(--primary);color:#fff;width:100%;min-height:44px;font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-top:14px;font-size:14px;font-weight:650;display:flex}.ai-entry-submit:hover:not(:disabled){border-color:var(--primary-dark);background:var(--primary-dark)}.ai-entry-submit:disabled{opacity:.7;cursor:wait}.ai-entry-spinner{border:2px solid #ffffff73;border-top-color:#fff;border-radius:50%;width:16px;height:16px;animation:.8s linear infinite ai-entry-spin}@keyframes ai-entry-spin{to{transform:rotate(360deg)}}.ai-entry-error{background:var(--warn-bg);color:#a3432b;border:1px solid #f0d2ca;border-radius:9px;align-items:flex-start;gap:8px;margin-top:12px;padding:10px 12px;font-size:13px;display:flex}.ai-entry-error svg{flex:none;margin-top:2px}.ai-entry-toast{z-index:220;color:#a6533b;background:#fff;border:1px solid #ead5d0;border-radius:10px;align-items:center;gap:9px;width:max-content;max-width:min(420px,100vw - 32px);padding:12px 14px;font-size:14px;line-height:1.5;animation:.16s ease-out intelligence-toast-appear;display:flex;position:fixed;bottom:20px;right:20px;box-shadow:0 8px 24px #1f2a1a2e}.ai-entry-toast>svg{flex:none}.ai-entry-toast>span{overflow-wrap:anywhere}.ai-entry-result{background:#fbfefb;border:1px solid #d7e9dc;border-radius:12px;margin-top:16px;padding:14px}.ai-entry-result-heading{align-items:center;gap:10px;display:flex}.ai-entry-result-icon{border-radius:9px;width:32px;height:32px}.ai-entry-result-heading small,.ai-entry-result-heading strong{display:block}.ai-entry-result-heading small{color:var(--muted);font-size:11px}.ai-entry-result-heading strong{color:var(--primary-dark);margin-top:1px;font-size:14px}.ai-entry-confidence{background:var(--primary-light);color:var(--primary-dark);white-space:nowrap;border-radius:20px;margin-left:auto;padding:4px 8px;font-size:11px}.ai-entry-summary{color:var(--text-secondary);margin:12px 0;font-size:13px;line-height:1.6}.ai-entry-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0;display:grid}.ai-entry-fields>div{background:#f3f7f2;border-radius:8px;min-width:0;padding:8px 9px}.ai-entry-fields dt{color:var(--muted);font-size:11px}.ai-entry-fields dd{overflow-wrap:anywhere;color:var(--text);margin:4px 0 0;font-size:13px;font-weight:550}.ai-entry-edit-input{border:1px solid var(--line);width:100%;min-height:34px;color:var(--text);font:inherit;background:#fff;border-radius:7px;padding:6px 8px;font-size:13px;font-weight:450;display:block}.ai-entry-edit-input:focus,.ai-entry-customer-fields input:focus,.ai-entry-customer-fields select:focus,.ai-entry-customer-fields textarea:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 2px #3d8b5a1f}.ai-entry-customers{gap:8px;display:grid}.ai-entry-customer-toolbar{justify-content:space-between;align-items:center;gap:10px;display:flex}.ai-entry-customer-toolbar strong{color:var(--text);font-size:13px}.ai-entry-customer-toolbar strong span{color:var(--muted);margin-left:5px;font-weight:450}.ai-entry-customer-toolbar button{border:1px solid var(--line);min-height:32px;color:var(--primary-dark);font:inherit;cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:5px;padding:0 9px;font-size:12px;display:inline-flex}.ai-entry-customer-toolbar button:disabled{opacity:.55;cursor:not-allowed}.ai-entry-customer-row{border:1px solid var(--line);background:#fff;border-radius:10px;transition:border-color .14s,box-shadow .14s;overflow:hidden}.ai-entry-customer-row.is-expanded{border-color:#c6ddcc;box-shadow:0 2px 8px #1f56340f}.ai-entry-customer-row-head{align-items:stretch;gap:4px;padding:4px 7px 4px 5px;display:flex}.ai-entry-customer-toggle{min-width:0;min-height:52px;color:var(--text);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;flex:auto;grid-template-columns:30px minmax(0,1fr) minmax(0,1fr) auto 16px;align-items:center;gap:9px;padding:6px 4px;display:grid}.ai-entry-customer-toggle:hover{background:#f7faf6}.ai-entry-customer-number{background:var(--primary-light);width:27px;height:27px;color:var(--primary-dark);font-variant-numeric:tabular-nums;border-radius:8px;place-items:center;font-size:10px;font-weight:700;display:grid}.ai-entry-customer-summary{gap:3px;min-width:0;display:grid}.ai-entry-customer-summary strong,.ai-entry-customer-summary>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ai-entry-customer-summary strong{align-items:center;gap:5px;font-size:13px;font-weight:650;display:flex}.ai-entry-customer-summary strong>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.ai-entry-customer-age{color:var(--primary-dark);background:#edf7ef;border-radius:10px;flex:none;padding:2px 5px;font-size:10px;font-weight:600;line-height:1.35}.ai-entry-customer-summary>span{color:var(--text-secondary);font-variant-numeric:tabular-nums;font-size:13px;font-weight:600}.ai-entry-customer-summary>.ai-entry-customer-note{color:var(--text-secondary);text-overflow:ellipsis;white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;font-weight:450;line-height:1.35;display:-webkit-box;overflow:hidden}.ai-entry-customer-secondary{min-width:0;color:var(--text-secondary);gap:7px;font-size:11px;display:flex}.ai-entry-customer-secondary span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ai-entry-customer-status{color:var(--primary-dark);white-space:nowrap;background:#edf7ef;border-radius:20px;padding:4px 7px;font-size:10px}.ai-entry-customer-status.needs-attention{color:#9b5c23;background:#fff3e7}.ai-entry-customer-chevron{color:var(--muted);transition:transform .14s}.ai-entry-customer-row.is-expanded .ai-entry-customer-chevron{transform:rotate(180deg)}.ai-entry-customer-delete{width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;align-self:center;place-items:center;padding:0;display:grid}.ai-entry-customer-delete:hover:not(:disabled){color:#a3432b;background:#fff3ef}.ai-entry-customer-delete:disabled{opacity:.45;cursor:not-allowed}.ai-entry-customer-details{border-top:1px solid var(--line);background:#fbfdfb;padding:10px}.ai-entry-customer-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px;display:grid}.ai-entry-customer-fields label{min-width:0;color:var(--text-secondary);gap:4px;font-size:11px;font-weight:600;display:grid}.ai-entry-customer-fields label i{color:#c34738;font-style:normal}.ai-entry-customer-fields input,.ai-entry-customer-fields select,.ai-entry-customer-fields textarea{border:1px solid var(--line);width:100%;min-height:34px;color:var(--text);font:inherit;background:#fff;border-radius:7px;padding:6px 8px;font-size:13px;font-weight:450}.ai-entry-customer-fields textarea{resize:vertical}.ai-entry-customer-fields .ai-entry-customer-referrer{grid-column:1/-1}.ai-entry-customer-fields .ai-entry-referrer-picker{width:100%}.ai-entry-customer-referrer-summary{color:var(--primary-dark)!important;font-size:11px!important;font-weight:550!important}.ai-entry-customer-note{grid-column:1/-1}.ai-entry-inventory{gap:8px;display:grid}.ai-entry-inventory-table{gap:5px;display:grid}.ai-entry-inventory-table-head,.ai-entry-inventory-toggle{grid-template-columns:27px minmax(0,1.5fr) minmax(70px,.65fr) minmax(72px,.8fr) minmax(86px,.9fr) auto 16px;align-items:center;gap:8px;display:grid}.ai-entry-inventory-table-head{color:var(--muted);padding:0 10px;font-size:10px;font-weight:650}.ai-entry-inventory-row{border:1px solid var(--line);background:#fff;border-radius:10px;transition:border-color .14s,box-shadow .14s;overflow:hidden}.ai-entry-inventory-row.is-expanded{border-color:#c6ddcc;box-shadow:0 2px 8px #1f56340f}.ai-entry-inventory-row-head{align-items:stretch;gap:4px;padding:3px 6px 3px 4px;display:flex}.ai-entry-inventory-toggle{min-width:0;min-height:52px;color:var(--text);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;flex:auto;padding:6px 4px}.ai-entry-inventory-toggle:hover{background:#f7faf6}.ai-entry-inventory-product-summary,.ai-entry-inventory-quantity-summary,.ai-entry-inventory-current-summary,.ai-entry-inventory-difference-summary{gap:3px;min-width:0;display:grid}.ai-entry-inventory-product-summary strong,.ai-entry-inventory-product-summary small,.ai-entry-inventory-quantity-summary strong,.ai-entry-inventory-current-summary strong,.ai-entry-inventory-difference-summary strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ai-entry-inventory-product-summary strong{color:var(--text);font-size:12px;font-weight:650}.ai-entry-inventory-product-summary small,.ai-entry-inventory-quantity-summary small,.ai-entry-inventory-current-summary small,.ai-entry-inventory-difference-summary small{color:var(--muted);font-size:10px}.ai-entry-inventory-product-summary small.ai-entry-inventory-mobile-summary{display:none}.ai-entry-inventory-quantity-summary strong,.ai-entry-inventory-current-summary strong,.ai-entry-inventory-difference-summary strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:11px;font-weight:550}.ai-entry-inventory-quantity-summary i{color:var(--muted);font-style:normal;font-weight:450}.ai-entry-inventory-difference-summary.surplus strong{color:#247643}.ai-entry-inventory-difference-summary.shortage strong{color:#a64030}.ai-entry-inventory-row-head .ai-entry-inventory-status{margin-left:0}.ai-entry-inventory-status{color:#92591f;background:#fff3e7;border-radius:20px;margin-left:6px;padding:3px 7px;font-size:10px;font-weight:550}.ai-entry-inventory-status.matched{color:#247643;background:#eaf6ed}.ai-entry-inventory-status.unmatched{color:#a64030;background:#fff0ed}.ai-entry-inventory-details{border-top:1px solid var(--line);background:#fbfdfb}.ai-entry-inventory-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px;padding:10px;display:grid}.ai-entry-inventory-fields label{min-width:0;color:var(--text-secondary);gap:4px;font-size:11px;font-weight:600;display:grid}.ai-entry-inventory-fields input,.ai-entry-inventory-fields textarea{border:1px solid var(--line);width:100%;min-height:34px;color:var(--text);font:inherit;background:#fff;border-radius:7px;padding:6px 8px;font-size:13px;font-weight:450}.ai-entry-inventory-fields textarea{resize:vertical}.ai-entry-inventory-fields input:focus,.ai-entry-inventory-fields textarea:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 2px #3d8b5a1f}.ai-entry-inventory-note,.ai-entry-inventory-overall-note{grid-column:1/-1}.ai-entry-inventory-resolution{grid-column:1/-1;align-items:end;gap:8px;display:flex}.ai-entry-inventory-resolution>label{flex:auto}.ai-entry-inventory-resolution .ai-entry-inventory-rematch{border:1px solid var(--line);min-height:34px;color:var(--primary-dark);font:inherit;cursor:pointer;background:#fff;border-radius:7px;flex:none;padding:0 11px;font-size:12px}.ai-entry-inventory-resolution .ai-entry-inventory-rematch:disabled{opacity:.55;cursor:not-allowed}.ai-entry-inventory-no-match{min-height:34px;color:var(--muted);padding:8px 2px;font-size:12px;font-weight:450;display:block}.ai-entry-inventory-stock-summary{background:#f2f7f1;border-radius:8px;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:9px 10px;display:grid}.ai-entry-inventory-stock-summary span{gap:3px;min-width:0;display:grid}.ai-entry-inventory-stock-summary small{color:var(--muted);font-size:10px}.ai-entry-inventory-stock-summary strong{overflow-wrap:anywhere;color:var(--text);font-size:12px}.ai-entry-inventory-stock-summary strong.surplus{color:#247643}.ai-entry-inventory-stock-summary strong.shortage{color:#a64030}.ai-entry-inventory-warning{color:#965920;grid-column:1/-1;margin:0;font-size:11px;line-height:1.45}.ai-entry-inventory-confirm{grid-column:1/-1;align-items:flex-start;line-height:1.45;color:#8b541b!important;gap:7px!important;font-size:11px!important;font-weight:500!important;display:flex!important}.ai-entry-inventory-confirm input{width:15px;min-height:15px;accent-color:var(--primary);flex:none;margin:1px 0 0}.ai-entry-inventory-meta{margin-top:2px}.ai-entry-batch-hint,.ai-entry-no-customers{color:var(--muted);margin:0;font-size:11px;line-height:1.5}.ai-entry-validation{background:var(--warn-bg);color:#a3432b;border-radius:8px;margin:0;padding:8px 10px;font-size:12px;line-height:1.5}.ai-entry-success{color:var(--primary-dark);background:#f0faf2;border:1px solid #cce4d2;border-radius:9px;align-items:center;gap:7px;margin-top:12px;padding:10px 12px;font-size:13px;display:flex}.ai-entry-foot .ai-entry-save{border-color:var(--primary);background:var(--primary);color:#fff;justify-content:center;align-items:center;gap:7px;min-height:38px;font-size:12px;font-weight:650;display:inline-flex}.ai-entry-foot .ai-entry-save:hover:not(:disabled){border-color:var(--primary-dark);background:var(--primary-dark)}.ai-entry-foot .ai-entry-save:disabled{opacity:.5;cursor:not-allowed}.ai-entry-warnings{background:var(--warm-light);color:#905823;border-radius:8px;margin-top:11px;padding:9px 10px;font-size:12px}.ai-entry-warnings strong{margin-bottom:3px;display:block}.ai-entry-warnings p{margin:2px 0 0}.ai-entry-draft-note{color:var(--muted);margin:11px 0 0;font-size:11px}.ai-entry-foot{padding:10px 20px max(12px, env(safe-area-inset-bottom));border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:11px;display:flex}.ai-entry-foot button{border:1px solid var(--line);min-height:34px;color:var(--text);font:inherit;cursor:pointer;background:#fff;border-radius:8px;padding:0 14px}@media (max-width:560px){.ai-entry-dialog{border-radius:14px;max-height:calc(100dvh - 16px)}.ai-entry-toast{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));width:auto;max-width:none;left:12px}.ai-entry-head,.ai-entry-body{padding:14px 15px}.ai-entry-textarea{min-height:118px}.ai-entry-fields{grid-template-columns:minmax(0,1fr)}.ai-entry-customer-toggle{grid-template-columns:27px minmax(0,1fr) auto 16px;gap:7px}.ai-entry-customer-secondary{display:none}.ai-entry-customer-fields{grid-template-columns:minmax(0,1fr)}.ai-entry-inventory-table-head,.ai-entry-inventory-toggle{grid-template-columns:23px minmax(0,1fr) minmax(52px,auto) 15px;gap:6px}.ai-entry-inventory-table-head>:nth-child(4),.ai-entry-inventory-table-head>:nth-child(5),.ai-entry-inventory-table-head>:nth-child(6),.ai-entry-inventory-row .ai-entry-inventory-current-summary,.ai-entry-inventory-row .ai-entry-inventory-difference-summary,.ai-entry-inventory-row .ai-entry-inventory-status{display:none}.ai-entry-inventory-product-summary small.ai-entry-inventory-mobile-summary{display:block}.ai-entry-inventory-fields,.ai-entry-inventory-stock-summary{grid-template-columns:minmax(0,1fr)}.ai-entry-inventory-resolution{flex-direction:column;align-items:stretch}.ai-entry-inventory-resolution .ai-entry-inventory-rematch{min-height:38px}.ai-entry-foot{padding-left:15px;padding-right:15px}}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.page-header h1{letter-spacing:-.02em;margin:0;font-size:24px;font-weight:700}.page-header .meta{color:var(--muted);margin-top:4px;font-size:13px}.page-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.account-create-actions{margin-left:auto}.account-create-actions .inline-feedback{margin:0 4px 0 0}.account-create-modal{width:min(680px,100%)}.account-create-form-actions{justify-content:flex-end;margin-top:4px}.btn{border:1px solid var(--line);background:var(--card);color:var(--text);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:8px 16px;font-family:inherit;font-size:14px;font-weight:500;line-height:1.4;text-decoration:none;display:inline-flex}.btn:hover{background:var(--bg);border-color:#cdd5c8;text-decoration:none}.btn-primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark);border-color:var(--primary-dark);color:#fff}.btn-warm{background:var(--warm);border-color:var(--warm);color:#fff}.btn-warm:hover{color:#fff;background:#a86428}.btn-ghost{background:0 0}.btn-sm{padding:5px 10px;font-size:13px}.btn:disabled,.btn.disabled{opacity:.45;cursor:not-allowed}button.btn{color:var(--text)}button.btn.btn-primary,button.btn.btn-warm{color:#fff}a.btn{color:var(--text)}a.btn.btn-primary,a.btn.btn-warm{color:#fff}a.btn:hover{text-decoration:none}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px 20px}.card-title{justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;font-size:15px;font-weight:650;display:flex}.card-title .hint{color:var(--muted);font-size:12px;font-weight:500}.section-gap{margin-bottom:18px}.kpi-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}@media (max-width:1100px){.kpi-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:640px){.kpi-grid{grid-template-columns:repeat(2,1fr)}}.kpi{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px 18px}.main a.kpi{color:var(--text)}.main a.kpi:hover{box-shadow:var(--shadow);transform:translateY(-1px)}.kpi-label{color:var(--text-secondary);margin-bottom:6px;font-size:13px;font-weight:500}.kpi-value{letter-spacing:-.03em;font-size:26px;font-weight:700;line-height:1.2}.kpi-sub{color:var(--muted);margin-top:6px;font-size:12px}.kpi-sub.up{color:var(--primary)}.kpi-sub.down{color:var(--warn)}.kpi.accent{background:linear-gradient(#f4faf6 0%,#fff 100%);border-color:#c5e0cf}.kpi.warm{background:linear-gradient(#fef8f2 0%,#fff 100%);border-color:#f0dcc8}.grid-2{grid-template-columns:1.2fr 1fr;gap:18px;margin-bottom:18px;display:grid}@media (max-width:960px){.grid-2{grid-template-columns:1fr}}.funnel{flex-direction:column;gap:8px;display:flex}.funnel-row{grid-template-columns:88px 1fr 56px 72px;align-items:center;gap:10px;font-size:14px;display:grid}.funnel-label{color:var(--text-secondary);font-weight:500}.funnel-bar-wrap{background:#eef2eb;border-radius:6px;height:28px;overflow:hidden}.funnel-bar{border-radius:6px;min-width:4px;height:100%}.funnel-bar.stage-0{background:linear-gradient(90deg,#7a9e84,#9bb8a4)}.funnel-bar.stage-1{background:linear-gradient(90deg,#3d8b5a,#5aad72)}.funnel-bar.stage-2{background:linear-gradient(90deg,#3a8a7a,#52b0a0)}.funnel-bar.stage-3{background:linear-gradient(90deg,#4a7ab5,#6a9ad0)}.funnel-bar.stage-4{background:linear-gradient(90deg,#7a6ab0,#9a8ad0)}.funnel-bar.stage-5{background:linear-gradient(90deg,#c4783a,#d9985a)}.funnel-count{text-align:right;font-weight:700}.funnel-pending{color:var(--warm);text-align:right;font-size:12px;font-weight:600;text-decoration:none}a.funnel-pending:hover{text-decoration:underline}.activity-funnel{align-items:stretch;padding:4px 0;display:flex;overflow-x:auto}.af-step{text-align:center;background:var(--bg);border:1px solid var(--line);flex:1;min-width:90px;padding:12px 8px}.af-step:first-child{border-radius:8px 0 0 8px}.af-step:last-child{border-radius:0 8px 8px 0}.af-step+.af-step{border-left:none}.af-step .num{font-size:22px;font-weight:700;line-height:1.2}.af-step .lbl{color:var(--text-secondary);margin-top:4px;font-size:12px}.af-step.highlight{background:var(--primary-light);border-color:#b8dcc6}.af-step.warn-step{background:var(--warn-bg);border-color:#f0c8bc}.result-bars{flex-direction:column;gap:10px;display:flex}.result-row{grid-template-columns:36px 1fr 40px;align-items:center;gap:10px;font-size:14px;display:grid}.result-code{border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;font-size:13px;font-weight:700;display:flex}.result-code.Y{color:#2d6b44;background:#e8f5ec}.result-code.N{color:#666;background:#f0f0f0}.result-code.B{color:#c45c3a;background:#fef0ec}.result-code.L{color:#4a7ab5;background:#eef4fa}.result-code.R{color:#c4783a;background:#fef6ee}.result-code.C{color:#7a5aa0;background:#f3eef8}.result-code.J{color:#a53f32;background:#fae9e6}.result-code.U{color:#c4783a;background:#fef6ee}.result-bar-bg{background:#eef2eb;border-radius:4px;height:18px;overflow:hidden}.result-bar-fill{border-radius:4px;height:100%}.result-bar-fill.Y{background:#3d8b5a}.result-bar-fill.N{background:#9aa396}.result-bar-fill.B{background:#c45c3a}.result-bar-fill.L{background:#4a7ab5}.result-bar-fill.R{background:#c4783a}.result-bar-fill.C{background:#7a5aa0}.result-bar-fill.J{background:#a53f32}.result-bar-fill.U{background:#c4783a}.result-legend{color:var(--muted);flex-wrap:wrap;gap:10px 16px;margin-top:12px;font-size:12px;display:flex}.result-legend span{align-items:center;gap:4px;display:inline-flex}.alert-list{flex-direction:column;gap:8px;display:flex}.alert-item{background:var(--warn-bg);border:1px solid #f0c8bc;border-radius:8px;align-items:flex-start;gap:10px;padding:10px 12px;font-size:14px;display:flex}.alert-item.info{background:var(--info-bg);border-color:#c8daf0}.alert-item.warm{background:var(--warm-light);border-color:#f0dcc8}.alert-icon{text-align:center;flex-shrink:0;width:20px;font-weight:700}.alert-item a{font-weight:600}.dashboard-stock-alert{flex:1;min-width:0}.dashboard-stock-list{gap:5px;margin:8px 0;padding:0;list-style:none;display:grid}.dashboard-stock-list li{border-top:1px solid #b44b3a24;justify-content:space-between;gap:12px;padding-top:5px;display:flex}.dashboard-stock-list li span:last-child{color:var(--danger,#b83e32);white-space:nowrap}.dashboard-stock-list li.low span:last-child,.dashboard-stock-summary{color:#9a5b12}.dashboard-stock-summary{margin-left:10px;font-size:13px}.dashboard-stock-empty{color:var(--muted);margin:5px 0 8px}.dashboard-purchase-stage-card{margin-bottom:18px}.dashboard-purchase-stage-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.dashboard-purchase-stage-item{border:1px solid var(--line);background:#fff;border-radius:10px;min-width:0;padding:12px}.dashboard-purchase-stage-item h3{color:var(--primary-dark);margin:0 0 9px;font-size:15px}.dashboard-purchase-stage-total{border-bottom:1px solid var(--line);color:var(--text-secondary);justify-content:space-between;align-items:baseline;gap:5px;margin-bottom:8px;padding:6px 2px 8px;font-size:12px;font-weight:600;text-decoration:none;display:flex}.dashboard-purchase-stage-total:hover{color:var(--primary-dark);text-decoration:none}.dashboard-purchase-stage-total>span{color:var(--primary-dark);white-space:nowrap;font-size:19px;font-weight:750}.dashboard-purchase-stage-total small{color:var(--muted);margin-left:2px;font-size:10px;font-weight:500}.dashboard-purchase-stage-item dl{gap:5px;margin:0;display:grid}.dashboard-purchase-stage-item dl>div{color:var(--text-secondary);justify-content:space-between;align-items:baseline;gap:6px;font-size:12px;display:flex}.dashboard-purchase-stage-item dt{min-width:0}.dashboard-purchase-stage-item dd{color:var(--text);white-space:nowrap;margin:0;font-size:17px;font-weight:700}.dashboard-purchase-stage-item dd a{color:inherit;text-underline-offset:2px;-webkit-text-decoration:underline #c4d8ca;text-decoration:underline #c4d8ca}.dashboard-purchase-stage-item dd a:hover,.dashboard-purchase-stage-breakdown a:hover{color:var(--primary-dark);text-decoration-color:currentColor}.dashboard-purchase-stage-item dd small{color:var(--muted);margin-left:3px;font-size:10px;font-weight:500}.dashboard-purchase-stage-item .is-pending dd{color:#a86125}.dashboard-purchase-stage-breakdown{color:var(--muted);border-top:1px solid #edf0eb;flex-wrap:wrap;gap:5px;margin-top:9px;padding-top:8px;font-size:10px;display:flex}.dashboard-purchase-stage-breakdown a{color:var(--text-secondary);white-space:nowrap;background:#f5f7f4;border-radius:5px;padding:3px 5px;text-decoration:none}.dashboard-purchase-stage-note{margin:10px 0 0}.dashboard-today-sessions{gap:9px;display:grid}.dashboard-today-session{border:1px solid var(--line);color:var(--text);background:#fff;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 14px;padding:12px 14px;text-decoration:none;display:grid}.dashboard-today-session:hover{background:#fcfefc;border-color:#b8dcc6;text-decoration:none}.dashboard-today-session-heading{flex-wrap:wrap;align-items:baseline;gap:5px 12px;display:flex}.dashboard-today-session-checkins{flex-wrap:wrap;grid-area:1/2;justify-content:flex-end;gap:5px;display:flex}.dashboard-today-session-goods{color:var(--text-secondary);border-top:1px solid #edf0eb;flex-wrap:wrap;grid-column:1/-1;gap:4px 10px;padding-top:7px;font-size:12px;display:flex}.dashboard-today-session-goods>span:first-child{color:var(--muted);font-weight:650}.dashboard-today-session-goods strong{color:var(--primary-dark);font-weight:650}.dashboard-today-session-open{display:none}.dashboard-goods-comparison{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}.dashboard-goods-comparison-title{justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:10px;display:flex}.dashboard-goods-comparison-list{gap:8px;display:grid}.dashboard-goods-comparison-row{grid-template-columns:minmax(100px,1.1fr) minmax(60px,2fr) auto auto;align-items:center;gap:8px;font-size:12px;display:grid}.dashboard-goods-comparison-row>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dashboard-goods-comparison-row>strong{color:var(--primary-dark);white-space:nowrap}.dashboard-goods-comparison-row>small{color:var(--muted);white-space:nowrap}.dashboard-goods-comparison-track{background:#edf1eb;border-radius:999px;height:8px;overflow:hidden}.dashboard-goods-comparison-track>div{border-radius:inherit;background:linear-gradient(90deg,#9acbaa,#398a59);min-width:0;height:100%}@media (max-width:560px){.dashboard-purchase-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.dashboard-purchase-stage-item{padding:10px}.dashboard-purchase-stage-item h3{margin-bottom:7px}.dashboard-purchase-stage-breakdown{gap:4px;font-size:10px}.dashboard-today-session{grid-template-columns:minmax(0,1fr);gap:7px;padding:11px 12px}.dashboard-today-session-checkins{grid-area:auto/1;justify-content:flex-start}.dashboard-today-session-goods{grid-column:1}.dashboard-goods-comparison-title{flex-direction:column;align-items:flex-start;gap:3px}.dashboard-goods-comparison-row{grid-template-columns:minmax(78px,1fr) minmax(40px,1.2fr) auto;gap:6px}.dashboard-goods-comparison-row>small{grid-column:3;justify-self:end;font-size:10px}}.action-stats{grid-template-columns:1fr 1fr;gap:12px;display:grid}.action-box{background:var(--bg);text-align:center;border-radius:8px;padding:14px}.action-box .num{color:var(--primary-dark);font-size:28px;font-weight:700}.action-box .lbl{color:var(--text-secondary);margin-top:4px;font-size:13px}.action-box.warm-box .num{color:var(--warm)}.rule-strip{background:var(--primary-light);color:var(--primary-dark);border:1px solid #c5e0cf;border-radius:8px;margin-bottom:18px;padding:10px 14px;font-size:13px;line-height:1.6}.rule-strip strong{font-weight:650}.filter-bar{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:12px;margin-bottom:16px;padding:14px 16px;display:flex}.filter-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.filter-label{color:var(--muted);min-width:56px;font-size:13px;font-weight:500}.customer-activity-filter{align-items:center;gap:8px;display:inline-flex}.customer-activity-select{min-width:230px;min-height:38px;padding:6px 32px 6px 11px}.customer-filter-row{grid-template-columns:minmax(260px,1.05fr) minmax(330px,1.35fr) minmax(220px,.9fr);grid-template-areas:"activity info sort""search search submit";gap:10px;display:grid}.recent-customer-history{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);flex-wrap:wrap;align-items:center;gap:7px 10px;margin:-4px 0 14px;padding:9px 12px;display:flex}.recent-customer-history-title{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:600}.recent-customer-history-list{flex-wrap:wrap;flex:auto;gap:6px;min-width:0;display:flex}.recent-customer-history-link{max-width:100%;color:var(--primary-dark);background:#f5f9f6;border:1px solid #dce8df;border-radius:999px;align-items:baseline;gap:5px;padding:4px 8px;font-size:12px;text-decoration:none;display:inline-flex}.recent-customer-history-link:hover{background:var(--primary-light);border-color:#a9ceb5}.recent-customer-history-link span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.recent-customer-history-link small{color:var(--muted);white-space:nowrap;font-size:10px}.recent-customer-history-clear{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:3px 5px;font-size:11px}.recent-customer-history-clear:hover{color:var(--primary-dark)}.customer-activity-filter,.customer-sort-filter,.customer-search-filter{grid-template-columns:56px minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid}.customer-activity-filter{grid-area:activity}.customer-sort-filter{grid-area:sort}.customer-search-filter{grid-area:search}.customer-activity-filter .filter-label,.customer-sort-filter .filter-label,.customer-search-filter .filter-label{min-width:0}.customer-activity-select,.customer-sort-filter .select,.customer-search-filter .input{width:100%;min-width:0}.customer-info-filters{border:1px solid var(--line);border-radius:var(--radius);background:#fbfcfa;flex-wrap:wrap;grid-area:info;align-items:center;gap:6px 8px;min-width:0;padding:6px 8px;display:flex}.customer-info-filters>.filter-label{min-width:0}.customer-info-filters>label{border:1px solid var(--line);min-height:28px;color:var(--text-secondary);white-space:nowrap;cursor:pointer;background:#fff;border-radius:6px;align-items:center;gap:5px;padding:3px 7px;font-size:12px;display:inline-flex}.customer-info-filters>label:has(input:checked){background:var(--primary-light);color:var(--primary-dark);border-color:#c5e0cf}.customer-info-filters input{width:15px;height:15px;accent-color:var(--primary);margin:0}.customer-route-current-label,.customer-route-skip-label{margin-top:4px;font-size:11px;display:block}.customer-route-current-label{color:var(--muted)}.customer-companion-tag{vertical-align:middle;text-overflow:ellipsis;white-space:nowrap;max-width:180px;margin-left:5px;display:inline-flex;overflow:hidden}.customer-companion-profile-group{overflow-wrap:anywhere;display:block}.customer-companion-dialog{width:min(680px,100%)}.customer-companion-dialog .meta{margin:4px 0 0;font-size:13px}.customer-companion-search{margin:12px 0 8px}.customer-companion-results{border:1px solid var(--line);background:#fff;border-radius:8px;max-height:min(42vh,340px);overflow:auto}.customer-companion-results>.footnote{padding:0 12px}.customer-companion-option{border-bottom:1px solid var(--line);cursor:pointer;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:42px;padding:7px 12px;display:grid}.customer-companion-option:last-of-type{border-bottom:0}.customer-companion-option:hover{background:var(--primary-light)}.customer-companion-option input{margin:0}.customer-companion-option small{color:var(--muted);font-size:12px}.customer-companion-option-person{gap:2px;min-width:0;display:grid}.customer-companion-option-person>span,.customer-companion-option-person>small{overflow-wrap:anywhere}.customer-companion-option-person>small{font-variant-numeric:tabular-nums}.customer-companion-option.unavailable{color:var(--muted);cursor:not-allowed;background:#fafbf9}.customer-companion-actions{justify-content:flex-end;margin-top:12px}.customer-route-skip-label{color:#8a613d}@media (max-width:1200px){.customer-filter-row{grid-template-columns:minmax(0,1fr) minmax(180px,.85fr);grid-template-areas:"activity sort""info info""search submit"}}@media (max-width:560px){.customer-filter-row{grid-template-columns:minmax(0,1fr);grid-template-areas:"activity""info""sort""search""submit"}.customer-info-filters{gap:6px;padding:7px}.customer-filter-row>button{width:100%}}.chip{border:1px solid var(--line);color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:20px;align-items:center;padding:5px 12px;font-family:inherit;font-size:13px;text-decoration:none;display:inline-flex}.chip:hover{border-color:var(--primary);color:var(--primary);text-decoration:none}.chip.active{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:600}.chip .count{opacity:.75;margin-left:4px;font-size:12px}.select,.input,.textarea{border:1px solid var(--line);color:var(--text);background:#fff;border-radius:8px;min-width:140px;padding:7px 12px;font-family:inherit;font-size:14px}.input{min-width:200px}.textarea{width:100%;min-width:200px}.input:focus,.select:focus,.textarea:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #3d8b5a26}.table-wrap{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:auto}.table-toolbar{border-bottom:1px solid var(--line);color:var(--text-secondary);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;font-size:13px;display:flex}.customer-overview-wrap{scroll-margin-top:84px}.customer-overview-pagination{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow);justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:10px 12px;display:flex}.customer-overview-pagination p{color:var(--text-secondary);margin:0;font-size:13px}.customer-overview-pagination>div{gap:8px;display:flex}.customer-row-selectable{cursor:pointer}.customer-row-selectable:hover{background:#f2f8f4}.customer-row-selectable.selected{background:#edf7f0}.customer-overview-name-line{align-items:center;gap:5px;min-width:0;display:flex}.customer-overview-name-line .name-link{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.customer-priority-toggle-form{flex:none;margin:0}.customer-priority-toggle{color:#9aa294;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;place-items:center;width:28px;height:28px;padding:0;display:inline-grid}.customer-priority-toggle:hover,.customer-priority-toggle:focus-visible{color:#b47720;background:#fff8ea;border-color:#ead8b5}.customer-priority-toggle.is-priority{color:#c4783a}.customer-priority-toggle.is-priority:hover,.customer-priority-toggle.is-priority:focus-visible{color:#a86125;background:#fff8ea;border-color:#ead8b5}.customer-deferred-toggle{color:#9aa294;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;place-items:center;width:28px;height:28px;padding:0;display:inline-grid}.customer-deferred-toggle:hover,.customer-deferred-toggle:focus-visible{color:#69717b;background:#f3f4f6;border-color:#d9dde2}.customer-deferred-toggle.is-deferred{color:#737b86}.customer-deferred-toggle.is-deferred:hover,.customer-deferred-toggle.is-deferred:focus-visible{color:#555e69;background:#eceff2;border-color:#d9dde2}.customer-overview-name-extras{display:contents}.customer-overview-phone-cell{justify-items:start;gap:3px;display:grid}.customer-overview-created-date{color:var(--muted);white-space:nowrap;font-size:11px;line-height:1.3}.customer-overview-phone-batch{white-space:nowrap;background:#f2f8f3;border:1px solid #cfe4d5;border-radius:999px;align-items:center;max-width:100%;padding:1px 6px;font-size:10px;line-height:1.45;display:inline-flex;color:var(--primary-dark)!important}.customer-overview-phone-batch.is-cancelled{background:#fff7f2;border-color:#f1d2c4;color:var(--warn)!important}.customer-overview-name-meta{align-items:center;gap:4px;min-width:0;margin-top:4px;display:flex}.customer-overview-name-meta .customer-list-age{flex:none;margin-left:0}.customer-overview-companion-tags{flex-wrap:wrap;flex:auto;align-items:center;gap:4px;min-width:0;display:flex}.customer-overview-companion-tags .customer-companion-tag{min-width:0;max-width:100%;margin-left:0;font-size:11px}.customer-overview-identity-status{margin-top:4px}.customer-overview-mobile-details-heading,.customer-overview-mobile-details{display:none}.customer-column-settings-count{color:var(--muted);font-size:11px}.customer-column-settings-backdrop{z-index:1600;background:#19221b7a;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.customer-column-settings-panel{border:1px solid var(--line);background:var(--card);border-radius:16px;grid-template-rows:auto minmax(0,1fr) auto;gap:14px;width:min(100%,520px);max-height:min(88dvh,760px);padding:20px;display:grid;box-shadow:0 20px 56px #19221b3d}.customer-column-settings-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.customer-column-settings-heading h2{margin:0;font-size:18px}.customer-column-settings-heading p{color:var(--muted);margin:5px 0 0;font-size:13px;line-height:1.5}.customer-column-settings-list{align-content:start;gap:6px;display:grid;overflow:auto}.customer-column-settings-row{border:1px solid var(--line);background:#fff;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:5px 8px;display:flex}.customer-column-settings-row>label{min-width:0;color:var(--text);cursor:pointer;flex:auto;align-items:center;gap:9px;font-size:14px;font-weight:600;display:flex}.customer-column-settings-row input{width:18px;height:18px;accent-color:var(--primary);margin:0}.customer-column-settings-move{gap:5px;display:flex}.customer-column-settings-move .btn{width:36px;min-width:36px;min-height:34px;padding:2px;font-size:16px}.customer-column-settings-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding-top:8px;display:flex}.customer-column-settings-footer>span{color:var(--muted);margin-right:auto;font-size:12px}@media (max-width:900px){.customer-overview-table thead th.customer-overview-name-column{z-index:4;background:#f3f6f1;width:132px;min-width:132px;max-width:132px;position:sticky;left:0;box-shadow:3px 0 6px #1f2a1a14}.customer-overview-table tbody>tr:not(.customer-row-detail-row)>td.customer-overview-name-column{z-index:2;background:var(--card);white-space:nowrap;width:132px;min-width:132px;max-width:132px;position:sticky;left:0;overflow:hidden;box-shadow:3px 0 6px #1f2a1a14}.customer-overview-table tbody>tr.customer-row-selectable:hover>td.customer-overview-name-column{background:#f2f8f4}.customer-overview-table tbody>tr.customer-row-selectable.selected>td.customer-overview-name-column{background:#edf7f0}.customer-overview-table .customer-overview-name-extras{display:none}.customer-overview-table .customer-overview-mobile-details-heading,.customer-overview-table .customer-overview-mobile-details{display:table-cell}.customer-overview-table .customer-overview-mobile-details-heading{min-width:240px}.customer-overview-table .customer-overview-mobile-details{white-space:normal;vertical-align:top;width:240px;min-width:240px;max-width:240px}.customer-overview-table td.customer-overview-name-column .name-link{text-overflow:ellipsis;vertical-align:bottom;max-width:100%;display:inline-block;overflow:hidden}}@media (max-width:640px){.customer-column-settings-backdrop{align-items:end;padding:0}.customer-column-settings-panel{width:100%;max-height:min(82dvh,720px);padding:16px 14px max(14px, env(safe-area-inset-bottom));border-radius:18px 18px 0 0;gap:10px}.customer-column-settings-heading p{font-size:12px}.customer-column-settings-footer{flex-wrap:wrap}.customer-column-settings-footer>span{flex:100%;order:-1}.customer-overview-pagination{flex-direction:column;align-items:stretch}.customer-overview-pagination>div{justify-content:space-between}.customer-overview-pagination .btn{flex:1}}.checkin-toolbar-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.checkin-toolbar-actions .participant-picker{width:340px}.checkin-toolbar-actions .participant-picker>.input{height:34px}.mark-remaining-absent-control{flex-wrap:wrap;align-items:center;gap:6px;display:flex}button.btn.mark-remaining-absent-button{color:#b64937;background:#fff7f5;border-color:#f0c8bc}button.btn.mark-remaining-absent-button:hover{color:#b64937;background:#fde8e4;border-color:#f0c8bc}.mark-remaining-absent-feedback{color:var(--primary-dark);font-size:12px}.mark-remaining-absent-feedback.is-error{color:var(--warn)}.participant-transfer-trigger{white-space:nowrap;flex:none}.participant-transfer-backdrop{z-index:1200;background:#1620196b;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.participant-transfer-dialog{border:1px solid var(--line);background:var(--card);border-radius:14px;width:min(440px,100%);padding:20px;box-shadow:0 18px 56px #101c1447}.participant-transfer-dialog-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.participant-transfer-dialog-heading h2{margin:0;font-size:19px}.participant-transfer-dialog-heading p{color:var(--muted);margin:6px 0 0;font-size:14px}.participant-transfer-close{border:1px solid var(--line);width:34px;height:34px;color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:8px;flex:none;place-items:center;padding:0;display:inline-grid}.participant-transfer-form{gap:18px;display:grid}.participant-transfer-form .field{gap:7px}.participant-transfer-form .select{width:100%;min-width:0}.participant-transfer-dialog-actions{justify-content:flex-end;gap:8px;display:flex}.checkin-table-scroll .table-icon-action{width:112px;min-width:112px;text-align:left!important}.checkin-row-actions{flex-wrap:nowrap;align-items:center;gap:6px;display:flex}.checkin-row-actions>form{flex:none;width:auto;margin:0;display:inline-flex}.checkin-table-wrap{overflow:visible}.checkin-table-scroll{border-radius:0 0 var(--radius) var(--radius);overflow-x:auto}.mobile-checkin-roster{display:none}.checkin-sequence-column{width:56px;min-width:56px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:center!important}.checkin-companion-row>td{background:#eef7f0}.checkin-companion-row>td:first-child{border-left:3px solid #82ad8d}.checkin-companion-tags{flex-wrap:wrap;gap:4px;margin-top:4px;display:flex}.checkin-companion-tag{color:#43875b;white-space:normal;background:#f3faf5;border:1px solid #b9d9c2;border-radius:999px;align-items:center;max-width:100%;padding:2px 7px;font-size:11px;line-height:1.35;display:inline-flex}.table-icon-action{width:38px;text-align:center!important}.remove-participant-button{width:28px;height:28px;color:var(--danger);cursor:pointer;background:#fff7f5;border:1px solid #f0c8bc;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex}.remove-participant-button:hover{background:#fde8e4}.attendance-icon-button{border:1px solid var(--line);width:30px;height:30px;color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex}.mobile-checkin-roster-heading{color:var(--text);justify-content:space-between;align-items:baseline;gap:8px;padding:4px 0;font-size:15px;display:flex}.mobile-checkin-roster-heading>span{color:var(--muted);font-size:12px}.mobile-checkin-search-sticky{top:calc(64px + env(safe-area-inset-top,0px));z-index:79;background:var(--card);align-items:center;gap:8px;margin:0 -4px 4px;padding:7px 4px 6px;display:flex;position:sticky}.mobile-checkin-search{border:1px solid var(--line);min-width:0;min-height:46px;color:var(--muted);background:#fff;border-radius:10px;flex-wrap:nowrap;flex:auto;align-items:center;gap:9px;padding:0 11px;display:flex}.mobile-checkin-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 13%, transparent)}.mobile-checkin-search>svg{flex:none}.mobile-checkin-search input{width:auto;min-width:0;height:42px;color:var(--text);font:inherit;background:0 0;border:0;outline:0;flex:auto;padding:0;font-size:16px}.mobile-checkin-search input[type=search]{appearance:none}.mobile-checkin-search input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.mobile-checkin-search>button{width:30px;height:30px;color:var(--text-secondary);cursor:pointer;background:#f0f3ee;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.mobile-checkin-search>button:hover{color:var(--text);background:#e4ebe3}.mobile-checkin-quick-actions{flex:none;align-items:center;gap:6px;display:flex}.mobile-checkin-swap-trigger{border:1px solid var(--line);width:42px;min-height:42px;color:var(--primary-dark);cursor:pointer;background:#fff;border-radius:10px;flex:0 0 42px;justify-content:center;align-items:center;padding:0;display:inline-flex}.mobile-checkin-swap-trigger:hover{border-color:var(--primary);background:var(--primary-light)}.mobile-checkin-leave-trigger{color:#a34c32;cursor:pointer;background:#fff8f5;border:1px solid #efc9bc;border-radius:10px;flex:0 0 42px;justify-content:center;align-items:center;width:42px;min-height:42px;padding:0;display:inline-flex}.mobile-checkin-leave-trigger:hover{background:#fff0e9;border-color:#dc9f8b}.mobile-checkin-leave-trigger.is-dialog-action{color:#a63424;width:auto;min-height:38px;font:inherit;background:#fff0ed;border-color:#e8a99b;flex:none;gap:5px;margin:0 0 0 auto;padding:0 10px;font-size:13px;font-weight:750}.mobile-checkin-search .participant-options{width:calc(100vw - 24px);max-width:none;max-height:var(--mobile-checkin-results-max-height,min(42dvh, 360px));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;right:auto;overflow-y:auto}.mobile-checkin-search .participant-options button{border-radius:0;flex-direction:column;align-items:flex-start;gap:4px;height:auto;min-height:60px;padding:10px 12px}.mobile-checkin-search .participant-options button>span{white-space:normal;overflow-wrap:anywhere;max-width:100%}.mobile-checkin-search .participant-options button small{color:var(--muted);white-space:normal;font-size:12px}.mobile-checkin-search .participant-options button small:first-of-type{color:var(--primary-dark);font-weight:650}.mobile-checkin-search .participant-options button small.is-outside-checkin{color:#a63424;background:#fff0ed;border-radius:999px;align-self:flex-start;padding:2px 7px;font-weight:700}.mobile-checkin-search>.form-hint{z-index:13;box-sizing:border-box;border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;margin:0;padding:8px 11px;position:absolute;top:calc(100% + 3px);left:0;box-shadow:0 5px 12px #1f2a1a1a}.mobile-seat-saving.is-error{color:var(--danger)}.mobile-checkin-roster-hint{color:var(--muted);margin:0 2px 10px;font-size:11px;line-height:1.45}.mobile-checkin-attendee-list{gap:8px;display:grid}.mobile-checkin-attendee{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"info status""note note";align-items:start;gap:9px 8px;min-width:0;padding:11px;display:grid}.mobile-checkin-attendee-info{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-area:info;gap:5px;padding:0;display:grid}.mobile-checkin-attendee-info:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:4px}.mobile-checkin-attendee-heading{align-items:center;gap:8px;min-width:0;display:flex}.mobile-checkin-attendee-heading>strong{min-width:0;color:var(--primary-dark);overflow-wrap:anywhere;font-size:19px}.mobile-checkin-seat{color:var(--text-secondary);background:#f1f4ef;border-radius:999px;flex:none;padding:3px 8px;font-size:11px;font-weight:650}.mobile-checkin-seat.is-assigned{color:var(--primary-dark);background:#e7f4eb}.mobile-checkin-attendee-meta{color:var(--muted);flex-wrap:wrap;gap:4px 12px;font-size:13px;display:flex}.mobile-checkin-attendee-phone{color:var(--text-secondary);font-variant-numeric:tabular-nums;font-size:15px;font-weight:600}.mobile-checkin-attendee-note{overflow-wrap:anywhere;color:var(--text-secondary);grid-area:note;font-size:12px;line-height:1.4}.mobile-checkin-attendee>.attendance-status{white-space:nowrap;grid-area:status;align-self:center}.mobile-checkin-note-form{grid-area:note;width:100%;min-width:0;margin:0}.mobile-checkin-note-form .input{width:100%;min-width:0;min-height:40px;padding:8px 10px;font-size:14px}.mobile-checkin-empty{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:9px;margin:14px 0 4px;padding:18px 10px;font-size:13px}.mobile-seat-picker-backdrop{z-index:1400;background:#1620197a;place-items:center;padding:8px 6px;display:grid;position:fixed;inset:0}.mobile-seat-picker{box-sizing:border-box;border:1px solid var(--line);background:var(--card);border-radius:16px;width:min(420px,100%);max-height:min(720px,100dvh - 16px);padding:18px;overflow-y:auto;box-shadow:0 18px 56px #101c144d}.mobile-seat-picker-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.mobile-seat-picker-heading h2{margin:0;font-size:21px}.mobile-seat-picker-heading p{color:var(--text-secondary);margin:7px 0 0;font-size:16px}.mobile-seat-picker-customer{flex-wrap:wrap;align-items:center;gap:4px 10px;display:flex}.mobile-seat-picker-customer strong{color:var(--text);font-size:20px;font-weight:750}.mobile-seat-picker-customer span{color:var(--text-secondary);font-variant-numeric:tabular-nums;font-size:17px;font-weight:650}.mobile-seat-picker-close{border:1px solid var(--line);width:36px;height:36px;color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:9px;flex:none;place-items:center;padding:0;font-size:24px;line-height:1;display:grid}.mobile-seat-picker-instruction{color:var(--text-secondary);margin:12px 0;font-size:12px;line-height:1.45}.mobile-seat-map{grid-template-rows:repeat(8,42px);grid-template-columns:repeat(3,minmax(0,1fr)) 24px repeat(3,minmax(0,1fr));align-items:center;gap:7px 5px;display:grid}.mobile-seat-button{width:100%;min-width:0;height:100%;color:var(--primary-dark);font-variant-numeric:tabular-nums;cursor:pointer;background:#f5faf6;border:1px solid #bbd9c4;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:2px;font-size:14px;font-weight:700;display:flex}.mobile-seat-button small{max-width:100%;color:var(--text-secondary);text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:600;line-height:1.05;display:block;overflow:hidden}.mobile-seat-button:not(:disabled):hover{border-color:var(--primary);background:#e7f4eb}.mobile-seat-button.is-current{border-color:var(--primary);background:var(--primary);color:#fff}.mobile-seat-button.is-current small{color:#ffffffeb}.mobile-seat-button.is-occupied{color:#3e4941;cursor:not-allowed;background:#cbd1cc;border-color:#89948c;box-shadow:inset 0 0 0 1px #3e49411a}.mobile-seat-pillar{color:#777f77;background:repeating-linear-gradient(135deg,#e8eae7,#e8eae7 5px,#f3f4f2 5px 10px);border:1px solid #d5d9d4;border-radius:9px;place-items:center;width:100%;height:100%;font-size:12px;font-weight:700;display:grid}.mobile-seat-aisle{height:100%;color:var(--muted);writing-mode:vertical-rl;border-left:1px dashed #c5cdc3;border-right:1px dashed #c5cdc3;justify-content:center;align-items:center;font-size:10px;display:flex}.mobile-seat-legend{color:var(--text-secondary);flex-wrap:wrap;gap:10px 14px;margin-top:14px;font-size:11px;display:flex}.mobile-seat-legend>span{align-items:center;gap:5px;display:inline-flex}.mobile-seat-legend i{background:#f5faf6;border:1px solid #bbd9c4;border-radius:4px;width:12px;height:12px}.mobile-seat-legend i.is-current{border-color:var(--primary);background:var(--primary)}.mobile-seat-legend i.is-occupied{background:#cbd1cc;border-color:#89948c}.mobile-seat-legend i.is-pillar{background:repeating-linear-gradient(135deg,#e8eae7,#e8eae7 3px,#f3f4f2 3px 6px);border-color:#d5d9d4}.mobile-seat-saving{color:var(--primary-dark);margin:10px 0 0;font-size:12px}.mobile-checkin-seat-toast{z-index:1;box-sizing:border-box;background:var(--primary-dark);color:#fff;text-align:center;white-space:normal;pointer-events:none;border:1px solid #2f7145;border-radius:12px;justify-content:center;align-items:center;gap:8px;width:max-content;max-width:min(420px,100vw - 24px);padding:10px 14px;font-size:14px;font-weight:700;line-height:1.4;animation:.18s ease-out mobile-checkin-toast-in;display:flex;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);box-shadow:0 6px 18px #1f2a1a3d}.mobile-checkin-seat-toast>svg{flex:none;width:18px;height:18px}.mobile-checkin-seat-toast-name{color:#f4d36b;font-weight:800}.mobile-checkin-seat-toast-seat{color:#b8ebc6;font-weight:800}@keyframes mobile-checkin-toast-in{0%{opacity:0;transform:translate(-50%,6px)}to{opacity:1;transform:translate(-50%)}}.mobile-seat-departure-form{color:var(--text-secondary);gap:7px;margin-top:14px;font-size:13px;font-weight:700;display:grid}.mobile-seat-departure-form .input{resize:vertical;width:100%;min-height:84px;font-size:15px}.mobile-seat-departure-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.mobile-seat-departure-actions .btn{min-height:42px}.attendance-icon-button.checked{background:var(--primary);border-color:var(--primary);color:#fff}.attendance-icon-button.absent{color:var(--danger);background:#fff7f5;border-color:#f0c8bc}.attendance-icon-button.undo:hover{background:var(--primary-light);color:var(--primary-dark)}table.data{border-collapse:collapse;width:100%;min-width:720px;font-size:14px}table.data th{text-align:left;color:var(--text-secondary);white-space:nowrap;border-bottom:1px solid var(--line);background:#f3f6f1;padding:11px 12px;font-size:13px;font-weight:600}.customer-sticky-table-head{z-index:70;border-bottom:1px solid var(--line);pointer-events:none;background:#f3f6f1;position:fixed;overflow:hidden;box-shadow:0 3px 8px #1f2a1a1a}.customer-sticky-table-head[hidden]{display:none}.customer-sticky-table-copy{border-collapse:collapse;margin:0}table.data td{vertical-align:middle;border-bottom:1px solid #eef1eb;padding:12px}table.data tbody tr:hover{background:#f9fbf8}table.data tbody tr:last-child td{border-bottom:none}table.data .check{text-align:center;width:36px}table.data input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary);cursor:pointer}.name-link{color:var(--text);font-weight:600;text-decoration:none}.name-link:hover{color:var(--primary)}.customer-list-age{color:var(--muted);white-space:nowrap;vertical-align:baseline;margin-left:6px;font-size:12px;font-weight:500;display:inline-flex}.customer-list-referrer{color:var(--muted);margin-top:3px;font-size:12px;font-weight:450;line-height:1.4;display:block}.customer-list-referrer-link{color:inherit;text-decoration:none}.customer-list-referrer-link:hover{color:var(--primary);text-decoration:underline}.customer-referrer-edit-button{color:var(--primary);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:4px;margin:2px 0 0 -4px;padding:1px 5px;font-size:11px;display:inline-flex}.customer-referrer-edit-button:hover{background:var(--primary-light)}.customer-referrer-modal .customer-referrer-picker{flex:none;width:auto}.customer-referrer-modal-actions{justify-content:flex-end;margin-top:16px}.customer-overview-introduction-cell{min-width:150px;vertical-align:top!important}.customer-overview-status-stage-cell{min-width:132px;vertical-align:top!important}.customer-overview-status-stage{justify-items:start;gap:6px;display:grid}.customer-overview-activity-cell{min-width:205px;max-width:290px;vertical-align:top!important}.customer-overview-activity-signups{max-width:290px;color:var(--text-secondary);justify-items:start;gap:5px;font-size:12px;line-height:1.4;display:grid}.customer-overview-activity-signup{flex-wrap:wrap;align-items:center;gap:3px 6px;display:flex}.customer-activity-attendance{color:#666;white-space:nowrap;background:#f0f0f0;border-radius:5px;align-items:center;min-height:20px;padding:2px 6px;font-size:10px;font-weight:650;display:inline-flex}.customer-activity-attendance.checked_in{color:#2d6b44;background:#e8f5ec}.customer-activity-attendance.absent{color:#b84634;background:#fff0ed}.customer-overview-no-activity{color:var(--muted)}.customer-overview-call-summary.has-alert{color:#c45c3a;font-weight:600}.customer-overview-call-summary.is-confirmed{color:#2d6b44;font-weight:600}.customer-overview-call-summary.is-empty{color:#7d897c}.customer-overview-status-content{justify-items:start;gap:2px;display:grid}.customer-overview-status-content>.customer-route-current-label,.customer-overview-status-content>.customer-route-skip-label{margin-top:0}.customer-introduction-info{gap:5px;display:grid}.customer-introduction-referrer{flex-wrap:wrap;align-items:baseline;gap:4px;display:flex}.customer-introduction-referrer>b{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:500}.customer-introduction-referrer .customer-list-referrer{margin-top:0;display:inline}.customer-introduction-referrer .customer-referrer-edit-button{margin:0;padding:0}.customer-introduction-count{color:var(--success);white-space:nowrap;font-size:12px;font-weight:650}.customer-overview-note-content{align-items:flex-start;gap:8px;max-width:420px;margin-top:4px;display:flex}.customer-list-note-full{min-width:0;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;flex:auto;font-size:12px;font-weight:450;line-height:1.45;display:block}.customer-note-edit-button{color:var(--primary);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:4px;flex:none;padding:1px 5px;font-size:11px}.customer-note-edit-button:hover{background:var(--primary-light)}.customer-note-label{align-items:center;gap:7px;display:inline-flex}.customer-note-add-button{min-height:30px;color:var(--primary-dark);font:inherit;cursor:pointer;white-space:nowrap;background:#f0f8f2;border:1px solid #cce4d3;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:700}.customer-note-add-button:hover{background:var(--primary-light)}.customer-note-modal .textarea{resize:vertical;min-width:0;min-height:140px}.customer-note-modal-actions{justify-content:flex-end;margin-top:14px}.customer-note-append-current{background:var(--bg);max-height:112px;color:var(--text-secondary);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;margin:0 0 12px;padding:9px 11px;font-size:13px;line-height:1.5;overflow-y:auto}.customer-note-append-hint{color:var(--muted);margin:6px 0 0;font-size:12px}.phone{font-variant-numeric:tabular-nums;color:var(--text-secondary);letter-spacing:.02em}.phone-btn{font:inherit;font-variant-numeric:tabular-nums;color:var(--text-secondary);cursor:pointer;letter-spacing:.02em;background:0 0;border:none;padding:0;text-decoration:none}.phone-btn:hover{color:var(--primary)}.phone-btn-hover-reveal:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:3px}.customer-phone-needs-review .phone-btn{color:#b42318;font-weight:700}.customer-phone-needs-review .phone-btn:hover{color:#922d1d}.tag{white-space:nowrap;border-radius:4px;align-items:center;padding:2px 8px;font-size:12px;font-weight:600;display:inline-flex}.tag-green{color:#2d6b44;background:#e8f5ec}.tag-blue{color:#3a6a9a;background:#eef4fa}.tag-warm{color:#a05a20;background:#fef6ee}.tag-gray{color:#666;background:#f0f0f0}.tag-red{color:#c45c3a;background:#fef0ec}.tag-purple{color:#7a5aa0;background:#f3eef8}.stage-tag{justify-content:center;min-width:40px}.stage-tag-0{color:#647067;background:#f0f2ef}.stage-tag-1{color:#2d6b44;background:#e8f5ec}.stage-tag-2{color:#28766d;background:#e7f3f1}.stage-tag-3{color:#3a6a9a;background:#eef4fa}.stage-tag-4{color:#7a5aa0;background:#f3eef8}.stage-tag-5{color:#a45d23;background:#fef3e7}.stage-dots{gap:3px;display:flex}.customer-row-detail-toggle{border:1px solid var(--line);color:var(--primary-dark);font:inherit;cursor:pointer;white-space:nowrap;background:#fff;border-radius:7px;padding:5px 9px;font-size:12px;font-weight:650}.customer-row-detail-toggle:hover{border-color:var(--primary);background:var(--primary-light)}.customer-row-detail-toggle:focus-visible,.customer-history-more:focus-visible,.customer-history-error button:focus-visible,.customer-history-delete:focus-visible{outline-offset:2px;outline:3px solid #3d8b5a3d}.customer-row-detail-row>td{background:#fafbf9;padding:0!important}.customer-row-detail{padding:16px 18px 18px}.customer-history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.customer-history-section{border:1px solid var(--line);background:#fff;border-radius:10px;min-width:0;padding:13px 14px}.customer-history-section-heading{align-items:center;gap:8px;margin-bottom:9px;display:flex}.customer-history-section-heading h3,.customer-profile-extra h3{margin:0;font-size:14px}.customer-history-section-heading>span{color:var(--muted);font-size:12px}.customer-history-list{gap:0;margin:0;padding:0;list-style:none;display:grid}.customer-history-item{border-top:1px solid #edf0ea;grid-template-columns:105px minmax(0,1fr);gap:12px;padding:10px 0;display:grid}.customer-history-item:first-child{border-top:0}.customer-history-item>time{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.customer-history-item>div{min-width:0}.customer-history-item-title{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.customer-history-item-title strong{font-size:13px}.customer-history-item-title .tag{min-height:20px;padding:2px 7px;font-size:11px}.customer-history-item-title small,.customer-history-item p{color:var(--muted);font-size:12px;line-height:1.5}.customer-history-delete{color:#a3432b;font:inherit;cursor:pointer;background:#fff;border:1px solid #ead8d2;border-radius:6px;flex:none;margin-left:auto;padding:2px 7px;font-size:11px}.customer-history-delete:disabled{opacity:.55;cursor:wait}.customer-history-delete-error{color:#a3432b;margin:8px 0 0;font-size:12px;line-height:1.5}.customer-history-item p{overflow-wrap:anywhere;margin:4px 0 0}.customer-history-feedback{color:var(--muted);margin:0;padding:10px 0 2px;font-size:13px}.customer-history-more{color:var(--primary-dark);font:inherit;cursor:pointer;background:0 0;border:0;margin-top:8px;padding:4px 0;font-size:12px;font-weight:650}.customer-history-error{color:#a3432b;flex-wrap:wrap;align-items:center;gap:8px;padding-top:10px;font-size:13px;display:flex}.customer-history-error button{border:1px solid var(--line);color:var(--primary-dark);font:inherit;cursor:pointer;background:#fff;border-radius:6px;padding:3px 8px}.customer-profile-extra{border-top:1px solid var(--line);margin-top:14px;padding:12px 14px}.customer-profile-extra-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 18px;margin-top:10px;display:grid}.customer-profile-extra-grid>div{grid-template-columns:max-content minmax(0,1fr);gap:7px;font-size:12px;line-height:1.5;display:grid}.customer-profile-extra-grid b{color:var(--text-secondary);font-weight:600}.customer-profile-extra-grid span{overflow-wrap:anywhere;min-width:0}@media (max-width:760px){.customer-history-grid{grid-template-columns:minmax(0,1fr)}.customer-profile-extra-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-history-item{grid-template-columns:90px minmax(0,1fr);gap:8px}}@media (max-width:480px){.customer-row-detail{padding:12px}.customer-profile-extra-grid{grid-template-columns:minmax(0,1fr)}}.stage-dot{color:#aaa;background:#e8ece6;border-radius:4px;justify-content:center;align-items:center;width:18px;height:18px;font-size:10px;font-weight:700;display:flex}.stage-dot.done{background:var(--primary);color:#fff}.stage-dot.current{background:var(--warm);color:#fff;box-shadow:0 0 0 2px #f0dcc8}.next-action{color:var(--primary-dark);font-size:13px;font-weight:500}.activity-header{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;padding:18px 20px;display:flex}.activity-header h1{margin:0 0 6px;font-size:22px}.activity-meta{color:var(--text-secondary);flex-wrap:wrap;gap:12px 20px;font-size:14px;display:flex}.activity-meta strong{color:var(--text);font-weight:600}.activity-header-actions{align-self:flex-end;align-items:center;gap:8px;display:flex}.tabs{border-bottom:2px solid var(--line);gap:4px;margin-bottom:16px;display:flex;overflow-x:auto}.activity-checkin-tabs{touch-action:pan-y;overscroll-behavior-x:none}.tab{color:var(--text-secondary);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;margin-bottom:-2px;padding:10px 18px;font-family:inherit;font-size:14px;font-weight:500;text-decoration:none}.tab:hover{color:var(--primary);text-decoration:none}.tab.active{background:var(--primary);border-bottom-color:var(--primary);color:#fff;border-radius:7px 7px 0 0;font-weight:700}.tab.active:hover{color:#fff}.result-select{border:1px solid var(--line);background:#fff;border-radius:6px;min-width:72px;padding:4px 8px;font-family:inherit;font-size:13px;font-weight:700}.result-select.Y{color:#2d6b44;background:#e8f5ec;border-color:#b8dcc6}.result-select.N{color:#666;background:#f5f5f5}.result-select.B{color:#c45c3a;background:#fef0ec;border-color:#f0c8bc}.result-select.L{color:#4a7ab5;background:#eef4fa;border-color:#c8daf0}.result-select.R{color:#c4783a;background:#fef6ee;border-color:#f0dcc8}.result-select.C{color:#7a5aa0;background:#f3eef8;border-color:#dcc8f0}.result-select.J{color:#a53f32;background:#fae9e6;border-color:#e8b8ae}.result-select.U{color:#c4783a;background:#fef6ee;border-color:#f0dcc8}.checkin-btn{border:1px solid var(--line);cursor:pointer;color:var(--text);background:#fff;border-radius:6px;padding:5px 12px;font-family:inherit;font-size:13px;font-weight:600}.checkin-btn.checked{background:var(--primary);color:#fff;border-color:var(--primary)}.checkin-btn.absent{background:var(--warn-bg);color:var(--warn);border-color:#f0c8bc}.attendance-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.attendance-status{min-width:58px;color:var(--text-secondary);background:#f3f5f1;border-radius:6px;justify-content:center;align-items:center;padding:5px 8px;font-size:13px;font-weight:700;display:inline-flex}.attendance-status.checked_in{background:var(--primary-light);color:var(--primary-dark)}.attendance-status.absent{background:var(--warn-bg);color:var(--warn)}.attendance-status.departed{color:#a34c32;background:#fff0ed;margin:4px 0 0}.welfare-hint{color:var(--warm);font-size:12px;font-weight:500}.seat-input,.qty-input,.money-input,.goods-input{border:1px solid var(--line);width:70px;color:var(--text);background:#fff;border-radius:6px;padding:5px 8px;font-family:inherit;font-size:13px}.goods-input{width:140px}.money-input{width:90px}.note-input{border:1px solid var(--line);background:#fff;border-radius:6px;width:180px;padding:5px 8px;font-family:inherit;font-size:13px}.date-input{border:1px solid var(--line);background:#fff;border-radius:6px;padding:4px 6px;font-family:inherit;font-size:13px}.footnote{color:var(--muted);margin-top:12px;font-size:12px;line-height:1.6}.detail-grid{grid-template-columns:280px 1fr;gap:18px;display:grid}@media (max-width:860px){.detail-grid{grid-template-columns:1fr}}.profile-card{text-align:center;padding:24px 20px}.avatar{width:72px;height:72px;color:var(--primary-dark);background:linear-gradient(135deg,#c5e0cf,#e8f5ec);border:3px solid #fff;border-radius:50%;justify-content:center;align-items:center;margin:0 auto 12px;font-size:28px;font-weight:700;display:flex;box-shadow:0 2px 8px #3d8b5a33}.profile-card h2{margin:0 0 4px;font-size:20px}.profile-card .customer-profile-name-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 9px;margin-bottom:6px;display:flex}.profile-card .customer-profile-name-row h2{margin:0}.customer-profile-purchase-rating{color:var(--primary-dark);background:#f0f8f2;border:1px solid #cce4d3;border-radius:999px;align-items:center;gap:5px;padding:4px 7px;display:inline-flex}.customer-profile-purchase-rating-label{white-space:nowrap;font-size:11px;font-weight:750}.customer-profile-purchase-rating-grades{flex-wrap:wrap;align-items:center;gap:3px;display:inline-flex}.customer-profile-purchase-rating-grades .activity-purchase-grade{border-radius:7px;min-width:24px;height:24px;padding:0 5px;font-size:13px;font-weight:850}.customer-profile-purchase-rating>.customer-purchase-rating-empty{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:650}.profile-card .id{color:var(--muted);margin-bottom:12px;font-size:13px}.profile-fields{text-align:left;border-top:1px solid var(--line);margin-top:16px;padding-top:14px}.pf-row{border-bottom:1px dashed #eef1eb;justify-content:space-between;gap:8px;padding:7px 0;font-size:13px;display:flex}.pf-row:last-child{border-bottom:none}.pf-label{color:var(--muted);flex-shrink:0}.pf-value{text-align:right;font-weight:600}.customer-introductions{text-align:left;border-top:1px solid var(--line);margin-top:16px;padding-top:14px}.customer-introductions-title{margin-bottom:8px;font-size:13px;font-weight:700}.customer-introduced-list{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.customer-introduced-list a{background:var(--primary-light);color:var(--primary-dark);border-radius:999px;align-items:baseline;gap:5px;padding:5px 8px;font-size:12px;text-decoration:none;display:inline-flex}.customer-introduced-list a.is-blacklisted{color:#a52f26;background:#fde8e6}.customer-introduced-list a.is-blacklisted small{color:#b33b32}.customer-introduced-list a.is-blacklisted:hover{color:#8d211b;background:#fbd8d5}.customer-introduced-list a:hover{text-decoration:underline}.customer-introduced-list small{color:var(--muted);font-size:10px}.customer-introduced-empty{color:var(--muted);font-size:12px}.recent-call-history{text-align:left;border-top:1px solid var(--line);margin-top:16px;padding-top:14px}.recent-call-title{margin-bottom:8px;font-size:13px;font-weight:700}.recent-call-row{border-bottom:1px dashed #eef1eb;gap:8px;padding:9px 0;display:flex}.recent-call-row:last-child{border-bottom:none}.recent-call-row .tag{justify-content:center;min-width:26px;height:fit-content}.recent-call-main{font-size:13px;font-weight:650}.recent-call-meta,.recent-call-note,.recent-call-empty{color:var(--muted);font-size:12px;line-height:1.55}.recent-call-note{color:var(--text-secondary);margin-top:2px}.phone-batch-create-form{gap:16px;margin-top:16px;display:grid}.phone-batch-create-table{min-width:900px}.phone-batch-create-profile{white-space:normal;min-width:320px;line-height:1.5}.phone-batch-create-profile-name{font-weight:700}.phone-batch-create-profile-meta,.phone-batch-create-profile-groups,.phone-batch-create-profile-note{color:var(--muted);overflow-wrap:anywhere;margin-top:3px;font-size:12px}.phone-batch-create-profile-groups{gap:2px;display:grid}.phone-batch-create-profile-note{color:var(--text-secondary);white-space:pre-wrap}.phone-batch-table-section+.footer-note{margin-top:16px}.phone-batch-record-mode{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:10px;align-items:center;gap:10px;min-height:38px;padding:5px 10px;display:inline-flex}.phone-batch-record-mode-copy{flex-direction:column;gap:1px;line-height:1.2;display:flex}.phone-batch-record-mode-copy strong{color:var(--text-secondary);font-size:12px}.phone-batch-record-mode-copy small{color:var(--muted);font-size:10px}.phone-batch-record-mode>input{clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.phone-batch-record-mode-track{background:#c9d0c9;border-radius:999px;align-items:center;width:34px;height:20px;padding:2px;transition:background-color .14s;display:inline-flex}.phone-batch-record-mode-track>span{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .14s;box-shadow:0 1px 3px #14231838}.phone-batch-record-mode>input:checked+.phone-batch-record-mode-track{background:var(--primary)}.phone-batch-record-mode>input:checked+.phone-batch-record-mode-track>span{transform:translate(14px)}.phone-batch-record-mode>input:focus-visible+.phone-batch-record-mode-track{outline:2px solid var(--primary);outline-offset:2px}.phone-batch-toolbar-actions{flex-wrap:wrap;flex:auto;justify-content:flex-end;align-items:center;gap:10px;display:flex}.phone-batch-table-toolbar{flex-direction:column;align-items:stretch;gap:10px}.phone-batch-table-toolbar-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.phone-batch-table-toolbar-meta>span{color:var(--muted);font-size:12px}.phone-batch-search{gap:5px;margin:0;display:grid}.phone-batch-search>label{color:var(--text-secondary);font-size:12px;font-weight:700}.phone-batch-search-field{border:1px solid var(--line);min-width:0;min-height:42px;color:var(--muted);background:#fff;border-radius:10px;align-items:center;gap:8px;padding:3px 5px 3px 11px;display:flex}.phone-batch-search-field:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 13%, transparent)}.phone-batch-search-field>svg{flex:none}.phone-batch-search-field .input{width:100%;min-width:0;min-height:36px;box-shadow:none;background:0 0;border:0;outline:0;flex:auto;padding:6px 0}.phone-batch-search-field .input:focus{box-shadow:none;border:0;outline:0}.phone-batch-search-field .btn{flex:none;min-height:34px;padding:6px 13px}.phone-batch-search-clear{width:30px;height:30px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid}.phone-batch-search-clear:hover{background:var(--primary-light);color:var(--primary-dark)}.phone-batch-search-results{border-top:1px solid var(--line);gap:12px;padding:16px;display:grid}.phone-batch-search-results>h2{color:var(--text-primary);margin:0;font-size:16px}.phone-batch-search-results>p{margin:0}.phone-batch-search-result-list{gap:8px;display:grid}.phone-batch-search-result{border:1px solid var(--line);background:var(--card);min-width:0;color:var(--text-primary);border-radius:10px;gap:5px;padding:12px 14px;text-decoration:none;display:grid}.phone-batch-search-result:hover{background:#f8fbf8;border-color:#a8cbb1}.phone-batch-search-result:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.phone-batch-search-result-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.phone-batch-search-result-heading>strong{color:var(--primary-dark)}.phone-batch-search-result-heading>span,.phone-batch-search-result-note{color:var(--muted);font-size:12px}.phone-batch-search-result-customers{overflow-wrap:anywhere;font-weight:650}.phone-batch-search-result-action{color:var(--primary-dark);justify-self:end;font-size:12px;font-weight:700}.phone-batch-table tbody tr:target{outline:3px solid var(--primary);outline-offset:-3px;background:#f0f8f1;scroll-margin-top:14px}.phone-batch-filters{scrollbar-width:thin;gap:6px;padding:1px 1px 3px;display:flex;overflow-x:auto}.phone-batch-filter{border:1px solid var(--line);min-height:34px;color:var(--text-secondary);white-space:nowrap;background:#fff;border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:650;text-decoration:none;display:inline-flex}.phone-batch-filter>span{color:var(--muted);font-size:11px;font-weight:600}.phone-batch-filter:hover{background:#f7faf7;border-color:#a8cbb1}.phone-batch-filter.is-active{color:#236c42;background:#eaf5ed;border-color:#b9dbc3}.phone-batch-filter.is-active>span{color:#347c50}.phone-batch-task-actions{flex-wrap:nowrap;align-items:center;gap:7px;display:flex}.phone-batch-task-remove-form,.phone-batch-task-restore-form{margin:0}.phone-batch-task-icon-button{color:#2e7047;cursor:pointer;background:#f4f9f5;border:1px solid #cbded0;border-radius:9px;place-items:center;width:34px;min-width:34px;height:34px;padding:0;transition:background-color .12s,border-color .12s,transform .12s;display:grid}.phone-batch-task-icon-button:hover:not(:disabled){background:#e8f3eb;border-color:#8ab397;transform:translateY(-1px)}.phone-batch-task-icon-button.is-remove{color:#a64d3e;background:#fff8f5;border-color:#e7c8bf}.phone-batch-task-icon-button.is-remove:hover:not(:disabled){background:#fff0eb;border-color:#d9a99b}.phone-batch-task-icon-button:focus-visible{outline-offset:2px;outline:2px solid #43875b}.phone-batch-task-icon-button:disabled{cursor:wait;opacity:.62}.phone-batch-table{min-width:1200px}.phone-batch-table td{vertical-align:top}.phone-batch-table td:last-child{white-space:nowrap}.phone-batch-sequence-cell{width:48px;color:var(--muted);text-align:center;font-variant-numeric:tabular-nums}.phone-batch-customer-cell{min-width:230px}.phone-batch-customer{flex-wrap:wrap;align-items:baseline;gap:5px;margin-bottom:3px;display:flex}.phone-batch-customer-age{color:var(--muted);font-size:12px}.phone-batch-customer-companion-tag{color:#32784b;background:#f1f8f2;border:1px solid #b8d8c2;border-radius:999px;padding:1px 6px;font-size:11px;line-height:1.5;display:inline-block}.phone-batch-customer-companion-link{color:inherit;text-underline-offset:2px;text-decoration:underline}.phone-batch-phone-cell{font-variant-numeric:tabular-nums;margin-top:4px;font-size:13px}.phone-batch-prior-attendance{white-space:normal;border-radius:6px;width:fit-content;max-width:100%;margin-top:4px;padding:3px 7px;font-size:11px;line-height:1.4;display:block}.phone-batch-prior-attendance.is-checked-in{color:#246b43;background:#e8f5ed}.phone-batch-prior-attendance.is-absent{color:#9b4b2e;background:#fff1ea}.phone-batch-arranged-activity{color:#596552;white-space:normal;background:#f7f8f5;border:1px solid #dfe6dc;border-radius:6px;width:fit-content;max-width:100%;margin-top:4px;padding:3px 7px;font-size:11px;line-height:1.4;display:block}.phone-batch-arranged-activity.is-checked-in{color:#246b43;background:#e8f5ed;border-color:#d4eadd}.phone-batch-arranged-activity.is-absent{color:#9b4b2e;background:#fff1ea;border-color:#f1d5cb}.phone-batch-arranged-activity.is-arranged{color:#596552;background:#f7f8f5;border-color:#dfe6dc}.phone-batch-latest-call,.phone-batch-call-history{color:#596552;white-space:normal;background:#f7f8f5;border:1px solid #e3e8df;border-radius:6px;width:fit-content;max-width:100%;margin-top:4px;padding:3px 7px;font-size:11px;line-height:1.4;display:block}.phone-batch-phone-link{color:var(--primary-dark);text-underline-offset:3px;font-weight:650;text-decoration:none}.phone-batch-phone-link:hover{text-decoration:underline}.phone-batch-phone-link:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:4px}.phone-batch-table td:nth-child(2){white-space:normal;min-width:230px}.phone-batch-table td:nth-child(3){white-space:nowrap;min-width:145px}.phone-batch-table td:nth-child(4){min-width:300px}.phone-batch-table td:nth-child(5){min-width:200px}.phone-batch-cell-input{box-sizing:border-box;width:100%;min-width:135px}.phone-batch-result-options{border:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;min-width:280px;margin:0;padding:0;display:grid}.phone-batch-redial-button{color:#8c461f;min-height:36px;font:inherit;cursor:pointer;background:#fff6ef;border:1px solid #d7a27e;border-radius:8px;justify-content:center;align-items:center;gap:6px;margin:0 0 7px;padding:0 11px;font-size:12px;font-weight:700;display:inline-flex}.phone-batch-redial-button:hover:not(:disabled){background:#ffefe2;border-color:#bd7342}.phone-batch-redial-button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.phone-batch-redial-button:disabled{cursor:wait;opacity:.65}.phone-batch-redial-prompt{color:#8c461f;margin:0 0 7px;font-size:12px;font-weight:700}.phone-batch-result-option{cursor:pointer;-webkit-user-select:none;user-select:none;min-width:0;position:relative}.phone-batch-result-option input{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.phone-batch-result-option>span{border:1px solid var(--line);min-height:32px;color:var(--text-secondary);white-space:nowrap;background:#fff;border-radius:7px;justify-content:center;align-items:center;gap:4px;padding:4px 5px;font-size:11px;line-height:1.1;display:flex}.phone-batch-result-option>span strong{color:var(--muted);font-size:10px;font-weight:600}.phone-batch-result-option input:checked+span{border-color:var(--primary);background:var(--primary-light);color:var(--primary-dark);font-weight:650}.phone-batch-result-option input:checked+span strong{color:var(--primary-dark)}.phone-batch-result-option input:focus-visible+span{outline:2px solid var(--primary);outline-offset:1px}.phone-batch-result-arrangements{gap:6px;margin-top:8px;display:grid}.phone-batch-result-arrangement{color:#385a42;overflow-wrap:anywhere;background:#f2f8f3;border-left:3px solid #69a77d;border-radius:0 6px 6px 0;gap:2px;max-width:300px;padding:6px 8px;font-size:11px;line-height:1.4;display:grid}.phone-batch-result-arrangement strong{font-weight:700}.phone-batch-result-arrangement span{color:#526a57}.phone-batch-note-cell{min-width:200px}.phone-batch-note-cell small{max-width:180px;color:var(--muted);overflow-wrap:anywhere;margin-top:4px;line-height:1.4;display:block}.phone-batch-task-restore-control{flex-direction:column;align-items:flex-start;gap:3px;min-width:0;display:flex}.phone-batch-auto-save-feedback,.phone-batch-save-feedback{max-width:220px;color:var(--primary-dark);overflow-wrap:anywhere;margin-top:4px;font-size:11px;line-height:1.35;display:block}.phone-batch-auto-save-feedback.is-error,.phone-batch-save-feedback.is-error{color:#a3432b}.phone-batch-task-restore-form button:disabled{cursor:wait;opacity:.7}.phone-batch-companion-inline{color:#75522f;max-width:260px;margin-top:6px;font-size:12px;line-height:1.45}.phone-batch-row-review{background:#fffaf4}.phone-batch-row-review .phone-batch-customer-cell{border-left:3px solid #e6b27e}.phone-batch-row-companion>td{background:#eef7f0}.phone-batch-create-form>.field{max-width:420px}.phone-batches-overview-table{min-width:850px}.phone-batch-stage-filters{scrollbar-width:thin;gap:6px;margin:0 0 12px;padding:1px 1px 3px;display:flex;overflow-x:auto}.phone-batch-overview-actions{align-items:center;gap:6px;display:flex}.phone-batch-delete-admin-only{white-space:nowrap;font-size:11px}.phone-batch-delete-backdrop{z-index:100;align-items:center}.phone-batch-delete-modal{border:1px solid #e4b5ac;box-shadow:0 20px 60px #6422193d}.phone-batch-delete-warning{color:#852e22;background:#fff3f0;border:1px solid #e6b5ac;border-radius:9px;padding:12px 14px;line-height:1.55}.phone-batch-delete-warning p{margin:4px 0 0}.phone-batch-delete-confirm-field{margin-top:14px}.phone-batch-delete-confirm-field>span{line-height:1.5}.phone-batch-delete-confirm-field strong{color:#852e22}.phone-batch-delete-modal-actions{justify-content:flex-end;margin-top:14px}.phone-batch-session-picker-backdrop{z-index:1200;background:#18231b75;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.phone-batch-session-picker{border:1px solid var(--line);background:var(--card);border-radius:18px;width:min(100%,520px);max-height:min(82dvh,720px);padding:22px;overflow:auto;box-shadow:0 24px 70px #1424193d}.phone-batch-session-picker>header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.phone-batch-session-picker h3{margin:0;font-size:20px}.phone-batch-session-picker header p{color:var(--muted);margin:5px 0 0;font-size:13px}.phone-batch-session-picker-close{border:1px solid var(--line);width:38px;height:38px;color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:10px;flex:none;place-items:center;font-size:25px;line-height:1;display:grid}.phone-batch-companion-section{border:1px solid var(--line);background:#fbfcfa;border-radius:13px;gap:11px;margin:0 0 15px;padding:13px;display:grid}.phone-batch-companion-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.phone-batch-companion-heading>strong{color:var(--text);font-size:14px}.phone-batch-companion-heading small{color:var(--muted);margin-left:4px;font-weight:400}.phone-batch-companion-add{min-height:38px;color:var(--primary-dark);white-space:nowrap;border-color:#cfe2d4;align-items:center;gap:6px;padding:6px 11px;display:inline-flex}.phone-batch-companion-chips{flex-wrap:wrap;gap:7px;display:flex}.phone-batch-companion-chip{min-height:32px;color:var(--primary-dark);background:#eef7f0;border:1px solid #bddbc6;border-radius:999px;align-items:center;gap:5px;padding:4px 6px 4px 10px;font-size:13px;display:inline-flex}.phone-batch-companion-chip button{width:22px;height:22px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.phone-batch-companion-chip button:hover:not(:disabled){background:#dceee1}.phone-batch-companion-search-wrap{gap:7px;display:grid;position:relative}.phone-batch-companion-search{border:1px solid var(--line);min-height:44px;color:var(--muted);background:#fff;border-radius:10px;align-items:center;gap:8px;padding:0 11px;display:flex}.phone-batch-companion-search:focus-within{border-color:var(--primary);outline:3px solid #3489571f}.phone-batch-companion-search input{width:100%;min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:0}.phone-batch-companion-search input::placeholder{color:var(--muted)}.phone-batch-companion-results{border:1px solid var(--line);background:#fff;border-radius:10px;max-height:220px;display:grid;overflow:auto}.phone-batch-companion-results>button{border:0;border-bottom:1px solid var(--line);min-height:48px;color:var(--text);text-align:left;cursor:pointer;background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:8px 11px;display:flex}.phone-batch-companion-results>button:last-child{border-bottom:0}.phone-batch-companion-results>button:hover,.phone-batch-companion-results>button:focus-visible{background:var(--primary-light);outline:0}.phone-batch-companion-results>button strong{color:var(--primary-dark);font-size:14px}.phone-batch-companion-results>button span{color:var(--muted);white-space:nowrap;font-size:12px}.phone-batch-companion-results>p,.phone-batch-companion-hint{color:var(--muted);margin:0;padding:10px 12px;font-size:13px}.phone-batch-companion-done{border:1px solid var(--line);min-height:34px;color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:8px;justify-self:end;padding:5px 12px}.phone-batch-session-instruction{color:var(--muted);margin:0 0 12px;font-size:13px}.customer-session-session-entry{align-content:start;justify-items:stretch;gap:2px;width:min(160px,50% - 5px);min-width:0;display:grid}.customer-session-session-entry .phone-batch-session-tag{width:100%}.phone-batch-session-tag.is-arranged{color:#963e32;cursor:default;background:#fff0ed;border-color:#e8b7ad}.phone-batch-session-tag.is-arranged span,.phone-batch-session-tag.is-arranged small{color:#963e32}.phone-batch-session-tag.is-arranged:hover{background:#fff0ed;border-color:#e8b7ad;outline:0}.phone-batch-session-tag.is-attended{color:var(--text-secondary);cursor:default;background:#f2f4f1;border-color:#d7ddd7}.phone-batch-session-tag.is-attended small{color:var(--primary-dark);font-weight:650}.phone-batch-session-tag.is-attended:hover{background:#f2f4f1;border-color:#d7ddd7;outline:0}.customer-session-cancel-button,.customer-session-cancel-confirm button{color:#a43f2c;cursor:pointer;background:0 0;border:0;border-radius:6px;min-height:40px;padding:6px 4px;font-weight:650}.customer-session-cancel-button{white-space:nowrap;justify-self:center;width:fit-content;min-width:88px;min-height:34px;padding:4px 10px;font-size:13px}.customer-session-cancel-button:hover,.customer-session-cancel-confirm button:first-of-type:hover{background:#fff5f1}.customer-session-cancel-button:focus-visible,.customer-session-cancel-confirm button:focus-visible{outline-offset:1px;outline:2px solid #a43f2c59}.customer-session-cancel-confirm{flex-wrap:wrap;flex:auto;justify-content:flex-end;align-items:center;gap:6px;display:flex}.customer-session-cancel-confirm small{color:var(--muted);text-align:right;flex-basis:100%;font-size:12px}.customer-session-cancel-confirm button:last-child{color:var(--text-secondary)}.phone-batch-session-days{gap:16px;display:grid}.phone-batch-session-day{border-top:1px solid var(--line);padding-top:13px}.phone-batch-session-day h4{color:var(--text-secondary);margin:0 0 10px;font-size:14px}.phone-batch-session-tags{flex-wrap:wrap;gap:9px;display:flex}.phone-batch-session-tag{min-height:66px;color:var(--primary-dark);text-align:left;cursor:pointer;background:#f2f8f3;border:1px solid #b9d9c2;border-radius:10px;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;padding:9px 10px;display:flex}.phone-batch-session-tag strong{white-space:nowrap;font-size:15px}.phone-batch-session-tag span{color:var(--text-secondary);font-size:13px}.phone-batch-session-tag small{color:var(--muted);white-space:nowrap;font-size:12px}.phone-batch-session-tag:hover:not(:disabled),.phone-batch-session-tag:focus-visible{border-color:var(--primary);background:var(--primary-light);outline:2px solid #34895733}.phone-batch-session-tag:disabled,.phone-batch-session-picker-close:disabled,.phone-batch-session-cancel:disabled{opacity:.6;cursor:wait}.phone-batch-session-tag.is-unavailable{color:var(--text-secondary);cursor:not-allowed;background:#f6f3f0;border-color:#e5d9d1}.phone-batch-session-tag.is-unavailable small{color:#9a5140;white-space:normal}.phone-batch-companion-results>button span{white-space:normal;text-align:right;max-width:54%}.phone-batch-session-empty{background:var(--bg);color:var(--muted);border-radius:12px;padding:18px 14px;line-height:1.6}.phone-batch-session-error{color:#b43f31;font-size:13px}.phone-batch-session-cancel{min-height:44px;margin:18px 0 0 auto;display:block}@media (max-width:720px){.phone-batch-session-picker-backdrop{align-items:end;padding:0}.phone-batch-session-picker{width:100%;max-height:min(80dvh,680px);padding:20px 18px max(18px, env(safe-area-inset-bottom));border-radius:20px 20px 0 0}.phone-batch-session-tag{min-height:66px;padding:9px 10px}.customer-session-cancel-button{min-height:38px}.customer-session-cancel-confirm button{min-height:44px}.phone-batch-session-picker .phone-batch-session-cancel{width:100%}}@media (min-width:901px){.main:has(.phone-batch-detail-page){max-width:none;padding:20px 16px 48px}.phone-batch-detail-page .phone-batch-table-section .table-wrap{overscroll-behavior:contain;max-height:calc(100dvh - 190px);overflow:auto}.phone-batch-detail-page .phone-batch-table thead th{z-index:3;background:#f3f6f1;position:sticky;top:0}.phone-batch-detail-page .phone-batch-table{table-layout:fixed;width:100%;min-width:0}.phone-batch-detail-page .phone-batch-table th,.phone-batch-detail-page .phone-batch-table td{padding:8px 7px}.phone-batch-detail-page .phone-batch-table th:first-child,.phone-batch-detail-page .phone-batch-table td:first-child{width:4%}.phone-batch-detail-page .phone-batch-table th:nth-child(2),.phone-batch-detail-page .phone-batch-table td:nth-child(2){width:22%;min-width:0}.phone-batch-detail-page .phone-batch-table th:nth-child(3),.phone-batch-detail-page .phone-batch-table td:nth-child(3){white-space:normal;width:11%;min-width:0}.phone-batch-detail-page .phone-batch-table th:nth-child(4),.phone-batch-detail-page .phone-batch-table td:nth-child(4){width:25%;min-width:0}.phone-batch-detail-page .phone-batch-table th:nth-child(5),.phone-batch-detail-page .phone-batch-table td:nth-child(5){width:23%;min-width:0}.phone-batch-detail-page .phone-batch-table th:nth-child(6),.phone-batch-detail-page .phone-batch-table td:nth-child(6){white-space:normal;width:15%;min-width:0}.phone-batch-detail-page .phone-batch-table .phone-batch-customer-cell{overflow-wrap:anywhere;min-width:0}.phone-batch-detail-page .phone-batch-table td:nth-child(3) .tag{white-space:normal;text-align:center;max-width:100%}.phone-batch-detail-page .phone-batch-result-options{min-width:0}.phone-batch-detail-page .phone-batch-redial-button{min-height:44px;padding:0 14px;font-size:14px}.phone-batch-detail-page .phone-batch-redial-prompt{font-size:14px}.phone-batch-detail-page .phone-batch-result-option>span{white-space:normal;gap:2px;padding-left:2px;padding-right:2px;font-size:10px}.phone-batch-detail-page .phone-batch-cell-input{box-sizing:border-box;min-width:0}.phone-batch-detail-page .phone-batch-note-cell{min-width:0}.phone-batch-detail-page .phone-batch-task-actions{gap:4px}.phone-batch-detail-page .phone-batch-task-icon-button{width:32px;min-width:32px;height:32px}}@media (max-width:720px){.phone-batch-table{min-width:1200px}.phone-batch-table .phone-batch-cell-input{font-size:13px}}@media (max-width:900px){.phone-batch-detail-page .phone-batch-table-section{z-index:30;position:sticky;top:58px}.phone-batch-detail-page .phone-batch-table-section .table-wrap{overscroll-behavior:contain;max-height:calc(100dvh - 72px);overflow:auto}.phone-batch-detail-page .phone-batch-table-toolbar{z-index:35;background:var(--card);position:sticky;top:0}.phone-batch-detail-page .phone-batch-table thead th{z-index:3;background:#f3f6f1;position:sticky;top:0}.phone-batch-detail-page .phone-batch-table thead th:nth-child(2){z-index:5;min-width:230px;left:0;box-shadow:3px 0 6px #1f2a1a14}.phone-batch-detail-page .phone-batch-table tbody td:nth-child(2){z-index:2;background:var(--card);min-width:230px;position:sticky;left:0;box-shadow:3px 0 6px #1f2a1a14}.phone-batch-detail-page .phone-batch-row-review .phone-batch-customer-cell{background:#fffaf4}.phone-batch-detail-page .phone-batch-row-companion .phone-batch-customer-cell{background:#eef7f0}}@media (max-width:720px){.phone-batch-detail-page .phone-batch-table-section{z-index:auto;position:static;top:auto}.phone-batch-detail-page .phone-batch-table-section .table-wrap{overscroll-behavior:auto;background:var(--bg);max-height:none;box-shadow:none;border:0;border-radius:0;overflow:visible}.phone-batch-detail-page .phone-batch-table-toolbar{top:calc(64px + env(safe-area-inset-top,0px));border:1px solid var(--line);border-radius:12px;gap:6px;padding:6px 8px;box-shadow:0 4px 12px #1f2a1a17}.phone-batch-detail-page .phone-batch-search{gap:0;width:100%;min-width:0}.phone-batch-detail-page .phone-batch-search-field{box-sizing:border-box;border-radius:9px;gap:6px;width:100%;min-height:36px;padding:2px 4px 2px 9px}.phone-batch-detail-page .phone-batch-search-field .input{min-height:30px;padding:4px 0;font-size:14px}.phone-batch-detail-page .phone-batch-search-field .btn{min-height:30px;padding:4px 10px}.phone-batch-detail-page .phone-batch-search-clear{width:26px;height:26px}.phone-batch-detail-page .phone-batch-filters{gap:5px;padding:0}.phone-batch-detail-page .phone-batch-filter{gap:5px;min-height:30px;padding:0 8px;font-size:11px}.phone-batch-detail-page .phone-batch-filter>span{font-size:10px}.phone-batch-detail-page .phone-batch-table{table-layout:auto;border-collapse:separate;width:100%;min-width:0;display:block}.phone-batch-detail-page .phone-batch-table thead{display:none}.phone-batch-detail-page .phone-batch-table tbody{gap:16px;display:grid}.phone-batch-detail-page .phone-batch-table tbody tr{background:var(--card);border:0;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:start;padding:4px 0;display:grid;overflow:hidden;box-shadow:0 2px 8px #1f2a1a12}.phone-batch-detail-page .phone-batch-table tbody tr>td{white-space:normal;border:0;width:auto;min-width:0;padding:12px;display:block}.phone-batch-detail-page .phone-batch-table tbody tr>.phone-batch-sequence-cell{display:none}.phone-batch-detail-page .phone-batch-table tbody tr>.phone-batch-customer-cell{box-shadow:none;overflow-wrap:anywhere;background:0 0;border-left:0;grid-area:1/1}.phone-batch-detail-page .phone-batch-table tbody tr>td:nth-child(3){text-align:right;box-shadow:none;grid-area:1/2;padding-left:0}.phone-batch-detail-page .phone-batch-table tbody tr>td:nth-child(4){border-top:1px solid #edf0e9;grid-area:2/1/auto/-1}.phone-batch-detail-page .phone-batch-table tbody tr>td:nth-child(5){border-top:1px solid #edf0e9;grid-area:3/1/auto/-1}.phone-batch-detail-page .phone-batch-table tbody tr>td:nth-child(6){border-top:1px solid #edf0e9;grid-area:4/1/auto/-1}.phone-batch-detail-page .phone-batch-customer{gap:5px 7px;margin-bottom:5px}.phone-batch-detail-page .phone-batch-customer .name-link{font-size:16px;font-weight:750}.phone-batch-detail-page .phone-batch-customer-age{font-size:12px}.phone-batch-detail-page .phone-batch-customer-companion-tag{color:#246b43;background:#e8f4eb;border:0;flex-basis:100%;align-items:center;width:fit-content;margin-top:2px;padding:3px 8px;font-size:12px;font-weight:650;line-height:1.4;display:inline-flex}.phone-batch-detail-page .phone-batch-phone-cell{margin-top:7px;font-size:16px}.phone-batch-detail-page .phone-batch-phone-link{box-sizing:border-box;letter-spacing:.02em;font-variant-numeric:tabular-nums;background:#f4f9f5;border:1px solid #cfe2d3;border-radius:10px;justify-content:center;align-items:center;width:100%;min-height:52px;padding:0 12px;font-size:22px;font-weight:750;line-height:1.2;display:flex}.phone-batch-detail-page .phone-batch-latest-call,.phone-batch-detail-page .phone-batch-call-history,.phone-batch-detail-page .phone-batch-arranged-activity{border-radius:8px;padding:6px 9px;font-size:14px;line-height:1.45}.phone-batch-detail-page .phone-batch-companion-inline{max-width:none}.phone-batch-detail-page .phone-batch-table td:nth-child(3) .tag{white-space:normal;text-align:center;max-width:150px}.phone-batch-detail-page .phone-batch-result-cell:before,.phone-batch-detail-page .phone-batch-note-cell:before{color:var(--muted);margin-bottom:8px;font-size:12px;font-weight:700;display:block}.phone-batch-detail-page .phone-batch-result-cell:before{content:"本次通话结果"}.phone-batch-detail-page .phone-batch-note-cell:before{content:"备注"}.phone-batch-detail-page .phone-batch-result-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;min-width:0}.phone-batch-detail-page .phone-batch-result-option>span{white-space:normal;flex-direction:column;gap:2px;min-height:42px;padding:4px 2px;font-size:11px}.phone-batch-detail-page .phone-batch-result-option>span strong{font-size:10px}.phone-batch-detail-page .phone-batch-cell-input{min-width:0;min-height:44px;padding:10px 11px;font-size:16px}.phone-batch-detail-page .phone-batch-note-cell small{max-width:none}.phone-batch-detail-page .phone-batch-task-actions{justify-content:flex-end;min-height:36px}.phone-batch-detail-page .phone-batch-task-restore-control{align-items:flex-end}.phone-batch-detail-page .phone-batch-row-review>td{background:#fffaf4}.phone-batch-detail-page .phone-batch-row-companion>td,.phone-batch-detail-page .phone-batch-row-companion>.phone-batch-customer-cell{background:0 0}.phone-batch-detail-page .phone-batch-table tbody tr>td[colspan]{grid-column:1/-1}.phone-batch-detail-page .table-toolbar{align-items:flex-start}.phone-batch-detail-page .phone-batch-toolbar-actions{justify-content:flex-start;font-size:12px}}.invitation-batch-list{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.invitation-batch-check{background:var(--bg);border:1px solid var(--line);cursor:pointer;border-radius:7px;align-items:center;gap:6px;padding:6px 9px;font-size:13px;display:inline-flex}.invitation-batch-check span{color:var(--muted);font-size:12px}.progress-stages{flex-wrap:wrap;gap:8px;margin-bottom:8px;display:flex}.ps-item{text-align:center;background:#eef2eb;border:2px solid #0000;border-radius:8px;flex:1;min-width:70px;padding:12px 8px}.ps-item.done{background:var(--primary-light);border-color:#b8dcc6}.ps-item.current{background:var(--warm-light);border-color:#f0dcc8}.ps-item .ps-num{color:var(--muted);font-size:12px;font-weight:600}.ps-item .ps-status{margin-top:4px;font-size:14px;font-weight:700}.ps-item.done .ps-status{color:var(--primary-dark)}.ps-item.current .ps-status{color:var(--warm)}.ps-sub{color:var(--muted);margin-top:4px;font-size:11px}.timeline{flex-direction:column;display:flex}.tl-item{grid-template-columns:90px 20px 1fr;gap:10px;padding-bottom:16px;display:grid}.tl-time{color:var(--muted);text-align:right;padding-top:2px;font-size:12px}.tl-dot-col{flex-direction:column;align-items:center;display:flex}.tl-dot{background:var(--primary);width:10px;height:10px;box-shadow:0 0 0 2px var(--primary);border:2px solid #fff;border-radius:50%;flex-shrink:0;margin-top:4px}.tl-dot.phone{background:var(--info);box-shadow:0 0 0 2px var(--info)}.tl-dot.buy{background:var(--warm);box-shadow:0 0 0 2px var(--warm)}.tl-dot.welfare{background:#7a5aa0;box-shadow:0 0 0 2px #7a5aa0}.tl-line{background:var(--line);flex:1;width:2px;min-height:12px;margin-top:4px}.tl-item:last-child .tl-line{display:none}.tl-body{background:var(--bg);border-radius:8px;padding:10px 12px;font-size:13px}.tl-body .tl-title{margin-bottom:2px;font-weight:650}.tl-body .tl-title.is-checked-in{color:var(--primary,#398a5a)}.tl-body .tl-title.is-absent{color:var(--danger,#b64937)}.tl-body .tl-title.is-phone-missed{color:var(--warm,#b85a19)}.tl-body .tl-title.is-phone-connected{color:var(--info,#397db2)}.tl-body .tl-title.is-phone-confirmed{color:var(--primary-dark,#286744)}.tl-body .tl-desc{color:var(--text-secondary)}.customer-identity-staff-mobile-only{display:none}.customer-detail-identity-card .page-actions{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;display:grid}.customer-detail-identity-card .customer-identity-form{grid-template-columns:minmax(190px,.8fr) minmax(240px,1.2fr) auto;align-items:center;gap:10px;width:100%;min-width:0;display:grid}.customer-blacklist-card-return{box-sizing:border-box;width:100%;min-width:0;color:var(--text-secondary);background:#fff8f5;border:1px solid #f0c8bc;border-radius:10px;grid-column:1/-1;grid-template-columns:minmax(215px,1.05fr) minmax(245px,1.2fr) minmax(180px,.8fr) minmax(230px,1.1fr);align-items:end;gap:10px 14px;margin:0;padding:12px 14px;display:grid}.customer-blacklist-card-return legend{color:#a94432;padding:0 4px;font-size:12px;font-weight:700}.customer-blacklist-card-return>label:not(.customer-blacklist-card-return-amount):not(.customer-blacklist-card-return-note){align-items:center;gap:7px;min-width:0;font-size:13px;font-weight:600;line-height:1.4;display:inline-flex}.customer-blacklist-card-return>label.is-disabled{color:var(--muted);cursor:not-allowed}.customer-blacklist-card-return-notice{color:#a94432;grid-column:1/-1;margin:0;font-size:12px;line-height:1.45}.customer-blacklist-card-return input[type=radio]{accent-color:#b54732}.customer-blacklist-card-return-amount,.customer-blacklist-card-return-note{min-width:0;color:var(--text-secondary);gap:5px;font-size:12px;font-weight:650;display:grid}.customer-blacklist-card-return-amount .input,.customer-blacklist-card-return-note .input{box-sizing:border-box;width:100%;min-width:0;min-height:40px;padding:7px 10px;font-size:14px}@media (min-width:901px) and (max-width:1350px){.customer-blacklist-card-return{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}}@media (max-width:900px){.customer-mobile-hide-intelligence,.customer-mobile-hide-call-history,.customer-mobile-hide-follow-up,.customer-mobile-hide-purchases{display:none!important}.customer-detail-page{-moz-text-size-adjust:100%;text-size-adjust:100%;width:100%;min-width:0}.customer-detail-page .page-header,.customer-detail-page .detail-grid,.customer-detail-page .detail-grid>*,.customer-detail-page .profile-card,.customer-detail-page .grid-2{width:100%;min-width:0;max-width:100%}.customer-detail-page .customer-detail-actions{gap:6px;width:100%;min-width:0}.customer-detail-page .customer-detail-actions>*{flex:1 1 0;min-width:0}.customer-detail-page .customer-detail-actions .btn{text-align:center;white-space:normal;width:100%;min-width:0;padding-left:8px;padding-right:8px;font-size:13px}.customer-detail-page .profile-card{text-align:left;padding:14px}.customer-detail-page .avatar{border-width:2px;width:50px;height:50px;margin:0 12px 0 0;font-size:21px}.customer-detail-page .profile-card h2{margin:0;font-size:20px}.customer-detail-page .profile-card>.avatar{float:left}.customer-detail-page .profile-card>.customer-profile-name-row,.customer-detail-page .profile-card>.id,.customer-detail-page .profile-card>.tag{margin-left:62px}.customer-detail-page .profile-card>.customer-profile-name-row{justify-content:flex-start}.customer-detail-page .profile-card>.id{margin-bottom:4px}.customer-detail-page .profile-card>.tag{margin-bottom:10px}.customer-detail-page .customer-session-arranger{clear:both;padding-top:12px}.customer-detail-page .customer-session-arrange-trigger{justify-content:center;width:100%;min-height:44px}.customer-detail-page .profile-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;margin-top:12px;padding-top:8px;display:grid}.customer-detail-page .pf-row{grid-template-columns:minmax(0,1fr);align-content:start;gap:2px;min-height:52px;padding:8px 0;display:grid}.customer-detail-page .pf-label{font-size:11px}.customer-detail-page .pf-value{text-align:left;max-width:none;font-size:13px;line-height:1.4}.customer-detail-page .customer-profile-field-phone,.customer-detail-page .customer-profile-field-overall-rating,.customer-detail-page .customer-profile-field-referrer,.customer-detail-page .customer-profile-field-companion,.customer-detail-page .customer-profile-field-note,.customer-detail-page .customer-profile-field-welfare{grid-column:1/-1}.customer-detail-page .customer-profile-field-last-visit{display:none!important}.customer-detail-page .customer-profile-field-gender,.customer-detail-page .customer-profile-field-birthday,.customer-detail-page .customer-profile-field-category{display:none}.customer-detail-page .customer-profile-field-age,.customer-detail-page .customer-profile-field-created{grid-column:1/-1}.customer-detail-page .customer-profile-field-overall-rating .pf-value{width:100%;max-width:none}.customer-detail-page .customer-profile-field-note .pf-value{white-space:pre-wrap}.customer-detail-page .customer-profile-field-note.has-note .pf-value{border-left:3px solid var(--primary);width:100%;max-width:none;color:var(--text);background:#f0f8f1;border-radius:8px;padding:10px 12px;font-size:16px;font-weight:750;line-height:1.5}.customer-detail-page .customer-profile-field-welfare .pf-value{color:var(--primary-dark);font-weight:650}.customer-detail-page .customer-session-picker-backdrop{z-index:1400}.customer-detail-page .phone-batch-session-tag{width:100%;min-height:66px}.customer-detail-page .customer-session-session-entry .phone-batch-session-tag{width:100%}.customer-detail-page .profile-fields,.customer-detail-page .pf-row{min-width:0}.customer-detail-page .pf-row{align-items:flex-start}.customer-detail-page .pf-value{overflow-wrap:anywhere;min-width:0;max-width:70%}.customer-detail-page .phone-btn{overflow-wrap:anywhere;max-width:100%}.customer-detail-page .customer-profile-field-phone .phone-btn{font-size:18px;font-weight:700;line-height:1.4}.customer-detail-page .customer-profile-field-referrer .pf-value a{color:var(--primary-dark);font-weight:700;text-decoration:none}.customer-detail-identity-card .card-title{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.customer-detail-identity-card .card-title .hint{font-size:12px;line-height:1.4}.customer-detail-identity-card .page-actions{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px;display:grid}.customer-detail-identity-card .customer-identity-form{grid-template-columns:minmax(0,1fr);gap:8px;width:100%;display:grid}.customer-detail-identity-card .customer-identity-form>.select,.customer-detail-identity-card .customer-identity-form>.input,.customer-detail-identity-card .customer-identity-form>.btn{width:100%;min-height:42px}.customer-detail-identity-card .customer-identity-form>.input{grid-column:1/-1}.customer-detail-identity-card .customer-identity-staff-mobile-only{grid-template-columns:minmax(0,1fr);gap:8px;width:100%;display:grid}.customer-detail-identity-card .customer-identity-staff-mobile-only>.input,.customer-detail-identity-card .customer-identity-staff-mobile-only>.btn{width:100%;min-height:44px}.customer-blacklist-card-return{grid-template-columns:minmax(0,1fr);gap:10px;padding:12px;display:grid}.customer-blacklist-card-return>label:not(.customer-blacklist-card-return-amount):not(.customer-blacklist-card-return-note){min-height:30px}.customer-blacklist-card-return-amount,.customer-blacklist-card-return-note{min-width:0}.customer-blacklist-card-return-amount .input,.customer-blacklist-card-return-note .input{min-height:44px;font-size:16px}.customer-detail-identity-card .footnote{overflow-wrap:anywhere}.customer-detail-page .timeline .tl-item{grid-template-columns:72px 16px minmax(0,1fr);gap:6px}.customer-detail-page .tl-time{font-size:11px}.customer-detail-page .tl-body{overflow-wrap:anywhere;max-width:100%;padding:9px 10px}.customer-welfare-gift-form{grid-template-columns:minmax(0,1fr) 84px 74px;width:100%;min-width:0}.customer-welfare-gift-form .customer-welfare-gift-name,.customer-welfare-gift-form>button{grid-column:1/-1}.customer-welfare-gift-form>button{width:100%}}.customer-welfare-gifts{border-top:0;margin-top:0;padding-top:0}.customer-welfare-gift-heading{flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-bottom:10px;display:flex}.customer-welfare-gift-heading>span{color:var(--muted);font-size:12px}.customer-welfare-gift-form{grid-template-columns:minmax(115px,1fr) minmax(150px,1.7fr) minmax(74px,.65fr) minmax(74px,.65fr) auto;align-items:end;gap:8px;width:100%;min-width:0;display:grid}.customer-welfare-gift-form label{min-width:0;color:var(--text-secondary);gap:4px;font-size:12px;font-weight:600;display:grid}.customer-welfare-gift-form .input{width:100%;min-width:0;min-height:36px;padding:6px 8px;font-size:13px}.customer-welfare-gift-form>button{white-space:nowrap}.customer-welfare-history-title{color:var(--text-secondary);margin-top:14px;font-size:12px;font-weight:650}.customer-welfare-history{gap:6px;margin:7px 0 0;padding:0;list-style:none;display:grid}.customer-welfare-history li{min-width:0;color:var(--text);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:5px 0;font-size:13px;display:grid}.customer-welfare-history-copy{gap:2px;min-width:0;display:grid}.customer-welfare-history-copy>span{overflow-wrap:anywhere;min-width:0}.customer-welfare-history time{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.customer-welfare-delete-form{margin:0}.customer-welfare-delete-button{color:#263126;background:#fff8f5;border:1px solid #f1b9aa;border-radius:11px;place-items:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;display:grid}.customer-welfare-delete-button:hover,.customer-welfare-delete-button:focus-visible{color:#263126;outline-offset:1px;background:#fff0eb;border-color:#e6a291;outline:2px solid #f7ded7}.customer-card-return-badge{flex:none}.customer-card-return-form{grid-template-columns:minmax(130px,.8fr) minmax(180px,1.5fr) auto;align-items:end;gap:8px;display:grid}.customer-card-return-form label{min-width:0;color:var(--text-secondary);gap:4px;font-size:12px;font-weight:600;display:grid}.customer-card-return-form .input{width:100%;min-width:0;min-height:40px;padding:7px 9px;font-size:14px}.customer-card-return-history{gap:6px;margin:12px 0 0;padding:0;list-style:none;display:grid}.customer-card-return-history li{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 0;display:grid}.customer-card-return-history li>div{gap:3px;min-width:0;display:grid}.customer-card-return-history time,.customer-card-return-history small{color:var(--muted);font-size:12px}.customer-card-return-history li>div>span{overflow-wrap:anywhere}.customer-card-return-history li>strong{color:#b54732;white-space:nowrap}@media (max-width:640px){.customer-welfare-gift-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.customer-welfare-gift-form>label:first-of-type,.customer-welfare-gift-form .customer-welfare-gift-name,.customer-welfare-gift-form>button{grid-column:1/-1}.customer-welfare-gift-form .input{min-height:42px;font-size:16px}.customer-welfare-gift-form>button{min-height:42px}.customer-welfare-history li{border:1px solid var(--line);background:var(--bg);border-radius:8px;align-items:start;gap:8px;padding:8px}.customer-welfare-history-copy>span{line-height:1.45}.customer-welfare-delete-button{width:44px;min-width:44px;height:44px;min-height:44px}.customer-card-return-form{grid-template-columns:minmax(0,1fr);gap:10px}.customer-card-return-form .input{min-height:44px;font-size:16px}.customer-card-return-form>button{width:100%;min-height:44px}.customer-card-return-history li{border:1px solid var(--line);background:var(--bg);border-radius:8px;align-items:start;padding:8px}}.footer-note{text-align:center;color:var(--muted);padding:24px;font-size:12px}.banner{border-radius:8px;margin-bottom:14px;padding:10px 14px;font-size:14px}.banner.ok{background:var(--primary-light);color:var(--primary-dark);border:1px solid #c5e0cf}.banner.err{background:var(--warn-bg);color:var(--warn);border:1px solid #f0c8bc}.banner.warn{background:var(--warm-light);color:#8a5a20;border:1px solid #f0dcc8}.global-toast{z-index:1500;left:22px;bottom:calc(22px + env(safe-area-inset-bottom));border:1px solid var(--line);width:max-content;max-width:min(460px,100vw - 32px);color:var(--text);background:#fff;border-radius:11px;align-items:flex-start;gap:10px;padding:12px 12px 12px 14px;font-size:14px;line-height:1.5;animation:.18s ease-out global-toast-in;display:flex;position:fixed;box-shadow:0 8px 28px #202e222e}.global-toast-error{background:var(--warn-bg);color:var(--warn);border-color:#f0c8bc}.global-toast-warning{background:var(--warm-light);color:#8a5a20;border-color:#f0dcc8}.global-toast-success{background:var(--primary-light);color:var(--primary-dark);border-color:#c5e0cf}.global-toast-icon{border:1.5px solid;border-radius:50%;flex:0 0 20px;place-items:center;width:20px;height:20px;margin-top:1px;font-size:12px;font-weight:750;display:inline-grid}.global-toast-message{overflow-wrap:anywhere}.global-toast-close{color:currentColor;cursor:pointer;background:0 0;border:0;border-radius:5px;flex:none;margin:-4px -4px 0 2px;padding:1px 5px;font-size:20px;line-height:1}.global-toast-close:hover{background:#14201612}@keyframes global-toast-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (max-width:560px){.global-toast{left:12px;bottom:calc(12px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px)}}@media (prefers-reduced-motion:reduce){.desktop-sidebar,.app-content{transition:none}}.login-wrap{background:radial-gradient(900px 400px at 10% -10%, #e8f5ec 0%, transparent 50%), var(--bg);justify-content:center;align-items:center;min-height:100vh;padding:32px 16px;display:flex}.login-card{width:min(420px,100%)}.login-card h1{margin:8px 0 4px;font-size:22px}.login-captcha-row{align-items:center;gap:8px;display:flex}.login-captcha-row .input{flex:auto;min-width:0}.login-captcha-refresh{flex:none;align-items:center;gap:6px;padding:4px 6px;display:inline-flex}.login-captcha-image{border-radius:6px;width:126px;height:39px;display:block}.field{flex-direction:column;gap:6px;margin-bottom:12px;display:flex}.field label{color:var(--text-secondary);font-size:13px;font-weight:600}.password-change-card{max-width:560px}.password-change-form .field>span{color:var(--text-secondary);font-size:13px;font-weight:600}.password-change-form .input{width:100%;min-width:0}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (max-width:640px){.form-grid{grid-template-columns:1fr}}.form-error{color:var(--warn);margin-bottom:8px;font-size:13px}.stack{flex-direction:column;gap:10px;display:flex}.row-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.muted{color:var(--muted)}.activity-toolbar{justify-content:space-between;align-items:center;gap:14px;margin:2px 0 12px;display:flex}.activity-view-tabs{align-items:center;gap:8px;min-width:0;display:flex;overflow-x:auto}.activity-view-tab{border:1px solid var(--line);min-height:38px;color:var(--text-secondary);background:#fff;border-radius:9px;flex:none;align-items:center;gap:7px;padding:7px 12px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.activity-view-tab:hover{border-color:#b8dcc6;text-decoration:none}.activity-view-tab span{color:var(--muted);font-size:12px;font-weight:500}.activity-view-tab.active{color:var(--primary-dark);background:#eaf7ee;border-color:#c8e6d0}.activity-view-tab.active span{color:var(--primary)}.activity-range-picker{flex:none;position:relative}.activity-range-picker>summary{border:1px solid var(--line);min-width:210px;min-height:38px;color:var(--muted);cursor:pointer;background:#fff;border-radius:9px;align-items:center;gap:8px;padding:7px 11px;font-size:13px;list-style:none;display:flex}.activity-range-picker>summary::-webkit-details-marker{display:none}.activity-range-picker>summary svg:last-child{margin-left:auto;transform:rotate(90deg)}.activity-range-picker[open]>summary svg:last-child{transform:rotate(-90deg)}.activity-range-form{z-index:20;border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:1fr 1fr;gap:10px;width:310px;padding:14px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 28px #1f2a1a24}.activity-range-form label{color:var(--text-secondary);flex-direction:column;gap:5px;font-size:12px;font-weight:600;display:flex}.activity-range-form .input{min-width:0;min-height:36px;padding:5px 8px;font-size:12px}.activity-range-form>button{grid-column:1/2}.activity-range-clear{color:var(--muted);text-align:right;align-self:center;font-size:12px}.activity-list{flex-direction:column;gap:8px;display:flex}.activity-link{border:1px solid var(--line);min-height:76px;color:var(--text);background:#fff;border-radius:10px;grid-template-columns:82px 96px minmax(0,1fr) auto 20px;align-items:center;gap:12px;padding:9px 13px;text-decoration:none;display:grid;box-shadow:0 2px 6px #1f2a1a06}.activity-link:hover{background:#fcfefc;border-color:#b8dcc6;text-decoration:none;box-shadow:0 4px 12px #1f2a1a0f}.activity-date{border-right:1px solid #edf0eb;align-self:stretch;align-items:center;display:flex}.activity-date strong{color:#17251a;font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:20px}.activity-day-status{border-right:1px solid #edf0eb;flex-direction:column;justify-content:center;align-self:stretch;gap:5px;padding-right:10px;display:flex}.activity-weekday{color:var(--text-secondary);font-size:12px;font-weight:600}.activity-status{white-space:nowrap;align-items:center;gap:6px;font-size:11px;font-weight:650;display:inline-flex}.activity-status i{background:currentColor;border-radius:50%;flex:none;width:7px;height:7px}.activity-status.upcoming{color:#29934f}.activity-status.tomorrow,.activity-status.after-tomorrow{color:#347ed0}.activity-status.today{color:#c4783a}.activity-status.past,.activity-status.closed{color:#929a90}.activity-main-info{min-width:0}.activity-title{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:700;display:block;overflow:hidden}.activity-meta-row{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:5px 18px;margin-top:5px;font-size:12px;display:flex}.activity-meta-row>span{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.activity-meta-row>.activity-time{color:#246b3e;font-variant-numeric:tabular-nums;background:#f0f8f2;border:1px solid #d5e9db;border-radius:7px;gap:6px;padding:3px 7px;font-size:13px;font-weight:750}.activity-meta-row>.activity-time svg{color:#31804d}.activity-meta-row svg{color:#536479}.activity-meta-row>.activity-attendance-count{color:var(--text-secondary);gap:7px;font-weight:600}.activity-count-expected{color:#a85a20}.activity-count-checked{color:var(--primary-dark)}.activity-count-purchased{color:#356caf}.activity-count-expected strong,.activity-count-checked strong,.activity-count-purchased strong{font-variant-numeric:tabular-nums;font-weight:750}.activity-count-separator{color:#a1a99f;font-weight:400}.activity-rates{align-items:center;gap:9px;display:inline-flex}.activity-rate-item{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.activity-rate-item small{color:var(--text-secondary);font-size:10px;font-weight:600}.activity-rate-ring{--rate:0%;--ring-track:#e8eee9;background:conic-gradient(currentColor var(--rate), var(--ring-track) 0);border-radius:50%;flex:0 0 36px;place-items:center;width:36px;height:36px;display:grid;position:relative}.activity-rate-ring:before{border-radius:inherit;content:"";background:#fff;position:absolute;inset:4px}.activity-rate-ring strong{z-index:1;font-variant-numeric:tabular-nums;font-size:9px;font-weight:750}.activity-rate-ring.is-checkin{--ring-track:#e1eee5;color:#27834a}.activity-rate-ring.is-purchase{--ring-track:#e2ebf7;color:#3474bd}.activity-purchase-summary{color:var(--text-secondary);flex-wrap:wrap;gap:3px 9px;margin-top:5px;font-size:12px;line-height:1.45;display:flex}.activity-purchase-summary>span:first-child{color:var(--muted);font-weight:650}.activity-purchase-summary>.activity-purchase-reserved-label{color:#a34f20;font-weight:700}.activity-type-tag{color:#b46120;white-space:nowrap;background:#fff3e8;border-radius:7px;justify-self:end;padding:6px 10px;font-size:12px;font-weight:700}.activity-type-tag.free{color:#7150b6;background:#f3edff}.activity-chevron{color:#64748b}.activity-empty{border:1px solid var(--line);color:var(--muted);text-align:center;background:#fff;border-radius:10px;padding:28px 20px}.activity-roster-search-card{border:1px solid var(--line);background:#fff;border-radius:11px;justify-content:space-between;align-items:center;gap:16px;margin:2px 0 14px;padding:13px 15px;display:flex}.activity-roster-search-copy{gap:4px;min-width:0;display:grid}.activity-roster-search-copy strong{color:var(--text);font-size:14px}.activity-roster-search-copy span{color:var(--muted);font-size:12px}.activity-roster-search-form{flex:0 520px;gap:8px;margin:0;display:grid}.activity-roster-search-query{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;display:grid}.activity-roster-search-filters{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.activity-roster-search-filter,.activity-roster-search-stage{border:1px solid var(--line);min-height:32px;color:var(--text-secondary);white-space:nowrap;background:#fff;border-radius:8px;align-items:center;gap:6px;padding:4px 8px;font-size:12px;display:inline-flex}.activity-roster-search-filter input{accent-color:var(--primary);margin:0}.activity-roster-search-stage .select{min-height:28px;padding:3px 24px 3px 7px;font-size:12px}.activity-roster-search-input-wrap{border:1px solid var(--line);background:var(--card);min-width:120px;min-height:40px;color:var(--muted);border-radius:9px;flex:auto;align-items:center;gap:8px;padding:0 11px;display:flex}.activity-roster-search-input-wrap:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 13%, transparent)}.activity-roster-search-input-wrap>svg{flex:none}.activity-roster-search-form .input{min-width:0;min-height:36px;box-shadow:none;background:0 0;border:0;outline:0;flex:auto;padding:6px 0}.activity-roster-search-form .input[type=search]{appearance:none}.activity-roster-search-form .input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.activity-roster-search-form .input:focus{box-shadow:none;border:0;outline:0}.activity-roster-search-form.is-searching .activity-roster-search-input-wrap{opacity:.78}.activity-roster-search-clear{width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:0 0 26px;place-items:center;padding:0;display:inline-grid}.activity-roster-search-clear:hover{background:var(--primary-light);color:var(--primary-dark)}.activity-roster-search-results{margin-bottom:14px;overflow:hidden}.activity-roster-search-results .table-toolbar{min-height:50px}.activity-roster-search-results .table-wrap{box-shadow:none;border:0;border-radius:0}.activity-roster-row-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.activity-roster-sell-form{display:inline-flex}.btn.btn-primary.activity-roster-sell-button{color:#fff;background:#2563eb;border-color:#2563eb;font-weight:700}.btn.btn-primary.activity-roster-sell-button:hover{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.btn.btn-primary.activity-roster-sell-button:focus-visible{outline-offset:2px;outline:3px solid #2563eb4d}.btn.btn-primary.activity-roster-sell-button:disabled{cursor:not-allowed;background:#a7b8d8;border-color:#a7b8d8}.reserved-sale-backdrop{z-index:1250;background:#1620197a;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.reserved-sale-dialog{border:1px solid var(--line);background:var(--card);border-radius:16px;width:min(520px,100%);max-height:min(760px,100dvh - 32px);padding:22px;overflow-y:auto;box-shadow:0 20px 64px #101c144d}.reserved-sale-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.reserved-sale-heading h2{margin:0;font-size:20px}.reserved-sale-heading p{color:var(--muted);margin:6px 0 0;font-size:14px}.reserved-sale-hint{color:var(--text-secondary);margin:14px 0;font-size:14px;line-height:1.55}.reserved-sale-form{gap:16px;display:grid}.reserved-sale-goods{gap:10px;display:grid}.reserved-sale-good{border:1px solid var(--line);background:#f8faf7;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;min-height:68px;padding:10px 12px;display:flex}.reserved-sale-good-copy{gap:4px;min-width:0;display:grid}.reserved-sale-good-copy strong{overflow-wrap:anywhere}.reserved-sale-good-copy span{color:var(--muted);font-size:13px}.reserved-sale-stepper{flex:none;align-items:center;gap:7px;display:flex}.reserved-sale-stepper-button{color:#aa5139;cursor:pointer;background:#fff;border:1px solid #ead4ce;border-radius:10px;place-items:center;width:42px;height:42px;padding:0;display:inline-grid}.reserved-sale-stepper-button.is-add{color:var(--primary-dark);background:#f0f8f2;border-color:#bfdcc8}.reserved-sale-stepper-button:disabled{opacity:.4;cursor:not-allowed}.reserved-sale-stepper output{text-align:center;font-variant-numeric:tabular-nums;min-width:34px;font-size:20px;font-weight:750}.reserved-sale-stepper>span{color:var(--text-secondary);font-size:13px}.reserved-sale-total{border-top:1px solid var(--line);color:var(--text-secondary);justify-content:space-between;align-items:center;padding-top:12px;display:flex}.reserved-sale-total strong{color:#2563eb;font-size:20px}.reserved-sale-actions{justify-content:flex-end;gap:8px;display:flex}.activity-roster-search-results tr.activity-roster-customer-separator:hover{background:var(--bg)}.activity-roster-search-results tr.activity-roster-customer-separator td{background:var(--bg);border-bottom:0;height:10px;padding:0}.activity-search-date-time{flex-wrap:wrap;align-items:center;gap:5px 8px;display:flex}.activity-relative-day{color:#3471b8;white-space:nowrap;background:#edf5ff;border-radius:6px;align-items:center;min-height:22px;padding:2px 7px;font-size:12px;font-weight:650;display:inline-flex}.activity-relative-day.today{color:#a65a22;background:#fff3e8}.activity-roster-customer-contact{color:var(--muted);margin-top:3px;font-size:15px;font-weight:650;display:block}.activity-roster-owed-goods{color:#a34f20;margin-top:3px;font-size:13px;font-weight:700;display:block}.activity-roster-customer-cell{align-items:center;gap:10px;display:flex}.activity-roster-sequence{border:1px solid var(--line);width:30px;height:30px;color:var(--text-secondary);font-variant-numeric:tabular-nums;background:#f5f8f4;border-radius:9px;flex:0 0 30px;place-items:center;font-size:13px;font-weight:750;display:inline-grid}.activity-roster-seat{color:#267445;white-space:nowrap;background:#eff8f1;border:1px solid #bfdfca;border-radius:7px;align-items:center;min-height:26px;padding:3px 8px;font-size:13px;font-weight:700;display:inline-flex}tr[id^=checkin-customer-]{scroll-margin-top:120px}.activity-roster-attendance{min-height:26px;color:var(--text-secondary);white-space:nowrap;background:#f1f3f0;border-radius:7px;align-items:center;padding:3px 8px;font-size:12px;font-weight:650;display:inline-flex}.activity-roster-attendance.checked_in{color:#267445;background:#e7f5eb}.activity-roster-attendance.absent{color:#b84634;background:#fff0ed}.activity-roster-search-empty{border:0;border-top:1px solid var(--line);border-radius:0}.activity-range-picker{font-weight:500}.activity-toolbar{flex-wrap:wrap}@media (max-width:760px){.activity-roster-search-card{flex-direction:column;align-items:stretch;gap:10px;padding:12px}.activity-roster-search-form{flex:0 auto}.activity-toolbar{align-items:stretch}.activity-view-tabs{flex:100%}.activity-range-picker,.activity-range-picker>summary{width:100%}.activity-list{gap:7px}.activity-link{grid-template-columns:68px 82px minmax(0,1fr) auto 16px;gap:9px;min-height:70px;padding:8px 10px}.activity-date strong{font-size:18px}.activity-day-status{gap:4px;padding-right:8px}.activity-meta-row{gap:5px 12px;font-size:11px}}@media (max-width:560px){.activity-roster-search-form{width:100%}.activity-roster-search-query{grid-template-columns:minmax(0,1fr) auto}.activity-roster-search-filters{align-items:stretch}.activity-roster-search-stage{flex:auto;justify-content:space-between}.activity-roster-search-input-wrap{min-width:0}.activity-toolbar{gap:8px}.activity-view-tabs{gap:6px}.activity-view-tab{gap:5px;min-height:34px;padding:6px 9px;font-size:12px}.activity-range-picker>summary{min-height:36px}.activity-range-form{width:100%;box-shadow:var(--shadow);margin-top:6px;position:static}.activity-link{grid-template-columns:56px minmax(0,1fr) auto 16px;gap:6px 9px;min-height:78px}.activity-date{grid-area:1/1/span 2}.activity-day-status{border:0;flex-direction:row;grid-area:1/2;justify-content:flex-start;align-items:center;gap:10px;padding:0}.activity-main-info{grid-area:2/2/auto/4}.activity-title{font-size:14px}.activity-meta-row{margin-top:3px}.activity-purchase-summary{gap:3px 7px;margin-top:3px;font-size:11px}.activity-type-tag{grid-area:1/3;padding:5px 7px;font-size:11px}.activity-chevron{grid-area:1/4}}.print-sheet{background:#fff;max-width:900px;min-height:100vh;margin:0 auto;padding:24px}.print-sheet h1{margin:0 0 8px;font-size:22px}.print-meta{color:var(--text-secondary);margin-bottom:16px;font-size:14px}.print-toolbar{justify-content:flex-end;gap:8px;margin-bottom:12px;display:flex}.activity-purchase-print-layout-note{color:var(--text-secondary);align-self:center;margin-right:auto;font-size:12px}.activity-purchase-print-sheet{margin-bottom:18px}.activity-purchase-a7-card{display:none}.activity-purchase-a7-card:first-child{box-sizing:border-box;aspect-ratio:74.25/105;background:#fff;border:1px dashed #899189;width:min(281px,100vw - 48px);margin:24px auto;padding:4px 12px 2px;display:block;overflow:hidden}.activity-purchase-print-header h1{text-overflow:ellipsis;white-space:nowrap;margin:0 0 2px;font-size:12px;line-height:1.2;overflow:hidden}.activity-purchase-print-header .print-meta{margin:0 0 6px;font-size:9px;line-height:1.2}table.data.activity-purchase-print-table{table-layout:fixed;width:100%;min-width:0}.activity-purchase-print-table{border-collapse:collapse;font-size:9px}.activity-purchase-print-table th,.activity-purchase-print-table td{white-space:normal;word-break:break-word;padding:2px;line-height:1.15}.activity-purchase-print-table th:not(:first-child):not(:last-child){text-align:center}.activity-purchase-print-table thead th:nth-child(2),.activity-purchase-print-table thead th:nth-child(3){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.activity-purchase-print-table col:first-child{width:18%}.activity-purchase-print-table col:nth-child(2),.activity-purchase-print-table col:nth-child(3){width:25%}.activity-purchase-print-table col:nth-child(4){width:32%}.activity-purchase-print-table tbody td{border-bottom:1px solid #737b73;height:7.4mm;padding-top:1px;padding-bottom:1px}.activity-purchase-print-table tbody tr:last-child td{border-bottom:1px solid #737b73}.activity-purchase-check-cell{text-align:center}.activity-purchase-check-box{vertical-align:middle;border:1px solid #30382f;width:3.2mm;height:3.2mm;display:inline-block}.activity-purchase-print-empty{color:var(--text-secondary);margin:0 0 12px}.activity-purchase-print-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px 14px;display:flex}.sig-line{color:var(--text-secondary);margin-top:28px;font-size:14px}.checkin-print-table{table-layout:fixed;width:100%}.checkin-print-table col.checkin-print-sequence-column{width:4.5%}.checkin-print-table col.checkin-print-name-column{width:14%}.checkin-print-table col.checkin-print-phone-column{width:12%}.checkin-print-table col.checkin-print-gender-column{width:5%}.checkin-print-table col.checkin-print-seat-column{width:6.5%}.checkin-print-table col.checkin-print-relation-column{width:8%}.checkin-print-table col.checkin-print-note-column{width:50%}.checkin-print-table .checkin-print-name-cell{font-size:12pt}.checkin-print-table th,.checkin-print-table td{border-right:1px solid #aeb7ac}table.data.checkin-print-table th,table.data.checkin-print-table tbody tr>td{border-bottom:1.5px solid #879585}.checkin-print-table tr>:first-child{border-left:1px solid #aeb7ac}.checkin-print-companion-relation-cell{text-align:center;vertical-align:middle!important}.checkin-print-companion-relations{flex-direction:column;align-items:center;gap:3px;display:flex}.checkin-print-companion-relation{color:#32784b;white-space:nowrap;border:1px solid #b8d8c2;border-radius:999px;padding:1px 6px;font-size:8pt;line-height:1.25;display:inline-block}.checkin-print-table .checkin-print-note-cell{white-space:normal;word-break:break-word;height:44px}.print-call-legend th{text-align:left;color:var(--text-secondary);background:#fffdf8;font-weight:500}.phone-batch-print-table{table-layout:fixed;width:100%;font-size:11px}.phone-batch-print-table th,.phone-batch-print-table td{white-space:normal;word-break:break-word;vertical-align:top;border-right:1px solid #bfc7bd}.phone-batch-print-table th,table.data.phone-batch-print-table tbody tr:not(.phone-batch-print-row-companion-end)>td{border-bottom:1px solid #bfc7bd}.phone-batch-print-table tr>:last-child{border-right:0}.phone-batch-print-sequence,.phone-batch-print-code{text-align:center;font-variant-numeric:tabular-nums}.phone-batch-print-code>div+div{margin-top:3px}.phone-batch-print-contact-line{flex-wrap:wrap;align-items:baseline;gap:0 1mm;display:flex}.phone-batch-print-contact-names{font-weight:650;display:contents}.phone-batch-print-contact-name{display:inline}.phone-batch-print-contact-name+.phone-batch-print-contact-name{border-left:1px dotted var(--line);margin-left:1mm;padding-left:1mm}.phone-batch-print-customer-meta{color:var(--muted);margin:0 0 0 4px;font-size:9px;font-weight:500;line-height:1.2;display:inline-block}.phone-batch-print-contact-phone{font-variant-numeric:tabular-nums;white-space:nowrap;margin:0;font-size:12pt;font-weight:700}.phone-batch-print-companion-tag{color:#32784b;white-space:nowrap;background:#f1f8f2;border:1px solid #b8d8c2;border-radius:999px;margin:0 0 0 4px;padding:1px 4px;font-size:9px;font-weight:600;display:inline-block}.phone-batch-print-number-warning{color:#9a5a22;margin-left:1mm;font-size:9px;display:inline-block}.phone-batch-print-situation{white-space:pre-wrap;overflow-wrap:anywhere}.phone-batch-print-customer-situation+.phone-batch-print-customer-situation{border-top:1px dotted #bfc7bd;margin-top:1mm;padding-top:1mm}.phone-batch-print-absences{color:#68766a;margin-top:1mm;font-size:9px;line-height:1.2}.phone-batch-print-absences.has-absences{color:#9a452d;font-weight:650}.phone-batch-print-companion+.phone-batch-print-companion{border-top:1px solid var(--line);margin-top:3px;padding-top:3px}.phone-batch-print-row-companion>td{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#eef7f0}.phone-batch-print-row-companion>td:first-child{border-left:2px solid #82ad8d}.phone-batch-print-row-companion-start>td{border-top:1.5px solid #82ad8d}.phone-batch-print-row-companion-end>td{border-bottom:1.5px solid #82ad8d}.phone-batch-print-header-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.phone-batch-print-header-row h1{margin:0 0 8px}.phone-batch-print-batch-id{color:#24663f;letter-spacing:.03em;white-space:nowrap;-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#edf7ef;border:1.5px solid #398a59;border-radius:6px;flex:none;align-items:center;padding:3px 8px;font-size:13px;font-weight:800;display:inline-flex}.phone-batch-print-batch-header th{text-align:right;background:#fff!important;border:0!important;padding:0 0 2mm!important}.phone-batch-print-header .print-meta{margin:0 0 16px}.invitation-print-header h1{margin:0 0 8px}.invitation-print-header:not(.phone-batch-print-header) .print-meta{margin:0 0 16px}.print-page-number{text-align:center;color:var(--text-secondary);margin:8px 0 0;font-size:12px}.mark-box{vertical-align:middle;border:1.5px solid #1f2a1a;border-radius:2px;width:16px;height:16px;display:inline-block}.modal-backdrop{z-index:60;background:#1f2a1a59;justify-content:center;align-items:flex-start;padding:48px 16px;display:flex;position:fixed;inset:0;overflow:auto}.modal{background:#fff;border-radius:12px;width:min(560px,100%);padding:18px 18px 16px;box-shadow:0 16px 40px #1f2a1a29}.modal-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.modal-head h2{margin:0;font-size:18px}.btn-danger{color:#fff;background:#b64937;border-color:#b64937}.btn-danger:hover{background:#963a2c;border-color:#963a2c}.phone-batch-overview-actions .btn-danger{color:#a94e43;background:#fff8f6;border-color:#f0d4cf}.phone-batch-overview-actions .btn-danger:hover{color:#963a2c;background:#fff0ed;border-color:#e9bcb4}.customer-form{flex-direction:column;gap:10px;display:flex}.customer-form .field{flex-direction:row;align-items:center;gap:7px;min-width:0;margin:0}.customer-form .field>span,.customer-form .field label{white-space:nowrap;flex:0 0 48px;font-size:12px;line-height:1.2}.customer-form .select,.customer-form .input{flex:1;width:auto;min-width:0;padding:6px 10px}.customer-referrer-picker{z-index:2;flex:1 1 0;width:0;min-width:0;position:relative}.customer-referrer-picker>.input{flex:none;width:100%;display:block}.customer-referrer-selection{min-width:0;color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin-top:4px;font-size:11px;display:flex}.customer-referrer-selection>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.customer-referrer-selection>button{color:var(--primary-dark);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;flex:none;padding:2px 5px}.customer-referrer-options{z-index:20;border:1px solid var(--line);background:#fff;border-radius:9px;max-height:min(240px,40vh);padding:4px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;box-shadow:0 10px 24px #1f2a1a29}.customer-referrer-option{width:100%;min-height:42px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;display:flex}.customer-referrer-option:hover,.customer-referrer-option.active{background:var(--primary-light);color:var(--primary-dark)}.customer-referrer-option:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.customer-referrer-option strong,.customer-referrer-option small{display:block}.customer-referrer-option strong{font-size:12px;font-weight:650}.customer-referrer-option small{color:var(--muted);margin-top:2px;font-size:11px}.customer-referrer-empty,.customer-referrer-hint{color:var(--muted);margin:0;padding:10px 8px;font-size:12px}.customer-referrer-hint{border-top:1px solid var(--line);text-align:center}.customer-form .field-wide{flex-direction:column;align-items:stretch;gap:5px}.customer-form .field-wide>span{flex-basis:auto}.customer-form textarea{min-height:56px;padding:7px 10px}.form-grid-three{grid-template-columns:repeat(3,1fr)}.form-section{border:1px solid var(--line);background:var(--bg);border-radius:8px;padding:7px 10px}.form-section summary{cursor:pointer;color:var(--text-secondary);font-size:13px;font-weight:600}.form-section[open] summary{margin-bottom:8px}.form-actions{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;margin-top:2px;padding-top:10px;display:flex}.form-actions .btn{min-width:84px}.form-hint{color:var(--muted);font-size:12px}.participant-card{padding:18px 20px}.participant-card .participant-picker{width:min(520px,100%)}.participant-picker{width:min(440px,100%);position:relative}.participant-picker>.input{width:100%}.participant-options{z-index:12;border:1px solid var(--line);background:#fff;border-radius:8px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:hidden;box-shadow:0 8px 20px #1f2a1a1f}.participant-options button{border:0;border-bottom:1px solid var(--line);width:100%;color:var(--text);text-align:left;cursor:pointer;background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;display:flex}.participant-options button:last-child{border-bottom:0}.participant-options button:hover,.participant-options button.active{background:var(--primary-light)}.participant-options button.blocked-same-stage-checkin{flex-direction:column;align-items:flex-start;gap:4px}.participant-options button.blocked-same-stage-checkin small{color:#9a5b16;white-space:normal;font-size:12px}.participant-options button.blocked-same-stage-checkin:hover,.participant-options button.blocked-same-stage-checkin.active{background:#fff8ee}.participant-options span{color:var(--muted);white-space:nowrap;font-size:13px}@media (max-width:640px){.activity-checkin-tabs{overflow-x:visible}.reserved-sale-backdrop{align-items:end;padding:8px}.reserved-sale-dialog{border-radius:18px;width:100%;max-height:calc(100dvh - 20px);padding:18px}.reserved-sale-good{flex-direction:column;align-items:stretch;gap:10px}.reserved-sale-stepper{justify-content:flex-end}.reserved-sale-stepper-button{width:48px;height:48px}.reserved-sale-stepper output{min-width:46px}.reserved-sale-actions>.btn{flex:1;min-height:44px}.form-grid-three{grid-template-columns:1fr}.customer-companion-option{grid-template-columns:18px minmax(0,1fr)}.customer-companion-option small{grid-column:2}.form-actions{flex-direction:column;align-items:stretch}.form-actions .btn{width:100%}.participant-card{padding:14px}.participant-card .participant-picker,.checkin-toolbar-actions{width:100%}.checkin-toolbar-actions .participant-picker{flex:1;width:auto}.checkin-table-wrap:not(.has-mobile-checkin-actions){display:none}.checkin-table-wrap.has-mobile-checkin-actions{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;overflow:visible}.checkin-table-wrap .checkin-toolbar-actions>.participant-picker,.activity-checkin-print-action,.activity-edit-details{display:none}.activity-header-actions{align-self:stretch;width:100%}.desktop-checkin-table{display:none}.mobile-checkin-roster{box-shadow:none;background:0 0;border:0;border-radius:0;margin-top:10px;padding:10px 0;display:block}.mobile-checkin-quick-actions{gap:5px}.mobile-checkin-swap-trigger{min-height:44px;padding:0 8px}.mobile-checkin-search{flex:auto}.checkin-table-wrap .table-toolbar{flex-direction:column;align-items:stretch;padding:12px}.checkin-attendance-summary,.mobile-checkin-footnote{display:none}.checkin-table-wrap .checkin-toolbar-actions{align-items:stretch}.checkin-table-wrap .checkin-toolbar-actions>*{max-width:100%}.mobile-checkin-attendee{padding:9px}.mobile-checkin-attendee>.attendance-actions{gap:4px}.mobile-seat-picker{padding:14px 9px}.mobile-seat-map{grid-template-rows:repeat(8,40px);gap:6px 4px}}.ledger-section-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.ledger-section-link{color:var(--text);flex-direction:column;gap:8px;text-decoration:none;display:flex}.ledger-section-link>strong{font-size:18px}.ledger-section-link>span:nth-child(2){color:var(--muted);font-size:13px}.ledger-card-title{margin:0 0 14px;font-size:17px}.ledger-stock-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.ledger-stock-summary .card{flex-direction:column;gap:8px;padding:16px 18px;display:flex}.ledger-stock-summary span{color:var(--muted);font-size:13px}.ledger-stock-summary strong{font-size:24px}.inventory-page-actions{gap:10px;margin-left:auto}.inventory-page-actions .btn{min-height:40px}.inventory-modal{border-radius:18px;width:min(920px,100%);padding:0;overflow:hidden;box-shadow:0 24px 72px #1f2a1a40}.inventory-modal-head{border-bottom:1px solid #e8eee6;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:24px 28px 20px;display:grid}.inventory-modal-mark{width:52px;height:52px;color:var(--primary);background:linear-gradient(145deg,#e2f5e8,#f6fbf6);border-radius:14px;place-items:center;display:grid}.inventory-modal-head h2{letter-spacing:-.03em;margin:0;font-size:23px}.inventory-modal-head p{color:var(--muted);margin:3px 0 0;font-size:14px}.inventory-modal-close{color:#6f766f;cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;width:38px;height:38px;padding:0;display:grid}.inventory-modal-close:hover{color:var(--text);background:#f0f3ef}.inventory-form{flex-direction:column;gap:16px;padding:20px 28px 22px;display:flex}.inventory-form-section{background:#fff;border:1px solid #e1ece2;border-radius:12px;overflow:hidden}.inventory-form-section-head{background:linear-gradient(90deg,#f1faf3 0%,#fbfdfb 74%);border-bottom:1px solid #e8f0e8;justify-content:space-between;align-items:center;gap:18px;padding:12px 16px;display:flex}.inventory-form-section-title{color:var(--text);align-items:center;gap:10px;display:inline-flex}.inventory-form-section-title>span{color:var(--primary);place-items:center;display:grid}.inventory-form-section-title h3{margin:0;font-size:16px}.inventory-form-section-head p{color:var(--muted);text-align:right;margin:0;font-size:13px}.inventory-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;display:grid}.inventory-form .field{grid-template-columns:112px minmax(0,1fr);align-items:center;column-gap:9px;min-width:0;margin:0;font-size:13px;font-weight:650;display:grid}.inventory-form .input,.inventory-form .select,.inventory-form .textarea{border-radius:9px;width:100%;min-width:0;min-height:42px}.inventory-form .textarea{resize:vertical;padding-top:10px}.inventory-form-wide{grid-column:1/-1}.inventory-required{color:#ce4c3e}.inventory-option-field{align-items:end;gap:8px;min-width:0;display:flex}.inventory-option-field .field{flex:1;margin:0}.inventory-option-field .btn{white-space:nowrap;flex:none;min-height:42px}.inventory-option-action{color:var(--primary-dark);background:#f3fbf5;border-color:#cfe7d5}.inventory-option-action:hover{background:#e6f6ea;border-color:#b8dfc1}.inventory-product-hint{color:var(--muted);background:#f3f8f3;border-radius:9px;margin-top:12px;padding:10px 12px;font-size:13px}.inventory-scan-input{gap:8px;display:flex}.inventory-scan-input .input{flex:1;min-width:0}.inventory-scan-input .btn{white-space:nowrap;flex:none;min-height:42px}.inventory-scan-message{color:var(--muted);margin:12px 0 0;font-size:13px}.inventory-form-actions{justify-content:flex-end;gap:10px;padding-top:2px;display:flex}.inventory-form-actions .btn{min-width:112px;min-height:44px}.stocktake-guidance{color:var(--muted);background:#f7fbf7;border:1px solid #e1ece2;border-radius:9px;align-items:baseline;gap:10px;padding:10px 12px;font-size:12px;display:flex}.stocktake-guidance strong{color:var(--text);flex:none;font-size:13px}.stocktake-list{overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--line);border-radius:10px;max-height:min(48dvh,430px);overflow:auto}.stocktake-list-head,.stocktake-list-row{grid-template-columns:minmax(160px,1.2fr) minmax(100px,.65fr) minmax(125px,.8fr);align-items:center;gap:12px;padding:9px 12px;display:grid}.stocktake-list-head{z-index:1;color:var(--muted);background:#f4f7f2;font-size:11px;font-weight:700;position:sticky;top:0}.stocktake-list-row+.stocktake-list-row{border-top:1px solid var(--line)}.stocktake-product,.stocktake-current{align-items:baseline;gap:6px;min-width:0;display:flex}.stocktake-product{flex-direction:column;gap:1px}.stocktake-product strong,.stocktake-current strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.stocktake-product small,.stocktake-current small{color:var(--muted);font-size:11px}.stocktake-count{flex-direction:column;gap:3px;min-width:0;display:flex}.stocktake-count .input{height:36px;min-height:36px;padding:5px 9px;font-size:13px}.stocktake-mobile-label{display:none}.stocktake-empty{color:var(--muted);text-align:center;margin:0;padding:18px;font-size:13px}.stocktake-meta-grid{grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr);gap:12px 18px;display:grid}.inventory-form .stocktake-meta-grid .field{grid-template-columns:82px minmax(0,1fr)}.stocktake-form .inventory-form-actions{margin-top:2px}.stocktake-form-footer{flex-direction:column;gap:8px;display:flex}.stocktake-error{color:#963a2c;background:#fff4f1;border:1px solid #efc8c1;border-radius:9px;padding:9px 12px;font-size:13px;line-height:1.45}.inventory-scanner-modal{width:min(520px,100%)}.inventory-scanner-frame{background:#172019;border-radius:10px;min-height:240px;overflow:hidden}.inventory-scanner-video{object-fit:cover;width:100%;min-height:240px;display:block}.inventory-scanner-message{margin:10px 0 0}.inventory-table-wrap{overflow-x:auto}.inventory-table{min-width:900px}.inventory-page-header{align-items:center}.inventory-page-header .meta{max-width:680px}.inventory-filterbar{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(132px,.58fr)) auto;align-items:end;gap:12px;margin:18px 0 14px;padding:14px 16px;display:grid;box-shadow:0 2px 8px #1e342109}.inventory-search{border:1px solid var(--line);min-width:0;height:40px;color:var(--muted);border-radius:9px;align-items:center;gap:9px;padding:0 11px;display:flex}.inventory-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #368b571f}.inventory-search input{width:100%;min-width:0;height:100%;color:var(--text);font:inherit;background:0 0;border:0;outline:0;padding:0}.inventory-filter{min-width:0;color:var(--muted);flex-direction:column;gap:5px;font-size:11px;font-weight:650;display:flex}.inventory-filter .select{width:100%;min-width:0;height:40px;min-height:40px;padding:5px 28px 5px 10px;font-size:13px}.inventory-reset{white-space:nowrap;gap:6px;height:40px;min-height:40px}.inventory-table-section{min-width:0;overflow:visible}.inventory-table{width:100%;min-width:1080px}.inventory-table th{white-space:nowrap}.inventory-table td{vertical-align:middle}.inventory-th-sub{color:var(--muted);font-size:11px;font-weight:500}.inventory-product-cell{align-items:center;gap:10px;min-width:128px;display:flex}.inventory-product-cell>span:last-child{flex-direction:column;gap:2px;display:flex}.inventory-product-cell strong{color:var(--text)}.inventory-product-name{color:var(--primary-dark);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700}.inventory-product-name:hover{text-underline-offset:2px;text-decoration:underline}.inventory-product-cell small,.inventory-expired-note{color:var(--muted);font-size:11px}.inventory-box-spec{white-space:nowrap;color:var(--muted);font-size:12px}.inventory-inline-settings{align-items:center;gap:6px;min-width:270px;display:flex}.inventory-inline-unit{flex:0 0 78px;width:78px;min-width:0;height:34px;min-height:34px;padding:4px 21px 4px 8px;font-size:12px}.inventory-inline-box-label{color:var(--muted);white-space:nowrap;align-items:center;gap:4px;font-size:11px;display:flex}.inventory-inline-box{width:88px;min-width:0;height:34px;min-height:34px;padding:4px 7px;font-size:12px}.inventory-inline-save{white-space:nowrap;flex:none;gap:4px;height:34px;min-height:34px;padding:0 8px;font-size:11px}.inventory-product-thumb{color:#66836c;background:#f5f7f4;border:1px solid #e8ece7;border-radius:10px;flex:none;place-items:center;width:38px;height:38px;display:grid}.inventory-product-thumb.goat-milk{color:#39875a;background:#eff8f1}.inventory-table td>strong+.inventory-expired-note{display:block}.inventory-stock-badge{white-space:nowrap;border-radius:7px;align-items:center;gap:6px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.inventory-stock-badge i{background:currentColor;border-radius:50%;width:7px;height:7px}.inventory-stock-badge.available{color:#24804b;background:#e8f6ed}.inventory-stock-badge.low{color:#a86a0b;background:#fff5df}.inventory-stock-badge.out{color:#c43a34;background:#fff0ef}.inventory-stock-badge.expired{color:#a86a0b;background:#fff5df}.inventory-row-actions{justify-content:center;align-items:center;gap:4px;display:flex}.inventory-row-delete-form{display:flex}.inventory-row-delete-form .inventory-row-action:hover,.inventory-row-delete-form .inventory-row-action:focus-visible{color:#c43a34;background:#fff0ef;border-color:#f1d5d3}.inventory-row-action{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;place-items:center;padding:0;display:grid}.inventory-row-action:hover,.inventory-row-action:focus-visible{color:var(--primary-dark);background:#edf6ef;border-color:#d7eadb;outline:none}.inventory-empty-cell{color:var(--muted);text-align:center;padding:28px 14px!important}.inventory-result-summary{color:var(--muted);text-align:right;padding:12px 4px 2px;font-size:12px}.vip-list-toolbar{justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;display:flex}.vip-list-search{border:1px solid var(--line);width:min(420px,100%);min-height:40px;color:var(--muted);background:#fff;border-radius:9px;align-items:center;gap:9px;padding:0 11px;display:flex}.vip-list-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #368b571f}.vip-list-search input{width:100%;min-width:0;height:38px;color:var(--text);font:inherit;background:0 0;border:0;outline:0;padding:0}.vip-list-count{color:var(--muted);white-space:nowrap;font-size:13px}.vip-customer-table{min-width:980px}.vip-since-cell{white-space:nowrap;flex-direction:column;align-items:flex-start;gap:3px;display:flex}.vip-service-cell{white-space:nowrap}.vip-customer-actions{white-space:nowrap;align-items:center;gap:4px;display:flex}.vip-icon-action{width:32px;height:32px;color:var(--primary-dark);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;place-items:center;padding:0;display:grid}.vip-icon-action:hover,.vip-icon-action:focus-visible{background:var(--primary-light);border-color:#cfe7d5;outline:none}.vip-icon-action:focus-visible{box-shadow:0 0 0 2px #368b572e}.vip-birthday-cell{white-space:nowrap;flex-direction:column;align-items:flex-start;gap:4px;display:flex}.vip-birthday-tag{border-radius:6px;align-items:center;min-height:20px;padding:2px 7px;font-size:11px;font-weight:650;line-height:1.2;display:inline-flex}.vip-birthday-tag.month{color:#426f9c;background:#edf5fc}.vip-birthday-tag.upcoming{color:#9a5b12;background:#fff2df}.vip-empty-cell{color:var(--muted);text-align:center;padding:24px!important}.vip-points-modal{width:min(600px,100%)}.vip-points-modal .modal-head{align-items:flex-start}.vip-points-modal .modal-head .meta{margin:4px 0 0;font-size:13px}.vip-points-form{gap:14px}.vip-points-note,.vip-points-actions{grid-column:1/-1}.vip-points-actions{margin-top:2px}.inventory-batch-modal{flex-direction:column;width:min(980px,100%);max-height:calc(100dvh - 32px);display:flex;overflow:hidden}.inventory-batch-wrap{padding:0 18px;overflow:auto}.inventory-batch-table{min-width:860px}.inventory-batch-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;padding:12px 18px;font-size:12px;display:flex}.inventory-batch-footer .btn{min-height:34px}.inventory-stocktake-history-modal{flex-direction:column;width:min(1080px,100%);max-height:calc(100dvh - 32px);display:flex;overflow:hidden}.inventory-stocktake-history-wrap{padding:0 18px;overflow:auto}.inventory-stocktake-history-table{min-width:940px}.inventory-stocktake-difference{white-space:nowrap;border-radius:6px;align-items:center;padding:4px 7px;font-size:12px;font-weight:650;display:inline-flex}.inventory-stocktake-difference.surplus{color:#247448;background:#eaf6ee}.inventory-stocktake-difference.loss{color:#ad4538;background:#fff0ed}.inventory-stocktake-difference.unchanged{color:var(--muted);background:#f2f4f1}.inventory-modal-backdrop{z-index:70;overscroll-behavior:contain;align-items:center;padding:12px;overflow:hidden}.inventory-modal{border-radius:14px;flex-direction:column;width:min(860px,100%);max-height:calc(100dvh - 24px);display:flex}.inventory-modal-head{flex:none;gap:11px;padding:12px 18px}.inventory-modal-mark{border-radius:11px;width:40px;height:40px}.inventory-modal-mark svg{width:22px;height:22px}.inventory-modal-head h2{font-size:20px}.inventory-modal-head p{margin-top:1px;font-size:12px}.inventory-modal-close{width:34px;height:34px}.inventory-modal-close svg{width:20px;height:20px}.inventory-form{overscroll-behavior:contain;flex:auto;gap:8px;min-height:0;padding:10px 18px 12px;overflow-y:auto}.inventory-form-section{border-radius:10px;flex:none}.inventory-form-section-head{gap:10px;min-height:32px;padding:5px 11px}.inventory-form-section-title{gap:8px}.inventory-form-section-title h3{font-size:14px}.inventory-form-section-title svg{width:16px;height:16px}.inventory-form-section-head p{font-size:11px;line-height:1.3}.inventory-form-section-body{padding:7px 11px}.inventory-form-grid{gap:9px 14px}.inventory-form .field{grid-template-columns:138px minmax(0,1fr);column-gap:9px;font-size:13px;line-height:1.3}.inventory-form .input,.inventory-form .select{border-radius:7px;height:38px;min-height:38px;padding:6px 10px;font-size:14px}.inventory-form .textarea{resize:vertical;border-radius:7px;min-height:46px;padding:7px 10px;font-size:14px;line-height:1.35}.inventory-field-label{line-height:1.25;display:block}.inventory-required{white-space:nowrap}.inventory-option-field{align-items:center;gap:7px}.inventory-option-field .field{align-self:stretch}.inventory-option-field .btn{border-radius:7px;height:38px;min-height:38px;padding:5px 9px;font-size:13px}.inventory-option-action svg{width:14px;height:14px}.inventory-form-actions{flex:none;padding-top:0}.inventory-form-actions .btn{min-width:96px;height:34px;min-height:34px;padding:5px 11px;font-size:13px}@media (max-width:720px){.inventory-page-header{flex-direction:column;align-items:flex-start}.inventory-page-actions{width:100%;margin-left:0}.inventory-page-actions .btn{flex:1}.inventory-filterbar{grid-template-columns:1fr 1fr;gap:9px;padding:11px}.inventory-search{grid-column:1/-1}.inventory-reset{width:100%}.vip-list-toolbar{flex-direction:column;align-items:stretch}.vip-list-search{width:100%}.vip-list-count{align-self:flex-end}.inventory-result-summary{text-align:center}.inventory-batch-wrap,.inventory-stocktake-history-wrap{padding:0 10px}.modal-backdrop{padding:16px 10px}.inventory-modal-backdrop{align-items:flex-start;padding:8px}.inventory-modal{border-radius:12px;max-height:calc(100dvh - 16px)}.inventory-modal-head{gap:9px;padding:10px 12px}.inventory-modal-mark{border-radius:10px;width:36px;height:36px}.inventory-modal-head h2{font-size:18px}.inventory-modal-head p{font-size:11px}.inventory-form{gap:8px;padding:9px 12px 12px}.inventory-form-section-head{flex-direction:column;align-items:flex-start;gap:3px;padding:7px 10px}.inventory-form-section-head p{text-align:left}.inventory-form-section-body{padding:9px 10px}.inventory-form-grid{grid-template-columns:1fr;gap:8px}.inventory-form .field{grid-template-columns:100px minmax(0,1fr);font-size:12px}.inventory-form-wide{grid-column:auto}.inventory-option-field{flex-direction:column;align-items:stretch}.inventory-option-field .btn{width:100%}.inventory-form-actions{justify-content:stretch}.inventory-form-actions .btn{flex:1}.stocktake-guidance{flex-direction:column;align-items:flex-start;gap:3px}.stocktake-list{max-height:min(44dvh,360px)}.stocktake-list-head{display:none}.stocktake-list-row{grid-template-columns:minmax(0,1fr) minmax(120px,.9fr);gap:8px 12px;padding:10px}.stocktake-product{grid-column:1/-1}.stocktake-current{justify-content:space-between;align-self:center}.stocktake-current:before{content:"系统可用";color:var(--muted);font-size:11px}.stocktake-count{gap:4px}.stocktake-mobile-label{color:var(--muted);font-size:11px;display:block}.stocktake-meta-grid{grid-template-columns:1fr;gap:8px}.inventory-form .stocktake-meta-grid .field{grid-template-columns:100px minmax(0,1fr)}}.customer-note-modal-backdrop{z-index:1000}@media (max-width:900px){.customer-form-backdrop{z-index:1000;padding:calc(68px + env(safe-area-inset-top,0px)) 10px calc(12px + env(safe-area-inset-bottom,0px));align-items:flex-start}.customer-form-modal{max-height:calc(100dvh - 80px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overscroll-behavior:contain;overflow-y:auto}.customer-note-modal-backdrop{padding:calc(68px + env(safe-area-inset-top,0px)) 10px calc(12px + env(safe-area-inset-bottom,0px));align-items:flex-start}.customer-note-modal{max-height:calc(100dvh - 80px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overscroll-behavior:contain;overflow-y:auto}.customer-note-add-button{min-height:38px;padding-inline:11px}}.customer-quick-select-dock{z-index:85;flex-direction:column;align-items:flex-end;display:flex;position:fixed;bottom:24px;right:92px}.customer-quick-select-panel{border:1px solid var(--line);background:var(--card);width:min(320px,100vw - 32px);color:var(--text);border-radius:14px;padding:15px;position:absolute;bottom:calc(100% + 12px);right:0;box-shadow:0 14px 38px #1f2a1a33}.customer-quick-select-panel-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-quick-select-panel-heading strong{font-size:15px}.customer-quick-select-panel-heading button{border:1px solid var(--line);width:30px;height:30px;color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:8px;place-items:center;font-size:20px;line-height:1;display:grid}.customer-quick-select-panel>p{color:var(--muted);margin:7px 0 12px;font-size:12px;line-height:1.5}.customer-quick-select-counts{color:var(--text-secondary);justify-content:space-between;gap:10px;margin-bottom:12px;font-size:12px;display:flex}.customer-quick-select-action{width:100%}.customer-quick-select-panel>small{color:var(--muted);text-align:center;margin-top:8px;font-size:11px;display:block}.customer-quick-select-floating{border-color:var(--primary);background:var(--primary);color:#fff;white-space:nowrap;border-radius:999px;align-items:center;gap:8px;min-height:48px;padding:0 17px;font-weight:650;display:inline-flex;box-shadow:0 8px 24px #1f56343d}.customer-quick-select-floating:hover{border-color:var(--primary-dark);background:var(--primary-dark);color:#fff}.customer-quick-select-floating>span{font-variant-numeric:tabular-nums;background:#fff3;border-radius:999px;place-items:center;min-width:23px;height:23px;padding:0 5px;font-size:12px;display:inline-grid}.customer-quick-select-floating:focus-visible,.customer-quick-select-panel-heading button:focus-visible{outline-offset:3px;outline:3px solid #3d8b5a4d}@media (max-width:900px){.customer-quick-select-dock{display:none}}.finance-page-actions{margin-left:auto}.finance-modal{width:min(720px,100%)}.finance-account-table{min-width:0}.finance-account-table th:first-child,.finance-account-table td:first-child{width:190px}.finance-account-table th:last-child,.finance-account-table td:last-child{width:150px}.finance-account-summary{grid-template-columns:repeat(3,minmax(100px,1fr));align-items:center;gap:12px;display:grid}.finance-account-summary>span{flex-direction:column;gap:4px;display:flex}.finance-account-summary small{color:var(--muted);font-size:11px}.finance-account-summary strong{font-variant-numeric:tabular-nums}.finance-account-status{border-radius:999px;align-items:center;width:fit-content;padding:4px 8px;font-size:12px;font-weight:600;display:inline-flex}.finance-account-status.has-balance{color:#936318;background:#fff4df}.finance-account-status.settled{color:#39784f;background:#edf5ef}.finance-account-action{white-space:nowrap}.finance-account-payment-customer{border:1px solid var(--line);background:#f7f9f6;border-radius:8px;flex-wrap:wrap;justify-content:space-between;gap:6px 14px;padding:11px 12px;display:flex}.finance-account-payment-customer span{color:var(--muted)}@media (max-width:720px){.finance-page-actions{gap:6px;width:100%;margin-left:0}.finance-page-actions .btn{white-space:nowrap;flex:1 1 0;min-width:0;padding:8px 6px;font-size:12px}.finance-account-table thead{display:none}.finance-account-table tbody tr{border-bottom:1px solid #eef1eb;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:12px;display:grid}.finance-account-table tbody tr:last-child{border-bottom:0}.finance-account-table tbody tr:hover{background:0 0}.finance-account-table tbody tr td{border:0;padding:0;display:block;width:auto!important}.finance-account-table tbody tr td:nth-child(2){grid-area:2/1/auto/-1}.finance-account-table tbody tr td:nth-child(3){grid-area:1/2;align-self:center}.finance-account-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.finance-account-summary small{font-size:10px}.finance-account-summary strong{font-size:13px}.finance-account-status{padding:3px 6px;font-size:11px}.finance-account-action{padding:6px 8px;font-size:11px}}.ledger-finance-tabs{margin-top:18px}.ledger-finance-tab-list{border-bottom:1px solid var(--line);scrollbar-width:thin;gap:3px;margin-bottom:12px;display:flex;overflow-x:auto}.ledger-finance-tab{min-height:42px;color:var(--muted);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-bottom-width:2px;border-radius:8px 8px 0 0;flex:none;justify-content:center;align-items:center;gap:8px;padding:8px 13px;font-size:14px;display:inline-flex}.ledger-finance-tab:hover{color:var(--text-secondary);background:#f3f6f1}.ledger-finance-tab[aria-selected=true]{border-bottom-color:var(--primary);background:var(--primary-light);color:var(--primary-dark);font-weight:650}.ledger-finance-tab:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.ledger-finance-tab-count{min-width:21px;height:21px;color:var(--text-secondary);background:#f1f3ee;border-radius:999px;place-items:center;padding:0 6px;font-size:11px;font-weight:600;display:inline-grid}.ledger-finance-tab[aria-selected=true] .ledger-finance-tab-count{color:var(--primary-dark);background:#dceee1}.ledger-finance-tab-panel{min-width:0}.ledger-purchase-actions{margin:0 0 0 auto}.ledger-purchase-data-card,.ledger-finance-data-card,.vip-customer-list-card,.service-record-list-card{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.ledger-purchase-data-card .table-toolbar{border-bottom:0;padding:10px 2px}.ledger-purchase-backdrop{align-items:center;padding:20px 14px}.ledger-purchase-modal{width:min(720px,100%);max-height:calc(100dvh - 40px);overflow-y:auto}.ledger-purchase-modal .modal-head{align-items:flex-start}.ledger-purchase-modal .modal-head .meta{margin:4px 0 0;font-size:13px}.ledger-purchase-modal .form-grid>.field{min-width:0;margin:0}.ledger-customer-picker{z-index:1;width:100%;min-width:0;position:relative}.ledger-customer-trigger{text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:10px;width:100%;min-width:0;min-height:40px;display:flex}.ledger-customer-trigger>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ledger-customer-trigger>svg{color:var(--muted);flex:none}.ledger-customer-trigger.has-error{border-color:var(--warn)}.ledger-customer-popover{z-index:90;background:#fff;border:1.5px solid #9ac9a9;border-radius:11px;flex-direction:column;gap:6px;padding:8px;display:flex;position:fixed;overflow:hidden;box-shadow:0 0 0 3px #3d8b5a1a,0 16px 36px #1f2a1a33}.ledger-customer-search{border:1px solid var(--line);color:var(--muted);border-radius:8px;align-items:center;gap:8px;padding:0 9px;display:flex}.ledger-customer-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #3d8b5a1f}.ledger-customer-search .input{width:100%;min-width:0;box-shadow:none;background:0 0;border:0;padding:8px 0}.ledger-customer-search .input:focus{box-shadow:none;outline:0}.ledger-customer-search{flex:none}.ledger-customer-options{overscroll-behavior:contain;scrollbar-color:#b7cdbb #f4f7f2;scrollbar-width:thin;flex:auto;min-height:0;overflow-y:auto}.ledger-customer-option{width:100%;min-height:44px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;padding:7px 9px;display:flex}.ledger-customer-option:hover,.ledger-customer-option.active{background:var(--primary-light);color:var(--primary-dark)}.ledger-customer-option:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.ledger-customer-option strong,.ledger-customer-option small{display:block}.ledger-customer-option strong{font-size:13px;font-weight:600}.ledger-customer-option small{color:var(--muted);margin-top:2px;font-size:11px}.ledger-customer-option>svg{color:var(--primary);flex:none}.ledger-customer-empty{color:var(--muted);text-align:center;margin:0;padding:12px 9px;font-size:13px}.ledger-customer-error{color:var(--warn);font-size:12px}.service-booking-actions{margin:0 0 0 auto}.service-booking-backdrop{align-items:center;padding:20px 14px}.service-booking-modal{width:min(720px,100%);max-height:calc(100dvh - 40px);overflow-y:auto}.service-booking-modal .modal-head{align-items:flex-start}.service-booking-form-actions{border-top:1px solid var(--line);grid-column:1/-1;justify-content:flex-end;align-items:center;gap:8px;padding-top:12px;display:flex}.service-booking-form-actions .footnote{flex:1;margin:0}.ledger-product-form{grid-template-columns:minmax(160px,1fr) minmax(130px,.7fr) minmax(100px,.5fr) auto;align-items:end;gap:12px;display:grid}.ledger-order-lines{flex-direction:column;gap:8px;display:flex}.ledger-order-line{border:1px solid var(--line);background:#fbfcfa;border-radius:8px;grid-template-columns:minmax(0,1.4fr) minmax(100px,.65fr) minmax(120px,.75fr) auto;align-items:end;gap:12px;padding:12px;display:grid}.ledger-order-line .field{min-width:0;margin:0}.ledger-order-line .input,.ledger-order-line .select{width:100%;min-width:0}.ledger-order-line>button{white-space:nowrap;align-self:end;min-height:40px}.ledger-note-field{flex:1;min-width:180px}.ledger-purchase-footer{border-top:1px solid var(--line);padding-top:12px}.ledger-purchase-footer .ledger-note-field{min-width:0;margin:0}.ledger-purchase-form-actions{justify-content:space-between;align-items:center;gap:10px;margin-top:12px;display:flex}.ledger-purchase-form-actions>.btn{min-height:40px}.pickup-row-action{flex-direction:column;align-items:flex-start;gap:4px;min-width:112px;display:flex}.pickup-row-action .btn{white-space:nowrap}.pickup-row-action .muted{white-space:nowrap;font-size:11px}.pickup-modal-backdrop{align-items:center;padding:20px 14px}.pickup-modal{width:min(480px,100%);max-height:calc(100dvh - 40px);overflow-y:auto}.pickup-modal .modal-head{align-items:flex-start}.pickup-modal .modal-head .meta{margin:4px 0 0;font-size:13px}.pickup-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0;display:grid}.pickup-summary>div{background:#f4f7f2;border-radius:9px;flex-direction:column;gap:4px;min-width:0;padding:11px 12px;display:flex}.pickup-summary span{color:var(--muted);font-size:12px}.pickup-summary strong{overflow-wrap:anywhere;font-size:14px}.pickup-confirm-form{gap:12px;display:grid}.pickup-confirm-form .field{margin:0}.pickup-confirm-form .field small{margin-top:4px}.pickup-modal-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding-top:12px;display:flex}.ledger-finance-form{align-items:end}.ledger-finance-form .field{margin:0}.text-danger{color:var(--danger,#b64937);font-weight:700}@media (max-width:760px){.ledger-section-grid{grid-template-columns:1fr}.ledger-stock-summary{grid-template-columns:1fr;gap:8px}.ledger-stock-summary .card{flex-direction:row;justify-content:space-between;align-items:center}.ledger-product-form,.ledger-order-line{grid-template-columns:1fr 1fr}.ledger-order-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px;padding:10px}.ledger-order-line>.field:first-child{grid-area:1/1/auto/3}.ledger-order-line>.field:nth-child(2){grid-area:2/1}.ledger-order-line>.field:nth-child(3){grid-area:2/2}.ledger-order-line>button{grid-area:1/3;min-height:38px;padding:5px 8px}.ledger-product-form>button,.ledger-order-line>button{min-height:40px}.ledger-purchase-backdrop{align-items:flex-start;padding:10px}.ledger-purchase-modal{max-height:calc(100dvh - 20px);padding:14px}.pickup-modal-backdrop{align-items:flex-start;padding:10px}.pickup-modal{max-height:calc(100dvh - 20px);padding:14px}.ledger-purchase-actions{width:auto;margin:0}.ledger-purchase-footer{padding-top:10px}.ledger-purchase-form-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;display:grid}.ledger-purchase-form-actions>.btn{width:100%;padding-left:8px;padding-right:8px}.service-booking-backdrop{align-items:flex-start;padding:10px}.service-booking-modal{max-height:calc(100dvh - 20px);padding:14px}.service-booking-actions{width:auto;margin:0}.service-booking-form-actions{flex-direction:column;align-items:stretch}.service-booking-form-actions>*,.ledger-note-field{width:100%}}@media print{@page{size:A4 portrait;margin:10mm}@page phone-batch-print{size:A4 portrait;margin:7mm 7mm 13mm;@bottom-right{content:"第 " counter(page) " 页 / 共 " counter(pages) " 页";color:#60675f;font:7pt sans-serif}}@page activity-purchase-checklist{size:A4 landscape;margin:0}@page checkin-print{size:A4 portrait;margin:10mm 10mm 14mm;@bottom-right{content:"第 " counter(page) " 页 / 共 " counter(pages) " 页";color:#60675f;font:7pt sans-serif}}.topbar,.page-actions,.btn,.filter-bar,.tabs,.table-toolbar,.no-print{display:none!important}.main,.print-sheet{max-width:none;padding:0}body{background:#fff}.card,.table-wrap,.activity-header{box-shadow:none}table.data{border-collapse:collapse;width:100%;min-width:0;font-size:9pt}table.data th,table.data td{white-space:nowrap;word-break:keep-all;padding:6px 4px}table.data thead{display:table-header-group}table.data tr{break-inside:avoid;page-break-inside:avoid}.checkin-print-sheet{page:checkin-print}.checkin-print-table th,.checkin-print-table td{padding:4px}.checkin-print-table .checkin-print-title-row>th{text-align:left;padding:0 0 7px;background:#fff!important;border:0!important;width:auto!important}.checkin-print-title-row h1{margin:0 0 5px;font-size:20px}.checkin-print-title-row .print-meta{margin:0;font-size:12pt}.checkin-print-table tbody{break-inside:avoid;page-break-inside:avoid}.checkin-print-table .checkin-print-note-cell{height:34px}.checkin-print-table .checkin-companion-row>td{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#eef7f0!important}.checkin-print-table .checkin-print-write-cell{height:13mm}.invitation-print-page{break-after:page;page-break-after:always;min-height:0}.invitation-print-page:last-of-type{break-after:auto;page-break-after:auto}.phone-batch-print-page{page:phone-batch-print}.phone-batch-print-header-row{align-items:flex-start;gap:5mm}.phone-batch-print-header-row h1{margin:0 0 2mm;font-size:18pt;line-height:1.15}.phone-batch-print-batch-id{border-width:.4mm;border-radius:1.2mm;padding:.8mm 2.2mm;font-size:11pt}.phone-batch-print-header .print-meta{margin:0 0 4mm;font-size:9pt;line-height:1.25}.phone-batch-print-batch-header th{padding:0 0 2mm!important}.activity-purchase-print-sheet{page:activity-purchase-checklist;break-after:page;page-break-after:always;grid-template-rows:repeat(2,105mm);grid-template-columns:repeat(4,74.25mm);width:297mm;height:210mm;margin:0;display:grid;overflow:hidden}.activity-purchase-print-sheet:last-of-type{break-after:auto;page-break-after:auto}.activity-purchase-a7-card,.activity-purchase-a7-card:first-child{box-sizing:border-box;break-inside:avoid;page-break-inside:avoid;border:.2mm dashed #899189;width:74.25mm;height:105mm;margin:0;padding:1mm 3mm;display:block;overflow:hidden}.activity-purchase-print-header h1{text-overflow:ellipsis;white-space:nowrap;margin:0 0 .7mm;font-size:8pt;line-height:1.2;overflow:hidden}.activity-purchase-print-header .print-meta{margin:0 0 2mm;font-size:6pt;line-height:1.2}.activity-purchase-print-table{font-size:6.2pt}.activity-purchase-print-table th,.activity-purchase-print-table td{white-space:normal;word-break:break-word;padding:.25mm .4mm;line-height:1.15}.activity-purchase-print-table thead th{border-bottom:.5mm solid #424a42}.activity-purchase-print-table tbody td{border-bottom:.2mm solid #737b73;height:7.1mm;padding-top:.2mm;padding-bottom:.2mm}.activity-purchase-check-box{width:3.2mm;height:3.2mm}.activity-purchase-print-empty{margin:0 0 1mm;font-size:5.5pt}.invitation-print-table{table-layout:auto}.phone-batch-print-table{table-layout:fixed;font-size:7.5pt}.phone-batch-print-table th,.phone-batch-print-table td{white-space:normal;word-break:break-word;padding:1mm 1.5mm;line-height:1.15}.phone-batch-print-customer-meta{font-size:6.5pt}.phone-batch-print-table .phone-batch-print-write-cell,.phone-batch-print-table .phone-batch-print-situation-cell{height:9mm}.phone-batch-print-companion+.phone-batch-print-companion{margin-top:1mm;padding-top:1mm}.phone-batch-print-companion-tag,.phone-batch-print-number-warning{font-size:6.5pt}.print-page-number{color:#60675f;text-align:right;margin:1mm 0 0;font-size:5.5pt}.sig-line{break-inside:avoid;page-break-inside:avoid}}.intelligence-service-status{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:0 0 18px;padding:10px 12px;font-size:12px;display:flex}.intelligence-page-header>div{min-width:0}.intelligence-page-header .meta{overflow-wrap:anywhere;max-width:760px}.intelligence-service-check{white-space:nowrap;background:#f3f6f1;border-radius:999px;align-items:center;gap:6px;padding:4px 8px;display:inline-flex}.intelligence-service-check strong{font-weight:650}.intelligence-ready{color:var(--primary-dark)}.intelligence-warning{color:var(--warn)}.intelligence-service-status code{color:var(--text-secondary)}.intelligence-service-worker{flex-wrap:wrap;align-items:center;gap:4px 7px;min-width:0;display:inline-flex}.intelligence-service-worker code{overflow-wrap:anywhere}.intelligence-service-settings{white-space:nowrap}.intelligence-list-heading h2{margin:0;font-size:16px}.intelligence-list-heading{color:var(--muted);justify-content:space-between;align-items:baseline;gap:12px;margin:18px 0 8px;font-size:12px;display:flex}.intelligence-list-heading h2{color:var(--text)}.intelligence-event-list{flex-direction:column;gap:7px;display:flex}.intelligence-event{border:1px solid var(--line);background:var(--card);border-radius:11px;min-width:0;max-width:100%;scroll-margin-top:18px;overflow:hidden}.intelligence-event[open]{box-shadow:0 3px 12px #283e2b0f}.intelligence-event-highlight{border-color:var(--primary);box-shadow:0 0 0 3px #3d8b5a24}.intelligence-event-summary,.intelligence-draft-summary,.intelligence-fact-group-summary,.intelligence-source-heading{align-items:center;gap:9px;min-width:0;display:flex}.intelligence-event-summary{cursor:pointer;list-style:none}.intelligence-event-summary::-webkit-details-marker{display:none}.intelligence-event-summary::marker{content:""}.intelligence-event-summary:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.intelligence-event-summary{grid-template-columns:auto minmax(180px,1fr) auto auto;padding:11px 14px;display:grid}.intelligence-event-summary-main{flex-direction:column;gap:2px;min-width:0;display:flex}.intelligence-event-summary-main strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.intelligence-event-summary-main small{color:var(--muted);overflow-wrap:anywhere;font-size:11px}.intelligence-event-summary-counts{color:var(--text-secondary);flex-wrap:wrap;justify-content:flex-end;gap:5px;font-size:11px;display:flex}.intelligence-event-summary-counts span{background:#f1f4ef;border-radius:999px;padding:3px 7px}.intelligence-disclosure-icon{width:20px;height:20px;color:var(--muted);flex:0 0 20px;justify-content:center;align-items:center;display:inline-flex}.intelligence-disclosure-icon:before{content:"⌄";font-size:17px;line-height:1;transition:transform .16s;display:block}details[open]>summary .intelligence-disclosure-icon:before{transform:rotate(180deg)}.intelligence-event-content{padding:0 14px 14px}.intelligence-event-time{color:var(--muted);font-size:12px}.intelligence-status{color:#596354;white-space:nowrap;background:#f1f3ee;border-radius:999px;align-items:center;padding:3px 8px;font-size:11px;display:inline-flex}.intelligence-status-processed,.intelligence-status-confirmed,.intelligence-status-accepted{color:#247448;background:#e7f4eb}.intelligence-status-pending{color:#94621c;background:#fff4df}.intelligence-status-failed,.intelligence-status-conflict{color:#b4472b;background:#fff0ec}.intelligence-status-ignored{color:#75806f}.intelligence-source-panel{background:#f7f8f5;border:1px solid #e6ebe3;border-radius:9px;margin:0 0 12px;overflow:hidden}.intelligence-source-heading{color:var(--text-secondary);justify-content:flex-start;padding:8px 10px 0;font-size:12px}.intelligence-source-tools{align-items:center;gap:8px;min-width:0;margin-left:auto;display:flex}.intelligence-source-heading small{color:var(--muted);font-size:11px}.intelligence-delete-event-trigger{color:#9b5145;align-items:center;gap:5px;min-height:28px;padding:3px 8px;font-size:11px;display:inline-flex}.intelligence-delete-event-trigger:hover{color:#813d34;background:#fbefec;border-color:#e8c8c0}.intelligence-delete-event-confirm{color:#813d34;background:#fbefec;border:1px solid #e8c8c0;border-radius:8px;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;min-width:0;padding:5px 7px;font-size:11px;display:flex}.intelligence-delete-event-confirm>span{margin-right:auto}.intelligence-delete-event-confirm .btn{min-height:26px;padding:3px 7px;font-size:11px}.intelligence-delete-event-submit{color:#fff;background:#a95748;border-color:#e8c8c0}.intelligence-delete-event-submit:hover{color:#fff;background:#914637}.intelligence-source{gap:8px;margin:0;padding:0 10px 10px;display:grid}.intelligence-source strong{color:var(--muted);font-size:11px;font-weight:600}.intelligence-source p{color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0 0;font-size:13px}.intelligence-trigger-hint,.intelligence-phone{color:var(--muted);font-size:12px}.intelligence-error{color:#a13f27;background:#fff5f1;border:1px solid #f0c9bd;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;padding:10px 12px;font-size:13px;display:flex}.intelligence-empty-result{color:var(--muted);margin:10px 0;font-size:13px}.intelligence-draft{border:1px solid var(--line);background:#fff;border-radius:9px;margin-top:8px;overflow:hidden}.intelligence-draft-summary{flex-wrap:wrap;padding:9px 10px}.intelligence-draft-summary>strong{min-width:80px;color:var(--primary-dark);font-size:13px}.intelligence-draft-index,.intelligence-draft-summary-count{color:var(--muted);font-size:11px}.intelligence-draft-summary-count{margin-left:auto}.intelligence-draft-content{border-top:1px solid #edf0e9;padding:0 10px 11px}.intelligence-match{color:#66705f;background:#f0f2ed;border-radius:999px;padding:3px 8px;font-size:11px}.intelligence-match-suggested{color:#35678e;background:#edf4fb}.intelligence-match-ambiguous{color:#a75a12;background:#fff3e6}.intelligence-match-resolved{color:#247448;background:#e7f4eb}.intelligence-customer-resolution{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;margin-top:10px;display:grid}.intelligence-customer-match-form{align-items:end;gap:8px;display:flex}.intelligence-customer-match-form>.btn{min-height:36px}.intelligence-customer-match-form label,.intelligence-fact-row label{min-width:0;color:var(--muted);flex-direction:column;flex:1;gap:4px;font-size:11px;display:flex}.intelligence-customer-match-form .select,.intelligence-fact-row .select,.intelligence-fact-row .input{width:100%;min-width:0}.intelligence-profile-trigger{color:var(--primary-dark);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;padding:6px 3px;font-size:12px}.intelligence-profile-trigger:hover{text-decoration:underline}.intelligence-resolved-customer{color:var(--text-secondary);margin:8px 0;font-size:12px}.intelligence-profile-dialog{border:1px solid var(--line);background:var(--card);width:min(620px,100vw - 28px);max-width:none;max-height:min(84dvh,760px);color:var(--text);border-radius:14px;margin:auto;padding:0;position:fixed;inset:0;overflow:auto;box-shadow:0 18px 54px #1f2a1a33}.intelligence-profile-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#19241a66}.intelligence-profile-header{z-index:1;border-bottom:1px solid var(--line);background:var(--card);justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex;position:sticky;top:0}.intelligence-profile-header h2{margin:0;font-size:18px}.intelligence-profile-header p{color:var(--muted);margin:4px 0 0;font-size:12px}.intelligence-profile-close{flex:0 0 34px;place-items:center;width:34px;height:34px;padding:0;display:grid}.intelligence-profile-section{border-bottom:1px solid var(--line);padding:14px 18px}.intelligence-profile-section h3{color:var(--text-secondary);margin:0 0 10px;font-size:13px}.intelligence-profile-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:0;display:grid}.intelligence-profile-fields>div{min-width:0}.intelligence-profile-fields dt{color:var(--muted);font-size:11px}.intelligence-profile-fields dd{overflow-wrap:anywhere;margin:2px 0 0;font-size:13px}.intelligence-profile-note{grid-column:1/-1}.intelligence-profile-feedback,.intelligence-profile-empty{color:var(--muted);margin:0;padding:18px;font-size:13px}.intelligence-profile-error{color:#a6533b}.intelligence-profile-facts{gap:7px;margin:0;padding:0;list-style:none;display:grid}.intelligence-profile-facts li{background:#f6f8f4;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;gap:8px;padding:8px 9px;display:grid}.intelligence-profile-facts li>span{color:var(--primary-dark);white-space:nowrap;background:#e9f2eb;border-radius:999px;padding:3px 7px;font-size:10px}.intelligence-profile-facts p{overflow-wrap:anywhere;margin:0;font-size:12px}.intelligence-profile-facts time{color:var(--muted);white-space:nowrap;font-size:10px}.intelligence-resolved-customer{margin:8px 0}.intelligence-phone{margin:8px 0 0}.intelligence-warnings{color:#965b1b;background:#fff7eb;border-radius:8px;margin-top:10px;padding:9px 11px;font-size:12px}.intelligence-warnings p{margin:4px 0 0}.intelligence-facts{margin-top:12px}.intelligence-facts-heading{color:var(--text-secondary);justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:6px;font-size:12px;display:flex}.intelligence-facts-heading span{color:var(--muted);font-size:11px}.intelligence-fact-group{background:#fafbf9;border:1px solid #e7ebe4;border-left-width:3px;border-radius:8px;margin-top:6px;overflow:hidden}.intelligence-fact-group-summary{min-height:38px;padding:6px 9px}.intelligence-fact-group-summary>strong{color:var(--text-secondary);font-size:11px}.intelligence-fact-group-status{color:var(--muted);margin-left:auto;font-size:11px}.intelligence-fact-group-health{background:#fffaf8;border-left-color:#d77760}.intelligence-fact-group-family{background:#fffdf8;border-left-color:#bd8b48}.intelligence-fact-group-housing{background:#f9fbfe;border-left-color:#708eb2}.intelligence-fact-group-purchase_intent{background:#f7fbf8;border-left-color:#429364}.intelligence-fact-group-preference{background:#fbf9fe;border-left-color:#8874aa}.intelligence-fact-group-service_need{background:#f7fbfb;border-left-color:#409b9a}.intelligence-fact-group-contact{background:#f8fafc;border-left-color:#6888a3}.intelligence-fact-group-other{background:#fafbf9;border-left-color:#90988b}.intelligence-category-chip{color:#596354;white-space:nowrap;background:#eef1ec;border-radius:999px;align-items:center;padding:3px 8px;font-size:11px;display:inline-flex}.intelligence-category-health{color:#a6533b;background:#f8e9e4}.intelligence-category-family{color:#8a662b;background:#f7efdc}.intelligence-category-housing{color:#4b6c92;background:#e9eff7}.intelligence-category-purchase_intent{color:#2a7549;background:#e6f3e9}.intelligence-category-preference{color:#705a95;background:#eee9f6}.intelligence-category-service_need{color:#317977;background:#e5f2f1}.intelligence-category-contact{color:#526e87;background:#eaf0f5}.intelligence-fact-group-content{padding:0 8px 8px}.intelligence-fact-row{background:#fff;border:1px solid #e9ede7;border-radius:7px;grid-template-columns:115px minmax(180px,1fr) auto;align-items:end;gap:8px;margin:0 0 7px;padding:8px;display:grid}.intelligence-fact-actions{grid-area:1/3;align-self:end;gap:6px;display:flex}.intelligence-fact-action{white-space:nowrap;justify-content:center;align-items:center;gap:4px;display:inline-flex}.intelligence-fact-accept{color:#247448;background:#eaf5ed;border-color:#c7dfcd}.intelligence-fact-accept:hover{background:#dff0e4;border-color:#a8ceb3}.intelligence-fact-ignore{color:#a6533b;background:#fff7f5;border-color:#ead5d0}.intelligence-fact-ignore:hover{background:#fff0ec;border-color:#dfb9b0}button.btn.intelligence-fact-accept-selected{color:#3d6c4b;background:#eaf4ed;border-color:#bfd7c5}button.btn.intelligence-fact-ignore-selected{color:#666e65;background:#f1f2ee;border-color:#d7dcd4}button.btn.intelligence-fact-accept-selected:disabled,button.btn.intelligence-fact-ignore-selected:disabled{opacity:1;cursor:default}.intelligence-toast{z-index:120;width:max-content;max-width:min(420px,100vw - 32px);color:var(--primary-dark);background:#fff;border:1px solid #cfe4d4;border-radius:10px;align-items:center;gap:9px;padding:10px 12px;font-size:13px;animation:.16s ease-out intelligence-toast-appear;display:flex;position:fixed;bottom:76px;right:20px;box-shadow:0 8px 24px #1f2a1a24}.intelligence-toast>svg{flex:none}.intelligence-toast>span{overflow-wrap:anywhere}.intelligence-toast>button{width:24px;height:24px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;display:grid}.intelligence-toast>button:hover{color:var(--text);background:#f1f5f0}.intelligence-toast-error{color:#a6533b;border-color:#ead5d0}.intelligence-toast-error>button:hover{background:#fff0ec}@keyframes intelligence-toast-appear{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.intelligence-fact-meta{color:var(--muted);grid-column:1/-2;font-size:11px}.intelligence-fact-readonly{background:#fff;border:1px solid #e9ede7;border-radius:7px;grid-template-columns:minmax(0,1fr);align-items:center;gap:4px;padding:8px;display:grid}.intelligence-fact-readonly p{white-space:pre-wrap;margin:0}.intelligence-fact-readonly .intelligence-fact-meta{grid-column:auto}.intelligence-draft-actions{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;padding-top:10px;display:flex}.intelligence-bulk-check{color:var(--text-secondary);align-items:center;gap:7px;margin-right:auto;font-size:12px;display:inline-flex}.intelligence-bulk-check input{width:16px;height:16px;accent-color:var(--primary)}.intelligence-empty-page{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:12px;padding:30px 18px}.intelligence-empty-page strong{color:var(--text)}.intelligence-empty-page p{max-width:650px;margin:8px auto 0;font-size:13px}.customer-intelligence-list{flex-direction:column;gap:12px;display:flex}.customer-intelligence-item{border-top:1px solid var(--line);padding:10px 0}.customer-intelligence-item:first-child{border-top:0;padding-top:0}.customer-intelligence-heading{align-items:center;gap:8px;display:flex}.customer-intelligence-heading time,.customer-intelligence-source{color:var(--muted);font-size:11px}.customer-intelligence-manage-actions{align-items:center;gap:4px;margin-left:auto;display:flex}.customer-intelligence-manage-actions .btn,.customer-intelligence-edit-actions .btn{justify-content:center;align-items:center;gap:4px;min-height:30px;padding:4px 8px;font-size:12px;display:inline-flex}.customer-intelligence-manage-actions .btn{border-color:#0000;border-radius:8px;width:30px;min-width:30px;height:30px;padding:0;transition:background-color .15s,border-color .15s,color .15s}.customer-intelligence-edit-button{color:var(--primary-dark);background:#edf5ef}.customer-intelligence-edit-button:hover{color:#245c39;background:#deeee2;border-color:#c9dfce}.customer-intelligence-delete-button{color:#9b5145;background:#fbefec}.customer-intelligence-delete-button:hover{color:#813d34;background:#f5e1dc;border-color:#e8c8c0}.customer-intelligence-edit-form{grid-template-columns:minmax(120px,.28fr) minmax(0,1fr) auto;align-items:center;gap:8px;margin:8px 0;display:grid}.customer-intelligence-edit-form .select,.customer-intelligence-edit-form .input{width:100%;min-width:0;min-height:36px}.customer-intelligence-edit-actions{gap:6px;display:flex}.customer-intelligence-delete-confirm{color:#73523c;background:#fffaf5;border:1px solid #ead8c8;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0;padding:9px 10px;font-size:12px;display:flex}.customer-intelligence-delete-confirm>span{margin-right:auto}.customer-intelligence-delete-confirm .btn{min-height:30px;padding:4px 8px;font-size:12px}.customer-intelligence-delete-confirm-button{color:#8b4e3f;background:#fff;border-color:#e3c7bb}.customer-intelligence-item p{white-space:pre-wrap;margin:7px 0}.customer-intelligence-source a{color:var(--primary-dark)}@media (max-width:760px){.customer-intelligence-heading{flex-wrap:wrap;gap:6px}.customer-intelligence-manage-actions{gap:2px}.customer-intelligence-edit-form{grid-template-columns:minmax(0,1fr);gap:7px}.customer-intelligence-edit-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.customer-intelligence-delete-confirm{align-items:stretch}.customer-intelligence-delete-confirm>span{flex-basis:100%}.customer-intelligence-delete-confirm .btn{flex:1}.intelligence-toast{right:12px;bottom:calc(72px + env(safe-area-inset-bottom));max-width:none;left:12px}.intelligence-page-header{gap:10px;margin-bottom:14px}.intelligence-page-header>div{flex:100%;min-width:0}.intelligence-page-header h1{font-size:22px}.intelligence-page-header .meta{overflow-wrap:anywhere;font-size:13px;line-height:1.5}.intelligence-page-header form{width:auto;max-width:100%}.intelligence-page-header .btn{min-height:38px;padding:7px 12px;font-size:13px}.intelligence-service-status{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:7px;margin-bottom:14px;padding:9px;display:grid}.intelligence-service-check{justify-content:space-between;gap:4px;min-width:0;padding:6px 8px;font-size:11px}.intelligence-service-worker,.intelligence-service-settings{grid-column:1/-1;min-width:0}.intelligence-service-worker{overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:2px;padding:2px 1px}.intelligence-service-worker code{white-space:normal;max-width:100%}.intelligence-service-settings{width:fit-content}.intelligence-list-heading{align-items:center;gap:6px;margin-top:14px}.intelligence-list-heading h2{font-size:14px}.intelligence-list-heading>span{white-space:nowrap;background:#f1f4ef;border-radius:999px;padding:3px 7px;font-size:10px}.intelligence-event-list{gap:6px}.intelligence-event-summary{grid-template-columns:auto minmax(0,1fr) 20px;gap:4px 8px;min-width:0;padding:9px 10px;list-style:none;display:grid}.intelligence-event-summary::-webkit-details-marker{display:none}.intelligence-event-summary::marker{content:""}.intelligence-event-summary>.intelligence-status{grid-area:1/1;align-self:start;margin-top:2px}.intelligence-event-summary-main{grid-area:1/2}.intelligence-event-summary-main strong{white-space:normal}.intelligence-event-summary-main small{overflow-wrap:anywhere;line-height:1.4}.intelligence-event-summary-counts{grid-area:2/2;justify-content:flex-start}.intelligence-event-summary>.intelligence-disclosure-icon{grid-area:1/3/3}.intelligence-event-content{padding:0 10px 10px}.intelligence-source-heading{flex-wrap:wrap;align-items:flex-start}.intelligence-source-tools{justify-content:space-between;gap:6px;width:100%;margin-left:0}.intelligence-delete-event-confirm{justify-content:flex-start}.intelligence-delete-event-confirm>span{flex-basis:100%}.intelligence-error{flex-direction:column;align-items:stretch}.intelligence-draft-summary{gap:6px;padding:8px}.intelligence-draft-summary>strong{flex:1}.intelligence-draft-summary-count{margin-left:0}.intelligence-draft-content{padding:0 8px 9px}.intelligence-fact-group-summary{flex-wrap:wrap}.intelligence-fact-group-status{margin-left:0}.intelligence-customer-resolution{grid-template-columns:minmax(0,1fr)}.intelligence-customer-match-form{flex-direction:column;align-items:stretch}.intelligence-customer-match-form .btn{width:100%}.intelligence-profile-trigger{justify-self:start;padding:2px 0}.intelligence-profile-dialog{border-radius:12px;width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}.intelligence-profile-header,.intelligence-profile-section{padding-left:14px;padding-right:14px}.intelligence-profile-fields{gap:8px 10px}.intelligence-profile-facts li{grid-template-columns:auto minmax(0,1fr);gap:6px}.intelligence-profile-facts time{grid-column:2}.intelligence-fact-row{grid-template-columns:minmax(0,1fr)}.intelligence-fact-meta{grid-column:auto}.intelligence-fact-actions{grid-area:auto/1;width:100%}.intelligence-fact-action{flex:1}.intelligence-draft-actions>form,.intelligence-draft-actions>form .btn{width:100%}.intelligence-bulk-check{margin-right:0}}.integration-settings-card{margin-top:20px}.integration-settings-heading{margin-bottom:16px}.integration-settings-heading h2{margin:0 0 4px;font-size:18px}.integration-settings-heading p{margin:0}.integration-settings-form{flex-direction:column;gap:18px;display:flex}.integration-settings-group{border-top:1px solid var(--line);padding-top:16px}.integration-settings-group h3{margin:0 0 12px;font-size:15px}.integration-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;display:grid}.integration-setting-field{flex-direction:column;gap:6px;min-width:0;display:flex}.integration-setting-field>label{color:var(--text-secondary);font-size:13px;font-weight:650}.integration-setting-field .input{width:100%;min-width:0}.integration-setting-status{min-height:18px;color:var(--muted);font-size:12px}.integration-setting-controls{color:var(--text-secondary);flex-wrap:wrap;gap:6px 16px;font-size:12px;display:flex}.integration-setting-controls label{cursor:pointer;align-items:center;gap:5px;display:inline-flex}.integration-setting-controls input{width:15px;height:15px;accent-color:var(--primary)}.integration-settings-group .footnote{margin:10px 0 0}.integration-settings-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:flex-end;gap:16px;padding-top:14px;display:flex}.integration-settings-footer .footnote{max-width:720px;margin:0}.customer-export-settings-card{margin-top:20px}.customer-export-settings-card>.section-heading{margin-bottom:14px}.customer-export-settings-card h2{margin:0;font-size:18px}.customer-export-settings-card .meta{margin:5px 0 0}.customer-export-settings-form{flex-direction:column;align-items:flex-start;gap:14px;display:flex}.customer-export-settings-toggle{cursor:pointer;align-items:center;gap:12px;display:flex}.customer-export-settings-toggle input{appearance:none;cursor:pointer;background:#e7eae7;border:1px solid #c8d0c8;border-radius:999px;flex:none;width:46px;height:27px;margin:0;transition:background-color .18s,border-color .18s;position:relative}.customer-export-settings-toggle input:before{content:"";background:#fff;border-radius:50%;width:21px;height:21px;transition:transform .18s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #17241730}.customer-export-settings-toggle input:checked{border-color:var(--primary);background:var(--primary)}.customer-export-settings-toggle input:checked:before{transform:translate(19px)}.customer-export-settings-toggle input:focus-visible{outline-offset:2px;outline:3px solid #2c8f5433}.customer-export-settings-toggle-copy{flex-direction:column;gap:3px;display:flex}.customer-export-settings-toggle-copy strong{font-size:14px}.customer-export-settings-toggle-copy small{color:var(--muted);font-size:12px;line-height:1.5}.account-backup-card{justify-content:space-between;align-items:center;gap:20px;margin-top:20px;display:flex}.account-backup-card h2{margin:0 0 5px;font-size:18px}.account-backup-card .meta,.account-backup-card .footnote{margin:0}.account-backup-card .footnote{margin-top:8px}.account-backup-actions{flex-wrap:wrap;align-items:flex-start;gap:8px;display:flex}.cloud-backup-upload{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.cloud-backup-upload-message{max-width:420px;color:var(--primary-dark);overflow-wrap:anywhere;margin:0;font-size:12px}.database-restore-card{flex-direction:column;gap:14px;margin-top:20px;display:flex}.database-restore-card>.section-heading{margin-bottom:0}.database-restore-card h2{margin:0;font-size:18px}.database-restore-card .meta{margin:5px 0 0}.database-restore-warning{color:#815044;background:#fff5f1;border:1px solid #efc9bb;border-radius:9px;flex-direction:column;gap:4px;padding:12px 14px;font-size:13px;line-height:1.55;display:flex}.database-restore-warning strong{color:#a33e2c}.database-restore-form{flex-direction:column;align-items:flex-start;gap:13px;display:flex}.database-restore-file,.database-restore-confirm{width:min(100%,620px);color:var(--text-secondary);flex-direction:column;gap:6px;font-size:13px;font-weight:650;display:flex}.database-restore-file input{border:1px solid var(--line);width:100%;color:var(--text);background:#fff;border-radius:8px;padding:8px;font-size:13px}.database-restore-confirm .input{width:100%}.database-restore-form>.footnote,.database-restore-form>.form-error{margin:0}.database-restore-success{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.database-restore-success .form-success{flex-basis:100%;margin:0}.database-restore-success small{color:var(--muted);flex-basis:100%;font-size:12px}.database-restore-form>.page-actions{justify-content:flex-end;width:100%}.operation-log-card{margin-top:20px}.operation-log-card>.section-heading{margin-bottom:0}.operation-log-card>.section-heading>div{min-width:0}.operation-log-card h2{margin:0;font-size:18px}.operation-log-card .meta{margin:5px 0 0}.operation-log-card .table-wrap{margin-top:14px}.operation-log-table{min-width:1040px}.operation-log-username{margin-top:3px;font-size:12px;display:block}.operation-log-time{white-space:nowrap;font-variant-numeric:tabular-nums}.operation-log-changes{min-width:130px;max-width:420px}.operation-log-changes summary{color:var(--primary-dark);cursor:pointer;font-weight:650}.operation-log-changes ul{white-space:normal;overflow-wrap:anywhere;gap:5px;margin:8px 0 0;padding-left:18px;display:grid}.operation-log-changes li{line-height:1.5}.operation-log-pagination{justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.operation-log-pagination>div{gap:8px;display:flex}.form-success{color:var(--primary-dark);margin:0;font-size:13px}@media (max-width:640px){.integration-settings-card{padding:15px 13px}.integration-settings-grid{grid-template-columns:minmax(0,1fr);gap:12px}.integration-settings-footer{flex-direction:column;align-items:stretch}.integration-settings-footer .btn{width:100%}.account-backup-card{flex-direction:column;align-items:stretch}.account-backup-actions{flex-direction:column}.account-backup-card .btn,.cloud-backup-upload,.database-restore-form>.page-actions,.database-restore-form>.page-actions .btn{width:100%}.operation-log-pagination{flex-direction:column;align-items:stretch}.operation-log-pagination>div{justify-content:flex-end}}.activity-flow-card{flex-direction:column;gap:12px;display:flex}.activity-flow-card>.footnote{margin:0}.activity-flow-preview{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.activity-flow-preview>div{border:1px solid var(--line);background:#fafbf9;border-radius:10px;flex-direction:column;justify-content:center;gap:3px;min-height:66px;padding:10px 12px;display:flex}.activity-flow-preview strong{color:var(--primary-dark);font-size:20px}.activity-flow-preview span{color:var(--muted);font-size:12px}.activity-flow-preview-route{flex-wrap:wrap;gap:7px;margin:0;padding:0;list-style:none;display:flex}.activity-flow-preview-route li{border:1px solid var(--line);background:#fff;border-radius:999px;align-items:center;gap:6px;padding:6px 9px;font-size:13px;display:inline-flex}.activity-flow-optional-purchases{border:1px dashed var(--line);background:#fafbf9;border-radius:10px;flex-direction:column;gap:7px;padding:11px 12px;display:flex}.activity-flow-optional-purchases>strong{align-items:center;gap:8px;font-size:13px;display:flex}.activity-flow-optional-purchases>div{flex-wrap:wrap;gap:6px;display:flex}.activity-flow-optional-purchases>small{color:var(--muted)}.activity-flow-editor-list{flex-direction:column;gap:7px;margin:0;padding:0;list-style:none;display:flex}.activity-flow-editor-row{border:1px solid var(--line);border-radius:10px;grid-template-columns:30px minmax(80px,1fr) auto;align-items:center;gap:10px;padding:9px 10px;display:grid}.activity-flow-order{background:var(--primary-light);width:26px;height:26px;color:var(--primary-dark);border-radius:50%;place-items:center;font-size:12px;font-weight:700;display:grid}.activity-flow-order-actions{gap:4px;display:flex}.icon-button{border:1px solid var(--line);width:30px;height:30px;color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:8px;place-items:center;padding:0;display:grid}.icon-button:disabled{opacity:.42;cursor:not-allowed}.icon-button.danger{color:#9a5546}.activity-flow-add-row{gap:8px;display:flex}.activity-flow-add-row .select{flex:1;min-width:0}.flow-dialog-backdrop{z-index:1200;background:#1822196b;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.flow-dialog{border:1px solid var(--line);background:#fff;border-radius:16px;width:min(520px,100%);max-height:min(80dvh,640px);padding:22px;overflow:auto;box-shadow:0 20px 70px #0003}.flow-dialog h3{margin:0 0 10px;font-size:18px}.flow-dialog>p{color:var(--text-secondary);margin:0 0 18px;line-height:1.6}.flow-dialog .page-actions{justify-content:flex-end}.flow-change-summary{gap:10px;margin:14px 0 18px;display:grid}.flow-change-summary>div{grid-template-columns:86px minmax(0,1fr);gap:8px;display:grid}.flow-change-summary span{color:var(--text-secondary);overflow-wrap:anywhere}.inline-feedback{margin:8px 0 0;font-size:13px;display:block}.inline-feedback.success{color:var(--primary-dark)}.inline-feedback.error{color:#a33d30}.inline-feedback.warm{color:#975622}.activity-name-filter{background:var(--primary-light);color:var(--text-secondary);border-radius:9px;align-items:center;gap:8px;margin:0 0 12px;padding:9px 12px;font-size:13px;display:flex}.activity-name-filter a{color:var(--primary-dark);margin-left:auto}.route-skip-checklist{flex-direction:column;gap:7px;margin:12px 0 16px;display:flex}.route-skip-checklist label{border:1px solid var(--line);cursor:pointer;border-radius:9px;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 10px;display:grid}.route-skip-checklist input{width:16px;height:16px;accent-color:var(--primary)}.route-skip-checklist small{color:var(--muted)}.route-skip-next{background:var(--primary-light);color:var(--primary-dark);border-radius:9px;align-items:center;gap:7px;margin-bottom:15px;padding:9px 10px;font-size:13px;display:flex}.customer-activity-route{overflow:hidden}.customer-journey-list{flex-direction:column;gap:0;margin:0;padding:0;list-style:none;display:flex}.customer-journey-node{border-bottom:1px solid var(--line);grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;display:grid}.journey-node-index{width:26px;height:26px;color:var(--muted);background:#f1f3ef;border-radius:50%;place-items:center;font-size:12px;font-weight:700;display:grid}.customer-journey-node.is-attended .journey-node-index{background:var(--primary-light);color:var(--primary-dark)}.customer-journey-node.is-pending .journey-node-index{color:#985b25;background:#fff3e7}.customer-journey-options{border:1px dashed var(--line);background:#fafbf9;border-radius:10px;flex-direction:column;gap:7px;margin-top:14px;padding:11px 12px;display:flex}.customer-journey-options>div:first-child{flex-wrap:wrap;align-items:baseline;gap:8px;margin-bottom:3px;display:flex}.customer-journey-options>div:first-child strong{font-size:13px}.customer-journey-option{border-top:1px solid var(--line);align-items:center;gap:10px;min-height:38px;padding-top:7px;display:flex}.customer-journey-option>strong{min-width:52px}.customer-journey-option>small{color:var(--muted)}.journey-node-main{flex-wrap:wrap;align-items:center;gap:7px;min-width:0;display:flex}.journey-node-main small{color:var(--muted);flex-basis:100%;font-size:12px}.journey-node-main .journey-skip-reason{color:#8a613d}.journey-node-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.journey-node-actions form{margin:0}.journey-node-actions .btn{gap:5px}.customer-journey-attendance{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}.customer-journey-attendance>strong{font-size:14px}.customer-journey-attendance ul{flex-direction:column;gap:7px;margin:9px 0 0;padding:0;list-style:none;display:flex}.customer-journey-attendance li{color:var(--text-secondary);align-items:center;gap:7px;font-size:13px;display:flex}.customer-journey-attendance li svg{color:var(--primary);flex:none}.customer-journey-attendance li span{color:var(--muted);white-space:nowrap;margin-left:auto}.activity-purchase-panel{gap:14px}.activity-purchase-mobile-map{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);min-width:0;box-shadow:var(--shadow);padding:20px;display:block}.activity-purchase-list{display:none}.activity-purchase-map-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.activity-purchase-map-heading-title{align-items:center;gap:12px;min-width:0;display:flex}.activity-purchase-map-eyebrow{color:var(--primary-dark);align-items:center;gap:7px;font-size:17px;font-weight:750;display:inline-flex}.activity-purchase-map-count{color:var(--muted);font-size:15px;font-weight:650}.activity-purchase-map-print{flex:none;align-items:center;gap:6px;display:inline-flex}.activity-purchase-live-summary{color:var(--text-secondary);background:#fff;border:1px solid #e3ebe4;border-radius:12px;gap:10px;margin-top:12px;padding:13px 15px;font-size:14px;line-height:1.4;display:grid}.activity-purchase-live-summary-top{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.activity-purchase-live-summary-top>strong{color:var(--primary-dark);flex:none;font-size:14px;font-weight:800}.activity-purchase-live-grade-counts{flex-wrap:wrap;justify-content:flex-end;gap:6px;min-width:0;display:flex}.activity-purchase-live-grade-count{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;gap:4px;padding:4px 8px;font-size:12px;font-weight:750;display:inline-flex}.activity-purchase-live-grade-count.is-grade-a{color:#236b41;background:#e1f2e7;border-color:#a9d4b7}.activity-purchase-live-grade-count.is-grade-b{color:#8a5a18;background:#fff1d8;border-color:#e6d0a8}.activity-purchase-live-grade-count.is-grade-c{color:#687267;background:#f0f2ef;border-color:#d9ded7}.activity-purchase-live-grade-count b{font-size:13px;font-weight:850}.activity-purchase-live-grade-count small{margin-left:2px;font-size:11px;font-weight:650}.activity-purchase-live-summary-products{flex-wrap:wrap;gap:7px;min-width:0;display:flex}.activity-purchase-live-summary-item{background:#f3f7f3;border-radius:7px;align-items:center;gap:6px;min-width:0;padding:4px 8px;display:inline-flex}.activity-purchase-live-summary-item>span{min-width:0;color:var(--text-secondary);overflow-wrap:anywhere}.activity-purchase-live-summary-item b{color:var(--primary-dark);flex:none;font-size:14px;font-weight:800}.activity-purchase-live-summary-item small{margin-left:2px;font-size:11px;font-weight:650}.activity-purchase-map-session{color:var(--primary-dark);overflow-wrap:anywhere;background:#f1f6f1;border-radius:9px;margin:12px 0 15px;padding:10px 12px;font-size:14px;font-weight:700;line-height:1.4}.activity-purchase-map-grid{grid-template-rows:repeat(8,minmax(76px,auto));grid-template-columns:repeat(3,minmax(0,1fr)) 30px repeat(3,minmax(0,1fr));align-items:stretch;gap:7px;display:grid}.activity-purchase-map-seat{min-width:0;min-height:76px;color:var(--text);text-align:left;cursor:pointer;background:#f3f8f4;border:1px solid #c8ddce;border-radius:11px;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;padding:7px 9px;transition:border-color .12s,background-color .12s,box-shadow .12s;display:flex}.activity-purchase-map-seat:not(:disabled):hover{border-color:var(--primary);background:#e8f4eb;box-shadow:0 2px 8px #29693f1f}.activity-purchase-map-seat:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.activity-purchase-map-seat-heading{justify-content:space-between;align-items:center;gap:5px;width:100%;display:flex}.activity-purchase-map-seat strong{color:var(--primary-dark);font-size:21px;line-height:1.05}.activity-purchase-grade-badge{border:1px solid #0000;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 5px;font-size:11px;font-weight:850;line-height:1;display:inline-grid}.activity-purchase-grade-badge.is-grade-a{color:#236b41;background:#e1f2e7;border-color:#a9d4b7}.activity-purchase-grade-badge.is-grade-b{color:#8a5a18;background:#fff1d8;border-color:#e6d0a8}.activity-purchase-grade-badge.is-grade-c{color:#687267;background:#f0f2ef;border-color:#d9ded7}.activity-purchase-map-names{width:100%;color:var(--text-secondary);overflow-wrap:anywhere;gap:1px;font-size:14px;line-height:1.2;display:grid}.activity-purchase-map-customer{gap:2px;min-width:0;display:grid}.activity-purchase-map-name{justify-content:space-between;align-items:center;gap:3px;min-width:0;display:flex}.activity-purchase-map-name>span:first-child{overflow-wrap:anywhere;min-width:0}.activity-purchase-map-seat small{color:#9a6427;overflow-wrap:anywhere;font-size:12px;line-height:1.2}.activity-purchase-map-product-details{color:#8a5a18;overflow-wrap:anywhere;gap:1px;padding-left:0;font-size:11px;font-weight:550;line-height:1.2;display:grid}.activity-purchase-map-seat-total{display:none}.activity-purchase-map-seat.is-empty{color:#a1a89f;cursor:default;background:#fafbf9;border-color:#edf0eb;align-items:center}.activity-purchase-map-seat.is-empty .activity-purchase-map-seat-heading{justify-content:center}.activity-purchase-map-seat.is-empty strong{color:#a1a89f;font-size:17px;font-weight:550}.activity-purchase-map-aisle{height:100%;color:var(--muted);writing-mode:vertical-rl;border-left:1px dashed #c5cdc3;border-right:1px dashed #c5cdc3;justify-content:center;align-items:center;font-size:12px;display:flex}.activity-purchase-map-pillar{color:#777f77;background:repeating-linear-gradient(135deg,#e8eae7,#e8eae7 5px,#f3f4f2 5px 10px);border:1px solid #d5d9d4;border-radius:11px;place-items:center;min-height:76px;font-size:14px;font-weight:700;display:grid}.activity-purchase-map-seat.is-selected{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary);background:#e7f3eb}.activity-purchase-map-seat.has-record{background:#fff8ed;border-color:#e7d4b5}.activity-purchase-map-seat.has-record.is-selected{border-color:var(--primary);background:#e7f3eb}.activity-purchase-unseated{border-top:1px solid var(--line);color:var(--muted);align-items:flex-start;gap:12px;margin-top:16px;padding-top:13px;font-size:14px;display:flex}.activity-purchase-unseated>div,.activity-purchase-seat-occupants{flex-wrap:wrap;gap:7px;display:flex}.activity-purchase-unseated button,.activity-purchase-seat-occupants button{border:1px solid var(--line);min-height:36px;color:var(--text);font:inherit;cursor:pointer;background:#fff;border-radius:999px;padding:6px 12px;font-size:14px}.activity-purchase-unseated button.is-selected,.activity-purchase-seat-occupants button.is-selected{border-color:var(--primary);color:var(--primary-dark);background:#e8f4ec;font-weight:700}.activity-purchase-editor-backdrop{z-index:1450;overscroll-behavior:contain;background:#1620197a;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0;overflow-y:auto}.activity-purchase-mobile-editor{overscroll-behavior:contain;border:1px solid var(--line);background:#fcfdfb;border-radius:18px;width:min(760px,100%);max-height:calc(100dvh - 48px);margin:auto;padding:22px;overflow-y:auto;box-shadow:0 18px 54px #00000038}.activity-purchase-editor-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.activity-purchase-editor-heading>div>span{color:var(--muted);font-size:14px}.activity-purchase-editor-seat{color:var(--primary-dark);background:#e4f2e9;border-radius:999px;margin-left:3px;padding:3px 9px;font-size:15px;font-weight:800;line-height:1.25;display:inline-block}.activity-purchase-editor-heading h3{color:var(--primary-dark);margin:3px 0 0;font-size:24px}.activity-purchase-editor-heading-actions{align-items:center;gap:10px;display:flex}.activity-purchase-editor-close{border:1px solid var(--line);width:42px;height:42px;color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:10px;flex:none;place-items:center;display:grid}.activity-purchase-editor-close:disabled{opacity:.55;cursor:wait}.activity-purchase-editor-status{color:var(--muted);background:#f1f2ef;border-radius:999px;align-items:center;gap:4px;padding:6px 9px;font-size:13px;font-weight:650;display:inline-flex}.activity-purchase-editor-status.is-recorded{color:var(--primary-dark);background:#e8f4ec}.activity-purchase-seat-occupants{margin-bottom:12px}.activity-purchase-mobile-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.activity-purchase-mobile-note,.activity-purchase-payment,.activity-purchase-editor-warning,.activity-purchase-mobile-savebar{grid-column:1/-1}.activity-purchase-mobile-note{color:var(--text-secondary);gap:6px;font-size:14px;font-weight:650;display:grid}.activity-purchase-mobile-note textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:68px;color:var(--text);font:inherit;background:#fff;border-radius:10px;padding:9px 11px;font-size:14px;font-weight:400}.activity-purchase-mobile-product{background:#fff;border:1px solid #edf0eb;border-radius:12px;padding:13px}.activity-purchase-mobile-product-name{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:10px;display:flex}.activity-purchase-mobile-product-name strong{color:var(--text);font-size:17px}.activity-purchase-mobile-product-name span{color:var(--muted);font-size:12px}.activity-purchase-mobile-product-quantities{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.activity-purchase-mobile-quantity{color:var(--muted);justify-content:space-between;align-items:center;gap:5px;font-size:13px;display:flex}.activity-purchase-mobile-quantity:nth-child(2){justify-content:flex-end;gap:8px}.activity-purchase-mobile-quantity>div{align-items:center;gap:6px;display:flex}.activity-purchase-mobile-quantity button{border:1px solid var(--line);width:36px;height:36px;color:var(--primary-dark);cursor:pointer;background:#fff;border-radius:9px;place-items:center;display:grid}.activity-purchase-mobile-quantity button:disabled{color:#a4aaa3;cursor:not-allowed;background:#f5f6f4}.activity-purchase-mobile-quantity output{min-width:24px;color:var(--text);text-align:center;font-variant-numeric:tabular-nums;font-size:18px;font-weight:750}.activity-purchase-payment{border:0;min-width:0;margin:1px 0 0;padding:0}.activity-purchase-payment legend{color:var(--text-secondary);margin-bottom:8px;font-size:14px;font-weight:700}.activity-purchase-payment>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.activity-purchase-payment label{border:1px solid var(--line);min-height:48px;color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:8px;font-size:16px;font-weight:650;display:flex}.activity-purchase-payment label.is-selected{border-color:var(--primary);color:var(--primary-dark);background:#e8f4ec}.activity-purchase-payment input{width:18px;height:18px;accent-color:var(--primary)}.activity-purchase-mobile-savebar{background:#fcfdfb;justify-content:space-between;align-items:center;gap:12px;padding-top:5px;display:flex}.activity-purchase-mobile-savebar>span{color:var(--text-secondary);white-space:nowrap;font-size:14px;font-weight:700}.activity-purchase-mobile-savebar .btn{min-width:220px;min-height:46px}.activity-purchase-editor-warning,.activity-purchase-editor-success{border-radius:9px;margin:6px 0;padding:10px 12px;font-size:14px;line-height:1.45}.activity-purchase-editor-warning{color:#a24730;background:#fff1eb}.activity-purchase-editor-success{color:var(--primary-dark);background:#e8f4ec}.activity-purchase-saved-toast{z-index:1600;left:50%;bottom:calc(16px + env(safe-area-inset-bottom,0px));box-sizing:border-box;background:var(--primary-dark);color:#fff;text-align:left;white-space:normal;overflow-wrap:anywhere;pointer-events:none;border:1px solid #2f7145;border-radius:16px;justify-content:center;align-items:center;gap:10px;width:max-content;max-width:calc(100vw - 28px);padding:15px 20px;font-size:17px;font-weight:800;line-height:1.4;animation:.18s ease-out mobile-checkin-toast-in;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 10px 28px #1f2a1a4d}.activity-purchase-saved-toast>svg{flex:none;width:21px;height:21px}.activity-purchase-config,.activity-purchase-list{overflow:hidden}.activity-purchase-config-toolbar{align-items:center;gap:12px}.activity-purchase-config-toggle{min-width:0;color:var(--text-secondary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;justify-content:space-between;align-items:center;gap:10px;padding:0;display:flex}.activity-purchase-config-toggle>span{flex-wrap:wrap;align-items:baseline;gap:4px 8px;min-width:0;display:flex}.activity-purchase-config-toggle strong{color:var(--text)}.activity-purchase-config-toggle small{color:var(--muted);font-size:12px}.activity-purchase-config-toggle>svg{color:var(--muted);flex:none;transition:transform .16s}.activity-purchase-config.is-open .activity-purchase-config-toggle>svg{transform:rotate(180deg)}.activity-purchase-config-toolbar>.muted{flex:none}.activity-purchase-table-scroll{border-radius:0 0 var(--radius) var(--radius);overflow-x:auto}.activity-purchase-print-actions .btn{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.activity-purchase-config-form{padding:14px 16px}.activity-purchase-goods-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.activity-purchase-goods-grid .field{min-width:0}.activity-purchase-good-label{justify-content:space-between;align-items:center;min-height:20px;display:flex}.activity-purchase-good-label label{margin:0}.activity-purchase-remove-good{width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;margin:-3px -4px -3px 0;display:inline-flex}.activity-purchase-remove-good:hover:not(:disabled){color:#b54839;background:#fff0ed}.activity-purchase-remove-good:disabled{cursor:not-allowed;opacity:.55}.activity-purchase-add-good-row{flex-wrap:wrap;align-items:center;gap:9px;margin-top:2px;display:flex}.activity-purchase-add-good-row .btn{align-items:center;gap:5px;display:inline-flex}.activity-purchase-add-good-row .muted{font-size:12px}.activity-purchase-config-footer{justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.activity-purchase-config-footer .footnote{margin:0}.activity-purchase-empty-products{color:var(--text-secondary);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;font-size:13px;display:flex}.activity-purchase-empty{color:var(--muted);margin:0;padding:18px 16px;font-size:13px}table.data.activity-purchase-table{min-width:1000px}.activity-purchase-table th{vertical-align:bottom}.activity-purchase-table td{vertical-align:middle}.activity-purchase-sticky-head{z-index:70;border-bottom:1px solid var(--line);pointer-events:none;background:#f3f6f1;position:fixed;overflow:hidden;box-shadow:0 3px 8px #1f2a1a1a}.activity-purchase-sticky-head[hidden]{display:none}.activity-purchase-sticky-copy{border-collapse:collapse;margin:0}.activity-purchase-sticky-copy th{box-sizing:border-box}.activity-purchase-unit{color:var(--muted);margin-top:3px;font-size:11px;font-weight:400;display:block}.activity-purchase-total{color:var(--primary-dark);white-space:nowrap;margin-top:10px;font-size:12px;font-weight:650;display:block}.activity-quantity-control{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.activity-purchase-cell-controls{justify-items:start;gap:4px;display:grid}.activity-purchase-control-row{white-space:nowrap;align-items:center;gap:4px;display:flex}.activity-purchase-control-label{width:36px;color:var(--muted);flex:0 0 36px;justify-content:flex-start;align-items:center;font-size:12px;font-weight:700;display:inline-flex}.activity-purchase-control-label.is-owed,.activity-purchase-owed-unit{color:#a34f20}.activity-purchase-owed-unit{min-width:14px;font-size:12px;font-weight:700}.activity-purchase-owed-qty{box-sizing:border-box;color:#873d2c;text-align:center;background:#fffaf8;border-color:#f0d6d1;width:54px;min-height:30px;padding:3px 5px}.activity-quantity-step{cursor:pointer;border:1px solid #0000;border-radius:7px;flex:0 0 30px;place-items:center;width:30px;height:30px;padding:0;transition:background-color .12s,border-color .12s,transform .12s;display:inline-grid}.activity-quantity-step:active:not(:disabled){transform:scale(.94)}.activity-quantity-step:focus-visible{outline-offset:2px;outline:2px solid #315f43}.activity-quantity-step:disabled{opacity:.45;cursor:not-allowed}.activity-quantity-step.is-decrease{color:#b65e51;background:#fff7f5;border-color:#f0d6d1}.activity-quantity-step.is-decrease:hover:not(:disabled){background:#fff0ed;border-color:#e9bcb4}.activity-quantity-step.is-increase{color:#2e8050;background:#f0f8f2;border-color:#cce4d3}.activity-quantity-step.is-increase:hover:not(:disabled){background:#e5f3e9;border-color:#a9d3b7}.activity-purchase-qty{box-sizing:border-box;text-align:center;width:54px}.activity-purchase-grade{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;min-width:42px;padding:4px 8px;font-size:12px;font-weight:700;display:inline-flex}.activity-purchase-grade-a{color:var(--primary-dark);background:var(--primary-light)}.activity-purchase-grade-b{color:#8b5a11;background:#fff4df}.activity-purchase-grade-c{color:var(--text-secondary);background:#f0f2ef}.customer-purchase-rating-reference{white-space:nowrap;align-items:center;gap:3px;display:inline-flex}.customer-purchase-rating-reference .activity-purchase-grade{border-radius:6px;width:21px;min-width:21px;height:21px;padding:0;font-size:11px}.customer-overview-table thead th.customer-overview-column-purchaseGrade{padding-left:7px;padding-right:7px;font-size:12px}.customer-purchase-rating-cell{min-width:68px}.customer-overview-table thead th.customer-overview-column-recentCall,.customer-overview-call-summary{min-width:170px}.customer-overall-rating-cell{min-width:110px}.customer-purchase-rating-empty{color:var(--muted);font-size:12px}.customer-overall-rating-form{align-items:center;min-width:82px;display:flex}.customer-overall-rating-select{min-width:82px;padding:5px 22px 5px 8px;font-size:13px}.customer-overall-rating-error{color:var(--danger,#b54732);white-space:nowrap;font-size:12px}.activity-purchase-legacy-note{color:var(--muted);margin-top:4px;font-size:11px;display:block}.activity-purchase-autosave-footer{border-top:1px solid var(--line);padding:12px 16px 16px}.activity-purchase-autosave-footer .footnote{margin:0}.role-permissions-card{margin-bottom:16px}.role-permissions-grid{border:0;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px 16px;margin:0;padding:0;display:grid}.role-permission-option{border:1px solid var(--line);cursor:pointer;border-radius:9px;align-items:center;gap:9px;min-height:40px;padding:8px 10px;display:flex}.role-permission-option input{accent-color:var(--primary)}.role-permissions-actions{justify-content:flex-end;margin-top:14px}.custom-role-management-heading{align-items:flex-start}.custom-role-management-heading>.btn{flex:none}.custom-role-list{gap:8px;margin-top:14px;display:grid}.custom-role-editor{border-top:1px solid var(--line);padding:14px 0 4px}.custom-role-editor-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.custom-role-editor-heading h3{margin:0;font-size:15px}.custom-role-editor-heading .meta{margin:3px 0 0}.custom-role-empty{background:#f5f7f3;border-radius:9px;margin:12px 0 0;padding:12px}.custom-role-create-modal{max-height:calc(100vh - 32px);overflow-y:auto}.custom-role-create-permissions{padding-top:2px}.custom-role-create-permissions legend{color:var(--text-secondary);margin-bottom:8px;font-size:13px;font-weight:650}@media (max-width:760px){.activity-flow-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-flow-editor-row{grid-template-columns:26px minmax(0,1fr) auto;gap:7px;padding:8px}.activity-flow-order-actions{flex-direction:column;grid-area:1/3}.customer-journey-node{grid-template-columns:28px minmax(0,1fr);gap:8px}.journey-node-actions{grid-column:2;justify-content:flex-start}.activity-flow-add-row{align-items:stretch}.activity-purchase-goods-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-purchase-batch-footer{flex-direction:column;align-items:stretch}.activity-purchase-print-actions{justify-content:space-between;width:100%}.activity-purchase-batch-footer .btn{width:100%}.custom-role-management-heading{flex-direction:column;align-items:stretch}.custom-role-management-heading>.btn{width:100%}.custom-role-editor-heading{align-items:flex-start}}.business-accounting-header{margin-bottom:8px}.business-accounting-tabs{margin-top:12px}.business-accounting-panel{min-width:0}.business-accounting-card{padding:22px}.business-card-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.business-card-heading h2{margin:0;font-size:18px}.business-card-heading p{color:var(--muted);margin:5px 0 0;font-size:13px}.business-edit-badge{color:var(--primary-dark);background:var(--primary-light);border-radius:999px;flex:none;padding:5px 9px;font-size:12px}.business-front-form,.business-accounting-form{flex-direction:column;gap:14px;display:flex}.business-front-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.business-accounting-card .field{min-width:0;margin:0}.business-accounting-card .field>.input,.business-accounting-card .field>.select{width:100%;min-width:0}.business-record-date{max-width:320px}.business-accounting-lines{flex-direction:column;gap:8px;display:flex}.business-accounting-lines-head,.business-accounting-line{grid-template-columns:minmax(220px,1.4fr) minmax(110px,.7fr) minmax(140px,.8fr) 76px;align-items:start;gap:10px;display:grid}.business-accounting-lines-head{color:var(--muted);padding:0 10px 2px;font-size:12px;font-weight:650}.business-accounting-line{border:1px solid var(--line);background:#fcfdfb;border-radius:10px;padding:11px 10px}.business-accounting-line .field{flex-direction:column;gap:4px;display:flex}.business-accounting-line .input,.business-accounting-line .select{width:100%;min-width:0;min-height:38px}.business-product-stock{color:var(--muted);font-size:11px}.business-line-remove{min-height:38px;padding:6px 8px}.business-line-remove:disabled{opacity:.45;cursor:not-allowed}.business-add-line{color:var(--primary-dark);background:#f4faf5;border-color:#cde2d1;align-self:flex-start}.business-help{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.business-accounting-form .form-actions{justify-content:flex-end;margin-top:0}.business-history{border-top:1px solid var(--line);margin-top:26px;padding-top:18px}.business-history h3{margin:0 0 12px;font-size:15px}.business-accounting-table{min-width:700px}.business-accounting-table .business-empty{color:var(--muted);text-align:center;padding:20px 12px}.business-negative{color:#b34e3b;font-weight:650}.business-record-list{flex-direction:column;gap:10px;display:flex}.business-record-item{border:1px solid var(--line);background:#fff;border-radius:10px;flex-direction:column;gap:8px;padding:13px 14px;display:flex}.business-record-top{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:5px 14px;display:flex}.business-record-top strong{font-size:14px}.business-cost-summary{color:var(--muted);font-size:12px}.business-record-items{color:var(--text-secondary);flex-wrap:wrap;gap:6px 14px;font-size:12px;display:flex}.business-record-item>small{color:var(--muted)}.business-record-item>.btn{align-self:flex-start}.business-empty{color:var(--muted);text-align:center;margin:0;padding:18px}.business-selected-activity{background:#f4f8f3;border-radius:9px;flex-direction:column;gap:4px;padding:10px 12px;display:flex}.business-selected-activity small{color:var(--muted)}.business-mobile-label{display:none}.business-report-card{flex-direction:column;gap:22px;display:flex}.business-report-card>.business-card-heading{align-items:center;margin-bottom:0}.business-report-period{flex:none;gap:6px;display:flex}.business-report-period .btn{min-width:58px}.business-report-period .business-report-period-active{color:var(--primary-dark);background:#e7f4eb;border-color:#b9dbc3}.business-report-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.business-report-metric{border:1px solid var(--line);background:#fbfcfa;border-radius:10px;flex-direction:column;gap:7px;min-width:0;padding:15px;display:flex}.business-report-metric>span{color:var(--muted);font-size:13px}.business-report-metric>strong{overflow-wrap:anywhere;font-size:21px;line-height:1.25}.business-report-metric>small{color:var(--muted);font-size:11px;line-height:1.45}.business-report-chart-section,.business-report-detail{border-top:1px solid var(--line);min-width:0;padding-top:18px}.business-report-chart-heading{justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;display:flex}.business-report-chart-heading h3,.business-report-detail h3{margin:0;font-size:15px}.business-report-legend{color:var(--muted);flex-wrap:wrap;gap:8px 16px;font-size:12px;display:flex}.business-report-legend>span{align-items:center;gap:6px;display:inline-flex}.business-report-swatch{border-radius:3px;width:10px;height:10px}.business-report-swatch-front,.business-report-bar-front{background:#388c5b}.business-report-swatch-group,.business-report-bar-group{background:#e29a45}.business-report-swatch-sales,.business-report-bar-sales{background:#5c8bbd}.business-report-chart-scroll{padding:4px 0 8px;overflow-x:auto}.business-report-chart{grid-template-columns:72px minmax(0,1fr);gap:8px;display:grid}.business-report-axis{height:210px;color:var(--muted);text-align:right;flex-direction:column;justify-content:space-between;padding:0 0 23px;font-size:10px;display:flex}.business-report-plot{min-width:0;height:210px;position:relative}.business-report-grid{pointer-events:none;flex-direction:column;justify-content:space-between;display:flex;position:absolute;inset:0 0 23px}.business-report-grid>i{background:var(--line);height:1px;display:block}.business-report-bars{display:grid;position:absolute;inset:0 0 23px}.business-report-day{min-width:0;height:100%;position:relative}.business-report-day-stack{border-radius:3px 3px 0 0;flex-direction:column-reverse;display:flex;position:absolute;bottom:0;left:20%;right:20%;overflow:hidden}.business-report-day-stack>i{flex:none;width:100%;display:block}.business-report-date-labels{height:20px;color:var(--muted);text-align:center;font-size:9px;display:grid;position:absolute;bottom:0;left:0;right:0}.business-report-date-labels>span{white-space:nowrap;overflow:hidden}.business-report-empty-chart{color:var(--muted);text-align:center;margin:0;padding:30px 12px}.business-report-detail h3{margin-bottom:12px}.business-report-detail h3>span{color:var(--muted);margin-left:8px;font-size:12px;font-weight:400}.business-report-table{min-width:850px}.business-report-table td small{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.4;display:block}@media (max-width:720px){.business-accounting-card{padding:15px 12px}.business-card-heading{flex-direction:column;gap:8px;margin-bottom:14px}.business-report-card{gap:16px}.business-report-card>.business-card-heading{align-items:stretch}.business-report-period{align-self:flex-start}.business-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.business-report-metric{padding:11px 10px}.business-report-metric>strong{font-size:18px}.business-report-chart-heading{flex-direction:column;align-items:flex-start;gap:8px}.business-report-chart{grid-template-columns:58px minmax(0,1fr);gap:6px}.business-report-axis,.business-report-plot{height:185px}.business-report-date-labels{font-size:8px}.business-front-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.business-accounting-lines-head{display:none}.business-accounting-line{grid-template-columns:minmax(0,1fr) minmax(96px,.7fr);gap:8px;padding:9px}.business-accounting-line>.field:first-child{grid-column:1/-1}.business-accounting-line>.field:nth-child(2){grid-area:2/1}.business-accounting-line>.field:nth-child(3){grid-area:2/2}.business-line-remove{grid-area:3/2;align-self:start}.business-mobile-label{color:var(--muted);font-size:11px;display:inline}.business-record-date{max-width:none}.business-record-top{flex-direction:column;align-items:flex-start}.business-accounting-form .form-actions{justify-content:stretch}.business-accounting-form .form-actions .btn{width:100%}}@media (max-width:480px){.activity-flow-card{padding:14px 12px}.flow-dialog{padding:18px 15px}.flow-dialog .page-actions{flex-direction:column-reverse}.flow-dialog .page-actions .btn{width:100%}.activity-flow-add-row{flex-direction:column}.activity-flow-add-row .btn{justify-content:center}.customer-journey-attendance li{flex-wrap:wrap;align-items:flex-start}.customer-journey-attendance li span{flex-basis:100%;margin-left:21px}.activity-purchase-config-form{padding:12px}.activity-purchase-goods-grid{grid-template-columns:1fr;gap:8px}.activity-purchase-config-footer,.activity-purchase-empty-products{flex-direction:column;align-items:stretch}}.pool-preparation-page{gap:14px;display:grid}.pool-preparation-pools{grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:8px;display:grid}.pool-preparation-pool{border:1px solid var(--line);min-width:0;color:var(--text-secondary);background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;text-decoration:none;display:flex}.pool-preparation-pool>span{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.pool-preparation-pool>strong{color:var(--text);font-variant-numeric:tabular-nums;flex:none;font-size:18px}.pool-preparation-pool>strong small{color:var(--muted);margin-left:3px;font-size:11px;font-weight:500}.pool-preparation-pool.is-active{color:var(--primary-dark);background:#edf7ef;border-color:#b7d5be;box-shadow:inset 0 0 0 1px #d5e9d9}.pool-preparation-form{gap:14px;display:grid}.pool-preparation-overview{grid-template-columns:minmax(190px,1.2fr) repeat(2,minmax(110px,.65fr)) minmax(245px,1.25fr);align-items:center;gap:14px;padding:18px;display:grid}.pool-preparation-overview-copy{min-width:0}.pool-preparation-kicker{color:var(--primary-dark);font-size:17px;font-weight:700}.pool-preparation-overview-copy p,.pool-preparation-section-heading p{color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.55}.pool-preparation-percent{color:var(--text-secondary);gap:6px;font-size:12px;font-weight:600;display:grid}.pool-preparation-percent-input{align-items:center;gap:7px;display:flex}.pool-preparation-percent-input .input{text-align:right;width:78px;min-width:0;min-height:40px;font-size:17px;font-weight:700}.pool-preparation-percent-input b{color:var(--text);font-size:16px}.pool-preparation-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.pool-preparation-counts>div{background:#f4f7f3;border-radius:9px;gap:5px;min-width:0;padding:10px 9px;display:grid}.pool-preparation-counts>div:last-child{background:#edf7ef}.pool-preparation-counts span{color:var(--muted);font-size:11px}.pool-preparation-counts strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:21px;line-height:1.1}.pool-preparation-counts strong small{color:var(--muted);margin-left:4px;font-size:12px;font-weight:500}.pool-preparation-goods-card{padding:18px}.pool-preparation-section-heading{justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;display:flex}.pool-preparation-section-heading h2,.pool-preparation-print-summary h2{margin:0;font-size:17px}.pool-preparation-add{color:var(--primary-dark);background:#f4faf5;border-color:#cde2d1;flex:none}.pool-preparation-add:disabled{opacity:.5;cursor:not-allowed}.pool-preparation-table-wrap{overflow-x:auto}.pool-preparation-table{min-width:1100px}.pool-preparation-table th,.pool-preparation-table td{vertical-align:middle}.pool-preparation-table td .input,.pool-preparation-table td .select{width:100%;min-width:0;min-height:38px}.pool-preparation-product-picker{min-width:0}.pool-preparation-product-trigger{text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:8px;display:flex}.pool-preparation-product-trigger>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pool-preparation-product-trigger>svg{color:var(--muted);flex:none}.pool-preparation-product-popover{z-index:95;background:#fff;border:1.5px solid #9ac9a9;border-radius:11px;flex-direction:column;gap:6px;padding:8px;display:flex;position:fixed;overflow:hidden;box-shadow:0 0 0 3px #3d8b5a1a,0 16px 36px #1f2a1a33}.pool-preparation-product-search{border:1px solid var(--line);color:var(--muted);border-radius:8px;flex:none;align-items:center;gap:8px;padding:0 9px;display:flex}.pool-preparation-product-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #3d8b5a1f}.pool-preparation-product-search .input{width:100%;min-width:0;box-shadow:none;background:0 0;border:0;padding:8px 0}.pool-preparation-product-search .input:focus{box-shadow:none;outline:0}.pool-preparation-product-options{overscroll-behavior:contain;scrollbar-color:#b7cdbb #f4f7f2;scrollbar-width:thin;flex:auto;min-height:0;overflow-y:auto}.pool-preparation-product-option{width:100%;min-height:48px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;padding:7px 9px;display:flex}.pool-preparation-product-option:hover,.pool-preparation-product-option.active{background:var(--primary-light);color:var(--primary-dark)}.pool-preparation-product-option:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.pool-preparation-product-option>span{min-width:0}.pool-preparation-product-option strong,.pool-preparation-product-option small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.pool-preparation-product-option strong{font-size:13px;font-weight:600}.pool-preparation-product-option small{color:var(--muted);margin-top:2px;font-size:11px}.pool-preparation-product-option>svg{color:var(--primary);flex:none}.pool-preparation-product-clear{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;align-self:flex-start;padding:4px 7px;font-size:11px}.pool-preparation-product-clear:hover{color:var(--warn);background:#fff3ef}.pool-preparation-product-empty,.pool-preparation-product-hint{color:var(--muted);text-align:center;margin:0;padding:11px 9px;font-size:12px}.pool-preparation-product-hint{flex:none;padding:4px 2px 0;font-size:11px}.pool-preparation-table th:first-child{width:110px}.pool-preparation-table th:nth-child(2){width:210px}.pool-preparation-table th:nth-child(3){width:165px}.pool-preparation-table th:nth-child(4){width:125px}.pool-preparation-table th:nth-child(5){width:130px}.pool-preparation-table th:nth-child(6){width:125px}.pool-preparation-table th:nth-child(7){width:135px}.pool-preparation-buyers{gap:5px;display:grid}.pool-preparation-follow{color:var(--muted);white-space:nowrap;align-items:center;gap:5px;font-size:11px;display:inline-flex}.pool-preparation-follow input{width:14px;height:14px;accent-color:var(--primary);margin:0}.pool-preparation-quantity{align-items:center;gap:6px;display:flex}.pool-preparation-quantity small,.pool-preparation-total small{color:var(--muted);white-space:nowrap;font-size:11px}.pool-preparation-total{white-space:nowrap}.pool-preparation-total strong{color:var(--primary-dark);font-variant-numeric:tabular-nums;font-size:17px}.pool-preparation-total small{margin-left:4px}.pool-preparation-stock{white-space:nowrap;font-variant-numeric:tabular-nums}.pool-preparation-stock strong{font-size:15px}.pool-preparation-stock small{color:var(--muted);margin-left:4px;font-size:11px}.pool-preparation-shortage strong{color:#b76321}.pool-preparation-remove{min-width:38px;min-height:38px;color:var(--muted);padding:7px}.pool-preparation-remove:disabled{opacity:.35;cursor:not-allowed}.pool-preparation-invalid,.pool-preparation-error{color:var(--warn);font-size:12px}.pool-preparation-error{margin:10px 0 0}.pool-preparation-footnote{color:var(--muted);margin:12px 0 0;font-size:11px;line-height:1.5}.pool-preparation-actions{justify-content:flex-end}.pool-preparation-print-summary{display:none}@media (max-width:760px){.pool-preparation-pools{grid-template-columns:repeat(2,minmax(0,1fr))}.pool-preparation-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:14px}.pool-preparation-overview-copy{grid-column:1/-1}.pool-preparation-percent{grid-area:auto}.pool-preparation-counts{grid-area:auto/1/auto/-1}.pool-preparation-goods-card{padding:14px 11px}.pool-preparation-section-heading{align-items:flex-start}.pool-preparation-table{min-width:1100px}.pool-preparation-actions{grid-template-columns:1fr 1fr;display:grid}.pool-preparation-actions .btn{min-width:0;padding:9px 8px}}@media (min-width:761px) and (max-width:1050px){.pool-preparation-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pool-preparation-overview-copy,.pool-preparation-counts{grid-column:1/-1}}@media print{.desktop-sidebar,.mobile-header,.pool-preparation-pools,.pool-preparation-form>.pool-preparation-overview,.pool-preparation-form>.pool-preparation-goods-card,.pool-preparation-actions{display:none!important}.app-shell{display:block!important}.app-content{width:auto!important;margin:0!important}.pool-preparation-page,.pool-preparation-form,.pool-preparation-print-summary{display:block}.pool-preparation-print-summary h2{margin-bottom:5mm;font-size:18pt}.pool-preparation-print-summary>p{color:#333;margin:0 0 5mm;font-size:10pt}.pool-preparation-print-summary table{border-collapse:collapse;width:100%;min-width:0;font-size:10pt}.pool-preparation-print-summary th,.pool-preparation-print-summary td{text-align:left;border:1px solid #bac3b7;padding:8px 6px}.pool-preparation-print-summary th{background:#edf2ec!important}}@media (max-width:900px){.activity-purchase-list{display:none}.activity-purchase-mobile-map{box-shadow:none;background:0 0;border:0;border-radius:0;margin-inline:-12px;padding:12px 5px;display:block}.activity-purchase-map-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.activity-purchase-map-eyebrow{color:var(--primary-dark);align-items:center;gap:5px;font-size:13px;font-weight:700;display:inline-flex}.activity-purchase-map-count{color:var(--muted);font-size:14px;font-weight:650}.activity-purchase-live-summary{color:var(--text-secondary);background:#fff;border:1px solid #e3ebe4;border-radius:9px;gap:6px;margin-top:7px;padding:7px 8px;font-size:11px;line-height:1.3;display:grid}.activity-purchase-live-summary-top{justify-content:space-between;align-items:center;gap:6px;min-width:0;display:flex}.activity-purchase-live-summary-top>strong{color:var(--primary-dark);flex:none;font-size:11px;font-weight:800}.activity-purchase-live-grade-counts{flex-wrap:wrap;justify-content:flex-end;gap:4px;min-width:0;display:flex}.activity-purchase-live-grade-count{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;gap:3px;padding:2px 5px;font-size:10px;font-weight:750;display:inline-flex}.activity-purchase-live-grade-count.is-grade-a{color:#236b41;background:#e1f2e7;border-color:#a9d4b7}.activity-purchase-live-grade-count.is-grade-b{color:#8a5a18;background:#fff1d8;border-color:#e6d0a8}.activity-purchase-live-grade-count.is-grade-c{color:#687267;background:#f0f2ef;border-color:#d9ded7}.activity-purchase-live-grade-count b{font-size:10px;font-weight:850}.activity-purchase-live-grade-count small{margin-left:1px;font-size:9px;font-weight:650}.activity-purchase-live-summary-products{flex-wrap:wrap;gap:5px;min-width:0;display:flex}.activity-purchase-live-summary-item{background:#f3f7f3;border-radius:6px;align-items:center;gap:4px;min-width:0;padding:2px 6px;display:inline-flex}.activity-purchase-live-summary-item>span{min-width:0;color:var(--text-secondary);overflow-wrap:anywhere}.activity-purchase-live-summary-item b{color:var(--primary-dark);flex:none;font-size:12px;font-weight:800}.activity-purchase-live-summary-item small{margin-left:1px;font-size:10px;font-weight:650}.activity-purchase-map-session{color:var(--primary-dark);overflow-wrap:anywhere;background:#f1f6f1;border-radius:8px;margin:8px 0 13px;padding:7px 9px;font-size:12px;font-weight:700;line-height:1.4}.activity-purchase-map-grid{grid-template-rows:repeat(8,minmax(56px,auto));grid-template-columns:repeat(3,minmax(0,1fr)) 20px repeat(3,minmax(0,1fr));align-items:stretch;gap:4px;display:grid}.activity-purchase-map-seat{min-width:0;min-height:56px;color:var(--text);text-align:left;cursor:pointer;background:#f3f8f4;border:1px solid #c8ddce;border-radius:9px;flex-direction:column;justify-content:center;align-items:flex-start;gap:1px;padding:3px 4px;display:flex}.activity-purchase-map-seat-heading{justify-content:space-between;align-items:center;gap:3px;width:100%;display:flex}.activity-purchase-map-seat strong{color:var(--primary-dark);font-size:15px;line-height:1.05}.activity-purchase-grade-badge{border:1px solid #0000;border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:10px;font-weight:850;line-height:1;display:inline-grid}.activity-purchase-grade-badge.is-grade-a{color:#236b41;background:#e1f2e7;border-color:#a9d4b7}.activity-purchase-grade-badge.is-grade-b{color:#8a5a18;background:#fff1d8;border-color:#e6d0a8}.activity-purchase-grade-badge.is-grade-c{color:#687267;background:#f0f2ef;border-color:#d9ded7}.activity-purchase-map-names{width:100%;color:var(--text-secondary);overflow-wrap:anywhere;gap:0;font-size:11px;line-height:1.1;display:grid}.activity-purchase-map-customer{gap:0;display:grid}.activity-purchase-map-product-details{display:none}.activity-purchase-map-name{justify-content:space-between;align-items:center;gap:2px;min-width:0;display:flex}.activity-purchase-map-name>span:first-child{overflow-wrap:anywhere;min-width:0}.activity-purchase-map-seat small{color:#9a6427;overflow-wrap:anywhere;font-size:9px;line-height:1.15}.activity-purchase-map-seat-total{display:inline}.activity-purchase-map-seat.is-empty{color:#a1a89f;cursor:default;background:#fafbf9;border-color:#edf0eb;align-items:center}.activity-purchase-map-seat.is-empty .activity-purchase-map-seat-heading{justify-content:center}.activity-purchase-map-seat.is-empty strong{color:#a1a89f;font-size:14px;font-weight:550}.activity-purchase-map-aisle{height:100%;color:var(--muted);writing-mode:vertical-rl;border-left:1px dashed #c5cdc3;border-right:1px dashed #c5cdc3;justify-content:center;align-items:center;font-size:9px;display:flex}.activity-purchase-map-pillar{color:#777f77;background:repeating-linear-gradient(135deg,#e8eae7,#e8eae7 5px,#f3f4f2 5px 10px);border:1px solid #d5d9d4;border-radius:9px;place-items:center;min-height:56px;font-size:11px;font-weight:700;display:grid}.activity-purchase-map-seat.is-selected{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary);background:#e7f3eb}.activity-purchase-map-seat.has-record{background:#fff8ed;border-color:#e7d4b5}.activity-purchase-map-seat.has-record.is-selected{border-color:var(--primary);background:#e7f3eb}.activity-purchase-unseated{border-top:1px solid var(--line);color:var(--muted);align-items:flex-start;gap:10px;margin-top:13px;padding-top:11px;font-size:13px;display:flex}.activity-purchase-unseated>div,.activity-purchase-seat-occupants{flex-wrap:wrap;gap:6px;display:flex}.activity-purchase-unseated button,.activity-purchase-seat-occupants button{border:1px solid var(--line);min-height:34px;color:var(--text);font:inherit;cursor:pointer;background:#fff;border-radius:999px;padding:5px 10px;font-size:13px}.activity-purchase-unseated button.is-selected,.activity-purchase-seat-occupants button.is-selected{border-color:var(--primary);color:var(--primary-dark);background:#e8f4ec;font-weight:700}.activity-purchase-editor-backdrop{z-index:1450;overscroll-behavior:contain;padding:calc(env(safe-area-inset-top,0px) + 12px) 10px calc(env(safe-area-inset-bottom,0px) + 12px);background:#1620197a;justify-content:center;align-items:flex-start;display:flex;position:fixed;inset:0;overflow-y:auto}.activity-purchase-mobile-editor{width:min(560px,100%);max-height:calc(100vh - 24px);max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px);overscroll-behavior:contain;border:1px solid var(--line);background:#fcfdfb;border-radius:16px;margin:0;padding:14px;overflow-y:auto;box-shadow:0 18px 54px #00000038}.activity-purchase-editor-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:11px;display:flex}.activity-purchase-editor-heading>div>span{color:var(--muted);font-size:12px}.activity-purchase-editor-seat{color:var(--primary-dark);background:#e4f2e9;border-radius:999px;margin-left:2px;padding:2px 7px;font-size:14px;font-weight:800;line-height:1.25;display:inline-block}.activity-purchase-editor-heading h3{color:var(--primary-dark);margin:1px 0 0;font-size:20px}.activity-purchase-editor-heading-actions{align-items:center;gap:8px;display:flex}.activity-purchase-editor-close{border:1px solid var(--line);width:40px;height:40px;color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:10px;flex:none;place-items:center;display:grid}.activity-purchase-editor-close:disabled{opacity:.55;cursor:wait}.activity-purchase-editor-status{color:var(--muted);background:#f1f2ef;border-radius:999px;align-items:center;gap:4px;padding:5px 8px;font-size:12px;font-weight:650;display:inline-flex}.activity-purchase-editor-status.is-recorded{color:var(--primary-dark);background:#e8f4ec}.activity-purchase-seat-occupants{margin-bottom:10px}.activity-purchase-mobile-form{grid-template-columns:minmax(0,1fr);gap:9px;display:grid}.activity-purchase-mobile-note,.activity-purchase-payment,.activity-purchase-editor-warning,.activity-purchase-mobile-savebar{grid-column:auto}.activity-purchase-mobile-note{color:var(--text-secondary);gap:5px;font-size:13px;font-weight:650;display:grid}.activity-purchase-mobile-note textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:54px;color:var(--text);font:inherit;background:#fff;border-radius:10px;padding:8px 10px;font-size:14px;font-weight:400}.activity-purchase-mobile-product{background:#fff;border:1px solid #edf0eb;border-radius:10px;padding:10px}.activity-purchase-mobile-product-name{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px;display:flex}.activity-purchase-mobile-product-name strong{color:var(--text);font-size:15px}.activity-purchase-mobile-product-name span{color:var(--muted);font-size:11px}.activity-purchase-mobile-product-quantities{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.activity-purchase-mobile-quantity{color:var(--muted);justify-content:space-between;align-items:center;gap:5px;font-size:12px;display:flex}.activity-purchase-mobile-quantity:nth-child(2){justify-content:flex-end;gap:8px}.activity-purchase-mobile-quantity>div{align-items:center;gap:5px;display:flex}.activity-purchase-mobile-quantity button{border:1px solid var(--line);width:34px;height:34px;color:var(--primary-dark);cursor:pointer;background:#fff;border-radius:9px;place-items:center;display:grid}.activity-purchase-mobile-quantity button:disabled{color:#a4aaa3;cursor:not-allowed;background:#f5f6f4}.activity-purchase-mobile-quantity output{min-width:22px;color:var(--text);text-align:center;font-variant-numeric:tabular-nums;font-size:17px;font-weight:750}.activity-purchase-payment{border:0;min-width:0;margin:1px 0 0;padding:0}.activity-purchase-payment legend{color:var(--text-secondary);margin-bottom:7px;font-size:13px;font-weight:700}.activity-purchase-payment>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.activity-purchase-payment label{border:1px solid var(--line);min-height:43px;color:var(--text-secondary);background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:7px;font-size:15px;font-weight:650;display:flex}.activity-purchase-payment label.is-selected{border-color:var(--primary);color:var(--primary-dark);background:#e8f4ec}.activity-purchase-payment input{width:17px;height:17px;accent-color:var(--primary)}.activity-purchase-mobile-savebar{background:linear-gradient(#0000,#fcfdfb 25%);justify-content:space-between;align-items:center;gap:10px;padding-top:3px;display:flex;position:sticky;bottom:8px}.activity-purchase-mobile-savebar>span{color:var(--text-secondary);white-space:nowrap;font-size:13px;font-weight:700}.activity-purchase-mobile-savebar .btn{flex:1;min-width:0;min-height:44px}.activity-purchase-editor-warning,.activity-purchase-editor-success{border-radius:9px;margin:6px 0;padding:9px 10px;font-size:13px;line-height:1.45}.activity-purchase-editor-warning{color:#a24730;background:#fff1eb}.activity-purchase-editor-success{color:var(--primary-dark);background:#e8f4ec}}@media (max-width:760px){html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=hidden]):not([type=button]):not([type=submit]):not([type=reset]),html body select,html body textarea{font-size:16px!important}}
