
:root{
  --primary:#b77a09; --primary-dark:#8f5e05; --bg:#f5f7f8; --card:#ffffff;
  --text:#22313a; --muted:#6c7a81; --border:#e6eaed; --good:#1f8a5b; --danger:#c64b4b;
}
*{box-sizing:border-box} body{margin:0;background:var(--bg);color:var(--text);font-family:"Cairo",Tahoma,Arial,sans-serif}
a{text-decoration:none;color:inherit}.app{min-height:100vh;display:flex}.sidebar{width:270px;background:#172228;color:#f5f7f8;padding:18px;position:fixed;right:0;top:0;bottom:0;display:flex;flex-direction:column;z-index:20}
.brand{display:flex;gap:12px;align-items:center;padding:8px 4px 22px;border-bottom:1px solid #2d3a40}.brand img{width:56px;height:56px;border-radius:14px;object-fit:cover;background:white}.brand b{display:block;font-size:17px}.brand small{display:block;color:#c9d1d5;font-size:11px}
nav{padding-top:16px;display:grid;gap:7px}nav a{padding:11px 13px;border-radius:11px;color:#dfe6e9;display:flex;gap:10px;align-items:center;font-size:14px}nav a:hover,nav a.active{background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:white}
.side-footer{margin-top:auto;border-top:1px solid #2d3a40;padding-top:14px;display:grid;gap:8px}.side-footer small{color:#c9d1d5}.side-footer a{color:#ffd589;font-size:13px}
.main{margin-right:270px;min-height:100vh;width:calc(100% - 270px);display:flex;flex-direction:column}.topbar{height:88px;background:white;border-bottom:1px solid var(--border);display:flex;align-items:center;padding:14px 28px;gap:16px;position:sticky;top:0;z-index:10}.topbar h1{font-size:20px;margin:0}.topbar p{font-size:12px;color:var(--muted);margin:3px 0 0}.top-logo{margin-right:auto;width:50px;height:50px;border-radius:12px;object-fit:cover}.menu-btn{display:none;border:0;background:#eef1f3;border-radius:9px;padding:8px 11px;font-size:20px}
.content{padding:26px;flex:1}.footer{padding:16px 26px;color:var(--muted);font-size:12px}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:18px;box-shadow:0 4px 18px rgba(20,40,50,.04)}.stat h3{font-size:13px;color:var(--muted);margin:0 0 8px}.stat strong{font-size:27px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px}.section-title h2{margin:0;font-size:19px}.actions{display:flex;gap:8px;flex-wrap:wrap}
.btn{border:0;border-radius:9px;padding:9px 14px;font-family:inherit;cursor:pointer;background:var(--primary);color:#fff;font-size:13px}.btn.secondary{background:#edf1f3;color:#33444c}.btn.danger{background:var(--danger)}.btn.good{background:var(--good)}
.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:14px;background:white}table{width:100%;border-collapse:collapse;min-width:760px}th,td{padding:11px 12px;border-bottom:1px solid var(--border);text-align:right;font-size:13px}th{background:#fafbfb;color:#506068;position:sticky;top:0}tr:hover td{background:#fffaf0}
.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.field{display:grid;gap:6px}.field label{font-size:12px;color:#52636b}.field input,.field select,.field textarea{width:100%;border:1px solid #dbe1e4;border-radius:9px;padding:10px 11px;font-family:inherit;background:white}.field textarea{min-height:80px}.full{grid-column:1/-1}
.alert{background:#fff7df;border:1px solid #f1d188;padding:11px 14px;border-radius:10px;margin-bottom:16px}.tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}.tab{padding:8px 12px;background:#eef2f4;border-radius:9px;font-size:13px}.tab.active{background:var(--primary);color:white}
.badge{padding:4px 8px;border-radius:999px;font-size:11px;background:#eef1f3}.badge.in{background:#e6f5ee;color:#196b47}.badge.out{background:#fff0e8;color:#a64b1f}
.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#f4f6f7,#fff8e8)}.login-card{width:min(430px,92vw);background:#fff;border:1px solid var(--border);border-radius:22px;padding:28px;box-shadow:0 16px 50px rgba(20,30,35,.12)}.login-card .logo{text-align:center;margin-bottom:18px}.login-card .logo img{width:94px;height:94px;object-fit:cover;border-radius:22px}.login-card h2{text-align:center;margin:0}.login-card p{text-align:center;color:var(--muted);font-size:13px;margin-bottom:22px}
@media(max-width:1100px){.grid{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.sidebar{transform:translateX(110%);transition:.2s}.sidebar.open{transform:translateX(0)}.main{margin-right:0;width:100%}.menu-btn{display:block}.topbar{padding:12px 16px}.content{padding:16px}}
@media(max-width:620px){.grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.topbar h1{font-size:16px}.topbar p{display:none}.top-logo{width:42px;height:42px}.content{padding:12px}.card{padding:14px}}
@media print{
  .sidebar,.topbar,.footer,.no-print,.actions,.tabs{display:none!important}.main{margin:0;width:100%}.content{padding:0}.card{box-shadow:none;border:0}.table-wrap{overflow:visible;border:0}table{min-width:0;font-size:11px}th{background:#eee!important;-webkit-print-color-adjust:exact}.print-head{display:flex!important}.btn{display:none}
  @page{size:A4;margin:12mm}
}
.print-head{display:none;align-items:center;justify-content:space-between;border-bottom:2px solid #b77a09;padding-bottom:10px;margin-bottom:14px}.print-head img{width:70px;height:70px;object-fit:cover;border-radius:12px}.print-head h2{margin:0;font-size:18px}

.pwa-install-btn{
  position:fixed; left:22px; bottom:22px; z-index:60;
  border:0; border-radius:12px; padding:12px 16px;
  font-family:inherit; font-weight:700; cursor:pointer;
  background:#172228; color:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}
.pwa-install-btn:hover{transform:translateY(-1px)}
@media(max-width:620px){
  .pwa-install-btn{left:12px;right:12px;bottom:12px;width:calc(100% - 24px)}
}

.password-wrap{display:flex;align-items:center;gap:8px}
.password-wrap input{flex:1}
.password-toggle{white-space:nowrap;border:1px solid #dbe1e4;background:#f4f6f7;color:#33444c;border-radius:9px;padding:10px 12px;font-family:inherit;cursor:pointer}

/* Language + client-requested enhancements */
.lang-switch{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:36px;padding:0 11px;border:1px solid var(--border);background:#f7f9fa;border-radius:9px;font-weight:700;font-size:12px;color:#33444c}
.stock-alert-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.stock-alert-card{background:#fff;border:1px solid #f0c7a6;border-radius:14px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 4px 16px rgba(20,40,50,.04)}
.stock-alert-card strong{font-size:24px;color:#b34e18}.stock-alert-card small{display:block;color:var(--muted);margin-top:3px}.stock-alert-card.ok{border-color:#c8e5d7}.stock-alert-card.ok strong{color:#1f8a5b}
.low-stock-row td{background:#fff5ec!important}.critical-stock-row td{background:#ffe8e8!important}
.report-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:15px}.report-tabs a{padding:8px 11px;border-radius:9px;background:#eef2f4;font-size:12px}.report-tabs a.active{background:var(--primary);color:#fff}
.report-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.report-value{font-size:24px;font-weight:700;margin-top:6px}.profit-positive{color:#1f8a5b}.profit-negative{color:#c64b4b}
.price-input-inline{display:flex;gap:7px;align-items:center}.price-input-inline input{max-width:140px}
.code-hint{font-size:11px;color:var(--muted);margin-top:4px}.stock-warning-banner{background:#fff3e7;border:1px solid #efbf90;border-radius:12px;padding:12px 14px;margin-bottom:16px}.stock-warning-banner a{font-weight:700;color:#a54d16}
html[dir="ltr"] body{text-align:left}
html[dir="ltr"] .sidebar{right:auto;left:0}
html[dir="ltr"] .main{margin-right:0;margin-left:270px}
html[dir="ltr"] .top-logo{margin-right:0;margin-left:auto}
html[dir="ltr"] th,html[dir="ltr"] td{text-align:left}
html[dir="ltr"] .field label{text-align:left}
html[dir="ltr"] .side-footer{text-align:left}
html[dir="ltr"] .brand{direction:ltr}
html[dir="ltr"] .invoice-total-box{direction:ltr}
@media(max-width:900px){html[dir="ltr"] .sidebar{transform:translateX(-110%)}html[dir="ltr"] .sidebar.open{transform:translateX(0)}html[dir="ltr"] .main{margin-left:0}.stock-alert-grid{grid-template-columns:1fr}.report-summary-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.report-summary-grid{grid-template-columns:1fr}}

/* V5 contextual print actions + employee photos */
.list-action-bar,.report-action-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0}
.list-action-bar h3{margin:0;font-size:15px}.list-action-bar small{color:var(--muted)}
.report-action-bar{justify-content:flex-end}
.employee-thumb{width:44px;height:44px;border-radius:10px;object-fit:cover;border:1px solid var(--border);background:#fff}
.employee-avatar-placeholder{width:44px;height:44px;border-radius:10px;background:#eef2f4;display:grid;place-items:center;font-size:20px}
.employee-form-photo{width:110px;height:125px;object-fit:cover;border-radius:12px;border:1px solid var(--border);background:#fff}
.invoice-actions form{margin:0}
@media(max-width:620px){.list-action-bar,.report-action-bar{align-items:stretch}.list-action-bar .btn,.report-action-bar .btn{width:100%;text-align:center}}

/* V5.6 navigation icons */
nav a{gap:11px!important}
.nav-icon{width:27px;height:27px;border-radius:8px;display:grid;place-items:center;flex:0 0 27px;background:rgba(255,255,255,.055);transition:.18s}
.nav-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
nav a:hover .nav-icon,nav a.active .nav-icon{background:rgba(255,255,255,.17);transform:scale(1.03)}

/* V5.7 desktop-style modal windows */
.app-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(12,24,31,.48);backdrop-filter:blur(3px)}
.app-modal.open{display:flex}
.app-modal-panel{width:min(780px,100%);max-height:92vh;display:flex;flex-direction:column;overflow:hidden;background:#f8fafb;border:1px solid #cfd8dc;border-radius:16px;box-shadow:0 28px 75px rgba(8,25,34,.28)}
.app-modal-panel.app-modal-wide{width:min(1180px,100%)}
.app-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;color:#fff;background:linear-gradient(135deg,#243841,#405964);border-bottom:1px solid rgba(0,0,0,.15);user-select:none}
.app-modal-head h3{margin:0;font-size:14px;font-weight:700}
.app-modal-title-meta{font-size:10px;color:rgba(255,255,255,.75);margin-top:2px}
.app-modal-close{width:30px;height:30px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.25);border-radius:7px;background:rgba(255,255,255,.08);color:#fff;font-size:19px;line-height:1;cursor:pointer}
.app-modal-close:hover{background:#b94747}
.app-modal-body{overflow:auto;padding:17px;background:#f8fafb}
.app-modal-body>.card{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
.app-modal .form-grid{gap:12px}
.app-modal .field input,.app-modal .field select,.app-modal .field textarea{background:#fff}
.modal-add-btn{display:inline-flex;align-items:center;gap:7px;font-weight:700}
.modal-add-btn .plus-box{width:21px;height:21px;display:grid;place-items:center;border-radius:6px;background:rgba(255,255,255,.18);font-size:16px}
body.modal-open{overflow:hidden}
.modal-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.modal-form-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #e0e5e7;padding-top:13px;margin-top:4px}
.sale-item-row .item-sequence{height:39px;display:grid;place-items:center;border-radius:9px;background:#eaf0f3;color:#34474f;font-weight:800;font-size:12px;border:1px solid #dbe3e7}
.sale-item-row select.item-type{width:100%;border:1px solid #dbe1e4;border-radius:9px;padding:9px 7px;font-family:inherit;background:#fff}
@media(max-width:720px){
  .app-modal{padding:8px;align-items:flex-end}
  .app-modal-panel,.app-modal-panel.app-modal-wide{width:100%;max-height:96vh;border-radius:15px 15px 0 0}
  .app-modal-body{padding:13px}
}


/* V5.8.2 — Finance and Reports dashboard-style metric cards */
.finance-stat-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.finance-stat{
  position:relative;
  overflow:hidden;
  min-height:108px;
  border:0;
  border-radius:16px;
  padding:14px 16px;
  color:#fff;
  box-shadow:0 8px 24px rgba(23,34,40,.08);
}
.finance-stat::before,
.report-summary-grid > *::before,
.report-metric::before{
  content:"";
  position:absolute;
  width:92px;
  height:92px;
  border-radius:50%;
  left:-30px;
  bottom:-46px;
  background:rgba(255,255,255,.14);
  pointer-events:none;
}
.finance-stat h3{
  position:relative;
  z-index:1;
  margin:0 0 8px;
  font-size:12px;
  color:rgba(255,255,255,.92);
}
.finance-stat strong{
  position:relative;
  z-index:1;
  display:block;
  font-size:24px;
  line-height:1.05;
}
.finance-stat small{
  position:relative;
  z-index:1;
  display:block;
  margin-top:6px;
  font-size:10px;
  color:rgba(255,255,255,.82);
}
.finance-income{background:linear-gradient(135deg,#157a6e,#3ba795)}
.finance-expense{background:linear-gradient(135deg,#b85938,#e18259)}
.finance-net{background:linear-gradient(135deg,#4568b5,#6d91df)}
.finance-negative{background:linear-gradient(135deg,#aa3541,#d95d68)}

/* Every statistics group in Reports now follows the same visual identity. */
.report-summary-grid{
  gap:12px!important;
}
.report-summary-grid > *{
  position:relative;
  overflow:hidden;
  min-height:100px;
  border:0!important;
  border-radius:16px!important;
  padding:14px 15px!important;
  color:#fff!important;
  box-shadow:0 8px 24px rgba(23,34,40,.075)!important;
}
.report-summary-grid > *:nth-child(6n+1){background:linear-gradient(135deg,#4568b5,#6d91df)!important}
.report-summary-grid > *:nth-child(6n+2){background:linear-gradient(135deg,#157a6e,#3ba795)!important}
.report-summary-grid > *:nth-child(6n+3){background:linear-gradient(135deg,#a96f13,#d8a13c)!important}
.report-summary-grid > *:nth-child(6n+4){background:linear-gradient(135deg,#6c55a7,#927cca)!important}
.report-summary-grid > *:nth-child(6n+5){background:linear-gradient(135deg,#a34d69,#cf7894)!important}
.report-summary-grid > *:nth-child(6n+6){background:linear-gradient(135deg,#2d7589,#55a7b8)!important}
.report-summary-grid > * h3,
.report-summary-grid > * small,
.report-summary-grid > * p,
.report-summary-grid > * .report-value,
.report-summary-grid > * .profit-positive,
.report-summary-grid > * .profit-negative{
  position:relative;
  z-index:1;
  color:#fff!important;
}
.report-summary-grid > * h3{font-size:12px!important;margin:0 0 7px!important;color:rgba(255,255,255,.92)!important}
.report-summary-grid > * small{color:rgba(255,255,255,.82)!important}
.report-summary-grid > * .report-value{font-size:22px!important;line-height:1.08;margin-top:5px!important}

/* Single-value cards used by sales / purchases / expenses reports. */
.report-metric{
  position:relative!important;
  overflow:hidden!important;
  min-height:104px!important;
  border:0!important;
  border-radius:16px!important;
  padding:14px 16px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#4568b5,#6d91df)!important;
  box-shadow:0 8px 24px rgba(23,34,40,.075)!important;
}
.report-metric:nth-of-type(3n+2){background:linear-gradient(135deg,#157a6e,#3ba795)!important}
.report-metric:nth-of-type(3n){background:linear-gradient(135deg,#a96f13,#d8a13c)!important}
.report-metric h3,
.report-metric small,
.report-metric .report-value,
.report-metric .profit-positive,
.report-metric .profit-negative{
  position:relative;
  z-index:1;
  color:#fff!important;
}
.report-metric h3{font-size:12px!important;color:rgba(255,255,255,.92)!important}
.report-metric small{color:rgba(255,255,255,.82)!important}
.report-metric .report-value{font-size:22px!important}

/* Profit and financial-year cards. */
.report-profit-card{
  position:relative;
  overflow:hidden;
  border:0!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#1b6158,#40947f)!important;
  color:#fff!important;
  box-shadow:0 8px 24px rgba(23,34,40,.075)!important;
}
.report-profit-card h3,
.report-profit-card p,
.report-profit-card b,
.report-profit-card .report-value,
.report-profit-card .profit-positive,
.report-profit-card .profit-negative{color:#fff!important;position:relative;z-index:1}
.report-profit-card::before{
  content:"";position:absolute;width:120px;height:120px;border-radius:50%;
  left:-42px;bottom:-66px;background:rgba(255,255,255,.10)
}
.report-closing-card{
  border:0!important;
  border-radius:18px!important;
  box-shadow:0 8px 25px rgba(23,34,40,.065)!important;
}
.report-closing-card .report-summary-grid{margin-top:12px}

@media(max-width:900px){
  .finance-stat-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .finance-stat-grid{grid-template-columns:1fr}
}

/* Keep printed reports clean instead of printing gradient dashboard cards. */
@media print{
  .finance-stat,.report-summary-grid > *,.report-metric,.report-profit-card{
    background:#fff!important;
    color:#111!important;
    border:1px solid #d9dfe2!important;
    box-shadow:none!important;
  }
  .finance-stat h3,.finance-stat strong,.finance-stat small,
  .report-summary-grid > * h3,.report-summary-grid > * small,.report-summary-grid > * .report-value,
  .report-metric h3,.report-metric small,.report-metric .report-value,
  .report-profit-card h3,.report-profit-card p,.report-profit-card b,.report-profit-card .report-value{
    color:#111!important;
  }
}

/* V5.9 sales archive/report helpers */
.employee-photo-buttons{display:flex;gap:8px;flex-wrap:wrap}
.employee-photo-choice{cursor:pointer}
.signature-area{page-break-inside:avoid}
@media(max-width:620px){.employee-photo-buttons .btn{width:100%;text-align:center}}


/* V5.9.2 — Search bar redesign */
.module-search{
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:nowrap;
  margin:12px 0 16px;
  padding:7px;
  background:linear-gradient(180deg,#ffffff,#f7f9fa);
  border:1px solid #dfe6e9;
  border-radius:15px;
  box-shadow:0 7px 22px rgba(24,43,52,.055);
}
.module-search::before{
  content:"⌕";
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  color:#7c8a91;
  font-size:21px;
  line-height:1;
  pointer-events:none;
}
html[dir="ltr"] .module-search::before{
  right:auto;
  left:18px;
}
.module-search input[type="search"]{
  flex:1 1 auto;
  width:100%;
  min-width:0;
  height:42px;
  padding:0 42px 0 14px;
  border:1px solid #d6dfe3;
  border-radius:10px;
  background:#fff;
  color:#203139;
  font-family:inherit;
  font-size:12px;
  transition:border-color .16s,box-shadow .16s,background .16s;
}
html[dir="ltr"] .module-search input[type="search"]{
  padding:0 14px 0 42px;
}
.module-search input[type="search"]::placeholder{
  color:#98a4a9;
}
.module-search input[type="search"]:focus{
  outline:none;
  border-color:#c38a17;
  background:#fff;
  box-shadow:0 0 0 3px rgba(195,138,23,.10);
}
.module-search .btn{
  flex:0 0 auto;
  min-height:40px;
  padding:0 15px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  box-shadow:none;
}
.module-search .btn.secondary{
  background:#eef2f4;
  color:#52636a;
  border:1px solid #dce4e7;
}
.module-search .btn.secondary:hover{
  background:#e7edef;
}
@media(max-width:680px){
  .module-search{
    flex-wrap:wrap;
    padding:8px;
    gap:7px;
  }
  .module-search input[type="search"]{
    flex:1 1 100%;
    order:1;
  }
  .module-search .btn{
    flex:1 1 calc(50% - 4px);
    order:2;
  }
  .module-search::before{
    top:29px;
  }
}

/* Camera live-capture polish */
.camera-status-text{
  min-height:20px;
  padding:7px 9px;
  border-radius:8px;
  background:#f2f5f6;
  color:#52636b!important;
}
.camera-capture-body video{
  border:2px solid #dfe6e9;
  box-shadow:0 6px 18px rgba(16,31,40,.08);
}

/* V5.10 — period/month controls */
.period-filter{margin:12px 0 14px;padding:10px 12px;border:1px solid #dfe6e9;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafb);box-shadow:0 5px 18px rgba(23,42,50,.045)}
.period-title{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:11px;color:#65747b}
.period-title b{color:#263940;font-size:12px}.period-title span{background:#eef2f4;border-radius:999px;padding:3px 8px}
.period-buttons{display:flex;gap:7px;flex-wrap:wrap}
.period-btn{border:1px solid #d8e0e4;background:#fff;color:#43555d;border-radius:10px;min-height:36px;padding:7px 12px;font-family:inherit;font-size:11px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;transition:.15s}
.period-btn:hover{border-color:#c18a1a;background:#fffaf0}
.period-btn.active{border-color:#b77a09;background:linear-gradient(135deg,#b77a09,#d59b2b);color:#fff;box-shadow:0 5px 13px rgba(183,122,9,.18)}
.period-custom-form{display:none;align-items:center;gap:8px;margin-top:9px;padding-top:9px;border-top:1px dashed #dfe5e8}
.period-custom-form.show{display:flex}
.period-custom-form input[type="month"]{height:38px;border:1px solid #d6dfe3;border-radius:9px;padding:0 10px;font-family:inherit;background:#fff}
.period-note{display:block;margin-top:8px;color:#7a878d;font-size:10px}
.sales-year-chooser{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.sales-year-chooser>div{display:grid;gap:3px}.sales-year-chooser small{color:var(--muted)}
.sales-year-chooser form{display:flex;gap:7px;align-items:center}.sales-year-chooser input{width:110px;border:1px solid #d7dfe3;border-radius:9px;padding:9px;font-family:inherit}
@media(max-width:620px){.period-buttons{display:grid;grid-template-columns:1fr 1fr}.period-btn{width:100%}.period-custom-form{align-items:stretch;flex-direction:column}.period-custom-form input,.period-custom-form .btn{width:100%}.sales-year-chooser,.sales-year-chooser form{align-items:stretch}.sales-year-chooser form{width:100%}.sales-year-chooser input{flex:1;width:auto}}
