/* ABURA scout area: the portal's palette and type (app.css), with the scout's own panels. */
.sc-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; border-color: rgba(244, 165, 90, .28); background: linear-gradient(180deg, rgba(244, 165, 90, .06), transparent 70%), var(--bg-2); }
@media (max-width: 820px) { .sc-link { grid-template-columns: minmax(0, 1fr); } }
.sc-link h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.15; margin: 6px 0 12px; text-wrap: balance; }
.sc-url { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sc-url code { font-family: var(--font-mono); font-size: 15px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 12px; overflow-wrap: anywhere; }
.sc-code { margin-top: 8px; } .sc-code > span { color: var(--text-2); font-size: 14px; }   /* the code beside the link (31 Oct 2026) */
.sc-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 4px 26px; }
.sc-stats div { display: grid; gap: 2px; }
.sc-stats b { font-family: var(--font-display); font-weight: 300; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.sc-stats span { font-size: 12.5px; color: var(--text-3); }
.sc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
@media (max-width: 760px) { .sc-tiles { grid-template-columns: minmax(0, 1fr); } }
.sc-tile { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--bg-2); display: grid; gap: 6px; }
.sc-tile .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.sc-tile .v { font-family: var(--font-display); font-weight: 300; font-size: 38px; line-height: 1; font-variant-numeric: tabular-nums; }
.sc-tile .s { font-size: 13px; color: var(--text-2); }
.sc-tile.paid .v { color: var(--pass); }
.sc-tile.way .v { color: var(--warn); }
.sc-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin-top: 10px; }
.sc-table table { width: 100%; border-collapse: collapse; min-width: 780px; font-size: 14px; }
.sc-table th { text-align: left; font-family: var(--font-mono); font-weight: 400; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--bg-2); white-space: nowrap; }
.sc-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sc-table tr:last-child td { border-bottom: 0; }
.sc-table tr.dim td { opacity: .6; }
.sc-table .sub { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.side-tag { display: inline-block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.side-tag.sell { color: #6FB7E8; border: 1px solid rgba(111, 183, 232, .35); }
.side-tag.buy { color: #E07A8E; border: 1px solid rgba(224, 122, 142, .35); }
.side-tag.scout { color: #B9B2F2; border: 1px solid rgba(185, 178, 242, .35); }
.stage { display: inline-flex; gap: 3px; }
.stage span { width: 11px; height: 4px; border-radius: 2px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.stage span.on { background: var(--pass); box-shadow: none; }
.both { display: inline-block; margin-top: 4px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--lantern); border: 1px solid rgba(244, 165, 90, .35); border-radius: 999px; padding: 2px 8px; }
/* a hidden name: a shaded bar where the name would be */
.mask { display: inline-flex; align-items: center; gap: 7px; vertical-align: middle; }
.mask i { width: 62px; height: 11px; border-radius: 3px; background: repeating-linear-gradient(135deg, rgba(236, 239, 243, .2) 0 3px, rgba(236, 239, 243, .05) 3px 6px); box-shadow: inset 0 0 0 1px var(--line-2); }
.mask em { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.sc-feed { list-style: none; margin: 10px 0 0; padding: 0; display: grid; }
.sc-feed li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.sc-feed li:first-child { border-top: 0; }
.sc-feed time { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); padding-top: 2px; }
/* What buyers are asking for (22 Oct 2026): the path an owner takes, then one card per request with the files it is shared as */
.sc-asks { margin: 16px 0; display: grid; gap: 14px; }
.sc-asks .panel-h { margin: 0; }
.sc-asks h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.15; margin: 0; text-wrap: balance; }
.sc-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: none; }
@media (max-width: 860px) { .sc-path { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; } }
@media (max-width: 480px) { .sc-path { grid-template-columns: minmax(0, 1fr); } }
.sc-path li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; padding-right: 14px; font-size: 13.5px; color: var(--text-2); }
@media (min-width: 861px) { .sc-path li::after { content: ""; position: absolute; left: 34px; right: 14px; top: 13px; height: 1px; background: linear-gradient(90deg, rgba(244, 165, 90, .5), transparent); z-index: 0; } .sc-path li:last-child::after { display: none; } }
.sc-path b { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--lantern); border: 1px solid rgba(244, 165, 90, .45); background: var(--bg-2); }
.sc-path span { position: relative; z-index: 1; background: var(--bg-2); padding: 4px 6px 0 0; }
.sc-wanted { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.sc-ask { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--bg); }
.sc-ask:hover { border-color: rgba(244, 165, 90, .35); }
.sc-ask-k { margin: 0; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--lantern); }
.sc-ask h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 19px; line-height: 1.2; }
.sc-ask .sub { margin: 0; font-size: 13px; color: var(--text-3); }
.sc-ask-h { margin: 8px 0 0; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.sc-files { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sc-files li { font-family: var(--font-mono); font-size: 11.5px; color: var(--text); border: 1px solid var(--line-2); background: var(--bg-3); border-radius: 7px; padding: 4px 8px; }
.sc-files li::before { content: ""; display: inline-block; width: 7px; height: 9px; margin-right: 6px; border: 1px solid var(--text-3); border-radius: 1px 3px 1px 1px; vertical-align: -1px; }
.sc-ask-p { margin: 0; font-size: 13.5px; color: var(--text-2); }
.sc-ask .up-row { margin-top: auto; padding-top: 10px; }
/* the fine print under How your fee works (22 Oct 2026): folded away, there for anyone who looks */
.sc-fine summary { cursor: pointer; font-size: 12.5px; color: var(--text-3); }
.sc-fine p { font-size: 12.5px; color: var(--text-3); margin: 8px 0 0; max-width: 78ch; }
/* Email a data owner (22 Oct 2026) */
.sc-invite { width: min(600px, calc(100vw - 32px)); max-height: 88vh; overflow-y: auto; background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px; }
.sc-invite::backdrop { background: rgba(4, 6, 9, .72); }
.sc-invite form { display: grid; gap: 12px; }
.sc-invite .panel-h { margin: 0; color: var(--lantern); }
.sc-invite h2 { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.15; margin: 0 0 4px; text-wrap: balance; }
.sc-invite label:not(.tick) { display: grid; gap: 6px; font-size: 13.5px; color: var(--text-2); }
.sc-f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .sc-f2 { grid-template-columns: minmax(0, 1fr); } }
.sc-email summary { cursor: pointer; font-size: 14px; color: var(--lantern); }
.sc-email > div { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; background: #080C11; padding: 18px; font-size: 14px; color: var(--text-2); }
.sc-email > div p { margin: 0 0 10px; }
.sc-mail-s { font-family: var(--font-display); font-size: 21px; line-height: 1.2; color: var(--text); }
.sc-mail-b { display: inline-block; background: var(--lantern); color: #1C1206; font-weight: 700; border-radius: 999px; padding: 8px 16px; }
.sc-iv-h { margin: 14px 0 6px; }
.sc-iv { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; }
.sc-iv li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; border-top: 1px solid var(--line); padding-top: 6px; }
.sc-iv .sub { color: var(--text-3); font-size: 12.5px; }
.empty { color: var(--text-3); font-size: 14px; padding: 14px 12px; }
/* How your fee works (20 Oct 2026): the scout terms 0.2 in plain words, with Jason's approved lines */
.sc-rules { margin-bottom: 16px; display: grid; gap: 10px; }
.sc-rules .panel-h { margin: 0; }
.sc-rules h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.15; margin: 0; text-wrap: balance; }
.sc-rules p { margin: 0; }
.sc-rule-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.sc-rule-list li { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--bg); font-size: 14px; color: var(--text-2); }
.sc-rule-list b { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }

/* the link to the documents inbox at the top of the scout area, with its to-sign count (22 Oct 2026) */
.sc-docs-link{margin:8px 0 16px;font-size:15px}

/* The side panel (22 Oct 2026): the scout area as two columns, the panel sticky on the left; one column with a row of links on a phone */
#home:not([hidden]) { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 24px; align-items: start; }
#home > * { grid-column: 2; }
#home > .sc-side { grid-column: 1; grid-row: 1 / span 40; }
.sc-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 10px; border-left: 3px solid transparent; color: var(--text-2); text-decoration: none; transition: background .2s, color .2s, transform .15s; }
.sc-nav a:hover { background: rgba(236, 239, 243, .05); color: var(--text); transform: translateX(2px); }
.sc-nav a[aria-current="true"] { background: rgba(244, 165, 90, .12); color: var(--text); border-left-color: var(--lantern); }
.sc-nav a[aria-current="true"] .tab-ic { stroke: var(--lantern); }
.panel.flash, .dl-card.flash { box-shadow: 0 0 0 2px var(--lantern), 0 0 28px rgba(244, 165, 90, .35); transition: box-shadow .3s; }
@media (max-width: 900px) {
  #home:not([hidden]) { display: block; }
  .sc-side { position: static; margin-bottom: 14px; }
  .sc-nav { flex-direction: row; overflow-x: auto; }
  .sc-nav a { flex: none; border-left: 0; }
  .sc-side .tree { display: none; }
}

/* the grouped panel and the home page's Add a data set (22 Oct 2026) */
.sc-nav .sn-leaf { text-decoration: none; }
.sc-act { margin: 0 0 16px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 16px; background: linear-gradient(120deg, rgba(244, 165, 90, .08), transparent 45%), var(--bg-2); }
.sc-act-k { display: block; margin-bottom: 10px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
@media (min-width: 901px) { body:has(#home:not([hidden])) #signout { display: none; } }
