:root{--bg: #f5f7fb;--bg-elevated: #ffffff;--surface: #ffffff;--surface-2: #f7f9fc;--surface-3: #eef2f8;--border: #e7ebf2;--border-strong: #d7dee9;--text: #131a2a;--text-soft: #56617a;--text-mute: #97a1b5;--brand: #2f6bff;--brand-hover: #235ae0;--brand-soft: #e9f0ff;--brand-contrast: #ffffff;--ring: rgba(47, 107, 255, .28);--success: #12996b;--success-soft: #e2f6ee;--warning: #b7791f;--warning-soft: #fbf0d8;--danger: #dc3b57;--danger-soft: #fce3e7;--info: #2563eb;--info-soft: #e6eefe;--shadow-sm: 0 1px 2px rgba(19, 26, 42, .04), 0 1px 3px rgba(19, 26, 42, .06);--shadow-md: 0 2px 4px rgba(19, 26, 42, .04), 0 10px 26px rgba(19, 26, 42, .09);--shadow-lg: 0 12px 24px rgba(19, 26, 42, .1), 0 32px 64px rgba(19, 26, 42, .18);--radius-sm: 8px;--radius: 12px;--radius-lg: 16px;--radius-full: 999px;--sidebar-w: 232px;--sidebar-w-collapsed: 72px;--font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;font-size:15px}:root[data-theme=dark]{--bg: #0a0e18;--bg-elevated: #111725;--surface: #131a29;--surface-2: #19212f;--surface-3: #212b3d;--border: #232e42;--border-strong: #33415c;--text: #eef2fb;--text-soft: #aeb9cf;--text-mute: #74809a;--brand: #5b8bff;--brand-hover: #74a0ff;--brand-soft: #17223c;--brand-contrast: #08101f;--ring: rgba(91, 139, 255, .35);--success: #34d399;--success-soft: #10291f;--warning: #f0b34a;--warning-soft: #2a2210;--danger: #fb7185;--danger-soft: #2c1620;--info: #60a5fa;--info-soft: #12213c;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);--shadow-md: 0 6px 18px rgba(0, 0, 0, .42);--shadow-lg: 0 24px 60px rgba(0, 0, 0, .6)}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:var(--font);font-size:.87rem;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button{font-family:inherit;cursor:pointer}::selection{background:var(--ring)}*{scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}*::-webkit-scrollbar{width:9px;height:9px}*::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:999px;border:2px solid transparent;background-clip:padding-box}.ui-icon{width:18px;height:18px;flex-shrink:0}.app-shell{display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr);min-height:100vh;transition:grid-template-columns .2s ease}.app-shell.sidebar-collapsed{grid-template-columns:var(--sidebar-w-collapsed) minmax(0,1fr)}.sidebar{position:sticky;top:0;align-self:start;height:100vh;display:flex;flex-direction:column;padding:16px 12px;background:var(--bg-elevated);border-right:1px solid var(--border);overflow:hidden}.sidebar-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 6px 16px}.sidebar-brand{display:flex;align-items:center;gap:10px;min-width:0}.sidebar-brand-mark{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,var(--brand),#6aa0ff);color:#fff;display:grid;place-items:center;font-weight:800;font-size:16px;flex-shrink:0;box-shadow:var(--shadow-sm)}.sidebar-brand-copy{min-width:0}.sidebar-brand-copy strong{display:block;font-size:13.5px;letter-spacing:-.01em;white-space:nowrap}.sidebar-brand-copy span{font-size:11px;color:var(--text-mute);white-space:nowrap}.collapse-btn{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text-mute);flex-shrink:0;transition:background .15s,color .15s}.collapse-btn:hover{background:var(--surface-2);color:var(--text)}.collapse-btn .ui-icon{width:16px;height:16px}.sidebar-nav{display:flex;flex-direction:column;gap:2px;flex:1}.nav-section-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-mute);padding:16px 10px 6px;white-space:nowrap}.nav-item{display:flex;align-items:center;gap:11px;padding:9px 10px;border:none;background:transparent;border-radius:9px;color:var(--text-soft);font-size:13px;font-weight:500;text-align:left;white-space:nowrap;transition:background .15s,color .15s}.nav-item:hover{background:var(--surface-2);color:var(--text)}.nav-item.active{background:var(--brand-soft);color:var(--brand);font-weight:600}.nav-item .ui-icon{width:18px;height:18px}.sidebar-foot{border-top:1px solid var(--border);padding-top:10px;display:flex;flex-direction:column;gap:4px}.foot-company{display:flex;align-items:center;gap:10px;padding:8px;border-radius:10px;border:none;background:transparent;width:100%;text-align:left;color:var(--text);transition:background .15s}.foot-company:hover{background:var(--surface-2)}.foot-company .foot-ico{width:32px;height:32px;border-radius:9px;background:var(--surface-3);color:var(--text-soft);display:grid;place-items:center;flex-shrink:0}.foot-company-copy{min-width:0;flex:1}.foot-company-copy .foot-label{font-size:10px;color:var(--text-mute);text-transform:uppercase;letter-spacing:.05em}.foot-company-copy strong{display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.foot-company .chev{color:var(--text-mute)}.foot-user{display:flex;align-items:center;gap:10px;padding:8px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);transition:background .15s}.foot-user:hover{background:var(--surface-2)}.foot-user .foot-avatar{width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,var(--brand),#6aa0ff);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:700;flex-shrink:0}.foot-user span{flex:1;font-size:12.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.foot-user .chev{color:var(--text-mute)}.sidebar-collapsed .sidebar-brand-copy,.sidebar-collapsed .nav-item span,.sidebar-collapsed .nav-section-label,.sidebar-collapsed .foot-company-copy,.sidebar-collapsed .foot-company .chev,.sidebar-collapsed .foot-user span,.sidebar-collapsed .foot-user .chev{display:none}.sidebar-collapsed .sidebar-top{flex-direction:column;gap:12px}.sidebar-collapsed .nav-item{justify-content:center;padding:10px}.sidebar-collapsed .foot-company,.sidebar-collapsed .foot-user{justify-content:center}.main-content{padding:24px 30px 56px;width:100%;min-width:0;overflow-x:hidden}.mobile-topbar{display:none;align-items:center;gap:12px;padding:10px 14px;background:var(--bg-elevated);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:30}.mobile-title strong{display:block;font-size:13px}.mobile-title span{font-size:11px;color:var(--text-mute)}.mobile-backdrop{display:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 14px;border-radius:var(--radius-sm);border:1px solid transparent;font-size:12.5px;font-weight:600;transition:background .15s,border-color .15s,transform .05s;white-space:nowrap}.button:active{transform:translateY(1px)}.button:disabled{opacity:.5;cursor:not-allowed}.button .ui-icon{width:16px;height:16px}.button-primary{background:linear-gradient(180deg,var(--brand),var(--brand-hover));color:var(--brand-contrast);box-shadow:0 1px 2px #131a2a1f,0 4px 12px var(--ring)}.button-primary:hover:not(:disabled){filter:brightness(1.05);transform:translateY(-1px);box-shadow:0 2px 4px #131a2a24,0 8px 20px var(--ring)}.button-primary:active:not(:disabled){transform:translateY(0)}.button-secondary{background:var(--surface);color:var(--text);border-color:var(--border-strong)}.button-secondary:hover:not(:disabled){background:var(--surface-2)}.button-ghost{background:transparent;color:var(--text-soft)}.button-ghost:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.button-link{background:transparent;color:var(--brand);padding:5px 7px;font-size:12px}.button-link:hover{text-decoration:underline}.button-full{width:100%}.icon-button{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:9px;border:1px solid var(--border);background:var(--surface);color:var(--text-soft);transition:background .15s,color .15s}.icon-button:hover{background:var(--surface-2);color:var(--text)}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px;flex-wrap:wrap}.page-header h1{margin:0;font-size:22px;font-weight:700;letter-spacing:-.02em}.page-header p{margin:5px 0 0;color:var(--text-soft);font-size:13px}.sync-caption{display:inline-flex;align-items:center;gap:7px;margin-top:9px;font-size:12px;color:var(--text-mute)}.sync-caption .dot{width:7px;height:7px;border-radius:50%;background:var(--success)}.sync-caption .dot.error{background:var(--danger)}.sync-caption .dot.running{background:var(--warning);animation:pulse 1.2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}.page-actions{display:flex;gap:9px;flex-wrap:wrap}.metrics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.metrics-grid-4{grid-template-columns:repeat(4,1fr)}.metric-card{display:flex;align-items:center;gap:13px;padding:15px 16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.metric-card-clickable{cursor:pointer;width:100%;text-align:left;font:inherit;color:inherit;transition:border-color .15s ease,box-shadow .15s ease,transform .05s ease}.metric-card-clickable:hover{border-color:var(--brand);box-shadow:var(--shadow-md, var(--shadow-sm))}.metric-card-clickable:active{transform:translateY(1px)}.metric-card-active{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}.metric-card-active.success{border-color:var(--success);box-shadow:0 0 0 2px var(--success-soft)}.metric-card-active.warning{border-color:var(--warning);box-shadow:0 0 0 2px var(--warning-soft)}.metric-card-active.danger{border-color:var(--danger);box-shadow:0 0 0 2px var(--danger-soft)}.metric-icon{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;flex-shrink:0}.metric-icon .ui-icon{width:19px;height:19px}.metric-card.neutral .metric-icon{background:var(--brand-soft);color:var(--brand)}.metric-card.success .metric-icon{background:var(--success-soft);color:var(--success)}.metric-card.warning .metric-icon{background:var(--warning-soft);color:var(--warning)}.metric-card.danger .metric-icon{background:var(--danger-soft);color:var(--danger)}.metric-card .metric-copy span{font-size:12px;color:var(--text-soft)}.metric-card .metric-copy strong{display:block;font-size:23px;font-weight:700;letter-spacing:-.02em;margin-top:1px;font-variant-numeric:tabular-nums}.filter-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px;margin-bottom:18px;box-shadow:var(--shadow-sm)}.filter-bar{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.search-field{display:flex;align-items:center;gap:8px;flex:1 1 260px;padding:0 11px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-mute)}.search-field:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--ring)}.search-field .ui-icon{width:16px;height:16px}.search-field input{flex:1;border:none;background:transparent;padding:9px 0;font-size:13px;color:var(--text);outline:none}.select-field{position:relative;display:inline-flex;align-items:center}.select-field select{appearance:none;padding:9px 30px 9px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text);font-size:12.5px;outline:none;cursor:pointer;transition:border-color .15s,box-shadow .15s}.select-field .select-chevron{position:absolute;right:10px;pointer-events:none;color:var(--text-mute);width:14px;height:14px}input[type=date]{padding:9px 11px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text);font-size:12.5px;outline:none}.select-field select:focus,input[type=date]:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--ring)}.chip-row{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:12px}.chip{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:var(--radius-full);border:1px solid var(--border-strong);background:transparent;color:var(--text-soft);font-size:12px;font-weight:500;transition:all .15s}.chip:hover{border-color:var(--brand);color:var(--text)}.chip .chip-dot{width:7px;height:7px;border-radius:50%}.chip-active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.chip-clear{margin-left:auto;color:var(--brand);border-color:transparent}.chip-clear:hover{background:var(--brand-soft)}.list-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;gap:14px;flex-wrap:wrap}.list-header strong{font-size:14px}.list-controls{display:flex;align-items:center;gap:14px}.page-size-field{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--text-soft)}.mini-pager{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--text-soft)}.mini-pager button{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text-soft)}.mini-pager button:disabled{opacity:.4;cursor:not-allowed}.mini-pager button:not(:disabled):hover{background:var(--surface-2);color:var(--text)}.reservation-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:13px}.reservation-card{display:flex;flex-direction:column;gap:12px;padding:15px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);transition:box-shadow .16s,border-color .16s,transform .16s}.reservation-card:hover{box-shadow:var(--shadow-md);border-color:var(--border-strong);transform:translateY(-1px)}.card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.card-code{font-size:12.5px;font-weight:700;letter-spacing:.01em;color:var(--brand)}.card-profile{display:flex;gap:11px;align-items:center}.card-profile-copy{min-width:0}.card-profile-copy h3{margin:0;font-size:14px;font-weight:600;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.foreign-tag{display:inline-flex;align-items:center;gap:4px;margin:4px 0 2px;padding:2px 8px;border-radius:var(--radius-full);background:var(--warning-soft);color:var(--warning);font-size:11px;font-weight:600}.foreign-tag .ui-icon{width:12px;height:12px}.guest-badge.foreign{display:inline-flex;align-items:center;gap:4px;background:var(--warning-soft);color:var(--warning)}.guest-badge.foreign .ui-icon{width:12px;height:12px}.card-meta{display:flex;align-items:center;gap:5px;margin-top:4px;font-size:12px;color:var(--text-soft)}.card-meta .ui-icon{width:13px;height:13px;color:var(--text-mute);flex-shrink:0}.card-meta span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-channel{display:flex;align-items:center;gap:5px;margin-top:3px;font-size:11.5px;color:var(--text-mute)}.card-channel .ui-icon{width:12px;height:12px}.card-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 14px;padding:11px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.card-grid>div span{font-size:10.5px;color:var(--text-mute);text-transform:uppercase;letter-spacing:.03em}.card-grid>div strong{display:block;font-size:13px;font-weight:600;margin-top:1px}.live-status{display:flex;flex-direction:column;gap:10px;margin-top:4px}.live-summary{display:flex;flex-wrap:wrap;gap:6px}.live-chip{padding:3px 9px;border-radius:var(--radius-full);font-size:11px;font-weight:600;background:var(--surface-3);color:var(--text-soft)}.live-chip.ok{background:var(--success-soft);color:var(--success)}.live-chip.warn{background:var(--warning-soft);color:var(--warning)}.live-chip.info{background:var(--info-soft);color:var(--info)}.live-chip.muted{background:var(--surface-3);color:var(--text-mute)}.live-visitors{display:flex;flex-direction:column;gap:6px}.live-visitor{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12.5px}.live-visitor-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-eq{flex-shrink:0;padding:2px 8px;border-radius:var(--radius-full);font-size:11px;font-weight:600}.live-eq.ok{background:var(--success-soft);color:var(--success)}.live-eq.warn{background:var(--warning-soft);color:var(--warning)}.live-eq.muted{background:var(--surface-3);color:var(--text-mute)}.live-note{margin:0;font-size:12px;color:var(--text-mute);line-height:1.4}.card-sent{display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:var(--radius-sm);background:var(--info-soft);color:var(--info);font-size:12px}.card-sent .ui-icon{width:14px;height:14px;flex-shrink:0}.card-sent strong{font-weight:600}.card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px}.card-media-dots{display:flex;gap:5px}.card-media-dots .mdot{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:var(--surface-3);color:var(--text-mute)}.card-media-dots .mdot .ui-icon{width:12px;height:12px}.card-media-dots .mdot.ok{background:var(--success-soft);color:var(--success)}.card-icon-actions{display:flex;gap:6px}.card-icon-btn{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text-soft);transition:background .15s,color .15s,border-color .15s}.card-icon-btn .ui-icon{width:15px;height:15px}.card-icon-btn:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.card-icon-btn:disabled{opacity:.4;cursor:not-allowed}.card-icon-btn.primary{background:var(--brand-soft);border-color:transparent;color:var(--brand)}.card-icon-btn.primary:hover:not(:disabled){background:var(--brand);color:#fff}.status-badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:var(--radius-full);font-size:11px;font-weight:600;white-space:nowrap}.status-badge.success{background:var(--success-soft);color:var(--success)}.status-badge.warning{background:var(--warning-soft);color:var(--warning)}.status-badge.danger{background:var(--danger-soft);color:var(--danger)}.status-badge.info{background:var(--info-soft);color:var(--info)}.status-badge.neutral{background:var(--surface-3);color:var(--text-soft)}.avatar{border-radius:10px;overflow:hidden;background:var(--surface-3);display:grid;place-items:center;flex-shrink:0;color:var(--text-mute)}.avatar img{width:100%;height:100%;object-fit:cover}.avatar-sm{width:38px;height:38px}.avatar-md{width:46px;height:46px}.avatar-lg{width:76px;height:76px;border-radius:14px}.avatar-fallback{display:grid;place-items:center}.avatar-fallback .ui-icon{width:45%;height:45%}.pagination{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:22px;flex-wrap:wrap}.pagination-button{display:inline-flex;align-items:center;gap:5px;padding:8px 12px;border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);color:var(--text-soft);font-size:12.5px;font-weight:500}.pagination-button:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.pagination-button:disabled{opacity:.4;cursor:not-allowed}.pagination-pages{display:flex;gap:5px}.page-pill{min-width:34px;height:34px;padding:0 9px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text-soft);font-size:12.5px;font-weight:600}.page-pill:hover{border-color:var(--brand);color:var(--brand)}.page-pill.active{background:var(--brand);border-color:var(--brand);color:var(--brand-contrast)}.empty-state{display:flex;flex-direction:column;align-items:center;gap:9px;padding:60px 20px;text-align:center;background:var(--surface);border:1px dashed var(--border-strong);border-radius:var(--radius)}.empty-icon{width:52px;height:52px;border-radius:14px;background:var(--surface-3);color:var(--text-mute);display:grid;place-items:center}.empty-icon .ui-icon{width:24px;height:24px}.empty-state strong{font-size:15px}.empty-state span{font-size:13px;color:var(--text-soft);max-width:360px}.skeleton{background:linear-gradient(90deg,var(--surface-2) 25%,var(--surface-3) 37%,var(--surface-2) 63%);background-size:400% 100%;animation:shimmer 1.4s infinite;border-radius:8px}@keyframes shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.skeleton-card{display:flex;gap:12px;padding:15px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.skeleton-avatar{width:46px;height:46px;border-radius:10px;flex-shrink:0}.skeleton-lines{flex:1;display:flex;flex-direction:column;gap:9px;justify-content:center}.skeleton-line{height:11px}.skeleton-input{height:42px;border-radius:var(--radius-sm)}.w-40{width:40%}.w-60{width:60%}.w-80{width:80%}.content-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow-sm)}.section-title{margin-bottom:14px}.section-title strong{display:block;font-size:14.5px;font-weight:600}.section-title span{display:block;font-size:12.5px;color:var(--text-soft);margin-top:3px;line-height:1.45}.config-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:18px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.form-grid label{display:flex;flex-direction:column;gap:6px;font-size:12.5px;font-weight:500;color:var(--text-soft)}.form-grid label.span-2{grid-column:1 / -1}.form-grid input{padding:9px 11px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text);font-size:13px;outline:none}.form-grid input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--ring)}.wh-list{display:flex;flex-direction:column}.audit-tabs{display:flex;gap:4px}.audit-tab{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border:none;background:transparent;border-radius:var(--radius-sm);color:var(--text-soft);font-size:13px;font-weight:600;transition:background .15s,color .15s}.audit-tab:hover{background:var(--surface-2);color:var(--text)}.audit-tab.active{background:var(--brand-soft);color:var(--brand)}.audit-count{min-width:20px;padding:1px 7px;border-radius:var(--radius-full);background:var(--surface-3);color:var(--text-soft);font-size:11px;font-weight:700}.audit-tab.active .audit-count{background:var(--brand);color:#fff}.wh-row{display:grid;grid-template-columns:160px 1fr 130px 130px;gap:12px;align-items:center;padding:11px 4px;border-bottom:1px solid var(--border);font-size:12.5px}.wh-row-rec{grid-template-columns:150px 1.4fr 90px 130px 150px 110px}.wh-row-env{grid-template-columns:160px 1fr 110px 150px 110px}.wh-row-act{grid-template-columns:150px 130px 1.6fr 90px 130px 110px}.act-label{display:flex;align-items:center;gap:8px;min-width:0}.act-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.act-dot.ok{background:var(--success)}.act-dot.err{background:var(--danger)}.act-ip{font-family:SFMono-Regular,ui-monospace,Menlo,Consolas,monospace;color:var(--text-mute);font-size:11.5px}.audit-filter-row{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 14px}.wh-row:last-child{border-bottom:none}.wh-row.head{color:var(--text-mute);text-transform:uppercase;font-size:10.5px;letter-spacing:.04em;font-weight:600}.wh-ev{font-family:SFMono-Regular,ui-monospace,Menlo,Consolas,monospace;color:var(--text);word-break:break-word}.wh-dup{color:var(--text-mute);font-style:normal}@media(max-width:820px){.wh-row,.wh-row-rec,.wh-row-env,.wh-row-act{grid-template-columns:1fr 1fr;gap:6px 12px}.wh-row.head{display:none}}.config-toggle{flex-direction:row!important;align-items:flex-start;gap:12px!important;padding:14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2)}.config-toggle input{width:18px;height:18px;margin-top:2px;accent-color:var(--brand);flex-shrink:0}.config-toggle span{display:flex;flex-direction:column;gap:4px}.config-toggle strong{font-size:13.5px;color:var(--text)}.config-toggle small{font-size:12px;color:var(--text-mute);line-height:1.45}.config-toggle-on{border:1px solid var(--success);background:var(--success-soft);border-radius:var(--radius);padding:12px!important}.config-toggle-on strong{color:var(--success)}.visit-code-box{margin-top:10px;display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-soft, var(--brand-soft))}.visit-code-box span{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-soft)}.visit-code-box strong{font-size:18px;font-weight:700;letter-spacing:-.01em;font-variant-numeric:tabular-nums}.visit-code-box small{font-size:11.5px;color:var(--text-mute)}.rep-date{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-soft)}.rep-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:16px}.rep-table{display:flex;flex-direction:column}.rep-row{display:grid;gap:12px;align-items:center;padding:10px 4px;border-bottom:1px solid var(--border);font-size:12.5px}.rep-row:last-child{border-bottom:none}.rep-row.head{color:var(--text-mute);text-transform:uppercase;font-size:10.5px;letter-spacing:.04em;font-weight:600}.rep-row-4{grid-template-columns:1fr 70px 70px 80px}.rep-row-res{grid-template-columns:80px 1.4fr 1fr 100px 90px 150px}.rep-row-env{grid-template-columns:170px 100px 1fr 120px}@media(max-width:820px){.rep-row-res,.rep-row-env,.rep-row-4{grid-template-columns:1fr 1fr;gap:6px 12px}.rep-row.head{display:none}}.config-hint{padding:13px 14px;border-radius:var(--radius-sm);background:var(--brand-soft);border:1px solid transparent}.config-hint strong{display:block;font-size:12.5px;color:var(--brand)}.config-hint span{display:block;margin-top:4px;font-size:12px;color:var(--text-soft);line-height:1.5;word-break:break-word}.message-box{margin:0;padding:15px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);font-family:SFMono-Regular,ui-monospace,Menlo,Consolas,monospace;font-size:12px;line-height:1.6;color:var(--text-soft);white-space:pre-wrap;word-break:break-word;max-height:60vh;overflow:auto}.guide-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:16px}.guide-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow-sm)}.guide-card-highlight{grid-column:1 / -1;background:linear-gradient(135deg,var(--brand-soft),var(--surface));border-color:var(--brand-soft)}.guide-card-soft{background:var(--surface-2)}.guide-pill-row{display:flex;gap:7px;flex-wrap:wrap}.guide-pill{padding:5px 11px;border-radius:var(--radius-full);background:var(--surface);border:1px solid var(--border);font-size:12px;color:var(--text-soft)}.guide-steps{display:flex;flex-direction:column;gap:13px}.guide-step strong{font-size:13.5px}.guide-step p{margin:4px 0 0;font-size:12.5px;color:var(--text-soft);line-height:1.5}.guide-mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.guide-mini-card{padding:13px;border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--border)}.guide-mini-card strong{font-size:13px}.guide-mini-card p{margin:5px 0 0;font-size:12px;color:var(--text-soft);line-height:1.5}.guide-checklist{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:8px}.guide-checklist li{font-size:13px;color:var(--text-soft);line-height:1.5}.guide-alert-list{display:flex;flex-direction:column;gap:9px}.guide-alert{padding:11px 13px;border-radius:var(--radius-sm);border-left:3px solid var(--warning);background:var(--warning-soft)}.guide-alert strong{font-size:13px;color:var(--text)}.guide-alert p{margin:4px 0 0;font-size:12px;color:var(--text-soft);line-height:1.5}.modal-layer{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:22px}.modal-backdrop{position:absolute;inset:0;border:none;background:#090c168c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);cursor:pointer}.modal-card{position:relative;width:min(920px,100%);max-height:90vh;overflow:auto;background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);animation:modalIn .2s ease}.manual-link-modal{width:min(540px,100%)}@keyframes modalIn{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:20px 22px;border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--bg-elevated);z-index:2}.modal-header h2{margin:5px 0 3px;font-size:18px;font-weight:700;letter-spacing:-.01em}.modal-header p{margin:0;font-size:12.5px;color:var(--text-soft)}.modal-header-actions{display:flex;align-items:center;gap:10px}.modal-body{display:grid;grid-template-columns:1fr 290px}.modal-main{padding:20px 22px;display:flex;flex-direction:column;gap:20px;min-width:0}.modal-side{padding:20px;border-left:1px solid var(--border);background:var(--surface-2);display:flex;flex-direction:column;gap:14px}.modal-loading{padding:36px 22px}.detail-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.summary-box{padding:11px 12px;border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--border)}.summary-box span{font-size:10.5px;color:var(--text-mute);text-transform:uppercase;letter-spacing:.03em}.summary-box strong{display:block;font-size:13px;margin-top:3px}.detail-profile{border:1px solid var(--border);border-radius:var(--radius);padding:16px;background:var(--surface)}.detail-profile-head{display:flex;gap:14px;align-items:center}.detail-profile-copy{min-width:0}.detail-profile-copy strong{font-size:16px}.detail-profile-copy span{display:block;font-size:12.5px;color:var(--text-soft);margin-top:2px}.detail-profile-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}.detail-profile-grid>div span{font-size:10px;color:var(--text-mute);text-transform:uppercase}.detail-profile-grid>div strong{display:block;font-size:12.5px;margin-top:3px}.detail-section{display:flex;flex-direction:column;gap:13px}.media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:11px}.media-tile{display:flex;align-items:center;gap:11px;padding:11px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface)}.media-copy{flex:1;min-width:0}.media-copy strong{font-size:13px}.media-copy span{display:block;font-size:11px;color:var(--text-mute);margin-top:2px;line-height:1.35}.mini-note{font-size:10.5px;color:var(--text-mute)}.pending-list{display:flex;flex-direction:column;gap:7px;padding:13px 15px;border-radius:var(--radius-sm);background:var(--warning-soft)}.pending-list span{font-size:12.5px;color:var(--warning);display:flex;gap:8px}.pending-list span:before{content:"!";font-weight:700}.pending-list.ok{background:var(--success-soft);color:var(--success);font-size:13px}.guest-list{display:flex;flex-direction:column;gap:9px}.guest-card{display:flex;gap:12px;padding:13px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface)}.guest-copy{flex:1;min-width:0}.guest-headline{display:flex;align-items:center;gap:8px}.guest-headline strong{font-size:13.5px}.guest-copy>span{display:block;font-size:12px;color:var(--text-soft);margin-top:2px}.guest-badge{padding:2px 8px;border-radius:var(--radius-full);background:var(--brand-soft);color:var(--brand);font-size:10.5px;font-weight:600}.guest-media-status{display:flex;gap:6px;margin-top:8px}.guest-media-pill{padding:3px 9px;border-radius:var(--radius-full);background:var(--surface-3);color:var(--text-mute);font-size:10.5px;font-weight:500}.guest-media-pill.ok{background:var(--success-soft);color:var(--success)}.side-card{padding:15px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);display:flex;flex-direction:column;gap:11px}.side-card .section-title{margin-bottom:0}.side-card p{margin:0;font-size:12.5px;color:var(--text-soft);line-height:1.5}.mapping-options{display:flex;flex-direction:column;gap:7px}.mapping-option{padding:9px 11px;border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--border)}.mapping-option strong{font-size:12.5px}.mapping-option p{margin:3px 0 0;font-size:11.5px;color:var(--text-mute)}.manual-mapping-panel{display:flex;flex-direction:column;gap:7px}.manual-field-label{font-size:12.5px;font-weight:500;color:var(--text-soft);margin-top:8px}.manual-mapping-input{padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text);font-size:13px;outline:none}.manual-mapping-input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--ring)}.manual-mapping-input:disabled{opacity:.55}.manual-reference{font-weight:600;color:var(--text)!important}.manual-helper{margin-top:4px!important;color:var(--text-mute)!important}.login-shell{min-height:100vh;display:grid;place-items:center;padding:22px;background:radial-gradient(1100px 560px at 8% -10%,var(--brand-soft),transparent),radial-gradient(820px 460px at 112% 112%,var(--info-soft),transparent),var(--bg)}.login-wrap{width:min(920px,100%);display:grid;grid-template-columns:1.05fr .95fr;background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);overflow:hidden}.login-hero{position:relative;padding:40px 36px;color:#fff;background:radial-gradient(600px 300px at 120% -20%,rgba(255,255,255,.22),transparent),linear-gradient(155deg,var(--brand),#1e3aa8 92%);display:flex;flex-direction:column;gap:18px}.login-hero-mark{width:46px;height:46px;border-radius:13px;background:#ffffff29;border:1px solid rgba(255,255,255,.28);display:grid;place-items:center;font-weight:800;font-size:17px;letter-spacing:-.02em;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.login-hero h1{margin:0;font-size:27px;font-weight:800;letter-spacing:-.02em;line-height:1.1}.login-hero>p{margin:0;font-size:14px;line-height:1.55;color:#ffffffd1;max-width:34ch}.login-hero-feats{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}.login-hero-feats li{display:flex;align-items:center;gap:11px;font-size:13.5px;color:#fffffff0}.login-hero-feats .lh-dot{width:24px;height:24px;border-radius:50%;background:#ffffff2e;display:grid;place-items:center;flex-shrink:0}.login-hero-feats .lh-dot .ui-icon{width:14px;height:14px}.login-hero-foot{margin-top:auto;font-size:11.5px;color:#fff9;letter-spacing:.02em}.login-panel{background:var(--bg-elevated);padding:38px 34px;display:flex;flex-direction:column;justify-content:center}@media(max-width:720px){.login-wrap{grid-template-columns:1fr;max-width:420px}.login-hero{display:none}}.login-brand{display:flex;justify-content:center;margin-bottom:18px}.login-logo{width:58px;height:58px;border-radius:15px;object-fit:contain;background:var(--surface-2);padding:7px}.login-copy{text-align:center;margin-bottom:22px}.login-copy h2{margin:0;font-size:20px;font-weight:700}.login-copy p{margin:6px 0 0;font-size:13px;color:var(--text-soft)}.login-form{display:flex;flex-direction:column;gap:14px}.login-form label{display:flex;flex-direction:column;gap:6px;font-size:12.5px;font-weight:500;color:var(--text-soft)}.login-form input{padding:11px 13px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text);font-size:13.5px;outline:none}.login-form input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--ring)}.login-check{flex-direction:row!important;align-items:center;gap:9px!important;font-weight:400!important}.login-check input{width:15px;height:15px;accent-color:var(--brand)}.login-error{padding:10px 13px;border-radius:var(--radius-sm);background:var(--danger-soft);color:var(--danger);font-size:12.5px}.login-submit{margin-top:4px;padding:12px;font-size:14px}.login-footer-note{text-align:center;margin-top:16px}.login-link{border:none;background:transparent;color:var(--brand);font-size:12.5px}.login-link:hover{text-decoration:underline}@media(max-width:1080px){.metrics-grid{grid-template-columns:repeat(2,1fr)}.modal-body{grid-template-columns:1fr}.modal-side{border-left:none;border-top:1px solid var(--border)}.detail-profile-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:860px){.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:minmax(0,1fr)}.mobile-topbar{display:flex}.sidebar{position:fixed;z-index:60;left:0;top:0;width:264px;transform:translate(-100%);transition:transform .25s ease}.sidebar.open{transform:none;box-shadow:var(--shadow-lg)}.collapse-btn{display:none}.app-shell.sidebar-collapsed .sidebar-brand-copy,.app-shell.sidebar-collapsed .nav-item span,.app-shell.sidebar-collapsed .nav-section-label,.app-shell.sidebar-collapsed .foot-company-copy,.app-shell.sidebar-collapsed .foot-company .chev,.app-shell.sidebar-collapsed .foot-user span,.app-shell.sidebar-collapsed .foot-user .chev{display:revert}.app-shell.sidebar-collapsed .sidebar-top{flex-direction:row}.app-shell.sidebar-collapsed .nav-item{justify-content:flex-start;padding:9px 10px}.app-shell.sidebar-collapsed .foot-company,.app-shell.sidebar-collapsed .foot-user{justify-content:flex-start}.mobile-backdrop{display:block;position:fixed;inset:0;z-index:50;border:none;background:#090c1680}.main-content{padding:18px 14px 44px}.form-grid{grid-template-columns:1fr}.detail-summary-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.metrics-grid,.detail-summary-grid,.detail-profile-grid,.reservation-grid{grid-template-columns:1fr}}:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:6px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.secret-field .secret-row{display:flex;gap:8px;align-items:stretch}.secret-field .secret-row input{flex:1;min-width:0}.secret-btn{flex-shrink:0;padding:0 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:12.5px;font-weight:600;cursor:pointer;white-space:nowrap;transition:border-color .15s ease,color .15s ease}.secret-btn:hover{border-color:var(--brand);color:var(--brand)}.robot-card{margin-top:18px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm);transition:border-color .2s ease,box-shadow .2s ease}.robot-card-on{border-color:var(--success);box-shadow:0 0 0 2px var(--success-soft)}.robot-copy{flex:1 1 340px}.robot-head{display:flex;gap:14px;align-items:flex-start}.robot-icon{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);flex-shrink:0}.robot-card-on .robot-icon{background:var(--success-soft);color:var(--success)}.robot-head strong{font-size:15px;display:block;color:var(--text)}.robot-head p{margin:4px 0 0;font-size:12.5px;color:var(--text-mute);line-height:1.5;max-width:640px}.robot-switch{display:inline-flex;align-items:center;gap:10px;cursor:pointer;flex-shrink:0;font-size:13px;font-weight:700}.robot-switch input{position:absolute;opacity:0;width:0;height:0}.robot-switch-track{width:46px;height:26px;border-radius:999px;background:var(--border-strong, #cbd2e0);position:relative;transition:background .2s ease;flex-shrink:0}.robot-switch-thumb{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:var(--shadow-sm);transition:transform .2s ease}.robot-switch input:checked+.robot-switch-track{background:var(--success)}.robot-switch input:checked+.robot-switch-track .robot-switch-thumb{transform:translate(20px)}.robot-switch input:focus-visible+.robot-switch-track{outline:2px solid var(--brand);outline-offset:2px}.robot-switch b{min-width:60px;color:var(--text-soft)}.robot-card-on .robot-switch b{color:var(--success)}.chart-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:18px}.chart-card-wide{grid-column:1 / -1}.chart-card{display:flex;flex-direction:column}.chart-donut{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.donut-center-value{fill:var(--text);font-size:26px;font-weight:700;font-variant-numeric:tabular-nums}.donut-center-label{fill:var(--text-mute);font-size:11px;text-transform:uppercase;letter-spacing:.05em}.chart-legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;flex:1;min-width:130px}.chart-legend-row{flex-direction:row;flex-wrap:wrap;gap:20px;margin-top:14px}.chart-legend li{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--text-soft)}.chart-legend .legend-label{flex:1}.chart-legend b{color:var(--text);font-variant-numeric:tabular-nums}.legend-dot{width:10px;height:10px;border-radius:3px;flex-shrink:0}.chart-bars{display:flex;align-items:flex-end;gap:6px;height:156px;padding-top:8px;overflow-x:auto}.chart-bar-col{flex:1 0 20px;display:flex;flex-direction:column;align-items:center;gap:7px;height:100%;min-width:20px}.chart-bar-stack{flex:1;width:100%;max-width:30px;display:flex;flex-direction:column;justify-content:flex-end;gap:2px;border-radius:4px;overflow:hidden}.bar-seg{width:100%;transition:height .3s ease}.bar-seg.ok{background:var(--success)}.bar-seg.err{background:var(--danger)}.bar-seg.empty{height:3px;background:var(--surface-3);border-radius:3px}.chart-bar-label{font-size:9px;color:var(--text-mute);font-variant-numeric:tabular-nums;white-space:nowrap}.chart-hbars{display:flex;flex-direction:column;gap:11px}.hbar-row{display:grid;grid-template-columns:minmax(90px,130px) 1fr 42px;align-items:center;gap:10px}.hbar-label{font-size:12px;color:var(--text-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hbar-track{background:var(--surface-3);border-radius:999px;height:10px;overflow:hidden}.hbar-fill{height:100%;border-radius:999px;min-width:4px;transition:width .3s ease}.hbar-value{font-size:12.5px;font-weight:600;text-align:right;font-variant-numeric:tabular-nums;color:var(--text)}.view-toggle{display:inline-flex;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}.view-toggle button{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;background:var(--surface);border:none;font-size:12.5px;font-weight:600;color:var(--text-soft);transition:background .15s ease,color .15s ease}.view-toggle button+button{border-left:1px solid var(--border)}.view-toggle button.active{background:var(--brand-soft);color:var(--brand)}.view-toggle .ui-icon{width:15px;height:15px}@media(max-width:900px){.chart-grid{grid-template-columns:1fr}}.data-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius)}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table thead th{text-align:left;padding:11px 14px;font-size:10.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-mute);font-weight:600;border-bottom:1px solid var(--border);background:var(--surface-2);white-space:nowrap}.data-table tbody td{padding:11px 14px;border-bottom:1px solid var(--border);color:var(--text);vertical-align:middle}.data-table tbody tr:last-child td{border-bottom:none}.data-table tbody tr:nth-child(2n){background:var(--surface-2)}.data-table tbody tr.data-row-click{cursor:pointer;transition:background .12s ease}.data-table tbody tr.data-row-click:hover{background:var(--surface-3)}.data-table .mono{font-family:SFMono-Regular,ui-monospace,Menlo,Consolas,monospace;font-variant-numeric:tabular-nums}.data-table .td-soft{color:var(--text-soft)}.data-table .th-avatar,.data-table .td-avatar{width:44px;padding-right:0}.data-table .td-avatar .avatar{width:32px;height:32px;border-radius:50%}.data-table .td-actions{white-space:nowrap;text-align:right}.data-table .td-actions .button-link{margin-right:6px}.icon-btn{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text-soft);vertical-align:middle;transition:background .15s ease,color .15s ease,border-color .15s ease}.icon-btn .ui-icon{width:15px;height:15px}.icon-btn.send:not(:disabled){background:var(--brand);border-color:var(--brand);color:#fff}.icon-btn.send:not(:disabled):hover{filter:brightness(1.06)}.icon-btn:disabled{opacity:.45;cursor:not-allowed}.vinc-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.vinc-card{border:1px solid var(--border);border-radius:var(--radius);padding:14px;display:flex;flex-direction:column;gap:10px;background:var(--surface)}.vinc-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.vinc-card-head strong{font-size:13px;line-height:1.3}.vinc-card-meta{font-size:12px;color:var(--text-mute);margin-top:-4px}.vinc-field{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--text-soft)}.vinc-card-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:2px}.vinc-card-actions .button{padding:6px 12px;font-size:13px}.wh-list.as-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px}.wh-list.as-cards .wh-row{grid-template-columns:1fr 1fr;border:1px solid var(--border);border-radius:var(--radius);padding:13px 15px;gap:7px 12px;align-items:start}.wh-list.as-cards .wh-row.head{display:none}.wh-list.as-cards .wh-row:last-child{border-bottom:1px solid var(--border)}.wh-list.as-cards .act-label{grid-column:1 / -1}.stat-row-4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}@media(max-width:960px){.stat-row-4{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.stat-row-4{grid-template-columns:1fr}}.vinc-table tbody tr:nth-child(2n){background:var(--surface-2)}.vinc-table tbody tr:hover{background:var(--surface-3)}.wh-list:not(.as-cards) .wh-row:not(.head):nth-child(2n){background:var(--surface-2)}.wh-list:not(.as-cards) .wh-row:not(.head){border-radius:6px}.rep-table .rep-row:not(.head):nth-child(2n){background:var(--surface-2)}@media(max-width:620px){input,select,textarea{font-size:16px!important}.metrics-grid{grid-template-columns:repeat(3,1fr)!important;gap:8px}.stat-row-4{grid-template-columns:repeat(2,1fr)!important;gap:8px}.metric-card{padding:12px 11px;gap:9px;align-items:center}.metric-card .metric-icon{display:none}.metric-card .metric-copy span{font-size:10.5px;line-height:1.2}.metric-card .metric-copy strong{font-size:19px}.filter-bar{gap:8px}.filter-bar .search-field{flex:1 1 100%}.filter-bar .select-field,.filter-bar>input[type=date]{flex:1 1 calc(50% - 4px);min-width:0}.page-header h1{font-size:20px}.page-header{flex-wrap:wrap;gap:10px}.page-actions{width:100%}.page-actions .button{flex:1}.list-header{flex-wrap:wrap;gap:10px}.list-controls{width:100%;justify-content:space-between}.chip-row{flex-wrap:wrap}.chip{padding:8px 12px}.chart-grid{grid-template-columns:1fr}}@media(max-width:860px){.mobile-topbar{padding-top:env(safe-area-inset-top)}.main-content{padding-bottom:calc(44px + env(safe-area-inset-bottom))}.sidebar{padding-top:calc(16px + env(safe-area-inset-top))}}@media(display-mode:standalone){.mobile-topbar{padding-top:calc(8px + env(safe-area-inset-top))}}.toast-wrap{position:fixed;left:50%;bottom:calc(26px + env(safe-area-inset-bottom));transform:translate(-50%);z-index:200;width:min(440px,calc(100% - 32px));pointer-events:none}.toast{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:12px;background:var(--bg-elevated);border:1px solid var(--border);box-shadow:var(--shadow-lg);pointer-events:auto;animation:toast-in .28s cubic-bezier(.2,.8,.2,1)}@keyframes toast-in{0%{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.toast-success{border-left:3px solid var(--success)}.toast-error{border-left:3px solid var(--danger)}.toast-info{border-left:3px solid var(--brand)}.toast-ico{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;flex-shrink:0;color:#fff}.toast-ico .ui-icon{width:16px;height:16px}.toast-success .toast-ico{background:var(--success)}.toast-error .toast-ico{background:var(--danger)}.toast-info .toast-ico{background:var(--brand)}.toast-text{flex:1;font-size:13.5px;font-weight:500;color:var(--text);line-height:1.35}.toast-close{border:none;background:transparent;color:var(--text-mute);display:grid;place-items:center;padding:4px;border-radius:6px;flex-shrink:0}.toast-close:hover{background:var(--surface-2);color:var(--text)}.toast-close .ui-icon{width:15px;height:15px}@media(prefers-reduced-motion:reduce){.toast{animation:none}}.confirm-card{position:relative;z-index:1;width:min(420px,calc(100% - 32px));background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);padding:26px 24px 20px;text-align:center;animation:toast-in .22s cubic-bezier(.2,.8,.2,1)}.confirm-ico{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;margin:0 auto 14px;color:#fff}.confirm-ico.danger{background:var(--danger)}.confirm-ico.brand{background:var(--brand)}.confirm-ico .ui-icon{width:24px;height:24px}.confirm-card h2{margin:0 0 6px;font-size:18px;font-weight:700;letter-spacing:-.01em}.confirm-card p{margin:0 0 20px;font-size:13.5px;color:var(--text-soft);line-height:1.5}.confirm-actions{display:flex;gap:10px}.confirm-actions .button{flex:1;padding:11px;justify-content:center}.button-danger{background:var(--danger);color:#fff;box-shadow:0 1px 2px #131a2a1f}.button-danger:hover:not(:disabled){filter:brightness(1.05)}
