:root{--background:#fff;--foreground:#111}body{color:var(--foreground);background:var(--background)}.signup-page{padding:2rem;font-family:system-ui;max-width:28rem;margin:0 auto}.signup-intro{color:var(--foreground);opacity:.85;margin-bottom:1.25rem}.signup-message{padding:.75rem;border-radius:6px;margin-bottom:1rem}.signup-message--error{background:#fef2f2;color:#b91c1c}.signup-message--ok{background:#f0fdf4;color:#166534}.signup-form{display:flex;flex-direction:column;gap:1rem}.signup-row label{display:block;font-weight:500;margin-bottom:.25rem}.signup-field-error{display:block;font-size:.85rem;color:#b91c1c;margin-top:.25rem}.signup-row input{width:100%;padding:.5rem .75rem;font-size:1rem}.signup-fieldset,.signup-row input{border:1px solid #ccc;border-radius:6px}.signup-fieldset{padding:.75rem 1rem}.signup-fieldset legend{padding:0 .25rem;font-weight:500}.signup-address-fields{display:flex;flex-direction:column;gap:1rem;margin-top:.5rem}.signup-radios{display:flex;gap:1.5rem;margin-top:.5rem}.signup-radio{display:flex;align-items:center;gap:.5rem;cursor:pointer}.signup-actions{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.signup-submit{padding:.6rem 1rem;font-size:1rem;font-weight:500;background:var(--foreground);color:var(--background);border:none;border-radius:6px;cursor:pointer}.signup-submit:hover:not(:disabled){opacity:.9}.signup-submit:disabled{opacity:.6;cursor:not-allowed}.signup-link{color:#2563eb;font-size:.9rem}.signup-link:hover{text-decoration:underline}.space-layout{font-family:system-ui;min-height:100vh}.space-sidebar{position:fixed;left:0;top:0;bottom:0;width:14rem;padding:1.25rem 0;background:#f8fafc;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;z-index:40;transform:translateX(-100%);transition:transform .2s ease}.space-layout.space-sidebar-open .space-sidebar{transform:translateX(0)}.space-sidebar-brand{padding:0 1rem 1rem;border-bottom:1px solid #e2e8f0;margin-bottom:1rem}.space-sidebar-brand a{font-weight:600;font-size:1.1rem;color:var(--foreground);text-decoration:none}.space-sidebar-brand a:hover{color:#2563eb}.space-sidebar-nav{display:flex;flex-direction:column;gap:.25rem;padding:0 .75rem;flex:1 1}.space-sidebar-link{display:block;padding:.5rem .75rem;color:var(--foreground);text-decoration:none;border-radius:6px;font-size:.95rem}.space-sidebar-link:hover{background:#e2e8f0;color:#2563eb}.space-sidebar-link[aria-current=page]{background:#e0e7ff;color:#3730a3;font-weight:500}.space-sidebar-switcher{margin-top:.5rem;padding:.5rem 0}.space-sidebar-switcher-label{display:block;font-size:.8rem;color:var(--foreground);opacity:.8;margin-bottom:.35rem;padding:0 .25rem}.space-sidebar-select{width:100%;padding:.4rem .5rem;font-size:.9rem;border:1px solid #ccc;border-radius:6px;background:var(--background);cursor:pointer}.space-main-wrap{position:relative;min-height:100vh;margin-left:0;transition:margin-left .2s ease}.space-layout.space-sidebar-open .space-main-wrap{margin-left:14rem}.space-header{position:fixed;top:0;left:0;right:0;height:3.5rem;display:flex;align-items:center;justify-content:space-between;padding:0 1rem;background:var(--background);border-bottom:1px solid #e2e8f0;z-index:30;transition:left .2s ease;gap:.5rem}.space-header-left{display:flex;align-items:center;flex-shrink:0}.space-header-center{flex:1 1;display:flex;align-items:center;justify-content:center;min-width:0}.space-header-right{display:flex;align-items:center;gap:1rem;flex-shrink:0;margin-right:.25rem}.space-header-status-wrap{position:relative;display:flex;align-items:center}.space-layout.space-sidebar-open .space-header{left:14rem}.space-menu-btn{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;padding:0;border:none;border-radius:6px;background:transparent;color:var(--foreground);cursor:pointer}.space-menu-btn:hover{background:#e2e8f0}.space-menu-btn:focus-visible{outline:2px solid #6366f1;outline-offset:2px}.space-menu-btn-icon{display:block;width:1.25rem;height:2px;background:currentColor;border-radius:1px;box-shadow:0 -5px 0 currentColor,0 5px 0 currentColor}.space-header-balance{font-size:.9rem;font-weight:600;color:var(--foreground);padding:.35rem .75rem;background:#f1f5f9;border-radius:6px}.space-header-balance-link{text-decoration:none}.space-header-balance-link:hover{background:#e2e8f0}.space-header-contact-icons{display:flex;align-items:center;gap:.5rem}.space-header-contact-icon{display:flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:6px;color:var(--foreground);background:#f1f5f9;transition:background .15s}.space-header-contact-icon:hover{background:#e2e8f0}.space-header-status-block{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:var(--foreground)}.space-header-status-client-btn{display:flex;align-items:flex-start;gap:.5rem;padding:.25rem .35rem;border:none;background:transparent;color:inherit;cursor:pointer;border-radius:6px;text-align:left}.space-header-status-client-btn:hover{background:#f1f5f9}.space-header-status-client-btn:focus-visible{outline:2px solid #6366f1;outline-offset:2px}.space-header-status-dot{width:.5rem;height:.5rem;border-radius:50%;flex-shrink:0;margin-top:.25rem}.space-header-status-dot-on{background:#22c55e}.space-header-status-dot-off{background:#ef4444}.space-header-status-text{white-space:nowrap}.space-header-status-subtext{display:block;font-size:.75rem;opacity:.8;margin-top:.1rem;white-space:nowrap}.space-header-status-popover{position:absolute;top:calc(100% + .4rem);right:0;width:18rem;padding:.75rem;border-radius:10px;border:1px solid #e2e8f0;background:var(--background);box-shadow:0 12px 30px rgba(0,0,0,.12);z-index:60}.space-header-status-popover-title{font-weight:600;margin-bottom:.5rem}.space-header-status-popover-pre{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.8rem;white-space:pre-wrap;line-height:1.25rem}.space-header-status-popover-foot{margin-top:.5rem;font-size:.75rem;opacity:.85}.space-header-status-popover-tz-note{margin-top:0;margin-bottom:.5rem}.space-header-status-popover-tz-note+.space-header-status-popover-pre{margin-top:0}.space-header-service-toggle{display:flex;align-items:center;gap:.5rem;padding:.35rem .6rem;border-radius:6px;border:1px solid transparent;font-size:.85rem;font-weight:500;cursor:pointer;transition:background .15s,border-color .15s}.space-header-service-toggle:disabled{opacity:.7;cursor:not-allowed}.space-header-service-on{background:#dcfce7;color:#166534;border-color:#22c55e}.space-header-service-on:hover:not(:disabled){background:#bbf7d0}.space-header-service-off{background:#fee2e2;color:#991b1b;border-color:#ef4444}.space-header-service-off:hover:not(:disabled){background:#fecaca}.space-header-service-toggle .space-header-status-dot{background:currentColor;opacity:.9}.space-notifications-wrap{position:relative}.space-notifications-trigger{position:relative;display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;margin-right:.5rem;padding:0;border:none;border-radius:50%;background:transparent;color:var(--foreground);cursor:pointer;transition:background .15s}.space-notifications-trigger:hover{background:#f1f5f9}.space-notifications-bell-icon{flex-shrink:0}.space-notifications-badge{position:absolute;top:0;right:0;min-width:1.1rem;height:1.1rem;padding:0 4px;font-size:.65rem;font-weight:700;line-height:1.1rem;text-align:center;color:#fff;background:#dc2626;border-radius:999px}.space-notifications-panel{position:absolute;top:calc(100% + .35rem);right:0;width:min(22rem,calc(100vw - 2rem));max-height:24rem;display:flex;flex-direction:column;background:var(--background);border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.12);z-index:60}.space-notifications-panel-head{display:flex;align-items:center;justify-content:space-between;padding:.65rem 1rem;font-weight:600;font-size:.9rem;border-bottom:1px solid #e2e8f0}.space-notifications-mark-all{font-size:.75rem;font-weight:500;color:#4f46e5;background:none;border:none;cursor:pointer;text-decoration:underline}.space-notifications-list{overflow-y:auto;max-height:20rem}.space-notifications-empty{padding:1.25rem 1rem;font-size:.875rem;color:#64748b;text-align:center}.space-notifications-item,.space-notifications-item-btn{display:block;width:100%;padding:.65rem 1rem;text-align:left;text-decoration:none;color:inherit;border:none;border-bottom:1px solid #f1f5f9;background:none;cursor:pointer;font:inherit}.space-notifications-item-btn.unread,.space-notifications-item.unread{background:#f8fafc}.space-notifications-item-title{display:flex;align-items:center;gap:.35rem;font-size:.875rem;font-weight:600}.space-notifications-unread-dot{width:6px;height:6px;border-radius:50%;background:#4f46e5;flex-shrink:0}.space-notifications-preview{margin-top:.25rem;font-size:.8rem;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.space-notifications-time{margin-top:.2rem;font-size:.7rem;color:#94a3b8}.space-user-menu{position:relative}.space-user-trigger{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;padding:0;border:none;border-radius:50%;background:#e0e7ff;color:#3730a3;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .15s,transform .15s}.space-user-trigger:hover{background:#c7d2fe}.space-user-trigger:focus-visible{outline:2px solid #6366f1;outline-offset:2px}.space-user-initials{line-height:1}.space-user-dropdown{position:absolute;top:calc(100% + .35rem);right:0;min-width:10rem;padding:.25rem 0;background:var(--background);border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1);z-index:50}.space-user-dropdown-item{display:block;width:100%;padding:.5rem 1rem;text-align:left;font-size:.9rem;color:var(--foreground);background:none;border:none;cursor:pointer}.space-user-dropdown-item:hover{background:#fef2f2;color:#b91c1c}.space-main{padding:calc(3.5rem + 2rem) 2rem 2rem;max-width:50rem;min-height:calc(100vh - 3.5rem);overflow-y:auto}.space-main:has(.admin-table-page){max-width:none}.space-main h1{margin:0 0 1.5rem;font-size:1.5rem}.account-db-print{margin:0 0 1.5rem;font-size:.95rem}.space-content{line-height:1.6}.account-sections{display:flex;flex-direction:column;gap:2rem;max-width:28rem}.account-section{padding:1.25rem;border:1px solid #e5e7eb;border-radius:8px;background:#fafafa}.account-section h2{margin:0 0 .5rem;font-size:1.15rem}.account-hint{margin:0 0 1rem;font-size:.9rem;color:var(--foreground);opacity:.8}.account-fields{display:flex;flex-direction:column;gap:1rem;margin-bottom:1rem}.account-fields label{display:flex;flex-direction:column;gap:.35rem;font-weight:500;font-size:.9rem}.account-fields input{padding:.5rem .75rem;border:1px solid #ccc;border-radius:6px;font-size:1rem}.account-input-readonly{background:#f3f4f6;color:#6b7280;cursor:not-allowed}.account-radios{display:flex;gap:1rem;margin-top:.25rem}.account-radio{display:inline-flex;align-items:center;gap:.5rem;font-weight:400;cursor:pointer}.account-message-error{margin:0 0 .75rem;font-size:.9rem;color:#b91c1c}.account-message-ok{margin:0 0 .75rem;font-size:.9rem;color:#166534}.account-submit{padding:.5rem 1rem;font-size:.95rem;font-weight:500;background:var(--foreground);color:var(--background);border:none;border-radius:6px;cursor:pointer}.account-submit:hover:not(:disabled){opacity:.9}.account-submit:disabled{opacity:.6;cursor:not-allowed}.account-link{color:#2563eb;font-size:.95rem}.account-link:hover{text-decoration:underline}.account-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-top:.75rem}.admin-statuses-message-error{margin:0 0 1rem;color:#b91c1c;font-size:.9rem}.admin-statuses-message-ok{margin:0 0 1rem;color:#166534;font-size:.9rem}.admin-statuses-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.admin-statuses-add-btn{padding:.5rem 1rem;font-size:.9rem;font-weight:500;background:var(--foreground);color:var(--background);border:none;border-radius:6px;cursor:pointer}.admin-statuses-add-btn:hover{opacity:.9}.admin-statuses-list{list-style:none;margin:0;padding:0;border:1px solid #e2e8f0;border-radius:8px;overflow:visible}.admin-statuses-row{display:flex;align-items:center;gap:1rem;padding:.75rem 1rem;border-bottom:1px solid #e2e8f0;background:var(--background)}.admin-statuses-row:last-child{border-bottom:none}.admin-statuses-row-name{flex:1 1;font-weight:500}.admin-statuses-row-rate{color:var(--foreground);opacity:.85;font-size:.95rem}.admin-statuses-row-menu{position:relative}.admin-statuses-dots-btn{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;border:none;border-radius:6px;background:transparent;color:var(--foreground);cursor:pointer}.admin-statuses-dots-btn:hover{background:#e2e8f0}.admin-statuses-dots-icon{display:block;width:4px;height:4px;background:currentColor;border-radius:50%;box-shadow:6px 0 0 currentColor,12px 0 0 currentColor}.admin-statuses-dots-dropdown{position:absolute;top:100%;right:0;margin-top:.25rem;min-width:8rem;padding:.25rem 0;background:var(--background);border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1);z-index:50}.admin-statuses-dots-item{display:block;width:100%;padding:.5rem 1rem;text-align:left;font-size:.9rem;color:var(--foreground);background:none;border:none;cursor:pointer}.admin-statuses-dots-item:hover{background:#f1f5f9}.admin-statuses-dots-item-danger:hover{background:#fef2f2;color:#b91c1c}.admin-statuses-empty{margin-top:1rem;color:var(--foreground);opacity:.8;font-size:.95rem}.admin-settings-page .admin-settings-tabs{display:flex;gap:.25rem;margin-top:1.25rem;border-bottom:1px solid var(--color-border,#e5e7eb);padding-bottom:0}.admin-settings-tab{padding:.5rem 1rem;font-size:.95rem;font-weight:500;color:var(--color-muted,#6b7280);background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-1px;cursor:pointer;border-radius:.25rem .25rem 0 0}.admin-settings-tab:hover{color:var(--color-fg,#111827)}.admin-settings-tab[aria-selected=true]{color:var(--color-fg,#111827);border-bottom-color:var(--color-accent,#2563eb)}.admin-integrations-section{margin-top:1.5rem;max-width:36rem}.admin-integrations-section h2{font-size:1.25rem;margin:0 0 .5rem}.admin-integrations-status{margin:0 0 1rem;font-size:.95rem}.admin-integrations-webhook{margin-bottom:1.5rem}.admin-integrations-webhook-title{font-size:1rem;margin:0 0 .75rem}.admin-integrations-webhook-steps{margin:0 0 1rem;padding-left:1.25rem;font-size:.9rem;line-height:1.5}.admin-integrations-webhook-steps li{margin-bottom:.35rem}.admin-integrations-webhook-steps code{font-size:.85em;background:var(--color-surface);padding:.1em .35em;border-radius:3px}.admin-integrations-webhook-url-row{margin-bottom:.5rem}.admin-integrations-webhook-url-row label{display:block;font-size:.9rem;margin-bottom:.25rem}.admin-integrations-webhook-input-wrap{display:flex;gap:.5rem;max-width:32rem;align-items:center}.admin-integrations-webhook-input-wrap .admin-integrations-webhook-input{flex:1 1;min-width:0}.admin-integrations-webhook-copy{flex-shrink:0;padding:.5rem .75rem;font-size:.9rem;cursor:pointer;background:var(--color-surface);border:1px solid var(--color-border);border-radius:4px}.admin-integrations-webhook-copy:hover{background:var(--color-border)}.admin-integrations-webhook label{display:block;font-size:.9rem;margin-bottom:.25rem}.admin-integrations-webhook-input{width:100%;max-width:32rem;padding:.5rem;font-size:.85rem;font-family:monospace}.admin-integrations-webhook-help{margin:.5rem 0 0;font-size:.85rem;opacity:.85}.admin-integrations-invoice-helper{margin-bottom:1.5rem}.admin-integrations-invoice-helper-desc{margin:0 0 .75rem;font-size:.9rem;line-height:1.45}.admin-integrations-webhook-local{margin-top:1.25rem;padding:.75rem 1rem;background:var(--color-surface);border-radius:6px;border:1px solid var(--color-border)}.admin-integrations-webhook-local-title{font-size:.9rem;margin:0 0 .5rem}.admin-integrations-webhook-local-desc{margin:0 0 .5rem;font-size:.85rem;line-height:1.45}.admin-integrations-webhook-local-desc:last-of-type{margin-bottom:0}.admin-integrations-webhook-local-desc code{font-size:.85em;padding:.1em .3em;border-radius:3px;background:var(--color-bg)}.admin-integrations-webhook-local-cmd{margin:.5rem 0;padding:.5rem .75rem;font-size:.8rem;font-family:monospace;background:var(--color-bg);border-radius:4px;overflow-x:auto;white-space:pre}.admin-integrations-form-note{margin:0 0 1rem;font-size:.9rem;opacity:.9}.admin-integrations-field{margin-bottom:1rem}.admin-integrations-field label{display:block;font-size:.9rem;margin-bottom:.25rem}.admin-integrations-checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.9rem;cursor:pointer}.admin-integrations-checkbox{width:1.1rem;height:1.1rem}.admin-integrations-input{width:100%;max-width:24rem;padding:.5rem}.admin-integrations-msg-ok{margin:0 0 1rem;color:#166534;font-size:.9rem}.admin-integrations-msg-error{margin:0 0 1rem;color:#b91c1c;font-size:.9rem}.admin-integrations-submit{padding:.5rem 1rem;font-weight:500;background:var(--foreground);color:var(--background);border:none;border-radius:6px;cursor:pointer}.admin-integrations-submit:hover:not(:disabled){opacity:.9}.admin-integrations-submit:disabled{opacity:.6;cursor:not-allowed}.admin-availability-hours{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.admin-availability-day{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.admin-availability-day-label{min-width:6.5rem;font-weight:500}.admin-availability-closed{display:flex;align-items:center;gap:.35rem;font-weight:400}.admin-availability-time{max-width:6rem}.admin-availability-sep{color:var(--foreground);opacity:.7}.buy-credits-success-msg{margin:0 0 1rem;font-size:1rem}.admin-statuses-modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.4);display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem}.admin-statuses-modal{background:var(--background);border-radius:12px;padding:1.5rem;max-width:24rem;width:100%;box-shadow:0 20px 40px rgba(0,0,0,.15)}.admin-statuses-modal.admin-statuses-modal-wide{max-width:42rem;max-height:calc(100vh - 2rem);overflow:auto}.admin-statuses-modal h2{margin:0 0 1rem;font-size:1.2rem}.admin-statuses-form{display:flex;flex-direction:column;gap:1rem}.admin-statuses-modal-actions{display:flex;justify-content:flex-end;gap:.75rem;margin-top:1rem}.admin-statuses-btn-primary{padding:.5rem 1rem;font-size:.9rem;font-weight:500;background:var(--foreground);color:var(--background);border:none;border-radius:6px;cursor:pointer}.admin-statuses-btn-primary:hover{opacity:.9}.admin-statuses-btn-secondary{padding:.5rem 1rem;font-size:.9rem;background:transparent;color:var(--foreground);border:1px solid #ccc;border-radius:6px;cursor:pointer}.admin-statuses-btn-secondary:hover{background:#f1f5f9}.admin-statuses-btn-danger{padding:.5rem 1rem;font-size:.9rem;font-weight:500;background:#b91c1c;color:#fff;border:none;border-radius:6px;cursor:pointer}.admin-statuses-btn-danger:hover{background:#991b1b}.admin-statuses-confirm p{margin:0;font-size:.95rem}.admin-credit-packs-toolbar-actions{display:flex;align-items:center;gap:.75rem}.admin-credit-packs-save-order{padding:.5rem 1rem;font-size:.9rem;font-weight:500;background:#166534;color:#fff;border:none;border-radius:6px;cursor:pointer}.admin-credit-packs-save-order:hover{opacity:.9}.admin-credit-packs-list .admin-statuses-row{cursor:-webkit-grab;cursor:grab}.admin-credit-packs-list .admin-statuses-row:active{cursor:-webkit-grabbing;cursor:grabbing}.admin-credit-packs-row-dragging{opacity:.6}.admin-credit-packs-row-drag-over{border-top:2px solid var(--foreground)}.admin-credit-packs-order-cell{display:flex;align-items:center;gap:.25rem;flex-shrink:0}.admin-credit-packs-grip{display:block;width:16px;height:16px;background:linear-gradient(180deg,currentColor 2px,transparent 0);background-size:100% 5px;opacity:.5;flex-shrink:0}.admin-credit-packs-arrows{display:flex;flex-direction:column;gap:0}.admin-credit-packs-order-btn{padding:.15rem .35rem;font-size:.75rem;line-height:1.2;background:transparent;color:var(--foreground);border:1px solid #e2e8f0;border-radius:4px;cursor:pointer}.admin-credit-packs-order-btn:hover:not(:disabled){background:#f1f5f9}.admin-credit-packs-order-btn:disabled{opacity:.4;cursor:not-allowed}.admin-credit-packs-credits{flex-shrink:0;width:4rem;text-align:right}.admin-credit-packs-price{flex-shrink:0;width:5rem;text-align:right}.admin-credit-packs-active{flex-shrink:0;width:2.5rem;font-size:.9rem;opacity:.85}.admin-table-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;margin-bottom:1rem}.admin-table-search{flex:1 1;min-width:12rem;max-width:20rem;padding:.5rem .75rem;font-size:1rem;border:1px solid #e2e8f0;border-radius:6px;background:var(--background)}.admin-table-search::placeholder{color:#94a3b8}.admin-table-filters{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem}.admin-table-filters label{display:flex;align-items:center;gap:.35rem;font-size:.9rem;color:var(--foreground);white-space:nowrap}.admin-table-filters select{padding:.4rem .6rem;font-size:.9rem;border:1px solid #e2e8f0;border-radius:6px;background:var(--background);min-width:6rem}.admin-table-toolbar-result{font-size:.9rem;color:var(--foreground);opacity:.85}.order-status-badge{display:inline-block;width:.6rem;height:.6rem;border-radius:50%;flex-shrink:0}.order-status-badge--pending{background:#f97316}.order-status-badge--in_progress{background:#eab308}.order-status-badge--awaiting_client{background:#0ea5e9}.order-status-badge--done{background:#22c55e}.order-status-badge--error{background:#dc2626}.order-status-cell{display:flex;align-items:center;gap:.5rem}.orders-credits-cell{white-space:nowrap;text-align:right}.orders-row-clickable{cursor:pointer}.orders-row-clickable:hover{background:var(--orders-row-hover,#f1f5f9)}.orders-row-clickable[data-assigned-to-me=true],.orders-row-clickable[data-assigned-to-me=true]>td{background:#eff6ff}.orders-row-clickable[data-assigned-to-me=true]:hover>td{background:#dbeafe}.order-detail-bar{display:flex;flex-direction:column;gap:0;margin-bottom:1.5rem}.order-detail-bar-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:.75rem}.order-detail-bar-back{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;font-size:1.25rem;line-height:1;color:inherit;text-decoration:none;border-radius:.25rem}.order-detail-bar-back:hover{background:#f1f5f9;color:inherit}.order-detail-bar-title-status{display:flex;align-items:baseline;gap:.75rem;min-width:0;flex:1 1 auto}.order-detail-bar-title{font-size:1.5rem;font-weight:600;margin:0;padding:0;min-width:0;line-height:1.2}.order-detail-bar-status{flex-shrink:0}.order-detail-bar-credits{margin-left:auto;flex-shrink:0;white-space:nowrap}.order-detail-bar-sep{border:0;border-top:1px solid #e2e8f0;margin:.5rem 0}.order-detail-bar-date{margin:0;color:#64748b;font-size:.9rem}@media (max-width:640px){.order-detail-bar-row{flex-direction:column;align-items:flex-start}.order-detail-bar-credits{margin-left:0}}.order-detail-page .order-detail-header{margin-bottom:1.5rem}.order-detail-page .order-detail-header p{margin:.25rem 0}.order-detail-packs-table .order-detail-td-credits,.order-detail-packs-table .order-detail-td-price,.order-detail-packs-table .order-detail-td-qty,.order-detail-packs-table .order-detail-th-credits,.order-detail-packs-table .order-detail-th-price,.order-detail-packs-table .order-detail-th-qty{text-align:right}.order-detail-totals-row td{border-top:1px solid #e2e8f0;padding-top:.75rem}.order-detail-invoice{margin-top:1rem;margin-bottom:0}.order-detail-invoice-link{font-weight:500}.order-detail-file{margin-top:1rem}.order-detail-file-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem}.order-detail-file-header .order-detail-file-meta{display:flex;flex-wrap:wrap;gap:1rem}.order-detail-file-header .order-detail-file-meta p{margin:0}.order-detail-file-header .order-detail-file-credits{margin:0 0 0 auto}.order-detail-file-title{font-size:1.25rem;margin-bottom:.5rem}.order-detail-file-block{margin-top:1.5rem}.order-detail-file-block h3{font-size:1rem;margin-bottom:.5rem}.order-detail-file-comment{margin:0;white-space:pre-wrap;word-break:break-word}.order-detail-activity-section h3{margin-bottom:0}.order-detail-activity-toggle{display:inline-flex;align-items:center;gap:.25rem;font:inherit;font-weight:600;color:inherit;background:none;border:none;padding:.25rem 0;cursor:pointer;text-align:left}.order-detail-activity-toggle:hover{text-decoration:underline}.order-detail-activity-chevron{font-size:.75rem;color:#64748b}.order-detail-file-vehicle{display:flex;flex-wrap:wrap;gap:.75rem;align-items:baseline}.order-detail-file-vehicle-type{font-weight:500}.order-detail-file-vehicle-line{font-family:ui-monospace,monospace;font-size:.9rem}.order-detail-file-flow{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:flex-start}.order-detail-file-flow-step{min-width:12rem}.order-detail-file-flow-step h4{font-size:.9rem;margin-bottom:.25rem}.order-detail-file-flow-step ul{margin:0;padding-left:1.25rem}.order-detail-file-activity{list-style:none;padding:0;margin:0}.order-detail-file-activity li{padding:.25rem 0;border-bottom:1px solid #e2e8f0}.order-detail-file-activity-date{font-size:.9rem;color:#64748b}.order-detail-file-actions{margin-top:2rem;padding-top:1rem;border-top:1px solid #e2e8f0}.order-detail-file-actions-note{font-size:.9rem;color:#64748b}.order-detail-file-download-btn{background:none;border:none;padding:0;cursor:pointer;font-size:inherit}.order-detail-file-feedback-btn{margin-left:.25rem;padding:.2rem .5rem;font-size:.85rem;border-radius:4px;cursor:pointer}.order-detail-file-feedback-valid{border:1px solid #22c55e;color:#22c55e;background:transparent}.order-detail-file-feedback-defective{border:1px solid #ef4444;color:#ef4444;background:transparent}.order-detail-file-feedback-badge{font-size:.85rem;color:#22c55e;margin-left:.25rem}.order-detail-file-feedback-badge--rejected{color:#ef4444}.order-detail-file-upload-form{margin-top:.75rem}.order-detail-file-upload-form label{display:block;margin-bottom:.5rem}.order-detail-file-error{color:#ef4444;font-size:.9rem;margin-top:.5rem}.order-detail-file-actions .order-detail-file-action-btn{margin-right:.5rem;margin-bottom:.5rem;padding:.4rem .75rem;font-size:.9rem;border-radius:6px;cursor:pointer;border:1px solid #e2e8f0;background:#fff}.order-detail-file-actions .order-detail-file-action-btn--primary{background:#0f172a;color:#fff;border-color:#0f172a}.order-detail-file-actions .order-detail-file-action-btn--danger{border-color:#ef4444;color:#ef4444;background:transparent}.order-chat-fab{position:fixed;bottom:1.25rem;right:1.25rem;z-index:45;width:3.35rem;height:3.35rem;border-radius:50%;border:none;background:#4f46e5;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px rgba(79,70,229,.4);transition:transform .2s ease,background .15s}.orders-title-with-unread{display:inline-flex;align-items:center;gap:.45rem}.orders-list-unread-dot{flex-shrink:0;width:8px;height:8px;border-radius:50%;background:#dc2626}.order-chat-fab-badge{position:absolute;top:-2px;right:-2px;min-width:1.15rem;height:1.15rem;padding:0 4px;font-size:.65rem;font-weight:700;line-height:1.15rem;text-align:center;color:#fff;background:#dc2626;border-radius:999px;border:2px solid #4f46e5}.order-chat-fab:hover{background:#4338ca;transform:scale(1.05)}.order-chat-fab:focus-visible{outline:2px solid #6366f1;outline-offset:3px}.order-chat-backdrop{display:none;position:fixed;inset:0;top:3.5rem;z-index:43;background:rgba(15,23,42,.35)}@media (max-width:768px){.order-chat-backdrop--visible{display:block}}.order-chat-panel{position:fixed;top:3.5rem;right:0;bottom:0;width:min(100vw - 1rem,420px);max-width:100%;background:var(--background);border-left:1px solid #e2e8f0;z-index:44;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .22s ease;box-shadow:-8px 0 24px rgba(15,23,42,.08)}.order-chat-panel--open{transform:translateX(0)}.order-chat-panel-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;border-bottom:1px solid #e2e8f0;flex-shrink:0;background:#f8fafc}.order-chat-panel-title{font-weight:600;font-size:1rem}.order-chat-panel-close{width:2.25rem;height:2.25rem;border:none;background:transparent;font-size:1.5rem;line-height:1;cursor:pointer;color:#64748b;border-radius:6px}.order-chat-panel-close:hover{background:#e2e8f0;color:var(--foreground)}.order-chat-panel-body{flex:1 1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.5rem;min-height:0}.order-chat-empty{font-size:.9rem;color:#64748b;margin:0}.order-chat-error{margin:0 0 .5rem;font-size:.85rem}.order-chat-bubbles{display:flex;flex-direction:column;gap:.65rem}.order-chat-row{display:flex;width:100%}.order-chat-row--theirs{justify-content:flex-start}.order-chat-row--mine{justify-content:flex-end}.order-chat-msg-stack{display:flex;flex-direction:column;gap:.4rem;max-width:92%}.order-chat-msg-stack--mine{align-items:flex-end}.order-chat-msg-stack--theirs{align-items:flex-start}.order-chat-bubble{max-width:88%;padding:.55rem .85rem .35rem;border-radius:1rem;word-break:break-word}.order-chat-bubble--theirs{background:#f1f5f9;color:#1e293b;border-bottom-left-radius:.35rem}.order-chat-bubble--mine{background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;border-bottom-right-radius:.35rem}.order-chat-bubble-text{margin:0;font-size:.95rem;line-height:1.45;white-space:pre-wrap}.order-chat-bubble--mine .order-chat-attachment-link{color:#e0e7ff}.order-chat-bubble-time{display:block;font-size:.7rem;opacity:.75;margin-top:.35rem;text-align:right}.order-chat-row--theirs .order-chat-bubble-time{text-align:left}.order-chat-attachment-strip{display:flex;flex-direction:column;gap:.35rem;width:100%;max-width:280px}.order-chat-msg-stack--mine .order-chat-attachment-strip{align-items:flex-end}.order-chat-attachment-card{display:flex;align-items:flex-start;gap:.5rem;width:100%;text-align:left;padding:.5rem .65rem;border-radius:10px;border:1px solid #e2e8f0;background:#fff;cursor:pointer;font-size:.85rem;color:#1e293b;transition:background .15s,border-color .15s}.order-chat-attachment-card:hover{background:#f8fafc;border-color:#cbd5e1}.order-chat-attachment-card--mine{border-color:#c7d2fe;background:#eef2ff}.order-chat-attachment-card--mine:hover{background:#e0e7ff;border-color:#a5b4fc}.order-chat-attachment-card--theirs{background:#f8fafc}.order-chat-attachment-card-icon{flex-shrink:0;color:#64748b;margin-top:.05rem}.order-chat-attachment-card--mine .order-chat-attachment-card-icon{color:#4f46e5}.order-chat-attachment-card-main{display:flex;flex-direction:column;gap:.15rem;min-width:0}.order-chat-attachment-card-name{font-weight:500;word-break:break-word;line-height:1.3}.order-chat-attachment-card-meta{font-size:.78rem;color:#64748b}.order-chat-attachment-card--mine .order-chat-attachment-card-meta{color:#6366f1}.order-chat-typing{font-size:.8rem;color:#64748b;font-style:italic;margin:0;padding:.25rem 0}.order-chat-typing--above-input{padding:0 0 .35rem;min-height:1.25rem}.order-chat-composer{flex-shrink:0;padding:.75rem 1rem 1rem;border-top:1px solid #e2e8f0;background:#f8fafc}.order-chat-input{width:100%;box-sizing:border-box;padding:.5rem .65rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem;font-family:inherit;resize:none;margin-bottom:.5rem;background:var(--background)}.order-chat-input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 2px rgba(99,102,241,.2)}.order-chat-pending-files{list-style:none;margin:0 0 .5rem;padding:0;display:flex;flex-direction:column;gap:.35rem}.order-chat-pending-file{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.4rem .5rem;border-radius:8px;background:#fff;border:1px solid #e2e8f0;font-size:.85rem}.order-chat-pending-file-info{display:flex;align-items:baseline;gap:.35rem;min-width:0;flex:1 1}.order-chat-pending-file-name{font-weight:500;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-chat-pending-file-remove,.order-chat-pending-file-size{flex-shrink:0;color:#64748b;font-size:.8rem}.order-chat-pending-file-remove{padding:.2rem .5rem;border:none;border-radius:6px;background:transparent;cursor:pointer}.order-chat-pending-file-remove:hover:not(:disabled){background:#fee2e2;color:#b91c1c}.order-chat-pending-file-remove:disabled{opacity:.5;cursor:not-allowed}.order-chat-composer-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.order-chat-file-label{cursor:pointer}.order-chat-file-input-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.order-chat-file-btn{display:inline-block;padding:.35rem .65rem;font-size:.85rem;border-radius:6px;border:1px solid #e2e8f0;background:var(--background);color:var(--foreground)}.order-chat-file-label:hover .order-chat-file-btn{background:#e2e8f0}.order-chat-file-count{font-size:.8rem;color:#64748b}.order-chat-send{margin-left:auto;padding:.4rem 1rem;font-size:.9rem;font-weight:600;border:none;border-radius:8px;background:#4f46e5;color:#fff;cursor:pointer}.order-chat-send:disabled{opacity:.5;cursor:not-allowed}.admin-team-table-wrap{margin-bottom:1rem;border:1px solid #e2e8f0;border-radius:8px;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}.admin-team-table{width:100%;min-width:36rem;border-collapse:collapse;font-size:.95rem}.admin-clients-table-wrap .admin-clients-table{min-width:0;width:100%}.admin-clients-table td,.admin-clients-table th{overflow-wrap:break-word;word-break:break-word;min-width:0}.admin-team-table td,.admin-team-table th{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #e2e8f0;background:var(--background)}.admin-team-table thead th{font-weight:600;color:var(--foreground)}.admin-team-table tbody tr:last-child td{border-bottom:none}.admin-team-table td:last-child{width:3.5rem;min-width:3.5rem;overflow:visible;position:relative;vertical-align:middle}.admin-clients-table-wrap .admin-clients-table td,.admin-clients-table-wrap .admin-clients-table th{text-align:center}.admin-team-table tr.admin-team-row-menu-open,.admin-team-table tr.admin-team-row-menu-open td{position:relative;z-index:100}.admin-team-table .admin-statuses-row-menu{position:static}.admin-team-table .admin-statuses-dots-dropdown{position:absolute;right:0;top:100%;margin-top:.25rem;z-index:200}@media (max-width:768px){.admin-team-table-wrap{overflow-x:visible;border:none}.admin-team-table{min-width:0;display:block}.admin-team-table thead{display:none}.admin-team-table tbody tr{display:block;margin-bottom:1rem;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;background:var(--background)}.admin-team-table tbody tr:last-child{margin-bottom:0}.admin-team-table td{display:block;padding:.5rem 1rem;border-bottom:1px solid #e2e8f0}.admin-team-table td:last-child{border-bottom:none;width:auto;min-width:0}.admin-team-table td:before{content:attr(data-label);font-weight:600;display:block;margin-bottom:.25rem;font-size:.85em;color:var(--foreground);opacity:.9}.admin-team-table td[data-label=Actions]:before{display:none}.admin-team-table td[data-label=Actions]{display:flex;justify-content:flex-end;padding-top:.5rem}}.admin-team-role-hint{margin:0 0 .75rem;font-size:.9rem;color:var(--foreground);opacity:.9}.admin-team-checkbox-row{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.95rem}.admin-team-checkbox-row input{width:1rem;height:1rem}.admin-clients-input,.admin-clients-select{width:100%;padding:.5rem;font-size:1rem;border:1px solid #e2e8f0;border-radius:6px;margin-bottom:.5rem}.admin-clients-account-cell,.admin-clients-contact-cell{white-space:normal;vertical-align:middle}.admin-clients-address-cell{white-space:normal;vertical-align:top}.buy-credits-content{max-width:42rem;margin-left:auto;margin-right:auto}.buy-credits-table-wrap{margin-bottom:.75rem}.buy-credits-table{table-layout:fixed;width:100%}.buy-credits-table td{padding:.4rem .5rem;vertical-align:middle}.buy-credits-col-pack{width:42%}.buy-credits-col-qty{width:10%}.buy-credits-col-credits{width:22%}.buy-credits-col-price{width:26%}.buy-credits-pack-cell{display:flex;flex-direction:column;gap:.1rem}.buy-credits-pack-name{font-weight:600;font-size:.95rem}.buy-credits-pack-credits,.buy-credits-pack-price{font-size:.85rem;color:var(--foreground);opacity:.9}.buy-credits-qty-input{width:3.25rem;max-width:100%;padding:.25rem .35rem;border:1px solid #e2e8f0;border-radius:4px;font-size:.95rem;box-sizing:border-box}.buy-credits-table td:nth-child(3),.buy-credits-table td:nth-child(4){white-space:nowrap;text-align:right}.buy-credits-table .buy-credits-totals-row td{font-weight:600;border-top:2px solid #e2e8f0;padding-top:.5rem}.buy-credits-totals-credits,.buy-credits-totals-price{white-space:nowrap}.buy-credits-totals{margin-top:1rem;padding-top:.75rem;display:flex;flex-direction:column;align-items:flex-end;gap:.75rem}.buy-credits-totals-breakdown{font-size:.9rem;color:var(--foreground);opacity:.9;margin:0;text-align:right}.buy-credits-submit{padding:.6rem 1.25rem;font-size:1rem;font-weight:500;background:var(--foreground);color:var(--background);border:none;border-radius:6px;cursor:pointer}.buy-credits-submit:hover:not(:disabled){opacity:.9}.buy-credits-submit:disabled{opacity:.5;cursor:not-allowed}.buy-credits-message{margin:0;padding:.5rem 0;font-size:.95rem}.buy-credits-message--ok{color:var(--color-positive,#166534)}.buy-credits-message--error{color:var(--color-negative,#b91c1c)}.file-order-page{max-width:56rem}.file-order-stepper{--file-order-stepper-gray:#374151;margin-bottom:1.5rem;display:flex;justify-content:center}.file-order-stepper-list{display:flex;align-items:flex-start;list-style:none;margin:0;padding:0}.file-order-stepper-item{display:flex;align-items:center;flex:0 0 auto}.file-order-stepper-btn{display:flex;flex-direction:column;align-items:center;gap:.35rem;padding:0;border:none;font-size:inherit;font-family:inherit;background:transparent;color:inherit;cursor:pointer}.file-order-stepper-item--locked .file-order-stepper-btn{cursor:not-allowed}.file-order-stepper-dot{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:50%;border:2px solid transparent;font-size:.9rem;font-weight:600;background:var(--color-surface-2,#e5e7eb);color:var(--color-text-muted,#6b7280)}.file-order-stepper-item--current .file-order-stepper-dot{background:var(--file-order-stepper-gray);color:white;opacity:1;border-color:transparent}.file-order-stepper-item--reachable .file-order-stepper-dot{background:var(--file-order-stepper-gray);color:white;opacity:.45;border-color:transparent}.file-order-stepper-item--reachable .file-order-stepper-btn:hover .file-order-stepper-dot{opacity:.6}.file-order-stepper-item--locked .file-order-stepper-dot{background:transparent;border-color:var(--file-order-stepper-gray);color:var(--file-order-stepper-gray);opacity:.4}.file-order-stepper-item--completed .file-order-stepper-dot{background:var(--file-order-stepper-gray);color:white;opacity:.45;border-color:transparent}.file-order-stepper-label{font-size:.8rem;font-weight:500;color:var(--file-order-stepper-gray);opacity:.5}.file-order-stepper-item--current .file-order-stepper-label{opacity:1}.file-order-stepper-item--completed .file-order-stepper-label,.file-order-stepper-item--reachable .file-order-stepper-label{opacity:.5}.file-order-stepper-item--locked .file-order-stepper-label{opacity:.4}.file-order-stepper-line{width:7rem;height:2px;margin:calc(1rem - 1px) 1rem 0;background:rgba(55,65,81,.15);align-self:flex-start;flex-shrink:0}.file-order-stepper-line--completed{background:rgba(55,65,81,.45)}.file-order-step-title{font-size:1.1rem;margin:0 0 1rem}.file-order-label{display:block;font-weight:600;margin-bottom:.35rem;font-size:.9rem}.file-order-vehicle-types-strip{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.25rem}.file-order-vehicle-type-btn{padding:.5rem 1rem;border:1px solid var(--color-border,#d1d5db);border-radius:6px;background:white;cursor:pointer;font-size:.95rem}.file-order-vehicle-type-btn:hover{background:var(--color-surface-2,#f3f4f6)}.file-order-vehicle-type-btn--selected{border-color:var(--color-primary,#2563eb);background:var(--color-primary-light,#eff6ff)}.file-order-columns{display:grid;grid-template-columns:1fr 1fr 1fr;grid-gap:1.5rem;gap:1.5rem;margin-bottom:1.5rem}@media (max-width:768px){.file-order-columns{grid-template-columns:1fr}}.file-order-block-list{display:flex;flex-direction:column;gap:.35rem}.file-order-block-row{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.9rem;padding:.5rem .6rem;border-radius:6px;border:1px solid var(--color-border,#e5e7eb);background:var(--color-surface-2,#f9fafb)}.file-order-block-row:hover{background:var(--color-surface-2,#f3f4f6)}.file-order-block-row input{flex-shrink:0}.file-order-block-name{flex:1 1;min-width:0}.file-order-block-credits{flex-shrink:0;min-width:5rem;text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--color-text-muted,#6b7280);font-size:.9rem}.file-order-block-credits .file-order-block-credits-discounted,.file-order-block-credits .file-order-block-credits-original{display:block}.file-order-block-credits .file-order-block-credits-original{font-size:.85rem;margin-bottom:.1rem}.file-order-block-credits .file-order-block-credits-discounted{font-weight:600;color:var(--color-positive,#166534)}.file-order-block-row:has(input:checked){border-color:var(--color-primary,#2563eb);background:var(--color-primary-light,#eff6ff)}.file-order-block-row:has(input:checked) .file-order-block-name{font-weight:600}.file-order-col-options .file-order-options-list,.file-order-col-stage .file-order-radio-group{display:flex;flex-direction:column;gap:.35rem}.file-order-checkbox,.file-order-radio{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.9rem}.file-order-total-box{padding:.75rem;background:var(--color-surface-2,#f3f4f6);border-radius:6px}.file-order-total-original{margin:0 0 .25rem;font-size:.9rem;color:var(--color-text-muted,#6b7280)}.file-order-total-value{margin:0;font-weight:700;font-size:1.1rem}.file-order-total-discount{margin:.35rem 0 0;font-size:.85rem;color:var(--color-positive,#166534)}.file-order-step-actions{display:flex;justify-content:space-between;gap:.75rem;margin-top:1.25rem}.file-order-step-actions--end{justify-content:flex-end}.file-order-btn{padding:.5rem 1rem;border-radius:6px;border:1px solid var(--color-border,#d1d5db);background:white;cursor:pointer;font-size:.95rem}.file-order-btn:hover:not(:disabled){background:var(--color-surface-2,#f3f4f6)}.file-order-btn-primary{background:var(--color-primary,#2563eb);color:white;border-color:var(--color-primary,#2563eb)}.file-order-btn-primary:hover:not(:disabled){background:var(--color-primary-dark,#1d4ed8)}.file-order-btn:disabled{opacity:.6;cursor:not-allowed}.file-order-validation-msg{color:var(--color-negative,#b91c1c);font-size:.9rem;margin:0 0 .5rem}.file-order-form{display:flex;flex-direction:column;gap:1rem;max-width:28rem;margin-bottom:1rem}.file-order-field label{display:block;margin-bottom:.25rem;font-size:.9rem;font-weight:500}.file-order-field input[type=file],.file-order-field input[type=text],.file-order-field textarea{width:100%;padding:.4rem .5rem;border:1px solid var(--color-border,#d1d5db);border-radius:4px;font-size:.95rem}.file-order-field input[type=file]{padding:.25rem 0}.file-order-field-error{margin:.25rem 0 0;font-size:.85rem;color:var(--color-negative,#b91c1c)}.file-order-file-row{display:flex;align-items:center;gap:.5rem;margin:.25rem 0 0;flex-wrap:wrap}.file-order-file-name{font-size:.85rem;color:var(--color-text-muted,#6b7280)}.file-order-remove-file{padding:.2rem .5rem;font-size:.8rem;border:1px solid var(--color-border,#d1d5db);border-radius:4px;background:white;cursor:pointer;color:var(--color-text-muted,#6b7280)}.file-order-remove-file:hover{background:var(--color-surface-2,#f3f4f6);color:var(--color-negative,#b91c1c)}.file-order-file-added{margin:.5rem 0 0;padding:.75rem 1rem;background:var(--color-surface-2,#f0fdf4);border-radius:8px;border:1px solid var(--color-positive,#22c55e);border-left-width:4px}.file-order-file-added .file-order-file-row{margin-top:0}.file-order-file-added .file-order-file-name{font-weight:500;color:var(--color-text,#111827);font-size:1rem}.file-order-file-added-actions{display:flex;align-items:center;gap:.75rem;margin-top:.5rem;flex-wrap:wrap}.file-order-replace-file{padding:.2rem .5rem;font-size:.8rem;border:1px solid var(--color-border,#d1d5db);border-radius:4px;background:white;cursor:pointer;color:var(--color-primary,#2563eb);text-decoration:none}.file-order-replace-file:hover{background:var(--color-surface-2,#eff6ff);border-color:var(--color-primary,#2563eb)}.file-order-remove-file--danger{color:var(--color-text-muted,#6b7280)}.file-order-remove-file--danger:hover{color:var(--color-negative,#b91c1c)}.file-order-file-input-hidden{position:absolute;width:.1px;height:.1px;opacity:0;overflow:hidden;clip:rect(0,0,0,0)}.file-order-progress{margin:.25rem 0 0;width:100%;max-width:16rem;height:6px;background:var(--color-surface-2,#e5e7eb);border-radius:3px;overflow:hidden}.file-order-progress-bar{height:100%;width:40%;background:var(--color-primary,#2563eb);border-radius:3px;animation:file-order-progress-indeterminate 1.2s ease-in-out infinite}@keyframes file-order-progress-indeterminate{0%{transform:translateX(-100%)}to{transform:translateX(350%)}}.file-order-limit,.file-order-optional{font-weight:400;color:var(--color-text-muted,#6b7280)}.file-order-optional{font-size:.85em}.file-order-payment-layout{display:grid;grid-template-columns:1fr auto;grid-gap:2rem;gap:2rem;margin-bottom:1.5rem;align-items:start}@media (max-width:640px){.file-order-payment-layout{grid-template-columns:1fr}}.file-order-recap{padding:1rem;background:var(--color-surface-2,#f3f4f6);border-radius:8px;min-width:0}.file-order-recap-title{font-size:.95rem;font-weight:700;margin:0 0 .5rem}.file-order-recap-title:not(:first-child){margin-top:1rem}.file-order-recap-list{margin:0 0 .25rem;display:grid;grid-gap:.25rem;gap:.25rem}.file-order-recap-row{display:grid;grid-template-columns:10rem 1fr;grid-gap:.75rem;gap:.75rem;font-size:.9rem}.file-order-recap-row dt{margin:0;font-weight:500;color:var(--color-text-muted,#6b7280)}.file-order-recap-row dd{margin:0}.file-order-recap-tags{display:flex;flex-wrap:wrap;gap:.35rem}.file-order-recap-tag{display:inline-block;padding:.2rem .5rem;font-size:.85rem;border-radius:4px;border:1px solid var(--color-border,#d1d5db);background:var(--color-surface-3,#e5e7eb)}.file-order-recap-tag--stage{border-color:var(--color-primary,#2563eb);background:var(--color-primary-light,#eff6ff);color:var(--color-primary,#2563eb)}.file-order-recap-tag--option{border-color:var(--color-positive,#166534);background:rgba(22,101,52,.1);color:var(--color-positive,#166534)}.file-order-recap-vehicle-line{margin:0 0 .25rem;font-size:.9rem}.file-order-recap-comment{margin:.25rem 0 0;font-size:.9rem;color:var(--color-text-muted,#6b7280);white-space:pre-wrap}.file-order-payment-column{display:flex;flex-direction:column;gap:1rem;min-width:18rem;padding:1.25rem;background:var(--color-surface-2,#f3f4f6);border:1px solid var(--color-border,#d1d5db);border-radius:8px}.file-order-payment-summary{margin:0}.file-order-validate-btn{align-self:flex-start}.file-order-payment-line{display:flex;justify-content:space-between;margin:0 0 .5rem;font-size:.95rem}.file-order-payment-cost{font-weight:600}.file-order-payment-cost s{margin-right:.25rem}.file-order-payment-discount{color:var(--color-positive,#166534);font-size:.9rem}.file-order-payment-total{font-weight:700;margin-top:.5rem;padding-top:.5rem;border-top:1px solid var(--color-border,#d1d5db)}.file-order-insufficient{margin-top:.75rem;color:var(--color-negative,#b91c1c);font-size:.9rem}.file-order-insufficient a{text-decoration:underline}.file-order-success{margin-top:1rem}.file-order-success-message{font-size:1.05rem;margin:0 0 .5rem}.file-order-success-note{font-size:.9rem;color:var(--color-text-muted,#6b7280);margin:0 0 1rem}.file-order-success-links{display:flex;flex-wrap:wrap;gap:.75rem}.file-order-link{display:inline-block;padding:.4rem .75rem;background:var(--color-surface-2,#e5e7eb);border-radius:4px;font-size:.9rem;text-decoration:none;color:inherit}.file-order-link:hover{background:var(--color-surface-3,#d1d5db)}