:root { --ink:#10201d; --muted:#66736d; --paper:#f7f5ee; --panel:#fffefa; --line:#e3e1d7; --green:#1d5c4e; --mint:#d7eadc; --orange:#d76534; --shadow:0 18px 45px rgba(27, 50, 42, .09); }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button,input { font:inherit; }
button { cursor:pointer; border:0; }
.shell { max-width:1210px; margin:0 auto; padding:20px 30px 72px; }
.topbar { display:flex; justify-content:space-between; align-items:center; padding:4px 0 28px; }
.topbar-actions { display:flex; align-items:center; gap:9px; }.install-app-button { padding:8px 11px; color:var(--green); background:#e5eee5; font-size:11px; }
.brand { display:flex; align-items:center; gap:9px; font-family:Georgia,serif; font-weight:700; font-size:21px; letter-spacing:-.4px; }
.brand small { margin-left:6px; color:var(--muted); font:600 10px/1.1 Inter,sans-serif; letter-spacing:1.35px; text-transform:uppercase; }
.brand-mark { display:grid; width:31px; height:31px; place-items:center; color:#eff5ed; background:var(--green); border-radius:50% 50% 46% 46%; font-size:16px; }
.connection { padding:8px 11px; color:var(--green); background:var(--mint); border-radius:20px; font-size:12px; font-weight:700; }
.hero { padding:48px 0 42px; max-width:720px; }
.eyebrow { margin:0 0 8px; color:var(--orange); font-size:11px; line-height:1.25; font-weight:800; letter-spacing:1.35px; text-transform:uppercase; }
h1,h2,h3,p { margin-top:0; }
h1,h2,h3 { font-family:Georgia,"Times New Roman",serif; letter-spacing:-.04em; }
h1 { margin-bottom:19px; font-size:clamp(42px,6vw,70px); line-height:.98; font-weight:500; }
h2 { margin-bottom:0; font-size:33px; line-height:1; font-weight:500; }
h3 { margin-bottom:0; font-size:22px; line-height:1; font-weight:500; }
.lead { max-width:555px; color:var(--muted); font-size:16px; line-height:1.55; }
.access-card { display:flex; justify-content:space-between; gap:36px; padding:29px 31px; background:var(--green); color:#f4f4e9; border-radius:18px; box-shadow:var(--shadow); }
.access-card .eyebrow { color:#a7dbb0; }.access-card h2 { font-size:32px; }.access-card p:not(.eyebrow) { max-width:430px; margin:10px 0 0; color:#c9d9d0; line-height:1.45; }
.access-card form { min-width:min(100%,386px); align-self:center; }.access-card label { display:block; margin-bottom:7px; color:#c9d9d0; font-size:12px; font-weight:700; }.access-card form > input { width:100%; margin:0 0 13px; padding:12px 13px; color:var(--ink); background:#fffefa; border:0; border-radius:8px; outline:2px solid transparent; }.access-card form > input:focus { outline-color:#a7dbb0; }
.access-row,.import-row { display:flex; gap:10px; }.access-row input { min-width:0; flex:1; padding:12px 13px; color:var(--ink); background:#fffefa; border:0; border-radius:8px; outline:2px solid transparent; }.access-row input:focus { outline-color:#a7dbb0; }
button { padding:11px 16px; color:#fff; background:var(--orange); border-radius:8px; font-weight:800; font-size:13px; transition:transform .15s ease, opacity .15s ease; } button:hover { transform:translateY(-1px); } button:disabled { cursor:wait; opacity:.6; transform:none; }
.form-message { min-height:19px; margin:8px 0 0; color:#b8ead0 !important; font-size:12px; }.form-message.error { color:#ffd1b8 !important; }
.dashboard { margin-top:60px; }.hidden { display:none; }.section-heading,.panel-title { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; }.quiet-button,.link-button { padding:0; color:var(--green); background:transparent; font-size:12px; font-weight:800; }.quiet-button { padding:10px 13px; background:#e5eee5; border-radius:8px; }.metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:25px 0 14px; }.metric,.panel { background:var(--panel); border:1px solid var(--line); border-radius:14px; box-shadow:0 4px 18px rgba(25,42,35,.025); }.metric { min-height:152px; padding:21px; display:flex; flex-direction:column; }.metric span,.metric small { color:var(--muted); font-size:12px; }.metric strong { margin:auto 0 5px; font:500 33px/1 Georgia,serif; letter-spacing:-1.6px; }.metric.attention { background:#fff3e9; border-color:#f1d3bd; }.metric.attention strong { color:var(--orange); }
.grid-primary { display:grid; grid-template-columns:1.55fr 1fr; gap:14px; }.grid-secondary { display:grid; grid-template-columns:1.55fr 1fr; gap:14px; margin-top:14px; }.panel { padding:23px; }.panel-title span,.file-tag { color:var(--muted); font-size:11px; font-weight:700; }.chart-panel { min-height:292px; }.bar-chart { height:210px; display:flex; align-items:flex-end; gap:20px; padding:22px 2px 0; }.bar { display:flex; flex:1; flex-direction:column; justify-content:flex-end; height:100%; gap:8px; }.bar div { position:relative; min-height:4px; background:var(--green); border-radius:5px 5px 2px 2px; }.bar strong { align-self:center; color:var(--muted); font-size:11px; font-weight:700; }.bar span { position:absolute; top:-19px; width:100%; color:var(--green); font-size:10px; font-weight:800; text-align:center; }.report-panel { background:#f0f4ec; }.report-panel > p { color:var(--muted); font-size:13px; line-height:1.5; }.report-total { margin:45px 0 8px; font:500 38px/1 Georgia,serif; letter-spacing:-1.7px; }.expense-total { display:flex; justify-content:space-between; padding-top:17px; margin-top:19px; border-top:1px solid #d7e1d2; color:var(--muted); font-size:12px; }.expense-total strong { color:var(--ink); font-size:14px; }
.table-wrap { overflow-x:auto; } table { width:100%; margin-top:19px; border-collapse:collapse; font-size:13px; } th { padding:0 10px 9px 0; color:var(--muted); text-align:left; font-size:10px; letter-spacing:.4px; text-transform:uppercase; } td { padding:11px 10px 11px 0; border-top:1px solid var(--line); white-space:nowrap; } td:first-child { max-width:240px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:700; }.table-note { margin:13px 0 0; color:var(--muted); font-size:12px; line-height:1.45; }.positive { color:var(--green); font-weight:800; }.negative { color:var(--orange); font-weight:800; }.alert-panel { background:#fffaf5; }.empty-text { margin:32px 0 0; color:var(--muted); line-height:1.5; font-size:14px; }.import-panel { margin-top:14px; }.import-panel > p { max-width:660px; margin:15px 0; color:var(--muted); line-height:1.5; font-size:13px; }.import-row input { width:100%; min-width:0; padding:10px; color:var(--muted); border:1px dashed #b8c4bb; border-radius:8px; background:#fafbf7; font-size:12px; }.imports-panel { margin-top:14px; }.imports-list { margin-top:14px; }.import-record { display:grid; grid-template-columns:minmax(0,1fr) 120px 95px; gap:12px; padding:11px 0; border-top:1px solid var(--line); font-size:13px; }.import-record span { color:var(--muted); font-size:12px; }.import-record b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
dialog { width:min(740px,calc(100% - 30px)); max-height:75vh; padding:30px; color:var(--ink); background:var(--paper); border:0; border-radius:16px; box-shadow:0 25px 80px rgba(0,0,0,.28); }dialog::backdrop { background:rgba(8,24,20,.55); }.modal-close { position:absolute; top:13px; right:13px; width:30px; height:30px; padding:0; color:var(--green); background:#e4ece3; border-radius:50%; font-size:20px; line-height:1; }.modal-row { display:grid; grid-template-columns:110px 1fr 90px; gap:10px; padding:12px 0; border-top:1px solid var(--line); font-size:13px; }.modal-row span { color:var(--muted); }
@media (max-width:800px) { .shell { padding:16px 16px 48px; }.hero { padding:34px 0; }.access-card,.grid-primary,.grid-secondary { grid-template-columns:1fr; display:grid; }.metrics { grid-template-columns:repeat(2,1fr); }.report-total { margin-top:25px; }.import-record { grid-template-columns:1fr; gap:4px; }.access-row,.import-row { flex-direction:column; }.access-card form { min-width:0; }.bar-chart { gap:10px; } }
@media (max-width:420px) { .metrics { grid-template-columns:1fr; } h1 { font-size:44px; } }

/* Monthly settlement is a readable set of restaurant cards, not a spreadsheet. */
.monthly-result { margin:26px 0 14px; overflow:hidden; background:var(--panel); border:1px solid var(--line); border-radius:14px; box-shadow:0 4px 18px rgba(25,42,35,.025); }
.monthly-result-top { display:flex; justify-content:space-between; align-items:end; gap:22px; padding:23px 24px 21px; }.monthly-result-top h3 { font-family:Inter,ui-sans-serif,system-ui,sans-serif; font-size:26px; font-weight:800; letter-spacing:-.7px; }
.monthly-controls { display:flex; flex-wrap:wrap; gap:10px; }.monthly-controls label { display:flex; align-items:center; gap:10px; padding:7px 8px 7px 12px; border:1px solid #d8d8ca; border-radius:8px; color:var(--ink); background:#fff; font-size:12px; font-weight:800; white-space:nowrap; }.monthly-controls select { min-width:130px; padding:9px 27px 9px 10px; border:0; border-radius:5px; outline:0; color:#1c2923; background:#fff500; font:800 13px/1 Inter,ui-sans-serif,system-ui,sans-serif; cursor:pointer; }.monthly-controls select:focus { outline:2px solid #c2ad00; outline-offset:2px; }
.monthly-overview { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--line); }.monthly-overview-item { min-width:0; padding:17px 20px; background:#f8faf5; }.monthly-overview-item span,.monthly-overview-item small { display:block; color:var(--muted); font-size:11px; font-weight:700; }.monthly-overview-item strong { display:block; margin:7px 0 4px; overflow:hidden; color:var(--ink); font:700 19px/1 Georgia,serif; letter-spacing:-.3px; text-overflow:ellipsis; white-space:nowrap; }.monthly-overview-item.is-positive { background:#edf6ef; }.monthly-overview-item.is-positive strong { color:var(--green); }.monthly-overview-item.is-negative { background:#fff4ec; }.monthly-overview-item.is-negative strong { color:var(--orange); }
.restaurant-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; padding:20px 24px 8px; }.restaurant-card { min-width:0; overflow:hidden; border:1px solid #dce4db; border-radius:11px; background:#fff; box-shadow:0 5px 15px rgba(25,42,35,.035); }.restaurant-card.is-positive { border-top:3px solid #4c9a71; }.restaurant-card.is-negative { border-top:3px solid #dc815e; }.restaurant-card-head { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:15px 15px 0; }.restaurant-card h4 { margin:0; overflow:hidden; color:var(--ink); font:800 19px/1.1 Inter,ui-sans-serif,system-ui,sans-serif; letter-spacing:-.4px; text-overflow:ellipsis; white-space:nowrap; }.delta-pill { padding:5px 7px; border-radius:12px; background:#e9f3eb; color:var(--green); font-size:10px; font-weight:800; white-space:nowrap; }.restaurant-card.is-negative .delta-pill { background:#f9e8df; color:#ad5636; }
.restaurant-due { padding:17px 15px 15px; }.restaurant-due span { display:block; color:var(--muted); font-size:11px; font-weight:700; }.restaurant-due strong { display:block; margin-top:5px; overflow:hidden; color:var(--ink); font:700 25px/1.05 Georgia,serif; letter-spacing:-.8px; text-overflow:ellipsis; white-space:nowrap; }
.restaurant-main-data { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--line); background:#fbfcf9; }.restaurant-main-data > div { min-width:0; padding:11px 9px; border-right:1px solid var(--line); }.restaurant-main-data > div:last-child { border:0; }.restaurant-main-data span,.restaurant-quick-data span,.restaurant-details span { display:block; color:var(--muted); font-size:10px; line-height:1.3; }.restaurant-main-data strong { display:block; margin-top:5px; overflow:hidden; color:var(--ink); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.restaurant-quick-data { display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; padding:13px 15px 7px; }.restaurant-quick-data span { min-width:0; }.restaurant-quick-data b,.restaurant-details b { display:block; margin-top:3px; overflow:hidden; color:var(--ink); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }.restaurant-details { margin-top:2px; border-top:1px solid #edf0ea; }.restaurant-details summary { padding:10px 15px 12px; color:var(--green); font-size:11px; font-weight:800; cursor:pointer; }.restaurant-details > div { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:0 15px 14px; }.restaurant-details span { min-width:0; }
.monthly-note { margin:0; padding:15px 24px 18px; color:var(--muted); font-size:12px; line-height:1.45; }
@media (max-width:1000px) { .restaurant-cards { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:800px) { .monthly-result-top { align-items:flex-start; flex-direction:column; }.monthly-controls { width:100%; }.monthly-controls label { flex:1; justify-content:space-between; }.monthly-controls select { min-width:0; }.monthly-overview { grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px) { .restaurant-cards { grid-template-columns:1fr; padding:16px 16px 5px; }.monthly-result-top { padding:20px 16px 18px; }.monthly-note { padding:14px 16px 17px; }.restaurant-due strong { font-size:27px; } }
@media (max-width:430px) { .monthly-controls { flex-direction:column; }.monthly-controls label { width:100%; }.monthly-overview { grid-template-columns:1fr; }.restaurant-main-data { grid-template-columns:1fr 1fr; }.restaurant-main-data > div:nth-child(2) { border-right:0; }.restaurant-main-data > div:nth-child(3) { grid-column:1 / -1; border-top:1px solid var(--line); }.restaurant-quick-data { grid-template-columns:1fr 1fr; }.restaurant-quick-data span:last-child { grid-column:1 / -1; } }

/* Uploaded-document registry */
.imports-title { align-items:center; }
.imports-filter { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:10px; }
.imports-filter label,.import-period { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:12px; font-weight:800; white-space:nowrap; }
.imports-filter input,.import-period input { min-height:36px; padding:7px 9px; border:1px solid #cfd8cf; border-radius:7px; color:var(--ink); background:#fffefa; font:700 12px/1 Inter,ui-sans-serif,system-ui,sans-serif; }
.imports-filter input:focus,.import-period input:focus { outline:2px solid #a7cbb2; outline-offset:1px; }
.imports-filter .link-button { color:var(--green); }
.imports-list { margin-top:14px; }
.import-record { display:grid; grid-template-columns:minmax(260px,1fr) 135px 185px 75px 118px; align-items:center; gap:14px; padding:13px 0; border-top:1px solid var(--line); font-size:13px; }
.import-name { min-width:0; }.import-name b { display:block; overflow:hidden; color:var(--ink); text-overflow:ellipsis; white-space:nowrap; }.import-name span { display:block; margin-top:4px; color:var(--muted); font-size:11px; }
.import-type,.import-rows { color:var(--muted); font-size:12px; }.import-rows { text-align:right; white-space:nowrap; }
.import-period { justify-content:space-between; color:var(--ink); }.import-period input { width:112px; }
.import-actions { display:grid; grid-template-columns:1fr 1fr; gap:6px; }.import-actions:has(:only-child) { grid-template-columns:1fr; }.open-document-button,.remove-document-button { min-height:36px; padding:8px 6px; font-size:10px; white-space:nowrap; }.remove-document-button { color:#a54627; background:#f3dfd5; border-radius:8px; font-weight:800; }.remove-document-button:hover { background:#edcfc0; }
@media (max-width:800px) { .imports-title { align-items:flex-start; flex-direction:column; }.imports-filter { justify-content:flex-start; }.import-record { grid-template-columns:minmax(0,1fr) 1fr; gap:9px 14px; }.import-rows { text-align:left; }.import-period { justify-content:flex-start; } }
@media (max-width:480px) { .imports-filter { align-items:flex-start; flex-direction:column; }.import-record { grid-template-columns:1fr; gap:7px; }.import-period { justify-content:space-between; }.import-rows { padding-top:2px; } }

/* Manual source entry follows the workbook's «Свод источников» structure. */
.manual-entry-panel { margin-top:14px; }.manual-entry-panel > p { max-width:870px; margin:15px 0; color:var(--muted); font-size:13px; line-height:1.5; }
.manual-source-controls { display:flex; align-items:end; flex-wrap:wrap; gap:12px; margin:19px 0 14px; }
.manual-source-controls label { display:grid; gap:6px; color:var(--muted); font-size:11px; font-weight:800; letter-spacing:.25px; text-transform:uppercase; }
.manual-source-controls select { min-width:165px; padding:10px 31px 10px 10px; border:1px solid #cfd8cf; border-radius:8px; color:var(--ink); background:#fffefa; font:800 13px/1 Inter,ui-sans-serif,system-ui,sans-serif; }
.manual-total { min-width:188px; padding:9px 12px; border:1px solid #cfe0d4; border-radius:8px; background:#edf5ee; }.manual-total span { display:block; color:var(--muted); font-size:10px; font-weight:800; letter-spacing:.35px; text-transform:uppercase; }.manual-total strong { display:block; margin-top:4px; color:var(--green); font:800 17px/1.1 Georgia,serif; }
.manual-table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:9px; }.manual-source-table { width:100%; min-width:1450px; margin:0; border-collapse:separate; border-spacing:0; font-size:12px; }.manual-source-table thead { background:#edf3ed; }.manual-source-table th { padding:12px 9px; color:#43524a; border:0; text-align:right; font-size:10px; font-weight:800; letter-spacing:.25px; line-height:1.32; text-transform:uppercase; white-space:nowrap; }.manual-source-table th:first-child { min-width:130px; text-align:left; }.manual-source-table td { padding:8px; border-top:1px solid var(--line); text-align:right; white-space:nowrap; }.manual-source-table td:first-child { padding-left:12px; color:var(--green); font-weight:800; }.manual-source-table output { font:800 14px/1 Georgia,serif; }.manual-source-table input { width:106px; padding:9px 7px; border:1px solid #d1d9d1; border-radius:6px; color:var(--ink); background:#fffefa; text-align:right; font:700 12px/1 Inter,ui-sans-serif,system-ui,sans-serif; }.manual-source-table input:focus,.manual-source-controls select:focus { outline:2px solid #a7cbb2; outline-offset:1px; }.manual-save { display:flex; align-items:center; gap:16px; margin-top:15px; }.manual-save .form-message { margin:0; color:var(--green) !important; }.manual-save .form-message.error { color:var(--orange) !important; }
@media (max-width:600px) { .manual-source-controls { align-items:stretch; flex-direction:column; }.manual-source-controls label,.manual-source-controls select,.manual-total { width:100%; }.manual-save { align-items:flex-start; flex-direction:column; } }

/* Parsed rows can be corrected after the Excel file has been added. */
dialog.document-editor-modal { width:min(1440px,calc(100% - 24px)); max-height:90vh; padding:28px; overflow:hidden; }
.document-editor-modal #modal-content { max-height:calc(90vh - 56px); overflow:auto; padding-right:4px; }
.document-editor-modal h2 { max-width:calc(100% - 48px); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.document-editor-note { max-width:850px; margin:12px 0 20px; color:var(--muted); font-size:13px; line-height:1.5; }
.document-editor-group { margin-top:20px; }.document-editor-group + .document-editor-group { padding-top:20px; border-top:1px solid var(--line); }
.document-editor-group-title { display:flex; align-items:baseline; justify-content:space-between; gap:15px; }.document-editor-group-title h3 { margin:0; font-size:18px; }.document-editor-group-title span { color:var(--muted); font-size:12px; white-space:nowrap; }
.document-editor-table-wrap { max-height:400px; margin-top:10px; overflow:auto; border:1px solid var(--line); border-radius:9px; }
.document-editor-table { width:max-content; min-width:100%; margin:0; border-collapse:separate; border-spacing:0; font-size:12px; }.document-editor-table thead { position:sticky; top:0; z-index:1; background:#edf3ed; }.document-editor-table th { padding:11px 9px; color:#43524a; border:0; font-size:10px; font-weight:800; letter-spacing:.25px; text-transform:uppercase; white-space:nowrap; }.document-editor-table td { padding:7px; border-top:1px solid var(--line); white-space:nowrap; }.document-editor-table td:first-child { max-width:none; overflow:visible; font-weight:400; }
.document-editor-input { min-width:108px; padding:8px; border:1px solid #d1d9d1; border-radius:6px; color:var(--ink); background:#fffefa; font:700 12px/1 Inter,ui-sans-serif,system-ui,sans-serif; }.document-editor-input[data-editor-field="item"],.document-editor-input[data-editor-field="article"],.document-editor-input[data-editor-field="category"] { min-width:185px; }.document-editor-input:focus { outline:2px solid #a7cbb2; outline-offset:1px; }
.document-editor-save { display:flex; align-items:center; gap:16px; padding-top:22px; }.document-editor-save .form-message { margin:0; color:var(--green) !important; }.document-editor-save .form-message.error { color:var(--orange) !important; }
@media (max-width:600px) { dialog.document-editor-modal { padding:22px 16px; }.document-editor-modal #modal-content { max-height:calc(90vh - 44px); }.document-editor-save { align-items:flex-start; flex-direction:column; } }

/* Owner-only user administration. */
.admin-panel { margin-top:14px; }.admin-panel > p { max-width:730px; margin:15px 0 17px; color:var(--muted); font-size:13px; line-height:1.5; }
.user-create-form { display:grid; grid-template-columns:minmax(145px,.75fr) minmax(185px,1fr) auto; align-items:end; gap:12px; }.user-create-form label { display:grid; gap:6px; color:var(--muted); font-size:11px; font-weight:800; letter-spacing:.25px; text-transform:uppercase; }.user-create-form input,.admin-user-password { width:100%; min-height:40px; padding:9px 10px; border:1px solid #cfd8cf; border-radius:7px; color:var(--ink); background:#fffefa; font:700 13px/1 Inter,ui-sans-serif,system-ui,sans-serif; }.user-create-form input:focus,.admin-user-password:focus { outline:2px solid #a7cbb2; outline-offset:1px; }.user-create-form .form-message { grid-column:1 / -1; margin:0; color:var(--green) !important; }.user-create-form .form-message.error { color:var(--orange) !important; }
.admin-users-list { margin-top:19px; border-top:1px solid var(--line); }.admin-user-row { display:grid; grid-template-columns:minmax(120px,1fr) 104px minmax(160px,.9fr) 104px; align-items:center; gap:12px; padding:11px 0; border-bottom:1px solid var(--line); }.admin-user-name { min-width:0; }.admin-user-name b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.admin-user-name span { display:block; margin-top:3px; color:var(--muted); font-size:11px; }.user-status { padding:6px 8px; border-radius:12px; background:#e7f1e8; color:var(--green); font-size:11px; font-weight:800; text-align:center; white-space:nowrap; }.user-status.off { background:#f7e8df; color:var(--orange); }.admin-user-actions { display:flex; gap:8px; }.admin-user-actions button { padding:9px 10px; font-size:11px; white-space:nowrap; }.admin-user-actions .quiet-button { background:#e5eee5; color:var(--green); }.admin-user-actions .danger-button { background:#f0dfd5; color:#9f4827; }
@media (max-width:800px) { .user-create-form { grid-template-columns:1fr 1fr; }.user-create-form button,.user-create-form .form-message { grid-column:1 / -1; }.admin-user-row { grid-template-columns:1fr 110px; }.admin-user-password { grid-column:1; }.admin-user-actions { grid-column:2; grid-row:2; justify-content:flex-end; } }
@media (max-width:500px) { .user-create-form,.admin-user-row { grid-template-columns:1fr; }.admin-user-password,.admin-user-actions { grid-column:auto; grid-row:auto; }.admin-user-actions { justify-content:flex-start; flex-wrap:wrap; } }

/* The delete action is intentionally a separate confirmation step. */
dialog.document-delete-modal { width:min(560px,calc(100% - 30px)); }.delete-document-name { margin:16px 0 10px; overflow-wrap:anywhere; color:var(--ink); font-size:15px; font-weight:800; }.delete-document-note { margin:0; color:var(--muted); font-size:13px; line-height:1.5; }.delete-document-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:25px; }.delete-import-button { background:#c95432; }.delete-document-actions .quiet-button { padding:10px 13px; }.document-delete-modal .form-message { color:var(--orange) !important; }.document-delete-modal .form-message.error { color:var(--orange) !important; }
@media (max-width:430px) { .delete-document-actions { align-items:stretch; flex-direction:column-reverse; }.delete-document-actions button { width:100%; } }
