@font-face { font-family: "Gilroy"; src: url("/assets/fonts/gilroy-regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("/assets/fonts/gilroy-medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("/assets/fonts/gilroy-semibold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("/assets/fonts/gilroy-bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root { --green: #00AE2C; --primary-text: #062B16; --yellow: #FFE636; --red: #E5020C; --ink: #123C28; --muted: #416754; --surface: rgba(255, 255, 255, .76); --line: rgba(255, 255, 255, .92); --page: #edf9ed; }
* { box-sizing: border-box; }
html { background: var(--page); color: var(--ink); font-family: Gilroy, system-ui, "Noto Sans", sans-serif; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: #f8fff8; }
button, input, select, textarea { font: inherit; }
button, .button { min-height: 48px; border-radius: 14px; border: 1px solid transparent; padding: 12px 16px; font-weight: 600; cursor: pointer; text-align: center; }
button:disabled { cursor: wait; opacity: .62; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
a { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
#app { width: min(100%, 960px); margin: 0 auto; padding: max(14px, env(safe-area-inset-top)) 14px calc(30px + env(safe-area-inset-bottom)); }
.shell { display: grid; gap: 14px; }
.glass { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(18, 60, 40, .10); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 20px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; }
.brand { letter-spacing: .08em; font-size: 18px; font-weight: 700; white-space: nowrap; }
.language { min-height: 40px; border: 1px solid rgba(18, 60, 40, .2); border-radius: 10px; background: #fff; color: var(--ink); padding: 0 8px; }
.card { padding: 18px; display: grid; gap: 12px; }
.task-layout { display: grid; gap: 14px; }
.dashboard-layout { display: grid; gap: 14px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.metric { padding: 14px; min-width: 0; }
.metric strong { display: block; font-size: 28px; }
.eyebrow, .meta { color: var(--muted); font-size: 14px; }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(24px, 8vw, 34px); line-height: 1.05; }
h2 { font-size: 20px; }
h3 { font-size: 17px; }
.status { display: inline-flex; align-items: center; width: fit-content; min-height: 28px; padding: 5px 10px; border: 1px solid rgba(18, 60, 40, .18); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(18px, 1fr)); gap: 5px; }
.step { height: 6px; background: #d9eadb; border-radius: 999px; }
.step.active { background: var(--green); }
.primary { background: var(--green); color: var(--primary-text); }
.secondary { background: #fff; border-color: rgba(18, 60, 40, .22); color: var(--ink); }
.caution { background: var(--yellow); color: var(--ink); }
.danger { background: var(--red); color: #fff; }
.actions, .inline-actions { display: grid; gap: 10px; }
.inline-actions { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.list { display: grid; gap: 10px; }
.access-form, .user-row { display: grid; gap: 10px; }
.user-row, .evidence { padding: 14px; border: 1px solid rgba(18, 60, 40, .14); border-radius: 16px; background: rgba(255, 255, 255, .82); }
.delivery { width: 100%; color: inherit; display: grid; gap: 5px; text-align: left; background: #fff; border-color: rgba(18, 60, 40, .14); }
.delivery[aria-current="true"] { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.filters { display: grid; gap: 10px; grid-template-columns: 1fr; }
label { display: grid; gap: 6px; font-weight: 600; }
input, select, textarea { width: 100%; min-height: 48px; border: 1px solid rgba(18, 60, 40, .25); border-radius: 12px; padding: 10px 12px; color: var(--ink); background: #fff; }
textarea { min-height: 100px; resize: vertical; }
.notice { padding: 12px 14px; border-radius: 14px; font-weight: 600; }
.notice.error { background: #fff0f0; color: #8d050b; border: 1px solid var(--red); }
.notice.offline { background: #fffbea; border: 1px solid #d8bf00; color: #544800; }
.notice.warning { background: #fffbea; border: 1px solid #d8bf00; color: #544800; }
.empty { text-align: center; padding: 30px 18px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
dialog { width: min(100% - 28px, 480px); border: 1px solid var(--line); border-radius: 20px; background: #f8fff8; color: var(--ink); padding: 0; box-shadow: 0 18px 60px rgba(18, 60, 40, .25); }
dialog::backdrop { background: rgba(18, 60, 40, .35); }
.modal { display: grid; gap: 14px; padding: 20px; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 680px) { #app { padding-top: 28px; } .dashboard-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .filters { grid-template-columns: 1fr 1fr auto; align-items: end; } .actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
@supports not (backdrop-filter: blur(1px)) { .glass { background: #ffffff; box-shadow: 0 4px 16px rgba(18, 60, 40, .12); } }
