:root{--bg-page:#f2efe9;--bg-card:#fdfcfa;--bg-input:#f7f4ef;--bg-hover:#ede8df;--sidebar-bg:#0a1628;--sidebar-border:hsla(0,0%,100%,.07);--topbar-bg:#fdfcfa;--border:#ddd7cb;--border-light:#e8e2d8;--text-primary:#1a2740;--text-secondary:#4a5968;--text-muted:#8a97a4;--text-inverse:#fff;--accent:#c09b58;--accent-dark:#a07c3a;--accent-light:#edd48b;--navy:#1a2740;--navy-hover:#243452;--danger:#dc2626;--success:#059669;--shadow-sm:0 2px 8px rgba(26,39,64,.08),0 1px 2px rgba(26,39,64,.04);--shadow-md:0 6px 20px rgba(26,39,64,.1),0 2px 6px rgba(26,39,64,.06);--shadow-lg:0 16px 40px rgba(26,39,64,.14),0 4px 10px rgba(26,39,64,.07);--radius-sm:7px;--radius:12px;--radius-lg:16px}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--bg-page);color:var(--text-primary);font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:13.5px;line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,:after,:before{font-family:inherit}.topbar-title,[style*=Cormorant],[style*=Georgia],[style*=cormorant],h1,h2,h3{font-family:Cormorant Garamond,Georgia,serif!important;font-feature-settings:"kern" 1,"liga" 1}a,button,div,input,label,p,select,span,td,textarea,th{font-family:DM Sans,-apple-system,sans-serif}[style*="Cormorant Garamond"],[style*="fontFamily: 'Cormorant"],[style*='fontFamily: "Cormorant']{font-family:Cormorant Garamond,Georgia,serif!important}a{color:inherit;text-decoration:none}input,select,textarea{font-family:inherit;font-size:13px;background:var(--bg-input);border:1px solid var(--border);color:var(--text-primary);border-radius:var(--radius-sm);padding:9px 12px;outline:none;transition:border-color .15s;width:100%}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(192,155,88,.12)}input::-moz-placeholder,textarea::-moz-placeholder{color:var(--text-muted)}input::placeholder,textarea::placeholder{color:var(--text-muted)}.sidebar-overlay{display:none;position:fixed;inset:0;background:rgba(13,27,53,.6);z-index:199}.sidebar-overlay.open{display:block}@media (max-width:768px){.app-main,.main-content-pad{overflow-x:hidden!important}body{overflow-x:hidden}.app-sidebar{position:fixed!important;left:-240px!important;top:0;bottom:0;z-index:200;transition:left .25s ease;width:240px!important}.app-sidebar.open{left:0!important}.app-main{margin-left:0!important;width:100%!important}.hamburger-btn{display:flex!important}.topbar-title{font-size:18px!important}.topbar-signout,.topbar-user-name{display:none!important}.main-content-pad{padding:16px!important}}@media (min-width:769px){.hamburger-btn{display:none!important}}@media (max-width:1024px){.kpi-grid{grid-template-columns:repeat(2,1fr)!important}}@media (max-width:480px){.kpi-grid{grid-template-columns:1fr!important}}@media (max-width:900px){.dashboard-grid,.order-detail-grid{grid-template-columns:1fr!important}}@media (max-width:640px){.customers-table td:nth-child(3),.customers-table td:nth-child(4),.customers-table td:nth-child(5),.customers-table th:nth-child(3),.customers-table th:nth-child(4),.customers-table th:nth-child(5){display:none}}@media (max-width:540px){.modal-box{width:100%!important;max-width:100%!important;border-radius:16px 16px 0 0!important;margin:0!important;max-height:90vh!important}.modal-bg{align-items:flex-end!important}}@media (max-width:640px){.orders-grid{grid-template-columns:1fr!important}.filter-row{flex-wrap:wrap!important;gap:8px!important}.filter-row>input[type=search],.filter-row>input[type=text]{width:100%!important}}.date-filter-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:16px}.date-filter-row input{width:150px!important;flex-shrink:0}@media (max-width:480px){.date-filter-row input{width:calc(50% - 4px)!important;flex:1 1 120px}}@media (max-width:640px){.login-wrapper{flex-direction:column!important}.login-left-panel{display:none!important}.login-mobile-logo{display:flex!important;flex-direction:column;align-items:center;justify-content:center;background:var(--sidebar-bg);padding:28px 24px 22px;text-align:center;width:100%}.login-right-panel{padding:32px 20px!important}}@media (max-width:900px){.mfg-grid{grid-template-columns:1fr!important}}@media (max-width:640px){.card-grid-2{grid-template-columns:1fr!important}}@media (max-width:400px){.topbar-subtitle{display:none!important}}@media (max-width:640px){.customer-layout-main{padding:16px!important}.customer-order-grid{grid-template-columns:1fr!important}}@media (max-width:1024px){.kanban-phase-grid{grid-template-columns:repeat(2,1fr)!important}}@media (max-width:540px){.kanban-phase-grid{grid-template-columns:1fr!important}}@media (max-width:900px){.sku-layout{grid-template-columns:1fr!important}}@media (max-width:860px){.reports-main-grid{grid-template-columns:1fr!important}}@media (max-width:540px){.import-result-grid{grid-template-columns:1fr!important}}@media (max-width:640px){.mfg-action-row{grid-template-columns:1fr!important}.mfg-action-row button{width:100%}.ship-action-row{grid-template-columns:1fr!important}.ship-action-row button{width:100%}}@media (max-width:768px){.cad-upload-row{grid-template-columns:1fr 1fr!important}}@media (max-width:540px){.cad-upload-row{grid-template-columns:1fr!important}}@media (max-width:480px){.form-2col,.modal-form-grid{grid-template-columns:1fr!important}}@media (max-width:540px){.order-spec-grid{grid-template-columns:1fr!important}}@media (max-width:480px){.kanban-orders-grid{grid-template-columns:1fr!important}}@media (max-width:600px){.jobbag-body{grid-template-columns:1fr!important}.jobbag-body>div:first-child{border-right:none!important;border-bottom:1px solid #e5e1d8}}@media (max-width:768px){.order-summary-grid{grid-template-columns:1fr!important}table{font-size:11px!important}}@media (max-width:600px){.topbar-actions{flex-wrap:wrap;gap:4px!important}.topbar-actions a,.topbar-actions button{font-size:11px!important;padding:5px 10px!important}}@media (max-width:640px){.cad-viewer-modal{border-radius:12px 12px 0 0!important;position:fixed!important;bottom:0!important;left:0!important;right:0!important;max-width:100%!important;max-height:90vh!important}}@media (max-width:380px){.main-content-pad{padding:12px!important}.topbar-subtitle{display:none!important}}@media (max-width:480px){.form-2col{grid-template-columns:1fr!important}}@media (max-width:640px){.ship-action-row{gap:6px!important}}.status-tabs-mobile{display:none!important}.status-tabs-desktop{display:flex!important}@media (max-width:640px){.status-tabs-mobile{display:block!important}.status-tabs-desktop{display:none!important}}.dash-kpi{grid-template-columns:repeat(4,1fr);margin-bottom:8px}.dash-2col,.dash-kpi{display:grid;gap:16px}.dash-2col{grid-template-columns:1fr 1fr}.dash-3col{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin-bottom:8px}@media (max-width:1024px){.dash-kpi{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.dash-kpi{grid-template-columns:repeat(2,1fr)}.dash-2col,.dash-3col{grid-template-columns:1fr}}@media (max-width:480px){.dash-kpi{grid-template-columns:1fr}}@media (max-width:640px){.order-row-right{display:none!important}.order-row-img{width:34px!important;height:34px!important;min-width:34px!important;flex-shrink:0}.order-row-name{font-size:13px!important}.order-row-name,.order-row-sub{white-space:normal!important;word-break:break-word}.order-row-sub{font-size:11px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dash-action-card{padding:14px!important}.order-row-card{padding:8px 10px!important;gap:8px!important;width:100%!important;box-sizing:border-box!important}.order-row-text{min-width:0;flex:1;overflow:hidden}.pipeline-row{gap:2px!important}.pipeline-tile{min-width:60px!important;padding:10px 4px!important}.pipeline-count{font-size:20px!important}.pipeline-label{font-size:9px!important}}@media (max-width:900px){.order-detail-outer{grid-template-columns:1fr!important}.order-detail-outer .order-sticky-sidebar{position:static!important}}@media (max-width:640px){.status-tabs-row{overflow-x:auto;-webkit-overflow-scrolling:touch;flex-wrap:nowrap!important;padding-bottom:4px;scrollbar-width:none}.status-tabs-row::-webkit-scrollbar{display:none}.status-tabs-row button{flex-shrink:0}}@media (max-width:768px){.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.table-scroll table{min-width:600px}}@media (max-width:480px){.topbar-actions{gap:4px!important}.topbar-actions .btn-text-hide{display:none!important}}@media (max-width:540px){.orders-card-grid{grid-template-columns:1fr!important}}@media (max-width:480px){.mfg-action-row{grid-template-columns:1fr!important}.mfg-action-row button,.mfg-action-row input{width:100%!important}}@media (max-width:768px){.repairs-table td:nth-child(4),.repairs-table th:nth-child(4){display:none}}@media (max-width:540px){.repairs-table td:nth-child(3),.repairs-table th:nth-child(3){display:none}}@media (max-width:640px){.priority-order-card{padding:10px 12px!important}.stone-sub-filter{overflow-x:auto;flex-wrap:nowrap!important}}@media (max-width:640px){.stone-sub-filter::-webkit-scrollbar{display:none}.stone-sub-filter button{flex-shrink:0}}@media (max-width:360px){.sidebar-footer{display:none!important}}@media (max-width:768px){.cad-grid{grid-template-columns:1fr!important}}@media (max-width:640px){.shipping-card-row{flex-direction:column!important}}@media (max-width:480px){.input-group{flex-direction:column!important}.input-group button,.input-group input{width:100%!important}}@media (max-width:640px){.admin-topbar{padding:0 14px!important}.customer-topnav{padding:0 16px!important;height:auto!important;min-height:56px;flex-wrap:wrap!important}.customer-topnav-left{gap:12px!important}.customer-username{display:none!important}.customer-page-header{padding:14px 16px!important}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:rgba(192,155,88,.25);border-radius:99px}::-webkit-scrollbar-thumb:hover{background:rgba(192,155,88,.5)}::-moz-selection{background:rgba(192,155,88,.18);color:#1a2740}::selection{background:rgba(192,155,88,.18);color:#1a2740}h1{letter-spacing:-.3px}h1,h2{font-family:Cormorant Garamond,Georgia,serif!important;font-weight:600}h2{letter-spacing:-.2px}.kpi-value,[style*="fontSize: '32"],[style*="fontSize: '36"],[style*="fontSize: '40"],[style*="fontSize: '48"],[style*='fontSize: "32'],[style*='fontSize: "36'],[style*='fontSize: "40']{font-family:Cormorant Garamond,Georgia,serif!important;font-variant-numeric:tabular-nums;letter-spacing:-.5px}[style*=border-radius][style*=box-shadow],[style*=borderRadius][style*=boxShadow]{transition:box-shadow .2s ease,transform .2s ease}.topbar-title{font-family:Cormorant Garamond,Georgia,serif!important;font-size:27px!important;font-weight:600!important;letter-spacing:.2px!important;color:var(--text-primary)!important;font-feature-settings:"kern" 1,"liga" 1}.topbar-subtitle{font-size:11px!important;letter-spacing:.3px!important;color:var(--text-muted)!important;margin-top:1px!important}.app-sidebar a{transition:all .15s ease!important}.app-sidebar a:hover{color:hsla(0,0%,100%,.75)!important;background:rgba(192,155,88,.08)!important}thead th{font-size:10.5px!important;font-weight:700!important;letter-spacing:.8px!important;text-transform:uppercase!important;color:var(--text-muted)!important}tbody tr{transition:background .12s ease}tbody tr:hover{background:var(--bg-hover)!important}[style*="border-radius: 99px"],[style*="borderRadius: 99px"],[style*="borderRadius:'99px'"]{font-size:11px!important;letter-spacing:.2px!important}button{transition:opacity .15s ease,transform .1s ease,box-shadow .15s ease!important;letter-spacing:.2px}button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px rgba(26,39,64,.15)!important}button:active:not(:disabled){transform:translateY(0)}input:not([type=checkbox]):not([type=radio]),select,textarea{transition:border-color .15s ease,box-shadow .15s ease!important}.gold-divider{height:1px;background:linear-gradient(90deg,transparent,rgba(192,155,88,.4),transparent);margin:20px 0}.app-sidebar:before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(192,155,88,.3),transparent);pointer-events:none}.app-sidebar{position:relative}.content a,.prose a{text-decoration:underline;text-decoration-color:rgba(192,155,88,.4);text-underline-offset:2px;transition:text-decoration-color .15s}.content a:hover,.prose a:hover{text-decoration-color:var(--accent)}@keyframes pulse-gold{0%,to{box-shadow:0 0 0 0 rgba(192,155,88,.4)}50%{box-shadow:0 0 0 4px rgba(192,155,88,0)}}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.main-content-pad{animation:fadeIn .25s ease forwards}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%}.table-scroll table{min-width:500px}@media (max-width:540px){.customers-table td:nth-child(2),.customers-table td:nth-child(6),.customers-table th:nth-child(2),.customers-table th:nth-child(6){display:none}}@media (max-width:640px){.customers-table td:last-child>div{flex-wrap:wrap;gap:4px!important}.customers-table td:last-child button{font-size:10px!important;padding:4px 8px!important}.todos-table td:nth-child(3),.todos-table th:nth-child(3){display:none}}@media (max-width:400px){.todos-table td:nth-child(4),.todos-table th:nth-child(4){display:none}}@media (max-width:640px){.customer-filter-input{width:100%!important;min-width:0!important}.customer-filter-drop{width:100%!important;left:0!important;right:0!important}.mfg-table td:nth-child(4),.mfg-table td:nth-child(5),.mfg-table th:nth-child(4),.mfg-table th:nth-child(5),.staff-table td:nth-child(3),.staff-table th:nth-child(3){display:none}}@media (max-width:540px){.cad-cards-grid{grid-template-columns:1fr!important}.import-summary-grid{grid-template-columns:1fr 1fr!important}}@media (max-width:480px){.todos-search{min-width:0!important;width:100%!important;max-width:100%!important;flex:1 1 100%!important}}@media (max-width:600px){.order-spec-table{font-size:11px!important}.order-spec-table td{padding:6px 8px!important}}@media (max-width:640px){.queue-card-row{flex-direction:column!important;align-items:flex-start!important;gap:8px!important}.queue-card-actions{width:100%!important}}@media (max-width:560px){.form-2col,.modal-form-grid{grid-template-columns:1fr!important}}@media (max-width:480px){.order-action-row{flex-direction:column!important}.order-action-row a,.order-action-row button{width:100%!important;text-align:center}}@media (max-width:640px){.ref-images-grid{grid-template-columns:repeat(2,1fr)!important}.ref-images-grid>div{width:100%!important}}@media (max-width:600px){.detail-card-row{flex-direction:column!important}.detail-card-row>*{width:100%!important}}@media (max-width:768px){.dash-3col,.kpi-grid{grid-template-columns:repeat(2,1fr)!important}}@media (max-width:400px){.dash-3col,.kpi-grid{grid-template-columns:1fr!important}}@media (max-width:768px){*{max-width:100vw}iframe,img,table,video{max-width:100%}pre{white-space:pre-wrap;word-break:break-all}a,button,input[type=checkbox],input[type=radio],select{min-height:36px}input[type=checkbox],input[type=radio]{min-height:auto}.kanban-scroll-container{overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;scrollbar-width:none}}@media (max-width:768px){.kanban-scroll-container::-webkit-scrollbar{display:none}.kanban-phase-col{scroll-snap-align:start;min-width:280px}}@media (max-width:480px){.modal-box,.modal-overlay>div,[role=dialog]{max-height:92vh!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}}@media (max-width:640px){.threedm-viewer-wrap{height:260px!important}}@keyframes fadeSlideUp{0%{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%)}}@keyframes skeleton-wave{0%{background-position:-400px 0}to{background-position:400px 0}}.skeleton{background:linear-gradient(90deg,var(--bg-input) 25%,var(--border-light) 50%,var(--bg-input) 75%);background-size:800px 100%;animation:skeleton-wave 1.5s ease-in-out infinite;border-radius:6px;display:block}.skeleton-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:16px 20px}.skeleton-text{height:13px;margin-bottom:8px}.skeleton-title{height:18px;width:60%;margin-bottom:12px}.skeleton-badge{height:22px;width:90px;border-radius:99px}.skeleton-full{width:100%}.skeleton-half{width:50%}.skeleton-third{width:33%}@media print{.app-sidebar,.app-sidebar+div>div:first-child,.report-actions,.report-period-selector,.sidebar-overlay{display:none!important}body{background:#fff!important}.app-main{display:block!important}.main-content-pad{padding:0!important;overflow:visible!important}#printable-report{display:block!important;padding:0!important}#printable-report>*{box-shadow:none!important;border-color:#ddd!important;-moz-column-break-inside:avoid;break-inside:avoid}.kpi-grid{grid-template-columns:repeat(4,1fr)!important;gap:10px!important}.reports-main-grid{grid-template-columns:1fr 1fr!important}table{width:100%!important;font-size:11px!important}@page{size:A4 landscape;margin:15mm 12mm}#print-header{display:block!important}.app-sidebar,.cad-upload-section,.no-print,.order-conversation-section,.order-detail-actions{display:none!important}.order-detail-grid,.print-only{display:block!important}.order-detail-print-page{padding:0!important}@page{size:A4 portrait;margin:15mm 15mm}}