@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --ink: #111111;
  --text: #2f2f2f;
  --muted: #737373;
  --line: #dedede;
  --canvas: #f6f6f6;
  --card: #ffffff;
  --soft: #f0f0f0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; background-color: var(--canvas); background-image: linear-gradient(to bottom, rgba(246, 246, 246, 1) 0%, rgba(246, 246, 246, .97) 52%, rgba(246, 246, 246, .42) 100%), url('/bg-test.webp'); background-position: center, center bottom; background-repeat: no-repeat; background-size: 100% 100%, 100% auto; }
.topbar { width: 100%; min-height: 76px; display: flex; align-items: center; gap: 1.6rem; padding-inline: max(1.25rem, calc((100% - 1160px) / 2)); background: linear-gradient(to top, rgba(211, 217, 137, .55), rgba(211, 217, 137, 0) 58%), #f7f4d5; }.welcome-message { display: flex; align-items: center; gap: .55rem; margin: 0; color: #666253; font-size: .76rem; }.welcome-message p { margin: 0; color: inherit; font-size: inherit; }.welcome-message strong { color: #27251f; font-weight: 800; }.profile-avatar { display: grid; width: 31px; aspect-ratio: 1; place-items: center; border: 1px solid #c9c4a9; border-radius: 50%; color: #27251f; background: rgba(255, 255, 255, .35); }.profile-avatar svg { width: 15px; height: 15px; stroke-width: 1.7; }nav { display: flex; align-items: center; gap: .12rem; margin-left: auto; }nav a, .link-button { display: inline-flex; align-items: center; gap: .38rem; border: 0; border-radius: 6px; color: #514e43; background: transparent; font: 700 .72rem Inter, sans-serif; padding: .48rem .68rem; text-decoration: none; transition: background .14s, color .14s; }nav a svg, .link-button svg { width: 14px; height: 14px; stroke-width: 1.8; }nav a:hover, nav a.active, .link-button:hover { color: #27251f; background: rgba(39, 37, 31, .1); }.inline { display: inline; }

.page { width: min(1020px, calc(100% - 2.5rem)); padding: clamp(2.3rem, 5vw, 4.5rem) 0 5rem; margin: 0 auto; }h1, h2, h3, p { margin-top: 0; }h1, h2, h3 { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -.055em; }h1 { margin-bottom: .72rem; font-size: clamp(2.35rem, 5vw, 4.35rem); line-height: .98; }h1 em { font-style: normal; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .1em; }h2 { margin-bottom: .5rem; font-size: 1.32rem; line-height: 1.15; }h3 { margin: 1.55rem 0 .72rem; color: var(--muted); font-size: .61rem; letter-spacing: .08em; text-transform: uppercase; }p { color: var(--muted); font-size: .87rem; line-height: 1.63; }.eyebrow { margin-bottom: .76rem; color: #5f5f5f; font: 500 .6rem 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }.muted { color: var(--muted); }.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.35rem; }.page-heading > p { max-width: 305px; margin-bottom: .25rem; }.page-heading.compact h1 { font-size: clamp(2.05rem, 4vw, 3.35rem); }.quiet-action, .text-link, .dispatch-panel > a { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink); font-size: .74rem; font-weight: 800; text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }.quiet-action svg, .text-link svg, .dispatch-panel > a svg { width: 15px; height: 15px; stroke-width: 1.9; }.quiet-action:hover, .text-link:hover { color: var(--muted); }

.card { border: 1px solid var(--line); border-radius: 11px; background: var(--card); box-shadow: 0 6px 20px rgba(0, 0, 0, .025); }.stack { display: grid; gap: 1rem; }label { display: grid; gap: .42rem; color: #3e3e3e; font-size: .73rem; font-weight: 800; }.icon-label > span { display: inline-flex; align-items: center; gap: .38rem; }.icon-label svg { width: 14px; height: 14px; stroke-width: 1.8; }input, select { width: 100%; min-height: 44px; border: 1px solid #d8d8d8; border-radius: 7px; outline: 0; color: var(--ink); background: #fff; font: 500 .84rem Inter, sans-serif; padding: .64rem .72rem; transition: border .14s, box-shadow .14s; }input:focus, select:focus { border-color: #111; box-shadow: 0 0 0 3px #ededed; }.select-control { position: relative; display: block; }.select-control select { appearance: none; padding-right: 2.8rem; }.select-control svg { position: absolute; top: 50%; right: .85rem; width: 16px; height: 16px; color: #555; pointer-events: none; transform: translateY(-50%); stroke-width: 1.8; }button { display: inline-flex; align-items: center; justify-content: center; gap: .38rem; min-height: 41px; border: 1px solid var(--ink); border-radius: 7px; color: #fff; background: var(--ink); cursor: pointer; font: 800 .75rem Inter, sans-serif; padding: .6rem .92rem; transition: background .14s, color .14s, transform .14s; }button svg { width: 15px; height: 15px; stroke-width: 1.9; }button:hover { color: #fff; background: #333; transform: translateY(-1px); }button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #111; outline-offset: 2px; }.secondary-button { color: var(--ink); border-color: #d5d5d5; background: #fff; }.danger { min-height: 32px; border-color: #cfcfcf; color: #444; background: #fff; font-size: .66rem; }button.secondary-button:hover, button.danger:hover { border-color: #333; color: #fff; background: #333; }.notice { margin: 0 0 1.5rem; padding: .78rem .88rem; border: 1px solid #c9c9c9; border-radius: 7px; color: #333; background: #fafafa; font-size: .77rem; }

.auth-layout { min-height: calc(100vh - 13rem); display: grid; grid-template-columns: 1fr minmax(320px, .7fr); align-items: center; gap: clamp(2rem, 10vw, 9rem); }.auth-copy { max-width: 505px; }.auth-copy > p:not(.eyebrow) { max-width: 390px; font-size: .98rem; }.auth-card { padding: 1.9rem; }.auth-card h2 { margin-bottom: .35rem; }

.schedule-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(250px, .54fr); gap: 1.15rem; align-items: start; }.schedule-card { padding: clamp(1.2rem, 3vw, 1.9rem); }.card-label { display: flex; align-items: center; gap: .52rem; margin-top: .12rem; }.card-label span { display: grid; width: 20px; aspect-ratio: 1; place-items: center; border: 1px solid #d8d8d8; border-radius: 50%; color: #555; font: .57rem 'DM Mono', monospace; }.card-label p { margin: 0; color: #6d6d6d; font: 700 .6rem 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }.form-fields { padding: .28rem 0; }fieldset { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .5rem; margin: 0; padding: .74rem; border: 1px solid #d8d8d8; border-radius: 7px; }legend { padding: 0 .2rem; color: #3e3e3e; font-size: .73rem; font-weight: 800; }fieldset label { display: flex; align-items: center; gap: .38rem; color: #5d5d5d; font-size: .71rem; font-weight: 600; }fieldset input { width: 14px; min-height: 14px; accent-color: #111; padding: 0; }.dispatch-button { min-height: 49px; margin-top: .32rem; font-size: .8rem; }.dispatch-panel { padding: 1.45rem; border: 1px solid var(--line); border-radius: 11px; background: #fafafa; }.dispatch-panel h2 { margin-bottom: 1.5rem; }.dispatch-panel dl { display: grid; gap: .68rem; margin: 0 0 1.35rem; }.dispatch-panel dl div { display: grid; gap: .18rem; padding-bottom: .68rem; border-bottom: 1px solid var(--line); }.dispatch-panel dt { color: #757575; font-size: .67rem; }.dispatch-panel dd { margin: 0; color: #303030; font-size: .74rem; font-weight: 700; }.spreadsheet-link { color: #303030; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }.spreadsheet-link:hover { color: #676767; }.dispatch-panel > a { color: var(--ink); font-size: .71rem; font-weight: 800; text-decoration: underline; text-underline-offset: .2em; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; margin-bottom: 1.15rem; }.settings-grid { grid-template-columns: minmax(280px, .78fr) minmax(400px, 1.22fr); gap: 1.5rem; align-items: start; }.admin-card { padding: clamp(1.45rem, 3vw, 2rem); }.section-copy { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }.section-copy h2 { margin: 0 0 .38rem; }.section-copy p { margin: 0; }.admin-card form { margin-top: 1.5rem; }.form-card .stack { gap: 1.2rem; }.form-card .muted { margin: -.25rem 0 .2rem; }.import-tools { display: grid; gap: .6rem; padding: 1rem; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; }.import-tools button { justify-self: start; }.import-tools p { margin: 0; font-size: .75rem; }.template-actions, .template-row-actions { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }.template-row-actions .row-action { min-height: 32px; border-color: #cfcfcf; color: #444; background: #fff; font-size: .66rem; }.template-row-actions .row-action:hover { border-color: #333; color: #fff; background: #333; }.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; }.field-row button { align-self: end; }.user-list { display: grid; gap: .55rem; padding: 0; margin: 0; list-style: none; }.user-list li { display: flex; align-items: center; gap: .5rem; color: #404040; font-size: .76rem; }.user-list small { margin-left: auto; color: #888; font: .56rem 'DM Mono', monospace; text-transform: uppercase; }.user-initial { display: grid; width: 22px; aspect-ratio: 1; place-items: center; border: 1px solid var(--line); border-radius: 5px; color: #444; background: #fafafa; font: .57rem 'DM Mono', monospace; }.templates-card { padding: clamp(1.45rem, 3vw, 2rem); }.section-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }.section-head h2 { margin: 0; }.count-pill { min-width: 27px; border: 1px solid var(--line); border-radius: 99px; color: #555; background: #fafafa; font: .6rem 'DM Mono', monospace; padding: .36rem .48rem; text-align: center; }.templates-card ul { display: grid; gap: .7rem; padding: 0; margin: 0; list-style: none; }.templates-card li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 8px; }.templates-card strong { font-size: .82rem; }.templates-card li p { margin: .2rem 0 0; color: #7d7d7d; font: .62rem 'DM Mono', monospace; }.templates-card li p span { color: #aaa; }.inline-form { flex: 0 0 auto; }

.table-wrap { overflow-x: auto; }.jobs-card { padding: .32rem; }.jobs-card table { width: 100%; min-width: 780px; table-layout: fixed; border-collapse: collapse; font-size: .74rem; }.jobs-card th:nth-child(1) { width: 13%; }.jobs-card th:nth-child(2) { width: 16%; }.jobs-card th:nth-child(3) { width: 14%; }.jobs-card th:nth-child(4) { width: 12%; }.jobs-card th:nth-child(5) { width: 35%; }.jobs-card th:nth-child(6) { width: 10%; }th, td { padding: .88rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }th { color: #858585; font: .57rem 'DM Mono', monospace; letter-spacing: .07em; text-transform: uppercase; }td { color: #3c3c3c; }tbody tr:last-child td { border-bottom: 0; }.value-stack { display: grid; align-content: start; gap: .17rem; color: #6a6a6a; line-height: 1.45; overflow-wrap: anywhere; }.job-result { color: #555; line-height: 1.45; overflow-wrap: anywhere; }.job-action { white-space: nowrap; }.status { display: inline-flex; align-items: center; gap: .32rem; padding: .27rem .43rem; border: 1px solid #dedede; border-radius: 99px; color: #505050; background: #fafafa; font: .55rem 'DM Mono', monospace; text-transform: uppercase; }.status::before { width: 5px; height: 5px; border-radius: 50%; background: #6c6c6c; content: ''; }.submitted::before { background: #111; }.failed::before, .outcome_unknown::before { background: #777; }.attempting::before { background: #444; }.empty-state { padding: clamp(2rem, 7vw, 4rem); text-align: center; }.empty-state h2 { margin: .78rem 0 .34rem; }.empty-state p { max-width: 340px; margin: 0 auto 1rem; }.empty-mark { display: inline-grid; width: 38px; aspect-ratio: 1; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: #444; background: #fafafa; font: 1.2rem 'DM Mono', monospace; }

@media (max-width: 860px) { .settings-grid { grid-template-columns: 1fr; } }@media (max-width: 760px) { body { background-size: 100% 100%, 100% auto; background-position: center, center bottom; }.topbar { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; gap: .48rem; padding: .62rem .7rem .48rem; }.welcome-message { font-size: .7rem; }nav { width: 100%; gap: .08rem; margin-left: 0; padding-top: .38rem; border-top: 1px solid rgba(81, 78, 67, .16); }nav > form { display: flex; flex: 1 1 0; }nav a, .link-button { flex: 1 1 0; justify-content: center; min-height: 34px; padding: .44rem .25rem; font-size: .64rem; }.link-button { width: 100%; }.page { width: min(100% - 1.4rem, 1020px); padding-top: 2.35rem; }.page-heading, .page-heading.compact { align-items: start; flex-direction: column; gap: .68rem; margin-bottom: 1.75rem; }.auth-layout, .schedule-layout, .grid { grid-template-columns: 1fr; }.auth-layout { min-height: auto; gap: 2.4rem; }.field-row { grid-template-columns: 1fr; }.templates-card li { align-items: start; flex-direction: column; }.auth-card, .schedule-card { padding: 1.18rem; }.jobs-card { padding: 0; overflow: visible; border: 0; background: transparent; box-shadow: none; }.jobs-card table, .jobs-card tbody, .jobs-card tr, .jobs-card td { display: block; min-width: 0; }.jobs-card thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }.jobs-card tbody { display: grid; gap: .72rem; }.jobs-card tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: .48rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: var(--card); box-shadow: 0 6px 20px rgba(0, 0, 0, .025); }.jobs-card td { display: grid; grid-template-columns: 4.65rem minmax(0, 1fr); align-items: start; gap: .72rem; padding: .48rem 0; border-bottom: 1px solid #ececec; line-height: 1.45; }.jobs-card tbody tr:last-child td { border-bottom: 1px solid #ececec; }.jobs-card td:last-child { border-bottom: 0; }.jobs-card td::before { color: #858585; content: attr(data-label); font: .56rem 'DM Mono', monospace; letter-spacing: .06em; text-transform: uppercase; }.jobs-card .job-action { grid-template-columns: 1fr; padding-top: .62rem; }.jobs-card .job-action::before { display: none; }.jobs-card .job-action button { width: 100%; }.jobs-card .job-result, .jobs-card .value-stack { min-width: 0; }.jobs-card .job-result { line-height: 1.52; } }

.schedule-card, .schedule-datetime { min-width: 0; }.schedule-datetime { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }.schedule-datetime input { min-width: 0; }input[type="date"], input[type="time"] { -webkit-appearance: none; appearance: none; }.jobs-card th:nth-child(5) { width: 32%; }.jobs-card th:nth-child(6) { width: 13%; }.jobs-card th:last-child, .jobs-card .job-action { padding-right: 1.45rem; text-align: right; }.jobs-card .job-action form { display: inline-flex; }.value-stack { display: flex; flex-wrap: wrap; align-content: start; align-items: flex-start; gap: .35rem; }.value-chip { display: inline-flex; max-width: 100%; padding: .25rem .46rem; border: 1px solid #dedede; border-radius: 999px; color: #555; background: #fafafa; font: .59rem 'DM Mono', monospace; line-height: 1.2; overflow-wrap: anywhere; }.confirm-dialog { width: min(390px, calc(100% - 2rem)); padding: 0; border: 1px solid #c8cba0; border-radius: 11px; color: var(--ink); background: #fff; box-shadow: 0 18px 55px rgba(0, 0, 0, .2); }.confirm-dialog::backdrop { background: rgba(26, 27, 17, .28); }.confirm-dialog-content { display: grid; gap: .55rem; padding: 1.35rem; }.confirm-dialog-content .eyebrow { margin: 0; color: #66684c; }.confirm-dialog-content h2 { margin: 0; }.confirm-dialog-content > p:not(.eyebrow) { margin: 0; font-size: .78rem; }.confirm-dialog-actions { display: flex; justify-content: end; gap: .55rem; margin-top: .65rem; }.confirm-dialog-actions button { min-height: 37px; }.confirm-dialog-actions .secondary-button:hover { color: #fff; background: #333; }

@media (max-width: 760px) { .schedule-datetime { grid-template-columns: minmax(0, 1fr); gap: 1rem; }.schedule-datetime input { width: 100%; max-width: 100%; }.jobs-card th:last-child, .jobs-card .job-action { padding-right: 0; text-align: left; }.jobs-card .value-stack { display: flex; gap: .35rem; }.jobs-card .value-chip { font-size: .62rem; }.confirm-dialog-actions { display: grid; grid-template-columns: 1fr; }.confirm-dialog-actions button { width: 100%; } }

.status.scheduled { border-color: #cad4ef; color: #415784; background: #e8efff; }.status.scheduled::before { background: #6483bd; }.status.attempting { border-color: #ead79d; color: #78601d; background: #fff3cf; }.status.attempting::before { background: #b38b2f; }.status.submitted { border-color: #b9dec7; color: #2f6e49; background: #e1f4e7; }.status.submitted::before { background: #4c9a69; }.status.failed { border-color: #eec2c0; color: #914a48; background: #fce7e5; }.status.failed::before { background: #c46b67; }.status.outcome_unknown { border-color: #d9c4e7; color: #6e4b86; background: #f0e7f7; }.status.outcome_unknown::before { background: #9a70b6; }.status.cancelled { border-color: #d8d8d8; color: #686868; background: #efefef; }.status.cancelled::before { background: #929292; }.notice { border-color: #eed5a0; color: #725919; background: #fff4d8; }.notice.error { border-color: #edc4c1; color: #8b4946; background: #fde9e7; }

.spreadsheet-link { display: inline-flex; align-items: center; gap: .32rem; }.spreadsheet-link svg { width: 13px; height: 13px; stroke-width: 1.9; }

.required-marker { color: #bc4d4a; }
