@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #142632;
  --muted: #5d6a70;
  --navy: #172e3a;
  --navy-deep: #10232d;
  --paper: #f5f4ef;
  --surface: #fff;
  --line: #dedfda;
  --accent: #d26543;
  --focus: #156684;
  --radius: 14px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: #245b70; text-underline-offset: 3px; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
button[hidden], [hidden] { display: none !important; }
button, input, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); }
h1 { font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.15; font-weight: 650; letter-spacing: -.055em; }
h2 { font-size: 1.15rem; line-height: 1.35; font-weight: 650; letter-spacing: -.015em; }
h3 { font-size: .98rem; line-height: 1.4; font-weight: 650; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .66rem; line-height: 1.6; font-weight: 750; }
.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; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 10; padding: 10px 14px; color: white; background: var(--navy); border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-name { font-size: 1.25rem; letter-spacing: -.045em; font-weight: 720; line-height: 1; }
.brand-symbol { position: relative; display: inline-block; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); flex-shrink: 0; transform: rotate(-15deg); }
.brand-symbol span { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff7ed; }
.brand-symbol span:nth-child(1) { left: 12px; top: 7px; }
.brand-symbol span:nth-child(2) { left: 19px; top: 10px; }
.brand-symbol span:nth-child(3) { left: 12px; top: 15px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 44px; padding: 11px 18px; border: 1px solid transparent; border-radius: 8px; font-size: .86rem; font-weight: 650; line-height: 1.25; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.button-primary { background: var(--navy); color: white; }
.button-primary:hover { background: #24485a; }
.button-light { background: #fffaf0; color: var(--navy); }
.button-light:hover { background: #ece4d6; }
.button-quiet { background: transparent; color: var(--ink); border-color: #cdd2d1; }
.button-quiet:hover { background: #edf0ed; }
.button-full { width: 100%; }
.text-link { font-size: .85rem; font-weight: 600; }
.auth-page { min-height: 100vh; min-height: 100svh; background: radial-gradient(ellipse at 15% 0%, #e7ebe5 0, transparent 46%), var(--paper); }
.auth-main { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 46px 20px 28px; }
.auth-intro { margin-bottom: 21px; color: var(--muted); }
.auth-card { width: 100%; max-width: 450px; padding: 35px 38px 29px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 17px; box-shadow: 0 18px 65px -32px #15313b4a; }
.auth-brand { margin-bottom: 34px; }
.auth-brand .brand-name { font-size: 1.5rem; }
.auth-brand .brand-symbol { width: 35px; height: 35px; }
.auth-heading { margin-bottom: 25px; }
.auth-heading .eyebrow { color: #977055; margin-bottom: 8px; }
.auth-heading h1 { font-size: 2.05rem; line-height: 1.2; margin-bottom: 10px; }
.auth-heading > p:last-child { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.auth-form { display: flex; flex-direction: column; gap: 19px; }
.field label { display: block; margin-bottom: 7px; font-weight: 650; font-size: .83rem; }
.field input { width: 100%; min-width: 0; height: 47px; border-radius: 7px; border: 1px solid #b9c3c6; background: #fff; color: var(--ink); padding: 10px 12px; font-size: 1rem; transition: border-color .15s; }
.field input:hover { border-color: #81959d; }
.field input:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field input[readonly] { background: #f3f5f3; color: #53636a; border-color: #d8dfdc; }
.field-hint { color: var(--muted); font-size: .76rem; line-height: 1.55; margin-top: 6px; }
.password-field { position: relative; }
.password-field input { padding-right: 65px; }
.password-toggle { position: absolute; right: 4px; top: 4px; min-width: 53px; min-height: 39px; padding: 6px 9px; font-size: .73rem; font-weight: 650; background: transparent; color: #4d616b; border: 0; border-radius: 4px; }
.password-toggle:hover { background: #edf1ee; }
.auth-form > .button { margin-top: 3px; min-height: 47px; }
.auth-note { display: flex; align-items: flex-start; gap: 9px; padding-top: 22px; margin-top: 25px; border-top: 1px solid #e7e9e5; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.lock-mark { font-size: .54rem; color: #738676; margin-top: 4px; }
.auth-footer { max-width: 370px; font-size: .73rem; text-align: center; color: var(--muted); line-height: 1.6; margin-top: 23px; }
.auth-back { display: block; text-align: center; margin-top: 18px; }
.message { padding: 13px 15px; border: 1px solid; border-radius: 8px; font-size: .83rem; line-height: 1.5; margin-bottom: 22px; overflow-wrap: anywhere; }
.message-label { display: block; font-weight: 700; margin-bottom: 4px; }
.message-error { color: #8c3029; background: #fcf0ec; border-color: #ebc6bb; }
.message-notice { color: #245845; background: #eaf4ee; border-color: #bdd7c8; }
.site-header { min-height: 85px; background: #fffefa; border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1360px; margin: 0 auto; min-height: 85px; padding: 16px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.owner-controls { display: flex; align-items: center; gap: 24px; }
.owner-identity { display: flex; flex-direction: column; text-align: right; gap: 2px; }
.owner-label { font-size: .64rem; font-weight: 700; text-transform: uppercase; color: #718078; letter-spacing: .11em; }
.owner-email { font-size: .81rem; font-weight: 550; overflow-wrap: anywhere; }
.workspace { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: 225px minmax(0,1fr); }
.main-nav { padding: 39px 22px 28px 48px; display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.nav-label { font-size: .64rem; line-height: 1.6; text-transform: uppercase; font-weight: 750; letter-spacing: .11em; color: #7b817c; margin-bottom: 13px; }
.nav-link { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #5d6b70; padding: 11px 12px; margin-left: -12px; border-radius: 7px; font-size: .87rem; font-weight: 600; border: 1px solid transparent; }
.nav-link:hover { background: #e9ece6; color: var(--ink); }
.nav-link.is-current { background: #e5ebe5; color: #244c3a; border-color: #d7e1d6; }
.nav-icon { width: 17px; text-align: center; font-size: 1.14rem; line-height: 1; }
.nav-caption { margin-top: 45px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .66rem; color: #718078; line-height: 1.7; }
.nav-caption span { display: block; color: #7a8484; }
.main-content { padding: 36px 48px 24px 29px; min-width: 0; }
.page-heading { margin-bottom: 27px; }
.page-heading .eyebrow { color: #977055; margin-bottom: 9px; }
.page-heading > p:last-child { color: var(--muted); font-size: .88rem; margin-top: 10px; line-height: 1.65; }
.overview-hero { display: grid; grid-template-columns: minmax(0,1.9fr) minmax(0,1fr); gap: 40px; align-items: center; border-radius: var(--radius); padding: 34px 35px; background: linear-gradient(115deg, var(--navy), var(--navy-deep)); color: #dae3df; position: relative; overflow: hidden; }
.overview-hero::before { content: ''; position: absolute; left: 0; top: 34px; height: 40px; width: 4px; background: #e99570; }
.overview-hero .eyebrow { color: #e9a887; margin-bottom: 13px; }
.overview-hero h2 { color: #fffcf4; font-size: clamp(1.65rem, 3.1vw, 2.3rem); line-height: 1.13; letter-spacing: -.045em; font-weight: 600; margin-bottom: 17px; }
.overview-hero p:not(.eyebrow) { font-size: .87rem; line-height: 1.7; max-width: 355px; }
.overview-hero .button { margin-top: 24px; font-size: .8rem; }
.hero-scope { border-left: 1px solid #ffffff24; padding: 18px 0 18px 28px; }
.hero-scope-label { display: block; color: #b6c7cb; font-size: .63rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; margin-bottom: 12px; }
.hero-scope p { color: #fffaf0; font-size: 1.15rem !important; font-weight: 600; margin-bottom: 9px; }
.hero-scope > span:last-child { display: block; color: #b9c8cb; font-size: .78rem; line-height: 1.7; }
.section { margin-top: 31px; }
.section-first { margin-top: 24px; }
.section-heading { margin-bottom: 14px; }
.section-heading p { color: var(--muted); font-size: .79rem; margin-top: 5px; line-height: 1.6; }
.card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.status-card { padding: 21px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 15px; }
.status-card p { color: var(--muted); font-size: .81rem; line-height: 1.7; overflow-wrap: anywhere; }
.status-chip { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; border: 1px solid; border-radius: 5px; font-size: .62rem; font-weight: 700; padding: 4px 7px; line-height: 1.2; white-space: nowrap; }
.status-chip > span { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.status-complete { color: #2d6548; background: #eef5ed; border-color: #cfdfca; }
.status-incomplete { color: #59666b; background: #f0f2ef; border-color: #d9dfd9; }
.status-repair { color: #973b2e; background: #fbede7; border-color: #ecc8bb; }
.status-unknown { color: #835c24; background: #faf3e3; border-color: #e8d7b6; }
.feature-list { border: 1px solid var(--line); border-radius: 11px; background: #fafbf7; overflow: hidden; }
.feature-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 20px 22px; }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row p { color: var(--muted); font-size: .81rem; line-height: 1.7; margin-top: 5px; }
.checked-at { display: flex; align-items: flex-start; gap: 9px; padding: 12px 15px; border: 1px solid #dce3da; background: #edf1e9; border-radius: 8px; color: #52685a; font-size: .73rem; line-height: 1.65; }
.check-icon { font-size: .95rem; line-height: 1.3; }
.backup-summary { background: #fffefa; border: 1px solid var(--line); border-radius: 11px 11px 0 0; padding: 22px; }
.backup-summary dl { margin: 0; display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr) minmax(0,1fr); gap: 22px; }
.backup-summary dt { text-transform: uppercase; letter-spacing: .08em; font-size: .62rem; font-weight: 750; color: #748179; margin-bottom: 7px; }
.backup-summary dd { font-size: .79rem; line-height: 1.7; margin: 0; overflow-wrap: anywhere; }
.backup-stages { background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 11px 11px; overflow: hidden; }
.backup-stage { padding: 20px 22px; }
.backup-stage + .backup-stage { border-top: 1px solid #e7e9e3; }
.stage-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 7px; }
.backup-stage > p { color: var(--muted); font-size: .8rem; line-height: 1.7; overflow-wrap: anywhere; }
.backup-stage p.stage-time { font-size: .7rem; margin-top: 7px; color: #677c6e; }
.info-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 14px; color: var(--muted); font-size: .75rem; line-height: 1.65; }
.info-symbol { display: inline-flex; align-items: center; justify-content: center; font-size: .65rem; border: 1px solid #9eaba6; border-radius: 50%; width: 15px; height: 15px; margin-top: 2px; flex-shrink: 0; }
.scope-note { border-left: 3px solid #c0ccbd; padding: 3px 0 3px 16px; }
.scope-note p { color: var(--muted); font-size: .81rem; line-height: 1.7; }
.page-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: .64rem; color: #718078; margin-top: 34px; padding-top: 18px; }

@media (min-width: 1450px) {
  .main-content { padding-top: 46px; }
  .main-nav { padding-top: 49px; }
}
@media (max-width: 1090px) {
  .header-inner { padding-inline: 30px; }
  .workspace { grid-template-columns: 180px minmax(0,1fr); }
  .main-nav { padding-left: 30px; }
  .main-content { padding-right: 30px; padding-left: 14px; }
  .overview-hero { gap: 24px; padding: 30px 26px; }
  .hero-scope { padding-left: 22px; }
  .backup-summary dl { grid-template-columns: 1fr 1fr; }
  .backup-summary dl > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .header-inner { padding: 16px 23px; min-height: 78px; }
  .site-header { min-height: 78px; }
  .owner-controls { gap: 15px; }
  .owner-email { font-size: .72rem; }
  .owner-label { font-size: .59rem; }
  .button-quiet { padding-inline: 12px; font-size: .77rem; }
  .workspace { display: block; }
  .main-nav { padding: 11px 23px; flex-direction: row; gap: 9px; border-bottom: 1px solid var(--line); background: #fffefa; }
  .nav-label, .nav-caption { display: none; }
  .nav-link { margin: 0; padding: 9px 14px; font-size: .8rem; }
  .nav-icon { font-size: 1rem; }
  .main-content { padding: 27px 23px 22px; }
  .page-heading { margin-bottom: 23px; }
  .overview-hero { padding: 30px; }
  .overview-hero h2 { font-size: 2rem; }
  .overview-hero p:not(.eyebrow) { font-size: .81rem; }
  .card-grid { gap: 12px; }
  .status-card { padding: 18px; }
  .status-chip { font-size: .64rem; }
}
@media (max-width: 520px) {
  .auth-main { padding: 29px 16px 24px; }
  .auth-card { padding: 29px 25px 26px; }
  .auth-heading h1 { font-size: 1.85rem; }
  .auth-brand { margin-bottom: 28px; }
  .header-inner { padding: 15px 18px; gap: 12px; align-items: flex-start; }
  .site-header .brand { gap: 8px; padding-top: 8px; }
  .site-header .brand-name { font-size: 1.12rem; }
  .site-header .brand-symbol { width: 28px; height: 28px; }
  .owner-controls { flex-direction: column; align-items: flex-end; gap: 8px; }
  .owner-identity { gap: 0; }
  .owner-label { display: none; }
  .owner-email { font-size: .66rem; }
  .owner-controls .button { min-height: 35px; padding: 7px 12px; font-size: .72rem; }
  .main-nav { padding: 10px 18px; }
  .main-content { padding: 25px 18px 22px; }
  .page-heading > p:last-child { font-size: .82rem; }
  .overview-hero { grid-template-columns: 1fr; gap: 25px; padding: 28px 25px; }
  .overview-hero h2 { font-size: 1.9rem; }
  .hero-scope { border-left: 0; border-top: 1px solid #ffffff24; padding: 20px 0 0; }
  .hero-scope-label { margin-bottom: 6px; }
  .hero-scope p { font-size: 1rem !important; margin-bottom: 4px; }
  .hero-scope > span:last-child { font-size: .74rem; }
  .card-grid { grid-template-columns: 1fr; }
  .card-top { margin-bottom: 10px; }
  .feature-row { padding: 18px; flex-direction: column; gap: 11px; }
  .feature-row .status-chip { align-self: flex-start; }
  .section { margin-top: 26px; }
  .backup-summary { padding: 19px; }
  .backup-summary dl { gap: 17px; }
  .backup-stage { padding: 19px; }
  .stage-header { gap: 9px; }
  .page-footer { font-size: .6rem; margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; scroll-behavior: auto !important; }
}
