:root{--navy:#102f49;--teal:#16b8b0;--soft:#e8f8f6;--red:#e34d59;--green:#22a66a;--surface:#f4f7f9;--text:#17324a;--sub:#718395;--stroke:#e1e8ed}body{font-family:"IBM Plex Sans Arabic","Tajawal","Segoe UI",Tahoma,sans-serif;color:var(--text)}.erp-brand{display:flex;align-items:center;gap:11px}.erp-brand>span:last-child{display:flex;flex-direction:column;line-height:1.35}.erp-brand b{font-size:17px}.erp-brand small{font-size:10px;color:var(--sub)}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:linear-gradient(145deg,#24c5bd,#0e8f98);color:#fff;font-size:23px;font-weight:900;box-shadow:0 7px 17px #08a9a33b}.site-header{height:74px;padding:0 4vw}.site-header nav{gap:20px;font-size:14px}.header-access{display:flex;align-items:center;gap:14px;font-size:13px;font-weight:800}.header-access>a:not(.btn){color:#3c5971}.compact-hero{padding-top:65px;padding-bottom:65px}.compact-hero h1{font-size:clamp(42px,6vw,72px)}.text-action{align-self:center;font-weight:800;color:#087c8e}.operational{display:flex;flex-direction:column;gap:13px}.operational>b{font-size:25px}.operational>a{color:#55e6e2;font-weight:800}.mini-progress,.order-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.mini-progress i,.order-progress i{height:6px;background:#dce8ec;border-radius:8px}.mini-progress .done,.order-progress .done{background:var(--teal)}.mini-progress .current,.order-progress .current{background:linear-gradient(90deg,var(--teal) 55%,#dce8ec 55%)}
.auth-page{margin:0;background:#eef3f6}.auth-shell{display:grid;grid-template-columns:minmax(400px,.82fr) minmax(480px,1.18fr);min-height:100vh}.auth-intro{background:linear-gradient(145deg,#0b2941,#174a67);color:#fff;padding:54px 6vw;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-intro:after{content:"";position:absolute;width:460px;height:460px;border:90px solid #ffffff08;border-radius:50%;left:-220px;bottom:-230px}.erp-brand.light small{color:#a8c7d7}.auth-kicker{display:inline-flex;background:#ffffff12;border:1px solid #ffffff16;padding:6px 12px;border-radius:30px;color:#71dfdb;font-size:13px;font-weight:800}.auth-intro h1{font-size:clamp(42px,5vw,67px);line-height:1.16;margin:21px 0 18px}.auth-intro p{color:#c4d6e1;max-width:480px;font-size:17px}.auth-points{display:flex;gap:20px;flex-wrap:wrap;color:#bdd4df;font-size:12px}.auth-form-side{display:grid;place-items:center;padding:50px;position:relative}.modern-login{width:min(480px,100%);background:#fff;border:1px solid var(--stroke);border-radius:24px;padding:38px 42px;box-shadow:0 24px 60px #18354d12}.login-heading{display:flex;gap:15px;align-items:center;margin-bottom:25px}.login-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:var(--soft);color:#07958e;font-size:25px}.login-heading h2{font-size:25px;margin:0}.login-heading p,.modern-login>p{color:var(--sub);font-size:13px;margin:3px 0}.input-icon{position:relative}.input-icon span{position:absolute;right:14px;top:13px;color:#8ba0af}.input-icon input{padding-right:42px;height:49px}.login-options{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin:2px 0 15px}.login-options a,.signup-line a{color:#078f89;font-weight:800}.login-submit{width:100%;height:50px;justify-content:space-between}.login-divider{display:flex;align-items:center;gap:10px;color:#93a3af;font-size:11px;margin:22px 0}.login-divider:before,.login-divider:after{content:"";height:1px;background:var(--stroke);flex:1}.portal-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}.portal-links a{border:1px solid var(--stroke);border-radius:13px;padding:13px;display:grid;grid-template-columns:28px 1fr;column-gap:7px}.portal-links a>span{grid-row:1/3;font-size:21px;color:#0a9994}.portal-links b{font-size:13px}.portal-links small{font-size:10px;color:var(--sub)}.signup-line{text-align:center!important;margin-top:22px!important}.auth-secure{position:absolute;bottom:18px;color:#8295a4}.login-bg .erp-brand{margin-bottom:20px}.login-card>p{color:var(--sub)}.full{width:100%}
.erp-body{margin:0;background:var(--surface);display:grid;grid-template-columns:238px 1fr;min-height:100vh;font-size:13px}.erp-sidebar{background:var(--navy);color:#fff;height:100vh;position:sticky;top:0;display:flex;flex-direction:column;padding:18px 12px 13px;overflow:hidden}.erp-sidebar .erp-brand{padding:0 8px 16px;border-bottom:1px solid #ffffff12}.erp-sidebar .erp-brand small{color:#91acbe}.branch-switcher{margin:13px 4px 8px;background:#ffffff0c;border:1px solid #ffffff10;border-radius:11px;padding:9px 11px;display:grid;grid-template-columns:1fr auto}.branch-switcher span{grid-column:1/-1;color:#83a5b9;font-size:9px}.branch-switcher b{font-size:12px}.branch-switcher i{font-style:normal;color:#7fd8d5}.erp-nav{overflow-y:auto;padding:4px}.erp-nav a{display:flex;align-items:center;gap:11px;padding:7px 10px;border-radius:8px;color:#b9ccd7;margin:1px 0;font-weight:650}.erp-nav a>span{width:19px;text-align:center;color:#7fa4b8;font-size:15px}.erp-nav a:hover,.erp-nav a.active{background:#ffffff10;color:#fff}.erp-nav a.active{box-shadow:inset -3px 0 var(--teal)}.erp-nav em{font-style:normal;margin-right:auto;background:var(--red);min-width:18px;text-align:center;border-radius:10px;font-size:10px}.sidebar-profile{margin-top:auto;border-top:1px solid #ffffff12;padding:12px 5px 0;display:flex;align-items:center;gap:8px}.avatar{width:34px;height:34px;border-radius:10px;background:#d8f3f1;color:#078b86;display:grid;place-items:center;font-weight:900}.sidebar-profile>span:nth-child(2){display:flex;flex-direction:column}.sidebar-profile b{font-size:11px;max-width:125px;overflow:hidden;text-overflow:ellipsis}.sidebar-profile small{font-size:9px;color:#87a6b8}.sidebar-profile form{margin-right:auto}.sidebar-profile button{padding:5px;background:transparent;color:#a7bcc8}.erp-main{min-width:0}.erp-topbar{height:64px;background:#fff;border-bottom:1px solid var(--stroke);display:flex;align-items:center;justify-content:space-between;padding:0 26px;position:sticky;top:0;z-index:5}.global-search{width:min(420px,45vw);height:38px;background:#f4f7f9;border-radius:10px;padding:0 13px;display:flex;align-items:center;gap:8px}.global-search input{border:0;background:transparent;margin:0;padding:0}.top-actions{display:flex;align-items:center;gap:10px}.top-actions button{background:#f1f6f8;color:#526b7e;padding:8px}.live-dot,.live-badge{color:#15995f;background:#eaf8f1;padding:5px 10px;border-radius:18px;font-size:10px}.erp-content{padding:24px 26px 45px;max-width:1800px;margin:auto}.page-title{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:19px}.page-title h1{font-size:27px;margin:2px 0}.page-title p,.panel-head p{color:var(--sub);margin:3px 0;font-size:11px}.page-title .eyebrow{font-size:10px}.page-actions{display:flex;gap:8px;align-items:center}.btn.secondary{background:#fff;border:1px solid var(--stroke);color:#36536a}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:11px;margin-bottom:17px}.metric-card{background:#fff;border:1px solid var(--stroke);border-radius:13px;padding:14px 15px;display:flex;justify-content:space-between;min-height:85px}.metric-card span,.lab-stat span,.trip-summary span,.session-grid span{display:block;color:var(--sub);font-size:10px}.metric-card b{display:block;font-size:20px;margin-top:8px}.metric-card i{font-style:normal;width:26px;height:26px;background:var(--soft);color:#0d9d97;border-radius:8px;display:grid;place-items:center;font-size:9px}.metric-card.warning{border-color:#ffe0aa}.erp-panel{background:#fff;border:1px solid var(--stroke);border-radius:14px;overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-bottom:1px solid var(--stroke)}.panel-head h2{font-size:16px;margin:0}.panel-head>a,.table-link{font-size:11px;color:#0c9791;font-weight:800}.erp-table{font-size:11px}.erp-table th{background:#f8fafb;color:#718593;font-size:9px;padding:10px}.erp-table td{padding:11px 10px}.erp-table td small{font-size:9px}.empty-row{text-align:center!important;padding:30px!important}.status-chip{display:inline-flex;padding:3px 8px;border-radius:20px;background:#edf2f5;color:#516a7b;font-size:9px;font-weight:850}.status-received{background:#eaf3ff;color:#3176b8}.status-sent_to_lab,.status-in_transit,.status-out_for_delivery{background:#fff1db;color:#b26c00}.status-processing,.status-drying,.status-ironing{background:#eeeafe;color:#7255c7}.status-quality_check{background:#e7f6fb;color:#187f9b}.status-ready,.status-arrived,.status-completed{background:#e6f7ee;color:#168451}.paid{color:#168451;font-weight:800}.due{color:#c2434e;font-weight:800}.urgent-tag,.normal-tag{display:block;width:max-content;margin-top:3px;padding:2px 6px;border-radius:12px;background:#fff0f1;color:#cf3e4b;font-size:8px;font-style:normal}.normal-tag{display:inline-flex;background:#edf2f5;color:#657886}.branch-chip{background:#edf8f8;color:#128f8a;padding:4px 7px;border-radius:6px}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.toolbar form,.toolbar-stats,.row-actions{display:flex;gap:7px;align-items:center}.toolbar select{width:150px;margin:0}.filter-search{height:42px;width:230px;display:flex;align-items:center;background:#fff;border:1px solid var(--stroke);border-radius:9px;padding:0 10px}.filter-search input{border:0;margin:0}.toolbar-stats span{background:#fff;border:1px solid var(--stroke);padding:7px 10px;border-radius:8px}.dense td{padding:9px 8px}.row-actions{gap:4px}.row-actions a,.row-actions button{padding:4px 7px;border:1px solid var(--stroke);background:#fff;color:#466078;border-radius:6px;font-size:8px;white-space:nowrap}.row-actions .whatsapp{color:#178653;background:#ecf8f1}.row-actions .deliver{background:var(--teal);color:#fff}.lab-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-bottom:15px}.lab-stat,.trip-summary article,.session-grid article{background:#fff;border:1px solid var(--stroke);border-radius:12px;padding:13px}.lab-stat b,.trip-summary b,.session-grid b{font-size:21px;display:inline-block;margin-top:6px}.lab-stat i{font-style:normal;color:var(--sub);font-size:9px}.lab-stat.danger,.session-grid .warning{background:#fff7f7;border-color:#f4d1d5}.lab-stat.danger b,.session-grid .warning b{color:#d43e4a}.segmented{background:#f1f5f7;border-radius:8px;padding:3px}.segmented button{padding:5px 10px;background:transparent;color:#748692;font-size:9px}.segmented .active{background:#fff;color:#0b918c}.trip-summary,.session-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:15px}.mobile-menu{display:none;background:#edf4f6;color:#325268;padding:7px}
.customer-app{background:#f3f7f8;min-height:100vh;padding-bottom:82px}.customer-topbar{height:68px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--stroke);position:sticky;top:0;z-index:5}.icon-button{width:35px;height:35px;display:grid;place-items:center;background:#eef7f7;border-radius:10px;color:#078f89}.customer-main{width:min(620px,100%);margin:auto;padding:18px}.customer-welcome{background:linear-gradient(135deg,#12354f,#176177);color:#fff;border-radius:20px;padding:21px;display:flex;justify-content:space-between}.customer-welcome h1{font-size:23px;margin:2px 0}.customer-welcome p{font-size:11px;color:#c3d8e1;margin:0}.loyalty-pill{background:#ffffff12;border-radius:13px;padding:9px 12px;text-align:center}.loyalty-pill b,.loyalty-pill small{display:block}.customer-primary-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:13px 0}.customer-primary-actions a{background:#fff;border:1px solid var(--stroke);border-radius:15px;padding:14px;display:grid;grid-template-columns:37px 1fr;gap:1px 8px}.customer-primary-actions a>span{grid-row:1/3;background:var(--soft);color:#07928c;width:37px;height:37px;border-radius:11px;display:grid;place-items:center;font-size:21px}.customer-primary-actions b{font-size:12px}.customer-primary-actions small{font-size:8px;color:var(--sub)}.customer-section{margin-top:20px}.customer-section h2{font-size:16px;margin:0 0 10px}.section-title{display:flex;justify-content:space-between}.section-title a{color:#078f89;font-size:10px}.active-order-card,.customer-form{background:#fff;border:1px solid var(--stroke);border-radius:17px;padding:16px}.order-head{display:flex;justify-content:space-between}.order-head small{display:block;color:var(--sub);font-size:9px}.order-progress{margin:18px 0 5px}.progress-labels{display:grid;grid-template-columns:repeat(4,1fr);font-size:8px;color:var(--sub);text-align:center}.order-summary{display:grid;grid-template-columns:repeat(3,1fr);margin-top:15px;border-top:1px solid var(--stroke);padding-top:11px}.order-summary span{text-align:center}.order-summary small,.order-summary b{display:block}.order-summary small{font-size:8px;color:var(--sub)}.service-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.service-shortcuts a{background:#fff;border:1px solid var(--stroke);border-radius:13px;padding:12px 5px;text-align:center;font-size:9px}.service-shortcuts span{display:block;color:#07928c;font-size:19px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;height:68px;background:#fff;border-top:1px solid var(--stroke);display:flex;justify-content:center;z-index:9}.mobile-nav>a,.mobile-nav form{width:min(19%,105px);display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:8px;color:#788b98}.mobile-nav a>span,.mobile-nav button>span{font-size:18px}.mobile-nav a.active{color:#078f89}.mobile-nav .new-order{position:relative;top:-13px;color:var(--text)}.mobile-nav .new-order span{background:var(--teal);color:#fff;width:45px;height:45px;border-radius:15px;display:grid;place-items:center}.mobile-nav form button{height:100%;background:transparent;color:#788b98;padding:0;font-size:8px;display:flex;flex-direction:column}.customer-page-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}.customer-page-title>a{width:35px;height:35px;border-radius:10px;background:#fff;display:grid;place-items:center}.customer-page-title h1{font-size:20px;margin:0}.customer-page-title p{font-size:10px;color:var(--sub);margin:0}.timeline{margin-top:18px}.timeline-event{display:flex;gap:12px;min-height:57px;position:relative}.timeline-event i{width:12px;height:12px;border:3px solid var(--teal);border-radius:50%;margin-top:3px}.timeline-event:after{content:"";position:absolute;right:5px;top:16px;width:2px;height:37px;background:#dce6e9}.timeline-event:last-child:after{display:none}.timeline-event div{display:flex;flex-direction:column}.timeline-event small{font-size:9px;color:var(--sub)}.empty-state{text-align:center;background:#fff;border:1px solid var(--stroke);padding:22px;border-radius:16px}.empty-state>span{font-size:34px}
@media(max-width:1100px){.metric-grid{grid-template-columns:repeat(3,1fr)}.lab-metrics{grid-template-columns:repeat(3,1fr)}.erp-body{grid-template-columns:215px 1fr}}
@media(max-width:820px){.header-access>a:not(.btn),.site-header nav{display:none}.auth-shell{display:block}.auth-intro{min-height:290px;padding:30px}.auth-points{display:none}.auth-form-side{padding:20px}.erp-body{display:block}.erp-sidebar{position:fixed;right:-250px;width:238px;z-index:20;transition:.25s}.nav-open .erp-sidebar{right:0}.mobile-menu{display:inline-flex}.global-search{display:none}.erp-content{padding:17px 14px}.metric-grid,.lab-metrics{grid-template-columns:repeat(2,1fr)}.trip-summary,.session-grid{grid-template-columns:repeat(2,1fr)}.toolbar form{flex-wrap:wrap}}
.ops-grid{display:grid;gap:14px;margin-bottom:16px}.two-cols{grid-template-columns:1fr 1fr}.three-cols{grid-template-columns:repeat(3,1fr)}.order-layout{grid-template-columns:minmax(0,1fr) 300px}.order-detail-grid{grid-template-columns:minmax(0,1fr) 330px}.ops-pad{padding:18px}.ops-pad h2{font-size:16px;margin:0 0 14px}.sticky-card{position:sticky;top:82px}.panel-head.compact{padding:0 0 12px;margin-bottom:10px}.order-line{display:grid;grid-template-columns:minmax(220px,1fr) 95px 72px 70px 32px;gap:7px;align-items:center;padding:8px 0;border-bottom:1px solid var(--stroke)}.order-line select,.order-line input{margin:0}.order-line b{text-align:center}.order-line .remove{background:#fff0f1;color:#c43b48;padding:7px}.invoice-total{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--stroke)}.invoice-total b{font-size:20px}.delivery-fields{background:#f7fafb;padding:12px;border-radius:10px}.mobile-price-list{display:grid;gap:7px}.mobile-price-list article{background:#fff;border:1px solid var(--stroke);border-radius:12px;padding:11px;display:grid;grid-template-columns:1fr 65px 65px;align-items:center}.mobile-price-list div b,.mobile-price-list div small,.mobile-price-list span b,.mobile-price-list span small{display:block}.mobile-price-list small{font-size:8px;color:var(--sub)}.urgent-price{color:#c46b00}.customer-order-line{display:grid;grid-template-columns:1fr 85px 55px 55px;gap:6px;align-items:center;margin-bottom:7px}.customer-order-line select,.customer-order-line input{margin:0}.customer-order-line b{font-size:10px}.customer-order-total{display:flex;justify-content:space-between;padding:13px 0;margin-top:10px}.customer-order-total b{font-size:18px}.form-hint{color:var(--sub);font-size:9px}.session-live{display:grid;grid-template-columns:1fr auto;gap:8px;padding:10px 0;margin-bottom:10px}.rules-list{padding-right:18px;color:var(--sub);font-size:11px}.rules-list li{margin:8px 0}.lab-board{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-bottom:14px}.lab-board article{background:#fff;border:1px solid var(--stroke);border-radius:12px;padding:12px}.lab-board span,.lab-board small{display:block;color:var(--sub);font-size:9px}.lab-board b{font-size:22px}.lab-order-list,.transfer-list{display:grid;gap:12px}.lab-order{padding:15px}.lab-order-head,.transfer-head{display:flex;align-items:center;gap:18px}.lab-order-head>div{display:flex;flex-direction:column}.lab-order-head>div span,.transfer-head span{font-size:9px;color:var(--sub)}.lab-order-head>strong{margin-right:auto}.lab-flow{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;margin:13px 0}.lab-flow span{background:#edf2f5;color:#718593;padding:6px 3px;border-radius:7px;text-align:center;font-size:8px}.lab-flow span.done{background:var(--soft);color:#0b8e88}.inline-operational-form{display:grid;grid-template-columns:150px 75px 1fr 1fr auto;gap:7px;align-items:center}.inline-operational-form input,.inline-operational-form select{margin:0}.event-history{display:flex;flex-direction:column;padding:8px}.event-history span{font-size:9px;border-bottom:1px solid var(--stroke);padding:5px}.transfer-card{padding:16px}.transfer-head{display:grid;grid-template-columns:1fr 1.4fr 1fr auto}.transfer-head>div{display:flex;flex-direction:column}.transfer-counts{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin:14px 0}.transfer-counts span{background:#f7fafb;border-radius:8px;padding:8px;color:var(--sub);font-size:9px}.transfer-counts b{display:block;color:var(--text);font-size:14px}.check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:8px 0}.check-card{display:flex;gap:7px;border:1px solid var(--stroke);border-radius:9px;padding:8px}.check-card input{width:auto;margin:0}.check-card span,.check-card small{display:block;font-size:9px}.match-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.match-grid label{font-size:10px}.match-grid small{display:block;color:var(--sub)}.matched-banner{background:#e8f7ef;color:#168451;padding:9px;border-radius:8px}.overdue-section{margin-bottom:12px}.overdue-section h2{display:flex;gap:8px}.row-whatsapp{background:#eaf8f0;color:#168451;padding:5px 8px;border-radius:7px;font-weight:800}.report-filter{display:flex;align-items:end;gap:8px;background:#fff;border:1px solid var(--stroke);border-radius:12px;padding:12px;margin-bottom:12px}.report-filter label{font-size:10px}.report-filter input,.report-filter select{margin:2px 0 0}.report-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:14px}.report-metrics article,.order-facts article{background:#fff;border:1px solid var(--stroke);border-radius:11px;padding:12px}.report-metrics span,.order-facts span{display:block;color:var(--sub);font-size:9px}.report-metrics b,.order-facts b{display:block;font-size:17px;margin-top:4px}.package-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.package-cards article{background:linear-gradient(145deg,#12354f,#176177);color:#fff;border-radius:14px;padding:16px;display:flex;flex-direction:column}.package-cards span,.package-cards small{color:#b7d4de;font-size:9px}.package-cards h3{margin:8px 0}.order-facts{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-bottom:14px}.delivery-info{display:grid;grid-template-columns:1fr 1fr;gap:9px}.delivery-info span{color:var(--sub);font-size:9px}.delivery-info b{display:block;color:var(--text);font-size:11px}.order-timeline>div{display:flex;gap:9px;min-height:44px;position:relative}.order-timeline i{width:11px;height:11px;border-radius:50%;background:var(--teal);margin-top:4px}.order-timeline>div:after{content:"";position:absolute;right:5px;top:15px;width:1px;height:28px;background:var(--stroke)}.order-timeline>div:last-child:after{display:none}.order-timeline span,.order-timeline small{display:block}.order-timeline small{font-size:9px;color:var(--sub)}.order-timeline .lab-time i{background:#795dc8}.payment-history{display:flex;flex-direction:column;margin-top:10px}.payment-history span{padding:6px;border-top:1px solid var(--stroke);font-size:9px}.payment-history b{margin-left:5px}
@media(max-width:980px){.three-cols,.two-cols,.order-layout,.order-detail-grid{grid-template-columns:1fr}.sticky-card{position:static}.lab-board{grid-template-columns:repeat(3,1fr)}.report-metrics{grid-template-columns:repeat(3,1fr)}.package-cards{grid-template-columns:repeat(2,1fr)}.order-facts{grid-template-columns:repeat(3,1fr)}.inline-operational-form{grid-template-columns:1fr 80px}.transfer-head{grid-template-columns:1fr 1fr}.transfer-counts{grid-template-columns:repeat(3,1fr)}.match-grid,.check-grid{grid-template-columns:repeat(2,1fr)}}
.package-editor{margin-bottom:14px}.package-editor>summary{min-height:44px;display:flex;align-items:center;font-weight:900;cursor:pointer}.package-gallery article{gap:7px}.package-cover{height:150px;display:grid;place-items:center;margin:-16px -16px 8px;border-radius:14px 14px 0 0;background:linear-gradient(145deg,#fff8e6,#e0bd68);color:#76520a;overflow:hidden}.package-cover img{width:100%;height:100%;object-fit:cover}.package-gallery p{min-height:38px;margin:0;color:#e4edf0;font-size:12px}.package-drawer{margin-top:10px}.package-drawer>summary{min-height:44px;display:grid;place-items:center;border:1px solid #ffffff55;border-radius:9px;cursor:pointer;font-weight:800}.package-drawer form{display:grid;gap:8px;margin-top:9px;padding:10px;border-radius:10px;background:#fff;color:#171717}.package-drawer input,.package-drawer textarea{width:100%}.package-services{display:flex;gap:8px;flex-wrap:wrap;padding:10px;border:1px solid var(--stroke);border-radius:10px}.package-services label{display:flex;align-items:center;gap:5px}.package-services input{width:auto}@media(max-width:600px){.package-cards{grid-template-columns:1fr}}
@media(max-width:520px){.modern-login{padding:25px 19px}.auth-intro{min-height:240px}.auth-intro h1{font-size:37px}.portal-links{grid-template-columns:1fr}.page-title{display:block}.metric-grid{grid-template-columns:repeat(2,1fr);gap:7px}.metric-card{min-height:76px;padding:12px}.metric-card b{font-size:16px}.site-header{flex-wrap:nowrap}.header-access .btn{padding:8px 11px}.site-header .erp-brand small{display:none}.order-line{grid-template-columns:1fr 80px 55px}.order-line b,.order-line .remove{display:none}.customer-order-line{grid-template-columns:1fr 75px 50px}.customer-order-line b{display:none}.lab-board,.report-metrics{grid-template-columns:repeat(2,1fr)}.lab-flow{grid-template-columns:repeat(4,1fr)}.inline-operational-form{grid-template-columns:1fr}.transfer-head,.transfer-counts,.match-grid,.check-grid,.delivery-info{grid-template-columns:1fr 1fr}.report-filter{flex-wrap:wrap}.order-facts{grid-template-columns:repeat(2,1fr)}}
.ready-customer-panel{border-color:#d4b36c}.ready-customer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.ready-customer-grid article{border:1px solid var(--md-line);border-radius:12px;padding:13px;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.ready-customer-grid article>div:first-child{display:flex;flex-direction:column}.ready-customer-grid article small{color:var(--md-muted);font-size:9px}.ready-customer-grid article>span{font-size:10px;color:var(--md-danger)}.ready-customer-grid .row-actions{grid-column:1/-1}.lab-branch-summary{display:flex;gap:9px;overflow-x:auto;margin:12px 0}.lab-branch-summary article{min-width:245px;background:#fff;border:1px solid var(--md-line);border-radius:12px;padding:12px;display:grid;grid-template-columns:auto 1fr;gap:9px}.lab-branch-summary article>span{width:34px;height:34px;border-radius:9px;background:var(--md-soft);display:grid;place-items:center;color:var(--md-brand)}.lab-branch-summary article div{display:flex;flex-direction:column}.lab-branch-summary article small{font-size:9px;color:var(--md-muted)}.lab-branch-summary article p{grid-column:1/-1;margin:0;font-size:10px}.lab-branch-summary article strong{color:var(--md-brand);margin:0 3px}@media(max-width:700px){.ready-customer-grid{grid-template-columns:1fr}}
/* Doctor Clean unified administration identity */
.erp-body{--navy:#0b0b0b;--teal:#c79a42;--soft:#f7efe1;--surface:#f6f4ef;--text:#151515;--sub:#77736d;--stroke:#e6dfd2;font-family:"Noto Sans Arabic DC","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif}
.erp-sidebar{background:#0b0b0b}.erp-sidebar .erp-brand{color:#fff}.erp-brand>img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:1px solid #7f612c;box-shadow:0 5px 18px #0005}.erp-sidebar .erp-brand small{color:#b7aa91}.erp-nav a{color:#c5c0b7;min-height:39px}.erp-nav a>span{color:#9e8b68}.erp-nav a:hover,.erp-nav a.active{background:#c79a4218;color:#fff}.erp-nav a.active{box-shadow:inset -3px 0 #c79a42}.branch-switcher{background:#c79a420d;border-color:#c79a4225}.branch-switcher span{color:#a99a80}.branch-switcher i{color:#d9b76f}.avatar{background:#f1e2c5;color:#7a571a}.live-dot,.live-badge{background:#f2eadb;color:#7b5a1f}.btn{background:#c79a42;color:#111}.btn:hover{filter:brightness(.97)}.status-ready{background:#eef7ed!important;color:#28733c!important}.erp-content{font-size:14px}.page-title p,.panel-head p{font-size:12px}.page-title h1{font-size:29px}.erp-table{font-size:13px}
.global-search{position:relative}.global-search-results{position:absolute;top:45px;right:0;left:0;background:#fff;border:1px solid var(--stroke);border-radius:12px;box-shadow:0 18px 45px #0002;padding:6px;z-index:50}.global-search-results[hidden]{display:none}.global-search-results a{display:flex;flex-direction:column;padding:10px 12px;border-radius:8px}.global-search-results a:hover{background:#f7f2e8}.global-search-results b{font-size:12px}.global-search-results small,.global-search-results>span{font-size:10px;color:var(--sub);padding:8px}
.interface-banner-list{display:grid;gap:10px}.interface-banner-card{display:grid;grid-template-columns:82px 1fr auto;gap:12px;align-items:center;border:1px solid var(--stroke);border-radius:14px;padding:10px}.interface-banner-card img,.banner-placeholder{width:82px;height:62px;object-fit:cover;border-radius:10px}.banner-placeholder{display:grid;place-items:center;background:#0b0b0b;color:#c79a42;font-weight:900}.interface-banner-card h3{margin:2px 0;font-size:14px}.interface-banner-card p{margin:0;color:var(--sub);font-size:10px}.interface-banner-card small{color:#9a7330}.danger-link{background:#fff3f2;color:#a83b32;border:1px solid #f1d2cf;border-radius:8px;padding:8px 10px}
.catalog-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:12px;margin-top:15px}.catalog-admin-card{padding:14px}.catalog-admin-preview{display:grid;grid-template-columns:54px 1fr auto;gap:10px;align-items:center}.catalog-admin-art{width:54px;height:54px;border-radius:14px;background:#f4ead8;display:grid;place-items:center;color:#8b6525;overflow:hidden}.catalog-admin-art img{width:100%;height:100%;object-fit:cover}.catalog-admin-preview h3{margin:2px 0;font-size:15px}.catalog-admin-preview p{margin:0;font-size:10px;color:var(--sub)}.catalog-admin-services{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.price-edit-chip{display:flex;align-items:center;gap:7px;border:1px solid var(--stroke);background:#fff;border-radius:10px;padding:7px 9px}.price-edit-chip span{font-size:10px}.price-edit-chip b{font-size:10px;color:#7d5a1c}.price-edit-chip small{font-size:8px;color:var(--sub)}.catalog-edit{border-top:1px solid var(--stroke);padding-top:9px}.catalog-edit summary{cursor:pointer;color:#79591e;font-weight:800;font-size:11px}.catalog-edit form{margin-top:10px}
.transfer-order-list{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.transfer-order-list span{border:1px solid var(--stroke);border-radius:9px;padding:6px 8px;background:#faf8f3;font-size:10px}.transfer-order-list b{color:#7b5a1f}
@media(max-width:1100px){.catalog-admin-grid{grid-template-columns:repeat(2,minmax(240px,1fr))}}
@media(max-width:720px){.catalog-admin-grid{grid-template-columns:1fr}.interface-banner-card{grid-template-columns:68px 1fr}.interface-banner-card img,.banner-placeholder{width:68px;height:55px}.interface-banner-card form{grid-column:1/-1}.erp-content{padding:18px 13px 85px}.page-title h1{font-size:24px}.page-title{align-items:flex-start;flex-direction:column}.global-search{width:min(62vw,360px)}}
.post-order-actions{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;padding:22px;margin-bottom:18px;border:1px solid #d6b257;background:#fffaf0}.post-order-actions h2{margin:3px 0}.post-order-actions>div:last-of-type{display:flex;flex-wrap:wrap;gap:9px}.post-order-actions form{margin:0}.post-order-actions small{grid-column:1/-1;color:#6f6656}.post-order-actions .whatsapp-button,.order-communication button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border:0;border-radius:11px;padding:10px 14px;background:#128c4b;color:#fff;font:inherit;font-weight:900;cursor:pointer}.order-communication{display:flex;flex-wrap:wrap;gap:9px;margin:-4px 0 18px}.order-communication a,.order-communication button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border:1px solid #ddd4c2;border-radius:11px;padding:9px 13px;background:#fff;color:#17130c;text-decoration:none;font:inherit;font-weight:800;cursor:pointer}.order-communication form{margin:0}.order-communication button{background:#128c4b;color:#fff;border-color:#128c4b}.settings-panel{max-width:900px}
@media(max-width:700px){.post-order-actions{grid-template-columns:1fr}.post-order-actions>div:last-of-type>*{flex:1 1 190px}.order-communication>*{flex:1 1 170px}.order-communication form button{width:100%}}
