@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  color-scheme: light;
  --ink: #112b32;
  --muted: #4b6269;
  --teal: #08634e;
  --border: #d8e3e1;
  --mint: #e1f2e9;
  --canvas: #f5f8f6;
  --mono: 'IBM Plex Mono', Consolas, monospace;
  font: 16px/1.55 'DM Sans', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, p, dl, dd { margin: 0; }
a { color: var(--teal); }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid #159878; outline-offset: 3px; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 2; left: 12px; top: -100px; padding: 10px; background: white; }
.skip:focus { top: 12px; }
.shell { width: min(1100px, calc(100% - 64px)); margin-inline: auto; }
.top { background: #fff; border-bottom: 1px solid var(--border); }
.top-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; letter-spacing: -.045em; font-weight: 700; }
.brand-mark { display: inline-grid; place-items: center; position: relative; isolation: isolate; width: 33px; height: 33px; border-radius: 9px; background: #113932; }
.brand-mark::before, .brand-mark::after { content: ''; width: 17px; height: 6px; position: absolute; background: #a4eed0; border-radius: 2px; transform: rotate(-45deg); }
.brand-mark::after { transform: rotate(45deg); }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a { padding: 8px 13px; color: var(--muted); font-size: .9rem; text-decoration: none; font-weight: 700; border-radius: 8px; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--teal); background: var(--mint); }
main { flex: 1; padding-block: 52px 64px; }
main:focus, h1:focus { outline: none; }
.intro { margin-bottom: 28px; }
.intro > p:last-child { max-width: 59ch; color: var(--muted); font-size: 1.05rem; margin-top: 10px; }
.eyebrow { color: var(--teal); font: 600 .72rem/1.55 var(--mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 9px; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.09; letter-spacing: -.055em; }
h2 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.025em; }
.card { border: 1px solid var(--border); background: white; border-radius: 15px; box-shadow: 0 3px 6px #16342d06; }
.map-home { display: flex; justify-content: space-between; align-items: start; gap: 16px; background: #123a34; color: white; border-radius: 15px; padding: 24px 26px; }
.map-home .eyebrow { display: block; color: #a1e6c9; }
.map-home p { margin-top: 5px; color: #d3e9e1; }
.map-path { padding: 1px 12px; color: #b3ecd5; border: 1px solid #4e7469; border-radius: 5px; font-family: var(--mono); }
.map-branch { width: 2px; height: 22px; background: #a6c5b8; margin-inline: auto; }
.map-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.map-card { padding: 20px; }
.map-card p, .map-footer p { color: var(--muted); margin-top: 6px; }
.map-card ul { list-style: none; margin: 13px 0 0; padding: 0; }
.map-card li { border-top: 1px solid var(--border); padding-top: 9px; margin-top: 8px; font-size: .9rem; }
.map-card li span { display: block; color: var(--muted); }
.portal-map { background: var(--mint); border-color: #bfded1; grid-column: span 2; }
.portal-map a { display: inline-block; margin-top: 12px; }
.map-footer { margin-top: 20px; padding: 16px 0 0; border-top: 1px solid var(--border); }
.map-footer h2 { font-size: 1rem; }
.signin { display: grid; grid-template-columns: 1fr .95fr; overflow: hidden; margin-top: 12px; }
.signin-form { padding: clamp(24px, 5vw, 58px); }
.signin-form .intro { margin-bottom: 24px; }
.demo-account { display: grid; gap: 2px; padding: 14px 17px; background: #f3f8f5; border: 1px solid var(--border); border-radius: 9px; margin-bottom: 15px; }
.demo-account span { color: var(--muted); font-size: .88rem; }
.demo-account span:first-child { font: 500 .7rem/1.7 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 44px; padding: 9px 15px; border: 1px solid transparent; border-radius: 8px; line-height: 1.25; font-weight: 700; text-decoration: none; text-align: center; }
.primary { color: white; background: var(--teal); }
.primary:hover { background: #074d3f; }
.signin-form .primary { width: 100%; justify-content: space-between; }
.hint { font-size: .86rem; color: var(--muted); margin-top: 14px; }
.signin-side { display: grid; place-items: center; position: relative; isolation: isolate; background: radial-gradient(ellipse at 50% 48%, #245d4c 0%, #123830 69%); padding: clamp(22px, 4vw, 48px); color: #e7f6ee; }
.side-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#bfffdf18 1px, transparent 1px), linear-gradient(90deg, #bfffdf18 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse at center, black 20%, transparent 90%); }
.sample-panel { width: min(100%, 340px); background: #123930; border: 1px solid #83c9ae66; border-radius: 12px; padding: 20px; box-shadow: 0 14px 44px #061c1850; }
.sample-label, .sample-end { font: 500 .71rem/1.5 var(--mono); color: #afe6d0; }
.sample-id { display: block; font: 500 2.45rem/1.15 var(--mono); margin-top: 6px; letter-spacing: -.06em; }
.sample-panel p { color: #c5e4d7; font-size: .95rem; }
.sample-end { display: flex; justify-content: space-between; gap: 8px; }
.instrument-bars { height: 65px; margin: 20px 0 11px; display: flex; align-items: center; justify-content: space-between; gap: 3px; border-top: 1px solid #acd9c431; border-bottom: 1px solid #acd9c431; }
.instrument-bars i { width: 4px; height: 27%; background: #81d9b3; border-radius: 2px; opacity: .75; }
.instrument-bars i:nth-child(3n) { height: 54%; }
.instrument-bars i:nth-child(4n) { height: 70%; }
.instrument-bars i:nth-child(7n) { height: 85%; opacity: 1; }
.account { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-block: -14px 27px; padding-bottom: 12px; border-bottom: 1px solid var(--border); font-size: .87rem; color: var(--muted); }
.account nav, .account-actions { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.account a { font-weight: 700; }
.quiet { padding: 5px 10px; border: 1px solid var(--border); border-radius: 6px; color: var(--teal); font-weight: 700; background: white; }
.quiet:hover { background: var(--mint); }
.site-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.site-card { display: block; padding: 24px; color: var(--ink); text-decoration: none; }
.site-card:hover { border-color: #5ba690; box-shadow: 0 5px 18px #183f3220; }
.site-card p, .site-meta { color: var(--muted); }
.site-card p { margin-top: 4px; }
.site-icon, .file-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; color: var(--teal); background: var(--mint); }
.site-icon { margin-bottom: 14px; font-size: 1.45rem; }
.site-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-block: 14px; margin-bottom: 12px; border-bottom: 1px solid var(--border); font-size: .91rem; }
.text-link { color: var(--teal); font-weight: 700; }
.list-card { overflow: hidden; }
.filter { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 16px 20px; }
.filter label { font-size: .92rem; font-weight: 700; }
.filter input { border: 1px solid #a6bab5; border-radius: 7px; padding: 7px 10px; width: min(300px, 100%); color: var(--ink); }
#result-count { color: var(--muted); font-size: .9rem; margin-left: auto; }
.table-scroll { overflow-x: auto; }
.table-scroll:focus-visible { outline-offset: -4px; }
table { width: 100%; min-width: 580px; border-collapse: collapse; text-align: left; }
th, td { padding: 13px 20px; border-top: 1px solid var(--border); }
th { background: #f5f9f7; color: var(--muted); font-size: .79rem; }
td { font-size: .92rem; }
td a { font-weight: 700; }
.row-id { display: block; color: var(--muted); font: .77rem/1.5 var(--mono); margin-top: 2px; }
.pill { display: inline-block; white-space: nowrap; padding: 3px 9px; color: #18533e; background: #e3f3ea; border-radius: 40px; font-size: .8rem; font-weight: 700; }
.pill.amber { color: #704708; background: #faefd3; }
.pill.red { color: #842d2d; background: #fae9e6; }
.detail-card dl { padding: 18px 21px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
dt { color: var(--muted); font-size: .84rem; }
dd { font-weight: 600; margin-top: 4px; }
.certificate { margin-top: 17px; overflow: hidden; }
.cert-head { padding: 18px 21px; }
.cert-head p, .empty { color: var(--muted); }
.cert-head p { margin-top: 4px; }
.document { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding: 15px 21px; }
.file-icon { font: 600 .73rem var(--mono); }
.document div span { display: block; color: var(--muted); font-size: .88rem; }
.document .button { margin-left: auto; }
.empty, .download-status { padding: 12px 21px; }
.download-status { color: var(--teal); padding-top: 0; }
.download-status:empty { padding: 0; }
.footer { border-top: 1px solid var(--border); padding-block: 15px 24px; display: flex; justify-content: space-between; gap: 12px; font-size: .81rem; color: var(--muted); }
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  main { padding-block: 35px 45px; }
  .map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signin { grid-template-columns: 1fr; }
  .signin-side { padding: 25px; }
  .detail-card dl { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .top-inner { align-items: flex-start; flex-direction: column; gap: 8px; padding-block: 12px; }
  .top nav a { padding-inline: 10px; }
  .site-grid, .map-grid { grid-template-columns: 1fr; }
  .portal-map { grid-column: auto; }
  .filter { align-items: start; flex-direction: column; }
  #result-count, .document .button { margin-left: 0; }
  .document .button { width: 100%; }
}
