[hidden] { display: none !important; }

.workspace-page-top { align-items: flex-start; margin-bottom: 30px; }
.workspace-page-top h1 { margin: 0 0 10px; font-size: 32px; line-height: 1.16; }
.workspace-page-top .subtitle { max-width: 700px; line-height: 1.6; }
.workspace-page-top > .button { margin-top: 20px; }
.workspace-section { margin: 34px 0; }
.workspace-section h2, .workspace-panel h2 { font-size: 20px; line-height: 1.3; }
.workspace-panel { padding: 24px; background: #fff; border: 1px solid #e2e6dc; border-radius: 8px; }
.workspace-panel.gentle { background: #f1ede4; }
.workspace-panel > p:last-child { margin-bottom: 0; }
.view-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr); gap: 20px; margin: 26px 0; }
.view-grid > * { min-width: 0; }
.workspace-research-grid { margin-bottom: 28px; }
.workspace-research-grid .card-body { min-height: 230px; }
.workspace-research-grid .card-body > a { color: #42664f; font-size: 12px; font-weight: 700; }
.briefing-note { max-width: 760px; }
.briefing-note h2 { margin: 0 0 8px; font-size: 20px; }
.briefing-note p:not(.eyebrow) { max-width: 620px; }
.card-symbol { font-size: 56px; line-height: 1; }

.impact-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.impact-stat { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; background: #fff; border: 1px solid #e2e6dc; border-radius: 7px; }
.impact-stat span { color: #788074; font-size: 11px; }
.impact-stat strong { color: #284235; font-family: Manrope, sans-serif; font-size: 30px; line-height: 1; }
.bar-chart { display: grid; grid-template-columns: repeat(6, minmax(44px, 1fr)); gap: 12px; min-height: 190px; padding: 18px 4px 0; border-bottom: 1px solid #e1e5dc; }
.bar-item { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 7px; min-width: 0; text-align: center; }
.bar-track { display: flex; align-items: flex-end; justify-content: center; width: min(42px, 100%); height: 118px; background: #f3f4ef; border-radius: 4px 4px 0 0; }
.bar-track span { width: 100%; background: #879f7e; border-radius: 4px 4px 0 0; }
.bar-item small { overflow: hidden; max-width: 100%; color: #6d756b; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.compact { min-height: 150px; }

.library-tools { display: flex; align-items: flex-end; gap: 16px; margin: 0 0 20px; }
.search-field { flex: 1; max-width: 520px; }
.filter-field { width: min(230px, 35%); }
.activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.activity-card { overflow: hidden; background: #fff; border: 1px solid #e2e6dc; border-radius: 8px; }
.activity-card-top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; min-height: 112px; padding: 16px; color: #879f7e; background: #e7ecdf; }
.activity-card-top::after { position: absolute; top: 50%; left: 50%; color: currentColor; content: "✳"; font-family: Georgia, serif; font-size: 46px; opacity: .7; transform: translate(-50%, -40%); }
.activity-card-top.art1::after { content: "◎"; }
.activity-card-top.art2::after { content: "◌"; }
.activity-kind, .activity-time { color: #596c59; font-size: 10px; font-weight: 700; }
.activity-time { padding: 5px 8px; background: #fff9; border-radius: 4px; }
.activity-card-body { padding: 18px; }
.activity-card-body h3 { margin: 0 0 8px; color: #293d32; font-size: 16px; line-height: 1.35; }
.activity-card-body p { margin-bottom: 11px; color: #6c746b; font-size: 11px; line-height: 1.6; }
.activity-card-body .activity-meta { color: #849078; font-size: 10px; font-weight: 700; }
.activity-card-body .access-note { min-height: 54px; }
.activity-card-body .button { margin-top: 5px; }
.activity-card.art-hidden { display: none; }

.data-form { margin: 0 0 28px; }
.data-form .section-head { align-items: flex-start; }
.data-form .section-head h2 { margin: 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; color: #536054; font-size: 11px; font-weight: 600; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 42px; padding: 10px 12px; color: #293d32; background: #fff; border: 1px solid #dfe4db; border-radius: 5px; font: inherit; font-size: 12px; font-weight: 400; }
.field textarea { min-height: 88px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid #879f7e; outline-offset: 1px; border-color: #879f7e; }
.field-label { display: block; margin-bottom: 8px; color: #536054; font-size: 11px; font-weight: 600; }
.selected-activities { margin-top: 20px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 12px; }
.activity-chip { padding: 6px 9px; color: #45634e; background: #e9eee4; border-radius: 4px; font-size: 10px; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 20px; }
.workspace-view .quiet-button, .workspace-view .text-link { padding: 7px 9px; color: #42664f; background: transparent; border: 0; border-radius: 4px; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.workspace-view .quiet-button:hover, .workspace-view .text-link:hover { background: #edf0e9; }
.quiet-button.danger { color: #9c574c; }
.record-list { display: flex; flex-direction: column; border-top: 1px solid #e2e6dc; }
.record-row { display: flex; align-items: flex-start; gap: 16px; padding: 18px 4px; border-bottom: 1px solid #e2e6dc; }
.record-main { flex: 1; min-width: 0; }
.record-main h3 { margin: 0 0 6px; color: #293d32; font-size: 15px; line-height: 1.4; }
.record-main p { margin: 5px 0 0; color: #737b71; font-size: 11px; line-height: 1.6; }
.record-main .eyebrow { margin: 0 0 7px; color: #839078; font-size: 9px; }
.record-main .record-detail { margin-top: 9px; color: #536054; }
.record-main > a { color: #42664f; font-size: 11px; }
.record-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.empty-state { padding: 30px; text-align: center; background: #f7f8f4; border: 1px dashed #d9e0d4; border-radius: 7px; }
.empty-state h3 { margin: 0 0 8px; color: #30493a; font-size: 17px; }
.empty-state p { max-width: 480px; margin: 0 auto 18px; color: #6f786e; font-size: 12px; line-height: 1.6; }
.muted { color: #7e867b; font-size: 11px; }
.count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; margin-left: 5px; color: #526a54; background: #e9eee4; border-radius: 50%; font-size: 11px; vertical-align: 2px; }
.partner-avatar { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; color: #45634e; background: #e9eee4; border-radius: 50%; font-size: 11px; font-weight: 700; }
.notice { margin: 0 0 16px; padding: 11px 14px; color: #355943; background: #e9f1e7; border-left: 3px solid #66886b; font-size: 12px; }
.workspace-footer { margin-top: 38px; }

button:focus-visible, a:focus-visible { outline: 2px solid #66886b; outline-offset: 2px; }

@media (max-width: 1100px) {
  .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .impact-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace-research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .workspace-page-top { align-items: flex-start; flex-direction: column; gap: 12px; }
  .workspace-page-top > .button { margin-top: 0; }
  .workspace-page-top h1 { font-size: 27px; }
  .view-grid { grid-template-columns: 1fr; }
  .activity-grid, .workspace-research-grid { grid-template-columns: 1fr; }
  .library-tools { align-items: stretch; flex-direction: column; }
  .search-field, .filter-field { width: 100%; max-width: none; }
  .field-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .record-row { flex-wrap: wrap; }
  .record-actions { width: 100%; justify-content: flex-start; margin-left: 0; }
  .workspace-panel { padding: 18px; }
  .impact-stats { gap: 8px; }
  .impact-stat { padding: 14px; }
  .impact-stat strong { font-size: 25px; }
}

@media print {
  aside, main > header, .workspace-footer, .button, .quiet-button, .form-actions { display: none !important; }
  main { width: 100% !important; margin: 0 !important; }
  main .content { max-width: none; padding: 0; }
}