.login-layout{min-height:100vh;display:flex;background-color:var(--bg-color)}.login-brand-side{flex:1;background:linear-gradient(135deg,var(--primary-dark) 0%,var(--primary-color) 100%);color:#fff;display:flex;flex-direction:column;justify-content:center;padding:60px;position:relative;overflow:hidden}@media (max-width: 900px){.login-brand-side{display:none}}.brand-bg-pattern{position:absolute;top:0;left:0;right:0;bottom:0;opacity:.1;background-image:radial-gradient(circle at 2px 2px,white 1px,transparent 0);background-size:32px 32px;z-index:1}.brand-content{position:relative;z-index:2;max-width:520px;margin:0 auto;animation:fadeSlideRight .8s ease-out}@keyframes fadeSlideRight{0%{opacity:0;transform:translate(-30px)}to{opacity:1;transform:translate(0)}}.brand-logo-large{width:80px;height:80px;background:#fff;border-radius:20px;margin-bottom:40px;box-shadow:0 10px 25px #0003;object-fit:contain;padding:8px}.brand-content h1{font-size:42px;line-height:1.2;font-weight:700;margin-bottom:24px;letter-spacing:-1px}.brand-content p{font-size:18px;line-height:1.6;opacity:.9;margin-bottom:48px}.brand-features{display:flex;flex-direction:column;gap:16px}.feature-item{display:flex;align-items:center;gap:16px;font-size:16px;font-weight:500}.feature-icon{width:32px;height:32px;background:#fff3;border-radius:50%;display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.login-form-side{flex:1;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f8fafc}.login-content-wrapper{position:relative;z-index:10;width:100%;max-width:480px;display:flex;flex-direction:column;align-items:center;animation:slideUp .6s cubic-bezier(.16,1,.3,1)}.my-account-title{color:var(--text-main);font-size:38px;font-weight:500;margin-bottom:70px;letter-spacing:.5px;font-family:inherit}.login-box-wrapper{width:100%;background:#fff;padding:80px 48px 50px;border-radius:8px;box-shadow:0 20px 40px #00000014;position:relative}.avatar-circle{position:absolute;top:-55px;left:50%;transform:translate(-50%);width:110px;height:110px;background:#1a3644;border-radius:50%;border:8px solid white;display:flex;align-items:center;justify-content:center;color:#fff}.avatar-circle svg{width:55px;height:55px}.error-banner{background:#fef2f2;border:1px solid #fecaca;color:#ef4444;padding:10px;border-radius:6px;display:flex;align-items:center;gap:8px;font-size:13px;margin-bottom:20px}.login-form{display:flex;flex-direction:column}.material-input-group{display:flex;align-items:center;border-bottom:1.5px solid #e0e0e0;padding:12px 0;margin-bottom:35px}.material-icon{color:#b0b0b0;margin-right:16px;display:flex;align-items:center;justify-content:center}.material-icon svg{width:22px;height:22px}.material-input-group input{flex:1;border:none;outline:none;font-size:16px;color:#333;background:transparent;padding:6px 0;font-family:inherit}.material-input-group input::placeholder{color:#9ca3af;font-weight:400}.forgot-password{text-align:right;margin-bottom:40px;margin-top:-10px}.forgot-password a{color:#999;font-size:14px;text-decoration:none;font-weight:500}.login-btn-orange{width:100%;background:#f15a24;color:#fff;border:none;padding:18px;font-size:18px;font-weight:500;border-radius:6px;cursor:pointer;box-shadow:0 4px 10px #f15a2433;transition:background .3s ease}.login-btn-orange:hover{background:#d94b1a}.password-toggle-btn{background:none;border:none;color:#b0b0b0;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0 5px;transition:color .2s ease}.password-toggle-btn:hover{color:#1a3644}@media (max-width: 520px){.login-content-wrapper{padding:0 16px}.my-account-title{font-size:28px;margin-bottom:50px}.login-box-wrapper{padding:65px 20px 32px}.avatar-circle{width:90px;height:90px;top:-45px}.avatar-circle svg{width:44px;height:44px}.login-btn-orange{padding:14px;font-size:16px}}.global-search{position:relative}.global-search .search-bar{transition:box-shadow .15s ease,background-color .15s ease}.global-search:focus-within .search-bar{background-color:#fff;box-shadow:0 0 0 2px #e0e7ff}.global-search .search-spinner,.global-search .search-clear,.global-search .search-kbd{flex:0 0 auto;margin-left:8px}.global-search .search-spinner{color:#6366f1;animation:global-search-spin .9s linear infinite}@keyframes global-search-spin{to{transform:rotate(360deg)}}.global-search .search-clear{display:inline-flex;align-items:center;justify-content:center;background:none;border:none;padding:2px;border-radius:50%;color:#9ca3af;cursor:pointer}.global-search .search-clear:hover{background:#e5e7eb;color:#374151}.global-search .search-kbd{font-family:inherit;font-size:10px;font-weight:600;letter-spacing:.04em;color:#9ca3af;background:#fff;border:1px solid #e5e7eb;border-radius:4px;padding:2px 5px;white-space:nowrap}.global-search .search-panel{position:absolute;top:calc(100% + 8px);left:0;width:420px;max-width:min(420px,calc(100vw - 48px));max-height:70vh;overflow-y:auto;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 12px 32px #0f172a24;z-index:60;padding:6px}.global-search .search-msg{margin:0;padding:14px 12px;font-size:13px;line-height:1.5;color:#6b7280}.global-search .search-msg-error{color:#b45309}.global-search .search-group+.search-group{border-top:1px solid #f3f4f6;margin-top:4px;padding-top:4px}.global-search .search-group-head{display:flex;align-items:baseline;justify-content:space-between;padding:8px 10px 4px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#9ca3af}.global-search .search-group-more{font-weight:500;letter-spacing:0;text-transform:none}.global-search .search-hit{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:none;border-radius:8px;background:none;text-align:left;cursor:pointer;font:inherit}.global-search .search-hit.is-active{background:#eef2ff}.global-search .search-hit-icon{flex:0 0 auto;color:#6366f1}.global-search .search-hit-text{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.global-search .search-hit-title{font-size:13.5px;font-weight:600;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-search .search-hit-sub{font-size:12px;color:#6b7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-search .search-hit-badge{flex:0 0 auto;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#4b5563;background:#f3f4f6;border-radius:999px;padding:3px 8px;white-space:nowrap}.global-search .search-foot{margin:4px 0 0;padding:8px 10px 4px;border-top:1px solid #f3f4f6;font-size:11px;color:#9ca3af}@media (max-width: 720px){.global-search .search-bar{width:200px}}.user-menu{position:relative}.user-menu-trigger{background:none;border:none;padding:4px 8px 4px 4px;border-radius:999px;cursor:pointer;font:inherit;text-align:left;transition:background-color .12s ease}.user-menu-trigger:hover,.user-menu-trigger:focus-visible{background-color:#f3f4f6;outline:none}.user-menu-caret{color:#9ca3af;flex-shrink:0;transition:transform .15s ease}.user-menu-caret.is-open{transform:rotate(180deg)}.user-menu-panel{position:absolute;top:calc(100% + 8px);right:0;min-width:240px;max-width:calc(100vw - 32px);background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 12px 32px #0f172a24;z-index:70;padding:6px}.user-menu-head{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-bottom:1px solid #f3f4f6;margin-bottom:4px}.user-menu-name{font-size:13.5px;font-weight:600;color:#111827}.user-menu-email{font-size:12px;color:#6b7280;overflow-wrap:anywhere}.user-menu-item{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;border:none;border-radius:8px;background:none;font:inherit;font-size:13.5px;color:#374151;text-align:left;text-decoration:none;cursor:pointer}.user-menu-item:hover,.user-menu-item:focus-visible{background-color:#f3f4f6;outline:none}.user-menu-item.is-danger{color:#ef4444}.user-menu-item.is-danger:hover,.user-menu-item.is-danger:focus-visible{background-color:#fef2f2;color:#dc2626}.dashboard-layout{display:flex;height:100vh;background-color:#f3f4f6;color:#374151}.sidebar{width:260px;background-color:#fff;border-right:1px solid #e5e7eb;display:flex;flex-direction:column}.sidebar-header{padding:24px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #f3f4f6}.brand-logo{width:36px;height:36px;flex-shrink:0;border-radius:8px;background-color:#f3f4ff;object-fit:contain;padding:3px}.sidebar-header h2{font-size:18px;font-weight:600;color:#111827}.sidebar-nav{flex:1;padding:24px 16px;display:flex;flex-direction:column;gap:8px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:8px;color:#4b5563;text-decoration:none;font-weight:500;font-size:15px;transition:all .2s ease;cursor:pointer;background:transparent;border:none;width:100%}.nav-item:hover{background-color:#f3f4f6;color:#111827}.nav-item.active{background-color:#eef2ff;color:#4f46e5}.sidebar-footer{padding:16px;border-top:1px solid #f3f4f6}.logout-btn{color:#ef4444}.logout-btn:hover{background-color:#fef2f2;color:#dc2626}.main-wrapper{flex:1;display:flex;flex-direction:column;overflow:hidden}.top-header{height:72px;background-color:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;padding:0 32px}.search-bar{display:flex;align-items:center;background-color:#f3f4f6;padding:8px 16px;border-radius:20px;width:320px}.search-icon{color:#9ca3af;margin-right:8px}.search-bar input{border:none;background:transparent;outline:none;width:100%;font-size:14px;color:#374151}.header-right{display:flex;align-items:center;gap:24px}.icon-btn{background:none;border:none;color:#6b7280;cursor:pointer;position:relative}.icon-btn:hover{color:#111827}.user-profile{display:flex;align-items:center;gap:12px}.user-avatar{width:40px;height:40px;background-color:#eef2ff;color:#4f46e5;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px}.user-info{display:flex;flex-direction:column}.user-name{font-size:14px;font-weight:600;color:#111827}.user-role{font-size:12px;color:#6b7280}.main-content{flex:1;overflow-y:auto;padding:32px}.mobile-menu-btn,.mobile-close-btn{display:none}.sidebar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:90}@media (max-width: 900px){.mobile-menu-btn{display:flex;align-items:center;justify-content:center;background:none;border:none;color:#374151;padding:8px;margin-right:8px;cursor:pointer;border-radius:8px;transition:background-color .15s;flex-shrink:0}.mobile-menu-btn:hover{background-color:#f3f4f6}.mobile-close-btn{display:flex;align-items:center;justify-content:center;background:none;border:none;color:#6b7280;padding:6px;margin-left:auto;cursor:pointer;border-radius:6px}.mobile-close-btn:hover{background-color:#f3f4f6;color:#111827}.sidebar{position:fixed;top:0;bottom:0;left:0;z-index:100;transform:translate(-100%);transition:transform .25s cubic-bezier(.4,0,.2,1);box-shadow:4px 0 24px #00000026}.sidebar.mobile-open{transform:translate(0)}.top-header{height:64px;padding:0 16px;gap:8px}.search-bar{width:auto;flex:1;max-width:260px;min-width:120px}.header-right{gap:12px}.main-content{padding:18px 16px}}@media (max-width: 520px){.top-header{padding:0 12px}.user-info{display:none}.main-content{padding:14px 10px}}.dashboard-page{display:flex;flex-direction:column;gap:32px}.page-header h1{font-size:28px;font-weight:700;color:#111827;margin-bottom:8px}.page-header p{color:#6b7280;font-size:15px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}.stat-card{background-color:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;display:flex;align-items:center;gap:20px;box-shadow:0 1px 3px #0000000d}.stat-icon-wrapper{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center}.stat-details h3{font-size:14px;font-weight:500;color:#6b7280;margin-bottom:4px}.stat-value{font-size:24px;font-weight:700;color:#111827}.dashboard-content-grid{display:grid;grid-template-columns:2fr 1fr;gap:24px}@media (max-width: 1024px){.dashboard-content-grid{grid-template-columns:1fr}}.content-card{background-color:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000000d;display:flex;flex-direction:column}.card-header{padding:20px 24px;border-bottom:1px solid #f3f4f6}.card-header h3{font-size:16px;font-weight:600;color:#111827}.card-body{padding:24px;flex:1;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:14px;min-width:0}.empty-state{color:#9ca3af;font-size:14px;line-height:1.55}.card-body>.empty-state:only-child{margin:auto;text-align:center;padding:28px 0}.dash-loading{padding:50px;text-align:center;color:var(--text-muted)}.dashboard-page .page-header p strong{color:#4f46e5}.stat-sub{display:block;margin-top:4px;font-size:12px;color:#9ca3af}.alert-strip{display:flex;align-items:flex-start;gap:10px;padding:12px 16px;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;color:#92400e;font-size:13px}.alert-strip svg{flex-shrink:0;margin-top:2px;color:#d97706}.alert-items{display:flex;flex-direction:column;gap:4px;line-height:1.5}.alert-items a{color:#b45309;font-weight:600}.card-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-header h3{display:flex;align-items:center;gap:7px}.card-note{font-size:12px;color:#9ca3af;white-space:nowrap}.usage-table{width:100%;border-collapse:collapse;font-size:13.5px}.usage-table th{text-align:right;padding:0 0 8px;font-size:12px;font-weight:600;color:#6b7280}.usage-table th:first-child{text-align:left}.usage-table th svg{vertical-align:-2px;margin-right:3px}.usage-table td{padding:7px 0;border-top:1px solid #f3f4f6;text-align:right;color:#374151}.usage-table td:first-child{text-align:left;color:#6b7280}.usage-table .usage-total td{border-top:2px solid #e5e7eb;font-weight:700;color:#111827;padding-top:10px}.usage-table .pos,.dash-list .pos{color:#16a34a;font-weight:600}.usage-table .neg,.dash-list .neg{color:#dc2626;font-weight:600}.dash-list{display:flex;flex-direction:column;gap:9px;font-size:13.5px}.dash-list>div{display:flex;justify-content:space-between;gap:12px;padding-bottom:9px;border-bottom:1px solid #f3f4f6}.dash-list>div:last-child{border-bottom:none;padding-bottom:0}.dash-list dt{color:#6b7280}.dash-list dd{font-weight:600;color:#111827}.dash-list dd small{color:#9ca3af;font-weight:400}.incentive-note{display:flex;align-items:flex-start;gap:8px;margin-top:14px;padding:10px 12px;background:#f9fafb;border:1px solid #f3f4f6;border-radius:8px;font-size:12.5px;line-height:1.5;color:#6b7280}.incentive-note svg{flex-shrink:0;margin-top:2px;color:#4f46e5}.dashboard-page .row-inactive td{opacity:.55}.dashboard-page .muted-dash{color:#d1d5db}.dashboard-page .inline-tag{margin-left:8px;font-size:10px!important;padding:2px 5px!important}.table-scroll{overflow-x:auto;border:1px solid #e5e7eb;border-radius:12px;-webkit-overflow-scrolling:touch}.perf-table{width:100%;min-width:820px;border-collapse:collapse}.perf-table th,.perf-table td{padding:12px 14px;white-space:nowrap}.perf-table thead th{background:#f9fafb;border-bottom:1px solid #e5e7eb;font-size:11.5px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.4px;text-align:left}.perf-table .num{text-align:right;font-variant-numeric:tabular-nums}.perf-table tbody td{border-bottom:1px solid #f3f4f6;font-size:13.5px;color:#374151}.perf-table tbody tr:last-child td{border-bottom:none}.perf-table tbody tr:hover td{background:#f9fafb}.th-sort{cursor:pointer;-webkit-user-select:none;user-select:none}.th-sort:hover{color:#4f46e5;background:#f3f4f6}.th-sticky,.td-sticky{position:sticky;left:0;z-index:1;background:#fff}.perf-table thead .th-sticky{background:#f9fafb;z-index:2}.perf-table tbody tr:hover .td-sticky{background:#f9fafb}.perf-totals td{border-top:2px solid #e5e7eb;background:#f9fafb;font-weight:700;color:#111827;font-size:13px}.perf-totals .td-sticky{background:#f9fafb}@media (max-width: 768px){.dashboard-page{gap:20px}.page-header h1{font-size:22px}.stats-grid{grid-template-columns:1fr;gap:14px}.stat-card{padding:16px;gap:14px}.card-header{flex-direction:column;align-items:flex-start;gap:8px;padding:16px}.card-body{padding:16px}.card-note{white-space:normal}.alert-strip{flex-direction:column;align-items:flex-start}}.users-page{display:flex;flex-direction:column;gap:22px}.users-page h1{font-size:28px;font-weight:700;color:#111827;margin-bottom:4px}.users-page>.page-header-row>div>p{color:#6b7280;font-size:15px;max-width:620px}.users-page .mini-stat.is-active{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.filter-select{padding:9px 12px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;font-size:13px;color:#374151;outline:none;cursor:pointer}.filter-select:focus{border-color:#4f46e5}.badge-purple{background-color:#f5f3ff;color:#7c3aed}.badge-blue{background-color:#eff6ff;color:#2563eb}.notice-banner{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;font-size:13.5px;color:#92400e}.notice-banner svg{flex-shrink:0;color:#d97706}.notice-link{margin-left:auto;color:#b45309;font-weight:600;text-decoration:none;white-space:nowrap}.notice-link:hover{text-decoration:underline}.users-table th,.users-table td{vertical-align:middle}.users-table .col-actions{text-align:right;white-space:nowrap}.users-table .col-date{color:#6b7280;font-size:13px;white-space:nowrap}.user-cell{display:flex;align-items:center;gap:11px;min-width:0}.user-chip{width:34px;height:34px;flex-shrink:0;border-radius:9px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}.user-cell-text{display:flex;flex-direction:column;min-width:0}.user-cell-name{font-weight:600;color:#111827;display:flex;align-items:center;gap:8px}.user-cell-text small{color:#9ca3af;font-size:12px;overflow:hidden;text-overflow:ellipsis}.row-inactive td{opacity:.55}.you-tag{font-style:normal;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#4f46e5;background:#eef2ff;padding:2px 6px;border-radius:4px}.count-pill{display:inline-block;min-width:30px;text-align:center;font-size:12.5px;font-weight:600;color:#374151;background:#f3f4f6;padding:3px 9px;border-radius:6px}.muted-dash{color:#d1d5db}.cell-actions{display:flex;gap:6px;justify-content:flex-end}.icon-action:disabled{opacity:.3;cursor:not-allowed}.icon-action:disabled:hover{background:none;color:#6b7280}.form-group-wide{grid-column:1 / -1}.form-hint{display:flex;align-items:flex-start;gap:8px;margin-top:16px;font-size:12.5px;line-height:1.5;color:#6b7280;background:#f9fafb;border:1px solid #f3f4f6;border-radius:8px;padding:10px 12px}.form-hint svg{flex-shrink:0;margin-top:2px;color:#4f46e5}.confirm-text{color:#6b7280;margin:4px 0 16px;font-size:14px;line-height:1.55}@media (max-width: 1100px){.users-table .col-date,.users-table thead th:nth-child(7){display:none}}@media (max-width: 860px){.toolbar,.stats-row{flex-wrap:wrap}.users-page .mini-stat{min-width:130px}}.assigned-self-note{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px dashed #d1d5db;border-radius:8px;font-size:13px;color:#4b5563;background:#f9fafb}.assigned-self-note svg{color:#4f46e5;flex-shrink:0}.form-group input:disabled{background:#f9fafb;color:#6b7280;cursor:not-allowed}.field-note{font-size:12px;color:#6b7280;line-height:1.45}.danger-note{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:10px 12px;color:#92400e;font-size:12.5px}.users-page .cell-actions-none{color:#d1d5db}.role-options-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:6px}.role-option-card{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1.5px solid #e5e7eb;border-radius:10px;background:#fff;cursor:pointer;transition:all .15s ease-in-out}.role-option-card:hover{border-color:#c7d2fe;background:#fdfdfd}.role-option-card.selected{border-color:#4f46e5;background:#f5f3ff;box-shadow:0 0 0 1px #4f46e5}.role-option-title{font-weight:600;font-size:13.5px;color:#111827}.role-option-desc{font-size:11.5px;color:#6b7280;margin-top:2px;line-height:1.35}.activate-info-card{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;font-size:13px;color:#1e40af;line-height:1.45}.activate-info-card svg{color:#2563eb;flex-shrink:0;margin-top:2px}@media (max-width: 768px){.users-page h1{font-size:22px}.notice-banner{flex-direction:column;align-items:flex-start;gap:8px}.notice-link{margin-left:0}.users-page .filter-select{width:100%}}.teams-page{display:flex;flex-direction:column;gap:24px}.teams-page h1{font-size:28px;font-weight:700;color:#111827;margin-bottom:4px}.teams-page>.page-header-row>div>p{color:#6b7280;font-size:15px;max-width:640px}.mini-stat.static{cursor:default}.teams-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(520px,1fr));gap:20px}.team-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:14px}.team-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.team-manager{display:flex;align-items:center;gap:12px;flex:1 1 240px;min-width:0}.team-manager>div{min-width:0}.team-avatar{width:42px;height:42px;flex-shrink:0;border-radius:10px;background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:17px}.team-manager h3{font-size:16px;font-weight:700;color:#111827;display:flex;align-items:center;gap:8px}.team-manager small{display:flex;align-items:center;gap:4px;color:#9ca3af;font-size:12px;margin-top:2px;min-width:0}.team-manager small span,.team-manager small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-manager h3{min-width:0}.inline-badge{font-size:10px!important;padding:2px 6px!important}.team-meta{display:flex;gap:18px;padding-bottom:12px;border-bottom:1px solid #f3f4f6}.team-meta span{display:flex;align-items:center;gap:5px;font-size:12.5px;color:#6b7280;font-weight:500}.exec-list{list-style:none;display:flex;flex-direction:column;gap:2px}.exec-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:8px;transition:background-color .15s}.exec-list li:hover{background-color:#f9fafb}.exec-list li.muted{opacity:.55}.exec-identity{display:flex;flex-direction:column;min-width:0}.exec-name{font-size:14px;font-weight:600;color:#111827}.exec-identity small{font-size:12px;color:#9ca3af}.exec-right{display:flex;align-items:center;gap:10px;flex-shrink:0}.exec-customers{font-size:12px;color:#6b7280;background:#f3f4f6;padding:3px 8px;border-radius:6px;white-space:nowrap}.team-empty-row,.teams-empty{padding:20px;text-align:center;color:#9ca3af;font-size:13.5px;background:#f9fafb;border-radius:8px}.teams-empty{padding:48px 20px;background:#fff;border:1px dashed #e5e7eb}.unassigned-panel{background:#fffbeb;border:1px solid #fde68a;border-radius:12px;padding:20px}.unassigned-header h3{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:#92400e}.unassigned-header p{color:#b45309;font-size:13px;margin:6px 0 12px}.unassigned-panel .exec-list li:hover{background-color:#fef3c7}@media (max-width: 1150px){.teams-grid{grid-template-columns:1fr}}.workflow-note{display:flex;align-items:flex-start;gap:10px;padding:12px 16px;background:#eef2ff;border:1px solid #e0e7ff;border-radius:10px;font-size:13px;line-height:1.55;color:#3730a3}.workflow-note svg{flex-shrink:0;margin-top:1px;color:#4f46e5}.create-target{font-size:13.5px;color:#6b7280;margin-bottom:14px}.card-actions{display:flex;gap:8px;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-left:auto}.card-actions .btn-outline{padding:7px 12px;font-size:12.5px;white-space:nowrap}@media (max-width: 768px){.teams-page h1{font-size:22px}.team-card{padding:16px}.team-card-header{flex-direction:column;align-items:stretch;gap:12px}.card-actions{width:100%;margin-left:0;justify-content:stretch}.card-actions .btn-outline{flex:1 1 auto;text-align:center;justify-content:center}.team-meta{flex-wrap:wrap;gap:10px}.exec-list li{flex-wrap:wrap;gap:6px}}.import-modal{max-width:760px;width:100%;display:flex;flex-direction:column;max-height:88vh}.import-body{overflow-y:auto;padding:4px 2px;flex:1}.import-file{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#374151;margin:0 0 14px;overflow-wrap:anywhere}.import-status,.import-success{display:flex;align-items:center;gap:8px;font-size:13.5px;color:#374151;padding:10px 0}.import-success{padding:10px 12px;border-radius:8px;background:#f0fdf4;border:1px solid #bbf7d0;color:#15803d;font-weight:600;margin-bottom:14px}.import-spinner{animation:import-spin .9s linear infinite;flex-shrink:0}@keyframes import-spin{to{transform:rotate(360deg)}}.import-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin-bottom:12px}.import-tile{display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 8px;border:1px solid #e5e7eb;border-radius:10px;background:#fafafa}.import-tile.is-good{background:#f0fdf4;border-color:#bbf7d0}.import-tile.is-bad{background:#fef2f2;border-color:#fecaca}.import-tile-value{font-size:22px;font-weight:700;color:#111827;font-variant-numeric:tabular-nums}.import-tile.is-good .import-tile-value{color:#15803d}.import-tile.is-bad .import-tile-value{color:#dc2626}.import-tile-label{font-size:11.5px;color:#6b7280;text-align:center}.import-block{border:1px solid #f3f4f6;border-radius:10px;padding:10px 12px;margin-bottom:10px}.import-block>summary{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#111827;cursor:pointer;list-style:none}.import-block>summary::-webkit-details-marker{display:none}.import-block>summary:before{content:"▸";color:#9ca3af;font-size:11px}.import-block[open]>summary:before{content:"▾"}.import-block h4{font-size:13px;font-weight:700;color:#111827;margin:0 0 8px}.import-note{font-size:12px;line-height:1.5;color:#6b7280;margin:8px 0 0}.import-list{margin:10px 0 0;padding-left:18px;font-size:12.5px;line-height:1.6;color:#374151}.import-list em{color:#9ca3af;font-style:normal;font-size:11.5px}.import-table{width:100%;border-collapse:collapse;margin-top:10px;font-size:12.5px}.import-table th{text-align:left;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#9ca3af;padding:4px 8px 4px 0;border-bottom:1px solid #f3f4f6}.import-table td{padding:5px 8px 5px 0;border-bottom:1px solid #f9fafb;color:#374151;vertical-align:top}.import-table td:nth-child(2){font-variant-numeric:tabular-nums;white-space:nowrap}.customers-page{display:flex;flex-direction:column;gap:24px}.customers-page h1{font-size:28px;font-weight:700;color:#111827;margin-bottom:4px}.customers-page>.page-header-row>p{color:#6b7280;font-size:15px}.customers-page .mini-stat.static{cursor:default}.row-link{font-weight:600;color:#111827;text-decoration:none}.row-link:hover{color:#4f46e5;text-decoration:underline}.owner-cell{display:flex;flex-direction:column}.owner-cell small{color:#9ca3af;font-size:11.5px}.assigned-self{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px dashed #d1d5db;border-radius:8px;font-size:13px;color:#4b5563;background:#f9fafb}.assigned-self svg{color:#4f46e5;flex-shrink:0}.field-warning{display:block;margin-top:6px;font-size:12px;line-height:1.45;color:#b45309}a.icon-action{display:inline-flex;align-items:center;justify-content:center;color:#6b7280}.customers-page .field-note{display:block;margin-top:6px;font-size:12px;line-height:1.45;color:#6b7280}.customers-page .info-hint{position:relative;display:inline-flex;align-items:center;justify-content:center;color:#9ca3af;cursor:help}.customers-page .info-hint:hover,.customers-page .info-hint:focus-visible{color:#4f46e5;outline:none}.customers-page .info-tip{visibility:hidden;opacity:0;transition:opacity .12s ease,visibility .12s ease;position:absolute;bottom:calc(100% + 8px);right:-4px;width:260px;padding:10px 12px;border-radius:8px;background:#1f2937;color:#f9fafb;font-size:12px;font-weight:400;line-height:1.5;text-align:left;white-space:normal;box-shadow:0 8px 24px #0f172a38;z-index:40}.customers-page .info-tip strong{color:#fff}.customers-page .info-tip:after{content:"";position:absolute;top:100%;right:10px;border:5px solid transparent;border-top-color:#1f2937}.customers-page .info-hint:hover .info-tip,.customers-page .info-hint:focus-visible .info-tip{visibility:visible;opacity:1}.customers-page tbody tr:first-child .info-tip{bottom:auto;top:calc(100% + 8px)}.customers-page tbody tr:first-child .info-tip:after{top:auto;bottom:100%;border-top-color:transparent;border-bottom-color:#1f2937}.customers-page .form-section-heading{grid-column:1 / -1;display:flex;flex-direction:column;gap:3px;margin:20px 0 4px;padding-top:16px;border-top:1px solid #f3f4f6;font-size:13px;font-weight:700;color:#111827}.customers-page .form-section-heading small{font-weight:400;font-size:12px;line-height:1.45;color:#6b7280}.date-filter{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}@media (max-width: 768px){.customers-page h1{font-size:22px}.date-filter{width:100%}.date-filter input[type=date]{flex:1;min-width:120px}.customers-page .filter-select{flex:1 1 auto;min-width:140px}}@media (max-width: 520px){.customers-page .filter-select{width:100%;min-width:unset}}.customer-detail{display:flex;flex-direction:column;gap:20px}.detail-loading{padding:50px;text-align:center;color:#6b7280}.back-link{display:inline-flex;align-items:center;gap:6px;color:#4f46e5;text-decoration:none;font-size:13.5px;font-weight:600;width:fit-content}.back-link:hover{text-decoration:underline}.detail-header{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:22px}.detail-identity{display:flex;align-items:center;gap:16px}.detail-avatar{width:56px;height:56px;flex-shrink:0;border-radius:14px;background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700}.detail-identity h1{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:700;color:#111827}.detail-contact{display:flex;flex-wrap:wrap;gap:16px;margin-top:8px}.detail-contact span{display:flex;align-items:center;gap:5px;font-size:13px;color:#6b7280}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.detail-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px}.detail-card h2{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:#111827;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #f3f4f6}.detail-list{display:flex;flex-direction:column;gap:9px}.detail-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13.5px}.detail-list dt{display:flex;align-items:center;gap:5px;color:#6b7280}.detail-list dd{font-weight:600;color:#111827;text-align:right}.detail-list dd.pos{color:#16a34a}.detail-list dd.neg{color:#dc2626}.progress-wrap{margin-top:16px}.progress-bar{height:8px;background:#f3f4f6;border-radius:999px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#34d399,#16a34a);border-radius:999px;transition:width .3s}.progress-wrap small{display:block;margin-top:6px;font-size:12px;color:#6b7280}.detail-hint{font-size:12.5px;line-height:1.55;color:#6b7280;background:#f9fafb;border:1px solid #f3f4f6;border-radius:8px;padding:10px 12px;margin-top:12px}.detail-card>.detail-hint:first-of-type{margin-top:0}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #f3f4f6}.card-head h2{margin:0;padding:0;border:none}.head-note{font-size:12.5px;color:#6b7280;white-space:nowrap}.btn-sm{padding:6px 12px!important;font-size:12.5px!important;gap:6px}.col-right{text-align:right}.row-actions{display:flex;gap:6px;justify-content:flex-end}.inline-tag{margin-left:8px;font-size:10.5px!important;padding:2px 6px!important}.customer-detail .muted-dash{color:#d1d5db}.customer-detail .confirm-text{color:#6b7280;margin-bottom:16px;font-size:14px}.customer-detail .field-note,.customer-detail .field-warning{font-size:12px;line-height:1.45}.customer-detail .field-note{color:#6b7280}.customer-detail .field-warning{color:#b45309}.amount-in{font-weight:600;color:#16a34a;white-space:nowrap}.amount-out{font-weight:600;color:#dc2626;white-space:nowrap}.detail-hint.warn{background:#fffbeb;border-color:#fde68a;color:#92400e}@media (max-width: 600px){.form-grid-2{grid-template-columns:1fr!important}}.balance-row{display:flex;gap:12px;margin-bottom:14px}.balance-tile{flex:1;background:#f5f3ff;border:1px solid #ede9fe;border-radius:10px;padding:14px;display:flex;flex-direction:column;align-items:center;gap:4px}.balance-value{font-size:28px;font-weight:700;color:#4f46e5;line-height:1}.balance-label{display:flex;align-items:center;gap:5px;font-size:12px;color:#6b7280}.customer-detail .overpaid-note{color:#b45309;font-weight:600}.balance-tile.balance-tile-derived{background:#fafafa;border-color:#eee}.balance-tile.balance-tile-derived .balance-value{color:#6b7280;font-size:22px}.balance-tile.balance-tile-derived .balance-label{color:#9ca3af}.customer-detail .data-table th{font-size:11.5px;font-weight:700;color:#4b5563;letter-spacing:.05em;background-color:#f8fafc;border-bottom:2px solid #e2e8f0}.customer-detail .data-table td{vertical-align:top}.booking-notes-cell{min-width:280px;max-width:500px}.booking-notes-list{display:flex;flex-direction:column;gap:5px;line-height:1.45}.legacy-import-tag{display:inline-block;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#4338ca;background-color:#eef2ff;border:1px solid #c7d2fe;border-radius:4px;padding:1px 7px;width:fit-content;margin-bottom:2px}.booking-note-item{display:flex;align-items:baseline;gap:8px;font-size:13px}.booking-note-label{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#475569;min-width:82px;flex-shrink:0}.booking-note-value{color:#0f172a;font-weight:500;word-break:break-word}.booking-note-text{font-size:13px;color:#334155;white-space:pre-line}@media (max-width: 768px){.detail-header{padding:16px}.detail-identity{flex-direction:column;align-items:flex-start;gap:12px}.detail-identity h1{font-size:20px;flex-wrap:wrap;gap:8px}.detail-contact{flex-direction:column;gap:8px}.card-head{flex-direction:column;align-items:flex-start;gap:10px}.card-head .btn-sm,.card-head .btn-outline,.card-head .btn-primary{width:100%;justify-content:center}.head-note{white-space:normal}}@media (max-width: 480px){.balance-row{flex-direction:column}.balance-tile{width:100%}.detail-grid{grid-template-columns:1fr}}.packages-page{display:flex;flex-direction:column;gap:22px}.packages-page h1{font-size:28px;font-weight:700;color:#111827;margin-bottom:4px}.packages-page>.page-header-row>div>p{color:#6b7280;font-size:15px;max-width:680px}.packages-page .mini-stat.static{cursor:default}.plan-cell{display:flex;align-items:center;gap:10px}.plan-icon{width:32px;height:32px;flex-shrink:0;border-radius:8px;background:#eef2ff;color:#4f46e5;display:flex;align-items:center;justify-content:center}.plan-name{font-weight:600;color:#111827}.plan-price{font-weight:600;color:#111827;white-space:nowrap}.packages-page .col-actions{text-align:right;white-space:nowrap}.packages-page .row-inactive td{opacity:.55}.field-note{font-size:12px;color:#6b7280}.page-note{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#6b7280}.page-note svg{flex-shrink:0;color:#4f46e5}@media (max-width: 768px){.packages-page h1{font-size:22px}.page-note{flex-direction:column;align-items:flex-start}}.profile-page{padding:24px 32px}.profile-page h1{font-size:24px;font-weight:700;color:#111827;margin-bottom:4px}.profile-page>.page-header-row>div>p{color:#6b7280;font-size:14px}.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:20px;margin-top:20px;align-items:start}.profile-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px}.profile-card-wide{grid-column:1 / -1}.profile-card h2{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:#111827;margin-bottom:16px}.profile-card h2 svg{color:#4f46e5}.profile-identity{display:flex;align-items:center;gap:14px;padding-bottom:16px;border-bottom:1px solid #f3f4f6;margin-bottom:16px}.profile-avatar{width:52px;height:52px;flex-shrink:0;background-color:#eef2ff;color:#4f46e5;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:20px}.profile-name{display:block;font-size:16px;font-weight:700;color:#111827;overflow-wrap:anywhere}.profile-email{display:flex;align-items:center;gap:5px;font-size:13px;color:#6b7280;margin-top:2px;overflow-wrap:anywhere}.profile-list{display:flex;flex-direction:column;gap:10px;margin:0 0 16px}.profile-list>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.profile-list dt{font-size:13px;color:#6b7280}.profile-list dd{margin:0;font-size:13.5px;font-weight:600;color:#111827;text-align:right}.profile-list dd small{font-weight:400;color:#6b7280}.profile-hint{display:flex;align-items:flex-start;gap:6px;font-size:12.5px;line-height:1.5;color:#6b7280;margin:0 0 8px}.profile-hint:last-child{margin-bottom:0}.profile-hint svg{flex-shrink:0;margin-top:2px;color:#9ca3af}.profile-form{display:flex;flex-direction:column;gap:16px}.profile-form .btn-primary{align-self:flex-start}.profile-success{display:flex;align-items:center;gap:8px;padding:10px 12px;margin-bottom:14px;border-radius:8px;background:#f0fdf4;border:1px solid #bbf7d0;color:#15803d;font-size:13px}.password-input{position:relative;display:flex}.password-input input{flex:1;padding-right:40px}.password-input button{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;padding:6px;border:none;border-radius:6px;background:none;color:#9ca3af;cursor:pointer}.password-input button:hover{background:#f3f4f6;color:#374151}.password-rules{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:4px 12px}.password-rules li{display:flex;align-items:center;gap:5px;font-size:12px;color:#9ca3af}.password-rules li svg{flex-shrink:0}.password-rules li.is-met{color:#15803d}.password-rules li.is-unmet{color:#b45309}.link-button{background:none;border:none;padding:0;font:inherit;color:#4f46e5;text-decoration:underline;cursor:pointer}@media (max-width: 640px){.profile-page{padding:16px}}:root{--primary-color: #6366f1;--primary-light: #818cf8;--primary-dark: #4f46e5;--bg-color: #f4f7f6;--card-bg: #ffffff;--text-main: #1f2937;--text-muted: #6b7280;--border-color: #e5e7eb;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);--error-color: #ef4444}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Outfit,sans-serif;background-color:var(--bg-color);color:var(--text-main);min-height:100vh;-webkit-font-smoothing:antialiased}.panel{background:var(--card-bg);border:1px solid var(--border-color);box-shadow:var(--shadow-lg);border-radius:16px}.route-loading{padding:50px;text-align:center;color:var(--text-muted)}.route-offline{max-width:460px;margin:80px auto;padding:32px;text-align:center;background:var(--card-bg);border:1px solid var(--border-color);border-radius:16px;box-shadow:var(--shadow-lg)}.route-offline svg{color:var(--error-color);margin-bottom:14px}.route-offline h2{font-size:20px;font-weight:700;color:var(--text-main);margin-bottom:10px}.route-offline p{color:var(--text-muted);font-size:14px;line-height:1.6;margin-bottom:8px}.route-offline-hint{font-size:13px!important;padding:10px 12px;background:#f9fafb;border-radius:8px;margin:16px 0 20px!important}.page-header-row{display:flex;justify-content:space-between;align-items:flex-start}.btn-primary{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;background-color:#4f46e5;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:background-color .2s}.btn-primary:hover{background-color:#4338ca}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-outline{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;background:#fff;color:#374151;border:1px solid #d1d5db;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.btn-outline:hover{background-color:#f9fafb;border-color:#9ca3af}.btn-danger{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;background-color:#dc2626;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer}.btn-danger:hover{background-color:#b91c1c}.stats-row{display:flex;gap:16px}.mini-stat{flex:1;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:16px 20px;display:flex;flex-direction:column;cursor:pointer;transition:box-shadow .2s}.mini-stat:hover{box-shadow:0 2px 8px #0000000f}.mini-stat-value{font-size:24px;font-weight:700;color:#111827}.mini-stat-label{font-size:13px;color:#6b7280;margin-top:2px}.toolbar{display:flex;align-items:center;gap:12px}.search-form{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:8px 14px;flex:1;max-width:500px}.search-form input{border:none;outline:none;font-size:14px;color:#374151;width:100%;background:transparent}.search-form svg{color:#9ca3af;flex-shrink:0}.table-wrapper{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow-x:auto;-webkit-overflow-scrolling:touch;position:relative;scrollbar-width:thin;scrollbar-color:#cbd5e1 #f8fafc}.table-wrapper::-webkit-scrollbar{height:10px}.table-wrapper::-webkit-scrollbar-track{background:#f8fafc;border-radius:8px;margin:0 4px}.table-wrapper::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:8px;border:2px solid #f8fafc}.table-wrapper::-webkit-scrollbar-thumb:hover{background:#94a3b8}.data-table{width:100%;min-width:950px;border-collapse:collapse}.data-table thead{background-color:#f9fafb}.data-table th{padding:12px 16px;text-align:left;font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #e5e7eb;white-space:nowrap}.data-table td{padding:14px 16px;font-size:14px;color:#374151;border-bottom:1px solid #f3f4f6;vertical-align:middle;white-space:nowrap}.data-table td.cell-name{white-space:normal;min-width:160px}.data-table tbody tr:hover{background-color:#f9fafb}.table-empty{text-align:center;padding:48px 16px!important;color:#9ca3af}.cell-name{display:flex;flex-direction:column}.cell-name span{font-weight:600;color:#111827}.cell-name small{color:#9ca3af;font-size:12px}.cell-actions{display:flex;align-items:center;gap:8px}.icon-action{background:none;border:none;color:#6b7280;cursor:pointer;padding:4px;border-radius:4px;transition:all .15s}.icon-action:hover{background:#eef2ff;color:#4f46e5}.icon-action.danger:hover{background:#fef2f2;color:#dc2626}.status-badge{display:inline-block;padding:4px 10px;border-radius:20px;font-size:12px;font-weight:600}.badge-green{background-color:#f0fdf4;color:#16a34a}.badge-yellow{background-color:#fffbeb;color:#d97706}.badge-red{background-color:#fef2f2;color:#dc2626}.pagination{display:flex;align-items:center;justify-content:center;gap:16px}.pagination button{display:inline-flex;align-items:center;gap:4px;padding:8px 14px;background:#fff;border:1px solid #d1d5db;border-radius:6px;font-size:13px;color:#374151;cursor:pointer}.pagination button:disabled{opacity:.4;cursor:not-allowed}.pagination span{font-size:13px;color:#6b7280}.pagination{flex-wrap:wrap;justify-content:space-between;padding:4px 2px}.pagination-size{display:flex;align-items:center;gap:8px}.pagination-size label{font-size:13px;color:#6b7280;white-space:nowrap}.pagination-size select{padding:6px 8px;border:1px solid #d1d5db;border-radius:6px;font-size:13px;color:#374151;background:#fff;cursor:pointer}.pagination-size select:disabled{background-color:#f3f4f6;color:#9ca3af;cursor:not-allowed}.pagination-range{font-variant-numeric:tabular-nums}.pagination-pages{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.pagination-pages button{min-width:36px;justify-content:center;padding:8px 10px;font-variant-numeric:tabular-nums}.pagination-pages button.is-current{background:#4f46e5;border-color:#4f46e5;color:#fff;font-weight:600}.pagination-pages button.is-current:disabled{opacity:1}.pagination-gap{padding:0 2px;color:#9ca3af;-webkit-user-select:none;user-select:none}@media (max-width: 720px){.pagination{justify-content:center}}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:16px;width:90%;max-width:680px;max-height:90vh;overflow-y:auto;overflow-x:hidden;padding:28px;box-shadow:0 20px 40px #00000026}.modal-sm{max-width:480px}.modal-md,.modal-booking{max-width:580px}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-header h3{font-size:20px;font-weight:700;color:#111827}.modal-close{background:none;border:none;color:#9ca3af;cursor:pointer}.modal-close:hover{color:#374151}.modal-error{background:#fef2f2;color:#dc2626;padding:10px 14px;border-radius:8px;font-size:13px;margin-bottom:16px;border:1px solid #fecaca}.modal-form{display:flex;flex-direction:column;gap:16px;width:100%}.modal-form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%}.form-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%}.form-group{display:flex;flex-direction:column;gap:6px;min-width:0;width:100%}.form-group label{font-size:13px;font-weight:600;color:#374151}.form-group input,.form-group select,.form-group textarea{width:100%;min-width:0;box-sizing:border-box;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;color:#111827;outline:none;transition:border-color .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid #f3f4f6}.form-group input:disabled,.form-group select:disabled,.form-group textarea:disabled{background-color:#f3f4f6;border-color:#e5e7eb;color:#9ca3af;cursor:not-allowed}.form-group input:read-only:not(:disabled){background-color:#f9fafb;cursor:default}.btn-outline:disabled,.btn-danger:disabled{opacity:.45;cursor:not-allowed}.btn-outline:disabled:hover{background-color:#fff;border-color:#d1d5db}.btn-danger:disabled:hover{background-color:#dc2626}.badge-blue{background-color:#eef2ff;color:#4338ca}.badge-gray{background-color:#f3f4f6;color:#4b5563}.page-header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.export-button-wrap{display:inline-flex;align-items:center;gap:10px}.export-spinner{animation:export-spin .9s linear infinite}@keyframes export-spin{to{transform:rotate(360deg)}}.export-error{font-size:12px;color:#b45309;max-width:220px;line-height:1.4}@media (max-width: 768px){.page-header-row{flex-direction:column;align-items:stretch;gap:16px}.page-header-actions{width:100%;justify-content:flex-start}.toolbar{flex-direction:column;align-items:stretch;gap:12px}.search-form{max-width:100%;width:100%}.stats-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}.mini-stat{padding:14px 16px}.mini-stat-value{font-size:20px}.pagination{flex-direction:column;align-items:center;gap:12px}.pagination-size,.pagination-pages{justify-content:center;width:100%}}@media (max-width: 640px){.modal-content{width:95%;padding:20px 16px;max-height:92vh;border-radius:12px}.modal-form .form-grid{grid-template-columns:1fr;gap:12px}.form-grid-2{grid-template-columns:1fr!important;gap:12px}.modal-actions{flex-direction:column-reverse;gap:8px;margin-top:20px;padding-top:16px}.modal-actions button{width:100%;justify-content:center}.data-table th,.data-table td{padding:10px 12px;font-size:13px}}
