@charset "UTF-8";

.admin-layout { width: min(1200px, 100%); margin-inline: auto; padding: 25px 0 15px; animation: admin-arrive .45s ease both; }
.admin-layout button:disabled { cursor: not-allowed; }
.admin-layout select { font: inherit; }
.admin-layout button, .admin-layout input, .admin-layout select { -webkit-tap-highlight-color: transparent; }
.admin-layout :focus-visible { outline: 3px solid #a44d26; outline-offset: 4px; }
.admin-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-back { display: inline-flex; align-items: center; gap: 9px; padding: 6px 0; border: 0; background: transparent; color: #75654f; font-size: 12px; border-radius: 4px; }
.admin-back > span { font-size: 19px; transition: transform .2s; }
.admin-back:hover { color: var(--orange-dark); }
.admin-back:hover > span { transform: translateX(-3px); }
.admin-preview-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid #dacebb; border-radius: 20px; color: #79664e; background: #f0e7d8; font-size: 10px; }
.admin-preview-badge > span { width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: #ac8250; }
.admin-hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 28px; min-height: 298px; }
.admin-hero__copy { padding-block: 24px 32px; }
.admin-kicker { display: flex; align-items: center; gap: 9px; color: #956941; font-size: 9px; font-weight: 650; letter-spacing: 1.8px; }
.admin-kicker > span { font-size: 18px; color: #c28143; }
.admin-hero h1 { margin: 16px 0 19px; font-family: var(--font-display); font-size: clamp(37px, 4.5vw, 59px); font-weight: 750; letter-spacing: -2.9px; line-height: 1.1; white-space: nowrap; }
.admin-hero h1 span { color: #b84e24; }
.admin-hero__copy > p:not(.admin-kicker) { color: #7a6b5b; font-size: 13px; line-height: 1.85; }
.admin-hero__foot { display: flex; align-items: center; gap: 8px; margin-top: 23px; color: #9b8160; font: italic 12px Georgia, serif; }
.admin-tiny-fox { font: normal 19px var(--font); color: #c59458; }
.admin-workshop { position: relative; margin: -3px 0 0 auto; width: min(415px, 100%); align-self: end; }
.admin-workshop__art { width: 100%; height: auto; }
.admin-workshop figcaption { margin: -10px 0 14px; text-align: center; transform: rotate(-3deg); color: #968165; font: italic 11px Georgia, serif; }
.admin-workshop__head { transform-origin: 219px 179px; animation: admin-fox-nod 7s ease-in-out infinite; }
.admin-workshop__tail { transform-origin: 281px 225px; animation: admin-tail-wave 5s ease-in-out infinite; }
.admin-workshop__float { animation: admin-card-float 6s ease-in-out infinite; }
.admin-workshop__float--second { animation-delay: -3s; }
.admin-workshop__spark { transform-origin: 326px 130px; animation: admin-spark 4s ease-in-out infinite; }
.admin-workshop__card, .admin-workshop__paw { transform-origin: 265px 190px; animation: admin-sort 4s ease-in-out infinite; }
.admin-workshop__blink { transform-origin: 218px 125px; animation: admin-blink 6.3s infinite; }
.admin-workshop__steam { animation: admin-steam 3s ease-in-out infinite; }
.admin-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 20px 0; margin: 4px 0 39px; border-block: 1px solid #ddceba; }
.admin-stat { padding-inline: 25px; border-right: 1px solid #dfd3c0; }
.admin-stat:first-child { padding-left: 0; }
.admin-stat:last-child { border: 0; }
.admin-stat > span { display: block; color: #7f6f5c; font-size: 11px; }
.admin-stat strong { display: block; margin: 8px 0 7px; font-size: 30px; font-weight: 650; line-height: 1.2; color: #61513e; }
.admin-stat strong small { font-size: 11px; color: #8e7d67; font-weight: 400; }
.admin-stat p { color: #92806a; font-size: 9px; }
.admin-stat__date { font-weight: 400 !important; }
.admin-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 19px; }
.admin-section-heading .admin-kicker { font-size: 8px; letter-spacing: 1.6px; }
.admin-section-heading h2 { margin-top: 8px; font: 650 25px/1.2 var(--font-display); letter-spacing: -.75px; }
.admin-section-heading__note { color: #9a866b; font: italic 12px Georgia, serif; padding-bottom: 2px; }
.admin-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 24px; }
.admin-card { position: relative; padding: 26px 27px 0; border: 1px solid #dcccB6; border-radius: 21px; background: #fffcf5; box-shadow: 0 5px 0 -2px #e8dece, 0 15px 32px -20px #846a4c29; overflow: hidden; }
.admin-card::before { content: ""; position: absolute; inset: 0 22px auto; height: 3px; border-radius: 0 0 5px 5px; background: #d68a52; }
.admin-card--gemini::before { background: #8c9b76; }
.admin-card__header { display: flex; align-items: center; gap: 13px; }
.admin-card__icon { display: grid; place-items: center; width: 49px; height: 49px; flex: 0 0 49px; border: 1px solid #e9cfb1; border-radius: 14px; background: #f8e7d2; color: #ba6a37; transform: rotate(-5deg); }
.admin-card--gemini .admin-card__icon { background: #ecedde; border-color: #d5dcc8; color: #788967; transform: rotate(5deg); }
.admin-card__icon svg { width: 29px; height: 29px; stroke: currentColor; stroke-width: 1.5; }
.admin-card__eyebrow { font-size: 8px; letter-spacing: 1.1px; color: #a1805e; }
.admin-card--gemini .admin-card__eyebrow { color: #7d8b6c; }
.admin-card h3 { margin: 3px 0 0; font: 650 24px/1.25 var(--font-display); letter-spacing: -.75px; }
.admin-source-tag { margin-left: auto; border: 1px solid #e3d5c3; border-radius: 6px; background: #f7f1e6; color: #8a7156; padding: 4px 8px; font-size: 9px; }
.admin-card--gemini .admin-source-tag { border-color: #d9dfcb; background: #f0f2e8; color: #7c896c; }
.admin-card__intro { min-height: 42px; margin-top: 18px; font-size: 12px; line-height: 1.8; color: #8a7660; }
.admin-form { margin-top: 23px; }
.admin-field { display: flex; flex-direction: column; gap: 8px; font-size: 11px; color: #64533f; min-width: 0; }
.admin-field > span { font-weight: 600; }
.admin-field input, .admin-field select { width: 100%; min-width: 0; border: 1px solid #decfba; border-radius: 9px; color: #675641; background: #faf6ed; padding: 12px 13px; line-height: 1.4; font-size: 12px; transition: border-color .2s, box-shadow .2s; }
.admin-field select { min-height: 44px; padding-right: 29px; }
.admin-source-field select { border-color: #d6b99a; background: #fcf2e4; color: #795432; font-weight: 600; }
.admin-steam-wait { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; align-items: start; margin: 16px 0 0; padding: 15px; border: 1px solid #abc8ca; border-radius: 12px; background: #edf5f3; color: #35636a; }
.admin-steam-wait[hidden] { display: none; }
.admin-steam-wait__icon { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #b9d3d0; border-radius: 50%; background: #f8fcf8; font-size: 25px; line-height: 1; }
.admin-steam-wait__copy strong { font-size: 13px; }
.admin-steam-wait__copy p { margin: 5px 0 0; color: #526c68; font-size: 12px; line-height: 1.6; }
.admin-steam-wait__clock { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.admin-steam-wait__clock strong { font-size: 19px; font-variant-numeric: tabular-nums; }
.admin-steam-wait__clock small { font-size: 11px; line-height: 1.5; }
.admin-source-help { margin-bottom: 18px; }
.admin-import-source { color: #8c613d; overflow-wrap: anywhere; }
.admin-field input:hover, .admin-field select:hover { border-color: #b79870; }
.admin-field input:disabled, .admin-field select:disabled { opacity: 1; color: #a08e75; background: #f2eee5; border-style: dashed; cursor: not-allowed; }
.admin-field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 17px; margin-top: 18px; }
.admin-field-row--steam { margin-top: 0; }
.admin-field-toggle { display: flex; align-items: flex-start; gap: 7px; min-height: 32px; cursor: pointer; font-weight: 600; line-height: 1.5; }
.admin-field .admin-field-toggle input { flex: 0 0 15px; width: 15px; height: 15px; min-width: 15px; margin: 1px 0 0; padding: 0; accent-color: #b94f25; cursor: pointer; }
.admin-field-toggle:has(input:disabled) { cursor: default; }
.admin-field-toggle input:disabled { cursor: default; }
.admin-field--optional:has(input[type="checkbox"]:not(:checked)) .admin-input-unit { opacity: .65; }
.admin-input-unit { display: flex; align-items: center; min-width: 0; position: relative; }
.admin-input-unit input { padding-right: 71px; font-size: 16px; font-weight: 600; min-height: 47px; }
.admin-input-unit > span { position: absolute; right: 31px; color: #9a876c; font-size: 10px; pointer-events: none; }
.admin-field-hint { min-height: 38px; margin-top: 11px; color: #8d7d66; font-size: 10px; line-height: 1.7; }
.admin-field-error { margin-top: 8px; color: #a04024; font-size: 11px; line-height: 1.6; }
.admin-pending { display: flex; align-items: center; gap: 10px; align-self: end; min-height: 47px; padding: 6px 0; }
.admin-pending__spark { font-size: 28px; color: #8a9a76; }
.admin-pending strong { display: block; color: #7a8867; font-size: 11px; font-weight: 600; }
.admin-pending small { display: block; margin-top: 3px; color: #939780; font-size: 9px; line-height: 1.5; }
.admin-card__actions { display: flex; gap: 11px; margin-top: 20px; }
.admin-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex: 1; padding: 12px; border: 1px solid #a64721; border-radius: 9px; background: #b94f25; color: #fff8ec; font-size: 12px; font-weight: 600; box-shadow: 0 3px 0 #923a1d; transition: background .2s, transform .2s, box-shadow .2s; }
.admin-button > span { font-size: 17px; font-weight: 400; }
.admin-button--gemini { border-color: #61734e; background: #71865c; box-shadow: 0 3px 0 #536344; }
.admin-button:hover:not(:disabled) { background: #a9431f; transform: translateY(-2px); box-shadow: 0 5px 0 #923a1d; }
.admin-button--gemini:hover:not(:disabled) { background: #657950; box-shadow: 0 5px 0 #536344; }
.admin-button:active:not(:disabled) { transform: translateY(2px); box-shadow: none; }
.admin-button:disabled { opacity: .55; box-shadow: none; }
.admin-stop { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 12px; border: 1px solid #d9c9b4; border-radius: 9px; background: #f4ece0; color: #826647; font-size: 11px; }
.admin-stop > span { font-size: 9px; }
.admin-stop:not(:disabled):hover { background: #efddc8; border-color: #c4a78a; }
.admin-stop:disabled { background: #f8f4ec; color: #b2a591; border-color: #e9e0d2; }
.admin-progress-block { margin: 25px -27px 0; padding: 17px 27px 16px; background: #f8f2e8; border-top: 1px solid #e9dccb; }
.admin-card--gemini .admin-progress-block { background: #f3f3e9; border-top-color: #e0e3d2; }
.admin-progress-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 10px; color: #8a765b; }
.admin-progress-kind { font-size: 7px; letter-spacing: 1px; opacity: .8; }
.admin-progress-block progress { display: block; width: 100%; height: 5px; margin-top: 10px; overflow: hidden; border: 0; border-radius: 9px; appearance: none; background: #e6dac8; accent-color: #c57c47; }
.admin-progress-block progress::-webkit-progress-bar { background: #e6dac8; border-radius: 9px; }
.admin-progress-block progress::-webkit-progress-value { border-radius: 9px; background: #c57c47; transition: width .4s; }
.admin-progress-block progress::-moz-progress-bar { border-radius: 9px; background: #c57c47; }
.admin-card--gemini progress { background: #dde1cf; accent-color: #8b9c74; }
.admin-card--gemini progress::-webkit-progress-bar { background: #dde1cf; }
.admin-card--gemini progress::-webkit-progress-value { background: #8b9c74; }
.admin-card--gemini progress::-moz-progress-bar { background: #8b9c74; }
.admin-progress-block > p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 10px; color: #9a876b; font-size: 9px; }
.admin-progress-block > p > span { color: #a28e73; }
.admin-console { margin-top: 32px; overflow: hidden; border: 1px solid #3a352c; border-radius: 17px; background: #302e28; color: #d2c6af; box-shadow: 0 8px 22px #5b493814; }
.admin-console__header { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 17px 23px; background: #39362e; border-bottom: 1px solid #474237; }
.admin-console__title { display: flex; align-items: center; gap: 13px; min-width: 0; }
.admin-console__lights { display: flex; gap: 5px; }
.admin-console__lights i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #ab8060; }
.admin-console__lights i:nth-child(2) { background: #a9996a; }
.admin-console__lights i:nth-child(3) { background: #7a8b69; }
.admin-console h2 { font-size: 12px; font-weight: 500; color: #e4d7bf; letter-spacing: .1px; }
.admin-console__badge { padding: 3px 6px; border: 1px solid #625442; color: #c5a478; border-radius: 4px; font-size: 7px; letter-spacing: .9px; }
.admin-console__clear { padding: 4px 0; border: 0; border-radius: 3px; background: transparent; color: #b6a78c; font-size: 10px; }
.admin-console__clear > span { margin-left: 7px; font-size: 15px; }
.admin-console__clear:hover { color: #f0ddba; }
.admin-console__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 23px 9px; }
.admin-console__filters { display: flex; gap: 5px; }
.admin-console__filters button { padding: 5px 12px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #9f957f; font-size: 10px; }
.admin-console__filters button[aria-pressed="true"] { border-color: #59503e; background: #443e32; color: #e2c28c; }
.admin-console__filters button:hover { color: #ead7b3; }
.admin-console__toolbar > span { color: #9b9078; font-size: 9px; }
.admin-console__viewport { min-height: 165px; max-height: 260px; overflow: auto; scrollbar-color: #6b604b #302e28; padding: 12px 23px 19px; }
.admin-console ol { list-style: none; margin: 0; padding: 0; font: 11px/1.9 "Cascadia Code", Consolas, monospace; }
.admin-console ol:empty::after { content: "›  Die Werkstatt wartet. Wähle oben einen Import oder eine KI-Ergänzung."; display: block; padding-block: 12px; color: #ad9b7d; }
.admin-console li { display: grid; grid-template-columns: 65px 68px minmax(0, 1fr); column-gap: 14px; margin-bottom: 8px; overflow-wrap: anywhere; }
.admin-console li time { color: #978a72; font-variant-numeric: tabular-nums; }
.admin-log-source--steam { color: #dfae7c; }
.admin-log-source--gemini { color: #b3c59b; }
.admin-log-source--system { color: #b3a790; }
.admin-console__footer { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid #454032; padding: 11px 23px; color: #a99a7f; font-size: 9px; }
.admin-console__cursor { color: #c1945d; animation: admin-cursor 1.4s step-end infinite; }
.admin-console :focus-visible { outline-color: #e4b075; }
.admin-announcement { min-height: 24px; padding: 7px 4px 0; color: #8f7556; font-size: 10px; }
.admin-history { margin-top: 26px; }
.admin-history__card { overflow: hidden; border: 1px solid #ddcebb; border-radius: 17px; background: #fdf9f1; }
.admin-history__topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 21px 0; border-bottom: 1px solid #e4d8c6; }
.admin-table-tabs { display: flex; gap: 25px; }
.admin-table-tabs button { position: relative; padding: 8px 0 16px; border: 0; border-radius: 2px; background: transparent; color: #a08b70; font-size: 12px; font-weight: 600; }
.admin-table-tabs button[aria-selected="true"] { color: #ad572c; }
.admin-table-tabs button[aria-selected="true"]::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; border-radius: 3px 3px 0 0; background: #bb7341; }
.admin-table-tabs button[data-admin-table-tab="gemini"][aria-selected="true"] { color: #6d8159; }
.admin-table-tabs button[data-admin-table-tab="gemini"][aria-selected="true"]::after { background: #829469; }
.admin-example-tag { margin-bottom: 8px; padding: 4px 7px; border: 1px dashed #ccb99a; border-radius: 4px; color: #9d8665; font-size: 7px; letter-spacing: .9px; }
.admin-table-note { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 21px 12px; }
.admin-table-note > p { color: #958269; font-size: 10px; }
.admin-example-button { border: 0; background: transparent; color: #a16738; padding: 5px 0; border-radius: 3px; font-size: 10px; white-space: nowrap; }
.admin-example-button > span { padding-left: 5px; }
.admin-example-button:hover { color: #8c421e; }
.admin-table-scroll { overflow-x: auto; scrollbar-color: #d0bb9e #f4eadb; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
.admin-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.admin-table th { padding: 11px 21px; background: #f6efe2; border-block: 1px solid #e9decd; color: #9b8669; font-weight: 500; font-size: 9px; white-space: nowrap; }
.admin-table td { padding: 17px 21px; border-bottom: 1px solid #eee4d5; color: #8b775c; font-size: 11px; vertical-align: top; }
.admin-table td:nth-child(1) { font-size: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.admin-table td:nth-child(2) { min-width: 150px; color: #715b40; font-weight: 600; }
.admin-table td:nth-child(3) { min-width: 130px; font-size: 10px; color: #9b8263; }
.admin-table td:nth-child(4) { min-width: 230px; max-width: 450px; line-height: 1.7; }
.admin-table td:last-child { min-width: 100px; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: #faf4e9; }
.admin-table td.admin-table-status { color: #8c9a72; font-size: 9px; font-weight: 600; }
.admin-history__foot { display: flex; gap: 8px; align-items: center; border-top: 1px solid #e8ddcc; background: #f8f1e5; padding: 12px 21px; color: #a28b6b; font-size: 9px; }
.admin-history__foot > span { font-size: 16px; }
.admin-bottom { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin: 31px 0 12px; color: #978065; font-size: 10px; }
.admin-bottom > span { display: flex; align-items: center; gap: 7px; }
.admin-bottom > span > span { color: #b5976e; font-size: 17px; }
.admin-motion { display: inline-flex; align-items: center; gap: 5px; padding: 7px 0 7px 5px; border: 0; border-radius: 3px; background: transparent; color: #8f7c62; font-size: 10px; }
.admin-motion:hover { color: #b25f31; }
.admin-motion-paused *, .admin-motion-paused *::before, .admin-motion-paused *::after { animation-play-state: paused !important; }
.admin-model-output { display: block; min-height: 45px; padding: 12px 14px; border: 1px solid #dfe1d1; border-radius: 9px; background: #f6f5ec; color: #65744f; font-size: 12px; overflow-wrap: anywhere; }
.admin-field > small { color: #8b806d; font-size: 9px; line-height: 1.6; }
.admin-gemini-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 14px; margin-top: 13px; }
.admin-gemini-controls button { color: #65774f; white-space: normal; text-align: left; }
.admin-gemini-controls button:disabled { color: #a7a593; cursor: default; }
.admin-gemini-notice { padding: 10px 12px; border: 1px solid #d9c9ab; border-radius: 8px; background: #f7ebd7; color: #79572f; }
.admin-progress-block > .admin-gemini-message { display: block; line-height: 1.65; overflow-wrap: anywhere; }
.admin-result-mode { margin: 0 0 9px; }
.admin-result-details { margin-top: 12px; font-weight: 400; }
.admin-result-details summary { cursor: pointer; color: #657950; font-size: 10px; }
.admin-result-details pre { max-height: 260px; max-width: 450px; overflow: auto; padding: 12px; margin-top: 8px; border: 1px solid #e0dacb; border-radius: 8px; background: #f4f0e7; color: #65563f; font: 10px/1.65 Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-table-status small { display: block; margin-top: 6px; font-size: 9px; font-weight: 400; color: #918165; }

@keyframes admin-arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes admin-fox-nod { 0%, 45%, 100% { transform: rotate(-2deg); } 60%, 75% { transform: rotate(3deg); } }
@keyframes admin-tail-wave { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(4deg); } }
@keyframes admin-card-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes admin-spark { 0%, 100% { transform: scale(.92) rotate(-8deg); opacity: .7; } 50% { transform: scale(1.07) rotate(9deg); opacity: 1; } }
@keyframes admin-sort { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(3px, -5px) rotate(6deg); } }
@keyframes admin-blink { 0%, 41%, 45%, 100% { transform: scaleY(1); } 43% { transform: scaleY(.1); } }
@keyframes admin-steam { 0%, 100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(-5px); opacity: .9; } }
@keyframes admin-cursor { 50% { opacity: 0; } }

@media (max-width: 1100px) {
  .admin-hero h1 { font-size: 47px; }
  .admin-workshop { width: min(370px, 100%); }
  .admin-hero { min-height: 270px; gap: 15px; }
  .admin-tools { gap: 18px; }
  .admin-card { padding: 23px 20px 0; }
  .admin-card__header { gap: 10px; }
  .admin-card h3 { font-size: 21px; }
  .admin-card__icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 12px; }
  .admin-card__eyebrow { font-size: 7px; }
  .admin-card__intro { font-size: 11px; }
  .admin-source-tag { padding: 3px 6px; font-size: 8px; }
  .admin-field-row { gap: 13px; }
  .admin-field { font-size: 10px; }
  .admin-field select { font-size: 11px; }
  .admin-progress-block { margin-inline: -20px; padding-inline: 20px; }
  .admin-stat { padding-inline: 18px; }
}
@media (max-width: 860px) {
  .admin-hero h1 { font-size: 40px; letter-spacing: -2px; }
  .admin-kicker { font-size: 8px; letter-spacing: 1.1px; }
  .admin-hero__copy > p:not(.admin-kicker) { font-size: 12px; }
  .admin-workshop { width: 310px; max-width: 100%; }
  .admin-hero { min-height: 245px; }
  .admin-card { padding-inline: 17px; }
  .admin-card__header { flex-wrap: wrap; gap: 9px; }
  .admin-card h3 { font-size: 21px; }
  .admin-source-tag { display: none; }
  .admin-card__eyebrow { font-size: 6.5px; }
  .admin-card__intro { min-height: 59px; }
  .admin-field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .admin-field > span { min-height: 28px; }
  .admin-form > .admin-field > span { min-height: 0; }
  .admin-button { font-size: 10px; padding-inline: 9px; gap: 5px; }
  .admin-stop { font-size: 10px; padding-inline: 8px; }
  .admin-pending { gap: 6px; }
  .admin-pending__spark { font-size: 21px; }
  .admin-pending strong { font-size: 10px; }
  .admin-pending small { font-size: 8px; }
  .admin-progress-block { margin-inline: -17px; padding-inline: 17px; }
  .admin-stat { padding-inline: 14px; }
  .admin-stat > span { font-size: 10px; }
  .admin-stat strong small { font-size: 9px; }
  .admin-stat p { font-size: 8px; }
  .admin-section-heading__note { font-size: 10px; }
}
@media (max-width: 700px) {
  .admin-topline { align-items: start; flex-direction: column; gap: 12px; }
  .admin-preview-badge { font-size: 9px; }
  .admin-hero { grid-template-columns: 1fr; gap: 0; position: relative; }
  .admin-hero__copy { padding: 30px 0 0; }
  .admin-hero h1 { font-size: clamp(37px, 6.9vw, 46px); }
  .admin-workshop { width: 310px; margin-top: -31px; margin-right: -9px; }
  .admin-hero__foot { max-width: 145px; margin-top: 30px; line-height: 1.6; }
  .admin-workshop figcaption { margin-top: -8px; font-size: 10px; }
  .admin-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 0; padding-block: 21px; margin-top: 12px; margin-bottom: 30px; }
  .admin-stat { padding-inline: 20px; }
  .admin-stat:nth-child(2) { border: 0; }
  .admin-stat:nth-child(3) { padding-left: 0; }
  .admin-stat > span { font-size: 11px; }
  .admin-stat strong { font-size: 25px; margin: 5px 0; }
  .admin-stat strong small { font-size: 10px; }
  .admin-stat p { font-size: 9px; }
  .admin-tools { grid-template-columns: 1fr; gap: 23px; }
  .admin-card { padding: 23px 24px 0; }
  .admin-card__header { gap: 13px; flex-wrap: nowrap; }
  .admin-source-tag { display: block; padding: 4px 7px; font-size: 9px; }
  .admin-card h3 { font-size: 24px; }
  .admin-card__eyebrow { font-size: 8px; }
  .admin-card__intro { min-height: 0; font-size: 12px; }
  .admin-field { font-size: 11px; }
  .admin-field > span { min-height: 0; }
  .admin-field select { font-size: 12px; }
  .admin-field-row { gap: 15px; }
  .admin-button { font-size: 12px; gap: 8px; }
  .admin-stop { font-size: 11px; padding-inline: 12px; }
  .admin-pending__spark { font-size: 27px; }
  .admin-pending strong { font-size: 11px; }
  .admin-pending small { font-size: 9px; }
  .admin-field-hint { min-height: 0; }
  .admin-progress-block { margin-inline: -24px; padding-inline: 24px; }
  .admin-section-heading h2 { font-size: 24px; }
  .admin-section-heading__note { display: none; }
  .admin-console__header { align-items: start; padding: 16px 18px; }
  .admin-console__title { gap: 9px; flex-wrap: wrap; }
  .admin-console h2 { font-size: 11px; }
  .admin-console__badge { display: none; }
  .admin-console__clear { flex-shrink: 0; font-size: 9px; }
  .admin-console__toolbar { padding-inline: 18px; }
  .admin-console__toolbar > span { display: none; }
  .admin-console__viewport { padding-inline: 18px; }
  .admin-console ol { font-size: 10px; }
  .admin-console li { grid-template-columns: 54px 54px minmax(0, 1fr); column-gap: 10px; }
  .admin-console__footer { padding-inline: 18px; flex-wrap: wrap; gap: 7px; }
  .admin-history__topline { padding-inline: 18px; }
  .admin-table-tabs { gap: 23px; }
  .admin-table-tabs button { font-size: 11px; }
  .admin-example-tag { font-size: 6px; letter-spacing: .5px; }
  .admin-table-note { flex-wrap: wrap; gap: 4px; padding-inline: 18px; }
  .admin-table th, .admin-table td { padding-inline: 18px; }
  .admin-history__foot { align-items: start; font-size: 8px; padding-inline: 18px; }
  .admin-bottom { flex-direction: column; gap: 3px; font-size: 9px; text-align: center; }
}
@media (max-width: 430px) {
  .admin-layout { padding-top: 18px; }
  .admin-hero h1 { font-size: clamp(31px, 8.9vw, 38px); letter-spacing: -1.8px; }
  .admin-hero .admin-kicker { font-size: 7px; letter-spacing: 1px; gap: 7px; }
  .admin-hero__copy > p:not(.admin-kicker) { font-size: 11px; }
  .admin-hero__foot { font-size: 10px; max-width: 120px; }
  .admin-workshop { width: 266px; margin-top: -34px; margin-right: -13px; }
  .admin-workshop figcaption { font-size: 9px; }
  .admin-card { padding-inline: 19px; }
  .admin-card h3 { font-size: 23px; }
  .admin-card__eyebrow { font-size: 6.5px; letter-spacing: .8px; }
  .admin-card__header { gap: 10px; }
  .admin-card__intro { font-size: 11px; }
  .admin-card__icon { width: 39px; height: 39px; flex-basis: 39px; }
  .admin-source-tag { font-size: 8px; padding: 3px 6px; }
  .admin-field-row { gap: 11px; }
  .admin-field { font-size: 10px; }
  .admin-field select { font-size: 11px; }
  .admin-field > span { min-height: 27px; }
  .admin-button { font-size: 11px; }
  .admin-stop { padding-inline: 9px; font-size: 10px; }
  .admin-progress-block { margin-inline: -19px; padding-inline: 19px; }
  .admin-pending { gap: 7px; }
  .admin-pending strong { font-size: 10px; }
  .admin-pending small { font-size: 8px; }
  .admin-console__lights { display: none; }
  .admin-console li { grid-template-columns: 51px minmax(0, 1fr); gap: 3px 8px; }
  .admin-console li > span:last-child { grid-column: 2; }
  .admin-example-tag { display: none; }
  .admin-table-note > p { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .admin-layout, .admin-layout *, .admin-layout *::before, .admin-layout *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.gemini-workers { margin-block: 28px; }
.gemini-workers__heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.gemini-workers__heading h2 { margin: 6px 0 0; font-size: clamp(20px, 2vw, 27px); font-weight: 700; line-height: 1.25; color: #704927; }
.gemini-workers__heading > p, .gemini-workers__notice { max-width: 400px; color: #856b51; font-size: 13px; line-height: 1.6; }
.gemini-workers__notice { max-width: none; padding: 10px 14px; border: 1px dashed #d7c7ae; border-radius: 10px; }
.gemini-workers__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; }
.gemini-worker { min-width: 0; overflow: hidden; border: 1px solid #decbb1; border-radius: 18px; background: #fffaf1; box-shadow: 0 4px 0 #e9dbc4; }
.gemini-worker__header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 17px 18px; background: #f7ebd8; border-bottom: 1px solid #e5d2b7; }
.gemini-worker:nth-child(2) .gemini-worker__header { background: #edf0e0; }
.gemini-worker__eyebrow { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #8b683e; }
.gemini-worker__header h3 { margin: 5px 0 0; font-size: 15px; overflow-wrap: anywhere; color: #644426; }
.gemini-worker__batches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 8px; padding: 12px; }
.gemini-worker__batch { position: relative; min-width: 0; border: 1px solid #e5d4bb; border-radius: 12px; padding: 12px 10px; background: #fffdf8; }
.gemini-worker__batch-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; }
.gemini-worker__batch h4 { margin: 0; font-size: 13px; color: #6b4931; }
.gemini-worker__status { display: inline-block; font-size: 9px; font-weight: 700; line-height: 1.4; padding: 4px 6px; border-radius: 6px; background: #f5ebdc; color: #775739; overflow-wrap: anywhere; }
.gemini-worker__batch[data-status="RUNNING"] { border-color: #7eac84; background: #e9f4e7; box-shadow: inset 0 3px 0 #79a67e; }
.gemini-worker__status[data-status="RUNNING"], .gemini-worker__status[data-status="COMPLETED"] { background: #cfe8cc; color: #285a31; }
.gemini-worker__status[data-status="FAILED"], .gemini-worker__status[data-status="SAVE_FAILED"] { background: #f9dfd7; color: #8b3026; }
.gemini-worker__status[data-status="WAITING"], .gemini-worker__status[data-status="CHECK_REQUIRED"] { background: #ffe8bc; color: #775012; }
.gemini-worker__games { margin: 12px 0 0; padding: 0; list-style: none; }
.gemini-worker__games li { position: relative; padding: 7px 0 7px 11px; font-size: 12px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.gemini-worker__games li + li { border-top: 1px solid #d7ddcd; }
.gemini-worker__games li::before { content: ""; position: absolute; left: 0; top: 14px; width: 4px; height: 4px; border-radius: 50%; background: #b6743f; }
.gemini-worker__empty { color: #947c60; font-size: 12px; line-height: 1.55; margin: 14px 0 2px; }
.gemini-worker__details { margin-top: 10px; font-size: 12px; color: #705439; }
.gemini-worker__details summary { cursor: pointer; padding-block: 4px; }
.gemini-worker__details p { max-height: 110px; overflow: auto; overflow-wrap: anywhere; line-height: 1.65; margin-bottom: 0; }
.gemini-worker__batch[data-status="RUNNING"]::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; right: 8px; top: 5px; background: #5f9965; animation: gemini-work-pulse 1.5s ease-in-out infinite; }
@keyframes gemini-work-pulse { 50% { opacity: .3; } }
@media (max-width: 1100px) { .gemini-workers__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .gemini-worker__batches { grid-template-columns: 1fr; } .gemini-workers__heading { display: block; } .gemini-worker__games { display: flex; flex-wrap: wrap; gap: 0 12px; } .gemini-worker__games li + li { border: 0; } }
