.personal-os-cockpit {
  --pos-ink: var(--text);
  --pos-faint: color-mix(in srgb,var(--muted) 72%,transparent);
  display: grid;
  grid-template-columns: minmax(560px,660px) minmax(340px,1fr);
  grid-template-areas:
    "current current"
    "capture capture"
    "receipt capacity"
    "mission mission"
    "memory memory";
  grid-auto-rows: max-content;
  align-items: start;
  gap: 22px 28px;
  margin: 16px 0 34px;
  font-family: var(--font-cn),var(--font-latin);
}
body.workspace-routed[data-active-view="overview"] .personal-os-cockpit { display: grid !important; }
.personal-os-cockpit :is(button,input,select) { font: inherit; }
.personal-os-cockpit button { min-height: 42px; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: color-mix(in srgb,var(--gold) 20%,transparent); }
.pos-current,.pos-capacity,.pos-receipt { min-width: 0; }
.pos-capture { grid-area: capture; min-width: 0; }
.pos-capture-slip { position: relative; overflow: hidden; border-block: 1px solid var(--line); color: var(--text); background: color-mix(in srgb,var(--panel) 72%,transparent); padding: 21px clamp(18px,3vw,32px) 23px; }
.pos-capture-slip::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--gold); opacity: .7; }
.pos-capture-slip > header { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: end; gap: 10px 24px; }
.pos-capture-slip > header > div { display: flex; align-items: baseline; gap: 12px; }
.pos-capture-slip > header span,.pos-capture-review-head > span { color: var(--gold); font-family: var(--font-latin); font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.pos-capture-slip > header h2 { margin: 0; font-size: 18px; font-weight: 620; }
.pos-capture-slip > header small { overflow-wrap: anywhere; color: var(--muted); font-size: 10px; line-height: 1.5; text-align: right; }
.pos-natural-capture { margin-top: 15px; }
.pos-natural-capture > label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; }
.pos-natural-capture > div { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 13px; }
.pos-natural-capture textarea { width: 100%; min-height: 62px; resize: vertical; border: 0; border-bottom: 1px solid color-mix(in srgb,var(--line) 150%,transparent); border-radius: 0; color: var(--text); background: transparent; padding: 10px 2px; font: inherit; font-size: 15px; line-height: 1.55; outline: none; }
.pos-natural-capture textarea:focus-visible { border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 3px; }
.pos-natural-capture button,.pos-capture-fallback button,.pos-capture-proposal footer button,.pos-capture-proposal form button { border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--surface-control); padding: 9px 14px; font-family: var(--font-latin); font-size: 9px; font-weight: 780; letter-spacing: .06em; }
.pos-natural-capture button { min-width: 112px; color: var(--accent-ink); border-color: var(--gold); background: var(--gold); }
.pos-natural-capture button:disabled { opacity: .55; cursor: wait; }
.pos-capture-fallback { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 13px; border-top: 1px dotted var(--line); padding-top: 12px; }
.pos-capture-fallback > span { margin-right: auto; color: var(--muted); font-size: 10px; }
.pos-capture-error-details { flex-basis: 100%; color: var(--muted); font-size: 9px; }
.pos-capture-error-details summary { width: max-content; cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.pos-capture-error-details code { display: block; margin-top: 7px; overflow-wrap: anywhere; color: var(--muted); font: 700 9px/1.45 var(--font-latin); }
.pos-capture-batch { margin-top: 17px; border-top: 1px dashed var(--line); padding-top: 15px; }
.pos-capture-batch h3 { margin: 0; font-size: 15px; font-weight: 650; }
.pos-capture-batch ul { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.pos-capture-batch li { display: grid; grid-template-columns: 62px minmax(0,1fr) auto; align-items: baseline; gap: 9px; }
.pos-capture-batch li span,.pos-capture-batch li small { color: var(--muted); font-size: 9px; }
.pos-capture-batch li strong { overflow-wrap: anywhere; font-size: 13px; font-weight: 560; }
.pos-capture-batch li small { color: var(--gold); }
.pos-capture-batch > footer { display: flex; align-items: center; gap: 13px; margin-top: 14px; color: var(--muted); font-size: 9px; }
.pos-capture-batch > footer button,.pos-capture-clarification button,.pos-capture-command button { min-height: 34px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--surface-control); padding: 6px 11px; font-size: 10px; }
.pos-capture-batch > footer details { margin-left: auto; }
.pos-capture-batch > footer summary { min-height: 34px; cursor: pointer; padding: 8px 0; }
.pos-capture-batch > footer details[open] { width: 100%; }
.pos-capture-batch > footer details[open] > div { margin-top: 9px; }
.pos-capture-clarification,.pos-capture-command { margin-top: 13px; border-left: 2px solid var(--gold); padding: 4px 0 4px 12px; }
.pos-capture-clarification p,.pos-capture-command p { margin: 0 0 9px; color: var(--muted); font-size: 11px; }
.pos-capture-command > div { display: flex; flex-wrap: wrap; gap: 7px; }
.pos-capture-review { margin-top: 20px; border-top: 1px dashed var(--line); padding-top: 17px; }
.pos-capture-review-head { display: flex; justify-content: space-between; gap: 14px; }
.pos-capture-review-head small { color: var(--muted); font-size: 9px; }
.pos-capture-proposals { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 11px; }
.pos-capture-proposal { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 4px 15px 15px; background: color-mix(in srgb,var(--surface-soft) 78%,transparent); padding: 14px 15px 12px; }
.pos-capture-proposal.needs-review { border-style: dashed; }
.pos-capture-proposal.is-kept { border-color: color-mix(in srgb,var(--sage) 55%,var(--line)); }
.pos-capture-proposal > header { display: flex; justify-content: space-between; gap: 10px; color: var(--gold); font-size: 9px; }
.pos-capture-proposal > header span { font-weight: 700; }
.pos-capture-proposal > header b { color: var(--muted); font-family: var(--font-latin); font-size: 7px; letter-spacing: .09em; }
.pos-capture-proposal-copy { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 8px; margin-top: 11px; }
.pos-capture-proposal-copy strong { overflow-wrap: anywhere; font-size: 15px; font-weight: 620; line-height: 1.4; }
.pos-capture-proposal-copy time { color: var(--muted); font-size: 9px; }
.pos-capture-proposal > p { margin: 8px 0 0; overflow: hidden; color: var(--muted); font-size: 9px; line-height: 1.45; white-space: nowrap; text-overflow: ellipsis; }
.pos-capture-proposal > footer { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pos-capture-proposal > footer button { min-height: 34px; padding: 6px 10px; }
.pos-capture-proposal > footer button[data-keep] { color: var(--sage); }
.pos-capture-proposal > footer button[data-remove] { margin-left: auto; color: var(--muted); }
.pos-capture-proposal form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; margin-top: 10px; }
.pos-capture-proposal form:has(input[type="date"]) { grid-template-columns: minmax(0,1fr) minmax(140px,auto) auto; }
.pos-capture-proposal form[hidden] { display: none; }
.pos-capture-proposal form input { width: 100%; min-height: 38px; border: 0; border-bottom: 1px solid var(--gold); color: var(--text); background: transparent; padding: 6px 2px; }
.pos-capture-proposal form button { min-height: 38px; }
.pos-action-gate { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 5px 10px; margin-top: 12px; border-top: 1px dotted var(--line); padding-top: 11px; }
.pos-action-gate > span,.pos-action-gate > small { color: var(--muted); font-size: 9px; }
.pos-action-gate > b { color: var(--sage); font-size: 9px; font-weight: 700; }
.pos-action-gate > small { grid-column: 1 / -1; }
.pos-action-gate > button { grid-column: 1 / -1; justify-self: start; min-height: 36px; border: 1px solid color-mix(in srgb,var(--sage) 55%,var(--line)); border-radius: 999px; color: var(--text); background: var(--surface-control); padding: 7px 12px; font-size: 10px; font-weight: 720; }
.pos-capture-proposal form input[type="date"] { min-width: 140px; }
.pos-current {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--text);
  background: color-mix(in srgb,var(--panel) 96%,transparent);
  box-shadow: var(--shadow);
}
.pos-current { grid-area: current; min-height: 420px; padding: clamp(26px,3.5vw,48px); }
.pos-current::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -145px;
  top: -190px;
  border: 1px solid color-mix(in srgb,var(--gold) 22%,transparent);
  border-radius: 50%;
  box-shadow: 0 0 80px color-mix(in srgb,var(--gold) 9%,transparent),inset 0 0 50px color-mix(in srgb,var(--gold) 5%,transparent);
  pointer-events: none;
}
.pos-current > div,.pos-capacity > * { position: relative; z-index: 1; }
.pos-eyebrow { display: block; color: var(--gold); font-family: var(--font-latin); font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.pos-current-heading,.pos-capacity-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.pos-current-heading h2 { max-width: 780px; margin: 14px 0 0; overflow-wrap: anywhere; font-size: clamp(32px,4.6vw,62px); font-weight: 500; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.pos-status-dot { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-soft); padding: 7px 11px; font-size: 11px; }
.pos-status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb,currentColor 12%,transparent); }
.pos-status-dot.is-active { color: var(--sage); }
.pos-status-dot.is-checkpoint { color: var(--rose); }
.pos-current-start { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.pos-field { display: grid; gap: 8px; color: var(--muted); font-size: 12px; }
.pos-field-title,.pos-current-start-row { grid-column: 1 / -1; }
.pos-field-title input { font-size: clamp(19px,2vw,25px); }
.pos-field :is(input,select),.pos-capture-form input,.pos-switch-form input,.pos-capacity-details :is(input,select) {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb,var(--line) 160%,transparent);
  border-radius: 0;
  color: var(--text);
  background: transparent;
  padding: 9px 2px;
  outline: none;
}
.personal-os-cockpit :is(input,select):focus-visible { border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 3px; box-shadow: 0 1px var(--gold); }
.personal-os-cockpit button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.personal-os-cockpit button:hover { border-color: color-mix(in srgb,var(--gold) 58%,var(--line)); filter: brightness(1.035); }
.personal-os-cockpit select { color: var(--text); background-color: var(--surface-control); }
.pos-current-start-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-top: 6px; }
.pos-timer-choice { width: min(290px,100%); }
.pos-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-width: 220px; border: 0; border-radius: 999px; color: var(--accent-ink); background: var(--gold); padding: 12px 18px; font-family: var(--font-latin); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.pos-current-body { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 28px; margin-top: clamp(42px,6vw,76px); }
.pos-current-intent dl { display: grid; gap: 20px; margin: 0; }
.pos-current-intent dl > div { max-width: 660px; border-left: 2px solid color-mix(in srgb,var(--gold) 48%,transparent); padding-left: 15px; }
.pos-current-intent dt { color: var(--muted); font-family: var(--font-latin); font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.pos-current-intent dd { margin: 6px 0 0; overflow-wrap: anywhere; font-size: 16px; line-height: 1.55; }
.pos-current-timer { min-width: 190px; text-align: right; }
.pos-current-timer small,.pos-current-timer span { display: block; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.pos-current-timer time { display: block; margin: 3px 0; font-family: var(--font-latin); font-size: clamp(46px,6vw,78px); font-weight: 300; line-height: 1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.pos-current-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }
.pos-current-actions button,.pos-capture-form button,.pos-switch-form button {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--surface-soft);
  padding: 9px 15px;
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.pos-current-actions .is-done { color: var(--accent-ink); border-color: var(--sage); background: var(--sage); }
.pos-current-actions .is-quiet { margin-left: auto; color: var(--muted); }
.pos-capture-form,.pos-switch-form { margin-top: 16px; }
.pos-capture-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.pos-capture-form[hidden],.pos-switch-form[hidden] { display: none; }
.pos-capture-form label,.pos-switch-form label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; }
.pos-switch-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-soft); padding: 18px; }
.pos-switch-form > div,.pos-switch-form > button { grid-column: 1 / -1; }
.pos-switch-form p { margin: 5px 0 2px; color: var(--muted); font-size: 11px; }
.pos-inline-status { min-height: 18px; margin: 10px 0 0; color: var(--rose); font-size: 11px; }
.pos-capacity { grid-area: capacity; display: grid; gap: 14px; align-content: start; }
#posCapacityStatus,#posPlanningPanel { display: contents; }
.pos-capacity-status,.pos-today-route { position: relative; min-width: 0; border: 1px solid var(--line); color: var(--text); background: color-mix(in srgb,var(--panel) 96%,transparent); }
.pos-capacity-status { border-radius: 20px; padding: 19px 21px 17px; box-shadow: 0 10px 28px color-mix(in srgb,#000 8%,transparent); }
.pos-capacity-head { align-items: center; }
.pos-capacity-head h2 { margin: 7px 0 0; font-family: var(--font-latin); font-size: 25px; font-weight: 430; line-height: 1; letter-spacing: -.025em; }
.pos-capacity-orb { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-control); box-shadow: inset 0 0 14px rgba(0,0,0,.14); }
.pos-capacity-orb i { align-self: end; width: 100%; height: 50%; border-radius: 0 0 50% 50%; background: var(--gold); opacity: .82; }
.pos-capacity-orb.is-low i { height: 27%; background: var(--rose); }
.pos-capacity-orb.is-high i { height: 78%; background: var(--sage); }
.pos-capacity-switch { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; margin-top: 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-control); padding: 4px; }
.pos-capacity-switch button { min-height: 36px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; font-family: var(--font-latin); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.pos-capacity-switch button[aria-pressed="true"] { color: var(--accent-ink); background: var(--gold); }
.pos-capacity-details { margin-top: 13px; border-top: 1px solid var(--line); padding-top: 12px; }
.pos-capacity-details summary { color: var(--muted); cursor: pointer; font-size: 11px; }
.pos-capacity-details > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.pos-capacity-details label { display: grid; gap: 3px; color: var(--muted); font-size: 10px; }
.pos-capacity-details .pos-pain { grid-column: 1 / -1; display: flex; align-items: center; }
.pos-capacity-details .pos-pain input { width: 16px; min-height: 16px; }
.pos-today-route { overflow: hidden; border-radius: 8px 24px 24px 8px; padding: 27px 26px 20px 31px; box-shadow: 0 14px 36px color-mix(in srgb,#000 10%,transparent); }
.pos-today-route::before { content: ""; position: absolute; inset: 22px auto 22px 0; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); opacity: .76; }
.pos-today-route > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pos-today-route header h2 { margin: 10px 0 7px; font-family: var(--font-cn); font-size: clamp(24px,2.4vw,32px); font-weight: 560; line-height: 1.15; letter-spacing: -.025em; }
.pos-today-route header p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.pos-scan-state { flex: 0 0 auto; border: 1px solid color-mix(in srgb,var(--gold) 35%,var(--line)); border-radius: 999px; color: var(--gold); padding: 5px 8px; font-family: var(--font-latin); font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.pos-route-list { position: relative; display: grid; gap: 0; margin: 24px 0 18px; padding: 0; list-style: none; }
.pos-route-list::before { content: ""; position: absolute; top: 14px; bottom: 14px; right: 8px; border-right: 1px dashed color-mix(in srgb,var(--line) 150%,transparent); }
.pos-route-item { display: grid; grid-template-columns: 88px minmax(0,1fr); align-items: start; gap: 16px; min-height: 68px; border-top: 1px solid color-mix(in srgb,var(--line) 88%,transparent); padding: 15px 0; }
.pos-route-item:last-child { border-bottom: 1px solid color-mix(in srgb,var(--line) 88%,transparent); }
.pos-route-label { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--gold); padding-top: 3px; font-family: var(--font-latin); font-size: 9px; font-weight: 850; letter-spacing: .12em; white-space: nowrap; }
.pos-route-label i { width: 10px; flex: 0 0 10px; font-size: 8px; font-style: normal; text-align: center; }
.pos-route-copy { display: grid; gap: 4px; min-width: 0; }
.pos-route-copy strong { overflow-wrap: anywhere; font-size: 15px; font-weight: 620; line-height: 1.35; }
.pos-route-copy small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.pos-route-copy em { width: max-content; margin-top: 2px; color: var(--muted); font-family: var(--font-latin); font-size: 8px; font-style: normal; font-weight: 760; letter-spacing: .1em; }
.pos-route-item.is-empty { opacity: .62; }
.pos-floor-fallback { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 3px 10px; margin-top: 9px; border-left: 2px solid color-mix(in srgb,var(--gold) 45%,transparent); padding: 8px 0 7px 11px; }
.pos-floor-fallback > b { grid-row: 1 / span 2; color: var(--gold); font-family: var(--font-latin); font-size: 8px; font-weight: 820; letter-spacing: .08em; }
.pos-floor-fallback > span { color: var(--text); font-size: 11px; font-weight: 580; line-height: 1.45; }
.pos-floor-fallback > small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.pos-floor-fallback > .pos-provenance { grid-column: 2; }
.pos-today-route footer { display: grid; grid-template-columns: auto auto 1fr auto auto; align-items: center; gap: 8px; color: var(--muted); font-family: var(--font-latin); font-size: 8px; font-weight: 780; letter-spacing: .11em; }
.pos-today-route footer strong { color: var(--text); font-family: var(--font-cn); font-size: 10px; font-weight: 520; letter-spacing: .04em; text-align: center; }
.pos-provenance { margin-top: 5px; color: var(--muted); }
.pos-provenance summary { width: max-content; cursor: pointer; color: var(--muted); font-size: 9px; line-height: 1.5; }
.pos-provenance ul { display: grid; gap: 5px; margin: 7px 0 0; padding: 0; list-style: none; }
.pos-provenance li { display: flex; flex-wrap: wrap; gap: 4px 7px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.pos-provenance li b { color: var(--gold); font-family: var(--font-latin); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }

.pos-context-scan { position: relative; border: 1px solid var(--line); border-radius: 17px 5px 17px 5px; color: var(--text); background: color-mix(in srgb,var(--surface-soft) 76%,transparent); overflow: hidden; }
.pos-context-scan > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; cursor: pointer; padding: 13px 17px; list-style: none; }
.pos-context-scan > summary::-webkit-details-marker { display: none; }
.pos-context-scan > summary span { display: grid; gap: 3px; }
.pos-context-scan > summary b { font-family: var(--font-latin); font-size: 10px; letter-spacing: .15em; }
.pos-context-scan > summary small { color: var(--muted); font-size: 9px; }
.pos-context-scan > summary i { color: var(--gold); font-size: 16px; font-style: normal; transition: transform .18s ease; }
.pos-context-scan[open] > summary i { transform: rotate(45deg); }
.pos-context-body { border-top: 1px dashed color-mix(in srgb,var(--line) 125%,transparent); padding: 4px 17px 15px; }
.pos-context-source { margin: 9px 0 5px; color: var(--muted); font-size: 9px; }
.pos-context-counts { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin: 0 -17px 8px; border-bottom: 1px solid var(--line); background: var(--line); }
.pos-context-counts span { display: grid; gap: 1px; min-width: 0; color: var(--muted); background: var(--panel); padding: 9px 7px; font-family: var(--font-latin); font-size: 7px; letter-spacing: .04em; text-align: center; }
.pos-context-counts b { color: var(--text); font-size: 13px; font-weight: 540; }
.pos-scan-line { display: grid; grid-template-columns: 94px minmax(0,1fr); gap: 12px; padding: 11px 0; border-bottom: 1px dotted color-mix(in srgb,var(--line) 110%,transparent); }
.pos-scan-line > span { color: var(--gold); font-family: var(--font-latin); font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.pos-scan-line > div { display: grid; gap: 3px; min-width: 0; }
.pos-scan-line strong { overflow-wrap: anywhere; font-size: 12px; font-weight: 610; line-height: 1.4; }
.pos-scan-line strong.is-muted { color: var(--muted); font-weight: 450; }
.pos-scan-line small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.pos-context-body > footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 7px; padding-top: 12px; }
.pos-context-body > footer > span { color: var(--muted); font-family: var(--font-latin); font-size: 7px; letter-spacing: .09em; }
.pos-context-body select,.pos-context-body button { min-height: 34px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-control); padding: 6px 9px; font-size: 9px; }

.pos-resurfacing { position: relative; border-top: 1px solid color-mix(in srgb,var(--line) 140%,transparent); color: var(--text); padding: 17px 3px 2px; }
.pos-resurfacing > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 11px; }
.pos-resurfacing > header h2 { margin: 0; font-size: 18px; font-weight: 560; }
.pos-resurfacing > header h2 span { color: var(--gold); font-family: var(--font-latin); font-size: 10px; font-weight: 820; letter-spacing: .11em; }
.pos-resurfacing > header > small { color: var(--muted); font-size: 9px; }
.pos-resurface-list { display: grid; gap: 10px; }
.pos-resurface-item { position: relative; border: 1px solid var(--line); border-radius: 4px 15px 15px 15px; background: color-mix(in srgb,var(--panel) 94%,transparent); padding: 17px; box-shadow: 0 9px 24px color-mix(in srgb,#000 7%,transparent); }
.pos-resurface-item::before { content: ""; position: absolute; top: 0; left: 0; width: 32px; height: 4px; border-radius: 0 0 4px 0; background: var(--gold); opacity: .7; }
.pos-resurface-item > header { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-family: var(--font-latin); font-size: 8px; letter-spacing: .09em; }
.pos-resurface-item h3 { margin: 13px 0 5px; overflow-wrap: anywhere; font-size: 16px; font-weight: 620; }
.pos-resurface-item > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.pos-resurface-primary-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 14px; }
.pos-resurface-primary-actions > button,.pos-resurface-primary-actions details > summary,.pos-resurface-primary-actions details button,.pos-review-date button { min-height: 36px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--surface-control); padding: 7px 11px; font-family: var(--font-latin); font-size: 8px; font-weight: 780; letter-spacing: .06em; }
.pos-resurface-primary-actions > button:first-child { color: var(--accent-ink); border-color: var(--gold); background: var(--gold); }
.pos-resurface-primary-actions details { position: relative; }
.pos-resurface-primary-actions details > summary { display: grid; place-items: center; cursor: pointer; list-style: none; }
.pos-resurface-primary-actions details > summary::-webkit-details-marker { display: none; }
.pos-resurface-primary-actions details > div { position: absolute; z-index: 4; right: 0; top: calc(100% + 7px); display: grid; width: 150px; gap: 5px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel-strong); box-shadow: var(--shadow); padding: 7px; }
.pos-resurface-primary-actions details button { width: 100%; text-align: left; }
.pos-resurface-primary-actions details button.is-danger { color: var(--rose); }
.pos-review-date { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 8px; margin-top: 11px; border-top: 1px dotted var(--line); padding-top: 11px; }
.pos-review-date[hidden] { display: none; }
.pos-review-date label { display: grid; gap: 5px; color: var(--muted); font-size: 9px; }
.pos-review-date input { width: 100%; min-height: 38px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: var(--surface-control); padding: 7px 9px; }
.pos-resurface-empty,.pos-resurface-result { margin: 0; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); padding: 13px 14px; font-size: 10px; line-height: 1.5; }
.pos-resurface-result { margin-bottom: 10px; color: var(--text); background: color-mix(in srgb,var(--sage) 10%,transparent); }
.pos-planning-loading { min-height: 84px; border: 1px dashed var(--line); border-radius: 15px; color: var(--muted); padding: 24px; font-size: 11px; }
.pos-mission { grid-area: mission; min-width: 0; }
.pos-planning-memory { grid-area: memory; min-width: 0; }
.pos-mission-execution { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; color: var(--text); background: color-mix(in srgb,var(--panel) 96%,transparent); box-shadow: 0 16px 42px color-mix(in srgb,#000 9%,transparent); padding: clamp(24px,3vw,38px); }
.pos-mission-execution::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--gold),color-mix(in srgb,var(--gold) 10%,transparent)); opacity: .78; }
.pos-mission-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.pos-mission-header h2 { margin: 7px 0 5px; font-family: var(--font-latin); font-size: clamp(28px,3.5vw,45px); font-weight: 480; line-height: 1; letter-spacing: -.035em; }
.pos-mission-header p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.pos-mission-header > button,.pos-mission-execution.is-empty > button { min-width: 108px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-control); padding: 8px 13px; font-size: 10px; }
.pos-mission-rail { position: relative; display: grid; grid-template-columns: minmax(0,1.5fr) minmax(250px,.5fr); gap: 13px 22px; margin-top: 24px; padding-left: 31px; }
.pos-mission-rail::before { content: ""; position: absolute; top: 7px; bottom: 14px; left: 7px; border-left: 1px solid color-mix(in srgb,var(--gold) 52%,transparent); }
.pos-mission-now { position: relative; grid-row: 1 / span 2; min-width: 0; border: 1px solid color-mix(in srgb,var(--gold) 30%,var(--line)); border-radius: 4px 22px 22px; background: color-mix(in srgb,var(--surface-soft) 76%,transparent); padding: clamp(22px,3vw,34px); }
.pos-mission-now::before,.pos-mission-next::before,.pos-mission-later::before { content: ""; position: absolute; width: 9px; height: 9px; left: -29px; top: 9px; border: 2px solid var(--panel); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px color-mix(in srgb,var(--gold) 50%,transparent); }
.pos-mission-role,.pos-mission-next > span,.pos-mission-later > span,.pos-mission-complete-card > span { display: block; color: var(--gold); font-family: var(--font-latin); font-size: 9px; font-weight: 850; letter-spacing: .18em; }
.pos-mission-now > p { margin: 16px 0 4px; color: var(--muted); font-size: 13px; }
.pos-mission-now > h3 { max-width: 680px; margin: 0; overflow-wrap: anywhere; font-size: clamp(28px,4vw,48px); font-weight: 530; line-height: 1.12; letter-spacing: -.035em; }
.pos-mission-now > dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 28px 0 0; }
.pos-mission-now > dl div { border-top: 1px solid var(--line); padding-top: 11px; }
.pos-mission-now dt { color: var(--gold); font-family: var(--font-latin); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.pos-mission-now dd { margin: 5px 0 0; font-size: 12px; line-height: 1.5; }
.pos-mission-next,.pos-mission-later { position: relative; min-width: 0; padding: 10px 5px 15px; }
.pos-mission-next { border-bottom: 1px solid var(--line); }
.pos-mission-next::before { width: 7px; height: 7px; left: -27px; background: var(--panel); border-color: var(--gold); }
.pos-mission-next p { margin: 12px 0 2px; color: var(--muted); font-size: 10px; }
.pos-mission-next strong { display: block; overflow-wrap: anywhere; font-size: 16px; font-weight: 610; line-height: 1.35; }
.pos-mission-later::before { width: 5px; height: 5px; left: -26px; background: var(--muted); opacity: .55; }
.pos-mission-later ol { display: grid; gap: 8px; margin: 11px 0 0; padding: 0; list-style: none; }
.pos-mission-later li { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 8px; color: var(--muted); font-size: 10px; }
.pos-mission-later li b { color: var(--text); font-weight: 570; }
.pos-mission-later li small { overflow-wrap: anywhere; font-size: inherit; }
.pos-mission-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 27px; padding-top: 16px; border-top: 1px solid var(--line); }
.pos-mission-actions button,.pos-detour-form button,.pos-candidate-form button,.pos-close-search,.pos-mission-complete-card button { border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--surface-control); padding: 9px 14px; font-family: var(--font-latin); font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.pos-mission-actions .is-checkpoint { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 260px; color: var(--accent-ink); border-color: var(--gold); background: var(--gold); }
.pos-detour-form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 11px; margin-top: 13px; border-top: 1px dashed var(--line); padding-top: 13px; }
.pos-detour-form[hidden] { display: none; }
.pos-detour-form label,.pos-candidate-form label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; }
.pos-detour-form input,.pos-candidate-form input { width: 100%; min-height: 42px; border: 0; border-bottom: 1px solid var(--line); color: var(--text); background: transparent; padding: 7px 2px; }
.pos-mission-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 18px 0 0; border: 1px dashed color-mix(in srgb,var(--gold) 45%,var(--line)); border-radius: 12px; color: var(--muted); background: color-mix(in srgb,var(--gold) 6%,transparent); padding: 11px 14px; font-size: 10px; }
.pos-mission-notice b { color: var(--text); }
.pos-mission-notice button,.pos-mission-notice a { margin-left: auto; border: 0; color: var(--gold); background: transparent; padding: 4px; font-size: 9px; font-weight: 800; text-decoration: none; }
.pos-mission-notice.is-capture span { flex-basis: 100%; }
.pos-good-enough { margin-top: 24px; border-top: 1px dashed color-mix(in srgb,var(--line) 140%,transparent); padding-top: 18px; }
.pos-good-enough > header { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.pos-good-enough > header span { color: var(--gold); font-family: var(--font-latin); font-size: 8px; font-weight: 850; letter-spacing: .15em; }
.pos-good-enough > header h3 { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.pos-good-enough > header > b { color: var(--muted); font-family: var(--font-latin); font-size: 11px; font-weight: 600; }
.pos-good-criteria { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: 13px; }
.pos-good-criteria label { position: relative; min-width: 0; }
.pos-good-criteria input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pos-good-criteria label > span { display: grid; grid-template-columns: 18px minmax(0,1fr) auto; align-items: center; gap: 7px; min-height: 43px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: color-mix(in srgb,var(--surface-control) 72%,transparent); padding: 8px 10px; font-size: 11px; }
.pos-good-criteria i { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--line); border-radius: 50%; color: transparent; font-size: 10px; font-style: normal; }
.pos-good-criteria small { font-family: var(--font-latin); font-size: 7px; text-transform: uppercase; }
.pos-good-criteria input:checked + span { color: var(--text); border-color: color-mix(in srgb,var(--sage) 55%,var(--line)); background: color-mix(in srgb,var(--sage) 10%,transparent); }
.pos-good-criteria input:checked + span i { color: var(--accent-ink); border-color: var(--sage); background: var(--sage); }
.pos-good-criteria input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.pos-good-optional { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; color: var(--muted); font-size: 9px; }
.pos-good-optional b { margin-right: 5px; }
.pos-good-optional span { border: 1px solid var(--line); border-radius: 999px; padding: 3px 7px; }
.pos-candidate-form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 10px; margin-top: 13px; }
.pos-close-search { width: 100%; margin-top: 13px; color: var(--accent-ink); border-color: var(--sage); background: var(--sage); }
.pos-good-result { display: flex; gap: 8px; margin: 12px 0 0; color: var(--muted); font-size: 10px; }
.pos-good-result b { color: var(--text); }
.pos-good-result.is-closed { border-left: 2px solid var(--sage); padding-left: 10px; }
.pos-mission-complete-card { margin-top: 24px; border: 1px solid color-mix(in srgb,var(--sage) 38%,var(--line)); border-radius: 4px 22px 22px; background: color-mix(in srgb,var(--sage) 8%,var(--surface-soft)); padding: clamp(24px,4vw,42px); }
.pos-mission-complete-card h3 { margin: 14px 0 2px; font-size: clamp(26px,3.5vw,42px); font-weight: 530; }
.pos-mission-complete-card p { margin: 0; color: var(--muted); }
.pos-mission-complete-card > div { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.pos-mission-complete-card button.is-browse { color: var(--accent-ink); border-color: var(--gold); background: var(--gold); }
.pos-mission-execution.is-empty { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 180px; }
.pos-mission-execution.is-empty h2 { margin: 8px 0 6px; font-size: clamp(24px,3vw,38px); font-weight: 530; }
.pos-mission-execution.is-empty p { margin: 0; color: var(--muted); font-size: 11px; }
.pos-mission-error { margin: 0 0 9px; border-left: 3px solid var(--rose); color: var(--text); background: color-mix(in srgb,var(--rose) 8%,transparent); padding: 10px 13px; font-size: 11px; }
.pos-mission-dialog { width: min(720px,calc(100vw - 28px)); max-height: min(86vh,850px); overflow: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 22px; color: var(--text); background: var(--panel-strong); box-shadow: 0 26px 90px rgba(0,0,0,.32); padding: 0; }
.pos-mission-dialog::backdrop { background: rgba(5,8,11,.58); backdrop-filter: blur(5px); }
.pos-mission-editor { display: grid; gap: 18px; padding: 24px; }
.pos-mission-editor > header { display: flex; justify-content: space-between; gap: 20px; }
.pos-mission-editor > header span { color: var(--gold); font-family: var(--font-latin); font-size: 8px; font-weight: 820; letter-spacing: .14em; }
.pos-mission-editor > header h2 { margin: 5px 0 3px; font-size: 24px; }
.pos-mission-editor > header p { margin: 0; color: var(--muted); font-size: 10px; }
.pos-mission-editor > header button { width: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: var(--surface-control); }
.pos-mission-order { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pos-mission-order li { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding: 9px 0; }
.pos-mission-order li > span:first-child { display: grid; gap: 3px; min-width: 0; }
.pos-mission-order small { color: var(--muted); font-size: 9px; }
.pos-mission-order li > span:last-child { display: flex; gap: 4px; }
.pos-mission-order button { min-width: 36px; min-height: 36px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-control); padding: 5px 9px; font-size: 9px; }
.pos-mission-order button:disabled { opacity: .35; cursor: not-allowed; }
.pos-mission-editor fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; border: 1px solid var(--line); border-radius: 16px; padding: 17px; }
.pos-mission-editor legend { color: var(--gold); padding: 0 6px; font-size: 10px; }
.pos-mission-editor label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; }
.pos-mission-editor label.is-wide { grid-column: 1 / -1; }
.pos-mission-editor :is(input,select) { width: 100%; min-height: 43px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: var(--surface-control); padding: 8px 10px; }
.pos-mission-editor .pos-mission-browse-choice { display: flex; align-items: center; grid-column: 1 / -1; }
.pos-mission-editor .pos-mission-browse-choice input { width: 17px; min-height: 17px; }
.pos-mission-editor > footer { display: flex; justify-content: flex-end; gap: 8px; }
.pos-mission-editor > footer button { border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-control); padding: 8px 15px; }
.pos-mission-editor > footer button.is-primary { color: var(--accent-ink); border-color: var(--gold); background: var(--gold); }
.pos-mission-editor-empty { margin: 0; color: var(--muted); font-size: 11px; }
.pos-memory-panel { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; color: var(--text); background: color-mix(in srgb,var(--panel) 96%,transparent); padding: clamp(18px,2.2vw,26px); box-shadow: 0 12px 34px color-mix(in srgb,#000 7%,transparent); }
.pos-memory-panel::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--sage),transparent 88%); opacity: .75; }
.pos-memory-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.pos-memory-heading h2 { margin: 0; color: var(--sage); font-family: var(--font-latin); font-size: 11px; font-weight: 850; line-height: 1.25; letter-spacing: .14em; }
.pos-memory-heading h2 span { color: var(--text); font-family: var(--font-body); font-size: 12px; font-weight: 650; letter-spacing: .04em; }
.pos-memory-heading > button { flex: 0 0 auto; min-height: 38px; border: 1px solid color-mix(in srgb,var(--sage) 42%,var(--line)); border-radius: 999px; color: var(--text); background: color-mix(in srgb,var(--sage) 7%,var(--surface-control)); padding: 8px 14px; font-size: 10px; }
.pos-memory-message,.pos-memory-error { margin: 14px 0 0; border-left: 2px solid var(--sage); color: var(--muted); background: color-mix(in srgb,var(--sage) 7%,transparent); padding: 8px 11px; font-size: 10px; }
.pos-memory-error { border-color: var(--rose); }
.pos-memory-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 20px; }
.pos-memory-columns > section > header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 2px 8px; }
.pos-memory-columns > section > header span,.pos-memory-history > summary span { color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .04em; }
.pos-memory-columns > section > header b,.pos-memory-history > summary b { color: var(--sage); font-family: var(--font-latin); font-size: 12px; }
.pos-pattern-list { display: grid; gap: 8px; margin-top: 8px; }
.pos-pattern-card { position: relative; border: 1px solid var(--line); border-radius: 4px 14px 14px; background: color-mix(in srgb,var(--surface-soft) 72%,transparent); padding: 14px; }
.pos-pattern-card::before { content: ""; position: absolute; top: 0; left: 0; width: 34px; height: 3px; background: var(--muted); opacity: .55; }
.pos-pattern-card.is-candidate { border-style: dashed; }
.pos-pattern-card.is-candidate::before { background: var(--gold); opacity: .9; }
.pos-pattern-card.is-confirmed::before { background: var(--sage); opacity: 1; }
.pos-pattern-card.is-rejected,.pos-pattern-card.is-retired { opacity: .72; }
.pos-pattern-card > header { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 12px; }
.pos-pattern-card h3 { margin: 0; overflow-wrap: anywhere; font-size: 15px; font-weight: 620; line-height: 1.42; }
.pos-pattern-result { margin: 12px 0 0; color: var(--text); font-size: 18px; font-weight: 560; line-height: 1.3; }
.pos-pattern-kind { margin: 5px 0 0; color: var(--muted); font-family: var(--font-latin); font-size: 8px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.pos-pattern-provenance { margin: 0; }
.pos-pattern-provenance summary { display: grid; place-items: center; width: 26px; height: 26px; cursor: pointer; list-style: none; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: var(--surface-control); font-family: var(--font-latin); font-size: 10px; font-style: normal; font-weight: 800; }
.pos-pattern-provenance summary::-webkit-details-marker { display: none; }
.pos-pattern-provenance[open] { grid-column: 1 / -1; }
.pos-pattern-provenance > div { margin-top: 10px; border-top: 1px dotted var(--line); padding-top: 10px; }
.pos-pattern-meta { display: flex; flex-wrap: wrap; gap: 5px 9px; }
.pos-pattern-meta b { color: var(--sage); font-family: var(--font-latin); font-size: 8px; font-weight: 820; letter-spacing: .1em; }
.pos-pattern-provenance p { margin: 5px 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.pos-pattern-provenance dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 12px; margin: 8px 0; color: var(--muted); font-size: 9px; }
.pos-pattern-provenance dl div { display: flex; justify-content: space-between; gap: 8px; }
.pos-pattern-provenance dt { color: var(--muted); }
.pos-pattern-provenance dd { margin: 0; color: var(--text); }
.pos-pattern-provenance ul { display: grid; gap: 5px; margin: 8px 0 0; padding: 0; list-style: none; }
.pos-pattern-provenance li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; }
.pos-pattern-provenance li b { color: var(--text); font-weight: 540; }
.pos-pattern-card > footer { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.pos-pattern-card > footer button,.pos-pattern-conflict button { min-height: 34px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--surface-control); padding: 6px 11px; font-size: 9px; }
.pos-pattern-card > footer button.is-confirm { color: var(--accent-ink); border-color: var(--sage); background: var(--sage); }
.pos-pattern-card > footer button.is-text { margin-left: auto; border-color: transparent; color: var(--muted); background: transparent; }
.pos-memory-empty { margin: 8px 0 0; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); padding: 13px; font-size: 10px; }
.pos-memory-history { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 11px; }
.pos-memory-history > summary { display: flex; justify-content: space-between; cursor: pointer; list-style: none; }
.pos-memory-history > summary::-webkit-details-marker { display: none; }
.pos-memory-history > .pos-pattern-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
.pos-pattern-conflict { margin-top: 24px; border: 1px solid color-mix(in srgb,var(--gold) 38%,var(--line)); border-radius: 18px; background: color-mix(in srgb,var(--gold) 5%,transparent); padding: 18px; }
.pos-pattern-conflict > header span { color: var(--gold); font-family: var(--font-latin); font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.pos-pattern-conflict > header h3 { margin: 6px 0 3px; font-size: 16px; }
.pos-pattern-conflict > header p { margin: 0; color: var(--muted); font-size: 10px; }
.pos-pattern-conflict > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 14px; }
.pos-pattern-conflict article { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 12px; }
.pos-pattern-conflict article span { font-size: 11px; }
.pos-pattern-conflict article b { grid-column: 1; color: var(--muted); font-size: 10px; font-weight: 500; }
.pos-pattern-conflict article button { grid-column: 2; grid-row: 1 / span 2; }
.pos-pattern-dialog { width: min(680px,calc(100vw - 28px)); max-height: min(88vh,850px); overflow: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 22px; color: var(--text); background: var(--panel-strong); box-shadow: 0 26px 90px rgba(0,0,0,.32); padding: 0; }
.pos-pattern-dialog::backdrop { background: rgba(5,8,11,.58); backdrop-filter: blur(5px); }
.pos-pattern-dialog form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; padding: 24px; }
.pos-pattern-dialog form > header,.pos-pattern-dialog form > footer,.pos-pattern-dialog label.is-wide,.pos-pattern-dialog .is-wide { grid-column: 1 / -1; }
.pos-pattern-dialog form > header { display: flex; justify-content: space-between; gap: 20px; }
.pos-pattern-dialog form > header span { color: var(--sage); font-family: var(--font-latin); font-size: 8px; font-weight: 820; letter-spacing: .14em; }
.pos-pattern-dialog h2 { margin: 5px 0 3px; font-size: 24px; }
.pos-pattern-dialog header p { margin: 0; color: var(--muted); font-size: 10px; }
.pos-pattern-dialog header button { width: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: var(--surface-control); }
.pos-pattern-dialog label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; }
.pos-pattern-dialog :is(input,select,textarea) { width: 100%; min-height: 43px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: var(--surface-control); padding: 8px 10px; }
.pos-pattern-dialog textarea { min-height: 86px; resize: vertical; }
.pos-pattern-dialog footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 5px; }
.pos-pattern-dialog footer button { border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-control); padding: 8px 15px; }
.pos-pattern-dialog footer button.is-primary { color: var(--accent-ink); border-color: var(--sage); background: var(--sage); }
.pos-pattern-advanced { border-top: 1px solid var(--line); padding-top: 8px; }
.pos-pattern-advanced > summary { cursor: pointer; color: var(--muted); font-size: 10px; }
.pos-pattern-advanced > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin-top: 12px; }
.pos-pattern-advanced > div > .is-wide { grid-column: 1 / -1; }
.pos-receipt {
  grid-area: receipt;
  align-self: start;
  min-width: 0;
  margin: 0;
}
.pos-receipt-stage {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0 0 14px;
}
.pos-receipt-paper {
  --receipt-paper: #faf8f1;
  --receipt-ink: #282b27;
  --receipt-muted: #7b8079;
  --receipt-rule: rgba(63,74,65,.22);
  --receipt-accent: #548d69;
  position: relative;
  width: min(100%,660px);
  min-width: 0;
  border: 1px solid var(--receipt-rule);
  border-bottom: 0;
  border-radius: 11px 11px 3px 3px;
  color: var(--receipt-ink);
  background:
    radial-gradient(circle at 12% 18%,rgba(255,255,255,.45),transparent 28%),
    radial-gradient(circle at 84% 72%,rgba(85,108,91,.035),transparent 32%),
    var(--receipt-paper);
  box-shadow: none;
  filter: drop-shadow(0 12px 18px rgba(31,42,34,.11));
  padding: clamp(28px,3vw,38px) clamp(24px,4vw,44px) 31px;
  font-family: var(--font-latin),var(--font-cn);
}
.pos-receipt-paper::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .42; pointer-events: none; background: repeating-linear-gradient(97deg,transparent 0 7px,rgba(35,42,37,.018) 7px 8px); }
.pos-receipt-paper::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: -1px;
  right: -1px;
  bottom: -14px;
  height: 14px;
  background: var(--receipt-paper);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14' viewBox='0 0 24 14'%3E%3Cpath d='M0 0H24L20 4L16 14L11 7L7 13L3 5Z' fill='%23000'/%3E%3C/svg%3E") left top/24px 14px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14' viewBox='0 0 24 14'%3E%3Cpath d='M0 0H24L20 4L16 14L11 7L7 13L3 5Z' fill='%23000'/%3E%3C/svg%3E") left top/24px 14px repeat-x;
  pointer-events: none;
}
.pos-receipt-paper > * { position: relative; z-index: 1; }
.pos-receipt-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.pos-receipt-header h2 { margin: 0; color: var(--receipt-ink); font-family: var(--font-latin); font-size: 13px; font-weight: 850; line-height: 1.1; letter-spacing: .18em; text-wrap: balance; }
.pos-receipt-header time { display: block; margin-top: 8px; color: var(--receipt-muted); font-family: var(--font-latin); font-size: 11px; font-weight: 650; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.pos-receipt-add { min-height: 44px; border: 0; border-bottom: 1px dashed color-mix(in srgb,var(--receipt-accent) 60%,transparent); border-radius: 0; color: var(--receipt-accent); background: transparent; padding: 8px 2px 5px; font-family: var(--font-latin); font-size: 10px; font-weight: 780; letter-spacing: .09em; }
.pos-receipt-add:hover { color: color-mix(in srgb,var(--receipt-accent) 78%,var(--receipt-ink)); border-bottom-style: solid; background: transparent; }
.pos-receipt-add:focus-visible { outline-color: var(--receipt-accent); }
.pos-receipt-rule { position: relative; margin: 27px 0 5px; border-top: 1px dashed var(--receipt-rule); }
.pos-receipt-rule::after { content: "✦"; position: absolute; right: 5%; top: 0; color: var(--receipt-accent); background: var(--receipt-paper); padding: 0 0 0 8px; font-size: 12px; line-height: 1px; transform: translateY(-50%); }
.pos-receipt-list { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.pos-receipt-item { position: relative; display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 10px; padding: 23px 0 24px; }
.pos-receipt-item + .pos-receipt-item::before { content: ""; position: absolute; top: 0; left: 38px; width: min(74%,440px); border-top: 1px dotted var(--receipt-rule); }
.pos-receipt-sequence { color: color-mix(in srgb,var(--receipt-muted) 76%,transparent); font-family: var(--font-latin); font-size: 10px; font-weight: 650; line-height: 1.7; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.pos-receipt-item-copy { min-width: 0; }
.pos-receipt-item-copy strong { display: block; overflow-wrap: anywhere; color: var(--receipt-ink); font-family: var(--font-cn); font-size: 17px; font-weight: 620; line-height: 1.5; letter-spacing: .01em; }
.pos-receipt-item-copy small { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; color: color-mix(in srgb,var(--receipt-muted) 88%,transparent); font-family: var(--font-latin); font-size: 9px; font-weight: 680; line-height: 1.45; letter-spacing: .09em; }
.pos-receipt-category::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--receipt-accent); }
.pos-receipt-item-copy small span + span::before,.pos-receipt-item-copy small time::before { content: "·"; margin-right: 12px; color: var(--receipt-rule); }
.pos-receipt-item-copy time { font-variant-numeric: tabular-nums; }
.pos-receipt-empty { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; color: var(--receipt-muted); padding: 24px 0 22px; }
.pos-receipt-empty strong,.pos-receipt-empty small { display: block; font-family: var(--font-latin); }
.pos-receipt-empty strong { font-size: 12px; letter-spacing: .12em; }
.pos-receipt-empty small { margin-top: 7px; font-size: 9px; line-height: 1.5; letter-spacing: .08em; }
.pos-receipt-summary { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 4px 0 4px; padding: 18px 10px 9px; border-top: 1px dashed var(--receipt-rule); color: var(--receipt-accent); font-family: var(--font-latin); }
.pos-receipt-summary > span { font-size: 13px; }
.pos-receipt-summary > strong { font-size: 11px; font-weight: 650; line-height: 1.45; letter-spacing: .07em; text-align: center; }
.pos-evidence-dialog { width: min(92vw,520px); max-width: 520px; border: 0; border-radius: 20px; color: var(--text); background: transparent; padding: 0; overflow: visible; }
.pos-evidence-dialog::backdrop { background: rgba(8,12,14,.58); backdrop-filter: blur(6px); }
.pos-evidence-dialog-form { display: grid; gap: 19px; border: 1px solid var(--line); border-radius: 20px; color: var(--text); background: var(--panel-strong); box-shadow: 0 28px 80px rgba(0,0,0,.34); padding: 24px; }
.pos-evidence-dialog-form > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.pos-evidence-dialog-form > header span { color: var(--gold); font-family: var(--font-latin); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.pos-evidence-dialog-form h2 { margin: 5px 0 0; font-family: var(--font-cn); font-size: 25px; font-weight: 550; }
.pos-evidence-dialog-form > header button { width: 44px; min-width: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: var(--surface-control); font-size: 20px; }
.pos-evidence-dialog-form label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; }
.pos-evidence-dialog-form :is(input,select) { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 11px; color: var(--text); background: var(--surface-control); padding: 10px 12px; }
.pos-evidence-type { min-width: 0; margin: 0; border: 0; padding: 0; }
.pos-evidence-type legend { margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.pos-evidence-type-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.pos-evidence-type-options label { position: relative; display: block; min-width: 0; }
.pos-evidence-type-options input { position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pos-evidence-type-options span { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-control); padding: 8px 10px; text-align: center; }
.pos-evidence-type-options input:checked + span { color: var(--accent-ink); border-color: var(--gold); background: var(--gold); }
.pos-evidence-type-options input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.pos-evidence-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.pos-evidence-dialog-form > footer { display: flex; justify-content: flex-end; gap: 9px; padding-top: 4px; }
.pos-evidence-dialog-form > footer button { min-height: 44px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-control); padding: 9px 16px; font-family: var(--font-latin); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.pos-evidence-dialog-form > footer .is-primary { color: var(--accent-ink); border-color: var(--gold); background: var(--gold); }
.personal-os-v1-active .focus-widget { display: none !important; }

html[data-theme="moon"] .pos-current { background: linear-gradient(145deg,rgba(24,29,35,.98),rgba(14,17,21,.98)); }
html[data-theme="moon"] .pos-capture-slip { background: linear-gradient(90deg,rgba(24,29,35,.8),rgba(17,21,26,.55)); }
html[data-theme="moon"] .pos-current::after { content: "✦   ·    ✧     ·"; position: absolute; right: 30px; bottom: 26px; color: rgba(232,236,239,.16); font-family: var(--font-latin); letter-spacing: .7em; pointer-events: none; }
html[data-theme="moon"] .pos-capacity-status { background: linear-gradient(165deg,rgba(31,37,44,.96),rgba(19,22,27,.96)); }
html[data-theme="moon"] .pos-today-route { background: linear-gradient(148deg,rgba(25,30,36,.98),rgba(14,17,21,.98)); }
html[data-theme="moon"] .pos-route-mark { background: #171c22; }
html[data-theme="moon"] .pos-context-scan,html[data-theme="moon"] .pos-resurface-item { background: rgba(20,25,31,.94); }
html[data-theme="moon"] .pos-mission-execution { background: linear-gradient(145deg,rgba(24,29,35,.98),rgba(14,17,21,.98)); }
html[data-theme="moon"] .pos-memory-panel { background: linear-gradient(155deg,rgba(23,28,34,.98),rgba(15,18,22,.98)); }
html[data-theme="moon"] .pos-mission-now { background: rgba(15,19,24,.72); }
html[data-theme="moon"] .pos-context-counts span { background: #171c22; }
html[data-theme="moon"] .pos-receipt-paper { --receipt-paper: #171c22; --receipt-ink: #e4e9ed; --receipt-muted: #94a0aa; --receipt-rule: rgba(210,221,229,.2); --receipt-accent: #79a6ec; background: radial-gradient(circle at 12% 18%,rgba(186,205,222,.065),transparent 28%),radial-gradient(circle at 84% 72%,rgba(93,126,158,.035),transparent 32%),var(--receipt-paper); filter: drop-shadow(0 13px 20px rgba(0,0,0,.28)); }
html[data-theme="moon"] .pos-receipt-paper::before { background: repeating-linear-gradient(97deg,transparent 0 7px,rgba(226,233,239,.02) 7px 8px); }
html[data-theme="moon"] .pos-evidence-dialog-form { background: #1a2027; }

html[data-theme="chat"] .personal-os-cockpit { gap: 24px; }
html[data-theme="chat"] .pos-current,html[data-theme="chat"] .pos-capacity-status,html[data-theme="chat"] .pos-today-route { overflow: visible; border-radius: 22px 22px 22px 7px; box-shadow: 0 12px 35px rgba(49,69,88,.09); }
html[data-theme="chat"] .pos-capture-slip { border: 1px solid rgba(63,123,217,.15); border-radius: 7px 20px 20px; background: rgba(247,251,255,.88); box-shadow: 0 9px 25px rgba(49,69,88,.06); }
html[data-theme="chat"] .pos-current { border-color: rgba(63,123,217,.2); background: #dceafb; }
html[data-theme="chat"] .pos-capacity-status { border-color: rgba(84,182,106,.2); border-radius: 22px 22px 7px 22px; background: #def2e3; }
html[data-theme="chat"] .pos-today-route { overflow: hidden; border-color: rgba(63,123,217,.16); border-radius: 7px 22px 22px 22px; background: #f7fbff; }
html[data-theme="chat"] .pos-route-mark { background: #f7fbff; }
html[data-theme="chat"] .pos-context-scan { border-color: rgba(63,123,217,.15); background: #f8fbff; }
html[data-theme="chat"] .pos-context-counts { background: rgba(63,123,217,.11); }
html[data-theme="chat"] .pos-context-counts span { background: #f8fbff; }
html[data-theme="chat"] .pos-resurface-item { border-color: rgba(84,182,106,.18); background: #fbfdfb; }
html[data-theme="chat"] .pos-mission-execution { overflow: visible; border-color: rgba(63,123,217,.18); border-radius: 22px 22px 7px 22px; background: #f8fbff; }
html[data-theme="chat"] .pos-memory-panel { overflow: visible; border-color: rgba(84,182,106,.18); border-radius: 22px 22px 7px 22px; background: #fbfdfb; }
html[data-theme="chat"] .pos-pattern-card { background: #f8fbff; }
html[data-theme="chat"] .pos-mission-now { border-color: rgba(63,123,217,.18); background: #e5f0fc; }
html[data-theme="chat"] .pos-mission-next { border-color: rgba(84,182,106,.22); }
html[data-theme="chat"] .pos-current::after,html[data-theme="chat"] .pos-capacity-status::after { content: ""; position: absolute; bottom: -1px; width: 18px; height: 18px; background: inherit; }
html[data-theme="chat"] .pos-current::after { left: -9px; clip-path: polygon(100% 0,100% 100%,0 100%); }
html[data-theme="chat"] .pos-capacity-status::after { right: -9px; clip-path: polygon(0 0,100% 100%,0 100%); }
html[data-theme="chat"] .pos-current::before { display: none; }
html[data-theme="chat"] .pos-receipt-paper { --receipt-paper: #fbf9f2; --receipt-ink: #292d29; --receipt-muted: #798079; --receipt-rule: rgba(75,99,82,.22); --receipt-accent: #55936e; filter: drop-shadow(0 12px 18px rgba(49,69,58,.11)); }
html[data-theme="chat"] .pos-evidence-dialog-form { color: #202a34; background: #fff; }

@media (max-width: 1180px) {
  .personal-os-cockpit {
    grid-template-columns: 1fr;
    grid-template-areas:
      "current"
      "capture"
      "capacity-status"
      "today-route"
      "mission"
      "memory"
      "receipt"
      "context-scan"
      "resurfacing";
  }
  .pos-capacity { display: contents; }
  .pos-capacity-status { grid-area: capacity-status; }
  .pos-today-route { grid-area: today-route; }
  .pos-context-scan { grid-area: context-scan; }
  .pos-resurfacing { grid-area: resurfacing; }
  .pos-planning-loading { grid-area: today-route; }
  .pos-mission { grid-area: mission; }
  .pos-planning-memory { grid-area: memory; }
}
@media (max-width: 820px) {
  .personal-os-cockpit { gap: 14px; margin: 9px 0 28px; }
  .pos-current,.pos-capacity-status,.pos-today-route { border-radius: 18px; }
  .pos-capture-slip { padding: 19px 17px; }
  .pos-capture-slip > header { grid-template-columns: 1fr; align-items: start; gap: 5px; }
  .pos-capture-slip > header small { text-align: left; }
  .pos-capture-proposals { grid-template-columns: 1fr; }
  .pos-capture-proposal form:has(input[type="date"]) { grid-template-columns: 1fr; }
  .pos-current { min-height: 0; padding: 24px 19px; }
  .pos-current-heading { align-items: flex-start; }
  .pos-current-heading h2 { font-size: clamp(31px,10vw,44px); }
  .pos-current-start,.pos-switch-form { grid-template-columns: 1fr; }
  .pos-field,.pos-field-title,.pos-current-start-row,.pos-switch-form > * { grid-column: 1; }
  .pos-current-start-row { align-items: stretch; flex-direction: column; }
  .pos-timer-choice,.pos-primary { width: 100%; }
  .pos-current-body { grid-template-columns: 1fr; align-items: start; margin-top: 38px; }
  .pos-current-timer { min-width: 0; text-align: left; }
  .pos-current-timer time { font-size: clamp(58px,18vw,78px); }
  .pos-current-actions { display: grid; grid-template-columns: repeat(2,1fr); }
  .pos-current-actions .is-quiet { margin: 0; }
  .pos-current-actions button,.pos-capture-form button,.pos-switch-form button { font-size: 11px; }
  .pos-field,.pos-switch-form label,.pos-capture-form label { font-size: 13px; }
  .pos-capture-form { grid-template-columns: 1fr; }
  .pos-capacity { gap: 12px; }
  .pos-capacity-status { padding: 19px; }
  .pos-today-route { padding: 24px 20px 19px 24px; }
  .pos-today-route header h2 { font-size: 27px; }
  .pos-route-item { grid-template-columns: 88px minmax(0,1fr); gap: 14px; }
  .pos-route-copy strong { font-size: 16px; }
  .pos-route-copy small,.pos-today-route header p { font-size: 12px; }
  .pos-context-scan > summary { min-height: 62px; padding-inline: 15px; }
  .pos-context-body { padding-inline: 15px; }
  .pos-context-counts { margin-inline: -15px; }
  .pos-scan-line { grid-template-columns: 88px minmax(0,1fr); }
  .pos-scan-line strong { font-size: 14px; }
  .pos-scan-line small,.pos-provenance summary,.pos-provenance li { font-size: 11px; }
  .pos-resurfacing { padding-top: 19px; }
  .pos-resurface-item { padding: 17px 15px; }
  .pos-mission-execution { padding: 23px 18px; border-radius: 18px; }
  .pos-mission-header { align-items: flex-start; }
  .pos-mission-header h2 { font-size: 31px; }
  .pos-mission-rail { grid-template-columns: 1fr; gap: 12px; padding-left: 24px; }
  .pos-mission-now { grid-row: auto; padding: 23px 18px; }
  .pos-mission-now::before,.pos-mission-next::before,.pos-mission-later::before { left: -23px; }
  .pos-mission-now > h3 { font-size: clamp(29px,8vw,40px); }
  .pos-mission-next,.pos-mission-later { padding-left: 5px; }
  .pos-mission-actions { display: grid; grid-template-columns: 1fr; }
  .pos-mission-actions .is-checkpoint { width: 100%; min-width: 0; min-height: 48px; }
  .pos-detour-form,.pos-candidate-form { grid-template-columns: 1fr; }
  .pos-good-criteria { grid-template-columns: 1fr; }
  .pos-mission-execution.is-empty { align-items: flex-start; flex-direction: column; }
  .pos-mission-editor fieldset { grid-template-columns: 1fr; }
  .pos-mission-editor label.is-wide,.pos-mission-editor .pos-mission-browse-choice { grid-column: 1; }
  .pos-memory-panel { padding: 19px 16px; border-radius: 18px; }
  .pos-memory-columns { grid-template-columns: 1fr; gap: 15px; }
  .pos-memory-history > .pos-pattern-list { grid-template-columns: 1fr; }
  .pos-pattern-dialog form { grid-template-columns: 1fr; padding: 20px; }
  .pos-pattern-dialog form > header,.pos-pattern-dialog form > footer,.pos-pattern-dialog label.is-wide,.pos-pattern-dialog .is-wide { grid-column: 1; }
  .pos-pattern-advanced > div { grid-template-columns: 1fr; }
  .pos-pattern-advanced > div > .is-wide { grid-column: 1; }
  .pos-resurface-primary-actions > button,.pos-resurface-primary-actions details > summary { min-height: 44px; padding-inline: 13px; }
  .pos-capacity-details > div { grid-template-columns: 1fr; }
  .pos-capacity-details .pos-pain { grid-column: 1; }
  .pos-receipt { margin: 4px 0 18px; }
  .pos-receipt-stage { padding: 8px 0 32px; }
  .pos-receipt-paper { width: 100%; padding: 28px 20px 30px; border-radius: 9px 9px 3px 3px; }
  .pos-receipt-item-copy strong { font-size: 16px; }
  .pos-receipt-item-copy small { font-size: 11px; }
  .pos-evidence-dialog { width: min(calc(100vw - 24px),520px); }
  .pos-evidence-dialog-form { padding: 20px; }
}
@media (max-width: 420px) {
  .personal-os-cockpit {
    grid-template-areas:
      "capacity-status"
      "today-route"
      "receipt"
      "current"
      "mission"
      "memory"
      "capture"
      "context-scan"
      "resurfacing";
    font-size: 16px;
  }
  .pos-status-dot { padding: 6px 8px; font-size: 10px; }
  .pos-natural-capture > div { grid-template-columns: 1fr; }
  .pos-natural-capture button { width: 100%; min-height: 46px; }
  .pos-capture-review-head { display: grid; gap: 4px; }
  .pos-current-heading h2 { font-size: 32px; }
  .pos-current-actions { grid-template-columns: 1fr 1fr; }
  .pos-current-actions button { padding-inline: 8px; }
  .pos-receipt-header { gap: 12px; }
  .pos-receipt-header h2 { font-size: 12px; }
  .pos-receipt-add { padding-inline: 11px; font-size: 9px; }
  .pos-receipt-item { grid-template-columns: 24px minmax(0,1fr); gap: 8px; padding-block: 22px; }
  .pos-receipt-item + .pos-receipt-item::before { left: 32px; width: 74%; }
  .pos-receipt-item-copy time { margin-left: 0; }
  .pos-receipt-summary { padding-inline: 0; }
  .pos-evidence-type-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pos-evidence-fields { grid-template-columns: 1fr; }
  .pos-evidence-dialog-form > footer { display: grid; grid-template-columns: 1fr 1fr; }
  .pos-context-counts { grid-template-columns: repeat(2,1fr); }
  .pos-context-body > footer { grid-template-columns: 1fr 1fr; }
  .pos-context-body > footer > span { grid-column: 1 / -1; }
  .pos-context-body select,.pos-context-body button { width: 100%; min-height: 42px; }
  .pos-scan-line { grid-template-columns: 1fr; gap: 5px; }
  .pos-review-date { grid-template-columns: 1fr; }
  .pos-review-date button { min-height: 44px; }
  .pos-floor-fallback { grid-template-columns: 1fr; }
  .pos-floor-fallback > b,.pos-floor-fallback > .pos-provenance { grid-column: 1; grid-row: auto; }
  .pos-mission-header { display: grid; grid-template-columns: 1fr auto; }
  .pos-mission-header p { grid-column: 1 / -1; }
  .pos-mission-header > button { min-width: 86px; }
  .pos-mission-now > dl { grid-template-columns: 1fr; }
  .pos-mission-notice { align-items: flex-start; flex-direction: column; }
  .pos-mission-notice button,.pos-mission-notice a { margin-left: 0; }
  .pos-mission-order li { align-items: flex-start; flex-direction: column; }
  .pos-memory-heading { display: flex; align-items: center; }
  .pos-memory-heading h2 { max-width: 190px; font-size: 9px; }
  .pos-memory-heading h2 span { font-size: 11px; }
  .pos-memory-heading > button { width: auto; min-height: 40px; padding-inline: 11px; }
  .pos-pattern-provenance dl { grid-template-columns: 1fr; }
  .pos-pattern-conflict > div { grid-template-columns: 1fr; }
  .pos-pattern-conflict article { grid-template-columns: 1fr; }
  .pos-pattern-conflict article button { grid-column: 1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .personal-os-cockpit * { scroll-behavior: auto !important; } }
