@charset "UTF-8";
:root {
  color-scheme:light;
  --ink:#122946;--muted:#45607b;--line:#d7e4f2;--canvas:#f2f7fd;
  --deep:#0c2242;--action:#154c8e;--orange:#ffd56a;--radius:14px;
  font:16px/1.5 "Segoe UI",system-ui,sans-serif;
}
* {box-sizing:border-box}
body {margin:0;background:var(--canvas);color:var(--ink)}
[hidden] {display:none!important}
a {color:var(--action);text-underline-offset:.2em}
h1,h2,h3,p {margin:0 0 .65rem}
h1,h2,h3 {line-height:1.12}
h1 {font-size:clamp(1.8rem,4.5vw,3.05rem);letter-spacing:-.05em}
h2 {font-size:1.28rem;letter-spacing:-.028em}
h3 {font-size:1rem}
p:last-child {margin-bottom:0}
button,input,select,textarea {font:inherit;color:inherit}
button,select,summary {cursor:pointer}
:focus-visible {outline:3px solid #aa5708;outline-offset:3px}
small,.muted {color:var(--muted)}
small {font-size:.82rem}
canvas {width:100%;height:auto;display:block}
.mono {font: .77rem "Cascadia Mono",Consolas,monospace;overflow-wrap:anywhere}
.sr-only,.skip:not(:focus) {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus {position:fixed;top:.5rem;left:.5rem;z-index:10;background:#fff;padding:.8rem}
.sidebar {padding:.65rem .8rem 0;background:var(--deep);color:#ebf4ef}
.brand {display:inline-flex;align-items:center;gap:.65rem;min-height:44px;color:#fff;text-decoration:none;font-weight:750;font-size:.88rem;letter-spacing:.065em}
.brand b {color:var(--orange)}
.mark {width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:#f9bc81;color:#213431;font-size:1.45rem}
#navigation {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:.55rem}
#navigation a {position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:.2rem;min-height:55px;padding:.25rem;color:#deebe5;text-decoration:none;font-size:.69rem;line-height:1.15;border-radius:8px 8px 0 0}
#navigation a:hover,#navigation a[aria-current] {background:#294249;color:#fff}
.nav-icon {font-size:1.14rem;color:var(--orange)}
#navigation b {position:absolute;right:5px;top:2px;border-radius:20px;background:var(--orange);color:var(--ink);padding:.2rem .37rem}
.side-foot,.context {display:none}
.topbar {min-height:59px;padding:.35rem .85rem;display:flex;align-items:center;justify-content:flex-end;background:#fff;border-bottom:1px solid var(--line)}
.user-area {display:flex;align-items:center;gap:.55rem}
.demo-label {font:700 .68rem "Cascadia Mono",Consolas,monospace;letter-spacing:.06em;color:#783b1e;background:#ffe9d5;padding:.35rem .5rem;border-radius:5px}
.avatar {display:grid;place-items:center;border-radius:50%;background:#dfede5;color:#245346;width:32px;height:32px;font-size:.75rem;font-weight:750}
#person {border:0;padding:.25rem;max-width:175px;font-weight:640;font-size:.92rem}
.demo-strip {padding:.45rem .85rem;background:#e4eee7;color:#345249;font-size:.76rem;border-bottom:1px solid var(--line)}
main {max-width:1500px;margin:auto;padding:1rem .8rem 3.5rem;min-width:0}
main:focus {outline:none}
.hero {display:grid;gap:.8rem;align-items:center;background:linear-gradient(120deg,#103d70,#0c2242 78%);color:white;border-radius:var(--radius);padding:1.35rem;overflow:hidden}
.hero h1 {margin:.65rem 0}
.hero p {color:#dfedff;margin-bottom:1.15rem}
.eyebrow {color:var(--orange);font:700 .72rem "Cascadia Mono",Consolas,monospace;letter-spacing:.09em}
.hero .primary {color:#142746;background:var(--orange);border-color:var(--orange)}
.hero .primary:hover {background:#ffe8a0}
.hero-art {display:none}
.hero-art canvas {mask-image:linear-gradient(to right,transparent,#000 12%,#000 90%,transparent)}
.metrics {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:.75rem 0 1rem}
.metric,.panel {background:#fff;border:1px solid var(--line);box-shadow:0 2px 4px #18395b0a}
.metric {display:flex;align-items:center;gap:.55rem;border-radius:11px;padding:.65rem}
.metric strong {display:block;line-height:1.12;font-size:1.4rem}
.metric div span {font-size:.76rem;color:var(--muted)}
.object-icon {display:inline-grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #d3e4f7;border-radius:9px;background:#eaf3ff;color:#174b82;font-size:1.16rem}
.panel {min-width:0;border-radius:var(--radius);margin-bottom:.85rem}
.panel-head {padding:1rem 1rem .75rem}
.padded {padding:1rem}
.padded>.panel-head {padding:0 0 .8rem}
.panel-head h2,.page-head h1 {margin:0}
.panel-head p,.page-head p {margin:.35rem 0 0;color:var(--muted)}
.task-heading,.page-head,.section-title,.card-top {display:flex;justify-content:space-between;align-items:center;gap:.65rem;flex-wrap:wrap}
.page-head {margin:.45rem 0 1rem}
.count-tag,.kind-tag,.badge {display:inline-flex;align-items:center;max-width:100%;padding:.28rem .53rem;border-radius:6px;background:#eaf1fb;color:#304e6d;line-height:1.25;font-size:.75rem;font-weight:650}
.badge {border-radius:20px;gap:.35rem}
.badge::before {content:"";flex:none;width:.42rem;height:.42rem;border-radius:50%;background:currentColor}
.s-IN_PROGRESS,.s-DRAFT {background:#e6eef8;color:#2d527d}
.s-AWAITING_ACCEPTANCE,.s-READY_FOR_HANDOFF,.s-READY,.s-APPROVED_BY_PERFORMER {background:#f9eccb;color:#69480d}
.s-RETURNED,.s-RETURNED_FOR_CORRECTION {background:#fdece0;color:#803c23}
.s-COMPLETED,.s-ACCEPTED {background:#e0f0e6;color:#205341}
.filters,.atlas-filters {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;padding:0 .8rem .85rem}
.filters>:first-child,.atlas-filters>:first-child {grid-column:1/-1}
.atlas-filters {padding:0}
select,input:not([type=checkbox]):not([type=file]),textarea {width:100%;min-height:44px;border:1px solid #bdcfe2;border-radius:8px;background:#fff;padding:.5rem .6rem}
textarea {resize:vertical}
.search {display:flex;align-items:center;gap:.3rem;background:#fff;border:1px solid #bdcfe2;border-radius:8px;padding-left:.6rem;color:var(--muted)}
.search span[aria-hidden] {font-size:1.28rem}
.search input[type=search] {border:0}
.table-header {display:none}
.task-row {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.45rem .6rem;border-top:1px solid var(--line);padding:.65rem .8rem}
.task-row:hover {background:#f8fbff}
.task-title {display:flex;gap:.6rem;align-items:center;grid-column:1/-1}
.task-title .mono,.task-title small,.task-title a {display:block}
.task-title a {color:var(--ink);font-weight:720;text-decoration:none;padding:.13rem 0}
.task-title a:hover {text-decoration:underline}
.kind-list {display:flex;gap:.23rem;flex-wrap:wrap}
.row-progress {display:flex;align-items:center;gap:.45rem}
.row-progress small {white-space:nowrap}
progress {width:100%;max-width:11rem;height:.45rem;appearance:none;border:0;background:#dce8f7;border-radius:10px;overflow:hidden}
progress::-webkit-progress-bar {background:#dce8f7}
progress::-webkit-progress-value {background:#2665a5;border-radius:10px}
progress::-moz-progress-bar {background:#2665a5}
.row-arrow {justify-self:end}
.row-arrow a {display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;width:44px;height:44px;text-decoration:none;font-size:1.55rem;line-height:1}
.btn {display:inline-flex;align-items:center;justify-content:center;min-height:44px;gap:.38rem;padding:.5rem .75rem;border:1px solid transparent;border-radius:8px;text-decoration:none;font-size:.88rem;font-weight:680;line-height:1.25;text-align:center}
.btn.primary {background:var(--action);color:#fff;border-color:var(--action)}
.btn.primary:hover {background:#0c386d}
.btn.secondary {background:#fff;border-color:#bfd2e8;color:#194573}
.btn.secondary:hover,.row-arrow a:hover {background:#eaf4ff}
.btn.text {color:#194573;background:#f1f7ff}
.btn.danger-btn {background:#94382a;color:#fff}
.back {display:inline-flex;align-items:center;min-height:44px;font-weight:680;text-decoration:none}
.actions,.editor-actions {display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;margin-top:.75rem}
.actions.spaced {align-items:flex-end}
.card-top {margin-bottom:.75rem}
.kind-cards,.atlas-grid,.work-grid {display:grid;gap:.75rem}
.kind-cards .panel,.atlas-grid .panel,.work-grid .panel {margin:0}
.tabs {display:flex;gap:.3rem;border-bottom:1px solid #bfd2e8;margin-bottom:.8rem}
.tabs a {display:grid;place-items:center;min-height:44px;padding:.3rem .6rem;border-bottom:3px solid transparent;color:var(--ink);font-weight:650;text-decoration:none}
.tabs a[aria-current] {border-color:#2467aa;color:#194573}
.list-tools {display:grid;gap:.35rem;padding:0 1rem .65rem}
.check {display:flex;align-items:center;gap:.55rem;min-height:44px;font-size:.88rem}
.check input {width:1.13rem;height:1.13rem;accent-color:#154c8e;flex:none}
.list-group {margin:0;padding:.65rem .85rem;background:#edf5ff;color:#36536f}
.object-link {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem;min-height:52px;padding:.55rem .7rem;border-top:1px solid #dce8f5;color:var(--ink);text-decoration:none}
.object-link small {display:block;font-size:.73rem}
.object-link:hover,.object-link[aria-current] {background:#eaf4ff}
.object-intro {align-self:start}
.object-intro .object-icon {margin-bottom:.65rem}
.object-panel .panel-head {border-bottom:1px solid var(--line)}
.panel-footer {padding:.6rem 1rem .85rem}
.field {display:grid;gap:.32rem;min-width:0;margin:0 0 .8rem;font-size:.9rem;font-weight:620}
.field>span {color:#223e5d}
.field input,.field select,.field textarea {font-weight:400}
fieldset {min-width:0;margin:0 0 .9rem;padding:.65rem .75rem .1rem;border:1px solid var(--line);border-radius:9px}
legend {font-size:.9rem;font-weight:740;padding:0 .4rem}
.section-title {margin:1rem 0 .4rem}
.section-title h3 {margin:0}
.defect,.snapshot-item {border:1px solid var(--line);border-radius:8px;margin:0 0 .5rem;padding:.15rem .65rem}
.defect-fields,.snapshot-item>div {padding:.65rem 0}
summary {min-height:44px;padding:.65rem .25rem;font-weight:650;overflow-wrap:anywhere}
summary small {display:block;font-weight:400}
.editor-actions {position:sticky;bottom:0;z-index:2;background:#fff;padding:.6rem .1rem;border-top:1px solid var(--line)}
.upload {position:relative;overflow:hidden;cursor:pointer}
.upload input {position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.upload:focus-within {outline:3px solid #aa5708;outline-offset:3px}
.gallery {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:.75rem;margin-top:.7rem}
.photo {border:1px solid var(--line);border-radius:9px;overflow:hidden}
.photo-preview {background:#edf4fb;border:0;width:100%;min-height:100px;display:grid;place-items:center;padding:0}
.photo-preview img {width:100%;aspect-ratio:16/10;object-fit:contain}
.photo-preview:focus-visible {outline-offset:-4px}
.photo-body {padding:.65rem;overflow-wrap:anywhere}
.photo-body .field {margin-top:.55rem}
.callout,.empty {padding:.7rem .8rem;border-radius:8px;background:#edf5ff;color:#284969;margin:.5rem 0}
.work-list>.empty,.task-panel .empty {margin:.7rem}
.callout.warning,.issues.warning {background:#fcf1df;color:#6d4417}
.callout.danger,.issues.danger {background:#fbece8;color:#852d21}
.issues {padding:.65rem .7rem .65rem 1.65rem;border-radius:9px;margin:.4rem 0 1rem}
.issues a {display:inline-flex;align-items:center;min-height:44px;margin-left:.35rem;font-weight:700}
.facts {display:grid;grid-template-columns:minmax(80px,1fr) minmax(0,2fr);gap:.35rem .65rem;margin:.7rem 0}
.facts dt {font-weight:680}
.facts dd {margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.version-row {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding:.75rem 0;border-top:1px solid var(--line)}
.version-row p {margin:.25rem 0 0;color:var(--muted)}
.timeline {list-style:none;padding:0 0 0 .65rem;margin:0}
.timeline li {border-left:2px solid #cadcf3;padding:0 0 1rem 1rem;position:relative;display:grid;gap:.2rem}
.timeline li::before {content:"";position:absolute;left:-.33rem;top:.25rem;background:#2d68a5;border-radius:50%;width:.55rem;height:.55rem}
.timeline p {white-space:pre-wrap}
.atlas-card {overflow:hidden}
.atlas-art {background:#ebf2ed}
.atlas-card h2 {margin:.55rem 0}
.source {display:block;margin-top:.55rem}
.notice {position:fixed;right:1rem;bottom:1rem;z-index:5;max-width:min(calc(100% - 2rem),32rem);padding:.75rem 1rem;border-radius:9px;color:#fff;background:#153e6d;box-shadow:0 5px 20px #12294638;font-size:.9rem;pointer-events:none}
.notice.error {background:#8c3025}
dialog {width:min(92vw,540px);max-height:90dvh;color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:1rem;box-shadow:0 12px 60px #182c3755}
dialog::backdrop {background:#101e28a6}
.dialog-photo {display:block;max-height:53dvh;max-width:100%;margin:0 auto .7rem}
@media(max-width:949px) {
  .work-grid:has(.object-panel) .work-list {max-height:230px;overflow:auto}
  .object-panel {scroll-margin-top:.5rem}
}
@media(min-width:650px) {
  main {padding:1.2rem 1.35rem 4rem}
  .hero {grid-template-columns:1.1fr .9fr;min-height:240px}
  .hero-art {display:block}
  .metrics {grid-template-columns:repeat(4,minmax(0,1fr))}
  .kind-cards,.atlas-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .filters {grid-template-columns:2fr 1fr 1fr 1fr}
  .atlas-filters {grid-template-columns:2fr 1fr}
  .filters>:first-child,.atlas-filters>:first-child {grid-column:auto}
  .table-header,.task-row {display:grid;align-items:center;grid-template-columns:minmax(0,2.6fr) minmax(0,.95fr) minmax(0,1.17fr) minmax(0,.9fr) 44px;gap:.55rem}
  .task-title {grid-column:auto}
  .row-progress {display:grid;gap:.2rem}
  .table-header {padding:.55rem .85rem;background:#eef5fd;color:#3f5874;border-top:1px solid var(--line);font-size:.78rem;font-weight:700}
}
@media(min-width:950px) {
  .sidebar {position:fixed;inset:0 auto 0 0;width:220px;padding:1.1rem .85rem;display:flex;flex-direction:column}
  .brand {padding:.2rem .35rem;font-size:.92rem}
  .brand b {display:block;line-height:1}
  #navigation {grid-template-columns:minmax(0,1fr);gap:.3rem;margin-top:2rem}
  #navigation a {flex-direction:row;justify-content:flex-start;gap:.65rem;text-align:left;min-height:46px;border-radius:8px;padding:.55rem .65rem;font-size:.87rem}
  #navigation a[aria-current] {box-shadow:inset 3px 0 var(--orange)}
  .nav-icon {width:21px;text-align:center}
  .side-foot {display:block;margin-top:auto;border-top:1px solid #3d5357;padding:.8rem .3rem 0;color:#d0e2dc;font-size:.82rem}
  .side-foot small {display:block;color:#a9c0b8;margin-top:.3rem}
  .shell {margin-left:220px}
  .topbar {justify-content:space-between;padding:.45rem 1.65rem}
  .context {display:flex;gap:.7rem;align-items:center;font-size:.77rem;color:var(--muted);letter-spacing:.025em}
  .context strong {font-size:.85rem;color:var(--ink);letter-spacing:0}
  .demo-strip {padding-inline:1.65rem}
  .hero {padding:1.5rem 1.9rem}
  .metric {padding:.85rem .95rem}
  .metric strong {font-size:1.6rem}
  .work-grid {grid-template-columns:minmax(290px,.82fr) minmax(0,1.35fr);align-items:start}
  .work-list {max-height:calc(100dvh - 40px);overflow:auto;position:sticky;top:12px}
}
@media(min-width:1220px) {
  main {padding:1.45rem 1.65rem 4rem}
  .hero {grid-template-columns:1.2fr 1fr;min-height:255px}
  .atlas-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
  .task-row {padding:.7rem 1rem}
}
@media print {
  .sidebar,.topbar,.demo-strip,.tabs,.notice,.btn,.back,.skip,dialog {display:none!important}
  .shell {margin:0}
  main {padding:0;color:#000}
  .panel {border:0;box-shadow:none}
  details::details-content {content-visibility:visible}
  body {background:white}
}

.hero .btn.primary {color:#142746;background:var(--orange);border-color:var(--orange)} .hero .btn.primary:hover {background:#ffe8a0}

/* V1.1 work entry and documentation */
#navigation {grid-template-columns:repeat(5,minmax(0,1fr))}
.portfolio-link {display:inline-flex;align-items:center;min-height:44px;color:#e5eddf;font-size:.79rem;text-decoration:none;padding:.25rem .45rem}
.portfolio-link:hover {text-decoration:underline}
.context {min-width:0}
.context strong {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-area {flex:none}
.start-title {border-radius:16px;padding:clamp(1.25rem,4vw,2.7rem);background:#173732;color:#fff;margin-bottom:.9rem}
.start-title h1 {margin:.55rem 0 .45rem;font-size:clamp(2rem,5vw,3.8rem)}
.start-title p {color:#d1e0da}
.start-kinds {margin-bottom:.75rem}
.start-card {display:grid;grid-template-columns:auto minmax(0,1fr);gap:.22rem .9rem;align-items:center;padding:clamp(.9rem,2.8vw,1.55rem);border:1px solid #bfd2e8;background:#fff;border-radius:14px;color:#122946;text-decoration:none;box-shadow:0 2px 4px #18395b10;min-height:88px}
.start-card:hover {background:#e2efff;border-color:#7ba4cb}
.start-card:first-child {border-left:4px solid #d78a55}
.start-card:last-child {border-left:4px solid #2c6baa}
.start-card .object-icon {grid-row:1 / span 2;width:46px;height:46px;font-size:1.5rem}
.start-card strong {font-size:clamp(1.05rem,2.6vw,1.55rem);letter-spacing:.02em}
.start-card>span:last-child {font-size:.88rem;color:var(--muted)}
.start-links {margin-top:.9rem}
.start-links .actions {margin-top:0}
.kind-switch {display:flex;align-items:center;flex-wrap:wrap;gap:.4rem;margin-bottom:.65rem}
.kind-switch span {display:inline-flex;align-items:center;min-height:44px;padding:.5rem .65rem;background:#e5f0ff;border:1px solid #b9d1ee;border-radius:8px;color:#194573;font-weight:700;font-size:.88rem}
.work-list>details>summary {padding-inline:1rem;color:#274768}
.participant-row,.manual-row {display:flex;flex-wrap:wrap;align-items:flex-end;gap:.45rem;margin-bottom:.55rem}
.participant-row .field,.manual-row .field {flex:1 1 138px;margin:0}
.manual-row,.scope-choice {padding:.65rem;border:1px solid var(--line);border-radius:8px;margin-bottom:.55rem}
.scope-choice details {padding-left:.5rem}
.reference-panel {padding:.8rem;margin-top:.9rem;border-radius:9px;border:1px solid #bfd4ed;background:#eef6ff;min-width:0}
.reference-panel h3 {margin-bottom:.65rem}
.reference-info {margin:.7rem 0;border-left:3px solid #5381b0;padding:.25rem .65rem;overflow-wrap:anywhere}
.reference-finding {border-top:1px solid #cbddf0;padding:.55rem 0}
.reference-finding .field {margin-top:.65rem}
.help-art {background:#eef6ff;border-radius:10px;overflow:hidden;max-width:320px;margin:0 0 .85rem}
.help-guide li {margin-bottom:.5rem}
.version-row strong,.work-grid strong,.page-head p,.scope-choice label {overflow-wrap:anywhere}
@media(min-width:950px) {
  #navigation {grid-template-columns:minmax(0,1fr)}
  .portfolio-link {margin-top:.5rem}
}
@media(max-width:649px) {
  #navigation a {font-size:.64rem}
  .portfolio-link {min-height:44px}
  .start-title {padding:1.05rem}
  .start-card .object-icon {width:40px;height:40px}
  .reference-panel .gallery {grid-template-columns:minmax(0,1fr)}
}


.setup-shortcut {margin-bottom:.75rem}
.object-panel .panel-head .btn {margin-top:.45rem}
.reference-panel {scroll-margin-top:.55rem;scroll-margin-bottom:6rem}


