:root {
  color-scheme: light dark;
  --paper: #f2efe8;
  --paper-deep: #e9e5dc;
  --paper-light: #f8f6f0;
  --ink: #2d302d;
  --ink-soft: #696962;
  --line: rgba(45, 48, 45, 0.16);
  --accent: #a8473c;
  --accent-dark: #7f342d;
  --forest: #3c4941;
  --shadow: rgba(45, 39, 32, 0.12);
  --on-accent: #f8f6f0;
  --surface-translucent: rgba(244, 237, 222, 0.92);
  --surface-soft: rgba(244, 237, 222, 0.62);
  --accent-wash: rgba(168, 71, 60, 0.075);
  --accent-wash-soft: rgba(168, 71, 60, 0.035);
  --focus-ring: rgba(155, 63, 53, 0.32);
  --modal-border: rgba(55, 68, 60, 0.3);
  --body-glow: rgba(255, 255, 255, 0.72);
  --noise-blend: multiply;
  --radius: 10px;
  --display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --body: "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--paper); }

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(circle at 50% -12%, var(--body-glow), transparent 40%),
    linear-gradient(180deg, var(--paper-light), var(--paper));
}

button { font: inherit; }

button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.paper-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .065;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E");
  mix-blend-mode: var(--noise-blend);
}

.auth-gate {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.auth-panel {
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.auth-intro {
  padding: 54px 58px 54px 8px;
  border-right: 1px solid var(--line);
}

.auth-postmark {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 50%;
  color: var(--on-accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 5px var(--accent), inset 0 0 0 6px rgba(248,246,240,.55);
  font-family: var(--display);
  font-size: 31px;
  transform: rotate(-5deg);
}

.auth-brand {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: .18em;
}

.auth-intro h1 {
  max-width: 7em;
  font-size: clamp(38px, 6vw, 58px);
}

.auth-intro > p:last-child {
  margin: 20px 0 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.auth-form {
  align-self: center;
  padding: 54px 8px 54px 58px;
}

.form-field {
  display: grid;
  gap: 10px;
}

.form-field label {
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
}

.form-field input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper-light);
  font: inherit;
  font-size: 22px;
  letter-spacing: .18em;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.form-field input:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.field-help,
.field-error {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.field-help { color: var(--ink-soft); }
.field-error { color: var(--accent-dark); font-weight: 650; }
.auth-submit { width: 100%; margin-top: 24px; }

.site-header {
  width: min(1180px, calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.wordmark,
.identity-button,
.nav-item,
.modal-close {
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.wordmark {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  text-align: left;
}

.wordmark-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 50%;
  font-family: var(--display);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.28);
}

.wordmark strong { display: block; font-family: var(--display); font-size: 18px; letter-spacing: .08em; }
.wordmark small { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 11px; }

.primary-nav { display: flex; align-items: stretch; height: 100%; gap: 28px; }
.nav-item { position: relative; padding: 0 3px; color: var(--ink-soft); }
.nav-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .22s ease; }
.nav-item.is-active { color: var(--ink); }
.nav-item.is-active::after { transform: scaleX(1); }

.identity-button { justify-self: end; padding: 8px 0; color: var(--ink-soft); font-size: 13px; }
.identity-button strong { margin-left: 5px; color: var(--ink); font-size: 15px; }

main { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.view { min-height: calc(100dvh - 76px); padding: 64px 0 80px; }

.date-block { max-width: 650px; margin-bottom: 42px; }
.date-weekday { margin: 0 0 12px; color: var(--accent); font-family: var(--display); font-size: 14px; letter-spacing: .18em; }
h1, h2, p { text-wrap: pretty; }
h1 { margin: 0; font-family: var(--display); font-size: clamp(40px, 7vw, 68px); font-weight: 500; line-height: 1.12; letter-spacing: .03em; }
.date-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; }
.date-full { margin: 0; color: var(--ink-soft); font-family: var(--display); font-size: 15px; letter-spacing: .08em; }
.date-observance { margin: 0; padding-left: 18px; border-left: 1px solid var(--line); color: var(--accent); font-family: var(--display); font-size: 13px; letter-spacing: .08em; }

.choice-layout { width: min(820px, 100%); }
.section-heading { margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 600; }
.section-heading p { margin: 8px 0 0; color: var(--ink-soft); font-size: 14px; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.choice-card {
  position: relative;
  min-height: 100px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 17px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.choice-card:hover { color: var(--accent-dark); background: var(--accent-wash-soft); }
.choice-card:active { transform: scale(.985); }
.choice-card[aria-pressed="true"] { color: var(--accent-dark); background: var(--accent-wash); box-shadow: inset 3px 0 0 var(--accent); }
.seal-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--accent); font-family: var(--display); font-size: 18px; }
.choice-copy strong { display: block; }
.choice-copy strong { font-family: var(--display); font-size: 18px; }
.choice-check { width: 24px; display: grid; place-items: center; color: transparent; font-family: var(--display); font-size: 13px; }
.choice-card[aria-pressed="true"] .choice-check { color: var(--accent); }

.primary-button,
.secondary-button,
.text-button {
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}
.primary-button:active, .secondary-button:active, .text-button:active { transform: scale(.98); }
.primary-button { min-height: 50px; padding: 0 26px; border: 1px solid var(--accent); color: var(--on-accent); background: var(--accent); font-weight: 600; letter-spacing: .04em; }
.primary-button:hover:not(:disabled) { background: var(--accent-dark); }
.primary-button:disabled { cursor: not-allowed; opacity: .38; }
.choice-main > .primary-button { width: 100%; margin-top: 18px; }
.secondary-button { min-height: 44px; padding: 0 20px; border: 1px solid var(--accent); color: var(--accent-dark); background: transparent; font-weight: 650; }
.secondary-button:hover { background: rgba(155,63,53,.08); }
.text-button { padding: 8px 2px; border: 0; border-bottom: 1px solid currentColor; color: var(--accent-dark); background: transparent; border-radius: 0; }

.meeting-panel { display: grid; grid-template-columns: 82px 1fr auto; align-items: center; gap: 22px; margin-top: 38px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meeting-stamp { width: 82px; height: 54px; display: grid; place-items: center; color: var(--on-accent); font-family: var(--display); font-size: 17px; letter-spacing: 16px; padding-left: 16px; transform: rotate(-4deg); }
.meeting-emblem { position: relative; isolation: isolate; }
.meeting-emblem::before,
.meeting-emblem::after { content: ""; position: absolute; top: 2px; width: 50px; height: 50px; border-radius: 50%; background: var(--accent); z-index: -1; }
.meeting-emblem::before { left: 1px; }
.meeting-emblem::after { right: 1px; }
.meeting-panel h2 { margin: 0; font-family: var(--display); font-size: 24px; }
.meeting-panel p { margin: 7px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }

.partner-status { margin-top: 34px; display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 13px; }
.status-symbol { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--forest); font-family: var(--display); }
.status-symbol.is-thinking { width: auto; min-width: 70px; padding: 0 10px; border-color: rgba(168,71,60,.34); border-radius: 2px; color: var(--accent); letter-spacing: .12em; }
.status-symbol.is-partner-done {
  width: 94px;
  height: 44px;
  flex: 0 0 94px;
  border: 0;
  border-radius: 0;
  color: var(--accent-dark);
  background: url("assets/begonia-waiting-frame.png") center / 100% 100% no-repeat;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  padding-left: .14em;
  white-space: nowrap;
}

.waiting-state, .result-state { max-width: 620px; text-align: center; margin: 28px auto 0; }
.waiting-state h2 { margin: 10px 0 8px; font-family: var(--display); font-size: clamp(27px, 5vw, 38px); font-weight: 500; }
.waiting-state > p:not(.state-kicker) { margin: 0 auto 22px; color: var(--ink-soft); font-size: 14px; }
.state-kicker { margin: 26px 0 0; color: var(--accent); font-family: var(--display); letter-spacing: .12em; }
.waiting-mark { width: 118px; height: 54px; display: grid; place-items: center; margin: 0 auto; border: 1px solid var(--accent); border-radius: 2px; color: var(--accent); font-family: var(--display); font-size: 20px; letter-spacing: .16em; padding-left: .16em; transform: rotate(-2deg); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px rgba(168,71,60,.3); }

.result-envelope { position: relative; padding: 44px 20px 36px; border: 0; background: transparent; overflow: hidden; }
.result-envelope::before { display: none; }
.result-envelope > p:first-child { margin: 0 0 20px; color: var(--accent); font-family: var(--display); letter-spacing: .16em; }
.result-seal { width: 82px; height: 82px; display: grid; place-items: center; margin: 0 auto 20px; border: 2px solid var(--accent); border-radius: 50%; color: var(--accent); font-family: var(--display); font-size: 32px; transform: rotate(-5deg); }
.result-seal.is-meeting { position: relative; isolation: isolate; width: 128px; border: 0; border-radius: 0; padding-left: 22px; color: var(--on-accent); font-size: 25px; letter-spacing: 22px; transform: rotate(-4deg); }
.result-seal.is-meeting::before,
.result-seal.is-meeting::after { content: ""; position: absolute; top: 1px; width: 78px; height: 78px; border-radius: 50%; background: var(--accent); z-index: -1; }
.result-seal.is-meeting::before { left: 0; }
.result-seal.is-meeting::after { right: 0; }
.result-envelope h2 { margin: 0; font-family: var(--display); font-size: 42px; font-weight: 500; }
.result-envelope p:not(:first-child) { margin: 12px auto 26px; color: var(--ink-soft); }
.result-envelope small { color: var(--ink-soft); }
.result-withdraw { display: block; margin: 22px auto 0; font-size: 13px; }

.history-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.history-heading h1 { font-size: clamp(38px, 6vw, 60px); }
.month-controls { display: grid; grid-template-columns: auto minmax(112px, auto) auto; align-items: center; gap: 14px; }
.month-controls button { width: 38px; height: 38px; padding: 0; border: 0; color: var(--ink-soft); background: transparent; font-family: var(--display); font-size: 28px; cursor: pointer; }
.month-controls strong { font-family: var(--display); text-align: center; }
.calendar-shell { padding: 0; border: 0; background: transparent; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-weekdays { margin-bottom: 10px; color: var(--ink-soft); font-family: var(--display); font-size: 13px; text-align: center; }
.calendar-grid { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.calendar-day { position: relative; min-height: 98px; padding: 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calendar-day.is-empty { background: rgba(55,68,60,.025); }
.calendar-day.is-today .day-number { color: var(--on-accent); background: var(--accent); }
.day-number { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; }
.day-result { width: 38px; height: 38px; display: grid; place-items: center; margin: 5px auto 0; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-family: var(--display); font-size: 15px; transform: rotate(-4deg); }
.day-result.is-meeting { position: relative; width: 46px; border: 0; border-radius: 0; color: var(--on-accent); font-size: 13px; }
.day-result.is-meeting::before,
.day-result.is-meeting::after { content: ""; position: absolute; top: 3px; width: 31px; height: 31px; border-radius: 50%; background: var(--accent); }
.day-result.is-meeting::before { left: 1px; }
.day-result.is-meeting::after { right: 1px; }
.day-result.is-meeting { z-index: 0; }
.day-result.is-meeting::before,
.day-result.is-meeting::after { z-index: -1; }
.calendar-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 20px; color: var(--ink-soft); font-size: 12px; }
.calendar-legend span { display: flex; align-items: center; gap: 7px; }
.calendar-legend i { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-family: var(--display); font-style: normal; }

.loading-state { max-width: 600px; padding-top: 18px; }
.loading-line { width: 62%; height: 76px; margin-bottom: 12px; border-radius: var(--radius); background: rgba(55,68,60,.08); }
.loading-line-long { width: 100%; }
.notice { max-width: 560px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft); }
.notice strong { font-family: var(--display); font-size: 20px; }
.notice p { color: var(--ink-soft); }

.modal { width: min(520px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--radius); color: var(--ink); background: transparent; box-shadow: 0 35px 100px rgba(34,27,21,.32); }
.identity-modal { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; border-radius: 0; background: var(--paper-light); box-shadow: none; }
.identity-modal[open] { display: grid; place-items: center; }
.identity-modal.is-switcher { width: min(520px, calc(100% - 32px)); height: auto; max-height: calc(100dvh - 32px); margin: auto; border-radius: var(--radius); background: transparent; box-shadow: 0 35px 100px rgba(34,27,21,.28); }
.modal::backdrop { background: rgba(29,39,33,.55); backdrop-filter: blur(3px); }
.modal-paper { position: relative; padding: 42px; border: 1px solid var(--modal-border); border-radius: var(--radius); background: var(--paper-light); text-align: center; }
.modal-close { position: absolute; top: 18px; right: 20px; color: var(--ink-soft); font-size: 12px; }
.modal-mark { width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; color: var(--on-accent); background: var(--accent); font-family: var(--display); font-size: 22px; }
.modal h2 { margin: 0; font-family: var(--display); font-size: 30px; }
.modal p { margin: 12px auto 25px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.identity-paper { width: min(600px, calc(100% - 40px)); margin: auto; padding: 0; border: 0; background: transparent; text-align: left; overflow: hidden; }
.identity-modal.is-switcher .identity-paper { width: 100%; border: 1px solid var(--modal-border); border-radius: var(--radius); background: var(--paper-light); }
.identity-modal:not(.is-switcher) .modal-close { display: none; }
.identity-heading { display: grid; grid-template-columns: 92px 1fr; gap: 28px; align-items: center; padding: 40px 34px 30px; border-bottom: 1px solid var(--line); }
.identity-postmark { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; color: var(--on-accent); background: var(--accent); font-family: var(--display); font-size: 30px; transform: rotate(-5deg); box-shadow: inset 0 0 0 5px var(--accent), inset 0 0 0 6px rgba(248,246,240,.55); }
.identity-brand-name { margin: 0 0 10px !important; color: var(--accent) !important; font-family: var(--display); font-size: 14px !important; letter-spacing: .18em; }
.identity-heading h2 { text-align: left; }
.identity-heading p { margin: 9px 0 0; text-align: left; }
.identity-options { display: grid; gap: 0; padding: 6px 34px; }
.identity-option { min-height: 90px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 17px; padding: 14px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); background: transparent; text-align: left; cursor: pointer; transition: padding .2s ease, color .2s ease; }
.identity-option:last-child { border-bottom: 0; }
.identity-option:hover { padding-left: 8px; color: var(--accent-dark); }
.identity-monogram { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-family: var(--display); font-size: 18px; }
.identity-name strong,
.identity-name small { display: block; }
.identity-name strong { font-family: var(--display); font-size: 23px; letter-spacing: .08em; }
.identity-name small { margin-top: 3px; color: var(--ink-soft); font-size: 12px; }
.identity-enter { color: var(--ink-soft); font-family: var(--display); font-size: 13px; }
.identity-option:hover .identity-enter { color: var(--accent); }
.identity-note { margin: 0 !important; padding: 18px 34px 22px; border-top: 1px solid var(--line); text-align: left; font-size: 12px !important; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compact-modal { padding-top: 36px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 30; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px; color: var(--paper); background: var(--forest); box-shadow: 0 12px 35px var(--shadow); transform: translateX(-50%); font-size: 13px; }

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171a18;
    --paper-deep: #111411;
    --paper-light: #202521;
    --ink: #eeece4;
    --ink-soft: #b9b7ae;
    --line: rgba(238, 236, 228, 0.16);
    --accent: #c95f54;
    --accent-dark: #ee8175;
    --forest: #aab8af;
    --shadow: rgba(0, 0, 0, 0.35);
    --on-accent: #fff8f1;
    --surface-translucent: rgba(32, 37, 33, 0.94);
    --surface-soft: rgba(32, 37, 33, 0.72);
    --accent-wash: rgba(201, 95, 84, 0.15);
    --accent-wash-soft: rgba(201, 95, 84, 0.08);
    --focus-ring: rgba(238, 129, 117, 0.3);
    --modal-border: rgba(238, 236, 228, 0.22);
    --body-glow: rgba(83, 96, 87, 0.24);
    --noise-blend: soft-light;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .view:not([hidden]) { animation: view-in .42s cubic-bezier(.16,1,.3,1) both; }
  .result-envelope { animation: result-in .68s cubic-bezier(.16,1,.3,1) both; transform-origin: top center; }
  .loading-line { animation: breathe 1.3s ease-in-out infinite alternate; }
  .toast:not([hidden]) { animation: toast-in .25s ease both; }
}

@keyframes view-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes result-in { from { opacity: 0; transform: translateY(18px) rotateX(-5deg); } }
@keyframes breathe { to { opacity: .42; } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }

@media (max-width: 760px) {
  .auth-gate { place-items: start center; padding: 26px 22px; }
  .auth-panel { grid-template-columns: 1fr; border-top: 0; }
  .auth-intro { padding: 34px 0 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .auth-postmark { width: 68px; height: 68px; margin-bottom: 26px; font-size: 26px; }
  .auth-intro h1 { max-width: 8em; font-size: 40px; }
  .auth-intro > p:last-child { margin-top: 14px; }
  .auth-form { padding: 30px 0 38px; }
  .site-header { width: calc(100% - 32px); height: 68px; grid-template-columns: 1fr auto; }
  .wordmark small { display: none; }
  .wordmark-mark { width: 32px; height: 32px; }
  .primary-nav { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 10; height: 54px; padding: 0 22px; gap: 28px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-translucent); box-shadow: 0 12px 35px var(--shadow); backdrop-filter: blur(10px); transform: translateX(-50%); }
  .nav-item::after { bottom: 6px; }
  .identity-button span { display: none; }
  main { width: calc(100% - 32px); }
  .view { padding: 42px 0 108px; }
  .date-block { margin-bottom: 30px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 88px; }
  .meeting-panel { grid-template-columns: 68px 1fr; gap: 15px; padding: 24px 0; }
  .meeting-panel .secondary-button { grid-column: 1 / -1; width: 100%; }
  .meeting-stamp { width: 68px; height: 48px; }
  .meeting-emblem::before, .meeting-emblem::after { width: 44px; height: 44px; }
  .history-heading { display: block; }
  .month-controls { margin-top: 26px; }
  .calendar-shell { padding: 0; }
  .calendar-day { min-height: 64px; padding: 5px; }
  .day-result { width: 29px; height: 29px; margin-top: 2px; font-size: 12px; }
  .day-number { width: 21px; height: 21px; font-size: 11px; }
  .modal-paper:not(.identity-paper) { padding: 36px 22px 28px; }
  .identity-paper { width: min(100% - 32px, 520px); }
  .identity-heading { grid-template-columns: 72px 1fr; gap: 18px; padding: 34px 24px 24px; }
  .identity-postmark { width: 64px; height: 64px; font-size: 25px; }
  .identity-options { padding: 4px 24px; }
  .identity-note { padding: 16px 24px 20px; }
}

@media (max-width: 390px) {
  .wordmark strong { font-size: 16px; }
  h1 { font-size: 38px; }
  .calendar-day { min-height: 58px; }
  .calendar-legend { justify-content: flex-start; }
  .partner-status { align-items: flex-start; }
  .status-symbol.is-partner-done { width: 88px; height: 41px; flex-basis: 88px; font-size: 14px; }
}
