﻿:root{--color-primary: #2970FE;--color-primary-hover: #1450DC;--color-primary-light: rgba(41, 112, 254, 0.1);--color-success: #22c55e;--color-success-hover: #16a34a;--color-success-light: #dcfce7;--color-danger: #ef4444;--color-danger-hover: #dc2626;--color-danger-light: #fee2e2;--color-warning: #f59e0b;--color-warning-light: #fef3c7;--color-ai-primary: #6366f1;--color-ai-secondary: #8b5cf6;--color-ai-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);--color-text: #0f172a;--color-text-secondary: #1e293b;--color-text-muted: #64748b;--color-text-light: #94a3b8;--color-bg: #ffffff;--color-bg-subtle: #f8fafc;--color-bg-muted: #f1f5f9;--color-bg-page: #f5f5f5;--color-bg-card: #F9F9F9;--color-bg-dark: #111926;--color-border: #e5e7eb;--color-border-light: #f1f5f9;--color-border-dark: #d1d5db;--font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;--font-size-xs: 11px;--font-size-sm: 12px;--font-size-base: 14px;--font-size-md: 15px;--font-size-lg: 16px;--font-size-xl: 18px;--font-size-2xl: 20px;--font-size-3xl: 24px;--spacing-xs: 4px;--spacing-sm: 8px;--spacing-md: 12px;--spacing-lg: 16px;--spacing-xl: 20px;--spacing-2xl: 24px;--spacing-3xl: 32px;--radius-sm: 4px;--radius-md: 6px;--radius-lg: 8px;--radius-xl: 12px;--radius-full: 9999px;--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);--shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);--shadow-xl: 0 10px 25px rgba(0, 0, 0, 0.2);--transition-fast: 0.15s ease;--transition-base: 0.2s ease;--transition-slow: 0.3s ease;--breakpoint-mobile: 768px;--breakpoint-tablet: 1024px;--mobile-nav-height: 64px;--mobile-tap-target: 44px}html,body{font-family:var(--font-family);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--color-text-secondary);background-color:var(--color-bg-page)}*{box-sizing:border-box}.blazor-error-boundary{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem,#b32121;padding:1rem 1rem 1rem 3.7rem;color:#fff}.blazor-error-boundary::after{content:"An error has occurred."}#blazor-error-ui{display:none;position:fixed;bottom:0;left:0;right:0;z-index:9999;background-color:#b32121;color:#fff;padding:.6rem 1.25rem;font-size:.9rem;text-align:center}#blazor-error-ui .reload{color:#fff;text-decoration:underline;margin-left:.5rem}#blazor-error-ui .dismiss{cursor:pointer;position:absolute;right:1rem;top:50%;transform:translateY(-50%)}h1:focus{outline:none}.components-reconnect-first-attempt-visible,.components-reconnect-repeated-attempt-visible,.components-reconnect-failed-visible,.components-pause-visible,.components-resume-failed-visible,.components-rejoining-animation{display:none}#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible,#components-reconnect-modal.components-reconnect-show .components-rejoining-animation,#components-reconnect-modal.components-reconnect-paused .components-pause-visible,#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible,#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible,#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation,#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible{display:block}#components-reconnect-modal{background-color:#fff;width:20rem;margin:20vh auto;padding:2rem;border:0;border-radius:.5rem;box-shadow:0 3px 6px 2px rgba(0,0,0,.3);opacity:0;transition:display .5s allow-discrete,overlay .5s allow-discrete;animation:components-reconnect-modal-fadeOutOpacity .5s both}#components-reconnect-modal[open]{animation:components-reconnect-modal-slideUp 1.5s cubic-bezier(0.05, 0.89, 0.25, 1.02) .3s,components-reconnect-modal-fadeInOpacity .5s ease-in-out .3s;animation-fill-mode:both}#components-reconnect-modal::backdrop{background:rgba(245,245,245,.4);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);animation:components-reconnect-modal-fadeInOpacity .5s ease-in-out;opacity:1}@keyframes components-reconnect-modal-slideUp{0%{transform:translateY(30px) scale(0.95)}100%{transform:translateY(0)}}@keyframes components-reconnect-modal-fadeInOpacity{0%{opacity:0}100%{opacity:1}}@keyframes components-reconnect-modal-fadeOutOpacity{0%{opacity:1}100%{opacity:0}}.components-reconnect-container{display:flex;flex-direction:column;align-items:center;gap:1rem}#components-reconnect-modal p{margin:0;text-align:center}#components-reconnect-modal button{border:0;background-color:#6b9ed2;color:#fff;padding:4px 24px;border-radius:4px}#components-reconnect-modal button:hover{background-color:#3b6ea2}#components-reconnect-modal button:active{background-color:#6b9ed2}.components-rejoining-animation{position:relative;width:80px;height:80px}.components-rejoining-animation div{position:absolute;border:3px solid #0087ff;opacity:1;border-radius:50%;animation:components-rejoining-animation 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite}.components-rejoining-animation div:nth-child(2){animation-delay:-0.5s}@keyframes components-rejoining-animation{0%{top:40px;left:40px;width:0;height:0;opacity:0}5%{top:40px;left:40px;width:0;height:0;opacity:1}100%{top:0;left:0;width:80px;height:80px;opacity:0}}h1,h2,h3,h4,h5,h6{font-family:var(--font-family);color:var(--color-text);margin:0;line-height:1.3}h1{font-size:var(--font-size-3xl);font-weight:600}h2{font-size:var(--font-size-2xl);font-weight:600}h3{font-size:var(--font-size-xl);font-weight:600}h4{font-size:var(--font-size-lg);font-weight:500}h5{font-size:var(--font-size-base);font-weight:500}h6{font-size:var(--font-size-sm);font-weight:500}p{margin:0 0 1em 0;line-height:1.6}a{color:var(--color-primary);text-decoration:none}a:hover{text-decoration:underline}strong,b{font-weight:600}small{font-size:var(--font-size-sm)}code{font-family:"SF Mono",Monaco,"Courier New",monospace;font-size:.9em;background:var(--color-bg-muted);padding:.2em .4em;border-radius:var(--radius-sm)}.d-none{display:none !important}.d-block{display:block !important}.d-flex{display:flex !important}.d-inline-flex{display:inline-flex !important}.d-grid{display:grid !important}.flex-column{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.flex-grow-1{flex-grow:1}.align-items-center{align-items:center}.align-items-start{align-items:flex-start}.align-items-end{align-items:flex-end}.justify-content-center{justify-content:center}.justify-content-between{justify-content:space-between}.justify-content-end{justify-content:flex-end}.justify-content-start{justify-content:flex-start}.gap-xs{gap:var(--spacing-xs)}.gap-sm{gap:var(--spacing-sm)}.gap-md{gap:var(--spacing-md)}.gap-lg{gap:var(--spacing-lg)}.gap-xl{gap:var(--spacing-xl)}.m-0{margin:0 !important}.mt-0{margin-top:0 !important}.mb-0{margin-bottom:0 !important}.mb-sm{margin-bottom:var(--spacing-sm)}.mb-md{margin-bottom:var(--spacing-md)}.mb-lg{margin-bottom:var(--spacing-lg)}.mb-xl{margin-bottom:var(--spacing-xl)}.p-0{padding:0 !important}.p-sm{padding:var(--spacing-sm)}.p-md{padding:var(--spacing-md)}.p-lg{padding:var(--spacing-lg)}.p-xl{padding:var(--spacing-xl)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-primary{color:var(--color-primary)}.text-success{color:var(--color-success)}.text-danger{color:var(--color-danger)}.text-warning{color:var(--color-warning)}.text-muted{color:var(--color-text-muted)}.font-weight-normal{font-weight:400}.font-weight-medium{font-weight:500}.font-weight-semibold{font-weight:600}.font-weight-bold{font-weight:700}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-nowrap{white-space:nowrap}.text-break{word-break:break-word}.w-100{width:100%}.w-auto{width:auto}.min-w-0{min-width:0}.visible{visibility:visible}.invisible{visibility:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.position-relative{position:relative}.position-absolute{position:absolute}.position-fixed{position:fixed}.position-sticky{position:sticky}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.border{border:1px solid var(--color-border)}.border-0{border:0 !important}.border-top{border-top:1px solid var(--color-border)}.border-bottom{border-bottom:1px solid var(--color-border)}.rounded{border-radius:var(--radius-md)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-full{border-radius:var(--radius-full)}.bg-white{background-color:#fff}.bg-subtle{background-color:var(--color-bg-subtle)}.bg-muted{background-color:var(--color-bg-muted)}.bg-primary{background-color:var(--color-primary)}.bg-success{background-color:var(--color-success)}.bg-danger{background-color:var(--color-danger)}.shadow-sm{box-shadow:var(--shadow-sm)}.shadow-md{box-shadow:var(--shadow-md)}.shadow-lg{box-shadow:var(--shadow-lg)}.shadow-none{box-shadow:none !important}.top-header{position:sticky;top:0;background-color:#111926;color:#fff;height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid #2d2d2d;z-index:10002;z-index:1000;box-shadow:0 1px 2px rgba(0,0,0,.1);gap:24px;flex-shrink:0}.top-header-left{flex:0 0 auto;display:flex;align-items:center;gap:12px}.pos-title{height:34.56px;width:auto;display:block;margin-top:4px}.top-header-center{flex:1;display:flex;justify-content:center}.top-nav-tabs{display:flex;gap:0}.top-nav-tab{padding:10px 24px;color:#999;text-decoration:none;border-bottom:2px solid rgba(0,0,0,0);transition:all .2s;font-size:14px;font-weight:400}.top-nav-tab:hover{color:#fff}.top-nav-tab.active,.top-nav-tab:focus{color:#fff;border-bottom-color:#fff}.top-header-right{flex:0 0 auto;display:flex;align-items:center;gap:12px}.ai-toggle-btn{display:flex;align-items:center;gap:6px;padding:8px 14px;background:#111926;border:none;border-radius:8px;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;position:relative;z-index:10001}.ai-toggle-btn:hover{background:rgb(32.7636363636,48.1818181818,73.2363636364)}.ai-toggle-btn.active{background:rgb(40.6454545455,59.7727272727,90.8545454545)}.ai-toggle-btn .ai-toggle-icon{font-size:14px}@media(max-width: 768px){.ai-toggle-btn .ai-toggle-text{display:none}}.notification-container{position:relative;z-index:10001}.notification-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:#111926;border:none;border-radius:8px;color:#fff;cursor:pointer;transition:all .2s}.notification-button:hover{background:rgb(32.7636363636,48.1818181818,73.2363636364)}.notification-icon-container{position:relative;display:flex;align-items:center;justify-content:center}.notification-icon-container.clocked-in .notification-icon{filter:brightness(0) saturate(100%) invert(65%) sepia(52%) saturate(616%) hue-rotate(85deg) brightness(93%) contrast(88%)}.notification-icon-container.clocked-out .notification-icon{filter:brightness(0) saturate(100%) invert(36%) sepia(93%) saturate(2057%) hue-rotate(339deg) brightness(93%) contrast(93%)}.notification-icon{width:20px;height:20px;opacity:.9;transition:filter .2s ease}.notification-badge{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;background:#ef4444;color:#fff;font-size:11px;font-weight:600;border-radius:9px;display:flex;align-items:center;justify-content:center}.notification-backdrop{position:fixed;top:64px;left:0;right:0;bottom:0;background:rgba(0,0,0,0);z-index:9999}.notification-panel{position:fixed;top:64px;right:16px;width:290px;max-height:calc(100vh - 80px);background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 10px 25px rgba(0,0,0,.15);z-index:10000;overflow:hidden;display:flex;flex-direction:column}.notification-panel-header{padding:16px;border-bottom:1px solid #e5e7eb}.notification-panel-header h3{margin:0;font-size:16px;font-weight:600;color:#0f172a}.notification-list{flex:1;overflow-y:auto;padding:8px}.notification-list .loading,.notification-list .empty-state{padding:32px 16px;text-align:center;color:#64748b;font-size:14px}.notification-group{border-radius:8px;overflow:hidden}.notification-group.has-unread .notification-sender{font-weight:600}.notification-group-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 8px;cursor:pointer;border-radius:8px;transition:background .15s}.notification-group-header:hover{background:#f8fafc}.notification-group-left{display:flex;align-items:center;gap:10px;min-width:0}.notification-avatar{width:36px;height:36px;border-radius:50%;background:#dbeafe;color:#1d4ed8;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center;flex-shrink:0}.notification-group-info{display:flex;flex-direction:column;min-width:0}.notification-sender{font-size:14px;font-weight:500;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-count{font-size:12px;color:#64748b}.notification-group-right{display:flex;align-items:center;gap:8px;flex-shrink:0}.notification-unread-badge{min-width:18px;height:18px;padding:0 5px;background:#3b82f6;color:#fff;font-size:11px;font-weight:600;border-radius:9px;display:flex;align-items:center;justify-content:center}.notification-chevron{font-size:9px;color:#94a3b8;transition:transform .15s}.notification-chevron.expanded{transform:rotate(90deg)}.notification-group-messages{padding:0 8px 8px 8px}.notification-message{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:8px;cursor:pointer;transition:background .15s}.notification-message:hover{background:#f8fafc}.notification-message.unread .notification-message-text{font-weight:500;color:#0f172a}.notification-message-content{min-width:0}.notification-message-text{font-size:13px;color:#475569;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.notification-message-time{font-size:11px;color:#94a3b8;margin-top:2px}.notification-unread-dot{width:8px;height:8px;border-radius:50%;background:#3b82f6;flex-shrink:0}.messages-backdrop{position:fixed;top:64px;left:0;right:0;bottom:0;background:rgba(0,0,0,0);z-index:9999}.messages-panel{position:fixed;top:64px;right:16px;width:290px;max-height:calc(100vh - 80px);background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 10px 25px rgba(0,0,0,.15);z-index:10000;overflow:hidden;display:flex;flex-direction:column}.messages-panel-header{padding:14px 16px 8px;display:flex;align-items:center;justify-content:space-between}.messages-panel-header .messages-panel-title{display:flex;align-items:center;gap:8px}.messages-panel-header .messages-sms-tag{font-size:11px;font-weight:600;letter-spacing:.5px;color:#64748b;background:#f1f5f9;padding:2px 8px;border-radius:10px}.messages-panel-header h3{margin:0;font-size:20px;font-weight:700;color:#0f172a}.messages-header-btn{width:32px;height:32px;border:none;border-radius:50%;background:#f1f5f9;color:#64748b;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .15s}.messages-header-btn:hover{background:#e2e8f0;color:#0f172a}.messages-context-hint{padding:8px 16px 4px;font-size:12px;font-weight:500;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.messages-tabs{display:flex;padding:4px 12px 8px;gap:4px}.messages-tab{background:rgba(0,0,0,0);border:none;padding:8px 14px;font-size:14px;font-weight:500;color:#64748b;border-radius:16px;cursor:pointer;transition:all .15s ease}.messages-tab:hover:not(.active){background-color:#f1f5f9;color:#0f172a}.messages-tab.active{background-color:#3b82f6;color:#fff}.messages-search{padding:8px 12px}.messages-search input{width:100%;padding:10px 14px;border:1px solid #e5e7eb;border-radius:20px;font-size:14px;background:#f8fafc;color:#0f172a;outline:none;transition:border-color .2s}.messages-search input:focus{border-color:#3b82f6}.messages-search input::placeholder{color:#94a3b8}.messages-list{flex:1;overflow-y:auto;padding:4px 8px}.messages-loading,.messages-empty{padding:40px 16px;text-align:center;color:#64748b;font-size:14px}.messages-item{display:flex;align-items:center;padding:10px;cursor:pointer;transition:background-color .1s;border-radius:8px;margin-bottom:2px}.messages-item:hover{background-color:#f1f5f9}.messages-item.unread .messages-item-name{font-weight:600;color:#0f172a}.messages-item.unread .messages-item-preview{font-weight:500;color:#475569}.messages-item-avatar{width:42px;height:42px;border-radius:50%;background:#dbeafe;display:flex;align-items:center;justify-content:center;color:#1d4ed8;font-size:14px;font-weight:600;flex-shrink:0;margin-right:12px}.messages-item-content{flex:1;min-width:0}.messages-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2px}.messages-item-name{font-size:14px;font-weight:500;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messages-item-time{font-size:12px;color:#64748b;flex-shrink:0;margin-left:8px}.messages-item-preview{font-size:13px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messages-unread-dot{width:10px;height:10px;background-color:#3b82f6;border-radius:50%;flex-shrink:0;margin-left:8px}.time-clock-popover{position:fixed;top:64px;right:16px;width:280px;background:#fff;border-radius:8px;box-shadow:0 10px 25px rgba(0,0,0,.2);z-index:10001;overflow:hidden;display:flex;flex-direction:column}.time-clock-popover-header{padding:16px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;background:#fff}.time-clock-popover-title{font-size:16px;font-weight:600;margin:0;color:#0f172a}.time-clock-popover-status{padding:16px;border-bottom:1px solid #e5e7eb;background:#fff}.status-text{font-size:14px;font-weight:500}.status-text.not-clocked{color:#64748b}.status-text.clocked-in,.status-text.working{color:#10b981}.status-text.on-break{color:#f59e0b}.time-clock-popover-actions{padding:16px;display:flex;flex-direction:column;gap:8px;background:#fff}.tc-action-row{display:flex;gap:8px}.tc-action-row .tc-action-btn{flex:1}.tc-action-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:10px 16px;border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .15s ease}.tc-action-btn:disabled{opacity:.6;cursor:not-allowed}.tc-action-btn svg{flex-shrink:0}.tc-clock-in{background:var(--color-primary, #2970FE);color:#fff}.tc-clock-in:hover:not(:disabled){background:var(--color-primary-hover, #1450DC)}.tc-clock-out{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}.tc-clock-out:hover:not(:disabled){background:#fee2e2}.tc-break,.tc-lunch{background:#fffbeb;color:#d97706;border:1px solid #fde68a}.tc-break:hover:not(:disabled),.tc-lunch:hover:not(:disabled){background:#fef3c7}.tc-break-end{background:var(--color-primary, #2970FE);color:#fff}.tc-break-end:hover:not(:disabled){background:var(--color-primary-hover, #1450DC)}.clock-times{display:flex;flex-direction:column;gap:4px;margin-top:8px}.clock-time-row{display:flex;gap:8px;font-size:14px}.clock-label{color:#64748b;font-weight:500;min-width:32px}.clock-value{color:#0f172a;font-weight:500}.clock-value.auto-clock{color:#f59e0b}.auto-tag{font-size:11px;color:#f59e0b;margin-left:4px}.user-menu-container,.owner-user-menu{position:relative;display:inline-block;z-index:10001}.user-name-button{position:relative;background:hsla(0,0%,100%,.05);border:1px solid hsla(0,0%,100%,.1);cursor:pointer;display:flex;align-items:center;gap:10px;padding:6px 12px 6px 6px;border-radius:24px;transition:all .2s;font-family:"Inter",sans-serif;outline:none;color:#e6edf3;font-size:14px;font-weight:500}.user-name-button:hover,.user-name-button.menu-open{background:hsla(0,0%,100%,.1);border-color:hsla(0,0%,100%,.2)}.user-name-button.menu-open .user-menu-arrow{transform:rotate(180deg)}.user-name,.user-name-text{font-size:14px;font-weight:500;color:#e6edf3;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-menu-arrow{color:#e6edf3;transition:transform .2s;flex-shrink:0}.user-avatar-small{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg, #2970FE 0%, #60a5fa 100%);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:12px;color:#fff}.user-menu-backdrop{position:fixed;top:64px;left:0;right:0;bottom:0;background:rgba(0,0,0,0);z-index:9999}.user-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:280px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 10px 25px rgba(0,0,0,.15);z-index:10000;overflow:hidden}.user-menu-header{display:flex;align-items:center;gap:12px;padding:16px;background:#f8fafc;border-bottom:1px solid #e5e7eb}.user-avatar-large{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg, #2970FE 0%, #60a5fa 100%);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px;color:#fff;flex-shrink:0}.user-menu-info{display:flex;flex-direction:column;gap:2px;min-width:0}.user-menu-name{font-weight:600;font-size:15px;color:#0f172a}.user-menu-email{font-size:13px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-menu-shop-name{display:flex;align-items:center;gap:12px;padding:10px 16px;color:#64748b;font-size:13px;font-weight:600;border-bottom:1px solid #e5e7eb;margin-bottom:4px}.user-menu-shop-name svg{color:#94a3b8;flex-shrink:0}.badge-admin{display:inline-block;margin-top:4px;padding:2px 8px;font-size:11px;font-weight:600;background:rgba(99,102,241,.15);color:#6366f1;border-radius:4px;width:fit-content}.user-menu-divider{height:1px;background:#e5e7eb}.user-menu-item{display:flex;align-items:center;gap:10px;padding:12px 16px;color:#1f2937;text-decoration:none;font-size:14px;transition:background .15s;cursor:pointer;border:none;background:none;width:100%;text-align:left}.user-menu-item:hover{background:#f1f5f9}.user-menu-item svg{color:#64748b;flex-shrink:0}.org-badge{display:flex;align-items:center;gap:8px;padding:6px 14px;background:rgba(41,112,254,.1);border:1px solid rgba(41,112,254,.3);border-radius:20px;color:#60a5fa;font-size:13px;font-weight:500}.org-badge svg{flex-shrink:0;opacity:.8}.org-badge span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width: 768px){.user-name,.user-name-text{display:none}.user-name-button{padding:6px}.org-badge{display:none}}.sidebar{position:fixed;top:56px;left:0;width:230px;height:calc(100vh - 56px);background:#fff;color:#111926;display:flex;flex-direction:column;overflow:hidden;border-right:1px solid #e2e8f0;z-index:1000;transition:width .2s cubic-bezier(0.4, 0, 0.2, 1)}.sidebar .nav-tooltip{display:none}.sidebar.sidebar-collapsed{width:64px;overflow:visible}.sidebar.sidebar-collapsed .nav-text,.sidebar.sidebar-collapsed .notification-badge-nav{opacity:0;width:0;overflow:hidden}.sidebar.sidebar-collapsed .nav-item{justify-content:center;align-items:center;padding:0;width:44px;height:44px;gap:0}.sidebar.sidebar-collapsed .nav-menu{overflow:visible}.sidebar.sidebar-collapsed .nav-items{padding:0 10px;overflow:visible}.sidebar.sidebar-collapsed .nav-logo-container{display:none}.sidebar.sidebar-collapsed .nav-bottom{padding:0 10px}.sidebar.sidebar-collapsed .sidebar-collapse-btn{right:50%;transform:translateX(50%)}.sidebar.sidebar-collapsed .nav-item-wrapper{position:relative}.sidebar.sidebar-collapsed .nav-item-wrapper:hover .nav-tooltip{opacity:1;visibility:visible;transform:translateY(-50%)}.sidebar.sidebar-collapsed .nav-tooltip{display:block;position:absolute;left:calc(100% + 12px);top:50%;transform:translateY(-50%);background:#1e293b;color:#fff;padding:6px 12px;border-radius:6px;font-size:13px;font-weight:500;white-space:nowrap;opacity:0;visibility:hidden;transition:opacity .15s ease,visibility .15s ease;pointer-events:none;z-index:10000;box-shadow:0 4px 12px rgba(0,0,0,.15)}.sidebar.sidebar-collapsed .nav-tooltip::before{content:"";position:absolute;right:100%;top:50%;transform:translateY(-50%);border:6px solid rgba(0,0,0,0);border-right-color:#1e293b}.sidebar-collapse-btn{position:absolute;bottom:16px;right:8px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;color:#64748b;cursor:pointer;transition:all .15s;z-index:10}.sidebar-collapse-btn:hover{background:#e2e8f0;color:#1e293b}.nav-menu{display:flex;flex-direction:column;height:100%;padding:8px 0;overflow:hidden}.nav-items{display:flex;flex-direction:column;padding:0 12px;gap:2px;overflow-y:auto;overflow-x:hidden;flex:1 1 0;min-height:0}.nav-items::-webkit-scrollbar{width:4px}.nav-items::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.nav-items::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.nav-items::-webkit-scrollbar-thumb:hover{background:#94a3b8}.nav-item-wrapper{display:flex;align-items:center;border-radius:8px;transition:background-color .15s;cursor:pointer}.nav-item-wrapper:hover .nav-item:not(.active){background:rgba(17,25,38,.08)}.nav-item-wrapper:hover .nav-new-ro-btn{opacity:1}.nav-item{display:flex;align-items:center;gap:12px;padding:10px 14px;color:#111926;text-decoration:none;font-size:14px;font-weight:500;flex:1;border-radius:8px;transition:all .2s cubic-bezier(0.4, 0, 0.2, 1)}.nav-item:hover:not(.active){color:#111926}.nav-item.active{background:#111926;color:#fff;font-weight:600}.nav-item.active .nav-icon-black{filter:brightness(0) invert(1)}.nav-icon-container{width:24px;height:24px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.nav-icon{width:20px;height:20px;object-fit:contain}.nav-icon-black{display:block;filter:brightness(0) saturate(100%) invert(8%) sepia(12%) saturate(1500%) hue-rotate(185deg) brightness(95%) contrast(95%)}.nav-icon-white{display:none}.nav-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:opacity .2s cubic-bezier(0.4, 0, 0.2, 1),width .2s cubic-bezier(0.4, 0, 0.2, 1)}.nav-new-ro-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin-right:10px;background:#111926;border:none;border-radius:6px;color:#fff;cursor:pointer;transition:all .15s}.nav-new-ro-btn:hover{background:rgb(40.6454545455,59.7727272727,90.8545454545);transform:scale(1.05)}.nav-new-ro-btn svg{width:12px;height:12px}.notification-badge-nav{background:#ef4444;color:#fff;font-size:11px;font-weight:600;padding:2px 6px;border-radius:10px;min-width:18px;text-align:center;margin-left:auto}.nav-bottom{flex-shrink:0;padding:0 12px;border-top:1px solid #e2e8f0}.nav-logo-container{display:flex;align-items:center;justify-content:center;padding:32px 24px;flex-shrink:0}.nav-logo{width:100%;max-width:160px;height:auto;object-fit:contain}.nav-footer{padding:8px 12px;border-top:1px solid #e2e8f0}.nav-footer .nav-item-wrapper:hover{background:rgba(17,25,38,.06)}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.sidebar.mobile-only{top:0;bottom:0;height:auto;width:280px;max-width:85vw;z-index:1001;transform:translateX(-100%);transition:transform .25s ease}.sidebar.mobile-only.mobile-sidebar-open{transform:translateX(0);box-shadow:4px 0 20px rgba(0,0,0,.15)}}.page{position:relative;display:flex;flex-direction:column;height:100vh;overflow:hidden}.page-content{display:flex;flex:1;min-height:0;overflow:hidden}main{flex:1;min-width:0;min-height:0;margin-left:230px;display:flex;flex-direction:column;overflow:hidden;transition:margin-left .2s cubic-bezier(0.4, 0, 0.2, 1);position:relative;z-index:1}.page.sidebar-collapsed main{margin-left:64px}.content{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--spacing-xl)}.page-header-actions{display:flex;gap:var(--spacing-md);align-items:center}.search-container{position:relative}.mobile-nav-bar{position:fixed;bottom:0;left:0;right:0;height:var(--mobile-nav-height, 64px);background:#fff;border-top:1px solid #e5e7eb;display:flex;justify-content:space-around;align-items:center;padding:0 8px;z-index:1000;box-shadow:0 -2px 10px rgba(0,0,0,.05)}.mobile-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 12px;color:#64748b;text-decoration:none;border-radius:8px;transition:color .2s,background-color .2s;min-width:60px}.mobile-nav-item:hover{color:#2970fe}.mobile-nav-item.active{color:#2970fe}.mobile-nav-icon{width:24px;height:24px;flex-shrink:0}.mobile-nav-label{font-size:11px;font-weight:500;white-space:nowrap}.mobile-only{display:none !important}.desktop-only{display:flex}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.mobile-only{display:flex !important}.desktop-only{display:none !important}}.mobile-sidebar-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:999;opacity:0;pointer-events:none;transition:opacity .2s}.mobile-sidebar-overlay.open{opacity:1;pointer-events:auto}.mobile-menu-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:rgba(0,0,0,0);border:none;color:#fff;cursor:pointer;border-radius:8px;transition:background-color .2s}.mobile-menu-btn:hover{background:hsla(0,0%,100%,.1)}.mobile-menu-btn svg{width:24px;height:24px}.btn{padding:8.5px 17px !important;border-radius:var(--radius-md) !important;font-size:11.9px !important;font-weight:500 !important;cursor:pointer !important;transition:all var(--transition-base) !important;border:none !important;font-family:var(--font-family) !important}.btn-primary{background-color:var(--color-primary) !important;color:#fff !important}.btn-primary:hover:not(:disabled){background-color:var(--color-primary-hover) !important}.btn-primary:disabled{opacity:.6 !important;cursor:not-allowed !important}.btn-add{padding:var(--spacing-sm) var(--spacing-lg) !important;background-color:var(--color-bg-muted) !important;border:1px solid var(--color-border) !important;border-radius:var(--radius-md) !important;font-size:13px !important;font-weight:500 !important;color:var(--color-text) !important;cursor:pointer !important;transition:all var(--transition-base) !important;white-space:nowrap !important;font-family:var(--font-family) !important}.btn-add:hover:not(:disabled){background-color:var(--color-border) !important}.btn-add:disabled{opacity:.5 !important;cursor:not-allowed !important}.btn-send{padding:10px 20px !important;background:#2970fe !important;color:#fff !important;border:none !important;border-radius:8px !important;font-size:14px !important;font-weight:600 !important;cursor:pointer !important;font-family:var(--font-family) !important;transition:background .2s !important;flex-shrink:0 !important;white-space:nowrap !important}.btn-send:hover:not(:disabled){background:#1450dc !important}.btn-send:disabled{opacity:.5 !important;cursor:not-allowed !important}.btn-clear-signature{padding:6px 12px !important;background:#f1f5f9 !important;border:1px solid #e2e8f0 !important;border-radius:6px !important;color:#0f172a !important;cursor:pointer !important;font-size:14px !important;font-family:var(--font-family) !important;transition:background .2s !important}.btn-clear-signature:hover{background:#e2e8f0 !important}.mobile-menu-btn{display:none;align-items:center;justify-content:center;width:40px;height:40px;padding:0;background:rgba(0,0,0,0);border:none;border-radius:var(--radius-lg);color:var(--color-text);cursor:pointer;transition:var(--transition-fast)}.mobile-menu-btn:hover{background:var(--color-bg-muted)}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.mobile-menu-btn.mobile-only{display:flex}}.form-section{margin-bottom:20px !important;border-bottom:none !important;padding-bottom:0 !important}.form-section.full-width{margin-bottom:24px !important;padding-bottom:20px !important;border-bottom:1px solid #e5e7eb !important}.form-section:last-of-type{margin-bottom:0 !important}.form-section-header{display:flex !important;justify-content:space-between !important;align-items:center !important;margin-bottom:12px !important}.form-label{display:block !important;margin-bottom:var(--spacing-sm) !important;font-weight:500 !important;color:var(--color-text) !important;font-size:var(--font-size-base) !important;font-family:var(--font-family) !important}.form-control{width:100% !important;padding:10px 14px !important;border:1px solid var(--color-border-dark) !important;border-radius:var(--radius-lg) !important;font-size:var(--font-size-base) !important;font-family:var(--font-family) !important;background:var(--color-bg-subtle) !important;transition:all var(--transition-base) !important}.form-control:focus{outline:none !important;border-color:var(--color-primary) !important;box-shadow:0 0 0 3px var(--color-primary-light) !important;background:var(--color-bg) !important}.modal-body .form-control,.modal-body select,.modal-body input[type=text],.modal-body input[type=number]{padding:10px 14px !important;border:1px solid #d1d5db !important;border-radius:8px !important;font-size:14px !important;background:#f9fafb !important}.modal-body .form-control:focus,.modal-body select:focus,.modal-body input[type=text]:focus,.modal-body input[type=number]:focus{border-color:#2970fe !important;box-shadow:0 0 0 3px rgba(41,112,254,.12) !important;background:#fff !important}.signature-section{margin-top:32px !important;width:100% !important}.signature-label{display:block !important;margin-bottom:12px !important;font-weight:500 !important;color:#0f172a !important;font-family:var(--font-family) !important}.required{color:#ef4444 !important}.signature-pad-container{border:2px solid #e2e8f0 !important;border-radius:8px !important;padding:20px !important;background:#fff !important;width:100% !important;box-sizing:border-box !important}.signature-canvas{width:100% !important;height:100px !important;border:1px solid #cbd5e1 !important;border-radius:4px !important;cursor:crosshair !important;touch-action:none !important;display:block !important;background:#fff !important;box-sizing:border-box !important}.signature-actions{margin-top:12px !important;display:flex !important;justify-content:flex-end !important}.signature-name-section{margin-top:16px !important}.signature-name-label{display:block !important;margin-bottom:8px !important;font-weight:500 !important;color:#0f172a !important;font-size:14px !important;font-family:var(--font-family) !important}.signature-name-input{width:100% !important;padding:10px 12px !important;border:1px solid #e2e8f0 !important;border-radius:6px !important;font-size:14px !important;font-family:var(--font-family) !important;background:#fff !important;color:#0f172a !important}.signature-name-input:focus{outline:none !important;border-color:#2970fe !important}.confirm-dialog-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:10000;animation:confirmFadeIn .15s ease-out}@keyframes confirmFadeIn{from{opacity:0}to{opacity:1}}@keyframes confirmSlideIn{from{opacity:0;transform:scale(0.95) translateY(-10px)}to{opacity:1;transform:scale(1) translateY(0)}}.confirm-dialog{background:#fff;border-radius:12px;box-shadow:0 20px 40px rgba(0,0,0,.2);max-width:400px;width:90%;padding:24px;animation:confirmSlideIn .2s ease-out}.confirm-dialog-icon{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 16px}.confirm-dialog-icon svg{width:24px;height:24px}.confirm-dialog-warning .confirm-dialog-icon{background:#fef3c7;color:#d97706}.confirm-dialog-danger .confirm-dialog-icon{background:#fee2e2;color:#dc2626}.confirm-dialog-info .confirm-dialog-icon{background:#dbeafe;color:#2563eb}.confirm-dialog-content{text-align:center;margin-bottom:24px}.confirm-dialog-title{font-size:18px;font-weight:600;color:#1e293b;margin:0 0 8px}.confirm-dialog-message{font-size:14px;color:#64748b;margin:0;line-height:1.5;white-space:pre-line}.confirm-dialog-actions{display:flex;gap:12px;justify-content:center}.confirm-dialog-actions .btn{min-width:100px;padding:10px 20px;font-size:14px;font-weight:500;border-radius:8px;cursor:pointer;transition:all .15s}.confirm-dialog-actions .btn-secondary{background:#f1f5f9;border:1px solid #e2e8f0;color:#475569}.confirm-dialog-actions .btn-secondary:hover{background:#e2e8f0;color:#1e293b}.confirm-dialog-actions .btn-primary{background:#2563eb;border:1px solid #2563eb;color:#fff}.confirm-dialog-actions .btn-primary:hover{background:#1d4ed8;border-color:#1d4ed8}.confirm-dialog-actions .btn-danger{background:#dc2626;border:1px solid #dc2626;color:#fff}.confirm-dialog-actions .btn-danger:hover{background:#b91c1c;border-color:#b91c1c}.modal-overlay{position:fixed !important;top:0 !important;left:0 !important;right:0 !important;bottom:0 !important;background-color:rgba(0,0,0,.5) !important;display:flex !important;align-items:center !important;justify-content:center !important;z-index:1000 !important}.modal-visible{display:flex !important}.modal-content{background:#fff !important;border-radius:12px !important;width:90% !important;max-width:600px !important;max-height:90vh !important;display:flex !important;flex-direction:column !important;box-shadow:0 20px 60px rgba(0,0,0,.2) !important;overflow:hidden !important}.modal-content.modal-sm{max-width:400px !important}.modal-content.modal-lg{max-width:700px !important}.modal-content.modal-xl{max-width:900px !important}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:#111926;color:#fff}.modal-header h2,.modal-header h3{margin:0;font-size:18px;font-weight:600;color:#fff}.modal-header .modal-header-left{display:flex;align-items:center;gap:12px}.modal-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:hsla(0,0%,100%,.1);color:hsla(0,0%,100%,.8);border-radius:6px;font-size:20px;cursor:pointer;transition:background .2s}.modal-close:hover{background:hsla(0,0%,100%,.2)}.modal-footer{display:flex !important;justify-content:flex-end !important;gap:12px !important;padding:16px 24px !important;border-top:1px solid #e5e7eb !important;flex-shrink:0 !important;background:#f8fafc}.modal-body{padding:24px !important;overflow-y:auto !important;flex:1 !important;min-height:0 !important;max-height:calc(90vh - 140px) !important;font-family:var(--font-family) !important}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 20px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;border:none}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:#111926;color:#fff}.btn-primary:hover:not(:disabled){background:rgb(32.7636363636,48.1818181818,73.2363636364)}.btn-secondary{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.btn-secondary:hover:not(:disabled){background:#e2e8f0}.btn-ai-action,.modal-ai-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;background:linear-gradient(135deg, #3b82f6, #8b5cf6);color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.btn-ai-action .ai-btn-icon,.modal-ai-btn .ai-btn-icon{font-size:14px}.btn-ai-action:hover,.modal-ai-btn:hover{filter:brightness(1.1);transform:translateY(-1px)}.modal-content.new-ro-modal,.modal-content.new-appointment-modal{height:85vh !important;max-height:none !important;min-height:600px !important}.appointment-detail-modal .validation-message{display:block;margin-top:6px;font-size:12px;color:#dc2626}.appointment-detail-modal .is-invalid{border-color:#dc2626 !important}.appointment-detail-modal .time-validation-error{color:#dc2626;font-size:13px;margin-top:-8px;margin-bottom:8px}.new-ro-modal .modal-body,.new-appointment-modal .modal-body{display:flex !important;flex-direction:column !important;flex:1 !important;min-height:0 !important;overflow-y:auto !important}.new-ro-modal .modal-form,.new-appointment-modal .modal-form{display:flex;flex-direction:column;gap:20px}.new-ro-modal .form-section.full-width,.new-appointment-modal .form-section.full-width{width:100%}.new-ro-modal .form-section-header,.new-appointment-modal .form-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.new-ro-modal .form-label,.new-appointment-modal .form-label{font-size:14px;font-weight:600;color:#1e293b}.new-ro-modal .btn-add,.new-appointment-modal .btn-add{padding:6px 12px !important;background:rgba(0,0,0,0) !important;color:#3b82f6 !important;border:1px solid #3b82f6 !important;border-radius:6px !important;font-size:13px !important;font-weight:500 !important;cursor:pointer !important;transition:all .2s !important;width:auto !important;height:auto !important}.new-ro-modal .btn-add:hover,.new-appointment-modal .btn-add:hover{background:#3b82f6 !important;color:#fff !important}.new-ro-modal .label-select-wrapper,.new-appointment-modal .label-select-wrapper{display:flex;align-items:center;gap:8px}.new-ro-modal .label-color-indicator,.new-appointment-modal .label-color-indicator{width:16px;height:16px;border-radius:4px;flex-shrink:0;border:1px solid rgba(0,0,0,.1)}.new-ro-modal .label-select-with-color,.new-appointment-modal .label-select-with-color{flex:1}.new-ro-modal .form-hint,.new-appointment-modal .form-hint{display:block;font-size:12px;color:#64748b;margin-top:4px;font-style:italic}.new-ro-modal .time-validation-error,.new-appointment-modal .time-validation-error{color:#dc2626;font-size:13px;margin-top:-8px;margin-bottom:8px}.new-ro-modal .is-invalid,.new-appointment-modal .is-invalid{border-color:#dc2626 !important}.new-ro-modal .customer-vehicle-search.modal-context .search-results-container,.new-appointment-modal .customer-vehicle-search.modal-context .search-results-container{height:500px;overflow-y:auto;border:1px solid #e5e7eb;border-radius:8px;margin-top:8px;background:#fafafa}.new-ro-modal .customer-vehicle-search.modal-context .modal-search-dropdown,.new-appointment-modal .customer-vehicle-search.modal-context .modal-search-dropdown{margin-top:0;border:none;border-radius:0;box-shadow:none;background:rgba(0,0,0,0);max-height:none;overflow:visible}.new-ro-modal .search-box,.new-appointment-modal .search-box{max-width:100% !important;width:100% !important}.new-ro-modal .search-box .search-box-icon,.new-appointment-modal .search-box .search-box-icon{left:14px !important;position:absolute !important;top:50% !important;transform:translateY(-50%) !important;z-index:2 !important}.new-ro-modal .search-box .search-box-input,.new-appointment-modal .search-box .search-box-input{padding:12px 36px 12px 44px !important;border:1px solid #e2e8f0 !important;border-radius:8px !important;font-size:14px !important;width:100% !important;box-sizing:border-box !important}.new-ro-modal .search-box .search-box-input::placeholder,.new-appointment-modal .search-box .search-box-input::placeholder{color:#94a3b8 !important}.new-ro-modal .form-control,.new-appointment-modal .form-control{width:100%;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#fff;transition:border-color .2s,box-shadow .2s}.new-ro-modal .form-control:focus,.new-appointment-modal .form-control:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.new-ro-modal select.form-control,.new-appointment-modal select.form-control{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px;cursor:pointer}.new-ro-modal .validation-message,.new-appointment-modal .validation-message{display:block;margin-top:6px;font-size:12px;color:#dc2626}.new-ro-modal .search-results,.new-appointment-modal .search-results{margin-top:8px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;max-height:240px;overflow-y:auto;box-shadow:0 4px 12px rgba(0,0,0,.08)}.new-ro-modal .search-result-item,.new-appointment-modal .search-result-item{padding:12px 16px;cursor:pointer;transition:background .15s;border-bottom:1px solid #f1f5f9}.new-ro-modal .search-result-item:last-child,.new-appointment-modal .search-result-item:last-child{border-bottom:none}.new-ro-modal .search-result-item:hover,.new-appointment-modal .search-result-item:hover{background:#f8fafc}.new-ro-modal .inline-info,.new-appointment-modal .inline-info{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.new-ro-modal .customer-title,.new-ro-modal .vehicle-title,.new-appointment-modal .customer-title,.new-appointment-modal .vehicle-title{font-size:14px;font-weight:500;color:#1e293b}.new-ro-modal .info-separator,.new-appointment-modal .info-separator{color:#cbd5e1;margin:0 4px}.new-ro-modal .customer-detail-item,.new-ro-modal .vehicle-detail-item,.new-appointment-modal .customer-detail-item,.new-appointment-modal .vehicle-detail-item{font-size:13px;color:#64748b}.new-ro-modal .vehicle-details,.new-appointment-modal .vehicle-details{display:flex;flex-wrap:wrap;gap:12px;margin-top:4px;font-size:12px;color:#64748b}.new-ro-modal .selected-item-card,.new-appointment-modal .selected-item-card{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px}.new-ro-modal .selected-item-info,.new-appointment-modal .selected-item-info{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.new-ro-modal .selected-item-name,.new-appointment-modal .selected-item-name{font-size:14px;font-weight:500;color:#0369a1}.new-ro-modal .selected-item-separator,.new-appointment-modal .selected-item-separator{color:#7dd3fc;margin:0 4px}.new-ro-modal .selected-item-detail,.new-appointment-modal .selected-item-detail{font-size:13px;color:#0284c7}.new-ro-modal .no-vehicles-message,.new-appointment-modal .no-vehicles-message{padding:16px;text-align:center;color:#64748b;font-size:14px;background:#f8fafc;border-radius:8px}.new-ro-modal .odometer-group,.new-appointment-modal .odometer-group{display:flex;align-items:center;gap:16px}.new-ro-modal .odometer-group .odometer-input,.new-appointment-modal .odometer-group .odometer-input{flex:1;max-width:200px}.new-ro-modal .odometer-group .checkbox-label,.new-appointment-modal .odometer-group .checkbox-label{display:flex;align-items:center;gap:8px;font-size:13px;color:#475569;cursor:pointer}.new-ro-modal .odometer-group .checkbox-label input[type=checkbox],.new-appointment-modal .odometer-group .checkbox-label input[type=checkbox]{width:16px;height:16px;cursor:pointer}.new-ro-modal .odometer-group .checkbox-label .help-icon,.new-appointment-modal .odometer-group .checkbox-label .help-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;background:#e2e8f0;color:#64748b;border-radius:50%;font-size:10px;cursor:help}.new-ro-modal .concerns-container-card,.new-appointment-modal .concerns-container-card{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.new-ro-modal .concerns-list,.new-appointment-modal .concerns-list{display:flex;flex-direction:column}.new-ro-modal .concern-card,.new-appointment-modal .concern-card{border-bottom:1px solid #e2e8f0}.new-ro-modal .concern-card:last-child,.new-appointment-modal .concern-card:last-child{border-bottom:none}.new-ro-modal .concern-card.concern-card-expanded,.new-appointment-modal .concern-card.concern-card-expanded{background:#f8fafc}.new-ro-modal .concern-card-header,.new-appointment-modal .concern-card-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;cursor:pointer;transition:background .15s}.new-ro-modal .concern-card-header:hover,.new-appointment-modal .concern-card-header:hover{background:#f1f5f9}.new-ro-modal .concern-title,.new-appointment-modal .concern-title{font-size:14px;color:#1e293b}.new-ro-modal .concern-card-actions-section,.new-appointment-modal .concern-card-actions-section{display:flex;align-items:center;gap:8px}.new-ro-modal .concern-card-menu-btn,.new-ro-modal .concern-card-expand-btn,.new-appointment-modal .concern-card-menu-btn,.new-appointment-modal .concern-card-expand-btn{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0);border:none;border-radius:4px;color:#64748b;cursor:pointer}.new-ro-modal .concern-card-menu-btn:hover,.new-ro-modal .concern-card-expand-btn:hover,.new-appointment-modal .concern-card-menu-btn:hover,.new-appointment-modal .concern-card-expand-btn:hover{background:#e2e8f0}.new-ro-modal .concern-card-content,.new-appointment-modal .concern-card-content{padding:16px;padding-top:0}.new-ro-modal .concern-field-label,.new-appointment-modal .concern-field-label{display:block;font-size:12px;font-weight:500;color:#64748b;margin-bottom:6px}.new-ro-modal .concern-textarea,.new-appointment-modal .concern-textarea{width:100%;min-height:80px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;resize:vertical}.new-ro-modal .concern-textarea:focus,.new-appointment-modal .concern-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.status-change-popover{display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999}.status-change-popover.open{display:block}.popover-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0);z-index:9998;pointer-events:auto;cursor:default}.popover-content{position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);min-width:280px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 8px 32px rgba(0,0,0,.2);z-index:9999}.popover-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;border-bottom:1px solid #e5e7eb;font-weight:600;font-size:1rem}.popover-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#6b7280;padding:0;line-height:1;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:4px}.popover-close:hover{background:#f3f4f6}.popover-body{padding:.5rem 0;max-height:400px;overflow-y:auto}.status-group{padding:.5rem 0}.status-group-label{font-size:.75rem;color:#6b7280;padding:.5rem 1.25rem;text-transform:uppercase;letter-spacing:.05em;font-weight:600}.status-option{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem 1.25rem;background:none;border:none;text-align:left;cursor:pointer;font-size:.9375rem;color:#1f2937;transition:background .15s}.status-option:hover{background:#f3f4f6}.status-option.current{background:#eff6ff}.current-indicator{margin-left:auto;font-size:.75rem;color:#3b82f6;background:#dbeafe;padding:.25rem .5rem;border-radius:4px;font-weight:500}.global-search-modal .modal-body{padding:0 !important;max-height:70vh !important;overflow:hidden !important;display:flex !important;flex-direction:column !important}.search-container{padding:16px 20px;border-bottom:1px solid #e5e7eb;background:#f8fafc}.search-input-wrapper{position:relative;display:flex;align-items:center}.search-input-wrapper .search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#94a3b8;pointer-events:none}.global-search-modal .search-input{width:100%;padding:12px 40px 12px 44px;border:1px solid #e2e8f0;border-radius:8px;font-size:15px;background:#fff;transition:border-color .2s,box-shadow .2s}.global-search-modal .search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.12)}.global-search-modal .search-input::placeholder{color:#94a3b8}.search-clear-btn{position:absolute;right:8px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#f1f5f9;border:none;border-radius:50%;color:#64748b;font-size:18px;cursor:pointer;transition:all .15s}.search-clear-btn:hover{background:#e2e8f0;color:#334155}.search-results-container{flex:1;overflow-y:auto;padding:8px 0}.search-loading,.search-no-results,.search-hint{display:flex;align-items:center;justify-content:center;padding:40px 20px;color:#64748b;font-size:14px}.results-section{margin-bottom:8px}.results-section-header{padding:8px 20px;font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;background:#f8fafc;border-bottom:1px solid #e5e7eb}.customer-group{border-bottom:1px solid #f1f5f9}.customer-group.selected{background:#eff6ff}.customer-group:last-child{border-bottom:none}.result-item{padding:12px 20px;cursor:pointer;transition:background .15s}.result-item:hover{background:#f8fafc}.result-item.selected{background:#eff6ff;border-left:3px solid #3b82f6;padding-left:17px}.result-main{display:flex;align-items:center;gap:12px;margin-bottom:4px}.result-details{display:flex;align-items:center;gap:16px;font-size:13px;color:#64748b}.customer-name{font-size:15px;font-weight:600;color:#1e293b}.customer-phone,.customer-email{font-size:13px}.vehicles-list{padding-left:20px;border-left:2px solid #e2e8f0;margin-left:20px}.vehicle-result{padding:10px 16px}.vehicle-result.selected{background:#dbeafe;border-left:3px solid #2563eb;padding-left:13px}.vehicle-description{font-size:14px;font-weight:500;color:#334155}.vehicle-vin,.vehicle-plate{font-size:12px;font-family:monospace}.ro-result .result-main{gap:16px}.ro-number{font-size:15px;font-weight:600;color:#1e293b}.ro-customer{font-size:14px;color:#475569}.ro-vehicle,.ro-date{font-size:13px}.action-buttons{display:flex;gap:8px;width:100%;justify-content:flex-end}.btn-outline{background:rgba(0,0,0,0);border:1px solid #e2e8f0;color:#475569}.btn-outline:hover{background:#f8fafc;border-color:#cbd5e1}.vehicle-info-modal .vehicle-info-top{margin-bottom:20px}.vehicle-info-modal .vehicle-info-top h3{margin:0 0 4px 0;font-size:20px;font-weight:600;color:#1e293b}.vehicle-info-modal .vehicle-info-top .vehicle-trim{font-size:14px;color:#64748b}.vehicle-info-modal .vehicle-info-top .vehicle-vin{font-size:13px;color:#64748b;font-family:monospace;margin-top:8px}.vehicle-info-modal .vehicle-details{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.vehicle-info-modal .vehicle-details .detail-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #f1f5f9}.vehicle-info-modal .vehicle-details .detail-row .detail-label{font-size:13px;color:#64748b}.vehicle-info-modal .vehicle-details .detail-row .detail-value{font-size:14px;color:#1e293b;font-weight:500}.vehicle-info-modal .vehicle-stats{display:flex;gap:24px;padding:16px;background:#f8fafc;border-radius:8px;margin-bottom:20px}.vehicle-info-modal .vehicle-stats .stat-item .stat-label{font-size:12px;color:#64748b;margin-bottom:4px}.vehicle-info-modal .vehicle-stats .stat-item .stat-value{font-size:18px;font-weight:600;color:#1e293b}.vehicle-info-modal .vehicle-history-section{margin-bottom:20px}.vehicle-info-modal .vehicle-history-section .section-header{margin-bottom:12px}.vehicle-info-modal .vehicle-history-section .section-header h4{margin:0;font-size:14px;font-weight:600;color:#1e293b;text-transform:uppercase;letter-spacing:.5px}.vehicle-info-modal .vehicle-history-section .no-history{padding:24px;text-align:center;color:#94a3b8;font-size:14px;background:#f8fafc;border-radius:8px}.vehicle-info-modal .vehicle-history-section .history-list{display:flex;flex-direction:column;gap:8px;max-height:250px;overflow-y:auto}.vehicle-info-modal .vehicle-history-section .history-item{padding:12px 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .2s}.vehicle-info-modal .vehicle-history-section .history-item:hover{background:#f1f5f9;border-color:#cbd5e1}.vehicle-info-modal .vehicle-history-section .history-item .history-main{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.vehicle-info-modal .vehicle-history-section .history-item .history-main .ro-number{font-size:14px;font-weight:600;color:#1e293b}.vehicle-info-modal .vehicle-history-section .history-item .history-main .ro-status{font-size:11px;padding:2px 8px;border-radius:4px;font-weight:500}.vehicle-info-modal .vehicle-history-section .history-item .history-main .ro-status.status-open{background:#dbeafe;color:#1d4ed8}.vehicle-info-modal .vehicle-history-section .history-item .history-main .ro-status.status-in-progress{background:#fef3c7;color:#b45309}.vehicle-info-modal .vehicle-history-section .history-item .history-main .ro-status.status-completed{background:#d1fae5;color:#047857}.vehicle-info-modal .vehicle-history-section .history-item .history-main .ro-status.status-invoiced{background:#e0e7ff;color:#4338ca}.vehicle-info-modal .vehicle-history-section .history-item .history-main .ro-status.status-closed{background:#f1f5f9;color:#64748b}.vehicle-info-modal .vehicle-history-section .history-item .history-main .ro-status.status-default{background:#f1f5f9;color:#64748b}.vehicle-info-modal .vehicle-history-section .history-item .history-details{display:flex;gap:16px;font-size:12px;color:#64748b}.vehicle-info-modal .vehicle-history-section .history-item .ro-note{margin-top:8px;font-size:12px;color:#64748b;font-style:italic}.vehicle-info-modal .vehicle-actions{display:flex;gap:12px;justify-content:flex-end}.context-router-modal .loading-state{padding:40px;text-align:center;color:#64748b}.context-router-modal .context-cards{display:flex;flex-direction:column;gap:16px;margin-bottom:24px}.context-router-modal .context-card{border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.context-router-modal .context-card .card-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.context-router-modal .context-card .card-header .card-title{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#64748b}.context-router-modal .context-card .card-header .card-type{font-size:11px;padding:2px 8px;background:#e2e8f0;border-radius:4px;color:#475569}.context-router-modal .context-card .card-body{padding:16px}.context-router-modal .context-card .info-row{display:flex;justify-content:space-between;align-items:flex-start;padding:6px 0}.context-router-modal .context-card .info-row.primary{padding-bottom:12px;margin-bottom:8px;border-bottom:1px solid #f1f5f9}.context-router-modal .context-card .info-row .customer-name,.context-router-modal .context-card .info-row .vehicle-name{font-size:16px;font-weight:600;color:#1e293b}.context-router-modal .context-card .info-row .info-label{font-size:13px;color:#64748b;flex-shrink:0;width:80px}.context-router-modal .context-card .info-row .info-value{font-size:13px;color:#1e293b;text-align:right}.context-router-modal .context-card .info-row .info-value.monospace{font-family:monospace;font-size:12px}.context-router-modal .context-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.context-router-modal .context-actions .btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.context-router-modal .context-actions .btn svg{flex-shrink:0}.context-router-modal .context-actions .btn.btn-primary{background:#3b82f6;color:#fff;border:none}.context-router-modal .context-actions .btn.btn-primary:hover{background:#2563eb}.context-router-modal .context-actions .btn.btn-secondary{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.context-router-modal .context-actions .btn.btn-secondary:hover{background:#e2e8f0;color:#1e293b}.context-router-modal .context-actions .btn.btn-outline{background:rgba(0,0,0,0);color:#475569;border:1px solid #e2e8f0}.context-router-modal .context-actions .btn.btn-outline:hover{background:#f8fafc;border-color:#cbd5e1}.authorization-modal-content{max-width:500px !important}.authorization-modal-content.wide{max-width:650px !important}.ro-summary{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f8fafc;border-radius:8px;margin-bottom:20px;flex-wrap:wrap;gap:8px;border:1px solid #e2e8f0}.ro-summary .ro-number{font-weight:600;color:#1e293b}.ro-summary .vehicle-info{color:#64748b;font-size:14px}.ro-summary .total-amount{font-weight:700;color:#2563eb;font-size:16px}.method-buttons{display:grid;grid-template-columns:repeat(4, 1fr);gap:10px;margin-top:8px}.method-btn{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 8px;border:2px solid #e2e8f0;background:#fff;border-radius:10px;cursor:pointer;transition:all .2s;font-size:13px;font-weight:500;color:#475569}.method-btn:hover{border-color:#3b82f6;background:#f8fafc}.method-btn.active{border-color:#3b82f6;background:#eff6ff;color:#1e40af}.method-btn .method-icon{font-size:24px}.call-timestamp{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;margin:16px 0}.call-timestamp .timestamp-label{color:#0369a1;font-size:13px}.call-timestamp .timestamp-value{font-weight:600;color:#0c4a6e}.send-info{padding:16px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;margin-top:16px}.send-info p{margin:0;color:#0369a1;font-size:14px;line-height:1.5}.rate-limit-warning{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#fffbeb;border:1px solid #fcd34d;border-radius:8px;margin-top:12px;color:#92400e;font-size:14px}.rate-limit-warning .rate-limit-icon{font-size:18px}.rate-limit-warning strong{color:#78350f}.in-person-section,.by-phone-section{margin-top:20px}.authorization-modal-content .signature-capture,.modal-content .signature-capture{padding:0 !important;border:none !important;border-radius:8px !important;background:rgba(0,0,0,0) !important}.authorization-modal-content .signature-capture.valid .signature-box,.modal-content .signature-capture.valid .signature-box{border-color:#22c55e !important}.authorization-modal-content .signature-box-container,.modal-content .signature-box-container{position:relative !important;margin-bottom:16px !important}.authorization-modal-content .signature-box,.modal-content .signature-box{position:relative !important;border:1px solid #d1d5db !important;border-radius:8px !important;background:#fff !important;min-height:120px !important;display:flex !important;align-items:center !important;justify-content:center !important}.authorization-modal-content .signature-canvas,.modal-content .signature-canvas{width:100% !important;height:120px !important;touch-action:none !important;cursor:crosshair !important;border-radius:6px !important;border:none !important;background:rgba(0,0,0,0) !important}.authorization-modal-content .typed-signature-display,.modal-content .typed-signature-display{width:100% !important;height:120px !important;display:flex !important;align-items:center !important;justify-content:center !important;padding:12px !important}.authorization-modal-content .signature-placeholder,.modal-content .signature-placeholder{color:#94a3b8 !important;font-size:14px !important}.authorization-modal-content .signature-text,.modal-content .signature-text{font-family:"Brush Script MT","Segoe Script","Bradley Hand",cursive !important;font-size:28px !important;color:#0f172a !important;text-align:center !important;word-break:break-word !important}.authorization-modal-content .signature-line,.modal-content .signature-line{position:absolute !important;bottom:28px !important;left:24px !important;right:24px !important;border-bottom:1px solid #e5e7eb !important;pointer-events:none !important}.authorization-modal-content .signature-label,.modal-content .signature-label{position:absolute !important;bottom:30px !important;left:14px !important;font-size:14px !important;color:#94a3b8 !important;pointer-events:none !important;display:block !important;margin-bottom:0 !important}.authorization-modal-content .clear-btn,.modal-content .clear-btn{position:absolute !important;top:8px !important;right:8px !important;padding:6px 14px !important;font-size:12px !important;font-weight:500 !important;background:#ef4444 !important;color:#fff !important;border:none !important;border-radius:6px !important;cursor:pointer !important;transition:background .2s ease !important}.authorization-modal-content .clear-btn:hover,.modal-content .clear-btn:hover{background:#dc2626 !important}.authorization-modal-content .name-input-section,.modal-content .name-input-section{margin-bottom:12px !important}.authorization-modal-content .signature-name-input,.modal-content .signature-name-input{width:100% !important;padding:12px 16px !important;border:1px solid #d1d5db !important;border-radius:8px !important;font-size:14px !important;font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif !important;text-align:center !important;background:#fff !important}.authorization-modal-content .signature-name-input:focus,.modal-content .signature-name-input:focus{outline:none !important;border-color:#2970fe !important;box-shadow:0 0 0 3px rgba(41,112,254,.1) !important}.authorization-modal-content .signature-mode-toggle,.modal-content .signature-mode-toggle{text-align:center !important;margin-bottom:16px !important}.authorization-modal-content .mode-link,.modal-content .mode-link{display:inline-flex !important;align-items:center !important;gap:8px !important;background:#f1f5f9 !important;border:1px solid #e5e7eb !important;color:#2970fe !important;cursor:pointer !important;font-size:14px !important;font-weight:500 !important;padding:10px 20px !important;border-radius:8px !important;transition:all .2s ease !important}.authorization-modal-content .mode-link:hover,.modal-content .mode-link:hover{background:#e5e7eb !important;color:#1450dc !important}.authorization-modal-content .consent-section,.modal-content .consent-section{padding-top:16px !important;border-top:1px solid #e5e7eb !important;margin-top:8px !important}.authorization-modal-content .consent-checkbox,.modal-content .consent-checkbox{display:flex !important;align-items:center !important;gap:12px !important;cursor:pointer !important;font-size:14px !important;color:#1e293b !important;line-height:1.5 !important}.authorization-modal-content .consent-checkbox input[type=checkbox],.modal-content .consent-checkbox input[type=checkbox]{cursor:pointer !important;width:18px !important;height:18px !important;accent-color:#2970fe !important;flex-shrink:0 !important;margin:0 !important}.authorization-modal-content .consent-checkbox span,.modal-content .consent-checkbox span{flex:1 !important}.combobox{position:relative}.combobox.open .combobox-dropdown{display:block}.combobox-dropdown{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1);z-index:100;max-height:200px;overflow-y:auto;margin-top:4px}.combobox-option{display:flex;justify-content:space-between;align-items:center;width:100%;padding:12px 16px;border:none;background:none;cursor:pointer;text-align:left;font-size:14px;color:#1e293b;transition:background .15s}.combobox-option:first-child{border-radius:8px 8px 0 0}.combobox-option:last-child{border-radius:0 0 8px 8px}.combobox-option:only-child{border-radius:8px}.combobox-option:hover{background:#f1f5f9}.combobox-option .option-value{font-weight:500}.combobox-option .option-label{color:#64748b;font-size:13px}.copy-link-section{display:flex;gap:10px;margin-top:16px}.copy-link-section .link-input{flex:1;padding:12px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;background:#f8fafc;color:#475569;font-family:monospace;cursor:text}.copy-link-section .link-input:focus{outline:none;border-color:#3b82f6}.btn-copy{padding:12px 20px;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.btn-copy:hover{background:#2563eb}.btn-copy.copied{background:#10b981}.btn-copy.copied:hover{background:#059669}.send-info.success{background:#ecfdf5;border-color:#6ee7b7}.send-info.success p{color:#047857}.method-buttons{grid-template-columns:repeat(5, 1fr)}@media(max-width: 500px){.method-buttons{grid-template-columns:repeat(3, 1fr)}}.payment-form{display:flex;flex-direction:column;gap:16px}.payment-form .form-group{display:flex;flex-direction:column;gap:6px}.payment-form .form-group label{font-size:13px;font-weight:500;color:#374151}.payment-form .form-group input,.payment-form .form-group select,.payment-form .form-group textarea{padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;transition:border-color .15s,box-shadow .15s}.payment-form .form-group input:focus,.payment-form .form-group select:focus,.payment-form .form-group textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.payment-form .form-group input.readonly-input,.payment-form .form-group select.readonly-input,.payment-form .form-group textarea.readonly-input{background:#f8fafc;color:#64748b;cursor:not-allowed}.payment-form .form-group input:disabled,.payment-form .form-group select:disabled,.payment-form .form-group textarea:disabled{background:#f8fafc;color:#64748b}.payment-form .form-group select.payment-type-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px;cursor:pointer}.payment-form .date-time-row{display:flex;gap:8px}.payment-form .date-time-row .date-input{flex:2}.payment-form .date-time-row .time-input{flex:1}.payment-form .form-row{display:flex;gap:12px}.payment-form .form-row .form-group{flex:1}.payment-form .form-check{margin-top:4px}.payment-form .checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;color:#374151}.payment-form .checkbox-label input[type=checkbox]{width:18px;height:18px;accent-color:#3b82f6;cursor:pointer}.payment-form .error-message{padding:10px 12px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;font-size:13px}.payment-form .help-text{font-size:12px;color:#64748b}.modal-footer .btn-link{background:none;border:none;color:#3b82f6;font-size:14px;font-weight:500;cursor:pointer;padding:8px 0;display:inline-flex;align-items:center;margin-right:auto}.modal-footer .btn-link:hover{color:#2563eb;text-decoration:underline}.modal-footer .footer-buttons{display:flex;gap:8px}.radio-group{display:flex;flex-direction:column;gap:10px}.radio-label{display:flex;align-items:center;gap:10px;cursor:pointer;padding:12px 14px;border:1px solid #e2e8f0;border-radius:8px;transition:all .15s}.radio-label:hover{border-color:#cbd5e1;background:#f8fafc}.radio-label:has(input:checked){border-color:#3b82f6;background:#eff6ff}.radio-label input[type=radio]{width:18px;height:18px;accent-color:#3b82f6;cursor:pointer;margin:0}.radio-label .radio-text{font-size:14px;color:#374151;font-weight:500}.radio-label .radio-amount{color:#64748b;font-weight:400}.currency-input{position:relative;display:flex;align-items:center}.currency-input .currency-symbol{position:absolute;left:12px;color:#64748b;font-size:14px;font-weight:500;pointer-events:none}.currency-input input{padding-left:28px !important;width:100%}.currency-input.readonly .currency-symbol{color:#94a3b8}.change-hint{display:block;margin-top:6px;padding:8px 12px;background:#ecfdf5;border-radius:6px;color:#059669;font-size:13px;font-weight:500}.radio-group.horizontal{flex-direction:row;gap:12px}.radio-group.horizontal .radio-label{flex:1}.change-due-display{padding:14px 16px;background:#f8fafc;border-radius:8px;display:flex;align-items:center;justify-content:space-between}.change-due-display .change-amount{font-size:18px;font-weight:600;color:#64748b}.change-due-display .change-note{font-size:13px;color:#64748b}.change-due-display.has-change{background:#ecfdf5}.change-due-display.has-change .change-amount{color:#059669}.change-due-display.has-change .change-note{color:#059669}.no-credit-message{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fef3c7;border:1px solid #fcd34d;border-radius:8px;color:#92400e;font-size:14px;margin-bottom:8px}.no-credit-message svg{flex-shrink:0;color:#f59e0b}.disabled-group{opacity:.5;pointer-events:none}.package-price-modal .job-info{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f8fafc;border-radius:8px;margin-bottom:20px}.package-price-modal .job-info .job-name{font-weight:600;color:#1e293b;font-size:14px}.package-price-modal .job-info .current-subtotal{font-size:13px;color:#64748b}.package-price-modal .package-price-toggle{margin-bottom:20px}.package-price-modal .package-price-toggle .toggle-label{display:flex;align-items:flex-start;gap:12px;cursor:pointer;padding:14px 16px;border:1px solid #e2e8f0;border-radius:10px;transition:all .15s}.package-price-modal .package-price-toggle .toggle-label:hover{border-color:#cbd5e1;background:#fafafa}.package-price-modal .package-price-toggle .toggle-label:has(input:checked){border-color:#3b82f6;background:#eff6ff}.package-price-modal .package-price-toggle .toggle-label input[type=checkbox]{width:20px;height:20px;margin-top:2px;accent-color:#3b82f6;cursor:pointer;flex-shrink:0}.package-price-modal .package-price-toggle .toggle-label .toggle-text{display:flex;flex-direction:column;gap:2px}.package-price-modal .package-price-toggle .toggle-label .toggle-title{font-weight:600;color:#1e293b;font-size:14px}.package-price-modal .package-price-toggle .toggle-label .toggle-desc{font-size:13px;color:#64748b}.package-price-modal .price-input-section{margin-bottom:24px}.package-price-modal .field-label{display:block;font-size:13px;font-weight:600;color:#374151;margin-bottom:6px}.package-price-modal .field-hint{font-size:12px;color:#64748b;margin:0 0 10px 0}.package-price-modal .currency-input{position:relative}.package-price-modal .currency-input .currency-symbol{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#64748b;font-size:15px;font-weight:500}.package-price-modal .currency-input input{width:100%;padding:12px 14px 12px 32px;border:1px solid #e2e8f0;border-radius:8px;font-size:16px;font-weight:500;transition:all .15s}.package-price-modal .currency-input input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.package-price-modal .currency-input input::placeholder{color:#94a3b8}.package-price-modal .savings-indicator{display:flex;align-items:center;gap:8px;margin-top:8px;padding:8px 12px;background:#ecfdf5;border-radius:6px}.package-price-modal .savings-indicator .savings-label{font-size:13px;color:#059669}.package-price-modal .savings-indicator .savings-value{font-size:13px;font-weight:600;color:#047857}.package-price-modal .method-section{margin-bottom:8px}.package-price-modal .method-options{display:flex;flex-direction:column;gap:10px}.package-price-modal .method-option{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:all .15s}.package-price-modal .method-option:hover{border-color:#cbd5e1;background:#fafafa}.package-price-modal .method-option.selected{border-color:#3b82f6;background:#eff6ff}.package-price-modal .method-option input[type=radio]{width:18px;height:18px;margin-top:2px;accent-color:#3b82f6;cursor:pointer;flex-shrink:0}.package-price-modal .method-option .method-content{display:flex;flex-direction:column;gap:2px}.package-price-modal .method-option .method-title{font-weight:500;color:#1e293b;font-size:14px}.package-price-modal .method-option .method-desc{font-size:12px;color:#64748b}.package-price-modal .modal-footer{display:flex;align-items:center}.package-price-modal .modal-footer .footer-spacer{flex:1}.package-price-modal .modal-footer .btn-link-danger{background:none;border:none;color:#dc2626;font-size:13px;font-weight:500;cursor:pointer;padding:8px 0}.package-price-modal .modal-footer .btn-link-danger:hover{color:#b91c1c;text-decoration:underline}.card-template-card-menu-item .menu-item-icon{margin-right:6px;font-size:12px}.readonly-display{padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.readonly-display .readonly-value{font-size:16px;font-weight:600;color:#64748b}.readonly-display.has-balance{background:#fef3c7;border-color:#fcd34d}.readonly-display.has-balance .readonly-value{color:#92400e}.readonly-display.paid-off{background:#ecfdf5;border-color:#6ee7b7}.readonly-display.paid-off .readonly-value{color:#059669}.complete-work-modal.modal-content{max-width:520px !important}.complete-work-modal .complete-work-content{display:flex;flex-direction:column;gap:14px}.complete-work-modal .cw-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:10px 14px}.complete-work-modal .cw-row{display:flex;justify-content:space-between;padding:3px 0;font-size:14px}.complete-work-modal .cw-label{color:#64748b}.complete-work-modal .cw-value{font-weight:600;color:#1e293b}.complete-work-modal .cw-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.complete-work-modal .cw-field{display:flex;flex-direction:column;gap:6px}.complete-work-modal .cw-field label{font-size:13px;font-weight:600;color:#475569}.complete-work-modal .cw-radio-row{display:flex;gap:16px}.complete-work-modal .cw-radio-row .radio-option{display:flex;align-items:center;gap:6px;cursor:pointer}.complete-work-modal .cw-radio-row .radio-option.disabled{opacity:.5;cursor:not-allowed}.complete-work-modal .cw-warning{background:#fef3c7;border:1px solid #fcd34d;color:#92400e;border-radius:6px;padding:8px 12px;font-size:13px}.complete-work-modal .cw-error{background:#fee2e2;border:1px solid #fca5a5;color:#b91c1c;border-radius:6px;padding:8px 12px;font-size:13px;white-space:pre-line}.complete-work-modal .cw-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e2e8f0;padding-top:12px;font-size:14px;color:#475569}.complete-work-modal .cw-total .cw-total-amount{font-size:20px;font-weight:700;color:#1e293b}.card-template-container{background:var(--color-bg);border-radius:var(--radius-lg);border:1px solid var(--color-border);padding:var(--spacing-xl);margin-bottom:var(--spacing-2xl);box-shadow:var(--shadow-sm)}.card-template-section{margin-bottom:0}.card-template-section .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--spacing-md)}.card-template-list{display:flex;flex-direction:column;gap:var(--spacing-md)}.timesheet-card{background:var(--color-bg);border-radius:var(--radius-lg);border:1px solid var(--color-border);margin-bottom:var(--spacing-xl);overflow:hidden;box-shadow:var(--shadow-sm)}.timesheet-card .card-header{display:flex;justify-content:space-between;align-items:center;padding:var(--spacing-lg) var(--spacing-xl);border-bottom:1px solid var(--color-border);background:var(--color-bg-subtle)}.timesheet-card .card-header h3{font-size:var(--font-size-base);font-weight:600;margin:0;color:var(--color-text)}.timesheet-card .card-body{padding:var(--spacing-xl)}.timesheet-card .card-body .stats-row{margin-bottom:0}.timesheet-card .card-body .table-container{margin:calc(-1*var(--spacing-xl));margin-top:0;border:none;border-radius:0}.stats-row{display:flex;flex-direction:row;gap:var(--spacing-lg);flex-wrap:wrap}.stat-item{display:flex;flex-direction:column;gap:var(--spacing-xs);padding:var(--spacing-md) var(--spacing-lg);background:var(--color-bg-subtle);border:1px solid var(--color-border);border-radius:var(--radius-md);min-width:120px;flex:1}.stat-label{display:block}.ro-card-container{background:#fff;border-radius:8px !important;padding:16px !important;margin-bottom:12px !important;box-shadow:0 1px 3px rgba(0,0,0,.1) !important;cursor:pointer !important;transition:box-shadow .2s !important;min-width:0 !important;box-sizing:border-box !important}.ro-card-container:hover{box-shadow:0 4px 8px rgba(0,0,0,.15) !important}.ro-card-header{display:flex !important;justify-content:space-between !important;align-items:flex-start !important;margin-bottom:12px !important}.ro-card-left{flex:1 !important;min-width:0 !important}.ro-card-right{flex-shrink:0 !important;margin-left:12px !important}.ro-card-tags{display:flex !important;align-items:center !important;gap:6px !important;flex-wrap:wrap !important}.ro-card-info-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}.ro-card-title-row{display:flex;align-items:center;gap:8px}.ro-card-title-row .ro-card-number{font-weight:600;font-size:15px;color:#1e293b}.ro-card-price{font-size:14px !important;font-weight:600 !important;color:#1e293b !important;white-space:nowrap !important}.ro-card-customer{display:flex !important;justify-content:space-between !important;align-items:center !important;gap:8px !important;font-size:14px !important;color:#1e293b !important;margin-bottom:8px !important;line-height:1.4 !important}.ro-card-customer .customer-info{flex:1 !important;min-width:0 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important}.customer-name{font-weight:600 !important}.ro-card-vehicle-info{font-size:13px !important;color:#1e293b !important;margin-bottom:10px !important;line-height:1.4 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important}.ro-card-date{display:flex !important;align-items:center !important;gap:6px !important;font-size:12px !important;color:#64748b !important}.ro-card-hours{display:flex;align-items:center;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #e5e7eb}.ro-card-hours-value{font-size:11px;font-weight:600;color:#0f172a;white-space:nowrap}.ro-card-hours-progress{flex:1;height:6px;background:#e5e7eb;border-radius:3px;overflow:hidden}.ro-card-hours-bar{height:100%;background:#2970fe;border-radius:3px;transition:width .3s}.ro-card-status-icon{font-size:14px;margin-left:8px}.concerns-container-card{background:#fff !important;border-radius:8px !important;border:1px solid #e5e7eb !important;padding:20px !important;margin-bottom:24px !important;box-shadow:0 1px 3px rgba(0,0,0,.1) !important}.job-card{background:#fff !important;box-shadow:0 1px 2px rgba(0,0,0,.05) !important}.job-card-content{background:#f8f9fa !important}.dispatch-table{width:100% !important;border-collapse:collapse !important;background:#fff !important;border-radius:8px !important;overflow:hidden !important;box-shadow:0 1px 3px rgba(0,0,0,.1) !important}.dispatch-table thead{background-color:#f8fafc !important;border-bottom:2px solid #e2e8f0 !important}.dispatch-table th{padding:12px 16px !important;text-align:left !important;font-size:12px !important;font-weight:600 !important;color:#64748b !important;text-transform:uppercase !important;letter-spacing:.5px !important}.dispatch-table td{padding:16px !important;border-bottom:1px solid #e2e8f0 !important;font-size:14px !important;color:#0f172a !important}.dispatch-table-row{cursor:pointer !important;transition:background-color .2s !important}.dispatch-table-row:hover{background-color:#f8fafc !important}.tech-board{font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif !important;display:flex !important;flex-direction:column !important;height:100% !important;overflow:hidden !important}.tech-board-header{display:flex !important;justify-content:space-between !important;align-items:center !important;margin-bottom:24px !important;flex-shrink:0 !important}.tech-board-header h1{font-size:28px !important;font-weight:600 !important;margin:0 !important;color:#0f172a !important;font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif !important}.badge{display:inline-block;padding:4px 10px;border-radius:4px;font-size:12px;font-weight:600;text-transform:capitalize;white-space:nowrap}.badge-success{background-color:#dcfce7;color:#166534}.badge-warning{background-color:#fef3c7;color:#92400e}.badge-danger{background-color:#fee2e2;color:#991b1b}.badge-primary{background-color:#dbeafe;color:#1e40af}.badge-info{background-color:#e0e7ff;color:#3730a3}.badge-secondary{background-color:#f3f4f6;color:#374151}.status-badge{display:inline-block !important;padding:4px 10px !important;border-radius:4px !important;font-size:12px !important;font-weight:600 !important;text-transform:capitalize !important}.status-badge.status-new{background-color:#dbeafe !important;color:#1e40af !important}.status-badge.status-approved{background-color:#d1fae5 !important;color:#065f46 !important}.status-badge.status-inprogress{background-color:#e0e7ff !important;color:#3730a3 !important}.status-badge.status-done{background-color:#d1fae5 !important;color:#065f46 !important}.status-badge.status-closed{background-color:#f3f4f6 !important;color:#374151 !important}.status-badge.success{background-color:#d1fae5 !important;color:#065f46 !important}.status-badge.warning{background-color:#fef3c7 !important;color:#92400e !important}.status-badge.error{background-color:#fee2e2 !important;color:#dc2626 !important}.status-badge.info{background-color:#e0e7ff !important;color:#3730a3 !important}.status-badge-wrapper{position:relative;display:inline-block}.status-badge.clickable{cursor:pointer;transition:opacity .15s}.status-badge.clickable:hover{opacity:.8}.status-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.status-dot.status-new{background:#3b82f6}.status-dot.status-in-progress{background:#6366f1}.status-dot.status-order-parts{background:#f59e0b}.status-dot.status-holding-parts{background:#f97316}.status-dot.status-hold-auth{background:#ec4899}.status-dot.status-holding-sublet{background:#8b5cf6}.status-dot.status-holding-other{background:#6b7280}.status-dot.status-payment-due{background:#22c55e}.status-dot.status-credit-due{background:#eab308}.status-dot.status-paid{background:#10b981}.status-dot.status-voided{background:#ef4444}.status-dot.status-posted{background:#9ca3af}.priority-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.priority-dot.priority-1{background:#ef4444}.priority-dot.priority-2{background:#f97316}.priority-dot.priority-3{background:#3b82f6}.priority-dot.priority-4{background:#6b7280}.priority-tag{display:inline-block !important;background:#f1f5f9 !important;color:#475569 !important;padding:4px 10px !important;border-radius:12px !important;font-size:12px !important;font-weight:600 !important;white-space:nowrap !important}.urgent-tag{display:inline-flex !important;align-items:center !important;gap:4px !important;background:#1e293b !important;color:#fff !important;padding:4px 8px !important;border-radius:12px !important;font-size:11px !important;font-weight:600 !important;white-space:nowrap !important}.technician-badge{display:inline-block !important;padding:4px 12px !important;border-radius:12px !important;font-size:12px !important;font-weight:500 !important}.technician-badge.assigned{background-color:#dbeafe !important;color:#1e40af !important}.technician-badge.unassigned{background-color:#f1f5f9 !important;color:#64748b !important}.notification-icon-container{position:relative !important;width:20px !important;height:20px !important;display:flex !important;align-items:center !important;justify-content:center !important}.notification-icon{width:20px !important;height:20px !important;object-fit:contain !important;display:block !important}.notification-badge{position:absolute !important;top:-6px !important;right:-6px !important;background:#ef4444 !important;color:#fff !important;border-radius:10px !important;padding:2px 6px !important;font-size:11px !important;font-weight:600 !important;min-width:18px !important;text-align:center !important;z-index:10 !important;line-height:1.2 !important}.job-status-badge{display:inline-block !important;padding:4px 10px !important;border-radius:4px !important;font-size:12px !important;font-weight:600 !important;text-transform:capitalize !important;white-space:nowrap !important;width:auto !important;height:auto !important;line-height:1.3 !important}.job-status-badge.approved{background-color:#10b981 !important;color:#fff !important}.job-status-badge.in-progress{background-color:#6366f1 !important;color:#fff !important}.job-status-badge.completed{background-color:#1e293b !important;color:#fff !important}.job-status-badge.holding{background-color:#f59e0b !important;color:#fff !important}.job-status-badge.paused{background-color:#6b7280 !important;color:#fff !important}.job-status-badge.pending{background-color:#e5e7eb !important;color:#374151 !important}.messages-list{display:flex !important;flex-direction:column !important;justify-content:flex-end !important;gap:4px !important;overflow-x:hidden !important;padding-bottom:8px !important;min-height:100% !important}.message-content .message-text,.message-item .message-content .message-text{font-size:15px !important;line-height:1.5 !important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Inter","Roboto",sans-serif !important;word-wrap:break-word !important;color:#1f2937 !important;margin:0 !important;white-space:pre-wrap !important;display:block !important}.message-item.own-message .message-content .message-text{color:#fff !important}.message-time{font-size:11px !important;color:#94a3b8 !important;white-space:nowrap !important;opacity:0 !important;visibility:hidden !important;transform:translateX(8px) !important;transition:opacity .15s ease-out,transform .15s ease-out,visibility .15s ease-out !important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Inter","Roboto",sans-serif !important;pointer-events:none !important;margin-bottom:2px !important;line-height:1 !important;min-width:50px !important;font-weight:400 !important}.message-item:hover .message-time{opacity:1 !important;visibility:visible !important;transform:translateX(0) !important}.message-input-container{padding:16px 24px !important;border-top:1px solid #e5e7eb !important;background:#fff !important;flex-shrink:0 !important;position:relative !important;z-index:10 !important;pointer-events:auto !important}.message-input-wrapper{display:flex !important;gap:12px !important;align-items:flex-end !important}.message-textarea{flex:1 !important;padding:10px 12px !important;border:1px solid #e5e7eb !important;border-radius:8px !important;font-size:14px !important;font-family:var(--font-family) !important;resize:none !important;min-height:40px !important;max-height:120px !important;pointer-events:auto !important;background:#fff !important;color:#1f2937 !important;line-height:1.5 !important;box-sizing:border-box !important}.message-textarea:focus{outline:none !important;border-color:#2970fe !important;box-shadow:0 0 0 .1rem rgba(41,112,254,.25) !important}.message-textarea::placeholder{color:#94a3b8 !important}.date-separator{display:flex !important;align-items:center !important;gap:12px !important;margin:16px 0 !important;width:100% !important}.date-separator-line{flex:1 !important;height:1px !important;background:#e5e7eb !important}.date-separator-text{font-size:12px !important;color:#64748b !important;font-weight:500 !important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Inter","Roboto",sans-serif !important;white-space:nowrap !important}.conversation-name-row{display:flex !important;justify-content:space-between !important;align-items:center !important;width:100% !important}.conversation-time{font-size:11px !important;color:#94a3b8 !important;font-family:var(--font-family) !important;white-space:nowrap !important;margin-left:8px !important}.sms-conversation-panel{position:fixed;bottom:16px;right:16px;width:290px;height:33.33vh;min-height:280px;max-height:500px;background:#1c1e21;border-radius:12px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 8px 32px rgba(0,0,0,.3);z-index:10002}@media(max-width: 640px){.sms-conversation-panel{width:calc(100% - 32px);right:16px;left:16px;bottom:80px}}.sms-conversation-header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#242526;border-bottom:1px solid #3e4042;flex-shrink:0}.sms-close-button{background:rgba(0,0,0,0);border:none;padding:6px;cursor:pointer;color:#b0b3b8;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s}.sms-close-button:hover{background-color:#3a3b3c;color:#e4e6eb}.sms-conversation-title{display:flex;flex-direction:column;flex:1}.sms-customer-name{font-size:14px;font-weight:600;color:#e4e6eb}.sms-customer-phone{font-size:11px;color:#b0b3b8}.sms-messages-container{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:4px;background:#1c1e21}.sms-loading,.sms-empty{display:flex;align-items:center;justify-content:center;height:100%;color:#b0b3b8;font-size:13px}.sms-message{display:flex;max-width:80%}.sms-message.inbound{align-self:flex-start}.sms-message.inbound .sms-message-bubble{background:#3a3b3c;color:#e4e6eb;border-radius:16px 16px 16px 4px}.sms-message.inbound .sms-message-time{color:#b0b3b8}.sms-message.outbound{align-self:flex-end}.sms-message.outbound .sms-message-bubble{background:#0084ff;color:#fff;border-radius:16px 16px 4px 16px}.sms-message.outbound .sms-message-time,.sms-message.outbound .sms-message-status{color:hsla(0,0%,100%,.6)}.sms-message.outbound .sms-message-status.failed{color:#ff6b6b}.sms-message-bubble{padding:6px 10px;max-width:100%}.sms-message-text{font-size:13px;line-height:1.35;word-wrap:break-word}.sms-message-meta{display:flex;align-items:center;gap:6px;margin-top:2px;font-size:10px}.sms-message-time{color:#b0b3b8}.sms-message-status{color:#b0b3b8}.sms-message-status.pending{font-style:italic}.sms-message-status.failed{color:#ff6b6b}.sms-input-container{display:flex;align-items:flex-end;padding:8px 10px;background:#242526;border-top:1px solid #3e4042;gap:6px;flex-shrink:0}.sms-input-container.has-text .sms-input-actions{width:0;opacity:0;overflow:hidden;margin-right:-6px}.sms-input-actions{display:flex;gap:2px;width:68px;opacity:1;transition:width .5s ease,opacity .3s ease,margin-right .5s ease;flex-shrink:0}.sms-action-btn{background:rgba(0,0,0,0);border:none;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#0084ff;transition:all .2s}.sms-action-btn:hover:not(:disabled){background:#3a3b3c}.sms-action-btn:disabled{color:#65676b;cursor:not-allowed}.sms-action-btn svg{width:18px;height:18px}.sms-input-wrapper{flex:1;position:relative}.sms-input-wrapper textarea{width:100%;padding:8px 12px;border:none;border-radius:18px;font-size:13px;resize:none;outline:none;min-height:34px;max-height:80px;font-family:inherit;background:#3a3b3c;color:#e4e6eb}.sms-input-wrapper textarea::placeholder{color:#b0b3b8}.sms-input-wrapper textarea:disabled{background-color:#2d2e30;cursor:not-allowed}.sms-send-button{background:rgba(0,0,0,0);border:none;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#0084ff;flex-shrink:0;transition:all .2s}.sms-send-button:hover:not(:disabled){background:#3a3b3c}.sms-send-button:disabled{color:#65676b;cursor:not-allowed}.sms-send-button svg{width:18px;height:18px;fill:currentColor}.concerns-section{margin-bottom:0 !important}.concerns-list{padding:0 !important}.concern-card{background:#fff !important;box-shadow:0 1px 2px rgba(0,0,0,.05) !important}.concern-card-header{display:flex !important;justify-content:space-between !important;align-items:center !important;padding:16px !important;cursor:pointer !important;gap:16px !important}.concern-card-title-section{flex:1 !important;min-width:0 !important}.concern-card-actions-section{display:flex !important;align-items:center !important;gap:8px !important}.concern-card-content{background:#f8f9fa !important}.concerns-list-section{margin-bottom:16px !important;padding-bottom:16px !important;border-bottom:1px solid #e2e8f0 !important}.concerns-list-section h4{margin:0 0 12px 0 !important;color:#0f172a !important;font-size:16px !important;font-weight:600 !important;font-family:var(--font-family) !important}.concern-item{padding:8px 0 !important;border-bottom:1px solid #e2e8f0 !important}.concern-item:last-child{border-bottom:none !important}.concern-text{color:#0f172a !important;font-size:14px !important;font-family:var(--font-family) !important}.authorization-summary{margin-bottom:32px !important;padding:24px !important;background:#f8fafc !important;border-radius:8px !important;border:1px solid #e2e8f0 !important}.authorization-summary .vehicle-info{margin:0 0 16px 0 !important;color:#64748b !important;font-size:14px !important;font-family:var(--font-family) !important}.summary-header h3{margin:0 0 8px 0 !important;color:#0f172a !important;font-size:20px !important;font-family:var(--font-family) !important}.approved-jobs-list{margin-bottom:16px !important}.approved-jobs-list h4{margin:0 0 12px 0 !important;color:#0f172a !important;font-size:16px !important;font-weight:600 !important;font-family:var(--font-family) !important}.approved-job-item{display:flex !important;justify-content:space-between !important;padding:8px 0 !important;border-bottom:1px solid #e2e8f0 !important}.approved-job-item:last-child{border-bottom:none !important}.job-name{color:#0f172a !important;font-family:var(--font-family) !important}.job-amount{color:#0f172a !important;font-weight:500 !important;font-family:var(--font-family) !important}.total-section{margin-top:16px !important;padding-top:16px !important;border-top:2px solid #e2e8f0 !important}.total-line{display:flex !important;justify-content:space-between !important;align-items:center !important}.total-label{font-size:18px !important;font-weight:600 !important;color:#0f172a !important;font-family:var(--font-family) !important}.total-value{font-size:24px !important;font-weight:700 !important;color:#2970fe !important;font-family:var(--font-family) !important}.global-search{position:relative;display:flex;align-items:center;margin-left:16px}.search-dropdown-section{border-bottom:1px solid #f1f5f9}.search-dropdown-section:last-child{border-bottom:none}.search-dropdown-header{padding:8px 16px;font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;background:#f8fafc}.customer-group{border-bottom:1px solid #e5e7eb}.customer-group:last-child{border-bottom:none}.search-dropdown-item{padding:10px 16px;cursor:pointer;transition:background .15s}.search-dropdown-item:hover{background:#f1f5f9}.search-dropdown-item.customer-header{background:#f8fafc}.search-dropdown-item.customer-header .item-primary{font-weight:600}.search-dropdown-item.customer-header.disabled{cursor:default}.search-dropdown-item.customer-header.disabled:hover{background:#f8fafc}.search-dropdown-item.vehicle-item{padding:8px 16px 8px 32px;border-left:2px solid #3b82f6;margin-left:16px;background:#fff}.search-dropdown-item.vehicle-item:hover{background:#eff6ff}.search-dropdown-item.vehicle-item.no-vehicles{cursor:default;border-left-color:#e2e8f0}.search-dropdown-item.vehicle-item.no-vehicles:hover{background:#fff}.search-dropdown-item .item-primary{display:block;font-size:14px;font-weight:500;color:#1e293b}.search-dropdown-item .item-secondary{display:block;font-size:12px;color:#64748b;margin-top:2px}.search-dropdown-message{padding:20px 16px;text-align:center;font-size:13px;color:#64748b}.modal-search-dropdown{margin-top:8px;max-height:280px;overflow-y:auto;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1)}.search-backdrop{position:fixed;inset:0;z-index:99}.customer-vehicle-search{position:relative;display:flex;flex-direction:column}.customer-vehicle-search .search-results-container{position:relative}.customer-vehicle-search.global-search{flex-direction:row;align-items:center;margin-left:16px}.customer-vehicle-search.global-search .search-results-container{position:absolute;top:calc(100% + 8px);left:0;width:380px;z-index:10000}.customer-vehicle-search.global-search .global-search-dropdown{max-height:450px;overflow-y:auto;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 10px 40px rgba(0,0,0,.2)}.customer-vehicle-search .search-input-wrapper{position:relative;display:flex;align-items:center;flex:1}.customer-vehicle-search .search-input-wrapper .search-icon{position:absolute;left:12px;color:#94a3b8;pointer-events:none;z-index:1}.customer-vehicle-search .search-input{width:100%;padding:10px 36px 10px 40px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:var(--font-family);background:#fff;color:#1e293b;transition:border-color .2s,box-shadow .2s}.customer-vehicle-search .search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.customer-vehicle-search .search-input::placeholder{color:#94a3b8}.customer-vehicle-search .search-clear{position:absolute;right:10px;width:20px;height:20px;display:flex;align-items:center;justify-content:center;background:#e2e8f0;border:none;border-radius:50%;color:#64748b;font-size:14px;cursor:pointer;transition:all .15s}.customer-vehicle-search .search-clear:hover{background:#cbd5e1;color:#475569}.customer-vehicle-search.global-search .search-input-wrapper .search-icon{color:#cbd5e1 !important}.customer-vehicle-search.global-search .search-input{width:380px !important;padding:10px 36px 10px 40px !important;background:hsla(0,0%,100%,.12) !important;border:1px solid hsla(0,0%,100%,.25) !important;border-radius:8px !important;color:#fff !important;font-size:14px !important}.customer-vehicle-search.global-search .search-input::placeholder{color:#cbd5e1 !important}.customer-vehicle-search.global-search .search-input:focus{background:hsla(0,0%,100%,.18) !important;border-color:hsla(0,0%,100%,.4) !important;box-shadow:none !important}.customer-vehicle-search.global-search .search-clear{background:hsla(0,0%,100%,.1) !important;color:#94a3b8 !important}.customer-vehicle-search.global-search .search-clear:hover{background:hsla(0,0%,100%,.2) !important;color:#fff !important}@media(max-width: 1100px){.customer-vehicle-search.global-search .search-input{width:240px !important}}@media(max-width: 768px){.global-search{margin-left:8px}.customer-vehicle-search.global-search .search-input{width:160px !important}.global-search-dropdown{width:280px;right:0;left:auto}}.search-box{position:relative !important;display:flex !important;align-items:center !important;flex:1;max-width:400px;min-width:200px}.search-box-icon{position:absolute !important;left:14px !important;top:50% !important;transform:translateY(-50%) !important;color:#94a3b8 !important;pointer-events:none !important;z-index:1 !important;flex-shrink:0 !important}.search-box-input{width:100% !important;padding:10px 36px 10px 42px !important;border:1px solid #e2e8f0 !important;border-radius:8px !important;font-size:14px !important;font-family:var(--font-family) !important;background:#fff !important;color:#1e293b !important;transition:border-color .2s,box-shadow .2s !important}.search-box-input:focus{outline:none !important;border-color:#3b82f6 !important;box-shadow:0 0 0 3px rgba(59,130,246,.1) !important}.search-box-input::placeholder{color:#94a3b8 !important}.search-box-clear{position:absolute;right:10px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:none;background:#e2e8f0;border-radius:50%;color:#64748b;cursor:pointer;transition:all .15s}.search-box-clear:hover{background:#cbd5e1;color:#475569}.search-box-clear svg{flex-shrink:0}.search-input{font-family:var(--font-family) !important;background:#fff !important;color:#0f172a !important;padding:10px 40px 10px 42px !important}.search-input-group{position:relative !important}.search-input-group .search-icon{position:absolute !important;left:14px !important;top:50% !important;transform:translateY(-50%) !important;color:#94a3b8 !important;pointer-events:none !important;font-size:16px !important;line-height:1 !important}.modal-body .search-input-group .search-input{padding:10px 40px 10px 42px !important}.modal-body .customer-vehicle-search .search-input{padding:10px 36px 10px 40px !important}.search-icon{position:absolute !important;left:14px !important;top:50% !important;transform:translateY(-50%) !important;color:#94a3b8 !important;pointer-events:none !important;font-size:16px !important;line-height:1 !important}.search-results{margin-top:8px !important;display:flex !important;flex-direction:column !important;gap:8px !important;max-height:200px !important;overflow-y:auto !important;padding:4px !important}.search-result-item{padding:12px 16px !important;cursor:pointer !important;border:1px solid #e5e7eb !important;border-radius:8px !important;background:#fff !important;transition:all .2s !important;box-shadow:0 1px 2px rgba(0,0,0,.05) !important}.search-result-item:hover{background-color:#f8f9fa !important;border-color:#cbd5e1 !important;box-shadow:0 2px 4px rgba(0,0,0,.08) !important}.search-result-item.selected{background-color:#eff6ff !important;border:2px solid #2970fe !important;box-shadow:0 2px 8px rgba(41,112,254,.15) !important}.search-result-item.selected .customer-title,.search-result-item.selected .vehicle-title{color:#2970fe !important;font-weight:600 !important}.customer-title{font-weight:600 !important;font-size:15px !important;font-family:var(--font-family) !important;margin-bottom:4px !important}.vehicle-title{font-weight:600 !important;font-size:15px !important;font-family:var(--font-family) !important;margin-bottom:6px !important}.customer-details,.vehicle-details{font-family:var(--font-family) !important}.customer-info-card{background:#f8f9fa !important;border-radius:8px !important;margin-top:12px !important}.ai-panel{width:0;min-width:0;height:100%;background:var(--surface-color, #1a1a2e);border-left:1px solid rgba(0,0,0,0);display:flex;flex-direction:column;transition:width .3s ease,border-color .3s ease,opacity .2s ease;overflow:hidden;flex-shrink:0;opacity:0;visibility:hidden}.ai-panel-open{width:400px;min-width:400px;border-left-color:var(--border-color, #2d2d44);opacity:1;visibility:visible}.ai-panel>*{min-width:400px}.ai-panel-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);border-bottom:1px solid hsla(0,0%,100%,.1)}.ai-panel-title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#fff}.ai-icon{font-size:20px}.ai-panel-close{background:hsla(0,0%,100%,.2);border:none;color:#fff;width:28px;height:28px;border-radius:6px;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;transition:background .2s}.ai-panel-close:hover{background:hsla(0,0%,100%,.3)}.ai-panel-content{flex:1;display:flex;flex-direction:column;overflow:hidden}.ai-chat-container{flex:1;display:flex;flex-direction:column;overflow:hidden}.ai-input-container{display:flex;flex-direction:column;gap:12px;padding:16px;background:var(--surface-elevated, #252540);border-top:1px solid var(--border-color, #2d2d44);flex:1;min-height:50%}.ai-messages{flex:1;max-height:50%;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px}.ai-welcome{text-align:center;padding:24px 16px;color:var(--text-secondary, #a0a0b0)}.ai-welcome-icon{font-size:48px;margin-bottom:16px}.ai-welcome h3{color:var(--text-primary, #fff);margin:0 0 8px 0;font-size:18px}.ai-welcome p{margin:0 0 20px 0;font-size:14px}.ai-quick-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ai-quick-action{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 12px;background:var(--surface-elevated, #252540);border:1px solid var(--border-color, #2d2d44);border-radius:10px;cursor:pointer;transition:all .2s;color:var(--text-primary, #fff)}.ai-quick-action:hover{background:var(--surface-hover, #2d2d50);border-color:#6366f1;transform:translateY(-2px)}.ai-quick-action .action-icon{font-size:24px}.ai-quick-action span:last-child{font-size:12px;font-weight:500}.ai-quick-action.active{background:linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);border-color:rgba(0,0,0,0)}.ai-mode-indicator{display:flex;align-items:center;gap:8px;padding:8px 12px;background:linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);border:1px solid rgba(99,102,241,.3);border-radius:8px;margin-bottom:12px}.ai-mode-indicator .mode-icon{font-size:16px}.ai-mode-indicator .mode-label{flex:1;font-size:13px;font-weight:500;color:#a5b4fc}.ai-mode-indicator .mode-clear{background:hsla(0,0%,100%,.1);border:none;color:hsla(0,0%,100%,.6);width:20px;height:20px;border-radius:4px;cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center}.ai-mode-indicator .mode-clear:hover{background:hsla(0,0%,100%,.2);color:#fff}.ai-message{display:flex;gap:10px;max-width:90%}.ai-message-user{align-self:flex-end;flex-direction:row-reverse}.ai-message-assistant{align-self:flex-start}.ai-avatar{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);display:flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0}.ai-message-content{padding:10px 14px;border-radius:12px;font-size:14px;line-height:1.5}.ai-message-user .ai-message-content{background:#6366f1;color:#fff;border-bottom-right-radius:4px}.ai-message-assistant .ai-message-content{background:var(--surface-elevated, #252540);color:var(--text-primary, #fff);border-bottom-left-radius:4px}.ai-typing{display:flex;gap:4px;padding:14px !important}.ai-typing span{width:8px;height:8px;background:#6366f1;border-radius:50%;animation:typing 1.4s infinite ease-in-out}.ai-typing span:nth-child(2){animation-delay:.2s}.ai-typing span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,80%,100%{transform:scale(0.6);opacity:.5}40%{transform:scale(1);opacity:1}}.ai-input{flex:1;background:var(--surface-color, #1a1a2e);border:1px solid var(--border-color, #2d2d44);border-radius:8px;padding:12px 14px;color:var(--text-primary, #fff);font-size:14px;resize:none;min-height:100px;font-family:inherit;line-height:1.5}.ai-input:focus{outline:none;border-color:#6366f1}.ai-input::placeholder{color:var(--text-tertiary, #666);white-space:pre-line}.ai-interim-text{display:flex;align-items:center;gap:8px;padding:8px 12px;background:rgba(99,102,241,.1);border:1px solid rgba(99,102,241,.3);border-radius:6px;font-size:13px;color:#a5b4fc;font-style:italic}.listening-indicator{width:8px;height:8px;background:#ef4444;border-radius:50%;animation:blink 1s infinite}@keyframes blink{0%,50%{opacity:1}51%,100%{opacity:.3}}.ai-input-actions{display:flex;gap:8px;justify-content:flex-end}.ai-mic-btn{width:44px;height:44px;background:var(--surface-color, #1a1a2e);border:1px solid var(--border-color, #2d2d44);border-radius:8px;color:var(--text-secondary, #a0a0b0);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.ai-mic-btn:hover:not(:disabled){border-color:#6366f1;color:#a5b4fc}.ai-mic-btn.listening{background:linear-gradient(135deg, #ef4444 0%, #dc2626 100%);border-color:rgba(0,0,0,0);color:#fff;animation:pulse 1.5s infinite}.ai-mic-btn:disabled{opacity:.5;cursor:not-allowed}@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}.ai-send-btn{width:44px;height:44px;background:linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s,transform .2s}.ai-send-btn:hover:not(:disabled){transform:scale(1.05)}.ai-send-btn:disabled{opacity:.5;cursor:not-allowed}.ai-form-container{padding:20px;overflow-y:auto;flex:1}.ai-form-container h3{margin:0 0 20px 0;color:var(--text-primary, #fff);font-size:16px}.ai-form-container h4{margin:20px 0 12px 0;color:var(--text-primary, #fff);font-size:14px}.ai-form-group{margin-bottom:16px}.ai-form-group label{display:block;margin-bottom:6px;font-size:13px;color:var(--text-secondary, #a0a0b0)}.ai-form-group input,.ai-form-group textarea{width:100%;background:var(--surface-color, #1a1a2e);border:1px solid var(--border-color, #2d2d44);border-radius:8px;padding:10px 12px;color:var(--text-primary, #fff);font-size:14px}.ai-form-group input:focus,.ai-form-group textarea:focus{outline:none;border-color:#6366f1}.ai-form-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.ai-form-actions{display:flex;gap:10px;margin-top:20px}.ai-form-actions .btn-secondary{flex:1;padding:10px 16px;background:var(--surface-elevated, #252540);border:1px solid var(--border-color, #2d2d44);border-radius:8px;color:var(--text-primary, #fff);cursor:pointer;font-size:14px}.ai-form-actions .btn-primary{flex:1;padding:10px 16px;background:linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:500}.ai-form-actions .btn-primary:disabled{opacity:.6;cursor:not-allowed}.ai-suggestions{margin-top:24px;padding-top:20px;border-top:1px solid var(--border-color, #2d2d44)}.ai-job-card{background:var(--surface-elevated, #252540);border:1px solid var(--border-color, #2d2d44);border-radius:10px;padding:14px;margin-bottom:10px}.ai-job-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.ai-job-title{font-weight:500;color:var(--text-primary, #fff);font-size:14px}.ai-job-price{font-weight:600;color:#10b981;font-size:14px}.ai-job-details{display:flex;gap:12px;font-size:12px;color:var(--text-secondary, #a0a0b0)}.ai-parts-count{color:#6366f1}.ai-inspection-list{margin:0;padding-left:20px;color:var(--text-secondary, #a0a0b0);font-size:13px;line-height:1.8}.ai-inspection-list li{margin-bottom:4px}.ai-message-box{padding:14px;border-radius:8px;margin-top:16px;font-size:14px}.ai-success{background:rgba(16,185,129,.15);border:1px solid rgba(16,185,129,.3);color:#10b981}.ai-error{background:rgba(239,68,68,.15);border:1px solid rgba(239,68,68,.3);color:#ef4444}.ai-draft-actions{margin-top:16px;padding-top:16px;border-top:1px solid var(--border-color, #2d2d44);display:flex;gap:12px}.ai-accept-btn{flex:1;padding:14px 20px;background:linear-gradient(135deg, #10b981 0%, #059669 100%);border:none;border-radius:10px;color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px}.ai-accept-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px rgba(16,185,129,.4)}.ai-accept-btn:disabled{opacity:.6;cursor:not-allowed}.ai-reject-btn{padding:14px 20px;background:rgba(239,68,68,.15);border:1px solid rgba(239,68,68,.3);border-radius:10px;color:#ef4444;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s}.ai-reject-btn:hover:not(:disabled){background:rgba(239,68,68,.25)}.ai-reject-btn:disabled{opacity:.6;cursor:not-allowed}.ai-go-to-board-btn{width:100%;padding:14px 20px;background:linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);border:none;border-radius:10px;color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px}.ai-go-to-board-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(99,102,241,.4)}.login-layout{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg, #f8fafc 0%, #eef3fd 100%);padding:24px}.login-container{display:flex;flex-direction:column;align-items:center;width:100%;max-width:400px}.login-brand{display:flex;align-items:center;gap:10px;margin-bottom:24px}.login-brand-mark{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:#2970fe;color:#fff;font-size:22px;font-weight:700}.login-brand-name{font-family:var(--font-family);font-size:22px;font-weight:700;color:#0f172a;letter-spacing:-0.02em}.login-field{margin-bottom:16px}.login-field label{display:block;font-family:var(--font-family);font-size:13px;font-weight:500;color:#334155;margin-bottom:6px}.login-alert{font-family:var(--font-family);font-size:13px;border-radius:6px;padding:10px 12px;margin-bottom:16px}.login-alert.login-alert-error{background:#fee2e2;color:#991b1b}.login-alert.login-alert-notice{background:#dbeafe;color:#1e40af}.login-links{display:flex;justify-content:center;gap:20px;margin-top:20px}.login-links a{font-family:var(--font-family);font-size:13px;color:#2970fe;text-decoration:none}.login-links a:hover{text-decoration:underline}.login-card{background:#fff !important;border-radius:8px !important;box-shadow:0 2px 8px rgba(0,0,0,.1) !important;padding:40px !important;width:100% !important;max-width:400px !important}.login-title{font-family:var(--font-family) !important;font-size:28px !important;font-weight:600 !important;color:#0f172a !important;margin:0 0 8px 0 !important;text-align:center !important}.login-subtitle{font-family:var(--font-family) !important;font-size:14px !important;color:#64748b !important;margin:0 0 32px 0 !important;text-align:center !important}.login-container .form-control,.login-container input.form-control,.login-container input[type=text],.login-container input[type=password],.login-container input[type=email]{width:100% !important;padding:12px !important;border:1px solid #e2e8f0 !important;border-radius:6px !important;font-family:var(--font-family) !important;font-size:14px !important;transition:border-color .2s !important;box-sizing:border-box !important;background-color:#fff !important;color:#0f172a !important;line-height:1.5 !important}.login-container .form-control:focus,.login-container input.form-control:focus,.login-container input[type=text]:focus,.login-container input[type=password]:focus,.login-container input[type=email]:focus{outline:none !important;border-color:#2970fe !important;box-shadow:0 0 0 .1rem rgba(41,112,254,.25) !important}.login-container .btn-login,.login-container button.btn-login,.login-container button[type=submit]{width:100% !important;padding:12px !important;background:#2970fe !important;color:#fff !important;border:none !important;border-radius:6px !important;font-family:var(--font-family) !important;font-size:14px !important;font-weight:500 !important;cursor:pointer !important;transition:background .2s !important;margin-top:8px !important;box-shadow:none !important}.dashboard{padding:16px 24px 24px;max-width:100%}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:16px}.dashboard-header h1{font-size:28px;font-weight:600;color:var(--color-text);margin:0}.dashboard-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.time-filter-group{display:flex;background:#f3f4f6;border-radius:8px;padding:4px}.time-btn{padding:8px 16px;background:rgba(0,0,0,0);border:none;border-radius:6px;font-size:14px;font-weight:500;color:#64748b;cursor:pointer;transition:all .2s}.time-btn:hover{color:#374151}.time-btn.active{background:#fff;color:#0f172a;box-shadow:0 1px 3px rgba(0,0,0,.1)}.date-range-wrapper{position:relative}.date-range-btn{display:flex;align-items:center;gap:8px;padding:8px 14px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-weight:500;color:#374151;cursor:pointer;transition:all .2s}.date-range-btn:hover{background:#f8fafc;border-color:#cbd5e1}.date-picker-backdrop{position:fixed;inset:0;z-index:99}.date-picker-dropdown{position:absolute;top:calc(100% + 8px);right:0;z-index:100;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;box-shadow:0 10px 40px rgba(0,0,0,.15);z-index:100;min-width:280px}.date-picker-row{margin-bottom:12px}.date-picker-row label{display:block;font-size:13px;font-weight:500;color:#64748b;margin-bottom:6px}.date-input{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px}.date-picker-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.date-picker-actions .btn-cancel{padding:8px 16px;background:rgba(0,0,0,0);border:1px solid #e2e8f0;border-radius:6px;font-size:14px;color:#64748b;cursor:pointer}.date-picker-actions .btn-cancel:hover{background:#f8fafc}.date-picker-actions .btn-apply{padding:8px 16px;background:var(--color-primary, #2970FE);border:none;border-radius:6px;font-size:14px;color:#fff;cursor:pointer}.date-picker-actions .btn-apply:hover{background:var(--color-primary-hover, #1450DC)}.dash-hero{display:grid;grid-template-columns:repeat(4, 1fr);gap:16px;margin-bottom:24px}.hero-tile{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px 20px;box-shadow:0 1px 3px rgba(0,0,0,.05);display:flex;flex-direction:column;gap:6px}.hero-tile.hero-accent{background:linear-gradient(135deg, var(--color-primary, #2970FE), #1450DC);border-color:rgba(0,0,0,0);box-shadow:0 6px 20px rgba(41,112,254,.28)}.hero-tile.hero-accent .hero-label,.hero-tile.hero-accent .hero-sub{color:hsla(0,0%,100%,.85)}.hero-tile.hero-accent .hero-value{color:#fff}.hero-tile.hero-accent .trend-badge{background:hsla(0,0%,100%,.22);color:#fff}.hero-label{font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.4px}.hero-value-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.hero-value{font-size:30px;font-weight:700;color:#0f172a;line-height:1.1}.hero-sub{font-size:12px;color:#94a3b8}.dashboard-main{display:grid;grid-template-columns:320px 1fr;gap:24px;margin-bottom:24px}.kpi-score-section{display:flex;flex-direction:column}.kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;box-shadow:0 1px 3px rgba(0,0,0,.05);height:fit-content}.kpi-card-inner{display:flex;flex-direction:column;align-items:center;gap:16px}.kpi-info{width:100%;min-width:120px}.kpi-header{margin-bottom:12px}.kpi-title{font-size:13px;font-weight:600;color:#64748b}.kpi-score{display:flex;flex-direction:column;gap:8px}.score-label{font-size:22px;font-weight:700;color:#0f172a;line-height:1.2}.score-value-row{display:flex;align-items:center;gap:10px}.score-bars{display:flex;gap:3px}.score-bars .bar{width:8px;height:24px;background:#e5e7eb;border-radius:2px;transition:background .2s}.score-bars .bar.filled{background:#22c55e}.score-number{font-size:26px;font-weight:700;color:var(--color-primary, #2970FE)}.radar-chart-wrapper{width:100%;display:flex;justify-content:center;align-items:center}.radar-chart-container{width:100%;max-width:220px;aspect-ratio:1/1;height:auto}.radar-chart-container canvas{width:100% !important;height:100% !important}.metrics-column{display:flex;flex-direction:column;gap:24px}.metrics-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;box-shadow:0 1px 3px rgba(0,0,0,.05)}.metrics-section-title{font-size:16px;font-weight:600;color:#1e293b;margin:0 0 16px 0}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(200px, 1fr));gap:16px}.metric-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;padding:16px}.metric-card.with-gauge{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.metric-content{flex:1;min-width:0}.metric-header{margin-bottom:8px}.metric-label{font-size:13px;font-weight:600;color:#64748b;display:block;margin-bottom:6px}.metric-row,.metric-value-row{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.metric-value{font-size:24px;font-weight:700;color:#0f172a}.metric-value.positive-text{color:#22c55e}.metric-value.negative-text{color:#ef4444}.trend-badge{display:inline-flex;align-items:center;gap:2px;font-size:12px;font-weight:600;padding:3px 6px;border-radius:100px;white-space:nowrap}.trend-badge.positive{background:#dcfce7;color:#15803d}.trend-badge.negative{background:#fee2e2;color:#dc2626}.metric-goal{display:block;font-size:12px;color:#94a3b8;margin-top:4px}.metric-detail{display:block;font-size:11px;color:#94a3b8;margin-top:4px}.chart-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;box-shadow:0 1px 3px rgba(0,0,0,.05)}.chart-tabs{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.chart-tab{display:flex;align-items:center;gap:6px;padding:8px 16px;background:#f3f4f6;border:none;border-radius:8px;font-size:14px;font-weight:500;color:#64748b;cursor:pointer;transition:all .2s}.chart-tab:hover{background:#e5e7eb;color:#374151}.chart-tab.active{background:var(--color-primary, #2970FE);color:#fff}.legend-dot{width:10px;height:10px;border-radius:50%}.legend-dot.blue{background:var(--color-primary, #2970FE)}.legend-dot.green{background:#10b981}.chart-wrapper{position:relative;padding:0 40px}.chart-y-label{position:absolute;top:50%;transform:translateY(-50%) rotate(-90deg);font-size:12px;font-weight:500;color:#64748b}.chart-y-label.left{left:0}.chart-y-label.right{right:0}.chart-container{width:100%;height:300px}.chart-container canvas{width:100% !important;height:100% !important}.loading-state{display:flex;align-items:center;justify-content:center;padding:60px;color:#64748b;font-size:16px}.svg-gauge{display:flex;flex-direction:column;align-items:center;position:relative;flex-shrink:0}.svg-gauge.gauge-sm{width:70px}.svg-gauge.gauge-sm .gauge-value{font-size:14px;margin-top:-18px}.svg-gauge.gauge-sm .gauge-label{font-size:10px}.svg-gauge.gauge-md{width:90px}.svg-gauge.gauge-md .gauge-value{font-size:18px;margin-top:-22px}.svg-gauge.gauge-md .gauge-label{font-size:11px}.svg-gauge.gauge-lg{width:120px}.svg-gauge.gauge-lg .gauge-value{font-size:24px;margin-top:-28px}.svg-gauge.gauge-lg .gauge-label{font-size:13px}.svg-gauge .gauge-svg{width:100%;height:auto;display:block}.svg-gauge .gauge-value{font-weight:700;color:var(--color-text, #0f172a);text-align:center;line-height:1;position:relative}.svg-gauge .gauge-label{color:var(--color-text-muted, #64748b);font-weight:500;text-align:center;margin-top:4px}@media(max-width: 1024px){.dashboard-main{grid-template-columns:1fr}.kpi-card-inner{flex-direction:row}.dash-hero{grid-template-columns:repeat(2, 1fr)}}@media(max-width: 768px){.dashboard{padding:16px}.dashboard-header{flex-direction:column;align-items:flex-start}.dashboard-controls{width:100%}.time-filter-group{width:100%;justify-content:center}.dash-hero{grid-template-columns:1fr}.metrics-grid{grid-template-columns:1fr}.kpi-card{grid-template-columns:1fr}.chart-wrapper{padding:0}.chart-y-label{display:none}.metric-card.with-gauge{flex-direction:column}.metric-card.with-gauge .svg-gauge{align-self:center}}.repair-orders{padding:24px;max-width:100%;height:calc(100vh - 64px);display:flex;flex-direction:column;overflow:hidden}.repair-orders-header{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:20px}.repair-orders-header h1{font-size:24px;font-weight:600;color:#1e293b;margin:0;margin-right:auto}.header-controls{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.filter-sort-controls{display:flex;align-items:center;gap:8px}.status-filter-dropdown{position:relative}.status-filter-dropdown .dropdown-backdrop{display:none;position:fixed;inset:0;z-index:50}.status-filter-dropdown .status-filter-menu{display:none;position:absolute;top:100%;left:0;margin-top:4px;min-width:200px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 10px 25px rgba(0,0,0,.1);z-index:100;max-height:320px;overflow-y:auto}.status-filter-dropdown.open .dropdown-backdrop{display:block}.status-filter-dropdown.open .status-filter-menu{display:block}.status-filter-dropdown.open .dropdown-arrow{transform:rotate(180deg)}.status-filter-selected{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;cursor:pointer;font-size:14px;color:#475569;min-width:140px}.status-filter-selected:hover{border-color:#cbd5e1}.status-filter-selected .dropdown-arrow{margin-left:auto;color:#94a3b8}.status-option{padding:10px 16px;cursor:pointer;transition:background .15s}.status-option:hover{background:#f8fafc}.status-option:first-child{border-radius:8px 8px 0 0}.status-option:last-child{border-radius:0 0 8px 8px}.status-group-label{padding:8px 16px 4px;font-size:11px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}.status-pill{display:inline-flex;align-items:center;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:500;white-space:nowrap}.status-pill.status-new{background:#dbeafe;color:#1d4ed8}.status-pill.status-inprogress{background:#fef3c7;color:#d97706}.status-pill.status-orderparts{background:#fce7f3;color:#be185d}.status-pill.status-holdingforparts{background:#f3e8ff;color:#7c3aed}.status-pill.status-holdforauthorization{background:#ffedd5;color:#ea580c}.status-pill.status-holdingforsublet{background:#e0e7ff;color:#4f46e5}.status-pill.status-holdingforother{background:#f1f5f9;color:#475569}.status-pill.status-paymentdue{background:#dcfce7;color:#16a34a}.status-pill.status-creditdue{background:#fef9c3;color:#ca8a04}.status-pill.status-paid{background:#d1fae5;color:#059669}.sort-dropdown{padding:8px 32px 8px 12px;border:1px solid #e2e8f0;border-radius:8px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center;font-size:14px;color:#475569;cursor:pointer;appearance:none;min-width:140px}.sort-dropdown:focus{outline:none;border-color:#3b82f6}.header-actions{display:flex;align-items:center;gap:12px}.view-toggle{display:flex;background:#f1f5f9;border-radius:8px;padding:4px}.view-btn{display:flex;align-items:center;gap:6px;padding:8px 12px;border:none;background:rgba(0,0,0,0);border-radius:6px;font-size:13px;font-weight:500;color:#64748b;cursor:pointer;transition:all .2s}.view-btn svg{opacity:.7}.view-btn:hover{color:#475569;background:hsla(0,0%,100%,.5)}.view-btn.active{background:#fff;color:#1e293b;box-shadow:0 1px 3px rgba(0,0,0,.1)}.view-btn.active svg{opacity:1}.new-ro-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#111926;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background .2s}.new-ro-btn svg{flex-shrink:0}.new-ro-btn:hover{background:rgb(32.7636363636,48.1818181818,73.2363636364)}.header-menu{position:relative}.header-menu-backdrop{position:fixed;inset:0;z-index:99}.menu-trigger{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;font-size:18px;color:#64748b;cursor:pointer;transition:all .2s}.menu-trigger:hover{background:#f8fafc;border-color:#cbd5e1}.menu-dropdown{position:absolute;top:100%;right:0;margin-top:4px;min-width:180px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 10px 25px rgba(0,0,0,.1);z-index:100}.menu-item{display:flex;align-items:center;gap:10px;width:100%;padding:12px 16px;border:none;background:rgba(0,0,0,0);font-size:14px;color:#475569;cursor:pointer;text-align:left;transition:background .15s}.menu-item:hover{background:#f8fafc}.menu-item:first-child{border-radius:8px 8px 0 0}.menu-item:last-child{border-radius:0 0 8px 8px}.menu-item .menu-icon{font-size:16px}.repair-orders-main{flex:1;overflow:hidden}.repair-orders-main .swimlane-container{display:grid !important;grid-template-columns:repeat(3, minmax(400px, 1fr)) !important;gap:20px !important;height:100% !important;min-height:0 !important;overflow-x:auto !important}.repair-orders-main .swimlane-column{display:flex !important;flex-direction:column !important;background:#f8fafc !important;border-radius:12px !important;padding:16px !important;min-height:0 !important;overflow:hidden !important;min-width:400px !important}.repair-orders-main .swimlane-column h5{margin:0 0 16px 0 !important;font-size:14px !important;font-weight:600 !important;color:#64748b !important;text-transform:uppercase !important;letter-spacing:.05em !important}.repair-orders-main .swimlane{flex:1 !important;overflow-y:auto !important;display:flex !important;flex-direction:column !important;gap:12px !important;padding-right:4px !important}.repair-orders-main .swimlane::-webkit-scrollbar{width:6px}.repair-orders-main .swimlane::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.repair-orders-main .swimlane::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.ro-card-container{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:14px;cursor:pointer;transition:all .2s}.ro-card-container:hover{border-color:#cbd5e1;box-shadow:0 4px 12px rgba(0,0,0,.05)}.ro-card-container.lifecycle-completed{background:#f8fafc;border-color:#e8edf3}.ro-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px}.ro-card-condensed{padding:10px}.ro-card-condensed .ro-card-topline{margin-bottom:5px}.ro-card-condensed .ro-card-number{font-size:13px}.ro-card-condensed .ro-card-total{font-size:14px}.ro-card-condensed .ro-card-content{margin-bottom:5px}.ro-card-condensed .ro-card-badges{gap:4px}.ro-card-condensed .ro-card-date{margin-bottom:6px}.ro-card-left{flex:1;min-width:0}.ro-card-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.priority-badge{display:inline-flex;align-items:center;justify-content:center;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:600}.priority-badge.priority-1{background:#fee2e2;color:#dc2626}.priority-badge.priority-2{background:#fef3c7;color:#d97706}.priority-badge.priority-3{background:#dbeafe;color:#2563eb}.priority-badge.priority-4{background:#f1f5f9;color:#64748b}.priority-badge.clickable{cursor:pointer}.priority-badge.clickable:hover{filter:brightness(0.95)}.ro-card-number{font-size:14px;font-weight:600;color:#1e293b}.status-badge-wrapper{cursor:pointer}.ro-card-right{display:flex;align-items:flex-start;gap:4px;text-align:right}.ro-card-total{font-size:16px;font-weight:600;color:#1e293b}.ro-card-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.ro-card-topline>.ro-card-title-row{flex:1 1 auto;min-width:0}.ro-card-total-row{flex:0 0 auto;display:flex;align-items:center;gap:4px}.ro-card-content{margin-bottom:8px}.ro-card-content::after{content:"";display:block;clear:both}.ro-card-badges{float:right;margin:0 0 6px 10px;display:flex;flex-direction:column;align-items:flex-end;gap:6px;max-width:55%}.ro-card-badges .ro-card-tags,.ro-card-badges .tag-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;margin:0}.ro-card-content .ro-card-customer{display:block !important;margin-bottom:4px !important}.ro-card-content .customer-info{display:block !important;min-width:0 !important;white-space:normal !important;overflow:visible !important;text-overflow:clip !important}.ro-card-content .ro-card-vehicle-info{white-space:normal !important;overflow:visible !important;text-overflow:clip !important}.ro-card-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.vehicle-tag{padding:2px 8px;background:#e0e7ff;color:#4f46e5;border-radius:4px;font-size:11px;font-weight:500}.needs-authorization-tag{padding:2px 8px;background:#ffedd5;color:#c2410c;border-radius:4px;font-size:11px;font-weight:500}.ro-card-customer{font-size:13px;color:#1e293b;margin-bottom:4px}.ro-card-customer .customer-name{font-weight:500}.ro-card-customer .customer-phone{color:#64748b}.ro-card-vehicle-info{font-size:12px;color:#64748b;margin-bottom:8px}.ro-card-date{display:flex;align-items:center;gap:6px;font-size:12px;color:#94a3b8;margin-bottom:10px}.ro-card-date svg{flex-shrink:0}.ro-card-hours{display:flex;align-items:center;gap:8px}.ro-card-hours-value{font-size:12px;color:#64748b;min-width:70px}.ro-card-hours-progress{flex:1;height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden}.ro-card-hours-bar{height:100%;background:#3b82f6;border-radius:3px;transition:width .3s}.ro-card-status-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:10px;background:#f1f5f9;color:#64748b}.ro-card-status-icon.job-status-completed{background:#d1fae5;color:#059669}.ro-card-status-icon.job-status-workinprogress{background:#fef3c7;color:#d97706}.ro-card-status-icon.job-status-holdingforparts{background:#f3e8ff;color:#7c3aed}.ro-card-status-icon.job-status-approved{background:#dbeafe;color:#2563eb}.ro-card-container.ai-draft-card,.ai-draft-card{background:linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;border:1px solid #7dd3fc !important;border-radius:10px;padding:14px;cursor:pointer;transition:all .2s}.ro-card-container.ai-draft-card:hover,.ai-draft-card:hover{border-color:#38bdf8 !important;box-shadow:0 4px 12px rgba(56,189,248,.15)}.ai-draft-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.ai-draft-badge{padding:4px 10px;background:linear-gradient(135deg, #3b82f6, #8b5cf6);color:#fff;border-radius:12px;font-size:11px;font-weight:600}.ai-draft-time{font-size:11px;color:#64748b}.ai-draft-customer{font-size:13px;font-weight:500;color:#1e293b;margin-bottom:4px}.ai-draft-vehicle{font-size:12px;color:#64748b;margin-bottom:8px}.ai-draft-concerns{font-size:12px;color:#475569;padding:8px;background:hsla(0,0%,100%,.6);border-radius:6px;margin-bottom:10px}.ai-draft-actions-row{display:flex;justify-content:flex-end}.ai-draft-review-btn{padding:6px 14px;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;transition:background .2s}.ai-draft-review-btn:hover{background:#2563eb}.ro-card-menu-container{position:relative}.ro-card-menu-container .menu-dropdown{z-index:210}.ro-card-menu-btn{padding:0 4px;background:rgba(0,0,0,0);border:none;color:#64748b;font-size:16px;font-weight:700;line-height:1;cursor:pointer;border-radius:4px}.ro-card-menu-btn:hover{background:#f1f5f9;color:#1e293b}.ro-card-menu-backdrop{position:fixed;inset:0;z-index:200}.repair-orders .swimlane:empty::after{content:"No repair orders"}.special-view{flex:1;overflow:auto}.special-view-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.special-view-header h2{margin:0;font-size:20px;font-weight:600;color:#1e293b}.btn-back{padding:8px 16px;background:#f1f5f9;color:#475569;border:none;border-radius:8px;font-size:14px;cursor:pointer;transition:background .2s}.btn-back:hover{background:#e2e8f0}.special-view-content .table{width:100%;border-collapse:collapse;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.1)}.special-view-content .table th,.special-view-content .table td{padding:12px 16px;text-align:left}.special-view-content .table th{background:#f8fafc;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e2e8f0}.special-view-content .table td{font-size:14px;color:#1e293b;border-bottom:1px solid #f1f5f9}.special-view-content .table .ro-table-row{cursor:pointer;transition:background .15s}.special-view-content .table .ro-table-row:hover{background:#f8fafc}.status-badge{display:inline-flex;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:500}.status-badge.status-voided{background:#fee2e2;color:#dc2626}.status-badge.status-posted{background:#d1fae5;color:#059669}.btn-restore{padding:6px 12px;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:12px;cursor:pointer;transition:background .2s}.btn-restore:hover{background:#2563eb}.empty-state{text-align:center;padding:60px 20px;color:#64748b}.flow-view{flex:1;overflow:auto}.flow-header{display:grid;grid-template-columns:2fr 1.5fr 1.5fr 1fr;gap:16px;padding:12px 16px;background:#f8fafc;border-radius:8px;margin-bottom:8px}.flow-column-header{font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.flow-content{display:flex;flex-direction:column;gap:8px}.flow-row{display:grid;grid-template-columns:2fr 1.5fr 1.5fr 1fr;gap:16px;padding:16px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .2s}.flow-row:hover{border-color:#cbd5e1;box-shadow:0 2px 8px rgba(0,0,0,.05)}.flow-column{min-width:0}.flow-repair-order{display:flex;flex-direction:column;gap:4px}.flow-ro-header{display:flex;justify-content:space-between;align-items:flex-start}.flow-ro-tags{display:flex;flex-wrap:wrap;gap:4px}.flow-priority-tag,.flow-urgent-tag,.flow-vehicle-tag{padding:2px 6px;border-radius:4px;font-size:10px;font-weight:600}.flow-priority-tag{background:#f1f5f9;color:#64748b}.flow-urgent-tag{background:#fee2e2;color:#dc2626}.flow-vehicle-tag{background:#e0e7ff;color:#4f46e5}.flow-ro-total{font-size:14px;font-weight:600;color:#1e293b}.flow-ro-number{font-size:14px;font-weight:600;color:#1e293b}.flow-customer-name{font-size:13px;color:#475569}.flow-vehicle{font-size:12px;color:#64748b}.flow-vin,.flow-mileage{font-size:11px;color:#94a3b8;margin-left:8px}.flow-date{font-size:11px;color:#94a3b8}.flow-job-item{padding:8px;background:#f8fafc;border-radius:6px;margin-bottom:6px}.flow-job-status{font-size:11px;font-weight:500;margin-bottom:4px}.flow-job-status.not-sent{color:#94a3b8}.flow-job-status.not-seen{color:#f59e0b}.flow-job-status.seen{color:#3b82f6}.flow-job-status.approved{color:#10b981}.flow-job-status.in-progress{color:#f59e0b}.flow-job-status.complete{color:#10b981}.flow-job-status.paid{color:#059669}.flow-job-status.payment-pending{color:#f59e0b}.flow-job-amount{font-size:12px;font-weight:600;color:#1e293b}.flow-job-description{font-size:12px;color:#64748b;margin-top:4px}.flow-job-technician{font-size:11px;color:#64748b}.flow-job-progress{display:flex;align-items:center;gap:8px;margin-top:4px}.flow-job-progress span{font-size:11px;color:#64748b}.flow-progress-bar{flex:1;height:4px;background:#e2e8f0;border-radius:2px;overflow:hidden}.flow-progress-fill{height:100%;background:#3b82f6;border-radius:2px}.list-view{flex:1;overflow:auto}.list-view-header{display:flex;justify-content:flex-end;margin-bottom:12px}.collapse-all-btn{padding:6px 12px;background:#f1f5f9;color:#64748b;border:none;border-radius:6px;font-size:12px;cursor:pointer;transition:background .2s}.collapse-all-btn:hover{background:#e2e8f0}.list-ro-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:8px;overflow:hidden}.list-ro-card.expanded{border-color:#cbd5e1}.list-ro-header{display:grid;grid-template-columns:2fr 2fr 1fr 1.5fr 120px 100px 40px;gap:16px;padding:14px 16px;align-items:center;cursor:pointer;transition:background .15s}.list-ro-header:hover{background:#f8fafc}.list-ro-title{display:flex;flex-direction:column;gap:2px}.list-ro-number{font-size:14px;font-weight:600;color:#1e293b}.list-ro-description{font-size:12px;color:#64748b}.list-ro-info{display:flex;flex-direction:column;gap:2px}.list-ro-vehicle,.list-ro-customer{font-size:13px;color:#1e293b}.list-ro-phone{font-size:12px;color:#64748b}.list-ro-tags{display:flex;flex-wrap:wrap;gap:4px}.list-ro-progress{display:flex;align-items:center;gap:8px}.progress-text{font-size:12px;color:#64748b;min-width:60px}.progress-bar{flex:1;height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden}.progress-fill{height:100%;background:#3b82f6;border-radius:3px}.progress-percent{font-size:12px;color:#64748b;min-width:30px;text-align:right}.list-ro-date{font-size:12px;color:#64748b}.list-ro-total{font-size:14px;font-weight:600;color:#1e293b;text-align:right}.list-ro-expand-btn{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#f1f5f9;border:none;border-radius:6px;color:#64748b;font-size:12px;cursor:pointer}.list-ro-jobs{border-top:1px solid #e2e8f0;padding:12px 16px;background:#f8fafc}.list-job-row{display:grid;grid-template-columns:100px 2fr 100px 100px 80px 100px 40px;gap:12px;padding:10px 0;align-items:center;border-bottom:1px solid #e2e8f0}.list-job-row:last-child{border-bottom:none}.job-status-badge{padding:4px 8px;border-radius:4px;font-size:10px;font-weight:600;text-transform:uppercase}.job-status-badge.status-not-sent{background:#f1f5f9;color:#64748b}.job-status-badge.status-not-seen{background:#fef3c7;color:#d97706}.job-status-badge.status-approved{background:#d1fae5;color:#059669}.job-status-badge.status-assigned{background:#dbeafe;color:#2563eb}.job-status-badge.status-in-progress{background:#fef3c7;color:#d97706}.job-status-badge.status-complete{background:#d1fae5;color:#059669}.job-status-badge.status-payment-pending{background:#fef3c7;color:#d97706}.list-job-description{font-size:13px;color:#1e293b}.secondary-status{font-size:11px;padding:2px 6px;border-radius:4px}.secondary-status.not-sent{background:#f1f5f9;color:#64748b}.secondary-status.dispatched{background:#dbeafe;color:#2563eb}.list-job-assignee .technician-avatar{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;background:#3b82f6;color:#fff;border-radius:50%;font-size:11px;font-weight:600}.list-job-assignee .no-assignee{font-size:11px;color:#94a3b8}.list-job-hours{font-size:12px;color:#64748b}.list-job-amount{font-size:13px;font-weight:600;color:#1e293b;text-align:right}.list-job-menu-btn{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0);border:none;border-radius:6px;color:#64748b;cursor:pointer}.list-job-menu-btn:hover{background:#e2e8f0}@media(max-width: 1200px){.swimlane-container{grid-template-columns:1fr;gap:16px}.swimlane-column{max-height:400px}.list-ro-header{grid-template-columns:1fr 1fr 100px 40px}.list-ro-info,.list-ro-progress,.list-ro-date{display:none}.flow-header,.flow-row{grid-template-columns:1fr;gap:12px}}@media(max-width: 768px){.repair-orders{padding:16px}.repair-orders-header{flex-direction:column;align-items:stretch}.repair-orders-header h1{margin-right:0;margin-bottom:12px}.header-controls{flex-direction:column}.search-box{max-width:none}.header-actions{width:100%;justify-content:space-between}.view-btn span{display:none}.new-ro-btn span{display:none}}.item-menu-container,.job-item-menu-container,.job-card-menu-container,.card-template-card-menu-container,.ro-menu-container{position:relative}.item-menu-btn,.job-item-menu-btn,.job-card-menu-btn,.card-template-card-menu-btn,.ro-menu-btn{display:flex;align-items:center;justify-content:center;padding:0;background:rgba(0,0,0,0);border:none;border-radius:4px;color:#94a3b8;cursor:pointer;transition:all .15s}.item-menu-btn:hover,.job-item-menu-btn:hover,.job-card-menu-btn:hover,.card-template-card-menu-btn:hover,.ro-menu-btn:hover{background:#f1f5f9;color:#64748b}.item-menu-dropdown,.matrix-menu-dropdown,.job-item-menu-dropdown,.job-card-menu-dropdown,.card-template-card-menu-dropdown,.job-meta-dropdown,.assign-all-dropdown,.ro-share-dropdown,.ro-print-dropdown,.ro-menu-dropdown,.ro-info-popover{position:absolute;top:100%;right:0;margin-top:4px;min-width:140px;max-height:320px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.15);z-index:9999;overflow-y:auto}.item-menu-item,.matrix-menu-item,.job-card-menu-item,.card-template-card-menu-item,.job-meta-dropdown-item,.ro-menu-item,.job-item-menu-item{display:block;width:100%;padding:10px 14px;background:#fff;border:none;text-align:left;font-size:13px;color:#475569;cursor:pointer;transition:background .15s}.item-menu-item:hover,.matrix-menu-item:hover,.job-card-menu-item:hover,.card-template-card-menu-item:hover,.job-meta-dropdown-item:hover,.ro-menu-item:hover,.job-item-menu-item:hover{background:#f8fafc}.job-item-menu-item{display:flex;align-items:center;gap:8px}.job-item-menu-item svg{flex-shrink:0;color:#64748b}.item-menu-item.item-menu-delete,.job-item-menu-item.danger,.ro-menu-item.danger{color:#ef4444}.item-menu-item.item-menu-delete:hover,.job-item-menu-item.danger:hover,.ro-menu-item.danger:hover{background:#fef2f2}.ro-detail-page{display:flex;flex-direction:column;height:calc(100vh - 56px);max-width:100%;background:#f5f5f5;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;padding:4px 24px 24px}.ro-detail-content{flex:0 0 auto}.ro-header-section{background:#fff;border-radius:12px;padding:12px 20px 8px;margin-bottom:4px;box-shadow:0 1px 3px rgba(0,0,0,.08)}.ro-header-top{margin-bottom:12px}.return-link{display:inline-flex;align-items:center;gap:6px;color:#64748b;text-decoration:none;font-size:14px;font-weight:500;transition:color .15s}.return-link:hover{color:#3b82f6}.return-link .return-icon{font-size:16px}.ro-header-main{display:flex;flex-direction:column;gap:6px}.ro-header-top-row{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.ro-title{display:flex;align-items:center;gap:8px;font-size:22px;font-weight:700;color:#1e293b;margin:0}.customer-name-link{color:#3b82f6;cursor:pointer}.customer-name-link:hover{text-decoration:underline}.info-icon-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;background:rgba(0,0,0,0);border:none;color:#94a3b8;cursor:pointer;transition:color .15s}.info-icon-btn:hover{color:#3b82f6}.vehicle-info{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f8fafc;border-radius:8px}.vehicle-icon{width:20px;height:20px;opacity:.7}.vehicle-text{font-size:14px;color:#475569;font-weight:500}.mileage-info{font-size:13px;color:#64748b}.mileage-info.clickable{cursor:pointer}.mileage-info.clickable:hover{color:#2970fe}.ro-info-container{position:relative}.ro-info-popover{left:0;right:auto;min-width:220px;padding:12px;display:flex;flex-direction:column;gap:10px}.ro-info-field{display:flex;flex-direction:column;gap:4px}.ro-info-field label{font-size:12px;font-weight:500;color:#64748b}.ro-info-field input,.ro-info-field select{padding:6px 8px;border:1px solid #e5e7eb;border-radius:6px;font-size:13px}.ro-info-save-btn{padding:8px 12px;background:#2970fe;color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer}.ro-info-save-btn:hover{background:#1450dc}.priority-controls{display:flex;align-items:center;gap:8px;margin-left:auto}.priority-badge-wrapper{position:relative}.priority-badge{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:28px;padding:0 10px;border-radius:6px;font-size:13px;font-weight:600}.priority-badge.priority-1{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}.priority-badge.priority-2{background:#fef3c7;color:#d97706;border:1px solid #fde68a}.priority-badge.priority-3{background:#dbeafe;color:#2563eb;border:1px solid #bfdbfe}.priority-badge.priority-4{background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0}.priority-badge.clickable{cursor:pointer;transition:all .15s}.priority-badge.clickable:hover{filter:brightness(0.95)}.urgent-tag{padding:4px 10px;background:#dc2626;color:#fff;border-radius:4px;font-size:12px;font-weight:600;text-transform:uppercase}.ro-menu-btn{width:32px;height:32px;border:1px solid #e2e8f0;border-radius:6px;font-size:18px;color:#64748b}.ro-menu-btn:hover{background:#f8fafc;border-color:#cbd5e1}.ro-menu-backdrop{position:fixed;inset:0;z-index:99}.ro-menu-dropdown{min-width:180px;max-height:none;overflow-y:visible}.ro-menu-item{font-size:14px}.ro-menu-item:hover:not(:disabled){background:#f8fafc}.ro-menu-item:disabled,.ro-menu-item.disabled{color:#94a3b8;cursor:not-allowed;opacity:.6}.ro-menu-item:disabled:hover,.ro-menu-item.disabled:hover{background:rgba(0,0,0,0)}.ro-menu-submenu-trigger{position:relative}.ro-menu-submenu{position:absolute;right:100%;top:0;margin-right:4px;min-width:160px;max-height:320px;overflow-y:auto;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1);z-index:101}.ro-print-container{position:relative;margin-right:8px}.ro-print-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:rgba(0,0,0,0);border:1px solid #e2e8f0;border-radius:6px;color:#64748b;cursor:pointer;transition:all .15s}.ro-print-btn:hover{background:#f8fafc;border-color:#cbd5e1;color:#3b82f6}.ro-print-btn:disabled{opacity:.6;cursor:not-allowed}.ro-print-btn svg{width:16px;height:16px}.ro-print-btn .spinner-sm{width:16px;height:16px;border:2px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.ro-print-backdrop{position:fixed;inset:0;z-index:99}.ro-print-dropdown{min-width:200px}.ro-dropdown-header{display:flex;align-items:center;gap:8px;padding:10px 14px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.ro-dropdown-header svg{color:#94a3b8}.ro-share-container{position:relative;margin-right:8px}.ro-share-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:rgba(0,0,0,0);border:1px solid #e2e8f0;border-radius:6px;color:#64748b;cursor:pointer;transition:all .15s}.ro-share-btn:hover{background:#f8fafc;border-color:#cbd5e1;color:#3b82f6}.ro-share-btn:disabled{opacity:.6;cursor:not-allowed}.ro-share-btn svg{width:16px;height:16px}.ro-share-btn .spinner-sm{width:16px;height:16px;border:2px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}.ro-share-backdrop{position:fixed;inset:0;z-index:99}.ro-share-dropdown{min-width:200px}.ro-header-bottom-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:8px;border-top:1px solid #f1f5f9}.ro-header-bottom-row .main-segmented-control{flex:1}.ro-header-bottom-row .quick-add-container{flex-shrink:0}.ro-created-info{font-size:13px;color:#64748b}.ro-header-right{display:flex;align-items:center;gap:12px}.promised-date{font-size:13px;color:#64748b}.more-options-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:rgba(0,0,0,0);border:none;font-size:16px;color:#94a3b8;cursor:pointer;transition:color .15s}.more-options-btn:hover{color:#64748b}.main-segmented-control-container{margin-bottom:20px;position:sticky;top:56px;z-index:10;background:#f5f5f5;padding:12px 0}.segmented-control{display:inline-flex;background:#fff;border-radius:10px;padding:4px;box-shadow:0 1px 3px rgba(0,0,0,.08);border:1px solid #e2e8f0}.main-segmented-control .segment-buttons{display:flex;gap:4px}.segment-btn{padding:10px 20px;background:rgba(0,0,0,0);border:none;border-radius:8px;font-size:14px;font-weight:500;color:#64748b;cursor:pointer;transition:all .15s;white-space:nowrap}.segment-btn:hover{color:#1e293b;background:#f1f5f9}.segment-btn.active{background:#111926;color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.1)}.card-template-container{background:#fff;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.08);margin-bottom:16px;margin-top:0;overflow:visible}.card-template-section{padding:16px 20px}.card-template-section-header{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #e2e8f0;background:#f8fafc;border-radius:12px 12px 0 0}.section-title{font-size:14px;font-weight:600;color:#1e293b}.section-count{font-size:12px;font-weight:500;color:#64748b;background:#e2e8f0;padding:2px 8px;border-radius:10px}.section-header{display:flex;align-items:center;gap:16px;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #f1f5f9}.section-header .total-hours{margin-left:auto;background:rgba(0,0,0,0);box-shadow:none;padding:0}.jobs-expand-all-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:rgba(0,0,0,0);border:1px solid #e2e8f0;border-radius:6px;color:#94a3b8;cursor:pointer;transition:all .15s;flex-shrink:0}.jobs-expand-all-btn:hover{background:#f8fafc;border-color:#3b82f6;color:#3b82f6}.jobs-expand-all-btn svg{width:14px;height:14px}.jobs-header-actions{display:flex;align-items:center;gap:12px;margin-left:auto}.assign-all-container{position:relative}.assign-all-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:#fff;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;cursor:pointer;transition:all .15s}.assign-all-btn:hover{background:#f8fafc;border-color:#3b82f6;color:#3b82f6}.assign-all-btn svg{width:16px;height:16px}.assign-all-backdrop{position:fixed;inset:0;z-index:99}.assign-all-dropdown{min-width:200px;max-height:280px;overflow-y:auto}.assign-all-header{padding:10px 14px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.assign-all-item{display:block;width:100%;padding:10px 14px;background:rgba(0,0,0,0);border:none;text-align:left;font-size:14px;color:#1e293b;cursor:pointer;transition:background .15s}.assign-all-item:hover{background:#f1f5f9}.assign-all-empty{padding:16px;text-align:center;color:#94a3b8;font-size:13px}.sublets-section-footer{display:flex;justify-content:flex-start;padding-top:12px}.btn-add-job-plus{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:#3b82f6;border:none;border-radius:50%;font-size:20px;font-weight:400;color:#fff;cursor:pointer;transition:background .15s ease,transform .15s ease}.btn-add-job-plus:hover{background:#2563eb;transform:scale(1.05)}.jobs-section-footer{display:flex;justify-content:flex-start;padding-top:12px}.btn-new-job{display:flex;align-items:center;gap:6px;padding:8px 14px;background:#3b82f6;border:none;border-radius:8px;font-size:14px;font-weight:500;color:#fff;cursor:pointer;transition:background .15s ease}.btn-new-job:hover{background:#2563eb}.section-header-actions{display:flex;gap:8px;flex-shrink:0}.notes-label{font-size:16px;font-weight:600;color:#1e293b}.btn-add-card-template{padding:8px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-weight:500;color:#475569;cursor:pointer;transition:all .15s}.btn-add-card-template:hover{background:#f8fafc;border-color:#cbd5e1}.btn-ai-action{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;background:linear-gradient(135deg, #6366f1, #8b5cf6);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.btn-ai-action .ai-btn-icon{font-size:14px}.btn-ai-action:hover{filter:brightness(1.1);transform:translateY(-1px)}.card-template-list{display:flex;flex-direction:column;gap:10px}.card-template-card{position:relative;z-index:1;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;overflow:visible;transition:all .2s;min-width:1000px}.card-template-card:hover{border-color:#cbd5e1}.card-template-card.card-template-card-expanded{border-color:#3b82f6;box-shadow:0 2px 8px rgba(59,130,246,.12)}.card-template-card.drag-over{border-color:#3b82f6;background:#eff6ff}.card-template-card.has-dropdown-open,.card-template-card:has(.job-item-menu-dropdown),.card-template-card:has(.matrix-menu-dropdown),.card-template-card:has(.job-tax-popup),.card-template-card:has(.dot-popover),.card-template-card:has(.job-meta-dropdown),.card-template-card:has(.card-template-card-menu-dropdown){z-index:1000}.card-template-card-header{display:flex;flex-direction:column;padding:12px 14px;cursor:pointer;background:#fff;transition:background .15s}.card-template-card-header:hover{background:#f8fafc}.job-card-row-1{display:flex;align-items:center;gap:10px;width:100%}.card-template-card-expand-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;background:rgba(0,0,0,0);border:none;font-size:10px;color:#94a3b8;position:relative;z-index:1001;cursor:pointer;transition:color .15s;flex-shrink:0}.card-template-card-expand-btn:hover{color:#3b82f6}.job-expand-left{margin-right:4px}.job-card-name-section{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.card-template-title{font-size:14px;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-template-title-input{flex:1;padding:6px 10px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;font-weight:600;color:#1e293b;background:#fff;min-width:150px}.card-template-title-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.ro-status-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;font-size:12px;font-weight:600;color:#334155;white-space:nowrap;cursor:pointer}.ro-status-badge:hover{border-color:#cbd5e1;background:#f8fafc}.ro-status-badge .status-caret{font-size:9px;color:#94a3b8}.segment-tab-count{display:inline-block;margin-left:5px;padding:1px 6px;border-radius:9px;font-size:11px;font-weight:600;background:#e2e8f0;color:#475569}.segment-btn.active .segment-tab-count{background:#3b82f6;color:#fff}.ro-header-tab-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.btn-parts-tab{display:flex;align-items:center;justify-content:center;height:40px;padding:0 20px;border:1px solid #e2e8f0;border-radius:20px;background:#fff;font-size:14px;font-weight:500;color:#475569;cursor:pointer;transition:all .15s;white-space:nowrap}.btn-parts-tab:hover{border-color:#cbd5e1;background:#f8fafc;color:#1e293b}.parts-screen-bar{display:flex;align-items:center;gap:12px;margin-bottom:16px}.btn-parts-back{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#475569;font-size:13px;font-weight:500;cursor:pointer;transition:all .15s}.btn-parts-back:hover{background:#f8fafc;color:#1e293b}.parts-screen-title{margin:0;font-size:18px;font-weight:600;color:#1e293b}.parts-screen-vehicle{color:#64748b;font-size:13px}.job-auth-tag{padding:3px 8px;border-radius:4px;font-size:11px;font-weight:600;text-transform:uppercase;white-space:nowrap}.job-auth-tag.approved{background:#dcfce7;color:#16a34a}.job-auth-tag.needs-auth{background:#fef3c7;color:#d97706}.job-auth-tag.declined{background:#fee2e2;color:#dc2626}.job-auth-tag.completed{background:#bbf7d0;color:#15803d}.job-card-row-1-right{display:flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0;position:relative;z-index:1000}.job-meta-label{position:relative;z-index:1001;display:flex;align-items:center;gap:4px;padding:5px 10px;background:#f1f5f9;border-radius:6px;cursor:pointer;transition:background .15s}.job-meta-label:hover{background:#e2e8f0}.meta-value{font-size:13px;color:#475569}.meta-edit-icon{font-size:10px;color:#94a3b8}.concern-menu-backdrop{position:fixed;inset:0;z-index:999;background:rgba(0,0,0,0);cursor:default}.job-meta-dropdown-item{padding:8px 12px;background:rgba(0,0,0,0)}.job-meta-dropdown-item.selected{background:#eff6ff;color:#3b82f6;font-weight:500}.job-tech-multiselect{min-width:220px}.job-tech-multiselect .tech-row{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:default}.job-tech-multiselect .tech-row .tech-check{display:flex;align-items:center;gap:8px;flex:1;cursor:pointer;white-space:nowrap;font-weight:inherit}.job-tech-multiselect .tech-row .tech-check input{accent-color:#3b82f6;margin:0}.tech-primary-star{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:none;background:none;cursor:pointer;color:#cbd5e1;flex-shrink:0}.tech-primary-star svg{width:14px;height:14px}.tech-primary-star:hover,.tech-primary-star.is-primary{color:#3b82f6}.card-template-card-menu-container{z-index:1001}.card-template-card-menu-btn{width:28px;height:28px;font-size:16px}.job-card-menu-btn{width:28px;height:28px;font-size:16px}.concern-status-badge{padding:3px 8px;border-radius:4px;font-size:11px;font-weight:600;white-space:nowrap}.concern-status-badge.concern-status-complete{background:#dcfce7;color:#16a34a}.concern-status-badge.concern-status-partial{background:#fef3c7;color:#d97706}.card-template-card-content{padding:16px;border-top:1px solid #e2e8f0;background:#fff;min-width:1000px}.concern-fields{display:flex;flex-direction:column;gap:14px}.concern-field-group{display:flex;flex-direction:column;gap:6px}.concern-field-label{font-size:13px;font-weight:600;color:#64748b}.concern-textarea{width:100%;min-height:80px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;resize:vertical;transition:border-color .2s,box-shadow .2s}.concern-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.concern-textarea::placeholder{color:#94a3b8}.job-card-row-2{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding-top:10px;border-top:1px solid #f1f5f9;flex-wrap:nowrap;gap:16px}.job-hours-bar{display:flex;align-items:center;gap:10px;flex-shrink:1;min-width:0}.job-hours-value{font-size:13px;color:#64748b;font-weight:500;white-space:nowrap;flex:0 0 auto;width:88px;min-width:0}.job-hours-progress{width:80px;height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden}.job-hours-progress-fill{height:100%;background:linear-gradient(90deg, #22c55e, #16a34a);border-radius:3px;transition:width .3s}.job-hours-progress-fill.over-estimate{background:linear-gradient(90deg, #ef4444, #dc2626)}.hours-overrun{font-size:12px;font-weight:600;color:#dc2626;white-space:nowrap}.job-status-indicator{position:relative;cursor:pointer;z-index:1000}.job-status-icon{font-size:14px}.job-status-icon.job-status-notstarted,.job-status-icon.job-status-requiresapproval{color:#94a3b8}.job-status-icon.job-status-workinprogress{color:#f59e0b}.job-status-icon.job-status-holdingforparts{color:#ef4444}.job-status-icon.job-status-completed{color:#22c55e}.job-status-dropdown{position:absolute;top:100%;left:50%;transform:translateX(-50%);margin-top:6px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1);z-index:50;overflow:hidden;white-space:nowrap}.job-status-option{display:block;width:100%;padding:8px 14px;background:rgba(0,0,0,0);border:none;text-align:left;font-size:13px;color:#475569;cursor:pointer;transition:background .15s}.job-status-option:hover{background:#f8fafc}.job-status-option.selected{background:#eff6ff;color:#3b82f6;font-weight:500}.job-metrics{display:flex;align-items:center;gap:16px;font-size:13px;color:#64748b;flex-shrink:0;white-space:nowrap;padding-right:36px}.job-metrics>span{flex:0 0 auto;width:96px;min-width:0}.job-metrics .job-metric-gp-dollars{width:112px}.job-metrics .job-metric-subtotal{width:136px}.job-metrics .job-tax-item{width:116px}.job-metrics .job-total-text{width:124px}.job-tax-item{position:relative;display:inline-flex;align-items:center;gap:4px}.job-tax-popup{position:absolute;top:100%;right:0;margin-top:4px;padding:8px 12px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1);z-index:50}.tax-popup-item{padding:4px 0;font-size:13px;color:#475569}.tax-popup-item label{display:flex;align-items:center;gap:8px;cursor:pointer}.tax-popup-item input[type=checkbox]{width:16px;height:16px;accent-color:#3b82f6}.job-total-text{font-weight:600;color:#1e293b}.job-expanded-details{display:flex;flex-direction:column;gap:20px}.job-description-section{display:flex;flex-direction:column;gap:6px}.description-label{font-size:13px;font-weight:600;color:#64748b}.job-description-input{width:100%;min-height:60px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;resize:vertical;transition:border-color .2s,box-shadow .2s}.job-description-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.job-description-readonly{font-size:14px;color:#475569}.job-expanded-compact{display:flex;flex-direction:column;gap:12px}.job-description-row{display:flex;align-items:flex-start;gap:8px}.job-description-label{font-size:10px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.3px;padding-top:10px;flex-shrink:0}.job-description-compact{flex:1;min-height:36px;max-height:60px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;font-family:inherit;resize:none;transition:border-color .2s}.job-description-compact:focus{outline:none;border-color:#3b82f6}.job-tech-notes{display:flex;align-items:flex-start;gap:8px}.job-tech-notes .job-description-label{padding-top:6px}.job-tech-notes-list{flex:1;display:flex;flex-direction:column;gap:6px}.job-tech-note{display:flex;align-items:baseline;gap:8px;padding:6px 10px;background:#fffbeb;border-left:3px solid #f59e0b;border-radius:4px;font-size:13px}.job-tech-note .job-tech-note-text{flex:1;color:#1e293b;white-space:pre-wrap}.job-tech-note .job-tech-note-meta{flex-shrink:0;color:#94a3b8;font-size:11px}.job-items-compact{display:flex;flex-direction:column;gap:4px}.ro-detail-page{transition:margin-right .25s ease}.ro-detail-page.workbench-open{margin-right:400px;overflow-x:auto}.ro-detail-page.workbench-open~.ro-aggregate-metrics{margin-right:400px}.job-item-row{display:grid;grid-template-columns:32px 1fr 80px 90px 30px 28px;gap:8px;align-items:center;padding:6px 8px;background:#f8fafc;border-radius:6px;font-size:13px;cursor:grab;transition:all .15s ease}.job-item-row:hover{background:#f1f5f9}.job-item-row:active{cursor:grabbing}.job-item-row.drag-over{background:#dbeafe;border:2px dashed #3b82f6;transform:scale(1.01)}.job-item-row-part{grid-template-columns:32px 28px 120px 200px minmax(124px, 1fr) 88px 96px 130px 130px 110px 30px 28px}.job-item-row-labor{grid-template-columns:32px 28px 1fr 80px 90px 30px 28px}.job-item-row-discount{grid-template-columns:32px 1fr 90px 28px}.job-item-row-sublet{grid-template-columns:55px 120px 1fr 1fr 100px 100px 90px 32px 28px}.job-item-row-sublet-expanded{grid-template-columns:150px 1fr 100px 100px}.job-item-tire-wrapper{background:#f8fafc;border-radius:6px;cursor:grab;transition:all .15s ease}.job-item-tire-wrapper:hover{background:#f1f5f9}.job-item-tire-wrapper:active{cursor:grabbing}.job-item-tire-wrapper.drag-over{background:#dbeafe;border:2px dashed #3b82f6;transform:scale(1.01)}.job-item-row-tire-main{display:grid;grid-template-columns:32px 120px 240px 1fr 88px 80px 130px 130px 110px 30px 28px;gap:8px;align-items:center;padding:6px 8px;font-size:13px}.job-item-row-tire-size{display:flex;align-items:center;gap:16px;padding:4px 8px 6px 40px}.job-item-row-tire-size .tire-size-label{font-size:11px;color:#64748b;font-weight:500;min-width:30px}.job-item-battery-wrapper{background:#f8fafc;border-radius:6px;cursor:grab;transition:all .15s ease}.job-item-battery-wrapper:hover{background:#f1f5f9}.job-item-battery-wrapper:active{cursor:grabbing}.job-item-battery-wrapper.drag-over{background:#dbeafe;border:2px dashed #3b82f6;transform:scale(1.01)}.job-item-row-battery-main{display:grid;grid-template-columns:32px 120px 240px 1fr 88px 80px 130px 130px 110px 30px 28px;gap:8px;align-items:center;padding:6px 8px;font-size:13px}.job-item-row-battery-details{display:flex;align-items:center;gap:12px;padding:4px 8px 6px 40px}.job-item-row-battery-details .battery-detail-field{display:flex;align-items:center;gap:4px}.job-item-row-battery-details .battery-detail-label{font-size:11px;color:#64748b;font-weight:500;min-width:40px}.job-item-row-battery-details .battery-detail-input{width:100px;padding:4px 8px;border:1px solid #e2e8f0;border-radius:4px;font-size:12px}.job-item-row-battery-details .battery-detail-input:focus{outline:none;border-color:#3b82f6}.job-item-row-battery-details .battery-detail-field-notes{flex:1}.job-item-row-battery-details .battery-detail-field-notes .battery-detail-input{width:100%}.job-item-row-fee{display:grid;grid-template-columns:32px 1fr 60px 120px 100px 100px 100px 28px;gap:8px;align-items:center;padding:6px 8px;background:#f8fafc;border-radius:6px;font-size:13px}.job-item-row-fee:hover{background:#f1f5f9}.job-item-field-fee-type-toggle{display:flex;align-items:center;gap:2px}.fee-type-btn{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid #e2e8f0;border-radius:4px;background:#fff;color:#64748b;font-size:13px;font-weight:600;cursor:pointer;transition:all .15s ease}.fee-type-btn:hover{border-color:#cbd5e1;background:#f8fafc}.fee-type-btn.selected{background:#3b82f6;border-color:#3b82f6;color:#fff}.job-item-field-fee-name{min-width:0}.job-item-field-fee-name .job-item-select{width:100%}.job-item-field-fee-type{min-width:0}.fee-type-select{width:100%;padding:4px 4px;border:1px solid #e2e8f0;border-radius:4px;font-size:12px;font-weight:600;background:#fff;cursor:pointer}.fee-type-select:focus{outline:none;border-color:#3b82f6}.job-item-field-fee-icons{display:flex;align-items:center;gap:2px;min-width:0}.fee-applies-icon{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:3px;padding:2px}.fee-applies-icon.type-labor{background:#e9d5ff;color:#7c3aed}.fee-applies-icon.type-part{background:#e2e8f0;color:#64748b}.fee-applies-icon.type-tire{background:#dbeafe;color:#3b82f6}.fee-applies-icon.type-battery{background:#ffedd5;color:#f97316}.job-item-field-fee-pills{display:flex;align-items:center;gap:4px;min-width:120px}.fee-pill{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:6px;padding:4px;border:2px solid #e2e8f0;background:#fff;color:#94a3b8;cursor:pointer;transition:all .15s ease}.fee-pill:hover{border-color:#cbd5e1;background:#f8fafc}.fee-pill.selected{border-color:currentColor}.fee-pill.selected.type-labor{background:#e9d5ff;color:#7c3aed;border-color:#7c3aed}.fee-pill.selected.type-part{background:#e2e8f0;color:#475569;border-color:#475569}.fee-pill.selected.type-tire{background:#dbeafe;color:#3b82f6;border-color:#3b82f6}.fee-pill.selected.type-battery{background:#ffedd5;color:#f97316;border-color:#f97316}.fee-applies-popover-container{position:relative}.btn-fee-applies{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid #e2e8f0;border-radius:4px;background:#fff;color:#64748b;cursor:pointer;font-size:12px;transition:all .15s}.btn-fee-applies:hover,.btn-fee-applies.active{background:#f1f5f9;border-color:#3b82f6;color:#3b82f6}.fee-applies-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999}.fee-applies-popover{position:absolute;top:100%;left:0;margin-top:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.15);padding:12px;z-index:1000;min-width:140px}.fee-applies-title{font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.fee-applies-option{display:flex;align-items:center;gap:8px;padding:4px 0;cursor:pointer;font-size:13px}.fee-applies-option input[type=checkbox]{width:16px;height:16px;cursor:pointer}.fee-applies-option span{color:#334155}.fee-applies-option:hover span{color:#1e293b}.job-item-field-fee-amount{display:flex;align-items:center;gap:4px;min-width:0}.job-item-field-fee-amount input{width:100%;min-width:0}.job-item-field-fee-cap{display:flex;align-items:center;gap:4px;min-width:0}.job-item-field-fee-cap input{width:100%;min-width:0}.job-item-field-fee-total{display:flex;align-items:center;gap:4px;min-width:0;justify-content:flex-end}.btn-tire-additional-info{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border:none;background:rgba(0,0,0,0);color:#64748b;font-size:12px;cursor:pointer;border-radius:4px;margin-left:auto}.btn-tire-additional-info:hover{background:#e2e8f0;color:#334155}.btn-tire-additional-info .tire-chevron{transition:transform .3s ease}.btn-tire-additional-info.expanded .tire-chevron{transform:rotate(180deg)}.job-item-total-display{font-weight:600;color:#1e293b;font-size:13px}.job-item-select{padding:4px 8px;border:1px solid #e2e8f0;border-radius:4px;font-size:12px;background:#fff;width:100%;cursor:pointer}.job-item-select:focus{outline:none;border-color:#3b82f6}.job-item-field{display:flex;align-items:center;gap:4px;min-width:0}.job-item-field .job-item-input{flex:1;min-width:0}.job-item-field-qty,.job-item-field-total{justify-content:flex-end}.job-item-label{font-size:10px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.3px;flex-shrink:0}.job-item-type{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;padding:2px 6px;border-radius:4px;text-align:center}.job-item-type svg{display:block}.job-item-type.type-labor{background:#ede9fe;color:#7c3aed}.job-item-type.type-part{background:#f1f5f9;color:#64748b}.job-item-type.type-fee{background:#dcfce7;color:#16a34a}.job-item-type.type-discount{background:#fee2e2;color:#dc2626}.job-item-type.type-sublet{background:#e0e7ff;color:#4338ca}.job-item-type.type-tire{background:#dbeafe;color:#2563eb}.job-item-type.type-battery{background:#ffedd5;color:#ea580c}.part-status-chip{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.3px;padding:2px 8px;border-radius:10px;white-space:nowrap}.part-status-chip.part-status-pending{background:#f1f5f9;color:#64748b}.part-status-chip.part-status-staged{background:#ccfbf1;color:#0d9488}.part-status-chip.part-status-quoted{background:#e0e7ff;color:#4338ca}.part-status-chip.part-status-ordered{background:#dbeafe;color:#2563eb}.part-status-chip.part-status-received{background:#dcfce7;color:#16a34a}.job-item-desc{color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.job-item-input{width:100%;padding:4px 6px;border:1px solid #e2e8f0;border-radius:4px;font-size:13px;background:#fff}.job-item-input:hover{border-color:#cbd5e1}.job-item-input:focus{outline:none;border-color:#3b82f6;background:#fff}.job-item-input:disabled{background:#f1f5f9;color:#64748b;cursor:not-allowed}.job-item-desc-input{width:100%;padding:4px 6px;border:1px solid #e2e8f0;border-radius:4px;font-size:13px;background:#fff}.job-item-desc-input:hover{border-color:#cbd5e1}.job-item-desc-input:focus{outline:none;border-color:#3b82f6;background:#fff}textarea.job-item-desc-input{font-family:inherit;line-height:1.4;resize:none;overflow:hidden;field-sizing:content;white-space:pre-wrap;word-break:break-word;vertical-align:middle}.job-item-total-display{font-weight:600;color:#334155;text-align:right}.job-item-currency-field{display:flex;align-items:center;gap:2px}.job-item-currency-field .currency-symbol{font-size:12px;color:#64748b;font-weight:500;flex-shrink:0}.job-item-currency-field input{flex:1;min-width:0}.job-item-note-btn{width:28px;height:28px;border:1px solid #e2e8f0;border-radius:4px;background:rgba(0,0,0,0);color:#94a3b8;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center}.job-item-note-btn:hover{background:#f1f5f9;color:#3b82f6;border-color:#3b82f6}.job-item-note-btn.has-notes{background:#dbeafe;color:#1d4ed8;border-color:#93c5fd}.sublet-vendor-label{font-size:12px;color:#64748b;padding:4px 8px;background:#f1f5f9;border-radius:4px}.btn-add-note-small{padding:4px 8px;font-size:12px;border:1px solid #e2e8f0;border-radius:4px;background:rgba(0,0,0,0);color:#64748b;cursor:pointer}.btn-add-note-small:hover{background:#f1f5f9;color:#3b82f6;border-color:#3b82f6}.job-item-notes-row{padding:4px 8px 8px;margin-left:55px}.job-item-notes-row .job-item-notes-input{width:100%;min-height:40px;padding:8px;border:1px solid #e2e8f0;border-radius:4px;font-size:13px;color:#1e293b;resize:vertical;background:#fff}.job-item-notes-row .job-item-notes-input:focus{outline:none;border-color:#3b82f6}.job-item-notes-row .job-item-notes-input::placeholder{color:#94a3b8}.job-item-qty{text-align:center}.job-item-qty-input{width:55px;min-width:55px;padding:4px 6px;border:1px solid #e2e8f0;border-radius:4px;font-size:13px;text-align:center;background:#fff}.job-item-qty-input:hover{border-color:#e2e8f0}.job-item-qty-input:focus{outline:none;border-color:#3b82f6;background:#fff}.job-item-total{text-align:right;font-weight:500;color:#1e293b}.job-item-total.discount-total{color:#be185d}.job-item-total-input{width:100%;padding:4px 6px;border:1px solid #e2e8f0;border-radius:4px;font-size:13px;text-align:right;background:#fff}.job-item-total-input:hover{border-color:#cbd5e1}.job-item-total-input:focus{outline:none;border-color:#3b82f6;background:#fff}.job-item-menu-btn{width:24px;height:24px}.job-item-menu-backdrop{position:fixed;inset:0;z-index:99}.job-item-menu-item{color:#374151}.job-item-menu-item.danger svg{color:#dc2626}.job-item-delete{width:24px;height:24px;padding:0;background:rgba(0,0,0,0);border:none;border-radius:4px;color:#94a3b8;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:14px}.job-item-delete:hover{background:#fee2e2;color:#dc2626}.job-item-matrix-menu{position:relative;display:flex;align-items:center}.btn-matrix-gear{width:26px;height:26px;padding:0;background:rgba(0,0,0,0);border:none;border-radius:4px;color:#94a3b8;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s}.btn-matrix-gear:hover{background:#e2e8f0;color:#64748b}.matrix-menu-backdrop{position:fixed;inset:0;z-index:998}.matrix-menu-dropdown{min-width:160px;padding:4px;overflow:visible}.matrix-menu-header{padding:6px 10px;font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #e2e8f0;margin-bottom:4px}.matrix-menu-item{display:flex;align-items:center;justify-content:space-between;border-radius:4px}.matrix-menu-item:hover{background:#f1f5f9;color:#1e293b}.matrix-menu-item.selected{background:#eff6ff;color:#2563eb;font-weight:500}.matrix-default-badge{color:#f59e0b;font-size:10px;margin-left:6px}.job-totals-compact{padding-top:8px;border-top:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;gap:12px}.job-card-left-actions{display:flex;align-items:center;gap:8px}.btn-job-cancel{padding:6px 12px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#64748b;font-size:12px;font-weight:500;cursor:pointer;transition:all .15s}.btn-job-cancel:hover{background:#f1f5f9;color:#1e293b}.btn-job-save{padding:6px 12px;border:none;border-radius:6px;background:#3b82f6;color:#fff;font-size:12px;font-weight:500;cursor:pointer;transition:all .15s}.btn-job-save:hover{background:#2563eb}.job-totals-row{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;font-size:12px;flex:1}.totals-label{color:#64748b}.totals-label.total-label{font-weight:600;color:#1e293b;margin-left:8px}.totals-value{color:#1e293b;flex:0 0 auto;width:80px;min-width:0;text-align:left}.totals-value.total-value{font-weight:600;font-size:14px;width:132px;text-align:right}.job-items-empty{text-align:center;padding:16px;color:#94a3b8;font-size:13px}.job-use-canned-row{display:flex;justify-content:center;padding:10px 0 4px}.btn-use-canned-job{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;background:#fff;color:var(--color-primary);border:1px solid var(--color-primary);border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .15s}.btn-use-canned-job:hover{background:var(--color-primary-light)}.job-items-section .section-header{display:flex;align-items:center;gap:8px;margin-bottom:10px;padding-bottom:0;border-bottom:none}.job-items-section .section-title{font-size:14px;font-weight:600;color:#1e293b}.section-dot{font-size:10px}.section-dot.labor-dot{color:#3b82f6}.section-dot.parts-dot{color:#22c55e}.btn-add-item{margin-left:auto;padding:4px 10px;background:rgba(0,0,0,0);border:1px dashed #cbd5e1;border-radius:6px;font-size:12px;color:#64748b;cursor:pointer;transition:all .15s}.btn-add-item:hover{border-color:#3b82f6;color:#3b82f6;background:#eff6ff}.btn-add-item{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;font-weight:500;color:#475569;cursor:pointer;transition:all .15s}.btn-add-item:hover{background:#eff6ff;border-color:#3b82f6;color:#3b82f6}.items-table{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.items-table-header{display:grid;gap:8px;padding:10px 20px 10px 12px;background:#f8fafc;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.items-table-header.labor-table-header{grid-template-columns:60px 1fr 120px 80px 80px 40px}.items-table-header.parts-table-header{grid-template-columns:80px 120px 80px 1fr 60px 95px 95px 70px 95px 40px}.items-table-row{display:grid;gap:8px;padding:10px 20px 10px 12px;border-top:1px solid #f1f5f9;align-items:center}.items-table-row.labor-table-row{grid-template-columns:60px 1fr 120px 80px 80px 40px}.items-table-row.parts-table-row{grid-template-columns:80px 120px 80px 1fr 60px 95px 95px 70px 95px 40px}.item-col-time,.item-col-qty{width:60px}.item-col-description{min-width:100px}.item-col-rate-type{width:120px}.item-col-rate,.item-col-extended{width:80px;text-align:right}.item-col-status{width:80px}.item-col-part-number{width:120px}.item-col-brand{width:80px}.item-col-cost,.item-col-retail,.item-col-total{width:95px;text-align:right}.item-col-gp{width:70px;text-align:right}.item-col-actions{width:40px;text-align:center}.item-select{width:100%;padding:6px 8px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;background:#fff;cursor:pointer}.item-select:focus{outline:none;border-color:#3b82f6}.item-menu-btn{width:24px;height:24px;font-size:14px}.item-menu-item{white-space:nowrap}.internal-notes-textarea{width:100%;min-height:150px;padding:14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:var(--font-family);resize:vertical;transition:border-color .2s,box-shadow .2s}.internal-notes-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.internal-notes-textarea::placeholder{color:#94a3b8}.ro-jobs-header{display:flex;justify-content:flex-end;align-items:center;margin-bottom:16px}.total-hours{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#fff;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.08)}.hours-label{font-size:13px;color:#64748b;font-weight:500}.hours-value{font-size:14px;font-weight:600;color:#1e293b}.hours-progress{width:80px;height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden}.hours-progress-bar{height:100%;background:linear-gradient(90deg, #22c55e, #16a34a);border-radius:3px;transition:width .3s}.hours-progress-bar.over-estimate{background:linear-gradient(90deg, #ef4444, #dc2626)}.ro-status-indicator{display:flex;align-items:center}.ro-status-icon{font-size:16px}.ro-status-icon.job-status-notstarted{color:#94a3b8}.ro-status-icon.job-status-inprogress{color:#f59e0b}.ro-status-icon.job-status-completed{color:#22c55e}.ro-status-icon.job-status-paused{color:#ef4444}.card-template-list{display:flex;flex-direction:column;gap:12px}.empty-state{text-align:center;padding:40px 20px;color:#94a3b8;font-size:14px}.job-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:visible;transition:all .2s}.job-card:hover{border-color:#cbd5e1;box-shadow:0 2px 6px rgba(0,0,0,.06)}.job-card.expanded,.job-card.job-card-expanded{border-color:#3b82f6;box-shadow:0 4px 12px rgba(59,130,246,.15)}.job-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 16px;cursor:pointer;background:#fff;border-radius:10px 10px 0 0}.job-card-header:hover{background:#f8fafc}.job-card:not(.job-card-expanded) .job-card-header{border-radius:10px}.job-card-title{display:flex;align-items:center;gap:12px;flex:1}.job-status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.job-status-dot.notstarted{background:#94a3b8}.job-status-dot.inprogress{background:#f59e0b}.job-status-dot.completed{background:#22c55e}.job-status-dot.paused{background:#ef4444}.job-name{font-size:14px;font-weight:600;color:#1e293b}.job-card-meta{display:flex;align-items:center;gap:16px}.job-hours,.job-total{font-size:13px;color:#64748b}.job-total{font-weight:600;color:#1e293b}.job-card-actions{display:flex;gap:4px}.job-action-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:rgba(0,0,0,0);border:none;border-radius:6px;color:#64748b;cursor:pointer;transition:all .15s}.job-action-btn:hover{background:#f1f5f9;color:#1e293b}.job-expand-icon{transition:transform .2s}.job-expand-icon.expanded{transform:rotate(180deg)}.job-card-content{padding:16px;border-top:1px solid #e2e8f0;background:#f8fafc;border-radius:0 0 10px 10px}.labor-section,.parts-section{margin-bottom:16px}.labor-section:last-child,.parts-section:last-child{margin-bottom:0}.labor-header,.parts-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.labor-title,.parts-title{font-size:13px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.btn-add-item{padding:4px 10px;background:rgba(0,0,0,0);border:1px dashed #cbd5e1;border-radius:6px;font-size:12px;color:#64748b;cursor:pointer;transition:all .15s}.btn-add-item:hover{border-color:#3b82f6;color:#3b82f6;background:#eff6ff}.line-item{display:grid;grid-template-columns:1fr 80px 100px 100px 40px;gap:12px;align-items:center;padding:10px 12px;background:#f8fafc;border-radius:8px;margin-bottom:8px}.line-item:last-child{margin-bottom:0}.line-item-description{font-size:14px;color:#1e293b}.line-item-qty,.line-item-rate,.line-item-total{font-size:13px;color:#475569;text-align:right}.line-item-total{font-weight:600;color:#1e293b}.line-item-actions{display:flex;justify-content:flex-end}.line-item-delete{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;background:rgba(0,0,0,0);border:none;border-radius:4px;color:#94a3b8;cursor:pointer;transition:all .15s}.line-item-delete:hover{background:#fee2e2;color:#ef4444}.job-totals{display:flex;justify-content:flex-end;padding-top:12px;border-top:1px solid #e2e8f0;margin-top:16px}.job-total-row{display:flex;gap:24px}.job-total-label{font-size:13px;color:#64748b}.job-total-value{font-size:14px;font-weight:600;color:#1e293b}.ro-aggregate-metrics{flex-shrink:0;background:#fff;border-top:1px solid #e2e8f0;box-shadow:0 -2px 8px rgba(0,0,0,.08);overflow:visible;transition:margin-right .25s ease}.metrics-bar{display:flex;align-items:center;padding:12px 24px;gap:24px;max-width:100%;overflow:visible}.metric-item{display:flex;flex-direction:column;align-items:center;min-width:70px}.metric-item.metric-total{padding-left:16px;border-left:2px solid #e2e8f0}.metric-item.metric-total .metric-label{font-weight:700;color:#1e293b}.metric-item.metric-total .metric-value{font-size:18px;font-weight:700;color:#1e293b}.metric-label{font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:2px}.metric-label-with-badge{display:flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:2px}.metric-badge-inline{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;background:#3b82f6;color:#fff;border-radius:9px;font-size:10px;font-weight:600}.metric-value{font-size:15px;font-weight:600;color:#1e293b}.actions-section{display:flex;gap:8px;margin-left:auto;flex-shrink:0}.btn-authorize.authorize-idle{background:#94a3b8;cursor:default}.btn-authorize.authorize-idle:hover{background:#94a3b8}.btn-authorize.authorize-needed{background:var(--color-success)}.btn-authorize.authorize-needed:hover{background:var(--color-success-hover)}.btn-share.share-never{background:#94a3b8}.btn-share.share-never:hover{background:#64748b}.btn-share.share-live{background:var(--color-success)}.btn-share.share-live:hover{background:var(--color-success-hover)}.btn-share.share-disabled{background:var(--color-danger)}.btn-share.share-disabled:hover{background:var(--color-danger-hover)}.btn-complete{background:var(--color-primary)}.btn-complete:hover{background:var(--color-primary-hover)}.btn-collect-payment{background:#16a34a}.btn-collect-payment:hover{background:#15803d}.actions-dropdown-container{position:relative}.btn-actions{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#111926;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .15s}.btn-actions:hover{background:#1e293b}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.ro-detail-page{padding:12px 16px 16px}.segmented-control{width:100%;overflow-x:auto}.segment-btn{padding:8px 14px;font-size:13px}.section-header{flex-direction:column;align-items:flex-start;gap:12px}.section-header-actions{width:100%}.btn-add-card-template,.btn-ai-action{flex:1;justify-content:center}.line-item{grid-template-columns:1fr;gap:8px}.metrics-bar{padding:10px 12px;gap:12px;flex-wrap:wrap}.metric-item{min-width:50px}.metric-item.metric-total{padding-left:12px}.metric-label,.metric-label-with-badge{font-size:10px}.metric-value{font-size:13px}.btn-actions{padding:8px 14px;font-size:13px}}.ai-draft-ro-badge{display:inline-flex;align-items:center;background:linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);color:#fff;font-size:14px;font-weight:600;padding:4px 12px;border-radius:6px;letter-spacing:.5px}.customer-phone-text{color:#64748b;font-size:16px;font-weight:400;margin-left:4px}.ai-generated-label{display:inline-flex;align-items:center;color:#8b5cf6;font-size:13px;font-weight:500}.ai-draft-summary{background:#fff;border-radius:12px;padding:16px 20px;margin-top:16px;box-shadow:0 1px 3px rgba(0,0,0,.08)}.ai-draft-summary .summary-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #f1f5f9}.ai-draft-summary .summary-row:last-child{border-bottom:none}.ai-draft-summary .summary-row.summary-total{padding-top:12px;margin-top:4px;border-top:2px solid #e2e8f0;border-bottom:none}.ai-draft-summary .summary-row.summary-total .summary-label,.ai-draft-summary .summary-row.summary-total .summary-value{font-size:16px;font-weight:700;color:#1e293b}.ai-draft-summary .summary-label{color:#64748b;font-size:14px;font-weight:500}.ai-draft-summary .summary-value{color:#1e293b;font-size:14px;font-weight:600}.ai-draft-banner{position:sticky;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);padding:16px 24px;box-shadow:0 -4px 12px rgba(0,0,0,.15);z-index:100;margin:16px -24px -24px}.ai-draft-banner.ai-draft-banner-bottom{border-radius:0}.ai-draft-banner-content{display:flex;align-items:center;gap:10px;color:#fff}.ai-draft-banner-icon{font-size:20px}.ai-draft-banner-text{font-size:15px;font-weight:500}.ai-draft-banner-actions{display:flex;align-items:center;gap:12px}.ai-draft-reject-action,.ai-draft-accept-action{display:inline-flex;align-items:center;gap:6px;padding:10px 20px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .15s ease;border:none}.ai-draft-reject-action:disabled,.ai-draft-accept-action:disabled{opacity:.6;cursor:not-allowed}.ai-draft-reject-action{background:hsla(0,0%,100%,.15);color:#fff;border:1px solid hsla(0,0%,100%,.3)}.ai-draft-reject-action:hover:not(:disabled){background:hsla(0,0%,100%,.25)}.ai-draft-accept-action{background:#fff;color:#6366f1}.ai-draft-accept-action:hover:not(:disabled){background:#f8fafc;transform:translateY(-1px)}.suggested-parts-list{padding:12px;background:#f8fafc;border-radius:8px;margin-top:8px}.suggested-part-item{display:flex;align-items:center;gap:8px;padding:4px 0;color:#475569;font-size:13px}.suggested-part-item .part-bullet{color:#94a3b8}.job-card-title-section{display:flex;flex-direction:column;gap:12px;flex:1;min-width:0}.job-card-actions-section{display:flex;align-items:center;gap:8px;flex-shrink:0}.job-card-expand-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:rgba(0,0,0,0);border:none;font-size:12px;color:#94a3b8;cursor:pointer;border-radius:4px;transition:all .15s}.job-card-expand-btn:hover{background:#f1f5f9;color:#64748b}.service-title{font-size:15px;font-weight:600;color:#1e293b}.inspection-header-info{display:flex;flex-wrap:wrap;gap:16px;align-items:center;padding-top:8px}.inspection-technician{font-size:13px;color:#475569}.inspection-technician .text-muted{color:#94a3b8;font-style:italic}.inspection-technician .inspection-tech-select{padding:4px 8px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;color:#475569;background:#fff;cursor:pointer}.inspection-technician .inspection-tech-select:focus{outline:none;border-color:#3b82f6}.inspection-progress{display:flex;align-items:center;gap:8px}.progress-bar-container{width:100px;height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden}.progress-bar{height:100%;background:linear-gradient(90deg, #22c55e, #16a34a);border-radius:3px;transition:width .3s}.progress-text{font-size:12px;font-weight:500;color:#64748b}.inspection-dates{font-size:12px;color:#94a3b8}.inspection-dates div{line-height:1.4}.inspection-summary{display:flex;gap:8px}.summary-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:6px;font-size:12px;font-weight:600}.summary-badge.summary-ok{background:#dcfce7;color:#16a34a}.summary-badge.summary-critical{background:#fee2e2;color:#dc2626}.summary-badge.summary-needs-attention{background:#fef3c7;color:#d97706}.inspection-tech-info{margin-bottom:12px;padding:10px 14px;background:rgba(41,112,254,.06);border:1px solid rgba(41,112,254,.2);border-radius:8px}.inspection-tech-info .tech-info-title{margin-bottom:6px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#2970fe}.inspection-tech-info .tech-info-list{margin:0;padding-left:16px}.inspection-tech-info .tech-info-list li{font-size:13px;color:#475569;line-height:1.5}.inspection-tech-info .tech-info-item-name{font-weight:600}.inspection-tech-info .tech-info-item-name::after{content:":"}.desktop-inspection-items{display:flex;flex-direction:column;gap:8px}.inspection-group-header{padding:8px 4px 0;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#64748b}.desktop-inspection-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px 16px;transition:all .2s}.desktop-inspection-item:hover{box-shadow:0 2px 4px rgba(0,0,0,.05)}.desktop-inspection-item.status-ok{border-left:3px solid #22c55e}.desktop-inspection-item.status-attention{border-left:3px solid #f59e0b}.desktop-inspection-item.status-critical{border-left:3px solid #ef4444}.desktop-inspection-item.status-pending{border-left:3px solid #94a3b8}.inspection-item-row{display:flex;align-items:center;gap:12px}.item-name{flex:1;font-size:14px;color:#1e293b;font-weight:500}.item-name .item-tech-info{margin-top:2px;font-size:12px;font-weight:400;color:#64748b}.item-actions{display:flex;align-items:center;gap:8px}.btn-add-media-inline{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:1px dashed #cbd5e1;border-radius:4px;background:rgba(0,0,0,0);color:#94a3b8;cursor:pointer;transition:all .15s}.btn-add-media-inline:hover{border-color:#3b82f6;color:#3b82f6;background:#eff6ff}.media-count{display:flex;align-items:center;gap:4px;font-size:12px;color:#64748b;padding:4px 8px;background:#f1f5f9;border-radius:4px}.upload-indicator{display:flex;align-items:center;gap:4px;font-size:12px;color:#3b82f6;padding:4px 8px}.upload-spinner-inline{width:14px;height:14px;border:2px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}.inspection-status-tag{font-size:12px;font-weight:500;padding:4px 10px;border-radius:4px}.inspection-status-tag.status-complete{background:#dcfce7;color:#16a34a}.inspection-status-tag.status-in-progress{background:#dbeafe;color:#2563eb}.status-dropdown{padding:6px 10px;border-radius:6px;border:1px solid #e2e8f0;font-size:13px;font-weight:500;cursor:pointer;background:#fff;min-width:130px;transition:all .2s}.status-dropdown:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.1)}.status-dropdown.status-ok{background:#dcfce7;border-color:#86efac;color:#16a34a}.status-dropdown.status-attention{background:#fef3c7;border-color:#fde68a;color:#d97706}.status-dropdown.status-critical{background:#fee2e2;border-color:#fecaca;color:#dc2626}.status-dropdown.status-pending{background:#f8fafc;color:#64748b}.btn-accordion{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:rgba(0,0,0,0);border:none;color:#94a3b8;cursor:pointer;border-radius:4px;transition:all .15s}.btn-accordion svg{transition:transform .2s}.btn-accordion.open svg{transform:rotate(180deg)}.btn-accordion:hover{background:#f1f5f9;color:#64748b}.inspection-item-details{margin-top:12px;padding-top:12px;border-top:1px solid #e2e8f0}.detail-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:12px}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.detail-row{grid-template-columns:1fr}}.detail-field{display:flex;flex-direction:column;gap:6px}.detail-field label{font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.detail-field textarea{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;font-family:inherit;resize:vertical;transition:border-color .2s,box-shadow .2s}.detail-field textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.detail-field textarea::placeholder{color:#94a3b8}.media-row{display:flex;flex-wrap:wrap;gap:8px}.media-thumb{width:64px;height:64px;border-radius:6px;overflow:hidden;border:1px solid #e2e8f0}.media-thumb img,.media-thumb video{width:100%;height:100%;object-fit:cover}.btn-add-media{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border:2px dashed #cbd5e1;border-radius:6px;background:rgba(0,0,0,0);color:#94a3b8;cursor:pointer;transition:all .15s}.btn-add-media:hover{border-color:#3b82f6;color:#3b82f6;background:#eff6ff}.media-thumb{position:relative}.media-thumb.uploading{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f1f5f9;border:1px solid #e2e8f0}.media-thumb .btn-delete-media{position:absolute;top:-6px;right:-6px;width:20px;height:20px;border-radius:50%;background:#ef4444;color:#fff;border:none;font-size:14px;line-height:1;cursor:pointer;opacity:0;transition:opacity .15s;display:flex;align-items:center;justify-content:center}.media-thumb .btn-delete-media:hover{background:#dc2626}.media-thumb:hover .btn-delete-media{opacity:1}.upload-spinner{width:24px;height:24px;border:2px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}.upload-percent{font-size:10px;color:#64748b;margin-top:4px}.upload-error{color:#ef4444;font-size:12px;margin-top:4px}.template-list{display:flex;flex-direction:column;gap:8px}.template-item{padding:14px 16px;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .15s}.template-item:hover{border-color:#3b82f6;background:#eff6ff}.template-name{font-size:15px;font-weight:600;color:#1e293b;margin-bottom:4px}.template-description{font-size:13px;color:#64748b;margin-bottom:6px}.template-item-count{font-size:12px;color:#94a3b8}.declined-services-container-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.08);padding:20px}.empty-state-message{text-align:center;padding:32px 20px;color:#94a3b8}.empty-state-message p{margin:0;font-size:14px}.declined-services-section,.past-declined-services-section{margin-bottom:24px}.declined-services-section:last-child,.past-declined-services-section:last-child{margin-bottom:0}.section-title{font-size:15px;font-weight:600;color:#1e293b;margin:0 0 14px 0;padding-bottom:10px;border-bottom:1px solid #f1f5f9}.declined-items-list{display:flex;flex-direction:column;gap:10px}.declined-item-card{background:#fef2f2;border:1px solid #fecaca;border-left:3px solid #ef4444;border-radius:8px;padding:14px 16px;transition:all .2s}.declined-item-card:hover{box-shadow:0 2px 6px rgba(239,68,68,.1)}.declined-item-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.declined-item-info{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.declined-item-description{font-size:14px;font-weight:600;color:#1e293b}.declined-item-job,.declined-item-ro{font-size:12px;color:#64748b}.declined-item-amount{font-size:15px;font-weight:600;color:#dc2626;white-space:nowrap}.past-declined-services-section{padding-top:20px;border-top:1px solid #e2e8f0}.past-declined-services-section .section-title{color:#64748b}.past-declined-services-section .declined-item-card{background:#f8fafc;border-color:#e2e8f0;border-left-color:#94a3b8}.past-declined-services-section .declined-item-amount{color:#64748b}.feed-loading{text-align:center;padding:40px 20px;color:#94a3b8;font-size:14px}.feed-list{display:flex;flex-direction:column;gap:32px}.feed-item{display:flex;gap:12px;padding:14px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;transition:all .2s}.feed-item:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}.feed-item.feed-item-create{border-left:3px solid #22c55e}.feed-item.feed-item-delete{border-left:3px solid #ef4444}.feed-item.feed-item-success{border-left:3px solid #3b82f6}.feed-item.feed-item-warning{border-left:3px solid #f59e0b}.feed-item-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#f8fafc;border-radius:8px;font-size:16px;flex-shrink:0}.feed-item-content{flex:1;min-width:0}.feed-item-header{display:flex;align-items:baseline;gap:8px;margin-bottom:4px}.feed-item-action{font-size:14px;font-weight:600;color:#1e293b;white-space:nowrap}.feed-item-entity{flex:1;min-width:0;font-size:13px;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.feed-item-time{font-size:12px;color:#94a3b8;white-space:nowrap;margin-left:auto}.feed-item-details{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.feed-item-metadata{flex:1;min-width:0;font-size:12px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.feed-item-actor{font-size:12px;color:#94a3b8;white-space:nowrap}.quick-add-container{position:relative;margin-left:auto}.quick-add-job-combobox{position:relative}.quick-add-job-combobox .btn-quick-add{display:flex;align-items:center;justify-content:center;height:40px;padding:0 20px;border-radius:20px;background:#3b82f6;color:#fff;border:none;font-size:13px;font-weight:600;cursor:pointer;transition:all .15s;box-shadow:0 2px 6px rgba(59,130,246,.35)}.quick-add-job-combobox .btn-quick-add:hover{background:#2563eb}.quick-add-backdrop{position:fixed;inset:0;z-index:999}.quick-add-dropdown-panel{position:absolute;top:100%;right:0;z-index:1000;margin-top:8px;width:240px;background:#fff;border-radius:12px;box-shadow:0 12px 40px rgba(0,0,0,.2);overflow:hidden}.quick-add-actions{display:flex;flex-direction:column;gap:4px;padding:8px}.quick-add-action-item{display:flex;align-items:center;gap:10px;padding:10px 12px;background:rgba(0,0,0,0);border:none;border-radius:8px;font-size:14px;font-weight:500;color:#1e293b;cursor:pointer;text-align:left;transition:background .15s}.quick-add-action-item:hover{background:#f1f5f9}.quick-add-action-item .action-icon{font-size:16px}.quick-add-search{padding:12px;border-bottom:1px solid #e2e8f0}.quick-add-search-input{width:100%;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;outline:none}.quick-add-search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.quick-add-search-input::placeholder{color:#94a3b8}.quick-add-list{max-height:420px;overflow-y:auto}.quick-add-section-label{padding:8px 12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#64748b;background:#f8fafc;border-top:1px solid #e2e8f0}.quick-add-job-item{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 12px;background:rgba(0,0,0,0);border:none;border-bottom:1px solid #f1f5f9;cursor:pointer;text-align:left;transition:background .1s}.quick-add-job-item:hover,.quick-add-job-item.highlighted{background:#f1f5f9}.quick-add-job-item.quick-add-new-job{background:#fafafa;font-weight:500}.quick-add-job-item.quick-add-new-job .new-job-icon{color:#3b82f6;margin-right:8px}.job-item-info{display:flex;flex-direction:column;gap:2px}.job-item-name{font-size:14px;font-weight:500;color:#1e293b}.job-item-category{font-size:12px;color:#64748b}.job-item-total{font-size:14px;font-weight:600;color:#059669}.quick-add-empty{padding:32px;text-align:center;color:#64748b;font-size:14px}.quick-add-manage-link{padding:10px 12px;text-align:center;border-top:1px solid #e2e8f0;background:#f8fafc;font-size:13px}.quick-add-manage-link a{color:#3b82f6;text-decoration:none}.quick-add-manage-link a:hover{text-decoration:underline}.canned-job-select-modal .modal-body{display:flex !important;flex-direction:column !important;padding:0 !important;overflow-y:hidden !important}.canned-job-select-modal .quick-add-list{flex:1;min-height:0;max-height:none}.sublet-section .sublet-list{display:flex;flex-direction:column;gap:12px}.sublet-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.sublet-card .sublet-card-header{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.sublet-card .sublet-name-input{flex:1;min-width:150px;border:none;background:rgba(0,0,0,0);font-size:15px;font-weight:600;color:#1e293b;padding:4px 0}.sublet-card .sublet-name-input:focus{outline:none}.sublet-card .sublet-name-input::placeholder{color:#94a3b8}.sublet-card .sublet-vendor-select{padding:6px 10px;border:1px solid #e2e8f0;border-radius:4px;font-size:14px;color:#1e293b;background:#fff;min-width:150px}.sublet-card .sublet-vendor-select:focus{outline:none;border-color:#3b82f6}.sublet-card .sublet-card-body{display:flex;align-items:center;gap:16px;padding:12px 16px;flex-wrap:wrap}.sublet-card .sublet-description-field{flex:1;min-width:200px}.sublet-card .sublet-description-field .sublet-description-input{width:100%;padding:6px 10px;border:1px solid #e2e8f0;border-radius:4px;font-size:14px;color:#1e293b}.sublet-card .sublet-description-field .sublet-description-input:focus{outline:none;border-color:#3b82f6}.sublet-card .sublet-description-field .sublet-description-input::placeholder{color:#94a3b8}.sublet-card .sublet-field{display:flex;align-items:center;gap:6px}.sublet-card .sublet-field label{font-size:13px;color:#64748b;font-weight:500}.sublet-card .sublet-field .currency-prefix{color:#64748b}.sublet-card .sublet-field input{width:80px;padding:6px 8px;border:1px solid #e2e8f0;border-radius:4px;font-size:14px}.sublet-card .sublet-field input:focus{outline:none;border-color:#3b82f6}.sublet-card .sublet-total{font-size:14px;color:#475569}.sublet-card .sublet-total strong{color:#1e293b;font-size:16px}.sublet-card .btn-add-note{padding:4px 10px;font-size:12px;color:#64748b;background:rgba(0,0,0,0);border:1px solid #e2e8f0;border-radius:4px;cursor:pointer;transition:all .15s;margin-left:auto}.sublet-card .btn-add-note:hover{background:#f1f5f9;color:#3b82f6;border-color:#3b82f6}.sublet-card .sublet-notes{padding:0 16px 12px}.sublet-card .sublet-notes .sublet-notes-input{width:100%;min-height:60px;padding:10px;border:1px solid #e2e8f0;border-radius:4px;font-size:14px;color:#1e293b;resize:vertical}.sublet-card .sublet-notes .sublet-notes-input:focus{outline:none;border-color:#3b82f6}.sublet-card .sublet-notes .sublet-notes-input::placeholder{color:#94a3b8}.btn-delete-item{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:4px;background:rgba(0,0,0,0);border:1px solid #e2e8f0;color:#94a3b8;font-size:18px;cursor:pointer;transition:all .15s}.btn-delete-item:hover{background:#fee2e2;border-color:#fecaca;color:#dc2626}.fee-confirm-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1001}.fee-confirm-dialog{background:#fff;border-radius:12px;width:100%;max-width:420px;box-shadow:0 20px 40px rgba(0,0,0,.2)}.fee-confirm-header{padding:16px 20px;border-bottom:1px solid #e2e8f0}.fee-confirm-header h3{margin:0;font-size:18px;font-weight:600;color:#1e293b}.fee-confirm-body{padding:20px}.fee-confirm-body p{margin:0 0 12px;font-size:14px;color:#475569;line-height:1.5}.fee-confirm-body p:last-child{margin-bottom:0;font-weight:500;color:#1e293b}.fee-confirm-footer{display:flex;gap:12px;justify-content:flex-end;padding:16px 20px;border-top:1px solid #e2e8f0}.fee-confirm-footer .btn-cancel{padding:8px 16px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#64748b;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s}.fee-confirm-footer .btn-cancel:hover{background:#f1f5f9;color:#1e293b}.fee-confirm-footer .btn-confirm{padding:8px 16px;border:none;border-radius:6px;background:#f97316;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s}.fee-confirm-footer .btn-confirm:hover{background:#ea580c}.canned-picker-modal{max-width:450px}.canned-picker-search{padding:12px 16px;border-bottom:1px solid #e2e8f0}.canned-picker-search .form-control{width:100%;padding:8px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px}.canned-picker-search .form-control:focus{outline:none;border-color:#3b82f6}.canned-item{display:flex;align-items:center;justify-content:space-between}.canned-item-info{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.canned-item-name{font-size:14px;font-weight:500;color:#1e293b}.canned-item-category{font-size:12px;color:#64748b}.canned-item-total{font-size:14px;font-weight:600;color:#059669}.tire-details-section{margin-left:50px;padding:12px;background:#f8fafc;border-radius:6px;margin-top:4px;animation:tireDetailsSlideIn .3s ease;overflow:hidden}@keyframes tireDetailsSlideIn{from{opacity:0;max-height:0;padding-top:0;padding-bottom:0;margin-top:0}to{opacity:1;max-height:200px;padding-top:12px;padding-bottom:12px;margin-top:4px}}.tire-details-row{display:grid;grid-template-columns:repeat(4, 1fr);gap:12px;margin-bottom:8px}.tire-details-row:last-child{margin-bottom:0}.tire-detail-field{display:flex;flex-direction:column;gap:2px}.tire-detail-label{font-size:10px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.3px}.tire-detail-input{padding:4px 6px;border:1px solid #e2e8f0;border-radius:4px;font-size:13px;background:#fff}.tire-detail-input:focus{outline:none;border-color:#3b82f6}.tire-runflat-toggle{display:flex;flex-direction:row;align-items:center;gap:8px}.tire-runflat-toggle input[type=checkbox]{width:16px;height:16px}.tire-runflat-toggle span{font-size:13px;color:#334155}.tire-runflat-inline{display:flex;align-items:center;gap:6px;cursor:pointer}.tire-runflat-inline input[type=checkbox]{width:14px;height:14px;cursor:pointer}.tire-runflat-inline span{font-size:12px;color:#475569;white-space:nowrap}.tire-mileage-inline{display:flex;align-items:center;gap:6px}.tire-mileage-inline .tire-mileage-label{font-size:12px;color:#64748b;white-space:nowrap}.tire-mileage-inline .tire-mileage-input{width:90px;padding:4px 6px;border:1px solid #e2e8f0;border-radius:4px;font-size:12px;background:#fff}.tire-mileage-inline .tire-mileage-input:focus{outline:none;border-color:#3b82f6}.tire-mileage-inline .tire-mileage-input::placeholder{color:#94a3b8}.tire-dot-popover-container{position:relative}.btn-dot-numbers{padding:4px 10px;font-size:12px;font-weight:500;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;cursor:pointer;color:#475569}.btn-dot-numbers:hover{background:#e2e8f0;border-color:#94a3b8}.btn-dot-numbers.active{background:#dbeafe;border-color:#3b82f6;color:#1d4ed8}.dot-popover-backdrop{position:fixed;inset:0;z-index:999}.dot-popover{position:absolute;top:100%;left:0;margin-top:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.15);padding:12px;z-index:1000;min-width:350px}.dot-popover-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dot-field{display:flex;flex-direction:column;gap:2px}.dot-field-label{font-size:10px;font-weight:600;color:#94a3b8;text-transform:uppercase}.dot-field-input{padding:6px 8px;border:1px solid #e2e8f0;border-radius:4px;font-size:13px;background:#fff}.dot-field-input:focus{outline:none;border-color:#3b82f6}.tire-size-picker{display:flex;align-items:center;gap:6px;font-size:13px}.tire-size-select{padding:6px 8px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;font-size:13px;min-width:0;cursor:pointer;height:34px}.tire-size-select:hover{border-color:#94a3b8;background:#f8fafc}.tire-size-select:focus{border-color:#3b82f6;outline:none}.tire-type-select{width:56px}.tire-width-select{width:68px}.tire-aspect-select{width:56px}.tire-construction-select{width:48px}.tire-diameter-select{width:56px}.tire-size-separator{color:#94a3b8;font-weight:500;padding:0 2px}.parts-tab-content{padding:8px 12px 12px}.parts-tab-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.btn-order-parts{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#2970fe;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s}.btn-order-parts:hover{background:#1d5ed9}.btn-order-parts svg{flex-shrink:0}.parts-empty-state{text-align:center;padding:48px 24px;color:#64748b}.parts-empty-state p{margin:0;font-size:15px}.parts-list{display:flex;flex-direction:column;gap:8px}.part-item{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;gap:16px}.part-info{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.part-name{font-size:14px;font-weight:500;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.part-number{font-size:12px;color:#64748b}.part-details{display:flex;align-items:center;gap:16px;flex-shrink:0}.part-qty{font-size:13px;color:#64748b}.part-price{font-size:14px;font-weight:600;color:#1e293b}.parts-filters{display:flex;gap:4px}.parts-filter-btn{padding:5px 12px;font-size:12px;font-weight:500;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc;color:#64748b;cursor:pointer;transition:all .15s}.parts-filter-btn:hover{background:#f1f5f9}.parts-filter-btn.active{background:#1e293b;color:#fff;border-color:#1e293b}.parts-filter-btn.needed.active{background:#d97706;border-color:#d97706}.parts-filter-btn.quoted.active{background:#2563eb;border-color:#2563eb}.parts-filter-btn.ordered.active{background:#7c3aed;border-color:#7c3aed}.parts-filter-btn.received.active{background:#16a34a;border-color:#16a34a}.parts-sections{display:flex;flex-direction:column;gap:16px}.parts-section.needed .parts-section-header{color:#d97706;border-color:#fbbf24}.parts-section.quoted .parts-section-header{color:#2563eb;border-color:#60a5fa}.parts-section.ordered .parts-section-header{color:#7c3aed;border-color:#a78bfa}.parts-section.received .parts-section-header{color:#16a34a;border-color:#4ade80}.parts-section-header{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;border-bottom:2px solid;margin-bottom:4px}.parts-section-count{background:#e2e8f0;color:#475569;font-size:11px;padding:1px 8px;border-radius:10px}.parts-row{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-bottom:1px solid #f1f5f9;gap:12px}.parts-row:last-child{border-bottom:none}.parts-row.declined{opacity:.6}.parts-row.declined .parts-row-name{text-decoration:line-through}.parts-row.selected{background:#f0f5ff}.parts-row-left{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.parts-row-info{display:flex;align-items:baseline;gap:8px;min-width:0;flex:1}.parts-row-name{font-size:13px;font-weight:500;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.parts-row-number{font-size:11px;color:#94a3b8;white-space:nowrap}.parts-row-brand{font-size:11px;color:#64748b;font-weight:500;white-space:nowrap}.parts-row-meta{display:flex;align-items:center;gap:10px;font-size:12px;color:#64748b;flex-shrink:0}.parts-row-price{font-weight:600;color:#1e293b}.parts-row-retail{font-size:11px;color:#64748b;white-space:nowrap}.parts-row-retail::before{content:"Retail: ";font-weight:400}.parts-row-right{display:flex;align-items:center;gap:12px;flex-shrink:0}.parts-row-dates{display:flex;align-items:center;gap:8px;font-size:11px;color:#64748b}.parts-row-date{font-size:11px;color:#94a3b8}.parts-checkbox{margin-top:0;width:16px;height:16px;accent-color:#2970fe;cursor:pointer;flex-shrink:0}.parts-cart-btn{background:none;border:none;color:#94a3b8;cursor:pointer;padding:4px 6px;font-size:14px;border-radius:4px;transition:color .15s,background .15s;flex-shrink:0}.parts-cart-btn:hover{color:#2970fe;background:rgba(41,112,254,.08)}.parts-cart-btn:disabled{opacity:.4;cursor:not-allowed}.parts-due-date{display:flex;align-items:center;gap:4px}.parts-due-date label{font-size:11px;font-weight:500}.parts-due-date input[type=date],.parts-due-date input[type=time]{font-size:11px;border:1px solid #e2e8f0;border-radius:4px;padding:2px 4px;background:#fff}.parts-overdue-badge,.overdue-parts-badge{font-size:11px;font-weight:600;color:#dc2626;background:#fee2e2;border:1px solid #fca5a5;padding:2px 8px;border-radius:4px;margin-top:4px;display:inline-block}.parts-arrival-badge-btn{cursor:pointer}.parts-arrival-badge-btn:hover{background:#fecaca}.parts-in-badge{font-size:11px;font-weight:600;color:#16a34a;background:#dcfce7;border:1px solid #86efac;padding:2px 8px;border-radius:4px;display:inline-block}.parts-ordered-badge{font-size:11px;font-weight:600;color:#1d4ed8;background:#dbeafe;border:1px solid #93c5fd;padding:2px 8px;border-radius:4px;display:inline-block}.parts-status-badge{font-size:11px;padding:2px 8px;border-radius:4px;font-weight:500;margin-top:4px;display:inline-block}.parts-status-badge.declined{background:#fee2e2;color:#dc2626}.parts-arrival-btn{margin-left:auto}.parts-arrival-btn.attention{color:#dc2626;border-color:#fca5a5;background:#fee2e2}.parts-arrival-btn.attention:hover{background:#fecaca}.arrival-po-list{display:flex;flex-direction:column;gap:12px}.arrival-po-group{border:1px solid #e2e8f0;border-radius:8px;padding:12px 16px}.arrival-po-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.arrival-po-title{display:flex;align-items:baseline;gap:8px}.arrival-po-number{font-weight:600;font-size:14px}.arrival-po-vendor{font-size:13px;color:#64748b}.arrival-eta,.arrival-eta-none{font-size:12px;color:#64748b}.arrival-eta-due{font-size:12px;font-weight:600;color:#dc2626}.arrival-po-items{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}.arrival-po-item{display:flex;align-items:center;justify-content:space-between;font-size:13px}.arrival-po-item .arrival-item-qty{color:#64748b;font-size:12px}.arrival-po-actions,.arrival-eta-editor{display:flex;align-items:center;gap:8px}.arrival-eta-editor input[type=date],.arrival-eta-editor input[type=time]{font-size:12px;border:1px solid #e2e8f0;border-radius:4px;padding:4px 6px;background:#fff}.partstech-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1000}.partstech-modal{background:#fff;border-radius:12px;width:100%;max-width:520px;max-height:80vh;overflow:hidden;box-shadow:0 20px 40px rgba(0,0,0,.2)}.partstech-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e2e8f0}.partstech-modal-header h3{font-size:18px;font-weight:600;margin:0}.partstech-modal-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:#f1f5f9;border-radius:6px;font-size:20px;color:#64748b;cursor:pointer;transition:all .15s}.partstech-modal-close:hover{background:#e2e8f0;color:#1e293b}.partstech-modal-body{padding:16px 20px;overflow-y:auto;max-height:60vh}.partstech-info-box{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:12px 16px;font-size:13px;color:#1e40af;margin-bottom:12px}.partstech-section-label{font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;padding:8px 0;border-bottom:1px solid #e2e8f0;margin-bottom:4px}.partstech-part-row{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #f1f5f9}.partstech-part-left{display:flex;align-items:center;gap:10px}.partstech-part-info{display:flex;flex-direction:column;gap:2px}.partstech-part-name{font-size:14px;font-weight:500}.partstech-part-number{font-size:12px;color:#64748b}.partstech-shop-link{color:#2563eb;font-weight:500;font-size:13px;background:none;border:none;cursor:pointer;white-space:nowrap}.partstech-shop-link:hover{text-decoration:underline}.partstech-shop-link:disabled{opacity:.5;cursor:not-allowed}.partstech-modal-footer{display:flex;align-items:center;justify-content:flex-end;padding:12px 20px;border-top:1px solid #e2e8f0}.partstech-cart-review{display:flex;flex-direction:column;gap:8px;padding:8px 0}.partstech-cart-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px}.partstech-cart-part-info{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.partstech-cart-part-name{font-size:13px;font-weight:500;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.partstech-cart-part-detail{font-size:11px;color:#64748b}.partstech-cart-job-select{padding:5px 8px;border:1px solid #cbd5e1;border-radius:6px;font-size:12px;color:#1e293b;background:#fff;width:180px;text-overflow:ellipsis;flex-shrink:0}.partstech-cart-job-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.15)}.order-confirm-form{display:flex;flex-direction:column;gap:16px}.order-confirm-form .form-section{display:flex;flex-direction:column;gap:6px}.order-confirm-form .form-label{font-size:12px;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.03em}.order-confirm-form .form-label .required{color:#ef4444}.order-confirm-form .vendor-select-group{display:flex;gap:8px;align-items:center}.order-confirm-form .vendor-select-group .form-control{flex:1;padding:6px 10px;border:1px solid #cbd5e1;border-radius:6px;font-size:13px}.order-parts-list{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.eta-now-row{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:13px}.eta-now-row .eta-now-label{font-size:11px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.3px}.eta-now-row .eta-now-value{color:#475569}.eta-now-row .eta-arrow{color:#94a3b8}.eta-now-row .eta-result{font-weight:600;color:#16a34a}.eta-presets{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:8px}.eta-presets .eta-offset-select{flex:0 0 auto;width:130px}.eta-preset-btn{padding:6px 12px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;font-size:12px;font-weight:500;color:#475569;cursor:pointer;transition:all .15s;white-space:nowrap}.eta-preset-btn:hover{border-color:#cbd5e1;background:#f8fafc}.eta-preset-btn.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.expected-arrival-inputs{display:flex;gap:8px}.expected-arrival-inputs .form-control{flex:0 1 180px}.order-wait-note{margin-top:12px;padding:10px 14px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;font-size:13px;color:#1e40af}.order-part-row{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-bottom:1px solid #f1f5f9;gap:12px}.order-part-row:last-child{border-bottom:none}.order-part-info{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.order-part-name{font-size:13px;font-weight:500;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-part-number{font-size:11px;color:#64748b;white-space:nowrap}.order-part-brand{font-size:11px;color:#8b5cf6;font-weight:500;white-space:nowrap}.order-part-details{display:flex;gap:12px;font-size:12px;color:#475569;white-space:nowrap}.mobile-inspection-page{width:100%;max-width:720px;margin:0 auto;padding:12px 12px 32px;min-height:calc(100vh - 64px)}.mobile-inspection-page .loading-container,.mobile-inspection-page .error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:32px 16px;color:#64748b}.mobile-inspection-page .loading-spinner{width:32px;height:32px;border:3px solid #e5e7eb;border-top-color:#2970fe;border-radius:50%;animation:spin .8s linear infinite}.mobile-inspection-header{display:flex;align-items:center;gap:12px;padding:8px 0 12px}.mobile-inspection-header .back-btn{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;padding:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1e293b;cursor:pointer;transition:background .15s ease}.mobile-inspection-header .back-btn:active{background:#f1f5f9}.mobile-inspection-header .header-title{flex:1;min-width:0}.mobile-inspection-header .header-title h1{margin:0;font-size:18px;font-weight:600;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-inspection-header .header-title .header-progress{font-size:12px;color:#64748b}.mobile-inspection-header .completed-chip{flex-shrink:0;padding:4px 12px;background:#dcfce7;color:#16a34a;border-radius:9999px;font-size:12px;font-weight:600;white-space:nowrap}.mobile-inspection-progress{display:flex;align-items:center;gap:16px;margin-bottom:16px}.mobile-inspection-progress .progress-bar-container{flex:1;height:8px;background:#e5e7eb;border-radius:9999px;overflow:hidden}.mobile-inspection-progress .progress-bar{height:100%;background:linear-gradient(90deg, #22c55e, #16a34a);border-radius:9999px;transition:width .3s ease}.mobile-inspection-progress .progress-stats{display:flex;gap:12px;flex-shrink:0}.mobile-inspection-progress .stat{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600}.mobile-inspection-progress .stat.stat-ok{color:#16a34a}.mobile-inspection-progress .stat.stat-attention{color:#f59e0b}.mobile-inspection-progress .stat.stat-critical{color:#dc2626}.mobile-tech-info{margin-bottom:16px;padding:12px 16px;background:rgba(41,112,254,.1);border:1px solid rgba(41,112,254,.2);border-radius:8px}.mobile-tech-info .tech-info-title{margin-bottom:8px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#2970fe}.mobile-tech-info .tech-info-list{margin:0;padding-left:16px}.mobile-tech-info .tech-info-list li{font-size:14px;color:#1e293b;line-height:1.5}.mobile-tech-info .tech-info-list li+li{margin-top:4px}.mobile-tech-info .tech-info-item-name{font-weight:600}.mobile-tech-info .tech-info-item-name::after{content:":"}.mobile-inspection-items{display:flex;flex-direction:column;gap:16px}.mobile-inspection-items .inspection-group{display:flex;flex-direction:column;gap:8px}.mobile-inspection-items .group-header{padding:8px 4px 0;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#64748b}.mobile-inspection-item{background:#fff;border:1px solid #e5e7eb;border-left-width:3px;border-radius:8px;padding:12px 16px}.mobile-inspection-item.status-ok{border-left-color:#22c55e}.mobile-inspection-item.status-attention{border-left-color:#f59e0b}.mobile-inspection-item.status-critical{border-left-color:#ef4444}.mobile-inspection-item.status-pending{border-left-color:#94a3b8;background:#fff;color:#0f172a}.mobile-inspection-item .item-name{font-size:15px;font-weight:600;color:#0f172a}.mobile-inspection-item .item-tech-info{margin-top:2px;font-size:12px;color:#64748b}.mobile-inspection-item .status-buttons{display:flex;gap:8px;margin-top:12px}.mobile-inspection-item .status-btn{display:flex;align-items:center;justify-content:center;flex:1;gap:4px;min-height:44px;padding:8px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:6px;font-size:14px;font-weight:600;color:#64748b;cursor:pointer;transition:all .15s ease}.mobile-inspection-item .status-btn .status-btn-icon{font-size:16px;line-height:1}.mobile-inspection-item .status-btn.status-btn-ok.selected{background:#dcfce7;border-color:#22c55e;color:#16a34a}.mobile-inspection-item .status-btn.status-btn-attention.selected{background:#fef3c7;border-color:#f59e0b;color:#d97706}.mobile-inspection-item .status-btn.status-btn-critical.selected{background:#fee2e2;border-color:#ef4444;color:#dc2626}.mobile-inspection-item .item-details{display:flex;flex-direction:column;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #f1f5f9}.mobile-inspection-item .detail-field{display:flex;flex-direction:column;gap:4px}.mobile-inspection-item .detail-field label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#64748b}.mobile-inspection-item .detail-field textarea{width:100%;padding:8px 12px;border:1px solid #e5e7eb;border-radius:6px;font-size:14px;font-family:inherit;resize:vertical}.mobile-inspection-item .detail-field textarea:focus:focus{outline:none;box-shadow:0 0 0 3px var(--color-primary-light)}.mobile-inspection-item .detail-field textarea:focus:focus:not(:focus-visible){box-shadow:none}.mobile-inspection-item .detail-field textarea:focus:focus-visible{box-shadow:0 0 0 3px var(--color-primary-light)}.mobile-inspection-item .detail-field textarea::placeholder{color:#94a3b8}.mobile-inspection-item .item-media-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.mobile-inspection-item .media-thumbnail{position:relative;width:72px;height:72px;border:1px solid #e5e7eb;border-radius:6px;overflow:hidden}.mobile-inspection-item .media-thumbnail img,.mobile-inspection-item .media-thumbnail video{width:100%;height:100%;object-fit:cover}.mobile-inspection-item .media-thumbnail.uploading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:#f1f5f9}.mobile-inspection-item .media-thumbnail.uploading .upload-spinner{width:20px;height:20px;border:2px solid #e5e7eb;border-top-color:#2970fe;border-radius:50%;animation:spin .8s linear infinite}.mobile-inspection-item .media-thumbnail.uploading .upload-percent{font-size:11px;color:#64748b}.mobile-inspection-item .media-thumbnail .btn-delete-media{display:flex;align-items:center;justify-content:center;position:absolute;top:2px;right:2px;width:22px;height:22px;padding:0;background:rgba(15,23,42,.6);border:none;border-radius:50%;color:#fff;font-size:14px;line-height:1;cursor:pointer}.mobile-inspection-item .btn-add-media{display:flex;align-items:center;justify-content:center;width:72px;height:72px;background:rgba(0,0,0,0);border:2px dashed #d1d5db;border-radius:6px;color:#94a3b8;cursor:pointer;transition:all .15s ease}.mobile-inspection-item .btn-add-media:active{border-color:#2970fe;color:#2970fe}.mobile-inspection-item .upload-error{margin-top:8px;padding:8px 12px;background:#fee2e2;border-radius:6px;font-size:12px;color:#dc2626}@media(hover: hover){.mobile-inspection-header .back-btn:hover{background:#f1f5f9}.mobile-inspection-item .status-btn:not(.selected):hover{background:#f1f5f9;border-color:#d1d5db;color:#1e293b}.mobile-inspection-item .btn-add-media:hover{border-color:#2970fe;color:#2970fe}}@media(min-width: 1024px){.mobile-inspection-page{max-width:1140px;padding:24px 24px 32px}.mobile-inspection-item{padding:16px 20px}.mobile-inspection-item .item-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.mobile-inspection-item .item-title{min-width:0}.mobile-inspection-item .status-buttons{flex-shrink:0;margin-top:0}.mobile-inspection-item .status-btn{flex:0 0 auto;min-width:120px}.mobile-inspection-item .item-details{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mobile-inspection-item .media-thumbnail,.mobile-inspection-item .btn-add-media{width:96px;height:96px}}.pay-post-page{padding:16px 24px 24px;height:100%;flex:1;background:#f5f5f5;display:flex;flex-direction:column;overflow:auto}.pay-post-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:16px}.pay-post-header h1{margin:0;font-size:24px;font-weight:700;color:#111926}.header-controls{display:flex;gap:12px;align-items:center}.filter-tabs{display:flex;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;background:#fff}.filter-tabs .filter-tab{padding:8px 16px;border:none;background:#fff;font-size:14px;font-weight:500;color:#64748b;cursor:pointer;transition:all .15s}.filter-tabs .filter-tab:not(:last-child){border-right:1px solid #e2e8f0}.filter-tabs .filter-tab:hover:not(.active){background:#f8fafc}.filter-tabs .filter-tab.active{background:#3b82f6;color:#fff}.pay-post-content{display:flex;flex-direction:column;gap:24px}.loading-state,.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center;color:#64748b;background:#fff;border-radius:12px;border:1px solid #e2e8f0}.loading-state svg,.empty-state svg{opacity:.5;margin-bottom:1rem}.loading-state h3,.empty-state h3{margin:0 0 .5rem;font-size:1.25rem;color:#111926}.loading-state p,.empty-state p{margin:0}.day-group .day-header{display:flex;justify-content:space-between;align-items:center;padding:0 0 12px;margin-bottom:12px}.day-group .day-header .day-label{font-weight:600;font-size:14px;color:#111926;text-transform:uppercase;letter-spacing:.5px}.day-group .day-header .day-count{font-size:13px;color:#64748b}.ro-list{display:flex;flex-direction:column;gap:8px}.ro-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;transition:box-shadow .2s;position:relative;z-index:1}.ro-card:hover{box-shadow:0 2px 8px rgba(0,0,0,.08)}.ro-card:hover .ro-card-actions{opacity:1;pointer-events:auto}.ro-card:hover .ro-totals{opacity:0}.ro-card.payment-due{border-left:3px solid #f59e0b}.ro-card.ready-to-post{border-left:3px solid #22c55e}.ro-card.posted{border-left:3px solid #94a3b8}.ro-card.has-menu-open{z-index:1000}.ro-card-main{display:flex;justify-content:space-between;padding:12px 16px;cursor:pointer;gap:24px;align-items:center}.ro-info{flex:1;min-width:0;display:flex;align-items:center;gap:24px}.ro-info .ro-number-row{display:flex;align-items:center;gap:12px;min-width:180px}.ro-info .ro-number{font-weight:600;font-size:14px;color:#111926}.ro-info .customer-info{display:flex;align-items:center;gap:8px;min-width:200px}.ro-info .customer-info .customer-name{font-weight:500;font-size:14px;color:#111926}.ro-info .customer-info .customer-phone{color:#64748b;font-size:13px}.ro-info .vehicle-info{color:#64748b;font-size:13px;flex:1;min-width:150px}.ro-info .time-info{color:#94a3b8;font-size:12px;min-width:100px}.status-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:4px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.status-badge.status-payment-due{background:#fef3c7;color:#92400e}.status-badge.status-paid{background:#dcfce7;color:#166534}.status-badge.status-posted{background:#e2e8f0;color:#475569}.posted-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.posted-toolbar .posted-date-input,.posted-toolbar .posted-search-input{padding:6px 10px;border:1px solid #d1d5db;border-radius:6px;font-size:13px;font-family:inherit;background:#fff}.posted-toolbar .posted-date-input:focus,.posted-toolbar .posted-search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.15)}.posted-toolbar .posted-search-input{min-width:220px}.ro-totals{display:flex;align-items:center;gap:24px;min-width:280px;justify-content:flex-end;transition:opacity .15s ease}.ro-totals .total-row{display:flex;align-items:center;gap:8px;font-size:13px}.ro-totals .total-row .label{color:#64748b}.ro-totals .total-row .value{font-weight:600;color:#111926;min-width:70px;text-align:right}.ro-totals .total-row.balance-due .value{color:#f59e0b}.ro-totals .total-row.paid .value{color:#22c55e}.ro-card-actions{position:absolute;right:16px;top:50%;transform:translateY(-50%);display:flex;gap:4px;opacity:0;pointer-events:none;transition:opacity .15s ease}.action-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#64748b;cursor:pointer;transition:all .15s}.action-icon svg{width:18px;height:18px}.action-icon:hover:not(:disabled){background:#f1f5f9;color:#374151;border-color:#cbd5e1}.action-icon.primary{background:#3b82f6;color:#fff;border-color:#3b82f6}.action-icon.primary:hover:not(:disabled){background:#2563eb;border-color:#2563eb}.action-icon:disabled{opacity:.5;cursor:not-allowed}.share-container{position:relative}.share-backdrop{position:fixed;inset:0;z-index:999}.share-dropdown{position:absolute;top:100%;right:0;margin-top:4px;min-width:140px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.15);z-index:1000;overflow:hidden}.share-option{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px;background:#fff;border:none;text-align:left;font-size:14px;color:#374151;cursor:pointer;transition:background .15s}.share-option svg{width:16px;height:16px;color:#64748b;flex-shrink:0}.share-option:hover{background:#f8fafc}.share-option:not(:last-child){border-bottom:1px solid #f1f5f9}@media(max-width: 1024px){.ro-info{flex-wrap:wrap;gap:8px 16px}.ro-info .ro-number-row,.ro-info .customer-info,.ro-info .vehicle-info,.ro-info .time-info{min-width:auto}.ro-totals{min-width:auto;gap:16px}}@media(max-width: 768px){.pay-post-page{padding:12px 16px}.pay-post-header{flex-direction:column;align-items:flex-start}.filter-tabs{width:100%}.filter-tabs .filter-tab{flex:1;text-align:center;padding:10px 8px;font-size:13px}.ro-card-main{flex-direction:column;align-items:flex-start;gap:12px;padding-bottom:60px}.ro-info{flex-direction:column;align-items:flex-start;gap:4px}.ro-totals{width:100%;justify-content:flex-start;opacity:1 !important}.ro-card-actions{position:absolute;right:12px;bottom:12px;top:auto;transform:none;opacity:1;pointer-events:auto}}.tech-board{padding:16px 24px 24px;max-width:100%;height:100%;flex:1;background:#f5f5f5;display:flex;flex-direction:column;overflow:hidden}.tech-board-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:16px;flex-wrap:wrap}.tech-board-header h1{font-size:24px;font-weight:700;color:#111926;margin:0}.tech-board-header-left{display:flex;align-items:center;gap:16px}.my-work-page{padding:24px}.my-work-page .my-work-header{margin-bottom:24px}.my-work-page .my-work-header h1{font-size:24px;font-weight:700;color:#111926;margin:0}.tech-board-controls{display:flex;align-items:center;gap:12px}.search-container{position:relative}.search-container .search-input{width:220px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#fff;transition:border-color .2s,box-shadow .2s}.search-container .search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.search-container .search-input::placeholder{color:#94a3b8}.display-options{display:flex;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.display-btn{padding:8px 16px;border:none;background:#fff;font-size:14px;font-weight:500;color:#64748b;cursor:pointer;transition:all .15s}.display-btn:not(:last-child){border-right:1px solid #e2e8f0}.display-btn:hover:not(.active){background:#f8fafc}.display-btn.active{background:#111926;color:#fff}.sort-container{display:flex;align-items:center;gap:8px}.sort-label{font-size:13px;font-weight:500;color:#64748b}.sort-select{padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#fff;color:#1e293b;cursor:pointer;min-width:120px;transition:border-color .15s,box-shadow .15s}.sort-select:hover{border-color:#cbd5e1}.sort-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.1)}.layout-toggle{display:flex;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.layout-btn{display:flex;align-items:center;justify-content:center;padding:8px 10px;border:none;background:#fff;color:#64748b;cursor:pointer;transition:all .15s}.layout-btn:not(:last-child){border-right:1px solid #e2e8f0}.layout-btn:hover:not(.active){background:#f8fafc}.layout-btn.active{background:#3b82f6;color:#fff}.layout-btn svg{display:block}.tech-board-main{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.tech-board-content{flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden}.tech-board-content>.desktop-only{flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden}.mobile-card-list{display:none}.swimlane-container{display:flex;gap:20px;overflow-x:auto;overflow-y:hidden;padding-bottom:16px;flex:1;min-height:0;height:100%}.swimlane-container::-webkit-scrollbar{height:8px}.swimlane-container::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.swimlane-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.swimlane-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.swimlane-column{flex:1 1 320px;min-width:320px;display:flex;flex-direction:column;height:100%;background:#f8fafc;border-radius:12px;padding:16px;overflow:hidden}.swimlane-column h5{margin:0 0 16px 0;font-size:14px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;flex-shrink:0}.swimlane{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;overflow-y:auto;padding-right:4px}.swimlane::-webkit-scrollbar{width:6px}.swimlane::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.swimlane::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.swimlane.drag-over{background:rgba(59,130,246,.05);border-radius:10px}.swimlane.drag-over::before{content:"";position:absolute;inset:0;border:2px dashed #3b82f6;border-radius:10px;pointer-events:none}.swimlane:empty::after{content:"Drop job here";display:flex;align-items:center;justify-content:center;height:80px;color:#94a3b8;font-size:14px;font-style:italic;background:hsla(0,0%,100%,.5);border:2px dashed #e2e8f0;border-radius:10px}.list-view{background:#fff;border-radius:12px;border:1px solid #e2e8f0;overflow:hidden}.dispatch-table{width:100%;border-collapse:collapse}.dispatch-table thead{background:#f8fafc;border-bottom:1px solid #e2e8f0}.dispatch-table thead th{padding:12px 16px;text-align:left;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.dispatch-table tbody tr{border-bottom:1px solid #f1f5f9;cursor:pointer;transition:background-color .15s}.dispatch-table tbody tr:hover{background:#f8fafc}.dispatch-table tbody tr:last-child{border-bottom:none}.dispatch-table tbody td{padding:14px 16px;font-size:14px;color:#1e293b}.dispatch-table tbody td strong{font-weight:600;color:#111926}.dispatch-table tbody .group-header{background:#f1f5f9;cursor:default}.dispatch-table tbody .group-header:hover{background:#f1f5f9}.dispatch-table tbody .group-header td{padding:12px 16px;font-weight:600;font-size:13px;color:#475569;border-bottom:2px solid #e2e8f0}.dispatch-table tbody .group-header .group-tag-badge{display:inline-block;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500;color:#fff}.dispatch-table tbody .group-header .group-count{margin-left:8px;color:#64748b;font-weight:500}.tag-badges-inline{display:flex;flex-wrap:wrap;gap:4px}.tag-badge-small{display:inline-block;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:500;color:#fff;white-space:nowrap}.technician-select{padding:6px 10px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;background:#fff;color:#1e293b;cursor:pointer;min-width:140px;transition:border-color .15s,box-shadow .15s}.technician-select:hover{border-color:#cbd5e1}.technician-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.1)}.status-badge{display:inline-block;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500}.status-badge.status-new{background:#dbeafe;color:#1d4ed8}.status-badge.status-inprogress{background:#fef3c7;color:#b45309}.status-badge.status-orderparts{background:#fce7f3;color:#be185d}.status-badge.status-holdingforparts{background:#fee2e2;color:#dc2626}.status-badge.status-holdforauthorization{background:#f3e8ff;color:#7c3aed}.status-badge.status-holdingforsublet,.status-badge.status-holdingforother{background:#f1f5f9;color:#475569}.status-badge.status-paymentdue{background:#dcfce7;color:#16a34a}.status-badge.status-paid{background:#d1fae5;color:#059669}.technician-badge{display:inline-block;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500}.technician-badge.assigned{background:#dbeafe;color:#1d4ed8}.technician-badge.unassigned{background:#f1f5f9;color:#64748b}.empty-state{display:flex;align-items:center;justify-content:center;padding:48px 24px;color:#64748b;font-size:14px}.empty-state p{margin:0}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.tech-board{padding:12px 16px 20px}.tech-board-header{flex-direction:column;align-items:flex-start;gap:12px}.tech-board-header h1{font-size:20px}.tech-board-controls{width:100%}.search-container{flex:1}.search-container .search-input{width:100%}.mobile-card-list{display:flex;flex-direction:column;gap:12px}.desktop-only{display:none !important}}.mobile-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;cursor:pointer;transition:all .2s}.mobile-card:hover{border-color:#cbd5e1;box-shadow:0 2px 8px rgba(0,0,0,.06)}.mobile-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.mobile-card-title{font-size:16px;font-weight:600;color:#111926}.mobile-card-subtitle{font-size:14px;color:#64748b;margin-top:2px}.mobile-card-body{display:flex;flex-direction:column;gap:8px}.mobile-card-row{display:flex;justify-content:space-between;align-items:center}.mobile-card-label{font-size:13px;color:#64748b}.mobile-card-value{font-size:14px;color:#1e293b;font-weight:500}.mobile-card-actions{display:flex;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid #f1f5f9}.mobile-card-actions .btn{flex:1;padding:10px 16px;border-radius:8px;font-size:14px;font-weight:500;border:none;cursor:pointer;transition:all .15s}.mobile-card-actions .btn.btn-success{background:#22c55e;color:#fff}.mobile-card-actions .btn.btn-success:hover{background:#16a34a}.mobile-card-actions .btn.btn-secondary{background:#f1f5f9;color:#475569}.mobile-card-actions .btn.btn-secondary:hover{background:#e2e8f0}.my-work-view{flex:1;display:flex;flex-direction:column;min-height:0;overflow-y:auto;padding:16px}.work-cards-container{display:flex;flex-direction:column;gap:16px;width:100%}.loading-state{display:flex;align-items:center;justify-content:center;padding:48px 24px;color:#64748b;font-size:14px}.work-card{background:#fff;border-radius:8px;padding:14px 16px;box-shadow:0 1px 3px rgba(0,0,0,.1);cursor:pointer;transition:transform .2s,box-shadow .2s;height:fit-content}.work-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px rgba(0,0,0,.15)}.work-card.tracking{box-shadow:0 0 0 2px rgba(34,197,94,.3),0 1px 3px rgba(0,0,0,.1)}.work-card.paused{background:#fffbeb;box-shadow:0 0 0 2px rgba(245,158,11,.3),0 1px 3px rgba(0,0,0,.1)}.work-card.holding{background:#fef2f2;box-shadow:0 0 0 2px rgba(239,68,68,.3),0 1px 3px rgba(0,0,0,.1)}.work-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.work-type-badge{display:inline-block;padding:4px 8px;border-radius:4px;font-size:11px;font-weight:600;text-transform:uppercase}.work-type-badge.ro{background:#dbeafe;color:#1d4ed8}.work-type-badge.internal{background:#f3e8ff;color:#7c3aed}.status-indicator{font-size:12px;font-weight:500;padding:4px 8px;border-radius:4px}.status-indicator.tracking{background:#dcfce7;color:#16a34a}.status-indicator.paused{background:#fef3c7;color:#b45309}.status-indicator.holding{background:#fee2e2;color:#dc2626}.overlay-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;z-index:15;background:rgba(0,0,0,0)}.internal-work-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.1);overflow:hidden;width:100%;border-left:4px solid #f59e0b}.internal-work-card-header{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#fffbeb;border-bottom:1px solid #fef3c7}.internal-work-card-header .internal-badge{font-weight:700;font-size:11px;color:#b45309;background:#fef3c7;padding:4px 8px;border-radius:4px;text-transform:uppercase;letter-spacing:.5px}.internal-work-card-header .internal-category{font-weight:600;font-size:14px;color:#1e293b}.internal-work-card-jobs .internal-job-id{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:20px;padding:0 6px;margin-right:8px;font-size:11px;font-weight:600;color:#b45309;background:#fef3c7;border-radius:4px}.internal-work-card-jobs .job-section{position:relative;padding:12px 16px;border-bottom:1px solid #f1f5f9}.internal-work-card-jobs .job-section:last-child{border-bottom:none}.internal-work-card-jobs .job-section.tracking{background:#f0fdf4}.internal-work-card-jobs .job-section.paused{background:#fefce8}.internal-work-card-jobs .job-section.completed{background:#f8fafc}.internal-work-card-jobs .job-row{display:flex;align-items:center;gap:16px}.internal-work-card-jobs .job-name{font-size:14px;font-weight:500;color:#1e293b;flex:1;min-width:0}.internal-work-card-jobs .job-hours{display:flex;align-items:center;gap:12px;white-space:nowrap}.internal-work-card-jobs .job-hours .elapsed-time{font-size:16px;font-weight:600;color:#1e293b;font-family:"SF Mono","Menlo",monospace}.internal-work-card-jobs .job-hours .total-hours{font-size:12px;color:#64748b;background:#f1f5f9;padding:2px 8px;border-radius:4px}.internal-work-card-jobs .job-progress{display:flex;align-items:center;gap:8px;width:120px}.internal-work-card-jobs .job-progress .progress-bar{flex:1;height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden}.internal-work-card-jobs .job-progress .progress-bar .progress-fill{height:100%;border-radius:3px;transition:width .3s ease}.internal-work-card-jobs .job-progress .progress-bar .progress-fill.normal{background:#22c55e}.internal-work-card-jobs .job-progress .progress-bar .progress-fill.warning{background:#f59e0b}.internal-work-card-jobs .job-progress .progress-bar .progress-fill.over{background:#ef4444}.internal-work-card-jobs .job-progress .progress-percent{font-size:11px;color:#64748b;min-width:32px;text-align:right}.internal-work-card-jobs .job-status-badge{margin-left:auto}.internal-work-card-jobs button.job-actions-handle{display:flex !important;align-items:center;justify-content:center;width:32px !important;height:32px !important;border:none;background:#f1f5f9;border-radius:6px;cursor:pointer;transition:background .15s}.internal-work-card-jobs button.job-actions-handle:hover{background:#e2e8f0}.internal-work-card-jobs button.job-actions-handle svg{display:block;color:#64748b}.internal-work-card-jobs .job-actions-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(30,41,59,.9);display:flex;align-items:center;justify-content:center;z-index:20}.internal-work-card-jobs .job-actions-overlay .overlay-actions{display:flex;align-items:center;gap:12px}.internal-work-card-jobs .job-actions-overlay .overlay-actions .action-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;border:none;border-radius:6px;cursor:pointer;font-size:13px;font-weight:500;transition:opacity .15s}.internal-work-card-jobs .job-actions-overlay .overlay-actions .action-btn:hover{opacity:.9}.internal-work-card-jobs .job-actions-overlay .overlay-actions .action-btn.start{background:#22c55e;color:#fff}.internal-work-card-jobs .job-actions-overlay .overlay-actions .action-btn.pause{background:#f59e0b;color:#fff}.internal-work-card-jobs .job-actions-overlay .overlay-actions .action-btn.complete{background:#3b82f6;color:#fff}.internal-work-card-jobs .job-actions-overlay .overlay-actions .action-btn.reopen{background:#6366f1;color:#fff}.internal-work-card-jobs .job-actions-overlay .overlay-actions .clock-in-notice{color:#cbd5e1;font-size:13px}.header-inspections-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;background:#eef2ff;border:1px solid #e0e7ff;border-radius:12px;color:#4338ca;font-size:12px;font-weight:600;cursor:pointer;flex-shrink:0;transition:all .15s}.header-inspections-chip:hover{background:#e0e7ff}.header-inspections-chip.open{background:#4338ca;border-color:#4338ca;color:#fff}.header-inspections-chip.empty{color:#94a3b8;background:rgba(0,0,0,0);border-color:#e2e8f0}.header-inspections-chip.empty:hover{color:#4338ca;background:#eef2ff;border-color:#e0e7ff}.work-card-inspections{padding:8px 16px;background:#fafaff;border-bottom:1px solid #f1f5f9}.work-card-inspection-row{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid #f1f5f9}.work-card-inspection-row:last-of-type{border-bottom:none}.work-card-inspection-row.completed .inspection-row-name{color:#94a3b8}.work-card-inspection-row .inspection-row-name{flex:1;min-width:0;font-size:14px;font-weight:500;color:#1e293b}.work-card-inspection-row .inspection-row-tech{font-size:12px;color:#94a3b8}.work-card-inspection-row .inspection-row-progress{font-size:12px;color:#64748b;white-space:nowrap}.work-card-inspection-row .inspection-row-status{font-size:12px;font-weight:600;padding:3px 10px;border-radius:12px;white-space:nowrap}.work-card-inspection-row .inspection-row-status.status-in-progress{color:#4338ca;background:#e0e7ff}.work-card-inspection-row .inspection-row-status.status-complete{color:#15803d;background:#dcfce7}.work-card-inspection-row .inspection-row-open{padding:6px 14px;background:#6366f1;color:#fff;border:none;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;transition:background .15s}.work-card-inspection-row .inspection-row-open:hover{background:#4f46e5}.inspection-row-add{width:100%;margin-top:6px;padding:7px 12px;background:rgba(0,0,0,0);border:1px dashed #c7d2fe;border-radius:6px;font-size:13px;font-weight:500;color:#6366f1;text-align:left;cursor:pointer;transition:all .15s}.inspection-row-add:hover{background:#eef2ff;border-color:#a5b4fc}.ro-work-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.1);overflow:hidden;width:100%}.ro-work-card-header{display:flex;align-items:center;gap:16px;padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.ro-work-card-header .ro-number{font-weight:600;font-size:14px;color:#1d4ed8;background:#dbeafe;padding:4px 10px;border-radius:4px;white-space:nowrap}.ro-work-card-header .ro-status{font-size:12px;font-weight:500;padding:4px 8px;border-radius:4px;white-space:nowrap}.ro-work-card-header .ro-status.status-new{background:#dbeafe;color:#1d4ed8}.ro-work-card-header .ro-status.status-inprogress{background:#dcfce7;color:#16a34a}.ro-work-card-header .ro-status.status-onhold{background:#fef3c7;color:#b45309}.ro-work-card-header .ro-status.status-waitingforapproval{background:#f3e8ff;color:#7c3aed}.ro-work-card-header .ro-status.status-waitingforpickup{background:#e0f2fe;color:#0284c7}.ro-work-card-header .ro-status.status-invoiced{background:#f1f5f9;color:#475569}.ro-work-card-header .customer-name{font-weight:600;font-size:14px;color:#1e293b;flex:1}.ro-work-card-header .vehicle-info{font-size:13px;color:#64748b;white-space:nowrap}.ro-work-card-jobs{display:flex;flex-direction:column}.job-section{border-bottom:1px solid #e2e8f0;position:relative}.job-section:last-child{border-bottom:none}.job-section.tracking{background:#f0fdf4}.job-section.paused{background:#fffbeb}.job-section.holding{background:#fef2f2}.job-section.completed{background:#f8fafc}.job-section .job-actions-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(30,41,59,.9);display:flex;align-items:center;justify-content:center;z-index:20}.job-section .job-actions-overlay .overlay-actions{display:flex;align-items:center;gap:12px}.job-section .job-actions-overlay .overlay-actions .action-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;border:none;border-radius:6px;cursor:pointer;font-size:13px;font-weight:500;transition:all .15s;color:#fff}.job-section .job-actions-overlay .overlay-actions .action-btn svg{flex-shrink:0}.job-section .job-actions-overlay .overlay-actions .action-btn.start,.job-section .job-actions-overlay .overlay-actions .action-btn.reopen{background:#22c55e}.job-section .job-actions-overlay .overlay-actions .action-btn.start:hover,.job-section .job-actions-overlay .overlay-actions .action-btn.reopen:hover{background:#16a34a}.job-section .job-actions-overlay .overlay-actions .action-btn.pause{background:#f59e0b}.job-section .job-actions-overlay .overlay-actions .action-btn.pause:hover{background:#d97706}.job-section .job-actions-overlay .overlay-actions .action-btn.complete{background:#3b82f6}.job-section .job-actions-overlay .overlay-actions .action-btn.complete:hover{background:#2563eb}.job-section .job-actions-overlay .overlay-actions .action-btn.hold{background:#64748b}.job-section .job-actions-overlay .overlay-actions .action-btn.hold:hover{background:#475569}.job-row{display:flex;align-items:center;gap:16px;padding:12px 16px}.job-row .job-name{flex:1;font-size:14px;font-weight:500;color:#1e293b;min-width:150px}.job-row .job-hours{font-size:13px;font-weight:500;color:#475569;white-space:nowrap;min-width:90px}.job-row .job-progress{display:flex;align-items:center;gap:8px;min-width:140px}.job-row .job-progress .progress-bar{flex:1;height:6px;background:#e5e7eb;border-radius:3px;overflow:hidden}.job-row .job-progress .progress-fill{height:100%;border-radius:3px;transition:width .3s}.job-row .job-progress .progress-fill.normal{background:#3b82f6}.job-row .job-progress .progress-fill.warning{background:#f59e0b}.job-row .job-progress .progress-fill.over{background:#ef4444}.job-row .job-progress .progress-percent{font-size:12px;color:#64748b;min-width:32px;text-align:right}.job-row .job-status-badge{margin-left:auto}.job-row button.job-actions-handle{display:flex !important;align-items:center;justify-content:center;width:32px !important;height:32px !important;border:none;background:#f1f5f9;border-radius:6px;cursor:pointer;color:#64748b;transition:all .15s;margin-left:8px;flex-shrink:0}.job-row button.job-actions-handle svg{display:block}.job-row button.job-actions-handle:hover{background:#e2e8f0;color:#475569}.job-parts{padding:0 16px 12px 32px;display:flex;flex-direction:column;gap:6px}.part-row{display:flex;align-items:center;gap:12px;font-size:13px;padding:6px 0}.part-row.part-header{font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #e2e8f0;padding-bottom:8px;margin-bottom:4px}.part-row.part-header .part-status,.part-row.part-header .part-code,.part-row.part-header .part-brand,.part-row.part-header .part-description,.part-row.part-header .part-qty{background:none;padding:0}.part-row .part-status{font-size:11px;font-weight:500;padding:2px 6px;border-radius:3px;white-space:nowrap;min-width:70px}.part-row .part-status.status-pending{background:#f1f5f9;color:#64748b}.part-row .part-status.status-staged{background:#dbeafe;color:#1d4ed8}.part-row .part-status.status-ordered{background:#fef3c7;color:#b45309}.part-row .part-status.status-received{background:#dcfce7;color:#16a34a}.part-row .part-status.status-authorized{background:#f3e8ff;color:#7c3aed}.part-row .part-status.status-approved{background:#dcfce7;color:#16a34a}.part-row .part-status.status-declined{background:#fee2e2;color:#dc2626}.part-row .part-code{color:#475569;font-family:monospace;font-size:12px;min-width:100px}.part-row .part-brand{color:#64748b;min-width:80px}.part-row .part-description{flex:1;color:#1e293b}.part-row .part-qty{color:#64748b;min-width:40px;text-align:right}.work-card-title{font-size:16px;font-weight:600;color:#111926;margin-bottom:4px}.work-card-customer{font-size:14px;color:#64748b;margin-bottom:2px}.work-card-vehicle{font-size:13px;color:#94a3b8;margin-bottom:12px}.work-card-progress{margin-bottom:16px}.progress-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.progress-text{font-size:13px;color:#475569;font-weight:500}.progress-percent{font-size:12px;color:#94a3b8}.progress-bar{height:6px;background:#f1f5f9;border-radius:3px;overflow:hidden}.progress-fill{height:100%;border-radius:3px;transition:width .3s ease}.progress-fill.normal{background:#22c55e}.progress-fill.warning{background:#f59e0b}.progress-fill.over{background:#ef4444}.elapsed-time{display:flex;align-items:center;gap:8px}.elapsed-label{font-size:13px;color:#64748b}.elapsed-value{font-size:18px;font-weight:600;color:#111926}.work-card-actions{display:flex;gap:8px;padding-top:12px;border-top:1px solid #f1f5f9}.action-btn{flex:1;display:flex;align-items:center;justify-content:center;padding:10px 12px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s}.action-btn svg{width:18px;height:18px}.action-btn.start{background:#22c55e;color:#fff}.action-btn.start:hover{background:#16a34a}.action-btn.pause{background:#f59e0b;color:#fff}.action-btn.pause:hover{background:#d97706}.action-btn.complete{background:#3b82f6;color:#fff}.action-btn.complete:hover{background:#2563eb}.action-btn.hold{background:#f1f5f9;color:#475569}.action-btn.hold:hover{background:#e2e8f0}.clock-in-warning{flex:1;text-align:center;font-size:13px;color:#94a3b8;font-style:italic}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-overlay.enforced-modal{z-index:99999;background:rgba(0,0,0,.75)}.modal-content{background:#fff;border-radius:16px;max-width:480px;width:100%;max-height:80vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 50px rgba(0,0,0,.2)}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e2e8f0}.modal-header h3{font-size:18px;font-weight:600;color:#111926;margin:0}.modal-close{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:#f1f5f9;border-radius:8px;font-size:20px;color:#64748b;cursor:pointer;transition:all .15s}.modal-close:hover{background:#e2e8f0;color:#1e293b}.modal-body{padding:20px 24px;overflow-y:auto;flex:1}.modal-description{font-size:14px;color:#64748b;margin:0 0 20px}.modal-actions{display:flex;gap:12px;margin-top:24px}.modal-actions .btn{flex:1;padding:12px 20px;border-radius:8px;font-size:14px;font-weight:500;border:none;cursor:pointer;transition:all .15s}.modal-actions .btn.btn-secondary{background:#f1f5f9;color:#475569}.modal-actions .btn.btn-secondary:hover{background:#e2e8f0}.modal-actions .btn.btn-primary{background:#3b82f6;color:#fff}.modal-actions .btn.btn-primary:hover{background:#2563eb}.modal-actions .btn.btn-primary:disabled{background:#cbd5e1;cursor:not-allowed}.next-job-modal .modal-header h3{color:#fff !important}.next-job-modal .job-section{margin-bottom:24px}.next-job-modal .job-section:last-of-type{margin-bottom:0}.next-job-modal .job-section h4{font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin:0 0 12px}.next-job-modal .job-list{display:flex;flex-direction:column;gap:8px}.next-job-modal .job-option{padding:12px 16px;border:1px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:all .15s}.next-job-modal .job-option:hover{border-color:#3b82f6;background:#eff6ff}.next-job-modal .job-option.unassigned{border-style:dashed}.next-job-modal .job-option.internal{background:#faf5ff;border-color:#e9d5ff}.next-job-modal .job-option.internal:hover{border-color:#a855f7;background:#f3e8ff}.next-job-modal .job-option-header{display:flex;align-items:center;gap:10px}.next-job-modal .ro-badge{font-size:11px;font-weight:600;color:#1d4ed8;background:#dbeafe;padding:2px 6px;border-radius:4px}.next-job-modal .internal-badge{font-size:11px;font-weight:600;color:#7c3aed;background:#ede9fe;padding:2px 6px;border-radius:4px}.next-job-modal .internal-job-id{font-size:11px;font-weight:600;color:#b45309;background:#fef3c7;padding:2px 6px;border-radius:4px}.next-job-modal .job-name{font-size:14px;font-weight:500;color:#1e293b}.next-job-modal .job-customer,.next-job-modal .job-vehicle{font-size:13px;color:#64748b;margin-top:4px;padding-left:42px}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.work-cards-container{grid-template-columns:1fr}.modal-content{max-height:90vh}}.inventory-page{padding:16px 24px 24px;max-width:100%;min-height:calc(100vh - 56px);background:#f5f5f5}.inventory-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:16px;flex-wrap:wrap}.inventory-header h1{font-size:24px;font-weight:700;color:#111926;margin:0}.inventory-stats{display:grid;grid-template-columns:repeat(auto-fit, minmax(260px, 320px));gap:16px;margin-bottom:20px}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:18px 20px;display:flex;flex-direction:column;gap:4px}.stat-card .stat-label{font-size:13px;font-weight:500;color:#64748b}.stat-card .stat-value{font-size:28px;font-weight:700;color:#111926;line-height:1.2}.stat-card .stat-subtext{font-size:12px;color:#94a3b8}.stat-card .stat-link{align-self:flex-start;margin-top:6px;padding:0;background:none;border:none;color:#3b82f6;font-size:13px;font-weight:500;cursor:pointer}.stat-card .stat-link:hover{color:#2563eb;text-decoration:underline}.inventory-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}.inventory-toolbar .toolbar-search{flex:1;min-width:240px}.inventory-toolbar .toolbar-search .form-control{width:100%;max-width:420px;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#fff}.inventory-toolbar .toolbar-search .form-control:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.inventory-toolbar .toolbar-search .form-control::placeholder{color:#94a3b8}.inventory-toolbar .toolbar-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.inventory-toolbar .toolbar-actions{display:flex;gap:10px;margin-left:auto}.filter-select{padding:9px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#fff;color:#475569;cursor:pointer}.filter-select:focus{outline:none;border-color:#3b82f6}.filter-checkbox{display:flex;align-items:center;gap:6px;font-size:14px;color:#475569;cursor:pointer;white-space:nowrap}.filter-checkbox input[type=checkbox]{width:16px;height:16px;accent-color:#3b82f6;cursor:pointer}.inventory-page .btn{padding:10px 18px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s}.inventory-page .btn-primary{background:#3b82f6;color:#fff}.inventory-page .btn-primary:hover{background:#2563eb}.inventory-page .btn-danger{background:#dc2626;color:#fff}.inventory-page .btn-danger:hover{background:#b91c1c}.inventory-page .loading{display:flex;align-items:center;justify-content:center;padding:48px;color:#64748b;font-size:14px}.inventory-page .empty-state{display:flex;align-items:center;justify-content:center;padding:80px 24px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;color:#64748b;font-size:14px}.inventory-page .empty-state p{margin:0}.inventory-table-container{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow-x:auto}.inventory-table{width:100%;border-collapse:collapse}.inventory-table thead{background:#f8fafc;border-bottom:1px solid #e2e8f0}.inventory-table thead th{padding:12px 16px;text-align:left;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.4px;white-space:nowrap}.inventory-table thead th.num{text-align:right}.inventory-table thead th.sortable{cursor:pointer;user-select:none}.inventory-table thead th.sortable:hover{color:#334155}.inventory-table thead th.sortable.sorted{color:#3b82f6}.inventory-table thead th.col-check{width:40px}.inventory-table thead th.col-actions{width:90px}.inventory-table tbody tr{border-bottom:1px solid #f1f5f9;transition:background-color .15s}.inventory-table tbody tr:hover{background:#f8fafc}.inventory-table tbody tr:last-child{border-bottom:none}.inventory-table tbody tr.selected{background:#eff6ff}.inventory-table tbody td{padding:12px 16px;font-size:14px;color:#1e293b;vertical-align:middle;white-space:nowrap}.inventory-table tbody td.num{text-align:right;font-variant-numeric:tabular-nums}.inventory-table tbody td.muted{color:#94a3b8}.inventory-table tbody td.col-check{text-align:center}.inventory-table input[type=checkbox]{width:16px;height:16px;accent-color:#3b82f6;cursor:pointer}.part-cell{display:flex;flex-direction:column;line-height:1.3}.part-cell .part-name{font-weight:500;color:#3b82f6}.part-cell .part-number{font-size:12px;color:#94a3b8}.qty-pill{display:inline-block;min-width:28px;padding:2px 10px;border-radius:999px;background:#3b82f6;color:#fff;font-size:13px;font-weight:600;text-align:center}.status-badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:500;white-space:nowrap}.status-badge.in-stock{background:#dcfce7;color:#16a34a}.status-badge.above-max{background:#dcfce7;color:#16a34a}.status-badge.below-min{background:#fef3c7;color:#b45309}.status-badge.out-of-stock{background:#fee2e2;color:#dc2626}.status-badge.inactive{background:#f1f5f9;color:#64748b}.status-badge.info{background:#e0f2fe;color:#0369a1}.action-buttons{display:flex;gap:4px}.btn-icon{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;background:rgba(0,0,0,0);border:1px solid #e2e8f0;border-radius:6px;font-size:14px;cursor:pointer;transition:all .15s}.btn-icon:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1}.btn-icon:disabled{opacity:.4;cursor:not-allowed}.btn-icon.delete:hover{background:#fee2e2;border-color:#fca5a5}.inventory-pagination{display:flex;align-items:center;justify-content:flex-end;gap:24px;padding:14px 8px 0;font-size:13px;color:#64748b}.inventory-pagination .rows-per-page{display:flex;align-items:center;gap:8px}.inventory-pagination .rows-per-page select{padding:4px 8px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;cursor:pointer}.inventory-pagination .page-nav{display:flex;gap:4px}.inventory-pagination .page-nav .btn-icon{font-size:18px;line-height:1}.part-type-chips{display:flex;gap:8px}.part-type-chips .type-chip{padding:8px 18px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;font-size:14px;color:#475569;cursor:pointer;transition:all .15s}.part-type-chips .type-chip:hover{border-color:#cbd5e1}.part-type-chips .type-chip.active{background:#eff6ff;border-color:#3b82f6;color:#2563eb;font-weight:600}.input-with-action{display:flex;gap:6px}.input-with-action .form-control{flex:1}.input-with-action .btn-calc{width:40px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;font-size:16px;cursor:pointer}.input-with-action .btn-calc:hover:not(:disabled){background:#eff6ff;border-color:#3b82f6}.input-with-action .btn-calc:disabled{opacity:.5;cursor:default}.bulk-upload-section .section-description{font-size:13px;color:#64748b;line-height:1.5}.bulk-upload-section .section-description code{display:block;margin-top:6px;padding:8px 10px;background:#f8fafc;border-radius:6px;font-size:12px;color:#475569}.bulk-upload-section .bulk-dropzone{display:flex;align-items:center;gap:12px;margin-top:12px;padding:20px;border:2px dashed #cbd5e1;border-radius:10px;background:#f8fafc;cursor:pointer;color:#475569;font-size:14px}.bulk-upload-section .bulk-dropzone:hover{border-color:#3b82f6}.bulk-upload-section .import-result{margin-top:16px;padding:12px 14px;border-radius:8px;font-size:13px}.bulk-upload-section .import-result.success{background:#dcfce7;color:#166534}.bulk-upload-section .import-result.has-warnings{background:#fef3c7;color:#92400e}.bulk-upload-section .import-result p{margin:0 0 6px}.bulk-upload-section .import-result .import-errors{margin:6px 0 0;padding-left:18px}.bulk-upload-section .import-result .import-errors li{margin-bottom:2px}.modal-subtabs{margin-top:8px}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.inventory-page{padding:12px 16px 20px}.inventory-header{flex-direction:column;align-items:flex-start;gap:12px}.inventory-header h1{font-size:20px}.inventory-stats{grid-template-columns:1fr}.inventory-toolbar .toolbar-actions{margin-left:0;width:100%}.inventory-table{min-width:1000px}.inventory-pagination{justify-content:space-between;gap:12px;flex-wrap:wrap}}.orders-page{padding:16px 24px 24px;max-width:100%;min-height:calc(100vh - 56px);background:#f5f5f5}.orders-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:16px;flex-wrap:wrap}.orders-header h1{font-size:24px;font-weight:700;color:#111926;margin:0}.orders-header .header-actions{display:flex;gap:12px}.orders-header .header-actions .btn-primary{padding:10px 20px;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s;white-space:nowrap}.orders-header .header-actions .btn-primary:hover{background:#2563eb}.orders-filters{display:flex;align-items:center;gap:16px;margin-bottom:20px;flex-wrap:wrap}.orders-filters .filter-group{display:flex;align-items:center;gap:8px}.orders-filters .filter-group .filter-label{font-size:14px;font-weight:500;color:#475569}.orders-filters .filter-group .form-control{padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#fff;min-width:180px;cursor:pointer;transition:border-color .2s,box-shadow .2s}.orders-filters .filter-group .form-control:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.orders-page .loading{display:flex;align-items:center;justify-content:center;padding:48px;color:#64748b;font-size:14px}.orders-page .empty-state{display:flex;align-items:center;justify-content:center;padding:80px 24px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;color:#64748b;font-size:14px}.orders-page .empty-state p{margin:0}.orders-table-container{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.orders-table{width:100%;border-collapse:collapse}.orders-table thead{background:#f8fafc;border-bottom:1px solid #e2e8f0}.orders-table thead th{padding:12px 16px;text-align:left;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.orders-table tbody tr{border-bottom:1px solid #f1f5f9;transition:background-color .15s}.orders-table tbody tr:hover{background:#f8fafc}.orders-table tbody tr:last-child{border-bottom:none}.orders-table tbody td{padding:14px 16px;font-size:14px;color:#1e293b;vertical-align:middle}.orders-table tbody td strong{font-weight:600;color:#111926}.orders-table .status-badge{display:inline-block;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500}.orders-table .status-badge.pending{background:#fef3c7;color:#b45309}.orders-table .status-badge.partial{background:#dbeafe;color:#1d4ed8}.orders-table .status-badge.received{background:#dcfce7;color:#16a34a}.orders-table .status-badge.cancelled{background:#f1f5f9;color:#64748b}.orders-table .action-buttons{display:flex;gap:4px}.orders-table .btn-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0);border:1px solid #e2e8f0;border-radius:6px;font-size:14px;cursor:pointer;transition:all .15s}.orders-table .btn-icon:hover{background:#f1f5f9;border-color:#cbd5e1}.orders-table .btn-icon.delete:hover{background:#fee2e2;border-color:#fca5a5}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.orders-page{padding:12px 16px 20px}.orders-header{flex-direction:column;align-items:flex-start;gap:12px}.orders-header h1{font-size:20px}.orders-header .header-actions{width:100%}.orders-header .header-actions .btn-primary{flex:1}.orders-filters{flex-direction:column;align-items:stretch;gap:12px}.orders-filters .filter-group .form-control{flex:1}.orders-table-container{overflow-x:auto}.orders-table{min-width:700px}.orders-table thead th,.orders-table tbody td{padding:10px 12px;font-size:13px}}.customers-page{padding:16px 24px 24px;max-width:100%;min-height:calc(100vh - 56px);background:#f5f5f5}.customers-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:16px;flex-wrap:wrap}.customers-header h1{font-size:24px;font-weight:700;color:#111926;margin:0}.customers-header .header-actions{display:flex;align-items:center;gap:12px}.customers-header .header-actions .search-container .search-box{width:250px}.customers-header .header-actions .btn-primary{padding:10px 20px;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s;white-space:nowrap}.customers-header .header-actions .btn-primary:hover{background:#2563eb}.customers-page .loading{display:flex;align-items:center;justify-content:center;padding:48px;color:#64748b;font-size:14px}.customers-page .empty-state{display:flex;align-items:center;justify-content:center;padding:80px 24px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;color:#64748b;font-size:14px}.customers-page .empty-state p{margin:0}.customers-table-container{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.customers-table{width:100%;border-collapse:collapse}.customers-table thead{background:#f8fafc;border-bottom:1px solid #e2e8f0}.customers-table thead th{padding:12px 16px;text-align:left;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.customers-table tbody tr{border-bottom:1px solid #f1f5f9;cursor:pointer;transition:background-color .15s}.customers-table tbody tr:hover{background:#f8fafc}.customers-table tbody tr:last-child{border-bottom:none}.customers-table tbody td{padding:14px 16px;font-size:14px;color:#1e293b;vertical-align:middle}.customers-table tbody td strong{font-weight:600;color:#111926}.customers-page .pagination-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px}.customers-page .pagination-controls .page-info{font-size:13px;color:#64748b}.customers-page .pagination-controls .btn-action:disabled{opacity:.5;cursor:default}.customers-page .pagination-controls .btn-action:disabled:hover{background:#f1f5f9}.customers-table .action-buttons{display:flex;gap:8px}.btn-action{padding:6px 14px;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .15s}.btn-action:hover{background:#2563eb}.btn-action.secondary{background:#f1f5f9;color:#475569}.btn-action.secondary:hover{background:#e2e8f0}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.customers-page{padding:12px 16px 20px}.customers-header{flex-direction:column;align-items:flex-start;gap:12px}.customers-header h1{font-size:20px}.customers-header .header-actions{width:100%;flex-direction:column;gap:12px}.customers-header .header-actions .search-container{width:100%}.customers-header .header-actions .search-container .search-box{width:100%;max-width:none}.customers-header .header-actions .btn-primary{width:100%}.customers-table-container{overflow-x:auto}.customers-table{min-width:600px}.customers-table thead th,.customers-table tbody td{padding:10px 12px;font-size:13px}}.appointments-page{padding:24px;max-width:100%;height:calc(100vh - 64px);display:flex;flex-direction:column;overflow:hidden}.appointments-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.appointments-header h1{font-size:24px;font-weight:600;color:#1e293b;margin:0}.header-left{display:flex;align-items:center;gap:16px}.header-right{display:flex;align-items:center;gap:12px}.date-navigation{display:flex;align-items:center;gap:8px}.btn-nav{display:flex;align-items:center;justify-content:center;padding:8px 12px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;color:#475569;cursor:pointer;transition:all .15s}.btn-nav:hover{background:#f1f5f9;border-color:#cbd5e1}.btn-nav span{font-size:18px;line-height:1}.btn-date-jump{width:40px;padding:8px}.btn-date-jump::-webkit-datetime-edit,.btn-date-jump::-webkit-inner-spin-button,.btn-date-jump::-webkit-clear-button{display:none}.btn-date-jump::-webkit-calendar-picker-indicator{margin:0;cursor:pointer;opacity:.6}.btn-date-jump:hover::-webkit-calendar-picker-indicator{opacity:1}.current-date{font-size:16px;font-weight:500;color:#1e293b;padding:0 8px}.view-selector{display:flex;background:#f1f5f9;border-radius:8px;padding:4px}.btn-view{padding:8px 16px;background:rgba(0,0,0,0);border:none;border-radius:6px;font-size:14px;font-weight:500;color:#64748b;cursor:pointer;transition:all .15s}.btn-view:hover{color:#1e293b}.btn-view.active{background:#fff;color:#1e293b;box-shadow:0 1px 3px rgba(0,0,0,.1)}.btn-create{display:flex;align-items:center;gap:6px;padding:10px 16px;background:#111926;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background .2s}.btn-create:hover{background:rgb(32.7636363636,48.1818181818,73.2363636364)}.calendar-container{flex:1;width:100%;overflow:auto;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.day-view{display:flex;flex-direction:column;min-height:100%;width:100%}.calendar-header-row{display:flex;border-bottom:1px solid #e2e8f0;background:#f8fafc}.calendar-header-row .time-column-header{width:70px;flex-shrink:0;border-right:1px solid #e2e8f0}.calendar-header-row .day-header{flex:1;display:flex;flex-direction:column;align-items:center;padding:12px}.calendar-after-hours-row{display:flex;border-bottom:2px solid #fcd34d;background:#fefce8}.calendar-after-hours-row .time-column-label{width:70px;flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:8px;background:#fef3c7;border-right:1px solid #e2e8f0}.calendar-after-hours-row .time-column-label .time-label{color:#92400e;font-weight:600;font-size:13px;text-align:center;line-height:1.2}.calendar-after-hours-row .after-hours-content{flex:1;min-height:70px;padding:8px;display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start;align-content:flex-start}.day-view .calendar-grid,.week-view .calendar-grid{display:flex !important;flex:1;width:100%;--available-height: calc(100vh - 200px);--hours-count: 10;--slot-height: max(78px, calc(var(--available-height) / var(--hours-count)));overflow-y:auto}.time-column{width:70px;flex-shrink:0;border-right:1px solid #e2e8f0;background:#f8fafc}.time-slot{height:var(--slot-height, 78px);display:flex;align-items:flex-start;justify-content:flex-end;padding:4px 12px 0 0;border-bottom:1px solid #f1f5f9}.time-label{font-size:12px;color:#94a3b8;font-weight:500}.day-view .day-column,.week-view .week-day-column{flex:1 1 0% !important;min-width:0;display:block;position:relative}.day-header{display:flex;flex-direction:column;align-items:center;padding:12px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.day-name{font-size:12px;font-weight:500;color:#64748b;text-transform:uppercase}.day-number{font-size:20px;font-weight:600;color:#1e293b}.day-view .day-events,.week-view .day-events{position:absolute;top:0;left:0;right:0;bottom:0;min-height:calc(var(--slot-height, 78px)*var(--hours-count, 10))}.after-hours-slot{background:#fef3c7;border-bottom:2px solid #f59e0b}.after-hours-slot .time-label{color:#92400e;font-weight:600}.after-hours-row{min-height:84px;background:#fefce8;border-bottom:2px solid #fcd34d;padding:8px;display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start;align-content:flex-start}.after-hours-row.has-events{min-height:60px}.after-hours-event{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;background:#3b82f6;color:#fff;border-radius:4px;font-size:11px;cursor:pointer;white-space:nowrap;max-width:100%;overflow:hidden}.after-hours-event .event-time{font-weight:600}.after-hours-event .event-title{overflow:hidden;text-overflow:ellipsis}.after-hours-event:hover{opacity:.9;box-shadow:0 2px 6px rgba(0,0,0,.15)}.appointment-event{position:absolute;border-radius:6px;padding:6px 10px 6px 18px;color:#1e3a5f;cursor:pointer;overflow:hidden;transition:box-shadow .15s;z-index:1;box-sizing:border-box}.appointment-event::before{content:"";position:absolute;top:0;left:8px;right:0;bottom:0;background-color:var(--event-color);opacity:.3;z-index:-1;border-radius:0 6px 6px 0}.appointment-event::after{content:"";position:absolute;top:0;left:0;bottom:0;width:8px;background-color:var(--event-color);border-radius:6px 0 0 6px}.appointment-event:hover{box-shadow:0 2px 8px rgba(0,0,0,.15);z-index:10}.appointment-event:hover::before{opacity:1}.appointment-event .event-header{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:2px}.appointment-event .time-type-badge{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;font-size:9px;font-weight:700;border-radius:3px;flex-shrink:0}.appointment-event .time-type-badge.waiter{background:hsla(0,0%,100%,.3);color:#fff}.appointment-event .time-type-badge.dropoff{background:rgba(0,0,0,.2);color:hsla(0,0%,100%,.9)}.waiter-badge{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;font-size:10px;font-weight:700;background:#1e3a5f;color:#fff;border-radius:4px;flex-shrink:0}.status-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;font-size:12px;font-weight:700;border-radius:4px;flex-shrink:0}.status-icon.arrived{background:#16a34a;color:#fff}.status-icon.noshow{background:#dc2626;color:#fff}.status-icon.cancelled{background:#94a3b8;color:#fff}.appointment-event.status-arrived::before{background-color:#16a34a !important;opacity:.2 !important}.appointment-event.status-arrived::after{background-color:#16a34a !important}.appointment-event.status-noshow::before{background-color:#dc2626 !important;opacity:.15 !important}.appointment-event.status-noshow::after{background-color:#dc2626 !important}.appointment-event.status-noshow .event-customer-name,.appointment-event.status-noshow .event-vehicle{text-decoration:line-through;opacity:.7}.appointment-event.status-cancelled::before{background-color:#94a3b8 !important;opacity:.25 !important}.appointment-event.status-cancelled::after{background-color:#94a3b8 !important}.appointment-event.status-cancelled .event-customer-name,.appointment-event.status-cancelled .event-vehicle{text-decoration:line-through;opacity:.6}.day-event .event-content-inline{display:flex;align-items:center;gap:10px;white-space:nowrap;overflow:hidden}.day-event .event-customer-name{font-size:14px;font-weight:600}.day-event .event-vehicle{font-size:13px;font-weight:400;opacity:.9;overflow:hidden;text-overflow:ellipsis}.event-time{font-size:11px;font-weight:500;opacity:.9;margin-bottom:2px}.event-title{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-customer{font-size:11px;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.week-view{display:flex;flex-direction:column;min-height:100%}.week-view .calendar-header-row.week-header .day-header{flex:1;border-right:1px solid #e2e8f0}.week-view .calendar-header-row.week-header .day-header:last-child{border-right:none}.week-view .calendar-header-row.week-header .day-header.today{background:#eff6ff}.week-view .calendar-header-row.week-header .day-header.today .day-number{background:#3b82f6;color:#fff;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center}.week-view .calendar-after-hours-row.week-after-hours .after-hours-content{flex:1;border-right:1px solid #f5d68a;min-height:56px}.week-view .calendar-after-hours-row.week-after-hours .after-hours-content:last-child{border-right:none}.week-view .calendar-after-hours-row.week-after-hours .after-hours-content.today{background:#fef9e7}.day-grid{display:flex;flex-direction:column;flex:1;overflow-y:auto}.day-hour-row{display:flex;min-height:40px;border-bottom:1px solid #f1f5f9}.day-cards-cell{flex:1;display:grid;grid-template-columns:repeat(2, 1fr);gap:4px;padding:4px;align-content:start}.day-card{height:32px;flex-shrink:0;padding:6px 10px;border-radius:6px;background:var(--event-color, #3b82f6);cursor:pointer;position:relative;overflow:hidden;transition:transform .1s,box-shadow .1s;display:flex;align-items:center}.day-card:hover{transform:translateY(-1px);box-shadow:0 2px 8px rgba(0,0,0,.15)}.day-card .card-content{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:500;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.day-card .card-content .separator{color:hsla(0,0%,100%,.6);flex-shrink:0}.day-card .card-content .concern{opacity:.9;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.day-card .card-content .time{flex-shrink:0;opacity:.9}.day-card .status-icon{width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:10px;margin-right:6px;flex-shrink:0}.day-card .status-icon.arrived{background:#22c55e;color:#fff}.day-card .status-icon.noshow{background:#ef4444;color:#fff}.day-card .status-icon.cancelled{background:#6b7280;color:#fff}.day-card .waiter-badge{width:18px;height:18px;border-radius:50%;background:#f59e0b;color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;margin-right:6px;flex-shrink:0}.week-grid{display:flex;flex-direction:column;flex:1;overflow-y:auto}.week-hour-row{display:flex;min-height:40px;border-bottom:1px solid #f1f5f9}.time-cell{width:70px;flex-shrink:0;padding:8px 12px 8px 0;text-align:right;background:#f8fafc;border-right:1px solid #e2e8f0}.time-cell .time-label{font-size:12px;color:#94a3b8;font-weight:500}.day-cell{flex:1;display:flex;flex-direction:column;gap:4px;padding:4px;border-right:1px solid #e2e8f0}.day-cell:last-child{border-right:none}.day-cell.today{background:rgba(239,246,255,.3)}.week-card{height:44px;flex-shrink:0;padding:6px 8px;border-radius:6px;background:var(--event-color, #3b82f6);cursor:pointer;position:relative;overflow:hidden;transition:transform .1s,box-shadow .1s;display:flex;flex-direction:column;justify-content:center}.week-card:hover{transform:translateY(-1px);box-shadow:0 2px 8px rgba(0,0,0,.15)}.week-card .card-row{font-size:11px;font-weight:500;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.week-card .card-row:first-of-type{font-weight:600}.week-card .status-icon{position:absolute;top:4px;right:4px;width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:10px}.week-card .status-icon.arrived{background:#22c55e;color:#fff}.week-card .status-icon.noshow{background:#ef4444;color:#fff}.week-card .status-icon.cancelled{background:#6b7280;color:#fff}.week-card .waiter-badge{position:absolute;top:4px;right:4px;width:16px;height:16px;border-radius:50%;background:#f59e0b;color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700}.month-view{display:flex;flex-direction:column;min-height:100%}.month-header{display:grid;grid-template-columns:repeat(7, 1fr);border-bottom:1px solid #e2e8f0;background:#f8fafc}.month-day-header{padding:12px;text-align:center;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase}.month-grid{display:grid;grid-template-columns:repeat(7, 1fr);flex:1}.month-day{min-height:100px;border-right:1px solid #f1f5f9;border-bottom:1px solid #f1f5f9;padding:8px;transition:background .15s}.month-day:nth-child(7n){border-right:none}.month-day:hover{background:#f8fafc}.month-day.today{background:#eff6ff}.month-day.today .day-number{background:#3b82f6;color:#fff;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center}.month-day.other-month{background:#fafafa}.month-day.other-month .day-number{color:#cbd5e1}.month-day.expanded{min-height:auto}.month-day .day-number{font-size:14px;font-weight:500;color:#1e293b;margin-bottom:4px}.month-day .day-events{display:flex;flex-direction:column;gap:4px}.month-card{padding:6px 8px;background:var(--event-color, #3b82f6);border-radius:6px;cursor:pointer;transition:transform .1s,box-shadow .1s}.month-card:hover{transform:translateY(-1px);box-shadow:0 2px 8px rgba(0,0,0,.15)}.month-card .card-row{font-size:10px;font-weight:500;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.month-card .card-row:first-child{font-weight:600}.expand-btn,.collapse-btn{display:block;width:100%;padding:4px 8px;margin-top:2px;background:rgba(0,0,0,0);border:none;border-radius:4px;font-size:11px;font-weight:500;color:#3b82f6;cursor:pointer;text-align:left;transition:background .15s}.expand-btn:hover,.collapse-btn:hover{background:rgba(59,130,246,.1)}.collapse-btn{color:#64748b}.collapse-btn:hover{background:rgba(100,116,139,.1)}.popover-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.2);z-index:999}.appointment-popover{position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);background:#fff;border-radius:12px;box-shadow:0 8px 32px rgba(0,0,0,.15);z-index:1000;min-width:320px;max-width:400px;overflow:hidden}.appointment-popover .popover-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.appointment-popover .popover-label{display:inline-block;padding:4px 10px;border-radius:4px;font-size:12px;font-weight:600;color:#fff}.appointment-popover .popover-header-actions{display:flex;align-items:center;gap:4px}.appointment-popover .popover-menu-container{position:relative}.appointment-popover .popover-menu-btn{background:none;border:none;padding:4px;cursor:pointer;color:#64748b;border-radius:4px;display:flex;align-items:center;justify-content:center}.appointment-popover .popover-menu-btn:hover{background:#e2e8f0;color:#1e293b}.appointment-popover .popover-submenu-backdrop{position:fixed;inset:0;z-index:99}.appointment-popover .popover-menu-dropdown{position:absolute;top:100%;right:0;margin-top:4px;background:#fff;z-index:100;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1);min-width:140px;z-index:100;overflow:hidden}.appointment-popover .popover-menu-item{display:flex;align-items:center;gap:8px;width:100%;padding:10px 14px;background:none;border:none;font-size:13px;color:#334155;cursor:pointer;text-align:left}.appointment-popover .popover-menu-item .menu-icon{font-size:14px;width:16px;text-align:center}.appointment-popover .popover-menu-item:hover{background:#f1f5f9}.appointment-popover .popover-menu-item.danger{color:#dc2626}.appointment-popover .popover-menu-item.danger:hover{background:#fef2f2}.appointment-popover .popover-menu-divider{height:1px;background:#e2e8f0;margin:4px 0}.appointment-popover .popover-close{background:none;border:none;font-size:20px;color:#64748b;cursor:pointer;padding:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:4px}.appointment-popover .popover-close:hover{background:#e2e8f0;color:#1e293b}.appointment-popover .popover-body{padding:16px;display:flex;flex-direction:column;gap:12px}.appointment-popover .popover-row{display:flex;align-items:center;gap:10px;font-size:14px;color:#334155}.appointment-popover .popover-icon{font-size:16px;flex-shrink:0}.appointment-popover .popover-badge{display:inline-block;padding:4px 10px;border-radius:4px;font-size:12px;font-weight:600}.appointment-popover .popover-badge.waiter{background:#fef3c7;color:#92400e}.appointment-popover .popover-description{padding-top:8px;border-top:1px solid #e2e8f0;font-size:13px;color:#64748b;line-height:1.5}.appointment-popover .popover-status-badge{display:inline-block;padding:4px 10px;border-radius:4px;font-size:12px;font-weight:600}.appointment-popover .popover-status-badge.status-arrived{background:#dcfce7;color:#166534}.appointment-popover .popover-status-badge.status-noshow{background:#fef2f2;color:#dc2626}.appointment-popover .popover-status-badge.status-cancelled{background:#f1f5f9;color:#64748b}.appointment-popover .popover-status-badge.status-confirmed{background:#dbeafe;color:#1e40af}.appointment-popover .popover-status-badge.status-inprogress{background:#fef3c7;color:#92400e}.appointment-popover .popover-status-badge.status-completed{background:#d1fae5;color:#065f46}.appointment-popover .popover-footer{padding:12px 16px;border-top:1px solid #e2e8f0;background:#f8fafc;display:flex;justify-content:flex-end}.appointment-popover .btn-popover-action{background:#2970fe;color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer}.appointment-popover .btn-popover-action:hover{background:#1d4ed8}@media(max-width: 768px){.appointments-header{flex-direction:column;align-items:stretch}.header-left,.header-right{flex-wrap:wrap;justify-content:center}.view-selector{width:100%;justify-content:center}.search-box{width:100%;max-width:100%}.btn-create{width:100%;justify-content:center}.week-view{overflow-x:auto}.week-view .week-grid{min-width:700px}.appointment-popover{min-width:280px;max-width:calc(100vw - 32px)}}.chat-page{display:flex;flex-direction:column;height:calc(100vh - 56px);background:#f5f5f5;overflow:hidden}.chat-container{display:flex;flex:1;min-height:0;overflow:hidden;background:#fff;border-radius:12px 12px 0 0;margin:16px 24px 0 24px;border:1px solid #e2e8f0;border-bottom:none}.chat-sidebar{width:300px;min-width:300px;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;background:#fff;overflow:hidden}.chat-sidebar-header{padding:16px 20px;border-bottom:1px solid #e2e8f0;flex-shrink:0}.chat-sidebar-header h2{font-size:18px;font-weight:600;color:#111926;margin:0}.conversations-list{flex:1;min-height:0;overflow-y:auto}.conversations-list .loading,.conversations-list .empty-state{padding:24px 16px;text-align:center;color:#64748b;font-size:14px}.conversations-list::-webkit-scrollbar{width:6px}.conversations-list::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.conversations-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.conversations-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}.conversation-item{display:flex;align-items:center;gap:12px;padding:12px 16px;cursor:pointer;transition:background .15s;border:none;background:rgba(0,0,0,0);width:100%;text-align:left;position:relative}.conversation-item:hover{background:#f8fafc}.conversation-item.active{background:#eff6ff}.conversation-avatar{width:42px;height:42px;border-radius:50%;background:#dbeafe;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;color:#1d4ed8;flex-shrink:0;position:relative}.conversation-avatar .online-indicator{position:absolute;bottom:2px;right:2px;width:10px;height:10px;border-radius:50%;border:2px solid #fff}.conversation-avatar .online-indicator.online{background:#22c55e}.conversation-avatar .online-indicator.offline{background:#94a3b8}.conversation-info{flex:1;min-width:0}.conversation-name-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.conversation-name{font-weight:500;font-size:14px;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-time{font-size:12px;color:#94a3b8;flex-shrink:0}.conversation-preview{font-size:13px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.unread-badge{width:8px;height:8px;border-radius:50%;background:#3b82f6;position:absolute;top:50%;right:16px;transform:translateY(-50%)}.chat-main{flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden;background:#fafafa}.chat-empty{flex:1;display:flex;align-items:center;justify-content:center;color:#64748b;font-size:14px}.chat-empty p{margin:0}.chat-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-bottom:1px solid #e2e8f0;background:#fff;flex-shrink:0}.chat-header h3{font-size:16px;font-weight:600;color:#111926;margin:0}.chat-header-info .participants-count{font-size:13px;color:#64748b;margin-top:2px}.message-list-container{flex:1;min-height:0;overflow-y:auto;padding:16px 24px}.message-list-container::-webkit-scrollbar{width:6px}.message-list-container::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.message-list-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.message-list-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.message-list-container .loading,.message-list-container .empty-state{display:flex;align-items:center;justify-content:center;height:100%;color:#64748b;font-size:14px}.message-input-container{flex-shrink:0;padding:16px 24px;background:#fff;border-top:1px solid #e2e8f0}.message-input-wrapper{display:flex;align-items:flex-end;gap:12px}.message-textarea{flex:1;padding:12px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;resize:none;min-height:44px;max-height:120px;background:#f8fafc;transition:border-color .2s,box-shadow .2s}.message-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1);background:#fff}.message-textarea::placeholder{color:#94a3b8}.btn-send{padding:12px 24px;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s;flex-shrink:0}.btn-send:hover:not(:disabled){background:#2563eb}.btn-send:disabled{background:#94a3b8;cursor:not-allowed}.message-item{display:flex;flex-direction:column;max-width:70%;margin-bottom:12px;margin-right:auto}.message-item .message-content{background:#e2e8f0;color:#1e293b}.message-item.own-message{margin-right:0;margin-left:auto;align-items:flex-end}.message-item.own-message .message-meta-right{order:-1}.message-item.own-message .message-content{background:#3b82f6;color:#fff}.read-receipt-slot{width:14px;flex-shrink:0;display:flex;align-items:flex-end;color:#94a3b8}.message-content-wrapper{display:flex;align-items:flex-end;gap:8px}.message-content{padding:10px 14px;border-radius:12px;font-size:14px;line-height:1.5}.message-text{word-wrap:break-word}.message-meta-right{flex-shrink:0}.message-time{font-size:11px;color:#94a3b8;white-space:nowrap}.message-attachments{margin-top:8px;display:flex;flex-direction:column;gap:4px}.attachment-link{font-size:13px;color:inherit;text-decoration:none;opacity:.9}.attachment-link:hover{opacity:1;text-decoration:underline}.date-separator{display:flex;align-items:center;gap:12px;margin:20px 0}.date-separator-line{flex:1;height:1px;background:#e2e8f0}.date-separator-text{font-size:12px;color:#64748b;font-weight:500;white-space:nowrap}.load-more-container{text-align:center;margin-bottom:16px}.btn-load-more{padding:8px 16px;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;cursor:pointer;transition:all .15s}.btn-load-more:hover:not(:disabled){background:#e2e8f0}.btn-load-more:disabled{opacity:.6;cursor:not-allowed}.chat-messages{flex:1;overflow-y:auto;padding:16px 24px}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.chat-container{margin:8px 12px 0 12px;flex-direction:column;border-radius:12px 12px 0 0}.chat-sidebar{width:100%;min-width:unset;max-height:180px;border-right:none;border-bottom:1px solid #e2e8f0}.chat-main{flex:1;min-height:0}.message-input-container{padding:12px 16px}.message-textarea{padding:10px 14px}.btn-send{padding:10px 18px}.message-item{max-width:85%}}.reports-page{padding:16px 24px 24px;width:100%;min-height:calc(100vh - 56px);background:#f5f5f5}.reports-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:16px}.reports-header h1{font-size:24px;font-weight:700;color:#111926;margin:0}.reports-search{position:relative}.reports-search input{width:280px;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#fff;transition:border-color .2s,box-shadow .2s}.reports-search input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.reports-search input::placeholder{color:#94a3b8}.reports-content{display:flex;flex-direction:column;gap:24px}.report-category{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px 24px}.report-category.hidden{display:none}.category-title{font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin:0 0 16px 0;padding-bottom:12px;border-bottom:1px solid #f1f5f9}.report-cards{display:grid;grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));gap:12px}.report-card{display:flex;align-items:flex-start;gap:14px;padding:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:all .2s ease}.report-card:hover{background:#eff6ff;border-color:#3b82f6;transform:translateY(-1px);box-shadow:0 2px 8px rgba(0,0,0,.06)}.report-card.featured{border-color:#3b82f6;background:#eff6ff}.report-icon{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#dbeafe;border-radius:8px;color:#1d4ed8}.report-icon svg{width:20px;height:20px}.report-info{flex:1;min-width:0}.report-info h3{font-size:14px;font-weight:600;color:#111926;margin:0 0 4px 0}.report-info p{font-size:13px;color:#64748b;margin:0;line-height:1.4}.report-viewer{padding:0}.report-viewer-header{display:flex;align-items:center;gap:16px;margin-bottom:20px}.report-viewer-header h1{font-size:20px;font-weight:600;color:#111926;margin:0}.back-btn{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;color:#64748b;cursor:pointer;transition:all .15s}.back-btn:hover{background:#f8fafc;color:#111926;border-color:#cbd5e1}.report-controls{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:20px;padding:16px 20px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.date-range{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.date-range label{font-size:14px;font-weight:500;color:#475569}.date-range input[type=date]{padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#fff}.date-range input[type=date]:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.refresh-btn{padding:8px 16px;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s}.refresh-btn:hover{background:#2563eb}.export-btn{padding:8px 16px;background:#fff;color:#475569;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s}.export-btn:hover{background:#f8fafc;border-color:#cbd5e1}.report-content{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px}.summary-cards{display:grid;grid-template-columns:repeat(auto-fill, minmax(180px, 1fr));gap:16px;margin-bottom:24px}.summary-card{display:flex;flex-direction:column;gap:6px;padding:16px 20px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}.summary-card .label{font-size:13px;color:#64748b;font-weight:500}.summary-card .value{font-size:22px;font-weight:700;color:#111926}.summary-card.warning{background:#fef3c7;border-color:#fcd34d}.summary-card.warning .value{color:#b45309}.summary-card.critical{background:#fee2e2;border-color:#fca5a5}.summary-card.critical .value{color:#dc2626}.report-table{width:100%;border-collapse:collapse}.report-table thead{background:#f8fafc;border-bottom:1px solid #e2e8f0}.report-table thead th{padding:12px 16px;text-align:left;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.report-table thead th.text-right{text-align:right}.report-table tbody tr{border-bottom:1px solid #f1f5f9}.report-table tbody tr:last-child{border-bottom:none}.report-table tbody tr.subtotal{background:#f8fafc;font-weight:600}.report-table tbody tr.grand-total{background:#111926;color:#fff}.report-table tbody tr.grand-total td{color:#fff;font-weight:600}.report-table tbody tr.grand-total .positive{color:#86efac}.report-table tbody tr.warning-row{background:#fef3c7}.report-table tbody tr.critical-row{background:#fee2e2}.report-table tbody td{padding:12px 16px;font-size:14px;color:#1e293b}.report-table tbody td.text-right{text-align:right}.report-table tbody td.positive{color:#16a34a;font-weight:500}.report-table tbody td.negative{color:#dc2626}.report-table.compact thead th,.report-table.compact tbody td{padding:10px 14px}.eod-report{display:flex;flex-direction:column;gap:32px}.eod-section h3{font-size:14px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin:0 0 16px 0;padding-bottom:12px;border-bottom:1px solid #f1f5f9}.loading-state,.error-state{padding:48px 24px;text-align:center;color:#64748b;font-size:14px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.error-state{color:#dc2626;background:#fee2e2;border-color:#fca5a5}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.reports-page{padding:12px 16px 20px}.reports-header{flex-direction:column;align-items:flex-start;gap:12px}.reports-header h1{font-size:20px}.reports-search input{width:100%}.report-cards{grid-template-columns:1fr}.report-controls{flex-direction:column;align-items:stretch}.date-range{flex-direction:column;align-items:stretch;gap:8px}.summary-cards{grid-template-columns:1fr 1fr}.report-content{padding:16px;overflow-x:auto}.report-table{min-width:500px}}.billing-page{padding:24px;max-width:1200px;margin:0 auto}.billing-header{margin-bottom:32px}.billing-header h1{font-size:28px;font-weight:600;color:#1a1a1a;margin:0 0 8px 0}.billing-header p{color:#666;margin:0}.billing-alert{display:flex;align-items:center;gap:12px;padding:16px;border-radius:8px;margin-bottom:24px}.billing-alert.alert-warning{background:#fef3c7;border:1px solid #f59e0b;color:#92400e}.billing-alert.alert-danger{background:#fee2e2;border:1px solid #dc2626;color:#991b1b}.billing-content{display:flex;flex-direction:column;gap:32px}.billing-section{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px rgba(0,0,0,.08)}.billing-section h2{font-size:18px;font-weight:600;margin:0 0 20px 0;color:#1a1a1a}.plan-card{display:flex;justify-content:space-between;align-items:center;padding:20px;background:#f8f9fa;border-radius:10px;border:1px solid #e0e0e0}.plan-info h3{font-size:20px;font-weight:600;margin:0 0 8px 0;color:#1a1a1a}.plan-price{display:flex;align-items:baseline;gap:4px}.plan-price .price{font-size:32px;font-weight:700;color:#2970fe}.plan-price .period{font-size:14px;color:#666}.status-active,.status-success{background:#dcfce7;color:#166534}.status-trial{background:#e0e7ff;color:#3730a3}.status-past-due,.status-pending{background:#fef3c7;color:#92400e}.status-locked,.status-failed{background:#fee2e2;color:#991b1b}.status-canceled,.status-refunded{background:#f3f4f6;color:#4b5563}.btn-manage{display:flex;align-items:center;gap:8px;margin-top:16px;padding:12px 20px;background:#2970fe;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background .2s}.btn-manage:hover{background:#1d4ed8}.package-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));gap:16px}.package-card{position:relative;padding:24px;background:#f8f9fa;border:2px solid #e0e0e0;border-radius:12px;text-align:center;transition:all .2s}.package-card.current{border-color:#2970fe;background:#f0f7ff}.package-card h3{font-size:18px;font-weight:600;margin:0 0 12px 0;color:#1a1a1a}.package-price{margin-bottom:16px}.package-price .price{font-size:28px;font-weight:700;color:#2970fe}.package-price .period{font-size:14px;color:#666}.current-badge{position:absolute;top:-10px;left:50%;transform:translateX(-50%);padding:4px 12px;background:#2970fe;color:#fff;border-radius:20px;font-size:11px;font-weight:600;text-transform:uppercase}.btn-select{width:100%;padding:10px 16px;background:#2970fe;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background .2s}.btn-select:hover{background:#1d4ed8}.billing-table{width:100%;border-collapse:collapse}.billing-table th,.billing-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #e0e0e0}.billing-table th{font-weight:600;color:#666;font-size:12px;text-transform:uppercase;background:#f8f9fa}.billing-table tbody tr:hover{background:#f8f9fa}.receipt-link{color:#2970fe;text-decoration:none;font-weight:500}.receipt-link:hover{text-decoration:underline}.no-receipt,.no-payment{color:#9ca3af}.billing-warning-banner{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;background:#fef3c7;border-bottom:1px solid #f59e0b}.billing-warning-banner.locked{background:#fee2e2;border-bottom-color:#dc2626}.billing-warning-banner.warning .banner-content{color:#92400e}.billing-warning-banner.locked .banner-content{color:#991b1b}.banner-content{display:flex;align-items:center;gap:12px}.settings-detail-page,.ro-detail-page.settings-detail-page{display:flex;flex-direction:column;height:calc(100vh - 56px);max-width:100%;background:#f5f5f5;overflow:hidden;padding:16px 24px 0}.settings-header-section,.ro-header-section.settings-header-section{margin-bottom:20px}.settings-title{font-size:24px;font-weight:700;color:#111926;margin:0}.main-segmented-control-container{margin-bottom:20px}.main-segmented-control{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:6px;display:inline-flex;overflow-x:auto;max-width:100%}.main-segmented-control::-webkit-scrollbar{height:4px}.main-segmented-control::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.main-segmented-control::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.segment-buttons{display:flex;gap:4px}.segment-btn{padding:10px 18px;background:rgba(0,0,0,0);border:none;border-radius:8px;font-size:14px;font-weight:500;color:#64748b;cursor:pointer;white-space:nowrap;transition:all .15s}.segment-btn:hover:not(.active){background:#f1f5f9;color:#475569}.segment-btn.active{background:#111926;color:#fff}.settings-content{flex:1;overflow-y:auto;background:#fff;border:1px solid #e2e8f0;border-radius:12px 12px 0 0;padding:24px;margin-bottom:0}.settings-card,.card-template-container.settings-card{background:rgba(0,0,0,0);border:none;padding:0}.settings-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #f1f5f9}.settings-card-header h3{font-size:16px;font-weight:600;color:#111926;margin:0;padding-left:16px}.settings-sub-tabs{display:flex;gap:8px;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #f1f5f9;overflow-x:auto}.settings-sub-tabs::-webkit-scrollbar{height:4px}.settings-sub-tabs::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.settings-sub-tabs::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.settings-sub-tab{padding:8px 16px;background:#f1f5f9;border:1px solid rgba(0,0,0,0);border-radius:8px;font-size:13px;font-weight:500;color:#64748b;cursor:pointer;white-space:nowrap;transition:all .15s;display:flex;align-items:center;gap:6px}.settings-sub-tab:hover:not(.active){background:#e2e8f0;color:#475569}.settings-sub-tab.active{background:#3b82f6;color:#fff;border-color:#3b82f6}.settings-sub-tab .new-badge{padding:2px 6px;background:#22c55e;color:#fff;font-size:10px;font-weight:600;border-radius:4px;text-transform:uppercase}.settings-sub-content{padding:0}.settings-form-section{margin-bottom:32px}.settings-form-section:last-child{margin-bottom:0}.settings-form-section h3{font-size:16px;font-weight:600;color:#111926;margin:0 0 16px 0}.settings-form-section .description,.settings-form-section .section-description{font-size:14px;color:#64748b;margin:0 0 20px 0;line-height:1.5}.shop-header-row{display:flex;gap:24px;margin-bottom:32px}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.shop-header-row{flex-direction:column}}.shop-info-card{flex:1;min-width:0;min-height:220px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:24px}.shop-card-name{font-size:20px;font-weight:700;color:#111926;margin:0 0 20px 0}.shop-card-details{display:flex;flex-direction:column;gap:12px}.shop-card-row{display:flex;justify-content:space-between;align-items:center;gap:16px}.shop-card-label{font-size:14px;color:#64748b;font-weight:500}.shop-card-value{font-size:14px;color:#1e293b;font-weight:500;font-family:monospace}.shop-card-link{font-size:13px;color:#3b82f6;text-decoration:none;font-weight:500;word-break:break-all}.shop-card-link:hover{text-decoration:underline}.shop-logo-card{flex:1;min-width:0;display:flex;flex-direction:row;align-items:stretch;gap:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:8px;min-height:220px}.shop-logo-card .logo-controls{display:flex;flex-direction:column;justify-content:center;padding:16px;gap:8px;min-width:140px}.shop-logo-card .logo-title{font-size:15px;font-weight:600;color:#1e293b;margin:0}.shop-logo-card .logo-instructions{font-size:12px;color:#64748b;margin:0 0 8px 0;line-height:1.4}.shop-logo-card .logo-card-actions{display:flex;flex-direction:row;gap:8px}.shop-logo-card .btn-logo-action{padding:8px 16px;font-size:13px;font-weight:500;border-radius:6px;border:1px solid #e2e8f0;background:#fff;color:#475569;cursor:pointer;transition:all .15s;text-align:center}.shop-logo-card .btn-logo-action:hover{background:#f1f5f9}.shop-logo-card .btn-logo-action.danger{color:#dc2626;border-color:#fca5a5}.shop-logo-card .btn-logo-action.danger:hover{background:#fee2e2}.shop-logo-card .logo-error{font-size:12px;color:#dc2626;margin-top:4px}.shop-logo-card .logo-preview-area{flex:1;display:flex;align-items:center;justify-content:center;border:2px dashed #cbd5e1;border-radius:10px;background:#fff;cursor:pointer;transition:all .2s;overflow:hidden;margin:4px 4px 4px 0}.shop-logo-card .logo-preview-area:hover{border-color:#3b82f6;background:#eff6ff}.shop-logo-card .logo-preview-area.drag-over{border-color:#3b82f6;background:#eff6ff;border-style:solid}.shop-logo-card .logo-preview-area.uploading{pointer-events:none;opacity:.7}.shop-logo-card .logo-preview-image{max-width:95%;max-height:95%;object-fit:contain}.shop-logo-card .dropzone-content{display:flex;flex-direction:column;align-items:center;gap:8px;color:#94a3b8;text-align:center;padding:16px}.shop-logo-card .dropzone-text{font-size:13px;font-weight:500}.shop-logo-card .upload-progress{display:flex;flex-direction:column;align-items:center;gap:8px;color:#3b82f6;font-size:14px;font-weight:500}.shop-logo-card .spinner{width:24px;height:24px;border:2px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.shop-logo-card{flex-direction:column;min-height:auto}.shop-logo-card .logo-controls{min-width:auto}.shop-logo-card .logo-preview-area{min-height:140px;margin:0 4px 4px 4px}}@keyframes spin{to{transform:rotate(360deg)}}.shop-details-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:24px;margin-top:24px}.form-grid-3col{display:grid;grid-template-columns:repeat(3, 1fr);gap:20px}.form-grid-3col .span-2{grid-column:span 2}.form-grid-3col .span-3{grid-column:span 3}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.form-grid-3col{grid-template-columns:1fr}.form-grid-3col .span-2,.form-grid-3col .span-3{grid-column:span 1}}.phone-input-wrapper{display:flex;align-items:stretch}.phone-input-wrapper .phone-country-code{display:flex;align-items:center;padding:0 12px;background:#f1f5f9;border:1px solid #e2e8f0;border-right:none;border-radius:8px 0 0 8px;font-size:14px;color:#64748b;font-weight:500}.phone-input-wrapper .phone-input{border-radius:0 8px 8px 0;flex:1}.form-grid{display:grid;grid-template-columns:repeat(2, 1fr);gap:20px}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.form-grid{grid-template-columns:1fr}}.form-group{display:flex;flex-direction:column;gap:6px}.form-group.full-width{grid-column:1/-1}.form-group label{font-size:14px;font-weight:500;color:#374151}.form-group label .required{color:#ef4444;margin-left:2px}.form-group input[type=text],.form-group input[type=email],.form-group input[type=tel],.form-group input[type=number],.form-group input[type=url],.form-group input[type=password],.form-group textarea,.form-group select{padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#fff;color:#1e293b;transition:border-color .2s,box-shadow .2s}.form-group input[type=text]:focus,.form-group input[type=email]:focus,.form-group input[type=tel]:focus,.form-group input[type=number]:focus,.form-group input[type=url]:focus,.form-group input[type=password]:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.form-group input[type=text]::placeholder,.form-group input[type=email]::placeholder,.form-group input[type=tel]::placeholder,.form-group input[type=number]::placeholder,.form-group input[type=url]::placeholder,.form-group input[type=password]::placeholder,.form-group textarea::placeholder,.form-group select::placeholder{color:#94a3b8}.form-group input[type=text]:disabled,.form-group input[type=email]:disabled,.form-group input[type=tel]:disabled,.form-group input[type=number]:disabled,.form-group input[type=url]:disabled,.form-group input[type=password]:disabled,.form-group textarea:disabled,.form-group select:disabled{background:#f8fafc;color:#64748b;cursor:not-allowed}.form-group textarea{resize:vertical;min-height:80px}.form-group select{cursor:pointer}.form-group .help-text{font-size:13px;color:#64748b;margin:0}.input-with-addon{display:flex;align-items:center;gap:8px}.input-with-addon .addon{font-size:14px;color:#64748b;white-space:nowrap}.input-with-addon input{flex:1}.checkbox-group,.toggle-group{display:flex;align-items:center;gap:10px;cursor:pointer}.checkbox-group input[type=checkbox],.toggle-group input[type=checkbox]{width:18px;height:18px;accent-color:#3b82f6;cursor:pointer}.checkbox-group label,.toggle-group label{font-size:14px;color:#374151;cursor:pointer;margin:0}.btn-primary{padding:10px 20px;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s}.btn-primary:hover:not(:disabled){background:#2563eb}.btn-primary:disabled{background:#94a3b8;cursor:not-allowed}.btn-secondary{padding:10px 20px;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s}.btn-secondary:hover:not(:disabled){background:#e2e8f0}.btn-secondary:disabled{opacity:.6;cursor:not-allowed}.btn-danger{padding:10px 20px;background:#fee2e2;color:#dc2626;border:1px solid #fca5a5;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s}.btn-danger:hover:not(:disabled){background:#fecaca;border-color:#f87171}.btn-danger:disabled{opacity:.6;cursor:not-allowed}.form-actions{display:flex;gap:12px;margin-top:24px;padding-top:24px;border-top:1px solid #f1f5f9}.section-subtitle{font-size:14px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin:24px 0 16px 0;padding-top:20px;border-top:1px solid #f1f5f9}.section-subtitle:first-child{margin-top:0;padding-top:0;border-top:none}.alert{padding:12px 16px;border-radius:8px;margin-bottom:16px;font-size:14px;display:flex;align-items:center;gap:10px}.alert-info{background:#dbeafe;border:1px solid #93c5fd;color:#1d4ed8}.alert-success{background:#dcfce7;border:1px solid #86efac;color:#16a34a}.alert-warning{background:#fef3c7;border:1px solid #fcd34d;color:#b45309}.alert-danger{background:#fee2e2;border:1px solid #fca5a5;color:#dc2626}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px;gap:12px;color:#64748b;font-size:14px}.add-tag-row{display:flex;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}.tag-name-input{flex:1;min-width:200px;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px}.tag-name-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.tag-color-picker{display:flex;gap:6px}.color-option{width:28px;height:28px;border-radius:6px;border:2px solid rgba(0,0,0,0);cursor:pointer;transition:all .15s}.color-option:hover{transform:scale(1.1)}.color-option.selected{border-color:#111926;box-shadow:0 0 0 2px #fff,0 0 0 4px #111926}.btn-add-tag{padding:10px 20px;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s}.btn-add-tag:hover:not(:disabled){background:#2563eb}.btn-add-tag:disabled{background:#94a3b8;cursor:not-allowed}.tags-display{display:flex;flex-wrap:wrap;gap:8px}.tag-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:6px;font-size:13px;font-weight:500;color:#fff}.tag-chip-text{white-space:nowrap}.tag-chip-delete{width:18px;height:18px;display:flex;align-items:center;justify-content:center;background:hsla(0,0%,100%,.2);border:none;border-radius:50%;color:#fff;font-size:14px;cursor:pointer;transition:background .15s}.tag-chip-delete:hover{background:hsla(0,0%,100%,.3)}.payment-types-display .payment-type-chip{background:#3b82f6}.payment-types-display .payment-type-chip.system-default{background:#64748b;padding-right:12px}.payment-types-display .payment-type-chip.system-default::after{content:"";width:12px;height:12px;margin-left:4px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");background-size:contain;background-repeat:no-repeat}.settings-table{width:100%;border-collapse:collapse}.settings-table thead{background:#f8fafc;border-bottom:1px solid #e2e8f0}.settings-table thead th{padding:12px 16px;text-align:left;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.settings-table tbody tr{border-bottom:1px solid #f1f5f9}.settings-table tbody tr:last-child{border-bottom:none}.settings-table tbody tr:hover{background:#f8fafc}.settings-table tbody td{padding:14px 16px;font-size:14px;color:#1e293b;vertical-align:middle}.danger-zone{margin-top:32px;padding-top:24px;border-top:2px solid #fee2e2}.danger-zone h4{font-size:14px;font-weight:600;color:#dc2626;margin:0 0 12px 0}.danger-zone p{font-size:14px;color:#64748b;margin:0 0 16px 0}.labor-rates-table{display:flex;flex-direction:column;gap:0;margin-bottom:24px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.labor-rates-table .table-header{display:grid;grid-template-columns:40px 1fr 180px 50px;gap:12px;padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:13px;font-weight:600;color:#475569}.labor-rates-table .table-row{display:grid;grid-template-columns:40px 1fr 180px 50px;gap:12px;padding:12px 16px;align-items:center;border-bottom:1px solid #e2e8f0;transition:background .15s}.labor-rates-table .table-row:last-child{border-bottom:none}.labor-rates-table .table-row:hover{background:#f8fafc}.labor-rates-table .table-col-drag{display:flex;align-items:center;justify-content:center}.labor-rates-table .drag-handle{cursor:grab;color:#94a3b8;font-size:16px;letter-spacing:2px;user-select:none}.labor-rates-table .drag-handle:hover{color:#64748b}.labor-rates-table .table-col-name input,.labor-rates-table .table-col-rate input{width:100%}.labor-rates-table .table-col-actions{display:flex;justify-content:center}.input-with-prefix{display:flex;align-items:stretch}.input-with-prefix .input-prefix{display:flex;align-items:center;padding:0 12px;background:#f1f5f9;border:1px solid #e2e8f0;border-right:none;border-radius:8px 0 0 8px;font-size:14px;color:#64748b;font-weight:500}.input-with-prefix input{border-radius:0 8px 8px 0 !important;flex:1}.btn-icon-danger{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #fca5a5;border-radius:6px;color:#dc2626;font-size:18px;font-weight:500;cursor:pointer;transition:all .15s}.btn-icon-danger:hover{background:#fee2e2}.saved-confirmation{color:#16a34a;font-size:14px;font-weight:500}.settings-form-section .description{font-size:14px;color:#64748b;margin:0 0 24px 0;line-height:1.5}.settings-form-section h3{font-size:18px;font-weight:600;color:#1e293b;margin:0 0 8px 0}.settings-form-section h4{font-size:15px;font-weight:600;color:#334155;margin:0 0 16px 0}.shop-fees-table,.discounts-table{display:flex;flex-direction:column;margin-bottom:24px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.shop-fees-table .table-header,.discounts-table .table-header{display:grid;grid-template-columns:70px 1fr 150px 100px 100px 100px 80px 50px;gap:12px;padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:12px;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.5px}.shop-fees-table .table-row,.discounts-table .table-row{display:grid;grid-template-columns:70px 1fr 150px 100px 100px 100px 80px 50px;gap:12px;padding:12px 16px;align-items:center;border-bottom:1px solid #e2e8f0;transition:background .15s}.shop-fees-table .table-row:last-child,.discounts-table .table-row:last-child{border-bottom:none}.shop-fees-table .table-row:hover,.discounts-table .table-row:hover{background:#f8fafc}.shop-fees-table .table-row.inactive,.discounts-table .table-row.inactive{opacity:.5}.shop-fees-table .text-muted,.discounts-table .text-muted{color:#94a3b8;font-size:13px}.applies-to-container{position:relative}.btn-applies-to{display:flex;align-items:center;gap:4px;padding:4px 8px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;cursor:pointer;font-size:12px;transition:all .15s}.btn-applies-to:hover,.btn-applies-to.active{border-color:#3b82f6;background:#f1f5f9}.btn-applies-to .applies-icons{display:flex;gap:2px}.btn-applies-to .applies-chevron{font-size:8px;color:#94a3b8;margin-left:4px}.applies-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:3px;font-size:10px;font-weight:600}.applies-icon.type-labor{background:#e9d5ff;color:#7c3aed}.applies-icon.type-part{background:#e2e8f0;color:#64748b}.applies-icon.type-tire{background:#dbeafe;color:#3b82f6}.applies-icon.type-battery{background:#ffedd5;color:#f97316}.applies-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999}.applies-popover{position:absolute;top:100%;left:0;margin-top:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.15);padding:8px 12px;z-index:1000;min-width:120px}.applies-option{display:flex;align-items:center;gap:8px;padding:4px 0;cursor:pointer;font-size:13px}.applies-option input[type=checkbox]{width:16px;height:16px;cursor:pointer}.applies-option span{color:#334155}.applies-option:hover span{color:#1e293b}.discounts-table .table-header{grid-template-columns:1fr 130px 130px 120px 120px 50px}.discounts-table .table-row{grid-template-columns:1fr 130px 130px 120px 120px 50px}.job-categories-table{display:flex;flex-direction:column;margin-bottom:24px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.job-categories-table .table-header{display:grid;grid-template-columns:70px 100px 1fr 50px;gap:12px;padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:12px;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.5px}.job-categories-table .table-row{display:grid;grid-template-columns:70px 100px 1fr 50px;gap:12px;padding:12px 16px;align-items:center;border-bottom:1px solid #e2e8f0;transition:background .15s}.job-categories-table .table-row:last-child{border-bottom:none}.job-categories-table .table-row:hover{background:#f8fafc}.job-categories-table .table-col-reorder{display:flex;gap:4px}.btn-icon-move{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#64748b;font-size:14px;cursor:pointer;transition:all .15s}.btn-icon-move:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1}.btn-icon-move:disabled{opacity:.3;cursor:not-allowed}.input-with-suffix{display:flex;align-items:stretch}.input-with-suffix input{border-radius:8px 0 0 8px !important;flex:1}.input-with-suffix .input-suffix{display:flex;align-items:center;padding:0 12px;background:#f1f5f9;border:1px solid #e2e8f0;border-left:none;border-radius:0 8px 8px 0;font-size:14px;color:#64748b;font-weight:500}.toggle-switch{position:relative;display:inline-block;width:44px;height:24px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-switch input:checked+.toggle-slider{background-color:#3b82f6}.toggle-switch input:checked+.toggle-slider::before{transform:translateX(20px)}.toggle-switch .toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#cbd5e1;transition:.2s;border-radius:24px}.toggle-switch .toggle-slider::before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:.2s;border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.1)}.tax-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:24px;margin-bottom:24px}.tax-section h4{font-size:16px;font-weight:600;color:#1e293b;margin:0 0 16px 0}.info-box{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;margin-bottom:20px}.info-box .info-icon{flex-shrink:0;font-size:16px}.info-box span:last-child{font-size:14px;color:#1e40af;line-height:1.5}.checkbox-list{display:flex;flex-direction:column;gap:12px}.checkbox-label{display:flex;align-items:center;gap:10px;font-size:14px;color:#334155;cursor:pointer}.checkbox-label input[type=checkbox]{width:18px;height:18px;accent-color:#3b82f6;cursor:pointer}.checkbox-label .help-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;background:#e2e8f0;border-radius:50%;font-size:12px;color:#64748b;cursor:help}.radio-group{display:flex;flex-direction:column;gap:12px}.radio-label{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:#334155;cursor:pointer}.radio-label input[type=radio]{width:18px;height:18px;accent-color:#3b82f6;cursor:pointer;margin-top:2px;flex-shrink:0}.radio-label div{display:flex;flex-direction:column;gap:2px}.radio-label .radio-title{font-weight:500;color:#1e293b}.radio-label .radio-description{font-size:13px;color:#64748b}.radio-sub-input{margin-left:28px;padding:12px 16px;background:#f1f5f9;border-radius:8px;display:flex;align-items:center;gap:12px}.radio-sub-input label{font-size:14px;color:#475569;white-space:nowrap}.radio-sub-input .input-with-prefix,.radio-sub-input .input-with-suffix{width:150px}.tire-diameter-table{display:flex;flex-direction:column;margin-top:16px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.tire-diameter-table .table-header{display:grid;grid-template-columns:120px 30px 120px 150px 50px;gap:12px;padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:12px;font-weight:600;color:#475569;text-transform:uppercase}.tire-diameter-table .table-row{display:grid;grid-template-columns:120px 30px 120px 150px 50px;gap:12px;padding:12px 16px;align-items:center;border-bottom:1px solid #e2e8f0}.tire-diameter-table .table-row:last-child{border-bottom:none}.tire-diameter-table .table-col-separator{display:flex;align-items:center;justify-content:center;color:#64748b;font-size:16px}.tire-diameter-table .lock-icon{font-size:14px}.tire-diameter-table .form-actions{padding:12px 16px;border-top:1px solid #e2e8f0}.advanced-settings-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:24px;margin-bottom:24px}.advanced-settings-section h4{font-size:15px;font-weight:600;color:#1e293b;margin:0 0 16px 0}.form-help-text{font-size:13px;color:#64748b;margin-top:8px;line-height:1.4}.appointment-labels-table{display:flex;flex-direction:column;margin-bottom:24px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.appointment-labels-table .table-header{display:grid;grid-template-columns:80px 120px 1fr 80px 180px;gap:12px;padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:12px;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.5px}.appointment-labels-table .table-row{display:grid;grid-template-columns:80px 120px 1fr 80px 180px;gap:12px;padding:12px 16px;align-items:center;border-bottom:1px solid #e2e8f0;transition:background .15s}.appointment-labels-table .table-row:last-child{border-bottom:none}.appointment-labels-table .table-row:hover{background:#f8fafc}.appointment-labels-table .label-name{font-size:14px;color:#475569;font-weight:500}.color-picker{width:48px;height:36px;padding:2px;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;background:#fff}.color-picker::-webkit-color-swatch-wrapper{padding:0}.color-picker::-webkit-color-swatch{border:none;border-radius:4px}.appointment-label-preview{display:inline-block;padding:4px 12px;border-radius:16px;font-size:13px;font-weight:500;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.1);white-space:nowrap}.input-with-icon{position:relative}.input-with-icon input{padding-right:40px}.input-with-icon .input-icon{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:16px;color:#64748b;pointer-events:none}.inspection-templates-section .section-actions{margin-bottom:20px}.templates-list{display:flex;flex-direction:column;gap:12px}.inspection-template-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;transition:all .2s}.inspection-template-card.inspection-template-card-expanded{border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.1)}.inspection-template-card-header{display:flex;align-items:flex-start;justify-content:space-between;padding:16px 20px;cursor:pointer;transition:background .15s}.inspection-template-card-header:hover{background:#f8fafc}.inspection-template-card-expanded .inspection-template-card-header{cursor:default;background:#f8fafc;border-bottom:1px solid #e2e8f0}.inspection-template-card-expanded .inspection-template-card-header:hover{background:#f8fafc}.inspection-template-card-title-section{flex:1;display:flex;flex-direction:column;gap:8px;min-width:0}.inspection-template-title{font-size:16px;font-weight:600;color:#1e293b}.inspection-template-description{font-size:14px;color:#64748b}.inspection-template-name-input{font-size:16px;font-weight:600}.inspection-template-description-input{font-size:14px;resize:none}.inspection-template-card-actions-section{display:flex;align-items:center;gap:8px;flex-shrink:0}.inspection-template-card-footer{display:flex;align-items:center;justify-content:space-between;padding-top:16px;margin-top:16px;border-top:1px solid #e2e8f0}.inspection-template-card-footer .autosave-hint{font-size:13px;color:#94a3b8}.inspection-template-card-menu-container{position:relative}.inspection-template-card-menu-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0);border:none;border-radius:6px;color:#64748b;font-size:18px;cursor:pointer;transition:all .15s}.inspection-template-card-menu-btn:hover{background:#e2e8f0}.inspection-menu-backdrop,.canned-menu-backdrop{position:fixed;inset:0;z-index:999}.inspection-template-card-menu-dropdown{position:fixed;z-index:1000;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1);min-width:120px;padding:4px}.inspection-template-card-menu-item{display:block;width:100%;padding:8px 12px;text-align:left;background:rgba(0,0,0,0);border:none;font-size:14px;color:#dc2626;cursor:pointer;border-radius:4px;transition:background .15s}.inspection-template-card-menu-item:hover{background:#fee2e2}.inspection-template-card-menu-item.neutral{color:#1e293b}.inspection-template-card-menu-item.neutral:hover{background:#f1f5f9}.inspection-template-card-expand-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0);border:none;border-radius:6px;color:#64748b;font-size:12px;cursor:pointer;transition:all .15s}.inspection-template-card-expand-btn:hover{background:#e2e8f0}.inspection-template-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0 20px 12px;font-size:13px;color:#64748b}.template-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:10px;font-size:12px;font-weight:500}.template-badge.badge-auto{background:#e0f2fe;color:#0369a1}.template-badge.badge-shop-only{background:#fef3c7;color:#b45309}.inspection-template-card-content{padding:20px}.form-group-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.form-group-header .form-label{margin:0}.groups-list{display:flex;flex-direction:column;gap:12px}.inspection-group-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.inspection-group-card-header{display:flex;align-items:center;gap:12px;padding:12px 16px;cursor:pointer;transition:background .15s}.inspection-group-card-header:hover{background:#f1f5f9}.inspection-group-expand-icon{font-size:10px;color:#64748b;width:16px;flex-shrink:0}.inspection-group-card-title-section{flex:1;min-width:0}.inspection-group-name-input{font-size:14px;font-weight:500;padding:6px 10px}.inspection-group-item-count{font-size:13px;color:#64748b;flex-shrink:0}.inspection-group-card-actions-section{display:flex;align-items:center;gap:4px;flex-shrink:0}.inspection-group-card-content{padding:16px;border-top:1px solid #e2e8f0;background:#fff}.form-label-sm{font-size:13px;font-weight:500;color:#475569;margin:0}.inspection-items-list{display:flex;flex-direction:column;gap:6px}.template-item-row{display:flex;flex-direction:column;gap:6px;padding:6px 8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px}.template-item-main{display:flex;align-items:center;gap:6px}.inspection-item-name-input{flex:1;font-size:14px;padding:7px 11px}.inspection-item-notes-input{font-size:13px;resize:none;padding:8px 12px}.btn-notes-toggle{color:#94a3b8}.btn-notes-toggle.has-notes{color:#3b82f6;border-color:#bfdbfe;background:#eff6ff}.btn-notes-toggle.open{background:#e2e8f0;color:#475569}.btn-reorder{color:#94a3b8}.btn-reorder:disabled{opacity:.35;cursor:default}.btn-reorder:disabled:hover{background:rgba(0,0,0,0)}.btn-add-item-row{width:100%;margin-top:8px;padding:8px 12px;background:rgba(0,0,0,0);border:1px dashed #cbd5e1;border-radius:6px;font-size:13px;font-weight:500;color:#64748b;text-align:left;cursor:pointer;transition:all .15s}.btn-add-item-row:hover{background:#f8fafc;border-color:#94a3b8;color:#475569}.btn-add-item-row .add-item-hint{font-weight:400;color:#94a3b8;font-size:12px}.btn-sm{padding:6px 12px;font-size:13px}.btn-icon{width:32px;height:32px;padding:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0);border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .15s}.btn-icon:hover{background:#f1f5f9}.btn-icon.btn-danger{border-color:#fca5a5}.btn-icon.btn-danger:hover{background:#fee2e2}.empty-state{padding:40px 20px;text-align:center;background:#f8fafc;border:1px dashed #e2e8f0;border-radius:10px}.empty-state p{margin:0;font-size:14px;color:#64748b}.empty-message{padding:20px;text-align:center;font-size:14px;color:#94a3b8;background:#f8fafc;border-radius:8px}.auto-add-options-row{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.category-selector{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-left:8px;border-left:1px solid #e2e8f0}.selected-categories{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.category-chip{display:inline-flex;align-items:center;gap:4px;background:#e0f2fe;color:#0369a1;padding:4px 8px 4px 10px;border-radius:16px;font-size:12px;font-weight:500}.category-chip .chip-remove{width:16px;height:16px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0);border:none;color:#0369a1;font-size:14px;cursor:pointer;border-radius:50%;transition:all .15s;padding:0;line-height:1}.category-chip .chip-remove:hover{background:rgba(3,105,161,.2)}.category-add-wrapper .category-add-select{padding:4px 8px;font-size:12px;border:1px dashed #cbd5e1;border-radius:16px;background:#fff;color:#64748b;cursor:pointer;min-width:80px}.category-add-wrapper .category-add-select:focus{outline:none;border-color:#3b82f6;border-style:solid}.matrix-global-settings{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:20px}.matrix-global-settings .checkbox-label{display:flex;align-items:center;gap:8px;margin:0;font-weight:500;color:#1e293b}.matrix-global-settings .setting-hint{font-size:13px;color:#64748b}.matrices-list{display:flex;flex-direction:column;gap:24px;margin-bottom:24px}.matrix-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.matrix-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:#1e293b;color:#fff}.matrix-title-section{display:flex;align-items:center;gap:12px;flex:1}.matrix-name-input{background:rgba(0,0,0,0);border:none;border-bottom:1px solid rgba(0,0,0,0);color:#fff;font-size:16px;font-weight:600;padding:4px 0;min-width:200px}.matrix-name-input:focus{outline:none;border-bottom-color:hsla(0,0%,100%,.5)}.matrix-name-input::placeholder{color:hsla(0,0%,100%,.5)}.matrix-badge{background:hsla(0,0%,100%,.15);padding:4px 10px;border-radius:12px;font-size:12px;font-weight:500}.matrix-actions .btn-icon-danger{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:hsla(0,0%,100%,.1);border:none;border-radius:6px;color:#fff;font-size:18px;cursor:pointer;transition:all .15s}.matrix-actions .btn-icon-danger:hover{background:#ef4444}.matrix-settings{padding:20px;border-bottom:1px solid #e2e8f0}.matrix-settings-row{display:flex;gap:24px;margin-bottom:16px}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.matrix-settings-row{flex-direction:column;gap:16px}}.auto-apply-group{flex-shrink:0}.auto-apply-group .inline-checkbox{display:flex;align-items:center;gap:8px;cursor:pointer}.auto-apply-group .inline-checkbox input[type=checkbox]{width:18px;height:18px;accent-color:#3b82f6}.auto-apply-group .inline-checkbox span{font-size:14px;color:#475569}.default-for-group{min-width:180px}.default-for-group .form-control{margin-bottom:4px}.default-for-group .setting-hint{font-size:11px;color:#94a3b8}.part-types-group{flex:1}.part-type-tags,.category-selected-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.category-placeholder{font-size:14px;color:#94a3b8;font-style:italic}.category-tag{display:inline-flex;align-items:center;gap:6px;background:#e0f2fe;color:#0369a1;padding:4px 10px;border-radius:16px;font-size:13px;font-weight:500}.tag-remove{width:16px;height:16px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0);border:none;color:#0369a1;font-size:14px;cursor:pointer;border-radius:50%;transition:all .15s}.tag-remove:hover{background:rgba(3,105,161,.2)}.category-select-dropdown .category-add-select{max-width:200px}.matrix-tiers-table{padding:20px}.matrix-tiers-table .table-header{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 48px;gap:12px;padding:12px 16px;background:#f8fafc;border-radius:8px 8px 0 0;font-size:13px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.matrix-tiers-table .table-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 48px;gap:12px;padding:12px 16px;border-bottom:1px solid #e2e8f0;align-items:center}.matrix-tiers-table .table-row:last-of-type{border-bottom:none}.matrix-tiers-table .table-col-actions{display:flex;justify-content:center}.matrix-tiers-table .form-actions{padding-top:16px;border-top:1px solid #e2e8f0;margin-top:8px}.price-range-inputs{display:flex;align-items:center;gap:8px}.price-range-inputs .input-with-prefix{flex:1;min-width:80px}.range-separator{color:#94a3b8;font-weight:500}.calculated-value{font-size:14px;color:#64748b}.labor-matrix-container{background:#fff;border-radius:12px;overflow:hidden}.labor-matrix-container .settings-form-section{padding:24px}.labor-matrix-container .settings-form-section h3{font-size:18px;font-weight:600;color:#1e293b;margin:0 0 8px}.labor-matrix-container .settings-form-section .description{font-size:14px;color:#64748b;margin:0 0 24px}.labor-matrix-container .matrices-list{display:flex;flex-direction:column;gap:20px;margin-bottom:24px}.labor-matrix-container .matrix-card{border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.labor-matrix-container .matrix-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.labor-matrix-container .matrix-title-section{display:flex;align-items:center;gap:12px}.labor-matrix-container .matrix-name-input{font-size:16px;font-weight:600;color:#1e293b;border:none;background:rgba(0,0,0,0);padding:4px 8px;border-radius:4px;max-width:200px}.labor-matrix-container .matrix-name-input:focus{outline:none;background:#fff;box-shadow:0 0 0 2px #3b82f6}.labor-matrix-container .matrix-badge{font-size:12px;color:#64748b;background:#e2e8f0;padding:4px 8px;border-radius:4px}.labor-matrix-container .matrix-settings{padding:20px;display:flex;flex-direction:column;gap:16px;border-bottom:1px solid #e2e8f0}.labor-matrix-container .matrix-settings-row{display:flex;gap:24px;align-items:center}.labor-matrix-container .radio-group.horizontal{display:flex;gap:16px;flex-wrap:wrap}.labor-matrix-container .radio-label.compact{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;color:#475569}.labor-matrix-container .radio-label.compact input[type=radio]{width:16px;height:16px;accent-color:#3b82f6}.labor-matrix-container .radio-label.compact strong{color:#1e293b}.labor-matrix-container .inline-checkbox{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;color:#1e293b}.labor-matrix-container .inline-checkbox input[type=checkbox]{width:16px;height:16px;accent-color:#3b82f6}.labor-matrix-container .matrix-tiers-table .table-header{display:grid;grid-template-columns:2fr 1fr 1fr 50px;padding:12px 20px;background:#f1f5f9;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.labor-matrix-container .matrix-tiers-table .table-row{display:grid;grid-template-columns:2fr 1fr 1fr 50px;padding:12px 20px;border-bottom:1px solid #e2e8f0;align-items:center}.labor-matrix-container .matrix-tiers-table .table-row:last-of-type{border-bottom:none}.labor-matrix-container .matrix-tiers-table .hours-range-inputs{display:flex;align-items:center;gap:8px}.labor-matrix-container .matrix-tiers-table .hours-range-inputs input{max-width:80px;padding:8px 10px}.labor-matrix-container .matrix-tiers-table .hours-range-inputs .range-separator{color:#94a3b8}.labor-matrix-container .matrix-tiers-table .table-col-actions{display:flex;justify-content:center}.labor-matrix-container .matrix-tiers-table .form-actions{padding:12px 20px;background:#f8fafc;border-top:1px solid #e2e8f0}.labor-matrix-container .empty-state{padding:40px;text-align:center;color:#94a3b8;font-size:14px;background:#f8fafc;border-radius:8px;margin-bottom:24px}.labor-matrix-container>.form-actions,.labor-matrix-container .settings-form-section>.form-actions{display:flex;gap:12px;align-items:center}.labor-matrix-inner-tabs{display:flex;border-bottom:1px solid #e2e8f0;padding:0 20px}.labor-matrix-inner-tabs .inner-tab{padding:14px 20px;background:rgba(0,0,0,0);border:none;font-size:14px;font-weight:500;color:#64748b;cursor:pointer;position:relative;transition:all .15s}.labor-matrix-inner-tabs .inner-tab:hover{color:#1e293b}.labor-matrix-inner-tabs .inner-tab.active{color:#3b82f6}.labor-matrix-inner-tabs .inner-tab.active::after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:#3b82f6;border-radius:2px 2px 0 0}.labor-guide-markup-section{padding:24px}.labor-guide-markup-section .checkbox-label{display:flex;align-items:flex-start;gap:10px;margin-bottom:20px;cursor:pointer}.labor-guide-markup-section .checkbox-label input[type=checkbox]{width:18px;height:18px;margin-top:2px;accent-color:#3b82f6}.labor-guide-markup-section .checkbox-label span{font-size:14px;color:#1e293b}.labor-markup-input{max-width:200px;margin-bottom:24px}.employees-table{overflow-x:auto}.employees-table.menu-open{overflow-x:visible}.employees-table table{width:100%;border-collapse:collapse;min-width:600px}.employees-table thead tr{background:#f8fafc;border-bottom:2px solid #e2e8f0}.employees-table thead th{padding:12px 16px;text-align:left;font-size:13px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.employees-table tbody tr{border-bottom:1px solid #e2e8f0;transition:background .15s}.employees-table tbody tr:hover{background:#f8fafc}.employees-table tbody td{padding:14px 16px;font-size:14px;color:#1e293b;vertical-align:middle}.employees-table tbody td.empty-state{text-align:center;color:#94a3b8;padding:40px 16px}.status-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:500;text-transform:capitalize}.status-badge.status-active{background:#dcfce7;color:#166534}.status-badge.status-inactive{background:#fee2e2;color:#991b1b}.status-badge.status-invited{background:#fef3c7;color:#92400e}.btn-link{background:#e2e8f0;border:none;color:#475569;font-size:13px;font-weight:500;padding:6px 12px;border-radius:6px;cursor:pointer;transition:all .15s}.btn-link:hover{background:#cbd5e1;color:#1e293b}.btn-icon-delete{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;background:#fee2e2;border:none;border-radius:6px;color:#dc2626;font-size:16px;font-weight:500;cursor:pointer;margin-left:8px;transition:all .15s}.btn-icon-delete:hover{background:#fecaca}.header-actions{display:flex;align-items:center;gap:16px}.filter-tabs{display:flex;background:#f1f5f9;border-radius:8px;padding:4px;gap:2px}.filter-tab{padding:6px 14px;border:none;background:rgba(0,0,0,0);border-radius:6px;font-size:13px;font-weight:500;color:#64748b;cursor:pointer;transition:all .15s}.filter-tab:hover:not(.active){color:#475569;background:hsla(0,0%,100%,.5)}.filter-tab.active{background:#fff;color:#1e293b;box-shadow:0 1px 2px rgba(0,0,0,.05)}.actions-cell{text-align:right;width:50px}.action-menu-container{position:relative;display:inline-block}.btn-action-menu{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0);border:none;border-radius:6px;color:#64748b;cursor:pointer;transition:all .15s}.btn-action-menu:hover{background:#e2e8f0;color:#475569}.action-menu-backdrop{position:fixed;inset:0;z-index:998}.action-menu-dropdown{position:absolute;right:0;top:100%;margin-top:4px;z-index:999;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1);min-width:160px;padding:4px}.action-menu-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;text-align:left;background:rgba(0,0,0,0);border:none;font-size:14px;color:#475569;cursor:pointer;border-radius:6px;transition:all .15s}.action-menu-item svg{flex-shrink:0}.action-menu-item:hover:not(:disabled){background:#f1f5f9;color:#1e293b}.action-menu-item:disabled{opacity:.5;cursor:not-allowed}.action-menu-item.action-menu-item-danger{color:#dc2626}.action-menu-item.action-menu-item-danger:hover:not(:disabled){background:#fef2f2;color:#b91c1c}.action-menu-item.action-menu-item-success{color:#16a34a}.action-menu-item.action-menu-item-success:hover:not(:disabled){background:#f0fdf4;color:#15803d}.permissions-section-header{margin-top:24px;padding-top:24px;border-top:1px solid #e2e8f0;margin-bottom:16px}.permissions-section-header h3{font-size:16px;font-weight:600;color:#1e293b;margin:0 0 4px 0}.permissions-section-header .permission-section-desc{font-size:13px;color:#64748b;margin:0}.employee-permissions-container{display:flex;flex-direction:column;gap:16px}.permission-group{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:16px}.permission-group-header{margin-bottom:8px}.permission-group-header .master-checkbox{display:flex;align-items:center;gap:10px;cursor:pointer}.permission-group-header .master-checkbox input[type=checkbox]{width:18px;height:18px;accent-color:#3b82f6}.permission-group-header .master-checkbox h4{font-size:15px;font-weight:600;color:#1e293b;margin:0}.permission-group-desc{font-size:13px;color:#64748b;margin:0 0 12px 0}.permission-checkboxes{display:flex;flex-wrap:wrap;gap:12px 24px}.permission-checkboxes .checkbox-label{display:flex;align-items:center;gap:8px;font-size:13px;color:#475569;cursor:pointer}.permission-checkboxes .checkbox-label input[type=checkbox]{width:16px;height:16px;accent-color:#3b82f6}.canned-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.canned-toolbar{flex-direction:column;align-items:stretch}}.canned-search{flex:1;max-width:400px}.canned-search .form-control{width:100%}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.canned-search{max-width:100%}}.canned-actions{display:flex;gap:8px;flex-wrap:wrap}.card-template-list{display:flex;flex-direction:column;gap:12px}.job-expanded-details,.job-readonly-details{display:flex;flex-direction:column;gap:20px}.job-description-readonly{font-size:14px;color:#475569;padding:12px;background:#fff;border-radius:6px}.sublet-readonly-details{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:8px}.sublet-detail-row{display:flex;gap:8px;font-size:14px}.sublet-label{font-weight:500;color:#64748b;min-width:60px}.sublet-retail{font-weight:600;color:#059669}.job-items-section{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px}.section-header{display:flex;align-items:center;gap:8px;margin-bottom:12px}.section-dot{font-size:10px}.section-dot.labor-dot{color:#3b82f6}.section-dot.parts-dot{color:#10b981}.section-title{font-size:14px;font-weight:600;color:#1e293b}.btn-add-item{margin-left:auto;padding:4px 10px;font-size:12px;background:#e0f2fe;border:none;border-radius:4px;color:#0369a1;cursor:pointer;transition:all .15s}.btn-add-item:hover{background:#bae6fd}.items-table{width:100%;overflow-x:auto}.items-table-header{display:grid;grid-template-columns:80px 100px 80px 1fr 60px 80px 80px 80px 40px;gap:8px;padding:8px 12px;background:#f1f5f9;border-radius:6px;font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;min-width:700px}.items-table-header.labor-table-header{grid-template-columns:100px 1fr 200px 100px;min-width:auto}.items-table-row{display:grid;grid-template-columns:80px 100px 80px 1fr 60px 80px 80px 80px 40px;gap:8px;padding:10px 12px;border-bottom:1px solid #f1f5f9;align-items:center;font-size:13px;min-width:700px}.items-table-row.labor-table-row{grid-template-columns:100px 1fr 200px 100px;min-width:auto}.items-table-row.readonly-row{color:#475569}.items-table-row:last-child{border-bottom:none}.total-row{display:flex;justify-content:space-between;font-size:14px;color:#475569}.total-row.grand-total{padding-top:8px;border-top:1px solid #e2e8f0;font-weight:700;color:#1e293b;font-size:16px}.job-item-row-canned-labor{grid-template-columns:32px 1fr 80px 160px 110px 28px}.job-item-row-canned-labor .job-item-select{width:100%}.job-item-row-canned-part{grid-template-columns:32px 120px 240px 1fr 80px 130px 130px 110px 28px}.job-type-tag{padding:2px 8px;font-size:10px;font-weight:600;border-radius:4px;text-transform:uppercase;margin-left:8px}.job-type-tag.sublet-tag{background:#f3e8ff;color:#7e22ce}.empty-state-card{padding:48px 24px;text-align:center;background:#f8fafc;border:1px dashed #e2e8f0;border-radius:10px}.empty-state-card p{margin:0 0 16px 0;font-size:14px;color:#64748b}.telecom-section .section-description{font-size:14px;color:#64748b;margin:4px 0 20px 0}.telecom-not-configured .alert-warning{background:#fef3c7;border:1px solid #fcd34d;border-radius:8px;padding:16px 20px;color:#92400e}.telecom-not-configured .alert-warning strong{display:block;margin-bottom:8px;font-size:15px}.telecom-not-configured .alert-warning p{margin:0;font-size:14px}.telecom-status .loading-indicator{font-size:14px;color:#64748b;padding:20px;text-align:center}.telecom-setup-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:24px;margin-bottom:24px}.telecom-setup-card h4{margin:0 0 8px 0;font-size:16px;font-weight:600;color:#1e293b}.telecom-setup-card p{margin:0 0 16px 0;font-size:14px;color:#64748b}.telecom-enabled-card{display:flex;align-items:flex-start;gap:16px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;padding:16px 20px;margin-bottom:24px}.telecom-enabled-card .status-badge.success{background:#22c55e;color:#fff;padding:4px 10px;border-radius:4px;font-size:12px;font-weight:600;flex-shrink:0}.telecom-enabled-card .profile-info{display:flex;flex-direction:column;gap:4px;font-size:14px;color:#475569}.telecom-enabled-card .profile-info code{font-family:monospace;font-size:12px;background:#e2e8f0;padding:2px 6px;border-radius:4px;color:#3b82f6}.phone-numbers-section{margin-bottom:24px}.phone-numbers-section h4{margin:0 0 16px 0;font-size:16px;font-weight:600;color:#1e293b}.phone-numbers-section .no-numbers-message{font-size:14px;color:#94a3b8;margin:0 0 16px 0}.primary-number-section{display:flex;align-items:center;gap:12px;margin-bottom:16px}.primary-number-section label{font-size:14px;color:#475569}.primary-number-section .primary-number-display{font-size:15px;font-weight:500;color:#1e293b}.primary-number-section .primary-number-select{max-width:200px}.phone-numbers-list{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.phone-number-item{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.phone-number-item.primary{background:#eff6ff;border-color:#bfdbfe}.phone-number-item .phone-number{font-size:14px;font-weight:500;color:#1e293b}.phone-number-item .status-badge{padding:2px 8px;border-radius:4px;font-size:11px;font-weight:600;text-transform:capitalize}.phone-number-item .status-badge.success{background:#dcfce7;color:#16a34a}.phone-number-item .status-badge.pending{background:#fef3c7;color:#b45309}.phone-number-item .primary-badge{background:#3b82f6;color:#fff;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:600}.number-search-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:20px;margin-top:16px}.number-search-form h5{margin:0 0 12px 0;font-size:14px;font-weight:600;color:#1e293b}.number-search-form .search-row{display:flex;gap:8px;margin-bottom:16px}.number-search-form .search-row input{max-width:150px}.available-numbers-list{display:flex;flex-direction:column;gap:8px}.available-number-item{display:flex;align-items:center;gap:12px;padding:10px 14px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.available-number-item .phone-number{font-size:14px;font-weight:500;color:#1e293b}.available-number-item .region{font-size:13px;color:#64748b;flex:1}.ten-dlc-section{padding-top:24px;border-top:1px solid #e2e8f0}.ten-dlc-section h4{margin:0 0 16px 0;font-size:16px;font-weight:600;color:#1e293b}.ten-dlc-info-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:20px}.ten-dlc-info-card p{margin:0 0 12px 0;font-size:14px;color:#475569}.ten-dlc-info-card p.info-note{font-size:13px;color:#64748b}.brand-status-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:20px}.brand-status-card .status-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.brand-status-card .status-row .label{font-size:14px;font-weight:600;color:#475569}.brand-status-card .status-row .value{font-size:14px;color:#1e293b}.brand-status-card .status-row .status-badge{padding:3px 10px;border-radius:4px;font-size:12px;font-weight:600}.brand-status-card .status-row .status-badge.success{background:#dcfce7;color:#16a34a}.brand-status-card .status-row .status-badge.submitted{background:#fef3c7;color:#b45309}.brand-status-card .status-row .status-badge.error{background:#fee2e2;color:#dc2626}.brand-status-card .submitted-date{font-size:13px;color:#64748b;margin:12px 0 0 0}.brand-status-card .verification-note{font-size:13px;color:#64748b;margin:8px 0 0 0}.brand-status-card .verification-note.error-note{color:#dc2626}.brand-status-card .pending-note{font-size:14px;color:#64748b;margin:12px 0 0 0}.campaign-status{margin-top:20px;padding-top:16px;border-top:1px solid #e2e8f0}.campaign-setup{margin-top:16px;padding:16px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px}.campaign-setup p{margin:0 0 12px 0;font-size:14px;color:#1e40af}.setup-complete{display:flex;align-items:center;gap:10px;margin-top:16px;padding:12px 16px;background:#dcfce7;border-radius:8px}.setup-complete .setup-complete-icon{font-size:18px;color:#16a34a}.setup-complete .setup-complete-text{font-size:14px;font-weight:500;color:#166534}.ten-dlc-modal .ten-dlc-review-list{display:flex;flex-direction:column;gap:8px;margin:16px 0}.ten-dlc-modal .review-item{display:grid;grid-template-columns:140px 1fr auto;gap:12px;padding:8px 12px;background:#f8fafc;border-radius:6px;font-size:14px}.ten-dlc-modal .review-item.missing{background:#fef2f2}.ten-dlc-modal .review-item .review-label{font-weight:500;color:#64748b}.ten-dlc-modal .review-item .review-value{color:#1e293b}.ten-dlc-modal .review-item .review-value.missing{color:#dc2626;font-style:italic}.ten-dlc-modal .review-item .review-status{font-weight:600}.ten-dlc-modal .review-item .review-status:contains('✓'){color:#22c55e}.ten-dlc-modal .review-item .review-status:contains('✗'){color:#dc2626}.ten-dlc-modal .ten-dlc-warning{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:16px;color:#dc2626}.ten-dlc-modal .ten-dlc-warning strong{display:block;margin-bottom:6px;font-size:14px}.ten-dlc-modal .ten-dlc-warning p{margin:0;font-size:13px}.ten-dlc-modal .ten-dlc-notice{background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;padding:12px 16px}.ten-dlc-modal .ten-dlc-notice p{margin:0;font-size:13px;color:#0369a1}.alert{border-radius:8px;padding:12px 16px;font-size:14px}.alert.alert-danger{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}.alert.alert-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#16a34a}.alert.mt-3{margin-top:16px}.data-management-section h3{margin:0 0 8px 0;font-size:18px;font-weight:600;color:#1e293b}.data-management-section .section-description{font-size:14px;color:#64748b;margin:0 0 24px 0}.data-import-section{padding-top:20px}.import-info-cards{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.import-info-card{display:flex;align-items:center;gap:14px;padding:16px 20px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;transition:all .15s}.import-info-card:hover{border-color:#cbd5e1;background:#f1f5f9}.import-info-card .info-icon{font-size:24px;flex-shrink:0}.import-info-card div{display:flex;flex-direction:column;gap:2px}.import-info-card div strong{font-size:15px;font-weight:600;color:#1e293b}.import-info-card div span{font-size:13px;color:#64748b}.btn-start-import{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;background:#1e293b;border:none;border-radius:8px;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s}.btn-start-import:hover{background:#334155}.btn-start-import:disabled{background:#94a3b8;cursor:not-allowed}.export-panel{padding-top:20px}.export-panel h3{margin:0 0 8px 0;font-size:18px;font-weight:600;color:#1e293b}.export-panel .export-description{font-size:14px;color:#64748b;margin:0 0 24px 0}.export-options{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.export-option .export-checkbox{display:flex;align-items:center;gap:12px;padding:14px 18px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:all .15s}.export-option .export-checkbox:hover{border-color:#cbd5e1;background:#f8fafc}.export-option .export-checkbox input[type=checkbox]{width:18px;height:18px;accent-color:#3b82f6;cursor:pointer}.export-option .export-checkbox .checkbox-label{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:500;color:#1e293b}.export-option .export-checkbox .checkbox-label .export-icon{font-size:20px}.date-range-section{margin-bottom:24px}.date-range-section .date-range-toggle{display:flex;align-items:center;gap:10px;font-size:14px;color:#475569;cursor:pointer;margin-bottom:12px}.date-range-section .date-range-toggle input[type=checkbox]{width:16px;height:16px;accent-color:#3b82f6}.date-range-inputs{display:flex;gap:16px;flex-wrap:wrap}.date-range-inputs .date-input{display:flex;flex-direction:column;gap:6px}.date-range-inputs .date-input label{font-size:13px;font-weight:500;color:#64748b}.date-range-inputs .date-input input[type=date]{padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;color:#1e293b}.date-range-inputs .date-input input[type=date]:focus{outline:none;border-color:#3b82f6}.export-actions{margin-bottom:16px}.btn-export{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;background:#3b82f6;border:none;border-radius:8px;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s}.btn-export:hover{background:#2563eb}.btn-export:disabled{background:#94a3b8;cursor:not-allowed}.export-status{padding:12px 16px;border-radius:8px;font-size:14px}.export-status.success{background:#f0fdf4;border:1px solid #bbf7d0;color:#16a34a}.export-status.error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}.time-tracking-roles{display:flex;flex-direction:column;gap:16px;margin-bottom:24px;max-width:400px}.role-setting{display:flex;align-items:center;justify-content:space-between;gap:16px}.role-setting .role-label{font-size:14px;font-weight:500;color:#374151;min-width:120px}.role-setting select.form-control{width:140px;padding:8px 12px;font-size:14px}.mode-info{display:grid;grid-template-columns:repeat(2, 1fr);gap:20px;margin-bottom:24px;padding:16px;background:#f8fafc;border-radius:8px}.mode-description h4{font-size:14px;font-weight:600;color:#111926;margin:0 0 8px 0}.mode-description ul{margin:0;padding-left:18px;font-size:13px;color:#64748b;line-height:1.6}.settings-actions{display:flex;align-items:center;gap:16px}.settings-actions .success-message{color:#16a34a;font-size:14px}.settings-actions .error-message{color:#dc2626;font-size:14px}.shop-hours-table{display:flex;flex-direction:column;margin-bottom:24px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.shop-hours-table .hours-table-header{display:grid;grid-template-columns:120px 80px 1fr 1fr;gap:12px;padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:12px;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.5px}.shop-hours-table .hours-table-row{display:grid;grid-template-columns:120px 80px 1fr 1fr;gap:12px;padding:12px 16px;align-items:center;border-bottom:1px solid #e2e8f0;transition:background .15s}.shop-hours-table .hours-table-row:last-child{border-bottom:none}.shop-hours-table .hours-table-row:hover{background:#f8fafc}.shop-hours-table .hours-table-row.closed{background:#f8fafc}.shop-hours-table .hours-table-row.closed .hours-col-day{color:#94a3b8}.shop-hours-table .hours-col-day{font-size:14px;font-weight:500;color:#1e293b}.shop-hours-table .hours-col-open{display:flex;align-items:center}.shop-hours-table .hours-col-time input[type=time]{width:100%;max-width:140px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;color:#1e293b}.shop-hours-table .hours-col-time input[type=time]:focus{outline:none;border-color:#3b82f6}.shop-hours-table .hours-col-time input[type=time]:disabled{background:#f1f5f9;color:#94a3b8;cursor:not-allowed}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.shop-hours-table .hours-table-header{grid-template-columns:100px 60px 1fr 1fr;gap:8px;padding:10px 12px;font-size:11px}.shop-hours-table .hours-table-row{grid-template-columns:100px 60px 1fr 1fr;gap:8px;padding:10px 12px}.shop-hours-table .hours-col-day{font-size:13px}.shop-hours-table .hours-col-time input[type=time]{padding:6px 8px;font-size:13px}}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.settings-detail-page,.ro-detail-page.settings-detail-page{padding:12px 16px 0}.settings-title{font-size:20px}.main-segmented-control{width:100%}.segment-btn{padding:8px 14px;font-size:13px}.settings-content{padding:16px;border-radius:12px 12px 0 0}.settings-sub-tabs{gap:6px}.settings-sub-tab{padding:6px 12px;font-size:12px}.add-tag-row{flex-direction:column;align-items:stretch}.tag-name-input{min-width:unset}.form-actions{flex-direction:column}.form-actions button{width:100%}.mode-info{grid-template-columns:1fr}.role-setting{flex-direction:column;align-items:flex-start;gap:8px}.role-setting select.form-control{width:100%}}.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:1000}.modal-dialog.settings-modal{position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1001;width:90%;max-width:500px}.settings-modal .modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.2);display:flex;flex-direction:column;max-height:90vh;overflow:hidden}.settings-modal .modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:#111926;color:#fff}.settings-modal .modal-header h3{margin:0;font-size:18px;font-weight:600;color:#fff}.settings-modal .modal-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:hsla(0,0%,100%,.1);color:hsla(0,0%,100%,.8);border-radius:6px;font-size:20px;cursor:pointer;transition:background .2s}.settings-modal .modal-close:hover{background:hsla(0,0%,100%,.2)}.settings-modal .modal-body{padding:24px;overflow-y:auto;flex:1}.settings-modal .modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #e5e7eb;background:#f8fafc}.workflow-settings{max-width:900px}.workflow-header{margin-bottom:32px}.workflow-header .workflow-title h2{font-size:24px;font-weight:700;color:#0f172a;margin:0 0 8px}.workflow-header .workflow-subtitle{font-size:15px;color:#64748b;margin:0;line-height:1.5}.workflow-steps{display:flex;align-items:center;gap:0;margin-bottom:32px;padding:20px 24px;background:linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);border-radius:12px;border:1px solid #e2e8f0}.step-indicator{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:10px;cursor:pointer;transition:all .2s}.step-indicator:hover:not(.active){background:rgba(59,130,246,.08)}.step-indicator.active{background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.08)}.step-indicator.active .step-number{background:#3b82f6;color:#fff}.step-indicator.active .step-label{color:#0f172a}.step-indicator.completed .step-number{background:#22c55e;color:#fff}.step-indicator .step-number{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#e2e8f0;border-radius:8px;font-size:14px;font-weight:600;color:#64748b;flex-shrink:0}.step-indicator .step-number svg{stroke:currentColor}.step-indicator .step-content{display:flex;flex-direction:column}.step-indicator .step-label{font-size:14px;font-weight:600;color:#475569}.step-indicator .step-description{font-size:12px;color:#94a3b8}.step-connector{flex:1;height:2px;background:#e2e8f0;margin:0 4px;min-width:20px}.workflow-content{background:#fff;border-radius:12px;border:1px solid #e2e8f0;padding:32px}.workflow-section .section-intro{display:flex;gap:16px;padding:20px;background:linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);border-radius:12px;margin-bottom:32px}.workflow-section .section-intro .intro-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(59,130,246,.15);flex-shrink:0}.workflow-section .section-intro .intro-icon svg{stroke:#3b82f6}.workflow-section .section-intro .intro-text h3{font-size:16px;font-weight:600;color:#0f172a;margin:0 0 6px}.workflow-section .section-intro .intro-text p{font-size:14px;color:#475569;margin:0;line-height:1.5}.tags-section,.stages-section,.transitions-section,.preview-section{margin-bottom:32px}.tags-section:last-child,.stages-section:last-child,.transitions-section:last-child,.preview-section:last-child{margin-bottom:0}.section-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-label .label-group{display:flex;align-items:center;gap:12px}.section-label .label-text{font-size:13px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.section-label .label-badge{padding:4px 10px;border-radius:6px;font-size:11px;font-weight:600}.section-label .label-badge.success{background:#dcfce7;color:#16a34a}.section-help{font-size:14px;color:#64748b;margin:0 0 16px;line-height:1.5}.tags-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));gap:12px}.tags-grid.system-tags{margin-bottom:0}.tags-grid.archived{opacity:.7;margin-top:12px}.tag-card{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;transition:all .2s}.tag-card:hover{border-color:#cbd5e1;box-shadow:0 2px 8px rgba(0,0,0,.04)}.tag-card.system{background:#f8fafc;border-style:dashed}.tag-card.system:hover{background:#f8fafc;box-shadow:none}.tag-card.archived{opacity:.6}.tag-card .tag-visual{--tag-color: #6b7280}.tag-card .tag-visual .tag-dot{display:block;width:12px;height:12px;border-radius:4px;background:var(--tag-color)}.tag-card .tag-details{flex:1;min-width:0}.tag-card .tag-details .tag-name{display:block;font-size:14px;font-weight:500;color:#0f172a}.tag-card .tag-details .tag-code{display:block;font-size:12px;color:#94a3b8;font-family:monospace}.tag-card .tag-badge{display:flex;align-items:center;gap:4px;padding:4px 10px;background:#f1f5f9;border-radius:6px;font-size:11px;color:#64748b}.tag-card .tag-badge svg{width:12px;height:12px}.tag-card .tag-actions{display:flex;gap:4px}.btn-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;cursor:pointer;transition:all .15s}.btn-icon:hover{background:#f1f5f9;border-color:#cbd5e1;color:#475569}.btn-icon.btn-icon-danger:hover{background:#fef2f2;border-color:#fecaca;color:#dc2626}.archived-section{margin-top:24px}.archived-toggle{display:flex;align-items:center;gap:8px;padding:8px 12px;background:none;border:none;font-size:13px;color:#64748b;cursor:pointer}.archived-toggle:hover{color:#475569}.archived-toggle svg{transition:transform .2s}.archived-toggle svg.rotated{transform:rotate(180deg)}.loading-state{display:flex;align-items:center;justify-content:center;gap:12px;padding:48px;color:#64748b}.loading-state .spinner{width:20px;height:20px;border:2px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}.empty-state-card{display:flex;flex-direction:column;align-items:center;padding:48px 32px;background:#f8fafc;border:1px dashed #e2e8f0;border-radius:12px;text-align:center}.empty-state-card.centered{margin:0 auto;max-width:400px}.empty-state-card .empty-icon{margin-bottom:16px;color:#cbd5e1}.empty-state-card h4{font-size:16px;font-weight:600;color:#0f172a;margin:0 0 8px}.empty-state-card p{font-size:14px;color:#64748b;margin:0 0 20px;max-width:280px}.stages-list{display:flex;flex-direction:column;gap:12px}.stage-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;transition:all .2s}.stage-card:hover{border-color:#cbd5e1;box-shadow:0 2px 8px rgba(0,0,0,.04)}.stage-card .stage-header{display:flex;align-items:center;gap:12px;padding:16px}.stage-card .stage-order-badge{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#f1f5f9;border-radius:8px;font-size:13px;font-weight:600;color:#64748b;flex-shrink:0}.stage-card .stage-color-bar{width:4px;height:32px;border-radius:2px;flex-shrink:0}.stage-card .stage-info{flex:1;min-width:0}.stage-card .stage-info .stage-name{display:block;font-size:15px;font-weight:500;color:#0f172a}.stage-card .stage-info .stage-meta{display:flex;gap:16px;margin-top:4px}.stage-card .stage-info .meta-item{display:flex;align-items:center;gap:4px;font-size:12px;color:#64748b}.stage-card .stage-info .meta-item svg{flex-shrink:0}.stage-card .stage-actions{display:flex;gap:4px}.stage-card .stage-rule{padding:12px 16px;background:#f8fafc;border-top:1px solid #e2e8f0}.stage-card .stage-rule .rule-label{font-size:11px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;margin-right:8px}.stage-card .stage-rule .rule-value{font-size:12px;font-family:monospace;color:#475569}.stage-card .stage-rule .rule-value.catch-all{font-family:inherit;font-style:italic;color:#94a3b8}.transitions-list{display:flex;flex-direction:column;gap:12px}.transition-card{display:flex;align-items:center;gap:16px;padding:16px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;transition:all .2s}.transition-card:hover{border-color:#cbd5e1;box-shadow:0 2px 8px rgba(0,0,0,.04)}.transition-card .transition-flow{display:flex;align-items:center;gap:8px;flex-shrink:0}.transition-card .transition-flow .flow-stage{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f8fafc;border-radius:8px}.transition-card .transition-flow .flow-stage .stage-dot{width:10px;height:10px;border-radius:3px;background:var(--stage-color)}.transition-card .transition-flow .flow-stage .stage-label{font-size:13px;font-weight:500;color:#0f172a}.transition-card .transition-flow .flow-arrow{color:#94a3b8}.transition-card .transition-details{flex:1;min-width:0}.transition-card .transition-details .detail-badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.transition-card .transition-details .detail-badge{display:flex;align-items:center;gap:4px;padding:4px 10px;border-radius:6px;font-size:11px;font-weight:500}.transition-card .transition-details .detail-badge.audit{background:#fef3c7;color:#b45309}.transition-card .transition-details .detail-badge.roles{background:#ede9fe;color:#7c3aed}.transition-card .transition-details .detail-badge.confirm{background:#dbeafe;color:#2563eb}.transition-card .transition-details .detail-row{display:flex;align-items:center;gap:8px;font-size:12px}.transition-card .transition-details .detail-row .detail-label{color:#94a3b8;flex-shrink:0}.transition-card .transition-details .detail-row .detail-value{font-family:monospace;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.transition-card .transition-actions{display:flex;gap:4px}.transition-selector{display:flex;align-items:flex-end;gap:16px;padding:20px;background:#f8fafc;border-radius:12px;margin-bottom:24px}.transition-selector.disabled{opacity:.7}.transition-selector .selector-stage{flex:1}.transition-selector .selector-stage label{display:block;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.transition-selector .selector-arrow{padding-bottom:10px;color:#94a3b8}.preview-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.preview-stats{display:flex;gap:24px}.stat-card{display:flex;flex-direction:column;align-items:center;padding:16px 24px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.stat-card .stat-value{font-size:28px;font-weight:700;color:#3b82f6}.stat-card .stat-label{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.preview-board{display:grid;grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));gap:16px}.preview-lane{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.preview-lane.uncategorized{border-style:dashed}.preview-lane.uncategorized .lane-header{background:#fef3c7}.preview-lane.over-limit{border-color:#fecaca}.preview-lane.over-limit .lane-header{background:#fef2f2}.preview-lane .lane-header{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.preview-lane .lane-header .lane-color-bar{width:4px;height:20px;border-radius:2px;background:var(--lane-color)}.preview-lane .lane-header .lane-title{flex:1;display:flex;align-items:center;gap:8px}.preview-lane .lane-header .lane-name{font-size:14px;font-weight:600;color:#0f172a}.preview-lane .lane-header .lane-badge{padding:2px 8px;border-radius:4px;font-size:10px;font-weight:600}.preview-lane .lane-header .lane-badge.warning{background:#fef3c7;color:#b45309}.preview-lane .lane-header .lane-count{display:flex;align-items:baseline;gap:2px}.preview-lane .lane-header .lane-count .count-value{font-size:16px;font-weight:700;color:#0f172a}.preview-lane .lane-header .lane-count .count-value.danger{color:#dc2626}.preview-lane .lane-header .lane-count .count-limit{font-size:12px;color:#94a3b8}.preview-lane .lane-body{padding:12px;min-height:120px}.preview-lane .lane-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:100%;min-height:100px;color:#94a3b8}.preview-lane .lane-empty svg{stroke:currentColor}.preview-lane .lane-empty span{font-size:13px}.preview-lane .lane-cards{display:flex;flex-direction:column;gap:8px}.preview-card{padding:12px;background:#f8fafc;border-radius:8px}.preview-card.more-card{text-align:center;color:#64748b;font-size:13px}.preview-card .card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.preview-card .card-header .card-number{font-size:13px;font-weight:600;color:#0f172a}.preview-card .card-header .card-status{font-size:11px;color:#64748b}.preview-card .card-customer{font-size:13px;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-card .card-vehicle{font-size:12px;color:#94a3b8;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.info-box{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin-top:24px}.info-box svg{flex-shrink:0;color:#3b82f6}.info-box span{font-size:13px;color:#1e40af;line-height:1.5}.info-box.success{background:#f0fdf4;border-color:#bbf7d0}.info-box.success svg{color:#22c55e}.info-box.success span{color:#166534}.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.4);backdrop-filter:blur(4px);z-index:1000}.modal-container{position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1001;width:90%;max-width:480px}.modal-container.modal-lg{max-width:640px}.modal-panel{background:#fff;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.2);display:flex;flex-direction:column;max-height:90vh;overflow:hidden}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;background:#0f172a;color:#fff}.modal-header h3{margin:0;font-size:18px;font-weight:600}.modal-close{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;background:hsla(0,0%,100%,.1);color:hsla(0,0%,100%,.8);border-radius:8px;cursor:pointer;transition:all .15s}.modal-close:hover{background:hsla(0,0%,100%,.2);color:#fff}.modal-body{padding:24px;overflow-y:auto;flex:1}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #e2e8f0;background:#f8fafc}.form-field{margin-bottom:20px}.form-field label{display:block;font-size:13px;font-weight:600;color:#374151;margin-bottom:8px}.form-field label .optional{font-weight:400;color:#94a3b8}.form-input{width:100%;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;color:#0f172a;transition:all .15s}.form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.form-input::placeholder{color:#94a3b8}.form-input:disabled{background:#f8fafc;color:#64748b}.form-hint{font-size:12px;color:#64748b;margin-top:6px}.form-row{display:flex;gap:16px}.form-row .form-field{flex:1}.form-row .form-field.flex-grow{flex:2}.form-section{margin-bottom:24px}.form-section h4{font-size:14px;font-weight:600;color:#0f172a;margin:0 0 8px}.form-section h4 .optional{font-weight:400;color:#94a3b8}.form-checkbox .checkbox-label{display:flex;align-items:center;gap:10px;cursor:pointer}.form-checkbox .checkbox-label input[type=checkbox]{width:18px;height:18px;accent-color:#3b82f6}.form-checkbox .checkbox-label .checkbox-text{font-size:14px;color:#374151}.color-picker{display:flex;align-items:center;gap:12px}.color-picker input[type=color]{width:48px;height:40px;padding:4px;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer}.color-picker input[type=color]::-webkit-color-swatch-wrapper{padding:0}.color-picker input[type=color]::-webkit-color-swatch{border:none;border-radius:4px}.color-picker .color-value{font-size:13px;font-family:monospace;color:#64748b}.tag-preview{display:flex;align-items:center;gap:12px;padding:16px;background:#f8fafc;border-radius:10px}.tag-preview .preview-label{font-size:13px;color:#64748b}.tag-preview .preview-tag{display:flex;align-items:center;gap:8px;padding:6px 12px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;font-weight:500;color:#0f172a}.tag-preview .preview-tag .tag-dot{width:10px;height:10px;border-radius:3px;background:var(--tag-color)}.code-textarea{font-family:"Monaco","Menlo",monospace;font-size:13px;resize:vertical}.action-help{margin-top:12px}.action-help summary{font-size:12px;color:#64748b;cursor:pointer}.action-help summary:hover{color:#3b82f6}.action-help ul{margin:12px 0 0;padding-left:20px;font-size:13px;color:#475569;line-height:1.8}.action-help ul code{background:#f1f5f9;padding:2px 6px;border-radius:4px;font-size:12px}.form-control-color{width:60px;height:38px;padding:4px;cursor:pointer}.rule-builder{border:1px solid #e2e8f0;border-radius:10px;padding:16px;background:#f8fafc}.rule-builder-empty{text-align:center;padding:32px 24px;color:#64748b}.rule-builder-empty p{margin:0 0 16px;font-size:14px}.rule-builder-empty .add-rule-buttons{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.rule-node.rule-group{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:14px;margin-bottom:10px}.rule-node.rule-group:last-child{margin-bottom:0}.rule-node.rule-condition{margin-bottom:10px}.rule-node.rule-condition:last-child{margin-bottom:0}.rule-group-header{display:flex;align-items:center;gap:10px;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #e2e8f0}.rule-group-header .group-type-select{font-weight:600;width:auto;padding:8px 14px;background:linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);border:1px solid #bfdbfe;border-radius:8px;color:#1d4ed8;font-size:13px}.rule-group-children{padding-left:18px;border-left:3px solid #3b82f6;margin-left:6px}.rule-group-add{margin-top:12px;padding-top:12px;border-top:1px dashed #e2e8f0;display:flex;gap:8px}.rule-group-add .btn-link{padding:6px 12px;font-size:12px;font-weight:500;color:#3b82f6;background:#eff6ff;border:1px dashed #bfdbfe;border-radius:6px;cursor:pointer;transition:all .15s}.rule-group-add .btn-link:hover{background:#dbeafe;border-style:solid}.rule-condition-stack{display:flex;flex-direction:column;gap:0;padding:16px;background:var(--surface, #fff);border:1px solid var(--border, #e2e8f0);border-radius:8px}.rule-condition-stack .rule-field-group{display:flex;flex-direction:column;gap:6px}.rule-condition-stack .rule-field-label{font-size:12px;font-weight:500;color:var(--text-secondary, #64748b)}.rule-condition-stack .select-wrapper{position:relative;display:flex;align-items:center}.rule-condition-stack .select-wrapper select{appearance:none;padding-right:36px;cursor:pointer}.rule-condition-stack .select-wrapper .select-chevron{position:absolute;right:12px;pointer-events:none;color:var(--text-secondary, #64748b)}.rule-condition-stack .rule-arrow-down{display:flex;align-items:center;justify-content:center;padding:8px 0;color:var(--text-tertiary, #94a3b8)}.rule-condition-stack .form-input{width:100%}.rule-condition-stack .rule-remove-btn{align-self:flex-end;margin-top:12px}.rule-condition-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.rule-condition-row .field-select{min-width:180px;flex:1}.rule-condition-row .operator-select{min-width:130px}.rule-condition-row .value-select,.rule-condition-row .value-input{min-width:150px;flex:1}.rule-condition-row .btn-icon{flex-shrink:0}.form-control-sm{padding:8px 12px;font-size:13px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;transition:all .15s}.form-control-sm:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.json-preview{margin-top:16px}.json-preview summary{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500;color:#64748b;cursor:pointer;padding:8px 12px;background:#f1f5f9;border-radius:6px;transition:all .15s}.json-preview summary:hover{color:#3b82f6;background:#eff6ff}.json-preview summary svg{flex-shrink:0}.json-preview pre{margin:10px 0 0;padding:14px;background:#0f172a;color:#e2e8f0;border-radius:8px;font-size:12px;font-family:"Monaco","Menlo",monospace;overflow-x:auto;white-space:pre-wrap;word-break:break-all}.pt-supplier-search-results{margin-top:.5rem;max-height:200px;overflow-y:auto;border:1px solid #e2e8f0;border-radius:8px}.pt-supplier-search-item{display:block;width:100%;padding:8px 12px;text-align:left;background:none;border:none;border-bottom:1px solid #f1f5f9;font-size:14px;cursor:pointer}.pt-supplier-search-item:last-child{border-bottom:none}.pt-supplier-search-item:hover{background:#f8fafc}.pt-supplier-search-item.selected{background:#eff6ff;font-weight:600;color:#1e40af}.page-container{padding:16px 24px 24px;max-width:100%;min-height:calc(100vh - 56px);background:#f8fafc}.form-group{margin-bottom:16px}.form-group label{display:block;font-size:14px;font-weight:500;color:#1e293b;margin-bottom:6px}.form-control{width:100%;padding:10px 12px;border:1px solid #e5e7eb;border-radius:6px;font-size:14px;font-family:inherit;background:#fff;color:#1e293b}.form-control:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.12)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.day-display{display:block;font-size:13px;color:#64748b;margin-top:4px}.btn-link{background:none;border:none;color:var(--color-primary, #2970FE);padding:0;font-size:14px;cursor:pointer}.btn-link:hover{text-decoration:underline}.create-timesheet-btn{margin-top:8px}.timesheet-card{background:#fff;border-radius:12px;border:1px solid #e5e7eb;margin-bottom:20px;overflow:visible;box-shadow:0 1px 2px rgba(0,0,0,.05)}.card-header{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;border-bottom:1px solid #e5e7eb;background:#f8fafc;border-radius:12px 12px 0 0}.card-header h3{font-size:14px;font-weight:600;margin:0;color:#0f172a;letter-spacing:-0.01em;text-transform:uppercase;letter-spacing:.3px}.card-header-actions{display:flex;align-items:center;gap:8px}.card-body{padding:20px;background:#fff;border-radius:0 0 12px 12px}.card-body .stats-row{margin-bottom:0}.card-body .table-container{margin:-20px;margin-top:0;border:none;border-radius:0 0 12px 12px}.page-header-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:16px}.header-left{display:flex;align-items:center;gap:16px}.header-right{display:flex;align-items:center;gap:10px}.btn-ghost{background:rgba(0,0,0,0);border:none;color:#64748b;cursor:pointer;transition:all .15s ease}.btn-ghost:hover:not(:disabled){color:#0f172a}.btn-ghost:disabled{opacity:.4;cursor:not-allowed}.subheader-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:16px}.subheader-left{display:flex;align-items:center;gap:12px}.subheader-right{display:flex;align-items:center;gap:12px}.period-toggle{display:flex;background:#f1f5f9;border-radius:8px;padding:4px;gap:2px}.period-toggle-btn{padding:6px 14px;border:none;background:rgba(0,0,0,0);border-radius:6px;font-size:13px;font-weight:500;color:#64748b;cursor:pointer;transition:all .15s ease}.period-toggle-btn:hover{color:#1e293b;background:#e2e8f0}.period-toggle-btn.active{background:#fff;color:#3b82f6;box-shadow:0 1px 3px rgba(0,0,0,.1)}.employee-selector{padding:8px 12px;border:1px solid #e5e7eb;border-radius:6px;font-size:14px;font-family:var(--font-family);background:#fff;color:#1e293b;min-width:180px;cursor:pointer}.employee-selector:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.15)}.page-title{font-size:24px;font-weight:600;color:#0f172a;margin:0}.date-navigation{display:flex;align-items:center;gap:12px}.date-display-text{font-size:15px;font-weight:500;color:#1e293b;min-width:220px;text-align:center}.btn-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;background:#fff;border:1px solid #e5e7eb;border-radius:6px;color:#64748b;cursor:pointer;transition:all .15s ease}.btn-icon:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1;color:#1e293b}.btn-icon:disabled{opacity:.4;cursor:not-allowed}.stats-row{display:flex;flex-direction:row;gap:12px;margin-bottom:0;flex-wrap:wrap}.stats-row.edit-mode .stat-item{background:#fffbeb;border-color:#fbbf24}.stat-item{display:flex;flex-direction:column;gap:4px;padding:14px 18px;background:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;min-width:110px;flex:1;transition:all .15s ease}.stat-item:hover{border-color:#e5e7eb}.stat-label{display:block;font-size:10px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.stat-value{display:block;font-size:17px;font-weight:700;color:#0f172a;font-variant-numeric:tabular-nums}.stat-highlight{color:#2970fe}.stat-input{width:90px;padding:4px 8px;border:1px solid #3b82f6;border-radius:4px;font-size:14px;font-weight:600;text-align:center}.stat-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px rgba(59,130,246,.2)}.pending-badge{display:inline-flex;margin-left:6px;padding:2px 6px;background:#fef3c7;color:#b45309;font-size:9px;font-weight:600;border-radius:3px;text-transform:uppercase;letter-spacing:.3px;vertical-align:middle}.table-container{background:#fff;border:none;border-radius:0;overflow:visible}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table thead{background:#f8fafc}.data-table th{padding:10px 14px;text-align:left;font-size:10px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #e5e7eb}.data-table td{padding:12px 14px;border-bottom:1px solid #f1f5f9;color:#1e293b}.data-table tbody tr{transition:background .15s ease}.data-table tbody tr:hover{background:#f8fafc}.data-table tbody tr:last-child td{border-bottom:none}.type-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:4px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.type-ro{background:#dbeafe;color:#1d4ed8}.type-internal{background:#fef3c7;color:#b45309}.type-clock-in{background:#dcfce7;color:#166534}.type-clock-out{background:#fee2e2;color:#991b1b}.type-break{background:#e0e7ff;color:#4338ca}.type-lunch{background:#fce7f3;color:#9d174d}.manual-edit-badge{display:inline-flex;padding:2px 6px;background:#f1f5f9;color:#64748b;border-radius:3px;font-size:10px;font-weight:500;margin-right:4px}.status-active{color:#16a34a;font-size:12px}.customer-cell,.activity-cell{color:#1e293b;font-weight:500}.time-cell{font-variant-numeric:tabular-nums;font-weight:500;color:#1e293b}.i-time{color:#b45309;font-weight:600}.clock-cell{font-variant-numeric:tabular-nums;color:#64748b;font-size:13px}.flagged-cell{font-variant-numeric:tabular-nums;font-weight:600;color:#1e293b}.flag-delta{font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1;white-space:nowrap}.flag-delta.delta-under{color:#16a34a}.flag-delta.delta-over{color:#dc2626}.hours-value{position:relative;display:inline-flex;align-items:center}.hours-value .flag-delta{position:absolute;top:calc(100% + 2px);right:0}.flag-table th.num-col,.flag-table .time-cell,.flag-table .flagged-cell{text-align:right}.row-in-progress{background:#f0fdf4}.row-in-progress:hover{background:#dcfce7}.in-progress-badge{display:inline-flex;margin-left:8px;padding:2px 6px;background:#10b981;color:#fff;font-size:10px;font-weight:600;border-radius:3px;text-transform:uppercase;letter-spacing:.3px}.row-editing{background:#fef9c3}.row-editing:hover{background:#fef9c3}.time-input{width:100%;padding:4px 6px;border:2px solid #3b82f6;border-radius:4px;font-size:13px;font-family:inherit;outline:none;background:#fff}.time-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(59,130,246,.15)}.time-input-small{width:70px;padding:4px 6px;border:1px solid #d1d5db;border-radius:4px;font-size:13px;font-family:inherit;text-align:center}.time-input-small:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.15)}.inline-edit{display:flex;align-items:center;gap:6px}.inline-edit .time-input-small{width:80px}.inline-edit .btn-sm{padding:4px 8px;font-size:11px;white-space:nowrap}.activity-select{width:100%;padding:4px 6px;border:1px solid #d1d5db;border-radius:4px;font-size:13px;font-family:inherit;background:#fff;cursor:pointer}.activity-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.15)}.action-cell{display:flex;gap:4px;justify-content:center;align-items:center}.btn-edit,.btn-save,.btn-cancel{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;border-radius:4px;cursor:pointer;transition:all .15s}.btn-edit{background:#f3f4f6;color:#6b7280}.btn-edit:hover{background:#e5e7eb;color:#374151}.btn-save{background:#10b981;color:#fff}.btn-save:hover{background:#059669}.btn-cancel{background:#f3f4f6;color:#6b7280}.btn-cancel:hover{background:#fecaca;color:#dc2626}.btn-sm{padding:6px 12px;font-size:13px}.actions-cell{text-align:center;padding:4px !important}.action-menu{position:relative;display:inline-block}.action-btn{background:rgba(0,0,0,0);border:none;cursor:pointer;padding:4px 8px;border-radius:4px;color:#64748b;font-size:18px;line-height:1}.action-btn:hover{background:#f1f5f9;color:#334155}.dots{font-weight:bold}.timesheet-menu-backdrop{position:fixed;inset:0;z-index:99}.menu-dropdown{position:absolute;right:100%;top:0;margin-right:4px;background:#fff;z-index:100;border:1px solid #e5e7eb;border-radius:6px;box-shadow:0 4px 12px rgba(0,0,0,.15);z-index:9999;min-width:100px;overflow:hidden}.menu-item{display:block;width:100%;padding:8px 16px;border:none;background:#fff;text-align:left;cursor:pointer;font-size:14px;color:#334155}.menu-item:hover{background:#f8fafc}.menu-item.delete{color:#dc2626}.menu-item.delete:hover{background:#fef2f2}.totals-row{background:#f8fafc;font-weight:600}.totals-row td{border-top:2px solid #e5e7eb;padding:12px 8px}.totals-label{text-align:right;padding-right:16px !important;color:#64748b}.alert-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:12px 16px;border-radius:6px;margin-bottom:16px;font-size:14px}.alert-warning{padding:16px;background:#fef3c7;border:1px solid #fcd34d;border-radius:8px;color:#92400e}.flag-warning{margin-bottom:12px;font-size:13px}.empty-state{text-align:center;color:#94a3b8;padding:48px 16px !important;font-style:italic}.empty-content{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px}.loading-state{text-align:center;padding:48px;color:#64748b}.btn-add-flag{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:var(--color-primary, #2970FE);color:#fff;border:none;border-radius:8px;cursor:pointer;transition:all .15s}.btn-add-flag:hover{background:#1d5bd6;transform:translateY(-1px)}.btn-add-flag:active{transform:translateY(0)}.hint{color:#64748b;font-size:13px;font-style:italic}.i-prefix{color:#64748b;font-size:13px}.shop-name{color:#64748b;font-style:italic}.view-toggle{display:flex;background:#f1f5f9;border-radius:8px;padding:4px;gap:2px}.view-toggle-btn{display:flex;align-items:center;justify-content:center;width:36px;height:32px;border:none;background:rgba(0,0,0,0);border-radius:6px;color:#64748b;cursor:pointer;transition:all .15s ease}.view-toggle-btn:hover{color:#1e293b;background:#e2e8f0}.view-toggle-btn.active{background:#fff;color:#3b82f6;box-shadow:0 1px 3px rgba(0,0,0,.1)}.date-picker-container{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:20px;overflow:hidden}.date-picker-header{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e5e7eb}.date-picker-month{font-size:15px;font-weight:600;color:#0f172a;min-width:180px;text-align:center}.btn-today{margin-left:8px;padding:6px 12px;font-size:13px;font-weight:500;color:#2970fe;background:rgba(0,0,0,0);border:1px solid #2970fe;border-radius:6px;cursor:pointer;transition:all .15s ease}.btn-today:hover:not(:disabled){background:rgba(41,112,254,.08)}.btn-today:disabled{opacity:.4;cursor:not-allowed}.week-strip{display:grid;grid-template-columns:repeat(7, 1fr);gap:0}.week-day{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px 8px;background:#fff;border:none;border-right:1px solid #f1f5f9;cursor:pointer;transition:all .15s ease}.week-day:last-child{border-right:none}.week-day:hover:not(:disabled):not(.selected){background:#f0f9ff}.week-day.selected{background:#2970fe}.week-day.selected .week-day-name,.week-day.selected .week-day-number{color:#fff}.week-day.today:not(.selected) .week-day-number{background:#2970fe;color:#fff;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center}.week-day.future{opacity:.4;cursor:not-allowed;background:#f8fafc}.week-day:disabled{cursor:not-allowed}.week-day-name{font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.week-day-number{font-size:16px;font-weight:600;color:#0f172a}.day-view-header{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:20px;padding:12px;background:#f8fafc;border-radius:10px}.day-view-date{font-size:16px;font-weight:600;color:#0f172a;min-width:240px;text-align:center}.timesheet-calendar{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.calendar-header{display:grid;grid-template-columns:repeat(7, 1fr);background:#f8fafc;border-bottom:1px solid #e5e7eb}.calendar-header-cell{padding:12px 8px;text-align:center;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.calendar-grid{display:grid;grid-template-columns:repeat(7, 1fr)}.calendar-day{display:flex;flex-direction:column;align-items:center;padding:12px 8px;min-height:120px;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;cursor:pointer;transition:all .15s ease;background:#fff}.calendar-day:nth-child(7n){border-right:none}.calendar-day:hover:not(.future){background:#f0f9ff}.calendar-day.selected{background:#eff6ff;box-shadow:inset 0 0 0 2px #3b82f6}.calendar-day.today .day-number{background:#3b82f6;color:#fff}.calendar-day.no-timesheet{background:#fafafa}.calendar-day.no-timesheet .day-number,.calendar-day.no-timesheet .day-month{color:#94a3b8}.calendar-day.future{background:#f8fafc;cursor:not-allowed;opacity:.5}.day-number{font-size:18px;font-weight:700;color:#1e293b;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%}.day-month{font-size:11px;color:#94a3b8;text-transform:uppercase;margin-top:2px}.day-metrics{display:flex;flex-direction:column;gap:4px;margin-top:8px;width:100%}.metric-row{display:flex;justify-content:space-between;align-items:center;padding:0 4px}.metric-row.efficiency{margin-top:4px;padding-top:6px;border-top:1px solid #e5e7eb}.metric-label{font-size:10px;color:#94a3b8;text-transform:uppercase}.metric-value{font-size:12px;font-weight:600;color:#1e293b}.metric-value.efficiency-high{color:#16a34a}.metric-value.efficiency-medium{color:#d97706}.metric-value.efficiency-low{color:#dc2626}.day-empty{color:#cbd5e1;font-size:14px;margin-top:12px}@media(max-width: 1024px),(hover: none)and (pointer: coarse){.page-container{padding:16px}.page-header-row{flex-direction:column;align-items:flex-start}.stats-row{display:grid;grid-template-columns:repeat(3, 1fr)}.stat-item{min-width:auto}.timesheet-calendar{overflow-x:auto}.calendar-grid,.calendar-header{min-width:600px}.calendar-day{min-height:100px;padding:8px 4px}.day-number{font-size:14px;width:28px;height:28px}.metric-label{font-size:9px}.metric-value{font-size:11px}.day-view-header{padding:10px;gap:12px}.day-view-date{font-size:14px;min-width:200px}.date-picker-container{border-radius:8px}.date-picker-header{padding:10px 12px;gap:8px;flex-wrap:wrap}.date-picker-month{font-size:14px;min-width:160px}.btn-today{padding:5px 10px;font-size:12px}.week-day{padding:10px 4px}.week-day-name{font-size:10px}.week-day-number{font-size:14px}}@media(max-width: 600px){.stats-row{grid-template-columns:repeat(2, 1fr)}.date-picker-header{justify-content:space-between}.date-picker-month{min-width:auto;flex:1}}@media(max-width: 1024px),(hover: none)and (pointer: coarse){main,.page.sidebar-collapsed main{margin-left:0;padding-bottom:calc(var(--mobile-nav-height) + 16px)}.top-header{padding:12px 16px}.top-header-left .pos-title{height:28px}.content{padding:16px}.modal-content{width:95%;max-width:600px;margin:16px;max-height:calc(100vh - 32px)}.modal-body{max-height:60vh}.form-grid{grid-template-columns:1fr}.btn{min-height:var(--mobile-tap-target)}.items-table{font-size:12px}.items-table th,.items-table td{padding:6px}}@media(max-width: 768px){.mobile-menu-btn{display:none !important}.top-header .global-search,.ai-toggle-btn,.messages-popover-container{display:none}.top-header{padding:8px 12px}.top-header-left .pos-title{height:24px}.top-header-right{gap:8px}.content{padding:12px}h1{font-size:var(--font-size-2xl)}h2{font-size:var(--font-size-xl)}.modal-content{width:100%;max-width:none;margin:0;border-radius:16px 16px 0 0;max-height:90vh;position:fixed;bottom:0;left:0;right:0}.modal-header{padding:16px;border-radius:16px 16px 0 0}.modal-body{padding:16px;max-height:calc(90vh - 140px)}.modal-footer{padding:16px;flex-direction:column;gap:8px}.modal-footer .btn{width:100%}.form-control,.form-select,input[type=text],input[type=email],input[type=password],input[type=number],input[type=tel],textarea,select{min-height:var(--mobile-tap-target);font-size:16px}.btn{min-height:var(--mobile-tap-target);padding:12px 16px}.btn-icon,.btn-icon-sm{min-width:var(--mobile-tap-target);min-height:var(--mobile-tap-target)}table{display:block;overflow-x:auto}.items-table{min-width:600px}.dispatch-table{min-width:800px}.page-header{flex-direction:column;align-items:flex-start;gap:12px}.page-header-actions{width:100%;flex-wrap:wrap}.search-container{width:100%}}
