@import"https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,500;1,600&family=Inter:wght@400;500;600;700&display=swap";.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1e293b,#0f172a);padding:1rem}.auth-card{background:#fff;border-radius:16px;padding:3rem;width:100%;max-width:480px;box-shadow:0 20px 60px #0000004d}.auth-header{text-align:center;margin-bottom:2rem}.auth-header h1{font-size:2rem;font-weight:700;color:#1e293b;margin:0 0 .5rem}.auth-header p{color:#64748b;font-size:1rem;margin:0}.auth-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-weight:600;color:#334155;font-size:.875rem}.form-group input{padding:.875rem 1rem;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;transition:all .2s;font-family:inherit}.form-group input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.error-message{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:.875rem;border-radius:8px;font-size:.875rem}.submit-btn{background:#3b82f6;color:#fff;padding:1rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;font-family:inherit}.submit-btn:hover:not(:disabled){background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.submit-btn:active:not(:disabled){transform:translateY(0)}.submit-btn:disabled{opacity:.6;cursor:not-allowed}.auth-toggle{margin-top:1rem;text-align:center}.toggle-btn{background:none;border:none;color:#3b82f6;font-size:.875rem;cursor:pointer;text-decoration:underline;padding:.5rem;font-family:inherit;transition:color .2s}.toggle-btn:hover{color:#2563eb}.form-row-inline{display:flex;gap:1rem}.form-row-inline .form-group{flex:1}@media (max-width: 480px){.form-row-inline{flex-direction:column;gap:1.5rem}.auth-card{padding:2rem 1.5rem}.auth-header h1{font-size:1.5rem}}.sidebar{width:260px;background:#1e293b;color:#fff;display:flex;flex-direction:column;flex-shrink:0;position:fixed;top:0;left:0;bottom:0;z-index:90;transition:width .25s ease;overflow:hidden}.sidebar--collapsed{width:64px}.sidebar-top{display:flex;align-items:center;justify-content:space-between;padding:0 .75rem;height:64px;border-bottom:1px solid #334155;flex-shrink:0}.sidebar-brand{display:flex;align-items:center;gap:.625rem;overflow:hidden;min-width:0}.sidebar-logo-icon{width:32px;height:32px;background:#3b82f6;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1rem;color:#fff;flex-shrink:0}.sidebar-logo-text{font-size:1.125rem;font-weight:700;color:#f1f5f9;white-space:nowrap}.sidebar-toggle{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;border-radius:6px;background:transparent;color:#64748b;cursor:pointer;flex-shrink:0;transition:background .15s,color .15s}.sidebar-toggle:hover{background:#334155;color:#e2e8f0}.sidebar-nav{list-style:none;padding:.75rem .5rem;margin:0;display:flex;flex-direction:column;gap:.25rem;flex:1;overflow-y:auto;overflow-x:hidden}.nav-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem;border:none;border-radius:8px;background:transparent;color:#94a3b8;font-size:.9375rem;font-weight:500;cursor:pointer;transition:background .15s,color .15s;font-family:inherit;text-align:left;white-space:nowrap}.sidebar--collapsed .nav-item{justify-content:center;padding:.75rem}.nav-item:hover{background:#334155;color:#e2e8f0}.nav-item.active{background:#3b82f6;color:#fff}.nav-icon{display:flex;align-items:center;flex-shrink:0}.nav-label{white-space:nowrap}.nav-item--group .nav-label{flex:1}.nav-item--group.contains-active{color:#e2e8f0}.nav-chevron{display:flex;align-items:center;color:#64748b;transition:transform .2s ease;flex-shrink:0}.nav-chevron--open{transform:rotate(180deg)}.nav-submenu-wrapper{display:grid;grid-template-rows:0fr;transition:grid-template-rows .25s ease}.nav-submenu-wrapper.open{grid-template-rows:1fr}.nav-submenu-inner{overflow:hidden}.nav-submenu{list-style:none;margin:.125rem 0 .25rem 1.5rem;padding:.125rem 0 .125rem .5rem;display:flex;flex-direction:column;gap:.125rem;border-left:1px solid #334155;opacity:0;transform:translateY(-4px);transition:opacity .2s ease .05s,transform .2s ease .05s}.nav-submenu-wrapper.open .nav-submenu{opacity:1;transform:translateY(0)}.nav-item--sub{padding:.5rem .75rem;font-size:.875rem;gap:.625rem}.nav-item--sub .nav-icon svg{width:16px;height:16px}.sidebar-footer{border-top:1px solid #334155;padding:.75rem .5rem;display:flex;flex-direction:column;gap:.5rem;flex-shrink:0}.sidebar-user{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;border-radius:8px;overflow:hidden}.sidebar-user--collapsed{justify-content:center;padding:.5rem}.sidebar-avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.875rem;flex-shrink:0}.sidebar-user-info{display:flex;flex-direction:column;min-width:0;overflow:hidden}.sidebar-user-name{font-size:.875rem;font-weight:600;color:#e2e8f0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user-role{font-size:.7rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.sidebar-changepw{display:flex;align-items:center;gap:.625rem;width:100%;padding:.625rem .75rem;border:none;border-radius:8px;background:transparent;color:#94a3b8;font-size:.875rem;font-weight:500;cursor:pointer;font-family:inherit;text-align:left;transition:background .15s,color .15s;white-space:nowrap}.sidebar-changepw--icon-only{justify-content:center;padding:.625rem}.sidebar-changepw:hover{background:#334155;color:#e2e8f0}.sidebar-pw-modal{max-width:400px}.sidebar-pw-body{padding:1.25rem 1.75rem}.sidebar-pw-body .form-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.sidebar-pw-body label{font-weight:600;font-size:.875rem;color:#334155}.sidebar-pw-body input{padding:.625rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;font-family:inherit}.sidebar-pw-body input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.sidebar-pw-actions{padding:1.25rem 1.75rem;border-top:1px solid #f1f5f9}.sidebar-signout{display:flex;align-items:center;gap:.625rem;width:100%;padding:.625rem .75rem;border:none;border-radius:8px;background:transparent;color:#94a3b8;font-size:.875rem;font-weight:500;cursor:pointer;font-family:inherit;text-align:left;transition:background .15s,color .15s;white-space:nowrap}.sidebar-signout--icon-only{justify-content:center;padding:.625rem}.sidebar-signout:hover{background:#334155;color:#fca5a5}.drp{position:relative;display:inline-block}.drp-trigger{display:inline-flex;align-items:center;gap:.5rem;height:32px;padding:0 .6875rem;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#1e293b;font-size:.8125rem;font-family:inherit;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s;white-space:nowrap}.drp--sm .drp-trigger{height:28px;font-size:.75rem;padding:0 .5rem}.drp--lg .drp-trigger{height:36px;font-size:.875rem}.drp-trigger:hover{border-color:#cbd5e1}.drp-trigger--active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.drp-trigger--open{box-shadow:0 0 0 3px #3b82f61f}.drp-trigger-icon{color:#64748b;display:inline-flex}.drp-trigger--active .drp-trigger-icon{color:#2563eb}.drp-trigger-label{font-weight:500;white-space:nowrap}.drp-trigger-caret{color:#94a3b8;display:inline-flex}.drp-pop{position:absolute;top:calc(100% + 6px);z-index:1200;width:296px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 16px 36px #0f172a24,0 4px 10px #0f172a0d;padding:10px;animation:drp-fade-in .12s ease;font-size:12.5px;color:#0f172a}.drp-pop--left{left:0}.drp-pop--right{right:0}@keyframes drp-fade-in{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}.drp-quick-row{display:flex;flex-wrap:wrap;gap:4px;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid #f1f5f9}.drp-quick-chip{flex:1 0 auto;background:#f8fafc;border:1px solid transparent;color:#475569;font-size:11px;font-weight:600;padding:4px 8px;border-radius:6px;cursor:pointer;font-family:inherit;text-transform:uppercase;letter-spacing:.04em;transition:background .12s,color .12s,border-color .12s}.drp-quick-chip:hover{background:#eff6ff;color:#1d4ed8}.drp-quick-chip--active{background:#2563eb;color:#fff}.drp-quick-chip--active:hover{background:#1d4ed8;color:#fff}.drp-cal-header{display:grid;grid-template-columns:24px 1fr 24px;align-items:center;margin-bottom:6px}.drp-cal-title{text-align:center;font-weight:600;font-size:12.5px;color:#0f172a}.drp-nav{width:24px;height:24px;border:none;background:transparent;border-radius:6px;color:#64748b;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.drp-nav:hover{background:#f1f5f9;color:#0f172a}.drp-weekdays{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:2px}.drp-wd{text-align:center;font-size:9.5px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;padding:2px 0}.drp-grid{display:grid;grid-template-columns:repeat(7,1fr)}.drp-day{position:relative;height:30px;border:none;background:transparent;color:#1e293b;font-size:12px;font-family:inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;font-variant-numeric:tabular-nums;padding:0}.drp-day span{position:relative;z-index:1;width:26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .12s,color .12s}.drp-day:hover span{background:#e0e7ff;color:#1d4ed8}.drp-day--outside{color:#cbd5e1}.drp-day--outside:hover span{background:transparent;color:#cbd5e1}.drp-day--today span{border:1.5px solid #2563eb;color:#1d4ed8;font-weight:600}.drp-day--in-range{background:#dbeafe}.drp-day--in-range span{color:#1d4ed8}.drp-day--start{background:#dbeafe;border-radius:999px 0 0 999px}.drp-day--end{background:#dbeafe;border-radius:0 999px 999px 0}.drp-day--start.drp-day--end{background:transparent;border-radius:0}.drp-day--start span,.drp-day--end span{background:#2563eb;color:#fff;font-weight:600;box-shadow:0 2px 5px #2563eb59}.drp-day--start:hover span,.drp-day--end:hover span{background:#1d4ed8}.drp-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;padding-top:8px;border-top:1px solid #f1f5f9}.drp-summary{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;flex-wrap:nowrap;min-width:0}.drp-summary-chip{padding:3px 8px;background:#f1f5f9;border-radius:6px;font-weight:600;color:#0f172a;white-space:nowrap;font-variant-numeric:tabular-nums}.drp-summary-chip--empty{background:transparent;color:#cbd5e1;font-weight:500}.drp-summary-sep{color:#94a3b8;font-size:11px}.drp-actions{display:inline-flex;gap:6px}.drp-clear{background:transparent;border:none;color:#64748b;font-size:11.5px;font-weight:600;padding:5px 10px;border-radius:6px;cursor:pointer;font-family:inherit}.drp-clear:hover{background:#f1f5f9;color:#0f172a}.drp-apply{background:#2563eb;border:none;color:#fff;font-size:11.5px;font-weight:600;padding:5px 14px;border-radius:6px;cursor:pointer;font-family:inherit;box-shadow:0 1px 3px #2563eb40}.drp-apply:hover{background:#1d4ed8}.drp-apply:disabled{background:#cbd5e1;color:#fff;cursor:not-allowed;box-shadow:none}@media (max-width: 360px){.drp-pop{width:calc(100vw - 24px)}}.branches-section{margin-top:2rem;background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden}.branches-section-header{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:1rem;padding:1.25rem 1.5rem;border-bottom:1px solid #f1f5f9}.branches-section-titles h2{margin:0 0 .25rem;font-size:1.125rem;font-weight:700;color:#0f172a;letter-spacing:-.01em}.branches-section-titles p{margin:0;font-size:.8125rem;color:#64748b}.branches-date-filter{display:flex;align-items:flex-end}.branches-empty{padding:2.5rem 1.5rem;text-align:center;color:#64748b;font-size:.875rem}.branches-table-wrap{overflow:auto;max-height:460px}.branches-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}.branches-table thead th{background:#f8fafc;color:#475569;font-weight:600;text-transform:uppercase;letter-spacing:.04em;font-size:11px;padding:12px 16px;text-align:left;white-space:nowrap;position:sticky;top:0;z-index:2;box-shadow:inset 0 -1px #e2e8f0}.branches-th-num{text-align:right!important}.branches-th-action{width:36px}.branches-row{cursor:pointer;transition:background .12s}.branches-row:hover{background:#f8fafc}.branches-row:hover .branches-chevron{color:#2563eb;background:#dbeafe}.branches-row td{padding:12px 16px;border-bottom:1px solid #f1f5f9;vertical-align:middle}.branches-td-store{display:flex;align-items:center;gap:10px;font-weight:600;color:#0f172a}.branches-store-icon{width:28px;height:28px;border-radius:8px;background:#e0e7ff;color:#4338ca;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.branches-store-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}.branches-td-num{text-align:right;font-variant-numeric:tabular-nums}.branches-metric{display:inline-block;min-width:32px;font-weight:600;color:#0f172a}.branches-metric--total{color:#0f172a}.branches-metric--pending{color:#b45309}.branches-metric--complete{color:#15803d}.branches-metric--printing{color:#6d28d9}.branches-td-action{text-align:center;color:#94a3b8;width:36px}.branches-chevron{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;border-radius:6px;color:#94a3b8;transition:color .12s,background .12s}.branches-detail-empty{padding:1.5rem;text-align:center;color:#64748b;font-size:13px}.branches-detail-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;font-size:12.5px}.branches-detail-table thead th{background:#f1f5f9;color:#64748b;font-weight:600;text-transform:uppercase;letter-spacing:.04em;font-size:10.5px;padding:8px 12px;text-align:left;border-bottom:1px solid #e2e8f0;white-space:nowrap}.branches-detail-table tbody td{padding:8px 12px;border-bottom:1px solid #f1f5f9;vertical-align:middle;color:#1e293b}.branches-detail-table tbody tr:last-child td{border-bottom:none}.branches-detail-row-clickable{cursor:pointer;transition:background .12s}.branches-detail-row-clickable:hover{background:#f8fafc}.branches-detail-id{font-weight:600;color:#1d4ed8;font-family:JetBrains Mono,SF Mono,Consolas,monospace;font-size:11.5px}.branches-tag{display:inline-block;padding:2px 8px;font-size:10.5px;font-weight:600;border-radius:6px;text-transform:uppercase;letter-spacing:.04em}.branches-tag--printing{background:#ede9fe;color:#6d28d9}.branches-tag--muted{background:#f1f5f9;color:#64748b}.branches-status{display:inline-block;padding:2px 8px;font-size:10.5px;font-weight:600;border-radius:6px;text-transform:uppercase;letter-spacing:.04em}.branches-status--complete{background:#dcfce7;color:#15803d}.branches-status--in_progress{background:#dbeafe;color:#1d4ed8}.branches-status--unassigned{background:#fef3c7;color:#b45309}.branches-table tfoot td{padding:12px 16px;background:#f8fafc;font-size:13px;color:#0f172a;position:sticky;bottom:0;z-index:2;box-shadow:inset 0 1px #e2e8f0}.branches-tf-store{font-weight:600;color:#475569}@media (max-width: 768px){.branches-section-header{flex-direction:column}.branches-date-filter{align-items:flex-start;width:100%}}.branches-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;display:flex;align-items:center;justify-content:center;z-index:1100;padding:1.25rem;animation:branches-fade-in .15s ease}@keyframes branches-fade-in{0%{opacity:0}to{opacity:1}}.branches-modal{background:#fff;border-radius:14px;box-shadow:0 24px 60px #0f172a47;width:100%;max-width:960px;max-height:calc(100vh - 2.5rem);display:flex;flex-direction:column;overflow:hidden;animation:branches-slide-up .18s ease}@keyframes branches-slide-up{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.branches-modal-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:18px 22px;border-bottom:1px solid #f1f5f9}.branches-modal-title-wrap{display:flex;align-items:center;gap:12px;min-width:0}.branches-modal-icon{width:36px;height:36px;border-radius:10px}.branches-modal-title{margin:0;font-size:1rem;font-weight:700;color:#0f172a;letter-spacing:-.01em}.branches-modal-subtitle{margin:2px 0 0;font-size:.75rem;color:#64748b}.branches-modal-close{background:transparent;border:none;color:#64748b;width:32px;height:32px;border-radius:8px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.branches-modal-close:hover{background:#f1f5f9;color:#0f172a}.branches-modal-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:14px 22px;border-bottom:1px solid #f1f5f9;background:#f8fafc}.branches-modal-stat{display:flex;flex-direction:column;gap:2px;padding:10px 12px;background:#fff;border:1px solid #e2e8f0;border-radius:10px}.branches-modal-stat-label{font-size:10.5px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#64748b}.branches-modal-stat-value{font-size:1.25rem;font-weight:700;color:#0f172a;font-variant-numeric:tabular-nums}.branches-modal-stat--pending .branches-modal-stat-value{color:#b45309}.branches-modal-stat--complete .branches-modal-stat-value{color:#15803d}.branches-modal-stat--printing .branches-modal-stat-value{color:#6d28d9}.branches-modal-body{flex:1;overflow-y:auto;padding:16px 22px 20px}@media (max-width: 640px){.branches-modal{max-width:none;width:100%}.branches-modal-stats{grid-template-columns:repeat(2,1fr)}}.dashboard-overview{padding:1.75rem 2rem;max-width:1280px}.overview-loading{display:flex;justify-content:center;align-items:center;min-height:400px}.overview-header{margin-bottom:2rem}.overview-header-text h1{font-size:1.625rem;font-weight:700;color:#0f172a;margin:0 0 .25rem;letter-spacing:-.02em}.overview-header-text p{color:#64748b;margin:0;font-size:.875rem}.li-stats-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.875rem;margin-bottom:2.5rem}.li-stats-grid--user{grid-template-columns:repeat(2,minmax(0,260px))}.li-stat-card{display:flex;flex-direction:column;align-items:flex-start;gap:.375rem;padding:1.125rem 1.375rem 1rem;border-radius:14px;border:1.5px solid #e2e8f0;background:#fff;cursor:pointer;transition:box-shadow .18s,transform .18s,border-color .18s;text-align:left;font-family:inherit;position:relative;overflow:hidden}.li-stat-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;border-radius:14px 14px 0 0}.li-stat-card--slate:before{background:#94a3b8}.li-stat-card--blue:before{background:#3b82f6}.li-stat-card--amber:before{background:#f59e0b}.li-stat-card--green:before{background:#22c55e}.li-stat-card--red:before{background:#ef4444}.li-stat-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #00000014}.li-stat-card--slate:hover{border-color:#94a3b8}.li-stat-card--blue:hover{border-color:#3b82f6}.li-stat-card--amber:hover{border-color:#f59e0b}.li-stat-card--green:hover{border-color:#22c55e}.li-stat-card--red:hover{border-color:#ef4444}.li-stat-label{font-size:.6875rem;color:#64748b;font-weight:700;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.li-stat-value{font-size:2rem;font-weight:700;color:#0f172a;line-height:1;letter-spacing:-.03em}.li-stat-pct{font-size:.6875rem;font-weight:600;color:#94a3b8;margin-top:.125rem}.wf-section{margin-top:.5rem}.wf-section-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1.25rem}.wf-section-header h2{font-size:1.125rem;font-weight:700;color:#0f172a;margin:0 0 .2rem;letter-spacing:-.01em}.wf-section-header p{font-size:.8125rem;color:#64748b;margin:0}.section-link{background:none;border:1px solid #e2e8f0;color:#475569;font-size:.8125rem;font-weight:500;cursor:pointer;font-family:inherit;padding:.375rem .875rem;border-radius:8px;transition:all .18s;white-space:nowrap}.section-link:hover{border-color:#94a3b8;color:#1e293b;background:#f8fafc}.wf-cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.125rem}.wf-progress-card{background:#fff;border:1.5px solid #e2e8f0;border-radius:14px;padding:1.25rem;display:flex;flex-direction:column;gap:0;transition:box-shadow .18s,border-color .18s}.wf-progress-card:hover{box-shadow:0 6px 20px #00000012;border-color:#cbd5e1}.wf-progress-card-top{margin-bottom:.75rem}.wf-progress-name-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.25rem;flex-wrap:wrap}.wf-progress-card-name{font-size:.9375rem;font-weight:700;color:#0f172a;letter-spacing:-.01em}.wf-progress-card-desc{font-size:.775rem;color:#94a3b8;margin:0 0 .75rem;line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.wf-inst-chips{display:flex;gap:.375rem;flex-shrink:0}.wf-inst-chip{display:inline-flex;align-items:center;gap:.3rem;font-size:.7rem;font-weight:600;padding:.2rem .5rem;border-radius:20px}.wf-inst-chip--active{background:#dbeafe;color:#1e40af}.wf-inst-chip--done{background:#dcfce7;color:#166534}.wf-chip-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.wf-chip-dot--active{background:#3b82f6}.wf-chip-dot--done{background:#22c55e}.wf-overall-bar-wrap{display:flex;align-items:center;gap:.625rem;margin-top:.5rem}.wf-overall-bar-track{flex:1;height:5px;background:#f1f5f9;border-radius:3px;overflow:hidden}.wf-overall-bar-fill{height:100%;background:linear-gradient(90deg,#22c55e,#16a34a);border-radius:3px;transition:width .4s ease}.wf-overall-bar-pct{font-size:.7rem;font-weight:600;color:#64748b;white-space:nowrap}.wf-steps-divider{height:1px;background:#f1f5f9;margin:0 -1.25rem .875rem}.wf-no-steps{font-size:.8125rem;color:#94a3b8;text-align:center;padding:.75rem 0;margin:0}.wf-steps-progress{display:flex;flex-direction:column;gap:.625rem;flex:1}.wf-step-row{display:flex;flex-direction:column;gap:.25rem}.wf-step-row-meta{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.wf-step-row-left{display:flex;align-items:center;gap:.4rem;min-width:0}.wf-step-index{width:18px;height:18px;border-radius:5px;background:#f1f5f9;color:#64748b;font-size:.65rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.wf-step-name{font-size:.8125rem;color:#334155;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wf-step-badge{font-size:.6rem;font-weight:700;padding:.1rem .35rem;border-radius:4px;flex-shrink:0}.wf-step-badge--start{background:#dbeafe;color:#1e40af}.wf-step-row-right{display:flex;align-items:center;gap:.375rem;flex-shrink:0}.wf-step-sla{font-size:.65rem;color:#94a3b8;font-weight:500;white-space:nowrap}.wf-step-count{font-size:.75rem;font-weight:700;color:#94a3b8;min-width:18px;text-align:right}.wf-step-count--active{color:#2563eb}.wf-step-bar-track{height:4px;background:#f1f5f9;border-radius:2px;overflow:hidden}.wf-step-bar-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#2563eb);border-radius:2px;transition:width .4s ease;min-width:0}.wf-progress-footer{display:flex;align-items:center;justify-content:space-between;margin-top:1rem;padding-top:.75rem;border-top:1px solid #f1f5f9}.wf-step-count-info,.wf-total-info{font-size:.7rem;color:#94a3b8;font-weight:500}@media (max-width: 1100px){.li-stats-grid{grid-template-columns:repeat(3,1fr)}.wf-cards-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.dashboard-overview{padding:1.25rem}.li-stats-grid{grid-template-columns:repeat(2,1fr)}.wf-cards-grid{grid-template-columns:1fr}}.dash-followups{margin-top:1.5rem;padding:1rem 1.25rem 1.1rem;background:linear-gradient(180deg,#fff7e6,#fdf2cd);border:1px solid #f1d486;border-radius:12px;box-shadow:0 8px 24px -16px #4a10194d}.dash-followups-head{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;margin-bottom:.6rem}.dash-followups-title{margin:0;font-size:1rem;font-weight:700;letter-spacing:.02em;color:#4a0d22}.dash-followups-count{display:inline-block;padding:.05rem .6rem;border-radius:999px;background:#6b1230;color:#fff;font-size:.78rem;font-weight:700;font-variant-numeric:tabular-nums}.dash-followups-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem}.dash-followup-item{display:grid;grid-template-columns:100px minmax(0,1fr);gap:.75rem;align-items:center;padding:.55rem .7rem;background:#fffaf0;border:1px solid #e6c884;border-radius:8px;cursor:pointer;transition:background .12s,transform .12s}.dash-followup-item:hover{background:#fff5d6;transform:translate(2px)}.dash-followup-item:focus-visible{outline:2px solid #6b1230;outline-offset:1px}.dash-followup-item--overdue{background:#fef2f2;border-color:#fca5a5}.dash-followup-item--overdue:hover{background:#fee2e2}.dash-followup-when{font-size:.78rem;font-weight:700;color:#6b1230;letter-spacing:.02em;text-transform:lowercase;font-variant-numeric:tabular-nums}.dash-followup-item--overdue .dash-followup-when{color:#b91c1c}.dash-followup-main{min-width:0}.dash-followup-customer{font-size:.88rem;font-weight:600;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dash-followup-phone{font-weight:400;color:#64748b;font-size:.82rem}.dash-followup-sub{font-size:.76rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dash-followups-more{margin-top:.5rem;text-align:center;font-size:.76rem;color:#6b1230;font-style:italic}.dash-branch-perf{margin-top:1.5rem;padding:1rem 1.25rem 1.2rem;background:#fff;border:1px solid #e6c884;border-radius:12px;box-shadow:0 8px 24px -16px #4a101940}.dash-branch-perf-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:.85rem;flex-wrap:wrap}.dash-branch-perf-title{margin:0;font-size:1rem;font-weight:700;letter-spacing:.02em;color:#4a0d22}.dash-branch-perf-range{display:flex;gap:.65rem}.dash-branch-perf-range label{display:inline-flex;flex-direction:column;gap:.15rem;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#6b1230}.dash-branch-perf-range input{padding:.4rem .55rem;font-size:.82rem;border:1px solid #e6c884;border-radius:6px;background:#fff;color:#0f172a;font-family:inherit}.dash-branch-perf-range input:focus{outline:2px solid #6b1230;outline-offset:-1px;border-color:#6b1230}.dash-branch-perf-table-wrap{overflow-x:auto}.dash-branch-perf-table{width:100%;border-collapse:collapse;font-size:.85rem;min-width:540px}.dash-branch-perf-table thead th,.dash-branch-perf-table tfoot th{text-align:left;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#6b1230;background:#fff7e6;padding:.55rem .75rem;border-bottom:1px solid #f1d486;white-space:nowrap}.dash-branch-perf-table tfoot th{border-top:1px solid #f1d486;border-bottom:none;color:#0f172a;background:#fffaee}.dash-branch-perf-table thead th:not(:first-child),.dash-branch-perf-table tfoot th:not(:first-child),.dash-branch-perf-table tbody td:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.dash-branch-perf-table tbody td{padding:.55rem .75rem;border-bottom:1px solid #f1f5f9;color:#0f172a}.dash-branch-perf-table tbody tr:last-child td{border-bottom:none}.dash-branch-perf-table tbody tr:hover td{background:#fffaee}.dash-branch-perf-name{font-weight:600;color:#0f172a}.dash-branch-perf-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.7rem;color:#64748b;margin-top:.1rem}.dash-branch-perf-row--inactive td{opacity:.55}.pagination-bar{display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;border-top:1px solid #f1f5f9;background:#fff;gap:1rem;flex-wrap:wrap}.pagination-left{display:flex;align-items:center;gap:.5rem}.pagination-label{font-size:.8rem;color:#64748b;white-space:nowrap}.pagination-size-select{padding:.25rem .5rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.8rem;font-family:inherit;color:#475569;background:#f8fafc;cursor:pointer;outline:none;transition:border-color .15s}.pagination-size-select:focus{border-color:#3b82f6}.pagination-right{display:flex;align-items:center;gap:.5rem}.pagination-info{font-size:.8rem;color:#64748b;white-space:nowrap}.page-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;border:1px solid #e2e8f0;background:#fff;color:#475569;font-size:.9rem;cursor:pointer;transition:border-color .15s,color .15s,background .15s;font-family:inherit}.page-btn:hover:not(:disabled){border-color:#3b82f6;color:#3b82f6;background:#eff6ff}.page-btn:disabled{opacity:.35;cursor:not-allowed}.policy-management{padding:.8rem;max-width:1100px;width:100%;margin:0 auto}.table-shell{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow-x:auto}.users-table-header{padding:.875rem 1.25rem;border-bottom:1px solid #e2e8f0;background:#f8fafc}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.page-header-left{flex:1}.page-header-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0;padding-top:.25rem}.page-header h1{font-size:1.5rem;font-weight:700;color:#0f172a;margin:0 0 .25rem}.page-header p{color:#64748b;margin:0;font-size:.8125rem}.page-loading{display:flex;justify-content:center;padding:4rem}.tab-bar{display:flex;gap:.5rem;margin-bottom:.5rem;border-bottom:2px solid #e2e8f0;padding-bottom:0}.tab{padding:.75rem 1.5rem;border:none;background:none;color:#64748b;font-weight:500;font-size:.9375rem;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .2s;font-family:inherit}.tab:hover{color:#1e293b}.tab.active{color:#3b82f6;border-bottom-color:#3b82f6}.tab-content{animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.alert{padding:.875rem 1rem;border-radius:8px;margin-bottom:1.5rem;font-size:.875rem;font-weight:500}.alert-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}.alert-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#16a34a}.form-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem}.form-card h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0 0 1rem}.form-row{display:flex;gap:.75rem;align-items:flex-end}.form-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.form-group label{font-weight:600;font-size:.875rem;color:#334155}.form-card input,.form-card select,.form-card textarea,.edit-modal input,.edit-modal select,.edit-modal textarea{padding:.75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9375rem;font-family:inherit;transition:border-color .2s}.form-card input:focus,.form-card select:focus,.form-card textarea:focus,.edit-modal input:focus,.edit-modal select:focus,.edit-modal textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.btn-primary{padding:.75rem 1.5rem;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.9375rem;cursor:pointer;transition:all .2s;font-family:inherit;white-space:nowrap}.btn-primary:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 2px 8px #3b82f64d}.table-header-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.table-header-left{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.btn-sm{padding:.5rem 1.125rem;font-size:.875rem;white-space:nowrap;flex-shrink:0}.filter-select{padding:.45rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;font-family:inherit;color:#475569;background:#f8fafc;cursor:pointer;outline:none;transition:border-color .15s}.filter-select:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.empty-text{color:#94a3b8;font-size:.875rem;text-align:center;padding:2rem}table{width:100%;border-collapse:collapse}th{text-align:left;padding:.5rem 1rem;font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;border-bottom:2px solid #e2e8f0}td{padding:.5rem 1rem;font-size:.875rem;color:#334155;border-bottom:1px solid #f1f5f9}tr:hover td{background:#f8fafc}.badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600}.badge-active{background:#dcfce7;color:#16a34a}.badge-inactive{background:#fee2e2;color:#dc2626}.policy-count-hint{font-weight:400;color:#94a3b8;font-size:.8125rem}.policy-multi-select{border:1px solid #e2e8f0;border-radius:8px;max-height:240px;overflow-y:auto;background:#f8fafc}.policy-checkbox-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;cursor:pointer;border-bottom:1px solid #f1f5f9;transition:background .15s}.policy-checkbox-item:last-child{border-bottom:none}.policy-checkbox-item:hover,.policy-checkbox-item.selected{background:#eff6ff}.policy-checkbox-item input[type=checkbox]{width:16px;height:16px;accent-color:#3b82f6;cursor:pointer;flex-shrink:0}.policy-checkbox-name{flex:1;font-size:.9375rem;font-weight:500;color:#1e293b}.empty-text-sm{color:#94a3b8;font-size:.8125rem;text-align:center;padding:1rem;margin:0}.policy-checkbox-item.already-assigned{background:#f0fdf4;opacity:.8;cursor:default}.badge-assigned{font-size:.75rem;font-weight:600;color:#16a34a;background:#dcfce7;padding:.2rem .6rem;border-radius:12px}.badge-notif{background:#eff6ff;color:#2563eb}.btn-remove{padding:.375rem .875rem;background:#fee2e2;color:#dc2626;border:1px solid #fecaca;border-radius:6px;font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .15s;font-family:inherit}.btn-remove:hover{background:#fecaca}.btn-edit{padding:.375rem .875rem;background:#eff6ff;color:#2563eb;border:1px solid #bfdbfe;border-radius:6px;font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .15s;font-family:inherit}.btn-edit:hover{background:#dbeafe}.btn-save{padding:.375rem .875rem;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .15s;font-family:inherit;margin-right:.5rem}.btn-save:hover{background:#2563eb}.btn-cancel{padding:.375rem .875rem;background:#f8fafc;color:#64748b;border:1px solid #e2e8f0;border-radius:6px;font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .15s;font-family:inherit}.btn-cancel:hover{background:#e2e8f0}.action-cell{white-space:nowrap}.inline-input{padding:.375rem .625rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;font-family:inherit;width:100%;box-sizing:border-box;transition:border-color .15s}.inline-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.inline-select{padding:.375rem .625rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;font-family:inherit;transition:border-color .15s}.inline-select:focus{outline:none;border-color:#3b82f6}.username-cell{font-weight:600;color:#1e293b}.policy-tags{display:flex;flex-wrap:wrap;gap:.375rem}.policy-tag{display:inline-flex;align-items:center;gap:.25rem;background:#eff6ff;color:#2563eb;font-size:.75rem;font-weight:600;padding:.2rem .6rem;border-radius:12px}.policy-tag-new{background:#dcfce7;color:#16a34a}.tag-remove{background:none;border:none;cursor:pointer;color:inherit;font-size:.9rem;line-height:1;padding:0;opacity:.7}.tag-remove:hover{opacity:1}.edit-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.edit-modal{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0f172a33;width:100%;max-width:520px;padding:1.75rem}.edit-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.edit-modal-header h3{margin:0;font-size:1.0625rem;font-weight:700;color:#0f172a}.modal-close{background:none;border:none;font-size:1.125rem;cursor:pointer;color:#94a3b8;padding:.25rem;line-height:1;border-radius:4px;transition:color .15s}.modal-close:hover{color:#475569}.edit-modal-actions{display:flex;gap:.75rem;margin-top:1.5rem}.multiselect-container{position:relative}.multiselect-trigger{display:flex;align-items:center;justify-content:space-between;padding:.625rem .875rem;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;background:#fff;transition:border-color .15s,box-shadow .15s;-webkit-user-select:none;user-select:none}.multiselect-trigger:hover{border-color:#94a3b8}.multiselect-placeholder{font-size:.875rem;color:#475569}.multiselect-arrow{font-size:.6875rem;color:#94a3b8}.multiselect-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px #0f172a1f;z-index:100;overflow:hidden}.multiselect-search{padding:.625rem;border-bottom:1px solid #f1f5f9}.multiselect-search input{width:100%;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;font-family:inherit;box-sizing:border-box;outline:none;transition:border-color .15s}.multiselect-search input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.multiselect-options{max-height:220px;overflow-y:auto}.multiselect-option{display:flex;align-items:center;gap:.625rem;padding:.625rem .875rem;cursor:pointer;transition:background .1s}.multiselect-option:hover{background:#f8fafc}.multiselect-option.checked{background:#eff6ff}.multiselect-option.is-removing{background:#fff7ed;text-decoration:line-through;opacity:.7}.multiselect-option input[type=checkbox]{width:15px;height:15px;flex-shrink:0;accent-color:#3b82f6}.option-name{font-size:.875rem;color:#1e293b;flex:1}.change-badge{font-size:.6875rem;font-weight:700;padding:.125rem .4rem;border-radius:8px}.new-badge{background:#dcfce7;color:#16a34a}.remove-badge{background:#fee2e2;color:#dc2626}.assigned-badge{background:#e2e8f0;color:#64748b}.multiselect-option.is-disabled{opacity:.55;cursor:not-allowed}.multiselect-option.is-disabled input[type=checkbox]{cursor:not-allowed}.multiselect-empty{padding:1rem;text-align:center;color:#94a3b8;font-size:.875rem;margin:0}.selected-tags-preview{display:flex;flex-wrap:wrap;gap:.375rem;margin-top:.625rem}@media (max-width: 768px){.policy-management{padding:.8rem}.form-row{flex-direction:column}.tab-bar{overflow-x:auto}}.workflow-builder-page{display:flex;flex-direction:column;height:100vh;min-height:100vh;overflow:hidden}.wf-page-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-bottom:1px solid #e2e8f0;background:#fff;flex-shrink:0;gap:1rem}.wf-page-header-left{display:flex;flex-direction:column;gap:.125rem}.wf-page-title{font-size:1.5rem;font-weight:700;color:#0f172a;margin:0}.wf-page-subtitle{font-size:.8125rem;color:#64748b;margin:0}.btn-create-wf-page{padding:.5rem 1.125rem;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:background .15s,box-shadow .15s;font-family:inherit;white-space:nowrap;flex-shrink:0}.btn-create-wf-page:hover{background:#2563eb;box-shadow:0 2px 8px #3b82f640}.workflow-builder-layout{display:flex;flex:1;overflow:hidden}.wf-sidebar{width:260px;min-width:240px;border-right:1px solid #e2e8f0;background:#f8fafc;display:flex;flex-direction:column;overflow:hidden}.wf-sidebar-list-header{display:flex;align-items:center;justify-content:space-between;padding:.625rem 1rem .5rem;border-bottom:1px solid #e2e8f0;flex-shrink:0}.wf-sidebar-list-label{font-size:.6875rem;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em}.wf-sidebar-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 .375rem;background:#e2e8f0;color:#64748b;font-size:.6875rem;font-weight:700;border-radius:999px}.wf-list{flex:1;overflow-y:auto;padding:.375rem .5rem;display:flex;flex-direction:column;gap:.25rem}.wf-list-item{padding:.625rem .875rem;cursor:pointer;border-radius:8px;border:1px solid transparent;transition:all .15s;background:transparent}.wf-list-item:hover{background:#fff;border-color:#e2e8f0;box-shadow:0 1px 3px #0f172a0f}.wf-list-item.active{background:#fff;border-color:#bfdbfe;box-shadow:0 1px 4px #3b82f61f}.wf-list-item-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.2rem}.wf-list-item-name{font-size:.8125rem;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;line-height:1.3}.wf-list-item.active .wf-list-item-name{color:#1d4ed8}.wf-step-badge{font-size:.6875rem;font-weight:600;color:#64748b;background:#f1f5f9;padding:.125rem .4rem;border-radius:999px;white-space:nowrap;flex-shrink:0;border:1px solid #e2e8f0}.wf-list-item.active .wf-step-badge{background:#eff6ff;color:#2563eb;border-color:#bfdbfe}.wf-list-item-desc{font-size:.7125rem;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.wf-empty{padding:2rem 1.25rem;text-align:center}.wf-empty p{font-size:.875rem;color:#94a3b8;margin:0 0 .875rem}.btn-create-wf-empty{padding:.5rem 1rem;background:#fff;border:1px dashed #3b82f6;border-radius:8px;color:#3b82f6;font-size:.8125rem;font-weight:500;cursor:pointer;font-family:inherit;transition:all .15s}.btn-create-wf-empty:hover{background:#eff6ff}.wf-main{flex:1;overflow-y:auto;background:#f8fafc}.wf-main-inner{display:flex;flex-direction:column;height:100%}.btn-action-wf{padding:.375rem .875rem;background:#fff;color:#334155;border:1px solid #e2e8f0;border-radius:7px;font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .15s;font-family:inherit;white-space:nowrap;flex-shrink:0}.btn-action-wf:hover{background:#f8fafc;border-color:#94a3b8}.btn-action-wf:disabled{opacity:.5;cursor:not-allowed}.btn-delete-wf{padding:.375rem .875rem;background:#fff;color:#dc2626;border:1px solid #fecaca;border-radius:7px;font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .15s;font-family:inherit;white-space:nowrap;flex-shrink:0}.btn-delete-wf:hover{background:#fef2f2;border-color:#dc2626}.wf-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;min-height:400px;text-align:center;padding:2rem}.wf-placeholder-icon{font-size:3rem;color:#cbd5e1;margin-bottom:1rem;line-height:1}.wf-placeholder h3{font-size:1.125rem;font-weight:600;color:#475569;margin:0 0 .5rem}.wf-placeholder p{font-size:.875rem;color:#94a3b8;max-width:320px;line-height:1.6;margin:0 0 1.5rem}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;animation:fadeIn .15s ease}.modal-box{background:#fff;border-radius:14px;box-shadow:0 20px 60px #0f172a33;width:100%;max-width:480px;padding:1.75rem;animation:slideUp .2s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.modal-header h3{font-size:1.0625rem;font-weight:700;color:#0f172a;margin:0}.modal-close-btn{background:none;border:none;font-size:1rem;color:#94a3b8;cursor:pointer;padding:.25rem;border-radius:4px;line-height:1;transition:color .15s}.modal-close-btn:hover{color:#475569}.modal-box .form-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.modal-box .form-group label{font-weight:600;font-size:.875rem;color:#334155}.label-optional{font-weight:400;color:#94a3b8;font-size:.8125rem}.modal-box input,.modal-box textarea{padding:.75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9375rem;font-family:inherit;transition:border-color .2s;resize:vertical}.modal-box input:focus,.modal-box textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.modal-actions{display:flex;gap:.75rem;margin-top:1.5rem;justify-content:flex-end}.btn-modal-cancel{padding:.625rem 1.25rem;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;font-family:inherit;transition:all .15s}.btn-modal-cancel:hover{background:#e2e8f0}.modal-box-sm{max-width:400px}.modal-confirm-text{font-size:.9375rem;color:#475569;line-height:1.6;margin:0 0 .25rem}.modal-confirm-text strong{color:#0f172a}.btn-delete-confirm{padding:.625rem 1.25rem;background:#dc2626;color:#fff;border:none;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;font-family:inherit;transition:background .15s}.btn-delete-confirm:hover:not(:disabled){background:#b91c1c}.btn-delete-confirm:disabled{opacity:.6;cursor:not-allowed}.btn-modal-submit{padding:.625rem 1.5rem}.btn-modal-submit:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.step-manager{padding:.5rem}.step-manager-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.5rem}.step-manager-header-info{min-width:0}.step-manager-header h2{font-size:1rem;font-weight:700;color:#0f172a;margin:0 0 .2rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.step-manager-header p{color:#64748b;margin:0;font-size:.8125rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.checkbox-row{display:flex;gap:1.5rem;margin-bottom:1rem}.checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.9375rem;color:#334155;cursor:pointer}.checkbox-label input[type=checkbox]{width:18px;height:18px;accent-color:#3b82f6;cursor:pointer}.step-card-meta .badge-start,.step-card-meta .badge-end,.step-card-meta .badge-mid{display:inline-flex;align-items:center;padding:.1rem .375rem;border-radius:4px;font-size:.6875rem;font-weight:600;white-space:nowrap}.badge-start{background:#dbeafe;color:#2563eb}.badge-end{background:#dcfce7;color:#16a34a}.badge-mid{background:#fef3c7;color:#d97706}.field-type-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.field-type-option{display:flex;flex-direction:column;align-items:center;gap:.375rem;padding:.75rem .5rem;border:2px solid #e2e8f0;border-radius:10px;background:#fff;cursor:pointer;transition:all .2s;font-family:inherit}.field-type-option:hover{border-color:#93c5fd;background:#f8fafc}.field-type-option.selected{border-color:#3b82f6;background:#eff6ff}.field-type-icon{font-size:1.25rem;line-height:1}.field-type-label{font-size:.75rem;font-weight:500;color:#475569}.field-type-option.selected .field-type-label{color:#2563eb;font-weight:600}.options-input-row{display:flex;gap:.5rem}.options-input-row input{flex:1;padding:.625rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;font-family:inherit}.options-input-row input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.btn-add-option{padding:.625rem 1rem;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .2s;font-family:inherit;white-space:nowrap}.btn-add-option:hover{background:#2563eb}.options-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.option-chip{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .625rem;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;font-size:.8125rem;color:#1e40af;font-weight:500}.option-remove{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:none;background:transparent;color:#64748b;font-size:.75rem;cursor:pointer;border-radius:50%;transition:all .15s;padding:0;line-height:1}.option-remove:hover{background:#fee2e2;color:#dc2626}.field-hint{display:block;margin-top:.5rem;font-size:.75rem;color:#94a3b8}.field-preview{border:1px solid #e2e8f0;border-radius:10px;padding:1rem;margin-bottom:1rem;background:#f8fafc}.field-preview-label{display:block;font-size:.75rem;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.75rem}.field-preview-content{max-width:320px}.preview-input{width:100%;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;font-family:inherit;background:#fff;color:#94a3b8;box-sizing:border-box}textarea.preview-input{resize:none}.preview-checkbox{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#64748b}.preview-checkbox input[type=checkbox]{width:16px;height:16px;accent-color:#3b82f6}.steps-list-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.5rem}.steps-list-section>h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0 0 1rem}.btn-add-step-inline{display:flex;align-items:center;gap:.5rem;width:100%;margin-top:.625rem;padding:.5rem .875rem;background:transparent;border:1.5px dashed #cbd5e1;border-radius:10px;color:#94a3b8;font-size:.8125rem;font-weight:500;cursor:pointer;font-family:inherit;transition:all .18s;justify-content:center}.btn-add-step-inline:hover{border-color:#3b82f6;color:#3b82f6;background:#eff6ff}.btn-add-step-icon{font-size:1rem;line-height:1;font-weight:400}.step-card-new{border-style:dashed;border-color:#93c5fd;background:#f8fbff}.step-add-inline-form{padding:.75rem 1rem;display:flex;flex-direction:column;gap:.625rem}.step-add-inline-fields{display:flex;align-items:center;gap:.625rem}.step-add-number-wrap{flex-shrink:0}.step-add-number-input{width:56px;padding:.5rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.8125rem;font-family:inherit;text-align:center;color:#475569;font-weight:600;background:#fff}.step-add-number-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.step-add-name-input{flex:1;min-width:0;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;font-family:inherit;color:#1e293b;background:#fff}.step-add-name-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.step-add-meta-row{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.step-add-fields-section{border-top:1px solid #f1f5f9;padding-top:.875rem;margin-top:.25rem}.step-add-sla-wrap{margin-left:auto;display:flex;align-items:center;gap:.25rem}.step-add-sla-input{width:72px;padding:.375rem .5rem;border:1px solid #e2e8f0;border-radius:8px 0 0 8px;font-size:.8125rem;font-family:inherit;color:#475569;background:#fff}.step-add-sla-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;z-index:1;position:relative}.step-add-sla-unit{padding:.375rem;border:1px solid #e2e8f0;border-left:none;border-radius:0 8px 8px 0;font-size:.8125rem;font-family:inherit;color:#475569;background:#f8fafc;cursor:pointer}.step-add-sla-unit:focus{outline:none;border-color:#3b82f6}.step-add-actions{display:flex;justify-content:flex-end;gap:.5rem}.btn-step-add-cancel{padding:.4rem .875rem;background:transparent;border:1px solid #e2e8f0;border-radius:7px;color:#64748b;font-size:.8125rem;font-weight:500;cursor:pointer;font-family:inherit;transition:all .15s}.btn-step-add-cancel:hover{background:#f1f5f9;color:#475569}.btn-step-add-save{padding:.4rem 1rem;background:#3b82f6;border:none;border-radius:7px;color:#fff;font-size:.8125rem;font-weight:600;cursor:pointer;font-family:inherit;transition:background .15s}.btn-step-add-save:hover:not(:disabled){background:#2563eb}.btn-step-add-save:disabled{opacity:.5;cursor:not-allowed}.steps-accordion{display:flex;flex-direction:column;gap:.3rem}.step-card{border:1px solid #e2e8f0;border-radius:10px;overflow:visible;transition:border-color .2s}.step-card.expanded{border-color:#93c5fd}.step-number{width:22px;height:22px;border-radius:50%;background:#e2e8f0;color:#475569;font-size:.6875rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.step-card.expanded .step-number{background:#3b82f6;color:#fff}.step-card-header{display:flex;align-items:center;gap:.5rem;padding:.5rem .875rem;cursor:pointer;transition:background .15s}.step-card-header:hover{background:#f8fafc}.step-card-name{font-weight:600;font-size:.8125rem;color:#1e293b;flex-shrink:0}.step-card-meta{display:flex;align-items:center;gap:.375rem;flex-wrap:wrap;flex:1;justify-content:flex-end}.step-sla{font-size:.6875rem;color:#64748b}.step-input-count{font-size:.6875rem;color:#475569;background:#f1f5f9;padding:.125rem .4rem;border-radius:4px;white-space:nowrap}.step-expand-icon{font-size:.75rem;color:#94a3b8;flex-shrink:0}.step-card-body{padding:0 .875rem .875rem;border-top:1px solid #f1f5f9;animation:fadeIn .2s ease}.step-fields-header{display:flex;align-items:center;justify-content:space-between;margin-top:.75rem;margin-bottom:.5rem}.step-fields-header h4{font-size:.8125rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin:0}.step-fields-list{display:flex;flex-direction:column;gap:.375rem;margin-bottom:.75rem}.field-row{display:flex;align-items:center;gap:.625rem;padding:.5rem .75rem;background:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;transition:border-color .15s}.field-row:hover{border-color:#e2e8f0}.field-row-name{font-weight:500;font-size:.875rem;color:#1e293b;min-width:80px}.field-row-type{font-size:.75rem;color:#475569;background:#e2e8f0;padding:.1875rem .5rem;border-radius:4px;white-space:nowrap}.field-row-required{font-size:.6875rem;font-weight:600;color:#dc2626;background:#fef2f2;padding:.125rem .375rem;border-radius:4px;text-transform:uppercase;letter-spacing:.03em}.field-row-options{font-size:.75rem;color:#2563eb;background:#eff6ff;padding:.125rem .375rem;border-radius:4px}.field-row-remove{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:transparent;color:#94a3b8;font-size:.8125rem;font-weight:600;cursor:pointer;border-radius:6px;transition:all .15s;flex-shrink:0}.field-row-remove:hover{background:#fee2e2;color:#dc2626}.empty-text-sm{font-size:.8125rem;color:#94a3b8;text-align:center;padding:.75rem;margin:0}.add-field-form{border-top:1px solid #f1f5f9;padding-top:.75rem;margin-top:.5rem}.add-field-form h5{font-size:.8125rem;font-weight:600;color:#475569;margin:0 0 .5rem}.add-field-inline{display:flex;align-items:center;gap:.5rem}.add-field-inline input[type=text]{flex:1;min-width:0;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.8125rem;font-family:inherit}.add-field-inline input[type=text]:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.add-field-inline select{padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.8125rem;font-family:inherit;background:#fff;cursor:pointer;min-width:120px}.add-field-inline select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.checkbox-label.compact{gap:.25rem;font-size:.8125rem;white-space:nowrap}.checkbox-label.compact input[type=checkbox]{width:16px;height:16px}.btn-add-field{padding:.5rem .875rem;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:.8125rem;font-weight:500;cursor:pointer;transition:background .2s;font-family:inherit;white-space:nowrap}.btn-add-field:hover{background:#2563eb}.select-options-section{margin-top:.5rem}.transition-card-header{cursor:default}.transition-card-header:hover{background:transparent}.transition-card-name{display:flex;align-items:center;gap:.375rem;font-weight:600;font-size:.8125rem;color:#1e293b}.transition-arrow{color:#94a3b8;font-size:.875rem;flex-shrink:0}.transition-policy-badges{display:flex;flex-wrap:wrap;gap:.25rem}.transition-policy-badge{font-size:.6875rem;font-weight:600;color:#0369a1;background:#e0f2fe;padding:.125rem .4rem;border-radius:4px;white-space:nowrap}.transition-select{flex:1;min-width:0;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;font-family:inherit;color:#1e293b;background:#fff;cursor:pointer}.transition-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.transition-policy-select{flex:0 0 auto;width:auto;min-width:160px}.transition-arrow-label{flex-shrink:0;font-size:1rem;color:#94a3b8;font-weight:600}.transition-tree-card{background:#fff}.transition-tree-inner{display:flex;align-items:center;padding:.625rem .875rem;gap:0}.transition-tree-from{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.transition-tree-from-name{font-weight:600;font-size:.8125rem;color:#1e293b;white-space:nowrap}.transition-tree-branches{display:flex;flex-direction:column;flex:1;min-width:0}.transition-tree-branch{display:flex;align-items:center;min-height:32px}.transition-tree-connector{display:flex;align-items:center;flex-shrink:0;width:36px;position:relative;align-self:stretch;min-height:32px}.connector-line-v{position:absolute;left:12px;width:2px;background:#cbd5e1}.connector-line-v.single{top:50%;height:0}.transition-tree-connector:has(.connector-line-v.single){width:12px}.transition-tree-connector:has(.connector-line-v.single) .connector-line-h{display:none}.connector-line-v.first{top:50%;bottom:0}.connector-line-v.last{top:0;bottom:50%}.connector-line-v.middle{top:0;bottom:0}.connector-line-h{position:absolute;left:12px;top:50%;width:14px;height:2px;background:#cbd5e1;transform:translateY(-50%)}.connector-arrow{position:absolute;left:22px;top:50%;transform:translateY(-50%);font-size:.75rem;color:#94a3b8;line-height:1}.transition-tree-target{display:flex;align-items:center;gap:.5rem;flex:1;min-width:0;padding:.25rem .5rem;background:#f8fafc;border:1px solid #f1f5f9;border-radius:6px;margin:3px 0}.transition-tree-to-name{font-size:.8125rem;color:#334155;font-weight:500;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.transition-tree-card:hover .transition-tree-target{border-color:#e2e8f0}.transition-tree-side{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:.375rem;flex-shrink:0;padding-left:.5rem}.btn-tree-add{background:none;border:1px solid #cbd5e1;border-radius:5px;color:#475569;font-size:.72rem;font-weight:600;padding:.2rem .5rem;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}.btn-tree-add:hover{background:#f1f5f9;border-color:#94a3b8;color:#1e293b}.transition-inline-add-branch{align-items:center}.transition-inline-add-row{display:flex;align-items:center;gap:.375rem;flex:1;min-width:0;padding:.25rem 0}.inline-add-multiselect-wrap{position:relative;flex:1;min-width:0}.inline-add-trigger{height:30px;font-size:.78rem;padding:0 .5rem}.inline-add-dropdown{min-width:200px}.btn-inline-add-save{background:#2563eb;color:#fff;border:none;border-radius:5px;font-size:.75rem;font-weight:600;padding:.25rem .625rem;cursor:pointer;white-space:nowrap;transition:background .15s}.btn-inline-add-save:hover:not(:disabled){background:#1d4ed8}.btn-inline-add-save:disabled{opacity:.45;cursor:not-allowed}.btn-inline-add-cancel{background:none;border:1px solid #e2e8f0;border-radius:5px;color:#64748b;font-size:.75rem;font-weight:500;padding:.25rem .5rem;cursor:pointer;white-space:nowrap;transition:background .15s}.btn-inline-add-cancel:hover{background:#f8fafc}.transition-form-row{display:flex;flex-direction:column;gap:.375rem}.transition-form-label{font-size:.8125rem;font-weight:600;color:#475569}.transition-multiselect-wrap{width:100%;position:relative}.transition-multiselect-trigger{width:100%;box-sizing:border-box}.dynamic-fields-section{border:1px solid #e2e8f0;border-radius:10px;padding:1rem;margin-bottom:1.25rem;background:#f8fafc}.dynamic-fields-title h4{font-size:.875rem;font-weight:600;color:#334155;margin:0 0 .75rem}@media (max-width: 768px){.workflow-builder-page{height:auto;min-height:100vh}.workflow-builder-layout{flex-direction:column;height:auto}.wf-sidebar{width:100%;min-width:unset;border-right:none;border-bottom:1px solid #e2e8f0;max-height:260px}.wf-main{overflow-y:visible}.step-manager{padding:1rem}.field-type-grid{grid-template-columns:repeat(2,1fr)}.add-field-inline{flex-wrap:wrap}.add-field-inline input[type=text]{flex:1 1 100%}.field-row{flex-wrap:wrap}}.step-manager-header-actions{display:flex;align-items:center;gap:.75rem}.wf-status-line{display:inline-flex;align-items:center;gap:.5rem;padding:6px 10px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;font-size:.85rem;color:#334155;font-weight:600}.wf-status-badge{display:inline-block;margin-left:.35rem;padding:2px 8px;border-radius:999px;font-size:.7rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;background:#e2e8f0;color:#334155}.wf-status-draft{background:#fde68a;color:#92400e}.wf-status-freeze{background:#e2e8f0;color:#334155}.btn-freeze-wf{border:none;border-radius:8px;padding:6px 12px;font-size:.85rem;font-weight:600;background:#0f172a;color:#fff;cursor:pointer}.btn-freeze-wf:disabled{opacity:.6;cursor:not-allowed}.step-edit-btn{border:1px solid #e2e8f0;background:#fff;color:#334155;border-radius:8px;padding:4px 10px;font-size:.75rem;cursor:pointer}.step-delete-btn{border:1px solid #fecaca;background:#fff;color:#dc2626;border-radius:8px;padding:4px 8px;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .15s;line-height:1}.step-delete-btn:hover:not(:disabled){background:#fef2f2;border-color:#f87171}.step-delete-btn:disabled{opacity:.5;cursor:not-allowed}.step-edit-form{margin-bottom:.75rem;margin-top:.75rem;padding:.5rem .75rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}.step-edit-row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.step-edit-name{flex:1 1 200px;border:1px solid #cbd5e1;border-radius:8px;padding:6px 10px;font-size:.85rem;color:#0f172a;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.step-edit-sla{display:flex;gap:.35rem;align-items:center}.step-edit-sla-input{width:90px;border:1px solid #cbd5e1;border-radius:8px;padding:6px 10px;font-size:.85rem;color:#0f172a;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.step-edit-actions{display:flex;gap:.5rem;margin-left:auto}.step-edit-sla-unit{border:1px solid #cbd5e1;border-radius:8px;padding:6px 10px;font-size:.85rem;color:#0f172a;background:#fff;font-weight:600;transition:border-color .15s ease,box-shadow .15s ease}.step-edit-name:focus,.step-edit-sla-input:focus,.step-edit-sla-unit:focus{outline:none;border-color:#0f172a;box-shadow:0 0 0 3px #0f172a1f}.step-edit-name::placeholder,.step-edit-sla-input::placeholder{color:#94a3b8}.wf-reorder-saving{font-size:.8rem;color:#64748b}.wf-reorder-switch{display:inline-flex;align-items:center;gap:.5rem;font-size:.85rem;color:#334155;font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none}.wf-reorder-switch input{position:absolute;opacity:0;width:0;height:0}.wf-reorder-slider{position:relative;width:46px;height:24px;background:#e2e8f0;border:1px solid #cbd5e1;border-radius:999px;transition:background .2s ease,border-color .2s ease}.wf-reorder-slider:after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;background:#fff;border-radius:50%;box-shadow:0 1px 2px #0f172a40;transition:transform .2s ease}.wf-reorder-switch input:checked+.wf-reorder-slider{background:#0f172a;border-color:#0f172a}.wf-reorder-switch input:checked+.wf-reorder-slider:after{transform:translate(22px)}.wf-reorder-switch.disabled{color:#94a3b8;cursor:not-allowed}.wf-reorder-switch.disabled .wf-reorder-slider{background:#f1f5f9;border-color:#e2e8f0}.wf-status-select-wrap{display:inline-flex;align-items:center}.wf-status-select{border:1px solid #cbd5e1;border-radius:8px;padding:6px 28px 6px 10px;font-size:.8rem;background:#fff;color:#0f172a;font-weight:600;transition:border-color .15s ease,box-shadow .15s ease}.wf-status-select:hover{border-color:#94a3b8}.wf-status-select:focus{outline:none;border-color:#0f172a;box-shadow:0 0 0 3px #0f172a1f}.wf-status-select:disabled{background:#f1f5f9;color:#64748b;border-color:#e2e8f0;cursor:not-allowed}.step-card--reorder{cursor:grab;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;border:1px dashed transparent}.step-card--dragging{opacity:.6;transform:scale(.995)}.step-card--drop-target{border-color:#0f172a;box-shadow:0 6px 16px #0f172a1f}.step-drag-handle{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;background:#f1f5f9;color:#475569;font-size:.9rem;letter-spacing:-1px}.step-drop-placeholder{position:relative;pointer-events:none}.step-drop-placeholder--card{pointer-events:auto;height:64px;margin:10px 0;border:2px dashed #0f172a;border-radius:12px;background:#0f172a08;box-shadow:inset 0 0 0 1px #0f172a0f}.execution-page{padding:.8rem;max-width:960px}.execution-page .page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.execution-page .page-header h1{font-size:1.5rem;font-weight:700;color:#0f172a;margin:0 0 .25rem;display:flex;align-items:center;gap:.5rem}.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.status-in_progress{background:#dbeafe;color:#2563eb}.status-completed{background:#dcfce7;color:#16a34a}.status-cancelled{background:#fee2e2;color:#dc2626}.instance-workflow-name{display:block;font-weight:500;color:#1e293b;line-height:1.4}.instance-business-context{display:block;font-size:.75rem;color:#94a3b8;font-weight:400;margin-top:.2rem;letter-spacing:.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}.instances-table-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;margin-bottom:.75rem}.instances-table-header h3{margin:0;display:flex;align-items:center;gap:.5rem}.exec-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:22px;padding:0 .45rem;background:#e2e8f0;color:#475569;border-radius:999px;font-size:.8125rem;font-weight:600}.exec-delayed-badge{display:inline-flex;align-items:center;justify-content:center;height:22px;padding:0 .55rem;background:#fee2e2;color:#b91c1c;border-radius:999px;font-size:.8125rem;font-weight:600}.exec-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.625rem;margin-bottom:.75rem}.exec-toolbar-left{display:flex;align-items:center;flex-wrap:wrap;gap:.625rem;flex:1 1 auto}.exec-wf-dropdown-wrap{position:relative;display:inline-flex;align-items:center;flex-shrink:0}.exec-wf-dropdown{-moz-appearance:none;appearance:none;-webkit-appearance:none;padding:.4rem 2.25rem .4rem .875rem;border:1.5px solid #e2e8f0;border-radius:8px;background:#fff;color:#1e293b;font-size:.875rem;font-weight:600;font-family:inherit;cursor:pointer;transition:border-color .15s,box-shadow .15s;min-width:200px;max-width:280px}.exec-wf-dropdown:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.exec-wf-dropdown:hover{border-color:#94a3b8}.exec-wf-dropdown-icon{position:absolute;right:.625rem;color:#64748b;pointer-events:none;display:flex}.exec-store-filter-wrap{position:relative;display:inline-flex;align-items:center;flex-shrink:0}.exec-store-select{-moz-appearance:none;appearance:none;-webkit-appearance:none;padding:.4rem 2.25rem .4rem .875rem;border:1.5px solid #e2e8f0;border-radius:8px;background:#fff;color:#1e293b;font-size:.875rem;font-family:inherit;cursor:pointer;transition:border-color .15s,box-shadow .15s;min-width:140px}.exec-store-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.exec-store-select:hover{border-color:#94a3b8}.exec-table-wrap{background:#fff;border-radius:12px;border:1px solid #e2e8f0;overflow-x:auto}.exec-table{width:100%;border-collapse:collapse;font-size:.9375rem}.exec-table thead tr{background:#f8fafc;border-bottom:1px solid #e2e8f0}.exec-table th{text-align:left;padding:.75rem 1rem;font-size:.8125rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.exec-table td{padding:.875rem 1rem;border-bottom:1px solid #f1f5f9;color:#334155;vertical-align:middle}.exec-table tbody tr:last-child td{border-bottom:none}.exec-table tbody tr:hover td{background:#f8fafc}.exec-search-bar{position:relative;display:flex;align-items:center;flex:1 1 320px;margin-left:auto;order:2}.exec-search-icon{position:absolute;left:.75rem;color:#94a3b8;display:flex;pointer-events:none}.exec-search-input{width:100%;padding:.5rem 2.25rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;font-family:inherit;color:#1e293b;background:#f8fafc;transition:border-color .15s,box-shadow .15s}.exec-search-input:focus{outline:none;border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f614}.exec-search-clear{position:absolute;right:.625rem;background:none;border:none;padding:.25rem;cursor:pointer;color:#94a3b8;display:flex;border-radius:4px;transition:color .15s}.exec-search-clear:hover{color:#475569}.exec-status-filter{display:flex;flex-wrap:wrap;gap:.375rem;justify-content:flex-start;order:1}.exec-status-pill{display:inline-flex;align-items:center;gap:.375rem;padding:.3rem .75rem;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;color:#475569;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .15s;font-family:inherit;white-space:nowrap}.exec-status-pill:hover{border-color:#94a3b8;background:#f1f5f9;color:#1e293b}.exec-status-pill.active{border-color:#3b82f6;background:#eff6ff;color:#2563eb}.exec-my-actions-pill{margin-left:.5rem;border-left:1px solid #e2e8f0;padding-left:.875rem}.exec-my-actions-pill.active{border-color:#10b981;background:#ecfdf5;color:#059669}.exec-status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0}.exec-dot-in_progress{background:#2563eb}.exec-dot-completed{background:#16a34a}.exec-dot-cancelled{background:#dc2626}.order-filter-strip{display:flex;flex-wrap:wrap;gap:.375rem;align-items:center}.order-filter-pill{display:inline-flex;align-items:center;gap:.375rem;padding:.3rem .75rem;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;color:#475569;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .15s;font-family:inherit;white-space:nowrap}.order-filter-pill:hover{border-color:#94a3b8;background:#f1f5f9;color:#1e293b}.order-filter-pill.active{border-color:#3b82f6;background:#eff6ff;color:#2563eb}.order-status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0}.dot-complete{background:#16a34a}.dot-partial{background:#d97706}.dot-in_progress{background:#2563eb}.order-group{margin-bottom:1.5rem}.order-group:last-child{margin-bottom:0}.order-group-header{display:flex;align-items:center;gap:.625rem;padding:.5rem .75rem;background:#f8fafc;border:1px solid #e2e8f0;border-bottom:none;border-radius:8px 8px 0 0}.order-group-id{font-size:.875rem;font-weight:600;color:#1e293b}.order-group-count{margin-left:auto;font-size:.75rem;color:#94a3b8;font-weight:400}.order-status-badge{display:inline-block;padding:.15rem .6rem;border-radius:999px;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.order-status-partial{background:#fef3c7;color:#b45309}.order-group table{border-radius:0 0 8px 8px;overflow:hidden}.btn-view{width:32px;height:32px;padding:0;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;color:#3b82f6;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;font-family:inherit}.btn-view:hover{background:#eff6ff;border-color:#bfdbfe}.instance-detail{max-width:800px}.instance-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem}.instance-header h2{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0 0 .25rem}.instance-header p{color:#64748b;margin:0;font-size:.875rem}.instance-current{margin-bottom:2rem}.current-step-card{background:linear-gradient(135deg,#1e293b,#334155);border-radius:12px;padding:1.5rem;color:#fff}.current-step-card .label{font-size:.8125rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;font-weight:600}.current-step-card h3{font-size:1.5rem;font-weight:700;margin:.5rem 0 0}.no-permission-notice{margin-top:1rem;padding:.75rem;background:#ef444426;border-radius:8px;font-size:.875rem;color:#fca5a5}.action-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;margin-bottom:2rem}.action-section h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0 0 1rem}.dynamic-form{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid #e2e8f0}.dynamic-form h4{font-size:.9375rem;font-weight:600;color:#475569;margin:0 0 1rem}.dynamic-form .form-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.dynamic-form label{font-weight:600;font-size:.875rem;color:#334155}.required-mark{color:#ef4444}.dynamic-form input,.dynamic-form select,.dynamic-form textarea{padding:.75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9375rem;font-family:inherit}.dynamic-form input:focus,.dynamic-form select:focus,.dynamic-form textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.transitions-list h4{font-size:.9375rem;font-weight:600;color:#475569;margin:0 0 .75rem}.transition-options{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.transition-btn{display:flex;align-items:center;justify-content:space-between;padding:.875rem 1rem;border:2px solid #e2e8f0;border-radius:8px;background:#fff;cursor:pointer;transition:all .2s;font-family:inherit}.transition-btn:hover,.transition-btn.selected{border-color:#3b82f6;background:#eff6ff}.transition-to{font-weight:600;color:#1e293b;font-size:.9375rem}.transition-policy{font-size:.8125rem;color:#64748b}.btn-move{width:100%;margin-top:.5rem}.execution-history{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem}.execution-history h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0 0 1.5rem}.timeline{display:flex;flex-direction:column;gap:1rem}.timeline-item{display:flex;gap:1rem}.timeline-marker{width:32px;height:32px;background:#3b82f6;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.8125rem;flex-shrink:0}.timeline-content{flex:1;padding-bottom:1rem;border-bottom:1px solid #f1f5f9}.timeline-content h4{font-size:.9375rem;font-weight:600;color:#1e293b;margin:0 0 .25rem}.timeline-content p{font-size:.8125rem;color:#64748b;margin:0 0 .5rem}.field-values{display:flex;flex-direction:column;gap:.25rem;margin-top:.5rem;background:#f8fafc;border-radius:8px;padding:.5rem .75rem;border:1px solid #e2e8f0}.field-value-row{display:flex;align-items:baseline;gap:.5rem;font-size:.8125rem}.field-value-name{color:#64748b;font-weight:600;flex-shrink:0;min-width:90px}.field-value-val{color:#1e293b;font-weight:400;word-break:break-word}.dynamic-form input.field-error,.dynamic-form select.field-error,.dynamic-form textarea.field-error{border-color:#ef4444}.dynamic-form input.field-error:focus,.dynamic-form select.field-error:focus,.dynamic-form textarea.field-error:focus{border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a}.field-error-message{font-size:.75rem;color:#ef4444;font-weight:500}.dynamic-checkbox-label{display:flex;align-items:center;gap:.625rem;font-size:.9375rem;color:#334155;cursor:pointer;padding:.5rem 0}.dynamic-checkbox-label input[type=checkbox]{width:20px;height:20px;accent-color:#3b82f6;cursor:pointer}.list-text-container{border:1px solid #e2e8f0;border-radius:8px;padding:.75rem;background:#fff}.list-text-container.field-error-border{border-color:#ef4444}.notes-loading{font-size:.8125rem;color:#94a3b8;padding:.5rem 0}.notes-empty{font-size:.8125rem;color:#94a3b8;padding:.5rem 0;margin-bottom:.75rem}.list-text-items{list-style:none;margin:0 0 .75rem;padding:0;display:flex;flex-direction:column;gap:.375rem}.list-text-item{display:flex;align-items:center;gap:.5rem;padding:.5rem .625rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;font-size:.9375rem}.list-text-number{font-weight:600;color:#3b82f6;min-width:1.5rem;flex-shrink:0}.list-text-value{flex:1;color:#1e293b;word-break:break-word}.note-meta{font-size:.6875rem;color:#94a3b8;flex-shrink:0}.note-saved-badge{font-size:.625rem;font-weight:600;color:#16a34a;background:#dcfce7;padding:.125rem .375rem;border-radius:4px;flex-shrink:0;text-transform:uppercase;letter-spacing:.03em}.note-action-btn{background:none;border:none;cursor:pointer;padding:.125rem .3rem;border-radius:4px;font-size:.875rem;line-height:1;flex-shrink:0;transition:all .15s}.note-edit-btn{color:#94a3b8}.note-edit-btn:hover{color:#3b82f6;background:#eff6ff}.note-save-btn{color:#16a34a;font-weight:700}.note-save-btn:hover{background:#dcfce7}.note-cancel-btn{color:#94a3b8}.note-cancel-btn:hover{color:#ef4444;background:#fef2f2}.note-edit-row{flex:1;display:flex;gap:.375rem;align-items:center}.note-edit-input{flex:1;padding:.35rem .5rem;border:1px solid #3b82f6;border-radius:5px;font-size:.875rem;font-family:inherit;outline:none;box-shadow:0 0 0 2px #3b82f626}.list-text-add{display:flex;gap:.5rem;align-items:center}.list-text-add input{flex:1;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;font-family:inherit}.list-text-add input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.list-text-add-btn{padding:.5rem .875rem;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:.8125rem;font-weight:500;cursor:pointer;transition:background .2s;font-family:inherit;white-space:nowrap}.list-text-add-btn:hover:not(:disabled){background:#2563eb}.list-text-add-btn:disabled{opacity:.5;cursor:not-allowed}.field-value-block{display:flex;flex-direction:column;gap:.375rem;font-size:.8125rem}.field-value-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.25rem}.field-value-list-item{display:flex;align-items:baseline;gap:.5rem;padding:.3rem .5rem;background:#fff;border:1px solid #e2e8f0;border-radius:5px}.field-value-list-num{font-weight:600;color:#3b82f6;min-width:1.25rem;text-align:center;flex-shrink:0;font-size:.75rem}.field-value-list-text{color:#1e293b;word-break:break-word}@media (max-width: 768px){.execution-page{padding:.8rem}.exec-toolbar,.exec-toolbar-left{flex-direction:column;align-items:stretch}.exec-wf-dropdown{min-width:unset;max-width:unset;width:100%}.exec-search-bar{margin-left:0;order:1}.exec-status-filter{justify-content:flex-start;order:2}.instance-header{flex-direction:column;align-items:flex-start;gap:.75rem}.transition-btn{flex-direction:column;align-items:flex-start;gap:.25rem}}.execution-page--board{max-width:100%}.execution-page--board .exec-toolbar{margin-bottom:1rem;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:.625rem .875rem}.kanban-root{display:flex;flex-direction:column;gap:0;min-height:0}.kanban-wf-tabs{display:flex;gap:.375rem;flex-wrap:wrap;margin-bottom:1rem}.kanban-wf-tab{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem 1rem;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#475569;font-size:.875rem;font-weight:500;cursor:pointer;font-family:inherit;transition:all .15s}.kanban-wf-tab:hover{background:#f1f5f9;border-color:#94a3b8;color:#1e293b}.kanban-wf-tab.active{background:#eff6ff;border-color:#3b82f6;color:#2563eb}.kanban-wf-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:18px;padding:0 .35rem;background:#00000014;border-radius:999px;font-size:.75rem;font-weight:600}.kanban-wf-tab.active .kanban-wf-tab-count{background:#bfdbfe;color:#1d4ed8}.kanban-board{display:flex;gap:1rem;align-items:flex-start;overflow-x:auto;padding-bottom:1.25rem;min-height:520px}.kanban-board::-webkit-scrollbar{height:6px}.kanban-board::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.kanban-board::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.kanban-board::-webkit-scrollbar-thumb:hover{background:#94a3b8}.kanban-loading{display:flex;align-items:center;justify-content:center;min-height:320px}.kanban-empty{color:#94a3b8;font-size:.9375rem;padding:2rem}.kanban-col{--col-border: #e2e8f0;--col-header: #475569;--col-tag-bg: #e2e8f0;--col-tag-text: #475569;--col-dot: #94a3b8;flex:0 0 272px;width:272px;background:transparent;border-radius:14px;border:1.5px solid var(--col-border);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 1px 4px #0000000a;transition:box-shadow .2s}.kanban-col:hover{box-shadow:0 4px 16px #00000012}.kanban-col-header{padding:0 0 .75rem;position:relative}.kanban-col-accent-bar{height:4px;background:var(--col-header);border-radius:0;margin-bottom:.875rem;opacity:.85}.kanban-col-title-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:0 .875rem}.kanban-col-title-left{display:flex;align-items:center;gap:.5rem;min-width:0}.kanban-col-name{font-size:.875rem;font-weight:700;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kanban-col-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;padding:0 .4rem;background:var(--col-header);color:#fff;border-radius:999px;font-size:.6875rem;font-weight:700;flex-shrink:0;opacity:.85}.kanban-col-tags-row{display:flex;gap:.25rem;padding:.375rem .875rem 0;flex-wrap:wrap}.kanban-col-tag{display:inline-block;padding:.15rem .5rem;border-radius:4px;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;background:var(--col-tag-bg);color:var(--col-tag-text)}.kanban-col-body{padding:0 .625rem .75rem;display:flex;flex-direction:column;gap:.5rem;min-height:60px;max-height:600px;overflow-y:auto}.kanban-col-body::-webkit-scrollbar{width:4px}.kanban-col-body::-webkit-scrollbar-track{background:transparent}.kanban-col-body::-webkit-scrollbar-thumb{background:var(--col-border);border-radius:2px}.kanban-col-body::-webkit-scrollbar-thumb:hover{background:var(--col-dot)}.kanban-col-empty{text-align:center;color:var(--col-dot);font-size:.8125rem;padding:1.5rem 0;border:1.5px dashed var(--col-border);border-radius:8px;opacity:.7}.kanban-ticket{--ticket-accent: #3b82f6;--ticket-tag-bg: #eff6ff;--ticket-tag-text: #1e40af;background:#fff;border:1px solid #e8edf4;border-radius:10px;padding:.75rem .875rem;cursor:default;transition:box-shadow .18s,transform .18s,border-color .18s;position:relative}.kanban-ticket:hover{box-shadow:0 4px 14px #00000014;transform:translateY(-1px)}.kanban-ticket--actionable{border-left:3px solid var(--ticket-accent)}.kanban-ticket--actionable:hover{box-shadow:0 4px 18px #0000001a}.kanban-ticket--highlight{border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b59,0 8px 22px #f59e0b2e;animation:kanban-ticket-pulse 1.1s ease-in-out 0s 3;position:relative;z-index:2}@keyframes kanban-ticket-pulse{0%{box-shadow:0 0 #f59e0b8c,0 8px 22px #f59e0b2e}60%{box-shadow:0 0 0 10px #f59e0b00,0 8px 22px #f59e0b2e}to{box-shadow:0 0 0 3px #f59e0b59,0 8px 22px #f59e0b2e}}.kanban-ticket-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem;gap:.5rem}.kanban-ticket-id{font-size:.6875rem;color:#94a3b8;font-weight:600;letter-spacing:.03em;font-variant-numeric:tabular-nums;display:inline-block;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kanban-ticket-status-badge{display:inline-block;padding:.1rem .5rem;border-radius:999px;font-size:.625rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;flex-shrink:0}.kanban-ticket-status-badge[data-status=in_progress]{background:#dbeafe;color:#1d4ed8}.kanban-ticket-status-badge[data-status=completed]{background:#dcfce7;color:#15803d}.kanban-ticket-status-badge[data-status=cancelled]{background:#fee2e2;color:#b91c1c}.kanban-ticket-order-title{font-size:.8125rem;font-weight:600;color:#0f172a;margin-bottom:.375rem;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kanban-ticket-ctx-inline{display:flex;flex-wrap:wrap;gap:.3rem;margin-bottom:.625rem}.kanban-ctx-chip{display:inline-flex;align-items:center;padding:.125rem .5rem;border-radius:4px;background:#f1f5f9;color:#475569;font-size:.7rem;font-weight:500;border:1px solid #e2e8f0}.kanban-ctx-chip--sku{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.kanban-ticket-inputs{display:flex;flex-direction:column;gap:0;margin-bottom:.5rem}.kanban-inputs-toggle{display:flex;align-items:center;gap:.3rem;background:none;border:none;padding:.2rem 0;cursor:pointer;font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;width:100%;text-align:left}.kanban-inputs-toggle:hover{color:#64748b}.kanban-inputs-toggle-count{display:inline-flex;align-items:center;justify-content:center;background:#e2e8f0;color:#64748b;font-size:.55rem;font-weight:700;border-radius:99px;min-width:1.1rem;height:1.1rem;padding:0 .25rem}.kanban-inputs-list{display:flex;flex-direction:column;gap:.5rem;margin-top:.35rem}.kanban-inputs-step{display:flex;flex-direction:column;gap:.25rem}.kanban-inputs-step-name{font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8}.kanban-inputs-chips{display:flex;flex-wrap:wrap;gap:.25rem}.kanban-input-chip{display:inline-flex;align-items:center;gap:.25rem;padding:.2rem .5rem;background:#f1f5f9;border-radius:5px;font-size:.6875rem;color:#475569;border:1px solid #e2e8f0}.kanban-chip-name{font-weight:600;color:#64748b}.kanban-chip-sep{color:#cbd5e1;font-size:.625rem}.kanban-chip-val{color:#1e293b;font-weight:500}.kanban-chip-list{flex-direction:column;align-items:flex-start;gap:.25rem;padding:.35rem .5rem}.kanban-chip-list-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.125rem;width:100%}.kanban-chip-list-items li{font-size:.6875rem;color:#1e293b;font-weight:500}.kanban-chip-list-num{color:#3b82f6;font-weight:600}.kanban-timer{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.5rem;padding:.375rem .5rem;border-radius:6px;background:#f8fafc;border:1px solid #e2e8f0}.kanban-timer--overdue{background:#fff5f5;border-color:#fca5a5}.kanban-timer--near{background:#fffbeb;border-color:#fcd34d}.kanban-timer-row{display:flex;align-items:center;gap:.3rem;flex-wrap:wrap}.kanban-timer-icon{display:flex;align-items:center;color:#94a3b8;flex-shrink:0}.kanban-timer--overdue .kanban-timer-icon{color:#ef4444}.kanban-timer--near .kanban-timer-icon{color:#f59e0b}.kanban-timer-elapsed{font-size:.7rem;font-weight:600;color:#334155;font-variant-numeric:tabular-nums}.kanban-timer--overdue .kanban-timer-elapsed{color:#dc2626}.kanban-timer--near .kanban-timer-elapsed{color:#b45309}.kanban-timer-sla{font-size:.65rem;color:#94a3b8;font-weight:400}.kanban-timer-badge{margin-left:auto;font-size:.6rem;font-weight:600;padding:.1rem .4rem;border-radius:3px;letter-spacing:.03em;text-transform:uppercase}.kanban-timer-badge--overdue{background:#fee2e2;color:#b91c1c}.kanban-timer-badge--near{background:#fef3c7;color:#92400e}.kanban-timer-bar-track{height:3px;border-radius:2px;background:#e2e8f0;overflow:hidden}.kanban-timer-bar-fill{height:100%;border-radius:2px;background:#3b82f6;transition:width 1s linear}.kanban-timer--overdue .kanban-timer-bar-fill{background:#ef4444}.kanban-timer--near .kanban-timer-bar-fill{background:#f59e0b}.kanban-ticket-divider{height:1px;background:#f1f5f9;margin:0 -.875rem .625rem}.kanban-ticket-footer{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.kanban-ticket-user{display:inline-flex;align-items:center;gap:.3rem;font-size:.75rem;color:#94a3b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:120px}.kanban-move-btn{display:inline-flex;align-items:center;gap:.25rem;padding:.3rem .625rem;background:var(--ticket-tag-bg);border:1px solid var(--ticket-accent);border-radius:6px;color:var(--ticket-accent);font-size:.6875rem;font-weight:700;cursor:pointer;font-family:inherit;transition:all .15s;flex-shrink:0;letter-spacing:.02em}.kanban-move-btn:hover{filter:brightness(.93);box-shadow:0 2px 6px #0000001a}.kanban-no-perm{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;background:#f1f5f9;border-radius:6px;color:#cbd5e1;flex-shrink:0}.exec-view-toggle{display:flex;gap:2px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:3px;flex-shrink:0}.exec-view-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:28px;border:none;border-radius:6px;background:transparent;color:#94a3b8;cursor:pointer;transition:all .15s;font-family:inherit}.exec-view-btn:hover{background:#e2e8f0;color:#475569}.exec-view-btn.active{background:#fff;color:#1e293b;box-shadow:0 1px 3px #00000014}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:backdropIn .15s ease}@keyframes backdropIn{0%{opacity:0}to{opacity:1}}.move-modal{background:#fff;border-radius:16px;width:100%;max-width:520px;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0003;animation:modalIn .2s cubic-bezier(.16,1,.3,1);overflow:hidden}@keyframes modalIn{0%{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.move-modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:1.25rem 1.5rem 1rem;border-bottom:1px solid #f1f5f9;gap:.75rem}.move-modal-title-block{display:flex;flex-direction:column;gap:.25rem;min-width:0}.move-modal-instance-id{font-size:.75rem;color:#94a3b8;font-weight:500}.move-modal-title{font-size:1.0625rem;font-weight:700;color:#1e293b;margin:0;line-height:1.3}.move-modal-close{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:8px;background:#f1f5f9;color:#64748b;cursor:pointer;flex-shrink:0;transition:all .15s;font-family:inherit}.move-modal-close:hover{background:#e2e8f0;color:#1e293b}.move-modal-current{display:flex;align-items:center;gap:.625rem;padding:.75rem 1.5rem;background:#f8fafc;border-bottom:1px solid #f1f5f9}.move-modal-current-label{font-size:.75rem;color:#94a3b8;font-weight:500;text-transform:uppercase;letter-spacing:.05em;flex-shrink:0}.move-modal-current-step{font-size:.875rem;font-weight:600;color:#1e293b;background:#e2e8f0;padding:.2rem .625rem;border-radius:6px}.move-modal-no-perm{margin:0 1.5rem;padding:.75rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;font-size:.875rem;color:#b91c1c;font-weight:500}.move-modal-body{flex:1;overflow-y:auto;padding:1.25rem 1.5rem;display:flex;flex-direction:column;gap:1.25rem}.move-modal-body::-webkit-scrollbar{width:4px}.move-modal-body::-webkit-scrollbar-track{background:transparent}.move-modal-body::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:2px}.move-modal-section{display:flex;flex-direction:column;gap:.75rem}.move-modal-section-title{font-size:.75rem;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em}.move-modal-fields .required-mark{color:#ef4444}.move-modal-fields .field-error-message{font-size:.75rem;color:#ef4444;font-weight:500}.move-modal-fields .dynamic-checkbox-label{display:flex;align-items:center;gap:.625rem;font-size:.9375rem;color:#334155;cursor:pointer;padding:.5rem 0}.move-modal-fields .dynamic-checkbox-label input[type=checkbox]{width:20px;height:20px;accent-color:#3b82f6;cursor:pointer}.move-modal-fields .form-group{display:flex;flex-direction:column;gap:.4rem;margin-bottom:.875rem}.move-modal-fields label{font-size:.875rem;font-weight:600;color:#334155}.move-modal-fields input,.move-modal-fields select,.move-modal-fields textarea{padding:.625rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9375rem;font-family:inherit;color:#1e293b;transition:border-color .15s,box-shadow .15s}.move-modal-fields input:focus,.move-modal-fields select:focus,.move-modal-fields textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.move-modal-fields input.field-error,.move-modal-fields select.field-error,.move-modal-fields textarea.field-error{border-color:#ef4444}.move-modal-transitions{display:flex;flex-direction:column;gap:.5rem}.move-transition-card{display:flex;align-items:center;justify-content:space-between;padding:.875rem 1rem;border:2px solid #e2e8f0;border-radius:10px;background:#fff;cursor:pointer;font-family:inherit;text-align:left;transition:all .15s;gap:.5rem}.move-transition-card:hover{border-color:#93c5fd;background:#f8fafc}.move-transition-card.selected{border-color:#3b82f6;background:#eff6ff}.move-transition-card-inner{display:flex;flex-direction:column;gap:.25rem;min-width:0}.move-transition-to{display:inline-flex;align-items:center;gap:.375rem;font-size:.9375rem;font-weight:600;color:#1e293b}.move-transition-card.selected .move-transition-to{color:#1d4ed8}.move-transition-to svg{flex-shrink:0;color:#64748b}.move-transition-card.selected .move-transition-to svg{color:#3b82f6}.move-transition-policy{font-size:.75rem;color:#94a3b8;font-weight:400}.move-transition-check{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;background:#3b82f6;border-radius:50%;color:#fff;flex-shrink:0}.move-modal-empty{color:#94a3b8;font-size:.875rem;text-align:center;padding:1.5rem;background:#f8fafc;border-radius:8px;border:1.5px dashed #e2e8f0;margin:0}.move-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:.625rem;padding:1rem 1.5rem;border-top:1px solid #f1f5f9;background:#fafafa}.move-modal-footer .btn-secondary{padding:.75rem 1.5rem;background:#f8fafc;color:#64748b;border:1px solid #e2e8f0;border-radius:8px;font-weight:600;font-size:.9375rem;cursor:pointer;transition:all .2s;font-family:inherit;white-space:nowrap}.move-modal-footer .btn-secondary:hover{background:#e2e8f0;color:#475569}.move-modal-footer .btn-secondary:disabled{opacity:.6;cursor:not-allowed;box-shadow:none;transform:none}@media (max-width: 768px){.kanban-board{flex-direction:column;overflow-x:visible}.kanban-col{flex:none;width:100%}.move-modal{max-height:92vh}}.masked-phone{display:inline-flex;align-items:center;gap:.4rem;padding:.18rem .45rem .18rem .65rem;background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid #e2e8f0;border-radius:999px;font-family:ui-monospace,SF Mono,SFMono-Regular,Menlo,Consolas,monospace;font-size:.8125rem;line-height:1.3;color:#1e293b;vertical-align:middle;max-width:100%;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}.masked-phone:hover{border-color:#cbd5e1;background:linear-gradient(180deg,#fff,#f1f5f9);box-shadow:0 1px 3px #0f172a0f}.masked-phone--static{padding:.12rem .55rem;background:#f8fafc;border-color:#e8ecf2}.masked-phone--static:hover{background:#f1f5f9;border-color:#d8dee7;box-shadow:none}.masked-phone-value{font-variant-numeric:tabular-nums;letter-spacing:.04em;font-weight:500;white-space:nowrap;min-width:0}.masked-phone--hidden .masked-phone-value{filter:blur(.4px);color:#475569;letter-spacing:.06em}.masked-phone-toggle{display:inline-flex;align-items:center;gap:.28rem;background:#fff;border:1px solid #cbd5e1;color:#475569;padding:.18rem .55rem;font-size:.62rem;font-weight:700;line-height:1;letter-spacing:.05em;text-transform:uppercase;border-radius:999px;cursor:pointer;font-family:inherit;white-space:nowrap;transition:background-color .15s ease,color .15s ease,border-color .15s ease,transform .12s ease,box-shadow .18s ease}.masked-phone-toggle:hover{background:#0f172a;border-color:#0f172a;color:#fff;box-shadow:0 2px 6px #0f172a2e;transform:translateY(-1px)}.masked-phone-toggle:active{transform:translateY(0);box-shadow:0 1px 2px #0f172a1f}.masked-phone-toggle:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.masked-phone-toggle[aria-pressed=true]{background:#1e293b;border-color:#1e293b;color:#fff}.masked-phone-toggle[aria-pressed=true]:hover{background:#0f172a;border-color:#0f172a}.masked-phone-toggle svg{flex-shrink:0}.users-page{padding:.8rem;max-width:1100px;width:100%;margin:0 auto}.users-access-modal{max-width:640px;width:100%}.access-loading{padding:2rem;text-align:center;color:#64748b;font-size:.875rem}.access-body{display:flex;flex-direction:column;gap:1.25rem;max-height:60vh;overflow-y:auto;padding-right:4px}.access-section{display:flex;flex-direction:column;gap:.625rem;padding:.85rem .95rem;border:1px solid #e2e8f0;border-left:4px solid #94a3b8;border-radius:8px;background:#fff}.access-section--orders{border-left-color:#2563eb;background:#f8fafc}.access-section--spin{border-left-color:#6b1230;background:#fffaee}.access-section-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.access-section-titlecol{display:flex;flex-direction:column;gap:.2rem;min-width:0}.access-section-header h4{margin:0;font-size:.9375rem;font-weight:700;color:#0f172a}.access-scope-chip{display:inline-block;padding:.1rem .55rem;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;border-radius:999px;align-self:flex-start}.access-scope-chip--orders{background:#dbeafe;color:#1d4ed8}.access-scope-chip--spin{background:#fde6ee;color:#6b1230}.access-section-hint{font-size:.75rem;color:#64748b}.access-page-grid,.access-store-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.access-page-item,.access-store-item{display:flex;align-items:center;gap:.625rem;padding:.625rem .75rem;border:1px solid #e2e8f0;border-radius:10px;cursor:pointer;background:#f8fafc;transition:background .12s,border-color .12s}.access-page-item:hover,.access-store-item:hover{background:#eff6ff;border-color:#bfdbfe}.access-page-item--on,.access-store-item--on{background:#eff6ff;border-color:#93c5fd}.access-page-item input,.access-store-item input{margin:0;width:16px;height:16px;accent-color:#2563eb;flex-shrink:0}.access-page-text{display:flex;flex-direction:column;gap:1px;min-width:0}.access-page-label{font-size:.8125rem;font-weight:600;color:#0f172a}.access-page-state{font-size:.6875rem;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em}.access-page-item--on .access-page-state{color:#2563eb}.access-store-item span{font-size:.8125rem;color:#1e293b;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.access-all-toggle{display:inline-flex;align-items:center;gap:.375rem;font-size:.75rem;color:#475569;font-weight:600;cursor:pointer}.access-all-toggle input{margin:0;width:14px;height:14px;accent-color:#2563eb}.label-required{color:#ef4444;font-weight:600;margin-left:2px}.users-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.users-page-title{font-size:1.5rem;font-weight:700;color:#0f172a;margin:0;display:flex;align-items:center;gap:.5rem}.users-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:24px;padding:0 .5rem;margin-left:.5rem;background:#e2e8f0;color:#475569;border-radius:999px;font-size:.875rem;font-weight:600}.btn-create-user{background:#3b82f6;color:#fff;border:none;padding:.625rem 1.25rem;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .2s;font-family:inherit}.btn-create-user:hover{background:#2563eb}.users-table-wrap{background:#fff;border-radius:12px;border:1px solid #e2e8f0;overflow-x:auto;overflow-y:hidden}.users-empty{padding:3rem 2rem;text-align:center;color:#64748b}.users-empty p{margin:0 0 1rem;font-size:.9375rem}.btn-create-user-empty{background:#3b82f6;color:#fff;border:none;padding:.625rem 1.25rem;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:background .2s;font-family:inherit}.btn-create-user-empty:hover{background:#2563eb}.users-table{width:100%;border-collapse:collapse;font-size:.875rem}.users-table thead tr{background:#f8fafc;border-bottom:1px solid #e2e8f0}.users-table th{padding:.5rem 1rem;text-align:left;font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.users-table td{padding:.5rem 1rem;border-bottom:1px solid #f1f5f9;color:#1e293b;vertical-align:middle;font-size:.875rem}.users-table tbody tr:last-child td{border-bottom:none}.users-table tbody tr:hover td{background:#f8fafc}.users-table-index{width:48px;color:#94a3b8;font-size:.875rem}.users-table-name{font-weight:500}.users-table-phone{color:#475569;font-size:.875rem}.users-table-email{color:#475569}.users-table-roles{color:#475569;font-size:.875rem}.users-table-status{width:80px}.user-status-badge{display:inline-block;padding:.15rem .5rem;border-radius:999px;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em}.user-status-active{background:#dcfce7;color:#15803d}.user-status-suspended{background:#fee2e2;color:#dc2626}.user-row-suspended td{opacity:.6}.user-row-suspended td.users-table-status,.user-row-suspended td.users-table-actions{opacity:1}.users-table-actions{width:52px;text-align:right;padding-right:1rem}.user-menu-wrap{position:relative;display:inline-flex}.btn-user-dots{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;background:transparent;border:1px solid transparent;border-radius:6px;color:#94a3b8;font-size:1.25rem;cursor:pointer;transition:all .15s;font-family:inherit;line-height:1;letter-spacing:.1em}.btn-user-dots:hover{background:#f1f5f9;border-color:#e2e8f0;color:#475569}.user-menu-dropdown{z-index:9999;min-width:180px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 8px 24px #0f172a1f;padding:.375rem;animation:userMenuIn .12s ease}@keyframes userMenuIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.user-menu-item{display:flex;align-items:center;gap:.5rem;width:100%;padding:.5rem .625rem;background:none;border:none;border-radius:6px;font-size:.8125rem;font-weight:500;color:#334155;cursor:pointer;font-family:inherit;text-align:left;transition:background .12s;white-space:nowrap}.user-menu-item:hover{background:#f1f5f9}.user-menu-item svg{flex-shrink:0;color:#64748b}.user-menu-icon{flex-shrink:0;width:15px;text-align:center;font-size:.8125rem}.user-menu-divider{height:1px;background:#f1f5f9;margin:.25rem .375rem}.user-menu-suspend{color:#dc2626}.user-menu-suspend:hover{background:#fef2f2}.user-menu-activate{color:#16a34a}.user-menu-activate:hover{background:#f0fdf4}.user-menu-item:disabled{opacity:.5;cursor:not-allowed}.btn-edit-user{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:1px solid #e2e8f0;color:#94a3b8;padding:0;width:30px;height:30px;border-radius:6px;cursor:pointer;transition:border-color .15s,color .15s,background .15s;flex-shrink:0}.btn-edit-user:hover{border-color:#3b82f6;color:#3b82f6;background:#eff6ff}.users-modal-box{width:520px;max-height:90vh;display:flex;flex-direction:column;padding:0;overflow:hidden}.users-modal-box .modal-header{padding:1.5rem 1.75rem 1.25rem;border-bottom:1px solid #f1f5f9;flex-shrink:0}.users-modal-box form{display:flex;flex-direction:column;flex:1;min-height:0}.users-modal-form-body{overflow-y:auto;padding:1.25rem 1.75rem;flex:1;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.users-modal-form-body::-webkit-scrollbar{width:6px}.users-modal-form-body::-webkit-scrollbar-track{background:transparent}.users-modal-form-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.users-modal-form-body::-webkit-scrollbar-thumb:hover{background:#94a3b8}.users-modal-actions{padding:1.25rem 1.75rem;border-top:1px solid #f1f5f9;flex-shrink:0}.users-form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.role-multiselect-wrap{position:relative}.role-dropdown-fixed{position:fixed!important}.users-modal-box-sm{width:440px;max-height:90vh;display:flex;flex-direction:column;padding:0;overflow:hidden}.users-modal-box-sm .modal-header{padding:1.5rem 1.75rem 1.25rem;border-bottom:1px solid #f1f5f9;flex-shrink:0}.users-modal-box-sm .users-modal-actions{padding:1.25rem 1.75rem;border-top:1px solid #f1f5f9;flex-shrink:0}.reset-pw-result{padding:1.25rem 1.75rem}.reset-pw-info{font-size:.9375rem;color:#475569;margin:0 0 1rem;line-height:1.5}.reset-pw-info strong{color:#0f172a}.reset-pw-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:.75rem;display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.reset-pw-row{display:flex;align-items:baseline;gap:.75rem}.reset-pw-label{font-size:.75rem;font-weight:600;color:#64748b;min-width:130px;flex-shrink:0}.reset-pw-value{font-size:.875rem;color:#1e293b;word-break:break-all}.reset-pw-mono{font-family:monospace;font-size:1rem;font-weight:700;color:#3b82f6;letter-spacing:.05em}.reset-pw-note{font-size:.8125rem;color:#94a3b8;margin:0;line-height:1.5}@media (max-width: 600px){.users-page{padding:.8rem}.users-form-row{grid-template-columns:1fr}.users-modal-box{width:100%}}.wf-diagram-scroll{width:100%;overflow:auto;padding:1rem .5rem 1.5rem}.wf-diagram-empty{padding:2rem;text-align:center;color:#64748b;font-size:.875rem}.wf-diagram{position:relative;display:inline-block;min-width:100%;padding:.5rem 1rem}.wf-diagram-svg{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:0}.wf-diagram-grid{position:relative;z-index:1;display:grid;gap:28px 64px;align-items:start}.wf-diagram-col{display:flex;flex-direction:column;gap:28px}.wf-diagram-node{background:#fff;border:1px solid #cbd5e1;border-radius:6px;box-shadow:0 1px 2px #0f172a0a;width:200px;font-size:12px;color:#1e293b;overflow:hidden}.wf-diagram-node--start{border-color:#16a34a}.wf-diagram-node--end{border-color:#2563eb}.wf-diagram-node--done{border-color:#16a34a;box-shadow:0 1px 2px #16a34a2e}.wf-diagram-node--done .wf-diagram-node-head{background:#86efac;border-bottom-color:#16a34a}.wf-diagram-node--current{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb2e,0 4px 10px #2563eb2e}.wf-diagram-node--current .wf-diagram-node-head{background:#93c5fd;border-bottom-color:#2563eb;color:#1e3a8a}.wf-diagram-node--pending{opacity:.85}.wf-diagram-node--pending .wf-diagram-node-head{background:#fde68a;border-bottom-color:#f59e0b}.wf-diagram-node-head{background:#facc15;color:#1e293b;text-align:center;font-weight:700;font-size:12px;padding:6px 10px;letter-spacing:.01em;border-bottom:1px solid #ca8a04;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wf-diagram-node--start .wf-diagram-node-head{background:#fde047}.wf-diagram-node--end .wf-diagram-node-head{background:#fde68a}.wf-diagram-node-body{display:flex;flex-direction:column}.wf-diagram-node-row{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e2e8f0}.wf-diagram-node-row:last-child{border-bottom:none}.wf-diagram-cell{padding:6px 10px;font-size:12px;color:#334155;text-align:center;font-variant-numeric:tabular-nums;border-right:1px solid #e2e8f0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wf-diagram-cell:last-child{border-right:none}.wf-diagram-cell--id{font-weight:600;color:#1e293b;font-family:JetBrains Mono,SF Mono,Consolas,monospace}.wf-diagram-cell--sla{color:#475569;font-weight:500}.wf-diagram-cell--meta{color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.wf-diagram-node-foot{background:#f8fafc;border-top:1px solid #e2e8f0;padding:5px 10px;font-size:11px;color:#475569;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-style:italic}.wf-diagram-node-inputs{border-top:1px solid #e2e8f0;background:#fafbfc;padding:6px 10px 8px}.wf-diagram-inputs-label{font-size:9.5px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px}.wf-diagram-inputs-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}.wf-diagram-input-row{display:flex;flex-direction:column;gap:1px;font-size:11px;line-height:1.35}.wf-diagram-input-name{color:#64748b;font-weight:600;font-size:10px;text-transform:uppercase;letter-spacing:.04em}.wf-diagram-input-value{color:#1e293b;font-weight:500;word-break:break-word;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.wf-diagram-input-list-values{margin:0;padding-left:14px;color:#1e293b;font-weight:500;font-size:11px;line-height:1.35}.wf-diagram-input-list-values li{word-break:break-word}.wf-diagram-node--done .wf-diagram-node-inputs{background:#f0fdf4}.wf-diagram-node--current .wf-diagram-node-inputs{background:#eff6ff}.wf-diagram-node-action{border-top:1px solid #bfdbfe;background:#eff6ff;padding:6px 8px;display:flex;justify-content:center}.orders-page{padding:.8rem;max-width:1100px;width:100%;margin:0 auto}.orders-page--wide{max-width:1600px}.orders-page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.8rem}.orders-page-title-wrap{display:flex;flex-direction:column;gap:.125rem}.orders-page-subtitle{font-size:.75rem;color:#64748b;font-weight:500}.orders-page-title{font-size:1.5rem;font-weight:700;color:#0f172a;margin:0;display:flex;align-items:center;gap:.5rem}.orders-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:24px;padding:0 .5rem;background:#e2e8f0;color:#475569;border-radius:999px;font-size:.875rem;font-weight:600}.orders-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;margin-bottom:.5rem}.orders-status-filter{display:flex;flex-wrap:wrap;gap:.375rem;justify-content:flex-start;order:1}.orders-status-pill{display:inline-flex;align-items:center;gap:.375rem;padding:.3rem .75rem;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;color:#475569;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .15s;font-family:inherit;white-space:nowrap}.orders-status-pill:hover{border-color:#94a3b8;background:#f1f5f9;color:#1e293b}.orders-status-pill.active{border-color:#3b82f6;background:#eff6ff;color:#2563eb}.orders-status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0}.order-status-badge{display:inline-block;padding:.2rem .65rem;border-radius:999px;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.order-status-complete{background:#dcfce7;color:#15803d}.order-status-in_progress{background:#dbeafe;color:#1d4ed8}.order-status-unassigned{background:#f1f5f9;color:#64748b}.orders-store-filter-wrap{order:2}.orders-store-select{height:38px;padding:0 .75rem;border:1px solid #e2e8f0;border-radius:10px;font-size:.875rem;font-family:inherit;color:#1e293b;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s;min-width:140px}.orders-store-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.order-store-cell{color:#475569;font-size:.875rem}.order-customer-cell{color:#1e293b;font-size:.875rem;line-height:1.25;min-width:140px}.order-customer-name{font-weight:600}.order-customer-phone{color:#64748b;font-size:.78rem;font-variant-numeric:tabular-nums;margin-top:2px}.orders-search-bar{position:relative;display:flex;align-items:center;flex:1 1 320px;margin-left:auto;order:3}.orders-search-icon{position:absolute;left:.875rem;color:#94a3b8;display:flex;align-items:center;pointer-events:none}.orders-search-input{width:100%;padding:.625rem 2.5rem .625rem 2.375rem;border:1px solid #e2e8f0;border-radius:10px;font-size:.9rem;font-family:inherit;color:#1e293b;background:#fff;transition:border-color .15s,box-shadow .15s}.orders-search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.orders-search-clear{position:absolute;right:.75rem;display:flex;align-items:center;justify-content:center;width:22px;height:22px;border:none;background:#e2e8f0;color:#475569;border-radius:50%;cursor:pointer;transition:background .15s}.orders-search-clear:hover{background:#cbd5e1}.orders-table-wrap{background:#fff;border-radius:12px;border:1px solid #e2e8f0;overflow-x:auto}.orders-empty{padding:3rem 2rem;text-align:center;color:#64748b;font-size:.9375rem}.orders-table{width:100%;border-collapse:collapse;font-size:.875rem}.orders-table thead tr{background:#f8fafc;border-bottom:1px solid #e2e8f0}.orders-table th{text-align:left;padding:.5rem .875rem;font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.orders-th-sortable{cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .15s}.orders-th-sortable:hover{color:#1e293b}.orders-table td{padding:.5rem .875rem;border-bottom:1px solid #f1f5f9;color:#334155;vertical-align:middle;font-size:.875rem}.orders-table tbody tr:last-child td{border-bottom:none}.orders-table-row-clickable{cursor:pointer;transition:background .1s}.orders-table-row-clickable:hover{background:#f8fafc}.orders-table-row-clickable:hover .orders-row-chevron{color:#3b82f6;transform:translate(2px)}.order-id-cell{font-weight:600;color:#1e293b;font-family:monospace;font-size:.9375rem}.order-name-cell{font-weight:500;color:#1e293b}.order-date-cell{color:#64748b;font-size:.9rem;white-space:nowrap}.order-amount-cell{font-weight:600;color:#1e293b;white-space:nowrap}.order-items-count{font-size:.875rem;color:#64748b;font-weight:500}.orders-table-action-cell{width:32px;text-align:right}.orders-row-chevron{color:#cbd5e1;display:inline-flex;align-items:center;transition:color .15s,transform .15s}@media (max-width: 768px){.orders-page{padding:.8rem}.orders-toolbar{flex-direction:column;align-items:stretch}.orders-search-bar{margin-left:0;order:1}.orders-status-filter{justify-content:flex-start;order:2}}.orders-toolbar--stacked{flex-direction:column;align-items:stretch}.orders-toolbar-row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;width:100%}.orders-toolbar-row--filters{margin-top:.5rem}.orders-toolbar--stacked .orders-search-bar{margin-left:0;order:0;flex:1 1 280px}.orders-toolbar--stacked .orders-status-filter{order:0;margin-left:auto}.orders-status-pill--small{font-size:.75rem;padding:.25rem .625rem}.orders-printing-filter{display:inline-flex;gap:.25rem}.orders-clear-filters{margin-left:auto;background:transparent;border:1px solid #fecaca;color:#b91c1c;font-size:.75rem;font-weight:600;padding:.25rem .625rem;border-radius:8px;cursor:pointer}.orders-clear-filters:hover{background:#fee2e2}.sla-dot-delayed{background:#ef4444}.sla-dot-in_progress{background:#3b82f6}.sla-dot-completed{background:#22c55e}.sla-dot-unassigned{background:#94a3b8}.sla-badge{display:inline-block;padding:.2rem .625rem;border-radius:999px;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.sla-badge-delayed{background:#fee2e2;color:#b91c1c}.sla-badge-in_progress{background:#dbeafe;color:#1d4ed8}.sla-badge-completed{background:#dcfce7;color:#15803d}.sla-badge-unassigned{background:#f1f5f9;color:#64748b}.printing-tag{display:inline-block;padding:.15rem .5rem;border-radius:6px;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.printing-tag--yes{background:#ede9fe;color:#6d28d9}.printing-tag--no{background:#f1f5f9;color:#64748b}.orders-table--detailed{font-size:.75rem}.orders-table--detailed th{padding:.4375rem .625rem;font-size:.6875rem}.orders-table--detailed td{padding:.4375rem .625rem;font-size:.75rem;line-height:1.35}.orders-table--detailed .order-id-cell{font-size:.78125rem}.orders-table--detailed .sla-badge,.orders-table--detailed .printing-tag{font-size:.625rem;padding:.15rem .5rem}.orders-table--detailed .orders-notes-btn{font-size:.6875rem;padding:.2rem .4375rem}.orders-table--detailed .muted{color:#94a3b8}.order-sku-cell,.order-workflow-cell,.order-step-cell{color:#1e293b;white-space:nowrap;max-width:160px;overflow:hidden;text-overflow:ellipsis}.order-sku-cell--lead{font-weight:600;color:#0f172a;font-family:JetBrains Mono,SF Mono,Consolas,monospace}.order-qty-cell{font-variant-numeric:tabular-nums;color:#475569;white-space:nowrap}.order-step-cell{font-weight:500}.order-days-cell{color:#64748b;font-variant-numeric:tabular-nums;white-space:nowrap}.order-commitment-cell{white-space:nowrap;color:#475569}.order-notes-cell{white-space:nowrap}.orders-notes-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .5rem;font-size:.75rem;font-weight:500;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;color:#475569;cursor:pointer;font-family:inherit}.orders-notes-btn:hover:not(:disabled){background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.orders-notes-btn:disabled{opacity:.45;cursor:not-allowed}.orders-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;display:flex;align-items:center;justify-content:center;z-index:1100;padding:1.25rem;animation:orders-fade-in .15s ease}@keyframes orders-fade-in{0%{opacity:0}to{opacity:1}}.orders-modal{background:#fff;border-radius:14px;box-shadow:0 24px 60px #0f172a47;width:100%;max-width:520px;max-height:calc(100vh - 2.5rem);display:flex;flex-direction:column;overflow:hidden;animation:orders-slide-up .18s ease}@keyframes orders-slide-up{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.orders-modal-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:16px 20px;border-bottom:1px solid #f1f5f9}.orders-modal-title{margin:0;font-size:1rem;font-weight:700;color:#0f172a}.orders-modal-subtitle{margin:2px 0 0;font-size:.75rem;color:#64748b}.orders-li-status-canceled{display:inline-block;margin-left:.5rem;padding:2px 8px;border-radius:9999px;background:#fee2e2;color:#b91c1c;font-size:.65rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;line-height:1.4;vertical-align:middle}.orders-modal-close{width:30px;height:30px;border-radius:8px;border:none;background:transparent;color:#64748b;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.orders-modal-close:hover{background:#f1f5f9;color:#0f172a}.orders-modal-body{padding:14px 20px;overflow-y:auto;flex:1}.orders-notes-empty{padding:1.5rem .5rem;text-align:center;color:#64748b;font-size:.875rem}.orders-notes-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.orders-note-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px}.orders-note-text{font-size:.875rem;color:#1e293b;white-space:pre-wrap;line-height:1.45}.orders-note-meta{margin-top:6px;display:flex;gap:8px;font-size:.6875rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em}.orders-notes-footer{border-top:1px solid #f1f5f9;padding:12px 20px 16px;display:flex;flex-direction:column;gap:8px}.orders-notes-footer--info{background:#f8fafc;font-size:.75rem;color:#64748b;line-height:1.5}.orders-notes-input{width:100%;border:1px solid #e2e8f0;border-radius:8px;padding:8px 10px;font-family:inherit;font-size:.875rem;resize:vertical;min-height:60px}.orders-notes-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.orders-notes-save{align-self:flex-end;background:#2563eb;color:#fff;border:none;font-size:.8125rem;font-weight:600;padding:.5rem 1rem;border-radius:8px;cursor:pointer}.orders-notes-save:hover:not(:disabled){background:#1d4ed8}.orders-notes-save:disabled{opacity:.5;cursor:not-allowed}.orders-lineitem-modal{max-width:720px}.orders-lineitem-body{padding:0;overflow-y:auto}.orders-li-section{padding:16px 20px;border-bottom:1px solid #f1f5f9}.orders-li-section:last-child{border-bottom:none}.orders-li-section-title{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#64748b;margin-bottom:10px}.orders-li-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px}.orders-li-cell{display:flex;flex-direction:column;gap:4px;min-width:0}.orders-li-label{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8}.orders-li-value{font-size:.875rem;font-weight:600;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.orders-li-flags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.orders-li-description{margin-top:12px;display:flex;flex-direction:column;gap:4px}.orders-li-description p{margin:0;font-size:.875rem;color:#334155;line-height:1.45}.orders-li-workflow-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px}.orders-li-step-move{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:6px;background:#2563eb;color:#fff;border:1px solid transparent;font-size:.8125rem;font-weight:600;cursor:pointer;font-family:inherit}.orders-li-step-move:hover:not(:disabled){background:#1d4ed8}.orders-li-step-move:disabled{opacity:.5;cursor:not-allowed}.orders-li-step-move--in-card{margin-left:0;padding:4px 10px;font-size:.75rem;width:100%;justify-content:center}.orders-li-workflow-name{font-size:.9375rem;font-weight:700;color:#0f172a}.orders-li-workflow-step{font-size:.8125rem;color:#64748b}.orders-modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 20px;border-top:1px solid #f1f5f9;background:#f8fafc}.orders-li-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;border:1px solid transparent;font-family:inherit}.orders-li-btn--secondary{background:#fff;border-color:#e2e8f0;color:#334155}.orders-li-btn--secondary:hover{background:#f1f5f9}.orders-li-btn--primary{background:#2563eb;color:#fff}.orders-li-btn--primary:hover:not(:disabled){background:#1d4ed8}.orders-li-btn--primary:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 640px){.orders-li-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.orders-li-move-wrap>.modal-backdrop{z-index:1200}.orders-li-nested-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;display:flex;align-items:center;justify-content:center;z-index:1200;padding:1.25rem;animation:orders-fade-in .15s ease}.orders-li-assign-modal{max-width:420px}.orders-li-assign-body{display:flex;flex-direction:column;gap:8px;padding:16px 20px}.orders-li-assign-select{width:100%;padding:9px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;background:#fff;color:#0f172a;font-family:inherit}.orders-li-assign-select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.orders-li-assign-select:disabled{opacity:.6;background:#f8fafc}.orders-li-assign-empty{margin:0;font-size:.8125rem;color:#94a3b8}.li-diagram--embedded{margin-top:0;border-top:none;padding-top:0}.od-page{padding:.8rem;max-width:1200px}.li-diagram{margin-top:.75rem;border-top:1px solid #f1f5f9;padding-top:.5rem}.li-diagram-toggle{display:inline-flex;align-items:center;gap:.5rem;background:transparent;border:none;padding:.375rem .5rem;border-radius:6px;cursor:pointer;color:#1e293b;font-family:inherit}.li-diagram-toggle:hover{background:#f1f5f9}.li-diagram-caret{display:inline-block;font-size:10px;color:#94a3b8;transition:transform .18s ease}.li-diagram-caret--open{transform:rotate(90deg);color:#2563eb}.li-diagram-toggle-label{font-size:.8125rem;font-weight:600}.li-diagram-status{font-size:.6875rem;font-weight:600;padding:2px 8px;border-radius:999px;text-transform:uppercase;letter-spacing:.04em;background:#f1f5f9;color:#475569}.li-diagram-status--in_progress{background:#dbeafe;color:#1d4ed8}.li-diagram-status--completed{background:#dcfce7;color:#15803d}.li-diagram-status--cancelled{background:#fee2e2;color:#b91c1c}.li-diagram-status--assigned{background:#fef3c7;color:#b45309}.li-diagram-step-name{font-size:.75rem;color:#64748b;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.li-diagram-loading,.li-diagram-empty{padding:1rem;font-size:.8125rem;color:#64748b}.od-back-btn{display:inline-flex;align-items:center;gap:.375rem;background:transparent;border:none;color:#64748b;font-size:.875rem;font-weight:500;cursor:pointer;padding:.375rem 0;font-family:inherit;transition:color .15s;margin-bottom:1.25rem}.od-back-btn:hover{color:#1e293b}.od-page-header{display:flex;flex-direction:column;gap:.25rem;margin-bottom:1.5rem}.od-page-title{font-size:1.75rem;font-weight:700;color:#0f172a;margin:0;font-family:monospace}.od-items-count{font-size:.875rem;color:#64748b;font-weight:500}.od-order-meta{display:flex;flex-wrap:wrap;gap:1.5rem;padding:.85rem 1rem;margin-bottom:1.5rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}.od-order-meta-item{display:flex;flex-direction:column;gap:.15rem;min-width:0}.od-order-meta-label{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8}.od-order-meta-value{font-size:.95rem;font-weight:600;color:#0f172a;font-variant-numeric:tabular-nums}.od-not-found{padding:3rem;text-align:center;color:#64748b}.od-no-items{padding:3rem;text-align:center;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.od-line-items{display:flex;flex-direction:column;gap:1rem}.od-line-item-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.25rem;display:flex;flex-direction:column;gap:1rem;transition:box-shadow .15s}.od-line-item-card:hover{box-shadow:0 2px 12px #0000000f}.od-card-top{display:flex;flex-direction:column;gap:.75rem}.od-card-sku-row{display:flex;align-items:center;flex-wrap:wrap;gap:.625rem}.od-card-sku{font-family:monospace;font-size:1rem;font-weight:700;color:#0f172a}.od-card-flags{display:flex;align-items:center;flex-wrap:wrap;gap:.375rem}.od-flag{display:inline-flex;align-items:center;gap:.25rem;padding:.2rem .6rem;border-radius:999px;font-size:.75rem;font-weight:600}.od-flag-print{background:#eff6ff;color:#2563eb}.od-flag-inhouse{background:#f0fdf4;color:#16a34a}.od-flag-approval{background:#fff7ed;color:#c2410c}.od-flag-nameplate{background:#f3e8ff;color:#7c3aed}.od-card-meta{display:flex;flex-wrap:wrap;gap:1.5rem}.od-card-meta-item{display:flex;flex-direction:column;gap:.15rem}.od-card-description{flex:1;min-width:180px}.od-meta-label{font-size:.75rem;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em}.od-meta-value{font-size:.9375rem;color:#334155;font-weight:500}.od-card-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;padding-top:.875rem;border-top:1px solid #f1f5f9}.od-card-workflow{display:flex;align-items:center;gap:.625rem;flex-wrap:wrap}.od-wf-name{font-size:.875rem;font-weight:600;color:#1e293b}.od-wf-step{font-size:.8125rem;color:#64748b;background:#f1f5f9;padding:.2rem .5rem;border-radius:6px}.od-wf-badge{display:inline-flex;align-items:center;padding:.2rem .625rem;border-radius:999px;font-size:.75rem;font-weight:600;white-space:nowrap}.wf-badge-assigned{background:#eff6ff;color:#2563eb}.wf-badge-inprogress{background:#fff7ed;color:#c2410c}.wf-badge-completed{background:#f0fdf4;color:#15803d}.wf-badge-failed{background:#fef2f2;color:#dc2626}.wf-badge-cancelled{background:#f8fafc;color:#64748b}.od-no-workflow{font-size:.875rem;color:#94a3b8;font-style:italic}.od-assign-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.5rem 1rem;background:#2563eb;color:#fff;border:none;border-radius:8px;font-size:.8125rem;font-weight:600;cursor:pointer;font-family:inherit;transition:background .15s;white-space:nowrap}.od-assign-btn:hover:not(:disabled){background:#1d4ed8}.od-assign-btn:disabled{background:#e2e8f0;color:#94a3b8;cursor:not-allowed}.od-assign-btn-reassign:disabled{background:#f0fdf4;color:#15803d}.od-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.od-modal-box{background:#fff;border-radius:14px;box-shadow:0 20px 60px #0000002e;width:100%;max-width:480px;display:flex;flex-direction:column;overflow:hidden}.od-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid #f1f5f9}.od-modal-title{font-size:1rem;font-weight:700;color:#0f172a;margin:0}.od-modal-close{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;color:#94a3b8;border-radius:8px;cursor:pointer;transition:background .15s,color .15s}.od-modal-close:hover{background:#f1f5f9;color:#475569}.od-modal-body{padding:1.25rem 1.5rem}.od-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:.625rem;padding:1rem 1.5rem;border-top:1px solid #f1f5f9}.od-btn-cancel{padding:.5rem 1rem;background:transparent;color:#64748b;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;font-family:inherit;transition:all .15s}.od-btn-cancel:hover{background:#f8fafc}.od-btn-cancel:disabled{opacity:.5;cursor:not-allowed}.od-btn-confirm{padding:.5rem 1.25rem;background:#2563eb;color:#fff;border:none;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;font-family:inherit;transition:background .15s}.od-btn-confirm:hover:not(:disabled){background:#1d4ed8}.od-btn-confirm:disabled{opacity:.5;cursor:not-allowed}.od-assign-modal-body{display:flex;flex-direction:column;gap:1rem}.od-assign-desc{font-size:.9rem;color:#475569;margin:0;line-height:1.5}.od-form-field{display:flex;flex-direction:column;gap:.375rem}.od-form-label{font-size:.8125rem;font-weight:600;color:#374151}.od-form-select{padding:.5625rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9rem;font-family:inherit;color:#1e293b;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s}.od-form-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}@media (max-width: 768px){.od-page{padding:.8rem}.od-card-bottom{flex-direction:column;align-items:flex-start}.od-assign-btn{align-self:flex-end}}.smt-root{border-top:1px solid #f1f5f9;padding-top:.75rem}.smt-header{display:inline-flex;align-items:center;gap:.375rem;margin-bottom:0;background:none;border:none;padding:.25rem .375rem;border-radius:6px;cursor:pointer;color:inherit;transition:background .15s;width:100%}.smt-header:hover{background:#f8fafc}.smt-toggle-icon{display:flex;align-items:center;color:#94a3b8;flex-shrink:0}.smt-header-label{font-size:.7rem;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}.smt-status-badge{display:inline-flex;align-items:center;padding:.1rem .4rem;border-radius:999px;font-size:.65rem;font-weight:600}.smt-status-in_progress{background:#fff7ed;color:#c2410c}.smt-status-completed{background:#f0fdf4;color:#15803d}.smt-status-assigned{background:#eff6ff;color:#2563eb}.smt-status-failed{background:#fef2f2;color:#dc2626}.smt-status-cancelled{background:#f8fafc;color:#64748b}.smt-tree-scroll{overflow-x:auto;overflow-y:visible;padding:.75rem .25rem .5rem;-webkit-overflow-scrolling:touch;position:relative}.smt-tree{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:max-content;padding:4px 2px}.smt-linear-path{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;gap:0;min-width:max-content;padding:6px 2px}.smt-node-wrap,.smt-node-row{display:flex;flex-direction:row;align-items:center}.smt-node-col{display:flex;flex-direction:row;align-items:center;position:relative;flex-shrink:0}.smt-connector-h{height:2px;width:24px;background:#e2e8f0;flex-shrink:0;transition:background .2s}.smt-connector-h.smt-connector-done{background:#22c55e}.smt-node{display:inline-flex;align-items:center;gap:.35rem;padding:.28rem .5rem .28rem .32rem;border-radius:8px;border:1.5px solid #e2e8f0;background:#fff;cursor:default;transition:border-color .15s,box-shadow .15s,background .15s;white-space:nowrap;flex-shrink:0}.smt-node:hover{box-shadow:0 2px 8px #00000012}.smt-node-done{border-color:#22c55e;background:#f0fdf4}.smt-node-done:hover{border-color:#16a34a;box-shadow:0 2px 8px #22c55e24}.smt-node-end-done{border-color:#16a34a;background:#dcfce7;box-shadow:0 0 0 3px #22c55e2e}.smt-node-end-done:hover{border-color:#15803d;box-shadow:0 0 0 3px #22c55e47,0 2px 8px #22c55e2e}.smt-node-end-done .smt-node-dot{background:#16a34a}.smt-node-end-done .smt-node-label{color:#14532d;font-weight:700}.smt-node-end-done .smt-badge-end{background:#bbf7d0;color:#14532d}.smt-node-current{border-color:#3b82f6;background:#eff6ff}.smt-node-current:hover{border-color:#2563eb;box-shadow:0 2px 8px #3b82f624}.smt-node-pending{border-color:#e2e8f0;background:#fff;opacity:.65}.smt-node-dot{width:14px;height:14px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#e2e8f0;transition:background .2s}.smt-node-done .smt-node-dot{background:#22c55e}.smt-node-current .smt-node-dot{background:#3b82f6;position:relative}.smt-node-pending .smt-node-dot{background:#cbd5e1}.smt-node-pulse{width:6px;height:6px;border-radius:50%;background:#fff;animation:smt-pulse 1.8s ease-in-out infinite}@keyframes smt-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.4);opacity:.7}}.smt-node-label{font-size:.72rem;font-weight:600;color:#334155}.smt-node-done .smt-node-label{color:#15803d}.smt-node-current .smt-node-label{color:#1d4ed8}.smt-node-pending .smt-node-label{color:#94a3b8}.smt-node-badge{display:inline-flex;align-items:center;padding:.08rem .3rem;border-radius:999px;font-size:.58rem;font-weight:700;letter-spacing:.03em}.smt-badge-start{background:#eff6ff;color:#2563eb}.smt-badge-end{background:#f0fdf4;color:#15803d}.smt-branches{display:flex;flex-direction:column;align-items:flex-start;gap:8px;position:relative;padding-left:0}.smt-branches.smt-multi:before{content:"";position:absolute;left:11px;top:0;bottom:0;width:2px;background:#e2e8f0;border-radius:1px;pointer-events:none}.smt-branches.smt-multi.smt-spine-done:before{background:#22c55e}.smt-branch{display:flex;flex-direction:row;align-items:center;position:relative}.smt-branch-h-stub{height:2px;width:24px;flex-shrink:0;background:#e2e8f0;transition:background .2s}.smt-branch-h-stub.smt-connector-done{background:#22c55e}.smt-branches.smt-single:before{display:none}.smt-branch-v-wrap,.smt-connector-v{display:none}.smt-loading{padding:.75rem 0 .25rem}.smt-loading-dots{display:flex;gap:4px;align-items:center}.smt-loading-dots span{width:5px;height:5px;border-radius:50%;background:#cbd5e1;animation:smt-dot-bounce 1.2s ease-in-out infinite}.smt-loading-dots span:nth-child(2){animation-delay:.2s}.smt-loading-dots span:nth-child(3){animation-delay:.4s}@keyframes smt-dot-bounce{0%,80%,to{transform:scale(1);opacity:.5}40%{transform:scale(1.3);opacity:1}}.smt-tooltip{position:fixed;z-index:2000;background:#0f172a;color:#f8fafc;border-radius:10px;padding:.625rem .75rem;min-width:180px;max-width:260px;box-shadow:0 8px 32px #00000047;pointer-events:none;font-size:.75rem;line-height:1.5;transition:opacity .12s ease}.smt-tooltip-header{display:flex;align-items:center;gap:.4rem;margin-bottom:.4rem;flex-wrap:wrap}.smt-tooltip-step-name{font-size:.8rem;font-weight:700;color:#fff}.smt-tooltip-current-badge{padding:.08rem .35rem;background:#3b82f6;color:#fff;border-radius:999px;font-size:.6rem;font-weight:700}.smt-tooltip-done-badge{padding:.08rem .35rem;background:#22c55e;color:#fff;border-radius:999px;font-size:.6rem;font-weight:700}.smt-tooltip-body{display:flex;flex-direction:column;gap:.25rem}.smt-tooltip-row{display:flex;gap:.4rem;align-items:baseline}.smt-tooltip-label{font-size:.65rem;font-weight:600;color:#94a3b8;min-width:24px;flex-shrink:0}.smt-tooltip-value{font-size:.73rem;color:#e2e8f0}.smt-tooltip-fields{margin-top:.2rem;display:flex;flex-direction:column;gap:.2rem}.smt-tooltip-field-list{display:flex;flex-direction:column;gap:.15rem;margin-top:.15rem}.smt-tooltip-field-row{display:flex;gap:.3rem;align-items:baseline;flex-wrap:wrap}.smt-tooltip-field-name{font-size:.65rem;color:#94a3b8;font-weight:500}.smt-tooltip-field-name:after{content:":"}.smt-tooltip-field-value{font-size:.7rem;color:#e2e8f0;font-weight:500}.smt-tooltip-pending{font-size:.72rem;color:#64748b;font-style:italic}.smt-loop-overlay{position:absolute;top:0;left:0;pointer-events:none;overflow:visible}.smt-loop-overlay path,.smt-loop-overlay circle{pointer-events:all}.smt-loop-badge{display:inline-flex;align-items:center;gap:.2rem;padding:.08rem .4rem;border-radius:999px;font-size:.6rem;font-weight:700;background:#fff7ed;color:#c2410c;border:1px solid #fed7aa;letter-spacing:.02em}.smt-loop-tooltip{border:1px solid #fed7aa}.smt-loop-tooltip-icon{font-size:.9rem;color:#f97316}.smt-loop-label{color:#f97316!important}.confirm-modal{max-width:420px}.confirm-modal-message{font-size:14px;color:var(--text-secondary, #374151);margin:0 0 24px;line-height:1.6}.btn-danger{padding:8px 18px;background:#ef4444;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s}.btn-danger:hover{background:#dc2626}.system-config{padding:32px;max-width:1400px}.sysconfig-layout{display:grid;grid-template-columns:280px 1fr;gap:24px;margin-top:24px;align-items:start}.sysconfig-sidebar{background:var(--surface, #fff);border:1px solid var(--border, #e5e7eb);border-radius:12px;overflow:hidden}.sysconfig-sidebar-title{padding:14px 16px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted, #6b7280);border-bottom:1px solid var(--border, #e5e7eb);background:var(--surface-alt, #f9fafb)}.sysconfig-sidebar-empty{padding:24px 16px;color:var(--text-muted, #6b7280);font-size:13px;text-align:center}.client-list{list-style:none;margin:0;padding:0}.client-list-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;cursor:pointer;border-bottom:1px solid var(--border, #e5e7eb);transition:background .15s;gap:8px}.client-list-item:last-child{border-bottom:none}.client-list-item:hover{background:var(--surface-alt, #f9fafb)}.client-list-item.active{background:#eff6ff;border-left:3px solid #2563eb}.client-list-item.suspended{opacity:.6}.client-list-item-body{display:flex;flex-direction:column;gap:4px;min-width:0}.client-list-name{font-size:14px;font-weight:500;color:var(--text-primary, #111827);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.badge-suspended{background:#fef3c7;color:#92400e;font-size:10px;padding:2px 6px;border-radius:99px;font-weight:600;width:fit-content}.btn-suspend{flex-shrink:0;width:28px;height:28px;border:1px solid var(--border, #e5e7eb);border-radius:6px;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#ef4444;transition:all .15s}.btn-suspend:hover{background:#fee2e2;border-color:#ef4444}.btn-activate{color:#16a34a}.btn-activate:hover{background:#dcfce7;border-color:#16a34a}.sysconfig-detail{min-height:400px}.sysconfig-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;gap:16px;color:var(--text-muted, #6b7280);background:var(--surface, #fff);border:1px solid var(--border, #e5e7eb);border-radius:12px;padding:48px}.sysconfig-empty-icon{color:#d1d5db}.sysconfig-empty p{font-size:14px;text-align:center}.client-detail{background:var(--surface, #fff);border:1px solid var(--border, #e5e7eb);border-radius:12px;overflow:hidden}.client-detail-header{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--border, #e5e7eb);background:var(--surface-alt, #f9fafb)}.client-detail-name{font-size:18px;font-weight:600;color:var(--text-primary, #111827);margin:0 0 4px}.client-detail-desc{font-size:13px;color:var(--text-muted, #6b7280);margin:0}.client-detail .tab-bar{padding:0 24px;border-bottom:1px solid var(--border, #e5e7eb);margin-bottom:0}.client-detail .tab-content{padding:24px}.panel-header-row{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px;gap:16px}.panel-section-title{font-size:15px;font-weight:600;color:var(--text-primary, #111827);margin:0}.settings-form{max-width:480px}.new-key-banner{background:#f0fdf4;border:1px solid #86efac;border-radius:10px;padding:16px;margin-bottom:20px}.new-key-banner-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.new-key-banner-title{font-size:13px;font-weight:700;color:#15803d}.new-key-warning{font-size:12px;color:#166534;margin:0 0 10px}.new-key-display{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #86efac;border-radius:8px;padding:10px 12px}.new-key-value{font-family:Courier New,monospace;font-size:13px;color:#166534;word-break:break-all;flex:1}.btn-copy{flex-shrink:0;padding:4px 12px;background:#16a34a;color:#fff;border:none;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;transition:background .15s}.btn-copy:hover{background:#15803d}.btn-revoke{padding:4px 10px;background:transparent;color:#ef4444;border:1px solid #ef4444;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;transition:all .15s}.btn-revoke:hover{background:#fee2e2}.users-table-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px}.btn-icon-danger{color:#ef4444}.btn-icon-danger:hover{border-color:#ef4444;color:#ef4444;background:#fee2e2}.icon-trash{font-size:14px;line-height:1;display:block}.row-revoked td{opacity:.5}.ip-code{font-family:Courier New,monospace;font-size:13px;background:#f3f4f6;padding:2px 6px;border-radius:4px}.text-muted{color:var(--text-muted, #9ca3af);font-size:13px}@media (max-width: 900px){.sysconfig-layout{grid-template-columns:1fr}}.rule-config-page{padding:.8rem;max-width:1100px;width:100%}.rule-config-page .rule-config-tabs{display:flex;gap:.5rem;padding:.75rem 0 0;border-bottom:1px solid #e2e8f0;margin-bottom:1rem}.rule-config-page .rule-config-tab{padding:.5rem 1rem;border:none;background:none;font-size:.875rem;font-weight:600;color:#64748b;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}.rule-config-page .rule-config-tab.active{color:#2563eb;border-bottom-color:#2563eb}.rule-config-page .rule-config-combinations{padding:0}.rule-config-page .rule-config-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.rule-config-page .rule-config-table th{text-align:left;padding:.5rem .875rem;font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e2e8f0;background:#f8fafc}.rule-config-page .rule-config-table td{padding:.5rem .875rem;font-size:.875rem;color:#334155;border-bottom:1px solid #f1f5f9}.rule-config-page .rule-config-table tbody tr:last-child td{border-bottom:none}.rule-config-page .rule-config-panel{padding:0}.rule-config-page .rule-config-form .form-group{display:flex;flex-direction:column;gap:.5rem}.rule-config-page .rule-config-form input,.rule-config-page .rule-config-form select{padding:.75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;font-family:inherit;background:#fff}.rule-config-page .rule-config-form input:focus,.rule-config-page .rule-config-form select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.rule-config-page .form-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:1rem}.rule-config-page .rule-config-active{align-items:flex-start}.rule-config-page .rule-config-actions{margin-top:1.5rem;display:flex;justify-content:flex-end;gap:.75rem}.rule-config-page .rule-config-toggle{position:relative;display:inline-block;width:44px;height:24px}.rule-config-page .rule-config-toggle input{opacity:0;width:0;height:0}.rule-config-page .rule-config-toggle-slider{position:absolute;cursor:pointer;top:0;right:0;bottom:0;left:0;background-color:#e2e8f0;border-radius:24px;transition:.2s}.rule-config-page .rule-config-toggle-slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;top:3px;background-color:#fff;border-radius:50%;transition:.2s;box-shadow:0 2px 6px #0f172a33}.rule-config-page .rule-config-toggle input:checked+.rule-config-toggle-slider{background-color:#3b82f6}.rule-config-page .rule-config-toggle input:checked+.rule-config-toggle-slider:before{transform:translate(20px)}.rule-config-page .rule-config-empty-state{height:100%;min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem;gap:.75rem}.rule-config-page .rule-config-empty-state h3{margin:0;font-size:1.125rem;color:#1e293b}.rule-config-page .rule-config-empty-state p{margin:0;color:#64748b;font-size:.875rem;max-width:420px}.rule-config-select{padding:.45rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;font-family:inherit;color:#475569;background:#f8fafc;cursor:pointer;outline:none;transition:border-color .15s,box-shadow .15s}.rule-config-select:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.rule-config-page .modal-box select.rule-config-select{appearance:auto;-webkit-appearance:auto;-moz-appearance:auto;background-image:none;box-shadow:none;height:auto;padding-right:.75rem}.rule-config-page .tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;font-size:.7rem;font-weight:700;background:#e2e8f0;color:#64748b;margin-left:6px}.rule-config-page .rule-config-tab.active .tab-count{background:#dbeafe;color:#2563eb}.rule-name-cell{font-weight:600;color:#1e293b}.rule-combos-list{display:flex;flex-direction:column;gap:.375rem}.rule-flags{display:flex;flex-wrap:wrap;gap:4px}.rule-combo-multiselect-wrap{position:relative}.rule-combo-trigger{cursor:pointer}.rule-combo-dropdown{max-height:220px}.rule-combo-dropdown .multiselect-options{max-height:200px;overflow-y:auto}.rule-combo-dropdown .option-name{font-size:.75rem}.rule-flag-tag{display:inline-flex;align-items:center;padding:2px 7px;border-radius:4px;font-size:.72rem;font-weight:500;white-space:nowrap}.rule-flag-tag--yes{background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0}.rule-flag-tag--no{background:#f8fafc;color:#94a3b8;border:1px solid #e2e8f0}.rule-workflow-name{font-size:.875rem;color:#334155;font-weight:500}.rule-unassigned{color:#94a3b8;font-size:.875rem}.rule-priority-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:4px;font-size:.75rem;font-weight:600;background:#f1f5f9;color:#475569}.rule-status-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:20px;font-size:.75rem;font-weight:600}.rule-status-badge--active{background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0}.rule-status-badge--inactive{background:#fff7ed;color:#ea580c;border:1px solid #fed7aa}.rule-status-badge--none{background:#f8fafc;color:#94a3b8;border:1px solid #e2e8f0}.rule-actions-cell{text-align:right;white-space:nowrap}.btn-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#64748b;cursor:pointer;transition:background .15s,border-color .15s,color .15s;margin-left:4px}.btn-icon:hover{background:#f1f5f9;border-color:#cbd5e1;color:#1e293b}.btn-icon--danger:hover{background:#fef2f2;border-color:#fca5a5;color:#dc2626}.rule-flag-cell{display:inline-flex;align-items:center;gap:5px;font-size:.875rem;font-weight:500}.rule-flag-cell--yes{color:#16a34a}.rule-flag-cell--no{color:#94a3b8}.rule-config-page .modal-box{max-width:600px}@media (max-width: 960px){.rule-config-page .form-row{grid-template-columns:1fr}}.printing-calculator-page{padding:.7rem 1rem 1rem;max-width:1200px;width:100%;margin:0 auto;box-sizing:border-box}.printing-calculator-page .page-header{margin-bottom:.6rem}.printing-calculator-page .page-header h1{margin:0;font-size:1.25rem;font-weight:700;color:#0f172a;letter-spacing:-.01em}.printing-calculator-page .page-header p{margin:.15rem 0 0;font-size:.8rem;color:#64748b}.printing-calculator-page .pcalc-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:.7rem;align-items:flex-start}.printing-calculator-page .pcalc-grid>*{min-width:0}@media (max-width: 960px){.printing-calculator-page .pcalc-grid{grid-template-columns:1fr}}.printing-calculator-page .pcalc-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.7rem .85rem .85rem;box-shadow:0 1px 2px #0f172a08}.printing-calculator-page .pcalc-card+.pcalc-card{margin-top:.55rem}.printing-calculator-page .pcalc-card-title{margin:0 0 .5rem;font-size:.8125rem;font-weight:700;color:#0f172a;text-transform:uppercase;letter-spacing:.04em}.printing-calculator-page .pcalc-card.expandable{padding:0;overflow:hidden}.printing-calculator-page .pcalc-card.step-style{padding:0;border:1px solid #e2e8f0;border-radius:10px;background:#fff;box-shadow:none;overflow:visible;transition:border-color .2s}.printing-calculator-page .pcalc-card.step-style.is-open{border-color:#93c5fd}.printing-calculator-page .pcalc-card.step-style .pcalc-card-header{padding:.4rem .75rem;border-radius:10px}.printing-calculator-page .pcalc-card.step-style .pcalc-card-header:hover{background:#f8fafc}.printing-calculator-page .pcalc-card.step-style .pcalc-card-title{font-size:.8125rem;font-weight:600;color:#1e293b;text-transform:none;letter-spacing:0;margin:0;flex-shrink:0}.printing-calculator-page .pcalc-step-badge{width:22px;height:22px;border-radius:50%;background:#e2e8f0;color:#475569;font-size:.6875rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .15s,color .15s}.printing-calculator-page .pcalc-card.step-style.is-open .pcalc-step-badge{background:#3b82f6;color:#fff}.printing-calculator-page .pcalc-card.step-style .pcalc-card-summary{flex:1;text-align:right;margin-right:.25rem}.printing-calculator-page .pcalc-card.step-style .pcalc-step-arrow{font-size:.75rem;color:#94a3b8;flex-shrink:0}.printing-calculator-page .pcalc-card.step-style .pcalc-card-body,.printing-calculator-page .pcalc-card.step-style .pcalc-card-body-empty{padding:.45rem .75rem .55rem;border-top:1px solid #f1f5f9;animation:pcalc-fadeIn .2s ease}.printing-calculator-page .pcalc-toggle-pill{display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .6rem;border-radius:999px;border:1px solid #cbd5e1;background:#fff;font-size:.7rem;font-weight:600;color:#334155;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}.printing-calculator-page .pcalc-toggle-pill:hover{background:#f1f5f9;border-color:#94a3b8}.printing-calculator-page .pcalc-toggle-pill.is-open{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.printing-calculator-page .pcalc-toggle-pill .pcalc-pill-arrow{font-size:.65rem;line-height:1}.printing-calculator-page .pcalc-card-header{display:flex;align-items:center;gap:.5rem;padding:.45rem .75rem;width:100%;background:none;border:none;cursor:pointer;text-align:left;font:inherit;color:inherit;border-radius:12px;transition:background .15s ease}.printing-calculator-page .pcalc-card-header:hover{background:#f8fafc}.printing-calculator-page .pcalc-card-header:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}.printing-calculator-page .pcalc-card-header .pcalc-card-title{margin:0;flex:1}.printing-calculator-page .pcalc-card-summary{font-size:.75rem;font-weight:500;color:#64748b;letter-spacing:0;text-transform:none}.printing-calculator-page .pcalc-card-chevron{width:14px;height:14px;color:#64748b;transition:transform .2s ease;flex-shrink:0}.printing-calculator-page .pcalc-card-chevron.open{transform:rotate(180deg)}.printing-calculator-page .pcalc-switch{position:relative;display:inline-flex;width:32px;height:18px;flex-shrink:0}.printing-calculator-page .pcalc-switch input{opacity:0;width:0;height:0}.printing-calculator-page .pcalc-switch-slider{position:absolute;top:0;right:0;bottom:0;left:0;background:#cbd5e1;border-radius:18px;cursor:pointer;transition:background .15s ease}.printing-calculator-page .pcalc-switch-slider:before{content:"";position:absolute;height:12px;width:12px;left:3px;bottom:3px;background:#fff;border-radius:50%;transition:transform .15s ease;box-shadow:0 1px 2px #0f172a2e}.printing-calculator-page .pcalc-switch input:checked+.pcalc-switch-slider{background:#2563eb}.printing-calculator-page .pcalc-switch input:checked+.pcalc-switch-slider:before{transform:translate(14px)}.printing-calculator-page .pcalc-card-body{padding:0 .75rem .65rem;animation:pcalc-fadeIn .18s ease}.printing-calculator-page .pcalc-card-body-empty{padding:0 .75rem .55rem;font-size:.78rem;color:#94a3b8}@keyframes pcalc-fadeIn{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}.printing-calculator-page .pcalc-grid-2,.printing-calculator-page .pcalc-grid-3{display:grid;gap:.625rem .75rem}.printing-calculator-page .pcalc-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.printing-calculator-page .pcalc-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width: 640px){.printing-calculator-page .pcalc-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 460px){.printing-calculator-page .pcalc-grid-2,.printing-calculator-page .pcalc-grid-3{grid-template-columns:1fr}}.printing-calculator-page .pcalc-form-group{display:flex;flex-direction:column;gap:.375rem;min-width:0}.printing-calculator-page .pcalc-form-group label{font-size:.6875rem;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.04em}.printing-calculator-page .pcalc-form-group input,.printing-calculator-page .pcalc-form-group select{width:100%;box-sizing:border-box;padding:.5rem .75rem;font-size:.875rem;font-family:inherit;color:#0f172a;border:1px solid #cbd5e1;border-radius:8px;background:#fff;transition:border-color .15s,box-shadow .15s,background .15s;min-width:0}.printing-calculator-page .pcalc-form-group input::placeholder{color:#cbd5e1}.printing-calculator-page .pcalc-form-group input:hover,.printing-calculator-page .pcalc-form-group select:hover{border-color:#94a3b8}.printing-calculator-page .pcalc-form-group input:focus,.printing-calculator-page .pcalc-form-group select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.printing-calculator-page .pcalc-form-group input:disabled,.printing-calculator-page .pcalc-form-group select:disabled{background:#f1f5f9;color:#94a3b8;cursor:not-allowed;border-color:#e2e8f0}.printing-calculator-page .pcalc-form-group input:disabled:hover,.printing-calculator-page .pcalc-form-group select:disabled:hover{border-color:#e2e8f0}.printing-calculator-page .pcalc-field-hint{margin-top:.2rem;font-size:.7rem;color:#94a3b8;font-style:italic}.printing-calculator-page .pcalc-form-group input[type=number]{-moz-appearance:textfield}.printing-calculator-page .pcalc-toggle-row{display:flex;align-items:center;gap:.625rem}.printing-calculator-page .pcalc-foiling-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;margin-top:.4rem}@media (max-width: 720px){.printing-calculator-page .pcalc-foiling-grid{grid-template-columns:1fr}}.printing-calculator-page .pcalc-foiling-grid.single-col{grid-template-columns:1fr}.printing-calculator-page .pcalc-foiling-row{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1.2fr);gap:.4rem;align-items:center;padding:.3rem .45rem;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;min-width:0}.printing-calculator-page .pcalc-foiling-row.with-coverage{grid-template-columns:auto minmax(110px,max-content) minmax(140px,1fr) auto;column-gap:.55rem}.printing-calculator-page .pcalc-foiling-row .pcalc-foiling-name{font-size:.85rem;color:#334155;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.printing-calculator-page .pcalc-foiling-row .pcalc-foiling-qty{width:72px;padding:.3rem .5rem;font-size:.78rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;text-align:right}.printing-calculator-page .pcalc-foiling-row .pcalc-foiling-qty:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.printing-calculator-page .pcalc-foiling-row:hover{background:#f1f5f9}.printing-calculator-page .pcalc-foiling-row>*{min-width:0}.printing-calculator-page .pcalc-foiling-row input[type=checkbox]{width:16px;height:16px;accent-color:#2563eb;cursor:pointer}.printing-calculator-page .pcalc-foiling-row select{width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:.32rem 1.65rem .32rem .6rem;font-size:.8rem;line-height:1.25;border:1px solid #cbd5e1;border-radius:6px;background-color:#fff;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2364748b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 4.5 6 7.5 9 4.5'/></svg>");background-repeat:no-repeat;background-position:right .5rem center;background-size:10px 10px;color:#0f172a;font-family:inherit;appearance:none;-webkit-appearance:none;-moz-appearance:none;text-overflow:ellipsis;cursor:pointer}.printing-calculator-page .pcalc-foiling-row select option{font-size:.82rem;color:#0f172a}.printing-calculator-page .pcalc-foiling-row select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.printing-calculator-page .pcalc-foiling-row.disabled{background:#fff}.printing-calculator-page .pcalc-foiling-row.disabled select{opacity:.55;cursor:not-allowed}.printing-calculator-page .pcalc-dtp-grid{display:flex;flex-wrap:wrap;gap:.4rem}.printing-calculator-page .pcalc-dtp-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .7rem;border:1px solid #cbd5e1;border-radius:9999px;font-size:.75rem;font-weight:500;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fff;color:#334155;transition:background .12s,border-color .12s,color .12s}.printing-calculator-page .pcalc-dtp-chip:hover{background:#f1f5f9;border-color:#94a3b8}.printing-calculator-page .pcalc-dtp-chip.selected{background:#2563eb;border-color:#2563eb;color:#fff}.printing-calculator-page .pcalc-dtp-chip.selected:hover{background:#1d4ed8;border-color:#1d4ed8}.printing-calculator-page .pcalc-dtp-chip input{display:none}.printing-calculator-page .pcalc-print-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}@media (max-width: 600px){.printing-calculator-page .pcalc-print-types{grid-template-columns:1fr}}.printing-calculator-page .pcalc-print-type-card{position:relative;display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.625rem .875rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;cursor:pointer;font-size:.8125rem;font-weight:500;color:#334155;min-width:0;transition:border-color .12s,background .12s,box-shadow .12s}.printing-calculator-page .pcalc-print-type-card:hover:not(.disabled):not(.selected){border-color:#94a3b8;background:#f8fafc}.printing-calculator-page .pcalc-print-type-card.selected{border-color:#2563eb;background:#eff6ff;color:#1d4ed8;font-weight:600;box-shadow:0 0 0 1px #2563eb inset}.printing-calculator-page .pcalc-print-type-card.disabled{cursor:not-allowed;background:#f8fafc;color:#94a3b8}.printing-calculator-page .pcalc-coming-soon{font-size:.625rem;background:#f1f5f9;color:#94a3b8;padding:.1rem .45rem;border-radius:9999px;text-transform:uppercase;letter-spacing:.05em}.printing-calculator-page .pcalc-result{position:sticky;top:1rem}@media (max-width: 960px){.printing-calculator-page .pcalc-result{position:static}}.printing-calculator-page .pcalc-result-card{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;border-radius:12px;padding:1.125rem 1.25rem 1.25rem;box-shadow:0 4px 16px #2563eb2e}.printing-calculator-page .pcalc-result-label{margin:0;font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.85}.printing-calculator-page .pcalc-result-final{font-size:1.875rem;font-weight:700;margin:.35rem 0 .5rem;letter-spacing:-.01em;font-variant-numeric:tabular-nums}.printing-calculator-page .pcalc-result-meta{font-size:.75rem;opacity:.85;margin-bottom:.875rem;font-variant-numeric:tabular-nums}.printing-calculator-page .pcalc-breakdown{display:flex;flex-direction:column}.printing-calculator-page .pcalc-breakdown-row{display:flex;justify-content:space-between;gap:.75rem;padding:.35rem 0;border-bottom:1px solid rgba(255,255,255,.18);font-size:.8125rem;font-variant-numeric:tabular-nums}.printing-calculator-page .pcalc-breakdown-row>:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.printing-calculator-page .pcalc-breakdown-row>:last-child{flex-shrink:0;font-weight:600}.printing-calculator-page .pcalc-breakdown-row:last-child{border-bottom:none}.printing-calculator-page .pcalc-breakdown-row.muted{opacity:.7;font-size:.75rem}.printing-calculator-page .pcalc-result-empty{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:1.5rem 1rem;text-align:center;color:#64748b;font-size:.8125rem}.printing-calculator-page .pcalc-actions{display:flex;gap:.5rem;margin-top:.875rem}.printing-calculator-page .pcalc-actions button{flex:1;padding:.55rem .875rem;font-size:.8125rem;font-weight:600}.printing-calculator-page .pcalc-actions .btn-cancel{flex:0 0 auto;min-width:88px}.printing-calculator-page .pcalc-warning{margin-top:.5rem;padding:.5rem .75rem;background:#fef3c7;color:#92400e;border:1px solid #fde68a;border-radius:8px;font-size:.78rem;line-height:1.4}.printing-calculator-page .pcalc-info{margin-top:.35rem;padding:.4rem .65rem;background:#eef2ff;color:#3730a3;border:1px solid #e0e7ff;border-radius:8px;font-size:.74rem;line-height:1.35}.printing-calculator-page .pcalc-sku-status{margin-top:.4rem;padding:.45rem .7rem;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:8px;font-size:.76rem;line-height:1.4}.printing-calculator-page .pcalc-sku-status--found{background:#ecfdf5;color:#065f46;border-color:#a7f3d0}.printing-calculator-page .pcalc-sku-status--unknown{background:#fff7ed;color:#9a3412;border-color:#fed7aa}.printing-calculator-page .pcalc-sku-input-wrap{position:relative}.printing-calculator-page .pcalc-sku-input-wrap input{width:100%;box-sizing:border-box}.printing-calculator-page .pcalc-sku-dropdown{position:absolute;top:calc(100% + 2px);left:0;right:0;z-index:50;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 8px 24px -10px #0f172a2e;padding:.2rem}.printing-calculator-page .pcalc-sku-item{display:flex;align-items:center;gap:.5rem;padding:.4rem .6rem;border-radius:6px;cursor:pointer;font-size:.82rem;color:#0f172a}.printing-calculator-page .pcalc-sku-item.is-active,.printing-calculator-page .pcalc-sku-item:hover{background:#eff6ff}.printing-calculator-page .pcalc-sku-item-code{font-weight:700}.printing-calculator-page .pcalc-sku-item-name{flex:1;min-width:0;color:#475569;font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.printing-calculator-page .pcalc-sku-item-badge{font-size:.66rem;font-weight:600;padding:.1rem .5rem;border-radius:999px;background:#f1f5f9;color:#475569;white-space:nowrap}.printing-calculator-page .pcalc-sku-item-badge.is-bombay{background:#ede9fe;color:#5b21b6}.printing-calculator-page .pcalc-sku-item-badge.is-non-bombay{background:#e0f2fe;color:#075985}.printing-calculator-page .pcalc-sku-empty{padding:.55rem .7rem;font-size:.78rem;color:#94a3b8}.printing-config-page{padding:.6rem;max-width:1100px;width:100%}.printing-config-page .pc-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.85rem;margin-top:.6rem}.printing-config-page .pc-section-title{margin:0 0 .5rem;font-size:.9rem;font-weight:700;color:#0f172a}.printing-config-page .pc-section-header{display:flex;justify-content:space-between;align-items:center;gap:.4rem;margin-bottom:.3rem}.printing-config-page .pc-section-header .pc-section-title{margin:0}.printing-config-page .pc-section-subtitle{margin:0 0 .55rem;font-size:.78rem;color:#64748b}.printing-config-page .pc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.55rem}.printing-config-page .pc-form-group{display:flex;flex-direction:column;gap:.3rem}.printing-config-page .pc-form-group label{font-size:.78rem;font-weight:600;color:#334155}.printing-config-page .pc-form-group input,.printing-config-page .pc-form-group select{padding:.4rem .6rem;font-size:.85rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.printing-config-page .pc-form-group input:focus,.printing-config-page .pc-form-group select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.printing-config-page .pc-slabs-table{width:100%;border-collapse:collapse}.printing-config-page .pc-slabs-table th{text-align:left;padding:.3rem .45rem;font-size:.7rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e2e8f0}.printing-config-page .pc-slabs-table td{padding:.32rem .45rem;border-bottom:1px solid #f1f5f9;vertical-align:middle}.printing-config-page .pc-slabs-table input,.printing-config-page .pc-slabs-table select{width:100%;padding:.3rem .45rem;font-size:.82rem;border:1px solid #cbd5e1;border-radius:6px;box-sizing:border-box}.printing-config-page .pc-add-slab-btn{margin-top:.5rem;padding:.4rem .7rem;background:#fff;border:1px dashed #cbd5e1;border-radius:8px;font-size:.85rem;color:#475569;cursor:pointer}.printing-config-page .pc-add-slab-btn:hover{border-color:#2563eb;color:#2563eb}.printing-config-page .pc-remove-slab{background:none;border:none;color:#b91c1c;cursor:pointer;font-size:1rem}.printing-config-page .pc-toggle{position:relative;display:inline-block;width:36px;height:20px}.printing-config-page .pc-toggle input{opacity:0;width:0;height:0}.printing-config-page .pc-toggle-slider{position:absolute;cursor:pointer;top:0;right:0;bottom:0;left:0;background:#cbd5e1;border-radius:20px;transition:.2s}.printing-config-page .pc-toggle-slider:before{content:"";position:absolute;height:14px;width:14px;left:3px;bottom:3px;background:#fff;border-radius:50%;transition:.2s}.printing-config-page .pc-toggle input:checked+.pc-toggle-slider{background:#2563eb}.printing-config-page .pc-toggle input:checked+.pc-toggle-slider:before{transform:translate(16px)}.printing-config-page .pc-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}.printing-config-page .pc-empty-slabs{padding:1rem;text-align:center;color:#94a3b8;font-size:.85rem;border:1px dashed #e2e8f0;border-radius:8px}.printing-config-page .pc-inline-edit{display:flex;align-items:center;gap:.5rem}.printing-config-page .pc-inline-edit input{flex:1;min-width:0}.printing-config-page .pc-inline-btn{padding:.45rem .85rem;font-size:.8rem;font-weight:600;border-radius:6px;white-space:nowrap;cursor:pointer;border:1px solid transparent}.printing-config-page .pc-inline-btn:disabled{opacity:.6;cursor:not-allowed}.printing-config-page .pc-inline-btn-primary{background:#2563eb;color:#fff;border-color:#2563eb}.printing-config-page .pc-inline-btn-primary:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8}.printing-config-page .pc-inline-btn-ghost{background:#fff;color:#334155;border-color:#cbd5e1}.printing-config-page .pc-inline-btn-ghost:hover:not(:disabled){border-color:#94a3b8;color:#0f172a}.printing-config-page .pc-readonly-value{flex:1;padding:.55rem .75rem;font-size:.875rem;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#0f172a;min-width:0}.printing-charges-page{padding:.6rem;max-width:1200px;width:100%}.printing-charges-page .pcg-tabs{display:flex;gap:.4rem;padding:.4rem 0 0;border-bottom:1px solid #e2e8f0;margin-bottom:.2rem;flex-wrap:wrap}.printing-charges-page .pcg-tab{padding:.4rem .85rem;border:none;background:none;font-size:.85rem;font-weight:600;color:#64748b;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}.printing-charges-page .pcg-tab.active{color:#2563eb;border-bottom-color:#2563eb}.printing-charges-page .pcg-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.85rem;margin-top:.6rem}.printing-charges-page .pcg-section-header{display:flex;align-items:center;justify-content:space-between;gap:.4rem;margin-bottom:.3rem}.printing-charges-page .pcg-section-title{margin:0;font-size:.9rem;font-weight:700;color:#0f172a}.printing-charges-page .pcg-empty{padding:.65rem;text-align:center;color:#94a3b8;font-size:.82rem;border:1px dashed #e2e8f0;border-radius:8px}.printing-charges-page .pcg-item{border:1px solid #e2e8f0;border-radius:10px;padding:.55rem .8rem;margin-top:.4rem;background:#fff}.printing-charges-page .pcg-item.child{margin-left:1.25rem;background:#f8fafc}.printing-charges-page .pcg-item.is-open{border-color:#93c5fd}.printing-charges-page .pcg-item-summary{font-size:.72rem;font-weight:500;color:#64748b;white-space:nowrap}.printing-charges-page .pcg-children{margin-top:.5rem;padding-top:.4rem;border-top:1px dashed #e2e8f0;animation:pcg-fadeIn .18s ease}@keyframes pcg-fadeIn{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}.printing-charges-page .pcg-toggle-pill{display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .6rem;border-radius:999px;border:1px solid #cbd5e1;background:#fff;font-size:.7rem;font-weight:600;color:#334155;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}.printing-charges-page .pcg-toggle-pill:hover{background:#f1f5f9;border-color:#94a3b8}.printing-charges-page .pcg-toggle-pill.is-open{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.printing-charges-page .pcg-toggle-pill .pcg-pill-arrow{font-size:.65rem;line-height:1}.printing-charges-page .pcg-item-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.printing-charges-page .pcg-item-row input[type=text]{flex:1;min-width:160px;padding:.5rem .7rem;font-size:.875rem;border:1px solid #cbd5e1;border-radius:8px}.printing-charges-page .pcg-item-row input[type=number]{width:90px;padding:.5rem .7rem;font-size:.875rem;border:1px solid #cbd5e1;border-radius:8px}.printing-charges-page .pcg-slabs{margin-top:.6rem;padding-top:.5rem;border-top:1px dashed #e2e8f0}.printing-charges-page .pcg-slabs-table{width:100%;border-collapse:collapse}.printing-charges-page .pcg-slabs-table th{text-align:left;font-size:.7rem;font-weight:700;color:#64748b;padding:.35rem .5rem;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e2e8f0}.printing-charges-page .pcg-slabs-table td{padding:.35rem .5rem;border-bottom:1px solid #f1f5f9}.printing-charges-page .pcg-slabs-table input{width:100%;padding:.4rem .55rem;font-size:.85rem;border:1px solid #cbd5e1;border-radius:6px;box-sizing:border-box}.printing-charges-page .pcg-add-btn{padding:.5rem .9rem;background:#fff;border:1px dashed #cbd5e1;border-radius:8px;font-size:.85rem;color:#475569;cursor:pointer}.printing-charges-page .pcg-add-btn:hover{border-color:#2563eb;color:#2563eb}.printing-charges-page .pcg-btn{padding:.45rem .85rem;font-size:.8rem;font-weight:600;border-radius:6px;cursor:pointer;border:1px solid transparent;white-space:nowrap}.printing-charges-page .pcg-btn:disabled{opacity:.6;cursor:not-allowed}.printing-charges-page .pcg-btn-primary{background:#2563eb;color:#fff;border-color:#2563eb}.printing-charges-page .pcg-btn-primary:hover:not(:disabled){background:#1d4ed8}.printing-charges-page .pcg-btn-ghost{background:#fff;color:#334155;border-color:#cbd5e1}.printing-charges-page .pcg-btn-ghost:hover:not(:disabled){border-color:#94a3b8;color:#0f172a}.printing-charges-page .pcg-btn-danger{background:none;color:#b91c1c;border:none;font-size:1rem;cursor:pointer}.printing-charges-page .pcg-toggle{position:relative;display:inline-block;width:36px;height:20px}.printing-charges-page .pcg-toggle input{opacity:0;width:0;height:0}.printing-charges-page .pcg-toggle-slider{position:absolute;cursor:pointer;top:0;right:0;bottom:0;left:0;background:#cbd5e1;border-radius:20px;transition:.2s}.printing-charges-page .pcg-toggle-slider:before{content:"";position:absolute;height:14px;width:14px;left:3px;bottom:3px;background:#fff;border-radius:50%;transition:.2s}.printing-charges-page .pcg-toggle input:checked+.pcg-toggle-slider{background:#2563eb}.printing-charges-page .pcg-toggle input:checked+.pcg-toggle-slider:before{transform:translate(16px)}.master-sku-page{padding:.6rem;max-width:1200px;width:100%}.master-sku-page .msku-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;margin:.4rem 0 .6rem}.master-sku-page .msku-toolbar-left,.master-sku-page .msku-toolbar-right{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.master-sku-page .msku-search{flex:1;min-width:220px;padding:.5rem .7rem;font-size:.85rem;border:1px solid #cbd5e1;border-radius:8px}.master-sku-page .msku-filter{padding:.45rem .6rem;font-size:.82rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155}.master-sku-page .msku-list-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.4rem 0;margin-top:.6rem;overflow:hidden}.master-sku-page .msku-table{width:100%;border-collapse:collapse;font-size:.85rem}.master-sku-page .msku-table th{text-align:left;font-size:.72rem;font-weight:700;color:#64748b;padding:.6rem .8rem;text-transform:uppercase;letter-spacing:.05em;background:#f8fafc;border-bottom:1px solid #e2e8f0;white-space:nowrap}.master-sku-page .msku-table td{padding:.55rem .8rem;border-bottom:1px solid #f1f5f9;color:#0f172a;vertical-align:middle}.master-sku-page .msku-table tr:last-child td{border-bottom:none}.master-sku-page .msku-row-actions{display:flex;gap:.4rem;justify-content:flex-end}.master-sku-page .msku-empty{padding:1rem;text-align:center;color:#94a3b8;font-size:.85rem}.master-sku-page .msku-badge{display:inline-block;padding:.15rem .55rem;border-radius:999px;font-size:.7rem;font-weight:600;background:#f1f5f9;color:#334155}.master-sku-page .msku-badge--bombay{background:#ede9fe;color:#5b21b6}.master-sku-page .msku-badge--non-bombay{background:#e0f2fe;color:#075985}.master-sku-page .msku-badge--inactive{background:#fee2e2;color:#991b1b}.master-sku-page .msku-modal-body{display:grid;grid-template-columns:1fr 1fr;gap:.6rem .8rem;padding:.4rem 1.1rem}.master-sku-page .msku-modal-body .form-group--full{grid-column:1 / -1}.master-sku-page .msku-modal-body label{font-size:.78rem;color:#475569;font-weight:600}.master-sku-page .msku-modal-body input,.master-sku-page .msku-modal-body select{width:100%;padding:.5rem .7rem;font-size:.85rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;box-sizing:border-box}.master-sku-page .msku-upload-input{display:none}.master-sku-page .msku-upload-summary{margin:.4rem 1.1rem;padding:.6rem .8rem;border-radius:8px;background:#f8fafc;font-size:.85rem;color:#0f172a}.master-sku-page .msku-upload-errors{margin:0 1.1rem .6rem;max-height:220px;overflow-y:auto;border:1px solid #fee2e2;border-radius:8px;padding:.5rem .7rem;font-size:.78rem;color:#7f1d1d;background:#fff7f7}.master-sku-page .msku-upload-errors ul{margin:0;padding-left:1.1rem}.master-sku-page .msku-upload-errors li{margin-bottom:.2rem}.master-sku-page .msku-upload-warnings{margin:0 1.1rem .6rem;max-height:220px;overflow-y:auto;border:1px solid #fde68a;border-radius:8px;padding:.5rem .7rem;font-size:.78rem;color:#78350f;background:#fffbeb}.master-sku-page .msku-upload-warnings ul{margin:.2rem 0 0;padding-left:1.1rem}.master-sku-page .msku-upload-warnings li{margin-bottom:.2rem}.master-sku-page .msku-upload-list-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;font-weight:700;margin-bottom:.1rem;color:inherit;opacity:.85}.msku-upload-processed-row--warn td{background:#fffbeb}.msku-upload-processed-row--warn:hover td{background:#fef3c7}.msku-upload-warn-pill{display:inline-block;margin-left:.4rem;padding:.05rem .4rem;border-radius:999px;background:#fef3c7;color:#92400e;font-size:.7rem;font-weight:600;vertical-align:middle}.master-sku-page .pcg-btn{padding:.45rem .85rem;font-size:.82rem;font-weight:600;border-radius:6px;cursor:pointer;border:1px solid transparent;white-space:nowrap;font-family:inherit;line-height:1.2;transition:background .12s,border-color .12s,color .12s,box-shadow .12s}.master-sku-page .pcg-btn:disabled{opacity:.55;cursor:not-allowed}.master-sku-page .pcg-btn-primary{background:#2563eb;color:#fff;border-color:#2563eb}.master-sku-page .pcg-btn-primary:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8}.master-sku-page .pcg-btn-ghost{background:#fff;color:#334155;border-color:#cbd5e1}.master-sku-page .pcg-btn-ghost:hover:not(:disabled){background:#f8fafc;border-color:#94a3b8;color:#0f172a}.master-sku-page .pcg-btn-danger{padding:.4rem .65rem;font-size:.9rem;font-weight:600;line-height:1;border:1px solid transparent;border-radius:6px;background:transparent;color:#b91c1c;cursor:pointer;transition:background .12s,border-color .12s,color .12s}.master-sku-page .pcg-btn-danger:hover:not(:disabled){background:#fee2e2;border-color:#fecaca;color:#991b1b}.master-sku-page .pcg-btn-danger:disabled{opacity:.5;cursor:not-allowed}.master-sku-page .msku-toolbar .pcg-btn,.master-sku-page .msku-toolbar .msku-search,.master-sku-page .msku-toolbar .msku-filter{min-height:2.25rem;box-sizing:border-box;display:inline-flex;align-items:center}.master-sku-page .msku-toolbar-right .pcg-btn-primary{margin-left:.35rem}.master-sku-page .msku-row-actions{align-items:center}.master-sku-page .msku-row-actions .pcg-btn{padding:.35rem .7rem;font-size:.78rem;min-height:1.85rem}.master-sku-page .msku-row-actions .pcg-btn-danger{padding:.35rem .6rem;min-height:1.85rem}.master-sku-page .pcg-btn-ghost:focus-visible,.master-sku-page .pcg-btn-danger:focus-visible,.master-sku-page .btn-cancel:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.master-sku-page .pcg-btn-primary:focus-visible,.master-sku-page .btn-primary:focus-visible{outline:2px solid #2563eb;outline-offset:2px;box-shadow:0 0 0 4px #fff inset}.master-sku-page .modal-actions{padding:.4rem 1.1rem 1rem;gap:.5rem;display:flex;justify-content:flex-end}.master-sku-page .modal-actions .btn-primary,.master-sku-page .modal-actions .btn-cancel{padding:.55rem 1.2rem;font-size:.875rem;border-radius:6px}.msku-upload-processed{margin:.75rem 0 1rem;max-height:320px;overflow-y:auto;border:1px solid #e2e8f0;border-radius:8px}.msku-upload-processed-table{width:100%;border-collapse:collapse;font-size:.875rem}.msku-upload-processed-table thead th{position:sticky;top:0;background:#f8fafc;text-align:left;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-weight:600;padding:.55rem .75rem;border-bottom:1px solid #e2e8f0}.msku-upload-processed-table tbody td{padding:.5rem .75rem;border-bottom:1px solid #f1f5f9;color:#0f172a}.msku-upload-processed-table tbody tr:last-child td{border-bottom:none}.msku-upload-processed-row{cursor:pointer}.msku-upload-processed-row:hover td{background:#f1f5f9}.msku-detail-body{padding:1rem 1.25rem;display:flex;flex-direction:column;gap:.65rem}.msku-detail-row{display:grid;grid-template-columns:140px 1fr;gap:1rem;align-items:start;font-size:.9rem}.msku-detail-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-weight:600;padding-top:.15rem}.msku-detail-value{color:#0f172a}.msku-detail-addons{display:flex;flex-wrap:wrap;gap:.35rem}.msku-detail-addon-pill{display:inline-block;padding:.2rem .55rem;background:#eff6ff;color:#1d4ed8;border-radius:999px;font-size:.78rem;font-weight:500}.msku-detail-loading{text-align:center;color:#64748b;padding:1.5rem;font-size:.9rem}.msku-progress-body{padding:1.25rem 1.5rem;display:flex;flex-direction:column;gap:.65rem}.msku-progress-caption{margin:0;font-size:.9rem;color:#475569}.msku-progress-bar{width:100%;height:10px;background:#e2e8f0;border-radius:999px;overflow:hidden}.msku-progress-fill{height:100%;background:linear-gradient(90deg,#2563eb,#3b82f6);transition:width .3s ease;border-radius:999px}.msku-progress-percent{text-align:right;font-size:.85rem;font-weight:600;color:#1d4ed8;font-variant-numeric:tabular-nums}.sam-page{padding:.6rem;max-width:1280px;width:100%}.sam-page .sam-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;margin:.4rem 0 .6rem}.sam-page .sam-toolbar-left,.sam-page .sam-toolbar-right{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.sam-page .sam-search{flex:1;min-width:220px;padding:.5rem .7rem;font-size:.85rem;border:1px solid #cbd5e1;border-radius:8px}.sam-page .sam-filter{padding:.45rem .6rem;font-size:.82rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155}.sam-page .sam-toolbar .pcg-btn,.sam-page .sam-toolbar .sam-search,.sam-page .sam-toolbar .sam-filter{min-height:2.25rem;box-sizing:border-box;display:inline-flex;align-items:center}.sam-page .sam-upload-input{display:none}.sam-page .sam-empty{padding:1.2rem;margin-top:.6rem;text-align:center;color:#94a3b8;font-size:.9rem;background:#fff;border:1px dashed #e2e8f0;border-radius:12px}.sam-page .sam-table-scroll{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow-x:auto;margin-top:.6rem}.sam-page .sam-table{width:100%;border-collapse:collapse;font-size:.85rem;min-width:720px}.sam-page .sam-table thead th{position:sticky;top:0;z-index:1;text-align:left;font-size:.72rem;font-weight:700;color:#64748b;padding:.6rem .8rem;text-transform:uppercase;letter-spacing:.05em;background:#f8fafc;border-bottom:1px solid #e2e8f0;white-space:nowrap}.sam-page .sam-table tbody td{padding:.55rem .8rem;border-bottom:1px solid #f1f5f9;color:#0f172a;vertical-align:middle;white-space:nowrap}.sam-page .sam-table tbody tr:last-child td{border-bottom:none}.sam-page .sam-table tbody tr:hover td{background:#fffaee}.sam-page .sam-col-sku{min-width:130px}.sam-page .sam-col-name{min-width:200px}.sam-page .sam-col-type{min-width:130px}.sam-page .sam-col-addon{text-align:center;min-width:110px}.sam-page .sam-cell-addon{text-align:center}.sam-page .sam-cell-name{font-weight:500}.sam-page .sam-muted{color:#94a3b8}.sam-page .sam-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid;border-radius:999px;padding:.2rem .85rem;min-width:56px;font-family:inherit;font-size:.74rem;font-weight:700;letter-spacing:.04em;cursor:pointer;transition:background .12s,border-color .12s,color .12s,transform .05s}.sam-page .sam-toggle:disabled{cursor:progress;opacity:.6}.sam-page .sam-toggle:active:not(:disabled){transform:scale(.97)}.sam-page .sam-toggle--yes{background:#dcfce7;color:#166534;border-color:#86efac}.sam-page .sam-toggle--yes:hover:not(:disabled){background:#bbf7d0;border-color:#4ade80}.sam-page .sam-toggle--no{background:#f1f5f9;color:#64748b;border-color:#e2e8f0}.sam-page .sam-toggle--no:hover:not(:disabled){background:#e2e8f0;color:#334155;border-color:#cbd5e1}.sam-page .sam-toggle.is-pending{position:relative;color:transparent!important}.sam-page .sam-toggle.is-pending:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center}.sam-page .sam-toggle.is-pending:before{content:"";position:absolute;top:50%;left:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;border:2px solid currentColor;border-top-color:transparent;opacity:.55;color:#166534;animation:sam-toggle-spin .6s linear infinite}.sam-page .sam-toggle--no.is-pending:before{color:#64748b}@keyframes sam-toggle-spin{to{transform:rotate(360deg)}}.sam-page .sam-toggle:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.sam-page .sam-sku-badge{display:inline-block;font-size:.7rem;padding:.12rem .55rem;border-radius:999px;background:#f1f5f9;color:#475569;font-weight:600}.sam-page .sam-sku-badge--bombay{background:#ede9fe;color:#5b21b6}.sam-page .sam-sku-badge--non-bombay{background:#e0f2fe;color:#075985}.sam-page .sam-upload-summary{margin:.4rem 1.1rem;padding:.6rem .8rem;border-radius:8px;background:#f8fafc;font-size:.85rem;color:#0f172a}.sam-page .sam-upload-errors{margin:0 1.1rem .6rem;max-height:220px;overflow-y:auto;border:1px solid #fee2e2;border-radius:8px;padding:.5rem .7rem;font-size:.78rem;color:#7f1d1d;background:#fff7f7}.sam-page .sam-upload-errors ul{margin:0;padding-left:1.1rem}.sam-page .sam-upload-errors li{margin-bottom:.2rem}.sam-page .pcg-btn{padding:.45rem .85rem;font-size:.82rem;font-weight:600;border-radius:6px;cursor:pointer;border:1px solid transparent;white-space:nowrap;font-family:inherit;line-height:1.2;transition:background .12s,border-color .12s,color .12s}.sam-page .pcg-btn:disabled{opacity:.55;cursor:not-allowed}.sam-page .pcg-btn-ghost{background:#fff;color:#334155;border-color:#cbd5e1}.sam-page .pcg-btn-ghost:hover:not(:disabled){background:#f8fafc;border-color:#94a3b8;color:#0f172a}.sam-page .pcg-btn-ghost:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.sam-page .modal-actions{padding:.4rem 1.1rem 1rem;gap:.5rem;display:flex;justify-content:flex-end}.sam-page .modal-actions .btn-primary{padding:.55rem 1.2rem;font-size:.875rem;border-radius:6px}@media (max-width: 720px){.sam-page{padding:.5rem}.sam-page .sam-toolbar-left,.sam-page .sam-toolbar-right{width:100%}.sam-page .sam-search{min-width:0;width:100%}}.spin-wheel-page{padding:1.25rem 1.75rem;max-width:1280px;margin:0 auto}.spin-wheel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.25rem;flex-wrap:wrap}.spin-wheel-header--single .spin-wheel-header-main{flex:1 1 280px;min-width:0}.spin-wheel-header--single .spin-wheel-title{display:inline-flex;align-items:center;gap:.6rem;flex-wrap:wrap}.spin-wheel-header-actions{display:inline-flex;gap:.5rem;flex-wrap:wrap;align-items:center}.spin-wheel-title{font-size:1.5rem;font-weight:700;color:#0f172a;margin:0 0 .25rem;display:inline-flex;align-items:center;gap:.6rem}.spin-wheel-subtitle{margin:0;font-size:.8125rem;color:#64748b}.spin-back-btn{background:transparent;border:none;color:#2563eb;font-size:.8125rem;font-weight:600;cursor:pointer;padding:0;margin-bottom:.4rem;font-family:inherit}.spin-back-btn:hover{text-decoration:underline}.spin-status-badge{display:inline-flex;align-items:center;padding:.2rem .625rem;border-radius:999px;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;background:#f1f5f9;color:#475569}.spin-status-badge--draft{background:#f1f5f9;color:#475569}.spin-status-badge--active{background:#dcfce7;color:#15803d}.spin-status-badge--paused{background:#fef3c7;color:#92400e}.spin-status-badge--expired{background:#fee2e2;color:#b91c1c}.spin-toolbar{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center;margin-bottom:1rem}.spin-status-filter{display:inline-flex;gap:.375rem;flex-wrap:wrap}.spin-status-pill{padding:.3rem .75rem;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;color:#475569;font-size:.8125rem;font-weight:500;cursor:pointer;font-family:inherit}.spin-status-pill:hover{border-color:#94a3b8;background:#f1f5f9}.spin-status-pill.active{border-color:#3b82f6;background:#eff6ff;color:#2563eb}.spin-search{flex:1 1 240px;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:10px;font-size:.875rem;font-family:inherit;background:#fff}.spin-search:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.spin-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow-x:auto}.spin-empty{padding:2.5rem 1.5rem;text-align:center;color:#64748b;font-size:.9rem}.spin-table{width:100%;border-collapse:collapse;font-size:.875rem}.spin-table thead tr{background:#f8fafc;border-bottom:1px solid #e2e8f0}.spin-table th{text-align:left;padding:.55rem .875rem;font-size:.7rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.spin-table td{padding:.6rem .875rem;border-bottom:1px solid #f1f5f9;color:#334155;vertical-align:middle}.spin-table tbody tr:last-child td{border-bottom:none}.spin-row{cursor:pointer;transition:background .1s}.spin-row:hover{background:#f8fafc}.spin-cell-name{font-weight:600;color:#0f172a}.spin-cell-icon{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;margin-right:.45rem;border-radius:6px;background:#f8eed2;color:#6b1230;vertical-align:middle}.spin-cell-sub{color:#94a3b8;font-size:.8125rem}.spin-cell-actions{white-space:nowrap;display:flex;gap:.5rem;justify-content:flex-end}.spin-chip-row{display:inline-flex;flex-wrap:wrap;gap:.25rem}.spin-chip{display:inline-flex;align-items:center;gap:.25rem;padding:.15rem .55rem;background:#eff6ff;color:#1d4ed8;border-radius:999px;font-size:.75rem;font-weight:500}.spin-chip--removable button{background:transparent;border:none;color:#1d4ed8;font-size:.85rem;line-height:1;cursor:pointer;padding:0}.spin-color-swatch{display:inline-block;width:22px;height:22px;border-radius:6px;border:1px solid #e2e8f0;vertical-align:middle}.spin-link{background:none;border:none;padding:0;font-size:.8125rem;font-weight:600;color:#475569;cursor:pointer;font-family:inherit}.spin-link:hover{color:#0f172a}.spin-link--primary{color:#2563eb}.spin-link--primary:hover{color:#1d4ed8}.spin-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.55rem 1rem;border-radius:8px;border:1px solid transparent;font-size:.875rem;font-weight:600;cursor:pointer;font-family:inherit}.spin-btn--primary{background:#2563eb;color:#fff}.spin-btn--primary:hover:not(:disabled){background:#1d4ed8}.spin-btn--primary:disabled{opacity:.55;cursor:not-allowed}.spin-btn--secondary{background:#fff;border-color:#e2e8f0;color:#334155}.spin-btn--secondary:hover:not(:disabled){background:#f1f5f9}.spin-share-card{background:linear-gradient(135deg,#eff6ff,#fff);border:1px solid #bfdbfe;border-radius:12px;padding:1rem 1.25rem;margin-bottom:1rem}.spin-share-card-head{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.6rem}.spin-share-card-title{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#1d4ed8}.spin-share-card-status{font-size:.75rem;color:#475569}.spin-share-row{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.spin-share-input{flex:1 1 280px;min-width:0;padding:.55rem .75rem;border:1px solid #cbd5e1;border-radius:8px;font-size:.875rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#1e293b;background:#fff}.spin-share-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.spin-share-card-hint,.spin-share-card-note{margin:.5rem 0 0;font-size:.8125rem;color:#475569;line-height:1.5}.spin-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1.25rem}.spin-editor-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1rem 1.25rem}.spin-editor-card--wide{grid-column:1 / -1}.spin-editor-section-title{margin:0 0 .75rem;font-size:.875rem;font-weight:700;color:#0f172a;text-transform:uppercase;letter-spacing:.04em}.spin-field{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.85rem}.spin-field:last-child{margin-bottom:0}.spin-field label{font-size:.75rem;font-weight:600;color:#334155}.spin-field input[type=text],.spin-field input[type=number],.spin-field input[type=date],.spin-field textarea,.spin-field select{padding:.55rem .75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;font-family:inherit;color:#0f172a;background:#fff}.spin-field input:focus,.spin-field textarea:focus,.spin-field select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.spin-field-hint{margin:0;font-size:.75rem;color:#94a3b8}.spin-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.spin-field--narrow{max-width:220px}.spin-radio-group{display:flex;flex-direction:column;gap:.3rem}.spin-radio{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;color:#334155;cursor:pointer}.spin-chip-input{display:flex;flex-wrap:wrap;gap:.4rem;padding:.4rem .5rem;border:1px solid #e2e8f0;border-radius:8px;background:#fff;min-height:42px}.spin-chip-input input{flex:1 1 120px;min-width:120px;border:none;outline:none;font-size:.875rem;background:transparent;font-family:inherit}.spin-color-row{display:flex;align-items:center;gap:.5rem}.spin-color-row input[type=color]{width:44px;height:36px;padding:0;border:1px solid #e2e8f0;border-radius:6px;background:#fff;cursor:pointer}.spin-color-row input[type=text]{width:110px}.spin-actions-bar{display:flex;justify-content:flex-end;gap:.5rem;padding:.75rem 0;margin-bottom:1rem}.spin-rewards-header{display:flex;justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:.85rem;flex-wrap:wrap}.spin-rewards-subtitle{margin:.25rem 0 0;font-size:.8125rem;color:#64748b}.spin-rewards-actions{display:inline-flex;gap:.5rem;flex-wrap:wrap}.spin-rewards-warning{color:#b91c1c;font-weight:600}.spin-reward-modal{max-width:560px}.spin-reward-modal-body{padding:1rem 1.25rem;max-height:65vh;overflow-y:auto}.spin-drawer-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:stretch;justify-content:flex-end;z-index:900;animation:spin-drawer-overlay-in .18s ease-out}.spin-drawer{width:min(820px,100%);height:100vh;max-height:100vh;background:#fff;display:flex;flex-direction:column;border-radius:0;box-shadow:-18px 0 48px #0f172a2e,-6px 0 14px #0f172a14;overflow:hidden;animation:spin-drawer-slide-in .24s cubic-bezier(.22,1,.36,1)}@keyframes spin-drawer-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes spin-drawer-slide-in{0%{transform:translate(100%)}to{transform:translate(0)}}@media (max-width: 640px){.spin-drawer{width:100%}}.spin-drawer-loading{flex:1;display:flex;align-items:center;justify-content:center;color:#64748b}.spin-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid #f1f5f9;gap:1rem}.spin-drawer-head-main{min-width:0}.spin-drawer-title{margin:0;font-size:1.15rem;font-weight:700;color:#0f172a}.spin-drawer-sub{margin:.2rem 0 0;font-size:.8125rem;color:#64748b}.spin-drawer-close{width:32px;height:32px;border:none;background:transparent;color:#64748b;font-size:1.4rem;line-height:1;cursor:pointer;border-radius:8px}.spin-drawer-close:hover{background:#f1f5f9;color:#0f172a}.spin-drawer-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.5rem;padding:.85rem 1.25rem;border-bottom:1px solid #f1f5f9;background:#f8fafc}.spin-stat{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;min-width:0}.spin-stat-label{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8}.spin-stat-value{font-size:1rem;font-weight:700;color:#0f172a}.spin-drawer-tabs{display:flex;gap:0;padding:0 1.25rem;border-bottom:1px solid #f1f5f9}.spin-drawer-tab{padding:.65rem .9rem;border:none;background:transparent;font-size:.875rem;font-weight:600;color:#64748b;cursor:pointer;border-bottom:2px solid transparent;font-family:inherit}.spin-drawer-tab.is-active{color:#0f172a;border-bottom-color:#2563eb}.spin-drawer-body{flex:1;overflow-y:auto;padding:1rem 1.25rem 1.5rem}@media (max-width: 640px){.spin-drawer-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}.spin-detail-back{display:inline-flex;align-items:center;gap:.375rem;background:transparent;border:none;color:#64748b;font-size:.875rem;font-weight:500;cursor:pointer;padding:.375rem 0;font-family:inherit;transition:color .15s;margin-bottom:1rem}.spin-detail-back:hover{color:#1e293b}.spin-detail-head{margin-bottom:1.25rem}.spin-detail-head-main{min-width:0}.spin-detail-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.spin-detail-body{padding:1rem 1.25rem 1.5rem}.spin-detail-loading{display:flex;align-items:center;justify-content:center;min-height:240px;color:#64748b}.spin-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1.25rem}.spin-modal-box{background:#fff;border-radius:14px;box-shadow:0 24px 60px #0f172a47;width:100%;max-width:560px;max-height:calc(100vh - 2.5rem);display:flex;flex-direction:column;overflow:hidden}.spin-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #f1f5f9}.spin-modal-header h3{margin:0;font-size:.95rem;font-weight:700;color:#0f172a}.spin-modal-close-btn{width:30px;height:30px;border-radius:8px;border:none;background:transparent;color:#64748b;cursor:pointer;font-size:1.1rem;line-height:1}.spin-modal-close-btn:hover{background:#f1f5f9;color:#0f172a}.spin-modal-actions{display:flex;justify-content:flex-end;gap:.5rem;padding:12px 20px;border-top:1px solid #f1f5f9;background:#f8fafc}.spin-c-wrap{--c-maroon: #4a1019;--c-maroon-deep: #36000b;--c-gold: #c89c3f;--c-gold-soft: #e4c98c;--c-cream: #f7eedb;--c-cream-deep: #f1e6cf;--c-input-bg: #faf2dd;--c-input-border: #d9b97a;--c-text: #3f1a22;--c-muted: #8c6a55;min-height:100vh;background:var(--c-cream);color:var(--c-text);font-family:Inter,system-ui,sans-serif}.spin-c-topbar{background:var(--c-maroon);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:.9rem 2rem;gap:1rem;flex-wrap:wrap}.spin-c-brand{display:inline-flex;align-items:center;gap:.85rem}.spin-c-brand-logo{width:48px;height:48px;border-radius:50%;background:var(--c-maroon-deep);display:inline-flex;align-items:center;justify-content:center;color:var(--c-gold);border:1px solid rgba(255,255,255,.08)}.spin-c-brand-text{display:inline-flex;flex-direction:column;line-height:1.1}.spin-c-brand-name{font-family:Cormorant Garamond,Playfair Display,Georgia,serif;font-style:italic;font-weight:600;font-size:1.5rem;color:#fff}.spin-c-brand-tag{font-size:.66rem;letter-spacing:.18em;color:var(--c-gold-soft);margin-top:.2rem}.spin-c-stage-list{list-style:none;margin:0;padding:0;display:inline-flex;align-items:center;gap:0}.spin-c-stage{position:relative;display:inline-flex;flex-direction:column;align-items:center;padding:0 1rem;color:#ffffff8c}.spin-c-stage-num{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:1.5px solid currentColor;font-weight:600;font-size:.875rem;background:transparent;margin-bottom:.25rem}.spin-c-stage-label{font-size:.66rem;letter-spacing:.18em;text-transform:uppercase}.spin-c-stage.is-current,.spin-c-stage.is-done{color:var(--c-gold-soft)}.spin-c-stage.is-current .spin-c-stage-num{background:var(--c-gold);color:var(--c-maroon-deep);border-color:var(--c-gold)}.spin-c-stage.is-done .spin-c-stage-num{background:transparent;color:var(--c-gold-soft);border-color:var(--c-gold-soft)}.spin-c-stage-rule{position:absolute;top:16px;left:calc(100% - .5rem);width:calc(2rem - 1px);height:1px;background:#ffffff40}.spin-c-main{max-width:960px;margin:0 auto;padding:2.5rem 1.5rem 4rem}.spin-c-hero{text-align:center;margin-bottom:2rem}.spin-c-hero-title{font-family:Cormorant Garamond,Playfair Display,Georgia,serif;font-style:italic;font-weight:500;font-size:3rem;margin:0;color:var(--c-maroon);line-height:1}.spin-c-hero-branch{display:inline-block;margin-bottom:.5rem;padding:.2rem .75rem;border-radius:999px;background:#f5d97c40;color:var(--c-maroon);font-size:.78rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase}.spin-c-hero-tag{margin:1rem 0 0;font-size:.8rem;letter-spacing:.18em;text-transform:uppercase;color:var(--c-muted)}.spin-c-diamond{display:inline-flex;align-items:center;gap:.4rem;margin-top:.75rem;color:var(--c-gold)}.spin-c-diamond-line{width:70px;height:1px;background:currentColor;opacity:.55}.spin-c-diamond-dot{width:8px;height:8px;background:currentColor;transform:rotate(45deg)}.spin-c-card{background:#fffaee;border:1px solid var(--c-gold-soft);border-radius:16px;padding:1.75rem 1.75rem 2rem;box-shadow:0 16px 48px -24px #4a101940}.spin-c-card--wheel{display:flex;flex-direction:column;align-items:center;gap:1.25rem}.spin-c-card--result{display:flex;flex-direction:column;gap:1rem;align-items:stretch}.spin-c-section-head{padding-bottom:.65rem;border-bottom:1px solid var(--c-gold-soft);margin-bottom:1.25rem}.spin-c-section-title{margin:0;font-size:.8rem;font-weight:700;letter-spacing:.18em;color:var(--c-maroon)}.spin-c-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.25rem}.spin-c-form-grid--single{grid-template-columns:1fr}.spin-c-field{display:flex;flex-direction:column;gap:.35rem;min-width:0}.spin-c-field label{font-size:.7rem;font-weight:700;letter-spacing:.14em;color:var(--c-maroon);text-transform:uppercase}.spin-c-required{color:#b91c1c;margin-left:.15rem;letter-spacing:0}.spin-c-field input,.spin-c-field select{padding:.85rem 1rem;background-color:var(--c-input-bg);border:1px solid var(--c-input-border);border-radius:999px;font-size:.95rem;font-family:inherit;line-height:1.25;color:var(--c-text);transition:border-color .14s ease,box-shadow .14s ease,background-color .14s ease}.spin-c-field input::placeholder{color:#8c6a55b3}.spin-c-field input:hover:not(:disabled):not(:focus),.spin-c-field select:hover:not(:disabled):not(:focus){border-color:#c89c3f8c;background-color:#fffaf1}.spin-c-field input:focus,.spin-c-field select:focus{outline:none;border-color:var(--c-gold);box-shadow:0 0 0 3px #c89c3f2e;background-color:#fffdf6}.spin-c-field select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:2.85rem;cursor:pointer;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c89c3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");background-repeat:no-repeat;background-position:right 1.15rem center;background-size:16px 16px}.spin-c-field select::-ms-expand{display:none}.spin-c-field select:hover:not(:disabled):not(:focus),.spin-c-field select:focus{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a4f1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>")}.spin-c-field select option{background:#fff;color:var(--c-text);font-family:inherit;padding:.4rem .6rem}.spin-c-field select option:checked,.spin-c-field select option:hover{background:#c89c3f1f;color:var(--c-text)}.spin-c-field select option[value=""]{color:#8c6a55b3}.spin-c-phone-row{display:flex;align-items:stretch;gap:.5rem}.spin-c-phone-prefix{display:inline-flex;align-items:center;justify-content:center;padding:0 1rem;background:#fff;border:1px solid var(--c-input-border);border-radius:999px;font-weight:600;color:var(--c-text);min-width:64px}.spin-c-phone-row input{flex:1}.spin-c-cta{display:inline-flex;align-items:center;justify-content:center;margin-top:1.5rem;padding:.9rem 1.5rem;width:100%;background:var(--c-maroon);color:var(--c-gold-soft);border:1px solid var(--c-maroon);border-radius:999px;font-family:Cormorant Garamond,Georgia,serif;font-style:italic;font-size:1.15rem;font-weight:600;cursor:pointer;letter-spacing:.04em;transition:background .15s,color .15s}.spin-c-cta:hover:not(:disabled){background:var(--c-maroon-deep);color:#fff}.spin-c-cta:disabled{opacity:.55;cursor:not-allowed}.spin-c-btn--ghost{background:transparent;border:1px solid var(--c-input-border);color:var(--c-maroon);padding:.65rem 1.1rem;border-radius:999px;font-size:.875rem;font-weight:600;cursor:pointer;font-family:inherit}.spin-c-btn--ghost:hover:not(:disabled){background:var(--c-cream-deep)}.spin-c-actions{display:flex;gap:.6rem;justify-content:flex-end;margin-top:1rem}.spin-c-sel{position:relative;width:100%}.spin-c-sel-trigger{width:100%;display:flex;align-items:center;gap:.55rem;padding:.85rem 1.15rem .85rem 1rem;background-color:var(--c-input-bg);border:1px solid var(--c-input-border);border-radius:999px;font-size:.95rem;font-family:inherit;line-height:1.25;color:var(--c-text);cursor:pointer;text-align:left;transition:border-color .14s ease,box-shadow .14s ease,background-color .14s ease}.spin-c-sel-trigger:hover:not(:disabled){border-color:#c89c3f8c;background-color:#fffaf1}.spin-c-sel-trigger.is-open,.spin-c-sel-trigger:focus-visible{outline:none;border-color:var(--c-gold);box-shadow:0 0 0 3px #c89c3f2e;background-color:#fffdf6}.spin-c-sel-trigger:disabled{opacity:.6;cursor:not-allowed}.spin-c-sel-trigger-text{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.spin-c-sel-trigger-text.is-placeholder{color:#8c6a55b3}.spin-c-sel-trigger-chev{display:inline-flex;color:var(--c-gold);transition:transform .16s ease,color .14s ease}.spin-c-sel-trigger:hover:not(:disabled) .spin-c-sel-trigger-chev,.spin-c-sel-trigger.is-open .spin-c-sel-trigger-chev{color:#7a4f1a}.spin-c-sel-trigger-chev.is-open{transform:rotate(180deg)}.spin-c-sel-pop{position:absolute;z-index:30;top:calc(100% + .4rem);left:0;right:0;background:#fff;border:1px solid var(--c-input-border);border-radius:14px;box-shadow:0 18px 38px #140c242e,0 4px 10px #140c2414;overflow:hidden;animation:spin-c-sel-in .14s ease-out}@keyframes spin-c-sel-in{0%{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.spin-c-sel-search{width:100%;padding:.65rem .85rem;background:transparent;border:none;border-bottom:1px solid var(--c-input-border);font:inherit;font-size:.9rem;color:var(--c-text)}.spin-c-sel-search:focus{outline:none;background:#c89c3f0f}.spin-c-sel-search::placeholder{color:#8c6a55b3}.spin-c-sel-list{list-style:none;margin:0;padding:.35rem 0;max-height:280px;overflow-y:auto;-webkit-overflow-scrolling:touch}.spin-c-sel-opt{display:flex;align-items:center;gap:.6rem;padding:.6rem .95rem;cursor:pointer;color:var(--c-text)}.spin-c-sel-opt:hover,.spin-c-sel-opt.is-highlight{background:#c89c3f1f}.spin-c-sel-opt.is-selected{background:#c89c3f2e;font-weight:600}.spin-c-sel-opt.is-selected.is-highlight{background:#c89c3f42}.spin-c-sel-opt-body{flex:1;display:flex;flex-direction:column;min-width:0}.spin-c-sel-opt-label{font-size:.95rem}.spin-c-sel-opt-hint{font-size:.78rem;color:var(--c-muted, #94785a);margin-top:.1rem}.spin-c-sel-opt-check{color:var(--c-gold);display:inline-flex}.spin-c-sel-empty{padding:.85rem .95rem;color:#8c6a55b3;font-size:.9rem;text-align:center}.spin-c-dp{position:relative;width:100%}.spin-c-dp-trigger{width:100%;display:flex;align-items:center;gap:.55rem;padding:.7rem .85rem;background:var(--c-input-bg);border:1px solid var(--c-input-border);border-radius:10px;color:var(--c-muted);font:inherit;cursor:pointer;text-align:left;transition:border-color .12s ease,box-shadow .12s ease}.spin-c-dp-trigger:hover:not(:disabled){border-color:var(--c-accent, #c89b3c)}.spin-c-dp-trigger.is-open,.spin-c-dp-trigger:focus-visible{outline:none;border-color:var(--c-accent, #c89b3c);box-shadow:0 0 0 3px #c89b3c2e}.spin-c-dp-trigger.has-value{color:inherit}.spin-c-dp-trigger:disabled{opacity:.6;cursor:not-allowed}.spin-c-dp-trigger-icon{display:inline-flex;color:var(--c-accent, #c89b3c)}.spin-c-dp-trigger-text{flex:1;font-size:.95rem}.spin-c-dp-pop{position:absolute;z-index:30;top:calc(100% + .4rem);left:0;width:min(320px,96vw);padding:.85rem;background:#fff;border:1px solid var(--c-input-border);border-radius:14px;box-shadow:0 18px 38px #140c242e,0 4px 10px #140c2414;animation:spin-c-dp-in .14s ease-out}@keyframes spin-c-dp-in{0%{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.spin-c-dp-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.6rem}.spin-c-dp-head-label{font-weight:600;font-size:.95rem;letter-spacing:.01em}.spin-c-dp-nav{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;background:transparent;border:1px solid transparent;border-radius:8px;color:inherit;cursor:pointer;transition:background .12s ease,border-color .12s ease}.spin-c-dp-nav:hover{background:#c89b3c1a;border-color:#c89b3c59}.spin-c-dp-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-bottom:4px}.spin-c-dp-weekdays span{display:flex;align-items:center;justify-content:center;height:28px;font-size:.72rem;font-weight:600;color:var(--c-muted);text-transform:uppercase;letter-spacing:.05em}.spin-c-dp-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.spin-c-dp-cell{display:flex;align-items:center;justify-content:center;height:36px;background:transparent;border:1px solid transparent;border-radius:8px;color:inherit;font:inherit;font-size:.88rem;cursor:pointer;transition:background .1s ease,border-color .1s ease,color .1s ease}.spin-c-dp-cell.is-blank{cursor:default;pointer-events:none}.spin-c-dp-cell:hover:not(:disabled):not(.is-selected){background:#c89b3c1f}.spin-c-dp-cell.is-today{border-color:#c89b3c8c;font-weight:600}.spin-c-dp-cell.is-selected{background:var(--c-accent, #c89b3c);border-color:var(--c-accent, #c89b3c);color:#fff;font-weight:600}.spin-c-dp-cell.is-disabled{color:#00000047;cursor:not-allowed}.spin-c-dp-foot{display:flex;justify-content:space-between;gap:.5rem;margin-top:.7rem;padding-top:.6rem;border-top:1px solid var(--c-input-border)}.spin-c-dp-foot-btn{background:transparent;border:1px solid var(--c-input-border);border-radius:8px;padding:.4rem .8rem;font:inherit;font-size:.82rem;font-weight:500;color:inherit;cursor:pointer;transition:background .1s ease,border-color .1s ease}.spin-c-dp-foot-btn:hover:not(:disabled){background:#c89b3c1a;border-color:var(--c-accent, #c89b3c)}.spin-c-dp-foot-btn:disabled{opacity:.5;cursor:not-allowed}.spin-c-occ-tiles{display:grid;grid-template-columns:1fr 1fr;gap:.85rem}.spin-c-occ-tile{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:.25rem;padding:1.1rem 1.15rem;background:var(--c-input-bg);border:2px solid var(--c-input-border);border-radius:14px;cursor:pointer;text-align:left;transition:border-color .12s ease,background .12s ease,transform 80ms ease}.spin-c-occ-tile:hover{border-color:var(--c-accent, #c89b3c)}.spin-c-occ-tile.is-selected{border-color:var(--c-accent, #c89b3c);background:#c89b3c14}.spin-c-occ-tile-title{font-size:1.05rem;font-weight:600;letter-spacing:.02em}.spin-c-occ-tile-sub{font-size:.78rem;color:var(--c-muted)}@media (max-width: 480px){.spin-c-occ-tiles{grid-template-columns:1fr}}.spin-c-helper{margin:0;font-size:.875rem;color:var(--c-muted);line-height:1.55}.spin-c-loading{text-align:center;color:var(--c-muted)}.spin-c-error{color:#9b1c2a;font-weight:500}.spin-c-consent-box{background:var(--c-input-bg);border:1px solid var(--c-input-border);border-radius:12px;padding:1rem 1.1rem;font-size:.9rem;color:var(--c-text);line-height:1.55}.spin-c-consent-box p{margin:0 0 .4rem}.spin-c-consent-box p:last-child{margin-bottom:0}.spin-c-consent-version{color:var(--c-muted);font-size:.7rem;letter-spacing:.14em;text-transform:uppercase}.spin-c-consent-check{display:inline-flex;align-items:center;gap:.5rem;margin-top:1rem;font-size:.9rem;font-weight:600;color:var(--c-maroon);cursor:pointer}.spin-wheel-graphic{position:relative;width:440px;max-width:100%;aspect-ratio:1 / 1;margin:.25rem auto .5rem}.spin-wheel-graphic--empty{padding:1.5rem;text-align:center;color:var(--c-muted);font-size:.9rem;border:1px dashed var(--c-input-border);border-radius:12px}.spin-wheel-pointer{position:absolute;top:-4px;left:50%;width:38px;height:52px;margin-left:-19px;z-index:3;background:linear-gradient(180deg,#fff7d6,#f1d486 25%,#c89c3f 60%,#7a5a1a);clip-path:polygon(50% 100%,0 0,100% 0);filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}.spin-wheel-pointer:after{content:"";position:absolute;top:7px;left:50%;transform:translate(-50%);width:10px;height:10px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff,#fff5b0,#c89c3f 70%,#7a5a1a);box-shadow:0 0 6px #ffe68cb3}.spin-wheel-frame{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;background:radial-gradient(circle at 50% 50%,#ffd77800 60%,#ffd7788c 75%,#ffd77800);filter:blur(8px);pointer-events:none}.spin-wheel-graphic.is-spinning .spin-wheel-frame{animation:spin-wheel-glow 1.2s ease-in-out infinite}@keyframes spin-wheel-glow{0%,to{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.03)}}.spin-wheel-svg,.spin-wheel-overlay{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block}.spin-wheel-svg{filter:drop-shadow(0 10px 28px rgba(74,16,25,.35));will-change:transform}.spin-wheel-overlay{pointer-events:none}.spin-wheel-graphic.is-spinning .spin-wheel-overlay circle:nth-child(2n){animation:rim-light-pulse .45s ease-in-out infinite alternate}@keyframes rim-light-pulse{0%{opacity:.45}to{opacity:1}}.spin-confetti{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden;z-index:2}.spin-confetti-piece{position:absolute;top:-20px;border-radius:2px;opacity:0;animation-name:spin-confetti-fall;animation-timing-function:cubic-bezier(.2,.6,.3,1);animation-fill-mode:forwards;will-change:transform,opacity}@keyframes spin-confetti-fall{0%{transform:translate3d(0,-10vh,0) rotate(var(--r-start, 0deg));opacity:0}10%{opacity:1}to{transform:translate3d(var(--x, 0),120vh,0) rotate(var(--r-end, 720deg));opacity:.85}}.spin-c-card--result{position:relative;overflow:hidden}.spin-c-result-card{background:linear-gradient(135deg,#fff5d6,#fbe1a0);border:1px solid var(--c-gold);border-radius:16px;padding:1.5rem 1.25rem;text-align:center;color:var(--c-maroon)}.spin-c-result-icon{display:inline-flex;align-items:center;justify-content:center;width:84px;height:84px;margin:0 auto .75rem;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff8e0,#f5d97c 45%,#c89c3f);color:var(--c-maroon);box-shadow:inset 0 0 0 2px #8d6520,0 6px 16px -8px #4a101973}.spin-c-result-label{font-family:Cormorant Garamond,Georgia,serif;font-style:italic;font-size:1.5rem;font-weight:600;margin-bottom:.4rem}.spin-c-result-sub{font-size:.875rem;color:var(--c-muted);letter-spacing:.08em;text-transform:uppercase}.spin-c-result-code{margin-top:1rem;background:#fff;border:2px dashed var(--c-maroon);border-radius:12px;padding:.7rem .9rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1.2rem;font-weight:700;color:var(--c-maroon);letter-spacing:.06em}.spin-c-result-expiry{margin-top:.45rem;font-size:.75rem;color:var(--c-muted)}@media (max-width: 880px){.spin-editor-grid,.spin-field-row,.spin-c-form-grid{grid-template-columns:1fr}.spin-c-topbar{padding:.85rem 1rem}.spin-c-main{padding:1.5rem 1rem 2.5rem}.spin-c-hero-title{font-size:2.25rem}.spin-c-stage{padding:0 .55rem}.spin-c-stage-rule{width:calc(1.1rem - 1px);left:calc(100% - .275rem)}}@media (max-width: 540px){.spin-wheel-graphic{width:min(360px,90vw)}}@media (max-width: 420px){.spin-wheel-graphic{width:min(320px,92vw)}.spin-c-card{padding:1.25rem}.spin-c-stage-label,.spin-c-brand-tag{display:none}}.spin-c-phone-lookup-hint{font-weight:500;text-transform:none;letter-spacing:0;color:#94a3b8;font-size:.78rem}.spin-admin-page{display:flex;flex-direction:column}.spin-admin-tabs{display:flex;gap:0;padding:0 1.75rem;border-bottom:1px solid #e2e8f0;background:#fff;position:sticky;top:0;z-index:5}.spin-admin-tab{padding:.85rem 1rem;border:none;background:transparent;font-size:.95rem;font-weight:600;color:#64748b;cursor:pointer;border-bottom:2px solid transparent;font-family:inherit}.spin-admin-tab.is-active{color:#0f172a;border-bottom-color:#2563eb}.spin-admin-tab:hover:not(.is-active){color:#334155}.spin-cat-page{padding:1.25rem 1.75rem;max-width:1280px;margin:0 auto}.spin-cat-intro{color:#475569;font-size:.9rem;margin-bottom:1.25rem;max-width:720px}.spin-cat-section{background:#fff;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:1.25rem;overflow:hidden}.spin-cat-section-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1.1rem;background:#f8fafc;border-bottom:1px solid #e2e8f0}.spin-cat-section-title{font-size:1rem;font-weight:700;color:#0f172a;margin:0}.spin-cat-section-sub{font-size:.8rem;color:#64748b;margin:0}.spin-cat-table{width:100%;border-collapse:collapse}.spin-cat-table thead th{text-align:left;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-weight:600;padding:.65rem .9rem;border-bottom:1px solid #e2e8f0;background:#fafafa}.spin-cat-table tbody td{padding:.55rem .9rem;border-bottom:1px solid #f1f5f9;vertical-align:middle;font-size:.9rem;color:#0f172a}.spin-cat-table tbody tr:last-child td{border-bottom:none}.spin-cat-input{width:100%;padding:.4rem .6rem;border:1px solid #cbd5e1;border-radius:6px;font-size:.88rem;font-family:inherit;background:#fff;color:#0f172a}.spin-cat-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.spin-cat-input--narrow{max-width:80px}.spin-cat-input--code{max-width:160px;font-family:JetBrains Mono,ui-monospace,monospace}.spin-cat-actions{display:flex;gap:.4rem;justify-content:flex-end}.spin-cat-btn{padding:.4rem .7rem;border-radius:6px;font-size:.8rem;font-weight:600;font-family:inherit;border:1px solid transparent;cursor:pointer;background:#fff;color:#0f172a}.spin-cat-btn:disabled{opacity:.5;cursor:not-allowed}.spin-cat-btn--primary{background:#2563eb;color:#fff;border-color:#2563eb}.spin-cat-btn--primary:hover:not(:disabled){background:#1d4ed8}.spin-cat-btn--ghost{background:#fff;color:#475569;border-color:#cbd5e1}.spin-cat-btn--ghost:hover:not(:disabled){background:#f1f5f9}.spin-cat-btn--danger{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.spin-cat-btn--danger:hover:not(:disabled){background:#fee2e2}.spin-cat-badge-inactive{display:inline-block;padding:.1rem .45rem;font-size:.7rem;font-weight:600;color:#92400e;background:#fef3c7;border-radius:999px}.spin-cat-toggle{display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;color:#475569;cursor:pointer;-webkit-user-select:none;user-select:none}.spin-cat-toggle input{accent-color:#2563eb;cursor:pointer}.spin-cat-empty{padding:1.25rem;text-align:center;color:#64748b;font-size:.9rem}.spin-cat-add-row td{background:#f8fafc}.spin-cat-preview{display:inline-block;padding:.25rem .55rem;background:#eff6ff;color:#1d4ed8;border-radius:6px;font-size:.85rem;font-weight:600;font-family:Inter,system-ui,sans-serif}.spin-cat-error{padding:.75rem 1rem;background:#fef2f2;color:#b91c1c;font-size:.85rem}@media (max-width: 720px){.spin-cat-page{padding:1rem}.spin-cat-table thead{display:none}.spin-cat-table tbody td{display:block;border-bottom:none;padding:.3rem .9rem}.spin-cat-table tbody tr{display:block;padding:.5rem 0;border-bottom:1px solid #f1f5f9}.spin-cat-input--narrow,.spin-cat-input--code{max-width:100%}}.spin-c-wheel-grid{display:grid;grid-template-columns:minmax(160px,220px) minmax(0,1fr) minmax(160px,220px);gap:1.25rem;align-items:start;width:100%}.spin-c-wheel-grid-spacer{width:100%}.spin-c-wheel-stage{position:relative;display:flex;flex-direction:column;align-items:center;gap:1rem;padding:.5rem .5rem 0}.spin-c-cta--spin-now{background:linear-gradient(180deg,#f5d97c,#c89c3f 60%,#8d6520);color:#4a0d22;border:1px solid #8d6520;padding:.85rem 2.2rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;box-shadow:0 4px 0 -1px #6b4612,0 10px 20px -10px #4a10198c;border-radius:999px;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}.spin-c-cta--spin-now:hover:not(:disabled){filter:brightness(1.05);transform:translateY(-1px)}.spin-c-cta--spin-now:active:not(:disabled){transform:translateY(1px);box-shadow:0 2px 0 -1px #6b4612,0 4px 10px -6px #4a10198c}.spin-c-cta--spin-now:disabled{filter:saturate(.6) brightness(.95)}.spin-c-trust{display:flex;flex-direction:column;align-items:flex-start;align-self:end;gap:.5rem}.spin-c-trust-item{display:inline-flex;align-items:center;gap:.6rem;padding:.2rem 0;background:transparent;border:none;color:#6b1230;transition:color .12s}.spin-c-trust-item:hover{color:#4a0d22}.spin-c-trust-item-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#fff8e0,#f5d97c);color:#6b1230;box-shadow:inset 0 0 0 1px #8d652040}.spin-c-trust-item-sub{font-size:.75rem;font-weight:500;color:#6b1230;letter-spacing:.01em;line-height:1.25;white-space:normal;overflow-wrap:anywhere}@media (max-width: 960px){.spin-c-wheel-grid{grid-template-columns:1fr;gap:1rem}.spin-c-wheel-grid-spacer{display:none}.spin-c-wheel-stage{order:1}.spin-c-trust{order:2;flex-direction:row;align-items:center;align-self:center;justify-content:center;flex-wrap:wrap}}@media (max-width: 480px){.spin-c-trust-item{flex:1 1 100%}}.spin-interactions-tab{display:flex;flex-direction:column;gap:1rem}.spin-interactions-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}.spin-interactions-toolbar-left{min-width:0}.spin-interactions-heading{margin:0 0 .2rem;font-size:.95rem;font-weight:700;letter-spacing:.01em;color:#0f172a}.spin-interactions-caption{margin:0;font-size:.8rem;color:#64748b;max-width:540px;line-height:1.5}.spin-interactions-scroll{border:1px solid #e6c884;border-radius:12px;background:#fff;overflow-x:auto;box-shadow:0 4px 14px -10px #4a10192e}.spin-interactions-table{width:100%;border-collapse:collapse;font-size:.86rem;color:#0f172a}.spin-interactions-table thead th{position:sticky;top:0;z-index:2;text-align:left;background:#fff7e6;color:#6b1230;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:.65rem .85rem;border-bottom:1px solid #f1d486;white-space:nowrap}.spin-interactions-table tbody td{padding:.7rem .85rem;border-bottom:1px solid #f1f5f9;vertical-align:top;line-height:1.4}.spin-interactions-table tbody tr:last-child td{border-bottom:none}.spin-interaction-row{transition:background .12s}.spin-interaction-row:hover td{background:#fffaee}.spin-when-main{font-weight:600;font-variant-numeric:tabular-nums;color:#0f172a;white-space:nowrap}.spin-when-sub{margin-top:.15rem;font-size:.74rem;color:#64748b}.spin-order-primary{font-weight:600;color:#0f172a}.spin-order-extra{font-size:.78rem;color:#64748b;margin-top:.15rem}.spin-reason-label{font-weight:600;color:#0f172a}.spin-reason-remarks{margin-top:.15rem;font-size:.78rem;color:#64748b;font-style:italic}.spin-interaction-flags{display:inline-flex;flex-wrap:wrap;gap:.35rem}.spin-pill{display:inline-flex;align-items:center;padding:.18rem .6rem;font-size:.72rem;font-weight:600;border-radius:999px;background:#e0f2fe;color:#075985;line-height:1.35;white-space:nowrap;border:1px solid rgba(7,89,133,.12)}.spin-pill--ok{background:#dcfce7;color:#166534;border-color:#16653429}.spin-pill--scheduled{background:#fff7d6;color:#7c4a03;border-color:#7c4a032e}.spin-col-actions{width:44px;text-align:right;white-space:nowrap}.spin-row-menu{position:relative;display:inline-block}.spin-row-menu-btn{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid transparent;background:transparent;color:#475569;cursor:pointer;transition:background .12s,border-color .12s,color .12s}.spin-row-menu-btn:hover,.spin-row-menu-btn.is-open{background:#fff5d6;border-color:#f1d486;color:#6b1230}.spin-row-menu-btn:focus-visible{outline:2px solid #6b1230;outline-offset:2px}.spin-row-menu-pop{position:absolute;z-index:20;top:calc(100% + .35rem);right:0;min-width:200px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 14px 32px #140c2429,0 4px 10px #140c240f;padding:.3rem;display:flex;flex-direction:column;gap:.1rem;animation:spin-row-menu-in .12s ease-out}@keyframes spin-row-menu-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.spin-row-menu-item{display:flex;align-items:center;gap:.55rem;padding:.5rem .65rem;width:100%;border:none;background:transparent;border-radius:8px;font-size:.85rem;font-weight:500;color:#0f172a;cursor:pointer;text-align:left;transition:background .1s}.spin-row-menu-item:hover{background:#f8fafc}.spin-row-menu-item:focus-visible{outline:2px solid #6b1230;outline-offset:-2px}.spin-row-menu-item--danger{color:#b91c1c}.spin-row-menu-item--danger:hover{background:#fef2f2;color:#991b1b}.spin-row-menu-audit{margin-top:.25rem;padding:.55rem .65rem;border-top:1px solid #f1f5f9;display:flex;flex-direction:column;gap:.18rem;font-size:.74rem;color:#475569;line-height:1.45}.spin-row-menu-audit-label{font-size:.65rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8;margin-bottom:.1rem}.spin-row-menu-audit-when{color:#94a3b8}.spin-link--danger{color:#b91c1c}.spin-link--danger:hover{color:#7f1d1d}@media (max-width: 720px){.spin-interactions-scroll{background:transparent;border:none;box-shadow:none;overflow-x:visible}.spin-interactions-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.spin-interactions-table tbody tr{display:block;background:#fff;border:1px solid #e6c884;border-radius:12px;padding:.4rem .4rem .5rem;margin-bottom:.65rem;box-shadow:0 3px 10px -8px #4a101940}.spin-interactions-table tbody td{display:grid;grid-template-columns:110px minmax(0,1fr);gap:.6rem;padding:.45rem .55rem;border-bottom:1px dashed #f1f5f9}.spin-interactions-table tbody tr:last-child td{border-bottom:1px dashed #f1f5f9}.spin-interactions-table tbody td:last-child{border-bottom:none}.spin-interactions-table tbody td:before{content:attr(data-label);font-size:.66rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#6b1230;align-self:start;padding-top:.15rem}.spin-interactions-table tbody td.spin-col-actions{grid-template-columns:1fr;text-align:right}.spin-interactions-table tbody td.spin-col-actions:before{display:none}.spin-row-menu{align-self:end}.spin-row-menu-pop{right:0;left:auto}}.spin-interaction-modal{max-width:560px;width:100%}.spin-interaction-modal-body{display:flex;flex-direction:column;gap:.85rem;padding:.25rem 1.1rem;max-height:70vh;overflow-y:auto}.spin-interaction-modal-body--inline{max-height:none;overflow:visible;padding:0}.spin-modal-actions--inline{padding:12px 0 0;border-top:1px solid #f1f5f9;background:transparent;margin-top:.5rem}.spin-log-interaction-card{padding:1rem 1.25rem 1.1rem;margin-top:.5rem}.spin-required{color:#b91c1c;margin-left:.15rem}.spin-field-row--inline{display:flex;align-items:center;gap:.6rem}.spin-field-row--inline>input{flex:1}.spin-field-row--toggles{display:flex;flex-wrap:wrap;gap:1rem;padding:.4rem 0;border-top:1px dashed #e2e8f0;border-bottom:1px dashed #e2e8f0}.spin-toggle{display:inline-flex;align-items:center;gap:.4rem;font-size:.82rem;color:#334155;cursor:pointer;-webkit-user-select:none;user-select:none}.spin-toggle input{margin:0}.spin-field--converted .spin-radio-row{display:flex;gap:1rem;margin-top:.25rem}.spin-radio{display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;color:#0f172a;cursor:pointer}.spin-radio input{margin:0}.spin-field-block{border-left:3px solid #f1d486;padding:.4rem 0 .4rem .7rem;display:flex;flex-direction:column;gap:.6rem;background:linear-gradient(180deg,#f5d97c14,#f5d97c00)}.spin-field--with-remove{gap:.3rem}.spin-dtp{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:.5rem;align-items:stretch}.spin-dtp-date,.spin-dtp-time{min-width:0}.spin-dtp .spin-c-sel,.spin-dtp .spin-c-dp,.spin-dtp .spin-c-sel-trigger,.spin-dtp .spin-c-dp-trigger{width:100%}@media (max-width: 480px){.spin-dtp{grid-template-columns:1fr}}.spin-interaction-modal .spin-c-dp,.spin-interaction-modal .spin-c-sel{position:relative;z-index:1}.spin-interaction-modal .spin-c-dp:focus-within,.spin-interaction-modal .spin-c-sel:focus-within{z-index:5}.sbr-page{padding:.6rem;max-width:1280px;width:100%}.sbr-page .sbr-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;margin:.4rem 0 .6rem}.sbr-page .sbr-toolbar-left,.sbr-page .sbr-toolbar-right{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.sbr-page .sbr-search{flex:1;min-width:240px;padding:.5rem .7rem;font-size:.85rem;border:1px solid #cbd5e1;border-radius:8px}.sbr-page .sbr-filter{padding:.45rem .6rem;font-size:.82rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155}.sbr-page .sbr-toolbar .pcg-btn,.sbr-page .sbr-toolbar .sbr-search,.sbr-page .sbr-toolbar .sbr-filter{min-height:2.25rem;box-sizing:border-box;display:inline-flex;align-items:center}.sbr-page .sbr-empty{padding:1.2rem;text-align:center;color:#94a3b8;font-size:.9rem;background:#fff;border:1px dashed #e2e8f0;border-radius:12px}.sbr-page .sbr-list-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;margin-top:.6rem}.sbr-page .sbr-table{width:100%;border-collapse:collapse;font-size:.85rem}.sbr-page .sbr-table thead th{text-align:left;font-size:.72rem;font-weight:700;color:#64748b;padding:.6rem .85rem;text-transform:uppercase;letter-spacing:.05em;background:#f8fafc;border-bottom:1px solid #e2e8f0;white-space:nowrap}.sbr-page .sbr-table tbody td{padding:.6rem .85rem;border-bottom:1px solid #f1f5f9;color:#0f172a;vertical-align:middle}.sbr-page .sbr-table tbody tr:last-child td{border-bottom:none}.sbr-page .sbr-table tbody tr:hover td{background:#fffaee}.sbr-page .sbr-cell-name{font-weight:600}.sbr-page .sbr-cell-sub{font-size:.74rem;color:#64748b;margin-top:.15rem;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sbr-page .sbr-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.78rem;background:#f1f5f9;padding:.1rem .4rem;border-radius:4px;color:#334155}.sbr-page .sbr-muted{color:#94a3b8}.sbr-page .sbr-row-actions{display:flex;gap:.4rem;justify-content:flex-end;align-items:center}.sbr-page .sbr-row-actions .pcg-btn{padding:.35rem .7rem;font-size:.78rem;min-height:1.85rem}.sbr-page .sbr-status-pill{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid;border-radius:999px;padding:.18rem .7rem;font-family:inherit;font-size:.72rem;font-weight:700;letter-spacing:.04em;cursor:pointer;transition:background .12s,border-color .12s,color .12s}.sbr-page .sbr-status-pill--active{background:#dcfce7;color:#166534;border-color:#86efac}.sbr-page .sbr-status-pill--active:hover{background:#bbf7d0;border-color:#4ade80}.sbr-page .sbr-status-pill--inactive{background:#f1f5f9;color:#64748b;border-color:#e2e8f0}.sbr-page .sbr-status-pill--inactive:hover{background:#e2e8f0;color:#334155;border-color:#cbd5e1}.sbr-page .pcg-btn{padding:.45rem .85rem;font-size:.82rem;font-weight:600;border-radius:6px;cursor:pointer;border:1px solid transparent;white-space:nowrap;font-family:inherit;line-height:1.2;transition:background .12s,border-color .12s,color .12s}.sbr-page .pcg-btn:disabled{opacity:.55;cursor:not-allowed}.sbr-page .pcg-btn-primary{background:#2563eb;color:#fff;border-color:#2563eb}.sbr-page .pcg-btn-primary:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8}.sbr-page .pcg-btn-ghost{background:#fff;color:#334155;border-color:#cbd5e1}.sbr-page .pcg-btn-ghost:hover:not(:disabled){background:#f8fafc;border-color:#94a3b8;color:#0f172a}.sbr-page .pcg-btn-danger{padding:.35rem .6rem;font-size:.9rem;font-weight:600;line-height:1;border:1px solid transparent;border-radius:6px;background:transparent;color:#b91c1c;cursor:pointer;min-height:1.85rem}.sbr-page .pcg-btn-danger:hover:not(:disabled){background:#fee2e2;border-color:#fecaca;color:#991b1b}.sbr-page .modal-actions{padding:.4rem 1.1rem 1rem;gap:.5rem;display:flex;justify-content:flex-end}.sbr-editor{max-width:580px;width:100%}.sbr-editor-body{padding:.4rem 1.1rem;display:flex;flex-direction:column;gap:.7rem;max-height:70vh;overflow-y:auto}.sbr-field{display:flex;flex-direction:column;gap:.3rem}.sbr-field--grow{flex:1}.sbr-field label{font-size:.75rem;font-weight:700;letter-spacing:.04em;color:#475569;text-transform:uppercase}.sbr-field input[type=text],.sbr-field input[type=tel],.sbr-field textarea{width:100%;padding:.5rem .7rem;font-size:.85rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font-family:inherit;box-sizing:border-box}.sbr-field input:focus,.sbr-field textarea:focus{outline:2px solid #6b1230;outline-offset:-1px;border-color:#6b1230}.sbr-field-row{display:flex;gap:.7rem;flex-wrap:wrap}.sbr-field-row>.sbr-field{flex:1 1 220px}.sbr-field-hint{margin:0;font-size:.74rem;color:#64748b;line-height:1.45}.sbr-required{color:#b91c1c;margin-left:.15rem}.sbr-slug-row{display:flex;align-items:stretch;border:1px solid #cbd5e1;border-radius:8px;overflow:hidden}.sbr-slug-row:focus-within{border-color:#6b1230;box-shadow:0 0 0 2px #6b123033}.sbr-slug-prefix{display:inline-flex;align-items:center;padding:0 .55rem;background:#f1f5f9;color:#64748b;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.82rem;border-right:1px solid #e2e8f0}.sbr-slug-row input{flex:1;border:none;outline:none;padding:.5rem .7rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem;background:#fff}.sbr-toggle{display:inline-flex;align-items:center;gap:.5rem;font-size:.85rem;color:#334155;margin-top:.25rem;cursor:pointer;-webkit-user-select:none;user-select:none}.sbr-toggle input{margin:0}.sbr-qr-modal{max-width:540px;width:100%}.sbr-qr-body{display:grid;grid-template-columns:auto 1fr;gap:1.2rem;padding:.6rem 1.1rem .4rem;align-items:start}.sbr-qr-canvas{padding:.6rem;background:#fff;border:1px solid #f1d486;border-radius:12px;box-shadow:0 6px 16px -10px #4a101940}.sbr-qr-meta{min-width:0}.sbr-qr-label{font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#64748b;margin-top:.4rem}.sbr-qr-slug{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.82rem;color:#6b1230;margin-bottom:.2rem}.sbr-qr-url{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.78rem;color:#0f172a;word-break:break-all;margin-bottom:.6rem}.sbr-qr-actions{display:flex;gap:.4rem;margin-top:.5rem}.sbr-qr-actions .btn-cancel,.sbr-qr-actions .btn-primary{padding:.45rem .95rem;font-size:.82rem;border-radius:6px}.sbr-qr-warning{margin:.7rem 0 0;padding:.5rem .7rem;background:#fef3c7;color:#78350f;font-size:.78rem;border-radius:8px;border:1px solid #fde68a}@media (max-width: 560px){.sbr-qr-body{grid-template-columns:1fr;justify-items:center}.sbr-qr-meta{text-align:left;width:100%}}.follow-ups-page{padding:1.25rem 1.5rem;max-width:1280px}.follow-ups-page .page-header{margin-bottom:.85rem}.follow-ups-page .page-header h1{margin:0 0 .2rem;font-size:1.5rem;color:#0f172a}.follow-ups-page .page-header p{margin:0;color:#64748b;font-size:.88rem}.fu-status-bar{display:flex;gap:.4rem;margin:.5rem 0 .9rem;flex-wrap:wrap}.fu-status-tab{position:relative;padding:.45rem .9rem;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#475569;font-size:.82rem;font-weight:600;cursor:pointer;transition:background .12s,border-color .12s,color .12s}.fu-status-tab:hover{border-color:#cbd5e1;color:#0f172a}.fu-status-tab--active{background:#6b1230;color:#fff;border-color:#6b1230}.fu-status-tab--active:hover{color:#fff;border-color:#6b1230}.fu-status-tab--danger:not(.fu-status-tab--active){border-color:#fecaca;color:#b91c1c}.fu-status-tab-count{display:inline-block;margin-left:.45rem;padding:0 .45rem;min-width:1.4rem;text-align:center;border-radius:999px;background:#0f172a14;font-size:.7rem;font-weight:700;line-height:1.55;font-variant-numeric:tabular-nums}.fu-status-tab--active .fu-status-tab-count{background:#ffffff40}.fu-status-tab--danger:not(.fu-status-tab--active) .fu-status-tab-count{background:#fee2e2;color:#991b1b}.fu-filter-bar{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;margin-bottom:.7rem}.fu-filter-input,.fu-filter-date input{height:36px;padding:0 .7rem;border:1px solid #cbd5e1;border-radius:8px;font-size:.85rem;background:#fff;color:#0f172a;box-sizing:border-box;font-family:inherit}.fu-filter-input:focus,.fu-filter-date input:focus{outline:2px solid #6b1230;outline-offset:-1px;border-color:#6b1230}.fu-filter-input--wide{flex:1;min-width:220px}.fu-filter-input{width:180px}.fu-filter-date{display:inline-flex;align-items:center;gap:.4rem;font-size:.78rem;color:#475569}.fu-filter-clear{height:36px;padding:0 .85rem;font-size:.82rem;font-weight:600;background:transparent;border:1px dashed #cbd5e1;border-radius:8px;color:#64748b;cursor:pointer}.fu-filter-clear:hover{background:#f8fafc;border-color:#94a3b8;color:#0f172a}.fu-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.fu-selection-count{font-size:.85rem;font-weight:600;color:#6b1230}.fu-selection-count--muted{color:#64748b;font-weight:500}.fu-btn{height:36px;padding:0 1rem;border-radius:8px;font-size:.82rem;font-weight:600;cursor:pointer;border:1px solid transparent;transition:background .12s,border-color .12s,color .12s}.fu-btn:disabled{opacity:.55;cursor:not-allowed}.fu-btn--primary{background:#6b1230;color:#fff;border-color:#6b1230}.fu-btn--primary:hover:not(:disabled){background:#4a0d22;border-color:#4a0d22}.fu-list-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.fu-table{width:100%;border-collapse:collapse;font-size:.85rem}.fu-table th{text-align:left;padding:.6rem .85rem;background:#f8fafc;color:#64748b;font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;border-bottom:1px solid #e2e8f0;white-space:nowrap}.fu-table td{padding:.6rem .85rem;border-bottom:1px solid #f1f5f9;vertical-align:top;color:#0f172a}.fu-row:hover{background:#fffaee}.fu-row--selected{background:#fef3c7}.fu-row--selected:hover{background:#fde68a}.fu-row--overdue{background:#fef2f2}.fu-row--overdue:hover{background:#fee2e2}.fu-row--overdue.fu-row--selected{background:#fecaca}.fu-col-check{width:32px}.fu-col-actions{width:80px;text-align:right}.fu-when-main{font-weight:600;font-variant-numeric:tabular-nums}.fu-when-sub{font-size:.74rem;color:#64748b;margin-top:.1rem}.fu-when-sub--overdue{color:#b91c1c;font-weight:600}.fu-when-sub--ok{color:#166534;font-weight:600}.fu-customer-link{background:none;border:none;padding:0;font:inherit;color:#6b1230;font-weight:600;cursor:pointer;text-align:left}.fu-customer-link:hover{text-decoration:underline}.fu-cell-sub{font-size:.76rem;color:#64748b;margin-top:.1rem}.fu-muted{color:#94a3b8}.fu-empty{padding:2rem 1rem;text-align:center;color:#94a3b8;font-size:.88rem}.fu-link{background:none;border:none;padding:0;font:inherit;color:#6b1230;font-weight:600;cursor:pointer}.fu-link:hover{text-decoration:underline}@media (max-width: 900px){.follow-ups-page{padding:1rem}.fu-filter-input,.fu-filter-input--wide{width:100%}.fu-table th,.fu-table td{padding:.5rem .55rem}}.notif-bell-wrap{position:fixed;top:16px;right:24px;z-index:1000}.notif-bell-btn{position:relative;width:40px;height:40px;border-radius:10px;border:1px solid #e2e8f0;background:#fff;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 2px #0f172a0a;transition:background .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease}.notif-bell-btn:hover{background:#f8fafc;color:#1e293b;border-color:#cbd5e1}.notif-bell-btn--open{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe;box-shadow:0 1px 3px #1d4ed826}.notif-bell-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ef4444;color:#fff;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;border:2px solid #ffffff;line-height:1}.notif-panel{position:absolute;top:calc(100% + 8px);right:0;width:380px;max-height:540px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 30px #0f172a1f,0 4px 10px #0f172a0f;display:flex;flex-direction:column;overflow:hidden;animation:notif-panel-in .15s ease}@keyframes notif-panel-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.notif-panel-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #f1f5f9}.notif-panel-title{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#0f172a}.notif-panel-count{font-size:11px;font-weight:600;color:#475569;background:#f1f5f9;padding:2px 7px;border-radius:10px}.notif-panel-header-actions{display:inline-flex;align-items:center;gap:4px}.notif-panel-mark-read{background:transparent;border:none;color:#2563eb;font-size:12px;font-weight:500;cursor:pointer;padding:4px 8px;border-radius:6px}.notif-panel-mark-read:hover{background:#eff6ff}.notif-panel-close{background:transparent;border:none;color:#64748b;cursor:pointer;padding:4px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center}.notif-panel-close:hover{background:#f1f5f9;color:#0f172a}.notif-panel-tabs{display:flex;gap:2px;padding:8px 10px 0;border-bottom:1px solid #f1f5f9}.notif-tab{background:transparent;border:none;padding:8px 10px;font-size:12px;font-weight:500;color:#64748b;cursor:pointer;border-radius:6px 6px 0 0;display:inline-flex;align-items:center;gap:6px;border-bottom:2px solid transparent;margin-bottom:-1px}.notif-tab:hover{color:#1e293b}.notif-tab--active{color:#1d4ed8;border-bottom-color:#2563eb}.notif-tab-count{font-size:10px;font-weight:600;background:#f1f5f9;color:#475569;padding:1px 6px;border-radius:8px;min-width:18px;text-align:center}.notif-tab--active .notif-tab-count{background:#dbeafe;color:#1d4ed8}.notif-panel-body{flex:1;overflow-y:auto;padding:4px 0 6px}.notif-empty{padding:36px 16px;text-align:center;color:#64748b}.notif-empty-icon{width:44px;height:44px;border-radius:50%;background:#f1f5f9;color:#94a3b8;display:inline-flex;align-items:center;justify-content:center;margin-bottom:10px}.notif-empty p{margin:0 0 4px;color:#0f172a;font-size:13px;font-weight:600}.notif-empty span{font-size:12px;color:#64748b}.notif-section{padding:6px 0}.notif-section-header{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:6px 14px}.notif-section-header--delay{color:#b91c1c}.notif-section-header--assign{color:#1d4ed8}.notif-section-header--followup{color:#6b1230}.notif-item{width:100%;display:flex;align-items:flex-start;gap:10px;padding:10px 14px;border:none;background:transparent;text-align:left;cursor:pointer;position:relative;border-left:3px solid transparent;transition:background .12s ease}.notif-item:hover{background:#f8fafc}.notif-item--unread{background:#f8faff}.notif-item--unread:hover{background:#eff6ff}.notif-item--delay.notif-item--unread{border-left-color:#ef4444;background:#fef2f2}.notif-item--delay.notif-item--unread:hover{background:#fee2e2}.notif-item--assign.notif-item--unread{border-left-color:#3b82f6}.notif-item-dot{width:8px;height:8px;border-radius:50%;margin-top:6px;flex-shrink:0}.notif-item-dot--delay{background:#ef4444}.notif-item-dot--assign{background:#3b82f6}.notif-item-dot--followup{background:#b45309}.notif-item--followup.notif-item--unread{border-left-color:#d97706;background:#fffbeb}.notif-item--followup.notif-item--unread:hover{background:#fef3c7}.notif-item--followup.notif-item--overdue{border-left-color:#b91c1c;background:#fef2f2}.notif-item--followup.notif-item--overdue:hover{background:#fee2e2}.notif-item--followup.notif-item--overdue .notif-item-overdue{color:#b91c1c;font-weight:700}.notif-item-body{flex:1;min-width:0}.notif-item-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:3px}.notif-item-step{font-size:13px;font-weight:600;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notif-item-overdue{font-size:11px;font-weight:600;color:#b91c1c;background:#fee2e2;padding:2px 7px;border-radius:10px;flex-shrink:0}.notif-item-time{font-size:11px;color:#64748b;flex-shrink:0}.notif-item-meta{display:flex;align-items:center;gap:6px;font-size:12px;color:#64748b;overflow:hidden}.notif-item-instance{color:#475569;font-weight:500}.notif-item-order{color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notif-unread-dot{width:8px;height:8px;border-radius:50%;background:#2563eb;margin-top:6px;flex-shrink:0}.notif-panel-footer{border-top:1px solid #f1f5f9;padding:8px 12px;text-align:center}.notif-footer-link{background:transparent;border:none;color:#2563eb;font-size:12px;font-weight:500;cursor:pointer;padding:6px 10px;border-radius:6px;width:100%}.notif-footer-link:hover{background:#eff6ff}@media (max-width: 480px){.notif-bell-wrap{top:12px;right:12px}.notif-panel{width:calc(100vw - 24px);right:0;max-height:70vh}}.dashboard{min-height:100vh;background:#f8fafc}.page-content{flex:1;height:100vh;overflow-y:auto;overflow-x:auto;transition:margin-left .25s ease}.dashboard-main{display:flex;min-height:100%}.main-content{flex:1;overflow-x:auto}.loading-container{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f8fafc;gap:1rem}.loading-container-inline{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem}.loading-container-inline p{color:#64748b;font-size:.875rem}.loading-container p{color:#64748b;font-size:.875rem}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;text-align:center;padding:2rem}.empty-state-icon{margin-bottom:1rem;opacity:.5}.empty-state h2{font-size:1.5rem;font-weight:600;color:#1e293b;margin:0 0 .5rem}.empty-state p{color:#64748b;margin:0}@media (max-width: 1024px){.page-content{margin-left:64px!important;height:100vh}.dashboard-main{flex-direction:column}}@media (max-width: 768px){.main-content{padding:1.5rem}}.app-loading{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f8fafc}.loading-spinner{width:48px;height:48px;border:4px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}*{box-sizing:border-box;margin:0;padding:0}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh;background:#f8fafc;color:#1e293b}#root{min-height:100vh}button,input,textarea,select{font-family:inherit}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f1f5f9}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.toast-container{position:fixed;top:20px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:10px;pointer-events:none}.toast{display:flex;align-items:center;gap:10px;padding:12px 18px;border-radius:8px;min-width:280px;max-width:400px;box-shadow:0 4px 16px #00000026;font-size:.9rem;font-weight:500;animation:toast-in .25s ease;pointer-events:all}@keyframes toast-in{0%{opacity:0;transform:translate(40px)}to{opacity:1;transform:translate(0)}}.toast-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}.toast-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.toast-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;font-size:.75rem;font-weight:700;flex-shrink:0}.toast-success .toast-icon{background:#16a34a;color:#fff}.toast-error .toast-icon{background:#dc2626;color:#fff}.toast-message{flex:1;line-height:1.4}
