/* Mwaedi Design System 2.0 — accessible operational workspace */
:root{--navy:#082b5f;--blue:#0b6bdc;--blue-2:#2f8cf0;--teal:#15b89f;--ink:#112a46;--muted:#61758b;--line:#dce6f0;--soft:#f4f8fc;--surface:#fff;--radius-sm:10px;--radius-md:14px;--radius-lg:20px;--shadow-sm:0 6px 18px rgba(12,42,78,.06);--shadow-md:0 16px 42px rgba(12,42,78,.09)}
.app-page{background:linear-gradient(180deg,#f7faff 0,#f3f7fb 100%);font-size:16px}
.app-sidebar{width:272px;padding:24px 18px;background:linear-gradient(180deg,#082b5f 0%,#061f47 100%);border-inline-start:1px solid rgba(255,255,255,.05)}
.app-sidebar>.brand{padding-inline:12px}.app-sidebar .brand-logo{width:170px;height:66px}.workspace{margin:24px 0 18px;padding:14px;border-radius:var(--radius-md);background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.12)}
.workspace>span{width:42px;height:42px;border-radius:12px;background:linear-gradient(145deg,#25d0b7,#11ab94);color:#043b38;box-shadow:0 8px 18px rgba(21,184,159,.2)}.workspace b{font-size:14px}.workspace small{font-size:12px}
.app-sidebar nav{gap:5px}.app-sidebar nav a{min-height:45px;gap:12px;padding:9px 12px;border-radius:11px;color:#c3d0e1;font-size:14px;font-weight:600;transition:.18s background,.18s color,.18s transform}.app-sidebar nav a:hover{transform:translateX(-2px)}.app-sidebar nav a.active{background:linear-gradient(90deg,rgba(47,140,240,.28),rgba(47,140,240,.12));box-shadow:inset -3px 0 0 #42a5ff;color:#fff}.app-sidebar nav a i{width:30px;height:30px;border:0;border-radius:9px;background:rgba(255,255,255,.07)}.app-sidebar nav a svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.app-sidebar nav a span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trial-box{padding:16px;border-radius:var(--radius-md);background:linear-gradient(145deg,#123e77,#0c3265)}.trial-box span{font-size:13px}
.app-main{margin-right:272px}.app-header{height:78px;padding:0 32px;border-color:#e3eaf2;background:rgba(255,255,255,.9);backdrop-filter:blur(16px)}
.global-search{width:min(520px,50%);height:44px;border:1px solid #d8e3ee;border-radius:12px;background:#f7faff;color:#61758b;text-align:right;cursor:pointer;box-shadow:inset 0 1px 0 #fff}.global-search:hover{border-color:#b7cee5;background:#fff}.global-search svg,.icon-button svg,.command-search svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.global-search>span{flex:1;font-size:14px}.global-search kbd{font-size:12px;border-color:#dbe5ef;border-radius:7px;padding:4px 7px}
.icon-button,.sidebar-toggle{min-width:42px;height:42px;border-radius:11px}.icon-button:hover{background:#edf4fb}.icon-button svg{display:block;margin:auto}.user-chip{gap:10px}.user-chip>span{width:40px;height:40px;background:linear-gradient(145deg,#e5f1ff,#d5e7ff)}.user-chip b{font-size:14px}.user-chip small{font-size:12px}
.app-content{max-width:1720px;padding:34px 36px}.page-head{margin-bottom:28px}.page-head small{font-size:13px}.page-head h1{font-size:32px;letter-spacing:-.02em}.page-head p{font-size:15px;line-height:1.7}.panel{border-radius:var(--radius-md);border-color:#dfe7f0;box-shadow:var(--shadow-sm)}
.metric-grid{gap:16px;margin-bottom:18px}.metric-grid article{padding:21px;border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.metric-grid span{font-size:14px}.metric-grid strong{font-size:30px}.metric-grid strong em,.metric-grid small{font-size:13px}.dashboard-grid{gap:18px}.panel-head{padding:21px 22px 12px}.panel-head h2{font-size:19px}.panel-head p,.panel-head a{font-size:14px}.upcoming-row{padding:15px 20px}.upcoming-row time,.upcoming-row b{font-size:14px}.upcoming-row time small,.upcoming-row small{font-size:12px}.activity-row{padding:13px 20px}.activity-row b{font-size:14px}.activity-row small{font-size:12px}.onboarding h2{font-size:19px}.onboarding p,.onboarding ol{font-size:14px}.status{padding:6px 10px;border-radius:999px;font-size:13px}
.btn{min-height:44px;border-radius:10px;font-size:14px}.btn-sm{min-height:38px;font-size:13px}.list-tools{padding:16px;gap:10px}.search-box{height:42px;border-radius:10px}.search-box input,.list-tools select{font-size:14px}.list-tools select{min-height:42px;border-radius:10px;padding-inline:13px}.table-wrap{scrollbar-color:#c1d1e1 transparent}th{padding:14px 16px;font-size:13px}td{padding:15px 16px;font-size:14px}.identity small,.block{font-size:12px}.avatar{width:38px;height:38px}.appointment-customer-status{font-size:13px}.customer-appointment-button{font-size:13px}
.modal{border-radius:var(--radius-lg);box-shadow:0 30px 90px rgba(3,20,51,.3)}.modal-head{padding:20px 24px}.modal-head h2{font-size:22px}.modal-body{padding:24px}.form-stack label,.detail-grid label{font-size:14px}.form-stack input,.form-stack select,.form-stack textarea,.detail-grid input{min-height:48px;border-radius:10px;font-size:16px}.field-hint{font-size:13px!important}.settings-grid{grid-template-columns:250px 1fr;gap:20px}.settings-nav{padding:10px;border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.settings-nav a{padding:13px;border-radius:9px;font-size:14px}.settings-panel{padding:28px}.settings-panel h2{font-size:22px}.business-profile{padding:20px;border-radius:var(--radius-md)}.business-profile small,.settings-note{font-size:13px}
.command-palette{width:min(640px,calc(100% - 28px));max-height:min(680px,calc(100dvh - 40px));padding:0;border:1px solid #dbe5ef;border-radius:18px;background:#fff;box-shadow:0 32px 100px rgba(5,28,59,.34);color:var(--ink)}.command-palette::backdrop{background:rgba(3,20,47,.54);backdrop-filter:blur(4px)}.command-search{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line);color:#59708a}.command-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:17px}.command-search button{width:34px;height:34px;border:0;border-radius:9px;background:#eef3f8;color:#63768b;font-size:23px;cursor:pointer}.command-results{max-height:500px;overflow:auto;padding:10px}.command-results a{display:flex;align-items:center;gap:13px;padding:12px;border-radius:12px}.command-results a:hover,.command-results a.active{background:#edf5ff;color:#075ebf}.command-results a>i{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#f0f5fa}.command-results svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.command-results a>span{display:grid;gap:2px;flex:1}.command-results b{font-size:15px}.command-results small{font-size:12px;color:var(--muted)}.command-results kbd{font-size:12px}.command-results>p{padding:32px;text-align:center;color:var(--muted)}.command-palette>footer{display:flex;gap:18px;padding:11px 18px;border-top:1px solid var(--line);background:#f8fafc;color:#738499;font-size:12px}
.notification-panel{border-radius:14px;box-shadow:var(--shadow-md)}.notification-panel-head strong{font-size:16px}.notification-panel-head button{font-size:13px}.notification-item{padding:14px 16px}.notification-item strong{font-size:14px}.notification-item span{font-size:13px}.notification-item small{font-size:12px}.notification-empty{font-size:14px}
.app-page .support-whatsapp{right:296px}
@media(max-width:800px){.app-sidebar{width:280px}.app-main{margin-right:0}.app-header{height:68px;padding:0 12px}.app-content{padding:22px 14px}.global-search{display:flex;width:42px;padding:0;justify-content:center}.global-search>span,.global-search kbd{display:none}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:27px}.page-head p{font-size:14px}.metric-grid{gap:10px}.metric-grid article{padding:16px}.metric-grid span{font-size:13px}.dashboard-grid{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.command-palette>footer{display:none}.app-page .support-whatsapp{right:16px}}

/* Public booking journey */
.booking-v2{background:#f4f8fc}.booking-v2 .booking-brand{background:radial-gradient(circle at 15% 15%,rgba(36,160,255,.22),transparent 28%),linear-gradient(155deg,#082d63,#061d43)}.booking-benefits{display:grid;gap:9px;margin:28px 0;color:#d9e8f7;font-size:14px}.booking-benefits span{display:flex;align-items:center;gap:8px}.booking-card-v2{width:min(720px,100%);padding:28px 34px;border:1px solid #dce6ef;border-radius:20px;box-shadow:0 24px 70px rgba(9,41,77,.12)}
.booking-card-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:18px 0 12px}.booking-card-head small{color:var(--teal-dark);font-size:13px;font-weight:800}.booking-card-head h2{margin:4px 0 0;font-size:28px;color:var(--navy)}.booking-card-head>span{color:#657a91;font-size:13px;font-weight:700}.booking-progress{height:6px;margin-bottom:28px;border-radius:999px;background:#e9f0f7;overflow:hidden}.booking-progress i{display:block;width:25%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--teal),var(--blue));transition:.25s width}
.booking-step{display:none}.booking-step.active{display:grid;gap:20px;animation:booking-step-in .22s ease both}@keyframes booking-step-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.booking-step-title{display:flex;align-items:center;gap:13px}.booking-step-title>span{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:13px;background:#e9f3ff;color:var(--blue);font-size:17px;font-weight:800}.booking-step-title h3{margin:0;color:var(--navy);font-size:21px}.booking-step-title p{margin:3px 0 0;color:var(--muted);font-size:14px}
.booking-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.booking-service-grid label{cursor:pointer}.booking-service-grid input{position:absolute;opacity:0;pointer-events:none}.booking-service-grid label>span{position:relative;display:grid;gap:5px;min-height:92px;padding:16px 16px 14px;border:1px solid #dce6ef;border-radius:14px;background:#fff;transition:.18s border,.18s box-shadow,.18s transform}.booking-service-grid label>span:hover{transform:translateY(-2px);border-color:#b8cee4;box-shadow:var(--shadow-sm)}.booking-service-grid label>span>i{position:absolute;top:0;right:15px;width:30px;height:4px;border-radius:0 0 5px 5px;background:var(--service-color)}.booking-service-grid b{font-size:16px;color:#163a62}.booking-service-grid small{color:var(--muted);font-size:13px}.booking-service-grid input:checked+span{border-color:var(--blue);background:#f5faff;box-shadow:0 0 0 2px rgba(11,107,220,.12)}.booking-service-grid input:focus-visible+span{outline:3px solid rgba(11,107,220,.2);outline-offset:2px}
.booking-date{display:grid;gap:8px;color:#425b74;font-size:14px;font-weight:700}.booking-date input{min-height:50px;padding:10px 13px;border:1px solid #ccd9e6;border-radius:11px;background:#fff;color:var(--ink);font-size:16px}.booking-slots{display:grid;gap:16px;min-height:140px;padding:16px;border:1px solid #e0e8f1;border-radius:15px;background:#f8fbfe;transition:.2s border,.2s transform}.booking-slots-error{border-color:#e25e5e;transform:translateX(4px)}.booking-slot-group{display:grid;gap:9px}.booking-slot-group>b{color:#36536f;font-size:14px}.booking-slot-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.booking-slot-grid button{min-height:42px;border:1px solid #ccdae8;border-radius:10px;background:#fff;color:#274e75;font-size:14px;font-weight:800;cursor:pointer}.booking-slot-grid button:hover{border-color:#78abe1;background:#eff7ff}.booking-slot-grid button.selected{border-color:var(--blue);background:var(--blue);color:#fff;box-shadow:0 8px 18px rgba(11,107,220,.2)}.booking-slots-empty{display:grid;place-items:center;align-content:center;gap:5px;min-height:110px;text-align:center}.booking-slots-empty>span{font-size:28px;color:#7c93aa}.booking-slots-empty b{color:#36536f}.booking-slots-empty small{color:var(--muted);font-size:13px}.booking-slots-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:110px;color:#60788f;font-size:14px}.booking-slots-loading i{width:20px;height:20px;border:2px solid #d2e1f0;border-top-color:var(--blue);border-radius:50%;animation:booking-spin .7s linear infinite}@keyframes booking-spin{to{transform:rotate(360deg)}}
.booking-summary{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;padding:14px;border-radius:14px;background:#f0f7ff}.booking-summary:empty{display:none}.booking-summary span{display:grid;gap:2px;padding:9px}.booking-summary small{color:#70839a;font-size:12px}.booking-summary b{color:#193e65;font-size:14px}.booking-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:4px}.booking-actions .btn{min-width:130px}
@media(max-width:800px){.booking-v2 .booking-brand{min-height:270px}.booking-v2 .booking-brand .brand{margin-bottom:24px}.booking-benefits{grid-template-columns:1fr 1fr;margin:18px 0}.booking-contact{margin-top:22px}.booking-card-v2{padding:22px 18px;border-radius:16px}.booking-card-head{align-items:flex-start;flex-direction:column;gap:6px}.booking-card-head h2{font-size:24px}.booking-service-grid{grid-template-columns:1fr}.booking-slot-grid{grid-template-columns:repeat(3,1fr)}.booking-summary{grid-template-columns:1fr}.booking-actions{position:sticky;bottom:0;margin:0 -18px -22px;padding:14px 18px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #e1e9f1;background:rgba(255,255,255,.95);backdrop-filter:blur(12px)}.booking-actions .btn{flex:1;min-width:0}}
@media(max-width:480px){.booking-benefits{grid-template-columns:1fr}.booking-slot-grid{grid-template-columns:repeat(2,1fr)}}

/* Commerce: catalog, orders and payment collection */
.commerce-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.commerce-metrics article{position:relative;overflow:hidden;display:grid;gap:5px;padding:20px;border:1px solid #dce7f1;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(10,48,91,.04)}.commerce-metrics article:after{content:"";position:absolute;inset:auto auto -28px -20px;width:78px;height:78px;border-radius:50%;background:#eaf4ff}.commerce-metrics span{color:#67778a;font-size:11px;font-weight:700}.commerce-metrics b{color:#092d5d;font-size:27px;line-height:1.2}.commerce-metrics small{color:#0b8b80;font-size:10px}.commerce-panel{overflow:hidden;border-radius:14px}.commerce-panel>.panel-head{padding:20px 22px 15px}.commerce-panel td{vertical-align:middle}.commerce-item-name{display:flex;align-items:center;gap:10px;min-width:180px}.commerce-item-name>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#e0efff,#e5faf6);color:#075eb9;font-weight:800}.commerce-item-name>div{display:grid;gap:2px}.commerce-item-name small,.table-subline{display:block;max-width:270px;margin-top:3px;overflow:hidden;color:#7a8999;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.catalog-type{display:inline-flex;padding:5px 8px;border-radius:999px;background:#edf5ff;color:#1767b4;font-size:9px;font-style:normal;font-weight:800}.commerce-prerequisite{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding:15px 18px;border-color:#f2d98b;background:#fffaf0}.commerce-prerequisite>b{color:#70520b}.commerce-prerequisite>span{color:#796b47;font-size:11px}.commerce-prerequisite>div{display:flex;gap:7px;margin-inline-start:auto}.order-lines{display:grid;gap:9px;margin:0;padding:13px;border:1px solid #dce5ee;border-radius:10px}.order-lines legend{padding:0 7px;color:#173d69;font-size:11px;font-weight:800}.order-line{display:grid;grid-template-columns:1fr 115px;gap:9px}.order-line label{display:grid;gap:5px;color:#52657b;font-size:10px;font-weight:700}.order-line select,.order-line input{min-height:39px;border:1px solid #d5e0ea;border-radius:8px;background:#fff;padding:7px 9px}.payment-balance{display:flex;align-items:center;justify-content:space-between;padding:16px;border-radius:10px;background:linear-gradient(135deg,#082e62,#0b549a);color:#fff}.payment-balance span{font-size:11px;color:#bcd0e7}.payment-balance b{font-size:20px}
@media(max-width:1000px){.commerce-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.commerce-metrics{grid-template-columns:1fr 1fr;gap:9px}.commerce-metrics article{padding:15px}.commerce-metrics b{font-size:21px}.commerce-prerequisite{align-items:flex-start;flex-direction:column}.commerce-prerequisite>div{margin:0}.order-line{grid-template-columns:1fr}.commerce-panel .panel-head{padding-inline:15px}}
.order-preview{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 12px;padding:14px 16px;border:1px solid #cfe0ef;border-radius:10px;background:#f4f9fe}.order-preview span{color:#61758a;font-size:10px;font-weight:700}.order-preview b{grid-row:span 2;color:#082f64;font-size:20px}.order-preview small{color:#8191a2;font-size:9px}
.order-actions{display:flex;flex-wrap:wrap;gap:5px;min-width:160px}.order-actions form{display:flex}.order-invoice-link{display:block;margin-top:5px;color:#087f75;font-size:9px;font-weight:800}.refund-warning{display:grid;gap:4px;padding:14px;border:1px solid #f1c7c2;border-radius:10px;background:#fff4f2}.refund-warning b{color:#a4382c}.refund-warning span{color:#76534f;font-size:11px;line-height:1.6}.btn-danger{border-color:#bb3d31;background:#bb3d31;color:#fff}.btn-danger:hover{background:#9d2e24}
.order-number-link{color:#075fb9;font-weight:800}.order-detail-hero{display:grid;grid-template-columns:1fr auto;gap:18px;margin-bottom:16px;padding:22px}.order-detail-hero small{color:#728397;font-size:10px}.order-detail-hero h2{margin:4px 0;color:#092f60}.order-detail-hero p{margin:0;color:#66788b;font-size:11px}.order-detail-status{display:flex;gap:6px}.order-detail-hero dl{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0}.order-detail-hero dl>div{padding:13px;border-radius:10px;background:#f5f9fd}.order-detail-hero dt,.order-context dt{color:#728397;font-size:9px}.order-detail-hero dd{margin:4px 0 0;color:#0b3567;font-size:18px;font-weight:800}.order-detail-hero footer{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px}.order-detail-hero footer form{display:flex}.order-detail-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.65fr);gap:16px;margin-bottom:16px}.order-detail-grid table{min-width:650px}.order-detail-grid tfoot td,.order-detail-grid tfoot th{background:#fbfdff;border-top:1px solid #e5edf4}.order-context dl{display:grid;gap:0;margin:0;padding:0 20px 15px}.order-context dl>div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid #edf2f6}.order-context dd{margin:0;text-align:left;font-size:11px;font-weight:700}.order-notes{margin:0 18px 18px;padding:13px;border-radius:9px;background:#f6f9fc}.order-notes p{margin:5px 0 0;color:#62758a;font-size:11px;line-height:1.7}.order-ledger-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.order-ledger{display:grid;padding-bottom:8px}.order-ledger article{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:13px 18px;border-top:1px solid #edf2f6}.order-ledger article>i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e4f7f2;color:#087a68;font-size:16px;font-style:normal;font-weight:800}.order-ledger article.refund>i{background:#ffedeb;color:#b23f33}.order-ledger article>div{display:grid}.order-ledger article b{font-size:12px}.order-ledger article span,.order-ledger article small{color:#718297;font-size:9px}.order-ledger time{display:grid;text-align:left;color:#53687f;font-size:9px}.order-ledger time small{margin-top:3px}
@media(max-width:900px){.order-detail-grid,.order-ledger-grid{grid-template-columns:1fr}.order-detail-hero dl{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.order-detail-hero{grid-template-columns:1fr}.order-detail-status{grid-column:1}.order-detail-hero dl{grid-template-columns:1fr 1fr}.order-detail-hero dd{font-size:15px}.order-ledger article{grid-template-columns:30px 1fr}.order-ledger time{grid-column:2;text-align:right}}
.discount-codes-panel{margin-top:16px}.discount-code{display:inline-flex;margin-top:6px;padding:5px 9px;border:1px dashed #77a8d5;border-radius:7px;background:#f1f7fd;color:#075da9;font:800 11px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.5px}.discount-codes-panel .discount-code{margin:0}.discount-codes-panel table{min-width:880px}
.order-discount-note{display:flex;align-items:center;gap:8px;margin:-7px 0 15px;padding:10px 13px;border:1px solid #cfe5dd;border-radius:10px;background:#f1faf7;color:#38685d;font-size:11px}.order-discount-note .discount-code{margin:0}
.stock-branch-list{display:grid;gap:12px;margin-bottom:14px}.stock-adjust-form{display:grid;gap:10px;padding:14px;border:1px solid #dce6ef;border-radius:11px}.stock-adjust-form header{display:flex;justify-content:space-between}.stock-adjust-form header span{color:#718398;font-size:10px}.stock-adjust-form>div{display:grid;grid-template-columns:1fr 1fr;gap:9px}.stock-adjust-form label{display:grid;gap:5px;color:#53677c;font-size:10px;font-weight:700}.stock-adjust-form input{min-height:39px;padding:7px 9px;border:1px solid #d2dee9;border-radius:8px}.stock-branch-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.stock-branch-cards article{display:grid;gap:6px;padding:17px}.stock-branch-cards article.low{border-color:#e9bb65;background:#fffaf0}.stock-branch-cards span{color:#60758b;font-size:11px}.stock-branch-cards b{color:#0a376b;font-size:25px}.stock-branch-cards small{color:#7b8c9f;font-size:9px}.stock-branch-cards button{margin-top:5px}.stock-movement-type{display:inline-flex;padding:4px 7px;border-radius:999px;background:#edf3f8;color:#4e657c;font-size:9px;font-style:normal;font-weight:800}.stock-movement-type.sale{background:#fff0ed;color:#b04938}.stock-movement-type.refund,.stock-movement-type.cancellation{background:#e4f7f2;color:#087867}.stock-delta{font-weight:800;direction:ltr;text-align:right}.stock-delta.positive{color:#087867}.stock-delta.negative{color:#b43f33}
@media(max-width:1000px){.stock-branch-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:550px){.stock-branch-cards{grid-template-columns:1fr}.stock-adjust-form>div{grid-template-columns:1fr}}
.pos-shell{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(340px,.7fr);gap:16px;align-items:start}.pos-catalog{overflow:hidden}.pos-catalog>header{display:flex;gap:10px;padding:15px;border-bottom:1px solid #e5edf4}.pos-search{display:flex;align-items:center;gap:8px;flex:1;min-height:43px;padding:0 12px;border:1px solid #d3e0eb;border-radius:10px}.pos-search svg{width:18px;fill:none;stroke:#6e8297;stroke-width:2}.pos-search input{width:100%;border:0;outline:0}.pos-catalog>header select{min-width:150px;border:1px solid #d3e0eb;border-radius:10px;background:#fff;padding:0 10px}.pos-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:calc(100vh - 230px);overflow:auto;padding:15px}.pos-product{position:relative;display:grid;grid-template-columns:40px 1fr;gap:9px;min-height:116px;padding:13px;border:1px solid #dce6ef;border-radius:12px;background:#fff;text-align:right;cursor:pointer;transition:.16s}.pos-product:hover{transform:translateY(-2px);border-color:#8bb7e2;box-shadow:0 8px 20px rgba(11,65,120,.08)}.pos-product>span{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#e7f2ff;color:#0865bd;font-weight:800}.pos-product>div{display:grid;align-content:start;min-width:0}.pos-product em{color:#0b8b80;font-size:8px;font-style:normal;font-weight:800}.pos-product b{margin:3px 0;overflow:hidden;color:#173c65;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.pos-product small{color:#8796a6;font-size:8px}.pos-product strong{grid-column:1/-1;color:#082f62;font-size:13px}.pos-product.out-of-stock{border-color:#d95b4d;background:#fff3f1;animation:pos-shake .35s}@keyframes pos-shake{25%{transform:translateX(4px)}75%{transform:translateX(-4px)}}.pos-cart{position:sticky;top:92px;overflow:hidden}.pos-cart>header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #e5edf4}.pos-cart>header small{color:#71849a;font-size:9px}.pos-cart>header h2{margin:3px 0 0;font-size:19px}.pos-cart>header h2 span{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#e8f3ff;color:#0764bc;font-size:10px}.pos-customer,.pos-discount{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 16px;border-bottom:1px solid #edf2f6}.pos-customer label,.pos-discount label{display:grid;gap:5px;color:#52677c;font-size:9px;font-weight:800}.pos-customer select,.pos-discount select,.pos-discount textarea{width:100%;min-height:39px;padding:7px 8px;border:1px solid #d4e0ea;border-radius:8px;background:#fff}.pos-cart-lines{display:grid;max-height:270px;overflow:auto}.pos-cart-empty{display:grid;place-items:center;gap:4px;padding:35px 15px;text-align:center}.pos-cart-empty span{font-size:27px}.pos-cart-empty small{color:#8493a3;font-size:9px}.pos-cart-line{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:12px 16px;border-bottom:1px solid #edf2f6}.pos-cart-line>div:first-child{display:grid}.pos-cart-line b{font-size:11px}.pos-cart-line small{color:#7b8c9d;font-size:9px}.pos-quantity{display:flex;align-items:center;gap:7px}.pos-quantity button{width:27px;height:27px;border:1px solid #cedbe6;border-radius:7px;background:#fff;color:#0a5fae;font-weight:800;cursor:pointer}.pos-quantity span{min-width:18px;text-align:center;font-size:11px;font-weight:800}.pos-quantity button.shake{animation:pos-shake .35s}.pos-totals{display:grid;gap:7px;margin:0;padding:14px 18px}.pos-totals>div{display:flex;justify-content:space-between;color:#61758a;font-size:10px}.pos-totals dd{margin:0;font-weight:700}.pos-totals .total{margin-top:5px;padding-top:11px;border-top:1px solid #dfe8f0;color:#092f61;font-size:15px;font-weight:800}.pos-submit{width:calc(100% - 32px);margin:0 16px 16px}.pos-submit:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1100px){.pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:850px){.pos-shell{grid-template-columns:1fr}.pos-cart{position:static}.pos-product-grid{max-height:none}}@media(max-width:520px){.pos-product-grid{grid-template-columns:1fr 1fr;padding:9px}.pos-product{grid-template-columns:32px 1fr;padding:10px}.pos-product>span{width:31px;height:31px}.pos-catalog>header,.pos-customer,.pos-discount{grid-template-columns:1fr;flex-direction:column}.pos-catalog>header select{min-height:42px}}
.page-actions{display:flex;gap:8px}.receipt-page{min-height:100vh;background:#edf2f6;padding:28px}.thermal-receipt{width:min(380px,100%);margin:auto;padding:24px;background:#fff;box-shadow:0 15px 45px rgba(7,36,70,.13);color:#17212b}.thermal-receipt .brand{justify-content:center}.thermal-receipt .brand-logo{width:150px;height:auto}.thermal-receipt>header{text-align:center;border-bottom:1px dashed #8794a0;padding-bottom:14px}.thermal-receipt h1{margin:8px 0 3px;font-size:18px}.thermal-receipt header p{margin:0;color:#596773;font-size:9px;line-height:1.6}.receipt-meta{display:grid;gap:6px;padding:14px 0;border-bottom:1px dashed #8794a0}.receipt-meta>div,.receipt-totals>div{display:flex;justify-content:space-between;gap:12px}.receipt-meta span{font-size:9px;color:#65727d}.receipt-meta b{font-size:10px}.thermal-receipt table{min-width:0;margin:12px 0;font-family:Cairo,sans-serif}.thermal-receipt th,.thermal-receipt td{padding:7px 3px;background:#fff;border-top:1px dotted #c5ccd2;font-size:9px}.thermal-receipt th{border-top:0;color:#3f4b55}.receipt-totals{display:grid;gap:6px;margin:0;padding:12px 0;border-top:1px dashed #8794a0}.receipt-totals dt,.receipt-totals dd{margin:0;font-size:9px}.receipt-totals .total{padding:8px 0;border-block:1px solid #1d2730;font-weight:800}.receipt-totals .total dt,.receipt-totals .total dd{font-size:13px}.thermal-receipt>footer{display:grid;place-items:center;gap:5px;padding-top:12px;text-align:center}.thermal-receipt>footer b{font-size:11px}.thermal-receipt>footer span{color:#64717c;font-size:8px}.thermal-receipt>footer code{margin-top:5px;font-size:7px;word-break:break-all}.receipt-actions{display:flex;gap:8px;margin-top:18px}.receipt-actions .btn{flex:1}
@media print{@page{size:80mm auto;margin:3mm}.receipt-page{min-height:0;padding:0;background:#fff}.thermal-receipt{width:74mm;margin:0;padding:2mm;box-shadow:none}.receipt-actions,.receipt-page .support-whatsapp{display:none!important}}
.appointment-manage-shell{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 10% 10%,#dceeff,transparent 30%),#f4f8fc}.appointment-manage-card{width:min(850px,100%);padding:30px;border:1px solid #dbe6ef;border-radius:20px;background:#fff;box-shadow:0 24px 70px rgba(7,42,81,.12)}.appointment-manage-card>.brand{margin-bottom:20px}.appointment-manage-card h1{margin:5px 0 20px;color:#082f63}.manage-appointment-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:18px}.manage-appointment-summary>div{display:grid;gap:4px;padding:13px;border-radius:10px;background:#f4f8fc}.manage-appointment-summary small{color:#718399;font-size:9px}.manage-appointment-summary b{font-size:12px}.manage-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.manage-actions-grid form{display:grid;gap:12px;padding:18px}.manage-actions-grid h2{margin:0;font-size:18px}.manage-actions-grid p{margin:0;color:#6c7d8f;font-size:11px;line-height:1.6}.manage-actions-grid label{display:grid;gap:6px;color:#4e6378;font-size:11px;font-weight:700}.manage-actions-grid input,.manage-actions-grid textarea{min-height:44px;padding:9px;border:1px solid #cfdae5;border-radius:9px}.manage-locked{padding:18px;border-radius:11px;background:#fff3e3;color:#895b16;text-align:center}.appointment-manage-card>footer{margin-top:18px;color:#8493a2;font-size:9px;text-align:center}@media(max-width:700px){.appointment-manage-card{padding:22px 16px}.manage-appointment-summary{grid-template-columns:1fr 1fr}.manage-actions-grid{grid-template-columns:1fr}}

/* Appointments workspace 3.0 */
.appointment-operations{gap:16px;margin-bottom:20px}
.appointment-kpis{gap:14px}
.appointment-kpis article{position:relative;min-height:112px;padding:18px 20px 16px;border-color:#dce7f1;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,53,92,.055);overflow:hidden}
.appointment-kpis article:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:#2f8cf0}
.appointment-kpis article:nth-child(2):before{background:#1677d2}.appointment-kpis article:nth-child(3):before{background:#15a183}.appointment-kpis article.attention:before{background:#e39a27}
.appointment-kpis span{font-size:14px}.appointment-kpis b{margin-top:4px;font-size:30px}.appointment-kpis small{font-size:12px}
.operations-calendar{border-color:#dbe6f0;border-radius:18px;box-shadow:0 10px 30px rgba(15,54,93,.065)}
.calendar-toolbar{padding:18px 22px;background:linear-gradient(180deg,#fff,#fbfdff)}
.calendar-toolbar small{font-size:12px;letter-spacing:.02em}.calendar-toolbar h2{font-size:20px}
.calendar-view-switch{padding:4px;border-radius:12px}.calendar-view-switch button{min-width:78px;min-height:38px;padding:8px 14px;border-radius:9px;font-size:13px}
.calendar-controls{padding:14px 22px;background:#f7faff}
.calendar-navigation button{min-width:42px;height:42px;border-radius:11px;font-size:18px}.calendar-navigation button[data-calendar-today]{padding-inline:17px;font-size:13px}
.calendar-filters{gap:12px}.calendar-filters label{display:grid;grid-template-columns:auto minmax(150px,1fr);align-items:center;gap:8px;font-size:12px}.calendar-filters select{min-width:170px;height:42px;padding-inline:12px 34px;border-radius:11px;font-size:13px}
.calendar-legend{gap:18px;padding:1px 22px 14px;background:#f7faff;font-size:12px}.calendar-legend i{width:9px;height:9px;box-shadow:0 0 0 3px rgba(99,116,139,.09)}
.operations-board{grid-template-columns:repeat(7,minmax(178px,1fr));min-height:430px;background:#f9fbfd}
.calendar-day{min-width:178px;padding:0 9px 18px;background:#fff}.calendar-day.today{background:linear-gradient(180deg,#f2f8ff,#f8fbff)}
.calendar-day>header{min-height:70px;margin:0 -9px 12px;padding:12px 14px;background:rgba(249,251,253,.82)}
.calendar-day>header span{font-size:12px}.calendar-day>header b{font-size:23px}.calendar-day>header small{font-size:11px}.calendar-day.today>header b{width:39px;height:39px;box-shadow:0 7px 16px rgba(7,103,215,.22)}
.calendar-day-empty{margin:34px 8px;padding:22px 10px;border:1px dashed #d8e3ed;border-radius:12px;background:rgba(247,250,253,.75);color:#8999aa;font-size:12px}
.calendar-appointment{gap:6px;margin:9px 0;padding:13px 13px 11px;border-color:#d9e5ef;border-inline-start-width:4px;border-radius:13px;background:linear-gradient(145deg,#fff,#fbfdff);box-shadow:0 6px 18px rgba(25,64,104,.07);transition:.18s transform,.18s border-color,.18s box-shadow}
.calendar-appointment:hover{transform:translateY(-2px);border-color:#b8cee1;box-shadow:0 11px 24px rgba(25,64,104,.12)}
.calendar-appointment time{font-size:12px}.calendar-appointment>b{color:#0a315f;font-size:14px;line-height:1.55}.calendar-appointment>span{font-size:13px}.calendar-appointment>small{font-size:11px;line-height:1.5}
/* Reset the public-site footer style inside appointment cards. */
.calendar-appointment footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 0;padding:9px 0 0;border-top:1px solid #e8eef5;background:transparent;color:inherit}
.calendar-appointment footer em{padding:5px 8px;font-size:11px}.calendar-appointment footer button{min-height:30px;padding:4px 9px;border-radius:8px;background:#edf5ff;color:#0767d7;font-size:11px}.calendar-appointment footer button:hover{background:#dcecff}
.calendar-status-confirmed{background:linear-gradient(145deg,#fff,#f4f9ff)}.calendar-status-pending{background:linear-gradient(145deg,#fff,#fffaf1)}.calendar-status-in-progress{background:linear-gradient(145deg,#fff,#f8f5ff)}.calendar-status-completed{background:linear-gradient(145deg,#fff,#f2fbf8)}

.list-panel[data-appointment-list]{border-radius:18px;box-shadow:0 10px 30px rgba(15,54,93,.06)}
.list-panel[data-appointment-list] .list-tools{padding:14px 16px;background:#fbfdff}
.appointment-data-table{min-width:1260px;table-layout:fixed}
.appointment-data-table th{position:sticky;top:0;z-index:2;background:#f5f8fc;color:#526b84;font-size:12px;white-space:nowrap}
.appointment-data-table td{vertical-align:middle;padding-block:14px;color:#183451;font-size:13px;line-height:1.55}
.appointment-data-table tbody tr{transition:.15s background,.15s box-shadow}.appointment-data-table tbody tr:hover{background:#f7fbff;box-shadow:inset -3px 0 #2f8cf0}
.appointment-data-table th:nth-child(1),.appointment-data-table td:nth-child(1){width:88px}.appointment-data-table th:nth-child(2),.appointment-data-table td:nth-child(2){width:205px}.appointment-data-table th:nth-child(3),.appointment-data-table td:nth-child(3){width:205px}.appointment-data-table th:nth-child(4),.appointment-data-table td:nth-child(4){width:145px}.appointment-data-table th:nth-child(5),.appointment-data-table td:nth-child(5){width:190px}.appointment-data-table th:nth-child(6),.appointment-data-table td:nth-child(6){width:125px}.appointment-data-table th:nth-child(7),.appointment-data-table td:nth-child(7){width:135px}.appointment-data-table th:nth-child(8),.appointment-data-table td:nth-child(8){width:115px}.appointment-data-table th:nth-child(9),.appointment-data-table td:nth-child(9){width:110px}.appointment-data-table th:nth-child(10),.appointment-data-table td:nth-child(10){width:185px}
.appointment-data-table td:first-child>b{display:inline-flex;padding:6px 9px;border-radius:8px;background:#eaf3ff;color:#075fae;font-size:14px}.appointment-data-table td:first-child .block{margin-top:5px}.appointment-data-table .appointment-customer-cell{min-width:0}.appointment-data-table .appointment-customer-note{min-width:0;max-width:none;color:#4f647a;font-size:12px}.appointment-data-table .contact-cell{min-width:0}.appointment-data-table .contact-actions{flex-wrap:wrap}.appointment-data-table .entity-action-group{flex-wrap:wrap;min-width:0}

@media(max-width:1100px){.appointment-kpis{grid-template-columns:repeat(2,1fr)}.calendar-toolbar,.calendar-controls{align-items:stretch;flex-direction:column}.calendar-filters{display:grid;grid-template-columns:1fr 1fr}.calendar-filters label{grid-template-columns:1fr}.calendar-filters select{width:100%;min-width:0}.operations-board{grid-template-columns:repeat(7,minmax(205px,1fr))}}
@media(max-width:700px){
  .appointment-kpis{grid-template-columns:1fr 1fr;gap:9px}.appointment-kpis article{min-height:100px;padding:15px}.appointment-kpis span{font-size:12px}.appointment-kpis b{font-size:25px}.appointment-kpis small{font-size:11px}
  .calendar-toolbar,.calendar-controls{padding:14px}.calendar-toolbar h2{font-size:18px}.calendar-view-switch button{min-width:0}.calendar-filters{grid-template-columns:1fr}.calendar-legend{gap:11px;padding-inline:14px}.operations-board{grid-template-columns:repeat(7,minmax(84vw,1fr))}.operations-board.day-view{grid-template-columns:minmax(0,1fr)}
  .list-panel[data-appointment-list] .table-wrap{overflow:visible}
  .appointment-data-table{display:block;min-width:0;background:#f4f8fc}.appointment-data-table thead{display:none}.appointment-data-table tbody{display:grid;gap:11px;padding:11px}
  .appointment-data-table tbody>tr{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"time appointmentstatus" "customer customer" "contact contact" "customerstatus service" "note note" "employee branch" "actions actions";gap:10px 12px;padding:14px;border:1px solid #dbe6f0;border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(14,52,91,.06)}
  .appointment-data-table tbody>tr>td{display:block;width:auto!important;min-width:0!important;max-width:none!important;padding:0;border:0}.appointment-data-table tbody>tr>td:nth-child(1){grid-area:time}.appointment-data-table tbody>tr>td:nth-child(2){grid-area:customer;padding-bottom:10px;border-bottom:1px solid #e8eef5}.appointment-data-table tbody>tr>td:nth-child(3){grid-area:contact}.appointment-data-table tbody>tr>td:nth-child(4){grid-area:customerstatus}.appointment-data-table tbody>tr>td:nth-child(5){grid-area:note;padding:10px;border-radius:9px;background:#f7f9fc}.appointment-data-table tbody>tr>td:nth-child(6){grid-area:service}.appointment-data-table tbody>tr>td:nth-child(7){grid-area:employee}.appointment-data-table tbody>tr>td:nth-child(8){grid-area:appointmentstatus;text-align:left}.appointment-data-table tbody>tr>td:nth-child(9){grid-area:branch}.appointment-data-table tbody>tr>td:nth-child(10){grid-area:actions;padding-top:10px;border-top:1px solid #e8eef5}
  .appointment-data-table tbody>tr>td:nth-child(4):before,.appointment-data-table tbody>tr>td:nth-child(5):before,.appointment-data-table tbody>tr>td:nth-child(6):before,.appointment-data-table tbody>tr>td:nth-child(7):before,.appointment-data-table tbody>tr>td:nth-child(9):before{display:block;margin-bottom:4px;color:#7b8da0;font-size:11px;font-weight:800}.appointment-data-table tbody>tr>td:nth-child(4):before{content:"حالة العميل"}.appointment-data-table tbody>tr>td:nth-child(5):before{content:"ملاحظة العميل"}.appointment-data-table tbody>tr>td:nth-child(6):before{content:"الخدمة"}.appointment-data-table tbody>tr>td:nth-child(7):before{content:"الموظف"}.appointment-data-table tbody>tr>td:nth-child(9):before{content:"الفرع"}
  .appointment-data-table .identity{align-items:flex-start}.appointment-data-table .avatar{width:42px;height:42px}.appointment-data-table .contact-cell{align-items:center;display:flex;justify-content:space-between;gap:8px}.appointment-data-table .entity-action-group{align-items:stretch;flex-direction:row}.appointment-data-table .entity-action-group>*{flex:1}
}

/* Branded customer storefront and account portal */
.customer-portal-page{margin:0;background:#f7f9fc;color:#112a46;font-family:"Cairo",sans-serif}.customer-portal-page .support-whatsapp{display:none}.customer-portal{min-height:100vh;display:flex;flex-direction:column}.customer-portal>main{flex:1}
.portal-header{position:sticky;top:0;z-index:20;min-height:78px;display:flex;align-items:center;gap:34px;padding:0 max(28px,calc((100vw - 1240px)/2));border-bottom:1px solid #e2e9f0;background:rgba(255,255,255,.94);backdrop-filter:blur(18px)}
.portal-brand{display:inline-flex;align-items:center;gap:10px;min-width:160px;color:#102f54}.portal-brand img{width:auto;max-width:180px;height:54px;object-fit:contain}.portal-brand>span{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:var(--portal-color);color:#fff;font-size:21px;font-weight:800}.portal-brand>b{font-size:18px}
.portal-header nav{display:flex;align-items:center;gap:26px;margin-inline:auto}.portal-header nav a{position:relative;padding:28px 0;color:#546a80;font-size:15px;font-weight:700}.portal-header nav a:hover,.portal-header nav a.active{color:#123d6c}.portal-header nav a.active:after{content:"";position:absolute;right:0;left:0;bottom:0;height:3px;border-radius:4px;background:var(--portal-color)}
.portal-header-actions{display:flex;align-items:center;gap:9px}.portal-header-actions>a,.portal-header-actions button,.portal-primary,.portal-secondary{min-height:43px;display:inline-flex;align-items:center;justify-content:center;padding:0 17px;border:1px solid transparent;border-radius:11px;font-size:14px;font-weight:800;cursor:pointer}.portal-header-actions form{display:flex}.portal-header-actions button{background:transparent;color:#687b8e}.portal-account-link{color:var(--portal-color)}.portal-primary{background:var(--portal-color);color:#fff!important;box-shadow:0 10px 24px color-mix(in srgb,var(--portal-color) 24%,transparent)}.portal-secondary{border-color:#cfdbe6;background:#fff;color:#173d66}
.portal-hero{width:min(1240px,calc(100% - 48px));min-height:535px;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:65px;margin:30px auto 0;padding:70px;border-radius:28px;background:radial-gradient(circle at 12% 15%,color-mix(in srgb,var(--portal-color) 28%,transparent),transparent 28%),linear-gradient(145deg,#082e63,#061d43);color:#fff;overflow:hidden}.portal-hero>div>span,.portal-section>header>span,.portal-auth-card>span,.portal-account-head>div>span{color:#5fe4d1;font-size:14px;font-weight:800}.portal-hero h1{margin:14px 0 19px;font-size:clamp(42px,5vw,70px);line-height:1.22}.portal-hero h1 em{color:#72e5d4;font-style:normal}.portal-hero p{max-width:650px;margin:0;color:#cbd8e7;font-size:18px;line-height:1.9}.portal-hero>div>div{display:flex;gap:12px;margin-top:30px}.portal-hero .portal-secondary{border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.07);color:#fff}
.portal-hero aside{position:relative;min-height:320px;display:grid;place-items:center;align-content:center;gap:9px;border:1px solid rgba(255,255,255,.15);border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.04));text-align:center}.portal-hero aside:before,.portal-hero aside:after{content:"";position:absolute;border-radius:50%;background:var(--portal-color)}.portal-hero aside:before{width:100px;height:100px;top:-42px;left:-35px;opacity:.55}.portal-hero aside:after{width:55px;height:55px;right:25px;bottom:18px;opacity:.35}.portal-hero aside>span{width:92px;height:92px;display:grid;place-items:center;border-radius:26px;background:#fff;color:var(--portal-color);font-size:42px;font-weight:800}.portal-hero aside>b{font-size:23px}.portal-hero aside>small{color:#b9cbe0;font-size:14px}
.portal-section{width:min(1240px,calc(100% - 48px));margin:0 auto;padding:92px 0}.portal-section>header{max-width:670px;margin-bottom:34px}.portal-section>header>span{color:color-mix(in srgb,var(--portal-color) 76%,#087c6e)}.portal-section h2{margin:8px 0;color:#0c315e;font-size:37px;line-height:1.35}.portal-service-grid,.portal-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.portal-service-grid article,.portal-product-card{position:relative;display:grid;align-content:start;gap:12px;min-height:270px;padding:25px;border:1px solid #dce6ef;border-radius:18px;background:#fff;box-shadow:0 8px 26px rgba(10,43,79,.055);transition:.2s transform,.2s box-shadow,.2s border-color}.portal-service-grid article:hover,.portal-product-card:hover{transform:translateY(-3px);border-color:#b7cde1;box-shadow:0 15px 34px rgba(10,43,79,.1)}.portal-service-grid article>i{width:48px;height:8px;border-radius:8px;background:var(--item-color)}.portal-service-grid h3,.portal-product-card h3{margin:5px 0 0;color:#10365f;font-size:20px}.portal-service-grid p,.portal-product-card p{margin:0;color:#65778a;font-size:14px;line-height:1.75}.portal-service-grid article>div,.portal-product-card>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}.portal-service-grid article>div b,.portal-product-card>div b{color:#0b3565;font-size:17px}.portal-service-grid article>div span{color:#76889a;font-size:13px}.portal-service-grid article>a{color:var(--portal-color);font-size:14px;font-weight:800}
.portal-products{padding-top:65px}.portal-product-grid{gap:22px}.portal-product-card{min-height:390px;padding:0;gap:0;overflow:hidden}.portal-product-card>input[type=checkbox]{position:absolute;opacity:0;pointer-events:none}.portal-product-card>.portal-product-visual{position:relative;min-height:138px;display:flex;align-items:flex-start;justify-content:space-between;margin-top:0;padding:22px;background:linear-gradient(145deg,color-mix(in srgb,var(--portal-color) 14%,#eef6ff),#f7fbff);overflow:hidden}.portal-product-visual:after{content:"";position:absolute;width:140px;height:140px;left:-38px;bottom:-72px;border-radius:50%;background:color-mix(in srgb,var(--portal-color) 12%,transparent)}.portal-product-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#fff;color:var(--portal-color);box-shadow:0 12px 28px rgba(14,55,96,.12);font-size:27px;font-weight:800}.portal-product-visual>small{padding:6px 11px;border:1px solid rgba(255,255,255,.85);border-radius:999px;background:rgba(255,255,255,.78);color:#365b7f;font-size:13px;font-weight:800}.portal-product-select{position:absolute;right:22px;bottom:18px;z-index:1;display:flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #c8d8e8;border-radius:10px;background:#fff;color:#46627e;font-size:13px;font-weight:800;cursor:pointer}.portal-product-select i{width:21px;height:21px;display:grid;place-items:center;border:1px solid #b9cada;border-radius:7px;color:transparent;font-size:12px;font-style:normal}.portal-product-card>input:disabled~.portal-product-visual .portal-product-select{cursor:default;opacity:.65}.portal-product-card>input:checked~.portal-product-visual .portal-product-select{border-color:var(--portal-color);background:var(--portal-color);color:#fff}.portal-product-card>input:checked~.portal-product-visual .portal-product-select i{border-color:rgba(255,255,255,.55);background:#fff;color:var(--portal-color)}.portal-product-card:has(>input:checked){border-color:var(--portal-color);box-shadow:0 0 0 2px color-mix(in srgb,var(--portal-color) 15%,transparent),0 18px 38px rgba(10,43,79,.12)}.portal-product-card>.portal-product-body{display:flex;flex:1;align-items:stretch;justify-content:flex-start;flex-direction:column;gap:11px;margin-top:0;padding:24px}.portal-product-body h3{margin:0;color:#0c315e;font-size:20px;line-height:1.55}.portal-product-body p{display:-webkit-box;min-height:72px;margin:0;overflow:hidden;color:#64778b;font-size:15px;line-height:1.8;-webkit-box-orient:vertical;-webkit-line-clamp:3}.portal-product-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:auto;padding-top:17px;border-top:1px solid #e7edf3}.portal-product-price,.portal-product-quantity{display:grid;gap:4px}.portal-product-price small,.portal-product-quantity small{color:#7b8c9e;font-size:12px;font-weight:700}.portal-product-price b{color:#0a376b;font-size:20px;white-space:nowrap}.portal-product-quantity{justify-items:end}.portal-product-card input[type=number]{width:76px;min-height:42px;padding:6px 10px;border:1px solid #cbd9e6;border-radius:10px;background:#fff;color:#183b60;font-size:16px;text-align:center}.portal-product-card input[type=number]:disabled{background:#f3f6f9;color:#9aa8b5;opacity:.75}
.portal-checkout{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px;padding:22px;border:1px solid #dce6ef;border-radius:18px;background:#fff}.portal-checkout label,.portal-auth-form label{display:grid;gap:7px;color:#465f78;font-size:14px;font-weight:700}.portal-checkout select,.portal-checkout input,.portal-checkout textarea,.portal-auth-form input{min-height:48px;padding:10px 12px;border:1px solid #cfdce8;border-radius:11px;background:#fff;color:#112a46;font-size:16px}.portal-checkout textarea{min-height:88px;resize:vertical}.portal-checkout .wide{grid-column:1/-1}.portal-signin-callout{display:flex;align-items:center;gap:18px;margin-top:18px;padding:22px;border-radius:18px;background:#082e63;color:#fff}.portal-signin-callout b{font-size:17px}.portal-signin-callout span{flex:1;color:#c4d2e3;font-size:14px}.portal-empty{grid-column:1/-1;padding:38px;border:1px dashed #cfdae5;border-radius:16px;background:#fff;color:#738699;text-align:center}
.portal-footer{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:60px;margin-top:45px;padding:55px max(28px,calc((100vw - 1240px)/2)) 26px;background:#071f43;color:#c2d0e1}.portal-footer>div{display:grid;align-content:start;gap:10px}.portal-footer .portal-brand{color:#fff}.portal-footer .portal-brand>span{background:#fff;color:var(--portal-color)}.portal-footer p{margin:5px 0;color:#9eb1c8}.portal-footer b{color:#fff;font-size:15px}.portal-footer a{width:max-content;color:#c2d0e1}.portal-footer>small{grid-column:1/-1;padding-top:22px;border-top:1px solid rgba(255,255,255,.12);color:#8fa5be;font-size:13px}
.portal-auth-shell{width:min(1120px,calc(100% - 48px));display:grid;grid-template-columns:1fr .85fr;margin:55px auto;padding:0;border:1px solid #dbe5ee;border-radius:24px;background:#fff;box-shadow:0 24px 70px rgba(9,40,76,.1);overflow:hidden}.portal-auth-card{padding:55px}.portal-auth-card>span,.portal-account-head>div>span{color:var(--portal-color)}.portal-auth-card h1{margin:7px 0;font-size:34px}.portal-auth-card>p{margin:0 0 26px;color:#65798e}.portal-auth-form{display:grid;gap:16px}.portal-auth-form .portal-primary{border:0;margin-top:4px}.portal-auth-card>footer{margin:22px 0 0;padding:0;background:transparent;color:#61758a;text-align:center}.portal-auth-card>footer a{color:var(--portal-color);font-weight:800}.portal-auth-shell>aside{display:grid;align-content:center;gap:25px;padding:52px;background:linear-gradient(145deg,#082f64,#061d43);color:#fff}.portal-auth-shell>aside .portal-brand{color:#fff}.portal-auth-shell>aside h2{font-size:32px;line-height:1.5}.portal-auth-shell>aside ul{display:grid;gap:13px;margin:0;padding:0;list-style:none}.portal-auth-shell>aside li:before{content:"✓";margin-left:9px;color:#61e3d0;font-weight:800}
.portal-account-head{width:min(1120px,calc(100% - 48px));display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:55px auto 20px}.portal-account-head h1{margin:6px 0;font-size:34px}.portal-account-head p{margin:0;color:#64788e}.portal-account-grid{width:min(1120px,calc(100% - 48px));display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 auto 18px}.portal-account-grid article{display:grid;gap:5px;padding:22px;border:1px solid #dce6ef;border-radius:16px;background:#fff}.portal-account-grid b{color:#0a3668;font-size:26px}.portal-account-grid span{color:#6c7f92}.portal-account-section{width:min(1120px,calc(100% - 48px));margin:18px auto;padding:0;border:1px solid #dce6ef;border-radius:18px;background:#fff;overflow:hidden}.portal-account-section>header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #e5ecf3}.portal-account-section h2{margin:0;font-size:20px}.portal-account-section>header a{color:var(--portal-color);font-weight:800}.portal-order-list,.portal-appointment-list{display:grid}.portal-order-list article,.portal-appointment-list article{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:18px;padding:17px 22px;border-top:1px solid #edf2f6}.portal-order-list article:first-child,.portal-appointment-list article:first-child{border-top:0}.portal-order-list article>div{display:grid;gap:3px}.portal-order-list small,.portal-order-list span,.portal-appointment-list span{color:#718397;font-size:13px}.portal-order-list strong{font-size:15px}.portal-order-status,.portal-appointment-list em{padding:6px 9px;border-radius:999px;background:#edf3f8;color:#526a82;font-size:12px;font-style:normal;font-weight:800}.portal-order-status.status-completed{background:#e3f7f1;color:#087c62}.portal-order-status.status-cancelled,.portal-order-status.status-refunded{background:#fdebea;color:#b23e36}.portal-appointment-list{grid-template-columns:1fr}.portal-appointment-list article{grid-template-columns:180px 1fr auto}.portal-appointment-list time{color:#355674;font-size:13px;font-weight:800}.portal-appointment-list article>div{display:grid;gap:3px}
.tenant-logo-form{display:flex;align-items:flex-end;gap:12px;margin-bottom:22px;padding:16px;border:1px solid #d9e5ef;border-radius:13px;background:#f7faff}.tenant-logo-form label{display:grid;gap:4px;flex:1}.tenant-logo-form label span{color:#6d8094;font-size:12px}.tenant-logo-form input{margin-top:5px}.business-profile>img{width:74px;height:52px;object-fit:contain;border-radius:8px;background:#fff}
.commerce-item-name>img{width:42px;height:42px;border:1px solid #dbe5ee;border-radius:11px;background:#f4f8fc;object-fit:cover}.catalog-image-field{padding:15px;border:1px dashed #cbd9e6;border-radius:13px;background:#f7faff}.catalog-image-preview{width:100%;max-width:260px;height:150px;margin-top:8px;border-radius:12px;background:#eef3f7;object-fit:cover}

/* Customer storefront product imagery and persistent cart */
.portal-product-card{min-height:445px}.portal-product-card>.portal-product-visual{min-height:220px;padding:18px;background:linear-gradient(145deg,color-mix(in srgb,var(--portal-color) 15%,#eef6ff),#f7fbff)}.portal-product-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.portal-product-card:hover .portal-product-visual>img{transform:scale(1.035)}.portal-product-visual:has(>img):before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,rgba(4,22,45,.04),rgba(4,22,45,.28))}.portal-product-visual>small{position:relative;z-index:2}.portal-product-card>.portal-product-visual>.portal-product-icon{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:76px;height:76px;border-radius:22px;font-size:34px}.portal-add-cart{min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;border:1px solid color-mix(in srgb,var(--portal-color) 25%,#ccd9e5);border-radius:11px;background:color-mix(in srgb,var(--portal-color) 6%,#fff);color:var(--portal-color);font:inherit;font-size:14px;font-weight:800;cursor:pointer}.portal-add-cart span{font-size:19px;line-height:1}.portal-product-card.in-cart{border-color:color-mix(in srgb,var(--portal-color) 55%,#dce6ef);box-shadow:0 0 0 2px color-mix(in srgb,var(--portal-color) 10%,transparent),0 15px 34px rgba(10,43,79,.09)}.portal-product-card.in-cart .portal-add-cart{border-color:var(--portal-color);background:var(--portal-color);color:#fff}.portal-cart-trigger{position:fixed;z-index:24;left:24px;bottom:24px;min-width:290px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:11px 14px;border:1px solid rgba(255,255,255,.16);border-radius:16px;background:#082e63;color:#fff;box-shadow:0 18px 48px rgba(4,29,63,.28);font:inherit;text-align:right;cursor:pointer}.portal-cart-trigger-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:var(--portal-color);font-size:20px}.portal-cart-trigger>span:nth-child(2){display:grid;gap:2px}.portal-cart-trigger b{font-size:15px}.portal-cart-trigger small{color:#b9cadc;font-size:12px}.portal-cart-trigger em{color:#fff;font-style:normal}.portal-cart-trigger strong{font-size:14px;white-space:nowrap}.portal-cart-overlay{position:fixed;z-index:45;inset:0;background:rgba(4,20,42,.5);opacity:0;pointer-events:none;transition:opacity .25s}.portal-cart-drawer{position:fixed;z-index:46;top:0;right:0;width:min(460px,100%);height:100dvh;display:grid;grid-template-rows:auto 1fr auto;transform:translateX(105%);background:#f7f9fc;box-shadow:-25px 0 65px rgba(3,22,49,.22);transition:transform .3s ease}.portal-store.cart-open .portal-cart-overlay{opacity:1;pointer-events:auto}.portal-products.cart-open .portal-cart-overlay{opacity:1;pointer-events:auto}.portal-products.cart-open .portal-cart-drawer{transform:translateX(0)}.portal-cart-lock{overflow:hidden}.portal-cart-drawer>header{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #dfe8f0;background:#fff}.portal-cart-drawer>header span{color:var(--portal-color);font-size:13px;font-weight:800}.portal-cart-drawer>header h3{margin:3px 0 0;color:#0b315e;font-size:23px}.portal-cart-drawer>header button{width:40px;height:40px;border:1px solid #d5e0ea;border-radius:11px;background:#fff;color:#536b83;font-size:26px;cursor:pointer}.portal-cart-items{align-content:start;display:grid;gap:11px;padding:18px;overflow:auto}.portal-cart-row{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:11px;padding:12px;border:1px solid #dce6ef;border-radius:14px;background:#fff}.portal-cart-row-media{width:58px;height:58px;display:grid;place-items:center;border-radius:11px;background:color-mix(in srgb,var(--portal-color) 10%,#eef5fb);color:var(--portal-color);font-size:22px;font-weight:800;overflow:hidden}.portal-cart-row-media img{width:100%;height:100%;object-fit:cover}.portal-cart-row-details{min-width:0;display:grid;gap:4px}.portal-cart-row-details b{overflow:hidden;color:#173b62;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.portal-cart-row-details small{color:#708398;font-size:12px}.portal-cart-row-controls{display:flex;align-items:center;gap:7px}.portal-cart-row-controls button{width:29px;height:29px;border:1px solid #d1dde8;border-radius:8px;background:#f8fafc;color:#173b62;font-size:17px;cursor:pointer}.portal-cart-row-controls span{min-width:20px;text-align:center;font-weight:800}.portal-cart-remove{grid-column:2/-1;width:max-content;padding:0;border:0;background:none;color:#b34a43;font:inherit;font-size:12px;cursor:pointer}.portal-cart-empty{align-self:center;display:grid;place-items:center;gap:8px;padding:35px;color:#71859a;text-align:center}.portal-cart-empty>span{width:65px;height:65px;display:grid;place-items:center;border-radius:20px;background:#eaf1f7;color:#53708d;font-size:26px}.portal-cart-empty b{color:#264a70;font-size:18px}.portal-cart-empty p{margin:0;font-size:14px}.portal-cart-drawer>footer{padding:18px 20px 22px;border-top:1px solid #dfe7ef;background:#fff}.portal-cart-summary{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.portal-cart-summary span{color:#60758a;font-size:14px}.portal-cart-summary b{color:#092f60;font-size:20px}.portal-cart-checkout{display:grid;gap:10px}.portal-cart-checkout label{display:grid;gap:5px;color:#4d657d;font-size:13px;font-weight:700}.portal-cart-checkout select,.portal-cart-checkout input,.portal-cart-checkout textarea{width:100%;min-height:43px;padding:8px 10px;border:1px solid #cfdae5;border-radius:10px;background:#fff;color:#183752;font:inherit}.portal-cart-checkout textarea{min-height:60px;resize:vertical}.portal-cart-checkout .portal-primary{border:0}.portal-cart-checkout .portal-primary:disabled{cursor:not-allowed;opacity:.45}.portal-cart-login{display:grid;gap:12px}.portal-cart-login p{margin:0;color:#61778d;font-size:14px}.portal-cart-login .portal-primary{width:100%}
@media(max-width:900px){.portal-header{gap:12px;padding-inline:20px}.portal-header nav{display:none}.portal-header-actions{margin-inline-start:auto}.portal-hero{grid-template-columns:1fr;padding:48px}.portal-hero aside{display:none}.portal-service-grid,.portal-product-grid{grid-template-columns:repeat(2,1fr)}.portal-auth-shell{grid-template-columns:1fr}.portal-auth-shell>aside{display:none}.portal-footer{grid-template-columns:1fr 1fr}.portal-footer>div:first-child{grid-column:1/-1}}
@media(max-width:600px){.portal-header{min-height:68px}.portal-brand{min-width:0}.portal-brand img{max-width:125px;height:45px}.portal-brand>b{display:none}.portal-header-actions>a:not(.portal-primary):not(.portal-account-link),.portal-header-actions form{display:none}.portal-header-actions>a{padding-inline:12px}.portal-hero,.portal-section,.portal-auth-shell,.portal-account-head,.portal-account-grid,.portal-account-section{width:min(100% - 28px,1240px)}.portal-hero{min-height:440px;margin-top:14px;padding:30px 22px;border-radius:20px}.portal-hero h1{font-size:38px}.portal-hero p{font-size:16px}.portal-hero>div>div{align-items:stretch;flex-direction:column}.portal-section{padding:65px 0}.portal-section h2{font-size:29px}.portal-service-grid,.portal-product-grid{grid-template-columns:1fr}.portal-product-card{min-height:410px}.portal-product-card>.portal-product-visual{min-height:200px}.portal-product-body{padding:20px}.portal-product-body h3{font-size:19px}.portal-product-price b{font-size:18px}.portal-add-cart{padding-inline:11px}.portal-cart-trigger{right:14px;left:14px;bottom:14px;min-width:0}.portal-cart-trigger strong{font-size:13px}.portal-cart-drawer{width:100%}.portal-cart-row{grid-template-columns:52px 1fr}.portal-cart-row-media{width:52px;height:52px}.portal-cart-row-controls{grid-column:2}.portal-cart-remove{grid-column:2}.portal-checkout{grid-template-columns:1fr}.portal-checkout .wide{grid-column:auto}.portal-signin-callout{align-items:stretch;flex-direction:column}.portal-footer{grid-template-columns:1fr;gap:32px}.portal-footer>div:first-child{grid-column:auto}.portal-auth-card{padding:30px 20px}.portal-account-head{align-items:stretch;flex-direction:column}.portal-account-grid{grid-template-columns:1fr}.portal-order-list article{grid-template-columns:1fr auto}.portal-order-status{grid-column:1/-1;width:max-content}.portal-appointment-list article{grid-template-columns:1fr auto}.portal-appointment-list time{grid-column:1/-1}.tenant-logo-form{align-items:stretch;flex-direction:column}}
