:root {
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: #463b46;
  background: #fff7f2;
  --ink: #463b46;
  --muted: #87777e;
  --line: #f0ddd9;
  --paper: #ffffff;
  --soft: #fff0f3;
  --accent: #ef7f97;
  --accent-strong: #bf516c;
  --mint: #71b7a8;
  --butter: #f5c96f;
  --blue: #79a9d8;
  --shadow: 0 16px 34px rgba(148, 92, 98, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at 18px 24px, rgba(255, 255, 255, 0.85) 0 7px, transparent 8px),
    radial-gradient(circle at 92% 82px, rgba(245, 201, 111, 0.22) 0 36px, transparent 37px),
    linear-gradient(180deg, #ffe8ee 0, #fff7f2 290px, #f6fbf7 100%);
  background-size: 92px 92px, auto, auto;
}

button,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin-top: 3px;
  font-size: 27px;
  line-height: 1.18;
  letter-spacing: 0;
}

h2 {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0;
}

.app-shell {
  width: min(100%, 720px);
  min-height: 100vh;
  margin: 0 auto;
  padding:
    calc(18px + env(safe-area-inset-top))
    calc(16px + env(safe-area-inset-right))
    calc(92px + env(safe-area-inset-bottom))
    calc(16px + env(safe-area-inset-left));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.baby-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 4px solid #ffffff;
  border-radius: 20px;
  background:
    linear-gradient(145deg, #fff8d8, #ffd8e0);
  box-shadow:
    inset 0 -4px 0 rgba(204, 114, 128, 0.09),
    0 10px 20px rgba(191, 81, 108, 0.18);
  transform: rotate(-3deg);
}

.baby-mark::before,
.baby-mark::after {
  position: absolute;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: #584550;
}

.baby-mark::before {
  left: 20px;
}

.baby-mark::after {
  right: 20px;
}

.baby-mark span {
  width: 18px;
  height: 9px;
  margin-top: 14px;
  border-bottom: 3px solid #584550;
  border-radius: 0 0 18px 18px;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border: 4px solid #ffffff;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(145deg, #ff9cad, #e96f8a);
  box-shadow:
    inset 0 -4px 0 rgba(111, 42, 62, 0.12),
    0 10px 20px rgba(191, 81, 108, 0.24);
  font-size: 31px;
  line-height: 1;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.status-strip article {
  position: relative;
  overflow: hidden;
  min-height: 76px;
  padding: 13px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 9px 20px rgba(148, 92, 98, 0.1);
}

.status-strip article:nth-child(2) {
  background: #fffaf0;
}

.status-strip article:nth-child(3) {
  background: #f4fbf8;
}

.status-strip i {
  position: absolute;
  right: -10px;
  bottom: -5px;
  color: rgba(239, 127, 151, 0.16);
  font-size: 28px;
  font-style: normal;
  font-weight: 900;
  transform: rotate(-12deg);
}

.status-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.status-strip strong {
  display: block;
  margin-top: 5px;
  color: var(--accent-strong);
  font-size: 30px;
  line-height: 1;
}

.composer {
  margin-bottom: 22px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(#ffffff, #fffdfc);
  box-shadow: var(--shadow);
}

.guide-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 20px;
  color: #6f6068;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 8px 18px rgba(148, 92, 98, 0.08);
}

.guide-card strong {
  padding: 5px 9px;
  border-radius: 999px;
  color: #bf516c;
  background: #fff0f3;
  font-size: 12px;
  white-space: nowrap;
}

.guide-card p {
  font-size: 13px;
  line-height: 1.55;
}

.quick-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.quick-panel button {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-height: 88px;
  padding: 10px 6px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  color: #614f58;
  background: linear-gradient(180deg, #ffffff, #fff5f7);
  box-shadow:
    inset 0 -4px 0 rgba(191, 81, 108, 0.06),
    0 9px 18px rgba(148, 92, 98, 0.11);
}

.quick-panel button:nth-child(1) {
  background: linear-gradient(180deg, #ffffff, #fff8e8);
}

.quick-panel button:nth-child(2) {
  background: linear-gradient(180deg, #ffffff, #fff0f3);
}

.quick-panel button:nth-child(3) {
  background: linear-gradient(180deg, #ffffff, #eef9f5);
}

.quick-panel button:nth-child(4) {
  background: linear-gradient(180deg, #ffffff, #f2f6ff);
}

.quick-panel span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.quick-panel button:nth-child(1) span {
  background: var(--butter);
}

.quick-panel button:nth-child(3) span {
  background: var(--mint);
}

.quick-panel button:nth-child(4) span {
  background: var(--blue);
}

.quick-panel b {
  font-size: 14px;
  line-height: 1;
}

.quick-panel small {
  max-width: 100%;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.template-panel {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 9px 18px rgba(148, 92, 98, 0.08);
}

.template-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.template-heading h2 {
  font-size: 15px;
}

.template-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.template-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.template-scroll::-webkit-scrollbar {
  display: none;
}

.template-scroll button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 13px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #7a5b22;
  background: #fff4d8;
  box-shadow: 0 6px 12px rgba(148, 92, 98, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.composer.needs-text {
  animation: nudge 420ms ease;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: #fff0f3;
}

.segmented button {
  min-height: 42px;
  padding: 0 4px;
  border-radius: 14px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.segmented button.is-active {
  color: #ffffff;
  background: linear-gradient(145deg, #ff9bad, #ef7f97);
}

.field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ecd9d6;
  border-radius: 16px;
  color: var(--ink);
  background: #fffdfb;
  font-size: 16px;
}

.field textarea {
  min-height: 96px;
  padding: 12px;
  resize: vertical;
  line-height: 1.55;
}

.field select {
  padding: 0 12px;
}

.field select:disabled {
  color: #a1aaa7;
  background: #f3f5f2;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.shopping-category-field {
  display: none;
  grid-column: 1 / -1;
}

.shopping-category-field.is-visible {
  display: grid;
}

.composer-actions,
.button-pair {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.primary-button,
.secondary-button,
.text-button {
  min-height: 44px;
  border-radius: 16px;
  font-weight: 800;
}

.primary-button {
  min-width: 112px;
  color: #ffffff;
  background: linear-gradient(145deg, #ff9bad, #ef7f97);
  box-shadow: 0 8px 18px rgba(191, 81, 108, 0.18);
}

.secondary-button {
  min-width: 96px;
  padding: 0 14px;
  color: var(--accent-strong);
  background: #fff0f3;
}

.text-button {
  padding: 0 10px;
  color: var(--accent-strong);
  background: transparent;
}

.text-button.is-active {
  color: #ffffff;
  background: var(--accent);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.home-heading {
  align-items: flex-start;
}

.home-heading p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.home-sections {
  display: grid;
  gap: 12px;
}

.home-group {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 9px 20px rgba(148, 92, 98, 0.09);
}

.home-group:nth-child(2) {
  background: rgba(255, 250, 240, 0.78);
}

.home-group:nth-child(3) {
  background: rgba(244, 251, 248, 0.78);
}

.home-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.home-group-title h3 {
  flex: 1;
}

.home-group-title span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--accent);
  font-size: 15px;
  font-weight: 900;
}

.home-group:nth-child(2) .home-group-title span {
  background: var(--butter);
}

.home-group:nth-child(3) .home-group-title span {
  background: var(--mint);
}

.mini-link {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.entry-list {
  display: grid;
  gap: 10px;
}

.compact-list {
  gap: 8px;
}

.entry-card {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  min-height: 92px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-left: 7px solid var(--accent);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 10px 22px rgba(148, 92, 98, 0.1);
}

.compact-list .entry-card {
  min-height: 74px;
  padding: 10px;
  border-left-width: 5px;
  box-shadow: 0 7px 16px rgba(148, 92, 98, 0.08);
}

.compact-list .entry-meta span:nth-child(4) {
  display: none;
}

.compact-list .entry-actions {
  display: none;
}

.compact-list .entry-content p {
  font-size: 15px;
}

.entry-card::after {
  position: absolute;
  right: 13px;
  top: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 3px, transparent 4px),
    #ffe0e7;
  opacity: 0.78;
}

.entry-card.is-unread {
  border-left-color: var(--butter);
  background: #fffaf0;
}

.entry-card.is-done {
  opacity: 0.62;
}

.entry-card.is-done .entry-content p {
  text-decoration: line-through;
}

.done-group {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.done-group summary {
  min-height: 44px;
  padding: 12px 14px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  list-style: none;
}

.done-group summary::-webkit-details-marker {
  display: none;
}

.done-group summary::after {
  float: right;
  content: "+";
  color: var(--accent-strong);
  font-size: 16px;
}

.done-group[open] summary::after {
  content: "−";
}

.done-list {
  padding: 0 10px 10px;
}

.done-list .entry-card {
  box-shadow: none;
}

.check-button {
  width: 34px;
  height: 34px;
  min-height: 34px;
  margin-top: 3px;
  border: 3px solid #ffd1dc;
  border-radius: 50%;
  color: #ffffff;
  background: #ffffff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.entry-card.is-done .check-button {
  border-color: var(--accent);
  background: linear-gradient(145deg, #ff9bad, #ef7f97);
}

.entry-content {
  min-width: 0;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 7px;
}

.entry-meta span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #76646c;
  background: #fff0f3;
  font-size: 11px;
  font-weight: 800;
}

.entry-meta span:nth-child(2) {
  color: #4d756e;
  background: #e8f7f2;
}

.entry-meta span:nth-child(3) {
  color: #7a5b22;
  background: #fff4d8;
}

.entry-content p {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

.entry-actions {
  grid-column: 2;
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.entry-actions button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  color: #7b6971;
  background: #fff2f5;
  font-size: 12px;
  font-weight: 800;
}

.message-thread {
  display: grid;
  gap: 12px;
}

.message-bubble {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 9px;
  align-items: end;
}

.message-bubble.from-papa {
  grid-template-columns: minmax(0, 1fr) 36px;
}

.message-bubble.from-papa .message-avatar {
  grid-column: 2;
}

.message-bubble.from-papa .message-body {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  background: #eef9f5;
}

.message-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 6px 14px rgba(148, 92, 98, 0.14);
  font-size: 13px;
  font-weight: 900;
}

.message-bubble.from-papa .message-avatar {
  background: var(--mint);
}

.message-body {
  position: relative;
  width: min(100%, 285px);
  padding: 11px 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px 20px 20px 8px;
  background: #fff4d8;
  box-shadow: 0 9px 20px rgba(148, 92, 98, 0.09);
}

.message-bubble.from-papa .message-body {
  border-radius: 20px 20px 8px 20px;
}

.message-bubble.is-unread .message-body {
  box-shadow:
    0 0 0 2px rgba(245, 201, 111, 0.42),
    0 9px 20px rgba(148, 92, 98, 0.09);
}

.message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.message-meta strong {
  color: #7a5b22;
  font-size: 12px;
}

.message-bubble.from-papa .message-meta strong {
  color: #4d756e;
}

.message-meta span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.message-body p {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

.message-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-top: 8px;
}

.message-actions button {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  color: #7b6971;
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.pinned-notes {
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 9px 20px rgba(148, 92, 98, 0.08);
}

.pinned-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.pinned-heading p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
}

.pinned-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pinned-card {
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 11px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #f2f6ff);
  box-shadow:
    inset 0 -4px 0 rgba(79, 125, 168, 0.05),
    0 8px 16px rgba(148, 92, 98, 0.08);
  text-align: left;
}

.pinned-card:nth-child(2) {
  background: linear-gradient(180deg, #ffffff, #fff8e8);
}

.pinned-card:nth-child(3) {
  background: linear-gradient(180deg, #ffffff, #eef9f5);
}

.pinned-card:nth-child(4) {
  background: linear-gradient(180deg, #ffffff, #fff0f3);
}

.pinned-card span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.pinned-card:nth-child(2) span {
  background: var(--butter);
}

.pinned-card:nth-child(3) span {
  background: var(--mint);
}

.pinned-card:nth-child(4) span {
  background: var(--accent);
}

.pinned-card strong {
  font-size: 14px;
  line-height: 1.2;
}

.pinned-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.empty-state {
  padding: 28px 18px;
  border: 2px dashed #f2c8d1;
  border-radius: 22px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.empty-state strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 17px;
}

.empty-state p {
  font-size: 14px;
  line-height: 1.5;
}

.shopping-groups {
  display: grid;
  gap: 12px;
}

.shopping-group {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 9px 20px rgba(148, 92, 98, 0.08);
}

.shopping-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.shopping-group-title span {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  color: #7a5b22;
  background: #fff4d8;
  font-size: 13px;
  font-weight: 900;
}

.settings-stack {
  display: grid;
  gap: 12px;
}

.setting-row {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 10px 22px rgba(148, 92, 98, 0.1);
}

.setting-row p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.save-state {
  justify-self: start;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--accent-strong);
  background: #fff0f3;
  font-size: 12px;
  font-weight: 800;
}

.save-state.is-fresh {
  animation: pop 480ms ease;
}

.file-button {
  display: inline-grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  width: min(100%, 720px);
  margin: 0 auto;
  padding:
    8px
    calc(10px + env(safe-area-inset-right))
    calc(8px + env(safe-area-inset-bottom))
    calc(10px + env(safe-area-inset-left));
  border-top: 1px solid rgba(32, 49, 47, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 -10px 22px rgba(148, 92, 98, 0.1);
}

.bottom-nav button {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 4px 2px;
  border-radius: 18px;
  color: #99898f;
  background: transparent;
  font-weight: 800;
}

.bottom-nav button.is-active {
  color: var(--accent-strong);
  background: linear-gradient(180deg, #fff0f3, #fff8fa);
}

.bottom-nav span {
  display: block;
  height: 24px;
  font-size: 21px;
  line-height: 1;
}

.bottom-nav b {
  font-size: 11px;
  line-height: 1;
}

@keyframes nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  35% {
    transform: translateX(-5px);
  }
  70% {
    transform: translateX(5px);
  }
}

@keyframes pop {
  0%,
  100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.08);
  }
}

@media (min-width: 680px) {
  .app-shell {
    padding-top: 28px;
  }

  h1 {
    font-size: 32px;
  }

  .setting-row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (max-width: 380px) {
  .app-shell {
    padding-right: 12px;
    padding-left: 12px;
  }

  h1 {
    font-size: 23px;
  }

  .status-strip article {
    padding: 10px 8px;
  }

  .quick-panel {
    gap: 6px;
  }

  .quick-panel button {
    min-height: 82px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .quick-panel small {
    font-size: 9px;
  }

  .composer-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}
