/* views.css — generated by scripts/build-assets.sh. Do not edit by hand. */
/* Source order: parts/*.css (alphabetical) */

/* ===== account.css ===== */
/* ============================================================
   account.css — auth views (login/register/forgot/reset) and the
   customer account area (dashboard, orders, wishlist, profile,
   addresses). Built for views/auth/*.php and views/account/*.php.
   Mobile-first, breakpoints at 620px and 900px. Uses only the
   custom properties already defined in app.css (see the
   compatibility bridge in parts/browse.css for --navy/--r-*/--sh-*).
   ============================================================ */

/* ---------------- shared form bits ---------------- */
.field-row{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:621px){.field-row{grid-template-columns:1fr 1fr}}

.check-row{display:flex;gap:10px;align-items:flex-start;font-size:.86rem;color:var(--text-2);cursor:pointer;line-height:1.4}
.check-row input{margin-top:3px;flex:0 0 auto;width:16px;height:16px;accent-color:var(--amber)}

.pw-field{position:relative}
.pw-field .input{padding-right:64px}
.pw-toggle{position:absolute;top:0;right:0;bottom:0;padding:0 14px;border:0;background:none;cursor:pointer;
  font-size:.78rem;font-weight:700;color:var(--blue)}
.pw-toggle:hover{text-decoration:underline}

.pw-strength{margin-top:8px}
.pw-strength-bar{height:5px;border-radius:999px;background:var(--paper-3);overflow:hidden}
.pw-strength-bar i{display:block;height:100%;width:0;border-radius:999px;transition:width .2s ease,background .2s ease}

/* ---------------- auth shell (login/register) ---------------- */
.auth-shell{display:grid;grid-template-columns:1fr;gap:24px;align-items:start;max-width:900px;margin:0 auto}
@media(min-width:821px){
  .auth-shell{grid-template-columns:1fr 340px}
}
.auth-shell .auth-wrap{max-width:none;margin:0}
.auth-benefits{background:var(--ink);color:#fff;border-radius:var(--radius-lg);padding:26px;display:none}
@media(min-width:821px){.auth-benefits{display:block;position:sticky;top:calc(var(--header-h) + 20px)}}
.auth-benefits h2{color:#fff;font-size:1.1rem}
.auth-benefits .usp-list li{color:#C9D3E4}
.auth-benefits .usp-list svg{stroke:var(--amber-2)}
.auth-benefits .trust-item{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14);color:#fff}
.auth-benefits .trust-item b{color:#fff}
.auth-benefits .trust-item span{color:#AEB8C9}
.auth-benefits .trust-item svg{stroke:var(--amber-2)}

/* ---------------- account nav: horizontal tab strip on mobile ---------------- */
@media(max-width:820px){
  .acct-nav{display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:var(--radius);gap:2px;
    scrollbar-width:none}
  .acct-nav::-webkit-scrollbar{display:none}
  .acct-nav a{flex:0 0 auto;flex-direction:column;gap:4px;padding:10px 16px;font-size:.78rem;text-align:center;
    border-bottom:0;border-right:1px solid var(--paper-3);white-space:nowrap}
  .acct-nav a:last-of-type{border-right:0}
  .acct-nav-logout{flex-direction:column;gap:4px;padding:10px 16px;font-size:.78rem}
}
.acct-nav-logout{display:flex;gap:10px;align-items:center;width:100%;padding:12px 15px;border:0;background:none;
  cursor:pointer;font-size:.9rem;font-weight:600;color:var(--red);text-align:left}
.acct-nav-logout:hover{background:var(--paper-2)}
.acct-nav-logout svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8}
.acct-nav form{margin:0}
@media(min-width:821px){.acct-nav form{border-top:1px solid var(--paper-3)}}

/* ---------------- dashboard ---------------- */
.acct-order-list{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.acct-order-row{display:grid;grid-template-columns:1fr auto auto auto;gap:14px;align-items:center;
  padding:14px 4px;border-bottom:1px solid var(--paper-3);color:var(--text)}
.acct-order-list li:last-child .acct-order-row{border-bottom:0}
.acct-order-row:hover .aor-main b{color:var(--blue)}
.aor-main{display:flex;flex-direction:column;gap:2px}
.aor-main b{font-size:.94rem}
.aor-total{white-space:nowrap}
.acct-order-row svg{color:var(--text-4);flex:0 0 auto}
@media(max-width:560px){
  .acct-order-row{grid-template-columns:1fr auto;grid-template-rows:auto auto;row-gap:8px}
  .aor-total{grid-column:1;order:3}
  .acct-order-row .badge{order:2}
  .acct-order-row svg{display:none}
}

.quick-links{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:621px){.quick-links{grid-template-columns:repeat(5,1fr)}}
.quick-link{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px 8px;
  font-size:.8rem;font-weight:650;color:var(--text)}
.quick-link:hover{border-color:var(--line-2);box-shadow:var(--shadow-xs)}
.quick-link svg{stroke:var(--blue)}

.support-panel{background:var(--paper-2)}

/* ---------------- orders list: table -> card ---------------- */
.order-thumbs{display:flex;gap:6px;align-items:center}
.order-thumbs img{width:34px;height:34px;border-radius:8px;object-fit:cover;border:1px solid var(--line);background:#fff}
.order-thumb-more{font-size:.72rem;font-weight:700;color:var(--text-3);background:var(--paper-2);
  border-radius:999px;width:26px;height:26px;display:grid;place-items:center;border:1px solid var(--line)}

.order-cards{display:grid;gap:12px}
.order-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px}
.order-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px}
.order-card-head b{display:block;font-size:.95rem}
.order-card .order-thumbs{margin-bottom:12px}
.order-card-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;
  padding-top:10px;border-top:1px solid var(--paper-3)}

/* ---------------- wishlist ---------------- */
/* uses .empty and .p-grid from app.css as-is */

/* ---------------- addresses ---------------- */
.addr-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:621px){.addr-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:901px){.addr-grid{grid-template-columns:repeat(3,1fr)}}
.addr-card{background:#fff;border:1.5px solid var(--line);border-radius:var(--radius);padding:16px;position:relative}
.addr-card.is-default{border-color:var(--amber)}
.addr-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.addr-card-head b{font-size:.95rem}
.addr-name{font-weight:650;margin:2px 0}
.addr-card p{margin:0 0 4px}
.addr-card-actions{display:flex;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--paper-3)}
.addr-card-actions form{margin:0}

/* ---------------- profile ---------------- */
.panel + .panel{margin-top:0}

/* ===== browse.css ===== */
/* ============================================================
   browse.css — listing, product detail, departments, CMS page,
   unsubscribe. Built for listing.php / product.php / departments.php
   / page.php / unsubscribe.php. Mobile-first, breakpoints at
   620px / 900px / 1000px.
   ============================================================ */



/* app.js toggles the class "open"/"on" (not "is-open"/"is-on") on a
   few elements that this file introduces or reuses; app.css only has
   the "is-*" variants for them, so add the names app.js actually
   uses. */
@media (max-width: 900px) {
  .filters.open { transform: none; }
}
.variant.on { border-color: var(--navy); background: var(--navy); color: #fff; }
.gal-thumbs button.on { border-color: var(--navy); }
.btn[data-wish].is-on,
.btn[data-wish].on { border-color: var(--red); color: var(--red); }
.btn[data-wish].is-on svg,
.btn[data-wish].on svg { fill: var(--red); stroke: var(--red); }

/* ============================ crumbs / small bits ============================ */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 14px 0 6px; font-size: .82rem; color: var(--text-3); }
.crumbs a { color: var(--text-3); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs .sep { color: var(--line-2); }
.crumbs [aria-current="page"] { color: var(--text-1); font-weight: 600; }

h1 .listing-count { font-size: .7em; font-weight: 600; color: var(--text-3); }

.sub-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.sub-chips .chip .c { color: var(--text-3); font-weight: 600; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.active-filters .chip { display: inline-flex; align-items: center; gap: 6px; }
.active-filters .chip svg { color: var(--text-3); }
.active-filters .chip.is-clear { background: transparent; border-style: dashed; color: var(--text-2); font-weight: 700; }

/* ============================ listing layout ============================ */
.listing { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 14px; }
.listing-main { min-width: 0; }

@media (min-width: 900px) {
  .listing { grid-template-columns: 246px minmax(0, 1fr); }
}

/* ---- filters sidebar / mobile drawer ---- */
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--sh-1); }
.filter-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -16px -16px 12px; padding: 14px 16px; background: var(--navy); color: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.filter-head strong { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.filter-head .hbtn { color: #fff; }
.filter-head .hbtn:hover { background: rgba(255, 255, 255, .14); }
.filter-foot { display: none; }

.f-group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.f-group:first-child { padding-top: 2px; }
.f-group:last-child { border-bottom: 0; }
.f-group h4 { margin: 0 0 10px; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
.f-list { display: flex; flex-direction: column; gap: 9px; max-height: 260px; overflow-y: auto; }
.f-list label,
.f-group .check { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--text-1); cursor: pointer; }
.f-list label input,
.f-group .check input { width: 17px; height: 17px; accent-color: var(--navy); flex: none; }
.f-list label .c,
.f-group .check .c { margin-left: auto; color: var(--text-3); font-size: .78rem; font-weight: 600; }
.f-group .hint { margin: 8px 0 0; font-size: .76rem; color: var(--text-3); }

@media (max-width: 900px) {
  .filters {
    position: fixed; inset: 0 auto 0 0; width: min(88vw, 340px); z-index: 120;
    transform: translateX(-102%); transition: transform .22s ease;
    border-radius: 0; overflow-y: auto; padding-bottom: 90px;
  }
  .filter-head { position: sticky; top: 0; z-index: 2; margin: 0 0 12px; border-radius: 0; }
  .filter-foot {
    display: block; position: fixed; left: 0; bottom: 0; width: min(88vw, 340px);
    padding: 12px 16px; background: #fff; border-top: 1px solid var(--line); z-index: 121;
  }
}

/* ---- toolbar ---- */
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 16px; }
.toolbar .grow { flex: 1; }
.toolbar select { min-width: 190px; }

/* ---- empty state ---- */
.empty { text-align: center; padding: 60px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text-2); }
.empty svg { color: var(--line-2); margin-bottom: 14px; }
.empty h3 { margin: 0 0 6px; }

/* ============================================================
   Product detail page
   ============================================================ */
.pdp-top { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: start; margin-top: 6px; }

@media (min-width: 900px) {
  .pdp-top { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}
@media (min-width: 1120px) {
  .pdp-top { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) 300px; }
}

.pdp-info { min-width: 0; }
.pdp-meta a { color: var(--text-3); text-decoration: none; }
.pdp-meta a:hover { color: var(--blue); }

/* ---- gallery ---- */
#galMain { display: block; width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .25s ease; }
#galMain.zoom { transform: scale(1.7); cursor: zoom-out; }

/* ---- variants ---- */
.variant[disabled] { opacity: .45; cursor: not-allowed; text-decoration: line-through; }

/* ---- review summary / bars ---- */
.review-summary { display: flex; flex-wrap: wrap; gap: 26px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.review-score { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 140px; }
.review-score strong { font-size: 2.1rem; font-weight: 850; line-height: 1; color: var(--navy); }
.rating-bars { flex: 1; min-width: 220px; display: grid; gap: 6px; max-width: 420px; }
.rating-bar-row { display: grid; grid-template-columns: 30px 1fr 28px; gap: 10px; align-items: center; font-size: .8rem; color: var(--text-2); }
.rating-bar { display: block; height: 8px; border-radius: 999px; background: var(--paper-3); overflow: hidden; }
.rating-bar i { display: block; height: 100%; background: var(--amber); border-radius: 999px; }

.review-list { display: grid; gap: 16px; margin-bottom: 26px; }
.review-item { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.review-item h4 { margin: 6px 0 4px; font-size: .95rem; }
.review-item p { margin: 0; font-size: .89rem; color: var(--text-2); line-height: 1.6; }

.review-form-wrap { max-width: 560px; padding-top: 6px; }
.review-form-wrap h3 { margin: 0 0 12px; }
.rating-input { display: flex; flex-wrap: wrap; gap: 12px; }
.rating-input label { display: flex; align-items: center; gap: 5px; font-size: .9rem; cursor: pointer; }
.rating-input input { accent-color: var(--amber); }

/* ============================================================
   Departments directory
   ============================================================ */
.dept-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 18px 0 8px; }
.dept-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.dept-card-head { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-1); padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.dept-card-head strong { flex: 1; font-size: .98rem; }
.dept-card-head .cat-ico { width: 40px; height: 40px; border-radius: 999px; background: var(--mist-2); color: var(--blue); display: grid; place-items: center; flex: none; }
.dept-card-head svg:last-child { color: var(--text-3); flex: none; }
.dept-card-head:hover { color: var(--navy); }
.dept-card-head:hover svg:last-child { color: var(--blue); }
.dept-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.dept-card ul a { color: var(--text-2); text-decoration: none; font-size: .87rem; }
.dept-card ul a:hover { color: var(--blue); text-decoration: underline; }

.brand-index { margin-top: 34px; }
.az-jump { display: flex; flex-wrap: wrap; gap: 4px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 16px; position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; }
.az-jump a, .az-jump span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; font-size: .78rem; font-weight: 700; text-decoration: none; }
.az-jump a { color: var(--navy); }
.az-jump a:hover { background: var(--mist-2); }
.az-jump span { color: var(--line-2); }
.az-group { padding: 16px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 50px); }
.az-group:last-child { border-bottom: 0; }
.az-group h3 { margin: 0 0 10px; font-size: 1.05rem; color: var(--text-3); }
.az-list { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.az-list a { color: var(--text-1); text-decoration: none; font-size: .9rem; }
.az-list a:hover { color: var(--blue); text-decoration: underline; }

/* ============================================================
   CMS page
   ============================================================ */
.cms-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; margin: 14px 0 40px; align-items: start; }
@media (min-width: 900px) {
  .cms-layout { grid-template-columns: minmax(0, 1fr) 280px; }
}
.cms-body h1 { margin-bottom: 4px; }
.help-aside { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; position: sticky; top: calc(var(--header-h) + 12px); }
.help-aside h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.help-aside .usp-list a { color: var(--text-1); text-decoration: none; }
.help-aside .usp-list a:hover { color: var(--blue); text-decoration: underline; }

/* ============================================================
   Unsubscribe
   ============================================================ */
.auth-card.center { text-align: center; }
.auth-card.center svg { color: var(--green); margin-bottom: 12px; }

/* ===== checkout.css ===== */
/* ==========================================================================
   Pickngo Mall — basket, checkout, order & tracking views
   Uses the design tokens already defined in app.css (--ink, --amber, --paper*,
   --line*, --text*, --radius*, --shadow*, --ease). No new tokens introduced.
   Mobile-first; breakpoints at 620px and 900px.
   ========================================================================== */

/* ---------- shared step headings ---------- */
.co-h{display:flex;align-items:center;gap:10px;margin:0 0 16px;font-size:1.05rem}
.co-num{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:999px;
  background:var(--ink);color:#fff;font-size:.8rem;font-weight:800;flex:none}

/* ---------- basket: free-delivery progress ---------- */
.fd-track .progress{height:8px}
.fd-track .hint strong{color:var(--ink)}

/* ---------- coupon chip ---------- */
.chip.is-on{display:inline-flex;align-items:center;gap:7px;background:var(--green-soft);color:#075E38;
  border-color:#B7E9CF;font-weight:700}

/* ---------- basket line-item extras ---------- */
.line-item .p-stock{display:flex;align-items:center;gap:5px;margin-top:6px}
.line-item .qty button:disabled{opacity:.4;cursor:not-allowed}

/* ---------- saved-address picker (checkout) ---------- */
.addr-grid{display:grid;grid-template-columns:1fr;gap:10px}
@media (min-width:620px){.addr-grid{grid-template-columns:1fr 1fr}}
.addr-card{display:flex;gap:10px;align-items:flex-start;border:1.5px solid var(--line-2);border-radius:var(--radius);
  padding:12px 14px;cursor:pointer;transition:border-color .15s,background .15s}
.addr-card:hover{border-color:#c2c9d6}
.addr-card:has(input:checked){border-color:var(--ink);background:var(--paper-2)}
.addr-card input{margin-top:3px;width:17px;height:17px;accent-color:var(--ink);flex:none}
.addr-body{display:flex;flex-direction:column;gap:2px;font-size:.86rem}
.addr-body strong{font-size:.92rem}
.addr-body span{color:var(--text-3)}

/* ---------- delivery fee/eta callout inside the address step ---------- */
.delivery-quote{display:flex;align-items:center;gap:12px;margin-top:14px;padding:12px 14px;
  border:1px dashed var(--line-2);border-radius:var(--radius);background:var(--paper-2)}
.delivery-quote svg{flex:none;color:var(--ink)}
.delivery-quote div{display:flex;flex-direction:column;gap:2px;font-size:.86rem;color:var(--text-2)}
.delivery-quote strong{font-size:.95rem;color:var(--ink)}

/* ---------- bank transfer instructions ---------- */
.bank{border:1px solid var(--line-2);border-radius:var(--radius);padding:14px 16px;margin-top:12px;background:var(--paper-2)}
.bank h3{margin:0 0 10px;font-size:.95rem}
.bank dl{margin:0;display:grid;gap:8px}
.bank dl>div{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:.88rem}
.bank dt{color:var(--text-3);font-weight:600}
.bank dd{margin:0;font-weight:700;display:flex;align-items:center;gap:8px}

/* ---------- collapsible item list inside the checkout summary ---------- */
.co-items{margin-bottom:12px;border-bottom:1px solid var(--line);padding-bottom:10px}
.co-items summary{cursor:pointer;font-weight:700;font-size:.9rem;list-style:none;display:flex;align-items:center;justify-content:space-between}
.co-items summary::-webkit-details-marker{display:none}
.co-items summary::after{content:"▾";color:var(--text-3);font-size:.8rem}
.co-items[open] summary::after{content:"▴"}
.co-items ul{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:6px;max-height:220px;overflow-y:auto}
.co-items li{display:flex;justify-content:space-between;gap:10px;font-size:.84rem;color:var(--text-2)}
.co-items li span:last-child{font-weight:700;color:var(--ink);white-space:nowrap}

/* ---------- order confirmation hero ---------- */
.order-hero{text-align:center;background:linear-gradient(120deg,#0B1220,#1B2C4A 60%,#26426E);color:#fff;
  border-radius:var(--radius-xl);padding:34px 24px;margin-bottom:18px}
.order-hero svg{width:52px;height:52px;color:var(--amber-2);margin:0 auto 10px}
.order-hero h1{color:#fff;margin:0 0 8px;font-size:1.4rem}
.order-hero p{margin:0;opacity:.88;max-width:52ch;margin:0 auto}

.order-summary-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.order-number{font-size:1.15rem;letter-spacing:.02em}

/* ---------- delivery status timeline ---------- */
.track-step{position:relative;padding-bottom:20px}
.track-step:last-child{padding-bottom:0}
.track-step::before{content:"";position:absolute;left:-30px;top:2px;width:11px;height:11px;border-radius:999px;
  background:var(--paper-3);border:2px solid var(--line-2)}
.track-step.on::before{background:var(--amber);border-color:var(--amber)}
.track-step strong{display:block;font-size:.92rem}
.track-step span{font-size:.78rem;color:var(--text-3)}
.track-step p{margin:4px 0 0;font-size:.84rem;color:var(--text-2)}

/* ---------- responsive tweaks ---------- */
@media (max-width:900px){
  .checkout-wrap .two-col,.order-wrap .two-col{grid-template-columns:1fr}
  .order-summary-bar{flex-direction:column;align-items:flex-start}
}
@media (max-width:620px){
  .co-h{font-size:.98rem}
  .bank dl>div{flex-direction:column;align-items:flex-start;gap:2px}
  .delivery-quote{flex-direction:column;align-items:flex-start;gap:8px}
}

/* ---------- print: receipt only ---------- */
@media print{
  body{background:#fff}
  .crumbs,.co-steps,.order-hero,.summary .btn,.summary .hint{display:none !important}
  .card{box-shadow:none;border-color:#ccc}
  .two-col{display:block}
  .summary{position:static}
}

/* ===== error.css ===== */
/* ============================================================
   error.css — the branded 404 page (views/error404.php). The 500
   page carries its own inline styles on purpose, because during a
   fatal error this stylesheet may not be reachable.
   Mobile-first; uses only custom properties already defined in
   app.css. Breakpoint at 620px.
   ============================================================ */

.errpage{max-width:660px;margin:0 auto;padding:44px 0 66px;text-align:center}

.errcode{margin:0;font-size:4.6rem;line-height:1;font-weight:800;letter-spacing:-3px;
  color:var(--amber);opacity:.9}
.errpage h1{margin:6px 0 10px;font-size:1.45rem;letter-spacing:-.4px}
.errlead{margin:0 auto 22px;max-width:46ch}

/* ---------------- search ---------------- */
.errsearch{display:flex;gap:8px;margin:0 0 18px}
.errsearch .input{flex:1 1 auto;min-width:0}
.errsearch .btn{flex:0 0 auto}

/* ---------------- actions ---------------- */
.errbtns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:0 0 30px}

/* ---------------- department shortcuts ---------------- */
.errsub{margin:0 0 12px;font-size:.82rem;font-weight:700;text-transform:uppercase;
  letter-spacing:.09em;color:var(--text-2)}
.errdepts{list-style:none;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0 0 28px;padding:0}
.errdepts a{display:inline-block;padding:8px 14px;border:1px solid var(--line);border-radius:999px;
  background:var(--paper);font-size:.85rem;font-weight:600;color:var(--text);text-decoration:none;
  transition:border-color .15s,background .15s}
.errdepts a:hover{border-color:var(--amber);background:#FFF9EC}

.errhelp{font-size:.85rem}
.errhelp a{font-weight:600}

@media(min-width:621px){
  .errpage{padding:64px 0 84px}
  .errcode{font-size:6rem;letter-spacing:-4px}
  .errpage h1{font-size:1.8rem}
}
