:root {
  --green-950: #003d27;
  --green-900: #005235;
  --green-800: #08633f;
  --green-700: #0d7a4a;
  --green-100: #e7f4eb;
  --green-50: #f3faf5;
  --ink: #102019;
  --muted: #65716b;
  --line: #e1e7e3;
  --paper: #ffffff;
  --surface: #f6f8f6;
  --amber: #c87a05;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--surface); color: var(--ink); }
body { font-family: Arial, Helvetica, sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
body.modal-open { overflow: hidden; }
button:disabled { cursor: wait; opacity: .7; }

.app-shell { min-height: 100vh; display: flex; background: var(--surface); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 244px; background: linear-gradient(165deg, #00492f 0%, #003b28 62%, #002b20 100%); color: white; padding: 25px 14px 16px; display: flex; flex-direction: column; z-index: 50; box-shadow: 8px 0 30px rgba(2, 50, 33, .08); }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 25px; }
.brand-mark { width: 64px; height: 76px; border-radius: 8px; background: white; display: grid; place-items: center; overflow: hidden; flex: none; padding: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.4); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 0; }
.brand strong { display: block; font-size: 17px; line-height: 1.2; }
.brand span { display: block; margin-top: 4px; font-size: 10px; color: rgba(255,255,255,.68); }
.brand.compact { padding: 0; }
.brand.compact .brand-mark { width: 38px; height: 46px; border-radius: 5px; padding: 2px; }
.brand.compact img { width: 100%; height: 100%; }
.sidebar nav { display: flex; flex-direction: column; gap: 3px; overflow-y: auto; padding-right: 1px; }
.sidebar nav button, .sidebar-bottom > button { color: rgba(255,255,255,.82); background: transparent; border: 0; border-radius: 10px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; text-align: left; width: 100%; min-height: 43px; padding: 8px 11px; font-size: 14px; }
.sidebar nav button:hover, .sidebar nav button.active, .sidebar-bottom > button:hover { background: rgba(255,255,255,.11); color: white; }
.sidebar nav button.active { box-shadow: inset 3px 0 #8bd1a3; font-weight: 700; }
.nav-icon { font-size: 21px; text-align: center; line-height: 1; }
.sidebar nav em { min-width: 23px; height: 22px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center; color: white; background: rgba(255,255,255,.15); font-style: normal; font-size: 11px; }
.sidebar-bottom { margin-top: auto; }
.version-label { display: block; margin: 10px 4px 0; color: rgba(255,255,255,.55); font-size: 9px; text-align: center; }
.mission { margin-top: 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 12px; display: flex; gap: 9px; background: rgba(255,255,255,.04); }
.mission > span { font-size: 27px; color: #94d4aa; }
.mission b { display: block; font-size: 11px; }
.mission small { display: block; margin-top: 4px; font-size: 9px; line-height: 1.35; color: rgba(255,255,255,.67); }
.mobile-close { display: none; }

.workspace { margin-left: 244px; width: calc(100% - 244px); min-width: 0; }
.topbar { height: 76px; background: var(--paper); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: flex-end; gap: 22px; padding: 0 32px; position: sticky; top: 0; z-index: 30; }
.mobile-brand { display: none; }
.search-box { width: min(380px, 36vw); height: 43px; border: 1px solid #d8dfda; border-radius: 10px; display: flex; align-items: center; gap: 9px; padding: 0 13px; background: #fff; }
.search-box span { font-size: 23px; color: #52605a; transform: rotate(-18deg); }
.search-box input { border: 0; outline: 0; width: 100%; color: var(--ink); background: transparent; font-size: 13px; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.icon-button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; font-size: 27px; position: relative; }
.icon-button:hover { background: var(--green-50); }
.icon-button > i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #15975b; right: 7px; top: 5px; border: 2px solid white; }
.profile-button { border: 0; background: transparent; display: flex; align-items: center; gap: 10px; padding: 4px 5px; color: var(--ink); border-left: 1px solid var(--line); padding-left: 17px; }
.avatar, .mini-avatar { background: #dfece4; color: var(--green-800); border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.avatar { width: 39px; height: 39px; }
.profile-copy { text-align: left; }
.profile-copy b, .profile-copy small { display: block; }
.profile-copy b { font-size: 12px; }
.profile-copy small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.popover-wrap { position: relative; }
.popover { position: absolute; right: 0; top: calc(100% + 12px); width: 310px; background: white; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(11,45,29,.15); border-radius: 14px; padding: 12px; z-index: 100; }
.popover-title { display: flex; justify-content: space-between; padding: 5px 5px 11px; border-bottom: 1px solid var(--line); }
.popover-title span { font-size: 10px; background: var(--green-100); color: var(--green-700); border-radius: 10px; padding: 4px 7px; }
.notification-popover p { font-size: 12px; margin: 0; padding: 12px 5px; border-bottom: 1px solid #edf0ee; }
.profile-popover { width: 210px; display: flex; flex-direction: column; }
.profile-popover button { background: transparent; border: 0; border-radius: 8px; padding: 11px; text-align: left; }
.profile-popover button:hover { background: var(--green-50); }

.content { padding: 27px 30px 45px; max-width: 1640px; margin: 0 auto; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 22px; }
.page-heading h1 { margin: 2px 0 5px; font-size: clamp(27px, 2.5vw, 38px); letter-spacing: -.035em; line-height: 1.08; }
.page-heading > div > span { color: var(--muted); font-size: 13px; }
.eyebrow { margin: 0 0 8px; color: var(--green-700); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.primary-button, .secondary-button { min-height: 42px; border-radius: 9px; padding: 0 16px; font-size: 12px; font-weight: 700; }
.primary-button { background: var(--green-800); color: white; border: 1px solid var(--green-800); box-shadow: 0 5px 13px rgba(8,99,63,.15); }
.primary-button:hover { background: var(--green-950); }
.secondary-button { background: white; color: var(--green-800); border: 1px solid #cbd8d0; }
.heading-actions { display: flex; gap: 8px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 18px; }
.stat-card { background: white; border: 1px solid var(--line); border-radius: 13px; padding: 18px; min-height: 125px; display: flex; align-items: center; gap: 15px; box-shadow: 0 3px 10px rgba(15,48,31,.025); }
.stat-icon { width: 54px; height: 54px; border-radius: 11px; display: grid; place-items: center; background: var(--green-100); color: var(--green-800); font-size: 29px; flex: none; }
.stat-icon.amber { background: #fff3df; color: var(--amber); }
.stat-card p, .stat-card strong, .stat-card small { display: block; }
.stat-card p { margin: 0 0 3px; font-size: 12px; color: #34443b; }
.stat-card strong { color: var(--green-700); font-size: 27px; }
.stat-card small { color: var(--muted); margin-top: 5px; font-size: 10px; white-space: nowrap; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr); gap: 18px; margin-bottom: 18px; }
.panel { background: white; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 3px 10px rgba(15,48,31,.025); }
.section-title { min-height: 72px; padding: 17px 20px 13px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf0ee; }
.section-title span { color: var(--green-700); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-title h2 { margin: 4px 0 0; font-size: 20px; letter-spacing: -.025em; }
.section-title button { border: 0; background: transparent; color: var(--green-700); font-size: 11px; font-weight: 700; }
.project-row { min-height: 132px; padding: 16px; display: flex; gap: 13px; border-bottom: 1px solid #edf0ee; }
.project-row:last-child { border-bottom: 0; }
.project-badge { width: 47px; height: 47px; border: 1px solid #dce5df; background: var(--green-50); border-radius: 9px; display: grid; place-items: center; color: var(--green-800); font-weight: 800; font-size: 13px; flex: none; }
.project-main { flex: 1; min-width: 0; }
.project-title { display: flex; justify-content: space-between; gap: 10px; }
.project-title h3 { font-size: 14px; margin: 2px 0 9px; }
.project-title strong { color: var(--green-700); font-size: 16px; }
.progress { height: 7px; background: #e8ece9; border-radius: 5px; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, #0d8a50, #17a962); border-radius: 5px; }
.project-meta { margin-top: 12px; display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 8px; align-items: center; font-size: 10px; }
.project-meta > span { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.project-meta small { display: block; width: 100%; color: var(--muted); font-size: 8px; }
.mini-avatar { width: 24px; height: 24px; font-size: 8px; float: left; margin-right: 3px; }
.status { background: #e6f6eb; color: #187345; border-radius: 10px; padding: 5px 8px; display: inline-block !important; justify-self: start; width: fit-content; font-weight: 700; }
.status.risk { color: #a96300; background: #fff1d9; }
.approval-row { min-height: 98px; padding: 13px 16px; display: grid; grid-template-columns: 43px minmax(150px, 1fr) auto; gap: 11px; align-items: center; border-bottom: 1px solid #edf0ee; }
.approval-row:last-child { border-bottom: 0; }
.approval-icon { width: 43px; height: 43px; background: #fff3df; color: var(--amber); border-radius: 9px; display: grid; place-items: center; font-weight: 800; }
.approval-copy h3 { margin: 0 0 4px; font-size: 13px; }
.approval-copy p { margin: 0 0 5px; color: var(--muted); font-size: 9px; }
.approval-copy small { color: var(--muted); font-size: 9px; display: flex; align-items: center; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 5px; }
.dot.amber { background: #dc8a09; } .dot.green { background: #17864e; } .dot.blue { background: #2875b8; }
.approval-amount { text-align: right; }
.approval-amount b { display: block; font-size: 11px; margin-bottom: 10px; }
.approval-amount button { background: white; border: 1px solid var(--green-700); color: var(--green-800); border-radius: 7px; padding: 7px 13px; font-size: 10px; font-weight: 700; }
.bottom-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); gap: 18px; }
.activity-row { min-height: 84px; padding: 12px 16px; display: grid; grid-template-columns: 48px 1fr auto auto; gap: 13px; align-items: center; border-bottom: 1px solid #edf0ee; }
.activity-row:last-child { border: 0; }
.date-card { width: 46px; border: 1px solid #d9e3dc; border-radius: 8px; text-align: center; overflow: hidden; }
.date-card b { display: block; background: var(--green-800); color: white; padding: 3px; font-size: 8px; }
.date-card strong { display: block; padding: 6px; font-size: 17px; }
.activity-row h3 { margin: 0 0 5px; font-size: 12px; }
.activity-row p { margin: 0; color: var(--muted); font-size: 9px; }
.tag { color: #0e6b3f; background: #e6f5eb; border-radius: 9px; padding: 5px 8px; font-size: 9px; }
.tag.pale { color: #246c89; background: #e7f3f8; }
.stacked { display: flex; }
.stacked i { width: 25px; height: 25px; margin-left: -5px; border: 2px solid white; background: #dcebe1; color: var(--green-800); border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 7px; font-weight: 800; }
.brief { margin: 15px; padding: 13px; display: flex; gap: 11px; border-radius: 10px; background: #fff8eb; border: 1px solid #f1dfbd; }
.brief-icon { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: #f4dfb2; color: #956000; font-weight: 800; flex: none; }
.brief b { font-size: 12px; }
.brief p { margin: 5px 0; font-size: 10px; line-height: 1.45; color: #555b57; }
.brief small { font-size: 8px; color: var(--muted); }
.task-summary { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 15px 15px; gap: 8px; }
.task-summary span { border: 1px solid var(--line); background: #fbfcfb; border-radius: 9px; padding: 10px; }
.task-summary b, .task-summary small { display: block; }
.task-summary b { color: var(--green-700); font-size: 17px; }
.task-summary small { color: var(--muted); font-size: 8px; margin-top: 3px; }

.module-page { animation: fade-in .2s ease; }
.module-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 17px; }
.module-stats > div { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 17px; }
.module-stats small, .module-stats b, .module-stats span { display: block; }
.module-stats small { color: var(--muted); font-size: 10px; }
.module-stats b { font-size: 25px; color: var(--green-800); margin: 5px 0; }
.module-stats span { color: var(--muted); font-size: 9px; }
.table-panel { background: white; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.table-tools { min-height: 58px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.table-tools span { color: var(--muted); font-size: 10px; }
.data-row { width: 100%; border: 0; border-bottom: 1px solid #edf0ee; background: white; min-height: 74px; display: grid; grid-template-columns: 38px minmax(220px, 1.8fr) repeat(4, minmax(110px, 1fr)) 25px; gap: 12px; align-items: center; padding: 10px 17px; text-align: left; font-size: 11px; color: #35423b; transition: .15s ease; }
.data-row:hover { background: var(--green-50); transform: translateX(2px); }
.data-row:last-child { border-bottom: 0; }
.row-index { color: #96a39c; font-size: 9px; }
.primary-cell { font-weight: 700; color: var(--ink); font-size: 12px; }
.row-arrow { color: var(--green-700); font-size: 17px; }
.empty-state { text-align: center; display: flex; flex-direction: column; gap: 5px; padding: 55px; color: var(--muted); }
.access-note { display: flex; gap: 12px; margin-top: 15px; padding: 15px 17px; color: #31503f; background: #edf7f0; border: 1px solid #d7ebdd; border-radius: 11px; }
.access-note > span { color: var(--green-700); }
.access-note b { display: block; font-size: 11px; }
.access-note p { margin: 4px 0 0; font-size: 9px; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(0,31,20,.55); backdrop-filter: blur(3px); z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal { width: min(720px, 100%); max-height: calc(100vh - 35px); overflow-y: auto; background: white; border-radius: 16px; box-shadow: 0 25px 70px rgba(0,0,0,.25); }
.modal-header { display: flex; justify-content: space-between; padding: 21px 23px 16px; border-bottom: 1px solid var(--line); }
.modal-header span { font-size: 9px; color: var(--green-700); letter-spacing: .14em; font-weight: 800; }
.modal-header h2 { margin: 5px 0 0; font-size: 24px; }
.modal-header button { width: 35px; height: 35px; border: 0; background: #f2f5f3; border-radius: 50%; font-size: 20px; }
.form-error { margin: 16px 23px 0; padding: 11px 13px; color: #9d2c1c; background: #fff0ed; border: 1px solid #f2cbc4; border-radius: 8px; font-size: 11px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 20px 23px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid label > span { font-size: 10px; font-weight: 700; color: #39483f; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1px solid #d5ded8; border-radius: 8px; padding: 11px 12px; background: white; color: var(--ink); outline: none; font-size: 12px; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px var(--green-100); }
.form-grid textarea { min-height: 75px; resize: vertical; }
.workflow-note { margin: 0 23px; padding: 12px 15px; background: var(--green-50); border-radius: 9px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: 9px; }
.workflow-note b { width: 100%; color: var(--green-800); }
.workflow-note span { background: white; border: 1px solid #d5e6da; padding: 6px 8px; border-radius: 6px; }
.workflow-note i { color: var(--green-700); font-style: normal; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 18px 23px 22px; }
.toast { position: fixed; right: 25px; bottom: 25px; z-index: 300; background: var(--green-950); color: white; border-radius: 10px; padding: 14px 17px; box-shadow: 0 12px 35px rgba(0,0,0,.22); font-size: 11px; animation: toast-in .25s ease; }
.toast.error { background: #8d271c; }
.request-card.data-row { grid-template-columns: 38px minmax(220px,1.7fr) minmax(120px,.7fr) minmax(150px,.8fr) minmax(145px,.7fr); }
.request-summary { display: flex; flex-direction: column; gap: 5px; }
.request-summary b { color: var(--ink); font-size: 12px; }
.request-summary small,.role-hint { color: var(--muted); font-size: 9px; }
.request-amount { font-weight: 700; color: var(--ink); }
.request-status { width: fit-content; padding: 6px 9px; background: var(--green-50); color: var(--green-800); border-radius: 999px; font-weight: 700; font-size: 9px; }
.request-action { justify-self: end; }
.request-action .primary-button { min-height: 34px; white-space: nowrap; }
.complete-mark { color: var(--green-700); justify-self: end; font-size: 10px; }
.login-page { min-height:100vh; display:grid; place-items:center; padding:22px; background:linear-gradient(145deg,#003d27,#08633f); }
.login-card { width:min(460px,100%); background:#fff; border-radius:18px; padding:30px; box-shadow:0 24px 70px rgba(0,0,0,.25); }
.login-logo { text-align:center; margin-bottom:22px; }
.login-logo img { width:96px; height:112px; object-fit:contain; }
.login-logo h1 { margin:10px 0 4px; font-size:24px; }
.login-logo p { margin:0; color:var(--muted); font-size:12px; }
.login-card label { display:block; margin:14px 0; font-size:11px; font-weight:700; }
.login-card input { display:block; width:100%; margin-top:7px; border:1px solid #ced9d2; border-radius:9px; padding:12px; outline:none; }
.login-card input:focus { border-color:var(--green-700); box-shadow:0 0 0 3px var(--green-100); }
.login-card .primary-button { width:100%; margin-top:8px; }
.button-link { display:grid; place-items:center; text-decoration:none; }
.alert { padding:11px 13px; border-radius:8px; margin:12px 0; font-size:11px; }
.alert.error { background:#fff0ed; color:#9d2c1c; border:1px solid #f2cbc4; }
.alert.success { background:#eaf7ee; color:#12633a; border:1px solid #cce8d5; }
.install-note { background:#f4f7f5; border:1px solid var(--line); padding:12px; border-radius:9px; font-size:10px; line-height:1.5; }
.logout-link { color:var(--green-800); text-decoration:none; font-size:11px; font-weight:700; }

@keyframes fade-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid, .bottom-grid { grid-template-columns: 1fr; }
  .data-row { grid-template-columns: 35px minmax(200px, 1.7fr) repeat(2, 1fr) 25px; }
  .request-card.data-row { grid-template-columns: 30px minmax(190px,1.5fr) minmax(120px,.7fr) minmax(140px,.8fr); }
  .request-card .request-amount { display: none; }
  .data-row span:nth-child(5), .data-row span:nth-child(6) { display: none; }
}

@media (max-width: 820px) {
  .sidebar { transform: translateX(-105%); transition: transform .25s ease; width: 260px; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-top { display: flex; align-items: flex-start; justify-content: space-between; }
  .mobile-close { display: block; color: white; border: 0; background: rgba(255,255,255,.12); border-radius: 50%; width: 34px; height: 34px; font-size: 20px; }
  .scrim { position: fixed; inset: 0; background: rgba(0,27,18,.5); border: 0; z-index: 40; }
  .workspace { margin-left: 0; width: 100%; }
  .topbar { padding: 0 17px; justify-content: space-between; }
  .mobile-brand { display: flex; align-items: center; gap: 10px; }
  .menu-button { border: 0; background: transparent; color: var(--green-900); font-size: 23px; }
  .search-box { flex: 1; max-width: 320px; }
  .profile-copy { display: none; }
  .profile-button { padding-left: 9px; }
  .content { padding: 22px 17px 38px; }
}

@media (max-width: 620px) {
  .topbar { gap: 8px; }
  .search-box { display: none; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .page-heading .primary-button { width: 100%; }
  .heading-actions { width: 100%; }
  .heading-actions button { flex: 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .stat-card { padding: 12px; min-height: 103px; gap: 9px; }
  .stat-icon { width: 39px; height: 39px; font-size: 21px; }
  .stat-card p { font-size: 10px; }
  .stat-card strong { font-size: 22px; }
  .stat-card small { font-size: 8px; white-space: normal; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .project-row { padding: 14px 12px; }
  .project-badge { display: none; }
  .project-meta { grid-template-columns: 1fr auto; }
  .project-meta > span:last-child { display: none; }
  .approval-row { grid-template-columns: 37px minmax(0, 1fr) auto; padding: 12px; }
  .approval-icon { width: 37px; height: 37px; }
  .approval-amount b { display: none; }
  .approval-amount button { padding: 6px 9px; }
  .activity-row { grid-template-columns: 43px 1fr; }
  .activity-row .tag, .stacked { display: none; }
  .module-stats { grid-template-columns: 1fr; gap: 8px; }
  .module-stats > div { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 13px; }
  .module-stats b { grid-row: 1 / 3; grid-column: 2; }
  .data-row { grid-template-columns: 25px 1fr 20px; min-height: 68px; padding: 10px; }
  .data-row span:not(.row-index):not(.primary-cell):not(.row-arrow) { display: none; }
  .request-card.data-row { grid-template-columns: 24px minmax(0,1fr); gap: 9px; }
  .request-card.data-row .request-summary,.request-card.data-row .request-status,.request-card.data-row .role-hint { display: flex; }
  .request-card .request-status,.request-card .request-action,.request-card .complete-mark,.request-card .role-hint { grid-column: 2; justify-self: start; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label.full { grid-column: auto; }
  .workflow-note i { display: none; }
  .modal-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .modal-actions .primary-button { grid-column: 1 / -1; grid-row: 1; }
  .popover { position: fixed; top: 70px; right: 12px; width: calc(100vw - 24px); }
  .toast { left: 15px; right: 15px; bottom: 15px; text-align: center; }
}
