@charset "UTF-8";

:root {
    color-scheme: light;
    font-family: "Segoe UI", system-ui, sans-serif;
    color: #192737;
    background: #f2f6f7;
    --accent: #086353;
    --line: #d7e3e5;
    --muted: #4e626d;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #318a7a; outline-offset: 3px; }
.top { background: #fff; border-bottom: 1px solid var(--line); }
.bar {
    max-width: 58rem;
    margin: auto;
    padding: .85rem clamp(1rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: #192737;
    font-size: 1.1rem;
    font-weight: 750;
    text-decoration: none;
}
.mark {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    background: var(--accent);
    color: white;
    border-radius: .7rem;
    font-size: 1.5rem;
}
main { margin: 0 auto; padding: clamp(1.25rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem); }
.narrow { max-width: 32rem; }
.dashboard { max-width: 58rem; }
.panel, .record, .empty {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
}
.panel { padding: clamp(1.25rem, 5vw, 2.25rem); box-shadow: 0 7px 24px #1938430a; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(1.8rem, 6vw, 2.55rem); line-height: 1.15; letter-spacing: -.045em; }
h2 { font-size: 1.35rem; letter-spacing: -.025em; }
.panel > p { margin-top: .75rem; line-height: 1.55; color: var(--muted); }
.panel > form, .panel > .button { margin-top: 1.5rem; }
label { display: block; margin-bottom: .5rem; font-weight: 650; }
input:not([type="hidden"]) {
    width: 100%;
    min-width: 0;
    border: 1px solid #adbec4;
    border-radius: .65rem;
    padding: .75rem .9rem;
    color: inherit;
    background: #fff;
    font: inherit;
}
button, .button {
    display: inline-block;
    padding: .72rem 1rem;
    min-height: 2.75rem;
    border: 1px solid transparent;
    border-radius: .65rem;
    background: var(--accent);
    color: white;
    font: inherit;
    font-weight: 650;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
button[hidden] { display: none; }
button:hover, .button:hover { background: #064d42; }
.login button { width: 100%; margin-top: 1rem; }
.create { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; }
.records { margin-top: 2rem; }
.section-heading { display: flex; align-items: baseline; gap: .75rem; margin-bottom: .8rem; }
.section-heading span { color: var(--muted); }
.record {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    margin-bottom: .65rem;
}
.details { display: grid; gap: .35rem; min-width: 0; overflow-wrap: anywhere; }
.short { font-weight: 700; }
.destination, time { color: var(--muted); font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.quiet, .danger { background: #fff; color: var(--accent); border-color: var(--line); }
.quiet:hover { background: #e8f4ef; }
.danger { color: #9d2336; }
.danger:hover { background: #fcecef; }
.empty { padding: 1.15rem; color: var(--muted); }
.panel .notice { padding: .65rem .85rem; border-radius: .5rem; }
.panel .error { color: #852538; background: #fcecef; }
.panel .success { color: #095749; background: #e5f3ed; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 40rem) {
    .create { grid-template-columns: minmax(0, 1fr); }
    .record { align-items: flex-start; flex-direction: column; }
}
