.selection-workspace { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 16px; color: #35353d; container: selection-workspace / inline-size; }
.selection-workspace > * { min-width: 0; }
.selection-workspace .selection-header, .selection-workspace .selection-action-bar, .selection-workspace .selection-card { border: 0; background: #fff; border-radius: 18px; box-shadow: none; }
.selection-header { padding: 20px 24px; }
.selection-header-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.selection-header h1 { margin: 4px 0 0; font-size: 24px; font-weight: 500; letter-spacing: -.025em; }
.selection-header-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; color: #6a7185; margin: 10px 0 18px; }
.selection-status { background: #f5f6f7; border-radius: 8px; padding: 8px 12px; font-size: 12px; }
.selection-stage-nav { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0; scrollbar-width: thin; }
.selection-stage-nav button { display: inline-flex; align-items: center; gap: 7px; background: transparent; padding: 8px 10px; white-space: nowrap; color: #6a7185; flex: 1; justify-content: center; }
.selection-stage-nav button[aria-current] { background: #f5f6f7; color: #35353d; }
.selection-stage-nav button span { color: #7c899e; font-size: 10px; }
.selection-eyebrow { color: #6a7185; font-size: 11px; }
.selection-action-bar { padding: 20px; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, auto); align-items: center; gap: 14px 20px; }
.selection-toolbar { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; max-width: 750px; }
.selection-workspace .selection-tool { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 8px 12px; border-radius: 9px; background: #f5f6f7; color: #35353d; font-size: 12px; transition: background .15s; }
.selection-workspace .selection-tool:hover:not(:disabled) { background: #eceff3; }
.selection-tool svg { color: #77869b; flex-shrink: 0; stroke-width: 1.7; }
.selection-section-label, .selection-header-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.selection-section-label svg, .selection-header-meta svg { color: #7c899e; stroke-width: 1.7; }
.selection-card .selection-card-title { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.selection-icon-tile { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; background: #f2f5fa; color: #4a7dff; }
.selection-icon-tile svg { stroke-width: 1.7; }
.selection-checks dt { display: inline-flex; align-items: center; gap: 8px; }
.selection-checks dt svg { flex-shrink: 0; color: #8a96a8; stroke-width: 1.7; }
.selection-links .selection-icon-tile { background: #fff; }
.selection-links .selection-icon-tile svg { color: #4a7dff; }
.selection-link-copy { flex: 1; min-width: 0; }
.selection-card:last-child .selection-checks > div:nth-child(2) dd { white-space: nowrap; }
.selection-stage-nav svg { stroke-width: 1.7; flex-shrink: 0; }
.selection-action-bar p { margin: 4px 0 0; font-size: 13px; line-height: 1.6; }
.selection-actions { display: flex; align-items: center; flex-shrink: 0; gap: 8px; }
.selection-workspace button, .selection-workspace summary, .selection-dialog button { cursor: pointer; font-size: 12px; font-weight: 400; border: 0; border-radius: 10px; }
.selection-workspace button:focus-visible, .selection-workspace a:focus-visible, .selection-workspace summary:focus-visible, .selection-dialog button:focus-visible { outline: 2px solid #4a7dff; outline-offset: 3px; }
.selection-workspace .selection-primary, .selection-dialog .selection-primary { background: #4a7dff; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; min-height: 38px; }
.selection-primary:hover { filter: brightness(.96); }
.selection-workspace button:disabled, .selection-dialog button:disabled { opacity: .45; cursor: default; }
.selection-card-grid { display: grid; grid-template-columns: 1.15fr 1fr .85fr; gap: 16px; align-items: stretch; }
.selection-card { min-width: 0; padding: 20px; }
.selection-card h2, .selection-dialog h2 { font-size: 15px; font-weight: 500; margin: 0 0 18px; }
.selection-progress-heading { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.selection-progress-heading strong { font-size: 28px; font-weight: 400; }
.selection-progress-heading small, .selection-progress-heading span { color: #6a7185; font-size: 12px; font-weight: 400; }
.selection-progress { height: 5px; background: #eef0f3; border-radius: 5px; margin: 12px 0 14px; overflow: hidden; }
.selection-progress i { display: block; height: 100%; background: #4a7dff; border-radius: inherit; }
.selection-checks > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 12px; }
.selection-checks dt { color: #6a7185; }
.selection-checks dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.selection-blockers { background: #f5f6f7; padding: 10px 12px; border-radius: 10px; margin-top: 12px; }
.selection-blockers p { font-size: 11px; line-height: 1.6; margin: 2px 0; color: #6a7185; }
.selection-links { display: grid; gap: 8px; }
.selection-links > div { display: flex; align-items: center; gap: 4px; background: #f7f8fa; border-radius: 12px; padding: 4px; }
.selection-links a { min-width: 0; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px; color: inherit; }
.selection-links a svg { flex-shrink: 0; color: #7c899e; }
.selection-links b { font-size: 12px; font-weight: 400; }
.selection-links small { display: block; color: #6a7185; font-size: 11px; margin-top: 3px; }
.selection-links button { padding: 10px; background: transparent; color: #7c899e; }
.selection-muted { font-size: 12px; color: #6a7185; line-height: 1.7; margin: 12px 0; }
.selection-notice { margin: 0; padding: 10px 16px; background: #fff; border-radius: 12px; font-size: 12px; }
.selection-menu { position: relative; }
.selection-menu summary { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #f5f6f7; list-style: none; }
.selection-menu summary::-webkit-details-marker { display: none; }
.selection-menu > div { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 245px; max-width: calc(100vw - 48px); padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 8px 35px #0000001f; }
.selection-menu button, .selection-menu a { display: block; width: 100%; text-align: left; padding: 10px; background: transparent; font-size: 12px; color: inherit; }
.selection-menu button:hover, .selection-menu a:hover { background: #f5f6f7; border-radius: 8px; }
.selection-dialog { width: min(600px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: 24px; border: 0; border-radius: 18px; color: #35353d; overflow: auto; }
.selection-dialog::backdrop { background: #0005; }
.selection-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.selection-dialog header h2 { margin: 0; }
.selection-dialog header button { padding: 8px; background: #f5f6f7; }
.selection-field { display: grid; gap: 8px; font-size: 12px; margin-top: 20px; }
.selection-field textarea, .selection-field input { background: #f5f6f7; border: 0; border-radius: 10px; padding: 12px; width: 100%; font-size: 13px; }
.selection-field textarea { min-height: 220px; line-height: 1.7; resize: vertical; }
.selection-dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.selection-dialog-actions button { padding: 10px 14px; background: #f5f6f7; }
.selection-dialog:has(.selection-history) { width: min(640px, calc(100vw - 24px)); }
.selection-history { max-height: min(530px, calc(100dvh - 190px)); overflow: auto; padding-right: 3px; }
.selection-history-summary { margin: 0 0 14px; color: #77869b; font-size: 12px; }
.selection-history-list { display: grid; gap: 2px; }
.selection-history article { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 11px 4px; border-bottom: 1px solid #edf0f3; font-size: 12px; }
.selection-history article:last-child { border-bottom: 0; }
.selection-history-dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #f2f5fa; color: #4a7dff; }
.selection-history-title { display: flex; align-items: center; gap: 7px; }
.selection-history strong { font-weight: 500; color: #35353d; }
.selection-history-title small { padding: 2px 6px; border-radius: 999px; background: #f5f6f7; color: #77869b; font-size: 10px; }
.selection-history p { margin: 3px 0; color: #64748b; line-height: 1.45; }
.selection-history time { color: #8a96a8; font-size: 11px; }
.selection-workspace .selection-history-more { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 36px; margin-top: 12px; border-radius: 9px; background: #f5f6f7; color: #4a7dff; }
.selection-order-information .selection-muted { margin-top: 0; }
.selection-order-notes { margin-top: 16px; padding: 12px; border-radius: 10px; background: #f5f6f7; color: #64748b; font-size: 12px; line-height: 1.55; }
.selection-order-notes b { color: #35353d; font-weight: 500; }
.selection-order-notes p { margin: 6px 0 0; }
.retouch-task-list > div + div { border-top: 1px solid #e9edf1; margin-top: 12px; padding-top: 12px; }
.retouch-task-list > div > p { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; margin: 0 0 4px; }
.retouch-task-list b { font-weight: 500; }
.retouch-task-list > div > p > span { background: #f5f6f7; padding: 3px 8px; border-radius: 6px; font-size: 11px; color: #6a7185; }
.retouch-task-links { display: grid; gap: 6px; margin-top: 12px; }
.retouch-task-links button { text-align: left; padding: 8px 10px; background: #f5f6f7; }
.selection-field select { border: 0; border-radius: 10px; padding: 12px; background: #f5f6f7; font-size: 13px; min-width: 0; width: 100%; }
.retouch-choice > button { display: flex; justify-content: space-between; width: 100%; padding: 12px; border-radius: 10px; background: #f5f6f7; color: #35353d; }
.retouch-choice [role="listbox"] { display: grid; gap: 2px; padding: 6px; margin-top: 6px; border-radius: 10px; background: #f5f6f7; max-height: 220px; overflow: auto; }
.retouch-choice [role="option"] { padding: 10px; text-align: left; background: transparent; }
.retouch-choice [aria-selected="true"], .retouch-choice [role="option"]:hover { background: white; }
@media (max-width: 1150px) { .selection-card-grid { grid-template-columns: 1fr 1fr; } .selection-card:last-child { grid-column: 1 / -1; } }
@container selection-workspace (max-width: 1050px) { .selection-card-grid { grid-template-columns: 1fr 1fr; } .selection-card:last-child { grid-column: 1 / -1; } }
@container selection-workspace (max-width: 600px) { .selection-card-grid { grid-template-columns: minmax(0, 1fr); } .selection-card:last-child { grid-column: auto; } }
@media (max-width: 640px) { .selection-header { padding: 16px; } .selection-header h1 { font-size: 21px; } .selection-action-bar { grid-template-columns: minmax(0, 1fr); align-items: stretch; padding: 16px; } .selection-actions { justify-content: space-between; } .selection-actions .selection-primary { flex: 1; } .selection-toolbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .selection-workspace .selection-tool { justify-content: flex-start; padding: 9px; text-align: left; } .selection-card-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; } .selection-card { padding: 16px; } .selection-dialog { padding: 18px; } }

@container selection-workspace (max-width: 760px) { .selection-action-bar { grid-template-columns: minmax(0, 1fr); } .selection-toolbar { max-width: none; } }

/* Administrator mobile app: completed order */
@media (max-width: 640px) {
  body:has(.completed-workspace) {
    --completed-admin-ink: #14233c;
    --completed-admin-blue: #5279ad;
    --completed-admin-blue-soft: #eaf1fb;
    --completed-admin-line: #e5eaf1;
    --completed-admin-muted: #77869b;
  }

  body:has(.completed-workspace) .mobile-app-header { display: none !important; }

  body:has(.completed-workspace) main {
    padding-top: max(10px, env(safe-area-inset-top)) !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
    padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
    background: #edf1f6;
  }

  .completed-workspace {
    position: relative;
    display: grid;
    gap: 12px;
    padding-top: 18px;
    color: var(--completed-admin-ink);
  }

  .completed-workspace::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 5px;
    left: 50%;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: #c4cfdd;
    transform: translateX(-50%);
  }

  .completed-workspace .selection-header,
  .completed-workspace .selection-action-bar,
  .completed-workspace .selection-card {
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(38, 57, 83, .055);
  }

  .completed-workspace .selection-header {
    overflow: hidden;
    padding: 21px 17px 16px;
    background:
      radial-gradient(circle at 96% 5%, rgba(99, 133, 181, .16), transparent 34%),
      linear-gradient(145deg, #ffffff 0%, #f7faff 100%);
  }

  .completed-workspace .selection-header-top {
    align-items: flex-start;
    gap: 10px;
  }

  .completed-workspace .selection-header h1 {
    max-width: 290px;
    margin-top: 8px;
    color: var(--completed-admin-ink);
    font-size: clamp(24px, 7.2vw, 30px);
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -.035em;
  }

  .completed-workspace .selection-status {
    min-height: 28px;
    padding: 7px 11px;
    border: 1px solid #d5e3f7;
    border-radius: 999px;
    background: #eef5ff;
    color: #35649e;
    font-weight: 650;
  }

  .completed-workspace .selection-header-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 15px 0 18px;
  }

  .completed-workspace .selection-header-meta > span {
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 11px;
    background: rgba(235, 241, 249, .78);
    color: #52627a;
    line-height: 1.3;
  }

  .completed-workspace .selection-stage-nav {
    position: relative;
    gap: 0;
    padding: 1px 0 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .completed-workspace .selection-stage-nav::-webkit-scrollbar { display: none; }
  .completed-workspace .selection-stage-nav::before {
    content: "";
    position: absolute;
    top: 17px;
    right: 20px;
    left: 20px;
    height: 2px;
    background: #dbe5f2;
  }

  .completed-workspace .selection-stage-nav button {
    position: relative;
    z-index: 1;
    display: grid;
    flex: 0 0 76px;
    justify-items: center;
    gap: 6px;
    min-width: 76px;
    padding: 4px 3px 0;
    background: transparent !important;
    color: #6580a5;
    line-height: 1.15;
  }

  .completed-workspace .selection-stage-nav button svg,
  .completed-workspace .selection-stage-marker {
    display: grid;
    width: 30px;
    height: 30px;
    padding: 7px;
    border: 1px solid #bed2ef;
    border-radius: 50%;
    background: #f3f7fd;
    color: #5279ad;
    box-shadow: 0 0 0 4px #fff;
  }

  .completed-workspace .selection-stage-nav button[aria-current] svg,
  .completed-workspace .selection-stage-nav button[aria-current] .selection-stage-marker {
    border-color: #5279ad;
    background: #5279ad;
    color: #fff;
  }

  .completed-workspace .selection-stage-nav button span {
    color: inherit;
    font-size: 10px;
    font-weight: 600;
  }

  .completed-workspace .completed-hero {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 22px 18px 18px;
    border-color: rgba(91, 121, 167, .28);
    background:
      radial-gradient(circle at 100% 0, rgba(151, 190, 178, .32), transparent 45%),
      linear-gradient(135deg, #263d64 0%, #4e719f 100%);
    color: #fff;
  }

  .completed-workspace .completed-hero::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -46px;
    width: 132px;
    height: 132px;
    border: 24px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
  }

  .completed-workspace .completed-hero-copy { position: relative; z-index: 1; }
  .completed-workspace .completed-hero .selection-icon-tile {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
  }
  .completed-workspace .completed-hero .selection-eyebrow {
    color: #cedcf0;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .11em;
    text-transform: uppercase;
  }
  .completed-workspace .completed-hero h2 {
    max-width: 290px;
    margin: 5px 0 0;
    color: #fff;
    font-size: 23px;
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -.025em;
  }
  .completed-workspace .completed-hero p { color: #d7e2f1; }
  .completed-workspace .completed-hero .selection-primary {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    backdrop-filter: blur(8px);
  }

  .completed-workspace .completed-summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .completed-workspace .selection-card {
    grid-column: auto;
    padding: 18px;
    background: rgba(255, 255, 255, .96);
  }

  .completed-workspace .selection-card-title {
    margin-bottom: 14px;
    color: var(--completed-admin-ink);
    font-size: 18px;
    font-weight: 650;
  }

  .completed-workspace .selection-card .selection-icon-tile {
    width: 35px;
    height: 35px;
    border-radius: 12px;
    background: var(--completed-admin-blue-soft);
    color: var(--completed-admin-blue);
  }

  .completed-workspace .completed-result-card {
    background:
      radial-gradient(circle at 100% 0, rgba(117, 165, 151, .18), transparent 42%),
      #fff;
  }

  .completed-workspace .completed-volume {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 5px 0 14px;
    color: #53657d;
  }
  .completed-workspace .completed-volume strong {
    color: var(--completed-admin-ink);
    font-size: 38px;
    font-weight: 450;
    line-height: 1;
    letter-spacing: -.04em;
  }

  .completed-workspace .selection-checks {
    margin: 0;
    border-top: 1px solid var(--completed-admin-line);
  }

  .completed-workspace .selection-checks > div {
    align-items: center;
    min-height: 43px;
    padding: 10px 0;
    border-bottom: 1px solid var(--completed-admin-line);
  }
  .completed-workspace .selection-checks > div:last-child { border-bottom: 0; }
  .completed-workspace .selection-checks dt {
    color: var(--completed-admin-muted);
    line-height: 1.25;
  }
  .completed-workspace .selection-checks dd {
    max-width: 56%;
    color: var(--completed-admin-ink);
    font-weight: 600;
    line-height: 1.3;
  }
}

/* Completed order v3: compact, task-oriented admin application screen. */
@media (max-width: 640px) {
  body:has(nav[data-role="administrator"]) .completed-workspace {
    gap: 12px;
  }

  .completed-admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 2px;
  }
  .completed-admin-topbar > span {
    color: #8b9db4;
    font-size: 10px;
    font-weight: 550;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .completed-admin-menu {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #e3eaf4;
    color: #7892b4;
  }
  .completed-admin-menu svg { width: 18px; height: 18px; stroke-width: 1.6; }
  .admin-mobile-header-menu {
    display: grid !important;
    place-items: center !important;
    box-sizing: border-box !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin-left: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #e3eaf4 !important;
    color: #7892b4 !important;
  }
  .admin-mobile-header-menu svg { width: 17px !important; height: 17px !important; stroke-width: 1.6 !important; }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-header {
    padding: 16px;
    border: 0;
    border-radius: 22px;
    background: #fff;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-eyebrow { display: none; }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-header-top { gap: 8px; }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-header-top > div { flex: 1; min-width: 0; }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-header h1 {
    margin: 0;
    color: #405a7e;
    font-size: 24px;
    font-weight: 550;
    line-height: 1.15;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-status {
    align-self: flex-start;
    white-space: nowrap;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-header-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 16px 0 18px;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-header-meta > span {
    align-items: flex-start;
    min-height: 50px;
    padding: 10px;
    border-radius: 13px;
    background: #f3f6fa;
    color: #6f87a6;
    font-size: 10px;
    line-height: 1.35;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-header-meta > span:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    min-height: 38px;
    align-items: center;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-header-meta svg {
    box-sizing: content-box;
    width: 14px;
    height: 14px;
    padding: 5px;
    border-radius: 8px;
    background: #e5ecf5;
    color: #88a0bf;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-stage-nav button {
    flex-basis: 62px;
    min-width: 62px;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-stage-nav::before {
    right: 30px;
    left: 30px;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-stage-label {
    max-width: 62px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .completed-hero {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0 12px;
    align-items: start;
    padding: 17px;
    border: 1px solid #dde6f0;
    border-radius: 20px;
    background: linear-gradient(120deg, #edf2f9, #f7f9fc);
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .completed-hero-copy { display: contents; }
  body:has(nav[data-role="administrator"]) .completed-workspace .completed-hero .selection-icon-tile {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 38px;
    height: 38px;
    margin: 0;
    border-radius: 12px;
    background: #dfe8f4;
    color: #7895b9;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .completed-hero .selection-eyebrow {
    display: block;
    grid-column: 2;
    color: #99a9bd;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .completed-hero h2 {
    grid-column: 2;
    margin-top: 4px;
    color: #5c7698;
    font-size: 18px;
    line-height: 1.2;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .completed-hero p {
    grid-column: 2;
    margin-top: 6px;
    color: #99a9bd;
    font-size: 10px;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .completed-hero .selection-primary {
    grid-column: 1 / -1;
    min-height: 40px;
    margin-top: 15px;
    border: 0;
    background: #e1e9f3;
    color: #718cab;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .completed-summary-grid { gap: 12px; }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-card,
  body:has(nav[data-role="administrator"]) .completed-workspace .completed-result-card {
    padding: 17px;
    border: 0;
    border-radius: 20px;
    background: #fff;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-card-title {
    margin-bottom: 14px;
    font-size: 15px;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-card .selection-icon-tile {
    width: 32px;
    height: 32px;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .completed-volume {
    margin: 2px 0 15px;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .completed-volume strong { font-size: 30px; }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border: 0;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-checks > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 7px;
    min-height: 86px;
    padding: 11px;
    border: 0;
    border-radius: 13px;
    background: #f5f7fa;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-checks > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    min-height: 62px;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-checks dt {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #9aabc0;
    font-size: 9px;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-checks dt svg {
    box-sizing: content-box;
    width: 13px;
    height: 13px;
    padding: 5px;
    border-radius: 8px;
    background: #e8eef6;
    color: #8da5c2;
  }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-checks dd {
    max-width: 100%;
    text-align: left;
    color: #617c9f;
    font-size: 11px;
    line-height: 1.35;
  }
}

/* Keep this page in the same restrained visual language as the admin dashboard. */
@media (max-width: 640px) {
  body:has(nav[data-role="administrator"]):has(.completed-workspace) main {
    padding-top: calc(env(safe-area-inset-top) + 18px) !important;
    padding-right: 18px !important;
    padding-left: 18px !important;
    background: #f1f4f8 !important;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace {
    gap: 18px;
    padding-top: 0;
    color: #3e587b;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace::before { display: none; }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-header,
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-action-bar,
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-card {
    border: 0;
    box-shadow: none;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-header {
    overflow: visible;
    padding: 4px 0 18px;
    border-bottom: 1px solid #dfe7f1;
    border-radius: 0;
    background: transparent;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-header h1 {
    max-width: 330px;
    margin-top: 12px;
    color: #3d587d;
    font-size: 27px;
    font-weight: 550;
    line-height: 1.18;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-status {
    min-height: 25px;
    padding: 5px 10px;
    border: 1px solid #d9e4f1;
    background: #e8eff8;
    color: #7795b9;
    font-size: 10px;
    font-weight: 550;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-header-meta {
    display: flex;
    gap: 8px 16px;
    margin: 13px 0 20px;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-header-meta > span {
    min-height: 0;
    padding: 0;
    background: transparent;
    color: #91a4bd;
    font-size: 10px;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-header-meta svg {
    color: #a3b4ca;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-stage-nav {
    padding-top: 0;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-stage-nav::before {
    top: 14px;
    right: 14px;
    left: 14px;
    height: 1px;
    background: #d7e2ef;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-stage-nav button {
    flex-basis: 68px;
    min-width: 68px;
    gap: 7px;
    color: #91a6c1;
    font-size: 9px;
    font-weight: 500;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-stage-marker {
    box-sizing: border-box;
    width: 27px;
    height: 27px;
    padding: 6px;
    border: 1px solid #cddbec;
    border-radius: 50%;
    background: #f1f4f8;
    color: #8ea7c7;
    box-shadow: 0 0 0 4px #f1f4f8;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-stage-marker svg,
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-stage-nav button .selection-stage-marker svg {
    box-sizing: content-box;
    width: 13px;
    height: 13px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    box-shadow: none;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-stage-nav button > svg {
    box-sizing: border-box;
    width: 27px;
    height: 27px;
    padding: 6px;
    border: 1px solid #cddbec;
    border-radius: 50%;
    background: #f1f4f8;
    color: #8ea7c7;
    box-shadow: 0 0 0 4px #f1f4f8;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-stage-nav button[aria-current] .selection-stage-marker,
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-stage-nav button[aria-current] > svg {
    border-color: #6c8fb9;
    background: #6c8fb9;
    color: #fff;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .completed-hero {
    padding: 18px;
    border: 1px solid #dbe5e6;
    border-radius: 19px;
    background: #e8f0ed;
    color: #668d82;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .completed-hero::after { display: none; }

  body:has(nav[data-role="administrator"]) .completed-workspace .completed-hero .selection-icon-tile {
    width: 34px;
    height: 34px;
    margin-bottom: 11px;
    border-radius: 11px;
    background: #dbe9e3;
    color: #7b9f95;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .completed-hero .selection-eyebrow {
    color: #8aa89f;
    font-size: 9px;
    letter-spacing: .08em;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .completed-hero h2 {
    max-width: 310px;
    color: #668d82;
    font-size: 21px;
    font-weight: 550;
    line-height: 1.15;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .completed-hero p { color: #91aaa3; }

  body:has(nav[data-role="administrator"]) .completed-workspace .completed-hero .selection-primary {
    min-height: 42px;
    margin-top: 15px;
    border: 1px solid #d3e1dc;
    border-radius: 12px;
    background: rgba(255, 255, 255, .52);
    color: #718f87;
    backdrop-filter: none;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .completed-summary-grid { gap: 18px; }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-card {
    padding: 18px 0 0;
    border-top: 1px solid #dfe7f1;
    border-radius: 0;
    background: transparent;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .completed-result-card {
    padding-top: 0;
    border-top: 0;
    background: transparent;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-card-title {
    margin-bottom: 15px;
    color: #627795;
    font-size: 16px;
    font-weight: 550;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-card .selection-icon-tile {
    width: 31px;
    height: 31px;
    border-radius: 10px;
    background: #e4ebf4;
    color: #8ba4c4;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .completed-volume {
    margin: 4px 0 14px;
    color: #93a5bc;
    font-size: 10px;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .completed-volume strong {
    color: #6787b1;
    font-size: 34px;
    font-weight: 500;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-checks {
    border-top-color: #dfe7f1;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-checks > div {
    min-height: 42px;
    border-bottom-color: #dfe7f1;
    font-size: 11px;
  }

  body:has(nav[data-role="administrator"]) .completed-workspace .selection-checks dt { color: #91a4bd; }
  body:has(nav[data-role="administrator"]) .completed-workspace .selection-checks dd {
    color: #6983a5;
    font-weight: 550;
  }
}
