.mandi-header{text-align:center;line-height:1.15;font-size:11px;font-weight:700;margin-bottom:6px}.mandi-header strong{display:block;font-size:13px}.thermal-receipt{width:58mm!important;max-width:58mm!important;padding:2.5mm!important;margin:0!important;box-sizing:border-box!important}.thermal-table{width:100%;max-width:100%;border-collapse:collapse;table-layout:fixed}.thermal-table th,.thermal-table td{width:auto;padding:3px 1px;border-bottom:1px dashed #000;font-size:8px;text-align:center;vertical-align:middle;box-sizing:border-box;overflow-wrap:anywhere;word-break:break-word;white-space:normal;max-width:100%}.thermal-head{text-align:center;font-size:10px;line-height:1.25}.slip-head{text-align:center;font-size:10px;line-height:1.3;margin-bottom:6px}.slip-head strong{display:block;font-size:12px}.bill-head{text-align:center;font-weight:800;font-size:9px;line-height:1.2;margin-bottom:6px}.bill-head strong{display:block;font-size:11px}.dispatch-head{text-align:center;font-weight:800;font-size:9px;line-height:1.2;margin-bottom:6px}.dispatch-head strong{display:block;font-size:11px}.thermal-line{font-size:8px;border-bottom:1px dashed #000;padding:5px 0}.bill-farmer-details{font-size:9px;line-height:1.25}.thermal-total{font-size:9px;padding:5px 0;border-bottom:1px dashed #000}@media print{@page{size:58mm auto;margin:0}html,body{width:58mm!important;margin:0!important;padding:0!important}.thermal-receipt{width:58mm!important;max-width:58mm!important}.np{display:none!important}} .thermal-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.thermal-grid>div{border-bottom:1px dashed #000;padding:4px 1px}.thermal-last{border-top:1px dashed #000;margin-top:4px}.thermal-receipt .amount-box{width:100%!important;max-width:100%!important;margin:8px 0 0!important;box-sizing:border-box!important}.thermal-receipt .amount-box div{min-width:0;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:6px;padding:6px 9px;font-size:9px;line-height:1.15}.thermal-receipt .amount-box div:first-child,.thermal-receipt .amount-box div:nth-child(2),.thermal-receipt .amount-box div:nth-child(3){min-height:26px;font-size:9px;font-weight:400}.thermal-receipt .amount-box .payable{font-size:9px;line-height:1.15;padding:7px 9px}.thermal-receipt .amount-box strong{min-width:0;max-width:none;white-space:nowrap;overflow:hidden;text-overflow:clip;word-break:normal;overflow-wrap:normal;text-align:right;font-weight:700}.thermal-receipt .amount-box .payable strong{font-size:10px;white-space:nowrap}.thermal-receipt .amount-box .payable{white-space:nowrap}


/* SUNMI V2 Pro screen: 720x1440 logical viewport. Compact, touch-friendly portal layout. */
@media(max-width:800px){
  html,body{width:100%;min-width:0;overflow-x:hidden}
  .top{height:58px;padding:0 10px;position:sticky;top:0}
  .brand{gap:8px}.logo{width:36px;height:36px;border-radius:9px}.brand>span:last-child{font-size:12px}.brand small{font-size:8px}
  .layout{display:block;min-height:calc(100vh - 58px)}
  .side{position:static;height:auto;padding:5px 7px;border-right:0;border-bottom:1px solid var(--line);overflow-x:auto;white-space:nowrap}
  .nav{display:flex;gap:3px}.nav a{font-size:11px;padding:8px 9px;margin:0}
  .nav-title{display:none}.main{padding:66px 9px 16px;max-width:none}
  .pagehead{margin-bottom:12px}.pagehead h1{font-size:20px}.sub{font-size:11px}
  .card{padding:12px;border-radius:11px;box-shadow:0 4px 14px rgba(16,42,67,.06)}
  .btn{min-height:40px}.input,.select{min-height:44px;font-size:14px}
  .table-wrap{overflow-x:auto}.table{font-size:11px}
  .form-grid{gap:10px}.report-date-form{display:flex;flex-wrap:wrap}.report-date-form .field{flex:1 1 190px;width:auto}.report-date-form .btn{flex:0 0 auto;width:auto}.recent-bills-table{min-width:1100px!important}.recent-bills-table th,.recent-bills-table td{white-space:nowrap}
}
@media(max-width:800px) and (orientation:portrait){
  .user span{display:none}
  .top{height:102px;min-height:102px;align-items:flex-start;padding:8px 10px 7px}
  .portal-date{display:flex;position:absolute;left:50%;right:auto;top:61px;transform:translateX(-50%);margin:0;z-index:10}
  .portal-date input{width:140px;height:32px}
  .portal-date button{height:32px}
  .layout{min-height:calc(100vh - 102px)}
}


/* Screen view: use the device viewport. 58mm is reserved only for thermal printing. */
.thermal-receipt{
  width:100%!important;
  max-width:980px!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
}
.print-card.thermal-receipt{
  width:100%!important;
  max-width:980px!important;
}
@media(max-width:700px){
  .main{padding:12px!important}
  .print-card.thermal-receipt{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:16px!important;
    border-radius:12px!important;
  }
  .thermal-table{width:100%!important}
}
/* Physical 58mm format applies only when printing to the SUNMI printer. */
@media print{
  .print-card.thermal-receipt{
    width:58mm!important;
    max-width:58mm!important;
    margin:0!important;
    padding:2mm 2.5mm!important;
  }
}


/* PROFESSIONAL SCREEN VIEW — applies to Weight Slip, Dispatch Slip and Bill only.
   Printing remains 58mm thermal and is controlled by @media print below. */
@media screen {
  .main > .print-card.thermal-receipt {
    width: min(100%, 980px) !important;
    max-width: 980px !important;
    margin: 18px auto !important;
    padding: 28px !important;
    background: #fff !important;
    border: 1px solid #d9e2ec !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 32px rgba(16,42,67,.08) !important;
    box-sizing: border-box !important;
    color: #172b4d !important;
  }
  .print-card.thermal-receipt .thermal-brand,
  .print-card.thermal-receipt .bill-head {
    color: #102a43;
    background: #f7fafc;
    border: 0;
    border-bottom: 2px solid #102a43;
    border-radius: 10px 10px 0 0;
    padding: 16px 18px 14px !important;
    margin: 0 0 16px !important;
    text-align: center;
    line-height: 1.35;
  }
  .print-card.thermal-receipt .thermal-brand .thermal-title,
  .print-card.thermal-receipt .bill-head > div:first-child {
    font-size: 13px !important;
    font-weight: 850 !important;
    letter-spacing: .3px;
  }
  .print-card.thermal-receipt .thermal-brand strong,
  .print-card.thermal-receipt .bill-head strong {
    display:block;
    font-size: 18px !important;
    font-weight: 900 !important;
    margin-top: 2px;
  }
  .print-card.thermal-receipt .thermal-brand span,
  .print-card.thermal-receipt .bill-head > div {
    font-size: 11px !important;
  }
  .print-card.thermal-receipt .thermal-meta,
  .print-card.thermal-receipt .thermal-party,
  .print-card.thermal-receipt .thermal-section,
  .print-card.thermal-receipt .thermal-total-grid,
  .print-card.thermal-receipt .thermal-footer,
  .print-card.thermal-receipt .thermal-line,
  .print-card.thermal-receipt .thermal-charges {
    font-size: 12px !important;
  }
  .print-card.thermal-receipt .thermal-meta {
    background:#f8fafc;
    border:1px solid #e3e9ef;
    border-radius:9px;
    padding:10px 12px !important;
    margin-bottom:12px;
  }
  .print-card.thermal-receipt .thermal-party {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 20px;
    border:1px solid #e3e9ef;
    border-radius:9px;
    padding:8px 12px !important;
    margin-bottom:14px;
  }
  .print-card.thermal-receipt .thermal-party > div {
    padding:8px 0 !important;
    border-bottom:1px solid #edf1f5;
  }
  .print-card.thermal-receipt .thermal-party > div:nth-last-child(-n+2) { border-bottom:0; }
  .print-card.thermal-receipt .thermal-party b { min-width:70px !important; color:#52677d; }
  .print-card.thermal-receipt .thermal-table {
    width:100% !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
    border:1px solid #dfe6ed;
    border-radius:10px;
    overflow:hidden;
    margin:14px 0 !important;
    table-layout:fixed !important;
  }
  .print-card.thermal-receipt .thermal-table th {
    background:#f1f5f9 !important;
    color:#334e68 !important;
    font-size:11px !important;
    font-weight:850 !important;
    padding:10px 8px !important;
    border-bottom:1px solid #dfe6ed !important;
  }
  .print-card.thermal-receipt .thermal-table td {
    font-size:12px !important;
    padding:11px 8px !important;
    border-bottom:1px solid #edf1f5 !important;
    color:#172b4d;
  }
  .print-card.thermal-receipt .thermal-total-grid {
    background:#f7fafc;
    border:1px solid #dfe6ed !important;
    border-radius:10px;
    padding:12px !important;
    margin:12px 0;
  }
  .print-card.thermal-receipt .thermal-total-grid > div + div { border-left:1px solid #dfe6ed !important; }
  .print-card.thermal-receipt .thermal-total-grid span { font-size:10px !important; color:#52677d; }
  .print-card.thermal-receipt .thermal-total-grid b { font-size:16px !important; color:#102a43; }
  .print-card.thermal-receipt .thermal-section {
    border:1px solid #e3e9ef;
    border-radius:10px;
    padding:8px 12px !important;
    margin:12px 0;
  }
  .print-card.thermal-receipt .thermal-section > div { padding:7px 0 !important; border-bottom:1px solid #edf1f5; }
  .print-card.thermal-receipt .thermal-section > div:last-child { border-bottom:0; }
  .print-card.thermal-receipt .thermal-section-title { border-bottom:1px solid #dfe6ed !important; padding-bottom:8px !important; color:#102a43; }
  .print-card.thermal-receipt .bag-summary > div:not(.thermal-section-title) { padding:6px 0 !important; }
  .print-card.thermal-receipt .thermal-footer {
    border-top:1px solid #dfe6ed !important;
    padding-top:10px !important;
    margin-top:14px !important;
    color:#52677d;
  }
  .print-card.thermal-receipt .actions { margin-top:16px !important; padding-top:14px; border-top:1px solid #edf1f5; }
  .print-card.thermal-receipt .actions .btn { min-height:40px; padding:10px 18px; }

  /* Dispatch */
  .dispatch-receipt .dispatch-items th:nth-child(1), .dispatch-receipt .dispatch-items td:nth-child(1){width:11%}
  .dispatch-receipt .dispatch-items th:nth-child(2), .dispatch-receipt .dispatch-items td:nth-child(2){width:29%}
  .dispatch-receipt .dispatch-items th:nth-child(3), .dispatch-receipt .dispatch-items td:nth-child(3){width:15%}
  .dispatch-receipt .dispatch-items th:nth-child(4), .dispatch-receipt .dispatch-items td:nth-child(4){width:21%}
  .dispatch-receipt .dispatch-items th:nth-child(5), .dispatch-receipt .dispatch-items td:nth-child(5){width:24%}

  /* Bill */
  .bill-receipt .bill-head { background:linear-gradient(180deg,#f7fafc,#eef4f8); }
  .bill-receipt .bill-head > div:nth-child(2) { font-size:12px !important; font-weight:800; margin-top:2px; }
  .bill-receipt .bill-head > div:nth-child(3) { font-size:10px !important; color:#52677d; }
  .bill-receipt .thermal-line {
    background:#fbfcfd;
    border:1px solid #e3e9ef !important;
    border-radius:9px;
    padding:10px 12px !important;
    margin:10px 0;
    line-height:1.55;
  }
  .bill-receipt .bill-farmer-details { display:grid; grid-template-columns:1fr 1fr; column-gap:22px; }
  .bill-receipt .thermal-charges { border:1px solid #dfe6ed; border-radius:10px; padding:5px 12px; background:#f8fafc; }
  .bill-receipt .thermal-charges > div { padding:8px 0 !important; font-size:12px !important; border-bottom:1px solid #e8edf2; }
  .bill-receipt .thermal-charges .payable { background:#e8f4f2; margin:5px -12px -5px; padding:11px 12px !important; border-top:1px solid #cbe9e4; border-bottom:0; border-radius:0 0 9px 9px; font-size:13px !important; }
  .bill-receipt .thermal-last { margin-top:10px !important; }
}
@media screen and (max-width:700px){
  .main > .print-card.thermal-receipt{width:100%!important;max-width:none!important;margin:8px 0!important;padding:14px!important;border-radius:12px!important}
  .print-card.thermal-receipt .thermal-party,.bill-receipt .bill-farmer-details{grid-template-columns:1fr}
  .print-card.thermal-receipt .thermal-party > div:nth-last-child(-n+2){border-bottom:1px solid #edf1f5}
  .print-card.thermal-receipt .thermal-party > div:last-child{border-bottom:0}
  .print-card.thermal-receipt .thermal-table th,.print-card.thermal-receipt .thermal-table td{font-size:10px!important;padding:8px 4px!important}
  .print-card.thermal-receipt .thermal-total-grid b{font-size:14px!important}
}


/* USER ID is used on the handheld: keep the whole portal in compact machine mode. */
@media screen {
  body.role-user .top{height:58px;padding:0 10px}
  body.role-user .layout{display:block;min-height:calc(100vh - 58px)}
  body.role-user .side{position:static;height:auto;padding:5px 7px;border-right:0;border-bottom:1px solid var(--line);overflow-x:auto;white-space:nowrap}
  body.role-user .nav{display:flex;gap:3px}
  body.role-user .nav a{font-size:11px;padding:8px 9px;margin:0;white-space:nowrap}
  body.role-user .nav-title{display:none}
  body.role-user .main{padding:12px 9px 16px;max-width:none;width:100%}
  body.role-user .pagehead{margin-bottom:10px}
  body.role-user .pagehead h1{font-size:21px}
  body.role-user .sub{font-size:11px}
  body.role-user .card{padding:12px;border-radius:11px}
  body.role-user .btn{min-height:40px}
  body.role-user .input,body.role-user .select{min-height:44px;font-size:14px}
  body.role-user .table-wrap{overflow-x:auto}
  body.role-user .table{font-size:11px}
}
/* Admin/Co-Admin print: Letter page, full width, rows/columns fitted on page. */
@media print {
  @page{size:Letter portrait;margin:10mm}
  body.role-admin,body.role-coadmin{width:auto!important;min-width:0!important;background:#fff!important}
  body.role-admin .thermal-receipt,body.role-coadmin .thermal-receipt,
  body.role-admin .print-card.thermal-receipt,body.role-coadmin .print-card.thermal-receipt{
    width:190mm!important;max-width:190mm!important;margin:0 auto!important;padding:0!important;border:0!important;box-shadow:none!important;
  }
  body.role-admin .thermal-table,body.role-coadmin .thermal-table{width:100%!important;table-layout:auto!important}
  body.role-admin .thermal-table th,body.role-admin .thermal-table td,
  body.role-coadmin .thermal-table th,body.role-coadmin .thermal-table td{font-size:10pt!important;padding:6px 7px!important;word-break:normal!important}
  body.role-admin .thermal-party,body.role-coadmin .thermal-party{grid-template-columns:1fr 1fr!important}
  body.role-admin .thermal-brand,body.role-admin .bill-head,body.role-coadmin .thermal-brand,body.role-coadmin .bill-head{font-size:11pt!important}
  body.role-admin .thermal-brand strong,body.role-admin .bill-head strong,body.role-coadmin .thermal-brand strong,body.role-coadmin .bill-head strong{font-size:17pt!important}
  body.role-admin .thermal-meta,body.role-admin .thermal-party,body.role-admin .thermal-section,body.role-admin .thermal-footer,body.role-admin .thermal-line,body.role-admin .thermal-charges,
  body.role-coadmin .thermal-meta,body.role-coadmin .thermal-party,body.role-coadmin .thermal-section,body.role-coadmin .thermal-footer,body.role-coadmin .thermal-line,body.role-coadmin .thermal-charges{font-size:10pt!important}
  body.role-admin .thermal-receipt *,body.role-coadmin .thermal-receipt *{max-width:100%!important}
}


.center-all th,.center-all td{text-align:center!important;vertical-align:middle!important;}

.print-options{align-items:center}.print-options .btn{min-height:40px}@media print{.print-options{display:none!important}}

/* Responsive portal: keep the page inside the viewport on every screen size. */
html, body {
  width: 100%;
  max-width: 100%;
  min-width: 0 !important;
  overflow-x: hidden !important;
}
.layout, .main, .card, .grid, .form-grid, .pagehead {
  min-width: 0;
  max-width: 100%;
}
.main {
  overflow-x: hidden;
}
.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}
.table {
  width: 100% !important;
  max-width: 100%;
  min-width: 0 !important;
  table-layout: fixed;
}
.table th, .table td {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

/* Keep navigation inside the viewport instead of creating page-level overflow. */
.side, body.role-user .side {
  max-width: 100%;
  overflow-x: hidden !important;
}
.nav, body.role-user .nav {
  flex-wrap: wrap;
  max-width: 100%;
}
.nav a, body.role-user .nav a {
  white-space: normal;
}

/* Medium screens: reduce padding and let dense grids collapse gracefully. */
@media screen and (max-width: 1100px) {
  .main { padding-left: 18px; padding-right: 18px; }
  .card { min-width: 0; }
  .form-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-8 { grid-column: span 6; }
  .col-6, .col-4 { grid-column: span 3; }
  .col-3, .col-2, .col-1 { grid-column: span 2; }
  .table th, .table td { padding: 8px 7px; font-size: 12px; }
}

/* Small screens: stack content and make tables genuinely fit the viewport. */
@media screen and (max-width: 700px) {
  .top { width: 100%; max-width: 100%; }
  .main { padding: 12px 10px 16px; }
  .pagehead { flex-wrap: wrap; align-items: flex-start; }
  .pagehead h1 { font-size: 22px; }
  .grid, .g2, .g3, .g4, .bag-grid { grid-template-columns: 1fr !important; }
  .form-grid { grid-template-columns: 1fr; }
  .col-1, .col-2, .col-3, .col-4, .col-6, .col-8, .col-12 { grid-column: span 1; }
  .table-wrap { border-radius: 9px; }
  .table { table-layout: fixed; }
  .table th, .table td {
    padding: 7px 5px;
    font-size: 10px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .table .btn, .table .btn-sm {
    max-width: 100%;
    white-space: normal;
    padding: 6px 7px;
  }
  .actions { max-width: 100%; }
  .actions .btn { max-width: 100%; }
  .portal-date { margin-left: 0; margin-right: 0; max-width: 100%; flex-wrap: wrap; }
}




/* Requested: compact date filters; never stretch them across the page. */
.report-date-form .field{flex:0 0 240px;width:240px;max-width:240px}
.report-date-form .input[type="date"]{width:100%;max-width:100%}
/* Requested: Recent Bills scrolls horizontally inside the table only. */
.recent-bills-table{min-width:1100px!important;table-layout:auto!important}
.recent-bills-table th,.recent-bills-table td{white-space:nowrap}
.bills-recent-wrap{width:100%;max-width:100%;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch}
@media(max-width:800px){
  .report-date-form .field{flex:0 0 220px;width:220px;max-width:220px}
  .bills-recent-wrap{overflow-x:auto!important;max-width:100%}
}


/* Final requested machine/mobile header layout: brand first, date + View below, navigation after. */
.top{display:block;height:auto;padding:0 28px}
.top-row{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.portal-date-row{display:flex;align-items:center;justify-content:center}
.portal-date{display:flex;align-items:center;gap:6px;margin:0;padding:0}
.portal-date input{width:150px;height:34px}
.portal-date button{height:34px}
@media(max-width:800px){
  .top{height:116px;min-height:116px;padding:7px 10px 8px}
  .top-row{min-height:50px;height:50px;gap:8px}
  .brand{gap:9px;min-width:0}
  .logo{width:42px;height:42px;border-radius:10px;font-size:13px;flex:0 0 42px}
  .brand>span:last-child{font-size:15px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .brand small{font-size:9px;margin-top:2px}
  .user{gap:5px;flex:0 0 auto}
  .user .password-link,.user .avatar,.user>span:first-child{display:none}
  .user .logout-link{display:inline-flex;min-height:40px;height:40px;padding:8px 13px}
  .portal-date-row{height:52px;display:flex;align-items:flex-end;justify-content:center;padding-bottom:4px}
  .portal-date{position:static!important;transform:none!important;display:flex!important;gap:6px;margin:0!important;z-index:auto!important}
  .portal-date input{width:150px;height:34px;color:#172b4d;background:#fff;border:1px solid var(--line);font-size:14px}
  .portal-date button{height:34px;padding:0 13px;background:var(--teal);color:#fff}
  .layout{min-height:calc(100vh - 116px)}
  .side{position:static;height:auto;padding:6px 8px;border-right:0;border-bottom:1px solid var(--line);overflow-x:auto;overflow-y:hidden}
  .nav{display:flex;gap:4px}
  .nav a{font-size:12px;padding:9px 10px;white-space:nowrap}
  .main{padding:12px 10px 18px}
}
<style id="final-responsive-hard-fix">
/* Final responsive hardening: keep date filters compact and keep the mobile header rows separated. */
.report-date-form{display:flex!important;align-items:flex-end!important;flex-wrap:wrap!important;gap:10px!important;}
.report-date-form .field{flex:0 0 240px!important;width:240px!important;max-width:240px!important;min-width:0!important;}
.report-date-form .field .input[type="date"]{width:100%!important;max-width:100%!important;}
.report-date-form>.btn,.report-date-form>a.btn{flex:0 0 auto!important;width:auto!important;max-width:max-content!important;}
@media screen and (max-width:800px){
  .top{height:136px!important;min-height:136px!important;padding:7px 10px 8px!important;display:block!important;}
  .top-row{height:56px!important;min-height:56px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;}
  .brand{gap:10px!important;min-width:0!important;}
  .logo{width:44px!important;height:44px!important;min-width:44px!important;border-radius:11px!important;font-size:13px!important;}
  .brand>span:last-child{font-size:15px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .brand small{font-size:9px!important;margin-top:2px!important;}
  .user{gap:5px!important;flex:0 0 auto!important;}
  .user .password-link,.user .avatar,.user>span:first-child{display:none!important;}
  .user .logout-link{display:inline-flex!important;min-height:40px!important;height:40px!important;padding:8px 13px!important;}
  .portal-date-row{height:64px!important;min-height:64px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;}
  .portal-date{position:static!important;transform:none!important;display:flex!important;align-items:center!important;gap:7px!important;margin:0!important;padding:0!important;z-index:auto!important;}
  .portal-date input{width:150px!important;height:36px!important;color:#172b4d!important;background:#fff!important;border:1px solid var(--line)!important;font-size:14px!important;}
  .portal-date button{height:36px!important;padding:0 13px!important;background:var(--teal)!important;color:#fff!important;}
  .layout{min-height:calc(100vh - 136px)!important;}
  .side{position:static!important;height:auto!important;padding:6px 8px!important;border-right:0!important;border-bottom:1px solid var(--line)!important;overflow-x:auto!important;overflow-y:hidden!important;}
  .nav{display:flex!important;gap:4px!important;flex-wrap:nowrap!important;max-width:none!important;}
  .nav a{font-size:12px!important;padding:9px 10px!important;white-space:nowrap!important;}
  .main{padding:12px 10px 18px!important;}
  .report-date-form .field{flex:0 0 200px!important;width:200px!important;max-width:200px!important;}
}
@media screen and (max-width:380px){
  .brand>span:last-child{font-size:14px!important;}
  .logo{width:42px!important;height:42px!important;min-width:42px!important;}
  .portal-date input{width:135px!important;}
  .report-date-form .field{flex-basis:180px!important;width:180px!important;max-width:180px!important;}
}
