:root {
  color-scheme: light;
  --paper: #f7f7f4;
  --surface: #fff;
  --ink: #26231f;
  --muted: #625c54;
  --rail: #302724;
  --rail-muted: #e0d3c8;
  --accent: #8d3e2e;
  --accent-hover: #713024;
  --border: #e5e2dc;
  --border-strong: #c9c3b9;
  --focus: #216d82;
  --radius: 14px;
  --sans: "Segoe UI", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-inline-size: 280px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: var(--accent); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.18; }
section { scroll-margin-top: 1.25rem; }
.muted { color: var(--muted); }

.visually-hidden, .skip-link:not(:focus) {
  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; z-index: 5; top: 0.5rem; left: 0.5rem; background: var(--surface); padding: 0.6rem; }
.wordmark { display: inline-block; font: bold 2.15rem/1 var(--serif); letter-spacing: -0.085em; }
.wordmark span { color: #c98570; }

.portal { min-height: 100vh; display: grid; grid-template-columns: 15rem minmax(0, 1fr); }
.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.25rem 1.4rem;
  background: var(--rail);
  color: #fff8ee;
}
.sidebar-brand { display: grid; justify-items: start; gap: 0.55rem; margin: 0 0.56rem 3rem; color: inherit; text-decoration: none; }
.sidebar-brand > span:last-child { color: var(--rail-muted); font-size: 0.875rem; }
.nav { display: grid; align-items: start; gap: 0.45rem; }
.nav a {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  border-radius: 8px;
  padding: 0.7rem 0.68rem;
  text-decoration: none;
  color: var(--rail-muted);
  font-size: 0.925rem;
  font-weight: 600;
}
.nav a:hover { color: #fff8ee; background: #3d322e; }
.nav a[aria-current] { color: #fff8ee; background: #4b3932; }
.nav-symbol { display: grid; place-items: center; width: 1.36rem; height: 1.36rem; font-size: 1.15rem; line-height: 1; color: #e5a991; }
.sidebar-foot { margin-top: auto; padding: 1rem 0.35rem 0; border-top: 1px solid #57463f; }
.integrations { display: grid; gap: 0.5rem; }
.integrations p { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.48rem; color: var(--rail-muted); white-space: nowrap; font-size: 0.81rem; }
.connection-dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #ad9b8f; }
[data-connected="true"] .connection-dot { background: #9ed0a6; }
.integrations .connection-value { color: #ebdcd0; font-size: 0.75rem; }

.page { min-width: 0; }
.topbar {
  padding: 0.8rem clamp(1.25rem, 3.2vw, 3.25rem);
  min-height: 4.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.workspace-label { color: #494038; font-weight: 650; font-size: 0.9rem; }
.workspace-label span { margin: 0 0.38rem; color: #8a7e73; font-weight: normal; }
.profile { display: flex; align-items: center; gap: 0.62rem; }
.avatar { display: grid; place-items: center; flex: none; height: 2.24rem; width: 2.24rem; border-radius: 50%; color: #7a3527; background: #f4e5dd; font-size: 0.875rem; font-weight: 700; }
.profile-text { display: grid; line-height: 1.32; font-size: 0.86rem; }
.profile-text > span { font-size: 0.76rem; color: var(--muted); }

.content { margin: 0 auto; max-width: 88rem; padding: 2.5rem clamp(1.25rem, 3.2vw, 3.25rem) 3.5rem; }
.page-heading { display: flex; align-items: start; justify-content: space-between; gap: 0.75rem 1.5rem; margin: 0 0 1.45rem; }
.page-heading h1 { font: 400 clamp(2.05rem, 3.8vw, 3.2rem)/1.12 var(--serif); letter-spacing: -0.055em; }
.page-heading p:not(.mode-badge) { margin: 0.48rem 0 0; color: var(--muted); }
.mode-badge { display: flex; flex: none; align-items: center; gap: 0.47rem; border: 1px solid #e9d4c2; color: #6f4128; background: #fcf3e9; padding: 0.35rem 0.65rem; border-radius: 99px; font-size: 0.83rem; font-weight: 650; }
.mode-badge span { display: inline-block; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: #a26640; }
.notice { display: flex; align-items: baseline; gap: 0.64rem; margin-bottom: 1.25rem; padding: 0.68rem 0.9rem; border: 1px solid #ebded0; border-radius: 9px; background: #fcf7f0; color: #684b35; font-size: 0.9rem; }
.notice-icon { appearance: none; display: grid; place-items: center; flex: none; width: 1rem; height: 1rem; border: 1px solid currentColor; border-radius: 50%; font: italic bold 0.73rem/1 var(--serif); }
.main-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(19.5rem, 1fr); align-items: start; gap: 1.15rem; }
.panel { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.05rem, 2.4vw, 1.65rem); box-shadow: 0 1px 2px #30272408; }
.panel-heading { margin-bottom: 1.15rem; }
.panel-heading h2 { font-size: 1.33rem; letter-spacing: -0.025em; }
.panel-heading p { margin-top: 0.24rem; color: var(--muted); font-size: 0.95rem; }

.workflow-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; margin-bottom: 1.25rem; }
.workflow {
  min-width: 0;
  display: flex;
  gap: 0.62rem;
  align-items: center;
  min-height: 3.15rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #faf9f7;
  text-align: left;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
  padding: 0.5rem 0.58rem;
}
.workflow:hover { background: #f8f0eb; border-color: #d0b39f; }
.workflow[aria-pressed="true"] { color: #733526; background: #f8eae2; border-color: #a95640; box-shadow: 0 0 0 1px #a95640; }
.tile-icon { display: grid; flex: none; place-items: center; position: relative; width: 1.8rem; height: 1.8rem; border-radius: 6px; background: #efe7de; color: #783e2b; font-weight: 800; font-size: 1rem; }
.icon-image::before { content: ""; width: 0.88rem; height: 0.72rem; border: 1.4px solid currentColor; border-radius: 2px; }
.icon-image::after { content: ""; position: absolute; bottom: 0.58rem; width: 0.39rem; height: 0.31rem; border-top: 1.4px solid currentColor; border-left: 1.4px solid currentColor; transform: rotate(43deg); }
.icon-brand::before { content: ""; width: 0.63rem; height: 0.63rem; border: 1.4px solid currentColor; border-radius: 2px; transform: rotate(45deg); }
.icon-brand::after { content: ""; position: absolute; width: 0.19rem; height: 0.19rem; border-radius: 50%; background: currentColor; }
.icon-box::before { content: ""; width: 0.84rem; height: 0.74rem; border: 1.4px solid currentColor; border-radius: 2px; }
.icon-box::after { content: ""; position: absolute; width: 0.78rem; height: 0.22rem; top: 0.7rem; border-top: 1.4px solid currentColor; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.4rem; margin-bottom: 0.4rem; }
label { font-weight: 650; font-size: 0.92rem; }
#prompt-count { color: var(--muted); font-size: 0.78rem; white-space: nowrap; }
textarea, .entry input {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0.66rem 0.72rem;
}
textarea { display: block; resize: vertical; min-height: 7.55rem; max-height: 32rem; }
textarea::placeholder { color: #766b63; }
.composer-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.7rem; margin-top: 0.95rem; }
.attachment { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 0.36rem; }
.attachment-label { cursor: pointer; }
.attachment:focus-within .attachment-label { outline: 3px solid var(--focus); outline-offset: 3px; }
.file-name { display: inline-block; max-width: 10rem; padding-left: 0.2rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.8rem; color: var(--muted); }
.file-name:empty { display: none; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.55rem;
  padding: 0.42rem 0.76rem;
  border: 1px solid transparent;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.3;
}
.button:disabled { cursor: wait; opacity: 0.62; }
.button-primary { color: #fff; background: var(--accent); border-color: var(--accent); }
.button-primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); }
.button-secondary { color: var(--ink); background: var(--surface); border-color: var(--border-strong); }
.button-secondary:hover:not(:disabled) { background: #f8f5ef; }
.button-text { background: transparent; color: var(--accent); }
.button-text:hover:not(:disabled) { background: #f8ede5; }
.button-small { min-height: 2rem; padding: 0.3rem 0.52rem; font-size: 0.8rem; }
.form-error { margin-top: 0.62rem; color: #952a22; font-size: 0.875rem; }

.task-list { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.task-list li { display: grid; padding: 0.73rem 0; border-bottom: 1px solid var(--border); }
.task-list li:first-child { padding-top: 0; }
.task-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.task-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 0.48rem; }
.task-heading h3 { font: 650 0.975rem/1.37 var(--sans); }
.task-list p { margin-top: 0.27rem; color: var(--muted); font-size: 0.875rem; overflow-wrap: anywhere; }
.task-list a { justify-self: start; margin-top: 0.3rem; font-size: 0.82rem; font-weight: 650; text-underline-offset: 2px; }
.status {
  display: inline-block;
  flex: none;
  border-radius: 99px;
  padding: 0.17rem 0.54rem;
  font-size: 0.75rem;
  font-weight: 650;
  color: #4e4840;
  background: #eeece8;
  line-height: 1.43;
}
.status[data-status="missing"], .status[data-status="needs_input"], .status[data-status="publish_partial"], .status[data-status="publish_needs_check"], .status[data-status="changed_unverified"], .status[data-status="unverified"], .status[data-status="catalog_staged_partial"] { color: #765016; background: #faf0d7; }
.status[data-status="done"], .status[data-status="approved"], .status[data-status="simulated"], .status[data-status="published"], .status[data-status="verified"], .status[data-status="unchanged"], .status[data-status="activated"] { color: #2d6046; background: #e5f2e9; }
.status[data-status="ready"], .status[data-status="publishing"], .status[data-status="skipped"], .status[data-status="staged"], .status[data-status="catalog_staged"] { color: #395e6f; background: #e7f0f4; }
.status[data-status="rejected"], .status[data-status="failed"] { color: #8e352e; background: #f9e7e6; }

.activity, .materials { margin-top: 1.15rem; }
.materials-heading { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0 0.75rem; }
.materials-heading > a { margin: 0.05rem 0 0.85rem; }
.drive-connection { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.55rem 0.8rem; margin-bottom: 0.75rem; padding: 0.7rem 0.8rem; border: 1px solid var(--border); border-radius: 8px; }
.drive-connection p, .drive-feedback, .request-drive { color: var(--muted); font-size: 0.87rem; overflow-wrap: anywhere; }
.drive-feedback, .request-drive { margin-bottom: 0.7rem; }
.drive-feedback[data-error="true"] { color: #952a22; }
.materials-path { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.45rem; list-style: none; margin: 0 0 0.65rem; padding: 0; }
.materials-path li { min-width: 0; display: flex; align-items: baseline; gap: 0.45rem; font-size: 0.875rem; overflow-wrap: anywhere; }
.materials-path .path-separator { color: var(--muted); }
.materials-path [aria-current] { font-weight: 700; }
.materials-path button { border: 0; padding: 0; background: transparent; color: var(--accent); font-size: inherit; font-weight: 650; text-align: left; text-decoration: underline; text-underline-offset: 0.15em; }
.materials-list { list-style: none; margin: 0; padding: 0; }
.materials-list li { display: flex; align-items: center; gap: 0.7rem; min-width: 0; padding: 0.66rem 0; border-top: 1px solid var(--border); }
.materials-item > :last-child { min-width: 0; }
.materials-item-name { overflow-wrap: anywhere; }
.materials-item-action { border: 0; padding: 0; background: transparent; color: var(--accent); font-size: inherit; font-weight: 650; text-align: left; text-decoration: underline; text-underline-offset: 0.15em; }
.materials-item-detail { margin-top: 0.12rem; color: var(--muted); font-size: 0.8rem; }
.materials-item-icon { display: grid; flex: none; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 7px; background: #f0ebe4; color: var(--accent); font-size: 1rem; }
#materials-more, #materials-retry { margin-top: 0.7rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.91rem; }
thead { background: #f7f5f1; color: #5c554d; }
th, td { text-align: left; padding: 0.62rem 0.65rem; vertical-align: middle; }
th { font-size: 0.82rem; font-weight: 700; }
tbody tr+tr { border-top: 1px solid var(--border); }
tbody td:first-child { min-width: 9rem; }
tbody td:not(:first-child) { color: var(--muted); }
.activity-table td:first-child span { color: var(--muted); font-size: 0.8rem; display: block; overflow-wrap: anywhere; }
.activity-table td:nth-child(2) { white-space: nowrap; }
.activity-table td:last-child { text-align: right; }
.activity-table .action-column { width: 5.2rem; }
.empty-state { display: grid; gap: 0.2rem; padding: 1.1rem 1.15rem; border: 1px dashed var(--border-strong); border-radius: 8px; color: var(--muted); font-size: 0.91rem; }
.empty-state strong { color: var(--ink); }

.entry { display: grid; min-height: 100vh; padding: 1.2rem; place-items: center; background: radial-gradient(ellipse at top, #f2e7df, var(--paper) 63%); }
.entry-card { width: min(100%, 26rem); padding: clamp(1.35rem, 4vw, 2.3rem); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.entry-card .wordmark { color: var(--rail); margin-bottom: 1.15rem; }
.entry-card h1 { font: normal 2.25rem/1.15 var(--serif); letter-spacing: -0.04em; }
.entry-card p { margin: 0.45rem 0 1.2rem; color: var(--muted); }
.entry-card form { display: grid; gap: 0.45rem; }
.entry-card input + label { margin-top: 0.4rem; }
.entry-card button[type="submit"] { margin-top: 0.8rem; }

.access-page {
  --paper: #eef5f6;
  --ink: #102b36;
  --muted: #435b65;
  --accent: #075c69;
  --accent-hover: #064852;
  --border: #d3e0e3;
  --border-strong: #9fb3ba;
}
.access-page .entry { background: radial-gradient(ellipse at top, #d3e9ee, var(--paper) 70%); }
.access-page .entry-card { border-top: 4px solid var(--accent); box-shadow: 0 14px 40px #102b3614; }
.access-page .entry-card .access-brand { margin: 0 0 1.05rem; color: var(--accent); font-weight: 700; }
.access-page .entry-card .access-feedback { color: #286043; }
.access-page .entry-card .form-error { color: #952a22; }

dialog {
  max-height: min(88vh, 50rem);
  width: min(92vw, 43rem);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 15px 48px #271d1a31;
}
dialog::backdrop { background: #251e1bbc; }
dialog[data-category-images="true"] { width: min(94vw, 56rem); }
.proposal-body { display: grid; align-content: start; gap: 1rem; padding: clamp(1.15rem, 3.4vw, 1.85rem); }
.proposal-header { display: flex; align-items: start; justify-content: space-between; gap: 0.8rem; border-bottom: 1px solid var(--border); padding-bottom: 0.85rem; }
.proposal-header h2 { margin: 0.35rem 0 0.22rem; font: normal 1.95rem/1.17 var(--serif); letter-spacing: -0.045em; overflow-wrap: anywhere; }
.proposal-header p { font-size: 0.83rem; }
.close-button { min-width: 2.25rem; padding: 0; font-size: 1.45rem; }
.proposal-body h3 { margin-bottom: 0.42rem; font-size: 1rem; }
.proposal-body ul, .proposal-body ol { margin: 0; padding-left: 1.25rem; }
.proposal-body li + li { margin-top: 0.25rem; }
.diff-table td { min-width: 7rem; word-break: break-word; }
.proposal-result > * + * { display: block; margin-top: 0.35rem; }
.proposal-result .muted, #proposal-publication-status { font-size: 0.85rem; }
.proposal-link { color: var(--accent); text-decoration: underline; text-underline-offset: 0.15em; }
#proposal-refresh { justify-self: start; }
.missing { padding: 0.75rem; border: 1px solid #efdec7; border-radius: 8px; background: #fcf6eb; }
.proposal-body .photo-issues { display: grid; gap: 0.5rem; padding: 0; list-style: none; }
#proposal-general-warnings:not([hidden]) + .photo-issues { margin-top: 0.65rem; }
.proposal-body .photo-issues li { margin: 0; padding: 0.7rem; border: 1px solid #efdcc5; border-radius: 7px; background: var(--surface); }
.photo-issue-target { display: block; margin-bottom: 0.18rem; }
.photo-issue-source { display: inline-block; margin-top: 0.25rem; font-size: 0.85rem; }
.photo-issue-fields { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.55rem; margin: 0.55rem 0 0; padding: 0; border: 0; min-inline-size: 0; }
.photo-issue-fields :is(select, input[type="url"]) { flex: 1 1 14rem; min-width: 0; max-width: 100%; min-height: 2.15rem; padding: 0.3rem; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; font-size: 0.85rem; }
.photo-issue-fields .proposal-link { font-size: 0.85rem; }
.photo-issue .form-error, #proposal-edit-warning { margin-top: 0.35rem; }
.photo-conversion-result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.12rem 0.55rem; font-size: 0.83rem; }
.photo-conversion-result:not(:empty) { margin-top: 0.35rem; }
.photo-conversion-result p { flex-basis: 100%; }
.catalog-batch-selection { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.87rem; cursor: pointer; }
.catalog-batch-selection input, .catalog-row-selection input { accent-color: var(--accent); }
.catalog-batch-count { margin: 0.12rem 0 0.4rem; font-size: 0.83rem; }
.catalog-row-selection { text-align: center; }
.photo-optimization-notice { display: block; margin-top: 0.25rem; font-size: 0.83rem; }
.photo-resize-preview { display: grid; justify-items: start; gap: 0.25rem; }
.photo-resize-preview img { display: block; width: auto; height: auto; max-width: min(100%, 14rem); max-height: 9.5rem; border-radius: 4px; }
.photo-resize-preview img.photo-resize-preview-circle { border-radius: 50%; }
.photo-resize-preview-caption { font-size: 0.83rem; color: var(--muted); }
.photo-follow-up { display: grid; justify-items: start; gap: 0.35rem; }
.photo-follow-up-choice { display: flex; align-items: flex-start; gap: 0.35rem; font-size: 0.83rem; cursor: pointer; }
.photo-follow-up-choice input { flex: none; margin-top: 0.2rem; }
.proposal-revision { padding: 0.65rem 0.75rem; border: 1px solid var(--border); border-radius: 8px; }
.proposal-revision summary { cursor: pointer; font-size: 0.91rem; font-weight: 650; color: var(--accent); }
.proposal-revision fieldset { min-inline-size: 0; margin: 0.65rem 0 0; padding: 0; border: 0; }
.proposal-revision textarea { min-height: 5rem; }
.proposal-revision .composer-actions { margin-top: 0.65rem; }
.proposal-revision .attachment { flex: 1 1 12rem; }
.proposal-revision-actions { margin-inline-start: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
#proposal-revision-hint, #proposal-revision-status { font-size: 0.85rem; }
#proposal-revision-hint { margin: 0.12rem 0 0.4rem; }
.request-original { padding-top: 0.3rem; font-size: 0.91rem; }
.request-original summary { cursor: pointer; font-weight: 650; color: var(--accent); }
.request-original p { margin-top: 0.5rem; white-space: pre-wrap; overflow-wrap: anywhere; }
#proposal-summary, .proposal-body li { overflow-wrap: anywhere; }
.proposal-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.65rem; border-top: 1px solid var(--border); padding-top: 0.85rem; }
.proposal-actions p { font-size: 0.83rem; }
.proposal-actions > div { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.toast { position: fixed; z-index: 6; right: 1rem; bottom: 1rem; padding: 0.66rem 1rem; max-width: min(30rem, calc(100vw - 2rem)); border: 1px solid #605045; border-radius: 8px; background: #302724; color: white; box-shadow: 0 2px 12px #271d1a28; }

@media (max-width: 64rem) {
  .portal { grid-template-columns: 12.5rem minmax(0, 1fr); }
  .sidebar { padding-right: 0.85rem; padding-left: 0.85rem; }
  .sidebar-brand .wordmark { font-size: 1.8rem; }
  .main-grid { grid-template-columns: 1fr; }
}
@media (max-width: 43rem) {
  .portal { display: block; }
  .sidebar { position: static; height: auto; padding: 0.95rem 0.9rem 0.6rem; }
  .sidebar-brand { gap: 0.32rem; margin: 0 0.34rem 0.78rem; }
  .sidebar-brand .wordmark { font-size: 1.95rem; }
  .sidebar-brand > span:last-child { font-size: 0.79rem; }
  .nav { display: flex; flex-wrap: wrap; gap: 0.18rem; }
  .nav a { min-height: 2.65rem; padding: 0.46rem 0.48rem; gap: 0.23rem; font-size: 0.78rem; white-space: nowrap; }
  .nav-symbol { width: 1rem; height: 1rem; font-size: 0.98rem; }
  .sidebar-foot { padding-top: 0.5rem; margin-top: 0.42rem; }
  .integrations { display: flex; flex-wrap: wrap; gap: 0.28rem 0.75rem; }
  .integrations p { gap: 0.32rem; }
  .integrations .connection-value { font-size: 0.72rem; }
  .topbar { min-height: 3.5rem; padding: 0.5rem 0.9rem; }
  .workspace-label { font-size: 0.81rem; }
  .profile { gap: 0.34rem; }
  .profile-text { font-size: 0.76rem; }
  .avatar { width: 1.84rem; height: 1.84rem; font-size: 0.75rem; }
  .content { padding: 1.4rem 0.9rem 2.15rem; }
  .page-heading { flex-wrap: wrap; margin-bottom: 1rem; }
  .notice { margin-bottom: 0.85rem; }
  .main-grid { gap: 0.85rem; }
  .activity, .materials { margin-top: 0.85rem; }
  .activity-table th:nth-child(2), .activity-table td:nth-child(2) { display: none; }
}
@media (max-width: 22rem) {
  .workflow-choices { grid-template-columns: 1fr; }
  .profile-text { display: none; }
  .task-heading { align-items: flex-start; flex-direction: column; }
}
