:root{color-scheme:light;--bg:#f5f7f4;--card:white;--ink:#19322d;--muted:#70807a;--primary:#1c5948;--primary2:#2c7960;--line:#e1e9e2;--red:#ac4f4b;--good:#197554;--soft:#e8f4ec;--amber:#b17a2e;--shadow:0 8px 30px rgba(17,51,41,.055)}*{box-sizing:border-box}html{-webkit-tap-highlight-color:transparent;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a1d1b5;outline-offset:2px}button,.btn{-webkit-touch-callout:none}h1,h2,h3,p{margin:0}h2{font-size:17px}h3{font-size:15px}.hidden{display:none!important}.muted{color:var(--muted)}.smalltext{font-size:13px;line-height:1.55}.eyebrow{font-size:11px;letter-spacing:1.8px;text-transform:uppercase;font-weight:800;color:var(--primary2)}.btn{border:0;border-radius:13px;padding:12px 17px;font-size:13px;font-weight:750;min-height:45px;white-space:nowrap}.btn.primary{background:var(--primary);color:white}.btn.secondary{background:#eef2ed;color:var(--ink);border:1px solid var(--line)}.btn.danger{background:#fcebea;color:#a03732}.btn.small{min-height:33px;padding:7px 10px}.btn.full{width:100%}.link-btn{background:none;border:0;color:var(--primary2);font-weight:750;font-size:13px;padding:8px 0;text-align:left}.link-btn.subtle{color:#d6e9dd}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.stack{display:grid;gap:14px}.gap-top{margin-top:20px}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:22px}.auth-card{background:var(--card);border:1px solid var(--line);width:min(100%,440px);padding:36px 31px;border-radius:26px;box-shadow:var(--shadow)}.auth-card h1{font-size:29px;margin:10px 0 12px;letter-spacing:-1px}.auth-card .muted{font-size:14px;line-height:1.65;margin-bottom:22px}.auth-card>.link-btn{margin-top:15px}.logo-lg{width:66px;height:66px;background:#d6ecdd;border-radius:21px;display:grid;place-items:center;color:#13543b;font-size:32px;margin-bottom:20px}.note{font-size:12px;color:#777f77;background:#f5f5ee;border:1px solid #eeeede;border-radius:12px;padding:13px;line-height:1.6;margin-top:12px}.shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{background:#173c36;color:white;padding:27px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;padding:5px 9px 27px}.brand strong{font-size:20px;letter-spacing:-.6px;display:block}.brand small{display:block;font-size:11px;color:#c1d8ca;padding-top:4px;max-width:151px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.logo{width:39px;height:39px;border-radius:13px;display:grid;place-items:center;background:#d2e9d7;color:#125a3e;font-size:20px}.sidebar nav{display:grid;gap:5px}.nav-link{background:none;color:#c3d7cc;border:0;border-radius:12px;width:100%;padding:12px 13px;text-align:left;display:flex;align-items:center;gap:14px;font-size:13px;font-weight:650}.nav-link>span{font-size:19px;width:20px;text-align:center}.nav-link.active,.nav-link:hover{background:#2c5d50;color:#fff}.sidefoot{margin-top:auto;border-top:1px solid #376155;padding:20px 10px 8px;display:grid;gap:10px;font-size:12px;color:#c6d9d0}.sidefoot small{font-size:11px;color:#abc5ba}.main{width:min(100%,1470px);padding:32px 34px 55px;margin:0 auto}.topbar{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-bottom:22px}.topbar h1{font-size:31px;letter-spacing:-1.1px;margin-top:4px}.topbar .muted{margin-top:6px;font-size:13px}.top-actions{display:flex;gap:10px;align-items:center}.top-actions input{width:154px}.offline-info,.update-banner{font-size:12px;line-height:1.55;background:#fffaed;border:1px solid #efe3c6;color:#745628;border-radius:13px;padding:11px 15px;margin-bottom:22px}.update-banner{background:#e9f6ed;color:#1e5a3f;display:flex;align-items:center;justify-content:space-between}.page{display:none}.page.active{display:block}.stats{display:grid;gap:14px;margin-bottom:17px}.stats.four{grid-template-columns:repeat(4,minmax(0,1fr))}.stats.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{background:white;border:1px solid var(--line);border-radius:18px;padding:22px 20px;min-width:0}.stat-label{font-size:12px;color:var(--muted);font-weight:650}.stat-value{font-size:clamp(21px,2.1vw,31px);font-weight:790;letter-spacing:-1.3px;margin:13px 0;overflow-wrap:anywhere}.stat-value.good{color:var(--good)}.stat-hint{font-size:11px;color:var(--muted);line-height:1.45}.stat.dark{background:#173c36;color:#fff;border-color:#173c36}.stat.dark .stat-label,.stat.dark .stat-hint{color:#b8d8c8}.two-cols{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;margin-bottom:17px}.panel{background:white;border:1px solid var(--line);border-radius:19px;padding:23px;box-shadow:var(--shadow);min-width:0}.panel.compact{margin-top:17px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.panel-head p{font-size:12px;color:var(--muted);margin-top:6px}.pill{background:#e9f4ed;color:#2f7159;border-radius:30px;padding:7px 12px;font-size:11px;font-weight:700}.chart-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:13px;align-items:end;height:220px;padding:10px 0 4px}.chart-col{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:8px;min-width:0}.bar-pair{height:162px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:5px}.bar{width:min(18px,46%);border-radius:6px 6px 0 0;min-height:2px}.bar.income{background:#307c60}.bar.expense{background:#d9b18b}.chart-col .day{font-size:10px;color:var(--muted)}.legend{display:flex;gap:18px;font-size:11px;color:var(--muted);margin-top:12px}.swatch{width:9px;height:9px;display:inline-block;border-radius:3px;margin-right:6px}.income-swatch{background:#307c60}.expense-swatch{background:#d9b18b}.entry-list{display:grid}.entry-item{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.entry-item:last-child{border:0}.entry-item strong{font-size:13px}.entry-item small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.amount{font-variant-numeric:tabular-nums;font-weight:750;white-space:nowrap}.amount.good{color:var(--good)}.amount.bad{color:var(--red)}.empty{color:var(--muted);font-size:13px;padding:27px 10px;text-align:center;line-height:1.6}.filters{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:15px}.filters label{flex:0 1 170px}.filters label.grow{flex:1 1 220px}label{font-size:12px;font-weight:650;display:block;color:#425b50}input,select,textarea{display:block;background:white;border:1px solid #d8e3db;border-radius:11px;padding:11px 12px;margin-top:7px;min-height:43px;color:var(--ink);width:100%;font-size:14px}textarea{resize:vertical}.table-wrap{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:650px;font-size:12px}td,th{padding:14px 12px;text-align:left;border-bottom:1px solid var(--line);vertical-align:middle}th{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#7c8880;font-weight:800}td.right,th.right{text-align:right}td.muted{color:var(--muted)}.table-btn{border:0;background:#eef3ee;border-radius:8px;padding:7px 9px;font-size:11px;font-weight:700;color:#315c4e;margin-right:4px}.table-btn.red{background:#fff0f0;color:#a24e4b}.table-footer{font-size:12px;color:var(--muted);padding-top:14px}.tag{font-size:11px;padding:5px 8px;border-radius:14px;background:#e8f5ed;color:#2b7655;display:inline-block}.tag.warn{background:#fff0dc;color:#92611d}.totals{margin-top:18px}.totals>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:14px 0;gap:10px;font-size:13px}.totals span{color:var(--muted)}.totals strong{font-variant-numeric:tabular-nums}.totals .subtotal{font-size:15px;font-weight:750}.totals .subtotal span{color:var(--ink)}.callout{margin-top:20px;background:#edf3ed;border-radius:12px;padding:14px;color:#3b6f55;font-size:13px}.callout.warn{background:#fff2e2;color:#975b22}.report-panels{margin-top:27px}.report-panels h3{margin-bottom:16px}.report-row{display:flex;align-items:center;justify-content:space-between;padding:10px 0;font-size:12px;gap:10px;border-bottom:1px solid var(--line)}.report-row strong{font-variant-numeric:tabular-nums}.fineprint{margin-top:22px;font-size:12px;color:var(--muted);line-height:1.6}.divider{height:1px;background:var(--line);margin:24px 0}.footer{text-align:center;color:#8b968d;font-size:11px;padding:35px 0 0}.bottom-nav{display:none}#status{position:fixed;z-index:999;top:18px;right:18px;max-width:min(400px,calc(100vw - 36px));display:none;padding:13px 19px;border-radius:13px;background:#1b5444;color:white;box-shadow:0 12px 35px #19382f40;font-size:13px;line-height:1.4}#status.show{display:block}#status.error{background:#963c3a}dialog{border:1px solid var(--line);border-radius:23px;max-height:min(92vh,900px);width:min(95vw,475px);box-shadow:0 18px 70px #12281f4a;padding:0;color:var(--ink)}dialog::backdrop{background:rgba(19,38,32,.60)}.dialog-form{padding:25px;display:grid;gap:14px;max-height:90vh;overflow-y:auto}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:3px}.icon-btn{border:0;background:#edf3ed;color:var(--ink);width:32px;height:32px;border-radius:50%}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:8px}.toggle{display:grid;grid-template-columns:1fr 1fr;border-radius:12px;background:#eff4ef;padding:4px;gap:5px}.toggle button{padding:11px;border:0;border-radius:9px;color:#576b5c;background:transparent;font-size:13px;font-weight:750}.toggle button.active{background:var(--primary);color:#fff}
@media(max-width:1130px){.stats.four{grid-template-columns:repeat(2,minmax(0,1fr))}.two-cols{grid-template-columns:1fr}.main{padding:27px 25px}.stat-value{font-size:29px}}@media(max-width:760px){.shell{display:block}.sidebar{display:none}.main{padding:calc(18px + env(safe-area-inset-top)) 15px calc(100px + env(safe-area-inset-bottom))}.topbar{align-items:flex-start;flex-direction:column;gap:15px}.topbar h1{font-size:28px}.top-actions{width:100%}.top-actions input{flex:1;min-width:0}.top-actions .btn{flex:none}.offline-info{font-size:11px}.stats.four{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stats.three{grid-template-columns:1fr}.stat{padding:15px 13px}.stat-value{font-size:clamp(18px,5.3vw,26px);letter-spacing:-.5px}.stat-hint{font-size:10px}.panel{padding:18px 15px;border-radius:16px}.panel-head{align-items:flex-start;flex-direction:column}.panel-head .row{width:100%;flex-wrap:wrap}.panel-head input{max-width:180px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:100;display:grid;grid-template-columns:repeat(6,1fr);background:#fff;border-top:1px solid var(--line);padding:8px 5px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -4px 22px #172e2920}.bottom-nav button{border:0;background:none;color:#819187;font-size:10px;font-weight:650;display:grid;place-items:center;gap:5px;padding:4px 0}.bottom-nav span{font-size:21px}.bottom-nav button.active{color:var(--primary)}.chart-bars{gap:6px}.bar-pair{gap:3px}.filters label{flex:1 1 120px}.filters label.grow{flex:1 1 100%}.auth-card{padding:28px 21px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Cloud backup account UI */
.cloud-panel{margin-top:18px}.cloud-status{background:#eef5ee;color:#254c3e;padding:12px;border-radius:12px;font-size:.93rem}.cloud-status.warning{background:#fff0da;color:#7b3c13}.recovery-text{display:block;overflow-wrap:anywhere;white-space:pre-wrap;margin:12px 0;padding:10px;border-radius:10px;background:#e2eee7;color:#143d33;font-size:.84rem}.cloud-panel .btn{width:100%}#cloud-restore-btn{margin-top:10px}

/* Café Flow 2.3 — distinct entry flows, designed for mobile PWA. */
[hidden]{display:none!important}
.auth-mode-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;border-radius:14px;background:#f0f5f0;margin:5px 0 24px}
.auth-mode-tab{border:0;background:transparent;border-radius:10px;color:#527065;font-weight:750;min-height:43px;padding:8px 4px;font-size:12px;white-space:normal;line-height:1.3}
.auth-mode-tab.active{background:#fff;color:var(--primary);box-shadow:0 1px 5px rgba(30,74,54,.10)}
.auth-mode-tab:focus-visible{outline:3px solid #a1d1b5;outline-offset:2px}
.auth-help-link{display:block;margin:14px 0 8px}
#login-note{margin:12px 0 0}
.auth-card section>p.muted{margin-bottom:12px}
.auth-card .stack .muted{margin-bottom:0}
.legacy-restore{padding:12px 14px;border:1px solid var(--line);border-radius:12px}
.legacy-restore summary{font-size:12px;color:var(--primary);font-weight:700;cursor:pointer}
.legacy-restore p{margin:10px 0}
@media(max-width:390px){.auth-mode-tab{font-size:11px}.auth-card{padding:23px 17px}}

/* 2.5.2: iOS installed PWA launch explains isolated storage and routes to recovery. */
.first-launch-note{margin:0 0 22px;padding:17px;border-color:#d2e8dc;background:#edf7f0;color:#295d46;font-size:13px;line-height:1.55}
.first-launch-note strong{color:#173c36}
.first-launch-note p{margin:9px 0 0}

/* Receipt scanner v2.5.3 */
.receipt-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.receipt-toolbar .btn{white-space:normal}.dialog-form{max-height:85vh;overflow-y:auto}#receipt-progress{line-height:1.55}#receipt-rows td{vertical-align:middle}
@media(max-width:640px){.receipt-toolbar{flex-direction:column}.receipt-toolbar>.btn{width:100%}}

/* 2.5.5 — direct scan/manual action choices and inspectable OCR */
.entry-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}
.entry-action-card{appearance:none;text-align:left;display:flex;flex-direction:column;gap:7px;background:#f3f8f4;color:#173c36;border:1px solid #bed8c6;border-radius:16px;padding:18px;cursor:pointer;min-height:126px;font:inherit}
.entry-action-card:hover{border-color:#438364;background:#e9f5ec}.entry-action-card:focus-visible{outline:3px solid #438364;outline-offset:2px}
.entry-action-card strong{font-size:16px;line-height:1.3}.entry-action-card>span:last-child{color:#567065;font-size:12px;line-height:1.45}.entry-action-card .action-emoji{font-size:27px}
.ocr-details{margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fafcfb}.ocr-details summary{cursor:pointer;color:#315e4c;font-weight:700;font-size:13px}.ocr-details textarea{width:100%;font-family:ui-monospace,monospace;font-size:12px;line-height:1.5;margin:8px 0 10px}.ocr-details .btn{white-space:normal}
@media(max-width:540px){.entry-action-grid{gap:9px}.entry-action-card{padding:12px;min-height:140px}.entry-action-card strong{font-size:14px}}


/* Café Flow 2.5.6 — Responsive layout for iPhone / Android / tablet.
   CSS viewport and orientation queries automatically follow screen changes.
   Financial tables turn into readable cards on small screens. */
:where(.shell,.main,.page,.panel,.row,.topbar,.top-actions,.filters,.auth-card,
       .dialog-form,.stats,.two-cols,.report-panels,.entry-action-grid){min-width:0}
:where(.panel,.stat,.auth-card,dialog,.entry-action-card){overflow-wrap:anywhere}
img,canvas,video,svg{max-width:100%}
#receipt-preview img,#receipt-preview canvas{max-width:100%;height:auto;object-fit:contain}
.table-wrap,.tablewrap{max-width:100%}
@media(max-width:760px){
  html{scroll-padding-bottom:105px}
  body{width:100%;max-width:100%;overflow-x:clip}
  .shell,.main{width:100%;max-width:100%}
  .main{padding:calc(14px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-left)) calc(98px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-right))}
  .topbar{gap:12px}
  .topbar h1{font-size:clamp(23px,6.8vw,29px);line-height:1.12;overflow-wrap:anywhere}
  .top-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .top-actions input{width:100%;min-width:0}
  .top-actions .btn{min-width:94px;white-space:normal;padding:10px}
  .stats.four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stats.three{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stats.three>.stat:last-child:nth-child(odd){grid-column:1/-1}
  .panel-head{gap:10px}
  .panel-head :where(button,input,select){max-width:100%}
  .panel-head .row{display:flex;min-width:0}
  .panel-head .row input{width:auto;min-width:0;flex:1}
  .row.between{flex-wrap:wrap;align-items:flex-start}
  .report-row{overflow-wrap:anywhere}
  .entry-item>div,.entry-item>span{min-width:0}
  .entry-item strong{overflow-wrap:anywhere}
  .legend{flex-wrap:wrap}
  .bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr));padding-left:max(3px,env(safe-area-inset-left));padding-right:max(3px,env(safe-area-inset-right))}
  .bottom-nav button{min-width:0;line-height:1.2;padding:7px 1px 4px;font-size:clamp(9px,2.5vw,11px);overflow-wrap:anywhere;white-space:normal}
  .bottom-nav button span{font-size:clamp(17px,5vw,22px)}
  .auth-wrap{min-height:100dvh;padding:calc(14px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-left)) calc(16px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-right));align-items:start}
  .auth-card{width:100%;max-width:440px;padding:26px clamp(14px,4.5vw,24px);border-radius:20px}
  .auth-card h1{font-size:clamp(23px,7vw,29px)}
  input,select,textarea{font-size:16px;max-width:100%;min-width:0}
  button,.btn{touch-action:manipulation}
  .btn{white-space:normal}
  .dialog-actions{flex-wrap:wrap}
  .dialog-actions>.btn{flex:1 1 130px}
  dialog{position:fixed;inset:auto 0 0 0;margin:0;width:100%;max-width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - 6px);border-radius:20px 20px 0 0}
  .dialog-form{padding:20px 16px calc(16px + env(safe-area-inset-bottom));max-height:calc(100dvh - env(safe-area-inset-top) - 10px);overflow-y:auto;overscroll-behavior:contain}
  .dialog-head{gap:10px}
  .dialog-head h2{line-height:1.25}
  .icon-btn{flex:0 0 36px;width:36px;height:36px}
  .dialog-actions{position:sticky;bottom:calc(-16px - env(safe-area-inset-bottom));z-index:1;background:white;border-top:1px solid var(--line);margin:7px -16px calc(-16px - env(safe-area-inset-bottom));padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
}
@media(max-width:560px){
  .table-wrap{overflow:visible}
  .table-wrap table{width:100%;min-width:0;display:block}
  .table-wrap thead{display:none}
  .table-wrap tbody{display:grid;gap:10px}
  .table-wrap tbody tr{display:grid;gap:0;width:100%;min-width:0;background:#fff;border:1px solid var(--line);border-radius:13px;padding:8px 12px}
  .table-wrap tbody td{display:grid;grid-template-columns:minmax(92px,35%) minmax(0,1fr);align-items:start;gap:9px;padding:10px 0;text-align:left;border-bottom:1px solid var(--line);font-size:13px;overflow-wrap:anywhere;min-width:0}
  .table-wrap tbody td:last-child{border-bottom:0}
  .table-wrap tbody td.right{text-align:left}
  .table-wrap tbody td::before{font-size:11px;line-height:1.45;font-weight:750;color:#73867c;align-self:center}
  .table-wrap tbody td[colspan]{display:block;text-align:center}
  .table-wrap tbody td[colspan]::before{content:none!important}
  #entry-rows td:nth-child(1)::before{content:'Ημερομηνία'}
  #entry-rows td:nth-child(2)::before{content:'Κίνηση'}
  #entry-rows td:nth-child(3)::before{content:'Στοιχεία'}
  #entry-rows td:nth-child(4)::before{content:'Τρόπος'}
  #entry-rows td:nth-child(5)::before{content:'Ποσό'}
  #entry-rows td:nth-child(6)::before{content:'Ενέργεια'}
  #bill-rows td:nth-child(1)::before{content:'Λήξη'}
  #bill-rows td:nth-child(2)::before{content:'Προμηθευτής'}
  #bill-rows td:nth-child(3)::before{content:'Περιγραφή'}
  #bill-rows td:nth-child(4)::before{content:'Υπόλοιπο'}
  #bill-rows td:nth-child(5)::before{content:'Κατάσταση'}
  #bill-rows td:nth-child(6)::before{content:'Ενέργειες'}
  #receipt-rows td:nth-child(1)::before{content:'Ημερομηνία'}
  #receipt-rows td:nth-child(2)::before{content:'Πελάτης / Προμηθευτής'}
  #receipt-rows td:nth-child(3)::before{content:'Τύπος'}
  #receipt-rows td:nth-child(4)::before{content:'Ποσό'}
  #receipt-rows td:nth-child(5)::before{content:'Φύλαξη'}
  #receipt-rows td:nth-child(6)::before{content:'Ενέργειες'}
  .table-wrap tbody td:last-child .table-btn{margin:0 6px 7px 0;white-space:normal}
  .entry-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .entry-action-card{min-width:0;padding:12px;min-height:134px}
  .entry-action-card strong{font-size:clamp(13px,3.8vw,16px)}
  .entry-action-card>span:last-child{font-size:11px}
  .chart-bars{height:190px;gap:3px}
  .bar-pair{gap:2px}
  .topbar .muted{line-height:1.45}
}
@media(max-width:355px){
  .main{padding-left:10px;padding-right:10px}
  .stat{padding:13px 9px}
  .stats.four{gap:8px}
  .stat-value{font-size:clamp(17px,5.3vw,22px)}
  .bottom-nav button{font-size:9px}
  .bottom-nav span{font-size:17px}
  .dialog-form{padding-left:12px;padding-right:12px}
  .auth-mode-tab{font-size:10px;padding:7px 2px}
  .table-wrap tbody td{grid-template-columns:minmax(80px,37%) minmax(0,1fr)}
}
@media(max-height:470px) and (orientation:landscape){
  .auth-wrap{min-height:100dvh;padding-top:10px;padding-bottom:10px}
  .auth-card{margin:0 auto}
  dialog,.dialog-form{max-height:100dvh}
  .main{padding-top:10px}
}

/* 2.5.9: ergonomic compact controls */
.remember-option{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.4}.remember-option input{width:18px;height:18px;flex:none}.quick-dues{width:100%;margin-top:10px;text-align:left;min-height:44px;border:1px solid var(--line);border-radius:12px;background:#f3f8f5;color:#173c36;padding:11px 14px;cursor:pointer;font:inherit}.quick-dues strong{font-weight:800}#receipt-partial-wrap{margin:7px 0}#receipt-partial-wrap input[type=checkbox]{width:18px;height:18px;vertical-align:middle;margin-right:6px}

/* Café Flow 2.5.12: partial payment across all expense categories; visual style retained. */
.supplier-partial-box{display:grid;gap:10px;background:#edf7f0;border:1px solid #b7d7c2;border-radius:14px;padding:13px;margin:0}
.supplier-partial-choice{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.4;color:#1b5542;cursor:pointer;font-weight:800}
.supplier-partial-choice input{display:inline-block;flex:none;width:19px;height:19px;min-height:19px;margin:0;accent-color:#1c5948}
.supplier-partial-box .stack{gap:10px}.supplier-partial-box .muted{font-weight:400}
.supplier-partial-summary{padding:10px 12px;border-radius:10px;background:#fff;color:#1a5842;font-weight:750}
@media(max-width:540px){.supplier-partial-box{padding:12px}.supplier-partial-choice{font-size:13px}}

/* 2.5.11: blocking validation is explained where the user needs to act. */
.dialog-form .form-error-summary{font-size:13px;font-weight:700;line-height:1.5;margin:0;padding:10px 12px;border-radius:11px;border:1px solid #edcbc6;background:#fff4f2;color:#963f38}
.dialog-form .inline-form-error{display:block;margin:6px 0 0;color:#a43832;font-size:12px;font-weight:700;line-height:1.4}
.dialog-form [aria-invalid="true"]{border-color:#bc4c43;box-shadow:0 0 0 2px rgba(188,76,67,.10)}

/* 2.5.13 — report drill-down while preserving the existing breakdown lists */
.report-kpi-detail{margin-top:14px}.report-kpi-detail .stat{background:#f8fbf7}
.report-filter-panel{border:1px solid var(--line);background:#f8fbf8;border-radius:15px;padding:16px;margin-top:22px}
.report-filter-panel .filters{margin-top:12px;margin-bottom:6px}
.report-filter-panel .filters label{flex:1 1 175px}
.report-filter-panel .btn{align-self:end}
.report-filter-panel .row h3{font-size:14px}
@media(max-width:620px){.report-kpi-detail{grid-template-columns:1fr 1fr}.report-kpi-detail .stat:last-child{grid-column:1/-1}.report-filter-panel{padding:13px}.report-filter-panel .filters label{flex:1 1 100%}.report-filter-panel .btn{width:100%}}


/* Café Flow 2.5.15 — compact, high-contrast report dashboard. No impact on other pages. */
.report-overview{margin:3px 0 0}
.report-overview-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px}
.report-overview-head h3{margin:0;font-size:14px;color:#20493a;letter-spacing:.01em}
.report-period{font-size:12px;line-height:1.4;font-weight:750;color:#527364;background:#edf5ef;border:1px solid #dcece0;padding:7px 12px;border-radius:999px;text-transform:capitalize}
.report-kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.report-kpi{position:relative;min-width:0;overflow:hidden;border:1px solid #dfeae3;border-radius:19px;background:#fff;padding:19px 21px 17px;box-shadow:0 4px 18px rgba(22,61,45,.035);display:flex;flex-direction:column;gap:11px}
.report-kpi::before{content:'';position:absolute;inset:0 auto 0 0;width:4px;background:var(--report-accent,#d2e6d9)}
.report-kpi-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:27px}
.report-kpi-label{font-size:13px;font-weight:760;line-height:1.25;color:#355649}
.report-kpi-symbol{flex:none;width:31px;height:31px;border-radius:10px;background:#eff6f1;color:#3b7f61;display:grid;place-items:center;font-size:21px;font-weight:750;line-height:1}
.report-kpi-value{font-size:clamp(24px,2.5vw,34px);letter-spacing:-1.2px;font-weight:800;line-height:1.14;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#203a31}
.report-kpi-hint{font-size:11px;color:#697e70;line-height:1.45;min-height:1.35em;margin:0}
.report-kpi-income{--report-accent:#3c9b70;background:#fbfefa}
.report-kpi-income .report-kpi-value{color:#24784e}
.report-kpi-payments{--report-accent:#d4ac75;background:#fffdf9}
.report-kpi-payments .report-kpi-symbol{background:#f9f0e2;color:#a97733}
.report-kpi-cashflow{--report-accent:#63ab92;background:linear-gradient(135deg,#1e5245,#143b35);border-color:#1d5245;box-shadow:0 7px 22px rgba(22,62,54,.13)}
.report-kpi-cashflow .report-kpi-label,.report-kpi-cashflow .report-kpi-value{color:#fff}
.report-kpi-cashflow .report-kpi-hint{color:#d4e4db}
.report-kpi-cashflow .report-kpi-symbol{color:#d2ecdf;background:rgba(255,255,255,.13)}
.report-kpi-cashflow .report-kpi-value.is-negative{color:#ffd6c4}
.report-kpi-obligations{--report-accent:#d6a16b;background:#fffbf5}
.report-kpi-obligations .report-kpi-symbol{background:#f8ede0;color:#a87135}
.report-personal-card{margin-top:14px;background:#f6f8fb;border:1px solid #e3eaf0;border-radius:18px;padding:16px 20px;display:grid;grid-template-columns:37px minmax(0,1fr) auto;align-items:center;gap:13px}
.report-personal-icon{width:37px;height:37px;border-radius:12px;background:#e6ebf4;color:#4c6791;font-size:28px;display:grid;place-items:center;line-height:1}
.report-personal-copy{min-width:0}
.report-personal-title{font-size:13px;font-weight:800;color:#3f516b}
.report-personal-copy p{margin:5px 0 0;color:#6e7d90;font-size:11px;line-height:1.45}
.report-personal-value{font-size:clamp(22px,2vw,29px);font-weight:790;letter-spacing:-.7px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#354a6b}
@media(max-width:760px){.report-kpi-grid{gap:10px}.report-kpi{padding:14px 13px 13px;border-radius:16px;gap:10px}.report-kpi-label{font-size:11px}.report-kpi-symbol{width:26px;height:26px;border-radius:9px;font-size:18px}.report-kpi-value{font-size:clamp(19px,5vw,27px);letter-spacing:-.65px}.report-kpi-hint{font-size:10px}.report-personal-card{padding:13px;gap:10px;grid-template-columns:32px minmax(0,1fr) auto}.report-personal-icon{width:32px;height:32px;font-size:23px}.report-personal-title{font-size:12px}.report-personal-value{font-size:clamp(19px,4.8vw,25px)}.report-personal-copy p{font-size:10px}}
@media(max-width:380px){.report-kpi-grid{gap:8px}.report-kpi{padding:12px 10px;gap:9px}.report-kpi-value{font-size:19px}.report-kpi-label{font-size:10.5px}.report-personal-card{grid-template-columns:28px minmax(0,1fr);gap:8px}.report-personal-icon{width:28px;height:28px}.report-personal-value{grid-column:2;font-size:23px}.report-personal-copy p{font-size:10px}}

/* 2.5.16: personal expenses live in their own ledger, outside café KPIs */
.personal-history{margin-top:10px;border:1px solid #e0e8f0;border-radius:15px;background:#fafbfe;padding:0 16px 13px}
.personal-history summary{cursor:pointer;color:#405873;font-size:12px;font-weight:750;padding:13px 0;line-height:1.4}
.personal-history summary::marker{color:#647a95}
.personal-history-list{display:grid;gap:0;margin:0 0 12px}
.personal-history .report-row{padding:9px 0}
.personal-history .btn{margin-top:3px}
.report-personal-copy p{max-width:440px}
@media(max-width:380px){.personal-history{padding:0 10px 11px}.personal-history summary{font-size:11px}}

/* 2.5.19 — discrete training status and destructive-action clarity */
.training-controls{border:1px solid #d6e6dc;border-radius:15px;padding:15px;display:grid;gap:10px;background:#f8faf8}.training-controls h3{margin:0;font-size:15px}.training-controls .btn{width:100%;white-space:normal}.training-warning{background:#fff1dc!important;color:#754c13!important;font-weight:700}.training-controls .muted{margin:0}#training-finish-dialog .dialog-form{max-width:470px}#training-password-step label{margin-top:12px}

.training-app-banner{padding:12px 18px;margin:10px 0;background:#fff1d6;color:#84510c;border:1px solid #f1cf8b;border-radius:12px;font-size:13px;font-weight:800;text-align:center}

.production-app-banner{padding:10px 18px;margin:10px 0;background:#e8f5ee;color:#18573d;border:1px solid #a8dac2;border-radius:12px;font-size:13px;font-weight:700;text-align:center}

.personal-history-actions{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;}

/* 2.5.22: compact, keyboard-accessible per-movement actions */
.entry-actions{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.table-btn.icon-action{display:inline-grid;place-items:center;width:36px;height:36px;min-width:36px;padding:0;margin:0;font-size:18px;line-height:1;border:1px solid #cfdfd3}.table-btn.icon-action.red{border-color:#efd4d3}.table-btn.icon-action:focus-visible{outline:3px solid #357e6a;outline-offset:2px}.entry-actions button:disabled{opacity:.45;cursor:not-allowed}

/* v2.5.23 — Διακριτή μεταφορά λήξεων στο ημερολόγιο του κινητού */
.bill-header-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:9px}
.calendar-import-hint{margin:-5px 0 16px;padding:12px 14px;border-radius:12px;border:1px solid #dce7df;background:#f4f9f5;color:#4a6358;font-size:12px;line-height:1.65}
.calendar-btn{background:#e9f1fc!important;color:#285c8f!important;border:1px solid #cddff5!important;margin:4px!important}
.calendar-btn:focus-visible,#calendar-all-bills:focus-visible{outline:3px solid #2879bd;outline-offset:2px}
@media(max-width:560px){.bill-header-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.bill-header-actions button{min-width:0;padding:10px 8px;font-size:12px}.calendar-import-hint{margin-top:4px}}
@media(max-width:365px){.bill-header-actions{grid-template-columns:1fr}}

/* v2.5.23: άμεση, ευανάγνωστη προβολή παραστατικού στο κινητό */
.receipt-view-inline{background:transparent;border:0;color:#176e64;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:6px 1px;font-weight:650;font-size:12px;text-align:left}
.receipt-viewer-dialog{width:min(96vw,900px);max-width:900px;max-height:95dvh;padding:0;border:1px solid #d4e2da;border-radius:18px;box-shadow:0 20px 70px #0004}
.receipt-viewer-shell{padding:14px;display:flex;flex-direction:column;gap:12px;max-height:92dvh}
.receipt-viewer-content{flex:1;overflow:auto;min-height:140px;background:#f2f6f4;border-radius:12px;text-align:center;display:flex;justify-content:center;align-items:flex-start}
.receipt-image-zoom{max-width:100%;height:auto;object-fit:contain;border-radius:8px}
.receipt-pdf-view{width:100%;height:65dvh;border:0;background:white}
.receipt-viewer-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.calendar-offer-dialog{width:min(95vw,540px);border-radius:18px;border:1px solid #d4e2da;max-height:90dvh;overflow:auto}
.calendar-offer-dialog .stack{display:grid;gap:10px}
.calendar-offer-dialog .stack a{text-align:center;text-decoration:none}
@media(max-width:560px){.receipt-viewer-dialog{width:100vw;max-width:none;max-height:100dvh;height:100dvh;border-radius:0;margin:0}.receipt-viewer-shell{height:100%;max-height:100dvh}.receipt-viewer-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.receipt-viewer-actions #receipt-viewer-calendar{grid-column:1 / -1}.receipt-image-zoom{width:100%;max-width:100%;height:auto}.receipt-pdf-view{height:calc(100dvh - 185px)}.calendar-offer-dialog{width:95vw}.receipt-viewer-shell .dialog-head h2{font-size:16px}}

/* QR preview, explicit consent and human review */
.qr-pilot{margin:10px 0 16px;padding:14px;border-radius:14px;border:1px solid #c9ded5;background:#f8fcf9;display:flex;flex-direction:column;gap:9px}
.qr-pilot-heading{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.qr-pilot-tag{color:#215e54;background:#e8f2ed;border-radius:100px;font-size:11px;padding:4px 8px;font-weight:700}
.qr-pilot label{margin:0}.qr-pilot input{width:100%;font-size:13px;min-height:42px}
.qr-pilot-actions{display:flex;gap:8px;flex-wrap:wrap}.qr-pilot-actions .btn{flex:1;min-width:140px;font-size:12px;white-space:normal}
.qr-pilot-fields{border-top:1px solid #c9ded5;padding-top:8px;display:grid;gap:6px;font-size:12px}
.qr-pilot-fields .qr-field{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.qr-field strong{word-break:break-word}
@media(max-width:520px){.qr-pilot{padding:11px}.qr-pilot-actions{flex-direction:column}.qr-pilot-actions .btn{width:100%}}

.qr-entry-card{grid-column:1 / -1;min-height:88px}.qr-entry-card .action-emoji{font-size:20px}

/* 2.5.27: visible issuer identity and evidence without forcing a composite name into accounting records. */
#receipt-party-display{overflow-wrap:anywhere;}
#receipt-afm-status,#receipt-vat-evidence{margin:.15rem 0 .6rem;}
#receipt-afm[aria-invalid="true"],#receipt-vat[aria-invalid="true"]{border-color:#bb7444;}

/* Café Flow 2.5.29 push settings */
.push-panel{margin:16px 0;padding:16px;border:1px solid var(--line,#dce4df);border-radius:16px;background:var(--surface,#fff)}
.push-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.push-panel h3{margin-top:0}
@media(max-width:460px){.push-actions{flex-direction:column}.push-actions>.btn{width:100%}}

/* Café Flow 2.6 — one financial ledger, premium responsive UI */
.flow-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px;border:1px solid #cde4d2;border-radius:22px;background:linear-gradient(125deg,#f8fcf8,#e7f3eb);margin-bottom:17px;box-shadow:0 10px 28px rgba(29,87,57,.045)}
.flow-hero h2{font-size:25px;margin:3px 0 8px;letter-spacing:-.025em;color:#163c30}.flow-hero p:not(.flow-eyebrow){font-size:13px;color:#577267;max-width:560px;margin:0;line-height:1.5}.flow-eyebrow{letter-spacing:.09em;text-transform:uppercase;color:#3e8164;font-size:10px;font-weight:800;margin:0 0 4px!important}
.flow-two-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-bottom:19px}.flow-action{border:1px solid #d6e8db;border-radius:18px;background:#fff;display:flex;gap:7px;flex-direction:column;align-items:flex-start;padding:18px;text-align:left;color:#22493b;box-shadow:var(--shadow);transition:transform .14s,box-shadow .14s}.flow-action:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(24,70,44,.09)}.flow-action>span{font-size:28px;color:#198050}.flow-action strong{font-size:16px;line-height:1.3}.flow-action small{font-size:12px;line-height:1.45;color:#687c70}
.flow-list{display:flex;flex-direction:column;gap:9px;margin-top:12px}.flow-list-row,.flow-supplier-row{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;border:1px solid #e0e9e2;border-radius:15px;padding:15px;background:#fff;color:var(--ink);width:100%}.flow-supplier-row:hover{background:#f2f9f3;border-color:#91c6a5}.flow-row-title{font-weight:750}.flow-list-row small,.flow-supplier-row small{display:block;color:#71847a;font-size:12px;margin-top:5px}.flow-row-end{display:flex;flex-direction:column;align-items:flex-end;gap:7px;min-width:110px}.flow-tiny{font-size:12px;color:#496b59;margin-top:7px}
.flow-dialog{border:0;max-width:min(780px,95vw);width:100%;border-radius:23px;box-shadow:0 24px 90px #13292240;padding:0;color:var(--ink)}.flow-dialog::backdrop{background:#0a271a88;backdrop-filter:blur(3px)}.flow-dialog .dialog-form{max-height:89vh;padding:23px;overflow-y:auto}.flow-form-card{padding:17px;border:1px solid #dfebe2;background:#fff;border-radius:18px;margin:14px 0}.flow-form-card h3{font-size:15px;margin:0 0 13px;color:#244c3c}.flow-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.flow-form-grid label,.flow-pay-row label{display:grid;gap:5px;font-size:12px;color:#3d6451;font-weight:650}.flow-form-grid input,.flow-form-grid select,.flow-pay-row input,.flow-pay-row select{width:100%;border:1px solid #cadbd0;border-radius:11px;background:#fafdfb;padding:11px 12px;font-size:15px;color:#1c4231;min-height:42px}.flow-form-grid input:focus,.flow-pay-row input:focus,.flow-form-grid select:focus,.flow-pay-row select:focus{border-color:#338a60;outline:3px solid #c6ebd5}.flow-kind-select{margin:5px 0 14px}.flow-kind-select button{border:1px solid #ceddd4;color:#315641;background:#f7fbf8;border-radius:12px;min-height:44px;font-weight:800}.flow-kind-select button.active{background:#daf0e1;border-color:#379263;color:#1c6040}.flow-payment-lines{display:flex;flex-direction:column;gap:11px}.flow-pay-row{display:grid;grid-template-columns:minmax(110px,1.2fr) minmax(84px,1fr) minmax(135px,1fr) 30px;gap:8px;align-items:end;padding:10px;border:1px solid #e2ece4;border-radius:13px;background:#f8fcf9}.flow-remove-row{height:39px;border:0;background:#fbecea;color:#ae4242;border-radius:9px;font-size:20px}.flow-remove-row:hover{background:#ffd5d0}.flow-total-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 4px 5px;font-size:14px}.flow-total-row strong{font-size:19px;font-variant-numeric:tabular-nums}.flow-remaining-row{padding:14px;border-radius:13px;background:#eaf6ee;margin-top:8px;color:#164f35}.flow-negative{color:#b33131!important}.flow-validation{display:block;background:#fff0ee;border:1px solid #eab4aa;color:#a22e2e;padding:13px;border-radius:10px;margin:14px 0}.flow-pill{font-size:10px;background:#e9f6ee;color:#286a49;padding:7px 9px;border-radius:20px;max-width:140px;text-align:right}
.flow-row-between{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #edf1ed;font-size:13px}.flow-row-between:last-child{border-bottom:0}.flow-row-between span{color:#53705d}.flow-metric-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px}.flow-metric-row>div{display:flex;flex-direction:column;gap:6px;padding:13px;background:#edf6ef;border-radius:12px;font-size:12px;color:#52735d}.flow-metric-row strong{font-size:18px;color:#164b31;font-variant-numeric:tabular-nums}.flow-report-grand{display:flex;align-items:center;justify-content:space-between;padding:17px;margin:14px 0;background:#e8f6ea;border-radius:14px;font-size:14px}.flow-report-grand strong{font-size:25px}.flow-report-day{padding:13px 15px;margin:9px 0;border:1px solid #e1e9e4;border-radius:14px}.flow-report-day>small{display:block;margin-top:5px;color:#658072}.flow-report-sub{padding:11px 0 4px 17px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #eff3ee;font-size:13px}.flow-report-sub small{display:block;color:#648273;margin:3px 0}.flow-segment{display:flex;gap:5px;background:#eaf1eb;border-radius:13px;padding:4px}.flow-segment button{flex:1;border:0;background:transparent;padding:11px;border-radius:10px;color:#55715f;font-weight:700}.flow-segment button.active{background:#fff;color:#246142;box-shadow:0 2px 6px #1a4a2a22}
.flow-fab{position:fixed;z-index:49;width:58px;height:58px;border:0;border-radius:21px;background:linear-gradient(140deg,#138047,#095d36);color:white;box-shadow:0 10px 30px #154a2f55;font-size:29px;display:grid;place-items:center}.flow-fab[hidden],.flow-quick-menu[hidden],.flow-anchor-popup[hidden]{display:none!important}.flow-fab[data-corner="top-left"]{top:calc(18px + env(safe-area-inset-top));left:calc(17px + env(safe-area-inset-left))}.flow-fab[data-corner="top-right"]{top:calc(18px + env(safe-area-inset-top));right:calc(17px + env(safe-area-inset-right))}.flow-fab[data-corner="bottom-left"]{bottom:calc(18px + env(safe-area-inset-bottom));left:calc(17px + env(safe-area-inset-left))}.flow-fab[data-corner="bottom-right"]{bottom:calc(18px + env(safe-area-inset-bottom));right:calc(17px + env(safe-area-inset-right))}.flow-quick-menu{position:fixed;z-index:51;max-height:min(75vh,620px);width:min(300px,calc(100vw - 28px));overflow-y:auto;border-radius:20px;border:1px solid #d7e8d9;background:#fff;box-shadow:0 20px 60px #1a483944;padding:10px}.flow-quick-menu[data-corner="top-left"]{top:calc(85px + env(safe-area-inset-top));left:16px}.flow-quick-menu[data-corner="top-right"]{top:calc(85px + env(safe-area-inset-top));right:16px}.flow-quick-menu[data-corner="bottom-left"]{bottom:calc(85px + env(safe-area-inset-bottom));left:16px}.flow-quick-menu[data-corner="bottom-right"]{bottom:calc(85px + env(safe-area-inset-bottom));right:16px}.flow-menu-head{display:flex;justify-content:space-between;align-items:center;padding:11px 12px;border-bottom:1px solid #e4ece5;color:#17462d}.flow-menu-head button{border:0;background:#eaf4eb;border-radius:10px;font-size:16px;color:#306747;width:32px;height:32px}.flow-menu-item{display:block;width:100%;padding:13px 12px;text-align:left;border:0;border-radius:10px;background:white;color:#284636;font-weight:600}.flow-menu-item:hover,.flow-menu-item.active{background:#e8f5ec;color:#145836}.flow-anchor-popup{position:fixed;z-index:70;background:white;border:1px solid #c8e0ce;border-radius:15px;box-shadow:0 14px 48px #143e2c40;padding:7px;max-height:55vh;overflow:auto}.flow-anchor-popup button{display:block;width:100%;border:0;text-align:left;background:white;color:#204d32;border-radius:9px;padding:12px;min-height:43px}.flow-anchor-popup button:hover,.flow-anchor-popup button:focus-visible{background:#e7f5eb}.stat[role=button],.report-kpi[role=button]{cursor:pointer;transition:transform .14s}.stat[role=button]:hover,.report-kpi[role=button]:hover{transform:translateY(-2px)}.flow-menu-settings{margin:0 0 18px}.flow-corner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.flow-corner-grid label{padding:12px;background:#f3faf5;border-radius:12px;border:1px solid #dce8dd;display:flex;align-items:center;gap:7px;font-size:14px}
@media(max-width:760px){.bottom-nav{display:none!important}.main{padding-bottom:calc(105px + env(safe-area-inset-bottom))}.flow-hero{padding:18px;flex-direction:column;align-items:stretch}.flow-hero h2{font-size:22px}.flow-hero button{width:100%}.flow-dialog{width:100%;max-width:none;max-height:100dvh;border-radius:22px 22px 0 0;margin:0;inset:auto 0 0}.flow-dialog .dialog-form{max-height:calc(100dvh - 8px);padding:17px}.flow-form-grid{grid-template-columns:1fr 1fr}.flow-pay-row{grid-template-columns:1.1fr .9fr;align-items:end}.flow-pay-row label:nth-child(3){grid-column:1}.flow-remove-row{grid-column:2;justify-self:end;width:44px}.flow-fab{width:54px;height:54px}.flow-list-row,.flow-supplier-row{align-items:flex-start}.flow-row-end{min-width:80px}.flow-metric-row strong{font-size:14px}.flow-metric-row>div{padding:10px}}
@media(max-width:470px){.flow-two-actions{grid-template-columns:1fr}.flow-form-grid{grid-template-columns:1fr}.flow-metric-row{gap:5px}.flow-metric-row strong{font-size:13px}.flow-report-sub{padding-left:3px}.flow-corner-grid{grid-template-columns:1fr 1fr}.flow-corner-grid label{font-size:12px}.flow-dialog .dialog-actions{display:flex;position:sticky;bottom:-17px}}

.flow-scan-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 16px}.flow-scan-actions small{font-size:11px;color:var(--muted);line-height:1.5;flex:1 1 260px}.flow-scan-actions .btn{white-space:normal}


/* Café Flow 2.6.1 — one consistent adaptive navigation, on phones and desktop. */
:root{--premium-font:"Aptos","Aptos Display","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--premium-font);font-weight:400;letter-spacing:-.012em;text-rendering:optimizeLegibility;overflow-x:clip}
button,input,select,textarea{font-family:inherit;letter-spacing:inherit}
/* Aptos is used where installed; iOS/Android use their native legible typefaces. */
h1,h2,h3,.brand strong,.flow-hero h2{font-family:var(--premium-font);font-weight:600;letter-spacing:-.035em}
button,.btn,.nav-link,.flow-menu-item,.flow-form-card strong{font-weight:550}
.eyebrow,.flow-eyebrow{font-weight:650}
.stat-value,.report-kpi-value,.flow-total-row strong,.flow-report-grand strong,.amount{font-weight:650;font-variant-numeric:tabular-nums}
/* The legacy navigation is retained as a binding target, but no longer duplicates the new menu. */
#app.shell{display:block;min-height:100dvh;max-width:100vw}
#app .sidebar{display:none!important}
#app .main{width:min(100%,1460px);max-width:100%;padding:clamp(18px,3vw,36px) clamp(14px,3.5vw,46px) 100px;margin-inline:auto;min-width:0}
#app .main >*,.page,.panel,.stat,.flow-form-card{min-width:0}
#app .topbar{gap:14px;flex-wrap:wrap;padding-right:clamp(0px,4vw,45px)}
#app .topbar h1{font-size:clamp(23px,2.75vw,33px);font-weight:600}
#app .top-actions{min-width:0;flex-wrap:wrap}
#app .top-actions input{min-width:145px;max-width:230px}
#app .top-actions .btn{white-space:normal}
.flow-fab{z-index:110;display:grid;place-items:center;width:60px;height:60px;border-radius:20px;background:linear-gradient(145deg,#1f7659,#124738);box-shadow:0 10px 32px rgba(19,62,43,.34);font-size:30px;font-weight:400;line-height:1;touch-action:manipulation;user-select:none}
.flow-fab[aria-expanded="true"]{background:#123c30}
.flow-quick-menu{z-index:111;display:block;width:min(338px,calc(100vw - 28px));padding:10px;overscroll-behavior:contain;max-height:min(72dvh,700px);overflow:auto;border-radius:23px;box-shadow:0 22px 65px rgba(13,43,28,.24);scrollbar-width:thin}
.flow-quick-menu[data-corner="top-left"]{top:calc(87px + env(safe-area-inset-top));left:calc(14px + env(safe-area-inset-left));right:auto;bottom:auto}
.flow-quick-menu[data-corner="top-right"]{top:calc(87px + env(safe-area-inset-top));right:calc(14px + env(safe-area-inset-right));left:auto;bottom:auto}
.flow-quick-menu[data-corner="bottom-left"]{bottom:calc(88px + env(safe-area-inset-bottom));left:calc(14px + env(safe-area-inset-left));right:auto;top:auto}
.flow-quick-menu[data-corner="bottom-right"]{bottom:calc(88px + env(safe-area-inset-bottom));right:calc(14px + env(safe-area-inset-right));left:auto;top:auto}
.flow-menu-head{padding:13px 14px;position:sticky;top:-10px;background:#fff;z-index:1}
.flow-menu-group-label{font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:#738e7e;font-weight:700;padding:14px 12px 6px}
.flow-menu-item{display:flex;align-items:center;gap:12px;min-height:46px;padding:11px 12px;font-size:13px;font-weight:560;text-wrap:pretty;line-height:1.35}
.flow-menu-icon{flex:0 0 24px;font-size:19px;line-height:1;text-align:center;color:#368264}
.flow-menu-item.active .flow-menu-icon{color:#116541}
.flow-menu-item:focus-visible{outline:3px solid #87c6a2;outline-offset:0}
#flow-menu-close{min-width:36px;min-height:36px}
.flow-corner-grid label{min-width:0;min-height:44px;word-break:normal}
.flow-corner-grid input[type="radio"]{width:auto;min-height:0;margin:0;flex:none}
.flow-anchor-popup{max-width:calc(100vw - 18px)}
/* Make all cards, forms, invoice history and reports scale without horizontal viewport overflow. */
@media(max-width:1024px){
 .two-cols{grid-template-columns:1fr}
 .flow-hero{flex-wrap:wrap}
 .flow-action{min-width:0}
}
@media(max-width:760px){
 #app .main{padding:calc(17px + env(safe-area-inset-top)) 14px calc(112px + env(safe-area-inset-bottom))}
 #app .topbar{flex-direction:column;align-items:stretch;padding-right:0}
 #app .top-actions{width:100%}
 #app .top-actions input{flex:1 1 150px;max-width:none}
 #app .top-actions .btn{flex:1 1 auto}
 .flow-fab{width:58px;height:58px}
 .flow-quick-menu{width:min(330px,calc(100vw - 26px))}
 .panel-head{flex-wrap:wrap}
 .dialog-form{min-width:0}
 .flow-dialog{width:min(100vw,620px);margin:0;max-height:100dvh}
 .flow-payment-lines,.flow-pay-row{min-width:0}
}
@media(max-width:480px){
 .stats.four{grid-template-columns:repeat(2,minmax(0,1fr))}
 .stat{padding:14px 11px}
 .stat-value{font-size:clamp(18px,5vw,24px)}
 .flow-form-grid{grid-template-columns:1fr}
 .flow-pay-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .flow-pay-row label{min-width:0}
 .flow-pay-row label:nth-child(3){grid-column:1 / -1}
 .flow-remove-row{grid-column:2}
 .flow-two-actions{grid-template-columns:1fr}
 .flow-corner-grid{grid-template-columns:1fr 1fr}
 .flow-corner-grid label{font-size:11.5px;line-height:1.4;padding:11px 8px}
 #app .top-actions .btn{min-width:0}
 .flow-list-row,.flow-supplier-row{flex-wrap:wrap;gap:8px}
 .flow-row-end{width:100%;text-align:right}
 .report-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:345px){
 .flow-metric-row{grid-template-columns:1fr;display:grid}
 .report-kpi-grid,.stats.four{grid-template-columns:1fr}
 .flow-quick-menu{max-height:calc(100dvh - 145px)}
}
@media(prefers-reduced-motion:reduce){.flow-fab,.flow-quick-menu{transition:none!important}}


/* ==========================================================
   Café Flow v2.6.4 · Logistis Premium Experience
   Purely presentational, preserving established JS IDs,
   SSO, vault lifecycle, and accessible control semantics.
   ========================================================== */
:root{
  --bg:#f3f7f8;--card:#ffffff;--ink:#16383f;--muted:#637b80;
  --primary:#116b70;--primary2:#138c85;--line:#dde8e9;
  --red:#aa5155;--good:#087b65;--soft:#e8f5f2;--amber:#b17a2e;
  --shadow:0 16px 42px rgba(24,68,76,.06);
  --lgs-deep:#102f39;--lgs-mid:#154f59;--lgs-teal:#0e898a;
  --lgs-mint:#54d1b7;--lgs-gold:#e7c38c;
  --premium-font:-apple-system,BlinkMacSystemFont,"Segoe UI","Inter",system-ui,sans-serif;
}
html{background:var(--bg)}
body{background:radial-gradient(ellipse 65% 36% at 90% -10%,#d6eceb 0%,transparent 85%),var(--bg);color:var(--ink)}
:where(.btn,button,a,input,select,textarea):focus-visible{outline-color:#54adac;outline-offset:3px}
.btn,.flow-action,.stat,.panel,.entry-action-card{transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease,background-color .18s ease}
.btn.primary{background:linear-gradient(122deg,#13878b,#0b6672);color:#fff;box-shadow:0 9px 19px rgba(10,106,112,.17);font-weight:650}
.btn.primary:not(:disabled):hover{background:linear-gradient(122deg,#199c99,#0e7684);box-shadow:0 13px 25px rgba(10,106,112,.23);transform:translateY(-1px)}
.btn.secondary{background:#eff6f6;color:#1a5960;border-color:#d4e4e5}
.btn.secondary:not(:disabled):hover{background:#e5f0f0}
.btn.danger{background:#fff0f0;color:#a9484a}
.link-btn{color:#11757a}
input,select,textarea{border-color:#d7e4e6;background:#fcfefe;border-radius:12px;color:#173c43}
input:focus,select:focus,textarea:focus{border-color:#76b7b9;background:#fff}
.eyebrow,.flow-eyebrow{color:#0d777c;font-size:11px;letter-spacing:.12em;font-weight:800}
/* New ecosystem wordmark, intentionally text-based until user logo uploaded. */
.lgs-wordmark{font-family:Georgia,"Times New Roman",serif;font-weight:700;font-style:italic;letter-spacing:-.07em;font-size:27px;line-height:1;white-space:nowrap}
.lgs-wordmark-dot{color:var(--lgs-mint)}
.lgs-mark{display:inline-grid;place-items:center;background:rgba(114,223,204,.16);border:1px solid rgba(154,244,222,.18);width:37px;height:37px;border-radius:12px;font-size:22px;color:#8ae6d1;flex:none}
/* Desktop auth: branded editorial left panel + compact secure workspace. */
.auth-wrap{min-height:100dvh;display:grid;grid-template-columns:minmax(300px,1.05fr) minmax(350px,.95fr);place-items:stretch;padding:clamp(14px,2vw,28px);gap:clamp(15px,2vw,30px);background:radial-gradient(circle at 78% 12%,#d9f0ec 0%,#f7faf9 47%,#edf4f4 100%)}
.lgs-auth-promo{position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;border-radius:30px;padding:clamp(24px,4vw,56px);min-height:650px;color:#fff;background:radial-gradient(circle at 83% 80%,rgba(29,182,170,.3),transparent 42%),linear-gradient(142deg,#102b37 5%,#15545b 60%,#123940 100%);box-shadow:0 22px 55px rgba(17,65,71,.16)}
.lgs-auth-promo:before{content:"";position:absolute;right:-155px;bottom:4%;width:480px;height:480px;border:1px solid rgba(188,244,230,.15);border-radius:50%;box-shadow:0 0 0 75px rgba(204,255,240,.035),0 0 0 155px rgba(204,255,240,.028);pointer-events:none}
.lgs-auth-promo:after{content:"";position:absolute;left:52%;top:34%;width:340px;height:340px;background:radial-gradient(circle,rgba(72,210,193,.09),transparent 65%);pointer-events:none}
.lgs-auth-promo-logo{display:flex;align-items:center;gap:12px;position:relative;z-index:1}
.lgs-auth-promo-logo .lgs-wordmark{font-size:38px}
.lgs-promo-portal{border:1px solid rgba(255,255,255,.22);border-radius:100px;font-size:9px;letter-spacing:.15em;padding:7px 10px;color:#ccebe6;margin-left:9px}
.lgs-auth-promo-main{position:relative;z-index:1;max-width:670px;padding:50px 0}
.lgs-promo-tag{display:inline-flex;align-items:center;gap:9px;padding:9px 13px;border:1px solid rgba(131,217,209,.26);background:rgba(255,255,255,.075);border-radius:100px;color:#c2eee4;font-size:12px;font-weight:650}
.lgs-promo-tag>span{height:7px;width:7px;display:inline-block;background:#6ae0b8;border-radius:50%;box-shadow:0 0 0 5px rgba(106,224,184,.1)}
.lgs-auth-promo h2{font-size:clamp(35px,4.5vw,70px);line-height:1.08;font-weight:700;letter-spacing:-.055em;margin:31px 0 22px;color:#fff}
.lgs-auth-promo h2 em{color:#91ead7;font-style:normal}
.lgs-auth-promo-main>p{font-size:clamp(14px,1.4vw,17px);line-height:1.8;color:#c4dddc;max-width:480px}
.lgs-promo-features{display:flex;gap:10px;flex-wrap:wrap;margin-top:34px}
.lgs-promo-features span{padding:10px 12px;background:rgba(229,255,250,.085);border:1px solid rgba(229,255,250,.10);border-radius:12px;font-size:12px;color:#d9f1ec}
.lgs-auth-promo-footer{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:10px;color:#9fc5c5;letter-spacing:.17em;font-size:10px}
.auth-card{align-self:center;justify-self:center;width:min(100%,510px);max-height:calc(100dvh - 40px);overflow-y:auto;padding:clamp(25px,3vw,43px);background:rgba(255,255,255,.96);border:1px solid #d7e8e8;border-radius:29px;box-shadow:0 30px 70px rgba(25,81,89,.11)}
.lgs-auth-brand{display:flex;align-items:center;gap:9px;border-bottom:1px solid #edf1f1;padding-bottom:20px;margin-bottom:23px}
.lgs-auth-brand .lgs-mark{background:#e8f6f2;border:1px solid #d7ece7;color:#148f84}
.lgs-auth-brand .lgs-wordmark{color:#143e49;font-size:29px}
.lgs-auth-brand .lgs-wordmark-dot{color:#1bb39b}
.lgs-auth-brand-tag{margin-left:auto;font-size:9px;letter-spacing:.12em;color:#70979b;font-weight:750}
.auth-card .logo-lg{display:grid;place-items:center;background:linear-gradient(145deg,#e0f4ee,#eff7fc);color:#176c72;border:1px solid #d3e9e6;border-radius:17px;height:57px;width:57px;margin-bottom:17px;font-size:25px}
.auth-card .eyebrow{color:#198488;font-size:10px;letter-spacing:.14em}
.auth-card h1{font-size:clamp(26px,2.8vw,33px);font-weight:750;letter-spacing:-.045em;color:#163942;line-height:1.15;margin:14px 0 12px}
.auth-card .muted{color:#6c8589}
.auth-card .btn.primary{min-height:49px;border-radius:13px;font-size:14px}
.auth-mode-tabs{border:1px solid #e2edef;background:#f3f8f8;border-radius:14px;padding:5px}
.auth-mode-tab.active{background:#fff!important;color:#0c6970!important;box-shadow:0 4px 14px rgba(24,91,98,.09)!important}
.auth-card .note{border-color:#dbeaec;background:#f5faf9;color:#4c6b70}
#logistis-sso-panel{border:1px solid #b7dedb!important;background:linear-gradient(155deg,#ecf9f6,#edf7fa)!important;color:#1c5960!important;border-radius:16px!important;box-shadow:0 8px 22px rgba(33,128,134,.06);padding:17px!important}
#logistis-sso-panel strong{display:block;font-size:14px;color:#0e6a71;margin-bottom:9px}
#logistis-sso-panel-text{font-size:13px;line-height:1.7!important}
#logistis-sso-identity{border-color:#b7dedb!important;background:#ecf9f6!important;color:#1a5860!important}
/* The application shell keeps the existing floating menu, but gains a Logistis masthead. */
#app .main{padding-top:clamp(14px,2vw,25px)}
.lgs-contextbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:82px;background:linear-gradient(116deg,#11323e,#164e57 72%,#146970);color:#fff;padding:14px clamp(18px,2.8vw,31px);border:1px solid rgba(255,255,255,.09);border-radius:22px;box-shadow:0 16px 34px rgba(16,62,71,.18);margin-bottom:24px;position:relative;overflow:hidden}
.lgs-contextbar:after{content:"";position:absolute;right:15%;top:-50px;width:250px;height:180px;border:1px solid rgba(162,240,220,.11);border-radius:50%;transform:rotate(-25deg);pointer-events:none}
.lgs-context-brand{display:flex;gap:13px;align-items:center;min-width:0;position:relative;z-index:1}
.lgs-context-brand .lgs-wordmark{font-size:31px}
.lgs-context-separator{height:27px;width:1px;background:rgba(255,255,255,.27);margin:0 6px}
.lgs-module-name{display:flex;gap:9px;align-items:center;font-size:14px;font-weight:700;white-space:nowrap;color:#e3f6f2}
.lgs-module-icon{display:grid;place-items:center;background:rgba(255,255,255,.12);height:34px;width:34px;border-radius:11px;font-size:18px}
.lgs-context-actions{display:flex;align-items:center;gap:18px;position:relative;z-index:1}
.lgs-secure-indicator{display:flex;align-items:center;gap:8px;font-size:11px;white-space:nowrap;color:#d3eeea}
.lgs-secure-indicator i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#79dec5;box-shadow:0 0 0 4px rgba(121,222,197,.12)}
.lgs-context-back{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.18);border-radius:11px;padding:10px 13px;text-decoration:none;color:#fff;font-size:12px;font-weight:650;white-space:nowrap}
.lgs-context-back:hover{background:rgba(255,255,255,.19)}
#app .topbar{margin:0 0 22px;padding:0 5px}
#app .topbar h1{font-size:clamp(28px,3vw,38px);color:#183b42;font-weight:720;letter-spacing:-.055em}
#app .topbar .eyebrow{font-size:11px;color:#148389}
#app .topbar .muted{font-size:13px;color:#74888c;line-height:1.5}
#app .top-actions input{background:#fff;min-height:45px;border-radius:12px}
.lgs-dash-kicker{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 17px;padding:0 4px}
.lgs-dash-kicker>div{min-width:0}
.lgs-dash-kicker strong{color:#294c52;font-size:15px;font-weight:750;letter-spacing:-.015em}
.lgs-dash-kicker p{font-size:12px;color:#7b9095;line-height:1.5;margin-top:4px}
.lgs-dash-spark{display:inline-grid;place-items:center;margin-right:8px;background:#e1f5ed;color:#168b77;width:28px;height:28px;border-radius:10px;font-size:16px}
.lgs-dash-live{display:inline-flex;white-space:nowrap;border:1px solid #d3e7e5;border-radius:100px;background:#fff;color:#177c7d;padding:8px 12px;font-size:11px;font-weight:650}
.stat{border:1px solid #dce8e9;border-radius:21px;padding:22px;box-shadow:0 8px 25px rgba(23,75,83,.045);position:relative;overflow:hidden;background:#fff}
.stat:hover,.panel:hover{box-shadow:0 13px 36px rgba(23,75,83,.065)}
.stats.four .stat:nth-child(1){border-top:3px solid #28a690;background:linear-gradient(155deg,#fff 55%,#f1fbf7)}
.stats.four .stat:nth-child(2){border-top:3px solid #e0ad73;background:linear-gradient(155deg,#fff 55%,#fff8ef)}
.stats.four .stat:nth-child(3){border-top:3px solid #669fbc;background:linear-gradient(155deg,#fff 55%,#f1f8fc)}
.stats.four .stat.dark{border:1px solid #225b64;border-top:3px solid #7edcc6;background:linear-gradient(145deg,#153b47,#155962);color:#fff;box-shadow:0 15px 26px rgba(24,76,83,.17)}
.stat-label{color:#5b767c;font-size:12px;font-weight:700;letter-spacing:.005em}
.stat-value{font-size:clamp(23px,2.6vw,34px);color:#1c424a;font-weight:760;letter-spacing:-.05em;margin:17px 0 13px}
.stat-value.good{color:#108672}
.stat-hint{color:#809398;font-size:11px}
.stat.dark .stat-label,.stat.dark .stat-hint{color:#c1dddf}
.stat.dark .stat-value{color:#fff}
.panel{border-radius:21px;border-color:#dfe9ea;box-shadow:0 9px 26px rgba(27,79,85,.045);padding:24px}
.panel h2{font-size:17px;font-weight:750;color:#244b52;letter-spacing:-.025em}
.panel-head p{color:#80969a}
.pill{background:#ebf7f2;color:#177d70}
.bar.income{background:linear-gradient(to top,#128276,#57c6ae)}
.bar.expense{background:linear-gradient(to top,#d09c63,#efd6af)}
.income-swatch{background:#128276}.expense-swatch{background:#d09c63}
.flow-hero{border-color:#cee7e3;background:linear-gradient(128deg,#f5fcfa,#e3f3ef 80%,#d9edeb);box-shadow:0 11px 30px rgba(21,96,100,.06)}
.flow-hero h2{color:#144e53}.flow-hero p:not(.flow-eyebrow){color:#5d7e81}
.entry-action-card,.flow-action{border-color:#d8e8e8;border-radius:20px;box-shadow:0 6px 20px rgba(19,78,84,.045)}
.entry-action-card:hover,.flow-action:hover{border-color:#8ac7c5;box-shadow:0 13px 26px rgba(19,78,84,.1)}
.flow-fab{background:linear-gradient(145deg,#16a79d,#0a6d78);box-shadow:0 10px 28px rgba(14,110,120,.32);border:2px solid rgba(255,255,255,.35)}
.flow-fab[aria-expanded="true"]{background:#124b56}
.flow-menu-item.active{background:#e8f6f2;color:#126f72}
.flow-menu-icon{color:#158a8c}
.flow-menu-group-label{color:#4f8588}
#status{background:linear-gradient(135deg,#12545c,#0e7778)}
/* The standalone/mobile view is concise and thumb friendly. */
@media(max-width:940px){
 .auth-wrap{grid-template-columns:1fr;place-items:center;padding:clamp(12px,3vw,23px);gap:0}
 .lgs-auth-promo{display:none}
 .auth-card{max-height:none;align-self:center;overflow:visible}
}
@media(max-width:760px){
 #app .main{padding:calc(12px + env(safe-area-inset-top)) 13px calc(112px + env(safe-area-inset-bottom))}
 .lgs-contextbar{padding:12px 15px;min-height:68px;border-radius:18px;margin-bottom:23px;gap:8px}
 .lgs-context-brand{gap:9px}
 .lgs-context-brand .lgs-wordmark{font-size:27px}
 .lgs-context-brand .lgs-mark{height:32px;width:32px;font-size:19px}
 .lgs-context-separator{margin:0 2px;height:22px}
 .lgs-module-name{font-size:12px;gap:6px}
 .lgs-module-icon{height:29px;width:29px;font-size:16px}
 .lgs-context-actions{gap:8px}
 .lgs-secure-indicator{display:none}
 .lgs-context-back{padding:9px 10px;font-size:12px}
 #app .topbar{margin-bottom:21px}
 .lgs-dash-kicker{margin-bottom:15px}
 .stats.four{gap:10px}
 .stat{border-radius:17px;padding:16px 13px}
 .stat-value{font-size:clamp(20px,5.7vw,28px);margin:13px 0 11px}
 .panel{border-radius:19px;padding:17px}
 .auth-wrap{min-height:100dvh;padding:calc(16px + env(safe-area-inset-top)) 13px calc(18px + env(safe-area-inset-bottom))}
 .auth-card{width:min(100%,490px);padding:clamp(22px,5vw,31px);border-radius:24px}
}
@media(max-width:430px){
 .lgs-auth-brand-tag{display:none}
 .lgs-context-brand .lgs-wordmark{font-size:23px}
 .lgs-module-icon{display:none}
 .lgs-context-back span{display:none}
 .lgs-context-back{width:35px;height:35px;justify-content:center;padding:0}
 .lgs-dash-live{display:none}
 .stat-hint{line-height:1.45}
 .stat-value{font-size:clamp(18px,5.6vw,24px)}
}
@media(prefers-reduced-motion:reduce){.btn,.flow-action,.stat,.panel,.entry-action-card{transition:none}}

/* Café Flow v2.6.5 — Logistis secure fresh-start. */
.lgs-freshstart{margin:14px 0 20px;padding:22px;border:1px solid #b6d4d0;border-radius:18px;background:linear-gradient(150deg,#f0fbf8 0%,#fff 73%);box-shadow:0 12px 28px rgba(12,54,57,.06);color:#163d41}
.lgs-freshstart h2{margin:7px 0 12px;font-size:1.3rem;font-weight:700;color:#143b40}
.lgs-freshstart p{font-size:.93rem;line-height:1.58}
.lgs-freshstart-kicker{font-size:.72rem;letter-spacing:.16em;font-weight:800;color:#087a78}
.lgs-freshstart-warning{padding:12px 14px;background:#fff6e7;border-left:3px solid #bb8d3a;border-radius:8px;color:#6b4c13}
.lgs-freshstart-check{display:flex;align-items:flex-start;gap:10px;font-size:.88rem;line-height:1.5;font-weight:550}
.lgs-freshstart-check input{width:20px;height:20px;min-width:20px;accent-color:#047b76;margin-top:3px}
.lgs-freshstart .btn{margin-top:12px}
.lgs-freshstart #freshstart-status{min-height:16px;color:#184b50}
@media(max-width:640px){.lgs-freshstart{padding:17px;border-radius:16px}}

/* 2.6.6: safe managed start availability is explicit, never a hidden failure. */
.lgs-freshstart-unavailable{border:1px solid #cadce0;background:#f5f9fa;color:#365c60;padding:12px 14px;border-radius:12px;font-size:.88rem;line-height:1.55}


/* 2.6.8 — verified Logistis company name, readable wrapping and unchanged app layout. */
.lgs-contextbar{overflow:visible}
.lgs-contextbar:after{overflow:hidden}
.lgs-context-brand{min-width:0;flex:1}
.lgs-company-identity{display:flex;flex-direction:column;justify-content:center;min-width:0;max-width:clamp(150px,31vw,390px);flex:0 1 auto;gap:4px}
.lgs-company-caption{font-size:9px;letter-spacing:.17em;font-weight:780;color:#b5ded9}
.lgs-company-name{display:block;max-width:100%;color:white;font-size:clamp(14px,1.5vw,21px);line-height:1.28;font-weight:760;letter-spacing:-.025em;white-space:normal;overflow-wrap:anywhere;word-break:normal}
.lgs-module-name{min-width:0;white-space:normal;line-height:1.3;flex-shrink:0}
.lgs-module-name #lgs-module-label{display:block;max-width:140px;overflow-wrap:anywhere}
.lgs-context-back span{display:inline!important}
.lgs-context-back{width:auto!important;height:auto!important;min-height:38px;white-space:nowrap}
@media(max-width:760px){
 .lgs-contextbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:13px 14px}
 .lgs-context-brand{min-width:0;gap:7px;align-items:center}
 .lgs-company-identity{max-width:min(45vw,220px)}
 .lgs-company-caption{font-size:8px}
 .lgs-company-name{font-size:clamp(12px,3.6vw,16px)}
 .lgs-context-separator{flex:0 0 1px;margin:0 3px;height:30px}
 .lgs-module-icon{display:none}
 .lgs-module-name{font-size:12px;min-width:0}
 .lgs-module-name #lgs-module-label{max-width:110px}
 .lgs-context-back{font-size:12px;padding:9px 10px!important}
}
@media(max-width:540px){
 .lgs-contextbar{grid-template-columns:minmax(0,1fr);gap:9px}
 .lgs-context-brand{width:100%;gap:10px}
 .lgs-company-identity{max-width:58%;flex:1 1 58%}
 .lgs-module-name{flex:1 1 35%;font-size:13px}
 .lgs-context-actions{justify-content:flex-end}
 .lgs-context-back{padding:8px 12px!important}
}


/* 2.6.9 — premium metallic company header and compact welcome only.
   Cash-flow, sales, document, report and financial dashboard styles are untouched. */
#app .lgs-metallicbar{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;
  min-height:104px;gap:12px;padding:13px clamp(14px,2.4vw,26px);
  overflow:hidden;isolation:isolate;position:relative;
  border-radius:21px;border:1px solid rgba(128,255,244,.58);
  background:
    linear-gradient(165deg,rgba(245,255,255,.17) 0%,transparent 26%,rgba(0,24,32,.17) 65%,rgba(97,239,227,.16) 100%),
    linear-gradient(118deg,#063139 3%,#064a50 53%,#08646b 81%,#063439 100%);
  box-shadow:0 2px 0 rgba(169,255,249,.36) inset,0 -2px 0 rgba(44,224,214,.45) inset,0 12px 30px rgba(4,55,62,.19);
}
#app .lgs-metallicbar::before{content:"";position:absolute;inset:-100% -12% 0 38%;border-radius:50%;background:linear-gradient(128deg,transparent 28%,rgba(140,255,245,.06) 46%,rgba(159,255,244,.28) 49%,rgba(15,133,142,.04) 53%,transparent 70%);transform:rotate(-15deg);pointer-events:none;z-index:-1}
#app .lgs-metallicbar::after{content:"";position:absolute;inset:auto 6% 0 14%;height:2px;background:linear-gradient(90deg,transparent,#50e2d6 30%,#aafff7 55%,transparent);filter:blur(.7px);pointer-events:none}
#app .lgs-metallicbar .lgs-context-brand{display:flex;flex:1 1 auto;align-items:center;gap:13px;min-width:0;width:auto}
#app .lgs-module-stack{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 84px;min-width:0;gap:5px}
#app .lgs-module-stack .lgs-module-icon{width:50px;height:50px;padding:3px;display:grid;place-items:center;overflow:hidden;border-radius:15px;background:linear-gradient(138deg,rgba(228,255,251,.25),rgba(19,157,154,.21) 56%,rgba(2,56,64,.45));border:1px solid rgba(183,255,244,.56);box-shadow:0 1px 0 rgba(255,255,255,.23) inset,0 3px 0 rgba(9,221,206,.43),0 5px 13px rgba(0,24,28,.22)}
#app .lgs-module-stack img{width:100%;height:100%;object-fit:cover;border-radius:11px}
#app .lgs-module-caption{font-size:11px;line-height:1.2;text-align:center;color:#e8fffd;font-weight:760;max-width:100%;overflow-wrap:anywhere}
#app .lgs-metallicbar .lgs-context-separator{width:1px;height:57px;flex:0 0 1px;background:linear-gradient(180deg,transparent,rgba(216,255,252,.56),transparent);margin:0}
#app .lgs-metallicbar .lgs-company-identity{min-width:0;max-width:none;flex:1 1 auto;gap:0}
#app .lgs-metallicbar .lgs-company-name{font-size:clamp(15px,1.85vw,23px);line-height:1.25;font-weight:780;letter-spacing:-.018em;white-space:normal;overflow-wrap:anywhere;text-shadow:0 1px 3px rgba(0,0,0,.14)}
#app .lgs-metallicbar .lgs-context-actions{flex:0 0 auto;min-width:0}
#app .lgs-metallicbar .lgs-context-back{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:10px 14px!important;font-size:12px;font-weight:760;border-radius:30px;color:#f1fffe;border:1px solid rgba(169,250,241,.62);background:linear-gradient(160deg,rgba(177,255,248,.25),rgba(0,63,75,.43) 56%,rgba(8,117,125,.44));box-shadow:0 2px 0 rgba(238,255,255,.18) inset,0 2px 9px rgba(0,28,34,.14);text-decoration:none}
#app .lgs-metallicbar .lgs-context-back span{display:inline!important}
#app .lgs-welcome{display:flex;align-items:center;gap:15px;min-width:0;margin:0 0 20px;padding:16px 18px;background:linear-gradient(114deg,#effbf9 0%,#e0f1f0 72%,#d4eeea 100%);border:1px solid #c4e5e1;border-radius:20px;box-shadow:0 9px 25px rgba(20,96,93,.07)}
#app .lgs-welcome-icon{flex:0 0 54px;width:54px;height:54px;padding:4px;border:1px solid #a1d5d0;background:linear-gradient(145deg,#fbfffe,#caeae5);border-radius:17px;box-shadow:0 4px 10px rgba(12,94,94,.09);overflow:hidden}
#app .lgs-welcome-icon img{width:100%;height:100%;object-fit:cover;border-radius:12px}
#app .lgs-welcome-copy{min-width:0}
#app .lgs-welcome-copy h2{font-size:clamp(17px,2vw,24px);font-weight:780;line-height:1.25;letter-spacing:-.035em;color:#17444c;overflow-wrap:anywhere}
#app .lgs-welcome-copy p{font-size:12px;line-height:1.5;color:#52787c;margin-top:7px}
@media(max-width:760px){
 #app .lgs-metallicbar{display:flex;grid-template-columns:none;flex-wrap:nowrap;gap:9px;min-height:93px;padding:11px 12px;border-radius:17px}
 #app .lgs-metallicbar .lgs-context-brand{width:auto;min-width:0;gap:9px;flex:1 1 auto}
 #app .lgs-module-stack{flex-basis:64px;gap:4px}
 #app .lgs-module-stack .lgs-module-icon{width:43px;height:43px;border-radius:13px}
 #app .lgs-module-caption{font-size:10px}
 #app .lgs-metallicbar .lgs-company-identity{max-width:none;min-width:0;flex:1 1 auto}
 #app .lgs-metallicbar .lgs-company-name{font-size:clamp(12px,3.6vw,16px);line-height:1.24}
 #app .lgs-metallicbar .lgs-context-separator{height:47px;margin:0}
 #app .lgs-metallicbar .lgs-context-actions{justify-content:flex-end}
 #app .lgs-metallicbar .lgs-context-back{padding:8px 10px!important;font-size:11px;min-height:35px}
 #app .lgs-welcome{padding:13px 14px;gap:11px;border-radius:16px;margin-bottom:18px}
 #app .lgs-welcome-icon{flex-basis:47px;width:47px;height:47px;border-radius:14px}
 #app .lgs-welcome-copy h2{font-size:18px}
 #app .lgs-welcome-copy p{font-size:11px}
}
@media(max-width:375px){
 #app .lgs-metallicbar{gap:7px;padding:10px 9px}
 #app .lgs-metallicbar .lgs-context-brand{gap:7px}
 #app .lgs-module-stack{flex-basis:55px}
 #app .lgs-module-stack .lgs-module-icon{width:37px;height:37px}
 #app .lgs-module-caption{font-size:9px}
 #app .lgs-metallicbar .lgs-company-name{font-size:12px}
 #app .lgs-metallicbar .lgs-context-back{font-size:10px;padding:7px 8px!important}
}

/* 2.6.10: actual metallic app icon, safe Portal return form, no financial style changes. */
#app .lgs-portal-return-form, #app #lgs-portal-return-form {margin:0;display:inline-flex;align-items:center}
#app #lgs-context-back {font-family:inherit;cursor:pointer;-webkit-appearance:none;appearance:none;line-height:1.1;box-sizing:border-box}
#app .lgs-module-stack .lgs-module-icon {background:linear-gradient(145deg,rgba(237,255,255,.28),rgba(8,104,111,.35));border:1px solid rgba(204,255,251,.85);box-shadow:0 0 0 1px rgba(20,226,211,.36),0 1px 0 rgba(255,255,255,.52) inset,0 7px 18px rgba(0,22,27,.29)}
#app .lgs-module-stack img, #app .lgs-welcome-icon img {object-fit:cover}
#app .lgs-module-caption {text-shadow:0 1px 2px rgba(0,19,24,.4)}
@media(max-width:390px){#app .lgs-module-caption{font-size:9.5px}#app .lgs-metallicbar .lgs-company-name{font-size:clamp(11px,3.2vw,14px)}}

/* 2.6.11 — collapsible information and server-verified read-only rights display */
#app .lg-dashboard-info-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:12px;margin:0 0 19px;align-items:stretch}
#app .lg-dashboard-rights,#app .lg-dashboard-disclosure{border:1px solid #c5e5ed;border-radius:17px;background:linear-gradient(127deg,#f5fcff,#eef8fd);box-shadow:0 5px 22px rgba(10,80,94,.055);min-width:0}
#app .lg-dashboard-rights{padding:15px 16px}
#app .lg-dashboard-rights h3{font-size:15px;line-height:1.25;color:#163f4b;margin:0 0 11px;font-weight:780}
#app .lg-rights-list{display:flex;flex-wrap:wrap;gap:6px 13px;font-size:12px;font-weight:650;color:#145c61}
#app .lg-rights-denied{font-size:11px;color:#71828c;line-height:1.55;margin:9px 0 0}
#app .lg-dashboard-disclosure{overflow:hidden}
#app .lg-dashboard-disclosure summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:14px 13px;min-height:100%;font-size:13px;color:#173c4a}
#app .lg-dashboard-disclosure summary::-webkit-details-marker{display:none}
#app .lg-info-icon{display:grid;place-items:center;flex:0 0 37px;width:37px;height:37px;border-radius:12px;border:1px solid #8bdae4;background:#e0f8fb;font-size:24px;font-weight:800;color:#00899a}
#app .lg-dashboard-disclosure summary strong{display:block;font-weight:780}
#app .lg-dashboard-disclosure summary small{display:block;margin-top:4px;color:#708c96;font-size:11px;line-height:1.45}
#app .lg-dashboard-disclosure summary>span:last-child{margin-left:auto;font-size:23px;color:#0e929e}
#app .lg-dashboard-disclosure[open] summary>span:last-child{transform:rotate(180deg)}
#app .lg-dashboard-disclosure[open] summary{min-height:0}
#app .lg-dashboard-disclosure-body{padding:0 13px 15px}
#app .lg-dashboard-disclosure-body .training-app-banner,#app .lg-dashboard-disclosure-body .production-app-banner{margin:6px 0 10px;font-size:12px}
#app .lg-dashboard-disclosure-body .offline-info{font-size:12px;line-height:1.55;margin:8px 0}
#app .lg-dashboard-disclosure-body .lg-restore-note{font-size:11px;color:#506970;line-height:1.55;margin:9px 0 0}
@media(max-width:590px){#app .lg-dashboard-info-grid{grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:8px}#app .lg-dashboard-rights{padding:11px 12px}#app .lg-dashboard-rights h3{font-size:12px}#app .lg-rights-list{font-size:11px;gap:5px}#app .lg-dashboard-disclosure summary{gap:6px;padding:11px 9px}#app .lg-info-icon{flex-basis:28px;width:28px;height:28px;font-size:20px}#app .lg-dashboard-disclosure summary strong{font-size:11px}#app .lg-dashboard-disclosure summary small{font-size:10px}}
@media(max-width:355px){#app .lg-dashboard-info-grid{grid-template-columns:1fr}}

/* Approved teal welcome banner: existing cash data remains directly below. */
#app .lgs-welcome{position:relative;overflow:hidden;display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:17px;min-height:133px;padding:18px 23px;background:linear-gradient(115deg,#083340 0%,#0b5361 72%,#08767a 100%);border:1px solid rgba(79,218,215,.65);border-radius:20px;box-shadow:inset 0 1px rgba(239,255,255,.35),0 10px 25px rgba(0,67,79,.12)}
#app .lgs-welcome:before{content:'';position:absolute;right:-20px;bottom:-110px;width:260px;height:200px;transform:rotate(-17deg);border-radius:50%;border-top:1px solid rgba(177,255,249,.38);box-shadow:0 -15px 35px rgba(61,224,212,.14);pointer-events:none}
#app .lgs-welcome-icon{z-index:1;flex:0 0 96px;width:96px;height:96px;padding:4px;border:1px solid rgba(197,255,252,.5);border-radius:22px;background:linear-gradient(140deg,rgba(244,255,255,.18),rgba(1,77,80,.3));box-shadow:0 0 15px rgba(36,218,197,.2),inset 0 1px rgba(255,255,255,.38)}
#app .lgs-welcome-icon img{border-radius:17px;object-fit:cover}
#app .lgs-welcome-copy{z-index:1;flex:1}
#app .lgs-welcome-copy h2{color:#f8ffff;font-size:clamp(19px,2.2vw,27px);line-height:1.22;text-shadow:0 1px 1px rgba(0,24,29,.18)}
#app .lgs-welcome-copy p{color:#c8eef0;font-size:13px;line-height:1.55;max-width:470px}
@media(max-width:590px){#app .lgs-welcome{min-height:120px;padding:15px 14px;gap:10px;border-radius:17px}#app .lgs-welcome-icon{width:70px;height:70px;flex-basis:70px;border-radius:17px}#app .lgs-welcome-icon img{border-radius:12px}#app .lgs-welcome-copy h2{font-size:18px}#app .lgs-welcome-copy p{font-size:11px}}

/* Reference-image faithful dashboard — visual presentation only; no auth/data changes. */
#app{--bg:#eff7fc;--ink:#12243e;--muted:#65788a;--line:#c9dce8;--primary:#007d80;--good:#008577}
#app .main{background:linear-gradient(180deg,#e9f4f9,#f5f9fc 58%,#edf7fa)}
#app #page-dashboard .stats.four{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#app #page-dashboard .stat{border-radius:23px;min-height:119px;padding:20px 22px;border-color:#c6dae5;box-shadow:0 6px 18px rgba(20,66,88,.07)}
#app #page-dashboard .stat:nth-child(1){border-top:4px solid #159e8e}
#app #page-dashboard .stat:nth-child(2){border-top:4px solid #e0a86d}
#app #page-dashboard .stat:nth-child(3){border-top:4px solid #5f9cc8}
#app #page-dashboard .stat:nth-child(4){background:linear-gradient(120deg,#064751,#007a78);border-color:#007a78;color:#fff}
#app #page-dashboard .stat-label{font-size:15px;color:#607586;font-weight:750}
#app #page-dashboard .stat-value{font-size:clamp(26px,3.5vw,35px);margin:13px 0 0;color:#12334c}
#app #page-dashboard .stat:nth-child(1) .stat-value{color:#008779}
#app #page-dashboard .stat:nth-child(4) .stat-value,#app #page-dashboard .stat:nth-child(4) .stat-label{color:#fff}
#app #page-dashboard .stat-hint{display:none}
#app #page-dashboard .two-cols{grid-template-columns:1fr;gap:17px}
#app #page-dashboard .panel{border-radius:24px;border-color:#c8dce8;padding:22px;box-shadow:0 8px 20px rgba(23,78,103,.055)}
#app #page-dashboard .panel-head h2,#app #page-dashboard .panel h2{font-size:21px;color:#102942}
#app #page-dashboard .panel-head p{font-size:13px}
#app #page-dashboard .lgs-welcome{margin-bottom:18px}
#app #page-dashboard .lg-dashboard-info-grid{margin-bottom:22px}
#app #page-dashboard .lgs-new-entry-btn{border:0;border-radius:30px;padding:11px 18px;color:#fff;font-weight:800;background:linear-gradient(145deg,#08a9a0,#00656c);box-shadow:0 5px 13px rgba(0,120,115,.22)}
#app #page-dashboard .quick-dues{border-radius:14px;background:linear-gradient(90deg,#e2f6f3,#d5f2ee);color:#38616c}
#app #page-dashboard .chart-bars{height:190px}
#app #page-dashboard .panel.compact{margin-top:17px}
@media(max-width:600px){#app #page-dashboard .stats.four{gap:10px}#app #page-dashboard .stat{min-height:112px;padding:15px 14px;border-radius:19px}#app #page-dashboard .stat-label{font-size:12px}#app #page-dashboard .stat-value{font-size:27px}#app #page-dashboard .panel{padding:18px 15px;border-radius:20px}#app #page-dashboard .panel-head h2,#app #page-dashboard .panel h2{font-size:19px}#app #page-dashboard .chart-bars{height:172px}}

/* 2.6.12 — Ενιαία Αρχική: ημερομηνία και παραστατικό αμέσως κάτω από το καλωσόρισμα. */
#app .topbar.lg-dashboard-topbar-hidden{display:none!important}
#app #page-dashboard .lg-dashboard-date-actions{margin:0 0 18px;display:block}
#app #page-dashboard .lg-dashboard-date-actions .top-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;align-items:stretch;width:100%;padding:0;background:#fff;border:1px solid #d0e1e9;border-radius:17px;overflow:hidden;box-shadow:0 4px 15px rgba(10,65,82,.04)}
#app #page-dashboard .lg-dashboard-date-actions input#selected-day{margin:0;min-width:0;max-width:none;width:100%;height:60px;min-height:60px;border:0;background:transparent;border-radius:0;padding:10px 14px;text-align:center;color:#19424d;font-size:15px;font-weight:600}
#app #page-dashboard .lg-dashboard-date-actions button#add-entry{margin:0;border-radius:15px;min-height:60px;padding:10px 17px;background:linear-gradient(130deg,#079b9b,#006970);color:#fff;white-space:nowrap;font-size:14px}
#app #page-dashboard .lg-dashboard-disclosure-body .offline-info,#app #page-dashboard .lg-dashboard-disclosure-body .lg-restore-note{text-align:justify;text-justify:inter-word;hyphens:auto;overflow-wrap:break-word}
@media(max-width:420px){#app #page-dashboard .lg-dashboard-date-actions input#selected-day{font-size:13px;padding:8px}#app #page-dashboard .lg-dashboard-date-actions button#add-entry{font-size:12px;padding:9px 12px}}

/* Café Flow 2.6.13 — refined premium UI. Dashboard-only overrides. */
#app #page-dashboard .lgs-welcome{margin-bottom:9px;min-height:114px;padding:14px 18px;background:linear-gradient(117deg,#062f3b,#084f5c 68%,#087e87);border-color:#67d6d8;box-shadow:inset 0 1px rgba(255,255,255,.23),0 7px 17px rgba(8,62,75,.10)}
#app #page-dashboard .lgs-welcome-icon{width:80px;height:80px;flex-basis:80px;border:none;background:none;box-shadow:none;padding:0}
#app #page-dashboard .lgs-welcome-copy p{color:#e2f2f2}
#app #page-dashboard .lg-dashboard-date-actions{margin-bottom:9px}
#app #page-dashboard .lg-dashboard-date-actions .top-actions{border-radius:12px;background:linear-gradient(110deg,#f6fbfd,#e9f5f8);box-shadow:0 2px 9px rgba(10,65,82,.055);align-items:center;padding:3px 5px}
#app #page-dashboard .lg-dashboard-date-actions input#selected-day{height:39px;min-height:39px;font-size:13px;font-weight:700;padding:5px 9px;color:#153c47}
#app #page-dashboard .lg-dashboard-date-actions button#add-entry{min-height:37px;height:37px;padding:5px 13px;font-size:12px;border-radius:10px;box-shadow:none}
#app #page-dashboard .lg-dashboard-info-grid.cf-premium-info-row{display:flex;align-items:stretch;gap:8px;margin-bottom:11px}
#app #page-dashboard .cf-premium-info-row .lg-dashboard-rights{flex:1;min-width:0;padding:0;background:linear-gradient(125deg,#f7fcfe,#eaf7fa);border:1px solid #c4e0e7;border-radius:13px;box-shadow:0 3px 12px rgba(9,63,77,.055)}
#app #page-dashboard .cf-rights-open{display:flex;align-items:center;gap:8px;width:100%;padding:10px 10px 4px;text-align:left;border:0;background:transparent;color:#133d4b;cursor:pointer}
#app #page-dashboard .cf-rights-symbol{font-size:21px;line-height:1;color:#087e8a}
#app #page-dashboard .cf-rights-main{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;min-width:0;flex:1}
#app #page-dashboard .cf-rights-main strong{font-size:13px;white-space:nowrap}
#app #page-dashboard .cf-rights-chevron{font-size:24px;color:#0795a5}
#app #page-dashboard .cf-rights-main .lg-rights-list{display:flex;align-items:center;flex-wrap:wrap;gap:4px 11px;margin:0;font-size:11px;line-height:1.3}
#app #page-dashboard .cf-rights-main .lg-rights-list span{white-space:nowrap}
#app #page-dashboard .lg-rights-denied{margin:0;padding:0 10px 7px 40px;font-size:10px;color:#637e89;line-height:1.35}
#app #page-dashboard .cf-info-only{flex:0 0 49px;width:49px;min-height:49px;display:grid;place-items:center;border-radius:13px;border:1px solid #9bd4e2;background:linear-gradient(140deg,#f7fcff,#d6f1f8);box-shadow:inset 0 1px white,0 3px 12px rgba(7,101,118,.08);cursor:pointer}
#app #page-dashboard .cf-info-only span{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;font-size:23px;font-weight:800;font-family:Georgia,serif;font-style:italic;color:#037f94;background:radial-gradient(circle at 35% 25%,#fff,#d0f3fa);border:2px solid #12a6bf;box-shadow:0 2px 5px rgba(5,88,104,.15)}
#app #page-dashboard .stats.four{gap:9px;margin-bottom:11px}
#app #page-dashboard .stat{min-height:98px;padding:12px 14px;border-radius:17px;box-shadow:0 4px 12px rgba(10,65,82,.055)}
#app #page-dashboard .stat-value{margin-top:6px;font-size:clamp(24px,3vw,31px)}
#app #page-dashboard .two-cols{gap:10px}
#app #page-dashboard .panel{padding:15px 17px;border-radius:18px;box-shadow:0 4px 14px rgba(10,65,82,.05)}
#app #page-dashboard .panel-head h2,#app #page-dashboard .panel h2{font-size:18px}
#app #page-dashboard .chart-bars{height:135px}
#app #page-dashboard .panel.compact{margin-top:10px}
#app #page-dashboard .quick-dues{padding:9px 12px}
#app .cf-premium-dialog{border:0;border-radius:23px;padding:0;width:min(92vw,580px);max-height:min(85vh,780px);background:#f6fbfe;color:#173b4b;box-shadow:0 20px 65px rgba(0,29,42,.30)}
#app .cf-premium-dialog::backdrop{background:rgba(0,29,41,.58);backdrop-filter:blur(4px)}
#app .cf-dialog-inner{padding:0}
#app .cf-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:17px 19px;background:linear-gradient(115deg,#063541,#076573);color:#fff}
#app .cf-dialog-head h2{font-size:19px;color:#fff;margin:0}
#app .cf-dialog-close{border:1px solid rgba(255,255,255,.4);border-radius:50%;background:rgba(255,255,255,.13);color:#fff;font-size:24px;width:36px;height:36px;cursor:pointer}
#app .cf-dialog-body{padding:19px;overflow-y:auto;max-height:70vh}
#app .cf-dialog-body h3{font-size:16px;margin:12px 0 9px;color:#075e70}
#app .cf-dialog-body p,#app .cf-dialog-body .offline-info{line-height:1.65;text-align:left;overflow-wrap:break-word}
#app .cf-rights-details{display:grid;gap:8px;margin-top:15px}
#app .cf-right-item{display:flex;align-items:center;gap:11px;padding:12px;border-radius:12px;background:#fff;border:1px solid #dce9ee}
#app .cf-right-item .cf-check{display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:50%;background:#dcf5e9;color:#168456;font-weight:900}
#app .cf-right-item.is-denied .cf-check{background:#edf0f3;color:#83919b}
#app .cf-right-item strong{font-size:14px}
#app .cf-right-item small{display:block;color:#5c7380;font-size:11px;margin-top:3px}
@media(max-width:590px){#app #page-dashboard .lgs-welcome{padding:12px 13px;min-height:104px}#app #page-dashboard .lgs-welcome-icon{width:66px;height:66px;flex-basis:66px}#app #page-dashboard .lg-dashboard-date-actions input#selected-day{font-size:12px}#app #page-dashboard .lg-dashboard-date-actions button#add-entry{font-size:11px;padding:5px 9px}#app #page-dashboard .cf-rights-main{gap:3px 8px}#app #page-dashboard .cf-rights-main strong{font-size:12px}#app #page-dashboard .cf-rights-main .lg-rights-list{font-size:10px;gap:3px 7px}#app #page-dashboard .stat{min-height:90px;padding:11px}#app #page-dashboard .stat-value{font-size:25px}#app #page-dashboard .chart-bars{height:115px}}


/* Café Flow 2.6.14 — compact premium dashboard refinements */
#app #page-dashboard .lgs-welcome{
  position:relative;isolation:isolate;overflow:hidden;
  margin:0 0 7px;min-height:112px;padding:13px 15px;
  border:0;border-radius:0;box-shadow:none;
  background:linear-gradient(90deg,#073e4b 0%,#07505c 56%,#0a5b64 100%);
}
#app #page-dashboard .lgs-welcome::after{
  content:"";position:absolute;z-index:-1;right:0;top:0;bottom:0;width:43%;
  background:linear-gradient(90deg,#07505c 0%,rgba(7,80,92,.12) 32%),url("./icons/welcome-coffee-illustration.webp") center / cover no-repeat;
}
#app #page-dashboard .lgs-welcome-icon{display:none}
#app #page-dashboard .lgs-welcome-copy{position:relative;z-index:1;padding-right:25%;max-width:100%}
#app #page-dashboard .lgs-welcome-copy h2{font-size:clamp(18px,2.6vw,25px);letter-spacing:-.025em}
#app #page-dashboard .lgs-welcome-copy p{font-size:12px;line-height:1.4;margin-top:4px}
#app #page-dashboard .lg-dashboard-info-grid.cf-premium-info-row{margin-bottom:7px;gap:7px}
#app #page-dashboard .cf-premium-info-row .lg-dashboard-rights{border-radius:13px}
#app #page-dashboard .cf-rights-open{padding:8px 9px 4px}
#app #page-dashboard .cf-info-only{min-height:47px;width:47px;flex-basis:47px}
#app #page-dashboard .lg-dashboard-date-actions{margin-bottom:9px}
#app #page-dashboard .lg-dashboard-date-actions .top-actions{padding:2px 4px;border:1px solid #d2e7eb}
#app #page-dashboard .lg-dashboard-date-actions input#selected-day{min-height:34px;height:34px}
#app #page-dashboard .lg-dashboard-date-actions button#add-entry{min-height:34px;height:34px}
#app .cf-premium-dialog{position:fixed;inset:0;margin:auto;max-width:min(92vw,580px);max-height:85dvh}
#app .cf-premium-dialog .cf-dialog-head{justify-content:center;position:relative;padding-right:53px;padding-left:53px;text-align:center}
#app .cf-premium-dialog .cf-dialog-close{position:absolute;right:12px;top:50%;transform:translateY(-50%)}
#app .cf-premium-dialog .cf-dialog-body{text-align:center}
#app .cf-premium-dialog .cf-dialog-body h3,#app .cf-premium-dialog .cf-dialog-body p,
#app .cf-premium-dialog .cf-dialog-body .offline-info{text-align:center}
#app .cf-premium-dialog .cf-right-item{text-align:left}
@media(max-width:590px){
 #app #page-dashboard .lgs-welcome{min-height:103px;padding:12px 12px}
 #app #page-dashboard .lgs-welcome-copy{padding-right:22%}
 #app #page-dashboard .lgs-welcome-copy h2{font-size:17px}
 #app #page-dashboard .lgs-welcome-copy p{font-size:10px}
 #app #page-dashboard .stat{min-height:82px;padding:10px 11px}
 #app #page-dashboard .stat-value{font-size:23px}
 #app #page-dashboard .panel{padding:12px 13px}
}

/* 2.6.15 — continuous teal header and concise permission status */
#app .lgs-contextbar{margin-bottom:0!important;border-radius:20px 20px 0 0!important;border-bottom:0!important;box-shadow:none!important}
#app #page-dashboard .lgs-welcome{margin-top:0!important;margin-bottom:8px!important;border-radius:0 0 17px 17px!important;border-top:0!important;box-shadow:0 7px 17px rgba(8,62,75,.10)!important}
#app #page-dashboard .cf-premium-info-row .lg-rights-denied{display:none!important}
#app #page-dashboard .cf-rights-open{min-height:47px;padding:8px 11px!important}
#app #page-dashboard .cf-rights-main{gap:4px 10px}
#app #page-dashboard .cf-rights-main .lg-rights-list{font-weight:700;color:#096c68}
#app #page-dashboard .cf-rights-main .lg-rights-list .cf-access-summary{white-space:normal}
#app #page-dashboard .cf-rights-chevron{display:none}
#app .cf-premium-dialog .cf-rights-modal-mode{font-size:20px;color:#075d61;margin:8px 0 14px;text-align:center}
#app .cf-premium-dialog .cf-rights-details{text-align:center}
#app .cf-premium-dialog .cf-rights-details .cf-right-item{justify-content:center;text-align:center}
@media(max-width:590px){
 #app .lgs-contextbar{border-radius:17px 17px 0 0!important}
 #app #page-dashboard .lgs-welcome{border-radius:0 0 15px 15px!important}
 #app #page-dashboard .cf-rights-main strong{font-size:12px}
 #app #page-dashboard .cf-rights-main .lg-rights-list{font-size:11px}
}

/* 2.6.16 — rights TEXT ONLY; retain original card design */
#app #page-dashboard .cf-rights-main{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px!important}
#app #page-dashboard .cf-rights-main .lg-rights-list{display:flex;flex-wrap:wrap;align-items:center;gap:4px 11px;margin:0;font-weight:700;color:#096c68}
#app #page-dashboard .cf-rights-main .lg-rights-list .cf-access-summary{white-space:normal}
#app #page-dashboard .cf-rights-chevron{display:inline!important}
#app #page-dashboard .cf-premium-info-row .lg-rights-denied{display:none!important}


/* 2.6.17: date/button alignment only; original permissions card unchanged */
#app #page-dashboard .lg-dashboard-date-actions .top-actions{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;min-height:52px!important;padding:4px 7px!important;
}
#app #page-dashboard .lg-dashboard-date-actions input#selected-day{
  box-sizing:border-box!important;display:block!important;
  height:44px!important;min-height:44px!important;
  text-align:center!important;text-align-last:center!important;
  font-size:16px!important;font-weight:750!important;
  padding:0 5px!important;line-height:44px!important;
}
#app #page-dashboard .lg-dashboard-date-actions input#selected-day::-webkit-date-and-time-value{
  text-align:center!important;min-height:1em!important;
}
#app #page-dashboard .lg-dashboard-date-actions input#selected-day::-webkit-datetime-edit{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;text-align:center!important;
}
#app #page-dashboard .lg-dashboard-date-actions button#add-entry{
  box-sizing:border-box!important;min-height:44px!important;height:44px!important;
  font-size:15px!important;font-weight:750!important;padding:8px 17px!important;
}
@media(max-width:390px){
 #app #page-dashboard .lg-dashboard-date-actions input#selected-day{font-size:14px!important}
 #app #page-dashboard .lg-dashboard-date-actions button#add-entry{font-size:14px!important;padding:7px 12px!important}
}
#app .cf-rights-details .cf-right-item small{font-size:11px;color:#687985;margin-left:auto}
#app .cf-rights-details .cf-deny{color:#9a9fa5;font-weight:800}
