:root {
  --ink: #1f2c33;
  --muted: #66747b;
  --line: #d7e0e3;
  --page: #f3f6f7;
  --panel: #ffffff;
  --brand: #2567a8;
  --brand-dark: #174d82;
  --accent: #b6782f;
  --blue: #2567a8;
  --danger: #aa3838;
  --ok: #28704f;
  --soft: #e8f1fb;
  --shadow: 0 12px 26px rgba(20, 40, 48, .1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Microsoft JhengHei", "Noto Sans TC", Arial, sans-serif;
}

h1, h2, h3, p { margin: 0; }
h1 { font-size: 26px; }
h2 { font-size: 25px; }
h3 { font-size: 18px; margin-bottom: 14px; }

button, input, select, textarea { font: inherit; }

button, .primary-link, .secondary-link {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  color: #fff;
  background: var(--brand);
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
}

button:hover, .primary-link:hover { background: var(--brand-dark); }
.secondary, .secondary-link { color: var(--brand-dark); background: #dbeaf7; }
.danger { background: var(--danger); }
.warn { background: var(--accent); }
.wide { width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
}

.back-header { background: rgba(247, 250, 250, .96); }

.eyebrow {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.main-nav, .login-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-btn, .side-btn {
  color: var(--ink);
  background: #e6edf5;
}

.nav-btn.active, .side-btn.active {
  color: #fff;
  background: var(--brand);
}

.layout {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 24px 28px;
}

.backend-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
}

.workspace { min-width: 0; }

.side-nav {
  position: sticky;
  top: 108px;
  align-self: start;
  display: grid;
  gap: 8px;
}

.side-btn {
  justify-content: flex-start;
  width: 100%;
}

.view { display: none; }
.view.active { display: block; }

.portal {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.portal-hero {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 34px;
}

.portal-hero h1 { margin: 4px 0 12px; font-size: 34px; }
.portal-hero p { color: var(--muted); line-height: 1.7; }
.portal-actions { display: grid; gap: 12px; }

.hero-band, .front-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 24px;
}

.hero-band h2 { margin: 4px 0 10px; }
.hero-band p { color: var(--muted); line-height: 1.7; }
.quick-panel { display: grid; gap: 10px; }

.top-announcements {
  margin-bottom: 18px;
}

.announcement-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 35, 48, .45);
}

.announcement-dialog {
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid #c7d8e7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 39, 59, .25);
  overflow: hidden;
}

.compact-dialog {
  width: min(620px, 100%);
}

.modal-head {
  border-bottom: 1px solid var(--line);
  padding: 22px 24px 16px;
}

.modal-head h2 {
  margin-top: 4px;
}

.modal-announcements {
  max-height: 430px;
  overflow: auto;
  padding: 18px 24px;
}

.modal-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px 190px;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--line);
  background: #f6f9fc;
  padding: 18px 24px;
}

.modal-actions.single-action {
  grid-template-columns: minmax(220px, 320px);
  justify-content: end;
}

.check-row {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
}

.check-row input {
  width: 18px;
  min-height: 18px;
}

.large-close {
  min-height: 54px;
  font-size: 18px;
}

#showArchiveFromModal {
  min-height: 54px;
  font-size: 18px;
}

.home-function-bar {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.home-function-bar button {
  min-width: 180px;
}

.announcement-page-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.archive-row p {
  color: var(--muted);
  line-height: 1.7;
}

.archive-toolbar {
  grid-template-columns: minmax(260px, 1fr);
}

.query-panel {
  display: grid;
  gap: 14px;
}

.query-panel .field-grid {
  margin: 0;
}

.query-panel button {
  width: min(220px, 100%);
}

.announcement-detail-body {
  line-height: 1.8;
}

.login-methods {
  display: grid;
  gap: 14px;
}

.login-methods article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
  padding: 14px;
}

.login-methods strong {
  display: block;
  margin-bottom: 8px;
}

.account-cases-panel {
  margin-top: 18px;
}

#front-account .content-grid .panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

#front-account .panel > label {
  margin-bottom: 2px;
}

#importCaseToAccount {
  margin-top: 4px;
  width: min(220px, 100%);
}

#importCaseNotice {
  margin-top: 2px;
}

.front-home-hero {
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: stretch;
}

.front-home-hero h2 {
  margin: 4px 0 10px;
  font-size: 30px;
}

.front-home-hero p,
.body-copy {
  color: var(--muted);
  line-height: 1.8;
}

.big-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.big-action {
  min-height: 150px;
  align-items: flex-start;
  flex-direction: column;
  padding: 22px;
  text-align: left;
}

.big-action strong {
  display: block;
  font-size: 30px;
}

.big-action span {
  display: block;
  color: rgba(255,255,255,.86);
  line-height: 1.5;
  font-weight: 500;
}

.secondary-action {
  color: #183d42;
  background: #dbeaf7;
}

.secondary-action:hover {
  color: #133f68;
  background: #c8dff2;
}

.secondary-action span {
  color: #476678;
}

.secondary-action:hover span {
  color: #31566e;
}

.home-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.plain-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.7;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.process-flow div {
  position: relative;
  min-height: 138px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfb;
  padding: 14px;
}

.process-flow strong {
  width: 40px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  color: #fff;
  background: var(--brand);
  font-size: 13px;
}

.process-flow span {
  font-weight: 800;
}

.process-flow small {
  color: var(--muted);
  line-height: 1.55;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head h3 {
  margin-bottom: 0;
}

.announcement-list,
.download-list {
  display: grid;
  gap: 10px;
}

.announcement-item,
.download-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.announcement-item strong,
.download-item strong {
  display: block;
  margin-bottom: 4px;
}

.announcement-item p,
.download-item p {
  color: var(--muted);
  line-height: 1.6;
}

.announcement-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.meta-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.announcement-body {
  color: var(--muted);
  line-height: 1.7;
  margin: 6px 0;
}

.announcement-item small {
  color: var(--muted);
}

.editor-toolbar {
  display: grid;
  grid-template-columns: repeat(2, auto) minmax(120px, 160px) repeat(2, minmax(110px, 1fr));
  gap: 8px;
  align-items: end;
  margin: 12px 0;
}

.editor-toolbar button,
.editor-toolbar select {
  min-height: 36px;
}

.editor-toolbar label {
  font-size: 13px;
}

.editor-toolbar input[type="color"] {
  min-height: 36px;
  padding: 3px;
}

.rich-editor {
  min-height: 180px;
  border: 1px solid #c9d5d8;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  line-height: 1.7;
  outline: none;
}

.rich-editor:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 103, 168, .16);
}

.editor-visible {
  margin-top: 10px;
}

.page-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.panel, .metric-card, .case-card, .stage-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel { padding: 20px; }

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 14px;
  width: min(940px, 100%);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
}

.hidden {
  display: none !important;
}

.login-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.login-summary h3 {
  margin: 4px 0 6px;
}

.login-summary p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.test-login-box {
  width: min(460px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.test-login-box .actions,
.test-login-box .notice {
  grid-column: 1 / -1;
}

.credential-hint {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid #bdd2e3;
  border-radius: 6px;
  color: var(--brand-dark);
  background: #e7f1fb;
  font-size: 13px;
}

.credential-hint span {
  color: var(--ink);
  font-weight: 700;
}

.metric-card {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 18px;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 8px;
}

.metric-card strong {
  color: var(--brand-dark);
  font-size: 32px;
}

.content-grid, .dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  gap: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-panel { display: grid; gap: 12px; }

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

input, select, textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #c9d5d8;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  padding: 8px 10px;
}

textarea { min-height: 96px; resize: vertical; }

.stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.stepper span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: #fff;
  font-weight: 800;
}

.stepper .active {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.application-stepper button {
  min-height: 48px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: #fff;
}

.application-stepper button.active {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.apply-step {
  display: none;
}

.apply-step.active {
  display: grid;
  gap: 12px;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.draft-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border: 1px solid #c7d8e7;
  border-radius: 8px;
  background: #f6f9fc;
  padding: 12px;
}

.draft-bar span {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.confirm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.confirm-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
  padding: 12px;
}

.confirm-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 4px;
}

.inline-button-label {
  align-content: end;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #c7d8e7;
  border-radius: 99px;
  background: #eef5fc;
  padding: 6px 8px 6px 12px;
  font-weight: 700;
}

.tag-item button {
  min-height: 24px;
  width: 24px;
  padding: 0;
  border-radius: 50%;
}

.muted-note {
  color: var(--muted);
}

.notice {
  border-radius: 6px;
  padding: 12px;
  color: #6b491c;
  background: #fff7e8;
  line-height: 1.6;
}

.notice.info {
  color: #264e55;
  background: #e7f1fb;
}

.notice.warn {
  color: #65420f;
  background: #fff3d6;
}

.notice.danger {
  color: #842727;
  background: #fdecec;
}

.confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbfd;
  line-height: 1.6;
}

.confirm-check input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.gis-preview {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(90deg, transparent 0 47%, rgba(43,91,130,.14) 47% 53%, transparent 53%), #edf4fb;
}

.gis-road {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  height: 38px;
  background: #cdd8d9;
}

.gis-pipe {
  position: absolute;
  top: 90px;
  left: 12%;
  right: 12%;
  height: 6px;
  border-radius: 99px;
  background: var(--blue);
}

.gis-manhole {
  position: absolute;
  top: 78px;
  width: 30px;
  height: 30px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
}

.gis-manhole.a { left: 28%; }
.gis-manhole.b { right: 22%; }

.gis-pin {
  position: absolute;
  right: 18%;
  top: 28px;
  border-radius: 6px;
  color: #fff;
  background: var(--accent);
  padding: 8px 12px;
  font-weight: 800;
}

.result-box, .email-preview, .audit-log {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
  padding: 14px;
  line-height: 1.7;
}

.fee-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--soft);
  padding: 16px;
}

.fee-box span { color: var(--muted); font-weight: 800; }
.fee-box strong { color: var(--brand-dark); font-size: 25px; }

.upload-list, .case-list, .stage-grid, .bar-chart, .audit-log {
  display: grid;
  gap: 10px;
}

.upload-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.upload-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.upload-box { margin: 12px 0; }

.toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 200px;
  gap: 10px;
  margin-bottom: 14px;
}

.case-card {
  padding: 14px;
}

.draft-card {
  border-color: #d6b46d;
  background: #fffaf0;
}

.case-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.case-card h4 { margin: 0; font-size: 17px; }

.meta, .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.actions { margin-top: 10px; }

.actions button { min-height: 34px; padding: 0 12px; }

.file-link-group {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.file-link-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.file-link-list a {
  min-height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #bdd2e3;
  border-radius: 6px;
  padding: 0 10px;
  color: var(--brand-dark);
  background: #f2f7fb;
  text-decoration: none;
  font-weight: 700;
}

.badge {
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 99px;
  color: var(--ink);
  background: #e6edf5;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
}

.badge.ok { color: #fff; background: var(--ok); }
.badge.warn { color: #fff; background: var(--accent); }
.badge.danger { color: #fff; background: var(--danger); }
.badge.blue { color: #fff; background: var(--blue); }

.bar-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
}

.bar-track {
  height: 12px;
  border-radius: 99px;
  background: #e6edf5;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--brand);
}

.stage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stage-card {
  padding: 16px;
}

.stage-card strong { font-size: 28px; color: var(--brand-dark); }

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  line-height: 1.7;
}

.email-preview {
  min-height: 260px;
  white-space: pre-wrap;
  font-family: Consolas, "Microsoft JhengHei", monospace;
}

.audit-log { max-height: 420px; overflow: auto; }
.log-row { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.log-row:last-child { border-bottom: 0; }

.text-link { color: var(--brand); font-weight: 800; text-decoration: none; }

@media (max-width: 980px) {
  .site-header, .page-title, .hero-band, .portal-hero {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .backend-layout, .content-grid, .dashboard-grid, .summary-grid, .field-grid, .toolbar, .stepper, .stage-grid, .home-section-grid, .process-flow, .big-actions, .editor-toolbar {
    grid-template-columns: 1fr;
  }

  .side-nav { position: static; }
  .layout { padding: 16px; }
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  h1 { font-size: 21px; }
  h2 { font-size: 22px; }
  h3 { font-size: 17px; }

  .site-header {
    position: static;
    min-height: 0;
    padding: 14px;
  }

  .main-nav,
  .login-strip,
  .section-head,
  .login-summary,
  .draft-bar,
  .step-actions,
  .fee-box {
    align-items: stretch;
    flex-direction: column;
  }

  .main-nav,
  .login-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .main-nav button,
  .login-strip button,
  .login-strip select,
  .section-head button,
  .query-panel button,
  .step-actions button,
  .draft-bar button,
  .case-card .actions button {
    width: 100%;
  }

  .layout {
    padding: 12px;
  }

  .panel {
    padding: 14px;
  }

  .front-home-hero {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .front-home-hero h2 {
    font-size: 24px;
  }

  .big-actions {
    grid-template-columns: 1fr;
  }

  .big-action {
    min-height: 118px;
    padding: 18px;
  }

  .big-action strong {
    font-size: 24px;
  }

  .process-flow {
    grid-template-columns: 1fr;
  }

  .process-flow div {
    min-height: 0;
  }

  .application-stepper {
    grid-template-columns: 1fr;
  }

  .application-stepper button {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 12px;
    text-align: left;
  }

  .toolbar,
  .field-grid,
  .confirm-grid,
  .summary-grid,
  .content-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .modal-actions {
    grid-template-columns: 1fr;
  }

  .case-list {
    gap: 12px;
  }

  .case-card {
    display: grid;
    gap: 10px;
    padding: 14px;
  }

  .case-card header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 0;
  }

  .case-card h4 {
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.35;
  }

  .case-card .badge {
    justify-self: start;
    min-height: 30px;
    white-space: normal;
    text-align: center;
  }

  .case-card .meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    width: 100%;
  }

  .case-card .meta span {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #f8fbfb;
    padding: 8px 10px;
    overflow-wrap: anywhere;
  }

  .case-card p,
  .result-box,
  .notice,
  .confirm-item strong {
    overflow-wrap: anywhere;
  }

  .case-card .actions,
  .draft-bar .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 0;
  }

  .bar-row {
    grid-template-columns: 1fr 48px;
  }

  .bar-row span {
    grid-column: 1 / -1;
  }

  .gis-preview {
    min-height: 150px;
  }
}

@media (max-width: 420px) {
  .main-nav,
  .login-strip {
    grid-template-columns: 1fr;
  }

  button,
  .primary-link,
  .secondary-link {
    min-height: 44px;
    padding: 0 12px;
  }

  .announcement-dialog {
    max-height: calc(100vh - 24px);
  }

  .modal-head,
  .modal-announcements,
  .modal-actions {
    padding-left: 14px;
    padding-right: 14px;
  }
}
