/* Shared write, guide and record patterns */
.office-identity {max-width:490px;margin:12px auto;}
[data-performance-root] .office-identity form {display:grid;gap:10px;margin:14px 0 0;max-width:none;padding:0;border:0;background:transparent;}
.office-identity form label {display:grid;gap:5px;margin:0;}
.office-identity form :is(input,select) {width:100%;}
.office-identity [role=alert]:empty {display:none;}
.office-enroll-hint {color:var(--ui-muted);font-size:13px;}
main:has(.office-identity)>h1 {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
.office-home .field-menu button {grid-template-columns:20px minmax(0,1fr) 16px;gap:4px 8px;}
.office-home .field-menu button strong,.office-home .field-menu button span {grid-column:2;}
.office-home .field-menu button i {grid-column:3;}
.office-home .field-menu button .ux-icon {grid-column:1;grid-row:1/3;}
@media(min-width:801px){
  main .office-navigation {bottom:166px;}
  .office-home .field-menu {grid-template-columns:repeat(auto-fit,minmax(min(275px,100%),1fr));}
}
@media(max-width:800px){
  body>header:has(.office-account){height:auto;min-height:56px;flex-wrap:wrap;gap:4px 10px;padding-block:6px;}
  .office-account {flex-wrap:wrap;}
  [data-performance-root] .office-navigation [data-route=operation]{display:grid;}
}
[data-performance-root] .ux-heading {
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  color:var(--ui-ink);
}
[data-performance-root] h4.ux-heading {font-size:14px;line-height:1.45;}
.ux-icon {display:block;flex:0 0 20px;filter:brightness(.58) saturate(1.3);}
[data-performance-root] .ux-guide {display:grid;gap:12px;align-content:start;}
[data-performance-root] .ux-guide.desktop-help {display:none;}
.ux-guide ul {padding-inline-start:20px;margin:0;}
.ux-guide ul li+li {margin-top:6px;}
.ux-guide p {margin:0;}
.ux-guide-flow {display:grid;gap:5px;justify-items:start;}
.ux-guide-flow+.ux-guide-flow {padding-top:10px;border-top:1px solid var(--ui-edge);}
.ux-example {
  display:grid;
  gap:5px;
  padding:14px 16px;
  border:1px solid var(--ui-edge);
  border-radius:var(--ui-control-radius);
  background:#f5f8fc;
}
.ux-example small {color:var(--ui-primary);font-size:13px;font-weight:600;}
.ux-example h4, .ux-example p {margin:0;}
.ux-example dl {display:grid;gap:6px;margin:7px 0 0;}
.ux-example dl div {display:grid;grid-template-columns:6.25em minmax(0,1fr);gap:10px;}
.ux-example dt {font-weight:600;color:var(--ui-ink);}
.ux-example dd {margin:0;color:var(--ui-muted);overflow-wrap:anywhere;}
.ux-example dl div+div {padding-top:6px;border-top:1px solid var(--ui-edge);}
.field {
  --writing-control:40px;
  --writing-textarea:84px;
  --writing-option-active:#2563eb;
}
[data-performance-root] .field :is(.guided-field,.segmented-field) {min-width:0;margin:0;}
[data-performance-root] .field form > .guided-field {gap:5px;}
[data-performance-root] .field form :is(.guided-field > span,legend) {font-size:14px;font-weight:700;color:var(--ui-ink);}
[data-performance-root] .field :is(.guided-field input:not([type=radio]),.guided-field select,.picker-disclosure summary) {
  min-height:var(--writing-control);
}
[data-performance-root] .field .guided-field :is(input:not([type=radio]),select) {height:var(--writing-control);}
[data-performance-root] .field .guided-field textarea {height:var(--writing-textarea);min-height:var(--writing-textarea);}
[data-performance-root] .field .guided-field :is(input,textarea)::placeholder {color:#64748b;opacity:1;}
[data-performance-root] .field .segmented-field {border:0;padding:0;}
.segmented-choices {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
[data-performance-root] .field .segmented-choices label {
  position:relative;display:grid;place-items:center;min-height:var(--writing-control);
  margin:0;border:1px solid var(--ui-edge);border-radius:var(--ui-control-radius);
  color:var(--ui-ink);background:#fff;font-weight:700;cursor:pointer;
}
.segmented-choices label:has(:focus-visible) {outline:2px solid #3367bf;outline-offset:2px;}
[data-performance-root] .field .segmented-choices label:has(:checked) {
  background:var(--writing-option-active);border-color:var(--writing-option-active);color:#fff;
}
[data-performance-root] .field form .segmented-choices input {width:1px;height:1px;min-height:0;padding:0;}
[data-performance-root] .field .picker-disclosure summary {
  padding:5px 10px;border:1px solid var(--ui-edge);border-radius:var(--ui-control-radius);font-weight:400;
}
[data-performance-root] .field :is([data-participant-picker],.participant-selected,.participant-count,[data-picker-self])[hidden] {display:none;}
[data-performance-root] .field .picker-disclosure .golden-summary-title {display:inline;line-height:1.45;}
[data-performance-root] .field form .choice-chip {min-height:36px;}
[data-performance-root] .field form .ux-form-actions .ux-primary {min-height:44px;min-width:84px;}
.guided-reference #guided-example,.guided-rules {display:grid;gap:10px;}
.guided-rules {padding-top:12px;}
.guided-return {padding-top:4px;border-top:1px solid var(--ui-edge);}
[data-performance-root] .field-title {margin-bottom:10px;}
[data-performance-root] .guided-reference .field-example {padding:0;}
[data-performance-root] .guided-reference .guided-toggle {
  width:100%;display:flex;justify-content:flex-start;gap:8px;background:white;color:var(--ui-ink);
  padding:6px 10px;border:1px solid var(--ui-edge);border-radius:var(--ui-control-radius);margin:0;
}
.guided-toggle .golden-chevron {margin-inline-start:auto;}
.guided-toggle[aria-expanded=true] .golden-chevron {transform:rotate(225deg);}
[data-performance-root] .worker-home :is(.home-write,.home-read) {
  display:block;margin:0 0 12px;padding:var(--ui-card-pad,16px);
  border:1px solid var(--ui-edge);border-radius:var(--ui-card-radius,12px);background:white;
}
[data-performance-root] .worker-home .home-write>p {margin:4px 0 6px;color:var(--ui-muted);font-size:13px;}
[data-performance-root] .worker-home :is(.home-write,.home-read) .field-menu {display:grid;grid-template-columns:1fr;gap:0;margin:0;}
[data-performance-root] .worker-home :is(.home-write,.home-read) .field-menu button {
  grid-template-columns:20px minmax(0,1fr) auto auto 7px;align-items:center;gap:8px;
  min-height:52px!important;padding:6px 4px!important;
  border-width:0 0 1px;border-radius:0;text-align:left;
}
.worker-home .home-action-copy {display:grid;gap:2px;min-width:0;}
[data-performance-root] .worker-home .home-action-copy strong {color:var(--ui-ink);}
.worker-home .home-action-copy small {color:var(--ui-muted);font-size:12px;line-height:1.45;}
[data-performance-root] .worker-home .home-action-next {grid-column:4;color:var(--ui-primary);font-weight:600;white-space:nowrap;}
[data-performance-root] .worker-home .home-action-status {grid-column:3;color:var(--ui-muted);white-space:nowrap;}
[data-performance-root] .worker-home .home-action-copy {grid-column:2;}
[data-performance-root] .worker-home .field-menu .golden-chevron {grid-column:5;transform:rotate(-45deg);color:var(--ui-primary);}
[data-performance-root] .worker-home .home-read .ux-help-link {margin-top:6px;}
@media(min-width:1100px) {
  [data-performance-root] .field-grid:has(.guided-reference) {
    grid-template-areas:"form reference" "form records";grid-template-rows:auto 1fr;row-gap:0;
  }
  .guided-reference {grid-area:reference;}
  .guided-reference+form {grid-area:form;}
  .guided-reference~.field-records {grid-area:records;}
  [data-performance-root] .field-grid>.guided-reference {border-bottom:0;border-radius:12px 12px 0 0;padding-bottom:12px;}
  [data-performance-root] .field-grid:has(.guided-reference)>.field-records {border-top:0;border-radius:0 0 12px 12px;padding-top:0;}
  .guided-reference~.field-records .record-ledger {border-top:1px solid var(--ui-edge);padding-top:12px;}
  [data-performance-root] .guided-reference .guided-toggle {display:none;}
  .guided-return {display:none;}
}
@media(min-width:801px){
  [data-performance-root] .field-grid form>:is(.segmented-field,.guided-field:has([name=line])) {grid-column:auto;}
  [data-performance-root] .field-grid form:not(:has([name=category],[name=suggestion],[name=line]))>.guided-field:has([name=day]) {grid-column:1/-1;}
  [data-performance-root] .field-grid form:has(.guided-field [name=day]) {row-gap:12px;}
}
@media(max-width:1099px) {
  [data-performance-root] .field-grid>.guided-reference {padding:0;background:none;border:0;}
  [data-performance-root] .guided-toggle[aria-expanded=false]+.ux-guide {display:none;}
  [data-performance-root] .guided-reference .ux-guide {padding-top:8px;}
  .guided-reference aside>.ux-heading {display:none;}
}
@media(min-width:801px) and (max-width:1099px) {
  .worker-home {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"heading" "trend" "radar" "status" "help";
  }
}
[data-performance-root] button.ux-help-link[type] {
  display:inline-flex;
  justify-content:flex-start;
  align-items:center;
  gap:12px;
  width:fit-content;
  min-height:var(--ui-control);
  padding:0 8px;
  background:transparent;
  color:var(--ui-primary);
  border:1px solid transparent;
  border-radius:var(--ui-control-radius);
  font-weight:600;
}
[data-performance-root] button.ux-help-link:hover {background:#edf4ff;}
.ux-help-link .golden-chevron {transform:rotate(-45deg);border-color:currentColor;}
.record-ledger>.ux-heading {margin-bottom:10px;}
[data-performance-root] .ux-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px;
  padding:12px 0 0;
  margin:0;
}
[data-performance-root] .ux-page-actions {margin-block:12px 0;border-top:1px solid var(--ui-edge);}
[data-performance-root] .ux-form-actions {border-top:1px solid var(--ui-edge);margin-top:4px;}
[data-performance-root] .ux-actions button[type] {
  min-height:var(--ui-control);
  padding:6px 16px;
  border:1px solid var(--ui-edge);
  border-radius:var(--ui-control-radius);
  background:white;
  color:var(--ui-ink);
  font:600 14px/1.45 "Segoe UI","Malgun Gothic",sans-serif;
}
[data-performance-root] .ux-actions button.ux-primary {background:var(--ui-primary);border-color:var(--ui-primary);color:white;}
[data-performance-root] .ux-actions button:not(:disabled):hover {filter:brightness(.94);}
[data-performance-root] .ux-actions button:disabled {opacity:.5;cursor:not-allowed;}
@media(min-width:801px) {
  [data-performance-root] .ux-guide.desktop-help {display:grid;}
}
@media(max-width:800px) {
  .ux-form-actions button {flex:1 1 auto;}
  [data-performance-root] .ux-page-actions button {white-space:normal;}
  .field {--writing-control:44px;--writing-textarea:72px;}
  [data-performance-root] .field-grid form:has(.guided-field) {display:grid;gap:12px;}
  [data-performance-root] .field form .choice-chips {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
  [data-performance-root] .field form .choice-chip {min-width:0;min-height:40px;overflow-wrap:anywhere;}
  [data-performance-root] .worker-home :is(.home-write,.home-read) .field-menu button {column-gap:6px;}
  [data-performance-root] .worker-home .home-action-status {grid-column:2;grid-row:2;}
}


/* Office overview and annual evaluation */
[data-performance-root] .office-identity {width:min(100%,480px);margin:24px auto;padding:20px;}
[data-performance-root] .office-identity h2 {font:700 24px/1.3 "Segoe UI","Malgun Gothic",sans-serif;}
[data-performance-root] .office-identity :is(input,select) {height:40px;}
[data-performance-root] .office-identity small {color:var(--ui-muted);}
[data-performance-root] .office-overview {display:grid;gap:var(--ui-gap);}
[data-performance-root] .office-overview :is(.pf-card,.home-metrics) {margin:0;}
[data-performance-root] .office-overview h3 {margin:0 0 10px;}
.office-insights {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:var(--ui-gap);}
.office-overview .office-home .field-menu {display:block;margin:4px 0 0;}
[data-performance-root] .office-overview .office-home .field-menu button {display:grid;grid-template-columns:20px minmax(80px,1fr) auto auto 10px;align-items:center;gap:8px;width:100%;min-height:44px;padding:6px 0!important;border:0;border-bottom:1px solid var(--ui-edge);border-radius:0;}
[data-performance-root] .office-overview .office-home .field-menu button :is(strong,span,small,i,.ux-icon) {grid-area:auto;}
.office-overview .office-home .field-menu button small {color:var(--ui-primary);}
.office-trend {list-style:none;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px;align-items:end;margin:8px 0 0;padding:0;}
.office-trend li {display:grid;grid-template-rows:auto 64px auto;justify-items:center;gap:4px;text-align:center;min-width:0;color:var(--ui-muted);font:var(--ui-chart-label) "Segoe UI",sans-serif;}
.office-trend b {color:var(--ui-ink);}
.office-trend i {width:65%;height:var(--office-bar);align-self:end;background:#85a8d8;border-radius:3px 3px 0 0;grid-row:2;}
.office-trend li span {grid-row:3;}
.office-evaluator {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.review-space.eval-workspace {display:grid;gap:var(--ui-gap);padding:0;border:0;background:transparent;}
.eval-heading {display:flex;justify-content:space-between;align-items:end;flex-wrap:wrap;gap:8px 16px;padding:0;border:0;height:auto;background:transparent;}
.eval-heading h2 {margin:0;font:700 var(--ui-page-title) "Segoe UI","Malgun Gothic",sans-serif;}
.eval-heading p,.eval-score-strip span:last-child {margin:3px 0 0;color:var(--ui-muted);}
.eval-message {margin:0;color:var(--ui-primary);}
.eval-message:empty {display:none;}
.eval-kpis {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ui-gap);margin:0;}
[data-performance-root] .eval-kpis button {display:grid;justify-content:start;gap:3px;text-align:left;color:var(--ui-ink);background:#fff;border:1px solid var(--ui-edge);border-radius:var(--ui-radius);padding:12px 16px;}
[data-performance-root] .eval-kpis button[aria-pressed=true] {border-color:var(--ui-primary);background:#f3f6fb;}
.eval-kpis button>span {color:var(--ui-muted);font:var(--ui-help) "Segoe UI",sans-serif;}
.eval-kpis strong {font:700 var(--ui-kpi) "Segoe UI",sans-serif;}
.eval-kpis small {margin-inline-start:3px;font:var(--ui-help) "Segoe UI",sans-serif;color:var(--ui-muted);}
.eval-completion,.eval-list-caption {display:flex;justify-content:space-between;gap:8px;margin:0;color:var(--ui-muted);}
.eval-completion {padding:0 2px;}
.eval-completion b {margin-inline-start:4px;color:var(--ui-ink);}
.eval-list-caption {margin:10px 0;font-size:13px;}
.eval-detail-state {margin:0;color:var(--ui-muted);}
.eval-filters,.eval-person-bar {display:flex;flex-wrap:wrap;gap:8px 12px;align-items:end;margin:8px 0;}
.eval-person-bar,.eval-tabs {margin:0;}
.eval-workspace .eval-filters label,.eval-workspace .eval-person-bar label {margin:0;min-width:104px;}
.eval-table-wrap {overflow-x:auto;max-width:100%;}
.eval-list {width:100%;border-collapse:collapse;font-size:14px;}
.eval-list th,.eval-list td {padding:9px 10px;border-bottom:1px solid var(--ui-edge);text-align:left;vertical-align:middle;}
.eval-list thead th {color:var(--ui-muted);font-weight:600;background:#f3f6fb;white-space:nowrap;}
.eval-list small {display:block;color:var(--ui-muted);font-weight:400;}
.eval-grade-column {width:65%;}
.eval-grade-lane {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:4px;}
[data-performance-root] .eval-grade-cell {display:flex;justify-content:space-between;align-items:center;gap:5px;min-width:0;min-height:34px;padding:3px 6px;background:#f7f9fc;color:var(--ui-ink);font-size:12px;text-align:left;white-space:normal;word-break:keep-all;}
.eval-grade-pair {flex-shrink:0;white-space:nowrap;color:var(--ui-muted);font-variant-numeric:tabular-nums;}
.eval-grade-pair b {color:var(--ui-ink);}
.eval-roster .eval-list td:last-child {white-space:nowrap;}
[data-performance-root] :is(.eval-name,.eval-item-link) {text-align:left;min-height:32px;padding:2px 0;border:0;background:transparent;font-weight:700;color:var(--ui-ink);white-space:normal;}
[data-performance-root] :is(.eval-name,.eval-item-link):hover {color:var(--ui-primary);text-decoration:underline;}
[data-performance-root] .eval-item-link[aria-pressed=true] {color:var(--ui-primary);}
.eval-badge {display:inline-flex;width:max-content;max-width:100%;padding:3px 9px;border-radius:8px;background:#eef3fa;color:#395575;font-size:12px;white-space:nowrap;}
.eval-badge.is-final {color:#17634e;background:#e9f6ef;}
.eval-split {display:grid;grid-template-columns:minmax(0,1.72fr) minmax(250px,1fr);gap:var(--ui-gap);align-items:start;}
.eval-split .pf-card,.eval-roster.pf-card {margin:0;}
.eval-evidence h3 {margin:0 0 10px;}
.eval-evidence p {margin:8px 0;color:var(--ui-muted);}
.eval-evidence-heading,.eval-score-strip {display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;}
.eval-score-strip {margin:10px 0;padding:9px 12px;border-radius:8px;background:#f3f6fb;}
.eval-item,.eval-item-head {display:grid;grid-template-columns:minmax(100px,1fr) 38px 46px 74px 43px;align-items:center;gap:8px;border-bottom:1px solid var(--ui-edge);padding:3px 0;}
.eval-item>*:not(:first-child),.eval-item-head>*:not(:first-child) {text-align:center;}
.eval-item-head {padding-block:7px;font-size:13px;color:var(--ui-muted);}
.eval-divider {margin:10px 0 0;font-size:13px;color:var(--ui-muted);}
.eval-item small {display:block;margin:0 0 3px;color:var(--ui-muted);font-size:12px;}
.eval-item small:empty {display:none;}
.eval-divider {background:#f3f6fb;border-radius:6px;padding:4px 8px;}
[data-performance-root] .eval-item label {margin:0;}
[data-performance-root] .eval-item select {width:100%;min-height:36px;padding-inline:4px;}
.eval-workspace textarea {min-height:74px;border:1px solid var(--ui-edge);border-radius:8px;padding:8px;color:var(--ui-ink);}
.evaluation-facts {margin:6px 0;display:grid;}
.evaluation-facts>div {display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--ui-edge);}
.evaluation-facts dd {color:var(--ui-muted);text-align:right;margin:0;}
.evaluation-evidence-list {list-style:none;padding:0;}
.evaluation-evidence-list>li {padding:8px 0;border-top:1px solid var(--ui-edge);}
.evaluation-evidence-list small {display:block;color:var(--ui-muted);}
.eval-evidence .golden-accordion,.eval-export .golden-accordion {margin-top:14px;}
.eval-evidence-section {margin-top:12px;padding-top:10px;border-top:1px solid var(--ui-edge);}
.eval-evidence-section h4 {margin:0;color:var(--ui-ink);font-size:14px;}
.eval-evidence-section .eval-evidence-note,.eval-record-count {font-size:13px;}
.eval-rates {width:100%;border-collapse:collapse;font-size:13px;color:var(--ui-ink);}
.eval-rates th,.eval-rates td {text-align:left;padding:5px 7px;vertical-align:top;border-bottom:1px solid var(--ui-edge);}
.eval-rates :is(th,td):last-child {text-align:right;white-space:nowrap;}
.eval-rates thead th {background:#f3f6fb;color:var(--ui-muted);white-space:nowrap;}
.evaluation-evidence-list p span {font-weight:600;color:var(--ui-ink);}
[data-performance-root] .eval-back-to-item {display:none;margin-top:12px;}
.eval-export input {max-width:100%;}
@media screen {.eval-workspace .review-paper {display:none;}}
@media(min-width:801px) {
 [data-performance-root] .product-nav [data-route=support] {grid-template-columns:18px minmax(0,1fr);gap:9px;padding-inline:12px 6px;word-break:keep-all;}
}
@media(max-width:1000px) {
 .eval-split,.office-insights {grid-template-columns:minmax(0,1fr);}
 [data-performance-root] .eval-back-to-item {display:block;}
}
@media(max-width:800px){
 [data-performance-root] .office-identity {margin:12px auto;padding:16px;}
 [data-performance-root] .office-identity :is(input,select) {height:44px;}
 [data-performance-root] .office-overview .home-metrics,.eval-kpis {grid-template-columns:repeat(2,minmax(0,1fr));}
 .eval-person-bar>* {min-height:44px;}
 .eval-item,.eval-item-head {grid-template-columns:minmax(85px,1fr) 28px 32px 58px 32px;gap:4px;}
 [data-performance-root] .eval-item select {min-height:44px;}
 [data-performance-root] .eval-item-link {min-height:40px;}
 .eval-item-head {font-size:12px;}
 .eval-roster .eval-list :is(thead,tbody,tr,th,td) {display:block;}
 .eval-roster .eval-list thead {position:absolute;clip-path:inset(50%);}
 .eval-roster .eval-list tbody tr {display:grid;grid-template-columns:minmax(0,1fr);padding:8px 0;border-bottom:1px solid var(--ui-edge);}
 .eval-roster .eval-list :is(th,td) {border:0;padding:4px 6px;}
 .eval-roster .eval-list td::before {content:attr(data-title);display:inline-block;min-width:84px;color:var(--ui-muted);}
 .eval-roster .eval-grade-column {width:100%;padding-block:7px;order:1;}
 .eval-roster .eval-grade-column::before {display:none;}
 .eval-roster .eval-grade-lane {grid-template-columns:repeat(2,minmax(0,1fr));}
 [data-performance-root] .eval-grade-cell {min-height:44px;}
}

.field-guide-shortcut{margin:0 0 12px}
[data-performance-root] .field-guide-shortcut button.ux-help-link[type]{
 display:flex;justify-content:space-between;min-height:44px;padding:7px 12px;width:min(100%,460px);
 border:1px solid #c8dbeb;border-radius:8px;background:#edf4fa;color:#173b5b;
}
.field [data-cancel][hidden],.field [role=status]:empty{display:none}
.field-record-detail{display:grid;gap:10px;margin:12px 0}
.field-record-detail dt{font-weight:700;margin-bottom:3px}
.field-record-detail dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.field-result-box{padding:10px 12px;border:1px solid #dce7ee;border-radius:8px;background:#f4f8fb}
.record-chips{display:flex;flex-wrap:wrap;gap:5px;white-space:normal}
.record-chips span{background:#edf4fa;color:#29506c;border-radius:20px;padding:4px 9px}
.older-field-records{display:grid;gap:8px;padding:0;list-style:none}
.older-field-records small{margin-inline-start:8px}
.field .picker-open-mobile{display:none}
.field .participant-picker [data-committed]{margin-block:0 5px}
.picker-tools{min-width:0}
.picker-tools [data-working]{margin-block:6px}
.field .participant-sheet,.field .field-complete{
 border:1px solid #dce4eb;border-radius:14px;padding:0;
 background:white;color:#142c4a;width:min(496px,calc(100% - 24px));
 max-height:calc(var(--sheet-height,100dvh) - 16px);
}
.field .participant-sheet[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
.field :is(.participant-sheet,.field-complete)::backdrop{background:#12253ba8}
.field .participant-sheet header{height:auto;min-height:56px;padding:8px 14px;border-bottom:1px solid #dce4eb;gap:10px;position:static}
.field .participant-sheet [data-picker-sheet]{overflow:auto;overscroll-behavior:contain;padding:8px 14px;scrollbar-gutter:stable}
.field .participant-sheet footer,.field .field-complete footer{padding:9px 14px max(9px,env(safe-area-inset-bottom));border-top:1px solid #dce4eb}
.field .field-complete-body{padding:18px 16px}
.field .field-complete-body p{margin:0 0 8px}
.field .field-complete footer button,.field .participant-sheet footer button{width:100%;min-height:44px}
.field .participant-sheet button:focus-visible,.field .field-complete button:focus-visible{outline:2px solid #58a5e5;outline-offset:2px}
@media(max-width:800px){
 [data-performance-root] .field-title{align-items:center;gap:6px;margin-bottom:5px}
 [data-performance-root] .field-title label{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;gap:4px;width:auto;font-size:12px}
 [data-performance-root] .field-title label input{width:74px;min-height:44px;margin:0}
 [data-performance-root] .field-grid form:has(.guided-field){gap:7px 9px}
 [data-performance-root] .field-grid form>.guided-field{margin:0}
 [data-performance-root] .field-grid form :is(.guided-field input,.guided-field select,.guided-field textarea){margin:0;min-height:44px}
 [data-performance-root] [data-field-kind=improvement] form{grid-template-columns:minmax(0,1fr) minmax(0,1.18fr)}
 [data-performance-root] [data-field-kind=improvement] form>*{grid-column:1/-1}
 [data-performance-root] [data-field-kind=improvement] form>.guided-field:has([name=day],[name=category]){grid-column:auto}
 [data-performance-root] .field .picker-disclosure{display:none}
 .field .picker-open-mobile{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px}
 .field .participant-sheet[open]{position:fixed;inset:auto 0 var(--sheet-bottom,0px);margin:0;width:100%;max-width:none;max-height:min(620px,var(--sheet-height,100dvh));border-radius:16px 16px 0 0}
}
@media(max-width:340px){
 [data-performance-root] [data-field-kind=improvement] form{grid-template-columns:minmax(0,1fr)}
}
