/* ==========================================================================
   DilmunSeals — application styles
   Palette inherited from the Dilmun Partners public site: deep maritime navy
   + gold, on cream/paper. Framework-free, no build step, no CDN.
   ========================================================================== */

:root{
  --navy:#0B2545; --navy-700:#13315C; --navy-600:#1B406E; --navy-500:#2A567F;
  --gold:#C9A24B; --gold-600:#B0883A; --gold-300:#E4CD92; --gold-100:#F3E9CF;
  --cream:#F7F4EC; --cream-200:#EFE9DB; --paper:#FCFAF5; --white:#fff;
  --ink:#15202E; --ink-600:#44505F; --muted:#6B7585;
  --line:#E7E1D3; --line-cool:#E2E8F0;

  --ok:#17794A; --ok-bg:#E6F4EC;
  --warn:#9A6B00; --warn-bg:#FFF4DC;
  --bad:#B3261E; --bad-bg:#FDECEA;
  --info:#1B406E; --info-bg:#E8EEF6;

  --r-sm:7px; --r:11px; --r-lg:16px; --r-pill:999px;
  --sh-1:0 1px 2px rgba(11,37,69,.05),0 1px 3px rgba(11,37,69,.06);
  --sh-2:0 6px 18px rgba(11,37,69,.08),0 2px 6px rgba(11,37,69,.05);
  --sh-3:0 20px 48px rgba(11,37,69,.14),0 6px 18px rgba(11,37,69,.08);

  --sidebar-w:248px;
  --sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --serif:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --mono:ui-monospace,SFMono-Regular,'SF Mono',Menlo,Consolas,monospace;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:var(--sans); color:var(--ink); background:var(--cream);
  font-size:15px; line-height:1.55; -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img,svg{max-width:100%;display:block}
ul{list-style:none}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:4px}

/* ------------------------------------------------------------------ shell */
.shell{display:flex;min-height:100vh}

.sidebar{
  width:var(--sidebar-w);flex:0 0 var(--sidebar-w);
  background:var(--navy);color:#C7D2E2;
  display:flex;flex-direction:column;
  position:sticky;top:0;height:100vh;
}
.sidebar__brand{padding:20px 18px 14px;border-bottom:1px solid rgba(255,255,255,.08)}
.brand{display:flex;align-items:center;gap:11px}
/* Emblem is gold line-art on transparency, so it sits directly on the navy
   sidebar with no plate behind it. */
.brand__mark{
  width:42px;height:auto;flex:0 0 42px;
}
.brand__text{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.brand__text strong{color:#fff;font-size:.98rem;letter-spacing:.01em}
.brand__text small{color:#8FA3BF;font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Version sits beside the wordmark, quiet enough that the name still reads as
   the name. Baseline-shifted rather than superscripted so it doesn't raise the
   line box and unbalance the two-line lockup. */
.brand__version{
  margin-left:6px;
  font-size:.62rem;font-weight:600;letter-spacing:.02em;
  color:#8FA3BF;
  vertical-align:2px;
}

.sidebar__nav{padding:14px 10px;display:flex;flex-direction:column;gap:2px;flex:1;overflow-y:auto}
.sidebar__foot{padding:10px;border-top:1px solid rgba(255,255,255,.08)}

.navlink{
  display:flex;align-items:center;gap:11px;
  padding:9px 12px;border-radius:var(--r-sm);
  font-size:.9rem;font-weight:500;color:#B8C7DC;
  transition:background .15s,color .15s;
}
.navlink svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.navlink:hover{background:rgba(255,255,255,.07);color:#fff}
.navlink.is-active{background:var(--gold);color:var(--navy);font-weight:600}

.userbox{display:flex;align-items:center;gap:10px;padding:10px 12px;margin-top:6px}
.userbox__avatar{
  width:32px;height:32px;flex:0 0 32px;border-radius:50%;
  background:var(--navy-500);color:#fff;display:grid;place-items:center;
  font-weight:600;font-size:.82rem;
}
.userbox__meta{flex:1;min-width:0;line-height:1.25}
.userbox__meta strong{display:block;color:#fff;font-size:.83rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.userbox__meta small{color:#8FA3BF;font-size:.71rem}
.userbox__out{color:#8FA3BF;padding:6px;border-radius:6px}
.userbox__out svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.userbox__out:hover{background:rgba(255,255,255,.08);color:#fff}

.main{flex:1;min-width:0;padding:26px clamp(18px,3vw,36px) 60px}

/* ------------------------------------------------------------------ page */
.page-head{
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:18px;flex-wrap:wrap;margin-bottom:22px;
}
.page-head h1{
  font-family:var(--serif);font-size:2rem;font-weight:600;
  color:var(--navy);line-height:1.1;letter-spacing:.005em;
}
.page-head .sub{color:var(--muted);font-size:.9rem;margin-top:3px}
.page-head__actions{display:flex;gap:9px;flex-wrap:wrap}

.eyebrow{
  font-size:.71rem;font-weight:700;text-transform:uppercase;
  letter-spacing:.14em;color:var(--gold-600);margin-bottom:5px;
}

/* ---------------------------------------------------------------- buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  padding:.58em 1.1em;border-radius:var(--r-sm);border:1px solid transparent;
  font-size:.875rem;font-weight:600;cursor:pointer;white-space:nowrap;
  background:var(--navy);color:#fff;transition:background .15s,box-shadow .15s,transform .05s;
}
.btn:hover{background:var(--navy-700)}
.btn:active{transform:translateY(1px)}
.btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn--gold{background:var(--gold);color:var(--navy)}
.btn--gold:hover{background:var(--gold-600);color:#fff}
.btn--ghost{background:transparent;border-color:var(--line);color:var(--ink-600)}
.btn--ghost:hover{background:var(--white);border-color:var(--navy-500);color:var(--navy)}
.btn--danger{background:var(--bad)}
.btn--danger:hover{background:#8E1D17}
/* Quiet version for a destructive action that sits in a row of ordinary
   buttons — a solid red block there reads as the primary action, which is
   exactly backwards. */
.btn--ghost-danger{background:transparent;border-color:var(--line);color:var(--bad)}
.btn--ghost-danger:hover{background:var(--bad-bg);border-color:var(--bad)}
.btn--sm{padding:.38em .75em;font-size:.8rem}
.btn[disabled]{opacity:.5;cursor:not-allowed}

/* ------------------------------------------------------------------ cards */
.card{
  background:var(--white);border:1px solid var(--line);
  border-radius:var(--r);box-shadow:var(--sh-1);
}
.card__head{
  padding:15px 18px;border-bottom:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
}
.card__head h2{font-size:1rem;font-weight:600;color:var(--navy)}
.card__body{padding:18px}
.card__body--flush{padding:0}

.grid{display:grid;gap:16px}
.grid--stats{grid-template-columns:repeat(auto-fit,minmax(195px,1fr))}
.grid--2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.grid--3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}

/* ------------------------------------------------------------------ stats */
.stat{
  background:var(--white);border:1px solid var(--line);border-radius:var(--r);
  padding:16px 18px;box-shadow:var(--sh-1);position:relative;overflow:hidden;
}
.stat::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--gold)}
.stat--bad::before{background:var(--bad)}
.stat--ok::before{background:var(--ok)}
.stat--info::before{background:var(--navy-500)}
.stat__label{font-size:.73rem;font-weight:600;text-transform:uppercase;letter-spacing:.09em;color:var(--muted)}
.stat__value{font-size:1.72rem;font-weight:650;color:var(--navy);line-height:1.15;margin-top:5px;font-variant-numeric:tabular-nums}
.stat__meta{font-size:.79rem;color:var(--muted);margin-top:3px}

/* ------------------------------------------------------------------ table */
.table-wrap{overflow-x:auto}
table.data{width:100%;border-collapse:collapse;font-size:.875rem}
table.data th{
  text-align:left;font-size:.71rem;font-weight:700;text-transform:uppercase;
  letter-spacing:.08em;color:var(--muted);
  padding:11px 14px;border-bottom:1px solid var(--line);white-space:nowrap;
  background:var(--paper);
}
table.data td{padding:12px 14px;border-bottom:1px solid var(--line-cool);vertical-align:middle}
table.data tbody tr:last-child td{border-bottom:0}
table.data tbody tr:hover{background:var(--paper)}
table.data .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
table.data .strong{font-weight:600;color:var(--navy)}
table.data a.link{color:var(--navy);font-weight:600;border-bottom:1px solid transparent}
table.data a.link:hover{border-bottom-color:var(--gold)}
.row-actions{display:flex;gap:6px;justify-content:flex-end}

/* ---------------------------------------------------------- row action menu
   The three-dot menu on list rows. The trigger stays quiet until the row is
   hovered or the menu is open, so a long table reads as data rather than as a
   column of buttons. */
.menu{position:relative;display:inline-block}

.menu__trigger{
  display:inline-flex;align-items:center;justify-content:center;
  width:30px;height:28px;padding:0;
  border:1px solid transparent;border-radius:var(--r-sm);
  background:transparent;color:var(--muted);cursor:pointer;
  transition:background .13s ease,border-color .13s ease,color .13s ease;
}
.menu__trigger svg{fill:currentColor}
.menu__trigger:hover,
.menu__trigger[aria-expanded="true"]{
  background:var(--cream);border-color:var(--line);color:var(--ink);
}
.menu__trigger:focus-visible{outline:2px solid var(--gold);outline-offset:1px}

.menu__panel{
  position:absolute;right:0;top:calc(100% + 5px);z-index:40;
  min-width:184px;padding:5px;
  background:var(--white);border:1px solid var(--line);border-radius:var(--r);
  box-shadow:var(--sh-2);
  text-align:left;
}
/* Flipped upward by app.js when the row sits near the bottom of the viewport,
   which would otherwise open the menu off-screen on the last rows of a table. */
.menu__panel--up{top:auto;bottom:calc(100% + 5px)}
.menu__panel[hidden]{display:none}

.menu__item{
  display:block;width:100%;
  padding:8px 11px;
  border:0;border-radius:var(--r-sm);
  background:transparent;
  font:inherit;font-size:.85rem;color:var(--ink);text-align:left;text-decoration:none;
  cursor:pointer;white-space:nowrap;
}
.menu__item:hover{background:var(--cream)}
.menu__item:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.menu__item--danger{color:var(--bad)}
.menu__item--danger:hover{background:var(--bad-bg)}

.menu__sep{height:1px;margin:5px 4px;background:var(--line)}

/* .table-wrap scrolls wide tables with overflow-x:auto — and per spec, once one
   axis is not `visible` the other clips too, so a dropdown inside it would be
   cut off at the row's bottom edge. app.js adds this class while a menu is
   open. Done in JS rather than with :has() so it also works in browsers that
   predate :has(), where a clipped menu would be unusable rather than untidy. */
.table-wrap.is-menu-open{overflow:visible}

/* --------------------------------------------------------- email send log */
.sendlog{list-style:none;display:flex;flex-direction:column;gap:11px}
.sendlog li{padding-left:11px;border-left:2px solid var(--line)}

/* ------------------------------------------------------------ favourite star
   Unstarred rows show a hollow outline only on hover, so a list of customers
   is not a wall of grey stars competing with the names. */
.col-star{width:34px;padding-right:0!important;text-align:center}

.star{
  display:inline-flex;align-items:center;justify-content:center;
  width:26px;height:26px;padding:0;
  border:0;border-radius:var(--r-sm);
  background:transparent;cursor:pointer;
  color:transparent;
}
.star svg{fill:currentColor;stroke:var(--line);stroke-width:1.4}
tr:hover .star{color:transparent;stroke:var(--muted)}
tr:hover .star svg{stroke:var(--muted)}
.star:hover svg{stroke:var(--gold-600)}
.star.is-on{color:var(--gold)}
.star.is-on svg{stroke:var(--gold-600)}
.star:focus-visible{outline:2px solid var(--gold);outline-offset:1px}

/* Visible to screen readers, removed from the visual layout. Used for column
   headers whose meaning is carried by an icon. */
.sr-only{
  position:absolute;width:1px;height:1px;
  padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

.empty{padding:44px 20px;text-align:center;color:var(--muted)}
.empty h3{font-family:var(--serif);font-size:1.25rem;color:var(--navy);margin-bottom:6px}
.empty p{margin-bottom:16px;font-size:.9rem}

/* ------------------------------------------------------------------ pills */
.pill{
  display:inline-flex;align-items:center;gap:5px;
  padding:.2em .6em;border-radius:var(--r-pill);
  font-size:.735rem;font-weight:650;letter-spacing:.01em;white-space:nowrap;
}
.pill--ok{background:var(--ok-bg);color:var(--ok)}
.pill--warn{background:var(--warn-bg);color:var(--warn)}
.pill--bad{background:var(--bad-bg);color:var(--bad)}
.pill--draft{background:#EEF1F5;color:var(--ink-600)}
.pill--muted{background:#F2F0EA;color:var(--muted)}

/* ------------------------------------------------------------------ forms */
.field{margin-bottom:15px}
.field label,.label{
  display:block;font-size:.79rem;font-weight:600;color:var(--ink-600);
  margin-bottom:5px;letter-spacing:.01em;
}

/* Label on the left, Reset on the right. The Reset only renders when the value
   actually differs from its default, so on a settled Settings page this row is
   just the label. */
.field__head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.field__head label{margin-bottom:5px}
.field__head .check{margin-bottom:5px}

.field__reset{
  flex:0 0 auto;
  padding:1px 7px;
  border:1px solid var(--line);border-radius:var(--r-pill);
  background:transparent;
  font:inherit;font-size:.68rem;font-weight:600;letter-spacing:.03em;
  color:var(--muted);cursor:pointer;
  transition:color .13s ease,border-color .13s ease,background .13s ease;
}
.field__reset:hover{color:var(--navy);border-color:var(--navy-500);background:var(--cream)}
.field__reset:focus-visible{outline:2px solid var(--gold);outline-offset:1px}
.field .hint{font-size:.76rem;color:var(--muted);margin-top:4px;line-height:1.45}
input[type=text],input[type=email],input[type=password],input[type=number],
input[type=date],input[type=tel],input[type=search],select,textarea{
  width:100%;padding:.56em .72em;
  border:1px solid var(--line);border-radius:var(--r-sm);
  background:var(--white);font-size:.9rem;transition:border-color .15s,box-shadow .15s;
}
input:focus,select:focus,textarea:focus{
  outline:none;border-color:var(--navy-500);
  box-shadow:0 0 0 3px rgba(27,64,110,.1);
}
input[readonly],input[disabled],select[disabled]{background:var(--paper);color:var(--muted)}
textarea{resize:vertical;min-height:76px;line-height:1.55}
select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7585' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .6em center;background-size:15px;padding-right:2.1em}
.form-row{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.form-actions{display:flex;gap:10px;justify-content:flex-end;padding-top:18px;margin-top:6px;border-top:1px solid var(--line);flex-wrap:wrap}
.check{display:flex;align-items:center;gap:8px;font-size:.88rem}
.check input{width:auto}
fieldset{border:0}
.required::after{content:" *";color:var(--bad)}

/* --------------------------------------------------------------- flashes */
.flashes{margin-bottom:18px;display:flex;flex-direction:column;gap:9px}
.flashes--float{position:fixed;top:18px;left:50%;transform:translateX(-50%);z-index:60;width:min(460px,92vw)}
.flash{
  padding:11px 15px;border-radius:var(--r-sm);font-size:.88rem;font-weight:500;
  border:1px solid transparent;box-shadow:var(--sh-1);
}
.flash--success{background:var(--ok-bg);color:var(--ok);border-color:#BFE3CF}
.flash--error{background:var(--bad-bg);color:var(--bad);border-color:#F3C9C5}
.flash--warning{background:var(--warn-bg);color:var(--warn);border-color:#EFD9A6}
.flash--info{background:var(--info-bg);color:var(--info);border-color:#C9D8EC}

.notice{
  padding:13px 16px;border-radius:var(--r-sm);font-size:.86rem;
  background:var(--info-bg);color:var(--info);border:1px solid #C9D8EC;
  margin-bottom:18px;line-height:1.5;
}
.notice--warn{background:var(--warn-bg);color:var(--warn);border-color:#EFD9A6}
.notice strong{font-weight:700}

/* ------------------------------------------------------------------ login */
.login{
  min-height:100vh;display:grid;place-items:center;padding:24px;
  background:
    radial-gradient(1100px 520px at 50% -10%,rgba(201,162,75,.16),transparent 60%),
    var(--navy);
}
.login__card{
  width:min(408px,100%);background:var(--white);
  border-radius:var(--r-lg);box-shadow:var(--sh-3);padding:34px 32px 28px;
}
.login__brand{display:flex;flex-direction:column;align-items:center;text-align:center;margin-bottom:24px}
.login__mark{width:86px;height:86px;margin-bottom:14px}
.login__brand h1{font-family:var(--serif);font-size:1.62rem;color:var(--navy);font-weight:600}
.login__brand p{font-size:.85rem;color:var(--muted);margin-top:3px}
.login__foot{margin-top:20px;text-align:center;font-size:.76rem;color:var(--muted)}

/* --------------------------------------------------------- line item editor */
.lines{width:100%;border-collapse:collapse}
.lines th{
  font-size:.71rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);
  font-weight:700;text-align:left;padding:8px 8px;border-bottom:1px solid var(--line);
}
.lines td{padding:6px 6px;border-bottom:1px solid var(--line-cool);vertical-align:top}
.lines input,.lines select,.lines textarea{padding:.42em .55em;font-size:.85rem}
.lines .col-qty{width:92px}
.lines .col-price{width:118px}
.lines .col-disc{width:82px}
.lines .col-tax{width:130px}
.lines .col-amt{width:112px;text-align:right;font-variant-numeric:tabular-nums;padding-top:14px;font-weight:600;color:var(--navy)}
.lines .col-del{width:38px}
.lines textarea{min-height:38px}
.line-del{
  background:transparent;border:1px solid var(--line);border-radius:6px;
  width:28px;height:28px;display:grid;place-items:center;color:var(--muted);cursor:pointer;
}
.line-del:hover{background:var(--bad-bg);border-color:#F3C9C5;color:var(--bad)}
.line-del svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}

.totals{margin-left:auto;width:min(330px,100%);margin-top:16px}
.totals__row{display:flex;justify-content:space-between;gap:20px;padding:7px 0;font-size:.9rem}
.totals__row span:last-child{font-variant-numeric:tabular-nums;font-weight:600}
.totals__row--total{
  border-top:2px solid var(--navy);margin-top:6px;padding-top:11px;
  font-size:1.12rem;font-weight:700;color:var(--navy);
}
.totals__row--muted{color:var(--muted);font-size:.85rem}

/* --------------------------------------------------------------- detail view */
.detail-grid{display:grid;gap:18px;grid-template-columns:minmax(0,2.1fr) minmax(255px,1fr);align-items:start}
@media(max-width:900px){.detail-grid{grid-template-columns:1fr}}
.deflist{display:grid;gap:11px}
.deflist div{display:flex;justify-content:space-between;gap:14px;font-size:.875rem}
.deflist dt{color:var(--muted);flex:0 0 auto}
.deflist dd{text-align:right;font-weight:550;color:var(--ink)}
.addr{font-size:.88rem;line-height:1.6;color:var(--ink-600);white-space:pre-line}

.toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:16px}
.toolbar form{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.toolbar input[type=search],.toolbar select{min-width:170px;width:auto}
.spacer{flex:1}

.pager{display:flex;gap:6px;justify-content:center;padding:16px;align-items:center}
.pager a,.pager span{
  padding:.35em .7em;border-radius:var(--r-sm);font-size:.85rem;
  border:1px solid var(--line);color:var(--ink-600);
}
.pager .is-current{background:var(--navy);color:#fff;border-color:var(--navy);font-weight:600}

.tabs{display:flex;gap:3px;border-bottom:1px solid var(--line);margin-bottom:20px;overflow-x:auto}
.tab{
  padding:9px 15px;font-size:.875rem;font-weight:600;color:var(--muted);
  border-bottom:2px solid transparent;white-space:nowrap;
}
.tab:hover{color:var(--navy)}
.tab.is-active{color:var(--navy);border-bottom-color:var(--gold)}

/* ------------------------------------------------------------------ charts */
.chart{display:block;width:100%;height:auto;overflow:visible}

/* Marks lift slightly on hover so the native <title> tooltip feels anchored
   to something. Kept subtle — the chart must not animate while being read. */
.chart path{transition:opacity .12s}
.chart:hover path{opacity:.82}
.chart path:hover{opacity:1}

.chart-empty{
  padding:26px 4px;text-align:center;color:var(--muted);font-size:.87rem;
}

.chart-legend{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.chart-legend__item{
  display:inline-flex;align-items:center;gap:7px;
  font-size:.82rem;font-weight:600;color:var(--ink-600);
}
/* The swatch carries identity; the text stays in ink, never the series
   colour — coloured text on a light surface fails contrast at small sizes. */
.chart-legend__swatch{
  width:11px;height:11px;border-radius:3px;display:inline-block;flex:0 0 11px;
}

@media print{
  .chart path{opacity:1 !important}
  .chart{page-break-inside:avoid}
}

.muted{color:var(--muted)}
.small{font-size:.82rem}
.mono{font-family:var(--mono);font-size:.85em}
.nowrap{white-space:nowrap}
.text-right{text-align:right}
.mt{margin-top:16px}
.mb{margin-bottom:16px}

/* --------------------------------------------------------------- responsive */
@media(max-width:860px){
  .shell{flex-direction:column}
  .sidebar{
    width:100%;flex:none;height:auto;position:static;
    flex-direction:row;align-items:center;gap:10px;padding:9px 12px;overflow-x:auto;
  }
  .sidebar__brand{border:0;padding:0 10px 0 0}
  .brand__text{display:none}
  .sidebar__nav{flex-direction:row;padding:0;gap:3px;flex:1}
  .navlink span{display:none}
  .navlink{padding:9px}
  .sidebar__foot{border:0;padding:0;display:flex;align-items:center;gap:6px}
  .userbox{padding:0 4px}
  .userbox__meta{display:none}
  .main{padding:18px 14px 44px}
  .page-head h1{font-size:1.6rem}
}

/* ------------------------------------------------------------------- print */
@media print{
  .sidebar,.page-head__actions,.toolbar,.flashes,.no-print{display:none!important}
  .shell{display:block}
  .main{padding:0}
  body{background:#fff}
  .card{border:0;box-shadow:none}
}
