/* StovePilot premium shell
   Shared visual polish for the everyday workspace without changing feature behaviour. */

:root{
  --sp-serif:Georgia,"Times New Roman",serif;
  --sp-shell-warm:color-mix(in srgb,var(--card) 76%,var(--bg));
  --sp-shell-line:color-mix(in srgb,var(--line) 86%,transparent);
  --sp-shell-gold:var(--brand-gold);
  --sp-shell-muted:color-mix(in srgb,var(--muted) 88%,var(--ink));
}

/* The everyday product should feel like one carefully designed instrument. */
.route-home,
.route-diary,
.route-more,
.route-enquiries,
.route-catalogue{
  background:var(--sp-shell-warm);
}
.route-home .main,
.route-diary .main,
.route-more .main,
.route-enquiries .main,
.route-catalogue .main{
  max-width:none;
  margin:0;
  min-height:100vh;
  background:var(--sp-shell-warm);
  padding:42px clamp(28px,4vw,62px) 58px;
}

/* Desktop chrome */
.route-home .sidebar,
.route-diary .sidebar,
.route-more .sidebar,
.route-enquiries .sidebar,
.route-catalogue .sidebar{
  background:#151616;
  border-right:1px solid rgba(255,255,255,.035);
}
.route-home .sidebar .brand,
.route-diary .sidebar .brand,
.route-more .sidebar .brand,
.route-enquiries .sidebar .brand,
.route-catalogue .sidebar .brand{
  padding:2px 6px 26px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.route-home .sidebar .brand-symbol,
.route-diary .sidebar .brand-symbol,
.route-more .sidebar .brand-symbol,
.route-enquiries .sidebar .brand-symbol,
.route-catalogue .sidebar .brand-symbol{
  width:31px;
  height:31px;
}
.route-home .sidebar .brand-copy>strong,
.route-diary .sidebar .brand-copy>strong,
.route-more .sidebar .brand-copy>strong,
.route-enquiries .sidebar .brand-copy>strong,
.route-catalogue .sidebar .brand-copy>strong{
  font-family:var(--sp-serif);
  font-weight:500;
  letter-spacing:.005em;
}
.route-home .sidebar .brand-copy>small,
.route-diary .sidebar .brand-copy>small,
.route-more .sidebar .brand-copy>small,
.route-enquiries .sidebar .brand-copy>small,
.route-catalogue .sidebar .brand-copy>small{color:#aeadA8}
.route-home .nav-btn,
.route-diary .nav-btn,
.route-more .nav-btn,
.route-enquiries .nav-btn,
.route-catalogue .nav-btn{
  border-radius:6px;
  padding-inline:12px;
}
.route-home .nav-btn.active,
.route-diary .nav-btn.active,
.route-more .nav-btn.active,
.route-enquiries .nav-btn.active,
.route-catalogue .nav-btn.active{
  background:rgba(255,255,255,.075);
}
.route-home .nav-btn.active::before,
.route-diary .nav-btn.active::before,
.route-more .nav-btn.active::before,
.route-enquiries .nav-btn.active::before,
.route-catalogue .nav-btn.active::before{
  content:"";
  position:absolute;
  left:-18px;
  top:9px;
  bottom:9px;
  width:2px;
  border-radius:999px;
  background:var(--brand-gold);
}

/* Typography — editorial headings, utilitarian body copy. */
.route-home .page-title,
.route-diary .page-title,
.route-more .page-title,
.route-enquiries .page-title,
.route-catalogue .page-title,
.route-home .section-head h2,
.route-diary .section-head h2,
.route-more .more-section-head h2{
  font-family:var(--sp-serif);
  color:var(--ink);
  font-weight:500;
}
.route-home .page-title,
.route-diary .page-title,
.route-more .page-title,
.route-enquiries .page-title,
.route-catalogue .page-title{
  font-size:clamp(2rem,3.15vw,2.75rem);
  line-height:1.08;
  letter-spacing:-.035em;
}
.route-home .eyebrow,
.route-diary .eyebrow,
.route-more .eyebrow,
.route-enquiries .eyebrow,
.route-catalogue .eyebrow{
  color:#8a7047;
  font-size:.68rem;
  font-weight:720;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.route-home .sub,
.route-diary .sub,
.route-more .sub,
.route-enquiries .sub,
.route-catalogue .sub{
  margin-top:8px;
  color:var(--sp-shell-muted);
  font-size:.88rem;
}
.route-home .topbar,
.route-diary .topbar,
.route-more .topbar,
.route-enquiries .topbar,
.route-catalogue .topbar{margin-bottom:30px}

/* Shared premium surfaces. */
.route-home .panel,
.route-diary .panel,
.route-more .panel,
.route-enquiries .panel{
  border-color:var(--sp-shell-line);
  box-shadow:0 10px 34px rgba(18,22,20,.035);
}
.route-home .btn,
.route-diary .btn,
.route-more .btn,
.route-enquiries .btn,
.route-catalogue .btn{
  border-radius:7px;
  box-shadow:none;
}
.route-home .btn.primary,
.route-diary .btn.primary,
.route-more .btn.primary,
.route-enquiries .btn.primary,
.route-catalogue .btn.primary{
  background:#1a1b1b;
  border-color:#1a1b1b;
}
.route-home input,
.route-diary input,
.route-diary select,
.route-diary textarea,
.route-enquiries input,
.route-catalogue input,
.route-catalogue select{
  border-radius:7px;
}

/* HOME — a command surface, not a dashboard. */
.route-home .home-topbar{
  align-items:flex-end;
  margin-bottom:20px;
}
.route-home .home-topbar .page-title{font-size:clamp(1.9rem,2.7vw,2.4rem)}
.route-home .home-topbar .actions{padding-bottom:1px}
.route-home .premium-week{
  padding:28px 30px;
  border-radius:9px;
  background:color-mix(in srgb,var(--card) 94%,var(--bg));
}
.route-home .week-toolbar{padding-bottom:22px}
.route-home .week-heading h2{
  font-family:var(--sp-serif);
  font-size:1.28rem;
  font-weight:500;
}
.route-home .week-strip{
  gap:8px;
  border-bottom-color:var(--sp-shell-line);
}
.route-home .week-chip{
  min-height:92px;
  border-radius:7px;
}
.route-home .week-chip:hover:not(.today){
  background:color-mix(in srgb,var(--brand-gold) 5%,transparent);
}
.route-home .week-chip.today{
  background:#181919;
  border-color:#181919;
  box-shadow:0 10px 28px rgba(20,21,21,.11);
}
.route-home .week-chip.today strong{color:var(--brand-gold)}
.route-home .today-row::before{
  width:2px;
  border-radius:999px;
}
.route-home .day-row,
.route-home .operational-heading,
.route-home .week-unfinished{
  border-color:var(--sp-shell-line);
}
.route-home .job-card-link:hover .job-main strong{color:var(--ink)}
.route-home .job-card-link:hover{transform:translate3d(2px,0,0)}
.route-home .home-attention{
  border-color:color-mix(in srgb,var(--brand-gold) 24%,var(--sp-shell-line));
  box-shadow:0 14px 38px rgba(20,21,21,.035);
}
.route-home .home-attention-head>span{color:#8a7047}
.route-home .attention-action{
  min-height:58px;
  border-bottom-color:var(--sp-shell-line);
}
.route-home .attention-action b{
  min-width:auto;
  padding:0;
  background:transparent;
  color:#8a7047;
  font-family:var(--sp-serif);
  font-size:1.05rem;
  font-weight:500;
}
.route-home .attention-action:hover{color:var(--ink)}
.route-home .attention-action:hover>span{transform:translate3d(2px,0,0)}
.route-home .attention-action>span{transition:transform 220ms var(--sp-motion-ease, ease)}
.route-home .home-shortcuts{
  margin-top:32px;
  padding-top:18px;
  border-top-color:var(--sp-shell-line);
}
.route-home .home-shortcut{
  min-height:76px;
  padding:12px 0;
}
.route-home .home-shortcut>span{
  font-family:var(--sp-serif);
  font-size:1rem;
  font-weight:500;
}
.route-home .home-shortcut strong{
  color:#8a7047;
  font-family:var(--sp-serif);
}
.route-home .home-shortcut:hover>span{text-decoration:none}
.route-home .workspace-ready{
  border-radius:9px;
  box-shadow:0 12px 34px rgba(20,21,21,.035);
}

/* DIARY — read like a calm working schedule. */
.route-diary .diary-shell{
  width:min(100%,1040px);
  margin:0 auto;
  gap:0;
}
.route-diary .topbar{
  width:min(100%,1040px);
  margin-inline:auto;
}
.route-diary .timeline-day{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.route-diary .timeline-day+ .timeline-day{
  margin-top:4px;
  border-top:1px solid var(--sp-shell-line);
}
.route-diary .timeline-day>header{
  grid-template-columns:70px 80px minmax(0,1fr) auto;
  min-height:70px;
  margin:0;
  padding:18px 0;
  border-bottom:0;
}
.route-diary .timeline-day>header strong{
  font-family:var(--sp-serif);
  font-size:1rem;
  font-weight:500;
}
.route-diary .timeline-day>header span{
  font-size:.8rem;
  color:var(--sp-shell-muted);
}
.route-diary .timeline-day>header em{
  font-size:.7rem;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.route-diary .timeline-day-today{
  position:relative;
}
.route-diary .timeline-day-today::before{
  content:"";
  position:absolute;
  left:-24px;
  top:16px;
  bottom:16px;
  width:2px;
  border-radius:999px;
  background:var(--brand-gold);
}
.route-diary .timeline-day-empty>header em{
  color:#9a9d98;
}
.route-diary .timeline{
  padding:0 0 12px;
}
.route-diary .timeline-item{
  grid-template-columns:70px 20px minmax(0,1fr);
  min-height:64px;
}
.route-diary .timeline-time{
  padding-top:14px;
  color:#555c58;
  font-family:var(--sp-serif);
  font-size:.92rem;
}
.route-diary .timeline-rail span{
  width:7px;
  height:7px;
  margin-top:17px;
  border:0;
  background:var(--brand-gold);
  box-shadow:0 0 0 4px color-mix(in srgb,var(--brand-gold) 12%,transparent);
}
.route-diary .timeline-rail i{
  top:28px;
  background:var(--sp-shell-line);
}
.route-diary .timeline-card{
  min-height:60px;
  padding:12px 0 14px;
  border-bottom-color:var(--sp-shell-line);
}
.route-diary .timeline-card strong{
  font-family:var(--sp-serif);
  font-size:1rem;
  font-weight:500;
}
.route-diary .timeline-card small{font-size:.8rem}
.route-diary .timeline-summary-right .tag{
  padding:0;
  background:transparent;
  color:#777b77;
  font-size:.72rem;
}
.route-diary .timeline-summary-right .status-pill{font-weight:500}
.route-diary .diary-day-add,
.route-diary .diary-free-add{
  color:#8a7047;
  font-weight:550;
}
.route-diary .diary-quick-add{
  border-radius:9px;
  border-color:var(--sp-shell-line);
  background:color-mix(in srgb,var(--card) 96%,var(--bg));
  box-shadow:0 14px 38px rgba(20,21,21,.045);
}
.route-diary .diary-earlier{
  margin-top:22px;
  border-top:1px solid var(--sp-shell-line);
}
.route-diary .diary-earlier>summary{
  min-height:58px;
  color:var(--sp-shell-muted);
}

/* MORE — an index, not a grid of SaaS cards. */
.route-more .main{
  padding-left:clamp(28px,5vw,76px);
  padding-right:clamp(28px,5vw,76px);
}
.route-more .more-topbar,
.route-more .more-section,
.route-more .more-signout{
  width:min(100%,1040px);
  margin-left:auto;
  margin-right:auto;
}
.route-more .more-section{margin-top:36px}
.route-more .more-section-head{
  padding-bottom:12px;
  border-bottom-color:var(--sp-shell-line);
}
.route-more .more-section-head h2{
  font-size:1rem;
  letter-spacing:-.01em;
}
.route-more .more-section-head span{color:#9a835c}
.route-more .more-grid{column-gap:40px}
.route-more .more-tool{
  grid-template-columns:40px minmax(0,1fr) 24px;
  min-height:84px;
  padding:18px 0;
  border-bottom-color:var(--sp-shell-line);
}
.route-more .more-tool-icon{
  width:40px;
  height:40px;
  border-color:color-mix(in srgb,var(--brand-gold) 35%,var(--sp-shell-line));
  border-radius:50%;
  background:transparent;
  color:#8a7047;
}
.route-more .more-tool-copy strong{
  font-family:var(--sp-serif);
  font-size:1rem;
  font-weight:500;
}
.route-more .more-tool-copy small{max-width:440px}
.route-more .more-tool:hover .more-tool-copy strong{text-decoration:none}
.route-more .more-tool-arrow{
  color:#9c9f9a;
  transition:transform 220ms var(--sp-motion-ease, ease),color 220ms ease;
}
.route-more .more-tool:hover .more-tool-arrow{
  color:#8a7047;
  transform:translate3d(4px,0,0);
}
.route-more .more-tool:hover .more-tool-icon{
  border-color:var(--brand-gold);
}
.route-more .more-disclosure>summary{
  border-bottom-color:var(--sp-shell-line);
  color:#5f6561;
}
.route-more .more-signout{border-top-color:var(--sp-shell-line)}

/* ENQUIRIES — make intake feel like a quiet ledger. */
.route-enquiries .enquiry-panel{
  width:min(100%,1040px);
  margin:0 auto;
  padding:28px 30px;
  border-radius:9px;
  border-color:var(--sp-shell-line);
  background:color-mix(in srgb,var(--card) 95%,var(--bg));
  box-shadow:0 14px 40px rgba(20,21,21,.035);
}
.route-enquiries .enquiry-card{
  padding:26px 0;
  border-top-color:var(--sp-shell-line);
}
.route-enquiries .enquiry-card::before{left:-30px}
.route-enquiries .enquiry-identity strong{
  font-family:var(--sp-serif);
  font-size:1.08rem;
  font-weight:500;
}
.route-enquiries .enquiry-received{color:#8a7047}
.route-enquiries .enquiry-search-field input{
  background:color-mix(in srgb,var(--card) 78%,var(--bg));
}
.route-enquiries .enquiry-actions .primary{min-width:160px}

/* CATALOGUE — keep the products dominant and quieten the filter chrome. */
.route-catalogue .catalogue-tools{
  border-radius:9px;
  border-color:var(--sp-shell-line);
  background:color-mix(in srgb,var(--card) 94%,var(--bg));
  box-shadow:none;
}
.route-catalogue .catalogue-grid{gap:20px}
.route-catalogue .stove-card{
  border-radius:10px;
  border-color:var(--sp-shell-line);
  box-shadow:0 12px 34px rgba(31,34,31,.055);
}
.route-catalogue .stove-card::before{height:2px}
.route-catalogue .stove-media{
  background:linear-gradient(180deg,#fbfaf7 0%,#f4f1ea 100%);
}
.route-catalogue .stove-card h3{
  font-family:var(--sp-serif);
  font-weight:500;
}
.route-catalogue .stove-specs>div{
  flex:1 0 70px;
  padding:0;
  border:0;
  border-radius:0;
  background:none;
}
.route-catalogue .stove-specs{display:flex;flex-wrap:wrap;gap:12px 20px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.route-catalogue .stove-specs>div:last-child{flex-basis:110px}
.route-catalogue .stove-specs strong{overflow-wrap:normal;font-size:.875rem}
.route-catalogue .stove-card.no-photo{box-shadow:none}
.route-catalogue .stove-card.no-photo::before{display:none}
.route-catalogue .stove-dimensions{line-height:1.7}

/* Mobile — one clean navigation language across the product. */
@media(max-width:720px){
  .route-home .main,
  .route-diary .main,
  .route-more .main,
  .route-enquiries .main,
  .route-catalogue .main{
    padding:24px max(18px,env(safe-area-inset-right)) var(--sp-phone-main-clear) max(18px,env(safe-area-inset-left));
  }
  .mobile-masthead{
    padding:calc(14px + env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) 13px max(18px,env(safe-area-inset-left));
    border-bottom:1px solid rgba(199,167,106,.16);
  }
  .mobile-masthead .brand-copy>strong{
    font-family:var(--sp-serif);
    font-weight:500;
  }

  .route-home .home-topbar{align-items:flex-start}
  .route-home .home-topbar .page-title{font-size:2.15rem}
  .route-home .premium-week{padding:20px 17px}
  .route-home .week-strip{gap:3px}
  .route-home .week-chip{min-height:82px}
  .route-home .home-attention{padding-top:22px}
  .route-home .home-shortcuts{margin-top:26px}

  .route-diary .topbar{width:100%}
  .route-diary .timeline-day>header{
    grid-template-columns:58px 64px minmax(0,1fr) auto;
    min-height:62px;
    padding:15px 0;
  }
  .route-diary .timeline-day-today::before{left:-18px}
  .route-diary .timeline-item{grid-template-columns:58px 17px minmax(0,1fr)}
  .route-diary .timeline-time{font-size:.84rem}
  .route-diary .timeline-summary-right .tag{display:none}

  .route-more .more-grid{grid-template-columns:1fr}
  .route-more .more-tool{min-height:78px}

  .route-enquiries .enquiry-panel{
    padding:20px 18px;
    border-radius:8px;
  }
  .route-enquiries .enquiry-card::before{left:-18px}

  .route-catalogue .stove-card{border-radius:9px}
}

/* Compact desktop rail keeps the same premium identity. */
@media(min-width:721px) and (max-width:1050px){
  .route-home .sidebar .brand,
  .route-diary .sidebar .brand,
  .route-more .sidebar .brand,
  .route-enquiries .sidebar .brand,
  .route-catalogue .sidebar .brand{
    padding-bottom:22px;
  }
}

/* Page-specific primary action: match the Diary pill without altering shared masthead. */
.route-enquiries .topbar .actions .btn.primary{
  border-radius:999px;
  min-height:44px;
  padding-inline:20px;
}
