/* Furngully client portal. One surface, hairline rows, no decorative borders. */
:root {
  --navy: #2A475D; --green: #3BB785; --green-deep: #2A8C63; --green-ink: #1F6B4B;
  --green-soft: #E4F6EE; --green-soft-2: #D3EEDF; --navy-soft: #E4EAF0;
  --ink: #17171E; --muted: #5E6B7A; --muted-2: #4A5868; --line: #E6ECF2; --paper: #FFFFFF;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'Sofia Pro', 'Montserrat', 'Helvetica Neue', Arial, sans-serif; }
a { color: var(--green-deep); } a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.band { background: var(--navy); color: #F2F6FC; padding: 6px 24px; display: flex; flex-wrap: wrap;
  gap: 4px 16px; align-items: center; justify-content: space-between; font-size: 13px; }
.band .tag { color: #BEF4DB; font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.band .msg { display: flex; gap: 4px 12px; align-items: center; flex-wrap: wrap; padding: 8px 0; }
.band-btn { font: inherit; font-size: 13px; font-weight: 600; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 0; background: rgba(242,246,252,.14); color: #F2F6FC; cursor: pointer; }
.band-btn:hover { box-shadow: inset 0 0 0 1.5px #A0B1D4; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
header.top { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.brand { display: flex; gap: 16px; align-items: center; }
.brand img { height: 32px; width: auto; display: block; }
.brand span { font-size: 13px; color: var(--muted); }
nav.sections { display: flex; flex-wrap: wrap; gap: 0 2px; margin: 0 -14px; font-size: 14px; font-weight: 600; }
.nav { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--navy); }
.nav:hover { background: var(--green-soft); color: var(--navy); }
.cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-ink); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cta:hover { background: var(--green-soft-2); color: var(--green-ink); }
.ask { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; margin-left: -12px; border-radius: 999px;
  color: var(--green-deep); font-size: 13px; font-weight: 600; text-decoration: none; }
.ask:hover { background: var(--green-soft); }

main { padding-top: 48px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 72px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); }
h1 { margin: 0; font-size: clamp(28px, 7vw, 36px); font-weight: 800; color: var(--navy); line-height: 1.15; }
h2 { margin: 0; font-size: 24px; font-weight: 800; color: var(--navy); }
h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: var(--navy); }
.lede { margin: 0; font-size: 15px; color: var(--muted); }
.stack { display: flex; flex-direction: column; }
.g8 { gap: 8px; } .g12 { gap: 12px; } .g24 { gap: 24px; } .g40 { gap: 40px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 32px 40px; }
.stat .label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat .value { font-size: 22px; font-weight: 700; color: var(--navy); margin-top: 6px; }
.stat .sub { font-size: 14px; color: var(--muted); margin-top: 6px; }
.bar { height: 6px; background: var(--navy-soft); border-radius: 999px; overflow: hidden; margin-top: 12px; }
.bar > div { height: 6px; background: var(--green); border-radius: 999px; }

.people { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.person { display: flex; gap: 14px; align-items: center; }
.avatar { width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.avatar.lead { background: var(--green-soft); color: var(--green-deep); }
.avatar.client { background: var(--navy-soft); color: var(--navy); }
.person .role { font-size: 12px; color: var(--muted); }
.person .name { font-size: 16px; font-weight: 600; color: var(--navy); }
.person .meta { font-size: 14px; color: var(--muted); }
.person a.meta { color: var(--green-deep); font-weight: 600; text-decoration: none; }

.sec-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: baseline; justify-content: space-between; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; font-weight: 700; }
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 40px 56px; }
ul.rows { list-style: none; margin: 0; padding: 0; }
.row { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.row-top { display: flex; justify-content: space-between; gap: 6px 12px; align-items: center; flex-wrap: wrap; }
.row .item { font-size: 15px; color: var(--ink); }
.note { font-size: 12px; line-height: 1.5; color: var(--muted); }

.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.k-shipped { background: var(--green-soft); color: var(--green-ink); }
.k-confirmed { background: var(--navy-soft); color: var(--navy); }
.k-resolving { background: var(--navy); color: #FFFFFF; }
.k-pending { color: var(--muted-2); padding-left: 0; }
.k-client { background: var(--navy); color: #FFFFFF; }
.k-furngully { background: var(--green-soft); color: var(--green-ink); }
.k-mfr { background: var(--navy-soft); color: var(--navy); }

.oi { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.oi .title { font-size: 16px; font-weight: 600; color: var(--navy); }
.oi .detail { font-size: 14px; color: var(--muted); line-height: 1.5; max-width: 760px; }

.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > section { min-width: 0; }
.doc { display: flex; justify-content: space-between; gap: 8px 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.doc .name { font-size: 15px; font-weight: 600; color: var(--ink); }
.doc .meta { font-size: 13px; color: var(--muted); }
.fine { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
footer.foot { font-size: 13px; color: var(--muted); line-height: 1.6; }
.empty { font-size: 14px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line); }
[hidden] { display: none !important; }

/* Tracker: Domino's-style steps for the whole order */
.sub-head { margin-top: 24px; }
ol.tracker { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13px; color: var(--muted); }
.step::before { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 3px; background: var(--navy-soft); z-index: 0; }
.step:first-child::before { display: none; }
.step.done::before, .step.now::before { background: var(--green); }
.step .dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 999px; background: var(--navy-soft); }
.step.done .dot { background: var(--green); }
.step.now .dot { background: var(--paper); box-shadow: inset 0 0 0 6px var(--green); width: 24px; height: 24px; margin-top: -2px; }
.step.now .step-label { color: var(--navy); font-weight: 700; font-size: 14px; }
.step.done .step-label { color: var(--green-ink); font-weight: 600; }
@media (max-width: 560px) {
  ol.tracker { grid-template-columns: 1fr; gap: 0; }
  .step { flex-direction: row; align-items: center; gap: 14px; text-align: left; padding: 6px 0; min-height: 36px; }
  .step::before { top: -50%; left: 9px; width: 3px; height: 100%; }
  .step.now .dot { margin: 0 -2px; }
  ol.tracker { padding-left: 3px; }
  .room-step { flex-basis: 100%; }
}

/* Rooms: one line each */
ul.rooms { list-style: none; margin: 0; padding: 0; }
.room { border-top: 1px solid var(--line); padding: 12px 0; }
.room-top { display: flex; justify-content: space-between; align-items: center; gap: 6px 16px; flex-wrap: wrap; min-height: 32px; }
.room-name { font-size: 16px; font-weight: 600; color: var(--navy); }
.room-step { display: inline-flex; align-items: center; gap: 12px; }
.room-label { font-size: 14px; font-weight: 600; color: var(--navy); min-width: 128px; }
.meter { display: inline-flex; gap: 3px; }
.meter span { width: 14px; height: 6px; border-radius: 999px; background: var(--navy-soft); }
.meter span.on { background: var(--green); }
.issue { margin-top: 6px; font-size: 14px; color: var(--navy); background: none; padding-left: 12px; box-shadow: inset 3px 0 0 var(--navy); }
details.items summary { display: inline-flex; align-items: center; min-height: 40px; cursor: pointer; color: var(--green-deep); font-size: 13px; font-weight: 600; }
details.items summary:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
details.items ul.rows { margin: 4px 0 4px; }
.item-row { padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.item-step { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* Sign-in */
[hidden] { display: none !important; }
.gate { max-width: 440px; margin: 64px auto 96px; display: flex; flex-direction: column; gap: 16px; }
.gate-form, .picker { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.gate label, .picker label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.gate input, .picker select { font: inherit; font-size: 16px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line);
  border-radius: 12px; color: var(--ink); background: var(--paper); }
.gate input:focus, .picker select:focus { outline: 3px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.btn { font: inherit; font-size: 15px; font-weight: 700; min-height: 48px; margin-top: 8px; border: 0; border-radius: 999px;
  background: var(--navy); color: #fff; cursor: pointer; }
.btn:hover { background: #1E3546; }
.link-btn { font: inherit; font-size: 13px; font-weight: 600; background: none; border: 0; color: var(--green-deep);
  cursor: pointer; min-height: 44px; padding: 0 4px; align-self: flex-start; }
.link-btn:hover { color: var(--navy); }
.gate-msg { margin: 0; font-size: 14px; color: var(--muted-2); min-height: 20px; }
.foot .link-btn { display: block; margin-top: 8px; }

/* Automated-page notice */
.notice { background: var(--navy-soft); border-radius: 16px; padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.notice p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted-2); }
.notice-title { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0; }
.notice-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.ask-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--paper); color: var(--green-ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.ask-btn:hover { background: var(--green-soft); color: var(--green-ink); }
footer.foot p { margin: 0 0 10px; }
details.items .ask { margin-top: 8px; }
