@charset "UTF-8";

:root {
    color-scheme: light;
    --paper: #f1f3ed;
    --white: #fbfcf8;
    --ink: #17231f;
    --muted: #6c7971;
    --line: #d6ddd3;
    --green: #315f48;
    --green-dark: #214833;
    --lime: #d9eb79;
    --coral: #e77a5e;
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Trebuchet MS", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background-color: var(--paper);
    background-image: radial-gradient(#354c3b12 0.7px, transparent 0.7px);
    background-size: 9px 9px;
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.topbar {
    height: 72px;
    padding: 0 6.3vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: #f1f3edeb;
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 800; letter-spacing: 1.2px; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; color: var(--paper); background: var(--green); font: 18px var(--serif); }
.brand-light { color: var(--muted); font-weight: 400; margin-left: 4px; }
.topbar-right { display: flex; align-items: center; gap: 26px; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #63a36c; box-shadow: 0 0 0 3px #63a36c20; }
.text-button { padding: 5px 0; border: 0; background: none; color: var(--ink); font-size: 12px; cursor: pointer; }
.inline-form { margin: 0; }
.page-shell { width: min(1100px, 87.4vw); min-height: calc(100vh - 128px); margin: 0 auto; }
.site-footer { min-height: 56px; padding: 0 6.3vw; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.footer-separator { color: var(--coral); padding: 0 5px; }
.eyebrow { margin: 0 0 15px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: 1.7px; }
.muted { color: var(--muted); }

.download-hero { min-height: 590px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; position: relative; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; padding: 64px 0 76px; animation: rise-in .65s both; }
.hero-copy h1, .auth-aside h1 { margin: 0; font: 400 clamp(54px, 6.5vw, 84px)/.99 var(--serif); letter-spacing: 0; }
.hero-copy h1 em { color: var(--green); font-weight: 400; }
.hero-description { max-width: 390px; margin: 29px 0 27px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 27px; padding: 0 20px; border: 1px solid transparent; font-weight: 700; cursor: pointer; transition: background .18s ease, color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: #f8f9f4; background: var(--ink); }
.button-dark:hover { background: var(--green-dark); }
.hero-button { min-width: 180px; }
.link-note { display: block; margin-top: 16px; color: var(--muted); font-size: 11px; }
.link-note code { color: var(--green-dark); font-size: 11px; }

.hero-visual { position: relative; height: 440px; margin: 0 -35px 0 -15px; animation: fade-in .9s .15s both; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid #90a38c8a; border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 355px; height: 355px; }
.orbit-two { width: 255px; height: 255px; border-style: dashed; border-color: #a3b2a1; animation: slow-spin 45s linear infinite; }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 133px; height: 133px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--lime); transform: translate(-50%, -50%); box-shadow: 0 20px 55px #244a352e; }
.orbit-core::before, .orbit-core::after { position: absolute; content: ""; width: 161px; height: 161px; border: 1px solid #315f4833; border-radius: 50%; }
.orbit-core::after { width: 195px; height: 195px; border-style: dotted; }
.orbit-core span { font: 68px var(--serif); }
.orbit-label { position: absolute; z-index: 1; padding: 6px 9px; color: var(--ink); background: var(--paper); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.label-a { left: 13%; top: 23%; }.label-b { right: 5%; top: 45%; }.label-c { left: 23%; bottom: 17%; }
.orbit-node { position: absolute; z-index: 1; width: 15px; height: 15px; border: 3px solid var(--paper); border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.node-a { left: calc(50% - 185px); top: calc(50% - 87px); }.node-b { right: calc(50% - 183px); top: calc(50% + 53px); background: var(--lime); box-shadow: 0 0 0 1px #82952f; }.node-c { left: calc(50% - 45px); bottom: 5%; width: 10px; height: 10px; background: var(--green); }
.public-footer { min-height: 108px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.public-footer > div { display: flex; align-items: center; gap: 13px; }
.public-footer .eyebrow { margin: 0; font-size: 9px; }
.public-footer strong { color: var(--green); font: 30px var(--serif); }
.public-footer .muted { font-size: 12px; }
.public-footer > a { font-size: 12px; font-weight: 700; }
.public-footer > a span { margin-left: 8px; color: var(--coral); }

.auth-layout { min-height: calc(100vh - 184px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 55px 7%; animation: rise-in .5s both; }
.auth-aside { min-height: 380px; position: relative; padding: 56px 48px 50px 0; color: var(--white); background: var(--green); }
.auth-aside::before { content: ""; position: absolute; inset: 0 auto 0 -20vw; width: 20vw; background: var(--green); }
.auth-aside .eyebrow { color: var(--lime); }
.auth-aside h1 { font-size: 56px; }
.auth-aside > p:not(.eyebrow) { max-width: 300px; margin-top: 24px; color: #e1e9df; line-height: 1.8; }
.aside-index { position: absolute; bottom: 28px; left: 0; color: #c5d3c5; font-size: 10px; letter-spacing: 1.5px; }
.auth-panel { max-width: 380px; padding: 46px 0 46px 11%; }
.auth-panel h2 { margin: 0 0 6px; font: 32px var(--serif); }
.auth-panel > .muted { margin: 0 0 28px; font-size: 12px; }
.form-stack { display: grid; gap: 18px; }
.form-stack label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.form-stack input { width: 100%; height: 45px; padding: 0 12px; border: 1px solid var(--line); border-radius: 0; outline: 0; background: var(--white); }
.form-stack input:focus { border-color: var(--green); box-shadow: 0 0 0 2px #315f481c; }
.form-stack .button { justify-content: space-between; margin-top: 6px; }
.alert, .notice { margin: 16px 0; padding: 12px 15px; border-left: 3px solid var(--coral); background: #fff6f1; color: #7c3f30; font-size: 12px; }
.notice { border-color: var(--green); background: #e9f0e6; color: var(--green-dark); }

.dashboard-head { min-height: 190px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.dashboard-head h1 { margin: 0; font: 43px var(--serif); }
.dashboard-head .muted { margin: 8px 0 0; font-size: 12px; }
.download-url { margin: 8px 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: 11px; }
.download-url a { color: var(--green-dark); overflow-wrap: anywhere; font-weight: 700; }
.button-outline { min-height: 42px; gap: 10px; border-color: var(--line); background: var(--white); font-size: 12px; }
.button-outline:hover { border-color: var(--green); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.metric { min-height: 135px; padding: 23px 24px 20px 0; display: grid; align-content: center; gap: 1px; border-right: 1px solid var(--line); }
.metric + .metric { padding-left: 27px; }
.metric:last-child { border-right: 0; }
.metric > span { color: var(--muted); font-size: 11px; }
.metric strong { font: 36px var(--serif); }
.metric small { color: var(--muted); font-size: 10px; }
.upload-section, .library-section { padding: 30px 0 32px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading .eyebrow { margin-bottom: 4px; }
.section-heading h2 { margin: 0; font: 26px var(--serif); }
.section-note { color: var(--muted); font-size: 11px; }
.upload-form { display: flex; align-items: stretch; gap: 12px; }
.file-picker { min-height: 76px; flex: 1; display: flex; align-items: center; gap: 15px; padding: 12px 18px; border: 1px dashed #aebbb0; background: #f8faf5; cursor: pointer; }
.file-picker:hover { border-color: var(--green); background: #fbfcf8; }
.file-picker input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.file-picker input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 4px; }
.file-picker[aria-disabled="true"] { opacity: .65; pointer-events: none; }
.upload-icon { width: 35px; height: 35px; display: grid; flex: 0 0 auto; place-items: center; background: #e2e9de; color: var(--green); font-size: 23px; }
.file-picker strong, .file-picker small { display: block; }
.file-picker strong { font-size: 12px; }.file-picker small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.upload-form > .button { min-width: 175px; align-self: stretch; }
.upload-form > .button:disabled { cursor: wait; opacity: .65; }
.upload-progress { margin-top: 16px; padding: 14px 16px 11px; border: 1px solid var(--line); background: #f8faf5; }
.progress-copy { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; }
.progress-copy > span { color: var(--green); font-variant-numeric: tabular-nums; font-weight: 800; }
.upload-progress progress { display: block; width: 100%; height: 8px; margin-top: 10px; overflow: hidden; border: 0; border-radius: 0; appearance: none; background: #dfe6dc; }
.upload-progress progress::-webkit-progress-bar { background: #dfe6dc; }
.upload-progress progress::-webkit-progress-value { background: var(--green); transition: width .15s linear; }
.upload-progress progress::-moz-progress-bar { background: var(--green); }
.upload-progress.is-complete progress::-webkit-progress-value { background: #5d8b4a; }
.upload-progress.is-complete progress::-moz-progress-bar { background: #5d8b4a; }
.upload-progress.is-error progress::-webkit-progress-value { background: var(--coral); }
.upload-progress.is-error progress::-moz-progress-bar { background: var(--coral); }
.progress-detail { margin: 8px 0 0; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.upload-feedback { margin-top: 12px; padding: 12px 14px; border-left: 3px solid var(--green); background: #e9f0e6; color: var(--green-dark); font-size: 11px; overflow-wrap: anywhere; }
.upload-feedback.is-error { border-color: var(--coral); background: #fff3ee; color: #7c3f30; }
.empty-state { min-height: 150px; display: grid; justify-items: center; align-content: center; border: 1px dashed #c6d0c4; color: var(--muted); text-align: center; }
.empty-mark { color: var(--coral); font: 32px var(--serif); }.empty-state strong { margin-top: 4px; color: var(--ink); font-size: 13px; }.empty-state p { margin: 5px 0 0; font-size: 11px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { height: 38px; color: var(--muted); font-size: 10px; font-weight: 700; }
td { height: 59px; border-top: 1px solid var(--line); font-size: 12px; }
th:first-child, td:first-child { padding-left: 8px; }
.file-type { display: inline-grid; width: 35px; height: 23px; margin-right: 11px; place-items: center; background: #e4eae0; color: var(--green); font-size: 8px; font-weight: 800; letter-spacing: .5px; vertical-align: middle; }
.file-name { display: inline-block; max-width: 390px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; }
.quiet-cell { color: var(--muted); font-size: 11px; }
.download-count { color: var(--green-dark); font-variant-numeric: tabular-nums; }
.action-cell { width: 50px; text-align: right; }
.action-cell form { margin: 0; }
.icon-button { width: 32px; height: 32px; border: 0; background: transparent; color: var(--muted); font-size: 21px; cursor: pointer; }
.icon-button:hover { color: #a44732; background: #f8e6df; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slow-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

@media (max-width: 760px) {
    .topbar { height: 62px; padding: 0 6vw; }
    .topbar-right { gap: 13px; }.status { font-size: 0; gap: 0; }.status-dot { width: 8px; height: 8px; }
    .page-shell { width: 88vw; min-height: calc(100vh - 114px); }
    .download-hero { min-height: 0; grid-template-columns: 1fr; padding: 44px 0 20px; }
    .hero-copy { padding: 0; }.hero-copy h1 { font-size: 62px; }.hero-description { margin: 19px 0; font-size: 13px; }
    .hero-visual { height: 320px; margin: 0 -30px; }.orbit-one { width: 265px; height: 265px; }.orbit-two { width: 192px; height: 192px; }.orbit-core { width: 102px; height: 102px; }.orbit-core span { font-size: 53px; }
    .orbit-core::before { width: 124px; height: 124px; }.orbit-core::after { width: 150px; height: 150px; }
    .label-a { left: 15%; top: 21%; }.label-b { right: 7%; top: 45%; }.label-c { left: 18%; bottom: 12%; }
    .node-a { left: calc(50% - 139px); top: calc(50% - 64px); }.node-b { right: calc(50% - 138px); top: calc(50% + 38px); }.node-c { bottom: 0; }
    .public-footer { min-height: 92px; }.public-footer > div { gap: 8px; flex-wrap: wrap; }.public-footer .eyebrow { flex-basis: 100%; }.public-footer strong { font-size: 25px; }.public-footer .muted { font-size: 10px; }
    .auth-layout { min-height: calc(100vh - 124px); grid-template-columns: 1fr; padding: 30px 0 45px; }
    .auth-aside { min-height: 250px; padding: 32px 25px 48px; }.auth-aside::before { display: none; }.auth-aside h1 { font-size: 47px; }.auth-aside > p:not(.eyebrow) { margin: 13px 0 0; font-size: 12px; }.aside-index { left: 25px; bottom: 18px; }
    .auth-panel { max-width: none; padding: 32px 5px 10px; }
    .dashboard-head { min-height: 155px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 12px; padding: 24px 0; }.dashboard-head h1 { font-size: 36px; }.dashboard-head .muted { font-size: 11px; }
    .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }.metric { min-height: 108px; padding: 15px 8px 12px 0; }.metric + .metric { padding-left: 12px; }.metric strong { font-size: 27px; }.metric > span { font-size: 10px; }.metric small { font-size: 9px; }
    .upload-section, .library-section { padding: 24px 0; }.section-heading h2 { font-size: 23px; }.section-note { max-width: 140px; text-align: right; font-size: 9px; }
    .upload-form { flex-direction: column; }.upload-form > .button { min-height: 46px; }
    table { min-width: 640px; }.file-name { max-width: 240px; }
    .site-footer { min-height: 52px; padding: 0 6vw; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}