:root {
  --ink: #251e1b;
  --muted: #776e68;
  --paper: #f5f2ed;
  --surface: #fffdfa;
  --wine: #743d40;
  --wine-dark: #542b2e;
  --gold: #b99162;
  --line: #e2dcd5;
  --green: #53745d;
  --red: #a54247;
  --sidebar: 238px;
  --serif: "Prata", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 14px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.sidebar { position: fixed; z-index: 30; inset: 0 auto 0 0; display: flex; width: var(--sidebar); flex-direction: column; color: #fff; background: var(--ink); }
.sidebar__brand { display: flex; height: 88px; align-items: center; gap: 12px; padding: 0 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar__brand > span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--gold); font-family: var(--serif); font-size: 13px; }
.sidebar__brand strong, .sidebar__brand small { display: block; }
.sidebar__brand strong { font-family: var(--serif); font-size: 15px; font-weight: 400; }
.sidebar__brand small { margin-top: 3px; color: rgba(255,255,255,.38); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.sidebar__nav { display: flex; flex: 1; flex-direction: column; gap: 5px; padding: 27px 13px; }
.sidebar__nav a { display: flex; min-height: 45px; align-items: center; gap: 13px; border-radius: 5px; padding: 0 14px; color: rgba(255,255,255,.58); font-size: 12px; font-weight: 600; transition: .2s; }
.sidebar__nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.sidebar__nav a.is-active { color: #fff; background: var(--wine); }
.sidebar__nav i { width: 20px; color: var(--gold); font-size: 16px; font-style: normal; text-align: center; }
.sidebar__foot { padding: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.user-chip { display: flex; align-items: center; gap: 10px; }
.user-chip > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--gold); font-family: var(--serif); }
.user-chip strong, .user-chip small { display: block; }
.user-chip strong { font-size: 11px; }
.user-chip small { color: rgba(255,255,255,.4); font-size: 8px; }
.sidebar__account { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.sidebar__account a, .sidebar__account button { border: 0; padding: 0; color: rgba(255,255,255,.38); background: none; cursor: pointer; font-size: 9px; }
.sidebar__account a:hover, .sidebar__account button:hover { color: #fff; }
.sidebar__account form { margin: 0; }
.app-shell { min-height: 100vh; margin-left: var(--sidebar); }
.topbar { display: flex; height: 70px; align-items: center; justify-content: space-between; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(255,253,250,.92); backdrop-filter: blur(12px); }
.topbar__date { color: var(--muted); font-size: 10px; text-transform: capitalize; }
.quick-create a { display: inline-flex; height: 38px; align-items: center; padding: 0 15px; border-radius: 4px; color: #fff; background: var(--wine); font-size: 10px; font-weight: 700; }
.menu-toggle { display: none; border: 0; background: none; font-size: 22px; }
.content { width: min(1460px, 100%); margin: 0 auto; padding: 38px 34px 70px; }
.eyebrow { margin: 0 0 8px; color: var(--wine); font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.page-head h1 { margin: 0; font-family: var(--serif); font-size: clamp(31px, 4vw, 46px); font-weight: 400; line-height: 1.15; letter-spacing: -.035em; }
.page-head p:not(.eyebrow) { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.page-head--compact { margin-bottom: 25px; }
.back-link { display: inline-block; margin-bottom: 12px; color: var(--muted); font-size: 10px; }
.button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 4px; padding: 0 18px; cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.button--primary { color: #fff; background: var(--wine); }
.button--primary:hover { background: var(--wine-dark); }
.button--ghost { border-color: var(--line); background: var(--surface); }
.button--full { width: 100%; }
.panel { border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.panel__head h2 { margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 400; }
.panel__head p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }
.panel__head a { color: var(--wine); font-size: 10px; font-weight: 700; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.metric { min-height: 146px; padding: 21px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.metric > span { display: block; color: var(--muted); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.metric strong { display: block; margin: 17px 0 13px; font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.metric a, .metric small { color: var(--muted); font-size: 9px; }
.metric a:hover { color: var(--wine); }
.metric--attention { color: #fff; background: var(--wine); }
.metric--attention > span, .metric--attention a { color: rgba(255,255,255,.65); }
.dashboard-grid { display: grid; grid-template-columns: 1.35fr .75fr; gap: 18px; }
.panel--wide { min-width: 0; }
.event-row { display: grid; grid-template-columns: 55px 1fr auto 20px; align-items: center; gap: 16px; min-height: 84px; padding: 12px 24px; border-bottom: 1px solid var(--line); transition: background .2s; }
.event-row:last-child { border-bottom: 0; }
.event-row:hover { background: #faf6f1; }
.event-row time { display: flex; width: 47px; height: 54px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; }
.event-row time strong { font-family: var(--serif); font-size: 19px; font-weight: 400; line-height: 1; }
.event-row time span { margin-top: 3px; color: var(--muted); font-size: 8px; text-transform: uppercase; }
.event-row > div strong, .event-row > div span { display: block; }
.event-row > div strong { margin-bottom: 5px; font-size: 12px; }
.event-row > div span { color: var(--muted); font-size: 9px; }
.event-row > i { color: var(--muted); font-style: normal; }
.badge { display: inline-flex; width: fit-content; align-items: center; min-height: 22px; border-radius: 20px; padding: 0 9px; color: #665b55; background: #eee8e1; font-size: 7px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.badge--confirmed, .badge--approved { color: #3e6648; background: #e4eee6; }
.badge--planned, .badge--sent { color: #7d6036; background: #f2eadc; }
.badge--completed { color: #456b77; background: #e2edef; }
.badge--cancelled { color: #94454a; background: #f4e3e3; }
.task-mini-list { padding: 7px 22px; }
.task-mini { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.task-mini:last-child { border: 0; }
.task-mini form button { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.task-mini strong, .task-mini span { display: block; }
.task-mini strong { font-size: 10px; }
.task-mini span { margin-top: 3px; color: var(--muted); font-size: 8px; }
.task-mini.is-overdue span { color: var(--red); }
.finance-summary { padding: 20px 23px; }
.finance-summary > div { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); }
.finance-summary span { color: var(--muted); font-size: 9px; }
.finance-summary strong { font-size: 14px; font-variant-numeric: tabular-nums; }
.finance-summary__profit { margin-top: 4px; border-bottom: 0 !important; color: var(--wine); }
.simple-table { padding: 4px 22px; }
.simple-table > a { display: grid; grid-template-columns: 1fr 1.5fr .8fr 1fr .7fr; align-items: center; gap: 15px; min-height: 55px; border-bottom: 1px solid var(--line); font-size: 9px; }
.simple-table > a:last-child { border: 0; }
.simple-table span { color: var(--muted); }
.simple-table b { text-align: right; }
.stage-dot { display: flex; align-items: center; gap: 7px; }
.stage-dot i { width: 7px; height: 7px; border-radius: 50%; }
.empty-state { padding: 55px 25px; color: var(--muted); text-align: center; }
.empty-state strong { color: var(--ink); font-family: var(--serif); font-size: 17px; font-weight: 400; }
.empty-state p { margin: 7px 0 12px; font-size: 10px; }
.empty-state a { color: var(--wine); font-size: 10px; font-weight: 700; }
.empty-state--small { padding: 28px 15px; font-size: 10px; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.list-toolbar > span { color: var(--muted); font-size: 9px; }
.search-form { display: flex; width: min(410px, 100%); }
.search-form input { width: 100%; height: 41px; border: 1px solid var(--line); border-right: 0; border-radius: 4px 0 0 4px; padding: 0 13px; outline: 0; background: var(--surface); font-size: 10px; }
.search-form button { border: 0; border-radius: 0 4px 4px 0; padding: 0 16px; color: #fff; background: var(--ink); font-size: 9px; }
.data-table { overflow: hidden; }
.data-table__head, .data-table__row { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr .5fr 25px; align-items: center; gap: 20px; padding: 0 24px; }
.data-table__head { min-height: 47px; color: var(--muted); background: #f0ebe5; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.data-table__row { min-height: 62px; border-top: 1px solid var(--line); font-size: 10px; }
.data-table__row:hover { background: #faf6f1; }
.data-table__row strong { font-size: 11px; }
.data-table__row i { color: var(--muted); font-style: normal; text-align: right; }
.kanban { display: grid; grid-template-columns: repeat(6, minmax(235px, 1fr)); gap: 11px; overflow-x: auto; padding-bottom: 20px; }
.kanban-column { min-width: 235px; border: 1px solid var(--line); border-radius: 7px; background: #ebe6df; }
.kanban-column > header { min-height: 51px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.kanban-column > header > div { display: flex; height: 51px; align-items: center; gap: 8px; }
.kanban-column header i { width: 8px; height: 8px; border-radius: 50%; background: var(--stage); }
.kanban-column h2 { margin: 0; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.kanban-column header span { display: grid; width: 20px; height: 20px; margin-left: auto; place-items: center; border-radius: 50%; background: rgba(255,255,255,.7); font-size: 8px; }
.kanban-column__body { min-height: 300px; padding: 9px; }
.deal-card { margin-bottom: 9px; padding: 14px; border: 1px solid #ded7d0; border-radius: 5px; background: var(--surface); }
.deal-card.is-overdue { border-left: 3px solid var(--red); }
.deal-card__top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.deal-card h3 { margin: 12px 0 4px; font-family: var(--serif); font-size: 15px; font-weight: 400; }
.deal-card > p { margin: 0 0 14px; color: var(--muted); font-size: 9px; }
.deal-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 0; }
.deal-card dl div { padding: 7px; border-radius: 3px; background: #f5f1ec; }
.deal-card dt { color: var(--muted); font-size: 7px; }
.deal-card dd { margin: 2px 0 0; font-size: 9px; font-weight: 700; }
.next-action { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.next-action span, .next-action strong, .next-action small { display: block; }
.next-action span { color: var(--muted); font-size: 7px; text-transform: uppercase; }
.next-action strong { margin-top: 4px; font-size: 9px; }
.next-action small { margin-top: 2px; color: var(--muted); font-size: 7px; }
.stage-move { margin-top: 10px; }
.stage-move select { width: 100%; height: 31px; border: 1px solid var(--line); border-radius: 3px; padding: 0 7px; color: var(--muted); background: #fff; font-size: 8px; }
.kanban-empty { padding: 30px 10px; color: #978e87; font-size: 9px; text-align: center; }
.tabs { display: flex; gap: 5px; margin-bottom: 18px; }
.tabs a { padding: 8px 13px; border-radius: 20px; color: var(--muted); font-size: 9px; font-weight: 600; }
.tabs a.is-active { color: var(--wine); background: #eadfda; }
.event-list { display: grid; gap: 10px; }
.event-card { display: grid; grid-template-columns: 100px 1.3fr 1fr 25px; align-items: center; gap: 25px; min-height: 125px; padding: 20px 26px; }
.event-card:hover { border-color: #c7bbb1; }
.event-card > time { display: flex; align-items: center; flex-direction: column; justify-content: center; min-height: 85px; border-right: 1px solid var(--line); }
.event-card time strong { font-family: var(--serif); font-size: 31px; font-weight: 400; line-height: 1; }
.event-card time span { margin-top: 4px; font-size: 9px; text-transform: uppercase; }
.event-card time small { color: var(--muted); font-size: 8px; }
.event-card__main > div { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 8px; }
.event-card h2 { margin: 10px 0 4px; font-family: var(--serif); font-size: 20px; font-weight: 400; }
.event-card p { margin: 0; color: var(--muted); font-size: 9px; }
.event-card__place span, .event-card__place strong, .event-card__place small { display: block; }
.event-card__place span { color: var(--muted); font-size: 7px; text-transform: uppercase; }
.event-card__place strong { margin: 7px 0 3px; font-size: 10px; }
.event-card__place small { color: var(--muted); font-size: 8px; }
.event-card > i { color: var(--muted); font-style: normal; }
.task-list { overflow: hidden; }
.task-row { display: grid; grid-template-columns: 35px 1fr 90px 130px 25px; align-items: center; gap: 14px; min-height: 68px; padding: 0 22px; border-bottom: 1px solid var(--line); }
.task-row:last-child { border: 0; }
.task-row.is-overdue { border-left: 3px solid var(--red); }
.task-row.is-done { opacity: .5; }
.task-row form button { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.task-row > a strong, .task-row > a span { display: block; }
.task-row > a strong { font-size: 11px; }
.task-row > a span { margin-top: 4px; color: var(--muted); font-size: 8px; }
.task-row time { color: var(--muted); font-size: 9px; }
.priority { width: fit-content; border-radius: 20px; padding: 4px 8px; color: var(--muted); background: #eee9e3; font-size: 7px; text-transform: uppercase; }
.priority--high { color: var(--red); background: #f4e5e5; }
.priority--low { color: #52727b; background: #e6eff1; }
.row-arrow { color: var(--muted); text-align: right; }
.estimate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.estimate-card { padding: 23px; }
.estimate-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(44,33,27,.06); }
.estimate-card__head { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 8px; text-transform: uppercase; }
.estimate-card h2 { margin: 25px 0 6px; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.estimate-card > p { margin: 0; color: var(--muted); font-size: 9px; }
.estimate-card dl { margin: 24px 0 20px; }
.estimate-card dl div { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); }
.estimate-card dt { color: var(--muted); font-size: 8px; }
.estimate-card dd { margin: 0; font-size: 10px; font-weight: 700; }
.estimate-card__open { color: var(--wine); font-size: 9px; font-weight: 700; }
.estimate-totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.estimate-totals article { padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.estimate-totals span, .estimate-totals strong { display: block; }
.estimate-totals span { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.estimate-totals strong { margin-top: 11px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.estimate-totals__profit { color: #fff; background: var(--wine) !important; }
.estimate-totals__profit span { color: rgba(255,255,255,.6); }
.estimate-layout { display: grid; grid-template-columns: 1fr 310px; gap: 17px; align-items: start; }
.estimate-table { overflow: hidden; }
.estimate-table__head, .estimate-table__row { display: grid; grid-template-columns: 130px 1fr 65px 95px 100px 25px; align-items: center; gap: 12px; min-width: 730px; padding: 0 22px; }
.estimate-table__head { min-height: 43px; color: var(--muted); background: #f0ebe5; font-size: 7px; text-transform: uppercase; }
.estimate-table__row { min-height: 65px; border-top: 1px solid var(--line); font-size: 9px; }
.estimate-table__row > div strong, .estimate-table__row > div small { display: block; }
.estimate-table__row > div small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.estimate-table__row form button { border: 0; color: var(--red); background: none; cursor: pointer; font-size: 18px; }
.item-kind { font-size: 7px; font-weight: 700; text-transform: uppercase; }
.item-kind--income { color: var(--green); }
.item-kind--expense { color: var(--red); }
.add-item { position: sticky; top: 20px; }
.add-item form { padding: 20px; }
.add-item label { display: block; margin-bottom: 13px; }
.add-item label span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 7px; text-transform: uppercase; }
.add-item input, .add-item select { width: 100%; height: 39px; border: 1px solid var(--line); border-radius: 3px; padding: 0 10px; outline: 0; background: #fff; font-size: 10px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 780px) 260px; gap: 20px; align-items: start; }
.entity-form { padding: 28px; }
.entity-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.entity-form label > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.entity-form input, .entity-form select, .entity-form textarea { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 4px; padding: 9px 11px; outline: 0; color: var(--ink); background: #fff; font-size: 11px; }
.entity-form textarea { resize: vertical; }
.entity-form input:focus, .entity-form select:focus, .entity-form textarea:focus { border-color: var(--wine); box-shadow: 0 0 0 2px rgba(116,61,64,.08); }
.entity-form label em { display: block; margin-top: 4px; color: var(--red); font-size: 8px; font-style: normal; }
.field--full { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-tip { padding: 20px; border-left: 2px solid var(--gold); color: var(--muted); background: #eee8df; font-size: 9px; line-height: 1.6; }
.form-tip span { color: var(--wine); font-weight: 700; text-transform: uppercase; }
.form-tip p { margin: 7px 0 0; }
.form-alert { margin-bottom: 17px; padding: 11px; border-radius: 4px; color: var(--red); background: #f7e8e8; font-size: 9px; }
.messages { position: fixed; z-index: 50; top: 82px; right: 20px; }
.message { min-width: 240px; margin-bottom: 7px; padding: 12px 15px; border-radius: 5px; color: #fff; background: var(--green); box-shadow: 0 10px 30px rgba(0,0,0,.15); font-size: 9px; transition: .3s; }
.message--error { background: var(--red); }
.message.is-hidden { visibility: hidden; opacity: 0; transform: translateY(-8px); }
.auth-body { background: var(--surface); }
.login-page { display: grid; min-height: 100vh; grid-template-columns: 1.2fr .8fr; }
.login-visual { position: relative; display: flex; align-items: flex-end; padding: 7vw; overflow: hidden; color: #fff; background: linear-gradient(0deg, rgba(26,18,15,.78), rgba(26,18,15,.18)), url("https://images.unsplash.com/photo-1519167758481-83f550bb49b3?auto=format&fit=crop&w=1600&q=85") center/cover; }
.login-visual p { color: var(--gold); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.login-visual h1 { margin: 16px 0 25px; font-family: var(--serif); font-size: clamp(47px, 6vw, 80px); font-weight: 400; line-height: 1.1; }
.login-visual h1 em { color: var(--gold); font-style: italic; }
.login-visual span { color: rgba(255,255,255,.68); font-size: 13px; }
.login-form-wrap { display: grid; place-items: center; padding: 40px; }
.login-form { width: min(370px, 100%); }
.login-form h2 { margin: 0 0 35px; font-family: var(--serif); font-size: 36px; font-weight: 400; line-height: 1.2; }
.login-form label { display: block; margin-bottom: 17px; }
.login-form label span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 8px; text-transform: uppercase; }
.login-form input { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 3px; padding: 0 12px; outline: 0; }
.login-form input:focus { border-color: var(--wine); }
.login-form .button { margin-top: 10px; }
.login-form > small { display: block; margin-top: 15px; color: var(--muted); font-size: 8px; text-align: center; }
@media (max-width: 1100px) {
  :root { --sidebar: 205px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .estimate-grid { grid-template-columns: 1fr 1fr; }
  .form-layout { grid-template-columns: 1fr; }
  .form-tip { display: none; }
}
@media (max-width: 760px) {
  .sidebar { width: 250px; transform: translateX(-100%); transition: transform .25s; }
  .sidebar.is-open { transform: none; box-shadow: 20px 0 60px rgba(0,0,0,.22); }
  .app-shell { margin-left: 0; }
  .menu-toggle { display: block; }
  .topbar { padding: 0 17px; }
  .topbar__date { display: none; }
  .content { padding: 27px 16px 60px; }
  .page-head { align-items: flex-start; flex-direction: column; }
  .page-head > .button { width: 100%; }
  .metric-grid, .dashboard-grid, .estimate-grid, .estimate-totals, .estimate-layout { grid-template-columns: 1fr; }
  .simple-table > a { grid-template-columns: 1fr auto; padding: 10px 0; }
  .simple-table > a span { display: none; }
  .data-table__head { display: none; }
  .data-table__row { grid-template-columns: 1fr 25px; padding: 14px 17px; }
  .data-table__row span { display: none; }
  .event-card { grid-template-columns: 70px 1fr 20px; gap: 14px; padding: 15px; }
  .event-card__place { display: none; }
  .task-row { grid-template-columns: 32px 1fr 25px; padding: 12px 14px; }
  .task-row .priority, .task-row time { display: none; }
  .entity-form { padding: 20px 15px; }
  .entity-form__grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .estimate-table { overflow-x: auto; }
  .add-item { position: static; }
  .login-page { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .login-form-wrap { padding: 25px; }
  .login-form h2 { font-size: 31px; }
}
@media (max-width: 460px) {
  .metric-grid { grid-template-columns: 1fr; }
  .event-row { grid-template-columns: 48px 1fr 15px; padding: 10px 14px; }
  .event-row .badge { display: none; }
  .event-card time strong { font-size: 25px; }
}
