.hpp-page{max-width:1600px;margin:auto;min-width:0;padding:24px;box-sizing:border-box}.hpp-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.hpp-heading--list{flex-direction:column;align-items:flex-start;gap:8px}.hpp-heading-actions{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.hpp-heading .hpp-create-button{min-height:44px;padding:12px 20px;gap:10px;border-radius:999px;font-weight:600;line-height:1.3;box-shadow:var(--shadow)}.hpp-create-button:hover{filter:brightness(.96)}.hpp-create-button:focus-visible{outline:3px solid var(--green-light);outline-offset:3px}.hpp-heading h1{display:flex;align-items:center;gap:10px;font-size:26px;margin:10px 0}.hpp-heading p,.hpp-section header p,.hpp-note{color:var(--text-muted, #64748b);font-size:13px;line-height:1.6}.hpp-heading .btn-primary,.hpp-actions,.hpp-section header button{display:inline-flex;align-items:center;gap:6px}.hpp-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}.hpp-inputs{min-width:0}.hpp-fieldset{border:0;padding:0;margin:0;min-width:0}.hpp-section{padding:22px;margin-bottom:20px;min-width:0}.hpp-section>header,.hpp-row>header,.hpp-row>footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.hpp-channel-toggle{display:inline-flex;align-items:center;gap:8px;min-width:0;padding:4px 8px;margin:-4px 0;border:0;border-radius:7px;background:transparent;color:inherit;text-align:left;cursor:pointer}.hpp-channel-toggle:hover{background:#f1f5f9}.hpp-channel-toggle:focus-visible{outline:2px solid #22a06b;outline-offset:2px}.hpp-channel-toggle h3{overflow-wrap:anywhere}.hpp-section h2{font-size:17px;margin:0}.hpp-section h3{font-size:15px;margin:0}.hpp-section header p{margin:6px 0 0}.hpp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hpp-field{display:flex;flex-direction:column;gap:7px;font-size:12px;min-width:0;color:var(--text-muted, #64748b)}.hpp-field input,.hpp-field select{width:100%;min-width:0;box-sizing:border-box;padding:10px;border:1px solid var(--border, #dce2e7);border-radius:7px;background:var(--bg-card, #fff);font:inherit;font-size:14px;color:var(--text, #1e293b)}.hpp-field input:focus,.hpp-field select:focus{outline:2px solid #22a06b;outline-offset:2px}.hpp-field [aria-invalid=true]{border-color:#dc2626}.hpp-field .category-combobox-control input{padding-right:42px}.hpp-field .category-combobox-option span{min-width:0;overflow-wrap:anywhere}.hpp-row{border:1px solid var(--border, #e2e8f0);padding:16px;border-radius:10px;margin-top:16px}.hpp-row>footer{margin-top:15px;margin-bottom:0;flex-wrap:wrap;font-size:13px}.hpp-summary{padding:22px;position:sticky;top:24px}.hpp-summary>span{font-size:11px;letter-spacing:1px;color:#64748b}.hpp-summary>strong{display:block;font-size:32px;color:#16804a;margin-top:12px;overflow-wrap:anywhere}.hpp-summary>p{font-size:12px;color:#64748b;padding-bottom:16px;border-bottom:1px solid #e2e8f0}.hpp-summary>div{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin:16px 0}.hpp-summary small{font-size:11px;line-height:1.6;color:#64748b;display:block}.hpp-tabs{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.hpp-filters{display:flex;gap:16px;padding:18px;margin-bottom:18px}.hpp-filters>*{flex:1}.hpp-table{overflow:auto;max-width:100%}.hpp-table table{width:100%;border-collapse:collapse;font-size:12px}.hpp-table th,.hpp-table td{padding:14px 12px;text-align:left;white-space:nowrap;border-bottom:1px solid #e2e8f0}.hpp-table th{font-size:11px;color:#64748b;background:#f8fafc}.hpp-table>.hpp-note{padding:0 16px}.hpp-alert{padding:14px 18px;background:#f0fdf4;border:1px solid #dcfce7;border-radius:8px;font-size:13px}.hpp-loss{color:#b91c1c!important}.hpp-low{color:#9a6700!important}.hpp-gain{color:#15803d!important}.hpp-fees{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.hpp-fees>div{display:flex;align-items:end;gap:10px}.hpp-fees .hpp-field{flex:1}.hpp-toggle{display:flex;align-items:center;gap:5px;font-size:11px;padding-bottom:12px}.hpp-toggle input{width:auto}.hpp-metrics{display:flex;gap:16px;justify-content:space-between;padding:16px 0;font-size:12px}.hpp-metrics b{display:block;margin-top:6px;font-size:15px}.hpp-recommend{padding:16px;background:#f8fafc;border-radius:8px;font-size:13px}.hpp-recommend h4{margin:0 0 12px}.hpp-chart{width:100%;min-width:0;margin-top:22px}.hpp-defaults{margin-bottom:20px}.hpp-page button:disabled{opacity:.55;cursor:not-allowed}.hpp-row small{font-size:11px;color:#64748b}@media (max-width: 1200px){.hpp-layout{grid-template-columns:minmax(0,1fr) 250px}.hpp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hpp-fees{grid-template-columns:1fr}}@media (max-width: 850px){.hpp-page{padding:16px}.hpp-layout{grid-template-columns:1fr}.hpp-layout>aside{grid-row:1}.hpp-summary{position:static}.hpp-summary>div{display:inline-flex;margin:8px 16px 8px 0;gap:10px}.hpp-heading{align-items:start;flex-direction:column}.hpp-filters{flex-direction:column}.hpp-section{padding:16px}.hpp-summary>strong{font-size:28px}}@media (max-width: 480px){.hpp-grid{grid-template-columns:1fr}.hpp-heading h1{font-size:23px}.hpp-row{padding:12px}.hpp-section>header{align-items:start}.hpp-metrics{flex-direction:column}.hpp-fees>div{gap:6px}.hpp-tabs button{font-size:12px;padding:9px}.hpp-defaults button{white-space:normal}}.capital-page{padding:24px;display:grid;gap:20px;min-width:0}.capital-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.capital-heading h1{font-size:26px;margin:8px 0}.capital-heading h2{font-size:18px;margin:0}.capital-heading p,.capital-muted{color:var(--muted);font-size:13px}.capital-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.capital-icon-link,.capital-icon-button{display:inline-flex;align-items:center;gap:6px}.capital-icon-button{justify-content:center;min-width:44px}.capital-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.capital-stats .card{display:grid;gap:8px;margin:0}.capital-stats strong{font-size:22px;overflow-wrap:anywhere}.capital-stats span,.capital-stats small{color:var(--muted)}.capital-filters{display:flex;gap:16px;flex-wrap:wrap}.capital-field{display:grid;gap:7px;flex:1;min-width:140px;font-size:13px}.capital-field input,.capital-field select,.capital-field textarea{width:100%;min-height:44px;box-sizing:border-box}.capital-form{display:grid;gap:16px}.capital-form .capital-field{min-width:0}.capital-table{overflow-x:auto;max-width:100%}.capital-table table{min-width:900px;width:100%}.capital-table td{vertical-align:middle}.capital-table small{display:block;margin-top:4px;color:var(--muted)}.capital-row{cursor:pointer}.capital-row:hover{background:var(--bg)}.capital-up{color:#b91c1c}.capital-down{color:#15803d}.capital-chart{height:320px;margin-top:24px;width:100%;min-width:0}.capital-period{display:flex;gap:6px;flex-wrap:wrap}.capital-period button{min-height:44px;min-width:44px;border:1px solid var(--border);border-radius:8px;background:transparent;padding:8px}.capital-period button[aria-pressed=true]{background:#eef2ff;color:#3730a3;border-color:#818cf8}.capital-chart-filters{display:flex;align-items:end;justify-content:flex-end;gap:12px;flex-wrap:wrap}.capital-custom-range{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.capital-custom-range label{display:grid;gap:6px;min-width:160px;font-size:12px;color:var(--muted)}.capital-custom-range input{min-height:40px}.capital-notes{white-space:normal;min-width:180px;max-width:260px;overflow-wrap:anywhere}.capital-skeleton{min-height:220px;background:linear-gradient(90deg,#f1f5f9,#f8fafc,#f1f5f9);border-radius:12px;padding:24px}.capital-page button:focus-visible,.capital-page a:focus-visible,.capital-page tr:focus-visible{outline:2px solid #4f46e5;outline-offset:3px}@media (max-width: 760px){.capital-page{padding:18px 14px}.capital-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.capital-stats strong{font-size:18px}.capital-chart{height:260px}.capital-heading{align-items:flex-start}.capital-page .card{min-width:0}.capital-actions button{min-height:44px}.capital-heading h1{font-size:23px}}.capital-preview{padding:12px;background:var(--bg);border-radius:var(--radius);display:grid;gap:4px}.capital-page small{font-size:12px}.capital-page .capital-field{color:var(--text)}:root{--green:#16a34a;--green-light:#22c55e;--orange:#f97316;--yellow:#eab308;--bg:#f8fafc;--card:#ffffff;--text:#1e293b;--muted:#64748b;--border:#e2e8f0;--radius:12px;--shadow:0 1px 3px rgba(0,0,0,.08)}*{margin:0;padding:0;box-sizing:border-box}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--text);line-height:1.5}a{color:var(--green);text-decoration:none}button{cursor:pointer;border:none;border-radius:8px;padding:8px 16px;font-size:14px;font-weight:500;transition:opacity .15s}button:hover{opacity:.85}.btn-primary{background:var(--green);color:#fff}.btn-secondary{background:#e2e8f0;color:var(--text)}.status-success,.status-danger{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:500;white-space:nowrap}.status-success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.status-danger{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.integration-history-card{min-width:0}.integration-history-table{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.import-history-pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:16px;flex-wrap:wrap}.import-history-pages{display:flex;align-items:center;gap:6px}.import-history-pages>span{display:flex;align-items:center;gap:6px}.pagination-ellipsis{color:#64748b;padding:0 2px}.btn-danger{background:#ef4444;color:#fff}.btn-sm{padding:4px 10px;font-size:12px}input,select,textarea{width:100%;padding:8px 12px;border:1px solid var(--border);border-radius:8px;font-size:14px;background:#fff}input:focus,select:focus,textarea:focus{outline:2px solid var(--green-light);border-color:var(--green-light)}label{display:block;font-size:13px;font-weight:500;margin-bottom:4px;color:var(--muted)}.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.page-title{font-size:22px;font-weight:700;margin-bottom:16px}.transaction-filter-summary{display:grid;grid-template-columns:minmax(150px,1fr) minmax(160px,auto) minmax(100px,auto);align-items:center;gap:20px;margin-bottom:16px;padding:13px 18px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:var(--radius);box-shadow:var(--shadow)}.transaction-filter-summary span{color:#64748b;font-size:12px;font-weight:700;letter-spacing:.035em;text-transform:uppercase}.transaction-filter-summary strong{color:#17233c;font-size:20px;line-height:1.3;letter-spacing:-.4px;white-space:nowrap}.transaction-filter-summary small{color:#64748b;font-size:13px;text-align:right;white-space:nowrap}@media (max-width:600px){.transaction-filter-summary{grid-template-columns:1fr auto;gap:4px 12px;padding:13px 15px}.transaction-filter-summary span{grid-column:1/-1}.transaction-filter-summary strong{font-size:19px}.transaction-filter-summary small{align-self:end}}.grid{display:grid;gap:16px}.grid-2{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.grid-3{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.grid-4{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.stat-card{display:flex;flex-direction:column;gap:4px}.stat-card .label{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}.stat-card .value{font-size:20px;font-weight:700}.stat-card .value.income{color:var(--green)}.stat-card .value.expense{color:#ef4444}.stat-card .value.net{color:var(--orange)}table{width:100%;border-collapse:collapse;font-size:14px}th,td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--border)}th{font-weight:600;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.5px}tr:hover{background:#f8fafc}.badge{display:inline-block;padding:2px 8px;border-radius:99px;font-size:11px;font-weight:600}.badge-income{background:#dcfce7;color:#166534}.badge-expense{background:#fee2e2;color:#991b1b}.badge-transfer{background:#dbeafe;color:#1e40af}.badge-active{background:#dcfce7;color:#166534}.badge-inactive{background:#f1f5f9;color:#64748b}.badge-stock{background:#dcfce7;color:#166534}.badge-stock-low{background:#fef9c3;color:#854d0e}.badge-stock-out{background:#fee2e2;color:#991b1b}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}.page-heading p{color:var(--muted);font-size:13px}.page-heading .page-title{margin-bottom:0}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:100;padding:16px}.modal{background:#fff;border-radius:var(--radius);padding:24px;max-width:500px;width:100%;max-height:90vh;overflow-y:auto}.modal h3{margin-bottom:16px}.form-group{margin-bottom:14px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.category-field-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.category-combobox,.category-combobox-control{position:relative}.category-combobox-control input{padding-right:40px}.category-combobox-icon{position:absolute;right:4px;top:50%;width:32px;height:32px;padding:0;transform:translateY(-50%);display:grid;place-items:center;border:0;background:transparent;color:#64748b}.category-combobox-icon:hover{background:#f1f5f9;color:#334155}.category-combobox-list{position:absolute;z-index:500;top:calc(100% + 5px);left:0;right:0;max-height:240px;overflow-y:auto;padding:5px;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 10px 28px #0f172a24}.category-combobox-option{width:100%;padding:9px 10px;display:flex;align-items:center;justify-content:space-between;text-align:left;border:0;border-radius:7px;background:#fff;color:#1e293b;font-size:14px}.category-combobox-option:hover,.category-combobox-option.active{background:#eff6ff;color:#1d4ed8}.category-combobox-empty{padding:13px 10px;color:#475569;text-align:center}.category-combobox-empty strong,.category-combobox-empty small{display:block}.category-combobox-empty small{margin-top:4px;color:#94a3b8;font-size:12px}.form-error{color:#dc2626;margin:10px 0}.transaction-category-cell{display:flex;flex-direction:column}.transaction-category-cell small{color:var(--muted);font-size:12px;margin-top:2px}.transaction-description-cell{min-width:180px;max-width:280px;color:#475569;white-space:normal;overflow-wrap:anywhere}.category-management-list{display:flex;flex-direction:column;gap:12px;margin-top:18px}.category-management-item{border:1px solid var(--border);border-radius:10px;padding:12px}.category-management-item>header,.category-type-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.category-management-item>header span,.category-type-row>span:last-child{display:flex;gap:5px}.category-types{margin-top:12px;padding-top:10px;border-top:1px solid var(--border)}.category-types>label{font-size:12px;color:var(--muted)}.category-type-row{padding:7px 0;border-bottom:1px solid #f1f5f9}.category-type-add{display:flex;gap:7px;margin-top:9px}.category-type-add input{min-width:0}.category-type-add button{white-space:nowrap}.toast{position:fixed;top:16px;right:16px;padding:12px 20px;border-radius:8px;color:#fff;font-size:14px;z-index:200;animation:slideIn .3s}.toast-success{background:var(--green)}.toast-error{background:#ef4444}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.empty-state,.loading{text-align:center;padding:40px;color:var(--muted)}.pagination{display:flex;gap:8px;justify-content:center;align-items:center;margin-top:16px;flex-wrap:wrap}.pagination>span{display:flex;align-items:center;gap:8px}.pagination button{min-width:36px;padding:6px 12px}.pagination button:disabled{cursor:not-allowed;opacity:.5}.pagination button.active{background:var(--green);color:#fff}.filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px;align-items:flex-end}.filter-bar .form-group{margin-bottom:0;min-width:140px}.app-navbar{height:64px;position:fixed;z-index:80;inset:0 0 auto 0;background:#14532d;color:#fff;display:flex;align-items:center;padding:0 24px;box-shadow:0 2px 12px #0f172a24}.app-brand{color:#fff;font-size:18px;font-weight:800;margin-right:42px}.app-brand small{font-size:11px;font-weight:600;opacity:.75}.app-navbar nav{height:100%;display:flex;align-items:center;gap:6px}.app-navbar nav a{height:100%;display:flex;align-items:center;padding:0 18px;color:#dcfce7;font-weight:600;border-bottom:3px solid transparent}.app-navbar nav a:hover,.app-navbar nav a.active{color:#fff;background:#ffffff14;border-bottom-color:#86efac}.account-area{margin-left:auto;display:flex;align-items:center;gap:18px}.account-area>span{display:flex;flex-direction:column;text-align:right;font-size:13px}.account-area small{opacity:.7;font-size:10px}.account-area button{display:flex;gap:6px;align-items:center;color:#fff;background:#ffffff1f}.sidebar{width:240px;background:#fff;border-right:1px solid var(--border);height:calc(100vh - 64px);position:fixed;left:0;top:64px;display:flex;flex-direction:column;padding:16px 0}.sidebar .logo{padding:0 20px 20px;font-size:18px;font-weight:800;color:var(--green)}.sidebar nav{flex:1}.sidebar nav a{display:flex;align-items:center;gap:10px;padding:10px 20px;color:var(--text);font-size:14px;font-weight:500;transition:background .15s}.sidebar nav a:hover,.sidebar nav a.active{background:#f0fdf4;color:var(--green)}.main-content{margin-left:240px;padding:82px 24px 24px;min-height:100vh}.main-content.kasir-content{margin-left:0}.topbar{display:flex;justify-content:flex-end;align-items:center;width:100%;margin-bottom:20px}.topbar .user-info{font-size:14px;color:var(--muted)}.topbar .user-info.clock{display:flex;flex-direction:column;align-items:flex-end;line-height:1.3}.topbar .user-info.clock .clock-date{font-weight:500;color:var(--text)}.topbar .user-info.clock .clock-time{font-size:13px;color:var(--muted)}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#fff;padding:24px}.login-shell{display:flex;width:100%;max-width:1180px;min-height:min(680px,calc(100vh - 48px));background:#fff;overflow:hidden}.login-visual{position:relative;flex:0 0 58%;min-width:0;background:#fff}.login-visual img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;display:block}.login-panel{position:relative;flex:0 0 42%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 40px;background:#fff}.login-form{width:100%;max-width:440px}.login-logo{width:auto;height:220px;max-width:100%;object-fit:contain;display:block;margin:0 auto 28px}.login-field{margin-bottom:18px}.login-field label{display:block;font-size:14px;font-weight:600;margin-bottom:7px;color:#334155}.login-field input{height:48px;width:100%;padding:0 14px;border:1px solid #d7dce3;border-radius:12px;font-size:15px;color:#1e293b;background:#fff;transition:border-color .15s,box-shadow .15s}.login-field input::placeholder{color:#9aa6b4}.login-field input:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px #16a34a26}.login-password-wrap{position:relative}.login-password-wrap input{padding-right:48px}.login-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;display:grid;place-items:center;background:transparent;color:#64748b;border:0;border-radius:9px;padding:0}.login-eye:hover{background:#f1f5f9;color:#334155}.login-remember{display:flex;align-items:center;gap:9px;margin:2px 0 24px;font-size:14px;color:#475569;cursor:pointer;-webkit-user-select:none;user-select:none}.login-remember input{width:17px;height:17px;accent-color:var(--green);cursor:pointer;margin:0}.login-submit{width:100%;height:50px;display:flex;align-items:center;justify-content:center;gap:8px;background:var(--green);color:#fff;border-radius:12px;font-size:15px;font-weight:700;border:0;transition:background .15s,opacity .15s}.login-submit:hover:not(:disabled){background:#15803d;opacity:1}.login-submit:disabled{opacity:.6;cursor:not-allowed}.login-error{width:100%;margin:0 0 16px;padding:11px 14px;border-radius:10px;background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;font-size:13px}.login-footer{position:absolute;bottom:26px;font-size:13px;color:#9aa6b4;text-align:center}@media (max-width:900px){.login-shell{flex-direction:column;max-width:520px;min-height:0}.login-visual{flex:0 0 auto;height:280px;min-height:0}.login-panel{flex:0 0 auto;padding:40px 28px 72px}.login-logo{height:180px;margin-bottom:28px}}.mobile-nav{display:none}.settings{display:flex;flex-direction:column;gap:16px}.settings-nav{display:flex;gap:8px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:6px;overflow-x:auto}.settings-nav button,.settings-nav a{display:inline-flex;align-items:center;background:transparent;color:var(--text);border:0;padding:8px 14px;border-radius:8px;font:inherit;text-decoration:none;white-space:nowrap}.settings-nav button.active,.settings-nav a.active{background:#f0fdf4;color:var(--green);font-weight:600}@media (max-width:520px){.login-page{padding:0;align-items:stretch}.login-shell{min-height:100vh}.login-visual{height:200px}.login-panel{padding:30px 22px 70px}.login-logo{height:160px;max-width:100%;margin-bottom:24px}.login-footer{bottom:22px}}@media (max-width:768px){.app-navbar{padding:0 14px}.app-brand{margin-right:auto}.app-navbar nav{position:fixed;left:0;right:0;bottom:0;top:auto;height:58px;background:#14532d;justify-content:space-around}.app-navbar nav a{padding:0 9px;font-size:12px}.account-area>span{display:none}.account-area button{font-size:0;padding:9px}.mobile-nav{display:none!important}.sidebar{display:none}.main-content{min-width:0;margin-left:0;padding:16px 16px 80px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--border);justify-content:space-around;padding:8px 0;z-index:50}.mobile-nav a{display:flex;flex-direction:column;align-items:center;font-size:10px;color:var(--muted);gap:2px}.mobile-nav a.active{color:var(--green)}.form-row{grid-template-columns:1fr}table{font-size:12px}th,td{padding:6px 8px}.import-history-pagination{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%}.import-history-pages{grid-column:1/-1;grid-row:1;justify-content:center;max-width:100%;overflow-x:auto;padding:2px 0 6px}.import-history-pagination>.pagination-previous,.import-history-pagination>.pagination-next{width:100%;min-height:44px;padding:8px}}.pos-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.pos-heading h1{font-size:26px}.pos-heading p{color:var(--muted);font-size:13px}.pos-heading button,.cart-title{display:flex;align-items:center;gap:7px}.pos-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(380px,1fr);gap:18px;align-items:start}.product-panel{min-width:0}.pos-search{height:46px;display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--border);padding:0 14px;border-radius:12px;box-shadow:var(--shadow);margin-bottom:16px}.pos-search input{border:0;outline:0;padding:0}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:13px}.product-card{padding:0 0 13px;overflow:hidden;background:#fff;border:1px solid #e7ecf2;border-radius:14px;text-align:left;box-shadow:0 2px 8px #0f172a0a;display:flex;flex-direction:column}.product-card:hover{border-color:#86efac;transform:translateY(-1px)}.product-card:disabled{opacity:.55}.product-card img,.product-placeholder{width:100%;height:112px;object-fit:contain;object-position:center;background:#fff;color:#15803d;display:grid;place-items:center;font-size:34px;font-weight:800}.product-card strong,.product-card small,.product-card b,.product-card span{margin:0 12px}.product-card strong{margin-top:10px;font-size:14px}.product-card small{color:#94a3b8;font-size:11px}.product-card b{color:#15803d;margin-top:5px}.product-card span{color:#64748b;font-size:11px}.product-card span.out{color:#dc2626}.product-card-wrap{position:relative}.product-card-edit-btn{position:absolute;right:7px;top:7px;display:flex;align-items:center;gap:3px;padding:5px 7px;background:#fff;color:var(--green);border:1px solid #bbf7d0;font-size:11px;z-index:2}.product-card-edit-btn:hover{background:#f0fdf4}.product-photo-preview{margin:6px 0 14px;padding:8px;border:1px dashed var(--border);border-radius:8px;text-align:center;color:var(--muted);font-size:12px}.product-photo-preview strong{display:block;text-align:left;margin-bottom:6px}.product-photo-preview img{display:block;width:100%;height:130px;object-fit:contain;object-position:center;background:#fff;border-radius:6px}.photo-placeholder{height:90px;display:grid;place-items:center;background:#f8fafc;border-radius:6px}.cart-panel{position:sticky;top:82px;padding:18px}.cart-title{justify-content:space-between;margin-bottom:14px}.cart-title h2{font-size:17px}.cart-title button{background:transparent;color:#dc2626;padding:4px}.cart-items{max-height:42vh;overflow-y:auto}.cart-items article{display:grid;grid-template-columns:minmax(100px,1fr) 108px auto 28px;gap:8px;align-items:center;padding:11px 0;border-bottom:1px solid #eef2f7}.cart-items article>div:first-child{display:flex;flex-direction:column}.cart-items small{font-size:11px;color:#94a3b8}.cart-items article>b{font-size:12px;white-space:nowrap}.qty-control{display:grid;grid-template-columns:28px 42px 28px}.qty-control button,.icon-button{padding:0;display:grid;place-items:center;background:#f1f5f9}.qty-control input{padding:5px;text-align:center;border-radius:0}.remove{padding:5px;background:transparent;color:#ef4444}.cart-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#94a3b8}.cart-empty strong{color:#475569;margin-top:10px}.cart-empty p{font-size:12px;max-width:250px}.discount-row{display:grid;grid-template-columns:120px 1fr;gap:8px;margin:15px 0}.cart-totals{display:flex;flex-direction:column;gap:7px;border-top:1px dashed #cbd5e1;padding-top:13px}.cart-totals span,.cart-totals strong,.payment-summary span,.payment-summary strong{display:flex;justify-content:space-between}.cart-totals strong{font-size:17px;padding-top:9px}.cart-totals strong b{color:#15803d}.pay-button{width:100%;height:48px;margin-top:15px;background:#16a34a;color:#fff;font-weight:800;letter-spacing:.5px}.pay-button:disabled{background:#cbd5e1;cursor:not-allowed}.pos-modal>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.pos-modal>header h3{margin:0}.pos-modal.wide{max-width:1100px}.payment-summary{display:flex;flex-direction:column;gap:8px;background:#f8fafc;border-radius:10px;padding:14px;margin-bottom:16px}.payment-summary strong{font-size:17px;color:#15803d;border-top:1px solid #e2e8f0;padding-top:8px}.pos-modal label{margin-top:12px}.change-row{display:flex;justify-content:space-between;margin-top:12px}.payment-warning{background:#fef2f2;color:#b91c1c;padding:9px;border-radius:8px;font-size:12px;margin-top:8px}.history-table{overflow:auto;max-height:65vh}.history-table table{min-width:1000px}.history-table td small,.sale-detail td small{display:block;color:#94a3b8}.sale-detail>h3{margin-top:15px}.sale-detail>p{color:#64748b;margin-bottom:12px}@media (max-width:1050px){.pos-layout{grid-template-columns:1fr}.cart-panel{position:static}.sidebar{display:none}.main-content{margin-left:0}.topbar{display:none}}@media (max-width:600px){.pos-heading{align-items:flex-start;gap:10px}.pos-heading p{display:none}.pos-layout{display:block}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}.cart-items article{grid-template-columns:1fr 100px 28px}.cart-items article>b{grid-column:1}.app-navbar .app-brand small{display:none}}.breadcrumb{display:flex;gap:8px;align-items:center;margin-bottom:10px;color:var(--muted);font-size:14px}.breadcrumb a{color:var(--green);font-weight:600}.settings-links{display:flex;gap:12px;flex-wrap:wrap}.settings-links a{padding:12px 16px;border:1px solid var(--border);border-radius:12px;color:var(--text);font-weight:600}.settings-links a:hover{border-color:var(--green);color:var(--green)}.dashboard-shell{color:#17233c}.dashboard-heading{margin-bottom:22px}.dashboard-heading h1{font-size:26px;line-height:1.25;letter-spacing:-.4px}.dashboard-heading p,.card-heading p{color:#8090a6;font-size:13px;margin-top:3px}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.summary-card{min-width:0;display:flex;align-items:flex-start;gap:13px;padding:19px;border:1px solid rgba(232,237,245,.8);border-radius:16px;box-shadow:0 3px 12px #1e293b09}.summary-blue{background:#eff6ff}.summary-green{background:#effcf4}.summary-pink{background:#fff1f3}.summary-sky{background:#f0f8ff}.summary-icon{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:12px}.summary-blue .summary-icon{color:#2563eb;background:#dbeafe}.summary-green .summary-icon{color:#16a34a;background:#d9fbe5}.summary-pink .summary-icon{color:#e11d48;background:#ffe0e7}.summary-sky .summary-icon{color:#0284c7;background:#dcefff}.summary-copy{min-width:0;display:flex;flex-direction:column}.summary-copy>span{font-size:12px;color:#64748b;font-weight:600;margin-bottom:5px}.summary-copy>strong{font-size:21px;line-height:1.25;letter-spacing:-.5px;white-space:nowrap}.summary-copy small{display:flex;align-items:center;gap:4px;color:#8492a6;font-size:11px;margin-top:7px}.summary-copy small.trend-up{color:#16a34a}.summary-copy small.trend-down{color:#e11d48}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:18px}.dashboard-card{background:#fff;border:1px solid #e8edf5;border-radius:16px;padding:21px;box-shadow:0 3px 14px #1e293b09;min-width:0}.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.card-heading h2{font-size:16px;letter-spacing:-.15px}.period-pill{background:#f8fafc;border:1px solid #e8edf5;color:#64748b;border-radius:9px;padding:7px 10px;font-size:11px;font-weight:600;white-space:nowrap}.chart-area{height:245px}.chart-legend{display:flex;justify-content:center;gap:20px;color:#64748b;font-size:12px}.chart-legend span{display:flex;align-items:center;gap:6px}.dot{width:8px;height:8px;border-radius:50%;display:inline-block}.dot.green{background:#22c55e}.dot.pink{background:#f43f5e}.donut-wrap{height:185px;position:relative}.donut-total{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.donut-total small{font-size:11px;color:#94a3b8}.donut-total strong{font-size:13px}.category-list{display:flex;flex-direction:column;gap:10px}.category-list>div{display:grid;grid-template-columns:8px minmax(0,1fr) auto auto;align-items:center;gap:8px;font-size:12px}.category-list i{width:8px;height:8px;border-radius:50%}.category-list small{color:#94a3b8}.category-list strong{font-size:11px}.card-link{display:inline-flex;align-items:center;gap:3px;color:#3b82f6;font-size:12px;font-weight:600;white-space:nowrap}.budget-list,.recent-list{display:flex;flex-direction:column}.budget-row{display:grid;grid-template-columns:38px minmax(0,1fr) 42px;gap:11px;align-items:center;padding:11px 0;border-bottom:1px solid #f0f3f7}.budget-row:last-child,.recent-row:last-child{border-bottom:0}.budget-icon{width:36px;height:36px;border-radius:10px;background:#eff6ff;color:#3b82f6;display:grid;place-items:center}.budget-info>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:12px}.budget-info span{color:#7b8aa0}.progress{height:6px;margin-top:8px;background:#eef2f7;border-radius:99px;overflow:hidden}.progress i{display:block;height:100%;border-radius:99px}.progress i.normal{background:#3b82f6}.progress i.warning{background:#f59e0b}.progress i.danger{background:#f43f5e}.budget-row>b{font-size:12px;text-align:right}.recent-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #f0f3f7}.recent-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center}.recent-icon.in{background:#eafbf0;color:#16a34a}.recent-icon.out{background:#fff0f2;color:#e11d48}.recent-row>div:nth-child(2){min-width:0;display:flex;flex-direction:column}.recent-row strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-row small{font-size:10px;color:#94a3b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-row>b{font-size:11px;white-space:nowrap}.recent-row>b.income{color:#16a34a}.recent-row>b.expense{color:#e11d48}.empty-state.compact{padding:65px 15px}.skeleton{background:linear-gradient(90deg,#edf1f6 25%,#f7f9fb,#edf1f6 75%);background-size:200% 100%;animation:skeleton 1.4s infinite;border-radius:14px}.skeleton-title{width:220px;height:52px;margin-bottom:22px}.skeleton-summary{height:110px}.skeleton-panel{height:340px}@keyframes skeleton{to{background-position:-200% 0}}@media (max-width:1100px){.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:860px){.dashboard-grid{grid-template-columns:1fr}.dashboard-wide{grid-column:auto}}@media (max-width:520px){.summary-grid{grid-template-columns:1fr}.summary-card,.dashboard-card{padding:17px}.card-heading{flex-wrap:wrap}.chart-area{height:220px}.recent-row{grid-template-columns:38px minmax(0,1fr)}.recent-row>b{grid-column:2}.summary-copy>strong{font-size:20px}}.budget-page{color:#17233c}.budget-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.budget-page-heading h1{font-size:26px;line-height:1.25;letter-spacing:-.4px}.budget-page-heading p,.budget-list-heading p{color:#8090a6;font-size:13px;margin-top:3px}.budget-heading-actions{display:flex;align-items:center;gap:10px}.period-control{height:40px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #e8edf5;border-radius:10px;background:#fff;color:#64748b;margin:0}.period-control input{width:145px;padding:0;border:0;outline:0;color:#334155;font-weight:600}.budget-add{height:40px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.budget-summary{min-width:0;display:flex;gap:13px;padding:19px;border:1px solid rgba(232,237,245,.8);border-radius:16px;box-shadow:0 3px 12px #1e293b09}.budget-summary>div:last-child{min-width:0;display:flex;flex-direction:column}.budget-summary span{font-size:12px;color:#64748b;font-weight:600;margin-bottom:5px}.budget-summary strong{font-size:20px;line-height:1.3;letter-spacing:-.4px;white-space:nowrap}.budget-summary small{color:#8492a6;font-size:11px;margin-top:7px}.budget-summary-icon{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:12px}.budget-summary-blue{background:#eff6ff}.budget-summary-blue .budget-summary-icon{background:#dbeafe;color:#2563eb}.budget-summary-green{background:#effcf4}.budget-summary-green .budget-summary-icon{background:#d9fbe5;color:#16a34a}.budget-summary-orange{background:#fff9e9}.budget-summary-orange .budget-summary-icon{background:#fef0bf;color:#d97706}.budget-summary-red{background:#fff1f3}.budget-summary-red .budget-summary-icon{background:#ffe0e7;color:#e11d48}.budget-list-card{background:#fff;border:1px solid #e8edf5;border-radius:16px;box-shadow:0 3px 14px #1e293b09;overflow:hidden}.budget-list-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px}.budget-list-heading h2{font-size:16px}.budget-tools{display:flex;align-items:center;gap:9px}.budget-tools select{width:170px;height:38px;border-color:#e8edf5;color:#475569}.budget-search{width:250px;height:38px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #e8edf5;border-radius:9px;color:#94a3b8;margin:0}.budget-search:focus-within{border-color:#22c55e;box-shadow:0 0 0 2px #dcfce7}.budget-search input{border:0;outline:0;padding:0;font-size:13px}.budget-table-wrap{overflow-x:auto}.budget-table{min-width:900px}.budget-table th{background:#f8fafc;border-top:1px solid #eef2f7;border-bottom-color:#e8edf5;padding:11px 16px}.budget-table td{padding:14px 16px;border-bottom-color:#eef2f7;font-size:13px;white-space:nowrap}.budget-table tbody tr:last-child td{border-bottom:0}.budget-table tbody tr:hover{background:#fafcfe}.budget-table .budget-over-row{background:#fffafb}.budget-table .budget-over-row:hover{background:#fff6f7}.budget-category{display:flex;align-items:center;gap:10px}.budget-category>span{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#eff6ff;color:#3b82f6}.budget-category strong{font-size:13px}.negative{color:#e11d48;font-weight:700}.budget-progress-cell{display:flex;align-items:center;gap:9px}.budget-progress{width:105px;height:7px;background:#eef2f7;border-radius:99px;overflow:hidden}.budget-progress i{display:block;height:100%;border-radius:99px}.budget-progress i.normal{background:#22c55e}.budget-progress i.warning{background:#f59e0b}.budget-progress i.over{background:#f43f5e}.budget-progress-cell strong{min-width:36px;font-size:12px}.budget-status{display:inline-flex;padding:4px 9px;border-radius:99px;font-size:11px;font-weight:700}.budget-status.normal{background:#dcfce7;color:#15803d}.budget-status.warning{background:#fef3c7;color:#b45309}.budget-status.over{background:#ffe4e8;color:#be123c}.budget-row-actions{display:flex;gap:5px}.icon-action{width:31px;height:31px;padding:0;display:grid;place-items:center;border:1px solid #e8edf5;border-radius:8px;background:#fff;color:#64748b}.icon-action.edit:hover{color:#2563eb;background:#eff6ff}.icon-action.delete:hover{color:#e11d48;background:#fff1f3}.budget-empty{display:flex;flex-direction:column;align-items:center;padding:62px 20px 68px;text-align:center}.budget-empty>div{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:#eff6ff;color:#3b82f6;margin-bottom:14px}.budget-empty h3{font-size:16px}.budget-empty p{max-width:400px;color:#8090a6;font-size:13px;margin:5px 0 18px}.budget-empty.compact{padding:50px}.budget-empty.compact>svg{color:#94a3b8;margin-bottom:10px}.budget-load-error{min-height:330px;background:#fff;border:1px solid #e8edf5;border-radius:16px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px;color:#64748b}.budget-load-error>svg{color:#f43f5e;margin-bottom:10px}.budget-load-error strong{color:#334155}.budget-load-error p{font-size:13px;margin:4px 0 15px}.budget-notice{position:fixed;right:22px;top:22px;z-index:250;background:#15803d;color:#fff;padding:11px 16px;border-radius:10px;font-size:13px;box-shadow:0 8px 25px #0f172a26}.budget-title-skeleton{width:100%;height:60px;margin-bottom:22px}.budget-table-skeleton{height:350px}.budget-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:18px;background:#0f172a6b;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.budget-modal{width:100%;max-width:460px;padding:24px;background:#fff;border-radius:16px;box-shadow:0 24px 60px #0f172a38}.budget-modal>header{display:flex;justify-content:space-between;gap:15px;margin-bottom:21px}.budget-modal h2{font-size:19px}.budget-modal header p{font-size:12px;color:#8090a6;margin-top:3px}.budget-modal label{margin-bottom:15px}.budget-modal label>input,.budget-modal label>select{margin-top:6px;height:41px}.budget-modal label>input:disabled,.budget-modal select:disabled{background:#f8fafc;color:#64748b}.currency-input{display:flex;align-items:center;margin-top:6px;height:41px;border:1px solid var(--border);border-radius:8px;overflow:hidden}.currency-input:focus-within{outline:2px solid var(--green-light);border-color:var(--green-light)}.currency-input span{padding:0 11px;color:#64748b;font-size:13px;border-right:1px solid #e8edf5}.currency-input input{border:0;outline:0;height:100%}.budget-modal footer{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.budget-error{padding:10px 12px;margin-bottom:14px;border-radius:9px;background:#fff1f2;color:#be123c;font-size:12px}.budget-delete-modal{text-align:center;max-width:410px}.budget-delete-modal .delete-symbol{width:48px;height:48px;display:grid;place-items:center;margin:0 auto 13px;border-radius:14px;background:#fff1f3;color:#e11d48}.budget-delete-modal>p{color:#475569;font-size:14px;margin:8px 0}.budget-delete-modal>small{display:block;color:#94a3b8}.btn-delete-confirm{background:#e11d48;color:#fff}.budget-delete-modal footer{justify-content:center}.budget-delete-modal .budget-error{margin-top:14px}@media (max-width:900px){.budget-page-heading{flex-direction:column}.budget-heading-actions{width:100%}.period-control{flex:1}.period-control input{width:100%}.budget-list-heading{align-items:flex-start;flex-direction:column}.budget-tools{width:100%}.budget-search{flex:1}.budget-tools select{width:180px}}@media (max-width:520px){.budget-page-heading h1{font-size:23px}.budget-heading-actions{align-items:stretch;flex-direction:column}.period-control,.budget-add{width:100%;justify-content:center}.budget-list-heading{padding:17px}.budget-tools{align-items:stretch;flex-direction:column}.budget-search,.budget-tools select{width:100%}.budget-summary{padding:17px}.budget-summary strong{font-size:19px}.budget-modal{padding:20px}.budget-notice{left:16px;right:16px;top:16px}.budget-table td,.budget-table th{padding-left:12px;padding-right:12px}}.dashboard-card .progress i.normal{background:#22c55e}.pos-heading-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px}.pos-heading-actions button{justify-content:center}.product-create-modal label,.product-category-modal label{margin-top:13px}.product-create-modal footer,.product-category-modal footer{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.product-category-field{margin-top:13px}.product-category-field .category-field-label label{margin:0}.pos-nested-modal{z-index:200}.product-category-modal{max-width:410px}.product-create-modal h4{margin:18px 0 9px}.ingredient-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.85fr) 40px;align-items:center;gap:8px;margin-bottom:9px}.ingredient-row>select,.ingredient-amount>input,.ingredient-remove{height:40px}.ingredient-amount{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:8px}.ingredient-unit{background:#f8fafc;color:var(--muted);cursor:default}.ingredient-remove{width:40px;padding:0;display:grid;place-items:center}.product-category-add{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}.product-category-add label{margin:0}.product-category-add button{height:38px;white-space:nowrap}.product-category-message{margin-bottom:0}.product-category-notice{margin-top:10px;color:#15803d;font-size:13px}.product-category-list{margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}.product-category-list h4{margin-bottom:9px;font-size:14px}.product-category-item{min-height:45px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eef2f7}.product-category-item span{min-width:0;overflow-wrap:anywhere;font-size:14px}.product-category-item button{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.product-category-empty{padding:18px 0;color:var(--muted);font-size:13px;text-align:center}.product-category-modal>footer{margin-top:18px}.material-category-add{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}.material-category-add label{margin:0}.material-category-add button{height:38px;white-space:nowrap}.material-category-message{margin-bottom:0}.material-category-notice{margin-top:10px;color:#15803d;font-size:13px}.material-category-list{margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}.material-category-list h4{margin-bottom:9px;font-size:14px}.material-category-item{min-height:45px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eef2f7}.material-category-item span{min-width:0;overflow-wrap:anywhere;font-size:14px}.material-category-item button{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.material-category-empty{padding:18px 0;color:var(--muted);font-size:13px;text-align:center}@media (max-width:600px){.pos-heading-actions{width:100%}.pos-heading{flex-wrap:wrap}.ingredient-row{grid-template-columns:minmax(0,1fr) 40px}.ingredient-row>select{grid-column:1/-1}.ingredient-amount{grid-column:1}.ingredient-remove{grid-column:2}.material-category-add{grid-template-columns:1fr}.material-category-add button{width:100%}}:root{--pos-bg: #F8F7F3;--pos-card-bg: #FFFFFF;--pos-sidebar-bg: #F7F6F1;--pos-order-bg: #FCFBF8;--pos-sage-primary: #758D79;--pos-sage-dark: #365C45;--pos-sage-hover: #2B4A37;--pos-sage-soft: #E6EBE5;--pos-text-dark: #1F211E;--pos-text-muted: #7A7A72;--pos-border: #E9E7E1;--pos-border-light: #ECEAE5;--pos-radius: 16px;--pos-radius-sm: 10px;--pos-shadow-subtle: 0 2px 10px rgba(31, 33, 30, .03)}.pos-app-layout{display:flex;width:100vw;height:100vh;overflow:hidden;background-color:var(--pos-bg);color:var(--pos-text-dark);font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;box-sizing:border-box}.pos-sidebar{width:220px;min-width:220px;height:100vh;background-color:var(--pos-sidebar-bg);border-right:1px solid var(--pos-border);display:flex;flex-direction:column;padding:24px 16px;box-sizing:border-box;-webkit-user-select:none;user-select:none}.pos-brand-area{padding-bottom:24px;border-bottom:1px solid var(--pos-border);margin-bottom:24px}.pos-logo-title{display:flex;align-items:center;gap:4px}.pos-logo-text{font-size:20px;font-weight:800;letter-spacing:.5px;color:var(--pos-text-dark)}.pos-logo-dot{width:6px;height:6px;border-radius:50%;background-color:var(--pos-sage-primary);display:inline-block}.pos-tagline{font-size:9px;font-weight:700;letter-spacing:1.5px;color:var(--pos-text-muted);margin-top:4px;line-height:1.3}.pos-nav-menu{display:flex;flex-direction:column;gap:6px;flex:1}.pos-nav-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;border:none;background:transparent;color:#484842;font-size:14px;font-weight:600;font-family:inherit;text-decoration:none;cursor:pointer;transition:all .15s ease;width:100%;text-align:left}.pos-nav-item:hover{background-color:#f0f1ed;color:var(--pos-text-dark)}.pos-nav-item.active{background-color:var(--pos-sage-soft);color:#233a2b;font-weight:700}.pos-nav-icon{color:inherit;flex-shrink:0}.pos-sidebar-bottom{margin-top:auto;padding-top:20px;display:flex;justify-content:center}.pos-script-text{font-family:Caveat,cursive;font-size:22px;color:#8c998e;display:flex;flex-direction:column;align-items:center;line-height:1.05;transform:rotate(-4deg)}.pos-center-area{flex:1;height:100vh;display:flex;flex-direction:column;overflow:hidden;background-color:var(--pos-bg);padding:20px 24px 12px;box-sizing:border-box;min-width:0}.pos-top-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.pos-search-box{flex:1;max-width:480px;height:48px;background:#fff;border:1px solid var(--pos-border);border-radius:999px;display:flex;align-items:center;padding:0 18px;gap:10px;box-shadow:var(--pos-shadow-subtle);transition:border-color .15s ease}.pos-search-box:focus-within{border-color:var(--pos-sage-primary)}.pos-search-icon{color:var(--pos-text-muted);flex-shrink:0}.pos-search-box input{border:none;outline:none;background:transparent;width:100%;font-size:14px;color:var(--pos-text-dark);font-family:inherit;padding:0}.pos-search-clear{background:transparent;border:none;color:var(--pos-text-muted);padding:4px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer}.pos-user-profile-wrap{position:relative}.pos-user-badge{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--pos-border);padding:6px 14px 6px 8px;border-radius:999px;cursor:pointer;box-shadow:var(--pos-shadow-subtle);transition:background-color .15s ease}.pos-user-badge:hover{background-color:#faf9f5}.pos-avatar{width:34px;height:34px;border-radius:50%;background:var(--pos-sage-soft);color:var(--pos-sage-dark);display:grid;place-items:center}.pos-user-info{display:flex;flex-direction:column;text-align:left;line-height:1.2}.pos-user-info strong{font-size:13px;font-weight:600;color:var(--pos-text-dark)}.pos-user-info small{font-size:11px;color:var(--pos-text-muted)}.pos-chevron{color:var(--pos-text-muted);margin-left:2px}.pos-user-dropdown{position:absolute;top:calc(100% + 8px);right:0;width:200px;background:#fff;border:1px solid var(--pos-border);border-radius:14px;box-shadow:0 10px 30px #00000014;padding:8px;z-index:50}.pos-user-dropdown-header{padding:10px 12px;border-bottom:1px solid var(--pos-border-light);display:flex;flex-direction:column}.pos-user-dropdown-header strong{font-size:13px}.pos-user-dropdown-header span{font-size:11px;color:var(--pos-text-muted);text-transform:capitalize}.pos-dropdown-logout{width:100%;display:flex;align-items:center;gap:8px;padding:10px 12px;background:transparent;border:none;color:#dc2626;font-size:13px;font-weight:600;cursor:pointer;border-radius:8px;margin-top:4px}.pos-dropdown-logout:hover{background:#fef2f2}.pos-category-bar{display:flex;align-items:center;gap:8px;overflow-x:auto;padding-bottom:12px;margin-bottom:14px;scrollbar-width:none}.pos-category-bar::-webkit-scrollbar{display:none}.pos-category-chip{padding:8px 18px;border-radius:999px;border:none;background-color:#f4f3ef;color:#30302c;font-size:13px;font-weight:600;font-family:inherit;white-space:nowrap;cursor:pointer;transition:all .15s ease}.pos-category-chip:hover{background-color:#e9e7e1}.pos-category-chip.active{background-color:var(--pos-sage-primary);color:#fff;box-shadow:0 2px 8px #758d7940}.pos-category-add-chip{display:flex;align-items:center;gap:4px;padding:7px 14px;border-radius:999px;border:1px dashed var(--pos-sage-primary);background:transparent;color:var(--pos-sage-dark);font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}.pos-category-add-chip:hover{background:var(--pos-sage-soft)}.pos-product-scroll{flex:1;overflow-y:auto;padding-right:4px;margin-bottom:10px}.pos-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.pos-product-card{background:#fff;border:1px solid var(--pos-border-light);border-radius:14px;overflow:hidden;cursor:pointer;transition:all .18s ease;display:flex;flex-direction:column;box-shadow:var(--pos-shadow-subtle);position:relative}.pos-product-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0000000d;border-color:#d3d8d2}.pos-product-card.is-disabled{opacity:.72;cursor:pointer}.pos-product-img-wrap{width:100%;aspect-ratio:4 / 3;background-color:#fff;position:relative;overflow:hidden}.pos-product-img-wrap img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}.pos-product-img-placeholder{width:100%;height:100%;display:grid;place-items:center;background:#eae8e2;color:var(--pos-sage-dark);font-size:32px;font-weight:700}.pos-stock-tag{position:absolute;top:8px;left:8px;padding:3px 8px;border-radius:6px;font-size:10px;font-weight:700;letter-spacing:.3px;text-transform:uppercase}.pos-stock-tag.out{background-color:#fee2e2;color:#991b1b}.pos-stock-tag.low{background-color:#fef3c7;color:#92400e}.pos-card-edit-action{position:absolute;top:8px;right:8px;width:26px;height:26px;border-radius:6px;background:#fff;border:1px solid var(--pos-border);color:var(--pos-text-dark);display:grid;place-items:center;cursor:pointer;box-shadow:0 2px 6px #00000014}.pos-card-edit-action:hover{background:var(--pos-sage-soft);color:var(--pos-sage-dark)}.pos-product-meta{padding:12px;display:flex;flex-direction:column;gap:4px}.pos-product-name{font-size:15px;font-weight:600;color:var(--pos-text-dark);margin:0;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pos-product-price{font-size:14px;font-weight:700;color:var(--pos-sage-dark)}.pos-empty-products{display:flex;flex-direction:column;align-items:center;justify-content:center;height:300px;text-align:center;color:var(--pos-text-muted)}.pos-empty-icon{margin-bottom:12px;opacity:.4}.pos-empty-products h3{font-size:16px;color:var(--pos-text-dark);margin-bottom:4px}.pos-empty-products p{font-size:13px}.pos-bottom-footer{height:36px;display:flex;align-items:center;justify-content:space-between;padding-top:8px;border-top:1px solid var(--pos-border-light);font-size:12px;color:var(--pos-text-muted)}.pos-footer-quote{font-style:italic;opacity:.85}.pos-footer-status{display:flex;align-items:center;gap:14px;font-weight:500}.pos-online-indicator{display:flex;align-items:center;gap:5px;color:#15803d;font-weight:600}.pos-dot-green{width:7px;height:7px;border-radius:50%;background-color:#22c55e;display:inline-block}.pos-order-panel{width:480px;min-width:480px;height:100vh;background-color:var(--pos-order-bg);border-left:1px solid var(--pos-border);display:flex;flex-direction:column;box-sizing:border-box}.pos-order-header{padding:20px 24px;border-bottom:1px solid var(--pos-border);display:flex;align-items:center;justify-content:space-between}.pos-order-header-left{display:flex;align-items:center;gap:10px}.pos-order-header-left h2{font-size:20px;font-weight:700;margin:0;color:var(--pos-text-dark)}.pos-order-count{background:var(--pos-sage-soft);color:var(--pos-sage-dark);font-size:12px;font-weight:700;padding:2px 10px;border-radius:999px}.pos-order-header-right{display:flex;flex-direction:column;align-items:flex-end}.pos-order-no-label{font-size:10px;text-transform:uppercase;letter-spacing:.5px;color:var(--pos-text-muted)}.pos-order-no-val{font-size:13px;font-weight:700;color:var(--pos-text-dark);font-family:monospace}.pos-order-items-scroll{flex:1;overflow-y:auto;padding:16px 24px}.pos-order-items-list{display:flex;flex-direction:column;gap:12px}.pos-order-item{display:flex;align-items:center;gap:12px;padding:10px;background:#fff;border:1px solid var(--pos-border-light);border-radius:12px}.pos-item-thumb{width:44px;height:44px;border-radius:8px;overflow:hidden;background:#fff;flex-shrink:0}.pos-item-thumb img{width:100%;height:100%;object-fit:contain;object-position:center}.pos-item-thumb-fallback{width:100%;height:100%;display:grid;place-items:center;color:var(--pos-sage-dark);font-weight:700;font-size:16px}.pos-item-details{flex:1;min-width:0;display:flex;flex-direction:column}.pos-item-name{font-size:14px;font-weight:600;color:var(--pos-text-dark);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pos-item-variant{font-size:11px;color:var(--pos-text-muted);margin-bottom:2px}.pos-item-price{font-size:13px;font-weight:700;color:var(--pos-sage-dark)}.pos-item-controls{display:flex;align-items:center;gap:8px}.pos-qty-stepper{display:flex;align-items:center;border:1px solid var(--pos-border);border-radius:8px;overflow:hidden;background:#f8f7f3}.pos-qty-stepper button{width:26px;height:28px;border:none;background:transparent;color:var(--pos-text-dark);display:grid;place-items:center;padding:0;cursor:pointer}.pos-qty-stepper button:hover{background:#e9e7e1}.pos-qty-stepper input{width:32px;height:28px;border:none;background:#fff;text-align:center;font-size:13px;font-weight:700;padding:0;outline:none}.pos-qty-stepper input::-webkit-inner-spin-button,.pos-qty-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.pos-item-delete-btn{background:transparent;border:none;color:#ef4444;padding:4px;cursor:pointer;border-radius:6px;display:grid;place-items:center}.pos-item-delete-btn:hover{background:#fef2f2}.pos-order-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;min-height:200px;text-align:center;color:var(--pos-text-muted);padding:0 20px}.pos-order-empty-icon{opacity:.3;margin-bottom:10px}.pos-order-empty strong{color:var(--pos-text-dark);font-size:15px;margin-bottom:4px}.pos-order-empty p{font-size:12px}.pos-order-summary-box{padding:20px 24px;border-top:1px solid var(--pos-border);background:#fff;display:flex;flex-direction:column;gap:14px}.pos-order-settings-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pos-cash-account-select,.pos-discount-toggle{display:flex;flex-direction:column;gap:4px}.pos-cash-account-select label{font-size:11px;font-weight:600;color:var(--pos-text-muted)}.pos-cash-account-select select,.pos-discount-select{height:36px;padding:0 8px;border:1px solid var(--pos-border);border-radius:8px;font-size:12px;background:#f8f7f3;color:var(--pos-text-dark);outline:none}.pos-discount-input{height:36px;padding:0 10px;border:1px solid var(--pos-border);border-radius:8px;font-size:13px;outline:none}.pos-price-breakdown{display:flex;flex-direction:column;gap:6px;padding-top:6px;border-top:1px dashed var(--pos-border)}.pos-breakdown-row{display:flex;justify-content:space-between;font-size:13px;color:var(--pos-text-muted)}.pos-discount-text{color:#dc2626}.pos-breakdown-total{padding-top:8px;border-top:1px solid var(--pos-border-light);font-size:16px;color:var(--pos-text-dark)}.pos-total-amount{font-size:22px;font-weight:800;color:var(--pos-text-dark)}.pos-payment-method-section{display:flex;flex-direction:column;gap:6px}.pos-method-label{font-size:12px;font-weight:700;color:var(--pos-text-dark)}.pos-method-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.pos-method-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 4px;background:#fff;border:1px solid #E1DFDA;border-radius:10px;color:#484842;font-size:11px;font-weight:600;font-family:inherit;cursor:pointer;transition:all .15s ease}.pos-method-btn:hover{background:#f8f7f3}.pos-method-btn.active{background:var(--pos-sage-primary);border-color:var(--pos-sage-primary);color:#fff;box-shadow:0 2px 8px #758d794d}.pos-cash-input-section{background:#f8f7f3;border:1px solid var(--pos-border);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:10px}.pos-cash-input-row{display:flex;flex-direction:column;gap:4px}.pos-cash-input-row label{font-size:11px;font-weight:700;color:var(--pos-text-dark)}.pos-cash-input-box{display:flex;align-items:center;background:#fff;border:1px solid var(--pos-border);border-radius:8px;padding:0 10px;height:40px}.pos-cash-input-box span{font-size:13px;font-weight:600;color:var(--pos-text-muted);margin-right:6px}.pos-cash-input-box input{border:none;outline:none;width:100%;font-size:16px;font-weight:700;color:var(--pos-text-dark)}.pos-quick-cash-chips{display:flex;gap:6px;flex-wrap:wrap}.pos-quick-chip{padding:4px 10px;border-radius:6px;border:1px solid var(--pos-border);background:#fff;font-size:11px;font-weight:600;color:var(--pos-text-dark);cursor:pointer}.pos-quick-chip:hover{background:var(--pos-sage-soft);color:var(--pos-sage-dark)}.pos-change-row{display:flex;justify-content:space-between;align-items:center;padding-top:6px;border-top:1px dashed var(--pos-border);font-size:13px}.pos-change-val{font-size:18px;font-weight:800;color:var(--pos-sage-dark)}.pos-insufficient-notice{color:#dc2626;font-size:11px;font-weight:600;margin:0}.pos-submit-btn{width:100%;height:56px;background-color:var(--pos-sage-dark);color:#fff;border:none;border-radius:12px;font-size:17px;font-weight:700;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;box-shadow:0 4px 14px #365c4540;transition:all .15s ease}.pos-submit-btn:hover:not(:disabled){background-color:var(--pos-sage-hover);transform:translateY(-1px)}.pos-submit-btn:disabled{background-color:#d3d1ca;color:#8c8a82;box-shadow:none;cursor:not-allowed}.pos-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1f211e73;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px;overscroll-behavior:contain}.pos-modal-card{background:#fff;border-radius:18px;width:100%;max-width:520px;max-height:calc(100vh - 32px);display:flex;flex-direction:column;box-shadow:0 20px 50px #00000026;overflow:hidden}.pos-modal-wide{max-width:960px}.pos-product-form{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.pos-modal-header{padding:20px 24px;border-bottom:1px solid var(--pos-border);display:flex;align-items:center;justify-content:space-between;flex-shrink:0;background:#fff}.pos-modal-header h3{font-size:18px;font-weight:700;margin:0;color:var(--pos-text-dark)}.pos-modal-subhead{font-size:12px;color:var(--pos-text-muted);margin-top:2px}.pos-modal-close{background:transparent;border:none;color:var(--pos-text-muted);cursor:pointer;padding:4px;border-radius:50%;display:grid;place-items:center}.pos-modal-close:hover{background:var(--pos-bg);color:var(--pos-text-dark)}.pos-modal-body{padding:24px;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0}.pos-modal-footer{padding:16px 24px;border-top:1px solid var(--pos-border);display:flex;justify-content:flex-end;gap:10px;background:#fcfbf8;flex-shrink:0}.pos-btn-primary{padding:10px 20px;background:var(--pos-sage-dark);color:#fff;border:none;border-radius:10px;font-weight:600;font-size:14px;cursor:pointer}.pos-btn-primary:hover:not(:disabled){background:var(--pos-sage-hover)}.pos-btn-primary:disabled{opacity:.55;cursor:not-allowed}.pos-btn-ghost{padding:10px 18px;background:transparent;border:1px solid var(--pos-border);color:var(--pos-text-dark);border-radius:10px;font-weight:600;font-size:14px;cursor:pointer}.pos-btn-ghost:hover{background:#f4f3ef}.pos-btn-secondary{padding:8px 14px;background:var(--pos-sage-soft);color:var(--pos-sage-dark);border:none;border-radius:8px;font-weight:600;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;gap:6px}.pos-btn-void{padding:8px 14px;background:#b91c1c;color:#fff;border:0;border-radius:8px;font-weight:700;cursor:pointer}.pos-btn-void:disabled{opacity:.55;cursor:not-allowed}.pos-history-table-wrap td .pos-btn-void{margin-left:6px}.pos-void-dialog{display:flex;flex-direction:column;gap:10px}.pos-void-dialog p{margin:0}.pos-void-dialog textarea{min-height:105px;resize:vertical}.pos-void-warning{background:#fef2f2;color:#991b1b;border-radius:8px;padding:10px;font-size:13px}.pos-void-dialog .pos-modal-footer{margin:8px -24px -24px}.pos-void-info{display:flex;flex-direction:column;gap:5px;padding:12px;margin:14px 0;border-radius:10px;background:#fef2f2;color:#991b1b;font-size:13px}.pos-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pos-form-group{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.pos-form-group label{font-size:13px;font-weight:600;color:var(--pos-text-dark)}.pos-currency-wrap{display:flex;align-items:center;border:1px solid var(--pos-border);border-radius:8px;padding:0 10px;height:40px}.pos-currency-wrap span{font-size:13px;color:var(--pos-text-muted);margin-right:6px}.pos-currency-wrap input{border:none;outline:none;width:100%;font-size:14px;font-weight:600}.pos-flex-between{display:flex;justify-content:space-between;align-items:center}.pos-link-btn{background:transparent;border:none;color:var(--pos-sage-dark);font-size:12px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:4px}.pos-photo-preview-box{padding:10px;border:1px dashed var(--pos-border);border-radius:10px;margin-bottom:14px;background-color:#fff}.pos-photo-preview-box img{width:100%;height:140px;object-fit:contain;object-position:center;background-color:#fff;border-radius:8px;margin-top:6px;display:block}.pos-recipe-section{border-top:1px solid var(--pos-border);padding-top:16px;margin-top:10px}.pos-recipe-section h4{font-size:14px;margin:0}.pos-recipe-hint{font-size:11px;color:var(--pos-text-muted)}.pos-recipe-list{display:flex;flex-direction:column;gap:8px;margin:12px 0}.pos-recipe-row{display:grid;grid-template-columns:1fr 140px 32px;gap:8px;align-items:center}.pos-recipe-qty{display:flex;align-items:center;border:1px solid var(--pos-border);border-radius:8px;overflow:hidden;height:38px}.pos-recipe-qty input{border:none;outline:none;width:100%;padding:0 8px;font-size:13px}.pos-recipe-unit{background:#f4f3ef;padding:0 8px;height:100%;display:flex;align-items:center;font-size:11px;color:var(--pos-text-muted);border-left:1px solid var(--pos-border)}.pos-recipe-del-btn{background:transparent;border:none;color:#ef4444;cursor:pointer;padding:6px;border-radius:6px;display:grid;place-items:center}.pos-recipe-del-btn:hover{background:#fef2f2}.pos-history-table-wrap{overflow-x:auto}.pos-table{width:100%;border-collapse:collapse;font-size:13px}.pos-table th{text-align:left;padding:10px 12px;border-bottom:2px solid var(--pos-border);color:var(--pos-text-muted);font-weight:700;font-size:11px;text-transform:uppercase}.pos-table td{padding:12px;border-bottom:1px solid var(--pos-border-light)}.pos-time-small{display:block;font-size:11px;color:var(--pos-text-muted)}.pos-method-tag{background:#f4f3ef;padding:2px 8px;border-radius:6px;font-size:11px;font-weight:600}.pos-status-badge{padding:3px 10px;border-radius:999px;font-size:11px;font-weight:700}.pos-status-badge.paid,.pos-status-badge.selesai,.pos-status-badge.active{background:#dcfce7;color:#15803d}.pos-status-badge.void,.pos-status-badge.batal{background:#fee2e2;color:#991b1b}.pos-toast{position:fixed;top:20px;right:20px;z-index:2000;padding:12px 18px;border-radius:12px;display:flex;align-items:center;gap:10px;color:#fff;font-size:14px;font-weight:600;box-shadow:0 10px 30px #00000026;animation:posSlideDown .25s ease-out}.pos-toast-success{background-color:var(--pos-sage-dark)}.pos-toast-error{background-color:#dc2626}.pos-toast button{background:transparent;border:none;color:#fff;cursor:pointer;padding:2px;opacity:.8}@keyframes posSlideDown{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.pos-cat-input-row{display:flex;gap:8px;margin-top:4px}.pos-cat-input-row input{flex:1;height:38px;border:1px solid var(--pos-border);border-radius:8px;padding:0 10px}.pos-cat-list-wrap{margin-top:16px;border-top:1px solid var(--pos-border);padding-top:14px}.pos-cat-items{display:flex;flex-direction:column;gap:6px;margin-top:8px}.pos-cat-item{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;background:#f8f7f3;border-radius:8px;font-size:13px}.pos-cat-del-btn{background:transparent;border:none;color:#dc2626;font-size:12px;cursor:pointer;display:flex;align-items:center;gap:4px}@media (max-width: 1400px){.pos-product-grid{grid-template-columns:repeat(3,1fr)}.pos-order-panel{width:420px;min-width:420px}}@media (max-width: 1100px){.pos-sidebar{width:180px;min-width:180px;padding:16px 10px}.pos-order-panel{width:380px;min-width:380px}}.juuseyo-app-layout{min-height:100vh;background:#f8f7f3;color:#1f211e;font-family:Plus Jakarta Sans,sans-serif;display:flex}.juuseyo-sidebar{position:fixed;inset:0 auto 0 0;width:220px;padding:24px 16px;background:#f7f6f1;border-right:1px solid #E9E7E1;display:flex;flex-direction:column;z-index:20}.juuseyo-brand{padding:0 8px 24px;border-bottom:1px solid #E9E7E1}.juuseyo-brand-title{display:flex;align-items:center;gap:5px;font-weight:800;font-size:20px;letter-spacing:.5px}.juuseyo-brand-dot{width:6px;height:6px;border-radius:50%;background:#758d79}.juuseyo-brand-tagline{margin:4px 0 0;color:#77776f;font-size:9px;font-weight:700;letter-spacing:1.5px;line-height:1.35}.juuseyo-nav{display:flex;flex:1;flex-direction:column;gap:6px;padding-top:24px}.juuseyo-nav-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;color:#484842;font-size:14px;font-weight:600;text-decoration:none;transition:.15s}.juuseyo-nav-item:hover{background:#f0f1ed}.juuseyo-nav-item.active{background:#e6ebe5;color:#233a2b;font-weight:700}.juuseyo-sidebar-bottom{margin-top:auto;display:flex;justify-content:center}.juuseyo-script{font-family:Caveat,cursive;color:#8c998e;font-size:22px;line-height:1.02;display:flex;flex-direction:column;align-items:center;transform:rotate(-4deg)}.juuseyo-main{margin-left:220px;min-width:0;width:calc(100% - 220px)}.juuseyo-topbar{height:70px;padding:0 28px;border-bottom:1px solid #E9E7E1;display:flex;align-items:center;justify-content:flex-end;gap:22px;background:#f8f7f3f5}.juuseyo-topbar .clock{margin-right:auto;display:flex;gap:8px;color:#77776f;font-size:12px}.juuseyo-user-badge{display:flex;align-items:center;gap:9px}.juuseyo-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e6ebe5;color:#365c45}.juuseyo-user-info{display:flex;flex-direction:column;font-size:12px}.juuseyo-user-info small{color:#77776f;text-transform:capitalize}.juuseyo-btn-ghost{display:flex;align-items:center;gap:5px;background:transparent;color:#77776f;padding:7px;border:0}.finance-dashboard{padding:24px 28px 12px;max-width:1800px;margin:auto}.finance-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.finance-welcome p{margin:0 0 2px;color:#77776f;font-size:13px}.finance-welcome h1{font-size:24px;letter-spacing:-.55px;margin:0}.finance-welcome>div>span{display:block;margin-top:6px;color:#77776f;font-size:12px}.finance-date{display:flex;align-items:center;gap:8px;background:#fcfbf8;border:1px solid #E9E7E1;border-radius:12px;padding:10px 13px;color:#484842;font-weight:600;font-size:12px}.finance-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}.finance-metric{min-width:0;background:#fcfbf8;border:1px solid #E9E7E1;border-radius:16px;padding:17px;display:flex;gap:12px;box-shadow:0 2px 10px #1f211e06}.finance-metric.primary{background:#758d79;color:#fff;border-color:#758d79}.metric-icon{width:38px;height:38px;flex:none;border-radius:50%;display:grid;place-items:center;background:#eef1ec;color:#365c45}.finance-metric.primary .metric-icon{background:#ffffff2e;color:#fff}.finance-metric>div{display:flex;flex-direction:column;min-width:0}.finance-metric small{font-size:10px;font-weight:700;letter-spacing:.7px;color:#77776f}.finance-metric.primary small,.finance-metric.primary em{color:#fffc}.finance-metric strong{font-size:19px;letter-spacing:-.45px;margin-top:4px;white-space:nowrap}.finance-metric em{display:flex;align-items:center;gap:3px;color:#77776f;font-size:9px;font-style:normal;margin-top:5px}.finance-main-row{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(260px,.8fr);gap:14px;margin-bottom:14px}.finance-bottom-row{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(260px,.9fr) minmax(360px,1.35fr);gap:14px}.finance-panel{min-width:0;background:#fff;border:1px solid #E9E7E1;border-radius:16px;padding:17px;box-shadow:0 2px 10px #1f211e06}.finance-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.finance-panel-head small{font-size:8px;letter-spacing:1px;font-weight:700;color:#9a9a92}.finance-panel-head h2{margin:1px 0 0;font-size:15px;text-transform:uppercase;letter-spacing:.2px}.finance-panel-head>a{display:flex;align-items:center;gap:3px;color:#365c45;font-weight:700;font-size:10px;text-decoration:none}.period-tabs{display:flex;gap:3px;background:#f7f6f1;border-radius:9px;padding:3px}.period-tabs button{border:0;background:transparent;color:#77776f;font:600 9px inherit;padding:6px 8px;border-radius:7px}.period-tabs button.active{background:#fff;color:#365c45;box-shadow:0 1px 4px #1f211e17}.finance-chart{height:205px}.finance-legend{display:flex;justify-content:center;gap:18px;color:#77776f;font-size:10px}.finance-legend span{display:flex;align-items:center;gap:5px}.finance-legend i,.finance-tooltip i{width:7px;height:7px;border-radius:50%}.finance-legend .income{background:#365c45}.finance-legend .expense{background:#c28c86}.finance-tooltip{background:#fff;border:1px solid #E9E7E1;border-radius:10px;padding:9px;box-shadow:0 8px 20px #1f211e1a;font-size:10px}.finance-tooltip>small{display:block;color:#77776f;margin-bottom:5px}.finance-tooltip>div{display:grid;grid-template-columns:7px 1fr auto;align-items:center;gap:6px;margin-top:3px}.top-products{display:flex;flex-direction:column}.top-product{display:grid;grid-template-columns:26px 1fr;gap:8px;padding:8px 0;border-bottom:1px solid #F0EEE9}.top-product:last-child{border:0}.top-product>b{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:#e6ebe5;color:#365c45;font-size:10px}.top-product>div{min-width:0;display:flex;flex-direction:column}.top-product strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-product span{font-size:9px;color:#77776f;margin-top:2px}.top-product>div>div{height:3px;background:#f0f1ed;margin-top:6px;border-radius:9px}.top-product i{display:block;height:100%;background:#758d79;border-radius:9px}.budget-panel dl{margin:0}.budget-panel dl>div{display:flex;justify-content:space-between;align-items:center;padding:7px 0}.budget-panel dt{color:#77776f;font-size:10px}.budget-panel dd{margin:0;font-size:11px;font-weight:700}.budget-panel .remaining{border-top:1px solid #E9E7E1;margin-top:4px;padding-top:11px}.budget-panel .remaining dd{color:#365c45;font-size:14px}.budget-track{height:6px;background:#eef0ec;border-radius:9px;margin-top:11px;overflow:hidden}.budget-track i{display:block;height:100%;background:#758d79;border-radius:9px}.category-content{display:grid;grid-template-columns:140px 1fr;align-items:center}.category-donut{height:140px;position:relative}.category-donut>div:last-child{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.category-donut small{font-size:8px;color:#77776f}.category-donut strong{font-size:9px}.category-keys{display:flex;flex-direction:column;gap:7px}.category-keys>div{display:grid;grid-template-columns:7px minmax(0,1fr) auto;gap:6px;align-items:center;font-size:9px}.category-keys i{width:7px;height:7px;border-radius:50%}.category-keys span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-table>div{display:grid;grid-template-columns:40px minmax(95px,1fr) 78px auto;gap:7px;align-items:center;padding:7px 0;border-bottom:1px solid #F0EEE9}.recent-table>div:last-child{border:0}.recent-table time{font-size:9px;color:#77776f}.recent-table span{display:flex;flex-direction:column;min-width:0}.recent-table strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-table small{font-size:8px;color:#77776f}.recent-table em{font-size:7px;font-weight:800;font-style:normal;border-radius:99px;padding:4px 6px;text-align:center}.recent-table em.in{background:#e6f3e9;color:#31834a}.recent-table em.out{background:#fae8e6;color:#b84e48}.recent-table>b{font-size:9px;white-space:nowrap}.panel-empty,.dashboard-loading,.dashboard-error{min-height:130px;display:grid;place-items:center;color:#77776f;font-size:12px}.finance-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #E9E7E1;margin-top:14px;padding:10px 2px 0;color:#77776f;font-size:9px}.finance-footer i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#31834a}@media (max-width:1200px){.finance-bottom-row{grid-template-columns:repeat(2,minmax(0,1fr))}.recent-panel{grid-column:1/-1}.finance-metric strong{font-size:16px}}@media (max-width:900px){.finance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-main-row,.finance-bottom-row{grid-template-columns:1fr}.recent-panel{grid-column:auto}.period-tabs{flex-wrap:wrap}}@media (max-width:680px){.juuseyo-app-layout{display:block}.juuseyo-sidebar-bottom{display:none}.finance-dashboard{padding:18px 14px}.finance-welcome{align-items:flex-start;flex-direction:column}.finance-metrics{grid-template-columns:1fr}.finance-bottom-row{display:block}.finance-panel{margin-bottom:12px}.category-content{grid-template-columns:130px 1fr}.recent-table>div{grid-template-columns:36px 1fr auto}.recent-table em{display:none}.finance-footer{gap:10px;align-items:flex-start;flex-direction:column}.juuseyo-topbar{padding:0 14px}.juuseyo-topbar .clock{display:none}}.finance-main-row{grid-template-columns:minmax(0,1.65fr) minmax(360px,1fr);align-items:stretch;margin-bottom:14px}.finance-left-column{display:flex;flex-direction:column;gap:14px;min-width:0}.finance-bottom-left{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.finance-main-row>.recent-panel{height:100%;margin:0}.recent-panel .recent-table{max-height:420px;overflow-y:auto;padding-right:4px}@media (max-width:1200px){.finance-main-row{grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr)}.finance-bottom-left{grid-template-columns:1fr}}@media (max-width:900px){.finance-main-row{grid-template-columns:1fr}.finance-bottom-left{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:680px){.finance-bottom-left{display:block}.finance-bottom-left .finance-panel{margin-bottom:12px}}html,body{width:100%;max-width:100vw;overflow-x:hidden}.juuseyo-app-layout,.juuseyo-main,.pos-app-layout,.pos-center-area,.pos-order-panel,.dashboard-shell,.finance-dashboard,.card,.modal-overlay,.pos-modal-overlay{min-width:0}button,input,select,textarea{max-width:100%}@media (max-width: 768px){button,input,select{min-height:38px}}.modal-overlay,.pos-modal-overlay,.budget-modal-overlay{padding:12px!important}.modal,.pos-modal-card,.budget-modal{max-width:min(520px,94vw)!important;max-height:calc(100vh - 24px)!important;overflow-y:auto!important}.pos-modal-wide,.modal-wide,.budget-modal-wide{max-width:min(960px,95vw)!important}.juuseyo-mobile-menu-btn,.juuseyo-sidebar-header-mobile,.juuseyo-sidebar-backdrop{display:none}@media (max-width: 1024px){.juuseyo-app-layout{display:block!important;width:100%!important;min-height:100vh}.juuseyo-main{margin-left:0!important;width:100%!important}.juuseyo-topbar{padding:0 16px!important;height:60px!important;justify-content:space-between!important;position:sticky;top:0;z-index:90;background:#f8f7f3fa}.juuseyo-mobile-menu-btn{display:flex!important;align-items:center;justify-content:center;background:#fff;border:1px solid #E9E7E1;color:#1f211e;width:40px;height:40px;border-radius:10px;cursor:pointer;flex-shrink:0}.juuseyo-topbar .clock{display:none!important}.juuseyo-user-badge{margin-left:auto}.juuseyo-sidebar{position:fixed!important;top:0;left:0;bottom:0;width:270px!important;max-width:82vw!important;height:100vh!important;z-index:1000!important;transform:translate(-100%);transition:transform .25s cubic-bezier(.16,1,.3,1);box-shadow:4px 0 24px #0000001f;background:#f7f6f1}.juuseyo-sidebar.mobile-open{transform:translate(0)!important}.juuseyo-sidebar-backdrop{display:block!important;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:990}.juuseyo-sidebar-header-mobile{display:flex!important;align-items:flex-start;justify-content:space-between;padding-bottom:16px;border-bottom:1px solid #E9E7E1}.juuseyo-sidebar-close-mobile{background:transparent;border:none;color:#1f211e;padding:6px;border-radius:50%;cursor:pointer}}@media (max-width: 640px){.juuseyo-topbar{padding:0 12px!important}.juuseyo-user-info{display:none!important}.juuseyo-user-badge{gap:4px}}.pos-mobile-nav-toggle,.pos-mobile-nav-drawer,.pos-mobile-nav-backdrop,.pos-mobile-cart-bar,.pos-order-close-mobile,.pos-order-backdrop{display:none}@media (max-width: 1400px){.pos-product-grid{grid-template-columns:repeat(3,1fr)}.pos-order-panel{width:400px;min-width:400px}}@media (max-width: 1024px){.pos-sidebar{display:none!important}.pos-app-layout{flex-direction:column;height:100vh;overflow:hidden}.pos-center-area{width:100%!important;height:100vh;padding:14px 16px 80px;overflow-y:auto}.pos-top-header{gap:12px;margin-bottom:14px}.pos-mobile-nav-toggle{display:flex!important;align-items:center;justify-content:center;background:#fff;border:1px solid var(--pos-border);border-radius:10px;width:42px;height:42px;color:var(--pos-text-dark);cursor:pointer;flex-shrink:0;box-shadow:var(--pos-shadow-subtle)}.pos-search-box{max-width:100%}.pos-product-grid{grid-template-columns:repeat(3,1fr)!important;gap:14px}.pos-mobile-nav-backdrop{display:block!important;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:1290}.pos-mobile-nav-drawer{display:flex!important;position:fixed;top:0;left:0;bottom:0;width:280px;max-width:82vw;height:100vh;background:var(--pos-sidebar-bg);border-right:1px solid var(--pos-border);z-index:1300;padding:20px 16px;flex-direction:column;transform:translate(-100%);transition:transform .25s cubic-bezier(.16,1,.3,1);box-shadow:4px 0 24px #0000001f}.pos-mobile-nav-drawer.open{transform:translate(0)}.pos-mobile-nav-header{display:flex;align-items:flex-start;justify-content:space-between;padding-bottom:16px;border-bottom:1px solid var(--pos-border)}.pos-mobile-nav-close{background:transparent;border:none;color:var(--pos-text-dark);padding:6px;border-radius:50%;cursor:pointer}.pos-order-backdrop{display:block!important;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:1190}.pos-order-panel{position:fixed!important;bottom:0;left:0;right:0;top:auto;width:100%!important;min-width:0!important;height:90vh!important;max-height:90vh!important;border-radius:20px 20px 0 0;z-index:1200!important;box-shadow:0 -10px 40px #00000040;transform:translateY(100%);transition:transform .28s cubic-bezier(.16,1,.3,1);display:flex!important;flex-direction:column;background:var(--pos-order-bg);overflow:hidden}.pos-order-panel.mobile-open{transform:translateY(0)!important}.pos-order-close-mobile{display:flex!important;align-items:center;justify-content:center;background:#f4f3ef;border:none;color:var(--pos-text-dark);padding:6px;border-radius:50%;cursor:pointer}.pos-order-header-right{display:flex;align-items:center;gap:12px}.pos-order-no-wrap{display:flex;flex-direction:column;align-items:flex-end}.pos-order-items-scroll{flex:1;overflow-y:auto;min-height:0}.pos-order-summary-box{overflow-y:auto;max-height:55vh}.pos-mobile-cart-bar{display:block!important;position:fixed;bottom:0;left:0;right:0;padding:10px 14px;background:#fff;border-top:1px solid var(--pos-border);box-shadow:0 -4px 16px #00000014;z-index:900}.pos-mobile-cart-trigger{width:100%;height:52px;background:var(--pos-sage-dark);color:#fff;border:none;border-radius:12px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;box-shadow:0 4px 12px #365c4540}.pos-mobile-cart-trigger-info{display:flex;align-items:center;gap:12px}.pos-mobile-cart-badge{position:relative;display:flex;align-items:center}.pos-mobile-cart-badge span{position:absolute;top:-6px;right:-8px;background:#dc2626;color:#fff;font-size:10px;font-weight:800;padding:1px 5px;border-radius:99px}.pos-mobile-cart-texts{display:flex;flex-direction:column;text-align:left;line-height:1.25}.pos-mobile-cart-texts strong{font-size:14px;font-weight:700}.pos-mobile-cart-texts small{font-size:11px;opacity:.8}.pos-mobile-cart-trigger-total{display:flex;align-items:center;gap:6px;font-size:16px;font-weight:800}}@media (max-width: 640px){.pos-center-area{padding:12px 12px 76px}.pos-product-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px}.pos-product-meta{padding:8px 10px}.pos-product-name,.pos-product-price{font-size:13px}.pos-user-badge .pos-user-info{display:none}.pos-user-badge{padding:6px}.pos-bottom-footer{display:none}.pos-method-grid{grid-template-columns:repeat(2,1fr)!important}.pos-recipe-row{grid-template-columns:1fr!important;gap:6px}.pos-recipe-qty{width:100%}.pos-recipe-del-btn{justify-self:end}.finance-dashboard{padding:16px 12px}.finance-welcome h1{font-size:20px}.finance-metrics{grid-template-columns:1fr!important}.pos-detail-modal{max-width:min(480px,94vw)!important;max-height:min(720px,88vh)!important;overflow:hidden!important}.pos-detail-modal .pos-modal-header{padding:15px 20px}.pos-detail-modal .pos-modal-body{padding:18px 20px}.pos-detail-modal .pos-modal-footer{padding:12px 20px}.pos-detail-product{display:flex;align-items:center;gap:14px;padding:12px 14px;background:#f8f7f3;border:1px solid var(--pos-border);border-radius:14px;margin-bottom:14px}.pos-detail-thumb{width:56px;height:56px;border-radius:10px;overflow:hidden;background:#fff;flex-shrink:0}.pos-detail-thumb img{width:100%;height:100%;object-fit:contain}.pos-detail-thumb-fallback{width:100%;height:100%;display:grid;place-items:center;font-size:22px;font-weight:700;color:var(--pos-sage-dark);background:#eae8e2}.pos-detail-product-meta{display:flex;flex-direction:column;min-width:0;flex:1}.pos-detail-product-meta h4{margin:0;font-size:16px;font-weight:700;color:var(--pos-text-dark)}.pos-detail-product-variant{font-size:12px;color:var(--pos-text-muted)}.pos-detail-product-price{font-size:15px;font-weight:800;color:var(--pos-sage-dark);margin-top:2px}.pos-detail-stock-warning{display:flex;flex-direction:column;gap:2px;margin-top:8px;padding:8px 10px;border:1px solid #F3C7C3;border-radius:9px;background:#fff3f1;color:#9f342c}.pos-detail-stock-warning strong{font-size:12px;font-weight:800;letter-spacing:.04em}.pos-detail-stock-warning span{font-size:12px;line-height:1.4}.pos-detail-section{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}.pos-detail-section>label{font-size:13px;font-weight:700;color:var(--pos-text-dark)}.pos-detail-section-head{display:flex;justify-content:space-between;align-items:center}.pos-detail-section-head>label{font-size:13px;font-weight:700;color:var(--pos-text-dark)}.pos-detail-add-topping-btn{background:transparent;border:1px dashed var(--pos-sage-primary);color:var(--pos-sage-dark);border-radius:6px;padding:3px 8px;font-size:12px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:4px}.pos-detail-add-topping-btn:hover{background:var(--pos-sage-soft)}.pos-option-chips{display:flex;gap:8px;flex-wrap:wrap}.pos-option-chip{flex:1;padding:8px 12px;border:1px solid var(--pos-border);border-radius:10px;background:#fff;color:var(--pos-text-dark);font-size:13px;font-weight:600;cursor:pointer;transition:all .15s ease;text-align:center;display:inline-flex;align-items:center;justify-content:center;gap:5px}.pos-option-chip:hover{border-color:var(--pos-sage-primary);background:var(--pos-sage-soft)}.pos-option-chip.active{background:var(--pos-sage-primary);border-color:var(--pos-sage-primary);color:#fff;box-shadow:0 2px 6px #758d794d}.pos-topping-list{display:flex;flex-direction:column;gap:6px}.pos-topping-item{display:flex;align-items:center;padding:8px 12px;border:1px solid var(--pos-border-light);border-radius:10px;background:#fff;cursor:pointer;-webkit-user-select:none;user-select:none}.pos-topping-item:hover{background:#f8f7f3}.pos-topping-item input[type=checkbox]{width:16px;height:16px;accent-color:var(--pos-sage-dark);margin-right:10px;cursor:pointer}.pos-topping-name{font-size:13px;font-weight:600;color:var(--pos-text-dark);flex:1}.pos-topping-price{font-size:13px;font-weight:700;color:var(--pos-sage-dark)}.pos-topping-form{background:#f8f7f3;border:1px solid var(--pos-border);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.pos-topping-form label{display:flex;flex-direction:column;gap:4px}.pos-topping-form label span{font-size:11px;font-weight:600;color:var(--pos-text-muted)}.pos-topping-form input{height:34px;padding:0 10px;border:1px solid var(--pos-border);border-radius:6px;font-size:13px}.pos-topping-form-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:4px}.pos-detail-qty-stepper{width:fit-content;border-radius:10px}.pos-detail-qty-stepper button{width:34px;height:36px}.pos-detail-qty-stepper input{width:44px;height:36px;font-size:15px}.pos-detail-summary{background:#f8f7f3;border:1px dashed var(--pos-border);border-radius:12px;padding:12px 16px;display:flex;flex-direction:column;gap:6px}.pos-detail-summary-row{display:flex;justify-content:space-between;font-size:13px;color:var(--pos-text-muted)}.pos-detail-summary-row strong{color:var(--pos-text-dark)}.pos-detail-summary-total{border-top:1px solid var(--pos-border);padding-top:6px;font-size:15px;font-weight:800;color:var(--pos-text-dark)}.pos-detail-summary-total strong{color:var(--pos-sage-dark);font-size:18px}.pos-btn-add-basket{background-color:var(--pos-sage-dark)!important}.pos-btn-add-basket:hover{background-color:var(--pos-sage-hover)!important}.pos-item-header-row{display:flex;align-items:center;justify-content:space-between;gap:6px}.pos-item-edit-btn{background:transparent;border:none;color:var(--pos-sage-dark);cursor:pointer;padding:2px;border-radius:4px;display:grid;place-items:center}.pos-item-edit-btn:hover{background:var(--pos-sage-soft)}.pos-item-customization{font-size:11px;color:var(--pos-text-muted);font-weight:500}.pos-item-toppings{font-size:11px;color:var(--pos-sage-dark);font-weight:600}.summary-grid,.form-row{grid-template-columns:1fr!important}}.pos-modal-card.pos-detail-modal{width:min(94vw,560px);max-width:min(94vw,560px)!important;max-height:90vh!important;overflow:hidden!important;display:flex;flex-direction:column}.pos-detail-modal .pos-modal-header,.pos-detail-modal .pos-modal-footer{flex:0 0 auto}.pos-detail-modal .pos-modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}.pos-detail-modal .pos-detail-product{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden}.pos-detail-modal .pos-detail-thumb{position:relative;width:100%;height:clamp(260px,32vh,300px);max-height:300px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:0;background:#fff}.pos-detail-modal .pos-detail-image{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}.pos-detail-modal .pos-detail-thumb-fallback{position:absolute;top:0;right:0;bottom:0;left:0}.pos-detail-modal .pos-detail-product-meta{padding:12px 14px}@media (max-width: 640px){.pos-modal-card.pos-detail-modal{width:min(94vw,560px)}.pos-detail-modal .pos-detail-thumb{height:clamp(180px,34vh,240px)}}.pos-customization-hint{color:#64748b;font-size:12px;line-height:1.6;margin:8px 0 12px}.pos-topping-item.selected{border-color:#df4770;background:#fff1f5}.pos-detail-modal .pos-option-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pos-detail-modal .pos-option-chip{justify-content:center;min-height:44px}.pos-detail-modal .pos-topping-item{min-height:48px}.pos-detail-modal .pos-detail-section-head{flex-wrap:wrap;gap:8px}.pos-detail-modal .pos-modal-footer{background:#fff}.pos-detail-modal button:focus-visible,.pos-topping-item:focus-within{outline:2px solid #df4770;outline-offset:3px}.recent-table em.neutral{background:#eef0ec;color:#647064}
