:root{font-family:Arial,Segoe UI,Tahoma,sans-serif;color:#172033;background:#f4f8fb;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled,input:disabled,textarea:disabled{cursor:not-allowed;opacity:.7}.page{min-height:100vh;padding:32px;background:radial-gradient(circle at top right,rgba(233,30,140,.12),transparent 32%),linear-gradient(180deg,#f7fcff,#eef6fa)}.shell{width:min(1180px,100%);margin:0 auto}.centered-page,.auth-page{display:grid;place-items:center}.auth-card,.loading-card{width:min(470px,100%);padding:34px;border:1px solid #dce9ef;border-radius:26px;background:#fffffff7;box-shadow:0 20px 50px #1d475d1f}.auth-brand{display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:inline-block;color:#e91e8c;font-size:14px;font-weight:800;letter-spacing:.08em}.version{flex:0 0 auto;padding:9px 14px;border-radius:999px;color:#9c125e;background:#ffe6f3;font-size:14px;font-weight:800}.auth-card h1,.loading-card h1{margin:28px 0 10px;font-size:clamp(28px,6vw,38px)}.auth-description,.loading-card p{margin:0;color:#687788;line-height:1.8}.auth-form{display:grid;gap:18px;margin-top:28px}.auth-form label,.open-day-form label{display:grid;gap:8px;color:#344554;font-weight:700}.auth-form input,.open-day-form input,.open-day-form textarea{width:100%;border:1px solid #cfdee5;border-radius:13px;outline:none;background:#fff;color:#172033;transition:border-color .16s ease,box-shadow .16s ease}.auth-form input,.open-day-form input{min-height:50px;padding:0 14px}.open-day-form textarea{padding:14px;resize:vertical;line-height:1.6}.auth-form input:focus,.open-day-form input:focus,.open-day-form textarea:focus{border-color:#e91e8c;box-shadow:0 0 0 4px #e91e8c1a}.primary-button,.secondary-button{min-height:48px;border-radius:13px;font-weight:800}.primary-button{border:0;color:#fff;background:#e91e8c;box-shadow:0 9px 20px #e91e8c33}.primary-button:hover:not(:disabled){background:#d4177f}.secondary-button{padding:0 18px;border:1px solid #d4e1e7;color:#344554;background:#fff}.secondary-button:hover{background:#f6fafc}.security-note{margin-top:22px;padding-top:18px;border-top:1px solid #edf1f3;color:#71808e;font-size:13px;text-align:center}.loading-card{text-align:center}.loading-mark{display:grid;width:70px;height:70px;margin:0 auto;place-items:center;border-radius:22px;color:#fff;background:#e91e8c;font-size:22px;font-weight:900;box-shadow:0 12px 25px #e91e8c3d}.header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:30px;border:1px solid #dce9ef;border-radius:24px;background:#fffffff0;box-shadow:0 16px 40px #1d475d14}.header h1{margin:8px 0 0;font-size:clamp(30px,5vw,48px)}.header p{max-width:680px;margin:12px 0 0;color:#617081;font-size:17px;line-height:1.8}.header-actions{display:flex;align-items:center;gap:12px}.user-chip{display:grid;gap:3px;min-width:150px;padding:10px 14px;border:1px solid #e0e9ed;border-radius:14px;background:#f8fbfc}.user-chip span{color:#7a8894;font-size:12px}.user-chip strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-banner{display:flex;align-items:center;gap:14px;margin-top:22px;padding:18px 22px;border:1px solid;border-radius:18px}.session-open{border-color:#bfe5d0;background:#effbf4}.session-closed{border-color:#f0d4df;background:#fff5f8}.session-indicator{width:12px;height:12px;flex:0 0 auto;border-radius:50%}.session-open .session-indicator{background:#27a463;box-shadow:0 0 0 6px #27a4631f}.session-closed .session-indicator{background:#d94e7e;box-shadow:0 0 0 6px #d94e7e1f}.session-banner>div:not(.session-indicator){display:grid;gap:3px}.session-label,.session-banner-value span{color:#6e7d89;font-size:12px}.session-banner-value{margin-inline-start:auto;text-align:left}.work-panel{margin-top:22px;padding:28px;border:1px solid #dce9ef;border-radius:22px;background:#fff;box-shadow:0 12px 30px #1d475d0f}.panel-heading{display:flex;align-items:center;gap:16px}.panel-icon{display:grid;width:58px;height:58px;flex:0 0 auto;place-items:center;border-radius:17px;background:#edfafd;font-size:28px}.panel-heading h2{margin:0;font-size:25px}.panel-heading p{margin:7px 0 0;color:#687788;line-height:1.7}.open-day-form{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(300px,1.2fr);gap:20px;margin-top:26px}.open-day-form small{color:#82909b;font-weight:400}.money-input{position:relative}.money-input input{padding-left:52px}.money-input>span{position:absolute;top:50%;left:17px;color:#536473;font-weight:900;transform:translateY(-50%)}.open-button,.open-day-form .alert{grid-column:1 / -1}.open-button{width:min(260px,100%);justify-self:start}.alert{padding:13px 15px;border:1px solid;border-radius:12px;line-height:1.6}.error-alert{border-color:#f0b8c8;color:#a72853;background:#fff1f5}.success-alert{border-color:#bde2cb;color:#176a40;background:#effbf4}.session-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:26px}.session-details>div{display:grid;gap:7px;min-height:92px;padding:16px;border:1px solid #e0e9ed;border-radius:15px;background:#f8fbfc}.session-details span,.session-note span{color:#73818d;font-size:13px}.session-details strong{align-self:end}.session-note{margin-top:16px;padding:16px;border-right:4px solid #e91e8c;border-radius:12px;background:#fff6fa}.session-note p{margin:7px 0 0;line-height:1.7}.modules{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-top:22px}.module-card{min-height:225px;padding:22px;border:1px solid #dce9ef;border-radius:20px;background:#fff;box-shadow:0 10px 26px #1d475d0d}.module-locked{opacity:.55;filter:grayscale(.35)}.module-icon{display:grid;width:50px;height:50px;place-items:center;border-radius:15px;background:#edfafd;font-size:25px}.module-card h2{margin:18px 0 8px;font-size:19px}.module-card p{margin:0;color:#687788;line-height:1.65}.coming-soon{display:inline-block;margin-top:20px;padding:7px 11px;border-radius:999px;color:#526270;background:#f1f5f7;font-size:12px;font-weight:700}.footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px;padding:20px 24px;border:1px solid #dce9ef;border-radius:20px;background:#fff}.footer div{display:flex;gap:8px;flex-wrap:wrap}.footer span{color:#687788}.footer code{direction:ltr;padding:8px 12px;border-radius:10px;color:#344554;background:#f2f6f8}.close-day-block{margin-top:26px;padding-top:24px;border-top:1px solid #e6ecef}.close-day-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.close-day-heading h3{margin:0;font-size:21px}.close-day-heading p{margin:7px 0 0;color:#687788;line-height:1.7}.danger-badge{flex:0 0 auto;padding:7px 11px;border-radius:999px;color:#a72853;background:#fff0f5;font-size:12px;font-weight:800}.close-day-form{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(300px,1.2fr);gap:20px;margin-top:20px}.close-day-form label{display:grid;gap:8px;color:#344554;font-weight:700}.close-day-form small{color:#82909b;font-weight:400}.close-day-form input,.close-day-form textarea{width:100%;border:1px solid #cfdee5;border-radius:13px;outline:none;color:#172033;background:#fff}.close-day-form input{min-height:50px;padding:0 14px}.close-day-form textarea{padding:14px;resize:vertical;line-height:1.6}.close-day-form input:focus,.close-day-form textarea:focus{border-color:#d94e7e;box-shadow:0 0 0 4px #d94e7e1a}.close-day-form .alert,.danger-button{grid-column:1 / -1}.danger-button{width:min(260px,100%);min-height:48px;justify-self:start;border:0;border-radius:13px;color:#fff;background:#c92f61;font-weight:800;box-shadow:0 9px 20px #c92f6133}.danger-button:hover:not(:disabled){background:#ae2553}@media(max-width:1050px){.modules{grid-template-columns:repeat(3,minmax(0,1fr))}.session-details{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.page{padding:16px}.header,.footer,.header-actions{flex-direction:column;align-items:stretch}.open-day-form,.close-day-form{grid-template-columns:1fr}.close-day-heading{flex-direction:column}.modules{grid-template-columns:repeat(2,minmax(0,1fr))}.session-banner{align-items:flex-start;flex-wrap:wrap}.session-banner-value{width:100%;margin-inline-start:26px;text-align:right}}@media(max-width:520px){.auth-card,.loading-card,.header,.work-panel{padding:22px}.modules,.session-details{grid-template-columns:1fr}.module-card{min-height:auto}.panel-heading{align-items:flex-start}}.footer-technical{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.sale-panel{margin-top:22px;padding:28px;border:1px solid #dce9ef;border-radius:22px;background:#fff;box-shadow:0 12px 30px #1d475d0f}.barcode-form{display:grid;grid-template-columns:minmax(0,1fr) 180px;align-items:end;gap:14px;margin-top:24px}.barcode-form label,.sale-line-fields label,.sale-customer-fields label,.sale-summary label{display:grid;gap:7px;color:#344554;font-weight:700}.barcode-form input,.sale-line-fields input,.sale-line-fields select,.sale-customer-fields input,.sale-customer-fields textarea,.sale-summary input{width:100%;min-height:46px;padding:0 13px;border:1px solid #cfdee5;border-radius:12px;outline:none;color:#172033;background:#fff}.sale-customer-fields textarea{min-height:80px;padding:12px;resize:vertical}.barcode-form input:focus,.sale-line-fields input:focus,.sale-line-fields select:focus,.sale-customer-fields input:focus,.sale-customer-fields textarea:focus,.sale-summary input:focus{border-color:#e91e8c;box-shadow:0 0 0 4px #e91e8c1a}.sale-alert{margin-top:16px}.empty-cart{margin-top:20px;padding:28px;border:1px dashed #cfdde4;border-radius:16px;color:#71808e;background:#f9fbfc;text-align:center}.sale-cart{display:grid;gap:14px;margin-top:20px}.sale-line{display:grid;grid-template-columns:86px minmax(0,1fr) 130px;gap:16px;padding:16px;border:1px solid #e0e9ed;border-radius:17px;background:#fbfdfe}.sale-line>img{width:86px;height:86px;border-radius:13px;object-fit:cover;background:#eef3f5}.sale-line-main{min-width:0}.sale-line-main>strong{display:block;font-size:18px}.sale-line-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}.sale-line-meta span{padding:5px 8px;border-radius:8px;color:#5f6f7c;background:#eef3f5;font-size:12px}.sale-line-fields{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr));gap:12px;margin-top:14px}.sale-line-fields label>span,.sale-customer-fields label>span,.sale-summary label>span{font-size:13px}.sale-line-total{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:14px}.sale-line-total strong{font-size:18px}.sale-line-total button{border:0;color:#ad2857;background:transparent;font-weight:800}.sale-checkout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;margin-top:24px;padding-top:22px;border-top:1px solid #e5ecef}.sale-customer-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:14px}.sale-notes{grid-column:1 / -1}.sale-summary{display:grid;gap:13px;padding:18px;border:1px solid #dce9ef;border-radius:17px;background:#f8fbfc}.sale-summary>div{display:flex;align-items:center;justify-content:space-between;gap:14px}.sale-grand-total{padding:13px 0;border-top:1px solid #dce6ea;border-bottom:1px solid #dce6ea;font-size:19px}.sale-grand-total strong{color:#e91e8c}.complete-sale-button{min-height:54px}.last-sale-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding:16px;border:1px solid #bde2cb;border-radius:15px;background:#effbf4}.last-sale-actions>div{display:grid;gap:5px}.receipt-print-area{display:none}@media(max-width:900px){.sale-line{grid-template-columns:72px minmax(0,1fr)}.sale-line>img{width:72px;height:72px}.sale-line-total{grid-column:1 / -1;flex-direction:row}.sale-line-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.sale-checkout{grid-template-columns:1fr}}@media(max-width:620px){.sale-panel{padding:20px}.barcode-form,.sale-customer-fields,.sale-line-fields,.sale-line{grid-template-columns:1fr}.sale-line>img{width:100%;height:180px}.last-sale-actions{flex-direction:column;align-items:stretch}}.today-sales-panel{margin-top:22px;padding:28px;border:1px solid #dce9ef;border-radius:22px;background:#fff;box-shadow:0 12px 30px #1d475d0f}.today-sales-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.today-sales-actions{display:flex;gap:10px}.today-sales-actions button{min-width:130px;padding:0 18px}.today-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:22px}.today-summary>div{display:grid;gap:7px;min-height:82px;padding:14px;border:1px solid #e0e9ed;border-radius:14px;background:#f8fbfc}.today-summary span{color:#71808e;font-size:12px}.today-summary strong{align-self:end;font-size:17px}.today-sales-table-wrap{margin-top:20px;overflow-x:auto;border:1px solid #dce6ea;border-radius:15px}.today-sales-table{width:100%;min-width:950px;border-collapse:collapse}.today-sales-table th,.today-sales-table td{padding:12px;border-bottom:1px solid #e5ecef;text-align:right;vertical-align:top}.today-sales-table th{color:#435362;background:#f1f7f9;font-size:13px;white-space:nowrap}.today-sales-table td{font-size:13px}.today-sales-table td strong,.today-sales-table td small{display:block}.today-sales-table td small{margin-top:4px;color:#7b8994}.invoice-search-block{margin-top:26px;padding-top:24px;border-top:1px solid #e5ecef}.invoice-search-block h3{margin:0;font-size:21px}.invoice-search-block p{margin:7px 0 0;color:#687788;line-height:1.7}.invoice-search-form{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:12px;margin-top:16px}.invoice-search-form input{width:100%;min-height:48px;padding:0 14px;border:1px solid #cfdee5;border-radius:12px;outline:none;color:#172033;background:#fff}.invoice-search-form input:focus{border-color:#e91e8c;box-shadow:0 0 0 4px #e91e8c1a}.invoice-details{margin-top:20px;padding:18px;border:1px solid #cfe1e8;border-radius:17px;background:#fbfdfe}.invoice-details-header{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.invoice-details-header>div{display:grid;gap:5px;padding:12px;border-radius:12px;background:#eef5f8}.invoice-details-header span{color:#71808e;font-size:12px}.invoice-internal-items{display:grid;gap:12px;margin-top:16px}.invoice-internal-item{display:grid;grid-template-columns:1.25fr 1fr .8fr 1.1fr;gap:14px;padding:14px;border:1px solid #e1e9ed;border-radius:13px;background:#fff}.invoice-internal-item>div{display:grid;align-content:start;gap:6px}.invoice-internal-item span{color:#5e6e7a;font-size:13px}.invoice-note{margin-top:15px;padding:14px;border-right:4px solid #e91e8c;border-radius:11px;background:#fff5fa}.invoice-note p{margin:6px 0 0}.daily-sales-print-area{display:none}@media(max-width:950px){.today-summary,.invoice-details-header,.invoice-internal-item{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.today-sales-panel{padding:20px}.today-sales-heading,.today-sales-actions{flex-direction:column;align-items:stretch}.invoice-search-form,.today-summary,.invoice-details-header,.invoice-internal-item{grid-template-columns:1fr}}@page receipt{size:56mm auto;margin:2mm}@page daily-sales{size:A4 landscape;margin:9mm}@media print{body *{visibility:hidden!important}body[data-print-mode=receipt]{width:56mm;min-width:56mm;margin:0;padding:0;background:#fff}body[data-print-mode=receipt] .receipt-print-area,body[data-print-mode=receipt] .receipt-print-area *{visibility:visible!important}body[data-print-mode=receipt] .receipt-print-area{page:receipt;position:absolute;top:0;left:0;display:block!important;width:52mm;margin:0;padding:0;color:#000;background:#fff;font-family:Arial,Tahoma,sans-serif;font-size:9px;line-height:1.4}.receipt-header{display:grid;gap:2px;text-align:center}.receipt-header strong{font-size:15px}.receipt-divider{margin:3mm 0;border-top:1px dashed #000}.receipt-info,.receipt-items,.receipt-totals{display:grid;gap:2mm}.receipt-item{display:grid;gap:1.4mm;break-inside:avoid}.receipt-item>strong{font-size:10px}.receipt-item>div,.receipt-totals>div{display:flex;justify-content:space-between;gap:2mm}.receipt-total{padding:2mm 0;border-top:1px solid #000;border-bottom:1px solid #000;font-size:11px}.receipt-invoice-barcode{display:grid;justify-items:center;gap:1mm;margin-top:4mm;text-align:center}.receipt-invoice-barcode svg{width:46mm;max-width:100%;height:10mm}.receipt-invoice-barcode span{font-size:8px;letter-spacing:.04em}.receipt-invoice-barcode small{font-size:7px}.receipt-footer{display:grid;gap:1.5mm;margin-top:4mm;padding-top:3mm;border-top:1px dashed #000;text-align:center}body[data-print-mode=daily-sales]{width:auto;min-width:0;margin:0;padding:0;background:#fff}body[data-print-mode=daily-sales] .daily-sales-print-area,body[data-print-mode=daily-sales] .daily-sales-print-area *{visibility:visible!important}body[data-print-mode=daily-sales] .daily-sales-print-area{page:daily-sales;position:absolute;inset:0;display:block!important;width:100%;color:#000;background:#fff;font-family:Arial,Tahoma,sans-serif;font-size:10px}.daily-report-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:8px;border-bottom:2px solid #000}.daily-report-header h1{margin:0;font-size:22px}.daily-report-header p{margin:3px 0 0;font-size:14px;font-weight:700}.daily-report-header>div:last-child{display:grid;gap:3px;text-align:left}.daily-report-summary{display:flex;gap:18px;flex-wrap:wrap;margin:8px 0;padding:7px;border:1px solid #000}.daily-report-table{width:100%;border-collapse:collapse;table-layout:fixed}.daily-report-table th,.daily-report-table td{padding:4px;border:1px solid #000;text-align:center;vertical-align:middle;overflow-wrap:anywhere}.daily-report-table th{font-size:9px}.daily-report-table th:nth-child(1){width:5%}.daily-report-table th:nth-child(2){width:18%}.daily-report-table th:nth-child(3){width:10%}.daily-report-table th:nth-child(4){width:22%}.daily-report-table th:nth-child(5){width:7%}.daily-report-table th:nth-child(6){width:10%}.daily-report-table th:nth-child(7){width:13%}.daily-report-table th:nth-child(8){width:15%}.daily-report-barcode svg{display:block;width:100%;max-width:55mm;height:9mm;margin:0 auto}.daily-report-footer{margin-top:7px;text-align:left;font-size:8px}}.routed-page{min-height:100vh}.app-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:28px 30px;border:1px solid #dce9ef;border-radius:24px;background:#fffffff5;box-shadow:0 16px 40px #1d475d14}.app-title h1{margin:8px 0 0;font-size:clamp(29px,4vw,44px)}.app-title p{max-width:700px;margin:10px 0 0;color:#617081;font-size:16px;line-height:1.75}.topbar-actions{display:flex;align-items:center;gap:12px}.route-home-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap}.route-content{min-height:420px}.dashboard-page{margin-top:22px}.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:27px 29px;border:1px solid #dce9ef;border-radius:22px;background:linear-gradient(135deg,#fff,#f1fbfd);box-shadow:0 12px 30px #1d475d0f}.dashboard-kicker{color:#e91e8c;font-size:13px;font-weight:900}.dashboard-hero h2{margin:7px 0 8px;font-size:29px}.dashboard-hero p{max-width:670px;margin:0;color:#667684;line-height:1.75}.dashboard-session-summary{display:grid;gap:7px;min-width:220px;padding:18px;border:1px solid #d5e5eb;border-radius:17px;background:#fff}.dashboard-session-summary span,.dashboard-session-summary small{color:#71808e}.dashboard-session-summary strong{font-size:18px}.dashboard-session-summary .primary-button{margin-top:6px;text-align:center;text-decoration:none}.dashboard-alert{margin-top:16px}.dashboard-group{margin-top:25px}.dashboard-group-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:13px}.dashboard-group-heading h2{margin:0;font-size:22px}.dashboard-group-heading p{margin:5px 0 0;color:#71808e}.dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.dashboard-card{display:flex;min-height:215px;flex-direction:column;align-items:stretch;padding:20px;border:1px solid #dce9ef;border-radius:20px;color:inherit;background:#fff;box-shadow:0 8px 22px #1d475d0a;text-align:right;text-decoration:none;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.dashboard-card:not(:disabled):hover{transform:translateY(-4px);border-color:#e7a7ca;box-shadow:0 16px 35px #4a2d431a}.dashboard-card-icon{display:grid;width:54px;height:54px;place-items:center;border-radius:16px;background:#edfafd;font-size:27px}.dashboard-card-body{flex:1}.dashboard-card h3{margin:17px 0 7px;font-size:19px}.dashboard-card p{margin:0;color:#687788;line-height:1.65}.dashboard-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}.dashboard-badge{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:850}.badge-ready{color:#23714a;background:#e8f8ef}.badge-planned{color:#8e5b10;background:#fff4db}.dashboard-arrow{display:grid;width:31px;height:31px;place-items:center;border-radius:10px;color:#a41464;background:#ffe8f4;font-size:17px;font-weight:900}.dashboard-card-locked{opacity:.58;cursor:not-allowed}.dashboard-card-locked .dashboard-badge{color:#7a5661;background:#f3e9ed}.cash-session-page,.invoice-lookup-page,.coming-soon-page{margin-top:22px}.route-message{margin-top:18px}.invoice-lookup-page,.coming-soon-page{padding:28px;border:1px solid #dce9ef;border-radius:22px;background:#fff;box-shadow:0 12px 30px #1d475d0f}.standalone-invoice-form{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:14px;margin-top:24px}.standalone-invoice-form input{width:100%;min-height:50px;padding:0 14px;border:1px solid #cfdee5;border-radius:13px;outline:none;color:#172033;background:#fff}.standalone-invoice-form input:focus{border-color:#e91e8c;box-shadow:0 0 0 4px #e91e8c1a}.invoice-page-alert{margin-top:16px}.invoice-page-empty{margin-top:20px;padding:38px;border:1px dashed #cad9e0;border-radius:16px;color:#71808e;background:#f9fbfc;text-align:center}.standalone-invoice-result{margin-top:20px;padding:18px;border:1px solid #cfe1e8;border-radius:17px;background:#fbfdfe}.standalone-invoice-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.standalone-invoice-summary>div{display:grid;gap:6px;min-height:78px;padding:13px;border-radius:12px;background:#eef5f8}.standalone-invoice-summary span,.standalone-invoice-totals span{color:#71808e;font-size:12px}.standalone-invoice-items{display:grid;gap:12px;margin-top:16px}.standalone-invoice-item{display:grid;grid-template-columns:1.25fr .8fr .8fr 1.15fr;gap:14px;padding:15px;border:1px solid #e1e9ed;border-radius:13px;background:#fff}.standalone-invoice-item>div{display:grid;align-content:start;gap:6px}.standalone-invoice-item span{color:#5e6e7a;font-size:13px}.standalone-invoice-totals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:16px}.standalone-invoice-totals>div{display:grid;gap:6px;padding:13px;border:1px solid #dce6ea;border-radius:12px;background:#fff}.standalone-invoice-note{margin-top:16px;padding:14px;border-right:4px solid #e91e8c;border-radius:11px;background:#fff5fa}.standalone-invoice-note p{margin:6px 0 0}.coming-page-heading{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:start;gap:22px}.coming-page-icon{display:grid;width:80px;height:80px;place-items:center;border-radius:22px;background:#edfafd;font-size:37px}.coming-page-badge{display:inline-flex;padding:7px 11px;border-radius:999px;color:#9c125e;background:#ffe6f3;font-size:12px;font-weight:850}.coming-page-heading h2{margin:12px 0 7px;font-size:28px}.coming-page-heading p{margin:0;color:#687788;line-height:1.75}.coming-page-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:25px}.coming-page-points>div{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid #e2eaee;border-radius:13px;background:#f8fbfc}.coming-page-points span{color:#24915a;font-weight:900}.coming-page-points p{margin:0;line-height:1.6}.today-sales-panel .invoice-search-block{display:none}@media(max-width:1150px){.dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.standalone-invoice-summary,.standalone-invoice-totals,.standalone-invoice-item{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:850px){.app-topbar,.topbar-actions,.dashboard-hero{flex-direction:column;align-items:stretch}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-session-summary{min-width:0}}@media(max-width:600px){.app-topbar,.invoice-lookup-page,.coming-soon-page{padding:21px}.dashboard-grid,.coming-page-points,.standalone-invoice-summary,.standalone-invoice-totals,.standalone-invoice-item,.standalone-invoice-form,.coming-page-heading{grid-template-columns:1fr}.dashboard-card{min-height:auto}.coming-page-icon{width:68px;height:68px;font-size:31px}}.centered-app-topbar{position:relative;display:flex;min-height:150px;align-items:center;justify-content:center;padding-inline:230px}.app-title-centered{width:100%;max-width:620px;text-align:center}.app-title-centered p{margin-inline:auto}.topbar-home-slot{position:absolute;top:50%;right:30px;min-width:135px;transform:translateY(-50%)}.topbar-home-slot .route-home-button{width:100%}.topbar-user-card{position:absolute;top:50%;left:30px;display:grid;width:190px;gap:5px;padding:12px 14px 9px;border:1px solid #d7e4ea;border-radius:14px;background:#f7fafb;text-align:center;transform:translateY(-50%)}.topbar-user-card>span{color:#778590;font-size:11px}.topbar-user-card>strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.header-logout-button{width:100%;margin-top:5px;padding:8px 5px 2px;border:0;border-top:1px solid #dce6ea;color:#b21d5e;background:transparent;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.header-logout-button:hover{color:#e91e8c}@media(max-width:850px){.centered-app-topbar{min-height:0;flex-direction:column;align-items:stretch;gap:16px;padding:22px}.app-title-centered{order:1;max-width:none;text-align:right}.app-title-centered p{margin-inline:0}.topbar-home-slot,.topbar-user-card{position:static;width:100%;min-width:0;transform:none}.topbar-home-slot{order:2}.topbar-user-card{order:3}}.topbar-clock-card{position:absolute;top:50%;right:30px;display:grid;width:155px;justify-items:center;gap:6px;transform:translateY(-50%)}.analog-clock{position:relative;width:76px;height:76px;border:3px solid #243644;border-radius:50%;background:radial-gradient(circle at center,#fff,#f5fafc 72%,#e7f1f5);box-shadow:0 7px 18px #193d4e24}.clock-tick{position:absolute;inset:4px;transform:rotate(var(--tick-rotation))}.clock-tick i{display:block;width:2px;height:6px;margin:0 auto;border-radius:2px;background:#506673}.clock-tick:nth-child(3n+1) i{width:3px;height:8px;background:#172a36}.clock-hand{position:absolute;z-index:2;bottom:50%;left:50%;border-radius:999px;transform:translate(-50%) rotate(var(--rotation));transform-origin:center bottom}.clock-hour-hand{width:4px;height:21px;background:#172a36}.clock-minute-hand{width:3px;height:28px;background:#314c5c}.clock-second-hand{width:1.5px;height:30px;background:#e91e8c}.clock-center-dot{position:absolute;z-index:4;top:50%;left:50%;width:9px;height:9px;border:2px solid #ffffff;border-radius:50%;background:#e91e8c;box-shadow:0 0 0 1px #1e354233;transform:translate(-50%,-50%)}.clock-date{display:grid;gap:1px;text-align:center}.clock-date strong{color:#182c39;font-size:13px}.clock-date span{color:#647681;font-size:12px;font-weight:700}.clock-home-button{display:flex;width:100%;min-height:33px;align-items:center;justify-content:center;margin-top:2px;border:1px solid #cedee5;border-radius:10px;color:#243744;background:#f7fafb;font-size:13px;font-weight:850;text-decoration:none;transition:border-color .15s ease,color .15s ease,background .15s ease}.clock-home-button:hover{border-color:#e91e8c;color:#b51665;background:#fff4fa}@media(max-width:850px){.topbar-clock-card{position:static;order:2;width:100%;padding:15px;border:1px solid #dce7eb;border-radius:15px;background:#f8fbfc;transform:none}.clock-home-button{max-width:240px}}.main-pos-title{display:inline-flex;align-items:center;justify-content:center;gap:10px}.brand-pos-inline{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;color:#e91e8c;background:#e91e8c17;font-size:.88rem;font-weight:900;letter-spacing:.06em;line-height:1.2}@media(max-width:600px){.main-pos-title{flex-wrap:wrap}}.document-items-table-wrap{margin-top:20px;overflow-x:auto;border:1px solid #d8e5ea;border-radius:16px;background:#fff}.document-items-table{width:100%;min-width:1180px;border-collapse:collapse;table-layout:fixed}.document-items-table th{padding:12px 9px;border-bottom:1px solid #cfdce2;color:#344956;background:#edf6f8;font-size:12px;font-weight:900;text-align:center;white-space:nowrap}.document-items-table td{padding:9px 7px;border-bottom:1px solid #e4ecef;border-inline-start:1px solid #eef3f5;vertical-align:middle}.document-items-table tbody tr:last-child td{border-bottom:0}.document-items-table tbody tr{background:#fff}.document-items-table tbody tr:hover{background:#fbfdfe}.document-items-table .document-row-incomplete{background:#fffaf1}.document-row-number{width:46px;color:#687b87;font-weight:900;text-align:center}.document-barcode-cell{width:142px;color:#324b5a;font-size:12px;font-weight:750;text-align:center;word-break:break-all}.document-code-cell{width:90px;text-align:center;font-weight:800}.document-product-cell{display:flex;min-width:250px;align-items:center;gap:10px}.document-product-cell img{width:48px;height:48px;flex:0 0 48px;border-radius:9px;object-fit:cover;background:#eef3f5}.document-product-cell>div{display:grid;gap:4px;min-width:0}.document-product-cell strong{overflow:hidden;font-size:13px;line-height:1.45;text-overflow:ellipsis}.document-product-cell small{color:#74838e;font-size:11px}.document-control-cell{width:132px}.document-quantity-cell{width:82px}.document-price-cell{width:118px}.document-control-cell select,.document-control-cell input{width:100%;min-height:38px;padding:0 8px;border:1px solid #cbdbe2;border-radius:9px;outline:none;color:#172733;background:#fff;font:inherit;font-size:12px}.document-control-cell select:focus,.document-control-cell input:focus{border-color:#e91e8c;box-shadow:0 0 0 3px #e91e8c1a}.document-control-cell select:disabled{color:#334b58;background:#f1f5f7;opacity:1}.document-money-input{display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;border:1px solid #cbdbe2;border-radius:9px;overflow:hidden;background:#fff}.document-money-input:focus-within{border-color:#e91e8c;box-shadow:0 0 0 3px #e91e8c1a}.document-money-input input{min-height:36px;border:0;border-radius:0;box-shadow:none!important}.document-money-input span{color:#536974;font-size:12px;font-weight:800;text-align:center}.document-total-cell{width:112px;color:#172c38;font-size:13px;font-weight:900;text-align:center;white-space:nowrap}.document-remove-cell{width:58px;text-align:center}.document-remove-cell button{display:inline-grid;width:32px;height:32px;place-items:center;border:0;border-radius:9px;color:#b12356;background:#ffeaf2;font-size:21px;font-weight:800;cursor:pointer}.document-remove-cell button:hover{color:#fff;background:#c82b60}.document-empty-value{display:block;color:#8b989f;text-align:center}.document-items-table{min-width:1020px;table-layout:fixed}.document-items-table th,.document-items-table td{box-sizing:border-box;padding:7px 5px;overflow:hidden;font-size:11px}.document-items-table th{font-size:11px}.document-items-table th:nth-child(1),.document-items-table td:nth-child(1){width:38px}.document-items-table th:nth-child(2),.document-items-table td:nth-child(2){width:118px}.document-items-table th:nth-child(3),.document-items-table td:nth-child(3){width:70px}.document-items-table th:nth-child(4),.document-items-table td:nth-child(4){width:235px}.document-items-table th:nth-child(5),.document-items-table td:nth-child(5){width:108px}.document-items-table th:nth-child(6),.document-items-table td:nth-child(6){width:90px}.document-items-table th:nth-child(7),.document-items-table td:nth-child(7){width:64px}.document-items-table th:nth-child(8),.document-items-table td:nth-child(8){width:96px}.document-items-table th:nth-child(9),.document-items-table td:nth-child(9){width:100px}.document-items-table th:nth-child(10),.document-items-table td:nth-child(10){width:42px}.document-row-number,.document-code-cell,.document-total-cell{font-size:11px}.document-barcode-cell{font-size:10px;word-break:break-all}.document-product-cell{display:table-cell;min-width:0;overflow:hidden;text-align:right;white-space:normal}.document-product-cell>img{float:right;width:42px;height:42px;margin-inline-start:7px;border-radius:8px}.document-product-cell>div{display:block;min-width:0;overflow:hidden}.document-product-cell:after{display:block;clear:both;content:""}.document-product-cell strong{display:-webkit-box;max-width:100%;overflow:hidden;font-size:11px;line-height:1.35;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.document-product-cell small{display:block;margin-top:3px;overflow:hidden;color:#74838e;font-size:9px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.document-control-cell select,.document-control-cell input{min-width:0;min-height:34px;padding:0 5px;font-size:10px}.document-money-input{grid-template-columns:minmax(0,1fr) 20px}.document-money-input input{min-height:32px}.document-money-input span{font-size:10px}.document-total-cell{white-space:nowrap}.document-remove-cell button{width:28px;height:28px;border-radius:7px;font-size:18px}.document-empty-value{font-size:11px}.pos-product-search-panel{margin-top:12px;overflow:hidden;border:1px solid #d5e4ea;border-radius:15px;background:#fff;box-shadow:0 12px 30px #1d475d14}.pos-product-search-panel>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 14px;border-bottom:1px solid #e1eaee;background:#f3f9fb}.pos-product-search-panel>header>div{display:grid;gap:3px}.pos-product-search-panel>header strong{color:#213b49;font-size:13px}.pos-product-search-panel>header span{color:#738590;font-size:10px}.pos-product-search-panel>header button{border:0;color:#a82255;background:transparent;font-weight:800;cursor:pointer}.pos-search-loading{padding:22px;color:#667c87;text-align:center}.pos-product-search-results{max-height:340px;overflow-y:auto;padding:7px}.pos-product-search-results>button{display:grid;width:100%;grid-template-columns:52px minmax(0,1fr) 130px;align-items:center;gap:11px;padding:9px;border:1px solid transparent;border-radius:11px;color:#172733;background:#fff;text-align:right;cursor:pointer}.pos-product-search-results>button:hover,.pos-product-search-results>button.is-active{border-color:#f0a7c4;background:#fff3f8}.pos-product-search-results img{width:52px;height:52px;border-radius:9px;object-fit:cover;background:#eef3f5}.pos-search-product-info{display:grid;gap:6px;min-width:0}.pos-search-product-info>strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.pos-search-product-info>div{display:flex;gap:12px;flex-wrap:wrap;color:#6e808a;font-size:10px}.pos-search-product-side{display:grid;justify-items:end;gap:5px}.pos-search-product-side>strong{color:#d91d78;font-size:13px}.pos-search-product-side>span{color:#398056;font-size:10px;font-weight:750}.pos-search-product-side>span.out-of-stock{color:#b02b4f}@media(max-width:620px){.pos-product-search-results>button{grid-template-columns:46px minmax(0,1fr)}.pos-product-search-results img{width:46px;height:46px}.pos-search-product-side{grid-column:1 / -1;grid-template-columns:repeat(2,auto);justify-content:space-between;justify-items:initial}}@media print{.receipt-items-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:8px}.receipt-items-table th,.receipt-items-table td{padding:1.4mm .4mm;border-bottom:1px dashed #000;text-align:center;vertical-align:middle;overflow-wrap:anywhere}.receipt-items-table th{padding-top:0;font-size:7.5px;font-weight:800}.receipt-items-table th:nth-child(1){width:7%}.receipt-items-table th:nth-child(2){width:21%}.receipt-items-table th:nth-child(3){width:31%}.receipt-items-table th:nth-child(4){width:15%}.receipt-items-table th:nth-child(5){width:26%}.receipt-items-table td:nth-child(2){font-weight:800}.receipt-items-table td:nth-child(3),.receipt-items-table td:nth-child(5){font-size:7.3px}.receipt-items-table tr{break-inside:avoid}}.invoice-print-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding:14px 16px;border:1px solid #bde2cb;border-radius:14px;background:#effbf4}.invoice-print-actions>div{display:grid;gap:4px}.invoice-print-actions span{color:#657984;font-size:12px}@media(max-width:650px){.invoice-print-actions{align-items:stretch;flex-direction:column}}@media print{.receipt-copy-label{justify-self:center;margin-top:1.5mm;padding:.7mm 2mm;border:1px solid #000;font-size:8px}}@media print{body[data-print-mode=receipt] .app-topbar,body[data-print-mode=receipt] .sale-panel{display:none!important}body[data-print-mode=receipt] .invoice-lookup-page>:not(.receipt-print-area){display:none!important}body[data-print-mode=receipt] .page,body[data-print-mode=receipt] .routed-page,body[data-print-mode=receipt] .shell,body[data-print-mode=receipt] .invoice-lookup-page{width:56mm!important;min-width:56mm!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;background:#fff!important;box-shadow:none!important}body[data-print-mode=receipt] .receipt-print-area{position:static!important;inset:auto!important;min-height:0!important;height:auto!important;break-after:avoid-page!important;page-break-after:avoid!important}}@media print{body[data-print-mode=receipt],body[data-print-mode=receipt] #root{width:56mm!important;min-width:56mm!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;background:#fff!important}body[data-print-mode=receipt] .shell{display:block!important;width:56mm!important;min-width:56mm!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important}body[data-print-mode=receipt] .shell>*{display:none!important}body[data-print-mode=receipt] .shell>.route-content{display:block!important}body[data-print-mode=receipt] .route-content{width:56mm!important;min-width:56mm!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important}body[data-print-mode=receipt] .route-content>*{display:none!important}body[data-print-mode=receipt] .route-content>.invoice-lookup-page{display:block!important}body[data-print-mode=receipt] .invoice-lookup-page{width:56mm!important;min-width:56mm!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important}body[data-print-mode=receipt] .invoice-lookup-page>*{display:none!important}body[data-print-mode=receipt] .invoice-lookup-page>.receipt-print-area{display:block!important;position:static!important;width:52mm!important;min-width:52mm!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important}}@media print{.receipt-invoice-barcode svg{width:22mm!important;max-width:22mm!important;height:22mm!important}.receipt-invoice-barcode small{font-size:7px;font-weight:700}.receipt-exchange-reminder{font-size:8px;font-weight:800;line-height:1.5}body[data-print-mode=receipt] .route-content>.receipt-print-area{display:block!important;position:static!important;width:52mm!important;min-width:52mm!important;min-height:0!important;height:auto!important}body[data-print-mode=receipt] .receipt-print-area{zoom:.8!important;margin-right:auto!important;margin-left:auto!important}}
