:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #1d252c;
  --muted: #63707d;
  --line: #d9e0e6;
  --accent: #1f6f68;
  --accent-dark: #174f4b;
  --warn: #9b5c00;
  --bad: #9b1c31;
}
[data-theme="night"] {
  color-scheme: dark;
  --bg: #101718;
  --panel: #182223;
  --text: #edf4f2;
  --muted: #a9b8b5;
  --line: #334547;
  --accent: #6ed3c3;
  --accent-dark: #b7fff2;
  --warn: #f1c36a;
  --bad: #ff8c9a;
}
/* JS-controlled dialogs and disclosures rely on the HTML hidden attribute. */
[hidden] { display: none !important; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--accent); text-decoration: none; }
.screen-reader-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
header { display: grid; grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr); align-items: center; gap: 20px; padding: 14px 24px; background: #132322; color: white; }
header nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; }
header a { color: white; font-weight: 600; }
header form { display: inline; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 0; }
.notifications-nav-link { position: relative; display: inline-grid; place-items: center; inline-size: 34px; block-size: 34px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.08); color: #eef6f5; }
.notifications-nav-link:hover,
.notifications-nav-link:focus-visible { background: rgba(255,255,255,.16); outline: none; }
.notifications-nav-icon { inline-size: 19px; block-size: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notifications-nav-badge { position: absolute; inset-block-start: -5px; inset-inline-end: -5px; display: grid; place-items: center; min-inline-size: 17px; block-size: 17px; border: 2px solid #132322; border-radius: 999px; padding: 0 4px; background: #d12e36; color: #ffffff; font-size: 10px; font-weight: 900; line-height: 1; }
.notifications-nav-badge.is-empty { display: none; }
.current-user-label { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 6px 10px; background: rgba(255,255,255,.08); color: #eef6f5; font-size: 13px; font-weight: 800; }
.privileged-account-label { position: relative; overflow: visible; text-shadow: none; }
.privileged-account-warning { display: none; position: absolute; z-index: 80; top: calc(100% + 8px); right: 0; inline-size: max-content; max-inline-size: min(320px, 80vw); padding: 9px 11px; border-radius: 6px; font-size: 13px; font-weight: 800; line-height: 1.25; white-space: normal; text-shadow: none; }
.privileged-account-label:hover .privileged-account-warning,
.privileged-account-label:focus .privileged-account-warning,
.privileged-account-label:focus-within .privileged-account-warning { display: block; }
.guest-account-label { position: relative; overflow: visible; border-color: rgba(181, 213, 205, .48); background: rgba(255, 255, 255, .1); }
.guest-account-notice { display: none; position: absolute; z-index: 80; top: calc(100% + 8px); right: 0; inline-size: max-content; max-inline-size: min(340px, 80vw); padding: 9px 11px; border: 1px solid #9ccbbf; border-radius: 6px; background: rgba(255, 255, 255, .98); color: var(--accent-dark); font-size: 13px; font-weight: 800; line-height: 1.25; white-space: normal; box-shadow: 0 10px 24px rgba(16, 24, 32, .16); }
.guest-account-label:hover .guest-account-notice,
.guest-account-label:focus .guest-account-notice,
.guest-account-label:focus-within .guest-account-notice { display: block; }
.guest-confidentiality-strip { border-bottom: 1px solid #b9dfd6; padding: 7px 24px; background: #edf7f4; color: var(--accent-dark); font-size: 12px; font-weight: 800; text-align: center; }
.notifications-page { display: grid; gap: 16px; }
.notifications-list { display: grid; gap: 10px; }
.notification-entry { display: grid; gap: 8px; border: 1px solid #cbdce0; border-left: 5px solid #1f6f68; border-radius: 8px; padding: 12px; background: #ffffff; box-shadow: 0 8px 20px rgba(16, 24, 32, .07); }
.notification-entry.is-unseen { border-left-color: #d12e36; background: #fffdfd; }
.notification-entry h2 { margin: 0; font-size: 17px; }
.notification-entry p { margin: 0; line-height: 1.45; }
.notification-entry-time { color: var(--muted); font-size: 12px; font-weight: 800; }
.notification-entry-action { justify-self: start; font-weight: 900; }
.notification-empty { border: 1px dashed #cbdce0; border-radius: 8px; padding: 18px; background: #ffffff; color: var(--muted); font-weight: 800; }
.guest-volume-session-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; border: 1px solid #b9dfd6; border-radius: 8px; padding: 10px 12px; background: #f2faf7; color: var(--accent-dark); font-size: 13px; font-weight: 800; box-shadow: 0 8px 20px rgba(16, 24, 32, .08); }
.guest-volume-session-notice span { min-width: min(100%, 420px); }
.guest-volume-session-notice button { min-height: 32px; padding: 7px 10px; }
button, .button { border: 0; background: var(--accent); color: white; padding: 9px 12px; border-radius: 6px; cursor: pointer; font-weight: 700; display: inline-block; }
button.secondary, .button.secondary { background: #e4e9ed; color: #1d252c; }
button.danger { background: var(--bad); }
[data-theme="night"] header { background: #091112; }
[data-theme="night"] button,
[data-theme="night"] .button { color: #061312; }
[data-theme="night"] button.secondary,
[data-theme="night"] .button.secondary { border: 1px solid #4a6063; background: #2c3d40; color: #f5fbfa; }
[data-theme="night"] button.secondary:hover,
[data-theme="night"] button.secondary:focus,
[data-theme="night"] .button.secondary:hover,
[data-theme="night"] .button.secondary:focus { background: #35494c; color: #ffffff; }
[data-theme="night"] button.danger,
[data-theme="night"] .button.danger { background: #b4233c; color: #ffffff; }
[data-theme="night"] input,
[data-theme="night"] select,
[data-theme="night"] textarea { border-color: var(--line); background: #101819; color: var(--text); }
[data-theme="night"] input::placeholder,
[data-theme="night"] textarea::placeholder { color: #768987; }
[data-theme="night"] .panel,
[data-theme="night"] .card,
[data-theme="night"] table,
[data-theme="night"] .attention-topic-card,
[data-theme="night"] .attention-item,
[data-theme="night"] .team-card,
[data-theme="night"] .document-row,
[data-theme="night"] .volume-action-card,
[data-theme="night"] .compliance-card,
[data-theme="night"] .form-section,
[data-theme="night"] .assignment-hours-stat,
[data-theme="night"] .topic-volume-row,
[data-theme="night"] .topic-package-panel,
[data-theme="night"] .volume-document-strip,
[data-theme="night"] .document-dialog,
[data-theme="night"] .source-link { background: var(--panel); color: var(--text); border-color: var(--line); }
[data-theme="night"] th,
[data-theme="night"] .status { background: #233033; color: var(--text); }
[data-theme="night"] .muted,
[data-theme="night"] small { color: var(--muted); }
[data-theme="night"] .dashboard-opportunity-card,
[data-theme="night"] .dashboard-opportunity-card.submitted,
[data-theme="night"] .dashboard-opportunity-card.attention,
[data-theme="night"] .dashboard-opportunity-card.immediate {
  border-color: hsl(var(--completion-hue, 120), 32%, 58%);
  background: hsl(var(--completion-hue, 120), 42%, 86%);
  color: #1d252c;
}
[data-theme="night"] .dashboard-opportunity-card h3,
[data-theme="night"] .dashboard-opportunity-card .dashboard-status,
[data-theme="night"] .dashboard-opportunity-card .muted,
[data-theme="night"] .dashboard-opportunity-card small { color: #63707d; }
[data-theme="night"] .dashboard-opportunity-card h3,
[data-theme="night"] .dashboard-opportunity-card a,
[data-theme="night"] .dashboard-opportunity-card .completion-chip strong { color: #1f6f68; }
[data-theme="night"] .deadline-box,
[data-theme="night"] .dashboard-completion,
[data-theme="night"] .dashboard-submission,
[data-theme="night"] .dashboard-cost-grid > div {
  border-color: #cdd9d5;
  background: rgba(255, 255, 255, .72);
  color: #1d252c;
}
[data-theme="night"] .dashboard-cost-grid span,
[data-theme="night"] .dashboard-cost-grid small,
[data-theme="night"] .deadline-box span,
[data-theme="night"] .deadline-box em { color: #4f6270; }
[data-theme="night"] .dashboard-cost-grid strong,
[data-theme="night"] .deadline-box strong { color: #1d252c; }
[data-theme="night"] .dashboard-warning-drawer {
  border-color: hsl(var(--completion-hue, 120), 32%, 58%);
  background: hsl(var(--completion-hue, 120), 45%, 91%);
  color: #1d252c;
}
[data-theme="night"] .completion-chip { border-color: #d9e0e6; background: #ffffff; color: #1d252c; }
[data-theme="night"] .completion-chip:hover,
[data-theme="night"] .completion-chip:focus { border-color: #a8df99; background: #effbea; }
[data-theme="night"] .completion-chip.unfinished { border-color: #df7777; background: #ffe1e1; }
[data-theme="night"] .completion-chip.in-progress { border-color: #f0c86f; background: #fff3c9; }
[data-theme="night"] .warning-chip { border-color: #ead196; background: #fff8e8; color: #4f2d00; }
[data-theme="night"] .dashboard-progress-track { border-color: #d9e0e6; background: #eef3f4; }
[data-theme="night"] .volume-room-chat,
[data-theme="night"] .volume-room-member-panel,
[data-theme="night"] .volume-room-message-panel,
[data-theme="night"] .volume-room-message-list,
[data-theme="night"] .document-comment-card,
[data-theme="night"] .document-comment-popover,
[data-theme="night"] .document-comment-login-note,
[data-theme="night"] .document-comment-account-note,
[data-theme="night"] .document-comment-status,
[data-theme="night"] .guest-account-notice,
[data-theme="night"] .role-instructions-panel,
[data-theme="night"] .notice,
[data-theme="night"] .degrees-preview,
[data-theme="night"] .degrees-expanded,
[data-theme="night"] .copy-email:hover,
[data-theme="night"] .copy-email:focus {
  color: #1d252c;
}
[data-theme="night"] .volume-room-chat .muted,
[data-theme="night"] .volume-room-chat small,
[data-theme="night"] .volume-room-message-meta span,
[data-theme="night"] .volume-room-empty,
[data-theme="night"] .document-comment-card small,
[data-theme="night"] .document-comment-popover small,
[data-theme="night"] .document-comment-field-choice,
[data-theme="night"] .document-comment-anchor-status,
[data-theme="night"] .document-comment-branch-option,
[data-theme="night"] .document-comment-account-note,
[data-theme="night"] .document-comment-status,
[data-theme="night"] .topic-header-progress span,
[data-theme="night"] .topic-header-progress small {
  color: #4f6270;
}
[data-theme="night"] .volume-room-chat-form input {
  border-color: #cdd9dd;
  background: #ffffff;
  color: #1d252c;
}
[data-theme="night"] .volume-room-chat-form input::placeholder { color: #596b78; }
[data-theme="night"] .volume-room-member strong,
[data-theme="night"] .volume-room-message-meta strong,
[data-theme="night"] .role-instructions-panel h2,
[data-theme="night"] .guest-account-notice,
[data-theme="night"] .guest-volume-session-notice {
  color: #174f4b;
}
[data-theme="night"] .role-instructions-panel li,
[data-theme="night"] .degrees-expanded-university { color: #34444e; }
[data-theme="night"] .volume-room-message p { color: #1d252c; }
[data-theme="night"] .volume-room-system-message,
[data-theme="night"] .volume-room-system-message p { color: #5f4a12; }
[data-theme="night"] .volume-room-message-reply,
[data-theme="night"] .volume-room-reply-banner {
  border-color: #8bc7bd;
  background: #eef9f6;
  color: #1d252c;
}
[data-theme="night"] .volume-room-message-reply strong,
[data-theme="night"] .volume-room-reply-banner strong { color: #174f4b; }
[data-theme="night"] .volume-room-message-reply p,
[data-theme="night"] .volume-room-reply-banner p { color: #41535d; }
[data-theme="night"] .volume-room-message-replyable:hover,
[data-theme="night"] .volume-room-message-replyable:focus {
  background: #eef9f6;
  box-shadow: inset 0 0 0 1px #8bc7bd;
}
[data-theme="night"] .volume-room-reply-clear {
  border-color: #8bc7bd;
  background: #ffffff;
  color: #174f4b;
}
[data-theme="night"] .document-comment-missing-anchor {
  border-color: #c79a32;
  background: #fff1b8;
  color: #4f3600;
}
main { max-width: 1180px; margin: 0 auto; padding: 24px; }
main:has(.volume-room-chat),
main:has(.volume-overview-grid),
main:has(.volume-workspace-top-grid),
main:has(.volume-document-strip),
main:has(.volume-document-viewer-panel) { max-width: 1440px; }
main:has(.document-preview-page-shell) {
  max-width: none;
  width: 100%;
  padding-inline: clamp(12px, 2vw, 32px);
  overflow-x: hidden;
  overflow-x: clip;
}
.page-heading-row { position: relative; z-index: 55; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 10px; }
.page-heading-text { min-width: 0; }
.page-heading-text h1 { margin-bottom: 12px; }
.page-heading-text p { margin-top: 0; }
.page-heading-actions { display: flex; align-items: flex-start; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.volume-page-heading-row { align-items: stretch; }
.volume-page-heading-row .page-heading-actions { align-self: stretch; align-items: stretch; }
.volume-page-heading-row .topic-title-bulletin-button { height: 100%; min-height: 0; margin-top: 0; }
.role-instructions { position: relative; flex: 0 0 auto; z-index: 90; margin-top: 2px; }
.role-instructions-toggle { min-width: 138px; border: 1px solid #8bc7bd; background: #f4fbf9; color: var(--accent-dark); box-shadow: 0 8px 20px rgba(16, 24, 32, .08); font-size: 12px; letter-spacing: .04em; text-align: center; }
.role-instructions-toggle:hover,
.role-instructions-toggle:focus-visible,
.role-instructions.is-open .role-instructions-toggle { background: #e7f6f2; color: #0f4742; outline: 3px solid rgba(139, 199, 189, .32); outline-offset: 2px; }
.role-instructions-panel { position: absolute; top: calc(100% + 8px); right: 0; display: none; width: min(410px, calc(100vw - 48px)); border: 1px solid #9ccbbf; border-radius: 8px; padding: 14px 16px; background: #ffffff; box-shadow: 0 18px 42px rgba(16, 24, 32, .2); color: var(--text); }
.role-instructions:hover .role-instructions-panel,
.role-instructions:focus-within .role-instructions-panel,
.role-instructions.is-open .role-instructions-panel { display: grid; gap: 10px; }
.role-instructions-panel h2 { margin: 0; color: var(--accent-dark); font-size: 18px; line-height: 1.2; }
.role-instructions-panel ul { display: grid; gap: 8px; margin: 0; padding-left: 18px; }
.role-instructions-panel li { color: #34444e; font-size: 13px; font-weight: 650; line-height: 1.35; }
.invalid-flash {
  --bg: #fff4f3;
  --panel: #fbe7e5;
  --text: #5b2527;
  --muted: #8b5a5c;
  --line: #ddb8b7;
  --accent: #9d5b5d;
  --accent-dark: #754346;
  --warn: #9d5b5d;
  --bad: #c9898b;
}
.invalid-flash,
.invalid-flash main { background: #fff4f3 !important; color: #5b2527 !important; }
.invalid-flash *,
.invalid-flash *::before,
.invalid-flash *::after { border-color: #ddb8b7 !important; color: #5b2527 !important; }
.invalid-flash header { background: #754346 !important; color: #fff4f3 !important; }
.invalid-flash header *,
.invalid-flash button,
.invalid-flash .button { color: #fff4f3 !important; }
.invalid-flash .panel,
.invalid-flash .card,
.invalid-flash table,
.invalid-flash .dashboard-opportunity-card,
.invalid-flash .dashboard-opportunity-card.submitted,
.invalid-flash .dashboard-opportunity-card.attention,
.invalid-flash .dashboard-opportunity-card.immediate,
.invalid-flash .attention-topic-card,
.invalid-flash .attention-item,
.invalid-flash .team-card,
.invalid-flash .document-row,
.invalid-flash .completion-chip,
.invalid-flash .warning-chip,
.invalid-flash .source-link,
.invalid-flash .volume-action-card,
.invalid-flash .compliance-card,
.invalid-flash .form-section,
.invalid-flash .deadline-box,
.invalid-flash .dashboard-completion,
.invalid-flash .dashboard-submission,
.invalid-flash .dashboard-warning-drawer,
.invalid-flash .dashboard-cost-grid div,
.invalid-flash .assignment-hours-stat { background: #fbe7e5 !important; }
.invalid-flash th,
.invalid-flash .status,
.invalid-flash .warn-status { background: #f3d5d3 !important; color: #733b3e !important; }
.invalid-flash input,
.invalid-flash select,
.invalid-flash textarea,
.invalid-flash .document-dialog,
.invalid-flash .document-preview-text { background: #fffafa !important; color: #5b2527 !important; }
.invalid-flash button,
.invalid-flash .button,
.invalid-flash button.secondary,
.invalid-flash .button.secondary,
.invalid-flash button.danger { background: #c9898b !important; border-color: #b5797c !important; }
.invalid-flash a,
.invalid-flash .document-name,
.invalid-flash .workflow,
.invalid-flash .completion-chip strong,
.invalid-flash .volume-action-card summary,
.invalid-flash .volume-action-link strong,
.invalid-flash .assignment-hours-stat strong,
.invalid-flash .deadline-countdown small { color: #9d5b5d !important; }
.invalid-flash img { filter: grayscale(1) sepia(.8) hue-rotate(300deg) saturate(2) brightness(1.05) !important; }
.invalid-input-notice { position: fixed; z-index: 120; top: 82px; right: 24px; max-width: 320px; padding: 11px 14px; border: 1px solid #e2a4a4; border-radius: 8px; background: #fff1f1; color: var(--bad); font-weight: 800; box-shadow: 0 10px 24px rgba(16, 24, 32, .14); animation: fade-invalid 1.7s ease forwards; }
@keyframes fade-invalid {
  0%, 70% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-6px); visibility: hidden; }
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.status-grid h3 { margin: 0 0 10px; font-size: 16px; }
.status-grid p { margin: 0 0 12px; }
.attention-topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.attention-topic-card, .attention-item { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fbfcfd; }
.attention-topic-card h3, .attention-item h3 { margin: 0 0 8px; font-size: 17px; }
.attention-topic-card p, .attention-item p { margin: 4px 0; }
.attention-list { display: grid; gap: 10px; }
.deadline-urgent { color: var(--bad); font-weight: 800; }
.dashboard-opportunity-list { display: grid; gap: 14px; }
.dashboard-opportunity-card { border: 1px solid hsl(var(--completion-hue, 120), 38%, 76%); border-radius: 8px; padding: 14px; background: hsl(var(--completion-hue, 120), 58%, 93%); cursor: pointer; }
.dashboard-opportunity-card:focus { outline: 2px solid #a8df99; outline-offset: 2px; }
.dashboard-opportunity-card.submitted,
.dashboard-opportunity-card.attention,
.dashboard-opportunity-card.immediate { background: hsl(var(--completion-hue, 120), 58%, 93%); border-color: hsl(var(--completion-hue, 120), 38%, 76%); }
.dashboard-opportunity-card h3 { margin: 0; font-size: 18px; }
.dashboard-status { white-space: nowrap; }
.dashboard-detail-grid { display: grid; grid-template-columns: minmax(180px, 240px) minmax(240px, 1fr) minmax(280px, 1.1fr); gap: 12px; align-items: start; margin-top: 14px; }
.deadline-box { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; min-height: 160px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: rgba(255, 255, 255, .72); text-align: center; }
.deadline-box span { color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.deadline-box strong { font-size: 18px; }
.deadline-box em { color: var(--muted); font-style: normal; font-weight: 800; }
.deadline-countdown { display: inline-flex; flex-direction: column; align-items: center; align-self: center; gap: 0; margin-top: 6px; line-height: 1; text-align: center; }
.deadline-countdown b { font-size: 44px; line-height: .92; color: var(--bad); }
.deadline-countdown small { margin-top: 3px; color: var(--accent); font-size: 15px; font-weight: 800; text-transform: uppercase; }
.deadline-countdown.deadline-urgent b,
.deadline-countdown.deadline-urgent small { color: var(--bad); }
.dashboard-cost-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.dashboard-cost-grid > div { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: rgba(255, 255, 255, .72); text-align: center; }
.dashboard-cost-grid span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.dashboard-cost-grid strong { font-size: 18px; }
.dashboard-cost-grid small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 700; }
.dashboard-progress-track { height: 10px; margin-top: 8px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #eef3f4; }
.dashboard-progress-fill { display: block; height: 100%; margin: 0; border: 0; border-radius: 999px; background: var(--accent); }
.dashboard-completion,
.dashboard-submission { min-width: 0; min-height: 160px; max-height: 160px; overflow-y: scroll; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: rgba(255, 255, 255, .72); transition: max-height .18s ease; }
.dashboard-completion { position: relative; }
.dashboard-completion:hover,
.dashboard-completion:focus,
.dashboard-completion:focus-within,
.dashboard-submission:hover,
.dashboard-submission:focus,
.dashboard-submission:focus-within { max-height: none; overflow-y: visible; }
.dashboard-completion:focus,
.dashboard-submission:focus { outline: 2px solid #a8df99; outline-offset: 2px; }
.dashboard-completion h4,
.dashboard-submission h4,
.dashboard-warning-drawer h4 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; }
.dashboard-warning-drawer { min-width: 0; max-height: 92px; margin-top: 10px; overflow-y: scroll; border: 1px solid hsl(var(--completion-hue, 120), 38%, 76%); border-radius: 8px; padding: 12px; background: hsl(var(--completion-hue, 120), 58%, 93%); transition: max-height .18s ease; }
.dashboard-warning-drawer:hover,
.dashboard-warning-drawer:focus,
.dashboard-warning-drawer:focus-within { max-height: 220px; overflow-y: auto; outline: 2px solid hsl(var(--completion-hue, 120), 38%, 76%); outline-offset: 2px; }
.completion-preview { margin: 0 0 8px; color: var(--muted); font-weight: 800; }
.completion-empty { margin: 0; }
.completion-chip-grid { display: grid; gap: 8px; padding-right: 2px; }
.completion-chip { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; background: #ffffff; color: var(--text); }
.completion-chip:hover, .completion-chip:focus { background: #effbea; border-color: #a8df99; outline: none; }
.completion-chip.unfinished { border-color: #df7777; background: #ffe1e1; }
.completion-chip.unfinished:hover,
.completion-chip.unfinished:focus { border-color: #c85e5e; background: #ffd5d5; }
.completion-chip.in-progress { border-color: #f0c86f; background: #fff3c9; }
.completion-chip.in-progress:hover,
.completion-chip.in-progress:focus { border-color: #d9ad46; background: #ffedb5; }
.completion-chip strong { display: block; color: var(--accent); line-height: 1.25; }
.completion-chip span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.editing-presence-notice { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: fit-content; max-width: 100%; margin: 12px 0 0; padding: 8px 10px; border: 1px solid #9ccbbf; border-radius: 8px; background: #e9f7f2; color: #174f4b; font-size: 13px; font-weight: 800; }
.editing-presence-person { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.editing-presence-avatar { width: 28px; height: 28px; flex: 0 0 28px; font-size: 12px; }
.editing-presence-dot { width: 10px; height: 10px; border-radius: 50%; background: #1f6f68; box-shadow: 0 0 0 4px rgba(31, 111, 104, .16); }
.completion-chip .editing-presence-notice { width: 100%; margin-top: 8px; padding: 7px 8px; background: rgba(255, 255, 255, .72); }
.completion-chip .editing-presence-person,
.completion-chip .editing-presence-person span,
.completion-chip .editing-presence-notice > span { display: inline-flex; margin-top: 0; color: #174f4b; font-size: 12px; }
.editing-presence-compact { gap: 6px; }
.editing-presence-compact .editing-presence-avatar { width: 24px; height: 24px; flex-basis: 24px; }
.account-identity-cell strong,
.account-identity-cell span,
.activity-table td strong + .muted { display: block; }
.warning-chip-grid { display: grid; gap: 8px; }
.warning-chip { border: 1px solid #ead196; border-radius: 8px; padding: 9px 10px; background: #fff8e8; color: #4f2d00; }
.volume-action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.volume-action-card { display: block; min-height: 118px; border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #fbfcfd; color: var(--text); }
.volume-action-card summary { cursor: pointer; color: var(--accent); font-size: 18px; font-weight: 800; }
.volume-action-card form { margin-top: 14px; }
.volume-action-link:hover, .volume-action-link:focus { background: #effbea; border-color: #a8df99; outline: none; }
.volume-action-link strong,
.volume-action-link span { display: block; }
.volume-action-link strong { color: var(--accent); font-size: 18px; margin-bottom: 8px; }
.volume-action-link small { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; font-weight: 800; }
.saved-volume-document-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, auto); align-items: stretch; gap: 14px; margin: 14px 0; border: 1px solid #96d8c6; border-radius: 8px; padding: 14px; background: #f4fbf8; }
.saved-volume-document-info { min-width: 0; }
.saved-volume-document-info span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.saved-volume-document-info strong { display: block; margin-top: 4px; color: var(--accent-dark); font-size: 20px; overflow-wrap: anywhere; }
.saved-volume-document-info p { margin: 5px 0 0; color: var(--muted); }
.saved-volume-document-actions { display: block; }
.saved-volume-document-button-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); justify-content: stretch; align-items: stretch; gap: 8px; }
.saved-volume-document-actions .button,
.saved-volume-document-actions button { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 150px; min-height: 38px; white-space: nowrap; text-align: center; font-size: 16px; }
.saved-volume-document-actions form { display: flex; align-items: stretch; margin: 0; }
.saved-document-delete-form button { height: auto; min-height: 38px; }
.saved-volume-document-actions .saved-document-edit-button { min-height: 38px; box-shadow: 0 2px 0 rgba(0, 0, 0, .08); color: #fff; }
.saved-volume-document-actions .edit-document-button { background: #2d5f9b; }
.saved-volume-document-actions .edit-document-button:hover,
.saved-volume-document-actions .edit-document-button:focus { background: #244f82; color: #fff; outline: none; }
.download-button { box-shadow: 0 2px 0 rgba(0, 0, 0, .08); }
.inline-generate-form { margin: 0; }
.inline-volume-preview { margin: 14px 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: white; }
.inline-volume-preview.document-preview-comment-surface { overflow: visible; }
.inline-volume-preview-header { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #eef3f4; }
.inline-volume-preview-header span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.inline-volume-preview-header span:first-child { grid-column: 2; justify-self: center; text-align: center; }
.inline-volume-preview-header strong { grid-column: 3; min-width: 0; overflow-wrap: anywhere; justify-self: end; text-align: right; }
.inline-volume-preview .document-preview-text,
.inline-volume-preview .document-preview-html,
.inline-volume-preview .document-frame { display: block; width: 100%; height: 620px; margin: 0; border-radius: 0; background: white; }
.inline-volume-preview .document-preview-html { background: #edf1f4; }
.inline-volume-preview .canonical-document-frame { height: min(76vh, 780px); min-height: 620px; }
.canonical-document-preview { margin-bottom: 16px; }
.live-preview-status { padding: 8px 12px; border-bottom: 1px solid var(--line); background: #f7fafb; color: var(--muted); font-size: 12px; font-weight: 800; }
.live-preview-status.is-updating { color: #1f5f58; background: #edf8f5; }
.live-preview-status.is-error { color: #8a1111; background: #fff1f1; }
.pdf-page-preview { display: grid; justify-content: center; align-content: start; gap: 28px; box-sizing: border-box; width: 100%; height: 620px; overflow: auto; margin: 0; padding: 28px 18px; background: #dfe5ea; }
.pdf-page-preview.is-live-preview-updating { position: relative; }
.pdf-page-preview.is-live-preview-updating::after {
  content: "Updating preview...";
  position: sticky;
  top: 10px;
  justify-self: center;
  z-index: 6;
  display: block;
  width: fit-content;
  max-width: min(92%, 360px);
  margin-top: -6px;
  padding: 7px 12px;
  border: 1px solid #9bd6c9;
  border-radius: 999px;
  background: rgba(237, 248, 245, .96);
  color: #0b5d50;
  box-shadow: 0 8px 18px rgba(16, 24, 32, .12);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.pdf-page-preview-image { display: block; width: min(100%, 8.5in); height: auto; border: 1px solid #9aa8b5; background: white; box-shadow: 0 10px 26px rgba(16, 24, 32, .22); }
.pdf-page-preview.document-preview-comment-surface,
.document-preview-html.document-preview-comment-surface,
.document-preview-text.document-preview-comment-surface { --document-comment-rail-gutter: calc(min(260px, 38vw) + 18px); }
.pdf-page-preview.document-preview-comment-surface,
.document-preview-html.document-preview-comment-surface,
.document-preview-text.document-preview-comment-surface { overflow: hidden; }
.pdf-page-preview.document-preview-comment-surface:has(> .document-preview-comment-rails-left) { padding-left: var(--document-comment-rail-gutter); }
.pdf-page-preview.document-preview-comment-surface:has(> .document-preview-comment-rails-right) { padding-right: var(--document-comment-rail-gutter); }
.document-preview-html.document-preview-comment-surface:has(> .document-preview-comment-rails-left),
.document-preview-text.document-preview-comment-surface:has(> .document-preview-comment-rails-left) { padding-left: max(24px, var(--document-comment-rail-gutter)); }
.document-preview-html.document-preview-comment-surface:has(> .document-preview-comment-rails-right),
.document-preview-text.document-preview-comment-surface:has(> .document-preview-comment-rails-right) { padding-right: max(24px, var(--document-comment-rail-gutter)); }
.document-preview-scroll-pane,
.document-preview-html.document-preview-comment-surface > .document-pages {
  height: 100%;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.pdf-page-preview.document-preview-comment-surface {
  display: block;
}
.pdf-page-preview-scroll-pane {
  display: grid;
  justify-content: center;
  align-content: start;
  gap: 28px;
}
.document-preview-html.document-preview-comment-surface > .document-pages {
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.inline-volume-preview .document-preview-html-scroll-pane > .document-pages {
  height: auto;
  min-height: 100%;
  overflow: visible;
  scrollbar-gutter: auto;
}
.document-preview-text.document-preview-comment-surface > .document-preview-text-content.document-preview-scroll-pane {
  display: block;
  margin: 0;
}
.document-frame-viewport .pdf-page-preview { min-height: 100%; height: auto; }
.pdf-document-frame { border: 0; background: #f4f6f7; }
.missing-volume-document-card { background: #fff1f1; border-color: #e2a4a4; }
.missing-volume-document-card .saved-volume-document-info strong { color: #8a1111; }
.disabled-action { color: var(--muted); background: #f2f5f6; }
.disabled-action strong,
.disabled-action span { display: block; }
.disabled-action strong { font-size: 18px; margin-bottom: 8px; }
.dsip-verification-box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; margin: 12px 0 16px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbfa; }
.dsip-verification-box.accepted { border-color: #96dcb7; background: #edfbf3; }
.dsip-verification-box.completed { border-color: #f0c86f; background: #fff9e8; }
.dsip-verification-box.not-accepted { border-color: #f0c86f; background: #fff9e8; }
.dsip-verification-box h3 { margin: 0 0 6px; }
.dsip-verification-box p { margin: 0; }
.dsip-verification-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.dsip-verification-form form { margin: 0; }
.dsip-verification-form label { margin: 0; }
.dsip-verification-form input,
.dsip-verification-form select { display: block; width: 100%; margin-top: 5px; }
.dsip-verification-state { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.72); }
.dsip-verification-state span { color: var(--muted); font-size: .9rem; }
.dsip-verification-state strong { color: var(--green); text-align: right; }
@media (max-width: 760px) {
  .dsip-verification-box { grid-template-columns: 1fr; }
}
.dsip-field-form { display: grid; gap: 18px; }
.dsip-short-field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.dsip-long-field-stack { display: grid; gap: 16px; padding: 4px 0; }
.dsip-field-form label { margin-bottom: 0; }
.dsip-field-form input,
.dsip-field-form textarea { display: block; width: 100%; margin-top: 7px; }
.dsip-field-textarea { min-height: 44px; overflow: hidden; resize: none; line-height: 1.5; }
.volume-draft-form { display: grid; grid-template-columns: 1fr; gap: 18px; }
.volume-draft-form label,
.volume-draft-field-label { margin-bottom: 0; font-size: 14px; font-weight: 800; }
.volume-draft-input,
.volume-draft-textarea { display: block; width: 100%; margin-top: 7px; font-size: 15px; line-height: 1.5; }
.volume-draft-textarea { min-height: 44px; overflow: hidden; resize: none; }
.volume-draft-field { display: grid; gap: 7px; }
.document-comment-shell { position: relative; padding-inline: 40px; }
.document-comment-tabs { position: absolute; z-index: 25; top: 8px; display: grid; gap: 7px; align-content: start; }
.document-comment-tabs-left { left: 0; }
.document-comment-tabs-right { right: 0; }
.document-comment-tabs-left-comments { top: 58px; }
.document-comment-tab { position: relative; }
.document-comment-marker { display: grid; place-items: center; width: 32px; min-width: 32px; min-height: 44px; padding: 0; border: 1px solid #8bbbc0; border-radius: 7px; background: var(--comment-highlight-color, #e7f7f4); color: #174f4b; font-size: 13px; font-weight: 900; line-height: 1; }
.document-comment-new-tab .document-comment-marker { border-color: #a8df99; background: #effbea; color: #235c1a; font-size: 24px; }
.document-comment-add-button { display: grid; place-items: center; width: min(260px, 38vw); min-height: 118px; border: 1px solid #f97316; border-radius: 8px; padding: 10px; background: #f97316; color: #ffffff; box-shadow: 0 14px 30px rgba(249, 115, 22, .34); font-size: 15px; font-weight: 900; line-height: 1.2; text-align: center; white-space: normal; }
.document-comment-add-button:hover,
.document-comment-add-button:focus-visible { background: #ea580c; border-color: #ea580c; box-shadow: 0 16px 36px rgba(249, 115, 22, .46); outline: 3px solid rgba(249, 115, 22, .28); outline-offset: 2px; }
.document-comment-login-note { display: grid; place-items: center; box-sizing: border-box; width: min(260px, 38vw); min-height: 118px; margin: 0; border: 1px solid #b8c8cd; border-radius: 8px; padding: 12px; background: #f8fafb; color: var(--muted); box-shadow: 0 10px 24px rgba(16, 24, 32, .12); font-size: 14px; font-weight: 900; line-height: 1.25; text-align: center; white-space: normal; }
.document-comment-popover { position: absolute; z-index: 80; top: 0; display: none; width: min(300px, 72vw); border: 1px solid #9ccbbf; border-radius: 8px; padding: 10px; background: #ffffff; box-shadow: 0 14px 32px rgba(16, 24, 32, .2); color: var(--text); font-size: 13px; line-height: 1.35; }
.document-comment-popover-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.document-comment-popover-header strong { min-width: 0; }
.document-comment-close-button { flex: 0 0 auto; min-width: 0; min-height: 28px; padding: 5px 8px; font-size: 12px; line-height: 1; }
.document-comment-tabs-left .document-comment-popover { left: 38px; }
.document-comment-tabs-right .document-comment-popover { right: 38px; }
.document-comment-tabs-left .document-comment-add-popover { left: 0; top: 126px; }
.document-comment-tabs-right .document-comment-add-popover { right: 0; top: 126px; }
.document-comment-tab.is-document-comment-composing .document-comment-popover { display: grid; gap: 7px; }
.document-comment-popover-body { display: grid; gap: 7px; min-height: 0; }
.document-comment-popover p { margin: 0; white-space: pre-wrap; }
.document-comment-popover small { color: var(--muted); font-weight: 700; }
.document-comment-popover textarea { width: 100%; min-height: 76px; margin: 0; resize: vertical; font-size: 13px; line-height: 1.35; }
.document-comment-field-choice { display: grid; gap: 4px; margin: 0; color: var(--muted); font-size: 12px; font-weight: 800; }
.document-comment-field-choice select { width: 100%; margin: 0; font-size: 13px; }
.document-comment-anchor-status { border: 1px solid #d7e1e5; border-radius: 7px; padding: 8px; background: #f7fafb; color: var(--muted); font-size: 12px; font-weight: 800; line-height: 1.25; }
.document-comment-anchor-status.has-anchor { border-color: #e0a9ad; background: #fff1f2; color: #822632; }
.document-comment-popover,
.document-comment-popover textarea { user-select: text; -webkit-user-select: text; }
.document-comment-card-tab { cursor: pointer; }
.document-comment-card { display: grid; gap: 6px; box-sizing: border-box; width: min(260px, 38vw); max-height: 118px; overflow: hidden; border: 1px solid #9ccbbf; border-left: 7px solid var(--comment-highlight-color, #e7f7f4); border-radius: 8px; padding: 10px; background: #ffffff; box-shadow: 0 10px 28px rgba(16, 24, 32, .15); color: var(--text); font-size: 13px; line-height: 1.35; transition: box-shadow .18s ease, border-color .18s ease; }
.document-comment-card-tab:hover .document-comment-card,
.document-comment-card-tab:focus-visible .document-comment-card,
.document-comment-card-tab:focus-within .document-comment-card { box-shadow: 0 14px 34px rgba(16, 24, 32, .2); }
.document-comment-card-tab.is-document-comment-active .document-comment-card { max-height: none; overflow: visible; border-color: #e2b94f; box-shadow: 0 0 0 3px rgba(255, 214, 84, .56), 0 18px 42px rgba(16, 24, 32, .26), 0 0 22px rgba(255, 214, 84, .32); }
.document-comment-card-tab-addressed .document-comment-card,
.document-comment-card-addressed { border-color: #37a66b; border-left-color: #2e9b5e; background: #f1fff6; box-shadow: 0 10px 28px rgba(24, 128, 74, .16); }
.document-comment-card-tab-addressed.is-document-comment-active .document-comment-card { border-color: #2e9b5e; box-shadow: 0 0 0 3px rgba(55, 166, 107, .32), 0 18px 42px rgba(16, 24, 32, .22), 0 0 22px rgba(55, 166, 107, .2); }
.document-comment-card-tab-has-replies.is-document-comment-active .document-comment-card { max-height: none; }
.document-comment-card-tab.is-notification-target .document-comment-card { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .34), 0 18px 42px rgba(16, 24, 32, .24); }
.document-comment-card strong { font-size: 13px; line-height: 1.2; }
.document-comment-card small { color: var(--muted); font-size: 11px; font-weight: 800; line-height: 1.25; }
.document-comment-card p { margin: 0; white-space: pre-wrap; }
.document-comment-like-row { display: none; justify-content: flex-start; }
.document-comment-card-tab:hover .document-comment-like-row,
.document-comment-card-tab:focus .document-comment-like-row,
.document-comment-card-tab:focus-within .document-comment-like-row { display: flex; }
.document-comment-like-button,
.inline-like-form .compact-button { min-height: 26px; border: 1px solid #b9dfd6; border-radius: 999px; padding: 3px 9px; background: #f4fbf8; color: #1f6f68; font-size: 12px; font-weight: 900; line-height: 1.1; box-shadow: none; }
.document-comment-like-button.is-liked,
.document-comment-like-button:hover,
.document-comment-like-button:focus-visible,
.inline-like-form .compact-button.is-liked,
.inline-like-form .compact-button:hover,
.inline-like-form .compact-button:focus-visible { border-color: #1f6f68; background: #dff4ec; color: #174f4b; outline: none; }
@media (hover: none) {
  .document-comment-like-row { display: flex; }
}
.document-comment-card textarea { width: 100%; min-height: 54px; max-height: 140px; margin: 0; resize: vertical; font-size: 13px; line-height: 1.35; transition: min-height .18s ease, border-color .18s ease, box-shadow .18s ease; }
.document-comment-card textarea:focus,
.document-comment-card-tab.is-document-comment-active .document-comment-card textarea:focus { min-height: clamp(78px, 14vh, 150px); overflow: auto; }
.document-comment-card textarea:focus { border-color: #7aaeb4; box-shadow: 0 0 0 3px rgba(122, 174, 180, .2); outline: none; }
.document-comment-card,
.document-comment-card textarea { user-select: text; -webkit-user-select: text; }
.document-comment-card-tab:not(.is-document-comment-active) .document-comment-replies,
.document-comment-card-tab:not(.is-document-comment-active) .document-comment-edit-panel,
.document-comment-card-tab:not(.is-document-comment-active) .document-comment-branch-option,
.document-comment-card-tab:not(.is-document-comment-active) .document-comment-admin-response-panel,
.document-comment-card-tab:not(.is-document-comment-active) .document-comment-review-grid,
.document-comment-card-tab:not(.is-document-comment-active) .document-comment-management-actions { display: none; }
.document-comment-admin-response { display: grid; gap: 7px; border: 1px solid #9bd6b3; border-radius: 8px; padding: 8px; background: #ecfff2; color: #244536; }
.document-comment-admin-response-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; font-weight: 900; line-height: 1.25; }
.document-comment-admin-response-heading small { color: #456254; }
.document-comment-response-links { display: grid; gap: 5px; border: 1px solid #b8dcc6; border-radius: 7px; padding: 7px 8px; background: #f7fff9; font-size: 12px; line-height: 1.3; }
.document-comment-response-links ul { display: grid; gap: 5px; margin: 0; padding-left: 16px; }
.document-comment-response-links li { color: #2f4e40; }
.document-comment-response-review-note { border-top: 1px solid #c7e6d3; padding-top: 6px; color: #315645; font-size: 12px; font-weight: 800; }
.document-comment-admin-response-panel { display: grid; gap: 7px; border: 1px solid #b8dcc6; border-radius: 8px; padding: 8px; background: #f3fff7; }
.document-comment-admin-response-panel label { display: grid; gap: 4px; color: #526270; font-size: 11px; font-weight: 900; }
.document-comment-admin-response-panel textarea { min-height: 72px; max-height: 160px; }
.document-comment-response-draft { display: grid; gap: 6px; border: 1px solid #d2e8da; border-radius: 7px; padding: 7px; background: #ffffff; }
.document-comment-response-draft-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #315645; font-size: 12px; font-weight: 900; }
.document-comment-response-highlight-list { display: grid; gap: 5px; }
.document-comment-response-highlight-chip { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6px; border: 1px solid #cfe8d9; border-radius: 7px; padding: 6px 7px; background: #f7fff9; color: #2f4e40; font-size: 12px; line-height: 1.3; }
.document-comment-response-highlight-chip button { width: 22px; min-width: 22px; height: 22px; border: 1px solid #9bd6b3; border-radius: 999px; padding: 0; background: #ffffff; color: #17613b; font-weight: 900; cursor: pointer; }
.document-comment-response-highlight { outline: 1px solid rgba(46, 155, 94, .34); }
.document-comment-review-panel { display: grid; gap: 7px; border: 1px solid #d8e5e2; border-radius: 8px; padding: 8px; background: #f7fbfa; }
.document-comment-review-panel-readonly { background: #fbfcfd; }
.document-comment-review-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #41535d; font-size: 12px; font-weight: 900; line-height: 1.25; }
.document-comment-status-pill { display: inline-flex; align-items: center; min-height: 20px; border: 1px solid #a7d6c8; border-radius: 999px; padding: 2px 8px; background: #e7f7f1; color: #0d6157; font-size: 11px; font-weight: 900; white-space: nowrap; }
.document-comment-status-pill.is-addressed { border-color: #2e9b5e; background: #dff7e8; color: #17613b; }
.document-comment-category-pill { display: inline-flex; align-items: center; min-height: 20px; border: 1px solid #d6e0e4; border-radius: 999px; padding: 2px 8px; background: #ffffff; color: #526270; font-size: 11px; font-weight: 900; white-space: nowrap; }
.document-comment-review-grid { display: grid; gap: 7px; }
.document-comment-review-grid label { display: grid; gap: 4px; color: #526270; font-size: 11px; font-weight: 900; }
.document-comment-review-grid select,
.document-comment-review-grid textarea { width: 100%; margin: 0; font-size: 12px; }
.document-comment-review-grid textarea { min-height: 58px; max-height: 130px; resize: vertical; }
.document-comment-replies { display: grid; gap: 7px; border: 1px solid #d8e5e2; border-radius: 8px; padding: 8px; background: #f8fbfa; }
.document-comment-reply-summary { display: flex; justify-content: space-between; align-items: center; color: #4f6270; font-size: 12px; font-weight: 900; }
.document-comment-reply-list { display: grid; gap: 6px; max-height: clamp(150px, 28vh, 300px); overflow-y: auto; padding-right: 2px; overscroll-behavior: contain; }
.document-comment-card-tab-has-replies.is-document-comment-active .document-comment-reply-list { max-height: none; overflow: visible; }
.document-comment-reply { display: grid; gap: 2px; border: 1px solid #f2d899; border-left: 3px solid #d3a03d; border-radius: 7px; padding: 7px 8px 7px 9px; background: #fffaf0; }
.document-comment-reply strong { color: #5f3a08; font-size: 12px; }
.document-comment-reply small { color: #725227; }
.document-comment-reply p { margin: 0; }
.document-comment-replies textarea { min-height: 54px; max-height: 140px; }
.document-comment-card-tab-has-replies.is-document-comment-active .document-comment-replies textarea:focus { min-height: clamp(88px, 16vh, 180px); }
.document-comment-edit-panel { display: grid; gap: 7px; border: 1px solid #d8e5e2; border-radius: 8px; padding: 8px; background: #f7fafb; }
.document-comment-edit-summary { display: flex; justify-content: space-between; align-items: center; color: #4f6270; font-size: 12px; font-weight: 900; }
.document-comment-edit-panel textarea { min-height: 76px; max-height: clamp(130px, 24vh, 220px); }
.document-comment-edit-panel textarea:focus { min-height: clamp(100px, 20vh, 190px); }
.document-comment-edit-panel .document-comment-branch-option { margin: 0; border: 1px solid #d8e5e2; border-radius: 7px; padding: 7px 8px; background: #ffffff; color: #41535d; font-size: 12px; line-height: 1.3; }
.document-comment-actions { justify-content: flex-end; margin: 0; }
.document-comment-action-button { min-width: 116px; text-align: center; }
.document-comment-missing-anchor { border: 1px solid #e2b94f; border-radius: 7px; padding: 8px; background: #fff8db; color: #674d00; font-size: 12px; font-weight: 900; line-height: 1.25; }
.document-comment-card-tab[data-document-comment-anchor-missing="1"] .document-comment-card { border-color: #e2b94f; }
.document-comment-card-tab-addressed[data-document-comment-anchor-missing="1"] .document-comment-card,
.document-comment-card-tab-addressed.is-notification-target .document-comment-card,
.document-comment-card-tab-addressed .document-comment-card,
.document-comment-card-addressed {
  border-color: #37a66b;
  border-left-color: #2e9b5e;
  background: #f1fff6;
  box-shadow: 0 10px 28px rgba(24, 128, 74, .16);
}
.document-comment-card-tab-addressed[data-document-comment-anchor-missing="1"].is-document-comment-active .document-comment-card,
.document-comment-card-tab-addressed.is-document-comment-active .document-comment-card,
.document-comment-card-tab-addressed.is-notification-target.is-document-comment-active .document-comment-card {
  border-color: #2e9b5e;
  border-left-color: #2e9b5e;
  box-shadow: 0 0 0 3px rgba(55, 166, 107, .32), 0 18px 42px rgba(16, 24, 32, .22), 0 0 22px rgba(55, 166, 107, .2);
}
.document-comment-card-tab-addressed .document-comment-missing-anchor {
  border-color: #9bd6b3;
  background: #ecfff2;
  color: #17613b;
}
.document-comment-highlight,
.document-branch-addition { border-radius: 3px; padding: 0 .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
::highlight(document-comment-draft-anchor) { background-color: rgba(255, 184, 190, .72); color: inherit; }
::highlight(document-comment-response-draft) { background-color: rgba(95, 201, 132, .52); color: inherit; }
.document-comment-highlight.is-document-comment-active { outline: 2px solid rgba(124, 86, 0, .5); box-shadow: 0 0 0 3px rgba(255, 242, 168, .58), 0 0 18px 5px rgba(255, 216, 84, .62); animation: document-comment-highlight-pulse 1.4s ease-in-out infinite; }
.document-comment-response-highlight.is-document-comment-active { outline: 2px solid rgba(46, 155, 94, .68); box-shadow: 0 0 0 3px rgba(187, 247, 208, .66), 0 0 20px 5px rgba(55, 166, 107, .48); }
@keyframes document-comment-highlight-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.14); }
}
.document-comment-branch-option { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: 12px; font-weight: 800; line-height: 1.25; }
.document-comment-branch-option input { margin-top: 2px; }
.document-comment-history { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.document-comment-history-list { display: grid; gap: 8px; }
.document-comment-history-item { border: 1px solid #d6e2e5; border-radius: 8px; padding: 10px; background: #f8fafb; }
.document-comment-history-item p { margin: 6px 0; white-space: pre-wrap; }
.document-comment-history-item .document-comment-review-panel { margin: 8px 0; }
.document-comment-history-item-addressed { border-color: #9bd6b3; background: #f4fff7; }
.document-review-dashboard { display: grid; gap: 10px; margin: 14px 0; border: 1px solid #cfe3df; border-radius: 8px; padding: 12px; background: #f7fbfa; }
.document-review-dashboard-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: #33424d; }
.document-review-dashboard-heading strong { font-size: 15px; }
.document-review-dashboard-heading span { color: var(--muted); font-size: 12px; font-weight: 800; }
.document-review-dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.document-review-dashboard-section { display: grid; gap: 7px; border: 1px solid #d8e5e2; border-radius: 8px; padding: 9px; background: #ffffff; }
.document-review-dashboard-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #273743; font-size: 12px; font-weight: 900; }
.document-review-dashboard-section-heading span { display: inline-flex; justify-content: center; align-items: center; min-width: 24px; min-height: 24px; border-radius: 999px; background: #eaf4f2; color: #0b5f58; }
.document-review-dashboard-statuses { display: flex; flex-wrap: wrap; gap: 5px; }
.document-review-dashboard-status { border: 1px solid #d7e1e5; border-radius: 999px; padding: 3px 7px; background: #f7fafb; color: #4d5f6d; font-size: 11px; font-weight: 900; }
.document-review-dashboard-status.is-addressed { border-color: #9bd6b3; background: #e6f8ed; color: #17613b; }
.document-review-dashboard-status.is-empty { color: #6b7d87; }
.document-comment-account-note { border: 1px solid #d6e2e5; border-radius: 8px; padding: 10px 12px; background: #f8fafb; color: var(--muted); font-weight: 800; }
.document-comment-hint { border-color: #c6ded6; background: #f7fbf9; color: #47615c; }
.document-comment-status { position: fixed; right: 18px; bottom: 18px; z-index: 3000; min-height: 18px; border: 1px solid #b9c9ce; border-radius: 8px; padding: 9px 12px; background: #ffffff; color: var(--muted); box-shadow: 0 10px 24px rgba(16, 24, 32, .16); font-size: 12px; font-weight: 800; }
.document-comment-status:empty { display: none; }
.document-comment-status.is-error { color: #9c2d2d; }
.document-preview-comment-surface { position: relative; }
.document-preview-comment-rails { position: absolute; z-index: 95; top: 36px; display: grid; gap: 10px; align-content: start; pointer-events: none; scrollbar-width: thin; }
.document-preview-comment-rails .document-comment-tab,
.document-preview-comment-rails .document-comment-marker,
.document-preview-comment-rails .document-comment-add-button,
.document-preview-comment-rails .document-comment-login-note,
.document-preview-comment-rails .document-comment-popover,
.document-preview-comment-rails .document-comment-card { pointer-events: auto; }
.document-preview-comment-rails-left { left: 8px; will-change: transform; }
.document-preview-comment-rails-right { right: 8px; padding-right: 2px; overflow-y: auto; overscroll-behavior: contain; pointer-events: auto; will-change: transform; }
.document-preview-comment-rails-right .document-comment-card-tab { transform: none !important; }
.document-preview-comment-rails .document-comment-add-popover { box-sizing: border-box; height: var(--document-comment-composer-height, auto); overflow: hidden; grid-template-rows: auto minmax(0, 1fr) auto; }
.document-preview-comment-rails .document-comment-add-popover .document-comment-popover-body { overflow-y: auto; padding-right: 2px; grid-template-rows: auto auto minmax(96px, 1fr) auto; }
.document-preview-comment-rails .document-comment-add-popover textarea { min-height: 96px; height: 100%; overflow: auto; }
.document-preview-comment-rails-left-comments { top: 170px; }
.document-preview-comment-rails-comments-offset { top: 170px; }
.document-preview-comment-rails-left .document-comment-popover { left: 0; top: 126px; }
.document-preview-comment-rails-right .document-comment-popover { right: 0; top: 126px; }
.document-preview-text-content { margin: 0; white-space: pre-wrap; overflow-wrap: break-word; font: inherit; color: inherit; }
.canonical-document-preview.document-preview-comment-surface .document-preview-comment-rails { top: 92px; }
.canonical-document-preview.document-preview-comment-surface .document-preview-comment-rails-left-comments { top: 226px; }
.canonical-document-preview.document-preview-comment-surface .document-preview-comment-rails-comments-offset { top: 226px; }
.volume-edit-access-panel { margin: 1rem 0; border: 1px solid #c9d3dd; border-radius: 8px; padding: .85rem 1rem; background: #f7fafc; }
.volume-edit-access-panel p { margin: 0; }
.volume-edit-calendar { margin-top: .65rem; }
.volume-edit-reservation-list { display: grid; gap: .4rem; margin: .65rem 0; padding: 0; list-style: none; }
.volume-edit-reservation-list li,
.volume-edit-reservation-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.volume-edit-reservation-list li { justify-content: space-between; }
.volume-edit-reservation-form input,
.volume-edit-reservation-form select { width: auto; min-width: 9rem; }
.compact-row { margin-top: .65rem; }
.live-preview-readable-text { box-sizing: border-box; width: 8.5in; min-height: 11in; border: 1px solid #9aa8b5; padding: 1in; background: #fff; box-shadow: 0 14px 36px rgba(16, 24, 32, .24); font: 10pt/1.25 Arial, Helvetica, sans-serif; }
.structured-volume-field { min-width: 0; margin: 0; border: 0; padding: 0; }
.structured-volume-field.document-comment-shell { padding-inline: 40px; }
.structured-volume-table { width: 100%; table-layout: fixed; border-collapse: collapse; background: #fff; }
.structured-volume-table th,
.structured-volume-table td { border: 1px solid var(--line); padding: 8px; vertical-align: top; }
.structured-volume-table th { background: #eef3f4; color: var(--text); font-size: 12px; text-align: left; text-transform: uppercase; }
.structured-volume-table .structured-sow-title { background: #d9eaf7; text-align: center; text-transform: none; }
.structured-volume-table .structured-key-personnel-title { background: #d9eaf7; text-align: center; text-transform: none; }
.structured-volume-table .structured-cost-title { background: #d9eaf7; text-align: center; text-transform: none; }
.structured-volume-table input,
.structured-volume-table textarea { display: block; width: 100%; box-sizing: border-box; margin: 0; border: 1px solid #ccd6df; border-radius: 6px; background: #fff; font-size: 14px; line-height: 1.35; }
.structured-volume-table textarea { min-height: 52px; overflow: hidden; resize: none; }
.structured-table-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.structured-table-actions button { width: auto; min-height: 34px; padding: 8px 12px; }
.rich-text-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.rich-text-toolbar button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 34px; min-width: 34px; min-height: 32px; padding: 6px; background: #e4e9ed; color: var(--text); font-size: 13px; }
.rich-text-toolbar button:disabled { cursor: not-allowed; opacity: .46; }
.rich-text-menu { position: relative; display: inline-flex; align-items: stretch; }
.rich-text-toolbar .rich-text-menu-trigger { width: auto; min-width: 58px; padding-inline: 10px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.rich-text-menu-panel { position: absolute; z-index: 40; top: calc(100% + 5px); left: 0; display: none; min-width: 190px; border: 1px solid var(--line); border-radius: 8px; padding: 7px; background: #ffffff; box-shadow: 0 10px 24px rgba(16, 24, 32, .16); }
.rich-text-menu:hover .rich-text-menu-panel,
.rich-text-menu:focus-within .rich-text-menu-panel { display: grid; gap: 5px; }
.rich-text-toolbar .rich-text-menu-panel button { justify-content: flex-start; width: 100%; min-width: 0; gap: 9px; padding: 7px 9px; font-size: 13px; font-weight: 800; text-align: left; }
.rich-text-menu-panel .rt-icon { flex: 0 0 18px; }
.rt-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; color: currentColor; font-weight: 900; line-height: 1; }
.rt-bold { font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 900; }
.rt-italic { font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-style: italic; font-weight: 900; }
.rt-underline { font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-weight: 900; text-decoration: underline; text-underline-offset: 2px; }
.rt-justify-letter { font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 900; }
.rt-clear { font-size: 12px; font-weight: 900; text-decoration: line-through; }
.rt-list-bulleted::before { content: "•"; position: absolute; left: 1px; top: -1px; font-size: 19px; line-height: 1; }
.rt-list-bulleted::after { content: ""; position: absolute; right: 1px; top: 4px; width: 11px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor; }
.rt-list-numbered::before { content: "1"; position: absolute; left: 0; top: 1px; font-size: 9px; line-height: 1; box-shadow: 0 5px 0 transparent, 0 10px 0 transparent; }
.rt-list-numbered::after { content: ""; position: absolute; right: 1px; top: 4px; width: 11px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor; }
.rt-indent::before,
.rt-outdent::before { content: ""; position: absolute; right: 1px; top: 4px; width: 11px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor; }
.rt-indent::after { content: "›"; position: absolute; left: 0; top: -2px; font-size: 22px; font-weight: 900; }
.rt-outdent::after { content: "‹"; position: absolute; left: 0; top: -2px; font-size: 22px; font-weight: 900; }
.rt-align-left,
.rt-align-center,
.rt-align-right,
.rt-align-justify { align-items: flex-start; }
.rt-align-left::before,
.rt-align-center::before,
.rt-align-right::before,
.rt-align-justify::before { content: ""; position: absolute; top: 3px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor; }
.rt-align-left::before { left: 1px; width: 16px; }
.rt-align-center::before { left: 3px; width: 12px; }
.rt-align-right::before { right: 1px; width: 16px; }
.rt-align-justify::before { left: 1px; width: 16px; box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor, 0 15px 0 currentColor; }
.rt-image { border: 2px solid currentColor; border-radius: 2px; }
.rt-image::before { content: ""; position: absolute; left: 3px; bottom: 3px; width: 11px; height: 7px; background: currentColor; clip-path: polygon(0 100%, 35% 45%, 55% 72%, 72% 28%, 100% 100%); }
.rt-image::after { content: ""; position: absolute; right: 3px; top: 3px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.rt-table,
.rt-table-row-add,
.rt-table-row-remove,
.rt-table-col-add,
.rt-table-col-remove { border: 2px solid currentColor; border-radius: 2px; }
.rt-table::before,
.rt-table-row-add::before,
.rt-table-row-remove::before,
.rt-table-col-add::before,
.rt-table-col-remove::before { content: ""; position: absolute; inset: 4px 0 auto; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor; }
.rt-table::after,
.rt-table-row-add::after,
.rt-table-row-remove::after,
.rt-table-col-add::after,
.rt-table-col-remove::after { content: ""; position: absolute; top: 0; bottom: 0; left: 7px; width: 2px; background: currentColor; }
.rt-table-row-add { box-shadow: 0 8px 0 -5px currentColor; }
.rt-table-row-remove { box-shadow: 0 8px 0 -5px #fff, 0 8px 0 -4px currentColor; }
.rt-table-col-add { box-shadow: 8px 0 0 -5px currentColor; }
.rt-table-col-remove { box-shadow: 8px 0 0 -5px #fff, 8px 0 0 -4px currentColor; }
.rt-table-row-add::after,
.rt-table-row-remove::after,
.rt-table-col-add::after,
.rt-table-col-remove::after { box-shadow: none; }
.rich-text-toolbar button[data-rich-table="add-row"]::after,
.rich-text-toolbar button[data-rich-table="remove-row"]::after,
.rich-text-toolbar button[data-rich-table="add-column"]::after,
.rich-text-toolbar button[data-rich-table="remove-column"]::after { position: absolute; left: 21px; bottom: 5px; display: grid; place-items: center; width: 11px; height: 11px; border-radius: 50%; background: #ffffff; color: currentColor; font-size: 10px; font-weight: 900; line-height: 1; }
.rich-text-toolbar button[data-rich-table="add-row"]::after,
.rich-text-toolbar button[data-rich-table="add-column"]::after { content: "+"; }
.rich-text-toolbar button[data-rich-table="remove-row"]::after,
.rich-text-toolbar button[data-rich-table="remove-column"]::after { content: "-"; }
.rich-text-size-control,
.rich-text-font-control,
.rich-text-image-size-control { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin: 0; padding: 0 0 0 4px; color: var(--muted); font-size: 13px; font-weight: 800; }
.rich-text-size-control select,
.rich-text-font-control select { min-height: 32px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--text); font: inherit; }
.rich-text-font-control select { max-width: 150px; }
.rich-text-image-size-control[hidden] { display: none; }
.rich-text-image-size-control input[type="range"] { width: 112px; accent-color: var(--accent); }
.rich-text-image-size-control output { min-width: 44px; color: var(--text); font-variant-numeric: tabular-nums; }
.rich-text-toolbar button:hover,
.rich-text-toolbar button:focus { background: #d8e1e6; outline: none; }
.rich-text-toolbar button.active,
.rich-text-toolbar button[aria-pressed="true"] { background: #1f4f8f; color: #ffffff; }
.rich-text-toolbar button.active:hover,
.rich-text-toolbar button[aria-pressed="true"]:hover,
.rich-text-toolbar button.active:focus,
.rich-text-toolbar button[aria-pressed="true"]:focus { background: #183f73; color: #ffffff; }
.rich-text-editor { min-height: 132px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fff; color: var(--text); font: 400 15px/1.35 Inter, ui-sans-serif, system-ui, sans-serif; }
.rich-text-editor:focus { outline: 2px solid #a8df99; outline-offset: 1px; }
.rich-text-editor.missing-required { border-color: #e2a4a4; background: #fff8f8; outline-color: #e2a4a4; }
.document-prefill-note { border: 1px solid #96d8c6; border-radius: 8px; padding: 10px 12px; background: #f4fbf8; color: var(--accent-dark); font-weight: 700; }
.permission-report { display: block; margin: 4px 0; color: var(--accent-dark); font-size: 13px; font-weight: 800; line-height: 1.35; }
.rich-text-editor ul,
.rich-text-editor ol { margin: 8px 0; padding-left: 24px; }
.rich-text-editor table { width: 100%; margin: 10px 0; border-collapse: collapse; }
.rich-text-editor td,
.rich-text-editor th { min-width: 80px; border: 1px solid #9ca8b3; padding: 7px; text-align: left; vertical-align: top; }
.rich-text-editor th { background: #eef3f4; font-weight: 800; text-transform: none; }
.rich-text-editor img { display: block; max-width: 100%; height: auto; margin: 8px 0; border: 1px solid #d7dee5; }
.rich-text-editor [style*="text-align: center"] > img[data-rich-image],
.rich-text-editor [style*="text-align: center"] > img[src^="data:image/"] { margin-left: auto; margin-right: auto; }
.rich-text-editor [style*="text-align: right"] > img[data-rich-image],
.rich-text-editor [style*="text-align: right"] > img[src^="data:image/"] { margin-left: auto; margin-right: 0; }
.rich-text-editor [style*="text-align: left"] > img[data-rich-image],
.rich-text-editor [style*="text-align: left"] > img[src^="data:image/"] { margin-left: 0; margin-right: auto; }
.rich-text-editor img.rich-image-selected { outline: 3px solid #1f4f8f; outline-offset: 2px; }
.rich-image-resize-box { position: absolute; z-index: 2000; box-sizing: border-box; border: 2px solid #1f4f8f; pointer-events: none; }
.rich-image-resize-handle { position: absolute; width: 13px; height: 13px; border: 2px solid #ffffff; border-radius: 50%; background: #1f4f8f; box-shadow: 0 1px 4px rgba(16, 24, 32, .28); pointer-events: auto; touch-action: none; }
.rich-image-resize-handle[data-rich-image-resize-handle="nw"] { left: -8px; top: -8px; cursor: nwse-resize; }
.rich-image-resize-handle[data-rich-image-resize-handle="ne"] { right: -8px; top: -8px; cursor: nesw-resize; }
.rich-image-resize-handle[data-rich-image-resize-handle="sw"] { left: -8px; bottom: -8px; cursor: nesw-resize; }
.rich-image-resize-handle[data-rich-image-resize-handle="se"] { right: -8px; bottom: -8px; cursor: nwse-resize; }
body.rich-image-resizing { cursor: nwse-resize; user-select: none; }
.rich-text-source { display: none; }
.document-page-stage,
.saved-document-page-stage { width: 100%; overflow: auto; border: 1px solid #cfd8e1; border-radius: 8px; padding: 30px 22px; background: #edf1f4; }
.document-pages,
.saved-document-editor { display: grid; justify-content: center; gap: 38px; width: max-content; min-width: 100%; margin: 0 auto; border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; color: var(--text); font-family: Arial, Helvetica, sans-serif; font-size: 10pt; line-height: 1; }
.document-pages { counter-reset: document-page; }
.document-page { position: relative; box-sizing: border-box; width: 8.5in; height: 11in; min-height: 11in; overflow: hidden; margin: 0 auto; border: 1px solid #9aa8b5; border-radius: 2px; padding: 1in; background: #fff; box-shadow: 0 14px 36px rgba(16, 24, 32, .24); color: var(--text); counter-increment: document-page; font-family: Arial, Helvetica, sans-serif; font-size: 10pt; line-height: 1; white-space: normal; }
.document-page::after { content: counter(document-page); position: absolute; right: 1in; bottom: .45in; left: 1in; text-align: center; font: 10pt/1 Arial, Helvetica, sans-serif; color: var(--text); pointer-events: none; }
.document-page-header { position: absolute; top: .35in; right: 1in; left: 1in; font: 10pt/1.05 Arial, Helvetica, sans-serif; color: var(--text); pointer-events: none; user-select: none; -webkit-user-select: none; }
.document-page-header-line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0; }
.document-page-header-line-single { display: block; }
.document-page.document-page-overflow { height: auto; overflow: visible; box-shadow: 0 10px 28px rgba(155, 92, 0, .18); }
.document-page p,
.document-page div { margin: 0; }
.document-page ul,
.document-page ol { margin: 0; padding-left: 24px; }
.document-page li { margin: 0; }
.document-page table { width: 100%; margin: 0; border-collapse: collapse; }
.document-page td,
.document-page th { min-width: 80px; border: 1px solid #9ca8b3; padding: 7px; text-align: left; vertical-align: top; overflow-wrap: break-word; }
.document-page th { background: #eef3f4; font-weight: 800; text-transform: none; }
.document-page .sow-document-table { table-layout: fixed; }
.document-page .sow-document-table td,
.document-page .key-personnel-document-table td { padding: 5px 7px; font-size: 9pt; line-height: 1.05; }
.document-page .sow-document-table td:first-child { white-space: nowrap; overflow-wrap: normal; }
.document-page .sow-document-table tr:first-child td { background: #d9eaf7; font-weight: 800; text-align: center; }
.document-page .sow-document-table tr:nth-child(2) td { background: #eaf3f8; font-weight: 800; text-align: center; }
.document-page .key-personnel-document-table { table-layout: fixed; }
.document-page .key-personnel-document-table tr:first-child td { background: #d9eaf7; font-weight: 800; text-align: center; }
.document-page .key-personnel-document-table tr:nth-child(2) td { background: #eaf3f8; font-weight: 800; text-align: center; }
.document-page .calculated-document-cell { background: #eef2f5; color: #4f5b66; cursor: not-allowed; }
.document-page .calculated-document-cell:hover { background: #e5ebef; }
.document-page img { display: block; max-width: 100%; height: auto; margin: 0; border: 1px solid #d7dee5; }
.document-preview-page-stage { background: #edf1f4; }
.live-preview-empty { display: grid; min-height: 180px; place-items: center; border: 1px dashed #9aa8b2; border-radius: 8px; padding: 18px; background: #f4f7f8; color: #596b78; font-weight: 800; text-align: center; }
.readonly-document-preview .document-page { user-select: none; -webkit-user-select: none; }
.saved-document-editor { min-height: 0; }
.saved-document-editor .document-page { cursor: text; }
.saved-document-editor:focus { outline: none; }
.saved-document-editor:focus .document-page:first-child { outline: 2px solid #a8df99; outline-offset: 1px; }
.saved-document-editor.missing-required .document-page { border-color: #e2a4a4; background: #fff8f8; outline-color: #e2a4a4; }
.saved-document-editor img { max-width: 100%; height: auto; }
.controlled-document-page-stage { margin-top: 14px; }
.controlled-document-editor-form .document-page { cursor: default; }
.controlled-document-fields-panel { display: grid; gap: 16px; margin-top: 14px; border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #fbfcfd; }
.controlled-document-fields-panel .controlled-document-section { margin: 0; border-bottom: 1px solid #e3e9ee; padding-bottom: 14px; }
.controlled-document-fields-panel .controlled-document-section:last-child { border-bottom: 0; padding-bottom: 0; }
.controlled-document-fields-panel .controlled-document-heading { margin-bottom: 8px; font-size: 14px; line-height: 1.2; }
.controlled-document-fields-panel .controlled-document-field .rich-text-toolbar,
.controlled-document-fields-panel .controlled-document-table-actions { position: static; display: flex; max-width: 100%; margin: 0 0 8px; box-shadow: none; }
.controlled-document-fields-panel .controlled-document-rich-text { min-height: 122px; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; background: #fff; font: 400 14px/1.4 Arial, Helvetica, sans-serif; }
.controlled-document-fields-panel .controlled-document-input { border: 1px solid var(--line); border-radius: 6px; padding: 9px; background: #fff; font: 400 14px/1.3 Arial, Helvetica, sans-serif; }
.controlled-document-fields-panel .controlled-document-table { background: #fff; }
.controlled-document-fields-panel .controlled-document-table input,
.controlled-document-fields-panel .controlled-document-table textarea { border-color: var(--line); background: #fff; }
.controlled-document-section { position: relative; margin: 0 0 10px; }
.controlled-document-heading { margin: 0 0 4px; font: 700 11pt/1.05 Arial, Helvetica, sans-serif; }
.controlled-document-field { position: relative; display: block; min-width: 0; }
.controlled-document-field .rich-text-toolbar { position: absolute; z-index: 30; top: -38px; left: 0; display: none; max-width: 6.5in; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: rgba(247, 250, 251, .98); box-shadow: 0 8px 20px rgba(16, 24, 32, .16); }
.controlled-document-field:focus-within .rich-text-toolbar { display: flex; }
.controlled-document-rich-text { min-height: 22px; border: 1px solid transparent; border-radius: 2px; padding: 2px; background: transparent; font: 400 10pt/1.05 Arial, Helvetica, sans-serif; }
.controlled-document-rich-text:hover { border-color: #cbd6df; background: #fbfdff; }
.controlled-document-rich-text:focus { outline: 2px solid #7fcf73; outline-offset: 1px; background: #fff; }
.controlled-document-rich-text p { margin: 0; }
.controlled-document-rich-text ul,
.controlled-document-rich-text ol { margin: 0; padding-left: 24px; }
.controlled-document-rich-text img { max-width: 100%; height: auto; margin: 4px 0; }
.controlled-document-input { display: block; width: 100%; box-sizing: border-box; border: 1px solid transparent; border-radius: 2px; padding: 2px; background: transparent; color: var(--text); font: 400 10pt/1.05 Arial, Helvetica, sans-serif; }
.controlled-document-input:hover { border-color: #cbd6df; background: #fbfdff; }
.controlled-document-input:focus { border-color: #7fcf73; outline: 2px solid #7fcf73; outline-offset: 1px; background: #fff; }
.controlled-document-table { table-layout: fixed; }
.controlled-document-table td { padding: 5px 7px; font: 400 9pt/1.05 Arial, Helvetica, sans-serif; }
.controlled-document-table tr:first-child td,
.controlled-document-table-title { background: #d9eaf7; font-weight: 800; text-align: center; }
.controlled-document-table tr:nth-child(2) td { background: #eaf3f8; font-weight: 800; text-align: center; }
.controlled-document-table input,
.controlled-document-table textarea { display: block; width: 100%; box-sizing: border-box; min-height: 20px; margin: 0; border: 1px solid transparent; border-radius: 2px; padding: 1px 2px; background: transparent; color: var(--text); font: inherit; resize: none; overflow: hidden; }
.controlled-document-table input:hover,
.controlled-document-table textarea:hover { border-color: #cbd6df; background: #fbfdff; }
.controlled-document-table input:focus,
.controlled-document-table textarea:focus { border-color: #7fcf73; outline: 2px solid #7fcf73; outline-offset: 1px; background: #fff; }
.controlled-document-table-field { position: relative; }
.controlled-document-table-actions { position: absolute; z-index: 30; top: -38px; left: 0; display: none; margin: 0; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: rgba(247, 250, 251, .98); box-shadow: 0 8px 20px rgba(16, 24, 32, .16); }
.controlled-document-table-field:focus-within .controlled-document-table-actions { display: flex; }
.controlled-document-save-row { justify-content: flex-end; margin-top: 14px; }
.source-link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px; margin-top: 12px; }
.source-link { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #fbfcfd; font-weight: 700; }
.source-link:hover, .source-link:focus { background: #effbea; border-color: #a8df99; outline: none; }
.bibliography-heading { margin: 16px 0 8px; font-size: 15px; }
.ieee-bibliography { margin: 0; padding-left: 0; list-style: none; counter-reset: ieee-source; }
.ieee-bibliography li { counter-increment: ieee-source; margin-bottom: 9px; padding-left: 34px; position: relative; line-height: 1.45; }
.ieee-bibliography li::before { content: "[" counter(ieee-source) "]"; position: absolute; left: 0; color: var(--text); }
.plain-source-url { color: #0645ad; text-decoration: underline; overflow-wrap: anywhere; }
.formatting-title-row { align-items: flex-start; margin-bottom: 12px; }
.formatting-context-pills { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.formatting-context-chip { display: inline-flex; align-items: stretch; min-height: 30px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: white; font-size: 12px; font-weight: 800; white-space: nowrap; }
.formatting-context-label { display: inline-flex; align-items: center; padding: 5px 8px; background: #eef2f4; color: #526272; text-transform: uppercase; }
.formatting-context-value { display: inline-flex; align-items: center; padding: 5px 10px; color: white; }
.agency-chip.navy { background: #2d5f9b; }
.agency-chip.army { background: #3f7446; }
.agency-chip.air-force { background: #745299; }
.agency-chip.unset { background: #5f6670; }
.topic-type-chip { background: #cf8d86; color: #2a1311; }
.rule-summary-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 10px 0 14px; }
.rule-summary-grid div { border: 1px solid var(--line); border-radius: 6px; padding: 8px; background: #fbfcfd; }
.rule-summary-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.rule-summary-grid strong { display: block; margin-top: 3px; font-size: 13px; }
@media (max-width: 900px) {
  .rule-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.compliance-card { margin-top: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fbfcfd; }
.compliance-card.ready { background: #effbea; border-color: #a8df99; }
.compliance-card.needs_review { background: #fff8e8; border-color: #ead196; }
.compliance-card.not_ready { background: #fff1f1; border-color: #e2a4a4; }
.compliance-card h3 { margin: 0; }
.compliance-card h4 { margin: 12px 0 6px; font-size: 13px; text-transform: uppercase; }
.compliance-card ul { margin: 0; padding-left: 20px; }
.panel, .card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.card h3, .panel h2 { margin-top: 0; }
.document-volume-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.document-volume-card > div { min-width: 0; }
.document-volume-card h3 { margin: 0 0 4px; }
.document-volume-card .button { flex: 0 0 auto; }
.muted { color: var(--muted); }
.warn { color: var(--warn); font-weight: 700; }
.bad { color: var(--bad); font-weight: 700; }
.notice { display: grid; gap: 8px; margin: 12px 0; border: 1px solid #b9dfcd; border-radius: 8px; padding: 12px; background: #f0faf5; }
.notice input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.notice p { margin: 0; }
table { width: 100%; border-collapse: collapse; background: white; border: 1px solid var(--line); }
th, td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #eef3f4; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; text-align: center; }
.user-accounts-table td { text-align: center; vertical-align: middle; }
.user-accounts-table .user-role { font-weight: 800; }
.user-accounts-table .privileged-user-role { font-weight: 900; }
.activity-table td { vertical-align: top; }
.activity-table td span.muted { display: block; margin-top: 3px; overflow-wrap: anywhere; }
.activity-current-users-table th,
.activity-current-users-table td { text-align: center; vertical-align: middle; }
.activity-current-users-table tr[data-account-id].dragging { opacity: .48; }
.activity-current-users-table tr[data-account-id].drag-over td { border-top: 3px solid var(--accent); }
.activity-status { display: inline-flex; align-items: center; min-width: 74px; justify-content: center; border-radius: 999px; padding: 4px 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.activity-status-active { background: #e7f6df; color: #1c5c22; }
.activity-status-editing { background: #dceefa; color: #164a72; }
.activity-status-idle { background: #fff3c9; color: #6a4500; }
.activity-status-offline { background: #eef1f3; color: #60707b; }
.activity-now { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; border-radius: 999px; padding: 4px 10px; background: #087333; color: #ffffff; border: 1px solid #045527; box-shadow: 0 2px 8px rgba(8, 115, 51, 0.24); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.activity-date-label { display: inline-flex; align-items: center; justify-content: center; }
.activity-date-today,
.activity-date-yesterday { min-width: 82px; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.activity-date-today { background: #d7f7d7; color: #145c1f; }
.activity-date-yesterday { background: #fff3c9; color: #6a4500; }
.activity-event-preview { max-width: 760px; margin-top: 8px; outline: none; }
.activity-event-preview-shell {
  display: grid;
  gap: 4px;
  border: 1px solid #d8e3e8;
  border-left: 4px solid #1f6f68;
  border-radius: 8px;
  padding: 8px 10px;
  background: #f7faf9;
  color: #2b3a43;
}
.activity-event-preview-label { color: #536372; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.activity-event-preview-summary { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-event-context { display: grid; gap: 8px; margin-top: 10px; }
.activity-event-preview .activity-event-context {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .16s ease, margin-top .16s ease, opacity .16s ease;
}
.activity-event-preview:hover .activity-event-context,
.activity-event-preview:focus-within .activity-event-context {
  max-height: 520px;
  margin-top: 8px;
  overflow: auto;
  opacity: 1;
}
.activity-context-item { border: 1px solid #d8e3e8; border-left: 4px solid #9ab8b3; border-radius: 8px; padding: 8px 10px; background: #f7faf9; color: #2b3a43; }
.activity-context-user { border-left-color: #1f6f68; background: #eef9f6; }
.activity-context-label { margin-bottom: 4px; color: #536372; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.activity-context-meta { margin-bottom: 4px; color: #60707b; font-size: 12px; font-weight: 700; }
.activity-context-text { overflow-wrap: anywhere; white-space: pre-wrap; }
.activity-context-user-message { font-weight: 900; }
.credential-decoys { position: fixed; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.credential-safe-form input[readonly] { cursor: text; background: #fff; }
.linked-table-row { cursor: pointer; }
.linked-table-row:hover td,
.linked-table-row:focus td { background: #effbea; border-top-color: #a8df99; border-bottom-color: #a8df99; }
.linked-table-row:hover td:first-child,
.linked-table-row:focus td:first-child { border-left: 1px solid #a8df99; }
.linked-table-row:hover td:last-child,
.linked-table-row:focus td:last-child { border-right: 1px solid #a8df99; }
.linked-table-row:focus { outline: none; }
.labor-quote-table td { text-align: center; vertical-align: middle; }
.labor-quote-summary-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 10px; margin-top: 14px; align-items: stretch; }
.labor-quote-summary-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fbfcfd; text-align: center; }
.labor-quote-summary-card div { min-width: 0; }
.labor-quote-summary-card span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.labor-quote-summary-card strong { display: block; color: var(--text); font-size: 18px; line-height: 1.2; }
.labor-quote-summary-card p { margin: 4px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.option-state-word,
.labor-quote-summary-card p .option-state-word,
.dashboard-cost-grid small .option-state-word { display: inline; margin: 0; color: #7a1414; font-size: inherit; font-weight: inherit; text-transform: none; }
[data-theme="night"] .option-state-word { color: #ff9f9f; }
[data-theme="night"] .dashboard-cost-grid small .option-state-word,
[data-theme="night"] .labor-quote-summary-card p .option-state-word { color: #7a1414; }
.total-quote-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.total-quote-summary-card { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fbfcfd; text-align: center; }
.total-quote-summary-card > span,
.phase-total-quote-card > span,
.quote-cost-bucket summary span,
.quote-cost-bucket-values span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.total-quote-summary-card strong { display: block; margin-top: 5px; font-size: 20px; line-height: 1.2; }
.total-quote-summary-card p { margin: 5px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.phase-total-title-text { color: var(--accent-dark); }
.phase-total-quote-grid { display: grid; gap: 10px; margin-top: 10px; }
.phase-total-quote-card { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; background: #fbfcfd; text-align: center; }
.phase-total-quote-card strong { display: block; margin-top: 7px; font-size: 24px; line-height: 1.2; }
.total-quote-final-card { background: #f8fbfa; border-color: #b9dfcd; }
[data-theme="night"] .labor-quote-summary-card,
[data-theme="night"] .total-quote-summary-card,
[data-theme="night"] .phase-total-quote-card,
[data-theme="night"] .quote-cost-bucket,
[data-theme="night"] .quote-cost-bucket[open],
[data-theme="night"] .quote-cost-bucket-values div {
  border-color: #cbd8d4;
  background: #f8fbfa;
  color: #1d252c;
}
[data-theme="night"] .total-quote-final-card {
  border-color: #9fcdbb;
  background: #f1faf6;
}
[data-theme="night"] .labor-quote-summary-card span,
[data-theme="night"] .labor-quote-summary-card p,
[data-theme="night"] .total-quote-summary-card > span,
[data-theme="night"] .total-quote-summary-card p,
[data-theme="night"] .phase-total-quote-card > span,
[data-theme="night"] .quote-cost-bucket summary span,
[data-theme="night"] .quote-cost-bucket-values span {
  color: #4f6270;
}
[data-theme="night"] .labor-quote-summary-card strong,
[data-theme="night"] .total-quote-summary-card strong,
[data-theme="night"] .phase-total-quote-card strong,
[data-theme="night"] .quote-cost-bucket strong,
[data-theme="night"] .quote-cost-bucket-values strong {
  color: #1d252c;
}
.quote-cost-bucket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-top: 12px; }
.quote-cost-bucket { border: 1px solid var(--line); border-radius: 8px; background: #ffffff; overflow: hidden; }
.quote-cost-bucket[open] { grid-column: span 2; background: #fbfcfd; }
.quote-cost-bucket summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px; cursor: pointer; list-style: none; }
.quote-cost-bucket summary::-webkit-details-marker { display: none; }
.quote-cost-bucket summary:hover,
.quote-cost-bucket summary:focus { background: #effbea; outline: none; }
.quote-cost-bucket summary strong { font-size: 18px; }
.quote-cost-bucket-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 12px 12px; }
.quote-cost-bucket-values div { border: 1px solid var(--line); border-radius: 8px; padding: 9px; background: white; text-align: center; }
.quote-cost-bucket-values strong { display: block; margin-top: 3px; }
.quote-cost-bucket-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 12px 12px; }
.quote-cost-bucket-form label { margin: 0; }
.quote-cost-bucket-form textarea { min-height: 72px; }
.quote-cost-bucket-form button { grid-column: 1 / -1; }
.subcontractor-table td { vertical-align: middle; }
.subcontractor-table td:nth-child(4),
.subcontractor-table td:nth-child(5),
.subcontractor-table td:nth-child(6) { text-align: right; white-space: nowrap; }
.subcontractor-notes { display: block; margin-top: 3px; overflow-wrap: anywhere; }
.subcontractor-entry-form { margin-top: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfd; }
.subcontractor-entry-form summary { padding: 12px; cursor: pointer; font-weight: 800; color: var(--accent-dark); }
.subcontractor-entry-form form { padding: 0 12px 12px; }
.email-cell { inline-size: 210px; max-inline-size: 210px; position: relative; overflow: visible; }
.people-table td { text-align: center; }
.location-cell span { display: block; }
.people-table tr[data-person-id]:hover td,
.people-table tr[data-person-id]:focus-within td { background: #effbea; border-top-color: #a8df99; border-bottom-color: #a8df99; }
.people-table tr[data-person-id]:hover td:first-child,
.people-table tr[data-person-id]:focus-within td:first-child { border-left: 1px solid #a8df99; }
.people-table tr[data-person-id]:hover td:last-child,
.people-table tr[data-person-id]:focus-within td:last-child { border-right: 1px solid #a8df99; }
.drag-cell { inline-size: 34px; }
.drag-handle { cursor: grab; color: var(--muted); font-weight: 800; letter-spacing: -2px; user-select: none; }
.people-table tr.dragging { opacity: .48; }
.people-table tr.drag-over td { border-top: 3px solid var(--accent); }
.bulletin-stack { display: grid; gap: 14px; margin-top: 16px; }
.bulletin-card { display: grid; gap: 14px; margin-bottom: 0; }
.bulletin-room-slot { margin: 16px 0 20px; }
.bulletin-room-slot .volume-room-chat { margin: 0; }
.bulletin-card.dragging { opacity: .52; }
.bulletin-card.drag-over { border-top: 3px solid var(--accent); }
.bulletin-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bulletin-card-header h2,
.bulletin-card-header p { margin: 0; }
.bulletin-card-header h2 { font-size: 22px; line-height: 1.2; }
.bulletin-card-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 800; white-space: nowrap; }
.small-button { min-height: 30px; padding: 6px 10px; font-size: 12px; line-height: 1; }
.bulletin-drag-handle { cursor: grab; color: var(--muted); font-size: 22px; font-weight: 900; letter-spacing: -2px; line-height: 1; user-select: none; }
.bulletin-markdown { display: grid; gap: 12px; color: var(--text); user-select: text; -webkit-user-select: text; }
.bulletin-markdown a { overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 2px; }
.bulletin-markdown .bulletin-image { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.bulletin-markdown h2,
.bulletin-markdown h3,
.bulletin-markdown h4,
.bulletin-markdown p,
.bulletin-markdown ul,
.bulletin-markdown ol { margin: 0; }
.bulletin-markdown h2 { margin-top: 6px; color: var(--accent-dark); font-size: 18px; line-height: 1.25; }
.bulletin-markdown h3,
.bulletin-markdown h4 { margin-top: 4px; color: #23323a; font-size: 15px; line-height: 1.25; }
.bulletin-markdown p,
.bulletin-markdown li { line-height: 1.45; }
.bulletin-markdown ul,
.bulletin-markdown ol { padding-left: 20px; }
.bulletin-card.document-preview-comment-surface {
  --document-comment-rail-gutter: calc(min(260px, 38vw) + 18px);
  position: relative;
  overflow: visible;
  padding-left: max(18px, var(--document-comment-rail-gutter));
  padding-right: max(18px, var(--document-comment-rail-gutter));
}
.bulletin-card .bulletin-markdown.document-preview-html {
  display: grid;
  height: auto;
  overflow: visible;
  padding: 0;
  white-space: normal;
  background: transparent;
  color: var(--text);
}
.bulletin-card.document-preview-comment-surface .document-preview-comment-rails { top: 18px; }
.bulletin-card.document-preview-comment-surface .document-preview-comment-rails-left-comments,
.bulletin-card.document-preview-comment-surface .document-preview-comment-rails-comments-offset { top: 146px; }
.bulletin-card.document-preview-comment-surface .document-preview-comment-rails-left .document-comment-popover,
.bulletin-card.document-preview-comment-surface .document-preview-comment-rails-right .document-comment-popover { top: 126px; }
@media (max-width: 980px) {
  .bulletin-card.document-preview-comment-surface {
    padding-left: 18px;
    padding-right: 18px;
  }
  .bulletin-card.document-preview-comment-surface .document-preview-comment-rails {
    position: static;
    transform: none !important;
    margin-top: 12px;
  }
}
.bulletin-table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.bulletin-table-scroll table { width: 100%; min-width: 760px; border-collapse: collapse; background: #fff; }
.bulletin-table-scroll th,
.bulletin-table-scroll td { border-bottom: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
.bulletin-table-scroll th { background: #edf4f4; color: #435564; font-size: 12px; text-transform: uppercase; }
.bulletin-table-scroll tr:last-child td { border-bottom: 0; }
.bulletin-editor-panel { display: grid; gap: 16px; }
.bulletin-editor-form { display: grid; gap: 16px; }
.bulletin-editor-layout { display: grid; grid-template-columns: minmax(320px, .95fr) minmax(320px, 1.05fr); gap: 16px; align-items: start; }
.bulletin-editor-source { display: grid; gap: 6px; margin: 0; }
.bulletin-editor-source textarea { min-height: 640px; font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; resize: vertical; }
.bulletin-editor-preview { display: grid; gap: 12px; max-height: 760px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #fbfcfd; }
.bulletin-editor-preview-heading { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 980px) {
  .bulletin-card-header,
  .bulletin-card-meta { flex-wrap: wrap; }
  .bulletin-editor-layout { grid-template-columns: 1fr; }
  .bulletin-editor-source textarea { min-height: 460px; }
}
.people-avatar-cell { inline-size: 46px; max-inline-size: 46px; padding-block: 6px; vertical-align: middle; }
.people-avatar-link { display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.people-avatar { display: inline-flex; width: 36px; height: 36px; max-width: 36px; max-height: 36px; border-radius: 50%; object-fit: cover; background: #e4e9ed; }
.people-placeholder-avatar { display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; }
.degrees-cell { inline-size: 200px; max-inline-size: 200px; position: relative; overflow: visible; }
.degrees-preview { position: relative; display: block; min-block-size: 38px; max-block-size: 44px; padding: 7px 9px; overflow: visible; border: 1px solid #cdd9dd; border-radius: 6px; background: #fff; text-align: left; line-height: 1.25; outline: none; }
.degrees-preview-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; white-space: normal; }
.degrees-expanded { display: none; position: absolute; z-index: 30; top: -1px; left: 50%; transform: translateX(-50%); inline-size: max-content; min-inline-size: 220px; max-inline-size: min(460px, 72vw); padding: 10px 12px; border: 1px solid #a8df99; border-radius: 6px; background: #effbea; box-shadow: 0 8px 20px rgba(16, 24, 32, .14); color: var(--text); text-align: left; white-space: normal; }
.degrees-preview:hover .degrees-expanded,
.degrees-preview:focus .degrees-expanded,
.degrees-preview:focus-within .degrees-expanded { display: block; }
.degrees-expanded-entry + .degrees-expanded-entry { margin-top: 1em; }
.degrees-expanded-title,
.degrees-expanded-university { display: block; }
.degrees-expanded-title { font-weight: 800; }
.degrees-expanded-university { margin-top: 3px; color: #32414c; font-weight: 400; }
.legacy-degrees-expanded { white-space: pre-line; }
.form-grid-full { grid-column: 1 / -1; }
.degree-editor { display: grid; gap: 8px; }
.degree-editor-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.degree-editor-header .field-label { margin: 0; }
.degree-entry-list { display: grid; gap: 8px; }
.degree-entry-row { display: grid; grid-template-columns: minmax(130px, .5fr) minmax(0, 1fr) minmax(0, .9fr) auto; gap: 10px; align-items: end; }
.degree-entry-row label { margin: 0; }
.degree-entry-row button { min-height: 37px; }
.profile-degree-entry + .profile-degree-entry { margin-top: 14px; }
.profile-degree-entry strong,
.profile-degree-entry span { display: block; }
.profile-degree-entry span { margin-top: 3px; color: var(--muted); font-weight: 700; }
.copy-email { display: block; inline-size: 190px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.copy-email:hover, .copy-email:focus { position: absolute; z-index: 30; top: 6px; left: 6px; inline-size: max-content; max-inline-size: min(560px, 70vw); padding: 4px 7px; overflow: visible; background: #effbea; border: 1px solid #a8df99; border-radius: 6px; box-shadow: 0 8px 20px rgba(16, 24, 32, .14); }
.copy-email.copied::after { content: " copied"; color: var(--muted); font-size: 12px; font-weight: 700; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-title-row h2 { margin: 0; }
.button-row { display: flex; align-items: center; gap: 8px; }
.button-row + .panel { margin-top: 16px; }
.volume-toolbar-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.volume-toolbar-row + .editing-presence-notice,
.volume-toolbar-row + .volume-workspace-top-grid,
.volume-toolbar-row + .panel { margin-top: 16px; }
.volume-toolbar-row .button-row { flex-wrap: wrap; }
.volume-toolbar-row .role-instructions { margin-left: auto; }
.topic-title-row { display: flex; align-items: flex-start; justify-content: space-between; column-gap: 40px; row-gap: 14px; margin-bottom: 18px; }
.topic-title-row h1 { min-width: 0; margin: 0; }
.button.topic-title-bulletin-button,
.button.secondary.topic-title-bulletin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 156px;
  min-height: 54px;
  margin-top: 2px;
  padding: 15px 24px;
  border: 1px solid #d85500;
  background: #ff6b00;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(255, 107, 0, .28);
}
.button.topic-title-bulletin-button:hover,
.button.topic-title-bulletin-button:focus-visible,
.button.secondary.topic-title-bulletin-button:hover,
.button.secondary.topic-title-bulletin-button:focus-visible {
  background: #f05f00;
  color: #ffffff;
  outline: 3px solid rgba(255, 107, 0, .28);
  outline-offset: 2px;
  box-shadow: 0 14px 30px rgba(255, 107, 0, .36);
}
.topic-action-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); align-items: stretch; gap: 16px; margin: 0 0 16px; }
.topic-primary-actions { flex-wrap: wrap; align-items: stretch; }
.topic-primary-actions .button,
.topic-primary-actions button { display: inline-flex; align-items: center; justify-content: center; height: 100%; min-height: 100%; }
.topic-primary-actions .inline-form { display: flex; align-items: stretch; }
.topic-header-progress { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: rgba(255, 255, 255, .72); text-align: center; }
.topic-header-progress span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.topic-header-progress strong { font-size: 18px; }
.topic-header-progress small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 700; }
.topic-danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-color: #e6b0b0; background: #fffafa; }
.topic-danger-zone p { margin: 0; }
.topic-danger-zone .delete-topic-form { flex: 0 0 auto; }
.person-danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-color: #e6b0b0; background: #fffafa; }
.person-danger-zone h2 { margin-top: 0; }
.person-danger-zone p { margin: 0; }
.person-danger-zone .delete-person-form { flex: 0 0 auto; }
.professional-view-header { display: flex; align-items: center; gap: 16px; }
.professional-view-header h2,
.professional-view-header p { margin: 4px 0; }
.profile-fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-top: 12px; }
.profile-fact-grid div { border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; background: #fbfcfd; }
.profile-fact-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.profile-fact-grid strong { display: block; margin-top: 4px; overflow-wrap: anywhere; }
.profile-text-block { margin-top: 14px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fbfcfd; }
.profile-text-block h3 { margin: 12px 0 4px; font-size: 14px; text-transform: uppercase; color: var(--muted); }
.profile-text-block h3:first-child { margin-top: 0; }
.profile-text-block p { margin: 0 0 10px; white-space: pre-wrap; }
.toast-notice { position: fixed; z-index: 80; top: 82px; right: 24px; padding: 11px 14px; border: 1px solid #b9dfcd; border-radius: 8px; background: #f0faf5; color: #174f4b; font-weight: 800; box-shadow: 0 10px 24px rgba(16, 24, 32, .14); animation: fade-notice 3.2s ease forwards; }
.toast-notice.error { border-color: #efb0bb; background: #fff3f5; color: #8f1730; }
.volume-room-toast-stack { position: fixed; z-index: 3200; display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.volume-room-toast-stack-chat { left: 18px; bottom: 18px; }
.volume-room-toast-stack-comment { right: 18px; bottom: 18px; }
.volume-room-toast { display: grid; gap: 4px; border: 1px solid #44b978; border-radius: 8px; padding: 11px 13px; background: #e6fbef; color: #0f5132; box-shadow: 0 14px 34px rgba(16, 24, 32, .2), 0 0 0 1px rgba(34, 169, 96, .08); animation: fade-notice 5s ease forwards; pointer-events: auto; text-decoration: none; cursor: pointer; }
.volume-room-toast:focus-visible { outline: 3px solid rgba(34, 169, 96, .28); outline-offset: 3px; }
.volume-room-toast strong { font-size: 13px; line-height: 1.2; }
.volume-room-toast p { margin: 0; color: #21483a; font-size: 13px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.volume-room-toast-comment { border-color: #f59e0b; background: #fff1d6; color: #7c2d12; box-shadow: 0 14px 34px rgba(16, 24, 32, .2), 0 0 0 1px rgba(245, 158, 11, .12); }
.volume-room-toast-comment:focus-visible { outline-color: rgba(245, 158, 11, .34); }
.volume-room-toast-comment p { color: #65340f; }
.volume-room-toast-chat { border-color: #22a960; background: #e0f9e9; color: #0f5132; }
@keyframes fade-notice {
  0%, 86% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-6px); visibility: hidden; }
}
.has-blocking-choice { overflow: hidden; }
.quote-conflict-backdrop { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; background: rgba(10, 18, 22, .58); backdrop-filter: blur(2px); }
.quote-conflict-panel { margin: 0 0 18px; padding: 16px; border: 1px solid #f0b35f; border-radius: 8px; background: #fff8e8; color: #2f2110; }
.quote-conflict-modal { width: min(780px, calc(100vw - 32px)); max-height: calc(100vh - 48px); margin: 0; overflow: auto; box-shadow: 0 24px 70px rgba(0, 0, 0, .28); }
.quote-conflict-panel h3 { margin: 0 0 8px; }
.quote-conflict-panel h4 { margin: 12px 0 8px; }
.quote-conflict-panel p { margin: 0 0 10px; }
.quote-conflict-panel ul { margin: 0 0 14px 18px; padding: 0; }
.quote-change-total-list { margin: 4px 0 12px; }
.quote-change-total-list p { margin-bottom: 6px; }
.quote-conflict-actions { flex-wrap: wrap; align-items: stretch; }
.quote-conflict-actions .button,
.quote-conflict-actions button { display: inline-flex; align-items: center; justify-content: center; white-space: normal; }
.has-delete-topic-modal { overflow: hidden; }
.delete-topic-backdrop { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 24px; background: rgba(10, 18, 22, .62); backdrop-filter: blur(2px); }
.delete-topic-dialog { width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; padding: 18px; border: 1px solid #d49a9b; border-radius: 8px; background: #fff7f7; color: #331718; box-shadow: 0 24px 70px rgba(0, 0, 0, .32); }
.delete-topic-dialog h3 { margin: 0 0 10px; }
.delete-topic-dialog p { margin: 0 0 12px; }
.delete-topic-dialog label { display: grid; gap: 6px; margin-top: 12px; color: #331718; font-weight: 800; }
.delete-topic-dialog input { width: 100%; border-color: #d49a9b; background: white; color: var(--text); }
.delete-topic-actions { margin-top: 14px; justify-content: flex-end; flex-wrap: wrap; }
.delete-topic-actions button[disabled] { cursor: not-allowed; opacity: .45; }
.has-delete-person-modal { overflow: hidden; }
.delete-person-backdrop { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 24px; background: rgba(10, 18, 22, .62); backdrop-filter: blur(2px); }
.delete-person-dialog { width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; padding: 18px; border: 1px solid #d49a9b; border-radius: 8px; background: #fff7f7; color: #331718; box-shadow: 0 24px 70px rgba(0, 0, 0, .32); }
.delete-person-dialog h3 { margin: 0 0 10px; }
.delete-person-dialog p { margin: 0 0 12px; }
.delete-person-dialog label { display: grid; gap: 6px; margin-top: 12px; color: #331718; font-weight: 800; }
.delete-person-dialog input { width: 100%; border-color: #d49a9b; background: white; color: var(--text); }
.delete-person-actions { margin-top: 14px; justify-content: flex-end; flex-wrap: wrap; }
.delete-person-actions button[disabled] { cursor: not-allowed; opacity: .45; }
.has-replace-document-modal { overflow: hidden; }
.replace-document-backdrop { position: fixed; inset: 0; z-index: 128; display: grid; place-items: center; padding: 24px; background: rgba(10, 18, 22, .58); backdrop-filter: blur(2px); }
.replace-document-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; padding: 18px; border: 1px solid #e0ae62; border-radius: 8px; background: #fff8e8; color: #2f2110; box-shadow: 0 24px 70px rgba(0, 0, 0, .28); }
.replace-document-dialog h3 { margin: 0 0 10px; }
.replace-document-dialog p { margin: 0 0 12px; }
.replace-document-dialog strong { overflow-wrap: anywhere; }
.replace-document-actions { margin-top: 14px; justify-content: flex-end; flex-wrap: wrap; }
.quote-title-row { justify-content: flex-start; }
.section-action { margin-top: 18px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.topic-section .section-title-row + .team-grid { margin-top: 14px; }
.team-card { display: grid; grid-template-columns: 1fr; align-content: start; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: white; }
.team-card-link { color: var(--text); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.team-card-link:hover, .team-card-link:focus { color: var(--text); background: #effbea; border-color: #a8df99; box-shadow: 0 8px 18px rgba(16, 24, 32, .12); transform: translateY(-1px); outline: none; }
.team-card-heading { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px; }
.team-card-heading h3 { margin: 0; line-height: 1.18; }
.team-card-details { width: 100%; padding: 0 4px; }
.team-card p { margin: 4px 0; }
.current-team-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 12px; }
.current-team-entry .team-card { min-height: 112px; }
.current-team-entry .inline-danger-form { margin: 0; }
.avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: 0 0 72px; background: #e4e9ed; }
.team-card-avatar { width: 44px; height: 44px; flex-basis: 44px; font-size: 18px; }
.placeholder-avatar { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 28px; font-weight: 800; }
.placeholder-avatar.team-card-avatar { font-size: 18px; }
.assignment-card { position: relative; }
.assignment-hours-dialog { width: min(480px, 92vw); border: 1px solid var(--line); border-radius: 8px; padding: 0; }
.assignment-hours-dialog::backdrop { background: rgba(10, 18, 22, .42); }
.assignment-hours-box { display: grid; gap: 14px; padding: 18px; }
.assignment-candidate-row { display: flex; align-items: center; gap: 12px; }
.assignment-candidate-row h2 { margin: 0; }
.assignment-hours-stat { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #f8fbfa; }
.assignment-hours-stat span { display: block; color: var(--muted); font-size: 13px; font-weight: 800; }
.assignment-hours-stat strong { display: block; margin-top: 2px; color: var(--accent); font-size: 20px; }
.assignment-profile-summary { display: flex; align-items: flex-start; gap: 14px; margin: 16px 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfd; }
.assignment-profile-summary h3 { margin: 0 0 6px; }
.assignment-profile-summary p { margin: 4px 0; }
.assignment-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 16px 0; }
.assignment-summary-grid div { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #f8fbfa; }
.assignment-summary-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.assignment-summary-grid strong { display: block; margin-top: 4px; font-size: 18px; }
.assignment-notes-summary { grid-column: 1 / -1; }
.assignment-notes-summary strong { font-size: 16px; white-space: pre-wrap; }
.topic-assignment-read-region[hidden],
.topic-assignment-edit-region[hidden] { display: none !important; }
.topic-specific-setup-panel.is-editing { border-color: #a8df99; box-shadow: 0 8px 18px rgba(16, 24, 32, .08); }
.topic-assignment-edit-region { margin-top: 0; }
.topic-assignment-edit-region .topic-assignment-form { margin-top: 0; }
.assignment-edit-card { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #f8fbfa; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.assignment-edit-card input,
.assignment-edit-card select,
.assignment-edit-card textarea { margin-top: 5px; font-size: 18px; font-weight: 800; line-height: 1.2; text-transform: none; background: #ffffff; }
.assignment-edit-card textarea { min-height: 74px; font-size: 16px; }
.topic-assignment-form { margin-top: 16px; }
.topic-assignment-form .topic-notes-field textarea { min-height: 74px; }
.available-hours-note { color: #7a1414; font-weight: 800; }
.inline-danger-form { margin-top: 12px; }
.inline-form { display: inline-block; margin: 0; }
.table-action-row { display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; white-space: nowrap; }
.table-action-row form { margin: 0; }
.table-action-row .button,
.table-action-row button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; font-size: 16px; line-height: 1; }
.recovery-archive-actions { flex-wrap: wrap; white-space: normal; }
.recovery-archive-actions form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.recovery-archive-actions input[name="confirmation"] { width: 130px; min-height: 38px; padding: 6px 9px; font-size: 14px; }
.document-list { display: grid; gap: 10px; margin-top: 16px; }
.topics-table th:nth-child(4),
.topics-table th:nth-child(5),
.topics-table td:nth-child(4),
.topics-table td:nth-child(5) { min-width: 92px; white-space: nowrap; }
.document-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfd; }
.document-row form { margin: 0; }
.document-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; color: var(--accent); background: transparent; padding: 0; font-weight: 700; }
.inline-document-name { display: inline; width: auto; padding: 0; vertical-align: baseline; }
.document-name:hover, .document-name:focus { text-decoration: underline; }
.document-dialog { width: min(980px, 92vw); height: min(760px, 88vh); border: 1px solid var(--line); border-radius: 8px; padding: 0; }
.volume-preview-dialog { width: min(1240px, calc(100vw - 24px)); height: calc(100dvh - 24px); max-height: calc(100vh - 24px); }
.document-dialog::backdrop { background: rgba(10, 18, 22, .48); }
.document-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.document-dialog-header h3 { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.document-dialog-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.document-preview-zoom-controls { display: flex; align-items: center; gap: 6px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #f7fafb; }
.document-preview-zoom-controls .compact-button { min-width: 36px; padding: 7px 10px; line-height: 1; }
.document-preview-zoom-level { min-width: 48px; text-align: center; font-weight: 800; color: var(--muted); }
.document-frame { width: 100%; height: calc(100% - 65px); border: 0; background: white; }
.document-frame-viewport { height: calc(100% - 65px); overflow: auto; background: #edf1f4; }
.document-frame-viewport .document-frame { height: 100%; transform-origin: top left; }
.document-preview-text { height: calc(100% - 65px); overflow: auto; padding: 24px; white-space: pre-wrap; overflow-wrap: normal; line-height: 1.55; font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif; background: white; color: var(--text); }
.document-preview-html { height: calc(100% - 65px); overflow: auto; padding: 22px; white-space: normal; background: #edf1f4; color: var(--text); }
.volume-preview-dialog .document-preview-html { padding: 28px 22px; }
.document-preview-dialog-comment-layout {
  box-sizing: border-box;
  display: grid;
  grid-template-areas: "comment-add document-preview comment-list";
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) minmax(210px, 270px);
  gap: 10px;
  height: calc(100% - 65px);
  min-height: 0;
  padding: 10px;
  background: #edf1f4;
}
.volume-preview-dialog .document-preview-warning + .document-preview-dialog-comment-layout { height: calc(100% - 107px); }
.document-preview-dialog-main {
  grid-area: document-preview;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  height: 100%;
  border: 1px solid #cfd8e1;
  border-radius: 8px;
  overflow: auto;
}
.document-preview-dialog-main.document-frame-viewport,
.document-preview-dialog-main.document-preview-html,
.document-preview-dialog-main.document-preview-text { height: 100%; }
.document-preview-dialog-main.document-preview-html { padding: 28px 22px; }
.document-preview-dialog-main.document-preview-text { padding: 24px; }
.document-preview-dialog-main .pdf-page-preview {
  min-height: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
}
.document-preview-dialog-comment-layout > .document-preview-comment-rails {
  position: relative;
  inset: auto;
  z-index: 95;
  width: 100%;
  max-height: 100%;
  transform: none !important;
}
.document-preview-dialog-comment-layout > .document-preview-comment-rails-left {
  grid-area: comment-add;
  align-self: start;
  overflow: visible;
}
.document-preview-dialog-comment-layout > .document-preview-comment-rails-right {
  grid-area: comment-list;
  align-self: stretch;
  padding-right: 3px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.document-preview-dialog-comment-layout .document-comment-add-button,
.document-preview-dialog-comment-layout .document-comment-card,
.document-preview-dialog-comment-layout .document-comment-popover { width: 100%; min-width: 0; max-width: none; }
.document-preview-dialog-comment-layout .document-preview-comment-rails-left .document-comment-popover { left: 0; right: auto; }
.document-preview-dialog-comment-layout .document-preview-comment-rails-right .document-comment-popover { right: 0; left: auto; }
.document-preview-page-shell { --document-preview-page-main-width: 1134px; width: min(100%, 1840px); max-width: none; min-width: 0; margin: 0 auto; }
.document-preview-page-heading { margin-bottom: 12px; align-items: end; }
.document-preview-page-heading .page-heading-text h1 { overflow-wrap: anywhere; }
.document-preview-page-heading .button-row { flex-wrap: wrap; justify-content: flex-end; min-width: min(100%, 260px); }
.document-preview-page-layout {
  display: grid;
  grid-template-areas: "comment-add document-preview comment-list";
  grid-template-columns: minmax(170px, 220px) minmax(0, var(--document-preview-page-main-width)) minmax(230px, 320px);
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  min-height: calc(100dvh - 170px);
}
.document-preview-page-container {
  grid-area: document-preview;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  height: calc(100dvh - 170px);
  overflow: hidden;
  border: 1px solid #cfd8e1;
  border-radius: 8px;
  background: #edf1f4;
  box-shadow: 0 12px 30px rgba(16, 24, 32, .14);
}
.document-preview-page-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; background: #f7fafb; }
.document-preview-page-toolbar strong { min-width: 0; overflow-wrap: anywhere; color: var(--accent-dark); }
.document-preview-page-scroll { min-width: 0; min-height: 0; height: 100%; overflow: auto; background: #edf1f4; }
.document-preview-page-scroll.document-preview-html,
.document-preview-page-scroll.document-preview-text { height: 100%; border: 0; border-radius: 0; }
.document-preview-page-scroll.document-preview-html { padding: 28px 22px; }
.document-preview-page-scroll.document-preview-text { padding: 24px; background: #fff; }
.document-preview-page-scroll .pdf-page-preview { min-height: 100%; height: auto; overflow: visible; border: 0; border-radius: 0; }
.document-preview-page-scroll .document-pages.document-preview-zoom-surface { min-width: 0; }
.document-preview-page-scroll .pdf-page-preview.document-preview-zoom-surface { width: max-content; min-width: 0; }
.document-preview-page-scroll .pdf-page-preview-image { width: 8.5in; max-width: none; }
.document-preview-page-layout > .document-preview-comment-rails {
  position: relative;
  inset: auto;
  z-index: 90;
  width: 100%;
  max-height: calc(100dvh - 170px);
  transform: none !important;
}
.document-preview-page-layout > .document-preview-comment-rails-left {
  grid-area: comment-add;
  align-self: start;
  overflow: visible;
}
.document-preview-page-layout > .document-preview-comment-rails-right {
  grid-area: comment-list;
  align-self: stretch;
  padding-right: 3px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.document-preview-page-layout .document-comment-add-button,
.document-preview-page-layout .document-comment-card,
.document-preview-page-layout .document-comment-popover { width: 100%; min-width: 0; max-width: none; }
.document-preview-page-layout .document-preview-comment-rails-left .document-comment-popover { left: 0; right: auto; }
.document-preview-page-layout .document-preview-comment-rails-right .document-comment-popover { right: 0; left: auto; }
@media (max-width: 920px) {
  .document-preview-dialog-comment-layout {
    grid-template-areas:
      "comment-add"
      "document-preview"
      "comment-list";
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(360px, 1fr) minmax(160px, .45fr);
  }
  .document-preview-dialog-comment-layout > .document-preview-comment-rails-left,
  .document-preview-dialog-comment-layout > .document-preview-comment-rails-right {
    max-height: 180px;
  }
  .document-preview-page-layout {
    grid-template-areas:
      "comment-add"
      "document-preview"
      "comment-list";
    grid-template-columns: 1fr;
  }
  .document-preview-page-shell { width: 100%; min-width: 0; }
  .document-preview-page-container { height: min(72vh, 760px); }
  .document-preview-page-layout > .document-preview-comment-rails {
    max-height: 220px;
  }
}
.document-preview-zoom-surface { transform-origin: top center; }
.document-preview-warning { padding: 10px 24px; border-bottom: 1px solid #ead196; background: #fff8e8; color: #4f2d00; font-weight: 800; }
.document-dialog .document-preview-warning + .document-preview-text,
.document-dialog .document-preview-warning + .document-preview-html,
.document-dialog .document-preview-warning + .document-frame-viewport { height: calc(100% - 107px); }
.readonly-document-frame,
.readonly-document-preview { user-select: none; -webkit-user-select: none; }
[data-theme="night"] .document-frame,
[data-theme="night"] .inline-volume-preview .document-preview-text,
[data-theme="night"] .document-preview-text {
  background: #ffffff;
  color: #1d252c;
}
[data-theme="night"] .document-frame-viewport,
[data-theme="night"] .document-preview-html,
[data-theme="night"] .document-page-stage,
[data-theme="night"] .saved-document-page-stage,
[data-theme="night"] .pdf-page-preview {
  background: #d9e0e6;
  color: #1d252c;
}
[data-theme="night"] .document-page,
[data-theme="night"] .document-page::after,
[data-theme="night"] .document-page-header,
[data-theme="night"] .live-preview-readable-text {
  background: #ffffff;
  color: #1d252c;
}
[data-theme="night"] .document-page th {
  background: #eef3f4;
  color: #1d252c;
}
[data-theme="night"] .document-page td {
  background: #ffffff;
  color: #1d252c;
}
.analysis-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.analysis-row:last-of-type { border-bottom: 0; }
.json-preview { height: calc(100% - 65px); margin: 0; border-radius: 0; }
.topic-volume-list { display: grid; gap: 10px; max-height: 168px; margin-top: 12px; padding-right: 3px; overflow-y: scroll; transition: max-height .18s ease; }
.topic-volume-list:hover,
.topic-volume-list:focus,
.topic-volume-list:focus-within { max-height: none; overflow-y: visible; }
.topic-volume-list:focus { outline: 2px solid #a8df99; outline-offset: 2px; }
.topic-volume-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fbfcfd; }
.topic-volume-row.accepted { border-color: #a8df99; background: #effbea; }
.topic-volume-row.not-accepted { border-color: #f0c86f; background: #fff3c9; }
.topic-volume-row.unfinished { border-color: #df7777; background: #ffe1e1; }
.topic-volume-name { display: block; color: var(--text); }
.topic-volume-name:hover strong,
.topic-volume-name:focus strong { text-decoration: underline; }
.topic-volume-name strong,
.topic-volume-name span { display: block; }
.topic-volume-name strong { color: var(--accent); }
.topic-volume-name span { margin-top: 3px; color: var(--muted); }
[data-theme="night"] .topic-volume-row.accepted,
[data-theme="night"] .topic-volume-row.not-accepted,
[data-theme="night"] .topic-volume-row.unfinished {
  color: #1d252c;
}
[data-theme="night"] .topic-volume-row .topic-volume-name { color: #1d252c; }
[data-theme="night"] .topic-volume-row .topic-volume-name strong { color: #1f6f68; }
[data-theme="night"] .topic-volume-row .topic-volume-name span { color: #63707d; }
.topic-volume-row form { margin: 0; }
input, select, textarea { width: 100%; padding: 9px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--text); }
input.missing-required, select.missing-required, textarea.missing-required { background: #fff1f1; border-color: #e2a4a4; }
textarea { min-height: 96px; }
label { display: block; font-size: 13px; font-weight: 700; color: #32414c; margin-bottom: 6px; }
[data-theme="night"] label { color: var(--text); }
.checkbox-row { display: flex; align-items: center; gap: 8px; min-height: 37px; margin-top: 20px; }
.checkbox-row input { width: auto; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.theme-mode-picker { display: inline-grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 8px; width: min(100%, 320px); border: 1px solid var(--line); border-radius: 8px; padding: 4px; background: rgba(255, 255, 255, .56); }
.theme-mode-option { position: relative; display: block; margin: 0; }
.theme-mode-option input { position: absolute; opacity: 0; pointer-events: none; }
.theme-mode-option span { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 6px; padding: 9px 12px; color: var(--muted); font-size: 14px; font-weight: 900; cursor: pointer; }
.theme-mode-option input:checked + span { background: var(--accent); color: #ffffff; box-shadow: 0 8px 18px rgba(16, 24, 32, .14); }
.theme-mode-option input:focus-visible + span { outline: 3px solid rgba(31, 111, 104, .28); outline-offset: 2px; }
[data-theme="night"] .theme-mode-picker { background: rgba(255, 255, 255, .04); }
[data-theme="night"] .theme-mode-option input:checked + span { color: #061312; }
[data-theme="night"] .theme-mode-option input:focus-visible + span { outline-color: rgba(110, 211, 195, .32); }
.settings-panel { padding: 18px; }
.settings-update-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; }
.settings-update-panel h2,
.settings-update-panel p { margin: 0; }
.settings-update-panel h2 { font-size: 18px; line-height: 1.2; }
.settings-update-stamp { display: grid; gap: 3px; justify-items: end; min-width: 190px; color: var(--text); }
.settings-update-date { font-size: 16px; font-weight: 900; line-height: 1.2; }
.settings-update-time { font-size: 14px; font-weight: 800; line-height: 1.2; }
.settings-update-commit { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; font-weight: 800; line-height: 1.2; }
.settings-panel-heading { display: grid; gap: 8px; margin-bottom: 16px; }
.settings-panel-heading h2,
.settings-panel-heading p { margin: 0; }
.settings-panel-heading p { max-width: 980px; line-height: 1.35; }
.settings-form { display: grid; gap: 16px; }
.settings-field-grid { display: grid; gap: 14px 12px; align-items: start; }
.settings-business-grid,
.settings-system-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.settings-field { display: grid; gap: 6px; align-content: start; min-width: 0; color: var(--text); font-size: 13px; font-weight: 800; line-height: 1.15; }
.settings-field input,
.settings-field select,
.settings-field textarea { width: 100%; margin: 0; font-size: 14px; font-weight: 500; }
.settings-field textarea { min-height: 92px; resize: vertical; line-height: 1.3; }
.settings-field .muted { min-height: 34px; font-size: 12px; font-weight: 700; line-height: 1.25; }
.settings-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.settings-actions button { flex: 0 0 auto; min-width: 170px; text-align: center; }
.topic-package-panel { display: grid; gap: 12px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.topic-package-panel h3,
.topic-package-panel p { margin: 0; }
.topic-package-list { display: grid; gap: 8px; }
.topic-package-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #f8fafb; }
.topic-package-row span { display: grid; gap: 2px; min-width: 0; }
.topic-package-row small { color: var(--muted); font-weight: 700; line-height: 1.25; }
.segment-import-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.segment-import-summary div { display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #f8fafb; }
.segment-import-summary span { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.segment-import-summary strong { color: var(--accent-dark); font-size: 24px; line-height: 1; }
.segment-danger-panel { border-color: #e7a5a5; background: #fffafa; }
.segment-person-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.segment-person-card { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: white; }
.segment-person-card span { color: var(--muted); font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.segment-impact-list { display: grid; gap: 10px; }
.segment-impact-item { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fbfcfd; }
.segment-impact-item h3,
.segment-impact-item p,
.segment-impact-item ul { margin: 0; }
.segment-impact-item ul { padding-left: 20px; }
.segment-impact-item strong { color: var(--accent-dark); }
.segment-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.segment-columns h3 { margin-top: 0; }
.segment-confirm-form { display: grid; gap: 14px; }
.topic-access-picker { display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fbfcfd; }
.topic-access-picker-heading { display: grid; gap: 3px; }
.topic-access-picker-heading strong { color: var(--accent-dark); font-size: 16px; }
.topic-access-checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px; max-height: 250px; overflow-y: auto; padding-right: 3px; }
.topic-access-option { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 9px; margin: 0; border: 1px solid var(--line); border-radius: 8px; padding: 9px; background: white; color: var(--text); cursor: pointer; }
.topic-access-option:hover,
.topic-access-option:focus-within { border-color: #8bc7bd; background: #eef9f6; }
.topic-access-option input { width: auto; margin: 0; }
.topic-access-option strong,
.topic-access-option small { display: block; overflow-wrap: anywhere; }
.topic-access-option small { margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.25; }
.topic-access-summary { display: grid; gap: 8px; margin-top: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fbfcfd; }
.topic-access-summary strong { color: var(--accent-dark); }
.topic-access-summary div { display: flex; flex-wrap: wrap; gap: 6px; }
.topic-access-summary span { border-radius: 999px; padding: 4px 9px; background: #e8f2f0; color: #174f4b; font-size: 12px; font-weight: 800; }
.topic-access-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border: 1px solid var(--line); border-radius: 8px; padding: 0; overflow: hidden; background: white; color: var(--text); box-shadow: 0 24px 70px rgba(0, 0, 0, .28); }
.topic-access-dialog::backdrop { background: rgba(10, 18, 22, .48); }
.topic-access-dialog form { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: calc(100vh - 48px); }
.topic-access-dialog-body { min-height: 0; overflow: auto; padding: 16px; }
.topic-access-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line); padding: 12px 16px; background: #fbfcfd; }
.form-grid.topic-assignment-form { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form-section { border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin-bottom: 16px; background: #fbfcfd; }
#required-fields { margin-top: 16px; }
.form-section h3 { margin-top: 2px; }
.required-section.complete { background: #f0faf5; border-color: #b9dfcd; }
.required-section.incomplete { background: #fff8e8; border-color: #ead196; }
.field-label { display: block; font-size: 13px; font-weight: 700; color: #32414c; margin-bottom: 8px; }
.required-resume-field { margin-top: 16px; }
.resume-status-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.resume-status-row .field-label { margin-bottom: 0; }
.inline-upload-form { display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: end; gap: 12px; max-width: 560px; }
.inline-upload-form button { align-self: start; min-height: 37px; margin-top: 16px; padding-block: 9px; }
.volume-upload-card { margin-top: 1rem; border: 1px solid #d8e0e7; border-radius: 8px; padding: 1rem; background: #f8fafb; }
.volume-upload-card h3 { margin-top: 0; }
.compact-document-list { margin-top: 12px; }
.warn-status { background: #f7e7bf; color: #5f3b00; }
.volume-workspace-top-grid { --volume-top-card-height: 420px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: var(--volume-top-card-height); align-items: stretch; gap: 12px; margin: 12px 0 16px; }
.volume-room-slot { display: grid; position: relative; z-index: 2; min-width: 0; min-height: 0; height: var(--volume-top-card-height); }
.volume-room-slot .volume-room-chat { position: relative; z-index: 1; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; min-height: 0; min-width: 0; max-height: 100%; margin: 0; overflow: hidden; padding: 12px; }
.volume-room-slot .volume-room-chat,
.volume-status-card,
.volume-document-slot { min-height: 0; }
.volume-room-slot .volume-room-chat-heading h2 { font-size: 20px; line-height: 1.1; }
.volume-room-slot .volume-room-chat-heading p { font-size: 13px; line-height: 1.25; }
.volume-room-slot .volume-room-chat-grid { grid-template-columns: minmax(132px, 170px) minmax(0, 1fr); gap: 10px; min-height: 0; }
.volume-room-slot .volume-room-member-panel,
.volume-room-slot .volume-room-message-panel { min-height: 0; overflow: hidden; padding: 10px; }
.volume-room-slot .volume-room-member-panel h3 { margin-bottom: 8px; font-size: 13px; }
.volume-room-slot .volume-room-member-list { gap: 6px; overflow-y: auto; }
.volume-room-slot .volume-room-message-panel { grid-template-rows: minmax(0, 1fr) auto; }
.volume-room-slot .volume-room-message-list { min-height: 0; max-height: 100%; padding: 9px; overflow-y: auto; }
.volume-room-slot .volume-room-chat-form { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.volume-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.volume-status-card,
.volume-document-card { display: grid; align-content: start; gap: 10px; padding: 12px; }
.volume-status-card h2,
.volume-document-card h2 { margin: 0; font-size: 20px; }
.volume-status-rows { display: grid; gap: 7px; }
.volume-status-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; background: #fbfcfd; }
.volume-status-row span { color: var(--muted); font-size: 13px; font-weight: 700; }
.volume-status-row strong { color: var(--green); text-align: right; }
.volume-status-card form { margin: 0; }
.volume-status-card button { min-height: 36px; }
.volume-status-card { min-width: 0; height: 100%; }
.volume-status-card .volume-edit-access-panel { margin: 0; padding: 10px; background: #f8fafb; }
.volume-status-card .volume-edit-access-panel p { font-size: 13px; line-height: 1.3; }
.volume-status-card .volume-edit-calendar { margin-top: 0; }
.volume-status-card .volume-edit-calendar summary { cursor: pointer; font-weight: 800; }
.volume-status-card .volume-edit-reservation-list { margin: 8px 0; }
.volume-status-card .volume-edit-reservation-form { align-items: end; }
.volume-status-card .volume-edit-reservation-form input,
.volume-status-card .volume-edit-reservation-form select { min-width: 8rem; }
.volume-document-summary { display: grid; gap: 2px; min-width: 0; }
.volume-document-summary span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.volume-document-summary strong { color: var(--accent-dark); font-size: 18px; overflow-wrap: anywhere; }
.volume-document-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 8px; align-items: stretch; }
.volume-document-actions .button,
.volume-document-actions button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 36px; padding: 8px 10px; text-align: center; white-space: normal; }
.volume-document-actions form { display: flex; margin: 0; }
.volume-document-strip { display: grid; grid-template-rows: auto auto; align-content: start; gap: 12px; margin: 12px 0 16px; padding: 12px 14px; }
.volume-document-slot { min-width: 0; height: var(--volume-top-card-height); min-height: 0; margin: 0; overflow: auto; }
.volume-document-status-block { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; align-items: start; gap: 8px 12px; min-height: 0; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.volume-document-status-block h2 { grid-column: 1 / -1; margin: 0; font-size: 20px; }
.volume-document-status-block .volume-status-rows { grid-column: 1; }
.volume-document-status-block > form { grid-column: 2; margin: 0; }
.volume-document-status-block button { min-height: 36px; white-space: nowrap; }
.volume-document-status-block .volume-edit-access-panel { grid-column: 1 / -1; margin: 0; padding: 9px 10px; background: #f8fafb; }
.volume-document-status-block .volume-edit-access-panel p { font-size: 13px; line-height: 1.3; }
.volume-document-status-block .volume-edit-calendar { margin-top: 0; }
.volume-document-status-block .volume-edit-calendar summary { cursor: pointer; font-weight: 800; }
.volume-document-status-block .volume-edit-reservation-list { margin: 8px 0; }
.volume-document-status-block .volume-edit-reservation-form { align-items: end; }
.volume-document-status-block .volume-edit-reservation-form input,
.volume-document-status-block .volume-edit-reservation-form select { min-width: 8rem; }
.volume-document-management { display: grid; align-self: start; gap: 10px; min-width: 0; }
.volume-document-strip-heading { display: grid; gap: 3px; min-width: 0; }
.volume-document-strip-heading h2 { margin: 0; color: var(--accent-dark); font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.volume-document-title-link { color: var(--accent-dark); }
.volume-document-title-link:hover,
.volume-document-title-link:focus { color: var(--accent); text-decoration: underline; }
.volume-document-strip-heading p { margin: 0; }
.volume-document-strip .volume-document-actions { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
.volume-document-slot .volume-document-actions { grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); }
.volume-document-strip .volume-document-actions .button,
.volume-document-strip .volume-document-actions button { min-height: 38px; }
.volume-document-slot .volume-document-actions .button,
.volume-document-slot .volume-document-actions button { min-height: 38px; padding: 8px 9px; }
.volume-document-strip .edit-document-button { background: #2d5f9b; }
.volume-document-strip .edit-document-button:hover,
.volume-document-strip .edit-document-button:focus { background: #244f82; color: #fff; outline: none; }
.volume-document-strip .saved-document-delete-form button { min-height: 38px; }
.volume-document-strip-heading.missing-volume-document-card { border: 1px solid #e2a4a4; border-radius: 8px; padding: 9px 10px; }
.volume-document-strip-heading.missing-volume-document-card h2 { color: #8a1111; }
.volume-document-actions .volume-document-upload-form { grid-column: span 2; display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: end; gap: 10px; max-width: none; margin: 0; }
.volume-document-actions .volume-document-upload-form label { margin: 0; }
.volume-document-actions .volume-document-upload-form input { width: 100%; margin-top: 6px; }
.volume-document-actions .volume-document-upload-form button { align-self: end; margin: 0; }
.volume-response-package-panel { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: start; border: 1px solid #c8ded9; border-radius: 8px; padding: 10px; background: #f4fbf8; }
.volume-response-package-panel strong { color: var(--accent-dark); }
.volume-response-package-panel p { margin: 2px 0 0; font-size: 12px; line-height: 1.3; }
.volume-response-package-panel > div:first-child { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; align-items: baseline; min-width: 0; }
.volume-response-package-panel > div:first-child p { margin: 0; min-width: 0; }
.volume-response-package-actions { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: stretch; min-width: 0; }
.volume-response-package-actions > .button { display: flex; align-items: center; justify-content: center; min-height: 36px; }
.volume-response-package-actions form { display: grid; grid-template-columns: minmax(180px, 1fr) auto; gap: 8px; align-items: end; min-width: 0; margin: 0; border: 1px solid #d7e7e3; border-radius: 8px; padding: 8px; background: #ffffff; }
.volume-response-package-actions form label { display: grid; gap: 4px; min-width: 0; margin: 0; color: var(--accent-dark); font-size: 12px; font-weight: 900; }
.volume-response-package-actions form label small { color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.25; }
.volume-package-direction-title { letter-spacing: .02em; }
.volume-response-package-actions form p { grid-column: 1 / -1; }
.volume-response-package-actions input[type="file"] { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 7px; background: #ffffff; }
.volume-response-package-actions button { min-height: 36px; white-space: nowrap; }
.settings-volume-response-actions { margin: 10px 0 18px; }
.volume-document-card .volume-upload-card,
.volume-document-card .volume-edit-access-panel { margin-top: 2px; }
.volume-document-card .inline-upload-form { max-width: none; grid-template-columns: minmax(190px, 1fr) auto; }
.volume-workspace-layout { margin: 16px 0; }
.volume-workspace-split { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(480px, 1.1fr); align-items: stretch; gap: 16px; }
.volume-workspace-split .volume-room-chat,
.volume-workspace-split .volume-workspace-panel { height: 100%; margin: 0; min-width: 0; }
.volume-workspace-split .dsip-verification-box { grid-template-columns: minmax(0, 1fr); }
.volume-workspace-split .volume-room-chat-grid { grid-template-columns: minmax(160px, 190px) minmax(0, 1fr); }
.volume-workspace-split .volume-room-message-list { min-height: 148px; max-height: 210px; }
.volume-document-controls-panel { margin-bottom: 16px; }
.volume-document-controls-panel .saved-volume-document-card { grid-template-columns: minmax(260px, .8fr) minmax(520px, 1.2fr); margin-top: 0; }
.volume-document-controls-panel .saved-volume-document-actions { display: block; }
.volume-document-controls-panel .saved-volume-document-button-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); justify-content: stretch; }
.volume-document-controls-panel .saved-volume-document-button-grid .button,
.volume-document-controls-panel .saved-volume-document-button-grid button,
.volume-document-controls-panel .saved-document-delete-form button { width: 100%; min-height: 38px; }
.volume-document-controls-panel .saved-document-delete-form button { height: auto; min-height: 38px; }
.volume-document-controls-panel .volume-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.volume-document-controls-panel .volume-action-card { min-height: 112px; }
.volume-document-viewer-panel { width: 100%; margin: 16px 0; }
.volume-document-viewer-panel .inline-volume-preview { margin: 0; }
.volume-document-viewer-panel .inline-volume-preview .document-preview-text,
.volume-document-viewer-panel .inline-volume-preview .document-preview-html,
.volume-document-viewer-panel .inline-volume-preview .document-frame { height: min(72vh, 760px); min-height: 560px; }
.volume3-cheat-sheet-panel { width: 100%; margin: 16px 0; }
.volume3-cheat-sheet { display: grid; gap: 14px; border: 1px solid #bfcbd2; border-radius: 8px; padding: 16px; background: #f7f9fa; box-shadow: 0 12px 28px rgba(16, 24, 32, .08); }
.volume3-cheat-sheet-hero { display: flex; align-items: start; justify-content: space-between; gap: 14px; border-bottom: 1px solid #d8e0e4; padding-bottom: 14px; }
.volume3-cheat-sheet-hero h2 { margin: 0; font-size: clamp(1.35rem, 1.1rem + .7vw, 2rem); }
.volume3-cheat-sheet-hero p { margin: 4px 0 0; color: #52616b; }
.volume3-cheat-eyebrow { margin: 0 0 4px !important; color: #1f6f68 !important; font-size: 12px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.volume3-cheat-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.volume3-cheat-summary-card { display: grid; gap: 3px; min-height: 96px; border: 1px solid #d8e0e4; border-left: 5px solid #1f6f68; border-radius: 8px; padding: 11px 12px; background: #ffffff; }
.volume3-cheat-summary-card span { color: #52616b; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.volume3-cheat-summary-card strong { color: #17212b; font-size: 1.35rem; line-height: 1.1; overflow-wrap: anywhere; }
.volume3-cheat-summary-card small { color: #6b7a86; font-weight: 800; }
.volume3-cheat-nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.volume3-cheat-nav a { border: 1px solid #cbd8de; border-radius: 999px; padding: 7px 10px; background: #ffffff; color: #1f4f5f; font-size: 12px; font-weight: 900; text-decoration: none; }
.volume3-cheat-nav a:hover,
.volume3-cheat-nav a:focus-visible { border-color: #1f6f68; background: #e8f6f2; color: #174f4b; outline: none; }
.volume3-cheat-costs,
.volume3-cheat-copy-card,
.volume3-cheat-section { border: 1px solid #d8e0e4; border-radius: 8px; background: #ffffff; }
.volume3-cheat-costs { display: grid; gap: 10px; padding: 12px; }
.volume3-cheat-costs h3,
.volume3-cheat-copy-card h3,
.volume3-cheat-section h3 { margin: 0; }
.volume3-cheat-cost-grid { display: grid; gap: 8px; }
.volume3-cheat-cost-row { display: grid; grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(96px, auto)); gap: 8px; align-items: center; border-top: 1px solid #edf1f3; padding-top: 8px; }
.volume3-cheat-cost-row:first-child { border-top: 0; padding-top: 0; }
.volume3-cheat-cost-row strong { color: #17212b; overflow-wrap: anywhere; }
.volume3-cheat-cost-row span { color: #52616b; font-weight: 800; white-space: nowrap; }
.volume3-cheat-copy-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.volume3-cheat-copy-card { display: grid; gap: 9px; padding: 12px; }
.volume3-cheat-copy-card p { margin: 0; color: #2e3942; line-height: 1.45; overflow-wrap: anywhere; }
.volume3-cheat-section-stack { display: grid; gap: 12px; }
.volume3-cheat-section { overflow: hidden; scroll-margin-top: 18px; }
.volume3-cheat-section > header { display: grid; gap: 3px; border-left: 6px solid #f97316; padding: 11px 12px; background: #fff8f1; }
.volume3-cheat-section > header span { color: #8a4a14; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.volume3-cheat-row-stack { display: grid; gap: 0; }
.volume3-cheat-row { display: grid; grid-template-columns: minmax(180px, .9fr) minmax(0, 1.35fr); gap: 10px; border-top: 1px solid #edf1f3; padding: 11px 12px; }
.volume3-cheat-question { color: #17212b; font-weight: 900; line-height: 1.25; overflow-wrap: anywhere; }
.volume3-cheat-answer-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; min-width: 0; }
.volume3-cheat-answer { min-width: 0; margin: 0; border: 1px solid #dce5e9; border-left: 4px solid #8bc7bd; border-radius: 7px; padding: 8px 10px; background: #f6fbfa; color: #1f2a33; font: inherit; line-height: 1.38; overflow: visible; white-space: pre-wrap; overflow-wrap: anywhere; }
.volume3-cheat-note { grid-column: 2; color: #60717e; font-size: 12px; font-weight: 800; line-height: 1.3; }
.volume3-copy-button { min-height: 31px; border-color: #cbd8de; padding: 6px 9px; background: #ffffff; color: #1f6f68; font-size: 12px; font-weight: 900; box-shadow: none; }
.volume3-copy-button:hover,
.volume3-copy-button:focus-visible,
.volume3-copy-button.is-copied { border-color: #1f6f68; background: #dff4ec; color: #174f4b; outline: none; }
.volume-room-chat { display: grid; gap: 12px; margin: 16px 0; border: 1px solid #8bc7bd; border-radius: 8px; padding: 14px; background: #eef9f6; box-shadow: 0 8px 22px rgba(16, 24, 32, .08); }
.volume-room-chat-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.volume-room-chat-heading h2,
.volume-room-chat-heading h3,
.volume-room-chat-heading p { margin: 0; }
.volume-room-chat-heading-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.volume-room-chat-status { flex: 0 0 auto; border-radius: 99px; padding: 4px 9px; background: #d8f0e7; color: #174f4b; font-size: 12px; font-weight: 800; }
.volume-room-clear-button { min-height: 26px; border: 1px solid #c97884; border-radius: 99px; padding: 4px 9px; background: #fff2f4; color: #9b142e; font-size: 12px; font-weight: 800; line-height: 1; box-shadow: none; }
.volume-room-clear-button:hover,
.volume-room-clear-button:focus { border-color: #a61631; background: #a61631; color: #fff; outline: none; }
.volume-room-clear-button:disabled { cursor: wait; opacity: .65; }
.volume-room-chat-grid { display: grid; grid-template-columns: minmax(190px, 240px) minmax(0, 1fr); gap: 12px; }
.volume-room-member-panel,
.volume-room-message-panel,
.volume-room-private-chat { border: 1px solid #b9dfd6; border-radius: 8px; background: rgba(255, 255, 255, .72); padding: 12px; }
.volume-room-member-panel h3 { margin: 0 0 10px; font-size: 14px; }
.volume-room-member-list { display: grid; gap: 8px; }
.volume-room-member { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid #d5e7e2; padding-bottom: 7px; }
.volume-room-member:last-child { border-bottom: 0; padding-bottom: 0; }
.volume-room-member strong { min-width: 0; overflow-wrap: anywhere; color: #174f4b; }
.volume-room-member-role { flex: 0 0 auto; border-radius: 99px; padding: 3px 7px; background: #eef2f4; color: #536372; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.volume-room-member-role-private { font-weight: 900; }
.volume-room-message-panel { display: grid; gap: 10px; min-width: 0; }
.volume-room-message-list { display: grid; align-content: start; gap: 9px; min-height: 180px; max-height: 310px; overflow: auto; border: 1px solid #d4e5e1; border-radius: 8px; padding: 10px; background: #fbfdfc; }
.volume-room-message { display: grid; gap: 4px; border-left: 3px solid #1f6f68; padding-left: 9px; }
.volume-room-message.is-notification-target { background: #e0f9e9; box-shadow: inset 0 0 0 2px rgba(34, 169, 96, .38); }
.volume-room-message-replyable { cursor: pointer; border-radius: 6px; padding: 6px 8px 6px 9px; margin-left: -8px; transition: background .14s ease, box-shadow .14s ease; }
.volume-room-message-replyable:hover,
.volume-room-message-replyable:focus { background: #eef8f5; box-shadow: inset 0 0 0 1px #b9dfd6; outline: none; }
.volume-room-system-message { border-left-color: #d0a844; color: #5f4a12; }
.volume-room-message-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; }
.volume-room-message-meta strong { color: #174f4b; }
.volume-room-message-meta span { color: var(--muted); }
.volume-room-message p,
.volume-room-empty { margin: 0; overflow-wrap: anywhere; }
.volume-room-message-reply { border-left: 3px solid #8bc7bd; border-radius: 6px; padding: 6px 8px; background: #f1f7f6; color: #41535d; font-size: 12px; line-height: 1.35; }
.volume-room-message-reply strong { display: block; margin-bottom: 2px; color: #174f4b; }
.volume-room-message-reply p { margin: 0; color: #41535d; }
.volume-room-message-actions { display: none; flex-wrap: wrap; justify-content: flex-start; gap: 6px; }
.volume-room-message:hover .volume-room-message-actions,
.volume-room-message:focus .volume-room-message-actions,
.volume-room-message:focus-within .volume-room-message-actions { display: flex; }
@media (hover: none) {
  .volume-room-message-actions { display: flex; }
}
.volume-room-like-button,
.volume-room-edit-button { min-height: 26px; border: 1px solid #b9dfd6; border-radius: 999px; padding: 3px 9px; background: #f4fbf8; color: #1f6f68; font-size: 12px; font-weight: 900; line-height: 1.1; }
.volume-room-like-button.is-liked,
.volume-room-like-button:hover,
.volume-room-like-button:focus-visible,
.volume-room-edit-button:hover,
.volume-room-edit-button:focus-visible { border-color: #1f6f68; background: #dff4ec; color: #174f4b; }
.volume-room-message-edited-label { font-style: italic; }
.document-comment-context { margin: 6px 0 0; padding: 6px 8px; border-left: 3px solid #9ab8b3; background: #f4f8f7; color: #41535d; font-size: 12px; line-height: 1.35; }
.volume-room-chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 0; }
.volume-room-chat-form input { min-width: 0; margin: 0; }
.volume-room-reply-banner { grid-column: 1 / -1; display: flex; align-items: start; justify-content: space-between; gap: 10px; border: 1px solid #8bc7bd; border-left: 4px solid #1f6f68; border-radius: 8px; padding: 8px 10px; background: #f2fbf8; box-shadow: 0 8px 18px rgba(16, 24, 32, .12); }
.volume-room-reply-banner[hidden] { display: none; }
.volume-room-reply-banner strong { display: block; color: #174f4b; font-size: 13px; line-height: 1.2; }
.volume-room-reply-banner p { max-width: 58ch; margin: 2px 0 0; overflow: hidden; color: #41535d; font-size: 12px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.volume-room-reply-clear { flex: 0 0 auto; min-width: 30px; min-height: 30px; border: 1px solid #8bc7bd; border-radius: 999px; padding: 0; background: #ffffff; color: #174f4b; font-size: 18px; font-weight: 900; line-height: 1; box-shadow: none; }
.volume-room-reply-clear:hover,
.volume-room-reply-clear:focus-visible { border-color: #174f4b; background: #174f4b; color: #ffffff; outline: none; }
.volume-room-chat-dummy-input { width: 100%; border: 1px dashed #9aa8b2; background: #f4f7f8; color: #596b78; text-align: left; }
.volume-room-private-chat { display: grid; gap: 10px; background: #f7f4e8; border-color: #dec76f; }
.volume-room-private-chat[hidden] { display: none; }
.panel form h3 { grid-column: 1 / -1; margin: 20px 0 4px; }
.panel form h3:first-child { margin-top: 0; }
.panel form .form-grid + h3 { margin-top: 24px; }
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.brand:hover { color: white; }
.brand-logo { inline-size: 1.7em !important; block-size: 1.7em !important; flex: 0 0 1.7em; object-fit: contain; border-radius: 50%; }
.nav-title { font-weight: 800; white-space: nowrap; }
.header-actions { justify-self: end; }
.status { display: inline-block; padding: 3px 7px; border-radius: 99px; background: #e4e9ed; font-size: 12px; font-weight: 700; }
.status.muted-status { color: var(--muted); background: #eef1f3; }
pre { white-space: pre-wrap; background: #101820; color: #ecf4f1; padding: 12px; border-radius: 6px; overflow: auto; }
.login { max-width: 420px; margin: 10vh auto; }
.guest-agreement-inline { align-items: flex-start; margin-top: 14px; color: var(--accent-dark); font-size: 13px; line-height: 1.3; }
.guest-agreement-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; border: 1px solid #9ccbbf; border-radius: 8px; padding: 18px; background: #fbfdfc; color: var(--text); box-shadow: 0 24px 70px rgba(0, 0, 0, .28); }
.guest-agreement-dialog::backdrop { background: rgba(10, 18, 22, .46); }
.guest-agreement-dialog h2 { margin: 0 0 10px; color: var(--accent-dark); }
.guest-agreement-dialog p { margin: 0 0 12px; line-height: 1.42; }
.guest-agreement-dialog button { width: 100%; margin-top: 4px; }
.workflow { font-weight: 700; color: var(--accent-dark); }
@media (max-width: 1120px) {
  .volume-workspace-split { grid-template-columns: 1fr; }
  .volume-overview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .volume-workspace-top-grid,
  .volume-document-controls-panel .saved-volume-document-card,
  .volume-document-controls-panel .saved-volume-document-actions,
  .volume-document-controls-panel .volume-action-grid { grid-template-columns: 1fr; }
  .volume-response-package-panel,
  .volume-response-package-actions,
  .volume-response-package-actions form { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  header { display: block; }
  header nav { justify-content: flex-start; margin-top: 10px; line-height: 2; }
  .header-actions { margin-top: 10px; }
  .page-heading-row { display: grid; gap: 10px; }
  .volume-toolbar-row { display: grid; gap: 10px; }
  .volume-toolbar-row .role-instructions { margin-left: 0; }
  .role-instructions { justify-self: stretch; margin-top: 0; }
  .role-instructions-toggle { width: 100%; }
  .role-instructions-panel { position: static; width: 100%; margin-top: 8px; }
  .dashboard-detail-grid { grid-template-columns: 1fr; }
  .dashboard-cost-grid { grid-template-columns: 1fr; }
  .topic-action-header { grid-template-columns: minmax(0, 1fr); }
  .topic-primary-actions .button,
  .topic-primary-actions button { min-height: 38px; }
  .topic-danger-zone { display: block; }
  .topic-danger-zone .delete-topic-form { margin-top: 12px; }
  .person-danger-zone { display: block; }
  .person-danger-zone .delete-person-form { margin-top: 12px; }
  .labor-quote-summary-grid { grid-template-columns: 1fr; }
  .total-quote-summary-grid { grid-template-columns: 1fr; }
  .quote-cost-bucket[open] { grid-column: span 1; }
  .quote-cost-bucket-form { grid-template-columns: 1fr; }
  .document-row { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .saved-volume-document-card { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .saved-volume-document-actions { grid-template-columns: minmax(0, 1fr); }
  .saved-volume-document-button-grid { justify-content: stretch; }
  .saved-volume-document-button-grid .button,
  .saved-volume-document-button-grid button { width: 100%; }
  .saved-document-delete-form button { width: 100%; min-height: 38px; }
  .saved-document-page-stage,
  .document-preview-html { padding: 12px; }
  .topic-volume-row { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .topic-title-row,
  .page-heading-actions { align-items: stretch; flex-direction: column; }
  .topic-title-bulletin-button { width: 100%; margin-top: 0; }
  .current-team-entry { grid-template-columns: 1fr; align-items: start; }
  .settings-business-grid,
  .settings-system-grid { grid-template-columns: 1fr; }
  .settings-update-panel { align-items: stretch; flex-direction: column; }
  .settings-update-stamp { justify-items: start; min-width: 0; }
  .settings-actions { align-items: stretch; flex-direction: column; }
  .settings-actions button { width: 100%; }
  .topic-package-row { grid-template-columns: 1fr; }
  .segment-import-summary,
  .segment-columns { grid-template-columns: 1fr; }
  .degree-entry-row { grid-template-columns: 1fr; }
  .degree-entry-row button { width: 100%; }
  .form-grid.topic-assignment-form { grid-template-columns: 1fr; }
  .topic-assignment-form .topic-notes-field { grid-column: 1; }
  .topic-assignment-form .topic-assignment-save { min-height: 48px; }
  .volume-room-chat-grid,
  .volume-room-chat-form,
  .volume-room-slot .volume-room-chat-grid,
  .volume-room-slot .volume-room-chat-form,
  .volume-document-status-block,
  .volume-document-card .inline-upload-form,
  .volume-document-upload-form { grid-template-columns: 1fr; }
  .volume3-cheat-sheet { padding: 12px; }
  .volume3-cheat-sheet-hero,
  .volume3-cheat-row,
  .volume3-cheat-cost-row { grid-template-columns: 1fr; display: grid; }
  .volume3-cheat-answer-wrap { grid-template-columns: 1fr; }
  .volume3-cheat-note { grid-column: 1; }
  .volume3-copy-button { width: 100%; }
  .volume-document-status-block > form,
  .volume-document-status-block .volume-status-rows { grid-column: 1; }
  .volume-document-status-block > form button { width: 100%; }
  .volume-document-actions .volume-document-upload-form { grid-column: span 1; }
  main { padding: 14px; }
}
