:root {
    --ink: #0b111e;
    --panel: #111a2b;
    --panel-2: #162238;
    --line: rgba(255, 255, 255, .11);
    --text: #eef4ff;
    --muted: #a9b8cc;
    --blue: #00adee;
    --blue-dark: #007ab0;
    --green: #21b76b;
    --red: #ef4444;
    --yellow: #f4c542;
    --shadow: 0 24px 70px rgba(0, 0, 0, .28);
    --page-gutter: clamp(1rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html {
    overflow-x: clip;
}
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(0, 173, 238, .24), transparent 34rem),
        linear-gradient(135deg, #07101c 0%, var(--ink) 45%, #101827 100%);
    min-height: 100vh;
    overflow-x: clip;
}

a { color: var(--blue); text-decoration: none; }
button, input, select, textarea { font: inherit; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 8000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: .75rem var(--page-gutter);
    background: rgba(7, 16, 28, .82);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
}
.brand-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}
.brand-logo {
    display: block;
    width: clamp(130px, 14vw, 205px);
    height: auto;
    margin-bottom: 0;
    filter: drop-shadow(0 10px 24px rgba(0, 173, 238, .12));
    flex: 0 0 auto;
}
.hero-title {
    padding: 1.3rem 0 .2rem;
}
.user-line {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin: .65rem 0 0;
    padding: .48rem .75rem;
    color: var(--muted);
    background: rgba(255,255,255,.06);
    border: 1px solid var(--line);
    border-radius: 16px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 750;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.user-line a {
    color: var(--blue);
    font-weight: 850;
}
.user-separator {
    color: rgba(169,184,204,.72);
    font-weight: 900;
}

h1, h2 { margin: .2rem 0 .7rem; letter-spacing: -.03em; }
h1 { font-size: clamp(2.2rem, 5vw, 4.8rem); line-height: .9; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.4rem); }
.eyebrow {
    margin: 0 0 .42rem;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 800;
    font-size: .78rem;
}
.eyebrow + h1,
.eyebrow + h2,
.eyebrow + h3 {
    margin-top: 0;
}
.muted { color: var(--muted); }
.shell {
    max-width: 1680px;
    margin: 0 auto 4rem;
    padding-inline: var(--page-gutter);
}

.login-body { display: grid; place-items: center; padding: 2rem; }
.login-card {
    width: min(520px, 100%);
    background: rgba(17, 26, 43, .92);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.grid { display: grid; gap: 1rem; }
.kpi-carousel {
    margin: 1rem 0;
}
.kpi-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}
.kpi-head h2 { margin-bottom: 0; }
.kpi-arrow {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 16px;
    color: var(--text);
    background: rgba(255,255,255,.07);
    border: 1px solid var(--line);
    font-size: 2rem;
    line-height: 1;
}
.kpi-track {
    display: grid;
}
.kpi-slide {
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.kpi-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.kpi-dots {
    display: flex;
    justify-content: center;
    gap: .45rem;
    margin-top: .75rem;
}
.kpi-dots span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.22);
}
.kpi-dots span.is-active {
    width: 28px;
    background: var(--blue);
}
.stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stats article, .panel, .login-card {
    backdrop-filter: blur(18px);
}
.stats article {
    background: rgba(22, 34, 56, .78);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.1rem;
}
.stats span { display: block; color: var(--muted); margin-bottom: .4rem; }
.stats strong { font-size: clamp(1.5rem, 2.6vw, 2.6rem); }

.panel {
    background: rgba(17, 26, 43, .88);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: clamp(1rem, 2vw, 1.6rem);
    margin: 1rem 0;
}
.split {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 1rem;
    align-items: center;
}
.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-pill, .chip, .demo-users {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.06);
    border-radius: 999px;
    padding: .65rem .9rem;
    color: var(--muted);
}
.user-pill {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
    border-radius: 22px;
}
.header-meter {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.ai-meter {
    color: #dff6ff;
    background: rgba(0, 173, 238, .16);
    border: 1px solid rgba(0, 173, 238, .32);
    border-radius: 999px;
    padding: .32rem .55rem;
    font-weight: 900;
}
.inline-reset { display: inline; margin: 0; }
.ai-meter-button {
    cursor: pointer;
    font: inherit;
}
.ai-meter-button:hover {
    border-color: rgba(0, 173, 238, .55);
    background: rgba(0, 173, 238, .24);
}
.demo-users { border-radius: 18px; margin-top: 1rem; line-height: 1.7; }
.access-card {
    border: 1px solid rgba(0, 173, 238, .26);
    background: rgba(0, 173, 238, .08);
    border-radius: 18px;
    padding: .75rem .95rem;
    min-width: 230px;
}
.access-card strong {
    display: block;
    color: var(--blue);
    letter-spacing: .12em;
    font-size: .76rem;
}
.access-card span {
    display: block;
    margin-top: .15rem;
    color: var(--muted);
}

.stack, .upload-box, .chat-form { display: grid; gap: .8rem; }
.upload-box {
    border: 1px dashed rgba(0, 173, 238, .55);
    border-radius: 22px;
    padding: 1.2rem;
    background: rgba(0, 173, 238, .07);
}
.upload-box.is-busy {
    opacity: .72;
    pointer-events: none;
}
.privacy-note {
    color: #cfe6ff;
    background: rgba(255,255,255,.055);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .65rem .75rem;
}

label { display: grid; gap: .35rem; color: var(--muted); font-weight: 700; }
input, select, textarea {
    width: 100%;
    color: var(--text);
    background: rgba(7, 16, 28, .88);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .8rem .9rem;
    outline: none;
}
textarea { min-height: 92px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,173,238,.14); }
#question {
    min-height: 78px;
    font-size: 1.16rem;
    padding: 1.15rem 1.2rem;
}

button {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: .8rem 1.1rem;
    font-weight: 850;
}
.primary { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: white; }
.ghost { background: rgba(255,255,255,.08); color: var(--text); border: 1px solid var(--line); }
.ghost.is-disabled {
    opacity: .58;
    cursor: not-allowed;
}
.small { padding: .55rem .85rem; }

.alert {
    border-radius: 18px;
    padding: .9rem 1rem;
    margin: .75rem 0;
    border: 1px solid var(--line);
    background: rgba(33,183,107,.14);
}
.alert.danger { background: rgba(239,68,68,.18); }
.alert.warn { background: rgba(244,197,66,.16); }

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.confirm-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .8rem;
}
.tecton-ai-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .55rem .8rem;
    color: #07101c;
    background: linear-gradient(135deg, #7dd3fc, var(--blue));
    box-shadow: 0 0 32px rgba(0, 173, 238, .24);
    font-weight: 950;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-size: .78rem;
}
.ghost-badge {
    color: var(--muted);
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line);
    box-shadow: none;
}
.form-grid textarea, .form-actions { grid-column: span 2; }
.form-actions { display: flex; gap: .7rem; align-items: end; }
.user-create-form {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(160px, .7fr) minmax(180px, 1fr) auto;
    gap: .8rem;
    align-items: end;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(0,0,0,.16);
}
.danger-zone {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(180px, .35fr) auto;
    gap: .9rem;
    align-items: end;
    margin: 0 0 1rem;
    padding: 1rem;
    border: 1px solid rgba(239, 68, 68, .36);
    border-radius: 20px;
    background: rgba(239, 68, 68, .08);
}
.danger-zone h3 {
    margin: .15rem 0 .25rem;
}
.danger-zone code {
    color: #ffd1d1;
    font-weight: 950;
}
.user-admin-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}
.user-admin-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1rem;
    background: rgba(255,255,255,.045);
}
.user-admin-card > form.guarded-form:first-child {
    display: contents;
}
.user-admin-title {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    align-items: center;
    margin-bottom: .75rem;
}
.user-admin-title strong {
    font-size: 1.1rem;
}
.user-admin-title span {
    color: var(--muted);
    font-weight: 850;
}
.user-admin-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}
.password-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: .5rem;
    align-items: center;
}
.icon-mini {
    width: 46px;
    height: 46px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.icon-mini .icon {
    width: 21px;
    height: 21px;
}
.checkbox-line {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--muted);
    font-weight: 850;
}
.checkbox-line input {
    width: auto;
}
.user-admin-actions {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .8rem;
}
.delete-user-form {
    display: inline-flex;
    margin: .8rem 0 0 .5rem;
}
.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 56px;
    padding: 0;
}
.icon {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: currentColor;
}

.chat-form { grid-template-columns: 1fr auto; }
.chat-form.is-thinking {
    opacity: .88;
    pointer-events: none;
}
.chat-submit {
    position: relative;
    min-width: 150px;
    overflow: hidden;
}
.chat-submit i {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #dff6ff, transparent);
    animation: button-think 1s ease-in-out infinite;
}
.chat-form.is-thinking .chat-submit i {
    display: block;
}
@keyframes button-think {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.answer {
    margin-top: .9rem;
    background: rgba(0,173,238,.1);
    border: 1px solid rgba(0,173,238,.25);
    border-radius: 18px;
    padding: 1rem;
    font-size: 1.05rem;
}
.report-link {
    margin: .9rem 0 0;
}
.report-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(0, 173, 238, .18);
    border: 1px solid rgba(0, 173, 238, .36);
    border-radius: 999px;
    padding: .7rem 1rem;
    font-weight: 900;
}

.processing {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    place-items: center;
    padding: 1rem;
    background: rgba(5, 12, 22, .72);
    backdrop-filter: blur(14px);
}
.processing.is-visible { display: grid; }
.processing-card {
    width: min(520px, 100%);
    background: linear-gradient(145deg, rgba(17, 26, 43, .96), rgba(22, 34, 56, .96));
    border: 1px solid rgba(0, 173, 238, .28);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 1.6rem;
}
.processing-card small { color: var(--muted); }
.progress {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid var(--line);
    margin: 1rem 0 .75rem;
}
.progress span {
    display: block;
    height: 100%;
    width: 38%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), #7dd3fc, var(--blue));
    animation: processing-slide 1.15s ease-in-out infinite;
}
@keyframes processing-slide {
    0% { transform: translateX(-105%); }
    55% { transform: translateX(110%); }
    100% { transform: translateX(210%); }
}

.table-wrap { overflow: auto; border-radius: 18px; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; min-width: 1650px; background: rgba(5, 12, 22, .46); }
th, td { text-align: left; padding: .75rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th {
    position: sticky;
    top: 0;
    background: #111a2b;
    color: #cfe6ff;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .07em;
}
td { color: #e9f1ff; }
.empty { text-align: center; color: var(--muted); padding: 2rem; }

.badge {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border-radius: 999px;
    padding: .32rem .55rem;
    font-size: .78rem;
    font-weight: 900;
}
.paid, .verify-verificat { background: rgba(33,183,107,.18); color: #73f0ad; border: 1px solid rgba(33,183,107,.38); }
.unpaid, .verify-problema { background: rgba(239,68,68,.18); color: #ff9b9b; border: 1px solid rgba(239,68,68,.38); }
.partial, .verify-de-verificat { background: rgba(244,197,66,.16); color: #ffe083; border: 1px solid rgba(244,197,66,.38); }
.type-primita { background: rgba(125,211,252,.14); color: #b9ecff; border: 1px solid rgba(125,211,252,.34); }
.type-emisa { background: rgba(168,85,247,.16); color: #dec7ff; border: 1px solid rgba(168,85,247,.36); }
.type-neclara { background: rgba(255,255,255,.08); color: var(--muted); border: 1px solid var(--line); }
.mobile-expand { display: none; }

.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: none;
    background: rgba(3, 8, 15, .58);
    backdrop-filter: blur(6px);
}
.invoice-drawer {
    position: fixed;
    z-index: 9010;
    top: 0;
    right: 0;
    width: min(560px, 100vw);
    height: 100vh;
    overflow: auto;
    transform: translateX(105%);
    transition: transform .24s ease;
    background:
        radial-gradient(circle at top left, rgba(0, 173, 238, .2), transparent 22rem),
        linear-gradient(180deg, #111a2b, #07101c);
    border-left: 1px solid rgba(0, 173, 238, .28);
    box-shadow: -20px 0 80px rgba(0, 0, 0, .42);
    padding: 1.2rem;
}
body.has-drawer {
    overflow: hidden;
}
.drawer-backdrop.is-open { display: block; }
.invoice-drawer.is-open {
    transform: translateX(0);
}
.drawer-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    margin: -1.2rem -1.2rem 1rem;
    padding: 1.2rem;
    background: rgba(17, 26, 43, .92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}
.drawer-head h2 { margin-bottom: 0; }
.drawer-close {
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    color: var(--text);
    background: rgba(255,255,255,.08);
    border: 1px solid var(--line);
    font-size: 1.8rem;
    line-height: 1;
}
.drawer-summary {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
    margin-bottom: 1rem;
}
.drawer-summary strong {
    margin-left: auto;
    font-size: 1.35rem;
}
.invoice-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    margin: 0 0 1rem;
}
.invoice-facts div {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: .8rem;
    background: rgba(255,255,255,.045);
}
.invoice-facts dt {
    color: var(--muted);
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 900;
}
.invoice-facts dd {
    margin: .2rem 0 0;
    color: var(--text);
    font-weight: 800;
}
.drawer-form {
    display: grid;
    gap: 1rem;
    padding-bottom: 1rem;
}
.delete-form {
    display: grid;
    gap: 1rem;
    padding-bottom: 2rem;
}
fieldset {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(0,0,0,.18);
}
fieldset legend {
    padding: 0 .4rem;
    color: #cfe6ff;
    font-weight: 950;
}
fieldset textarea { grid-column: span 2; }
.danger-button {
    color: white;
    background: linear-gradient(135deg, #ef4444, #991b1b);
}
.ghost-button {
    color: var(--text);
    background: rgba(255,255,255,.08);
    border: 1px solid var(--line);
}
.ghost-button:hover {
    border-color: rgba(0, 173, 238, .38);
    background: rgba(0, 173, 238, .12);
}
.ghost-button.is-copied {
    color: #73f0ad;
    border-color: rgba(33,183,107,.42);
    background: rgba(33,183,107,.12);
}
.icon-mini.is-submitting {
    opacity: .62;
}
.drawer-actions {
    display: flex;
    gap: .7rem;
    align-items: center;
    justify-content: flex-end;
    margin: 0 -1.2rem -1.2rem;
    padding: .9rem 1.2rem 1.2rem;
    background: linear-gradient(180deg, rgba(7, 16, 28, .68), rgba(7, 16, 28, .96));
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

@media (max-width: 1000px) {
    .panel-head, .split { grid-template-columns: 1fr; flex-direction: column; align-items: stretch; }
    .topbar { align-items: flex-start; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-grid, .chat-form { grid-template-columns: 1fr; }
    .user-create-form, .danger-zone, .user-admin-list, .user-admin-fields { grid-template-columns: 1fr; }
    .form-grid textarea, .form-actions { grid-column: auto; }
    .form-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }
    .form-actions .icon-button {
        width: 100%;
        height: 58px;
        border-radius: 18px;
    }
}

@media (max-width: 760px) {
    .topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .7rem;
        padding: .8rem 1rem;
    }
    .brand-block { gap: .75rem; }
    .brand-logo { width: 128px; }
    .header-meter { margin-left: 0; }
    .shell { padding-inline: 1rem; }
    .stats { grid-template-columns: 1fr; }
    .table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
    }
    table, thead, tbody, tr, th, td {
        display: block;
        min-width: 0;
        width: 100%;
    }
    thead { display: none; }
    tbody { display: grid; gap: .9rem; }
    tr {
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(5, 12, 22, .52);
        overflow: hidden;
    }
    td {
        display: grid;
        grid-template-columns: minmax(9rem, .8fr) 1.2fr;
        gap: .8rem;
        padding: .72rem .85rem;
        border-bottom: 1px solid var(--line);
    }
    td::before {
        content: attr(data-label);
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: .06em;
        font-size: .72rem;
        font-weight: 950;
    }
    td:last-child { border-bottom: 0; }
    td[data-mobile-extra] {
        display: none;
    }
    tr.is-expanded td[data-mobile-extra] {
        display: grid;
    }
    td[data-label="Furnizor"] {
        grid-template-columns: auto 1fr;
        align-items: center;
    }
    td[data-label="Furnizor"]::before { display: none; }
    .mobile-expand {
        display: inline-grid;
        place-items: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border-radius: 14px;
        color: #dff6ff;
        background: rgba(0, 173, 238, .14);
        border: 1px solid rgba(0, 173, 238, .32);
        font-size: 1.45rem;
        line-height: 1;
    }
    tr.is-expanded .mobile-expand {
        background: rgba(255,255,255,.08);
        border-color: var(--line);
    }
    .supplier-name {
        font-size: 1.35rem;
        font-weight: 950;
        overflow-wrap: anywhere;
    }
    td[data-label="Acțiuni"] {
        display: block;
    }
    td[data-label="Acțiuni"]::before {
        display: block;
        margin-bottom: .6rem;
    }
    .invoice-drawer {
        width: 100vw;
        max-width: 100vw;
        border-left: 0;
        border-radius: 0;
        padding: 1rem;
        background: linear-gradient(180deg, #07101c 0%, #0b111e 48%, #07101c 100%);
    }
    .drawer-backdrop.is-open {
        display: block;
        background: #07101c;
        backdrop-filter: none;
    }
    .drawer-head {
        position: relative;
        margin: -1rem -1rem 1rem;
        padding: 1rem;
        background: #111a2b;
        backdrop-filter: none;
    }
    .drawer-head h2 {
        font-size: clamp(1.25rem, 7vw, 2rem);
        line-height: 1.05;
        overflow-wrap: anywhere;
    }
    .invoice-facts, fieldset { grid-template-columns: 1fr; }
    fieldset textarea { grid-column: auto; }
    .drawer-summary strong {
        width: 100%;
        margin-left: 0;
    }
    .drawer-actions {
        position: static;
        justify-content: stretch;
        margin: .2rem 0 0;
        padding: 0 0 1rem;
        background: transparent;
        border-top: 0;
        backdrop-filter: none;
    }
    .drawer-actions button { flex: 1; }
}
