/* One observation-entry design, using the existing full-form sections and typography. */
.benchmark-ui{max-width:100%;min-width:0;margin:20px 0;color:#033249}
.benchmark-ui>h1{font-family:var(--heading-font,-apple-system,system-ui,sans-serif);font-size:30px;line-height:1.3;margin:18px 0;color:#173d4a}
.benchmark-ui>.back{font-size:18px;color:#173d4a;margin-bottom:8px}
.benchmark-ui form.sectioned-entry{display:block;max-width:none;width:100%;box-sizing:border-box}
.benchmark-ui .app-section{border:2px solid #879fc6;border-radius:14px;padding:22px;margin:24px 0;min-width:0;background:linear-gradient(135deg,#edf3fa,#e8edf9)}
.benchmark-ui .section-tone-green{background:linear-gradient(135deg,#edf6f1,#e6f1ec);border-color:#89ad9a}
.benchmark-ui .section-tone-lilac{background:linear-gradient(135deg,#f4edf8,#eee6f4);border-color:#aa8dbc}
.benchmark-ui fieldset{min-width:0;box-sizing:border-box}
.benchmark-ui .app-section>legend{font-size:21px;font-weight:700;line-height:1.4;color:#033249;padding:0 8px;max-width:100%;white-space:normal;overflow-wrap:anywhere;float:none;width:auto;margin:0}
.benchmark-ui label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:17px;line-height:1.5;margin:14px 0;color:#344961}
.benchmark-ui input,.benchmark-ui select,.benchmark-ui textarea{width:100%;max-width:100%;min-height:52px;background:#fff!important;color:#033249;font:18px/1.5 var(--ui-font,-apple-system,system-ui,sans-serif);padding:10px 12px;border:1px solid #8fa7c6;border-radius:8px;box-sizing:border-box}
.benchmark-ui textarea{min-height:110px}
.benchmark-ui .bm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;align-items:start}
.benchmark-ui .bm-buttons,.benchmark-ui .actions{display:flex;flex-wrap:wrap;gap:12px}
.benchmark-ui article{background:#edf6f1;border:2px solid #89ad9a;border-radius:14px;padding:20px;margin:20px 0;min-width:0}
.benchmark-ui pre{white-space:pre-wrap;overflow-wrap:anywhere;font:15px/1.5 ui-monospace,monospace}
.benchmark-ui .btn{font-size:18px;min-height:48px;white-space:normal;max-width:100%}
.benchmark-ui .help{font-size:16px;line-height:1.6;color:#43576e}
.benchmark-ui .err{color:#8a2531}
.benchmark-ui button:focus-visible,.benchmark-ui input:focus-visible,.benchmark-ui select:focus-visible,.benchmark-ui textarea:focus-visible{outline:3px solid #67466f;outline-offset:3px}
.observation-source-reference{font-size:16px;line-height:1.5;margin:16px 0;overflow-wrap:anywhere;color:#43576e}
.observation-source-reference>summary{cursor:pointer;font-weight:600}
.benchmark-ui .entry-goal-reference{margin:18px 0 24px}
.bm-unassigned{font-size:14px;font-weight:600;color:#435d6d;margin:8px 0}
@media(max-width:700px){.benchmark-ui .bm-grid{grid-template-columns:minmax(0,1fr)}.benchmark-ui .app-section{padding:17px 13px}.benchmark-ui>h1{font-size:28px}.benchmark-ui .bm-buttons .btn,.benchmark-ui .actions .btn{width:100%}}

/* Reference aliases remain smaller than activity titles, with one responsive scale. */
.source-alias,.activity-reference,.activity-reference-detail{font-size:21px;line-height:1.3;font-weight:700}
@media(max-width:800px){.source-alias,.activity-reference,.activity-reference-detail{font-size:18px}}
@media(max-width:520px){.source-alias,.activity-reference,.activity-reference-detail{font-size:16px}}
