:root {
  color-scheme: dark;
  --bg: #080808;
  --panel: #0e0e0e;
  --panel-raised: #131313;
  --text: #f0f0ee;
  --muted: #9a9a98;
  --quiet: #737371;
  --line: #292929;
  --line-soft: #1d1d1d;
  --accent: #dededb;
  --mono: "DM Mono", Consolas, monospace;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { position: relative; margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: #080808; background: #d7d7d3; }

.ambient-lines { position: fixed; z-index: 0; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.line-path { fill: none; stroke: #c9c9c6; stroke-width: 1.1; opacity: .14; stroke-linecap: square; stroke-linejoin: bevel; stroke-dasharray: 115 380; animation: line-flow 38s linear infinite; }
.line-path-two { opacity: .11; stroke-dasharray: 85 450; animation-duration: 46s; animation-direction: reverse; }
.line-path-three { opacity: .09; stroke-dasharray: 95 520; animation-duration: 52s; }
.line-path-four { opacity: .12; stroke-dasharray: 65 330; animation-duration: 42s; animation-direction: reverse; }
@keyframes line-flow { to { stroke-dashoffset: -960; } }

.site-header, main, .site-footer { position: relative; z-index: 1; }
.section-shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header { display: flex; min-height: 84px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-soft); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; }
.brand-name { display: flex; align-items: baseline; font-size: 19px; font-weight: 800; letter-spacing: -.08em; }
.brand-dot, .footer-brand span { color: #9e9e9b; }
.brand-name small { margin-left: 7px; color: #aaa; font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: .2em; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav > a:not(.nav-contact) { color: #b7b7b7; font-size: 12px; transition: color .18s ease; }
.main-nav > a:not(.nav-contact):hover, .text-link:hover, .footer-links a:hover { color: #fff; }
.nav-contact { padding: 11px 15px; border: 1px solid var(--line); font-size: 11px; transition: border-color .18s ease, background .18s ease; }
.nav-contact:hover, .button-outline:hover { border-color: #676767; background: #141414; }
.nav-contact span { margin-left: 9px; color: #aaa; }
.menu-toggle { display: none; }

.hero { position: relative; display: grid; min-height: 620px; grid-template-columns: 1.08fr .92fr; align-items: center; padding-top: 18px; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 18px; }
.eyebrow { margin: 0 0 22px; color: #a4a4a1; font-family: var(--mono); font-size: 10px; letter-spacing: .13em; }
h1, h2, h3, p { margin-top: 0; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #c7c7c2; vertical-align: 1px; }
.hero h1 { margin-bottom: 22px; font-size: clamp(48px, 6.3vw, 78px); font-weight: 600; letter-spacing: -.075em; line-height: 1.04; }
.text-gradient { color: #aaa; }
.hero-intro { max-width: 485px; margin-bottom: 30px; color: #aaa; font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 20px; padding: 0 18px; border: 1px solid transparent; cursor: pointer; font-size: 12px; font-weight: 700; transition: background .18s ease, border-color .18s ease; }
.button-light { background: #e7e7e4; color: #111; }
.button-light:hover { background: #fff; }
.button-outline { border-color: var(--line); background: transparent; color: var(--text); }
.button span { font-size: 15px; }
.text-link { color: #aaa; font-size: 12px; transition: color .18s ease; }
.text-link span { padding-left: 6px; }
.hero-meta { display: flex; align-items: center; gap: 15px; margin-top: 46px; color: #858583; font-family: var(--mono); font-size: 9px; letter-spacing: .03em; }
.meta-separator { width: 1px; height: 13px; background: #454545; }
.hero-art { position: relative; display: grid; min-height: 440px; place-items: center; }
.hero-logo { width: min(340px, 76%); aspect-ratio: 1; object-fit: contain; }
.scroll-cue { position: absolute; bottom: 24px; left: 0; display: flex; align-items: center; gap: 10px; color: #777; font-family: var(--mono); font-size: 8px; letter-spacing: .13em; }
.scroll-cue span { display: inline-block; width: 26px; height: 1px; background: #aaa; }

.section-space { padding-top: 112px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section-heading .eyebrow { margin-bottom: 14px; }
h2 { margin-bottom: 0; font-size: clamp(32px, 4vw, 48px); font-weight: 600; letter-spacing: -.065em; line-height: 1.15; }
.muted-heading { color: #777; }
.section-aside { max-width: 300px; margin-bottom: 4px; color: #898987; font-size: 12px; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-card { display: flex; min-height: 235px; flex-direction: column; padding: 22px 22px 19px; border: 1px solid var(--line-soft); background: #0b0b0b; transition: border-color .18s ease, background .18s ease; }
.service-card:hover { border-color: #494949; background: #101010; }
.card-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.service-number, .step-index { color: #81817e; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.category-art { position: relative; display: flex; min-height: 79px; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; padding: 10px 12px; overflow: hidden; border-top: 1px solid #2a2a2a; border-bottom: 1px solid #2a2a2a; background: #101010; }
.category-art-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .46; }
.category-art:has(.category-art-image)::after { position: absolute; inset: 0; background: linear-gradient(90deg, #090909dd, #09090966); content: ""; }
.category-art::before { position: absolute; top: -1px; left: 0; width: 52px; height: 2px; background: #bdbdb7; content: ""; }
.category-mark { position: relative; z-index: 1; display: flex; min-width: 53px; min-height: 45px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; padding: 5px 8px; border: 1px solid #383838; clip-path: polygon(0 0, 83% 0, 100% 25%, 100% 100%, 17% 100%, 0 76%); color: #e0e0dc; font-family: var(--mono); font-size: 16px; font-weight: 500; letter-spacing: -.08em; }
.category-mark img { width: 31px; height: 37px; object-fit: contain; }
.visual-fivem .category-mark { min-width: 105px; font-size: 16px; letter-spacing: .02em; }
.category-art-copy { position: relative; z-index: 1; display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; gap: 5px; }
.category-art-copy > span { overflow: hidden; color: #c7c7c2; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-overflow: ellipsis; white-space: nowrap; }
.category-art-copy small { overflow: hidden; color: #757571; font-family: var(--mono); font-size: 7px; letter-spacing: .045em; text-overflow: ellipsis; white-space: nowrap; }
.category-card h3 { margin-bottom: 7px; }
.category-card p { margin-bottom: 13px; }
.service-card h3 { margin-bottom: 9px; font-size: 17px; font-weight: 600; letter-spacing: -.035em; }
.service-card p { max-width: 305px; margin-bottom: 18px; color: #91918e; font-size: 11px; line-height: 1.8; }
.card-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); color: #cececb; font-size: 10px; }
.card-link span { flex: 0 0 auto; color: #898986; font-size: 14px; transition: transform .18s ease; }
.card-link:hover span { transform: translate(2px, -2px); }
.empty-state { padding: 34px; border: 1px solid var(--line-soft); color: var(--muted); }
.empty-state h3 { color: var(--text); font-size: 18px; }
.empty-state p { margin-bottom: 20px; }
.database-error { display: flex; min-height: 100vh; flex-direction: column; align-items: flex-start; justify-content: center; }
.database-error img { margin-bottom: 26px; object-fit: contain; }
.database-error .eyebrow { margin-bottom: 14px; }
.database-error h1 { max-width: 700px; font-size: clamp(36px, 6vw, 58px); letter-spacing: -.06em; }
.database-error > p:not(.eyebrow) { max-width: 570px; color: #aaa; font-size: 13px; line-height: 1.8; }
.database-error .database-error-note { color: #777; font-size: 10px; }

.about { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 82px; padding-top: 140px; }
.portrait-frame { position: relative; display: flex; min-height: 390px; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #303030; background: #0c0c0c; clip-path: polygon(0 0, 91% 0, 100% 9%, 100% 100%, 9% 100%, 0 91%); }
.portrait-frame::before { position: absolute; top: 0; right: 9%; width: 1px; height: 20%; background: #454545; content: ""; }
.portrait-frame::after { position: absolute; bottom: 0; left: 9%; width: 1px; height: 20%; background: #454545; content: ""; }
.portrait-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.portrait-placeholder { display: flex; width: 74%; aspect-ratio: 1; flex-direction: column; align-items: center; justify-content: center; gap: 18px; border: 1px solid #363636; clip-path: polygon(0 0, 84% 0, 100% 16%, 100% 100%, 16% 100%, 0 84%); }
.portrait-placeholder span { color: #d2d2cf; font-size: clamp(72px, 9vw, 112px); font-weight: 800; letter-spacing: -.13em; }
.portrait-placeholder small { color: #8d8d8a; font-family: var(--mono); font-size: 8px; line-height: 1.8; text-align: center; }
.portrait-index { position: absolute; right: 18px; bottom: 16px; padding: 7px 9px; border: 1px solid #353535; background: #0b0b0b; color: #aaa; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.about-copy .eyebrow { margin-bottom: 15px; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy > p:not(.eyebrow) { max-width: 620px; margin-bottom: 14px; color: #9b9b98; font-size: 12px; line-height: 1.9; }
.skill-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 23px; }
.skill-list span { padding: 8px 10px; border: 1px solid #303030; color: #c3c3c0; font-family: var(--mono); font-size: 9px; }

.process { padding-top: 125px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-step { min-height: 180px; padding: 22px 19px 0 0; }
.process-step + .process-step { padding-left: 20px; border-left: 1px solid var(--line-soft); }
.step-index { display: block; margin-bottom: 24px; }
.process-step h3 { margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.process-step p { max-width: 230px; margin-bottom: 0; color: #898986; font-size: 10px; line-height: 1.85; }

.join-section { padding-top: 118px; }
.join-panel { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; padding: 34px; border: 1px solid var(--line); background: #0b0b0b; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px)); }
.join-copy .eyebrow { margin-bottom: 15px; }
.join-copy h2 { margin-bottom: 18px; font-size: clamp(32px, 4vw, 45px); }
.join-copy > p:not(.eyebrow) { max-width: 560px; margin-bottom: 14px; color: #999; font-size: 11px; line-height: 1.9; }
.join-copy > p strong { color: #e6e6e2; font-weight: 600; }
.join-copy .button { margin-top: 7px; }
.join-terms { display: grid; align-content: center; }
.join-terms > div { display: grid; gap: 8px; padding: 17px 0; border-top: 1px solid var(--line-soft); }
.join-terms .step-index { margin-bottom: 0; }
.join-terms strong { font-size: 13px; font-weight: 600; }
.join-terms small { color: #858582; font-size: 10px; line-height: 1.7; }
.join-note { margin: 12px 0 0; color: #777; font-size: 9px; line-height: 1.7; }

.developer-directory { padding-top: 112px; }
.developer-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.developer-card { display: flex; min-width: 0; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line-soft); background: #0b0b0b; transition: border-color .18s ease, background .18s ease; }
.developer-card:hover { border-color: #494949; background: #101010; }
.developer-card-logo { display: grid; width: 58px; height: 58px; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid #333; background: #111; clip-path: polygon(0 0, 83% 0, 100% 25%, 100% 100%, 17% 100%, 0 76%); }
.developer-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.developer-card-logo > span { color: #dededb; font-size: 23px; font-weight: 700; }
.developer-card-info { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 6px; }
.developer-card-info strong { font-size: 13px; font-weight: 600; }
.developer-card-info small { display: -webkit-box; overflow: hidden; color: #888; font-size: 10px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.developer-card-arrow { color: #aaa; font-size: 16px; }
.developer-directory-empty { padding: 25px; border: 1px solid var(--line-soft); background: #0b0b0b; }
.developer-directory-empty .step-index { margin-bottom: 10px; }
.developer-directory-empty p { margin-bottom: 12px; color: #999; font-size: 11px; }

.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; padding-top: 130px; padding-bottom: 105px; }
.contact-copy .eyebrow { margin-bottom: 18px; }
.contact-copy h2 { margin-bottom: 19px; font-size: clamp(42px, 5vw, 60px); }
.contact-copy > p:not(.eyebrow) { max-width: 340px; margin-bottom: 25px; color: #999; font-size: 12px; line-height: 1.9; }
.contact-note { color: #9a9a97; font-family: var(--mono); font-size: 9px; }
.contact-form, .auth-card { padding: 27px; border: 1px solid var(--line); background: #0b0b0b; }
.form-row { display: flex; flex-direction: column; gap: 9px; margin-bottom: 17px; }
.form-row label { color: #ccc; font-size: 10px; }
.form-row input, .form-row select, .form-row textarea, .admin-form input, .admin-form select, .admin-form textarea, .inline-form select { width: 100%; padding: 12px 13px; border: 1px solid #292929; border-radius: 0; outline: none; background: #090909; color: var(--text); font-size: 11px; transition: border-color .18s ease; }
.form-row input::placeholder, .form-row textarea::placeholder { color: #666; }
.form-row select:invalid { color: #777; }
.form-row select option { color: var(--text); background: #101010; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus, .admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { border-color: #8b8b87; }
.form-row textarea, .admin-form textarea { min-height: 96px; resize: vertical; }
.form-submit { width: 100%; margin-top: 2px; }
.contact-response[hidden] { display: none; }
.contact-response:not([hidden]) { margin: 15px 0 0; padding: 14px 16px; border: 1px solid #343432; background: #10100f; font-size: 11px; line-height: 1.7; }
.contact-response.is-success { border-color: #3b5945; color: #d7e8da; }
.contact-response.is-warning { border-color: #665735; color: #e5d7b4; }
.contact-response.is-error { border-color: #673a3a; color: #f0cdcd; }
.form-privacy { margin: 12px 0 0; color: #747471; font-size: 9px; line-height: 1.7; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.flash { margin-top: 18px; padding: 14px 16px; border: 1px solid #333; font-size: 12px; line-height: 1.6; }
.flash-success { border-color: #375341; color: #d4e5d7; }
.flash-error { border-color: #673a3a; color: #f0cdcd; }
.flash a { text-decoration: underline; }

.site-footer { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; gap: 18px; min-height: 112px; border-top: 1px solid var(--line-soft); }
.footer-brand { width: fit-content; font-size: 14px; font-weight: 800; letter-spacing: -.06em; }
.site-footer > p { margin: 0; color: #777; font-size: 10px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; justify-self: end; gap: 10px 20px; color: #aaa; font-size: 10px; }
.footer-links a { transition: color .18s ease; }
.footer-copy { grid-column: 1 / -1; margin-top: -26px; color: #666; font-family: var(--mono); font-size: 8px; }

.page-intro { padding-top: 86px; }
.category-banner { position: relative; display: flex; min-height: 360px; align-items: center; margin-top: 48px; overflow: hidden; border: 1px solid var(--line); background: #0c0c0c; }
.category-banner.has-category-image { min-height: 400px; }
.category-banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.category-banner::after { position: absolute; inset: 0; background: linear-gradient(90deg, #080808f2 0%, #080808c9 42%, #08080838 100%); content: ""; }
.category-banner:not(.has-category-image)::after { background: linear-gradient(120deg, #101010 0%, #090909 72%); }
.category-banner-content { position: relative; z-index: 1; width: min(760px, 100%); padding: 48px; }
.category-banner-content .back-link { margin-bottom: 35px; }
.category-banner-content .eyebrow { margin-bottom: 13px; }
.category-banner-content h1 { margin: 0 0 14px; font-size: clamp(42px, 6vw, 72px); font-weight: 600; letter-spacing: -.075em; line-height: 1.05; }
.category-banner-content .hero-intro { max-width: 600px; margin: 0; }
.studio-intro { padding-top: 65px; }
.studio-intro .back-link { margin-bottom: 32px; }
.studio-profile { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 28px; padding: 27px; border: 1px solid var(--line); background: #0b0b0b; }
.studio-profile-logo { display: grid; width: 128px; height: 128px; place-items: center; overflow: hidden; border: 1px solid #333; background: #101010; clip-path: polygon(0 0, 83% 0, 100% 25%, 100% 100%, 17% 100%, 0 76%); }
.studio-profile-logo img { width: 100%; height: 100%; object-fit: cover; }
.studio-profile-logo > span { color: #ddd; font-size: 54px; font-weight: 700; }
.studio-profile h1 { margin: 0 0 9px; font-size: clamp(36px, 5vw, 58px); font-weight: 600; letter-spacing: -.07em; }
.studio-profile .eyebrow { margin-bottom: 9px; }
.studio-bio { max-width: 760px; margin: 0; color: #999; font-size: 12px; line-height: 1.8; }
.studio-follow-action { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 14px; padding: 14px 18px; border: 1px solid var(--line-soft); background: #0b0b0b; }
.studio-follow-action p { flex: 1 1 280px; margin: 0; color: #888; font-size: 10px; line-height: 1.6; }
.developer-relationship-tag { display: inline-flex; width: fit-content; padding: 5px 7px; border: 1px solid #444; color: #d7d7d3; font-family: var(--mono); font-size: 8px; letter-spacing: .06em; }
.studio-content { padding-top: 65px; }
.studio-category-list { display: grid; gap: 35px; }
.studio-category { padding: 22px; border: 1px solid var(--line-soft); background: #0b0b0b; }
.studio-category-heading { display: flex; align-items: center; gap: 17px; margin-bottom: 20px; }
.studio-category-heading > img, .studio-category-mark { display: grid; width: 74px; height: 64px; flex: 0 0 auto; place-items: center; border: 1px solid #333; background: #111; color: #ddd; font-family: var(--mono); font-size: 16px; object-fit: cover; clip-path: polygon(0 0, 83% 0, 100% 25%, 100% 100%, 17% 100%, 0 76%); }
.studio-category-heading .eyebrow { margin-bottom: 6px; font-size: 8px; }
.studio-category-heading h3 { margin: 0 0 5px; font-size: 20px; }
.studio-category-heading p:not(.eyebrow) { margin: 0; color: #888; font-size: 10px; line-height: 1.7; }
.studio-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.studio-project-card { min-width: 0; overflow: hidden; border: 1px solid var(--line-soft); background: #090909; }
.studio-project-cover { display: block; width: 100%; height: 155px; border-bottom: 1px solid var(--line-soft); background: #111; object-fit: cover; }
.studio-project-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; background: #050505; }
.studio-project-media-grid img, .studio-project-media-grid video { display: block; width: 100%; aspect-ratio: 16 / 10; background: #111; object-fit: cover; }
.studio-project-placeholder { display: grid; place-items: center; }
.studio-project-placeholder span { color: #aaa; font-size: 39px; font-weight: 700; letter-spacing: -.1em; }
.studio-project-copy { display: flex; min-height: 160px; flex-direction: column; padding: 15px; }
.studio-project-copy .service-number { font-size: 8px; }
.studio-project-copy h4 { margin: 10px 0 7px; font-size: 15px; }
.studio-project-copy p { margin: 0 0 9px; color: #999; font-size: 10px; line-height: 1.7; }
.studio-project-copy .studio-project-description { color: #858582; }
.studio-project-price { margin-top: auto; padding-top: 10px; color: #ddd; font-size: 13px; }
.studio-project-price small { color: #888; font-size: 9px; font-weight: 400; }
.studio-empty-projects { margin: 0; color: #888; font-size: 10px; }
.studio-contact-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding: 22px; border: 1px solid var(--line); }
.studio-contact-cta p { margin: 0; color: #bbb; font-size: 13px; }
.back-link { display: inline-block; margin-bottom: 43px; color: #aaa; font-size: 11px; }
.back-link:hover { color: #fff; }
.page-intro .eyebrow { margin-bottom: 15px; }
.page-intro h1, .auth-card h1, .dashboard-heading h1, .empty-state h1 { margin-bottom: 17px; font-size: clamp(40px, 6vw, 66px); font-weight: 600; letter-spacing: -.07em; line-height: 1.1; }
.page-intro .hero-intro { max-width: 650px; }
.content-section { padding-top: 48px; padding-bottom: 100px; }
.legal-page-intro { width: min(920px, calc(100% - 64px)); padding-top: 88px; }
.legal-page-intro h1 { max-width: 900px; margin-bottom: 18px; font-size: clamp(42px, 5.4vw, 64px); letter-spacing: -.075em; line-height: 1.06; overflow-wrap: anywhere; }
.legal-page-intro .hero-intro { max-width: 620px; margin-bottom: 0; font-size: 14px; }
.legal-content { width: min(820px, calc(100% - 64px)); max-width: 820px; margin-inline: auto; padding-top: 52px; }
.legal-notice { margin-bottom: 20px; padding: 19px 22px; border: 1px solid #4a4332; border-left: 2px solid #9b895a; background: linear-gradient(110deg, #15130f, #0d0d0c 72%); color: #bcb7a9; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.legal-notice strong { color: #e3d6b1; }
.legal-content:not(.faq-list) { counter-reset: legal-section; }
.legal-block { counter-increment: legal-section; margin-bottom: 12px; padding: 24px 26px; border: 1px solid #202020; border-left: 2px solid #393936; background: linear-gradient(115deg, #0e0e0e, #0a0a0a 70%); overflow-wrap: anywhere; }
.legal-block h2 { display: flex; align-items: baseline; gap: 13px; margin: 0 0 13px; color: #ededeb; font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; letter-spacing: -.045em; line-height: 1.35; }
.legal-block h2::before { flex: 0 0 auto; color: #777772; content: counter(legal-section, decimal-leading-zero); font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .04em; }
.legal-block p, .legal-block li, .faq-item p { color: #a4a4a1; font-size: 13px; line-height: 1.85; }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block ul { display: grid; gap: 9px; margin: 0 0 16px; padding-left: 20px; }
.legal-block li { padding-left: 4px; }
.legal-block a, .faq-item a { color: #e0e0dc; text-decoration: underline; text-decoration-color: #676762; text-underline-offset: 3px; }
.legal-block a:hover, .faq-item a:hover { color: #fff; text-decoration-color: #ddd; }
.legal-updated { margin-top: 24px; color: #777; font-family: var(--mono); font-size: 9px; letter-spacing: .04em; }
.faq-list { display: grid; align-content: start; gap: 9px; }
.faq-item { counter-increment: faq-item; border: 1px solid #222; background: linear-gradient(110deg, #0e0e0e, #0a0a0a); transition: border-color .2s ease, background .2s ease; }
.faq-list { counter-reset: faq-item; }
.faq-item:hover, .faq-item[open] { border-color: #464643; background: #0e0e0e; }
.faq-item > summary { display: grid; min-height: 66px; grid-template-columns: 35px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 13px 20px; cursor: pointer; color: #e5e5e2; font-size: 13px; font-weight: 600; line-height: 1.55; list-style: none; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::before { color: #777772; content: counter(faq-item, decimal-leading-zero); font-family: var(--mono); font-size: 9px; font-weight: 400; }
.faq-item > summary::after { color: #aaa; content: "+"; font-size: 18px; font-weight: 400; text-align: center; }
.faq-item[open] > summary { border-bottom: 1px solid #222; }
.faq-item[open] > summary::after { content: "−"; }
.faq-item > summary:focus-visible { outline: 1px solid #aaa; outline-offset: -4px; }
.faq-item p { margin: 0; padding: 17px 50px 20px 67px; }
.legal-content > .legal-updated { margin-top: 25px; }
.plan-grid, .project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan-card { display: flex; min-height: 270px; flex-direction: column; padding: 23px; border: 1px solid var(--line); background: var(--panel); }
.plan-card h3 { margin: 22px 0 12px; font-size: 20px; }
.plan-card p { color: var(--muted); font-size: 11px; line-height: 1.8; }
.plan-price { margin: auto 0 18px; font-size: 20px; font-weight: 700; }
.plan-price small { display: block; margin-top: 5px; color: var(--quiet); font-size: 10px; font-weight: 400; }
.project-card { display: flex; min-height: 300px; flex-direction: column; border: 1px solid var(--line-soft); background: #0b0b0b; transition: border-color .18s ease; }
.project-card:hover { border-color: #555; }
.project-card-mark { position: relative; display: flex; min-height: 145px; align-items: center; justify-content: center; border-bottom: 1px solid var(--line-soft); background: #101010; }
.project-card-mark > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-card-mark:has(> img)::after { position: absolute; inset: 0; background: linear-gradient(0deg, #08080899, transparent 55%); content: ""; }
.project-card-mark > span { color: #cacac7; font-size: 46px; font-weight: 800; letter-spacing: -.12em; }
.project-card-mark small { position: absolute; right: 12px; bottom: 10px; color: #888; font-family: var(--mono); font-size: 8px; }
.project-card-mark small { z-index: 1; padding: 4px 6px; background: #080808b3; }
.project-cover-detail { display: block; width: min(100%, 900px); max-height: 520px; margin-bottom: 26px; border: 1px solid var(--line); background: #111; object-fit: cover; }
.project-card-body { display: flex; flex: 1; flex-direction: column; padding: 19px; }
.project-card-body h3 { margin: 11px 0 8px; font-size: 18px; }
.project-card-body p { color: #999; font-size: 11px; line-height: 1.7; }
.project-price { display: flex; align-items: baseline; gap: 12px; margin-top: -5px; font-size: 20px; font-weight: 600; }
.project-price span { color: #888; font-size: 10px; font-weight: 400; }
.media-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin-bottom: 34px; }
.media-gallery img, .media-gallery video { width: 100%; max-height: 560px; border: 1px solid var(--line); background: #111; object-fit: contain; }
.project-description { max-width: 800px; margin-bottom: 28px; color: #b4b4b1; font-size: 13px; line-height: 2; }

.auth-shell { display: grid; min-height: 660px; place-items: center; padding-top: 55px; padding-bottom: 70px; }
.auth-card { width: min(100%, 500px); }
.auth-card .eyebrow { margin-bottom: 16px; }
.auth-card h1 { font-size: 39px; }
.auth-intro { color: #999; font-size: 12px; line-height: 1.8; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; color: #aaa; font-size: 10px; }
.auth-links a:hover { color: white; text-decoration: underline; }
.resend-details { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line-soft); }
.resend-details summary { color: #aaa; cursor: pointer; font-size: 10px; }
.resend-form { margin-top: 16px; }
.profile-card h2 { margin: 30px 0 16px; font-size: 19px; letter-spacing: -.03em; }
.charter-details { margin: 18px 0; border: 1px solid var(--line); background: #090909; }
.charter-details > summary { padding: 12px; cursor: pointer; color: #ddd; font-size: 10px; }
.charter-details pre, .signed-charter pre, .signed-charter-admin pre { max-height: 270px; margin: 0; padding: 14px; overflow: auto; border-top: 1px solid var(--line-soft); color: #aaa; font-family: var(--sans); font-size: 10px; line-height: 1.8; white-space: pre-wrap; }
.charter-consent { align-items: flex-start; line-height: 1.7; }
.charter-consent input { flex: 0 0 auto; margin-top: 1px; }
.signed-charter { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.signed-charter h2 { margin-top: 0; }
.signed-charter code, .profile-summary code { overflow-wrap: anywhere; font-family: var(--mono); font-size: 9px; }
.signed-charter-admin { margin: 12px 0; }
.invitation-form { max-width: 560px; }
.developer-dashboard .admin-category { scroll-margin-top: 65px; }
.portfolio-dashboard-category { scroll-margin-top: 65px; }
.portfolio-form { max-width: 900px; }
.portfolio-form input[type="file"] { padding: 9px; color: #999; }
.portfolio-form .button { width: fit-content; }
.slug-input { display: flex; align-items: center; gap: 0; }
.slug-input > span { flex: 0 0 auto; padding: 12px 8px; border: 1px solid #292929; border-right: 0; background: #111; color: #888; font-family: var(--mono); font-size: 9px; }
.slug-input > input { min-width: 0; }
.dashboard-image-preview { display: block; width: 84px; height: 70px; margin-top: 9px; border: 1px solid #333; background: #111; object-fit: contain; }

.dashboard { padding-top: 42px; padding-bottom: 72px; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.dashboard-heading h1 { margin-bottom: 6px; font-size: clamp(32px, 4vw, 44px); }
.dashboard-heading .eyebrow { margin-bottom: 12px; }
.dashboard-heading .auth-intro { margin-bottom: 0; }
.dashboard-actions { display: flex; align-items: center; gap: 10px; }
.dashboard-actions .inline-form { display: contents; }
.dashboard-actions .button { min-height: 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.stats-grid:has(.stat-card:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
.stat-card { display: flex; min-height: 78px; flex-direction: column; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); background: #0b0b0b; }
.stat-card span { color: #91918e; font-family: var(--mono); font-size: 8px; letter-spacing: .09em; }
.stat-card strong { font-size: 24px; font-weight: 600; letter-spacing: -.05em; }
.dashboard-section { padding: 22px 14px 0; scroll-margin-top: 22px; }
.dashboard-section .section-heading { margin-bottom: 19px; }
.dashboard-section h2 { font-size: 26px; }
.dashboard-section .eyebrow { margin-bottom: 9px; }
.admin-nav { position: sticky; z-index: 2; top: 0; display: flex; flex-wrap: wrap; gap: 6px; padding: 9px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #080808; }
.admin-nav a { padding: 8px 11px; border: 1px solid var(--line-soft); color: #aaa; font-size: 10px; }
.admin-nav a:hover { border-color: #494949; color: white; background: #151515; }
.admin-category { margin-top: 9px; border: 1px solid var(--line); background: #0b0b0b; scroll-margin-top: 65px; }
.admin-category > summary { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 15px; cursor: pointer; list-style-position: inside; }
.admin-category > summary strong, .admin-category > summary small { display: block; }
.admin-category > summary strong { color: #e6e6e3; font-size: 12px; font-weight: 600; }
.admin-category > summary small, .admin-category-count { margin-top: 4px; color: #858582; font-size: 9px; }
.admin-category[open] > summary { border-bottom: 1px solid var(--line-soft); }
.admin-category-count { flex: 0 0 auto; margin: 0; font-family: var(--mono); text-align: right; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line-soft); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { min-width: 110px; padding: 13px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; font-size: 10px; }
th { background: #0d0d0d; color: #8b8b88; font-family: var(--mono); font-size: 8px; font-weight: 400; letter-spacing: .08em; }
td { color: #c3c3c0; }
td strong, td small { display: block; }
td strong { color: #ededeb; font-size: 11px; font-weight: 600; }
td small { max-width: 290px; margin-top: 5px; color: #858582; line-height: 1.5; overflow-wrap: anywhere; }
td small a:hover { text-decoration: underline; }
tbody tr:last-child td { border-bottom: 0; }
.empty-cell { padding: 24px; color: #888; text-align: center; }
.status-tag { display: inline-block; padding: 5px 7px; border: 1px solid #383838; color: #d2d2ce; font-size: 9px; }
.inline-form { display: flex; align-items: center; gap: 6px; }
.inline-form select { max-width: 145px; padding: 7px; }
.small-button { padding: 7px 9px; border: 1px solid #353535; background: transparent; color: #ddd; cursor: pointer; font-size: 9px; }
.small-button:hover { border-color: #777; }
.danger-button { color: #d7aaaa; }
.admin-details { margin-top: 12px; border: 1px solid var(--line-soft); background: #0b0b0b; }
.admin-details > summary { padding: 15px; cursor: pointer; color: #ddd; font-size: 11px; list-style-position: inside; }
.admin-details > summary small { margin-left: 8px; color: #898986; font-size: 9px; }
.admin-form { display: grid; max-width: 760px; gap: 12px; padding: 17px; border-top: 1px solid var(--line-soft); }
.admin-form .form-row { margin-bottom: 0; }
.admin-form .button { width: fit-content; }
.admin-details > .inline-form { padding: 0 17px 17px; }
.checkbox-row { display: flex; align-items: center; gap: 9px; color: #aaa; font-size: 10px; }
.checkbox-row input { width: 15px; height: 15px; }
.admin-list { display: grid; gap: 9px; }
.admin-media-form { margin-bottom: 20px; border: 1px solid var(--line-soft); }
.media-admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.media-admin-card { padding: 10px; border: 1px solid var(--line-soft); }
.media-admin-card img, .media-admin-card video { width: 100%; height: 130px; background: #111; object-fit: cover; }
.media-admin-card p { margin: 9px 0; color: #bbb; font-size: 10px; }
.developer-media-admin { padding: 0 17px 17px; }
.developer-media-admin h4 { margin: 0 0 10px; color: #ddd; font-size: 11px; }
.developer-media-admin .media-admin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.developer-media-admin .media-admin-card img, .developer-media-admin .media-admin-card video { height: 115px; }
.developer-media-admin .media-admin-card form { margin-top: 8px; }
.client-developer-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.client-developer-card { display: flex; min-width: 0; align-items: flex-start; flex-direction: column; gap: 10px; padding: 15px; border: 1px solid var(--line-soft); background: #0b0b0b; }
.client-developer-card.is-pinned { border-color: #555; }
.client-developer-card .developer-card-logo { width: 48px; height: 48px; }
.client-developer-card > strong { color: #e5e5e2; font-size: 12px; }
.client-developer-card > small { color: #888; font-size: 9px; }
.profile-summary { color: #aaa; font-size: 11px; }

@media (max-width: 850px) {
  .section-shell { width: min(100% - 44px, 680px); }
  .legal-page-intro { width: min(100% - 44px, 680px); padding-top: 68px; }
  .legal-content { width: min(100% - 44px, 680px); padding-top: 38px; }
  .hero { min-height: 560px; grid-template-columns: 1.1fr .9fr; }
  .hero h1 { font-size: clamp(44px, 6.4vw, 59px); }
  .hero-art { min-height: 370px; }
  .hero-logo { width: 86%; }
  .service-grid, .plan-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .developer-directory-grid, .studio-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-developer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-category { padding: 17px; }
  .about { gap: 42px; }
  .contact { gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .media-admin-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 72px; }
  .section-shell { width: calc(100% - 36px); }
  .legal-page-intro { width: calc(100% - 36px); padding-top: 52px; }
  .legal-page-intro h1 { font-size: clamp(38px, 11vw, 52px); }
  .legal-content { width: calc(100% - 36px); padding-top: 30px; padding-bottom: 65px; }
  .legal-block { padding: 19px 17px; }
  .legal-block h2 { gap: 9px; }
  .legal-block p, .legal-block li, .faq-item p { font-size: 12px; }
  .legal-notice { padding: 16px; }
  .faq-item > summary { min-height: 62px; grid-template-columns: 26px minmax(0, 1fr) 16px; gap: 9px; padding: 12px 13px; font-size: 12px; }
  .faq-item p { padding: 15px 16px 18px 48px; }
  .site-header { min-height: 70px; }
  .brand-logo { width: 37px; height: 37px; }
  .menu-toggle { z-index: 2; display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 17px; height: 1px; background: #eee; transition: transform .18s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: absolute; top: 62px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 16px 14px; border: 1px solid var(--line); background: #0d0d0d; }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav > a:not(.nav-contact) { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-contact { margin-top: 12px; text-align: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 74px; padding-bottom: 68px; }
  .hero h1 { font-size: clamp(46px, 13vw, 66px); }
  .eyebrow { font-size: 8px; }
  .hero-intro { font-size: 13px; }
  .hero-actions { flex-wrap: wrap; gap: 18px; }
  .hero-meta { flex-wrap: wrap; gap: 10px; margin-top: 32px; font-size: 8px; }
  .hero-art { min-height: 280px; margin-top: 20px; }
  .hero-logo { width: min(250px, 68%); }
  .scroll-cue { bottom: 3px; }
  .section-space { padding-top: 83px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-aside { margin-top: 13px; }
  h2 { font-size: 34px; }
  .service-grid, .plan-grid, .project-grid { grid-template-columns: 1fr; gap: 10px; }
  .developer-directory-grid, .studio-project-grid { grid-template-columns: 1fr; }
  .client-developer-list { grid-template-columns: 1fr; }
  .developer-directory { padding-top: 85px; }
  .developer-card { gap: 12px; padding: 14px; }
  .service-card { min-height: 205px; padding: 19px; }
  .about { grid-template-columns: 1fr; gap: 28px; padding-top: 92px; }
  .portrait-frame { min-height: 310px; }
  .portrait-placeholder { width: 58%; }
  .portrait-placeholder span { font-size: 84px; }
  .about-copy h2 { font-size: 34px; }
  .process { padding-top: 90px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .join-section { padding-top: 88px; }
  .join-panel { grid-template-columns: 1fr; gap: 22px; padding: 21px; }
  .join-copy h2 { font-size: 34px; }
  .studio-intro { padding-top: 40px; }
  .studio-profile { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .studio-profile-logo { width: 76px; height: 76px; }
  .studio-profile-logo > span { font-size: 34px; }
  .studio-profile h1 { font-size: 34px; }
  .studio-profile .eyebrow { font-size: 7px; }
  .studio-follow-action { align-items: flex-start; flex-direction: column; }
  .studio-category { padding: 13px; }
  .studio-category-heading { gap: 12px; }
  .studio-category-heading > img, .studio-category-mark { width: 56px; height: 52px; }
  .studio-contact-cta { align-items: flex-start; flex-direction: column; }
  .process-step { min-height: 170px; padding-right: 11px; }
  .process-step + .process-step { padding-left: 12px; }
  .process-step:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-soft); }
  .process-step:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .contact { grid-template-columns: 1fr; gap: 27px; padding-top: 90px; padding-bottom: 70px; }
  .contact-copy h2 { font-size: 47px; }
  .contact-form, .auth-card { padding: 19px; }
  .site-footer { grid-template-columns: 1fr auto; gap: 12px; padding-top: 20px; padding-bottom: 18px; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; }
  .footer-links { grid-column: 1 / -1; grid-row: 3; justify-self: start; }
  .footer-copy { grid-column: 1 / -1; grid-row: 4; margin-top: 2px; }
  .page-intro { padding-top: 55px; }
  .category-banner, .category-banner.has-category-image { min-height: 320px; margin-top: 28px; }
  .category-banner-content { padding: 25px 20px; }
  .category-banner-content .back-link { margin-bottom: 27px; }
  .category-banner-content h1 { font-size: 43px; }
  .back-link { margin-bottom: 31px; }
  .page-intro h1 { font-size: 43px; }
  .content-section { padding-top: 35px; }
  .media-gallery { grid-template-columns: 1fr; }
  .auth-shell { min-height: 590px; padding-top: 40px; }
  .dashboard { padding-top: 42px; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; }
  .dashboard-heading h1 { font-size: 39px; }
  .dashboard-actions { flex-wrap: wrap; }
  .admin-category > summary { align-items: flex-start; padding-inline: 11px; }
  .admin-category-count { padding-top: 2px; font-size: 8px; }
  .dashboard-section { padding-inline: 9px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stat-card { min-height: 90px; padding: 12px; }
  .stat-card span { font-size: 7px; }
  .admin-nav { position: static; gap: 1px; }
  .admin-nav a { padding: 8px; font-size: 9px; }
  .media-admin-grid { grid-template-columns: repeat(2, 1fr); }
  .inline-form { align-items: stretch; flex-direction: column; }
  .inline-form select { max-width: none; }
  .auth-links { flex-direction: column; }
  .slug-input { align-items: stretch; flex-direction: column; }
  .slug-input > span { overflow-wrap: anywhere; border-right: 1px solid #292929; border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.payment-card, .payout-document { width: min(100%, 680px); }
.payment-total { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 22px 0; padding: 17px; border: 1px solid var(--line); background: #0b0b0b; }
.payment-total span, .payout-document-list dt { color: #949491; font-size: 10px; }
.payment-total strong { color: #f0f0ed; font-size: 22px; font-weight: 600; }
.payment-message { margin: 14px 0; padding: 12px; border: 1px solid #343434; color: #c9c9c5; font-size: 11px; line-height: 1.65; }
.payment-message:empty { display: none; }
.payment-message-success { border-color: #3d5948; color: #c8e1cf; }
.payment-message-error { border-color: #704242; color: #f0baba; }
.payment-message a, .payout-document a { text-decoration: underline; text-underline-offset: 3px; }
.stripe-payment-form { margin-top: 20px; }
.stripe-payment-form .form-submit, .payment-prepare-form .form-submit { width: 100%; margin-top: 16px; }
.stripe-payment-form button:disabled { cursor: wait; opacity: .6; }
.auth-back-link { display: inline-block; margin-top: 22px; color: #999; font-size: 10px; }
.auth-back-link:hover { color: #fff; }
.payout-settings-form { margin: 18px 0 28px; border: 1px solid var(--line-soft); }
.payout-settings-form .button { margin-top: 4px; }
.payout-settings-form pre, .payout-document pre { white-space: pre-wrap; }
.payout-proof-form { min-width: 230px; gap: 8px; padding: 8px 0; }
.payout-proof-form label { color: #999; font-size: 9px; }
.payout-proof-form input { max-width: 240px; color: #aaa; font-size: 9px; }
.payout-proof-form .small-button { width: fit-content; }
.payment-link-form { margin-top: 7px; }
.payment-complete { border-color: #3d5948; color: #c8e1cf; }
.payout-document-list { margin: 24px 0; border-top: 1px solid var(--line); }
.payout-document-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.payout-document-list dd { margin: 0; color: #e5e5e2; font-size: 11px; text-align: right; }
.payout-document-total dt, .payout-document-total dd { color: #fff; font-weight: 700; }

@media (max-width: 620px) {
  .payment-total { align-items: flex-start; flex-direction: column; gap: 8px; }
  .payout-document-list > div { flex-direction: column; gap: 6px; }
  .payout-document-list dd { text-align: left; }
  .payout-proof-form { min-width: 190px; }
}
