* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--tr-text); font: 14px/1.55 var(--tr-font); background: #e3edf5 url('/scenery.webp') center / cover fixed; }
body::before { content: ''; position: fixed; inset: 0; background: linear-gradient(110deg, #eaf3fad9, #e8f0f69c); z-index: -1; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; color: var(--tr-text); border: 1px solid #8799ae; background: #ffffffba; border-radius: 10px; padding: 10px 15px; font-weight: 550; }
button:hover { background: #fff; }
button:disabled { opacity: .55; cursor: wait; }
button.primary { background: #225de8; border-color: #225de8; color: white; box-shadow: 0 5px 15px #225de81a; }
button.primary:hover { background: #164dd1; }
button.quiet { background: transparent; padding: 6px 10px; font-size: 12px; }
:focus-visible { outline: 3px solid var(--tr-focus); outline-offset: 3px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 86px; padding: 18px 4vw; border-bottom: 1px solid #ffffffa6; background: #f4faff83; backdrop-filter: blur(24px); }
.brand { display: flex; gap: 12px; align-items: center; color: #172335; text-decoration: none; font-size: 19px; font-weight: 700; letter-spacing: .16em; }
.brand small { display: block; font-size: 8px; letter-spacing: .2em; font-weight: 550; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.top-actions select { width: auto; margin: 0; }
main { max-width: 1500px; margin: auto; padding: 40px 4vw 24px; }
h1 { font-size: clamp(28px, 3vw, 40px); font-weight: 550; line-height: 1.2; letter-spacing: -.045em; margin: 7px 0 12px; }
h2 { font-size: 18px; font-weight: 600; letter-spacing: -.025em; margin: 0 0 14px; }
p { margin: 8px 0 16px; color: var(--tr-muted); }
.eyebrow { font-size: 10px; letter-spacing: .17em; color: #465c77; font-weight: 650; margin: 0 0 12px; }
.heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.glass { border: 1px solid #ffffffe6; border-radius: 22px; background: #f4faffd9; backdrop-filter: blur(24px); box-shadow: 0 12px 40px #2946680b, inset 0 1px 0 #fff; padding: 26px; }
.workspace-grid { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 22px; align-items: start; }
.sidebar { position: sticky; top: 24px; padding: 22px 16px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.section-heading h2 { margin: 0; }
.sidebar nav { display: grid; gap: 8px; margin: 18px 0 25px; }
.task-link { text-align: left; border-color: transparent; background: #ffffff80; padding: 13px; overflow-wrap: anywhere; }
.task-link.active { border-color: #98b9ed; background: #e6efff; color: #174aab; }
.task-link small { display: block; color: #56677d; margin-top: 6px; font-weight: 400; }
.content { min-width: 0; }
#task { display: grid; gap: 18px; }
.task-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.task-heading h2 { font-size: 24px; margin-bottom: 8px; overflow-wrap: anywhere; }
.task-heading p { margin-bottom: 0; }
.pill { border: 1px solid #b6c9dc; border-radius: 30px; background: #f4faffb8; padding: 5px 11px; font-size: 11px; white-space: nowrap; }
.amber { color: #794a0b; background: #fff4dcb3; border-color: #dcc594; }
.policy blockquote { border-left: 3px solid #225de8; padding: 6px 18px; margin: 18px 0; font-size: 16px; }
.review-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; }
.receipt-paper { margin: 24px 0; padding: 25px 20px; border: 1px solid #d8dfdf; background: #fffef9; box-shadow: 0 7px 18px #17233508; transform: rotate(-1deg); }
.receipt-tag { display: block; color: #626a6a; letter-spacing: .2em; font: 10px monospace; border-bottom: 1px dashed #b9c3c4; padding-bottom: 15px; }
pre { font: 14px/2 monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.fine { font-size: 11px; color: #53667d; overflow-wrap: anywhere; }
label { display: block; margin: 12px 0 6px; font-size: 12px; font-weight: 600; }
input, select, textarea { width: 100%; color: #172335; background: #ffffffd9; border: 1px solid #8397ad; border-radius: 9px; padding: 10px 12px; min-width: 0; }
textarea { resize: vertical; }
input[readonly] { background: #e9eff4; }
.field-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
form > button { margin-top: 20px; }
.review-note { border-left: 2px solid #b18c49; background: #fff6e8aa; padding: 12px 14px; font-size: 11px; margin-top: 18px; }
.review-note p { margin: 3px 0 0; color: #655538; }
.history-item { padding: 14px 0; border-top: 1px solid #c9d7e5; }
.history-item summary { cursor: pointer; font-size: 12px; }
.history-item p { font-size: 12px; margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.empty { text-align: center; padding: 70px 30px; }.empty img { margin-bottom: 24px; }
.login { max-width: 550px; margin: 25px auto 40px; padding: 40px; }.login form { margin-top: 25px; }.login .fine { margin-top: 22px; }
.notice { position: sticky; bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 25px; padding: 14px 20px; background: #eff7ff; border: 1px solid #9db5cb; border-radius: 14px; box-shadow: 0 8px 30px #17233515; font-size: 12px; z-index: 2; }
.notice[data-state="error"] { background: #fff2ef; border-color: #c3958c; }.notice[data-state="saved"] { background: #edf8f0; border-color: #95bba4; }
footer { text-align: center; font-size: 10px; color: #53667d; margin-top: 25px; }
dialog { max-width: min(460px, calc(100vw - 32px)); border: 1px solid #9db5cb; border-radius: 20px; padding: 28px; background: #f4faff; color: #172335; box-shadow: 0 20px 80px #17233530; }
dialog::backdrop { background: #17233566; backdrop-filter: blur(5px); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
[hidden] { display: none !important; }
@media (max-width: 1000px) { .workspace-grid { grid-template-columns: 210px minmax(0,1fr); }.review-grid { grid-template-columns: 1fr; }.glass { padding: 22px; } }
@media (max-width: 700px) { .topbar { align-items: flex-start; gap: 12px; padding: 16px; }.top-actions { flex-wrap: wrap; justify-content: flex-end; gap: 6px; }.top-actions .pill { display: none; }.top-actions select { max-width: 145px; font-size: 11px; }.brand { font-size: 15px; }.brand small { font-size: 7px; }.brand img { width: 28px; }main { padding: 26px 14px; }.heading { align-items: flex-start; flex-direction: column; }.workspace-grid { grid-template-columns: 1fr; }.sidebar { position: static; }.sidebar nav { margin: 12px 0; }.sidebar .fine { margin-bottom: 0; }.task-heading { align-items: flex-start; }.task-heading h2 { font-size: 21px; }.login { padding: 25px; margin-top: 0; }.notice { flex-direction: column; align-items: flex-start; }.field-row { grid-template-columns: 1.6fr 1fr; } }
@media (prefers-reduced-transparency: reduce) { .glass,.topbar { background: #f4faff; backdrop-filter: none; } }
