:root {
  --background: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #f7f7f9;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #8e8e93;
  --line: rgba(60, 60, 67, 0.16);
  --line-strong: rgba(60, 60, 67, 0.24);
  --focus: #0071e3;
  --brand: #718260;
  --brand-soft: #edf1e9;
  --danger: #a63f3a;
  --danger-bg: #fff7f6;
  --danger-line: rgba(166, 63, 58, 0.18);
  --warning: #8a6416;
  --warning-bg: #fffaf0;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.05);
  --radius: 20px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
}

button, input, select { font: inherit; }

/* Header */
.appbar {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: env(safe-area-inset-top) 0 0;
  color: var(--text);
  background: rgba(248, 248, 250, 0.82);
  border-bottom: 1px solid rgba(60, 60, 67, 0.08);
  -webkit-backdrop-filter: saturate(190%) blur(24px);
  backdrop-filter: saturate(190%) blur(24px);
}
.appbar__inner {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 600px;
  margin: 0 auto;
  padding: 11px 24px 10px;
}
.appbar__logo {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(79, 111, 39, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
}
.appbar__wordmark {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}
.appbar__title {
  margin: 0;
  font-size: 19px;
  font-weight: 730;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.appbar__tagline { color: var(--text-secondary); font-size: 11px; font-weight: 560; line-height: 1.25; letter-spacing: 0.025em; }

/* Layout */
.container { max-width: 600px; margin: 0 auto; padding: 22px 22px 10px; }

/* Overdue notice: displayed only after the due date */
.alert-banner {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 13px 15px;
  color: var(--danger);
  background: var(--danger-bg);
  border: 1px solid var(--danger-line);
  border-radius: 14px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.alert-banner[hidden] { display: none; }
.alert-banner:active { transform: scale(0.995); opacity: 0.8; }
.alert-banner .alert-banner__sub {
  display: block;
  margin-top: 3px;
  color: #8a6663;
  font-size: 14px;
  font-weight: 400;
}

/* Main checker */
.checker {
  margin-bottom: 24px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid rgba(60, 60, 67, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.favorites-panel {
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}
.favorites-panel[hidden] { display: none; }
.favorites-panel__label {
  margin-bottom: 9px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}
.favorite-shortcuts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.favorite-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
}
.favorite-chip:active { opacity: 0.7; }
.favorite-chip__star {
  flex: 0 0 auto;
  color: #8a731e;
  font-size: 15px;
}
.favorite-chip__text { min-width: 0; }
.favorite-chip__office {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.favorite-chip__meta {
  display: block;
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.checker__inputs { display: flex; flex-direction: column; gap: 15px; }

.field { display: block; }
.type-field,
.method-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  color: var(--text-secondary);
  background: #ededf0;
  font-size: 12px;
  font-weight: 650;
}
.type-switch,
.method-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  background: #ededf0;
  border-radius: 11px;
}
.type-switch label,
.method-switch label { position: relative; cursor: pointer; }
.type-switch input,
.method-switch input { position: absolute; opacity: 0; pointer-events: none; }
.type-switch span,
.method-switch span {
  display: block;
  padding: 9px 7px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 550;
  text-align: center;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.type-switch input:checked + span,
.method-switch input:checked + span {
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.type-switch input:focus-visible + span,
.method-switch input:focus-visible + span { outline: 3px solid rgba(0, 113, 227, 0.22); }

.field select,
.field input {
  width: 100%;
  padding: 12px 13px;
  color: var(--text);
  background-color: var(--surface-soft);
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  appearance: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.field select {
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2.2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field select:focus,
.field input:focus,
.save-row input:focus {
  outline: none;
  background-color: var(--surface);
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}
.date-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  background: var(--surface-soft);
  border: 1px solid transparent;
  border-radius: 14px;
  overflow: hidden;
}
.date-input-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.date-input-trigger:active { transform: scale(0.995); background: rgba(60, 60, 67, 0.035); }

.date-input-display {
  color: var(--text);
  font-size: 18px;
  font-weight: 450;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.date-input-calendar { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.date-input-native {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.date-input-wrap:focus-within {
  background: var(--surface);
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}
.favorite-toggle {
  display: block;
  width: 100%;
  min-height: 42px;
  margin: 8px 0 0;
  padding: 9px 12px;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.favorite-toggle.is-active {
  color: #75631d;
  background: #fffaf0;
  border-color: rgba(117, 99, 29, 0.22);
}
.favorite-toggle:disabled { color: var(--text-tertiary); cursor: default; opacity: 0.55; }

/* Date result */
.result {
  margin: 18px 0;
  padding: 22px 16px 20px;
  background: var(--surface-soft);
  border: 1px solid transparent;
  border-radius: 16px;
  text-align: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.result__caption {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.result__date {
  margin: 5px 0 3px;
  color: var(--text);
  font-size: 36px;
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.result__hint { color: var(--text-secondary); font-size: 14px; }
.result__calendar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  margin-top: 14px;
  padding: 11px 14px;
  color: #365625;
  background: rgba(158, 202, 69, 0.14);
  border: 1px solid rgba(103, 138, 54, 0.24);
  border-radius: 12px;
  cursor: pointer;
  transition: transform 100ms ease-out, background 150ms ease-out;
}
.result__calendar[hidden] { display: none; }
.result__calendar strong { font-size: 14px; font-weight: 700; }
.result__calendar span { color: var(--text-secondary); font-size: 12px; font-weight: 500; }
.result__calendar:active { transform: scale(0.985); background: rgba(158, 202, 69, 0.22); }
.result__calendar:focus-visible { outline: 3px solid rgba(103, 138, 54, 0.24); outline-offset: 2px; }

.result--empty { background: #f8f8fa; }
.result--empty .result__date { color: #c7c7cc; font-size: 28px; letter-spacing: 0.12em; }
.result--ok,
.result--due { background: var(--surface-soft); }
.result--over {
  background: var(--danger-bg);
  border-color: var(--danger-line);
}
.result--over .result__date { color: var(--danger); }
.result--over .result__hint { color: #8a6663; }
.result--warn { background: var(--warning-bg); }
.result--warn .result__date { color: var(--warning); font-size: 22px; letter-spacing: 0; }
.result--warn .result__caption { color: #8a7347; }
.notice {
  margin: -6px 0 14px;
  padding: 10px 11px;
  color: var(--text-secondary);
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
}
.integrity-status {
  margin: -5px 0 15px;
  padding: 8px 10px;
  color: var(--text-secondary);
  background: var(--surface-soft);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.45;
}
.integrity-status--ok { color: #4d5f3d; background: #f1f6ec; }
.integrity-status--warn { color: var(--warning); background: var(--warning-bg); }
.integrity-status--error { color: var(--danger); background: var(--danger-bg); }

/* Save */
.save-row { display: flex; gap: 8px; }
.save-row input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
}
.btn {
  padding: 11px 17px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.08s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn--primary { color: #fff; background: var(--text); }
.btn--primary:disabled { color: #a1a1a6; background: #e5e5e7; cursor: default; }
.save-message {
  margin: 7px 2px 0;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.45;
}
.save-message--warn { color: var(--warning); }

/* Saved cases */
.list-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 2px 11px; }
.list-head__title { margin: 0; color: var(--text); font-size: 15px; font-weight: 650; letter-spacing: 0; }
.toggle { display: flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 14px; }
.toggle input { accent-color: var(--text); }
.list-tools {
  margin: 0 0 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid rgba(60, 60, 67, 0.08);
  border-radius: 15px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.025);
}
.case-search,
.list-filter-grid select {
  width: 100%;
  min-width: 0;
  padding: 10px 11px;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  appearance: none;
}
.case-search:focus,
.list-filter-grid select:focus {
  outline: none;
  background-color: var(--surface);
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}
.list-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.list-filter-grid .mini { min-height: 39px; }

.list { display: flex; flex-direction: column; gap: 10px; }
.list-group {
  margin: 8px 2px 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
}
.item {
  padding: 15px;
  background: var(--surface);
  border: 1px solid rgba(60, 60, 67, 0.08);
  border-radius: 17px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.025);
}
.item--due { background: var(--surface); }
.item--over { background: var(--danger-bg); border-color: var(--danger-line); }
.item--unknown { background: #fffdf8; }
.item--draft { background: #fbfff2; border-color: rgba(158, 202, 69, 0.34); }
.item--done { opacity: 0.52; }
.item__top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.item__label {
  flex: 1;
  min-width: 0;
  padding: 3px 5px;
  margin: -3px -5px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 650;
  text-align: left;
  word-break: break-all;
  cursor: pointer;
  transition: background 100ms ease-out, transform 100ms ease-out;
}
.item__label:active { background: rgba(60, 60, 67, 0.08); transform: scale(0.985); }
.item__label:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.22); }
.badge {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.badge--wait { color: var(--text-secondary); background: #efeff1; }
.badge--due { color: #53687c; background: #eef3f7; }
.badge--over { color: var(--danger); background: #f8e9e7; }
.badge--unknown { color: var(--warning); background: #f8f0dc; }
.badge--draft { color: #5f7f1f; background: #edf6d8; }
.badge--done { color: var(--text-tertiary); background: #efeff1; }
.item__office,
.item__row { color: var(--text-secondary); font-size: 14px; }
.item__due { margin-top: 3px; color: var(--text-secondary); font-size: 14px; }
.item__due b { color: var(--text); font-size: 15px; font-weight: 600; }
.item__source { margin-left: 6px; color: var(--text-tertiary); font-size: 12px; font-weight: 500; }
.item__latest {
  margin-top: 4px;
  padding: 7px 9px;
  color: var(--text-secondary);
  background: var(--surface-soft);
  border-radius: 9px;
  font-size: 14px;
}
.item__latest b { color: var(--text); font-weight: 600; }
.item__latest-note { margin-left: 5px; color: var(--text-tertiary); font-size: 14px; }
.item__snapshot { margin-top: 3px; color: var(--text-tertiary); font-size: 12px; }
.item--draft .item__due b { color: #4f6f1c; }
.item--over .item__due b { color: var(--danger); }
.item__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.mini {
  padding: 6px 11px;
  color: var(--text-secondary);
  background: #f3f3f5;
  border: 0;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
}
.mini--done { color: #3d5f76; }
.mini--copy { color: #4d5f3d; }
.mini--calendar { color: #6c5a20; }
.mini--undo { color: var(--text-secondary); }
.mini--del { margin-left: auto; color: #9b5a56; background: transparent; }
.empty { padding: 25px 16px; color: var(--text-tertiary); text-align: center; font-size: 14px; }

/* Footer */
.mini--report { color: #315f48; background: #edf6f0; }
.footer {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px 22px calc(30px + env(safe-area-inset-bottom));
  color: var(--text-tertiary);
  font-size: 14px;
}
.footer p { margin: 4px 0; }
.footer__note { line-height: 1.55; }
.footer__links a { color: var(--text-secondary); text-underline-offset: 3px; }

/* Privacy page */
.privacy-page { padding-top: 24px; }
.privacy-card,
.privacy-section {
  margin-bottom: 16px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid rgba(60, 60, 67, 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.privacy-page__eyebrow {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}
.privacy-page__title {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.35;
}
.privacy-page__lead,
.privacy-page__updated,
.privacy-section p,
.privacy-section li {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}
.privacy-page__lead,
.privacy-page__updated,
.privacy-section p { margin: 0 0 10px; }
.privacy-page__updated { font-size: 14px; }
.privacy-section h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}
.privacy-section ul { margin: 0 0 10px; padding-left: 1.4em; }
.privacy-section a,
.privacy-page__back a {
  color: var(--brand);
  font-weight: 650;
  text-underline-offset: 3px;
}
.privacy-page__back {
  margin: 20px 0 0;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 390px) {
  .container { padding-inline: 16px; }
  .checker { padding: 15px; }
  .result__date { font-size: 32px; }
  .save-row { flex-direction: column; }
  .btn { width: 100%; }
  .list-filter-grid { grid-template-columns: 1fr; }
}

/* Storage mode / office sharing */
.storage-panel {
  margin: 0 0 18px;
  padding: 15px;
  background: var(--surface);
  border: 1px solid rgba(60, 60, 67, 0.08);
  border-radius: 17px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.025);
}
.storage-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.storage-panel__title { margin: 0; color: var(--text); font-size: 14px; font-weight: 650; letter-spacing: 0; }
.storage-panel__status { margin: 3px 0 0; color: var(--text-secondary); font-size: 14px; line-height: 1.45; }
.storage-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 12px;
  padding: 3px;
  background: #ededf0;
  border-radius: 11px;
}
.storage-tab {
  padding: 9px 7px;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.storage-tab.is-active {
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.storage-tab:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.22); }
.shared-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 12px;
}
.shared-login[hidden],
.shared-session[hidden],
.shared-message[hidden] { display: none; }
.shared-login input,
.shared-office-field select {
  min-width: 0;
  padding: 10px 11px;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
}
.shared-login input:focus,
.shared-office-field select:focus {
  outline: none;
  background-color: var(--surface);
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}
.shared-session { display: flex; align-items: end; gap: 10px; margin-top: 12px; }
.shared-office-field { flex: 1; min-width: 0; color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.shared-office-field span { display: block; margin-bottom: 5px; }
.shared-office-field select { width: 100%; }
.shared-session__actions { display: flex; gap: 7px; padding-bottom: 1px; }
.shared-message {
  margin: 11px 0 0;
  padding: 10px 11px;
  color: var(--warning);
  background: var(--warning-bg);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

/* Application report sheet */
.report-sheet {
  width: min(520px, calc(100% - 28px));
  margin: auto auto max(14px, env(safe-area-inset-bottom));
  padding: 10px 16px 16px;
  color: var(--text);
  background: rgba(250, 250, 252, 0.9);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}
.report-sheet[open] { animation: sheet-in 320ms cubic-bezier(0.22, 1, 0.36, 1); }
.report-sheet::backdrop { background: rgba(18, 18, 20, 0.28); backdrop-filter: blur(3px); }
.report-sheet__handle { width: 36px; height: 5px; margin: 0 auto 12px; background: rgba(60, 60, 67, 0.25); border-radius: 999px; }
.report-sheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.report-sheet__eyebrow { margin: 0 0 3px; color: var(--text-secondary); font-size: 12px; font-weight: 650; letter-spacing: 0.04em; }
.report-sheet__title { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; }
.report-sheet__close { width: 32px; height: 32px; padding: 0; color: var(--text-secondary); background: rgba(118, 118, 128, 0.12); border: 0; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.report-sheet__close:active { transform: scale(0.92); }
.report-sheet__text { box-sizing: border-box; width: 100%; min-height: 160px; margin: 16px 0 12px; padding: 14px; resize: vertical; color: var(--text); background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(60, 60, 67, 0.1); border-radius: 15px; font: inherit; font-size: 15px; line-height: 1.7; }
.report-sheet__copy { width: 100%; }
.calendar-sheet__summary {
  margin: 14px 0 12px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}
.calendar-sheet__field {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 650;
}
.calendar-sheet__field input {
  box-sizing: border-box;
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(60, 60, 67, 0.12);
  border-radius: 14px;
  font: inherit;
  font-size: 17px;
}
.calendar-sheet__note {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
}
.calendar-sheet__title-preview {
  margin: 0 0 12px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(158, 202, 69, 0.11);
  border: 1px solid rgba(103, 138, 54, 0.18);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .report-sheet[open] { animation: none; }
  .item__label, .btn, .mini { transition: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .report-sheet { background: #fafafc; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (max-width: 430px) {
  .shared-login { grid-template-columns: 1fr; }
  .shared-login .btn { width: 100%; }
  .shared-session { align-items: stretch; flex-direction: column; }
  .shared-session__actions { justify-content: flex-end; }
}
