@font-face {
  font-family: Geist;
  src: url("./geist-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Geist;
  src: url("./geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  font-family: Geist, system-ui, sans-serif;
  color: #18212e;
  background: #f4f6f8;
  font-size: 14px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  --red: #d91d20;
  --red-text: #ba2025;
  --deep-red: #7d1d1f;
  --red-pale: #fff3f3;
  --muted: #4c5968;
}

* { box-sizing: border-box; }
body, h1, h2, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }

.alert-strip {
  padding: 7px 8px;
  text-align: center;
  color: #fff;
  background: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .105em;
  line-height: 1.4;
  text-transform: uppercase;
}

.alert-symbol {
  color: #ffdb82;
  font-family: system-ui, sans-serif;
  font-size: 1.12em;
  line-height: 1;
}

.notice {
  display: grid;
  gap: 13px;
  width: min(calc(100% - 12px), 630px);
  margin: 16px auto;
  padding: 14px;
  background: #fff;
  border: 1px solid #e8eaec;
  border-radius: 9px;
  box-shadow: 0 2px 7px #18212e06;
}

.notice-header, .storage-heading, .deadline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.notice-header { min-height: 23px; }

.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #3b424a;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 550;
}

.brand-logo {
  display: block;
  width: auto;
  height: 24px;
  max-width: 52px;
  object-fit: contain;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  color: #fff;
  background: var(--red);
  border-radius: 99px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.storage {
  padding: 12px 11px;
  background: var(--red-pale);
  border: 1px solid #c44549;
  border-radius: 7px;
}

.storage-heading, .storage-caption, .deadline h2, .storage-stats dt {
  text-transform: uppercase;
  letter-spacing: .085em;
  font-weight: 800;
}

.storage-heading { color: var(--red-text); }
.storage-heading h2, .storage-heading strong, .storage-caption, .deadline h2 { font-size: 9px; line-height: 1.35; }

.percentage {
  margin-top: 7px;
  color: var(--red);
  font-size: 34px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.06em;
  line-height: 1;
}

.percentage span { font-size: .56em; margin-inline-start: .08em; }
.storage-caption { margin-top: 4px; color: var(--deep-red); }

.storage-meter {
  height: 8px;
  margin: 9px 0;
  border-radius: 99px;
  background: #efd0d0;
  overflow: hidden;
}

.storage-meter span {
  display: block;
  width: 99.8%;
  height: 100%;
  background: linear-gradient(90deg, #ff761b, #e21d21 46%, #801a20);
  border-radius: inherit;
}

.storage-stats {
  display: grid;
  grid-template-columns: 1fr 1fr .8fr;
  gap: 7px;
  text-align: center;
}

.storage-stats div {
  display: grid;
  place-content: center;
  gap: 2px;
  min-width: 0;
  padding: 5px 2px;
  border: 1px solid #f1dbdb;
  border-radius: 4px;
  background: #fff;
  color: var(--red-text);
}

.storage-stats dt { font-size: 8px; line-height: 1.2; }
.storage-stats dd { font-size: 12px; font-weight: 800; line-height: 1.2; }
.storage-stats .stat-critical { background: var(--deep-red); border-color: var(--deep-red); color: #fff; }
.stat-critical dt { color: #ffdddd; }
.stat-critical dd { text-transform: uppercase; }

.deadline {
  padding: 9px 11px;
  background: var(--deep-red);
  color: #fff;
  border-radius: 6px;
}

.deadline h2 { color: #ffe0db; }
.deadline p { margin-top: 2px; font-size: 20px; line-height: 1.05; font-weight: 800; letter-spacing: -.035em; text-transform: uppercase; }

.deadline-icon {
  display: grid;
  place-items: center;
  flex: 0 0 29px;
  height: 29px;
  border-radius: 50%;
  background: #d51f24;
}

.deadline-icon span {
  width: 11px;
  height: 15px;
  border-block: 2px solid #ffce72;
  background: #ffce72;
  background-clip: content-box;
  clip-path: polygon(0 0,100% 0,100% 16%,68% 49%,100% 84%,100% 100%,0 100%,0 84%,32% 49%,0 16%);
}

.message h1 {
  font-size: clamp(18px, 4.8vw, 27px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.message h1 span, .urgent { color: var(--red-text); }
.subtitle { margin-top: 5px; color: var(--muted); font-size: 13px; }

.message-body {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  color: #34414e;
  font-size: 13px;
}

#greeting { font-weight: 700; overflow-wrap: anywhere; }

.lock-notice, .loss-notice {
  padding: 10px 11px;
  border-radius: 6px;
}

.lock-notice {
  color: #79242b;
  background: var(--red-pale);
  border: 1px solid #f1d8d8;
}

.lock-notice h2, .loss-notice h2 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lock-notice h2 span {
  display: inline-grid;
  place-items: center;
  width: 12px;
  height: 12px;
  margin-inline-end: 3px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 8px;
  line-height: 1;
  vertical-align: 1px;
}

.lock-notice p, .loss-notice ul { margin-top: 4px; font-size: 12px; }
.loss-notice { background: #f7f8fa; border: 1px solid #e8ebee; }
.loss-notice ul { display: grid; gap: 4px; padding: 0; margin-bottom: 0; list-style: none; color: #34414e; }
.loss-notice li { display: grid; grid-template-columns: 11px minmax(0, 1fr); gap: 4px; }
.loss-notice li span { color: var(--red-text); font-size: 15px; font-weight: 800; line-height: 1.15; }

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-height: 48px;
  padding: 9px;
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
}

.button:hover { background: var(--red-text); }
.button:focus-visible { outline: 3px solid var(--deep-red); outline-offset: 3px; }
.button span { font-size: 16px; line-height: 1; }
.notice-footer p { margin-top: 6px; text-align: center; color: var(--deep-red); font-size: 10px; font-weight: 700; }

@media (min-width: 540px) {
  .notice { margin-block: 24px; padding: 22px; gap: 16px; }
  .alert-strip { font-size: 11px; }
  .storage, .deadline, .lock-notice, .loss-notice { padding-inline: 15px; }
  .percentage { font-size: 42px; }
  .message-body, .subtitle { font-size: 14px; }
  .lock-notice p, .loss-notice ul { font-size: 13px; }
}
