:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: #0e0f10; color: #f7f7f4; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(circle at 14% 0%, rgba(184,255,44,.08), transparent 28rem), #0e0f10; }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
.admin-app { min-height: 100vh; }
.admin-site-header, .ops-header, main, .producer-admin { width: min(1480px, calc(100% - 48px)); margin-inline: auto; }
.admin-site-header { min-height: 82px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid #272a2d; }
.admin-site-header img { width: min(330px, 42vw); height: 42px; object-fit: contain; object-position: left center; }
.admin-site-header div { margin-left: auto; text-align: right; }
.admin-site-header .eyebrow { margin: 0 0 2px; }
.admin-site-header strong { font-size: 16px; }
.admin-site-header [data-admin-identity] { display: block; margin-top: 2px; color: #aeb1b5; font-size: 12px; }
.admin-site-header button { margin-left: 10px; }
.admin-login { width: min(1180px, calc(100% - 48px)); min-height: 100vh; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .75fr); align-items: center; gap: clamp(40px, 8vw, 110px); padding: 64px 0; }
.admin-login__brand img { width: min(460px, 90%); height: auto; margin-bottom: 72px; }
.admin-login__brand h1 { font-size: clamp(52px, 7vw, 92px); line-height: .95; letter-spacing: -.055em; }
.admin-login__brand > p:last-child { max-width: 650px; margin: 24px 0 0; color: #b9bcc0; font-size: clamp(18px, 2vw, 23px); line-height: 1.5; }
.admin-login__form { padding: clamp(28px, 5vw, 52px); border: 1px solid #35383c; border-radius: 26px; background: linear-gradient(145deg, rgba(31,34,36,.96), rgba(20,22,23,.96)); box-shadow: 0 28px 80px rgba(0,0,0,.38); }
.admin-login__form h2 { margin-bottom: 12px; font-size: 34px; }
.admin-login__form > p:not(.eyebrow):not(.error) { color: #aeb1b5; line-height: 1.5; margin: 0 0 30px; }
.admin-login__form > label:not(.remember-field) { display: block; margin-top: 22px; }
.admin-login__form button { width: 100%; min-height: 52px; margin-top: 24px; }
.remember-field { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: #d7dadd; cursor: pointer; }
.remember-field input { width: 18px; min-height: 18px; margin: 0; accent-color: #b8ff2c; }
.producer-admin { display: block; padding-bottom: 40px; }
.producer-admin section + section { margin-top: 24px; }
.ops-header { min-height: 124px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.eyebrow { color: #b8ff2c; margin: 0 0 4px; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
h1 { margin: 0; font-size: clamp(30px, 4vw, 52px); }
h2 { margin: 0; font-size: 24px; }
button { border: 0; border-radius: 999px; background: #b8ff2c; color: #0e0f10; padding: 12px 20px; font-weight: 750; cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
.header-actions { display: flex; gap: 8px; align-items: flex-end; }
.catalog-sync { display: grid; grid-template-columns: minmax(240px, 1fr) auto; gap: 18px 24px; align-items: center; margin-bottom: 24px; padding: 20px; border: 1px solid #2d3033; border-radius: 16px; background: #151719; }
.catalog-sync p { margin: 6px 0 0; color: #aeb1b5; }
.catalog-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.pricing-policy { align-items: end; }
.pricing-fields { display: grid; grid-template-columns: minmax(180px, 1.4fr) repeat(2, minmax(145px, 1fr)) auto; gap: 10px; align-items: end; }
.pricing-fields label { min-width: 0; }
.pricing-fields button { min-height: 44px; white-space: nowrap; }
.pricing-help { grid-column: 1 / -1; margin: 0 !important; color: #d7dadd !important; }
.pricing-policy [data-pricing-status] { grid-column: 1 / -1; margin: -8px 0 0; }
.catalog-sync pre { grid-column: 1 / -1; max-height: 320px; overflow: auto; margin: 0; padding: 14px; border-radius: 10px; background: #0e0f10; color: #cfd2d5; white-space: pre-wrap; }
button.secondary { color: #f7f7f4; background: #202326; border: 1px solid #3a3e42; }
.summary { display: grid; grid-template-columns: repeat(8, minmax(110px, 1fr)); gap: 10px; margin-bottom: 24px; }
.summary article { border: 1px solid #2d3033; border-radius: 14px; padding: 16px; background: #151719; }
.summary strong, .summary span { display: block; }
.summary strong { font-size: 28px; }
.summary span { color: #aeb1b5; text-transform: capitalize; margin-top: 6px; }
.toolbar { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-bottom: 18px; }
label { color: #b9bcc0; font-size: 13px; }
input, select { display: block; width: 100%; margin-top: 7px; min-height: 44px; border: 1px solid #35383c; border-radius: 10px; background: #151719; color: #fff; padding: 0 12px; }
.table-wrap { overflow-x: auto; border: 1px solid #2d3033; border-radius: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 1050px; }
th, td { padding: 16px; border-bottom: 1px solid #272a2d; text-align: left; vertical-align: top; }
th { color: #aeb1b5; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; background: #151719; }
td small { display: block; color: #93979c; margin-top: 5px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
td small.job-error { color: #ff8b83; white-space: nowrap; }
td a { color: #b8ff2c; }
.status { display: inline-block; border: 1px solid #4a4e52; padding: 5px 9px; border-radius: 999px; text-transform: capitalize; }
.status--ready, .status--printed { color: #b8ff2c; border-color: #587a23; }
.status--rendering, .status--preflight, .status--queued { color: #79b7ff; border-color: #31577e; }
.error { color: #ff8b83; min-height: 20px; }
.empty { padding: 52px; color: #aeb1b5; text-align: center; }
@media (max-width: 1100px) { .pricing-fields { grid-template-columns: repeat(2, minmax(180px, 1fr)); } }
@media (max-width: 900px) { .catalog-sync { grid-template-columns: 1fr; } .catalog-actions { justify-content: flex-start; } .summary { grid-template-columns: repeat(4, 1fr); } .toolbar { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .pricing-fields { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .admin-login { grid-template-columns: 1fr; align-content: center; } .admin-login__brand img { margin-bottom: 42px; } .admin-login__brand h1 { font-size: clamp(48px, 14vw, 72px); } }
@media (max-width: 540px) { .admin-site-header, .ops-header, main, .producer-admin { width: min(100% - 24px, 1480px); } .admin-site-header img { width: 210px; } .admin-site-header div { display: none; } .admin-login { width: min(100% - 28px, 1180px); padding: 34px 0; } .admin-login__brand img { width: 290px; margin-bottom: 34px; } .admin-login__form { padding: 26px 20px; border-radius: 20px; } .ops-header { align-items: flex-start; padding-block: 24px; flex-direction: column; } .header-actions { width: 100%; flex-wrap: wrap; } .summary { grid-template-columns: repeat(2, 1fr); } }
