:root {
  --paper: #f4f7fa;
  --ink: #172e40;
  --muted: #617588;
  --line: #dfe7ee;
  --ocean: #124b70;
  --ice: #d9edf7;
  --red: #c4484d;
  --amber: #926417;
  --white: #fff;
  --radius: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: wait; }
a { color: var(--ocean); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -1.3px; line-height: 1.2; font-weight: 650; }
h2 { font-size: 18px; letter-spacing: -.4px; line-height: 1.4; }
h3 { font-size: 14px; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid #619ec4; outline-offset: 3px; }
[hidden] { display: none !important; }
.top { background: white; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 11px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 17px; }
.mark { display: block; height: 42px; width: 42px; flex: 0 0 auto; }
.brand small { display: block; font-size: 10px; letter-spacing: .6px; font-weight: 500; color: var(--muted); margin-top: 2px; }
main { max-width: 1400px; margin: auto; padding: 30px 28px 60px; }
.page-title { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 22px; }
.page-title p { color: var(--muted); margin-top: 8px; font-size: 13px; }
.title-dot { color: var(--ocean); }
.eyebrow { font-size: 10px; letter-spacing: 1.5px; font-weight: 700; color: var(--muted); display: block; margin-bottom: 8px; }
.quiet { border: 1px solid var(--line); background: white; min-height: 40px; padding: 9px 14px; border-radius: 8px; font-size: 12px; font-weight: 600; }
.primary { background: var(--ocean); color: white; border: 0; padding: 10px 15px; border-radius: 8px; min-height: 40px; font-size: 12px; font-weight: 600; }
.snapshot { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; color: var(--muted); font-size: 11px; }
.snapshot-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.snapshot-cutoff { font-size: 10px; }
.pill { background: #e9f2f9; color: var(--ocean); border: 1px solid #d8e6f1; border-radius: 5px; padding: 3px 8px; font-size: 9px; letter-spacing: .4px; font-weight: 700; }
.panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 12px; }
.performance-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.performance-metrics .metric { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px 20px; background: #eef5fb; border-color: #d4e3ef; padding: 18px 22px; }
.performance-metrics .metric::after { display: none; }
.performance-metrics .metric span { grid-column: 1; font-weight: 600; color: var(--ocean); }
.performance-metrics .metric strong { grid-column: 2; grid-row: 1 / 3; margin: 0; color: var(--ocean); }
.performance-metrics .metric small { grid-column: 1; padding-top: 0; border-top: 0; }
.metric.performance { cursor: default; }
.metric.performance::after { background: var(--ocean); box-shadow: 0 0 0 5px #eaf3fa; }
.metric.performance small { line-height: 1.5; }
.metric { text-align: left; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 15px; background: white; display: flex; flex-direction: column; position: relative; }
.metric::after { content: ''; position: absolute; top: 20px; right: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--ocean); box-shadow: 0 0 0 5px #eaf3fa; }
.metric.danger::after { background: var(--red); box-shadow: 0 0 0 5px #fcedee; }
.metric.amber::after { background: var(--amber); box-shadow: 0 0 0 5px #faf4e8; }
.metric:last-child::after { background: #7b8f9f; box-shadow: 0 0 0 5px #f0f4f8; }
.metric span { font-size: 12px; color: var(--muted); font-weight: 550; padding-right: 16px; }
.metric strong { font-size: 38px; letter-spacing: -1.5px; font-weight: 650; line-height: 1.2; margin: 12px 0 10px; font-variant-numeric: tabular-nums; }
.metric small { font-size: 11px; color: var(--muted); border-top: 1px solid #ecf1f5; padding-top: 11px; }
.metric.danger strong { color: var(--red); }
.metric.amber strong { color: var(--amber); }
.metric[aria-pressed="true"] { border-color: var(--ocean); background: #eff6fb; box-shadow: 0 0 0 1px var(--ocean); }
.brief { background: #eaf3fa; border: 1px solid #d4e4f1; border-left: 4px solid var(--red); border-radius: var(--radius); padding: 21px 24px; display: flex; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.brief > div:first-child { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 28px; flex: 1; }
.brief .eyebrow { grid-column: 1; color: var(--ocean); margin-bottom: 0; font-size: 9px; }
.brief h2 { grid-column: 1; font-size: 21px; }
.brief p { grid-column: 1; color: #4e6c84; font-size: 12px; max-width: 740px; }
.brief .primary { grid-column: 2; grid-row: 1 / 4; white-space: nowrap; }
.brief-aside { flex: 0 0 135px; border-left: 1px solid #cbdde9; padding-left: 24px; display: flex; flex-direction: column; justify-content: center; }
.brief-aside span { font-size: 8px; letter-spacing: 1px; color: #4e6c84; font-weight: 650; }
.brief-aside strong { font-size: 34px; font-weight: 650; line-height: 1.35; font-variant-numeric: tabular-nums; }
.brief-aside p { font-size: 10px; }
.filters { padding: 14px 18px; display: grid; grid-template-columns: 1fr 1fr 1.5fr auto; gap: 16px; align-items: end; }
label, legend { font-size: 11px; color: var(--muted); font-weight: 600; }
input, select { width: 100%; min-height: 40px; border: 1px solid #dce5ed; border-radius: 7px; background: white; padding: 8px 10px; font-size: 12px; display: block; margin-top: 5px; min-width: 0; }
fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
.date-range { display: flex; gap: 9px; align-items: center; }
.filter-note { font-size: 11px; color: var(--muted); margin: 9px 2px 18px; }
.content { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 20px 22px 16px; }
.panel-heading .eyebrow { margin-bottom: 4px; font-size: 9px; }
.sort-note { font-size: 10px; color: var(--muted); margin-top: 4px; }
.panel-heading > span { font-size: 11px; color: var(--muted); white-space: nowrap; background: #f0f5f9; padding: 4px 9px; border-radius: 6px; }
.chips { display: flex; gap: 5px; flex-wrap: wrap; padding: 0 22px 16px; }
.chips button { border: 1px solid transparent; background: #f0f5f9; border-radius: 6px; min-height: 34px; padding: 6px 12px; font-size: 11px; color: var(--muted); font-weight: 550; }
.chips button[aria-pressed="true"] { background: var(--ocean); color: white; }
.task { padding: 17px 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.task-index { display: grid; place-items: center; align-self: start; background: #eef4f9; border-radius: 7px; height: 28px; width: 28px; font-size: 10px; font-weight: 650; color: var(--muted); margin-top: 2px; }
.task-body { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 4px 20px; }
.task-tags { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; font-size: 10px; color: var(--muted); grid-column: 1; margin-bottom: 2px; }
.badge { border-radius: 4px; padding: 2px 6px; font-size: 9px; background: #f0f4f8; color: #526b80; font-weight: 650; }
.badge.red { background: #fdecef; color: var(--red); }
.badge.amber { background: #fcf2dc; color: var(--amber); }
.badge.green { background: #eaf3fb; color: var(--ocean); }
.task h3 { grid-column: 1; font-size: 13px; font-weight: 700; }
.task-description { grid-column: 1; font-size: 12px; color: #536c80; white-space: pre-line; overflow-wrap: anywhere; }
.next-action { grid-column: 1; font-size: 11px; color: #366785; white-space: pre-line; overflow-wrap: anywhere; margin-top: 5px; }
.next-action strong { font-weight: 650; color: var(--ocean); }
.task-foot { grid-column: 2; grid-row: 1 / 5; border-left: 1px solid #ecf1f5; padding-left: 17px; display: flex; flex-direction: column; align-items: start; justify-content: center; gap: 3px; color: var(--muted); font-size: 11px; }
.task-owner { color: var(--ink); font-weight: 600; }
.task-target { font-size: 10px; }
.task-foot .task-detail { min-height: 36px; border: 1px solid #b8d2e5; border-radius: 7px; background: #e8f2fa; color: var(--ocean); font-size: 11px; font-weight: 650; padding: 7px 11px; margin-top: 8px; box-shadow: 0 1px 2px #173c5b0a; }
.task-foot .task-detail:hover { background: var(--ocean); border-color: var(--ocean); color: white; }
.task-foot .task-detail:active { background: #0c3957; }
.chart-legend { display: flex; gap: 14px; padding: 0 22px 18px; color: var(--muted); font-size: 10px; }
.chart-legend span { display: flex; align-items: center; gap: 5px; }
.legend-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.legend-dot.late, .track .late { background: #ce5960; }
.legend-dot.normal, .track .normal { background: #6e9ebd; }
.department { padding: 0 22px 17px; }
.department-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 12px; margin-bottom: 6px; }
.department-top strong { font-variant-numeric: tabular-nums; }
.track { height: 6px; background: #f0f4f8; border-radius: 20px; overflow: hidden; display: flex; }
.department small { display: block; font-size: 10px; color: var(--muted); margin-top: 5px; }
.department button { background: transparent; border: 0; padding: 0; text-align: left; min-height: 30px; font-size: 11px; color: var(--ink); font-weight: 550; }
.department button:hover { color: var(--ocean); text-decoration: underline; }
.data-note { padding: 19px 20px; margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #edf3f8; color: var(--muted); font-size: 11px; }
.data-note .eyebrow { font-size: 9px; margin-bottom: 6px; }
.data-note h3 { color: var(--ink); font-size: 12px; margin-bottom: 8px; }
.data-note small { display: block; font-size: 10px; border-top: 1px solid #d9e4ed; padding-top: 11px; margin-top: 11px; }
.more { margin: 14px 22px; width: calc(100% - 44px); }
.empty { padding: 28px 22px; color: var(--muted); font-size: 12px; }
.error { padding: 14px; background: #fdecef; color: var(--red); border-radius: 8px; margin-bottom: 16px; font-size: 12px; }
dialog { border: 1px solid var(--line); border-radius: 16px; width: min(640px, calc(100% - 24px)); max-height: 86dvh; padding: 26px; color: var(--ink); box-shadow: 0 30px 100px #173c5b30; }
dialog::backdrop { background: #102e4877; backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
#detail-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.field.full { grid-column: 1/-1; }
.field small { display: block; color: var(--muted); font-size: 10px; margin-bottom: 4px; }
.field p { font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.login { max-width: 420px; margin: 45px auto; padding: 30px; }
.login p { color: var(--muted); margin: 15px 0; }
.login label { display: block; margin: 15px 0; }
.login .primary { width: 100%; }
.login .eyebrow { color: var(--ocean); }
.login .login-access-note { border-top: 1px solid var(--line); margin: 22px 0 0; padding-top: 16px; font-size: 11px; }
#login-error { color: var(--red); font-size: 12px; }
@media (max-width: 1100px) {
  .content { grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; }
  .brief-aside { display: none; }
  .task-body { grid-template-columns: minmax(0, 1fr) 125px; gap: 4px 12px; }
  .task-foot { padding-left: 12px; }
}
@media (max-width: 900px) {
  .content { grid-template-columns: 1fr; }
  .content aside { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .data-note { margin-top: 0; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters fieldset { grid-column: 1; }
  .filters > .quiet { justify-self: end; }
  .metrics { gap: 10px; }
  .metric { padding: 16px; }
  .metric small { font-size: 10px; }
  .brief > div:first-child { gap: 6px 18px; }
}
@media (max-width: 650px) {
  .brand { font-size: 15px; }
  .brand small { font-size: 9px; }
  .mark { width: 36px; height: 36px; }
  main { padding: 24px 16px 40px; }
  .page-title { align-items: start; gap: 12px; }
  .page-title .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .page-title > .quiet { font-size: 10px; padding: 8px 10px; white-space: nowrap; }
  .page-title p { font-size: 12px; }
  .snapshot { gap: 4px; font-size: 10px; }
  .snapshot-meta { gap: 6px; }
  .snapshot-cutoff { font-size: 9px; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
  .metric { padding: 15px; border-radius: 10px; }
  .metric::after { top: 20px; right: 16px; width: 6px; height: 6px; }
  .metric strong { font-size: 32px; margin: 10px 0; }
  .metric small { font-size: 9px; }
  .performance-metrics { gap: 10px; margin-bottom: 16px; }
  .performance-metrics .metric { display: flex; padding: 15px; gap: 7px; }
  .performance-metrics .metric span { padding-right: 0; }
  .performance-metrics .metric strong { font-size: 30px; }
  .performance-metrics .metric small { font-size: 10px; }
  .brief { padding: 18px; margin-bottom: 16px; }
  .brief > div:first-child { display: block; }
  .brief .eyebrow { margin-bottom: 7px; }
  .brief h2 { font-size: 19px; }
  .brief p { margin: 8px 0 13px; font-size: 12px; }
  .filters { padding: 14px; gap: 12px; }
  .filters fieldset { grid-column: 1/-1; }
  .filters > .quiet { grid-column: 1/-1; width: 100%; min-height: 36px; }
  .filter-note { font-size: 10px; }
  .content aside { display: block; }
  .data-note { margin-top: 14px; }
  .panel-heading { padding: 18px 16px 14px; }
  .panel-heading h2 { font-size: 17px; }
  .chips { padding: 0 16px 14px; gap: 5px; }
  .chips button { padding: 6px 9px; font-size: 10px; }
  .task { padding: 16px; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
  .task-index { width: 24px; height: 24px; }
  .task-body { display: block; }
  .task-tags { margin-bottom: 5px; }
  .task-description { margin-top: 4px; }
  .next-action { margin-top: 7px; }
  .task-foot { border-left: 0; padding-left: 0; margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
  .task-foot button { grid-column: 2; grid-row: 1 / 3; }
  .task-foot .task-detail { margin-top: 0; }
  .task-owner, .task-target { grid-column: 1; }
  #detail-fields { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}
@media (max-width: 380px) {
  .page-title { display: block; }
  .page-title > .quiet { margin-top: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  button { transition: background .15s, border-color .15s; }
  .metric:hover { border-color: #9ab9ce; background: #f8fbfd; }
  .quiet:hover, .chips button:hover { background: #e8f1f8; }
  .chips button[aria-pressed="true"]:hover, .primary:hover { background: #0c3957; }
}
/* Account workspace and CMS */
.cms-summary { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.cms-table-wrap { overflow-x: auto; }
.cms-table { width: 100%; min-width: 820px; border-collapse: collapse; text-align: left; font-size: 12px; }
.cms-table th { padding: 15px 20px; background: #edf4f9; color: var(--muted); font-size: 10px; letter-spacing: .5px; font-weight: 650; }
.cms-table td { border-top: 1px solid var(--line); padding: 18px 20px; vertical-align: middle; }
.cms-table td strong { display: block; font-size: 13px; }
.cms-table td small { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.row-actions { display: flex; gap: 7px; }
.row-actions button { min-height: 34px; font-size: 10px; padding: 7px 10px; white-space: nowrap; }
.reset-button { color: var(--red); }
.cms-help { margin-top: 15px; }
.editor-form { display: grid; gap: 15px; }
.editor-form label { display: block; }
textarea { font: inherit; color: inherit; width: 100%; display: block; border: 1px solid #dce5ed; border-radius: 7px; background: white; padding: 10px; font-size: 12px; margin-top: 5px; resize: vertical; }
textarea:focus-visible { outline: 3px solid #619ec4; outline-offset: 3px; }
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-help { font-size: 11px; color: var(--muted); line-height: 1.6; }
.form-error { color: var(--red); font-size: 12px; white-space: pre-wrap; }
.form-error:empty { display: none; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.dialog-actions:empty { display: none; }
#password-form .quiet { width: 100%; margin-top: 10px; }
#credential-user { margin-bottom: 16px; font-size: 13px; font-weight: 600; }
#credential-password { font-family: ui-monospace, monospace; font-size: 15px; background: #edf4f9; }
#credentials .form-help, #reset-editor .form-help { margin-top: 15px; }
@media (max-width: 650px) {
  .form-columns { grid-template-columns: 1fr; }
  #cms .page-title { flex-wrap: wrap; }
  .dialog-actions > button { flex: 1 1 auto; }
}
/* Integrated application header */
.header-main { max-width: 1400px; margin: auto; min-height: 88px; padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-toolbar { max-width: 1400px; margin: auto; min-height: 64px; padding: 0 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid #edf1f5; }
.workspace-nav { display: flex; align-items: center; gap: 8px; align-self: stretch; }
.nav-tab { display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 0 18px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; }
.nav-tab svg { flex: 0 0 auto; }
.nav-tab:hover { color: var(--ocean); background: #f7fafc; }
.nav-tab[aria-current="page"] { border-bottom-color: var(--ocean); color: var(--ocean); background: #f5f9fc; }
.nav-create { align-self: center; margin-left: 12px; min-height: 36px; border: 1px solid #c5dbea; border-radius: 7px; padding: 8px 13px; background: #eaf3fa; color: var(--ocean); font-size: 11px; font-weight: 650; }
.nav-create:hover { background: #dcecf7; }
.header-toolbar .snapshot { margin-left: auto; padding: 10px 0; }
.snapshot-dot { width: 6px; height: 6px; border-radius: 50%; background: #6193b2; display: inline-block; flex: 0 0 auto; }
.cutoff-compact { display: none; }
.profile { position: relative; flex: 0 1 auto; }
.profile summary { display: flex; align-items: center; gap: 11px; padding: 7px 9px; border: 1px solid transparent; border-radius: 11px; cursor: pointer; list-style: none; }
.profile summary::-webkit-details-marker { display: none; }
.profile summary::marker { content: ''; }
.profile summary:hover, .profile[open] summary { background: #f1f6fa; border-color: #e2eaf1; }
.profile summary:focus-visible { outline: 3px solid #619ec4; outline-offset: 3px; }
.profile-avatar { position: relative; display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(135deg, #124b70, #337499); color: white; font-size: 12px; font-weight: 650; letter-spacing: .5px; }
.profile-avatar::after { content: ''; position: absolute; bottom: 0; right: 0; width: 8px; height: 8px; border: 2px solid white; border-radius: 50%; background: var(--red); }
.profile-identity { display: flex; flex-direction: column; gap: 2px; max-width: 260px; text-align: left; overflow-wrap: anywhere; }
.profile-identity strong { font-size: 13px; font-weight: 650; line-height: 1.4; color: var(--ink); }
.profile-role { font-size: 10px; color: var(--muted); line-height: 1.4; }
.profile-chevron { color: var(--muted); margin-left: 7px; flex: 0 0 auto; }
.profile[open] .profile-chevron { transform: rotate(180deg); }
.profile-menu { position: absolute; right: 0; top: calc(100% + 9px); z-index: 50; width: 238px; max-width: calc(100vw - 32px); padding: 9px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 36px #173c5b1c; }
.menu-label { display: block; padding: 8px 10px 10px; font-size: 8px; letter-spacing: 1.2px; font-weight: 650; color: var(--muted); }
.profile-menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 11px 10px; min-height: 42px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); font-size: 12px; font-weight: 550; }
.profile-menu button:hover { background: #edf4f9; }
.profile-menu .menu-logout { color: var(--red); margin-top: 5px; border-top: 1px solid var(--line); border-radius: 0 0 7px 7px; }
.profile-menu .menu-logout:hover { background: #fff2f3; }
@media (max-width: 650px) {
  .header-main { min-height: 76px; padding: 12px 16px; flex-wrap: wrap; gap: 12px; }
  .header-main .brand { font-size: 14px; gap: 9px; }
  .profile { margin-left: auto; }
  .profile summary { padding: 5px 6px; gap: 8px; }
  .profile-identity { max-width: 190px; }
  .profile-identity strong { font-size: 12px; }
  .profile-avatar { width: 32px; height: 32px; font-size: 10px; }
  .profile-chevron { margin-left: 2px; }
  .header-toolbar { display: grid; grid-template-columns: auto minmax(0, 1fr); padding: 0 16px; gap: 8px; }
  .workspace-nav { width: auto; gap: 4px; }
  .nav-tab { min-height: 52px; padding: 0 8px; font-size: 11px; gap: 6px; }
  .nav-create { margin-left: auto; padding: 7px 10px; font-size: 10px; }
  .header-toolbar .snapshot { width: auto; margin-left: auto; align-items: flex-end; text-align: right; padding: 8px 0; gap: 4px; }
  .header-toolbar .snapshot-meta { justify-content: flex-end; }
}
@media (max-width: 440px) {
  .header-toolbar { display: flex; gap: 0; }
  .workspace-nav { width: 100%; }
  .header-toolbar .snapshot { width: 100%; margin: 0; padding: 9px 0 12px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; gap: 4px 12px; font-size: 9px; }
  .header-toolbar .snapshot-meta { justify-content: center; }
  .cutoff-full { display: none; }
  .cutoff-compact { display: inline; }
}
.pic-fieldset { border: 1px solid var(--line); border-radius: 9px; padding: 12px; }
.pic-fieldset legend { padding: 0 5px; }
.pic-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pic-options .pic-choice { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; background: #f5f9fc; cursor: pointer; font-size: 11px; }
.pic-choice input { width: 15px; min-height: 15px; height: 15px; margin: 0; accent-color: var(--ocean); }
.rich-editor-wrap { border: 1px solid #dce5ed; border-radius: 9px; overflow: hidden; margin-top: 5px; }
.rich-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 7px; background: #edf4f9; border-bottom: 1px solid var(--line); }
.rich-toolbar button { border: 1px solid transparent; border-radius: 5px; padding: 5px 9px; min-height: 32px; background: white; font-size: 12px; }
.rich-toolbar button:hover { border-color: #b5cedf; background: #e4eff7; }
.rich-editor { min-height: 125px; padding: 12px; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.rich-editor:focus-visible { outline: 2px solid #619ec4; outline-offset: -2px; }
.rich-editor p, .rich-description p { margin: 0 0 7px; }
.rich-editor ul, .rich-editor ol, .rich-description ul, .rich-description ol { margin: 5px 0 10px; padding-left: 23px; }
.rich-description { font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
#pic-editor-project, #confirm-editor-project { margin-bottom: 18px; }
.pic-role { font-size: 9px; font-weight: 500; color: var(--muted); padding-left: 5px; border-left: 1px solid var(--line); }
