:root{--navy:#03254a;--navy-deep:#021a35;--blue:#0b6bff;--blue-2:#0758dc;--green:#16a34a;--orange:#ff7a00;--purple:#6846f4;--red:#e52828;--ink:#0d1935;--muted:#718096;--line:#e4e9f1;--bg:#f7f9fc;--panel:#fff;--shadow:0 6px 24px rgba(13,35,67,.07);--radius:14px;--sidebar:266px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit;color:inherit}button,a{transition:.18s ease}a{text-decoration:none;color:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h2{font-size:19px}.muted{color:var(--muted)}.green-text{color:var(--green)!important}.blue-text{color:var(--blue)!important}.purple-text{color:var(--purple)!important}.orange-text{color:var(--orange)!important}.danger-text{color:var(--red)!important}.eyebrow{color:var(--blue);font-size:12px;font-weight:800;letter-spacing:2px}.eyebrow.light{color:#8bc0ff}.brand-mark{width:64px;height:64px;border-radius:19px;display:grid;place-items:center;color:white;font-size:38px;font-weight:900;font-style:italic;background:linear-gradient(145deg,#ff9d26,#ff6a00);box-shadow:0 12px 30px rgba(255,115,0,.3)}.brand-mark.small{width:45px;height:45px;border-radius:13px;font-size:25px}.btn{min-height:43px;padding:0 20px;border:1px solid transparent;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:700;background:#fff}.btn:hover{transform:translateY(-1px)}.btn-primary{color:#fff;background:linear-gradient(135deg,var(--blue),#0061ee);box-shadow:0 6px 14px rgba(11,107,255,.2)}.btn-light{border-color:var(--line);background:#fff}.btn-soft{color:var(--blue);background:#eff6ff}.btn-orange{color:var(--orange);border-color:var(--orange);background:#fff}.btn-green{color:#fff;background:var(--green)}.btn-block{width:100%}.btn-large{height:58px;font-size:17px}.text-link{display:block;color:var(--blue);font-weight:700;margin-top:22px}.alert{padding:13px 15px;border-radius:10px;margin:16px 0;font-size:14px}.alert-danger{color:#9f1c1c;background:#fff0f0;border:1px solid #ffcaca}.alert-success{color:#126b31;background:#ebf9ef;border:1px solid #bde7c8}.setup-body,.login-body{background:#f4f7fb}.setup-shell{min-height:100vh;display:grid;grid-template-columns:minmax(320px,42%) minmax(520px,740px);align-items:center;justify-content:center;padding:50px;gap:70px}.setup-shell.single{grid-template-columns:minmax(420px,640px)}.setup-brand h1{font-size:50px;line-height:1.05;margin:22px 0}.setup-brand p{font-size:18px;line-height:1.7;color:#55657b;max-width:620px}.setup-steps{display:flex;list-style:none;padding:0;margin:48px 0 0;counter-reset:item}.setup-steps li{flex:1;position:relative;padding-top:35px;color:#94a0b2;font-weight:700}.setup-steps li:before{content:"";position:absolute;top:8px;left:8px;right:-8px;height:3px;background:#d9e0eb}.setup-steps li:after{counter-increment:item;content:counter(item);position:absolute;left:0;top:0;width:20px;height:20px;border:4px solid #d9e0eb;background:#f4f7fb;border-radius:50%;display:grid;place-items:center;font-size:0}.setup-steps li.active{color:var(--blue)}.setup-steps li.active:before{background:var(--blue)}.setup-steps li.active:after{border-color:var(--blue)}.setup-card{background:#fff;padding:38px;border-radius:20px;box-shadow:0 24px 70px rgba(31,48,76,.13)}.setup-card h1,.setup-card h2{margin:12px 0}.setup-card code{color:var(--blue);background:#eef5ff;padding:2px 6px;border-radius:5px}.success-icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#dcf8e5;color:var(--green);font-size:38px;margin-bottom:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .full{grid-column:1/-1}.form-grid label,.login-form label,.modal-card label,.money-transfer label{font-size:13px;font-weight:700;display:flex;flex-direction:column;gap:8px}.form-grid input,.form-grid select,.form-grid textarea,.login-form input,.modal-card input,.modal-card select,.modal-card textarea,.money-transfer input,.money-transfer select{height:46px;border:1px solid #dbe2ec;border-radius:9px;padding:0 13px;background:#fff;outline:none}.form-grid textarea,.modal-card textarea{height:auto;padding:12px}.form-grid input:focus,.login-form input:focus,.modal-card input:focus,.modal-card select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(11,107,255,.1)}.form-separator{font-weight:800;color:var(--ink);border-top:1px solid var(--line);padding-top:18px;margin-top:5px}.form-grid label.check{display:flex;flex-direction:row;align-items:center;font-weight:600}.form-grid label.check input{width:18px;height:18px}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.2fr .8fr}.login-visual{background:linear-gradient(135deg,var(--navy-deep),#053f78);padding:60px;display:flex;flex-direction:column;color:#fff;position:relative;overflow:hidden}.login-visual:before,.login-visual:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.08);border-radius:50%;width:600px;height:600px;right:-220px;top:-180px}.login-visual:after{width:340px;height:340px;right:-30px;top:340px}.login-logo{display:flex;align-items:center;gap:15px;position:relative}.login-logo div:nth-child(2){display:flex;flex-direction:column}.login-logo strong{font-size:25px}.login-logo span{font-size:11px;letter-spacing:3px;color:#4da0ff}.login-copy{position:relative;margin:auto 0;max-width:650px}.login-copy h1{font-size:64px;line-height:1.06;margin:18px 0}.login-copy p{font-size:19px;line-height:1.65;color:#bdcde0}.login-stats{display:flex;gap:50px;position:relative}.login-stats div{display:flex;flex-direction:column}.login-stats b{font-size:24px}.login-stats span{font-size:13px;color:#9fb5ce}.login-form-wrap{display:grid;place-items:center;padding:50px}.login-form{width:min(100%,430px)}.login-form h2{font-size:36px;margin:12px 0}.login-form>label{margin-top:22px}.password-field{position:relative}.password-field input{width:100%}.password-field button{position:absolute;right:8px;top:6px;height:34px;width:34px;border:0;background:transparent;color:var(--muted)}.login-form .btn{margin-top:28px}.login-form small{display:block;text-align:center;margin-top:24px;color:var(--muted)}
.app-body{background:#f8fafc}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:linear-gradient(180deg,#03274d,#021d3b);color:#fff;padding:19px 14px 16px;z-index:30;display:flex;flex-direction:column}.brand{height:84px;display:flex;align-items:center;gap:12px;padding:0 11px;margin-bottom:8px}.brand>div:last-child{display:flex;flex-direction:column}.brand b{font-size:22px}.brand span{color:#2d91ff;font-size:11px;letter-spacing:2.5px}.nav-list{flex:1;min-height:0;overflow:auto;padding-right:2px}.nav-list::-webkit-scrollbar{width:4px}.nav-list::-webkit-scrollbar-thumb{background:#1e4771;border-radius:5px}.nav-link{height:46px;border-radius:9px;display:flex;align-items:center;gap:14px;padding:0 16px;margin:2px 0;color:#eef5ff;font-size:15px}.nav-link i{font-style:normal;font-size:23px;width:26px;text-align:center}.nav-link:hover{background:rgba(255,255,255,.08)}.nav-link.active{background:linear-gradient(135deg,#1478ff,#0064ef);box-shadow:0 9px 22px rgba(0,90,229,.28)}.branch-switch{border-top:1px solid rgba(255,255,255,.14);padding:17px 12px 0;display:flex;align-items:center;gap:12px}.branch-switch>i{font-style:normal;font-size:28px;color:#1680ff}.branch-switch div{display:flex;flex-direction:column;flex:1}.branch-switch span{font-size:11px;color:#93a9c1}.branch-switch b{font-size:13px}.app-main{margin-left:var(--sidebar);min-height:100vh}.topbar{height:94px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px 0 36px;position:sticky;top:0;z-index:20}.topbar-title{display:flex;align-items:center;gap:25px}.topbar-title h1{font-size:28px;margin:0}.icon-btn{width:42px;height:42px;border:1px solid var(--line);border-radius:10px;background:#fff;display:grid;place-items:center;font-size:19px}.menu-toggle{border:0;font-size:23px}.topbar-actions{display:flex;align-items:center;gap:25px}.top-date{font-size:14px;color:#35445f}.notification{position:relative}.notification em{position:absolute;right:-4px;top:-7px;background:var(--blue);color:white;border-radius:50%;width:20px;height:20px;font-size:11px;display:grid;place-items:center;font-style:normal}.user-menu{display:flex;align-items:center;gap:10px;position:relative;cursor:pointer}.avatar{width:42px;height:42px;border-radius:11px;background:linear-gradient(135deg,#0b6bff,#6846f4);color:#fff;display:grid;place-items:center;font-weight:800}.avatar.large{width:54px;height:54px;border-radius:50%;font-size:20px}.user-menu>div:nth-child(2){display:flex;flex-direction:column}.user-menu b{font-size:13px}.user-menu span{font-size:11px;color:var(--muted)}.user-dropdown{display:none;position:absolute;right:0;top:52px;background:#fff;width:150px;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);padding:7px}.user-menu:hover .user-dropdown{display:block}.user-dropdown a{display:block;padding:9px;border-radius:7px;font-size:13px}.user-dropdown a:hover{background:#f1f5fa}.content{padding:27px;max-width:1800px;margin:auto}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}.panel-head h2{margin:0}.panel-head a{color:var(--blue);font-size:13px;font-weight:700}.stat-grid{display:grid;gap:18px;margin-bottom:20px}.stat-grid.four{grid-template-columns:repeat(4,1fr)}.stat-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:21px;box-shadow:var(--shadow);display:flex;align-items:center;gap:18px;min-height:125px}.stat-icon{width:58px;height:58px;flex:none;border-radius:50%;display:grid;place-items:center;font-size:27px;font-weight:500}.stat-icon.green,.type-icon.green{color:var(--green);background:#e1f7e8}.stat-icon.blue,.type-icon.blue{color:var(--blue);background:#e3eeff}.stat-icon.purple,.type-icon.purple{color:var(--purple);background:#ebe7ff}.stat-icon.orange,.type-icon.orange{color:var(--orange);background:#fff0df}.stat-card>div{display:flex;flex-direction:column;min-width:0}.stat-card small{font-size:14px;font-weight:600}.stat-card strong{font-size:27px;line-height:1.3;white-space:nowrap}.stat-card em{font-size:11px;color:var(--muted);font-style:normal}.dashboard-grid{display:grid;grid-template-columns:1.2fr 1.1fr .9fr;gap:20px}.span-2{grid-column:span 2}.span-3{grid-column:span 3}.trend{font-size:12px;font-weight:700}.trend.positive{color:var(--green)}.line-chart{height:280px;position:relative;padding:10px 8px 28px 40px}.line-chart svg,.multi-chart svg{width:100%;height:100%;overflow:visible}.grid-lines{stroke:#dce3ec;stroke-dasharray:4 5;fill:none}.line{fill:none;stroke:var(--blue);stroke-width:4}.area{fill:url(#area)}.axis-y{position:absolute;left:0;top:5px;bottom:25px;display:flex;flex-direction:column;justify-content:space-between;font-size:11px;color:var(--muted)}.axis-x{position:absolute;left:38px;right:0;bottom:0;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.donut-wrap{display:flex;align-items:center;justify-content:center;gap:28px;min-height:235px}.donut{width:155px;height:155px;flex:none;border-radius:50%;background:conic-gradient(var(--green) 0 calc(var(--table)*1%),var(--blue) calc(var(--table)*1%) calc((var(--table) + var(--take))*1%),var(--orange) calc((var(--table) + var(--take))*1%) 100%);position:relative}.donut:after{content:"";position:absolute;inset:34px;background:#fff;border-radius:50%}.legend-list{min-width:150px}.legend-list>div{display:grid;grid-template-columns:12px 1fr auto;gap:8px;align-items:center;margin:15px 0}.legend-list small{grid-column:2/-1;color:var(--muted)}.dot{display:inline-block;width:9px;height:9px;border-radius:50%}.dot.green{background:var(--green)}.dot.blue{background:var(--blue)}.dot.orange{background:var(--orange)}.dot.purple{background:var(--purple)}.compact-list,.rank-list{min-height:180px}.stock-mini{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:13px 0}.stock-mini:last-child{border:0}.stock-mini>div{flex:1;display:flex;flex-direction:column}.stock-mini span{font-size:11px;color:var(--muted)}.product-emoji{font-size:29px}.rank-list>div{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}.rank-list>div:last-child{border:0}.rank{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f0f3f8;font-weight:800}.rank.top{background:#e8f7ec;color:var(--green)}.rank-list p{margin:0 0 0 auto;display:flex;flex-direction:column;text-align:right}.rank-list p small{color:var(--muted)}.empty-mini,.empty-state{min-height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);gap:6px;text-align:center}.shift-card{text-align:center}.shift-check{margin:10px auto;width:90px;height:90px;border-radius:50%;display:grid;place-items:center;color:white;background:linear-gradient(145deg,#0fa345,#20bc5d);font-size:40px;box-shadow:0 0 0 17px #e5f8eb}.shift-check.off{background:#9da8b7;box-shadow:0 0 0 17px #edf0f4}.shift-card h3{color:var(--green);font-size:23px;margin:28px 0 6px}.shift-card p{font-size:12px;color:var(--muted)}
.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:20px;align-items:start}.pos-main{min-width:0}.order-types{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.order-type{height:87px;border:1px solid var(--line);border-radius:13px;background:#fff;display:flex;align-items:center;justify-content:center;gap:15px;font-size:17px}.order-type.active{border:2px solid var(--blue);box-shadow:0 5px 16px rgba(11,107,255,.08)}.type-icon{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;font-size:24px}.pos-options{display:none;grid-template-columns:1fr 2fr 1fr;gap:12px;margin-top:14px}.pos-options.show{display:grid}.pos-options select,.pos-options input,.category-tabs button,.filters select,.toolbar select,.data-table select,.settings-form select{border:1px solid var(--line);border-radius:9px;background:#fff;height:44px;padding:0 13px}.category-tabs{display:flex;gap:12px;overflow:auto;padding:25px 0 20px}.category-tabs button{padding:0 22px;white-space:nowrap}.category-tabs button.active{color:#fff;background:var(--blue);border-color:var(--blue)}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px}.product-card{min-height:260px;border:1px solid var(--line);border-radius:13px;background:#fff;text-align:left;padding:13px;display:flex;flex-direction:column;position:relative;box-shadow:var(--shadow)}.product-card:hover{border-color:#a5c8ff;transform:translateY(-2px)}.product-card .product-image,.menu-product .product-image{height:165px;border-radius:10px;background:linear-gradient(145deg,#f8f5ef,#fff);display:grid;place-items:center;font-size:88px;overflow:hidden}.product-card b{font-size:15px;margin-top:13px}.product-card strong{color:var(--green);font-size:14px;margin-top:6px}.product-card i{position:absolute;right:14px;bottom:13px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:white;font-size:25px;font-style:normal}.cart-panel{position:sticky;top:114px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px;min-height:calc(100vh - 142px);display:flex;flex-direction:column}.cart-items{flex:1;max-height:430px;overflow:auto}.cart-empty{height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted)}.cart-empty>span{font-size:50px;color:#c8d1de}.cart-empty p{font-size:12px}.cart-item{display:grid;grid-template-columns:44px 1fr auto 28px;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.cart-item .product-emoji{width:44px;height:44px;border-radius:9px;background:#f4f6f9;display:grid;place-items:center}.cart-item-info{display:flex;flex-direction:column}.cart-item-info span{color:var(--green);font-size:12px;font-weight:700}.qty-control{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;overflow:hidden}.qty-control button{width:28px;height:30px;border:0;background:#f8fafc;color:var(--blue)}.qty-control b{width:28px;text-align:center}.cart-remove{border:0;background:transparent;color:var(--red);font-size:17px}.cart-form{border-top:1px solid var(--line);padding-top:17px}.cart-form label{display:flex;flex-direction:column;font-size:12px;font-weight:700;gap:6px;margin-top:10px}.cart-form textarea,.cart-form select{border:1px solid var(--line);border-radius:8px;padding:10px;background:#fff}.cart-total{display:flex;align-items:center;justify-content:space-between;font-size:19px;font-weight:800;padding:17px 0}.cart-total strong{color:var(--green);font-size:23px}.icon-btn.danger{color:var(--red)}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.toolbar h2{margin:0}.segmented{display:flex}.segmented button{height:43px;border:1px solid var(--line);background:#fff;padding:0 18px}.segmented button:first-child{border-radius:9px 0 0 9px}.segmented button:last-child{border-radius:0 9px 9px 0}.segmented .active{background:var(--blue);color:white;border-color:var(--blue)}.search-box{height:44px;border:1px solid var(--line);background:#fff;border-radius:9px;display:flex;align-items:center;padding:0 13px;gap:8px;color:var(--muted)}.search-box.grow{flex:1}.search-box input{border:0;outline:0;width:100%;background:transparent}.table-panel{padding:0;overflow:hidden}.data-table{width:100%;border-collapse:collapse}.data-table th{text-align:left;padding:16px;font-size:12px;color:#64748b;font-weight:700;border-bottom:1px solid var(--line);background:#fbfcfe}.data-table td{padding:15px 16px;border-bottom:1px solid var(--line);font-size:13px}.data-table tr:last-child td{border-bottom:0}.data-table td>small{display:block;color:var(--muted);margin-top:4px}.order-products{display:flex;flex-direction:column;gap:3px;font-size:12px}.type-pill,.status{display:inline-flex;align-items:center;justify-content:center;border-radius:16px;padding:5px 9px;font-size:11px;font-weight:700}.type-pill.table{color:var(--green);background:#e5f7ea}.type-pill.takeaway{color:var(--blue);background:#e6f0ff}.type-pill.delivery{color:var(--orange);background:#fff0e1}.status.paid,.status.enough,.status.active,.status.free{color:var(--green);background:#e8f7ed}.status.partial,.status.preparing,.status.low,.status.occupied{color:var(--orange);background:#fff0df}.status.unpaid,.status.cancelled{color:var(--red);background:#ffebeb}.status.new,.status.ready{color:var(--blue);background:#e9f1ff}.kds-board{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.kds-column{min-height:calc(100vh - 150px);background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:13px}.kds-column>h2{font-size:16px;margin:5px 4px 15px;display:flex;align-items:center;gap:8px}.badge{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:12px}.badge.blue{background:var(--blue)}.badge.orange{background:var(--orange)}.badge.green{background:var(--green)}.kds-card{border:1px solid var(--line);border-radius:11px;padding:15px;margin-bottom:12px;box-shadow:0 3px 12px rgba(20,37,64,.05)}.kds-card.late{border-color:var(--red)}.kds-head{display:flex;justify-content:space-between}.kds-head h3{font-size:16px}.kds-head b{color:var(--blue);font-size:12px}.kds-card.late .kds-head b{color:var(--red)}.kds-meta{display:flex;gap:18px;align-items:center;font-size:12px}.kds-card ul{padding-left:20px;font-size:13px;line-height:1.8}.kds-card li small{display:block;color:var(--muted)}.kds-note{border-top:1px solid var(--line);padding-top:9px;color:#5b6679;font-size:12px}.kds-empty{height:120px;display:grid;place-items:center;color:var(--muted);border:1px dashed var(--line);border-radius:10px}.legend-inline{display:flex;align-items:center;gap:17px;font-size:12px}.legend-inline span{display:flex;align-items:center;gap:6px}.table-map{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.dining-table{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;text-align:center;box-shadow:var(--shadow)}.dining-table.occupied{border-color:#9fc2ff;background:#f7faff}.dining-table.reserved{border-color:#ffd2a7}.table-visual{width:110px;height:80px;margin:6px auto 15px;position:relative;display:grid;place-items:center}.table-visual b{width:70px;height:55px;border:4px solid #a9b5c5;border-radius:9px;display:grid;place-items:center;font-size:18px}.dining-table.occupied .table-visual b{border-color:var(--blue);color:var(--blue)}.table-visual i{position:absolute;width:24px;height:13px;border-radius:5px;background:#dbe1e9}.table-visual i:nth-child(1){top:0}.table-visual i:nth-child(2){bottom:0}.table-visual i:nth-child(4){left:0;top:33px;transform:rotate(90deg)}.table-visual i:nth-child(5){right:0;top:33px;transform:rotate(90deg)}.dining-table h3{margin:0}.dining-table p{font-size:12px;color:var(--muted)}
.menu-toolbar .category-tabs{padding:0}.menu-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:18px}.filters{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:12px;margin-bottom:16px}.menu-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.menu-product{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px;box-shadow:var(--shadow)}.menu-product .product-image{font-size:68px;height:145px}.menu-product h3{margin:11px 3px 4px}.menu-product strong{color:var(--green);margin:0 3px}.menu-product p{font-size:11px;color:var(--muted);margin:8px 3px 2px}.menu-product p small{float:right}.detail-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;min-height:620px}.detail-placeholder{text-align:center;padding:80px 10px;color:var(--muted)}.detail-placeholder>span{font-size:50px}.tip-card{background:#eef5ff;color:#37506f;border-radius:10px;padding:15px;font-size:13px}.stock-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px}.product-name{display:flex;align-items:center;gap:10px}.product-name i{width:38px;height:38px;border-radius:9px;background:#f0f4fa;display:grid;place-items:center;font-style:normal;color:var(--blue)}.raw-material-edit{min-height:34px;padding:0 12px;font-size:12px;white-space:nowrap}.ring-stat{display:flex;align-items:center;gap:17px;border-bottom:1px solid var(--line);padding:18px 0}.mini-ring{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--green) 0 72%,#e9edf3 72%);position:relative}.mini-ring:before{content:"";position:absolute;inset:8px;background:#fff;border-radius:50%}.mini-ring b{position:relative}.ring-stat p,.depreciation p{display:flex;flex-direction:column;margin:0}.ring-stat span,.depreciation span{font-size:11px;color:var(--muted)}.summary-row{display:flex;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line)}.stock-summary .btn{margin-top:20px}.supply-layout{display:grid;grid-template-columns:1.5fr .8fr;gap:18px}.supplier-list>div{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:13px 0}.supplier-list>div:last-child{border:0}.supplier-list p{display:flex;flex:1;flex-direction:column;margin:0}.supplier-list span{color:var(--muted);font-size:12px}.coming-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-height:600px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:50px;box-shadow:var(--shadow)}.big-icon{width:100px;height:100px;border-radius:50%;display:grid;place-items:center;background:#e9f2ff;color:var(--blue);font-size:50px}.coming-panel h2{font-size:29px;margin:25px 0 8px}.coming-panel>p{max-width:650px;color:var(--muted)}.feature-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;width:min(100%,800px);margin-top:25px}.feature-row>div{padding:20px;border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column}.feature-row span{font-size:12px;color:var(--muted);margin-top:5px}.employee-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.employee-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:19px;box-shadow:var(--shadow)}.employee-head{display:flex;align-items:center;gap:12px}.employee-head>div:nth-child(2){flex:1}.employee-head h3{margin:0;font-size:16px}.employee-head p{margin:4px 0 0;color:var(--muted);font-size:12px}.employee-metrics{display:grid;grid-template-columns:repeat(3,1fr);margin:20px 0;border-block:1px solid var(--line);padding:15px 0}.employee-metrics div{display:flex;flex-direction:column;text-align:center;border-right:1px solid var(--line)}.employee-metrics div:last-child{border:0}.employee-metrics span{font-size:11px;color:var(--muted)}.employee-footer{display:flex;align-items:center;justify-content:space-between;font-size:12px}.money-head{display:flex;justify-content:flex-end;margin-bottom:12px}.money-head>div{display:flex;align-items:center;gap:15px}.money-head strong{font-size:25px;color:var(--green)}.money-cards{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:18px}.money-cards article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px;text-align:center;box-shadow:var(--shadow)}.money-cards .stat-icon{margin:auto;width:50px;height:50px}.money-cards h3{font-size:13px;margin:11px 0 6px}.money-cards strong{font-size:17px;color:var(--green)}.money-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:18px}.money-transfer label{margin-top:13px}.hint{font-size:11px;color:var(--muted);text-align:center;margin-top:14px}.report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.multi-chart{height:310px}.green-line,.blue-line,.orange-line{fill:none;stroke-width:3}.green-line{stroke:var(--green)}.blue-line{stroke:var(--blue)}.orange-line{stroke:var(--orange)}.report-filters button{width:100%;height:52px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left;display:flex;align-items:center;justify-content:space-between}.report-filters button:hover{color:var(--blue);padding-left:8px}.control-head{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;margin-bottom:18px}.control-head h2{margin:0}.checklist-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px;margin-bottom:18px}.check-card{background:#fff;border:1px solid #ffcaca;border-radius:12px;padding:17px;display:grid;grid-template-columns:27px 40px 1fr 20px;gap:8px;align-items:center}.check-card.done{border-color:#bde6ca}.check-card>span{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;color:white;background:var(--blue);font-size:12px}.check-card>i{font-size:25px;font-style:normal;color:var(--blue)}.check-card h3{font-size:14px;margin:0}.check-card p{font-size:10px;color:var(--muted);margin:4px 0 0}.check-card>b{color:var(--red)}.check-card.done>b{color:var(--green)}.inline-input{width:110px;height:39px;border:1px solid var(--line);border-radius:7px;padding:0 9px}.asset-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(340px,.8fr);gap:18px}.asset-hero{display:flex;align-items:center;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}.asset-hero>span{width:130px;height:130px;border-radius:12px;background:#f2f5f9;display:grid;place-items:center;font-size:70px}.asset-hero h2{margin:0}.asset-hero p{display:flex;flex-direction:column;color:var(--muted);font-size:12px;margin-top:14px}.detail-rows{padding:12px 0}.detail-rows>div{display:flex;justify-content:space-between;padding:10px 0;font-size:13px}.asset-detail>h3{border-top:1px solid var(--line);padding-top:18px}.depreciation{display:flex;align-items:center;gap:18px}.settings-layout{display:grid;grid-template-columns:270px minmax(0,850px);gap:18px;justify-content:center}.settings-nav{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:9px;height:max-content}.settings-nav button{width:100%;height:47px;border:0;background:#fff;border-radius:8px;text-align:left;padding:0 13px}.settings-nav button.active{background:#eaf3ff;color:var(--blue);font-weight:700}.settings-form{padding:28px}.settings-form label small{color:var(--muted);font-weight:400}.settings-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid var(--line);padding-top:20px;margin-top:23px}.update-note{background:#f2f6fb;border-radius:10px;padding:15px;margin-top:20px;font-size:12px}.update-note p{margin:4px 0 0;color:var(--muted)}
.modal{position:fixed;inset:0;background:rgba(2,24,49,.55);z-index:100;display:none;place-items:center;padding:20px}.modal.open{display:grid}.modal-card{background:#fff;border-radius:15px;width:min(100%,470px);padding:24px;box-shadow:0 30px 80px rgba(0,0,0,.25)}.modal-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:18px}.modal-head h2{margin:0}.modal-head button{border:0;background:transparent;font-size:28px}.modal-card label{margin:13px 0}.toast-container{position:fixed;right:22px;bottom:22px;z-index:200;display:flex;flex-direction:column;gap:10px}.toast{min-width:290px;max-width:410px;padding:14px 17px;border-radius:10px;background:#11243d;color:#fff;box-shadow:0 12px 35px rgba(0,0,0,.22);display:flex;gap:10px;align-items:center}.toast.success:before{content:"✓";color:#52e68a}.toast.error:before{content:"!";color:#ff7777}.sidebar-overlay{display:none}
@media(max-width:1400px){:root{--sidebar:235px}.nav-link{font-size:14px}.product-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:1.3fr 1fr}.dashboard-grid>.panel:nth-child(n+4){grid-column:auto}.money-cards{grid-template-columns:repeat(3,1fr)}.stat-card strong{font-size:23px}.topbar-actions{gap:13px}.user-menu>div:nth-child(2){display:none}}
@media(max-width:1050px){.sidebar{transform:translateX(-100%);transition:.25s}.sidebar.open{transform:translateX(0)}.app-main{margin-left:0}.sidebar-overlay.show{display:block;position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:25}.stat-grid.four{grid-template-columns:repeat(2,1fr)}.pos-layout{grid-template-columns:1fr}.cart-panel{position:static;min-height:500px}.kds-board{grid-template-columns:1fr}.table-map{grid-template-columns:repeat(3,1fr)}.menu-layout,.stock-layout,.supply-layout,.money-layout,.asset-layout{grid-template-columns:1fr}.detail-panel{min-height:auto}.employee-grid{grid-template-columns:repeat(2,1fr)}.checklist-grid{grid-template-columns:repeat(2,1fr)}.settings-layout{grid-template-columns:1fr}.settings-nav{display:flex;overflow:auto}.settings-nav button{min-width:max-content}.login-copy h1{font-size:48px}}
@media(max-width:720px){.content{padding:14px}.topbar{height:72px;padding:0 14px}.topbar-title{gap:8px}.topbar-title h1{font-size:20px}.top-date,.notification,.user-menu>div:nth-child(2),.user-menu>span{display:none}.stat-grid.four,.dashboard-grid,.report-grid{grid-template-columns:1fr}.span-2,.span-3{grid-column:auto}.stat-card{min-height:100px}.product-grid,.menu-product-grid{grid-template-columns:repeat(2,1fr)}.product-card{min-height:220px}.product-card .product-image{height:125px;font-size:65px}.order-types{gap:7px}.order-type{height:72px;gap:7px}.pos-options.show,.filters{grid-template-columns:1fr}.table-panel{overflow:auto}.data-table{min-width:780px}.table-map{grid-template-columns:repeat(2,1fr)}.employee-grid{grid-template-columns:1fr}.money-cards{grid-template-columns:repeat(2,1fr)}.checklist-grid{grid-template-columns:1fr}.setup-shell{grid-template-columns:1fr;padding:20px;gap:25px}.setup-brand h1{font-size:38px}.form-grid{grid-template-columns:1fr}.login-shell{grid-template-columns:1fr}.login-visual{display:none}.login-form-wrap{padding:30px 20px}.feature-row{grid-template-columns:1fr}.toolbar{align-items:stretch;flex-wrap:wrap}.toolbar>*{max-width:100%}}
@media(max-width:440px){.product-grid,.menu-product-grid{grid-template-columns:1fr 1fr}.product-card{padding:8px}.product-card b{font-size:13px}.product-card .product-image{font-size:54px;height:105px}.table-map{grid-template-columns:1fr}.money-cards{grid-template-columns:1fr 1fr}.order-type b{font-size:14px}.type-icon{width:36px;height:36px}.setup-card{padding:24px}.cart-panel{padding:15px}}
.accounts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.account-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px;display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:16px;align-items:center}.account-card.disabled{opacity:.65;background:#f7f8fa}.account-avatar{width:62px;height:62px;border-radius:16px;display:grid;place-items:center;color:#fff;font-size:25px;font-weight:800;background:linear-gradient(135deg,var(--blue),#0758dc)}.account-avatar.cashier{background:linear-gradient(135deg,var(--green),#0a8b3a)}.account-info>div{display:flex;align-items:center;gap:10px}.account-info h3{margin:0;font-size:17px}.account-info p{margin:7px 0 0;font-size:12px;color:#516078}.account-info small{display:block;color:var(--muted);font-size:10px;margin-top:8px}.role-badge{display:inline-flex;padding:4px 8px;border-radius:12px;font-size:10px;font-weight:800}.role-badge.admin{color:var(--blue);background:#e8f1ff}.role-badge.cashier{color:var(--green);background:#e7f7ec}.account-actions{display:flex;flex-direction:column;align-items:flex-end;gap:12px}.account-actions .btn{min-height:36px;font-size:11px;padding:0 12px}@media(max-width:900px){.accounts-grid{grid-template-columns:1fr}}@media(max-width:560px){.account-card{grid-template-columns:52px 1fr}.account-avatar{width:52px;height:52px}.account-actions{grid-column:1/-1;flex-direction:row;justify-content:flex-end}}
[data-settings-panel][hidden]{display:none!important}.settings-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.settings-card{border:1px solid var(--line);border-radius:12px;padding:18px;display:flex;align-items:flex-start;gap:14px;background:#fff}.settings-card h3{margin:2px 0 7px;font-size:16px}.settings-card p{margin:0 0 12px;color:var(--muted);font-size:12px;line-height:1.55}.settings-card select{width:100%}.audit-list{margin-top:18px;border:1px solid var(--line);border-radius:11px;overflow:hidden}.audit-list>div{display:flex;align-items:center;gap:13px;padding:13px 15px;border-bottom:1px solid var(--line)}.audit-list>div:last-child{border-bottom:0}.audit-list p{display:flex;flex:1;flex-direction:column;margin:0}.audit-list p small{color:var(--muted);margin-top:3px}.audit-list time{color:var(--muted);font-size:12px;white-space:nowrap}@media(max-width:650px){.settings-card-grid{grid-template-columns:1fr}.settings-card{align-items:flex-start}.audit-list>div{align-items:flex-start;flex-wrap:wrap}.audit-list time{width:100%;padding-left:0}}
.payment-field{margin-top:14px}.payment-field>b{display:block;font-size:12px;margin-bottom:8px}.payment-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.payment-option{appearance:none;min-width:0;height:44px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#536176;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 10px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;transition:border-color .18s,background .18s,color .18s,box-shadow .18s}.payment-option-dot{width:14px;height:14px;flex:0 0 14px;border:2px solid #b7c2d1;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 3px #fff}.payment-option:hover{border-color:#9fc1f7;color:var(--blue)}.payment-option.active{border-color:var(--blue);background:#edf5ff;color:var(--blue);box-shadow:0 3px 10px rgba(11,107,255,.1)}.payment-option.active .payment-option-dot{border-color:var(--blue);background:var(--blue)}.payment-option:focus-visible{outline:3px solid rgba(11,107,255,.2);outline-offset:2px}
.modal-card.wide{width:min(100%,680px);max-height:calc(100vh - 40px);overflow:auto}.employee-modal-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.employee-modal-actions .btn-primary{margin-left:auto}.employee-grid>.empty-state{grid-column:1/-1;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}@media(max-width:560px){.employee-modal-actions{align-items:stretch;flex-direction:column-reverse}.employee-modal-actions .btn{width:100%;margin:0}}
.product-modal-card{width:min(100%,860px);max-height:calc(100vh - 34px);overflow:auto}.product-modal-card .modal-head p{margin:5px 0 0;font-size:12px}.form-section-title{display:flex;align-items:center;gap:11px;margin:20px 0 14px}.form-section-title>span{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:#e8f1ff;color:var(--blue);font-weight:800}.form-section-title>div{display:flex;flex-direction:column;flex:1}.form-section-title small{color:var(--muted);font-size:11px;margin-top:2px}.form-section-title .btn{min-height:36px;padding:0 13px;font-size:12px}.product-main-fields label>small{color:var(--muted);font-size:10px;font-weight:400}.recipe-items{display:flex;flex-direction:column;gap:9px}.recipe-row{display:grid;grid-template-columns:minmax(240px,1fr) 210px 36px;gap:10px;align-items:end;padding:11px;border:1px solid var(--line);border-radius:10px;background:#fafcff}.recipe-row label{margin:0}.quantity-with-unit{display:flex}.quantity-with-unit input{min-width:0;flex:1;border-radius:9px 0 0 9px}.quantity-with-unit span{min-width:54px;height:46px;display:grid;place-items:center;border:1px solid #dbe2ec;border-left:0;border-radius:0 9px 9px 0;background:#f1f5f9;color:var(--muted);font-size:12px}.recipe-remove{width:36px;height:46px;border:0;border-radius:8px;background:#fff0f0;color:var(--red);font-size:22px}.recipe-total{display:flex;justify-content:flex-end;align-items:center;gap:18px;margin-top:13px}.recipe-total span{color:var(--muted);font-size:12px}.recipe-total strong{color:var(--green);font-size:18px}.recipe-empty{padding:12px;border-radius:8px;background:#fff8e8;color:#805f1d;font-size:12px}.product-modal-actions{position:sticky;bottom:-24px;display:flex;justify-content:flex-end;gap:10px;margin:22px -24px -24px;padding:16px 24px;background:#fff;border-top:1px solid var(--line)}@media(max-width:620px){.product-modal-card{padding:18px}.recipe-row{grid-template-columns:1fr 1fr 36px}.product-modal-actions{bottom:-18px;margin:18px -18px -18px;padding:14px 18px}.form-section-title{flex-wrap:wrap}.form-section-title .btn{margin-left:42px}}

/* Consistent outline icon system for the primary navigation. */
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
.nav-icon,.branch-icon{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.branch-icon{color:#1680ff}
.raw-material-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.raw-material-actions .btn-primary{margin-left:auto}@media(max-width:560px){.raw-material-actions{align-items:stretch;flex-direction:column-reverse}.raw-material-actions .btn{width:100%;margin:0}}
