:root{--bg: #f0f2f5;--surface: #ffffff;--sidebar: #1e293b;--sidebar-text: #e2e8f0;--primary: #1e40af;--primary-hover: #1d4ed8;--border: #e2e8f0;--text: #0f172a;--muted: #64748b;--danger: #dc2626;--success: #16a34a;--radius: 8px;--mobile-bottom-nav-height: 64px;font-family:Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}body.sidebar-resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}.app-shell{--sidebar-width: 240px;display:flex;height:100vh;height:100dvh;overflow:hidden;width:100%}.sidebar{width:var(--sidebar-width);background:var(--sidebar);color:var(--sidebar-text);display:flex;flex-direction:column;flex-shrink:0;height:100%;position:relative;overflow-x:hidden;overflow-y:auto;transition:width .2s ease}.sidebar.dragging,.app-shell.sidebar-dragging .sidebar{transition:none}.brand{display:flex;gap:8px;padding:16px 12px;align-items:center;flex-shrink:0;border-bottom:1px solid rgba(255,255,255,.08)}.brand-main{display:flex;gap:12px;align-items:center;min-width:0;flex:1}.brand-text strong{display:block;color:#fff}.brand-text small{color:#94a3b8;font-size:11px}.sidebar-resizer{position:absolute;top:0;right:0;width:6px;height:100%;cursor:col-resize;z-index:20;touch-action:none}.sidebar-resizer:after{content:"";position:absolute;top:0;bottom:0;left:2px;width:2px;background:transparent;transition:background .15s}.sidebar-resizer:hover:after,.sidebar.dragging .sidebar-resizer:after{background:#ffffff59}.mobile-bottom-nav{display:none}.mobile-shell{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}.mobile-topbar{display:none}.access-picker-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.access-employee-editor{padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg)}.access-employee-editor-head,.access-employee-card-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.access-employee-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.access-employee-card{padding:14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg)}.access-employee-name-btn{display:block;padding:0;border:none;background:none;font:inherit;font-weight:600;font-size:14px;color:var(--primary);text-align:left;cursor:pointer}.access-badges{display:flex;flex-wrap:wrap;gap:6px;margin-left:auto}.access-badge{display:inline-flex;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:600;color:var(--primary);background:#1e40af1a}.access-permissions{display:flex;flex-direction:column;gap:10px}.access-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);cursor:pointer}.access-toggle-row.disabled{opacity:.65;cursor:default}.access-toggle-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.access-toggle-label{font-size:14px;font-weight:600}.access-toggle-hint{font-size:12px;color:var(--muted);line-height:1.35}.access-switch{position:relative;flex-shrink:0;width:48px;height:28px}.access-switch input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;margin:0;cursor:pointer}.access-switch-track{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:999px;background:#cbd5e1;transition:background .2s ease}.access-switch-track:after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0f172a33;transition:transform .2s ease}.access-switch input:checked+.access-switch-track{background:var(--primary)}.access-switch input:checked+.access-switch-track:after{transform:translate(20px)}.access-scope-group{padding:12px 14px;border:1px dashed var(--border);border-radius:var(--radius);background:var(--surface)}.access-scope-label{display:block;margin-bottom:8px;font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.access-scope-segment{display:grid;grid-template-columns:1fr 1fr;gap:8px}.access-scope-segment button{min-height:40px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);font:inherit;font-size:13px;cursor:pointer}.access-scope-segment button.active{border-color:#1e40af59;background:#1e40af14;color:var(--primary);font-weight:600}.mobile-sheet-root{position:fixed;top:0;right:0;bottom:0;left:0;z-index:500}.mobile-sheet-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:none;background:#0f172a73;cursor:pointer}.mobile-sheet{position:absolute;left:0;right:0;bottom:0;max-height:min(78dvh,560px);padding-bottom:env(safe-area-inset-bottom,0px);border-radius:16px 16px 0 0;background:var(--surface);box-shadow:0 -12px 40px #0f172a2e;display:flex;flex-direction:column}.mobile-sheet-handle{width:40px;height:4px;margin:10px auto 0;border-radius:999px;background:#cbd5e1}.mobile-sheet-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 0;border-bottom:none}.mobile-sheet-header .brand-main{align-items:center;min-width:0;flex:1}.mobile-sheet-header .brand-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;margin:0;font-size:14px;font-weight:700;color:#fff;background:var(--primary);border-radius:var(--radius)}.mobile-sheet-header .brand-text{min-width:0}.mobile-sheet-header .brand-text strong{display:block;color:var(--text);font-size:16px;line-height:1.2}.mobile-sheet-header .brand-text small{display:block;margin-top:2px;color:var(--muted);font-size:11px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100vw - 120px)}.mobile-sheet-close{flex-shrink:0;align-self:center;width:36px;height:36px;border:none;border-radius:var(--radius);background:var(--bg);font-size:24px;line-height:1;cursor:pointer}.mobile-sheet-user{padding:12px 16px;margin:8px 12px 0;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg)}.mobile-sheet-user-name{display:block;font-size:14px;font-weight:600;color:var(--text);line-height:1.35}.mobile-sheet-user-role{display:block;margin-top:4px;font-size:13px;color:var(--muted);line-height:1.35}.mobile-sheet-nav{display:flex;flex-direction:column;gap:4px;padding:12px 12px 16px;overflow-y:auto}.mobile-sheet-link{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 12px;border:none;border-radius:var(--radius);background:none;color:var(--text);text-decoration:none;font:inherit;font-size:15px;cursor:pointer}.mobile-sheet-link.active{background:#1e40af14;color:var(--primary);font-weight:600}.mobile-sheet-icon{width:22px;height:22px}.mobile-sheet-logout{margin-top:4px;color:var(--danger)}body.mobile-menu-open{overflow:hidden}.settings-mobile-menu,.settings-mobile-back{display:none}.brand-icon{width:40px;height:40px;background:var(--primary);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:#fff;flex-shrink:0}.brand-text small{color:#94a3b8;font-size:11px;white-space:nowrap}.sidebar.collapsed .brand{justify-content:center;padding:12px 8px}.sidebar.collapsed .brand-main{justify-content:center}.app-icon{width:20px;height:20px;display:block;flex-shrink:0;object-fit:contain}.nav-link-icon{filter:brightness(0) invert(.85)}.nav-link.active .nav-link-icon{filter:brightness(0) invert(1)}.sidebar-toggle-icon{display:none}.sidebar-logout{display:inline-flex;align-items:center;justify-content:center;gap:8px}.sidebar-logout-icon{width:18px;height:18px;filter:brightness(0) invert(.85)}.sidebar-logout:hover .sidebar-logout-icon{filter:brightness(0) invert(1)}.nav{flex:1;padding:12px 8px;display:flex;flex-direction:column;gap:4px}.nav-link{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:var(--radius);color:var(--sidebar-text);text-decoration:none;font-size:14px}.nav-link-icon{flex-shrink:0;width:22px;height:22px;display:flex;align-items:center;justify-content:center}.sidebar.collapsed .nav-link{justify-content:center;padding:10px 8px}.sidebar.collapsed .nav{padding:12px 6px}.nav-link:hover{background:#ffffff0f}.nav-link.active{background:var(--primary);color:#fff}.sidebar-footer{margin-top:auto;padding:20px 16px 36px;border-top:1px solid rgba(255,255,255,.08)}.sidebar.collapsed .sidebar-footer{padding:16px 8px 32px}.sidebar-logout{margin-top:18px;width:100%}.sidebar.collapsed .sidebar-logout{margin-top:14px;padding-left:0;padding-right:0;font-size:18px}.user-initial{display:flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0 auto;border-radius:50%;background:#ffffff1a;color:#fff;font-weight:600;font-size:15px}.user-name{display:block;font-weight:600;color:#fff;font-size:14px}.user-role{font-size:12px;color:#94a3b8}.main{flex:1;min-width:0;min-height:0;height:100%;padding:24px 28px;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}.main-content{min-width:0;width:100%;max-width:none}.pull-refresh-indicator{display:flex;align-items:flex-end;justify-content:center;overflow:hidden;color:var(--muted);font-size:12px;font-weight:500;line-height:1;padding-bottom:8px;transition:height .18s ease;pointer-events:none;-webkit-user-select:none;user-select:none}.pull-refresh-indicator--refreshing{color:var(--primary)}.main--pull-refresh .main-content{transition:transform .18s ease;will-change:transform}.page-header{margin-bottom:24px}.page-header h1{margin:0 0 4px;font-size:24px}.page-header p{margin:0;color:var(--muted);font-size:14px}.card{background:var(--surface);border-radius:var(--radius);border:1px solid var(--border);padding:20px;overflow-x:auto}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin-bottom:24px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px}.stat-card .value{font-size:28px;font-weight:700;color:var(--primary)}.stat-card .label{font-size:13px;color:var(--muted);margin-top:4px}.dashboard-status-list{list-style:none;margin:0;padding:0;display:none;flex-direction:column;gap:10px}.dashboard-status-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg)}.dashboard-status-badge{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-status-count{flex-shrink:0;font-size:22px;font-weight:700;color:var(--primary);line-height:1}.dashboard-status-table-desktop{width:100%;border-collapse:collapse}.dashboard-status-table-desktop th,.dashboard-status-table-desktop td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--border)}.dashboard-status-table-desktop th{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.dashboard-status-table-desktop td:last-child{font-weight:600;text-align:right;width:80px}.dashboard-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap}.dashboard-header-copy{min-width:0}.dashboard-alerts{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.dashboard-alert{margin:0}.dashboard-loading{color:var(--muted)}.dashboard-layout{display:flex;flex-direction:column;gap:20px;width:100%;max-width:none}.dashboard-section{padding:20px;width:100%;box-sizing:border-box}.dashboard-section-head{margin-bottom:16px}.dashboard-section-head h2{margin:0 0 4px;font-size:18px}.dashboard-section-head p{margin:0;color:var(--muted);font-size:13px}.dashboard-period-section{background:linear-gradient(135deg,rgba(30,64,175,.07),var(--surface) 55%);border-color:#1e40af24;overflow:hidden}.dashboard-period-summary{font-weight:600;color:var(--text)}.dashboard-period-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:nowrap;margin-bottom:18px;padding:14px 16px;border-radius:calc(var(--radius) + 2px);border:1px solid rgba(30,64,175,.12);background:#ffffffb8;box-shadow:inset 0 1px #fffc}.dashboard-period-toolbar-title{font-size:13px;font-weight:700;color:var(--primary);letter-spacing:.02em;text-transform:uppercase;flex-shrink:0;white-space:nowrap}.dashboard-period-controls{display:flex;align-items:center;gap:12px;flex:1;min-width:0;flex-wrap:nowrap}.dashboard-period-range{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.dashboard-period-separator{color:var(--muted);font-weight:600;-webkit-user-select:none;user-select:none;flex-shrink:0}.dashboard-period-date{min-width:148px;width:auto;flex:1;max-width:180px;height:40px;padding:8px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font:inherit;transition:border-color .15s ease,box-shadow .15s ease}.dashboard-period-date:focus{outline:none;border-color:#1e40af73;box-shadow:0 0 0 3px #1e40af1f}.dashboard-period-field{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--muted);min-width:0}.dashboard-period-field input{min-width:148px;height:40px;padding:8px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font:inherit;transition:border-color .15s ease,box-shadow .15s ease}.dashboard-period-field input:focus{outline:none;border-color:#1e40af73;box-shadow:0 0 0 3px #1e40af1f}.dashboard-today-btn{min-height:40px;padding-inline:16px;border-radius:10px;font-weight:600;flex-shrink:0;white-space:nowrap}.dashboard-period-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-period-stats .dashboard-stat-card{background:var(--surface);box-shadow:0 1px 2px #0f172a0a;border-left:4px solid var(--border);border-top:none;padding:20px 18px}.dashboard-period-stats .dashboard-stat-card--accept{border-left-color:#3b82f6}.dashboard-period-stats .dashboard-stat-card--issue{border-left-color:#22c55e}.dashboard-period-stats .dashboard-stat-card--money{border-left-color:var(--primary)}.dashboard-period-stats .dashboard-stat-card--unpaid{border-left-color:#f59e0b}.dashboard-period-stats .dashboard-stat-card--muted{opacity:.72}.dashboard-period-stats .dashboard-stat-card--muted .dashboard-stat-value{color:var(--muted)}.dashboard-personal-earnings{background:linear-gradient(135deg,rgba(34,197,94,.1),var(--surface));border-color:#22c55e38}.dashboard-today-section{background:linear-gradient(135deg,rgba(34,197,94,.08),var(--surface) 60%);border-color:#22c55e2e}.dashboard-today-summary{font-weight:600;color:var(--text)}.dashboard-today-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-today-stats .dashboard-stat-card{background:var(--surface);box-shadow:0 1px 2px #0f172a0a;border-left:4px solid var(--border);border-top:none}.dashboard-today-stats .dashboard-stat-card--accept{border-left-color:#3b82f6}.dashboard-today-stats .dashboard-stat-card--issue{border-left-color:#22c55e}.dashboard-today-stats .dashboard-stat-card--money{border-left-color:var(--primary)}.dashboard-today-stats .dashboard-stat-card--unpaid{border-left-color:#f59e0b}.dashboard-today-personal{margin-top:18px;padding-top:18px;border-top:1px dashed rgba(34,197,94,.28)}.dashboard-today-personal-title{margin:0 0 6px;font-size:15px;font-weight:700;color:var(--text)}.dashboard-personal-date{font-weight:600;color:var(--text)}.dashboard-personal-hint{margin-top:4px!important;font-size:12px!important}.dashboard-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.dashboard-stats-grid--personal{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-stat-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:18px 16px;display:flex;flex-direction:column;gap:6px;border-top:4px solid var(--border);min-width:0}.dashboard-stat-card--accept{border-top-color:#3b82f6}.dashboard-stat-card--issue{border-top-color:#22c55e}.dashboard-stat-card--money{border-top-color:var(--primary)}.dashboard-stat-card--unpaid{border-top-color:#f59e0b}.dashboard-stat-value{font-size:clamp(22px,4vw,28px);font-weight:700;color:var(--text);line-height:1.1;overflow-wrap:anywhere}.dashboard-stat-label{font-size:13px;color:var(--muted);line-height:1.35}.dashboard-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-category-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:20px 18px;border-radius:calc(var(--radius) + 2px);border:1px solid color-mix(in srgb,var(--cat-color) 22%,var(--border));background:linear-gradient(165deg,color-mix(in srgb,var(--cat-color) 14%,#fff) 0%,var(--surface) 72%);text-decoration:none;color:inherit;min-width:0;position:relative;overflow:hidden}.dashboard-category-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:color-mix(in srgb,var(--cat-color) 16%,#fff);color:var(--cat-color);flex-shrink:0}.dashboard-category-icon .app-icon{width:22px;height:22px}.dashboard-category-count{font-size:clamp(26px,4vw,34px);font-weight:700;color:var(--cat-color);line-height:1;letter-spacing:-.02em}.dashboard-category-label{font-size:14px;font-weight:600;color:var(--text);line-height:1.3}@media (max-width: 1024px){.dashboard-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.dashboard-month-card{background:linear-gradient(135deg,rgba(30,64,175,.06),var(--surface))}.dashboard-month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dashboard-month-item{padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);display:flex;flex-direction:column;gap:4px}.dashboard-month-item--accent{border-color:#1e40af40;background:#1e40af0d}.dashboard-month-value{font-size:clamp(18px,3.5vw,22px);font-weight:700;color:var(--text);overflow-wrap:anywhere}.dashboard-month-label{font-size:13px;color:var(--muted)}.dashboard-pending-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.dashboard-pending-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);flex-wrap:wrap}.dashboard-pending-info{display:flex;flex-direction:column;gap:2px;min-width:0}.dashboard-pending-info strong{font-size:14px}.dashboard-pending-info span{font-size:12px;color:var(--muted)}.dashboard-pending-link{flex-shrink:0;padding:6px 12px;font-size:13px}.dashboard-empty{margin:0;color:var(--muted);font-size:14px}.dashboard-quick-actions{margin-top:0}.dashboard-status-table .dashboard-section-head{margin-bottom:16px}@media (min-width: 900px){.dashboard-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-stats-grid--personal{grid-template-columns:repeat(3,minmax(0,1fr))}}.toolbar{display:flex;gap:12px;margin-bottom:16px;flex-wrap:wrap;align-items:center}.toolbar .toolbar-search{flex:1 1 260px;min-width:260px;max-width:480px}.repairs-toolbar{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;max-width:100%;box-sizing:border-box}.repairs-toolbar-create{flex:0 0 auto;white-space:nowrap}.repairs-toolbar-search{flex:0 1 300px;min-width:160px;max-width:360px;width:auto}.repairs-category-nav{display:flex;flex:1 1 auto;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:8px;min-width:0;padding:0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none;box-sizing:border-box}.repairs-category-nav::-webkit-scrollbar{display:none}.repairs-category-btn{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);font:inherit;font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap}.repairs-category-btn.active{border-color:#1e40af59;background:#1e40af14;color:var(--primary);font-weight:600}.repairs-category-icon{width:16px;height:16px;opacity:.85}.repairs-category-btn.active .repairs-category-icon{opacity:1}.repairs-category-text{display:inline-flex;align-items:center;gap:6px;min-width:0;line-height:1.2}.repairs-category-label{line-height:1.2}.repairs-category-count{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:1.35em;height:1.35em;padding:0 6px;border-radius:999px;background:#0f172a14;color:var(--muted);font-size:11px;font-weight:600;line-height:1}.repairs-category-btn.active .repairs-category-count{background:#1e40af24;color:var(--primary)}.scroll-to-top-btn{position:fixed;right:24px;bottom:24px;z-index:200;width:44px;height:44px;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--primary);font-size:20px;font-weight:700;line-height:1;cursor:pointer;box-shadow:0 4px 16px #0f172a1f;transition:transform .15s ease,box-shadow .15s ease}.scroll-to-top-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0f172a29}.repairs-order-list{padding:0}.repairs-order-table-wrap{width:100%;overflow-x:auto}.repairs-order-table{font-size:13px}.repairs-order-list th,.repairs-order-list td{padding:10px 12px;vertical-align:middle}.repair-order-mobile{display:none}.repairs-order-list th.repair-order-sum-col,.repairs-order-list .repair-order-sum{text-align:center;white-space:nowrap}.repairs-order-list .repair-order-number{font-weight:700;white-space:nowrap}.repairs-order-list .repair-order-accepted-name{display:block;font-weight:500;line-height:1.35}.repairs-order-list .repair-order-accepted .table-cell-sub,.repairs-order-list .repair-order-client .table-cell-sub{display:block;margin-top:2px;font-size:12px;line-height:1.35}.repairs-order-list .repair-order-client-name{display:block;font-weight:500;line-height:1.35}.repairs-order-list .repair-order-problem-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4;word-break:break-word}.repairs-order-list .repair-order-sum-stack{display:flex;flex-direction:column;align-items:center;gap:2px}.repairs-order-list .repair-order-sum-final{font-weight:700;font-size:14px}.repairs-order-list .repair-order-sum-est{font-size:12px}.repairs-order-list .repair-order-paid{font-weight:600}.repairs-order-list .repair-order-empty{text-align:center;color:var(--muted);padding:24px}.repairs-load-more-cell,.list-load-more-cell{text-align:center;color:var(--muted);font-size:13px;padding:12px!important;border:none!important}.list-load-sentinel{list-style:none}.access-load-sentinel{padding:12px 0;text-align:center;color:var(--muted);font-size:13px}.repair-order-sentinel td{background:transparent!important}.client-mobile{display:none}.clients-list{padding:0}.clients-table-wrap{width:100%;overflow-x:auto}.clients-table{font-size:13px;width:100%}.clients-list th,.clients-list td{padding:10px 12px;vertical-align:middle}.clients-empty{text-align:center;color:var(--muted);padding:24px}.clients-list .client-col-name{font-weight:600}@media (min-width: 768px){.clients-list.card{padding:0;overflow:hidden}.clients-table{table-layout:fixed;min-width:900px;border-collapse:separate;border-spacing:0}.clients-table .clients-col-name{width:18%}.clients-table .clients-col-last{width:11%}.clients-table .clients-col-first{width:10%}.clients-table .clients-col-patronymic{width:11%}.clients-table .clients-col-phone{width:12%}.clients-table .clients-col-email{width:16%}.clients-table .clients-col-birth{width:10%}.clients-table .clients-col-created{width:12%}.clients-list thead th{position:sticky;top:0;z-index:2;background:#f8fafc;border-bottom:2px solid var(--border);padding:11px 8px;font-size:11px;text-align:center;white-space:nowrap}.clients-list thead th:first-child{text-align:left}.clients-list tbody td.client-desktop{padding:11px 8px;border-bottom:1px solid #e8edf3;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.clients-list tbody td.client-desktop.client-col-name{text-align:left;white-space:normal}.clients-list .client-mobile{display:none}.clients-list .client-row:hover td.client-desktop{background:#f8fafc}}@media (min-width: 768px){.repairs-order-list.card{padding:0;overflow:hidden}.repairs-order-table{table-layout:fixed;width:100%;min-width:1040px;border-collapse:separate;border-spacing:0}.repairs-order-table .repairs-col-num{width:7%}.repairs-order-table .repairs-col-status{width:9%}.repairs-order-table .repairs-col-due{width:8%}.repairs-order-table .repairs-col-accepted{width:12%}.repairs-order-table .repairs-col-order-type{width:8%}.repairs-order-table .repairs-col-device-type{width:9%}.repairs-order-table .repairs-col-device{width:10%}.repairs-order-table .repairs-col-problem{width:18%}.repairs-order-table .repairs-col-client{width:14%}.repairs-order-table .repairs-col-sum{width:9%}.repairs-order-list thead th{position:sticky;top:0;z-index:2;background:#f8fafc;border-bottom:2px solid var(--border);padding:12px 8px;font-size:11px;white-space:nowrap;vertical-align:middle;text-align:center}.repairs-order-list tbody td.repair-order-desktop{padding:12px 8px;border-bottom:1px solid #e8edf3;overflow:hidden;vertical-align:middle;text-align:center}.repairs-order-list .repair-order-mobile{display:none}.repairs-order-list .repair-order-row td:first-child{box-shadow:inset 3px 0 0 var(--order-status-color, #cbd5e1);padding-left:13px}.repairs-order-list .repair-order-row:hover td{background:#f8fafc}.repairs-order-list .repair-order-row:hover td:first-child{box-shadow:inset 3px 0 0 var(--order-status-color, #cbd5e1)}.repairs-order-list .repair-order-number{font-size:14px;letter-spacing:-.02em}.repairs-order-list .repair-order-status .badge{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top;font-size:11px;padding:5px 8px;border-radius:999px}.repairs-order-list .repair-order-due,.repairs-order-list .repair-order-device-type,.repairs-order-list .repair-order-device-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.repairs-order-list .repair-order-type .order-type-badge{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top;font-size:11px}.repairs-order-list .repair-order-problem-text{max-width:none;text-align:center;margin:0 auto}.repairs-order-list .repair-order-accepted .table-cell-sub,.repairs-order-list .repair-order-client .table-cell-sub{text-align:center}.repairs-order-list .repair-order-empty{box-shadow:none;padding:28px 16px;font-size:14px}}input,select,textarea{font:inherit;padding:8px 12px;border:1px solid var(--border);border-radius:var(--radius);background:#fff}.settings-form input,.settings-form select,.settings-form textarea,.settings-form .password-field input{width:100%;max-width:100%;box-sizing:border-box}input:focus,select:focus,textarea:focus{outline:2px solid rgba(30,64,175,.25);border-color:var(--primary)}.btn{font:inherit;padding:8px 16px;border-radius:var(--radius);border:none;cursor:pointer;font-size:14px}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover)}.btn-ghost{background:transparent;color:var(--sidebar-text);border:1px solid rgba(255,255,255,.2)}.btn-danger{background:var(--danger);color:#fff}.btn-sm{padding:4px 10px;font-size:13px}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--border)}th{font-weight:600;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.03em}tr:hover td{background:#f8fafc}tr.row-clickable{cursor:pointer}tr.row-clickable:hover td{background:#f1f5f9}tr.row-clickable:focus-visible td{background:#e2e8f0;outline:2px solid var(--primary);outline-offset:-2px}.table-cell-muted{color:#64748b;font-size:13px}.table-cell-sub{display:block;color:#64748b;font-size:12px;margin-top:2px;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.badge{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:500;color:#fff}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1e293b,#1e40af)}.landing-page{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(160deg,#0f172a,#1e293b 40%,#1e40af);color:#f8fafc}.landing-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px clamp(16px,4vw,48px);flex-wrap:wrap}.landing-header .app-brand .app-brand-title,.landing-header .app-brand .app-brand-subtitle{color:#fff}.landing-nav{display:flex;gap:10px;flex-wrap:wrap}.landing-main{flex:1;width:100%;max-width:960px;margin:0 auto;padding:24px clamp(16px,4vw,48px) 48px}.landing-hero{text-align:center;padding:32px 0 48px}.landing-hero h1{margin:0 0 20px;font-size:clamp(1.75rem,4vw,2.5rem);line-height:1.2;font-weight:700}.landing-lead{margin:0 auto 28px;max-width:640px;font-size:1.05rem;line-height:1.65;color:#cbd5e1}.landing-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.landing-cta-btn{min-width:180px}.landing-section{margin-bottom:40px;padding:28px;background:#ffffff0f;border:1px solid rgba(255,255,255,.1);border-radius:16px}.landing-section h2{margin:0 0 20px;font-size:1.35rem;font-weight:600}.landing-features{list-style:none;margin:0;padding:0;display:grid;gap:20px}@media (min-width: 640px){.landing-features{grid-template-columns:1fr 1fr}}.landing-feature{display:flex;gap:14px;align-items:flex-start}.landing-feature-icon{flex-shrink:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:#ffffff1f;border-radius:10px}.landing-feature-svg{width:24px;height:24px;filter:brightness(0) invert(1)}.landing-feature h3{margin:0 0 6px;font-size:1rem;font-weight:600}.landing-feature p{margin:0;font-size:.9rem;line-height:1.5;color:#cbd5e1}.landing-keywords p{margin:0;line-height:1.65;color:#cbd5e1}.landing-faq{margin:0}.landing-faq-item{margin-bottom:16px}.landing-faq-item:last-child{margin-bottom:0}.landing-faq-item dt{font-weight:600;margin-bottom:6px}.landing-faq-item dd{margin:0;color:#cbd5e1;line-height:1.55}.landing-footer{padding:24px clamp(16px,4vw,48px);text-align:center;font-size:14px;color:#94a3b8;border-top:1px solid rgba(255,255,255,.08)}.landing-footer p{margin:0 0 8px}.landing-footer-links a{color:#93c5fd;text-decoration:none}.landing-footer-links a:hover{text-decoration:underline}.login-card{width:100%;max-width:400px;background:#fff;border-radius:12px;padding:32px;box-shadow:0 20px 50px #00000040}.login-card-wide{max-width:480px}.login-footer{margin-top:20px;text-align:center;font-size:14px;color:var(--muted)}.login-footer a{color:var(--primary);text-decoration:none;font-weight:600}.login-footer a:hover{text-decoration:underline}.login-brand{margin-bottom:28px}.login-form-title{margin:0 0 20px;font-size:18px;font-weight:600;text-align:center;color:var(--text)}.login-card h1{margin:0 0 8px;font-size:22px}.login-card .subtitle{color:var(--muted);margin-bottom:24px;font-size:14px}.app-brand-link{text-decoration:none;color:inherit;display:block}.app-brand-link:hover .app-brand-title{color:var(--primary)}.app-brand{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}.app-brand .brand-icon{width:56px;height:56px;font-size:18px;border-radius:14px}.app-brand--lg .brand-icon{width:72px;height:72px;font-size:22px;border-radius:18px}.app-brand--sm .brand-icon{width:44px;height:44px;font-size:15px;border-radius:12px}.app-brand-title{display:block;font-size:22px;font-weight:700;letter-spacing:-.02em;color:var(--text);line-height:1.2}.app-brand--lg .app-brand-title{font-size:26px}.app-brand-subtitle{display:block;margin-top:6px;font-size:14px;line-height:1.45;color:var(--muted);max-width:280px}.app-brand--lg .app-brand-subtitle{font-size:15px;max-width:320px}.about-app{width:100%}.about-app-card{overflow:hidden}.about-app-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 24px 24px;background:linear-gradient(180deg,#eff6ff,#fff);border-bottom:1px solid var(--border)}.about-app-tagline{margin:16px 0 0;max-width:420px;font-size:15px;line-height:1.55;font-weight:500;color:#334155}.about-app-version{display:inline-flex;margin-top:14px;padding:5px 14px;border-radius:999px;font-size:12px;font-weight:600;letter-spacing:.02em;color:var(--primary);background:#2563eb1a;border:1px solid rgba(37,99,235,.15)}.about-app-body{padding-top:22px!important}.about-app-lead{margin:0 0 22px;font-size:15px;line-height:1.65;color:var(--text)}.about-app-features{list-style:none;margin:0 0 24px;padding:0;display:grid;gap:10px}.about-app-feature{display:flex;align-items:flex-start;gap:14px;padding:14px 16px;border-radius:var(--radius);border:1px solid var(--border);background:var(--bg)}.about-app-feature-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:linear-gradient(145deg,#1e40af,#3b82f6)}.about-app-feature-svg{width:22px;height:22px;filter:brightness(0) invert(1)}.about-app-feature-text{display:flex;flex-direction:column;gap:4px;min-width:0}.about-app-feature-text strong{font-size:14px;font-weight:600;color:var(--text)}.about-app-feature-text span:last-child{font-size:13px;line-height:1.5;color:var(--muted)}.about-app-section{margin-bottom:22px}.about-app-section-title{margin:0 0 12px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.about-app-tags{display:flex;flex-wrap:wrap;gap:8px}.about-app-tag{padding:6px 12px;border-radius:999px;font-size:12px;font-weight:500;color:#1e40af;background:#eff6ff;border:1px solid #dbeafe}.about-app-developer{margin-bottom:18px;padding:10px 14px;border-radius:var(--radius);background:#f8fafc;border:1px solid var(--border);text-align:center}.about-app-developer-label{display:block;margin-bottom:4px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.about-app-developer-name{margin:0 0 6px;font-size:14px;font-weight:600;color:var(--text)}.about-app-developer-contacts{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin:0;font-size:12px;line-height:1.45}.about-app-developer-sep{color:#cbd5e1;font-weight:400}.about-app-developer-link{font-weight:600;color:var(--primary);text-decoration:none;word-break:break-all}.about-app-developer-link:hover{text-decoration:underline}.about-app-links{justify-content:center}.about-app-links .btn{flex:1 1 auto;min-width:min(100%,200px);justify-content:center;text-align:center}.form-group{margin-bottom:16px}.form-group label{display:block;margin-bottom:6px;font-size:13px;font-weight:500}.form-group label.checkbox-label{display:flex;align-items:flex-start;gap:8px;margin-bottom:0;font-weight:400;cursor:pointer;line-height:1.4}.form-group input:not([type=checkbox]):not([type=radio]){width:100%;max-width:100%;min-width:0;box-sizing:border-box}.form-group input[type=date]{display:block;width:100%;min-width:100%;max-width:100%;min-height:42px;box-sizing:border-box;-moz-appearance:none;appearance:none;-webkit-appearance:none}.form-group input[type=date]::-webkit-datetime-edit{display:flex;align-items:center;width:100%;min-width:100%;padding:0}.form-group input[type=date]::-webkit-datetime-edit-fields-wrapper{width:100%;min-width:100%}.form-group input[type=date]::-webkit-date-and-time-value{text-align:left;min-width:100%}.form-group-date .input-date-full{width:100%;min-width:100%}.form-group input[type=checkbox],.form-group input[type=radio]{width:auto;margin:2px 0 0;flex-shrink:0}.form-group select:disabled{background:#f1f5f9;color:var(--muted);cursor:not-allowed}.error-msg{color:var(--danger);font-size:13px;margin-bottom:12px}.success-msg{color:var(--success);font-size:13px;margin-bottom:12px}.row-pending{background:#fffbeb}.checkbox-label{display:inline-flex;align-items:flex-start;gap:8px;font-weight:400;cursor:pointer;line-height:1.4}.checkbox-label input[type=checkbox],.checkbox-label input[type=radio]{width:auto;margin:2px 0 0;flex-shrink:0}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;z-index:100;padding:20px;overscroll-behavior:contain}body.modal-open{overflow:hidden}body.modal-open .main{overflow:hidden!important}body.modal-open .mobile-bottom-nav{pointer-events:none}.modal{background:#fff;border-radius:12px;width:100%;max-width:560px;max-height:90vh;overflow-y:auto;overflow-x:hidden;padding:24px;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.modal-wide{max-width:640px}.create-order-modal{max-width:680px}.order-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;list-style:none;margin:0 0 20px;padding:0}.order-steps--two{grid-template-columns:repeat(2,1fr)}.order-step{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;opacity:.55}.order-step-active,.order-step-done{opacity:1}.order-step-num{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;background:var(--border);color:var(--muted)}.order-step-active .order-step-num{background:var(--primary);color:#fff}.order-step-done .order-step-num{background:#dcfce7;color:#166534}.order-step-label{font-size:11px;line-height:1.2;color:var(--muted)}.order-step-active .order-step-label{color:var(--text);font-weight:600}.order-step-hint{margin:0 0 16px;color:var(--muted);font-size:14px}.order-type-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.order-type-card{display:flex;flex-direction:column;gap:6px;padding:16px;border:2px solid var(--border);border-radius:12px;cursor:pointer;transition:border-color .15s,background .15s}.order-type-card input{position:absolute;opacity:0;pointer-events:none}.order-type-card-selected{border-color:var(--primary);background:#eff6ff}.order-type-card.order-type-paid.order-type-card-selected{border-color:#2563eb;background:#eff6ff}.order-type-card.order-type-warranty.order-type-card-selected{border-color:#7c3aed;background:#f5f3ff}.order-type-title{font-weight:600;font-size:15px}.order-type-desc{font-size:13px;color:var(--muted)}.order-type-badge{display:inline-block;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:600;white-space:nowrap}.order-type-badge-paid{background:#dbeafe;color:#1d4ed8}.order-type-badge-warranty{background:#ede9fe;color:#6d28d9}.order-toggle-existing{margin-bottom:16px}.tag-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.tag-list-readonly{margin-bottom:0}.tag-chip{display:inline-flex;align-items:center;gap:4px;padding:6px 12px;border-radius:999px;border:1px solid var(--border);background:#f8fafc;font-size:13px;cursor:pointer}.tag-chip-readonly{cursor:default}.tag-add-row{display:flex;gap:8px}.tag-add-row input{flex:1}.form-hint-success{color:#15803d}.accepted-by-static{padding:8px 12px;border:1px solid var(--border);border-radius:var(--radius);background:#f8fafc;font-weight:600}.accepted-by-select{width:100%;font-weight:600}.receiver-comment-field{width:100%;min-height:140px;resize:vertical}.device-type-combobox{position:relative}.device-type-combobox input{width:100%}.device-type-suggestions{position:absolute;z-index:20;top:calc(100% + 4px);left:0;right:0;margin:0;padding:6px;list-style:none;border:1px solid var(--border);border-radius:var(--radius);background:#fff;box-shadow:0 8px 24px #0f172a1f;max-height:220px;overflow-y:auto}.device-type-suggestion{display:block;width:100%;padding:8px 10px;border:none;border-radius:8px;background:transparent;font:inherit;font-size:14px;text-align:left;cursor:pointer}.device-type-suggestion:hover,.device-type-suggestion.active{background:#1e40af14;color:var(--primary)}.staff-combobox .device-type-suggestion{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.staff-combobox-name{font-weight:500}.staff-combobox-login{font-size:12px;color:var(--muted)}.device-type-custom-hint{margin:6px 0 0}.tag-chip-malfunction{border-color:#fecaca;background:#fef2f2}.list-input-row{display:flex;gap:8px;margin-bottom:8px}.list-input-row input{flex:1}.btn-icon{min-width:40px;padding-inline:10px}.btn-link{background:none;border:none;color:var(--primary);padding:0;font-size:14px;cursor:pointer}.btn-link:hover{text-decoration:underline}.form-hint{margin:6px 0 0;font-size:13px;color:var(--muted)}.malfunction-list-readonly{margin:0;padding-left:18px;color:var(--text)}.repair-detail-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.repair-detail-header h2{margin:0}.modal h2{margin:0 0 20px;font-size:18px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.password-change-section{margin-top:8px;margin-bottom:16px;padding-top:16px;border-top:1px solid var(--border)}.password-change-title{margin:0 0 8px;font-size:14px;font-weight:600}.session-loading{display:flex;align-items:center;justify-content:center;min-height:40vh;color:var(--muted);font-size:15px}.password-field .password-input-wrap{position:relative;display:flex;align-items:center}.password-field .password-input-wrap input{width:100%;padding-right:42px}.password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:none;border:none;cursor:pointer;padding:0;color:var(--muted);z-index:2}.password-toggle-icon{display:block;pointer-events:none}.password-toggle:hover{color:var(--text)}.password-strength{display:flex;align-items:center;gap:10px;margin-top:8px;font-size:12px}.password-strength-track{flex:1;height:4px;border-radius:2px;background:var(--border);max-width:120px;overflow:hidden}.password-strength-fill{height:100%;border-radius:2px;transition:width .2s}.password-strength-weak .password-strength-fill{background:var(--danger)}.password-strength-medium .password-strength-fill{background:#f59e0b}.password-strength-strong .password-strength-fill{background:var(--success)}.password-strength-weak span{color:var(--danger)}.password-strength-medium span{color:#d97706}.password-strength-strong span{color:var(--success)}.password-rules{list-style:none;margin:10px 0 0;padding:0;font-size:12px;line-height:1.6}.password-rules li{color:var(--muted)}.password-rules .rule-ok{color:var(--success)}.legal-links{text-align:center;margin-top:16px;font-size:13px}.legal-links a{color:var(--primary);text-decoration:none}.legal-links a:hover{text-decoration:underline}.legal-sep{margin:0 8px;color:#94a3b8}.legal-checkboxes{display:flex;flex-direction:column;gap:10px}.legal-checkboxes .legal-checkbox{display:flex;align-items:flex-start;font-size:13px;line-height:1.4}.legal-checkboxes .legal-checkbox input[type=checkbox]{flex-shrink:0;margin:2px 0 0;width:auto}.legal-checkboxes .legal-checkbox span{flex:1;min-width:0}.legal-checkboxes a{color:var(--primary)}.legal-page{min-height:100vh;background:var(--bg);padding:24px 16px}.legal-card{max-width:720px;margin:0 auto;background:var(--surface);border-radius:12px;padding:32px;box-shadow:0 4px 20px #00000014}.legal-back{display:inline-block;margin-bottom:16px;color:var(--primary);text-decoration:none;font-size:14px}.legal-content h2{font-size:16px;margin-top:24px;margin-bottom:8px}.legal-content p,.legal-content li{font-size:14px;line-height:1.7;color:#334155}.admin-panel-desc{margin:0 0 16px;font-size:14px;color:var(--muted)}.admin-actions{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.admin-action-btn{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);cursor:pointer;text-align:left;transition:border-color .15s,box-shadow .15s;color:inherit;text-decoration:none}.admin-action-btn:hover{border-color:var(--primary);box-shadow:0 2px 8px #1e40af1a}.admin-action-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#eff6ff;color:var(--primary);border-radius:var(--radius);font-size:18px;flex-shrink:0}img.admin-action-icon{display:block;object-fit:contain;padding:6px;box-sizing:border-box}.admin-action-btn strong{display:block;font-size:14px;margin-bottom:2px}.admin-action-btn small{display:block;font-size:12px;color:var(--muted)}.badge-warning{background:#f59e0b!important;font-size:11px;vertical-align:middle}.settings-tabs{display:flex;flex-wrap:nowrap;gap:4px;margin-bottom:20px;border-bottom:1px solid var(--border);padding-bottom:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.settings-tabs::-webkit-scrollbar{display:none}.settings-tab{flex-shrink:0;padding:11px 16px;border:none;background:none;cursor:pointer;font-size:14px;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;transition:color .15s ease}.settings-tab:hover{color:var(--text)}.settings-tab.active{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}.settings-stack{display:flex;flex-direction:column;gap:20px;width:100%}.settings-feedback{margin:0}.card.settings-card{padding:0;overflow:hidden}.settings-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px 18px;border-bottom:1px solid var(--border);background:linear-gradient(180deg,#fafbfc 0%,var(--surface) 100%)}.settings-card-heading{flex:1;min-width:0}.settings-card-title{margin:0 0 8px;font-size:16px;font-weight:600;line-height:1.3;color:var(--text)}.settings-card-hint{margin:0;font-size:13px;line-height:1.55;color:var(--muted)}.settings-card-body{padding:20px 24px 24px}.settings-action-btn{flex-shrink:0;align-self:center;min-width:118px;height:38px;padding:0 16px;font-size:14px;line-height:1;white-space:nowrap}.settings-role-badge{display:inline-flex;align-items:center;margin-top:2px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;color:var(--primary);background:#1e40af14}.settings-form{display:flex;flex-direction:column;gap:16px;width:100%}.settings-form .form-group{margin-bottom:0}.settings-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-form-actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:4px}.settings-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;margin-bottom:20px}.settings-info-item{padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg)}.settings-info-label{display:block;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:6px}.settings-info-value{display:block;font-size:14px;font-weight:500;line-height:1.45;word-break:break-word}.settings-info-item--wide{grid-column:1 / -1}.settings-external-link{color:var(--accent);text-decoration:none;font-weight:600}.settings-external-link:hover{text-decoration:underline}.settings-text{margin:0 0 20px;font-size:14px;line-height:1.65;color:var(--text)}.settings-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.settings-step{display:flex;gap:14px;align-items:flex-start;padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);font-size:14px;line-height:1.55}.settings-step-num{flex-shrink:0;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#1e40af1a;color:var(--primary);font-size:13px;font-weight:700}.settings-step code{font-size:12px}.settings-links{display:flex;flex-wrap:wrap;gap:10px}.access-panel,.settings-stack{display:flex;flex-direction:column;gap:20px;width:100%}.access-panel-msg,.settings-feedback{margin:0}.access-block{margin:0;padding:0;border-top:none;overflow:hidden}.access-block-header,.settings-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px 18px;border-bottom:1px solid var(--border);background:linear-gradient(180deg,#fafbfc 0%,var(--surface) 100%)}.access-block-heading,.settings-card-heading{flex:1;min-width:0}.access-section-title,.settings-card-title{margin:0 0 8px;font-size:16px;font-weight:600;line-height:1.3;color:var(--text)}.access-block-hint,.settings-card-hint{margin:0;font-size:13px;line-height:1.55;color:var(--muted)}.access-block-body,.settings-card-body{padding:20px 24px 24px}.access-add-btn,.settings-action-btn{flex-shrink:0;align-self:center;min-width:118px;height:38px;padding:0 16px;font-size:14px;line-height:1;white-space:nowrap}.access-empty{margin:0;padding:28px 20px;border:1px dashed var(--border);border-radius:var(--radius);background:var(--bg);color:var(--muted);font-size:14px;line-height:1.5;text-align:center}.access-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.access-list-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg)}.access-list-user{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.access-list-avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border-radius:10px;background:#1e40af1a;color:var(--primary);font-size:13px;font-weight:700;letter-spacing:.02em}.access-list-info{display:flex;flex-direction:column;gap:2px;min-width:0}.access-list-name{display:block;font-weight:600;font-size:14px;line-height:1.35}.access-list-meta{display:block;font-size:12px;line-height:1.4;color:var(--muted)}.access-list-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.access-remove-btn{flex-shrink:0;width:34px;height:34px;padding:0;font-size:20px;line-height:1;color:var(--muted);border:1px solid var(--border);background:var(--surface);border-radius:var(--radius)}.access-remove-btn:hover:not(:disabled){color:#dc2626;border-color:#fecaca;background:#fef2f2}.access-scope-select{min-width:220px;max-width:100%;padding:8px 12px;border:1px solid var(--border);border-radius:var(--radius);font-size:13px;background:var(--surface)}.access-modal-title{margin:0 0 8px;font-size:18px}.access-modal-hint{margin:0 0 20px;font-size:14px;line-height:1.55;color:var(--muted)}.salary-edit-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.salary-edit-form input{width:140px;padding:6px 10px;border:1px solid var(--border);border-radius:6px}.reports-period-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px}.reports-period-form .form-row{margin:0;flex:1;min-width:280px}.reports-period-label{margin:0 0 12px;font-size:14px}.statuses-panel-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px}.status-color-preview{display:inline-block;width:28px;height:28px;border-radius:6px;border:1px solid rgba(0,0,0,.1)}.color-field{display:flex;align-items:center;gap:10px}.color-field input[type=color]{width:44px;height:38px;padding:2px;border:1px solid var(--border);border-radius:6px;cursor:pointer;background:var(--surface)}.color-field input[type=text]{flex:1}.status-flags{display:flex;flex-direction:column;gap:10px}.status-group-title{margin:24px 0 12px;font-size:15px;font-weight:600}.status-group-title:first-of-type{margin-top:0}.status-base-tag{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:600;color:var(--muted);background:var(--bg);vertical-align:middle}.status-table{margin-bottom:8px}.status-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}.status-column{display:flex;flex-direction:column;min-height:200px;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.status-column-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;font-size:14px;font-weight:600;border-bottom:1px solid var(--border);background:var(--surface)}.status-column-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;font-size:12px;font-weight:600;color:var(--muted);background:var(--bg)}.status-column-body{display:flex;flex-direction:column;gap:8px;flex:1;padding:10px;min-height:120px;transition:background .15s ease,outline-color .15s ease}.status-column-body.drag-over{background:#1e40af0d;outline:2px dashed rgba(30,64,175,.35);outline-offset:-2px;border-radius:0 0 var(--radius) var(--radius)}.status-column-empty{margin:auto;padding:16px 8px;text-align:center;font-size:13px;color:var(--muted)}.status-card-slot{display:flex;flex-direction:column;gap:0}.status-drop-indicator{height:3px;margin:2px 4px;border-radius:999px;background:var(--primary)}.status-card{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 1px 2px #0f172a0a;-webkit-user-select:none;user-select:none;min-height:56px}.status-card:hover{border-color:#1e40af40}.status-card.dragging{opacity:.35}.status-card-handle{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;margin:-6px 0 -6px -4px;color:var(--muted);font-size:18px;line-height:1;text-align:center;cursor:grab;touch-action:none;border-radius:var(--radius);-webkit-tap-highlight-color:transparent}.status-card-handle:active{cursor:grabbing;background:#1e40af14;color:var(--primary)}body.status-dragging{touch-action:none;user-select:none;-webkit-user-select:none}body.status-dragging .main{overflow:hidden!important}body.status-dragging .settings-panels-board,body.status-dragging .status-board,body.status-dragging .status-column-body{overflow:hidden!important;touch-action:none}body.status-dragging .settings-segment-nav,body.status-dragging .status-board-nav{pointer-events:none}body.status-dragging .status-board{position:relative;z-index:45}.status-card-ghost{position:fixed;z-index:1200;display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid rgba(30,64,175,.35);border-radius:var(--radius);background:var(--surface);box-shadow:0 10px 28px #0f172a2e;pointer-events:none;transform:translate(-50%,-50%);max-width:calc(100vw - 24px)}.status-card-ghost .status-card-color{width:10px;height:28px}.status-card-color{flex-shrink:0;width:12px;height:36px;border-radius:4px;border:1px solid rgba(0,0,0,.08)}.status-card-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.status-card-title{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.status-card-title .badge{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status-card-meta{font-size:12px;color:var(--muted)}.status-card-actions{display:flex;flex-shrink:0;gap:4px}.status-card-actions .btn-sm{min-width:32px;padding:4px 8px}.status-mobile-controls{display:inline-flex;align-items:center;gap:4px}.status-mobile-reorder{display:inline-flex;gap:2px}.status-reorder-btn{min-width:32px;min-height:32px;padding:0 6px;font-size:14px;line-height:1}.status-board-nav,.settings-segment-nav,.segment-nav{display:none}.segment-nav-btn{flex-shrink:0;display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);font:inherit;font-size:13px;font-weight:500;cursor:pointer;-webkit-tap-highlight-color:transparent;scroll-margin:0}.segment-nav-btn.active{border-color:#1e40af59;background:#1e40af14;color:var(--primary);font-weight:600}.segment-nav-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;font-size:11px;font-weight:700;background:var(--bg);color:var(--muted)}.segment-nav-btn.active .segment-nav-count{background:#1e40af1f;color:var(--primary)}.segment-nav-icon{width:18px;height:18px;flex-shrink:0;opacity:.85}.segment-nav-btn.active .segment-nav-icon{opacity:1}.status-column-title{display:inline-flex;align-items:center;gap:8px}.status-column-icon{width:18px;height:18px;flex-shrink:0;opacity:.75}.repair-dates{font-size:13px;color:#64748b;margin:0 0 12px}.repair-dates p{margin:0 0 4px}.test-accounts-table{width:100%;border-collapse:collapse;font-size:14px;margin-top:12px}.test-accounts-table th,.test-accounts-table td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--border)}.test-accounts-table th{font-weight:600;color:var(--text-muted);font-size:12px;text-transform:uppercase;letter-spacing:.03em}.settings-panels-board{display:none}.status-category-move{display:none;flex-wrap:wrap;gap:4px;justify-content:flex-end;width:100%}.status-category-move-btn{padding:4px 8px;font-size:11px;line-height:1.2;white-space:nowrap}@media (max-width: 767px){.settings-segment-nav.segment-nav{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;position:sticky;top:0;z-index:42;background:var(--bg);margin-left:0;margin-right:0;padding:4px 0 10px;margin-bottom:14px;max-width:100%;box-sizing:border-box}.settings-segment-nav.segment-nav::-webkit-scrollbar{display:none}.settings-panels-board{display:flex;flex-direction:row;align-items:flex-start;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:8px;margin-left:-2px;margin-right:-2px;overscroll-behavior-x:contain}.settings-panels-board::-webkit-scrollbar{display:none}.settings-panel-slide{flex:0 0 calc(100% - 4px);scroll-snap-align:center;min-width:0;transition:opacity .15s ease}.settings-panel-slide:not(.active){opacity:.72}.settings-panel-slide.active{opacity:1}.settings-card-body:has(.status-board){padding-left:14px;padding-right:14px}.card.settings-card:has(.status-board){overflow:hidden;max-width:100%}.status-board-nav.segment-nav:not(.status-board-nav--inline){display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;position:static;z-index:auto;background:var(--surface);margin-left:0;margin-right:0;padding:4px 0 10px;margin-bottom:12px;box-shadow:none;border-bottom:1px solid var(--border);isolation:isolate;max-width:100%}.status-board-nav.segment-nav:not(.status-board-nav--inline)::-webkit-scrollbar{display:none}.status-board{display:flex;flex-direction:row;align-items:stretch;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:6px;overscroll-behavior-x:contain}.status-board::-webkit-scrollbar{display:none}.status-column{flex:0 0 calc(100% - 8px);scroll-snap-align:center;min-height:320px;max-height:min(62vh,520px);transition:border-color .15s ease,box-shadow .15s ease}.status-column.active{border-color:#1e40af59;box-shadow:0 0 0 1px #1e40af1f}.status-column-body{max-height:calc(min(62vh,520px) - 48px);overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.status-card-actions{flex-wrap:wrap;justify-content:flex-end}.status-category-move{display:flex}.status-card{flex-wrap:wrap;align-items:flex-start}.status-card-main{flex:1 1 calc(100% - 52px);min-width:0}.status-card-actions{width:100%;margin-top:4px;padding-top:6px;border-top:1px solid var(--border)}.status-card-handle{width:44px;height:44px;font-size:20px}.btn-sm{min-height:36px;min-width:36px;padding:6px 10px}.segment-nav-btn{min-height:40px;padding:8px 12px;font-size:13px}.reports-period-form .btn{width:100%}.salary-edit-form{flex-direction:column;align-items:stretch;gap:8px}.salary-edit-form input,.salary-edit-form .btn{width:100%}.modal-actions{flex-direction:column-reverse;align-items:stretch}.modal-actions .btn{width:100%;margin-right:0!important;margin-left:0!important}.admin-actions{grid-template-columns:1fr}}@media (max-width: 900px) and (min-width: 768px){.status-board{grid-template-columns:1fr}}.placeholder-section{padding:28px 24px;text-align:center}.placeholder-section-title{margin:0 0 10px;font-size:16px;font-weight:600;color:var(--text)}.placeholder-section-text{margin:0;font-size:14px;line-height:1.55;color:var(--muted);max-width:420px;margin-inline:auto}.about-links,.settings-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:0}@media (max-width: 1024px){.main{padding:20px}.page-header h1{font-size:22px}.card-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}@media (max-width: 767px){:root{--mobile-bottom-nav-height: calc(64px + env(safe-area-inset-bottom, 0px)) ;--mobile-topbar-height: calc(56px + env(safe-area-inset-top, 0px)) ;--mobile-segment-nav-stack: calc(var(--mobile-topbar-height) + 6px)}.app-shell{flex-direction:column;height:100dvh;overflow:hidden;max-width:100vw}.sidebar{display:none!important}.mobile-shell{flex:1;min-height:0;width:100%;max-width:100%;overflow-x:hidden}.mobile-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;min-height:var(--mobile-topbar-height);padding:max(8px,env(safe-area-inset-top,0px)) 12px 8px;background:var(--surface);border-bottom:1px solid var(--border);z-index:40}.mobile-topbar-brand{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.mobile-topbar .brand-text strong{display:block;color:var(--text);font-size:16px;line-height:1.2}.mobile-topbar .brand-text small{display:block;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:52vw}.mobile-topbar .brand-icon{width:40px;height:40px;font-size:14px;flex-shrink:0}.mobile-topbar-menu{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:0;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);cursor:pointer}.mobile-topbar-menu span{display:block;width:18px;height:2px;margin:0 auto;border-radius:999px;background:var(--text)}.main{flex:1;min-height:0;min-width:0;max-width:100%;box-sizing:border-box;padding:14px 12px 16px;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:auto;overscroll-behavior-x:none;touch-action:pan-y}.pull-refresh-indicator{margin:-6px 0 0}.main>*,.main .page-header,.main .toolbar,.main .toolbar-wrap,.main .card,.main .settings-stack,.main .settings-card,.main .settings-mobile-panel{min-width:0;max-width:100%;box-sizing:border-box}.main .card{overflow-x:hidden}.main .card.responsive-table{overflow:hidden}.settings-mobile-panel{animation:settings-slide-in .18s ease;overflow:hidden;min-width:0;max-width:100%}.settings-stack{overflow:hidden;max-width:100%}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card .label{white-space:normal;overflow-wrap:anywhere;line-height:1.35}.dashboard-status-table h2{margin-bottom:12px}.dashboard-status-list-mobile{display:flex}.dashboard-status-table-desktop{display:none}.dashboard-header,.dashboard-section-head--period{flex-direction:column;align-items:stretch}.dashboard-period-toolbar{flex-direction:column;align-items:stretch;gap:10px;padding:12px}.dashboard-period-controls{width:100%;flex-direction:column;align-items:stretch;gap:10px}.dashboard-period-range{width:100%;display:flex;align-items:center;gap:4px}.dashboard-period-date{width:100%;min-width:0;max-width:none;flex:1;height:34px;padding:4px 6px;font-size:12px;border-radius:8px}.dashboard-period-separator{flex-shrink:0;font-size:11px}.dashboard-today-btn{width:100%}.dashboard-period-stats,.dashboard-today-stats,.dashboard-stats-grid,.dashboard-stats-grid--personal{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-category-card{padding:14px 12px;align-items:flex-start;text-align:left;gap:8px}.dashboard-category-icon{width:34px;height:34px;border-radius:10px}.dashboard-category-icon .app-icon{width:18px;height:18px}.dashboard-category-count{font-size:22px}.dashboard-category-label{font-size:12px}.dashboard-month-grid{grid-template-columns:1fr}.dashboard-section{padding:16px}.dashboard-layout{gap:16px}.mobile-bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);align-items:stretch;flex-shrink:0;gap:4px;position:relative;z-index:45;width:100%;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));background:var(--surface);border-top:1px solid var(--border);box-shadow:0 -4px 20px #0f172a0f;pointer-events:auto}.mobile-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;padding:4px 2px;border:none;border-radius:12px;background:none;color:var(--muted);text-decoration:none;font:inherit;font-size:11px;line-height:1.15;cursor:pointer}.mobile-tab.active{color:var(--primary);background:#1e40af14;font-weight:600}.mobile-tab-icon{width:24px;height:24px;filter:brightness(0) saturate(100%) opacity(.55)}.mobile-tab.active .mobile-tab-icon{filter:brightness(0) saturate(100%) invert(18%) sepia(89%) saturate(2274%) hue-rotate(214deg) brightness(93%) contrast(95%)}.mobile-tab-more-dots{font-size:18px;line-height:1;letter-spacing:1px}.settings-mobile-menu{display:flex;flex-direction:column;gap:8px}.settings-mobile-menu-item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:64px;padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:var(--surface);text-align:left;cursor:pointer;font:inherit}.settings-mobile-menu-text{display:flex;flex-direction:column;gap:4px;min-width:0}.settings-mobile-menu-text strong{font-size:15px;color:var(--text)}.settings-mobile-menu-text small{font-size:13px;color:var(--muted);line-height:1.35}.settings-mobile-menu-chevron{font-size:22px;color:var(--muted);flex-shrink:0}.settings-mobile-subheader{display:flex;flex-direction:column;align-items:stretch;gap:8px}.settings-mobile-back{display:inline-flex;align-items:center;align-self:flex-start;min-height:40px;padding:0 4px;border:none;background:none;color:var(--primary);font:inherit;font-size:15px;font-weight:600;cursor:pointer}.settings-mobile-panel{animation:settings-slide-in .18s ease}@keyframes settings-slide-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.access-picker-controls{grid-template-columns:1fr}.access-employee-card-head{flex-direction:column;align-items:flex-start}.access-badges{margin-left:0}.access-scope-segment{grid-template-columns:1fr}.responsive-table{overflow:hidden;padding:10px;max-width:100%}.responsive-table table{display:block;white-space:normal;overflow:hidden;max-width:100%}.responsive-table thead{display:none}.responsive-table tbody{display:flex;flex-direction:column;gap:10px}.responsive-table tr{display:block;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 1px 2px #0f172a0a;max-width:100%;overflow:hidden}.responsive-table td{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:7px 0;white-space:normal;border:none;font-size:14px;min-width:0;overflow-wrap:anywhere;word-break:break-word}.responsive-table td:before{content:attr(data-label);flex-shrink:0;font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.02em;max-width:42%}.responsive-table td[data-label=""]:before,.responsive-table td:not([data-label]):before{display:none}.responsive-table td:last-child{padding-bottom:0}.responsive-table td:first-child{padding-top:0;font-weight:600;font-size:15px}.responsive-table td:first-child:before{display:none}.responsive-table td .status-base-tag{margin-left:6px;flex-shrink:0}.page-header{margin-bottom:14px}.page-header h1{font-size:20px}.page-header p{font-size:13px}.toolbar{flex-wrap:wrap;gap:8px;max-width:100%;box-sizing:border-box}.toolbar .toolbar-search{flex:1 1 100%;min-width:0;max-width:100%}.repairs-toolbar{flex-direction:column;align-items:stretch;gap:8px;width:100%}.repairs-toolbar-create{order:1;width:100%;padding:10px 14px;font-size:14px;font-weight:600}.repairs-toolbar-search{order:2;flex:unset;width:100%;min-width:0;max-width:none}.repairs-category-nav{order:3;justify-content:flex-start;flex:unset;width:100%;gap:10px;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 1px 3px #0f172a0d;scroll-snap-type:x proximity}.repairs-category-nav::-webkit-scrollbar{display:none}.repairs-category-btn{flex:0 0 auto;scroll-snap-align:start;min-height:42px;min-width:0;padding:8px 12px;border-radius:11px;font-size:13px}.scroll-to-top-btn{right:16px;bottom:calc(var(--mobile-bottom-nav-height) + 12px)}.repairs-order-list.responsive-table{padding:0;background:transparent;border:none;box-shadow:none}.repairs-order-list.responsive-table tbody{gap:8px}.repairs-order-list .repair-order-desktop{display:none!important}.repairs-order-list .repair-order-mobile{display:block;padding:0;border:none}.repairs-order-list.responsive-table tr.repair-order-row{display:block;padding:0;border:none;border-radius:0;background:transparent;box-shadow:none;max-width:100%;overflow:visible}.repairs-order-list .repair-order-row:hover td{background:transparent}.repair-order-card{padding:10px 12px 10px 14px;border-radius:10px;border:1px solid var(--border);border-left:3px solid var(--order-status-color, #94a3b8);background:#fff;box-shadow:0 1px 4px #0f172a0d}.repairs-order-list .repair-order-row:active .repair-order-card{transform:scale(.995)}.repair-order-card-head{display:flex;align-items:center;gap:8px;margin-bottom:6px}.repair-order-card-num{font-size:15px;font-weight:700;line-height:1.2;flex-shrink:0}.repair-order-card-badge{font-size:10px;padding:3px 8px;border-radius:999px;flex-shrink:0}.repair-order-card-head .repair-order-sum-stack{margin-left:auto;align-items:flex-end;flex-shrink:0}.repair-order-sum-stack--compact .repair-order-sum-final{font-size:13px;line-height:1.2}.repair-order-sum-stack--compact .repair-order-sum-est{font-size:10px}.repair-order-card-line{margin:0 0 4px;font-size:12px;line-height:1.35;color:var(--text)}.repair-order-card-line:last-child{margin-bottom:0}.repair-order-card-label{font-weight:600;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.02em;margin-right:4px}.repair-order-card-dot{margin:0 4px;color:#cbd5e1}.repair-order-card-problem{color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.repair-order-card-client{font-weight:600;font-size:13px;padding-top:4px;border-top:1px solid #f1f5f9;margin-top:2px}.repair-order-card-phone{display:block;font-weight:400;font-size:12px;color:var(--primary);margin-top:1px}.repairs-order-list .repair-order-empty{display:block;padding:18px;text-align:center;border:none}.clients-list.responsive-table tbody{gap:8px}.clients-list .client-desktop{display:none!important}.clients-list .client-mobile{display:block;padding:0;border:none}.clients-list.responsive-table tr.client-row{display:block;padding:0;border:none;border-radius:0;background:transparent;box-shadow:none}.client-card{padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:#fff;box-shadow:0 1px 4px #0f172a0d}.clients-list .client-row:active .client-card{transform:scale(.995)}.client-card-name{margin:0 0 6px;font-size:15px;font-weight:700;line-height:1.25;text-align:left}.client-card-line{margin:0 0 4px;font-size:12px;line-height:1.35}.client-card-line:last-child{margin-bottom:0}.client-card-label{font-weight:600;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.02em;margin-right:4px}.client-card-meta{color:var(--muted);padding-top:4px;border-top:1px solid #f1f5f9;margin-top:2px}.clients-list .clients-empty{display:block;padding:18px;text-align:center}.toolbar input,.toolbar-wrap input{min-width:0;max-width:100%}.toolbar select{flex:1 1 100%;min-width:0;width:100%;max-width:100%}.toolbar .btn{flex:1 1 calc(50% - 4px);min-width:0}.toolbar .btn-primary{flex:1 1 100%}.card{padding:14px}.card:not(.responsive-table) table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;white-space:nowrap}.card-grid{grid-template-columns:1fr}.stat-card .value{font-size:24px}.login-page{padding:max(12px,env(safe-area-inset-top,0px)) 12px max(12px,env(safe-area-inset-bottom,0px));min-height:100dvh;align-items:center}.modal-overlay{align-items:flex-start;z-index:300;padding:12px;padding-bottom:max(12px,env(safe-area-inset-bottom,0px));overflow:hidden;touch-action:none}.modal{width:calc(100vw - 24px);max-width:none;margin:0;max-height:calc(100dvh - 24px - env(safe-area-inset-bottom,0px));overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-y}.modal-wide{width:calc(100vw - 24px)}.access-list-item{flex-direction:column;align-items:stretch}.access-list-user{width:100%}.access-scope-select{min-width:0;width:100%}.access-list-actions{width:100%;justify-content:space-between}.access-block-header,.settings-card-header{flex-direction:column;align-items:stretch;gap:14px;padding:18px 18px 16px}.access-block-body,.settings-card-body{padding:16px 18px 18px}.access-add-btn,.settings-action-btn{align-self:stretch;width:100%}.settings-form-grid{grid-template-columns:1fr}.settings-tabs{margin-left:-2px;margin-right:-2px}.form-row{grid-template-columns:1fr;min-width:0}.order-steps{grid-template-columns:repeat(2,1fr)}.order-type-grid{grid-template-columns:1fr}.create-order-modal{max-width:100%}.form-group{min-width:0}.settings-form,.settings-form-grid,.settings-card-body{min-width:0;max-width:100%}th,td{padding:8px 10px;font-size:13px}}@media (max-width: 480px){.main{padding:12px 10px 16px}.settings-segment-nav.segment-nav,.status-board-nav.segment-nav:not(.status-board-nav--inline){margin-left:0;margin-right:0;padding-left:0;padding-right:0;max-width:100%}.settings-card-body:has(.status-board-layout-mobile){padding:14px 12px 16px}.settings-card-header:has(+.status-board-nav-toolbar){padding-bottom:12px}.status-board-nav-toolbar{padding:12px}.status-board-nav.status-board-nav--inline{padding:10px;gap:8px}.status-board-nav.status-board-nav--inline .segment-nav-btn--category{padding:8px 12px}.login-card,.login-card-wide{margin:12px;padding:24px 18px;border-radius:10px}.login-card .form-group,.login-card-wide .form-group{width:100%;min-width:0}.login-card .form-group input[type=date],.login-card-wide .form-group input[type=date]{width:100%;min-width:100%;max-width:100%}.login-brand{margin-bottom:22px}.app-brand--lg .brand-icon{width:64px;height:64px;font-size:20px}.app-brand--lg .app-brand-title{font-size:24px}.about-app-hero{padding:22px 16px 20px}.about-app-tagline{font-size:14px}.about-app-body{padding-left:16px!important;padding-right:16px!important}.about-app-feature{padding:12px 14px;gap:12px}.about-app-links{flex-direction:column}.about-app-links .btn{width:100%;min-width:0}.card{padding:14px}.card-grid{grid-template-columns:1fr;gap:10px}.btn{font-size:14px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.toolbar-wrap{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.toolbar-wrap input[type=search]{flex:1;min-width:160px}.access-section-divider{margin:20px 0 12px;font-size:13px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.access-permissions-notice{margin:0 0 12px;padding:10px 12px;border-radius:var(--radius);background:var(--bg);border:1px solid var(--border);font-size:13px;color:var(--muted)}.access-employee-inactive{opacity:.88}.access-employee-list-inactive .access-employee-card{border-style:dashed}@media (max-width: 900px){.card.settings-card{max-width:100%;overflow:hidden}.settings-card-body:has(.status-board-layout-mobile){padding:16px 18px 18px}.settings-card-body:has(.status-board-mobile),.settings-card-body:has(.status-board-nav){padding-left:16px;padding-right:16px}.status-board-nav-toolbar{padding:14px 18px;margin-top:0;max-width:100%;overflow:hidden;box-sizing:border-box;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:linear-gradient(180deg,var(--surface) 0%,#f8fafc 100%)}.settings-card-header:has(+.status-board-nav-toolbar){border-bottom:none;padding-bottom:14px}.status-board-nav-toolbar .status-board-nav--inline{margin:0;max-width:100%}.settings-card-header+.status-board-nav-toolbar{margin-top:0}.status-board-layout-mobile{display:block;min-width:0}.status-board-mobile{display:block;margin-top:0}.status-board-mobile .status-column{width:100%;max-width:none;flex:none;border-radius:12px;min-height:0}.status-board-mobile .status-column-header{position:static;padding:14px 16px}.status-board-mobile .status-column-body{max-height:none;overflow:visible;padding:12px 14px 14px;gap:10px}.status-board-mobile .status-card{padding:12px 14px;border-radius:10px}.status-board-nav.status-board-nav--inline{display:flex;flex-wrap:nowrap;align-items:stretch;gap:10px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding:8px 12px;scrollbar-width:none;position:static;width:100%;max-width:100%;box-sizing:border-box;margin:0;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 1px 3px #0f172a0f}.status-board-nav.status-board-nav--inline .segment-nav-btn--category{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;min-width:0;max-width:none;padding:8px 12px;border-radius:11px;font-size:13px;scroll-snap-align:start;white-space:nowrap}.status-board-nav.status-board-nav--inline .segment-nav-btn-main{display:inline-flex;align-items:center;gap:8px;min-width:0;padding-right:2px}.status-board-nav.status-board-nav--inline .segment-nav-icon,.status-board-nav.status-board-nav--inline .app-icon.segment-nav-icon{width:15px;height:15px;display:block;object-fit:contain;flex-shrink:0;opacity:.72}.status-board-nav.status-board-nav--inline .segment-nav-btn.active .segment-nav-icon{opacity:1}.status-board-nav.status-board-nav--inline .segment-nav-btn-text{font-size:13px;line-height:1.2;overflow:hidden;text-overflow:ellipsis}.status-board-nav.status-board-nav--inline .segment-nav-count{min-width:20px;height:20px;padding:0 6px;margin-left:2px;font-size:11px;flex-shrink:0}.status-board-nav.status-board-nav--inline .segment-nav-btn--category.active{box-shadow:0 0 0 1px #1e40af33}.status-board-nav.status-board-nav--inline::-webkit-scrollbar{display:none}.status-board-nav.segment-nav:not(.status-board-nav--inline){display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;position:static;z-index:auto;background:var(--surface);margin-left:0;margin-right:0;padding:4px 0 10px;margin-bottom:12px;box-shadow:none;border-bottom:1px solid var(--border);max-width:100%}.status-mobile-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%}.status-mobile-reorder{display:inline-flex;gap:4px}.status-reorder-btn{min-width:44px;min-height:44px;padding:0;font-size:18px;line-height:1}.status-mobile-category{flex:1;min-width:140px}.status-mobile-category select{width:100%;min-height:44px;padding:8px 10px;border-radius:var(--radius);border:1px solid var(--border);background:var(--bg);font-size:14px}.status-card{flex-wrap:wrap}.status-card-actions{flex-direction:column;align-items:stretch;width:100%;gap:8px}.status-card-handle{display:none}}
