body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background-color:#f5f7fb;color:#111827;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}input,select,textarea{max-width:100%;box-sizing:border-box}.screen-container{width:100%;max-width:1200px;margin:0 auto;box-sizing:border-box}.app-layout{display:flex;min-height:100vh}.sidebar{width:200px;background:#fff;border-right:1px solid rgba(15,23,42,.1);display:flex;flex-direction:column;position:fixed;height:calc(100vh - 1rem);top:0;overflow-y:auto;padding-bottom:1rem}.sidebar-header{padding:0 1rem 0 .5rem}.sidebar-header h2{margin:0;font-size:1rem;font-weight:600}.sidebar-nav-logo{display:block;height:7rem;width:auto;object-fit:contain;margin:0}.sidebar-nav{padding:.25rem 0}.sidebar-divider{height:1px;background:#0f172a1a;margin:.75rem 1rem}.sidebar-item-cabinet{margin-top:.5rem}.sidebar-item{display:block;width:100%;padding:.75rem 1rem;border:none;background:transparent;text-align:left;cursor:pointer;font-size:.9rem;color:#64748b;transition:all .2s;text-decoration:none;box-sizing:border-box}.sidebar-item:hover{background:#f1f5f9;color:#111827}.sidebar-item.active{background:#e0e7ff;color:#2563eb;font-weight:600;border-right:3px solid #2563eb}.layout-main{flex:1;margin-left:200px;display:flex;flex-direction:column;min-width:0}.app-header{background:#fff;border-bottom:1px solid rgba(15,23,42,.1);border-left:1px solid rgba(15,23,42,.1);display:flex;align-items:center;justify-content:space-between;padding:.5rem clamp(1rem,2vw + .5rem,2rem);position:sticky;top:0;z-index:10;min-height:44px}.header-left h1{margin:0;font-size:1.1rem;font-weight:600}.header-right{display:flex;align-items:center;gap:1rem}.header-refresh-btn,.header-profile-btn{padding:.5rem 1rem;border:1px solid rgba(15,23,42,.2);border-radius:16px;background:#fff;cursor:pointer;display:flex;align-items:center;gap:.5rem;font-size:.9rem;outline:none}.header-refresh-btn:hover,.header-profile-btn:hover{background:#f1f5f9}.header-refresh-btn:disabled{opacity:.5;cursor:not-allowed}.header-start-shift-btn{padding:.2rem .5rem;border:1px solid #10b981;border-radius:8px;background:#ecfdf5;color:#059669;font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap}.header-start-shift-btn:hover:not(:disabled){background:#d1fae5;color:#047857}.header-start-shift-btn:disabled{opacity:.6;cursor:not-allowed}.header-end-shift-btn{padding:.2rem .5rem;border:1px solid #f59e0b;border-radius:8px;background:#fffbeb;color:#d97706;font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap}.header-end-shift-btn:hover:not(:disabled){background:#fef3c7;color:#b45309}.header-end-shift-btn:disabled{opacity:.6;cursor:not-allowed}.profile-icon{font-size:1.2rem}.profile-name{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-left{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}.header-info{display:flex;align-items:center;gap:.75rem;font-size:.85rem;color:#64748b;flex-wrap:wrap}.header-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;flex-shrink:0;background:#2563eb;display:flex;align-items:center;justify-content:center}.header-avatar img{width:100%;height:100%;object-fit:cover}.header-avatar-initials{color:#fff;font-size:.85rem;font-weight:600}.header-chip{display:flex;align-items:center;gap:.25rem;padding:.25rem .5rem;background-color:#f1f5f9;border-radius:4px;font-size:.85rem;color:#475569}.header-time{font-family:monospace;display:flex;align-items:center;gap:.5rem}.layout-content{flex:1;padding:clamp(1rem,2vw + .5rem,2rem);overflow-y:auto;overflow-x:hidden;box-sizing:border-box}.sidebar-header-row{display:flex;justify-content:space-between;align-items:center}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.card{background:#fff;border-radius:12px;box-shadow:0 6px 18px #0f172a14;padding:1.2rem;border:1px solid rgba(15,23,42,.08)}.card h2{margin-top:0;margin-bottom:.8rem;font-size:1.1rem}.card label{display:block;font-size:.85rem;margin-top:.4rem}.card input{width:100%;margin-top:.15rem;padding:.35rem;border:1px solid rgba(15,23,42,.2);border-radius:6px}.card button{margin-top:.5rem;margin-right:.5rem;padding:.4rem .8rem;border:none;border-radius:6px;background:#9c9588;color:#fff;cursor:pointer;outline:none}.auth-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f0f4ff}.list{list-style:none;padding:0;margin:0}.list li{padding:.4rem 0;border-bottom:1px dashed rgba(15,23,42,.15)}.screen-container{width:100%}.screen-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.screen-header h2{margin:0;font-size:1.5rem;font-weight:600}.screen-stats{display:flex;gap:1rem;font-size:.9rem;color:#64748b}.screen-actions{display:flex;gap:.5rem}.action-btn,.sync-btn{padding:.55rem 1.05rem;border:none;border-radius:24px;background:#9c9588;color:#fff;cursor:pointer;font-size:.92rem;font-weight:600;transition:background .15s ease,transform .15s ease,box-shadow .15s ease;outline:none}.action-btn:hover,.sync-btn:hover{background:#8a8276;box-shadow:0 6px 18px #9c958840;transform:translateY(-1px)}.action-btn:active,.sync-btn:active{background:#787068;transform:translateY(0);box-shadow:none}.action-btn:disabled,.sync-btn:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.action-btn svg,.sync-btn svg{display:inline-block;vertical-align:middle;width:1em;height:1em;margin:0}.action-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem}.screen-filters{display:flex;gap:1.5rem;margin-bottom:1.5rem;flex-wrap:wrap;align-items:stretch;width:100%}.production-filters{gap:.75rem;align-items:flex-end}.production-filters .filter-group{display:flex;flex-direction:column;gap:.25rem;flex:1 1 200px;min-width:180px}.production-filters .filter-search{flex:2 1 280px;min-width:220px}.filter-input,.filter-select{padding:.5rem;border:1px solid rgba(15,23,42,.2);border-radius:6px;font-size:.9rem;width:100%;box-sizing:border-box}.filter-input{flex:1;min-width:220px}.filter-select{min-width:160px}.filter-checkbox{display:flex;align-items:center;gap:.5rem;font-size:.9rem}.screen-content{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 6px 18px #0f172a14;overflow-x:auto;max-width:100%}.data-table{width:100%;border-collapse:collapse;min-width:720px;table-layout:auto}.data-table th,.data-table td{padding:.75rem;text-align:left;border-bottom:1px solid rgba(15,23,42,.1)}.data-table th{white-space:nowrap}.data-table td{word-break:break-word;max-width:200px}.data-table th{font-weight:600;background:#f8fafc;position:sticky;top:0}.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.85rem;font-weight:500}.status-new{background:#dbeafe;color:#1e40af}.status-processing{background:#fef3c7;color:#92400e}.status-ready,.status-completed{background:#d1fae5;color:#065f46}.status-assigned{background:#e0e7ff;color:#3730a3}.status-in-progress{background:#fef3c7;color:#92400e}.status-ready-shipment{background:#dbeafe;color:#1e40af}.status-passed-marketplace{background:#e0e7ff;color:#3730a3}.status-warning{background:#fef3c7;color:#92400e}.status-empty{background:#e5e7eb;color:#6b7280}.status-error{background:#fee2e2;color:#991b1b}.status-success,.status-начал-смену{background:#d1fae5;color:#065f46}.status-завершил-смену{background:#fef3c7;color:#92400e}.status-processed{background:#22c55e;color:#fff}.status-pending{background:#fef3c7;color:#92400e}.workload-badge{display:inline-block;padding:.25rem .65rem;border-radius:12px;font-size:.75rem;font-weight:500;background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0}.workload-badge.workload-assigned{background:#d1fae5;color:#065f46;border:1px solid #6ee7b7}.workload-badge.workload-planned{background:#fef3c7;color:#92400e;border:1px solid #fcd34d}.workload-badge.workload-both{background:linear-gradient(135deg,#d1fae5,#fef3c7);color:#1e293b;border:1px solid #34d399}.workload-badge{cursor:pointer;font-family:inherit;transition:box-shadow .2s,transform .1s}button.workload-badge{-moz-appearance:none;appearance:none;-webkit-appearance:none}.workload-badge:hover{box-shadow:0 2px 4px #0000001a}.workload-badge:active{transform:scale(.98)}.workload-badge.workload-badge-active{box-shadow:0 0 0 2px #5c564d;outline:none}.stage-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.85rem;font-weight:500}.stage-new{background:#f3f4f6;color:#374151}.stage-cutting{background:#dbeafe;color:#1e40af}.stage-sewing{background:#e9d5ff;color:#6b21a8}.stage-packing{background:#fef3c7;color:#92400e}.stage-qc{background:#d1fae5;color:#065f46}.stage-warehouse{background:#dbeafe;color:#1e40af}.stage-fulfillment{background:#d1fae5;color:#065f46}.stage-marketplace{background:#9333ea;color:#fff}.tasks-tree{display:flex;flex-direction:column;gap:1rem}.order-card{background:#fff;border:1px solid rgba(15,23,42,.1);border-radius:8px;overflow:hidden}.order-header{padding:1rem;background:#f8fafc;cursor:pointer;display:flex;align-items:center;gap:.75rem;transition:background .2s}.order-header:hover{background:#f1f5f9}.expand-icon{font-size:.8rem;color:#64748b}.order-info{display:flex;align-items:center;gap:1rem;flex:1}.order-details{padding:1rem;border-top:1px solid rgba(15,23,42,.1)}.order-meta{margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid rgba(15,23,42,.1)}.order-meta div{margin-bottom:.5rem}.work-orders-list{margin-top:1rem}.work-orders-list h4{margin:0 0 .75rem;font-size:1rem}.work-order-card{padding:1rem;margin-bottom:.75rem;background:#f8fafc;border-radius:6px;border:1px solid rgba(15,23,42,.1)}.work-order-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem;flex-wrap:wrap}.work-order-details{font-size:.9rem;color:#64748b}.work-order-details div{margin-bottom:.25rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background:#fff;border-radius:12px;width:90%;max-width:700px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:600px;max-height:90vh;overflow-y:auto;overflow-x:hidden;box-shadow:0 20px 25px -5px #0000001a;box-sizing:border-box}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid rgba(15,23,42,.1)}.modal-header h2,.modal-header h3{margin:0;font-size:1.25rem}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#64748b;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;outline:none}.modal-close:hover{background:#f1f5f9}.modal-close:disabled{opacity:.5;cursor:not-allowed}.modal-header .modal-close{margin:0;padding:0;width:32px;height:32px;min-width:32px;min-height:32px;background:none;border:none;border-radius:50%;font-size:1.5rem;color:#64748b;cursor:pointer;outline:none;display:flex;align-items:center;justify-content:center}.modal-header .modal-close:hover{background:#f1f5f9}.modal-header .modal-close:disabled{opacity:.5;cursor:not-allowed}.modal-overlay.gallery-overlay .modal-close{color:#fff;position:absolute;top:-40px;right:0}.modal-overlay.gallery-overlay .modal-close:hover{background:#f1f5f9;color:#1e293b}.modal-body{padding:1.5rem;overflow-y:auto;overflow-x:hidden;flex:1;box-sizing:border-box}.modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1.5rem;border-top:1px solid rgba(15,23,42,.1)}.form-group{margin-bottom:1.25rem}.form-label{display:block;margin-bottom:.5rem;font-size:.9rem;font-weight:500;color:#111827}.form-input,.form-select,.form-textarea{width:100%;padding:.625rem;border:1px solid rgba(15,23,42,.2);border-radius:6px;font-size:.9rem;font-family:inherit;transition:border-color .2s;box-sizing:border-box}.form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.form-input:disabled,.form-select:disabled,.form-textarea:disabled{background:#f1f5f9;cursor:not-allowed;opacity:.6}.form-textarea{resize:vertical;min-height:80px}.order-items-section{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid rgba(15,23,42,.1)}.order-item-row{display:flex;gap:.75rem;margin-bottom:.75rem;align-items:flex-start}.btn-primary{padding:.625rem 1.25rem;border:none;border-radius:16px;background:#9c9588;color:#fff;cursor:pointer;font-size:.9rem;font-weight:500;transition:background .2s;outline:none}.btn-primary:hover:not(:disabled){background:#8a8276}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{padding:.625rem 1.25rem;border:1px solid rgba(15,23,42,.2);border-radius:16px;background:#fff;color:#111827;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s;outline:none}.btn-secondary:hover:not(:disabled){background:#f1f5f9;border-color:#0f172a4d}.btn-secondary:disabled{opacity:.5;cursor:not-allowed}.error-message{color:#dc2626;background:#fee2e2;padding:.75rem;border-radius:6px;font-size:.9rem;margin-bottom:1rem}.profile-content{padding:1.5rem}.profile-section{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid rgba(15,23,42,.1)}.profile-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.profile-section h4{margin:0 0 .75rem;font-size:1rem;font-weight:600}.profile-avatar{width:64px;height:64px;border-radius:50%;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:600;margin-bottom:1rem;overflow:hidden}.profile-avatar-clickable{background:#2563eb}.profile-avatar-clickable:disabled{cursor:wait}.profile-avatar-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#0006;border-radius:50%}.profile-basic h3{margin:0 0 .25rem;font-size:1.25rem}.profile-basic p{margin:.25rem 0;color:#64748b}.profile-id{font-size:.85rem;font-family:monospace}.skills-list{display:flex;flex-wrap:wrap;gap:.5rem}.skill-badge{padding:.375rem .75rem;background:#e0e7ff;color:#3730a3;border-radius:12px;font-size:.85rem}.profile-actions{display:flex;gap:.5rem;margin-top:.75rem}.profile-actions button{padding:.5rem 1rem;border:none;border-radius:16px;background:#9c9588;color:#fff;cursor:pointer;font-size:.9rem;outline:none}.profile-actions button:hover:not(:disabled){background:#8a8276}.profile-actions button:disabled{opacity:.5;cursor:not-allowed}.health-status{display:flex;gap:.5rem;flex-wrap:wrap}.profile-list{list-style:none;padding:0;margin:0}.profile-list li{padding:.5rem 0;border-bottom:1px dashed rgba(15,23,42,.15);font-size:.9rem}.profile-stats{display:flex;flex-direction:column;gap:.5rem}.profile-stats div{font-size:.9rem}.task-item{padding:.75rem;background:#f8fafc;border-radius:6px;margin-bottom:.5rem;font-size:.9rem}.status-select{padding:.25rem .5rem;border:1px solid rgba(15,23,42,.2);border-radius:4px;font-size:.85rem;width:100%;box-sizing:border-box}.cabinet-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-bottom:1.5rem}.colors-grid,.models-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;margin-top:1rem}.color-card,.model-card{background:#fff;border:1px solid rgba(15,23,42,.1);border-radius:8px;padding:1rem;display:flex;flex-direction:column;gap:.75rem}.color-photo-preview,.model-photo-preview{width:100%;height:200px;background-size:cover;background-position:center;border-radius:6px;border:1px solid rgba(15,23,42,.1)}.color-photo-placeholder,.model-photo-placeholder{width:100%;height:200px;background:#f8fafc;border:1px dashed rgba(15,23,42,.2);border-radius:6px;display:flex;align-items:center;justify-content:center;color:#64748b;font-size:.9rem}.color-info,.model-info{flex:1}.color-actions,.model-actions{display:flex;gap:.5rem;flex-wrap:wrap}.model-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.color-photo-enlarged{width:100%;height:400px;background-size:contain;background-repeat:no-repeat;background-position:center;border:1px solid rgba(15,23,42,.1);border-radius:8px}.modal-tabs{display:inline-flex;flex-wrap:wrap;gap:.35rem;border-bottom:1px solid rgba(15,23,42,.1);margin-bottom:1rem;padding-bottom:.5rem;max-width:100%}.tab-active,.tab-inactive{padding:.35rem .65rem;border:none;background:transparent;cursor:pointer;font-size:.8rem;border-bottom:2px solid transparent;transition:all .2s}.tab-active{color:#5c564d;border-bottom-color:#9c9588;font-weight:600}.tab-inactive{color:#64748b}.tab-inactive:hover{color:#5c564d}.photos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;margin-top:1rem}.photo-item{display:flex;flex-direction:column}.status-badge{display:inline-block;padding:.25rem .5rem;border-radius:4px;font-size:.85rem;font-weight:500}.status-низкая{background:#dcfce7;color:#166534}.status-средняя{background:#fef3c7;color:#92400e}.status-высокая{background:#fee2e2;color:#991b1b}.cabinet-section{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 6px 18px #0f172a14;max-width:100%;overflow-x:auto}.cabinet-section+.cabinet-section{margin-top:1.5rem}.cabinet-section .profile-section{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid rgba(15,23,42,.1)}.cabinet-section .profile-section:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.tasks-list,.shifts-list,.payroll-list,.events-list{display:flex;flex-direction:column;gap:.75rem}.task-item,.shift-item,.payroll-item,.event-item{padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid rgba(15,23,42,.1)}.task-header{margin-bottom:.5rem;font-size:1rem}.task-card-avatar{width:24px;height:24px;border-radius:50%;overflow:hidden;flex-shrink:0;background:#2563eb;display:flex;align-items:center;justify-content:center}.task-card-avatar img{width:100%;height:100%;object-fit:cover}.task-card-avatar-initials{color:#fff;font-size:.65rem;font-weight:600}.task-details{font-size:.9rem;color:#64748b;display:flex;flex-direction:column;gap:.25rem}.shift-item,.payroll-item,.event-item{display:flex;flex-direction:column;gap:.5rem}.event-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}.event-time{font-size:.85rem;color:#64748b}.event-message{font-size:.9rem;color:#111827}.mobile-menu-btn{display:none;background:none;border:none;font-size:1.5rem;cursor:pointer;padding:.5rem;color:#111827;margin-right:1rem;border-radius:16px}.mobile-menu-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:998}.sidebar-close-btn{display:none;background:none;border:none;font-size:1.5rem;cursor:pointer;color:#111827;padding:0;width:32px;height:32px;align-items:center;justify-content:center;border-radius:16px}.sidebar-close-btn:hover{background:#f1f5f9}@media (max-width: 767px){.mobile-menu-btn{display:flex;align-items:center;justify-content:center}.mobile-menu-overlay{display:block}.sidebar{transform:translate(-100%);transition:transform .3s ease;z-index:999}.sidebar.mobile-open{transform:translate(0)}.sidebar-close-btn{display:flex}.layout-main{margin-left:0}.app-header{padding:.4rem 1rem;flex-wrap:wrap;min-height:auto;height:auto}.header-left{flex-direction:column;align-items:flex-start;gap:.5rem!important;width:100%}.header-left h1{font-size:.95rem!important}.header-info{font-size:.8rem!important;gap:.5rem!important;flex-wrap:wrap}.header-right{gap:.5rem;flex-wrap:wrap}.header-profile-btn{padding:.4rem .75rem;font-size:.85rem}.profile-name{max-width:100px}.layout-content{padding:1rem}.screen-header{flex-direction:column;align-items:flex-start;gap:1rem}.screen-header h2{font-size:1.25rem}.screen-stats{flex-direction:column;gap:.5rem;font-size:.85rem}.screen-actions{flex-wrap:wrap;width:100%}.action-btn{font-size:.85rem;padding:.4rem .75rem}.screen-filters{flex-direction:column;gap:.75rem;align-items:stretch;width:100%}.production-filters{align-items:stretch}.production-filters .filter-group,.production-filters .filter-search{flex:0 1 auto;min-width:0}.filter-input,.filter-select{width:100%;min-width:auto}.screen-actions{width:100%;flex-wrap:wrap}.screen-actions>*{width:100%}.cabinet-grid,.colors-grid,.models-grid{grid-template-columns:1fr;gap:1rem}.data-table{min-width:540px;width:100%}.modal{width:95%;max-width:95%;margin:1rem}.modal-content{width:95%;max-width:95%}.modal-content .filter-select,.modal-content .filter-input{width:100%;max-width:100%}.modal-content select,.modal-content input{max-width:100%}.modal-header{padding:1rem}.modal-header h2,.modal-header h3{font-size:1.1rem}.modal-body{padding:1rem}.modal-footer{padding:1rem;flex-direction:column;gap:.5rem}.modal-footer button{width:100%}.order-info,.work-order-header{flex-direction:column;align-items:flex-start;gap:.5rem}.calendar-months{gap:1rem}.calendar-month{max-width:100%}.calendar-grid{gap:.1rem}.calendar-day{min-height:35px;padding:.1rem}.calendar-day-number{font-size:.7rem}.calendar-day-status{font-size:.55rem}.calendar-status-selector{width:90%;max-width:90%;padding:1.5rem;min-width:auto}.status-buttons{gap:.4rem}.status-btn{padding:.6rem .75rem;font-size:.9rem}.form-group{margin-bottom:1rem}.form-label{font-size:.85rem}.form-input,.form-select,.form-textarea{font-size:16px;padding:.75rem}.btn-primary,.btn-secondary{padding:.75rem 1rem;font-size:.9rem;width:100%}.card{padding:1rem}.card h2{font-size:1rem}.profile-actions{flex-direction:column;width:100%}.profile-actions button{width:100%}.screen-content{padding:1rem}.task-item,.shift-item,.payroll-item,.event-item{padding:.75rem}.event-header{flex-direction:column;align-items:flex-start}.shift-planning-calendar{margin:1rem 0}.calendar-month h4{font-size:.9rem}.shift-calendar-table{overflow-x:auto;-webkit-overflow-scrolling:touch}.shift-calendar-table .shift-planned-table{min-width:500px}.shift-calendar-table th,.shift-calendar-table td{padding:.5rem .25rem;font-size:.8rem}.order-card{margin-bottom:1rem}.order-header,.order-details{padding:.75rem}.work-order-card{padding:.75rem;margin-bottom:.5rem}.work-order-details{font-size:.85rem}.cabinet-section{padding:1rem}.profile-section{margin-bottom:1rem;padding-bottom:1rem}.profile-avatar{width:48px;height:48px;font-size:1.2rem}.profile-basic h3{font-size:1.1rem}.skills-list{gap:.4rem}.skill-badge{padding:.3rem .6rem;font-size:.8rem}.tasks-list,.shifts-list,.payroll-list,.events-list{gap:.5rem}.task-header{font-size:.9rem}.task-details{font-size:.85rem}.screen-container{width:100%;overflow-x:hidden}.card{padding:1rem;margin-bottom:1rem}.list li{padding:.75rem;font-size:.9rem}.grid{grid-template-columns:1fr;gap:.75rem}.color-card,.model-card{padding:.75rem}.color-photo-preview,.model-photo-preview,.color-photo-placeholder,.model-photo-placeholder{height:150px}.color-actions{flex-direction:column}.color-actions button{width:100%}.model-actions{grid-template-columns:repeat(2,1fr)}.model-actions button{min-width:0}.photos-grid{grid-template-columns:repeat(2,1fr);gap:.75rem}.tab-active,.tab-inactive{padding:.4rem .75rem;font-size:.85rem}.status-badge,.stage-badge{font-size:.8rem;padding:.2rem .5rem}.order-items-section{margin-top:1rem;padding-top:1rem}.order-item-row{flex-direction:column;gap:.5rem}.order-item-row select,.order-item-row input{width:100%}.profile-stats div{font-size:.85rem}.health-status{flex-direction:column;gap:.4rem}.profile-list li{font-size:.85rem;padding:.4rem 0}.status-select{width:100%;font-size:.9rem}.screen-filters input[type=date]{font-size:16px}.filter-checkbox{font-size:.85rem}.header-info>div{font-size:.8rem!important}.header-info span{font-size:.8rem!important}}.spinner{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:1.5rem 0;color:#64748b;font-size:.95rem}.spinner-ring{display:inline-block;border:3px solid #e2e8f0;border-top-color:#2563eb;border-radius:999px;animation:spin .9s linear infinite;box-sizing:border-box}.spinner-label{font-weight:500}@keyframes spin{to{transform:rotate(360deg)}}
