:root {
  --ink: #18244f;
  --muted: #60708c;
  --paper: #f7fbfd;
  --line: #d7e7ee;
  --blue: #24356f;
  --sky: #2f80c5;
  --teal: #32b8b6;
  --green: #45bf8d;
  --white: #ffffff;
  --shadow: 0 22px 58px rgba(31, 74, 111, 0.12);
  --soft-shadow: 0 14px 34px rgba(31, 74, 111, 0.08);
  --radius: 18px;
  --radius-small: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito Sans", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 6%, rgba(82, 199, 216, 0.14), transparent 30%),
    radial-gradient(circle at 86% 14%, rgba(69, 191, 141, 0.12), transparent 32%),
    var(--paper);
}

button, input, select, textarea { font: inherit; }
button { border: 0; cursor: pointer; }

.app-shell { min-height: 100vh; }
.view { display: none; }
.view.is-active { display: grid; }

.hero {
  min-height: 100vh;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(247, 251, 253, 0.92), rgba(247, 251, 253, 0.98) 64%),
    linear-gradient(135deg, #2f80c5, #32b8b6 52%, #86d991);
}

.offer-hero h1 {
  max-width: 760px;
}

.hero-content {
  width: min(900px, 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(32px, 6vw, 82px);
}

.brand-logo {
  width: 190px;
  max-width: 72vw;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; letter-spacing: 0; }
h1 {
  max-width: 780px;
  font-size: clamp(39px, 5.8vw, 70px);
  line-height: 1;
}
h2 { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.05; }
h3 { font-size: 20px; }

.lead {
  max-width: 670px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.52;
}

.hero-actions,
.choice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.choice-actions {
  display: grid;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
}

.choice-block {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.choice-block p {
  margin: 0;
  color: var(--blue);
  font-size: 16px;
  font-weight: 900;
}

.primary, .secondary, .ghost {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
}

.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--sky) 58%, var(--teal));
  box-shadow: 0 10px 24px rgba(47, 128, 197, 0.22);
}

.secondary {
  color: var(--blue);
  background: #edf9fb;
  border: 1px solid #b7e5ed;
}

.ghost {
  color: var(--muted);
  background: transparent;
}

.compact { min-height: 40px; padding: 0 16px; }
.wide { width: 100%; }
.hint, .powered-by { color: var(--muted); font-size: 14px; font-weight: 800; }
.powered-by strong { color: var(--blue); }

.feature-row {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  flex-wrap: wrap;
  width: min(760px, 100%);
  margin-top: 20px;
}

.feature-row article {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 86px;
}

.feature-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid #d7e7ee;
  border-radius: 50%;
  color: var(--teal);
  background: #fff;
  box-shadow: 0 10px 26px rgba(31, 74, 111, 0.12);
  font-size: 25px;
  font-weight: 900;
}

.icon-euro::before {
  content: "€";
  color: var(--teal);
  font-size: 28px;
  font-weight: 900;
}

.icon-doc::before {
  content: "";
  width: 22px;
  height: 28px;
  border: 3px solid var(--sky);
  border-radius: 3px;
  background: linear-gradient(135deg, transparent 0 72%, rgba(47, 128, 197, 0.18) 73%);
}

.icon-calendar::before {
  content: "";
  width: 29px;
  height: 26px;
  border: 3px solid var(--teal);
  border-radius: 5px;
  background:
    linear-gradient(var(--teal), var(--teal)) 0 8px / 100% 3px no-repeat,
    linear-gradient(#d7e7ee, #d7e7ee) 8px 15px / 4px 4px no-repeat,
    linear-gradient(#d7e7ee, #d7e7ee) 17px 15px / 4px 4px no-repeat;
}

.icon-chart::before {
  content: "";
  width: 30px;
  height: 30px;
  background:
    linear-gradient(var(--sky), var(--sky)) 3px 17px / 5px 12px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 13px 10px / 5px 19px no-repeat,
    linear-gradient(var(--green), var(--green)) 23px 4px / 5px 25px no-repeat;
}

.icon-members::before,
.icon-members::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--sky);
}

.icon-members::before {
  width: 11px;
  height: 11px;
  top: 17px;
  left: 25px;
  box-shadow: -13px 4px 0 var(--sky), 13px 4px 0 var(--green);
}

.icon-members::after {
  width: 38px;
  height: 16px;
  left: 12px;
  top: 32px;
  border-radius: 16px 16px 8px 8px;
  background:
    radial-gradient(circle at 50% 10%, transparent 0 8px, var(--teal) 9px);
}

.feature-row strong {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.same-place {
  margin: 18px 0 0;
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
}

.same-place strong {
  color: var(--teal);
}

.offer-cta {
  margin-top: 26px;
}

.panel-view {
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.back {
  position: fixed;
  top: 22px;
  left: 22px;
}

.panel {
  width: min(520px, 100%);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.payment-choice-panel {
  width: min(820px, 100%);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  text-align: center;
}

.new-space-panel {
  width: min(720px, 100%);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  text-align: center;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--teal);
  font-weight: 800;
  text-align: center;
}

.form-status.is-error {
  color: #b83d5a;
}

.panel-logo {
  display: block;
  width: 172px;
  max-width: 70%;
  height: auto;
  margin: 0 auto 22px;
}

.panel .eyebrow,
.panel h2,
.new-space-panel .eyebrow,
.new-space-panel h2,
.payment-choice-panel .eyebrow,
.payment-choice-panel h2 {
  text-align: center;
}

.centered {
  text-align: center;
}

.new-space-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  margin-top: 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}

.pricing-grid article {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: #fbfdff;
  text-align: left;
}

.pricing-grid .highlight-plan {
  border-color: #9fdde1;
  background: linear-gradient(135deg, #fff, #edf9fb);
}

.price-label {
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-grid strong {
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.pricing-grid span,
.payment-note {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.payment-note {
  margin: 22px 0 0;
  font-size: 14px;
}

.soft { color: var(--muted); line-height: 1.5; }

.mini-brand, .brand-button {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--teal), var(--green));
}

.mini-brand small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.field, .search-field {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 0 14px;
  color: var(--ink);
  background: #fbfdff;
}

select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 0 14px;
  color: var(--ink);
  background: #fbfdff;
}

.app-view {
  min-height: 100vh;
  grid-template-columns: 270px 1fr;
}

.sidebar {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 26px;
  padding: 28px 22px;
  background: rgba(255, 255, 255, 0.82);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand-button {
  color: var(--ink);
  background: transparent;
  font-weight: 900;
  padding: 0;
}

.brand-button img {
  width: 138px;
  height: auto;
  display: block;
}

.tabs {
  display: grid;
  gap: 8px;
  align-content: start;
}

.tab {
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-small);
  color: var(--muted);
  background: transparent;
  text-align: left;
  font-weight: 900;
}

.tab.is-active {
  color: var(--blue);
  background: #edf9fb;
}

.tab.is-hidden {
  display: none;
}

.workspace {
  padding: clamp(24px, 4vw, 54px);
}

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

.workspace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.screen { display: none; }
.screen.is-active { display: grid; gap: 22px; }

.metric-grid, .model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-grid article,
.import-grid article,
.section-block,
.model-grid article,
.locked-banner,
.import-hero,
.protected-gate,
.empty-start,
.drop-workspace,
.timeline-list article,
.calendar-strip article,
.kanban section,
.cash-head {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.metric-grid article {
  display: grid;
  gap: 4px;
  padding: 22px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.metric-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(31, 74, 111, 0.12);
}

.metric-grid strong { font-size: 30px; }
.metric-grid span { color: var(--muted); font-weight: 800; }

.empty-start {
  width: min(640px, 100%);
  justify-self: center;
  display: grid;
  gap: 16px;
  padding: 34px;
  text-align: center;
}

.dossier-start {
  width: min(760px, 100%);
}

.empty-start img {
  width: 150px;
  height: auto;
  justify-self: center;
}

.empty-start p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.dossier-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 6px 0 4px;
  text-align: left;
}

.dossier-checklist label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: #fbfdff;
  color: var(--blue);
  font-weight: 900;
}

.dossier-checklist input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}

.drop-workspace {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.drop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.drop-head strong {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--teal);
  background: #edf9fb;
}

.big-drop-zone {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 180px;
  border: 2px dashed #9fdde1;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #edf9fb);
  text-align: center;
  cursor: pointer;
}

.big-drop-zone input {
  display: none;
}

.big-drop-zone span {
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}

.big-drop-zone small {
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.drop-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.drop-checklist button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  color: var(--blue);
  background: #fff;
  text-align: left;
  font-weight: 900;
}

.drop-checklist button.is-complete {
  border-color: #9fdde1;
  background: #edf9fb;
}

.drop-checklist b {
  color: var(--teal);
  white-space: nowrap;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(24, 36, 79, 0.48);
}

.modal.is-open {
  display: grid;
}

.modal-card {
  width: min(560px, 100%);
  padding: 34px;
  border: 1px solid #f0b8c7;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 28px 70px rgba(24, 36, 79, 0.28);
}

.modal-card h2 {
  color: var(--blue);
}

.modal-card p {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.modal-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.modal-card li {
  padding: 12px 14px;
  border: 1px solid #f0b8c7;
  border-radius: var(--radius-small);
  color: #9d4058;
  background: #fff7fa;
  font-weight: 900;
}

.support-card {
  width: min(680px, 100%);
  border-color: var(--line);
}

.support-head,
.support-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.support-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.support-grid .wide {
  grid-column: 1 / -1;
}

.support-grid textarea {
  min-height: 120px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: #fbfdff;
  resize: vertical;
}

.support-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--blue);
  font-weight: 900;
}

.import-hero {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 22px;
  padding: 24px;
  background: linear-gradient(135deg, #fff, #eefafb);
}

.import-hero img {
  width: 120px;
  height: auto;
}

.import-hero p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.import-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 14px;
}

.import-grid article {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.import-grid span {
  color: var(--muted);
  font-weight: 800;
}

.protected-import {
  border-color: #9fdde1;
  background: linear-gradient(135deg, #ffffff, #edf9fb);
}

.protected-import p {
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.protected-import div {
  display: grid;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid #d7e7ee;
}

.import-next {
  justify-self: start;
}

.protected-gate {
  width: min(560px, 100%);
  justify-self: center;
  display: grid;
  gap: 14px;
  padding: 34px;
  text-align: center;
}

.protected-gate img {
  width: 150px;
  height: auto;
  justify-self: center;
}

.protected-gate p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.protected-gate .field {
  text-align: left;
}

.pin-advice {
  padding: 12px 14px;
  border: 1px solid #b7e5ed;
  border-radius: var(--radius-small);
  color: var(--blue);
  background: #edf9fb;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  text-align: left;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.dashboard-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-band article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.member-register-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), #edf9fb);
  box-shadow: var(--soft-shadow);
}

.member-register-card p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.register-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.sheet-preview {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.sheet-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sheet-toolbar strong {
  color: var(--blue);
}

.sheet-toolbar span {
  color: var(--teal);
  font-weight: 900;
}

.sheet-grid {
  display: grid;
  overflow-x: auto;
  border: 1px solid #d7e7ee;
  border-radius: var(--radius-small);
}

.sheet-row {
  display: grid;
  grid-template-columns: 120px 120px 110px 260px 120px 190px 90px 120px 105px 105px 120px 110px 100px 100px 130px 120px 180px;
  min-width: 2300px;
}

.sheet-row span {
  padding: 10px;
  border-right: 1px solid #edf3f7;
  border-bottom: 1px solid #edf3f7;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.sheet-head span {
  color: var(--blue);
  background: #edf9fb;
  font-weight: 900;
}

.section-block { padding: 22px; }

.clean-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.clean-list li, .doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #edf3f7;
}

.clean-list span, .doc-row span { color: var(--muted); font-weight: 800; }
.clean-list b, .doc-row b { color: var(--teal); }

.regulation-alert {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid #b7e5ed;
  border-radius: var(--radius-small);
  background: #edf9fb;
}

.regulation-alert strong {
  color: var(--blue);
}

.regulation-alert span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.4;
}

.regulation-row {
  align-items: center;
  padding: 14px;
  border: 1px solid #d7e7ee;
  border-radius: var(--radius-small);
  background: #fbfdff;
}

.regulation-preview {
  display: none;
  gap: 16px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.regulation-preview.is-open {
  display: grid;
}

.regulation-sheet {
  max-height: 620px;
  overflow: auto;
}

.regulation-articles {
  display: grid;
  gap: 8px;
}

.regulation-articles h5 {
  margin-top: 12px;
}

.doc-row-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.quick-grid button,
.model-grid button,
.folder-list button,
.official-filter button {
  min-height: 42px;
  border-radius: var(--radius-small);
  color: var(--blue);
  background: #edf9fb;
  font-weight: 900;
}

.official-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sub-tabs button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-small);
  color: var(--blue);
  background: #edf9fb;
  font-weight: 900;
}

.sub-tabs button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.member-table {
  display: none;
}

.member-table.is-active {
  display: grid;
}

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

.member-cards article {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.member-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.member-info-grid {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px 12px;
}

.member-info-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.member-info-grid strong {
  color: var(--blue);
  font-weight: 900;
}

.member-exit-band {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-small);
  background: #fff0f4;
  color: #9d4058;
  font-weight: 900;
}

.official-filter button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.locked-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px;
  background: linear-gradient(135deg, #fff, #eefafb);
}

.locked-banner p { margin: 6px 0 0; color: var(--muted); }

.doc-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
}

.folder-list {
  display: grid;
  gap: 8px;
  align-content: start;
}

.folder-list button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.sensitive b { color: #c75b78; }

.model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.model-grid article { display: grid; gap: 10px; padding: 22px; }
.model-grid p { min-height: 48px; margin: 0; color: var(--muted); }

.doc-preview-panel,
.doc-form-panel {
  display: none;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.memory-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), #edf9fb);
  box-shadow: var(--soft-shadow);
}

.memory-intro p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

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

.memory-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.memory-grid small {
  color: var(--muted);
  font-weight: 900;
}

.memory-list {
  display: grid;
  gap: 9px;
}

.memory-empty,
.memory-item {
  padding: 11px 12px;
  border-radius: var(--radius-small);
  font-weight: 900;
}

.memory-empty {
  color: var(--muted);
  background: #f7fbfd;
}

.memory-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--blue);
  background: #edf9fb;
}

.memory-item b {
  color: var(--teal);
}

.creation-notice {
  padding: 12px 14px;
  border-radius: var(--radius-small);
  color: var(--blue);
  background: #edf9fb;
  font-weight: 900;
}

.signature-option,
.signature-option-notice {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #b7e5ed;
  border-radius: var(--radius-small);
  color: var(--blue);
  background: #edf9fb;
  font-weight: 900;
}

.signature-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
}

.signature-option input {
  width: 17px;
  min-height: 17px;
  accent-color: var(--teal);
}

.signature-option span,
.signature-option-notice span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.signature-option-notice {
  margin-top: 12px;
}

.signature-option-notice button {
  justify-self: start;
}

.member-pin-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.member-pin-head {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 320px);
  align-items: end;
  gap: 18px;
}

.member-pin-list {
  display: grid;
  gap: 12px;
}

.member-pin-list article {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff 0%, #f4fbfc 100%);
}

.member-pin-list strong,
.member-pin-list span,
.member-pin-list small {
  display: block;
}

.member-pin-list span,
.member-pin-list small,
.member-pin-note {
  color: var(--muted);
  font-weight: 800;
}

.member-pin-list b {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--teal);
  background: #eaf9f4;
  white-space: nowrap;
}

.member-pin-list b.is-muted {
  color: var(--muted);
  background: #f4f8fa;
}

.member-pin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.member-pin-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-small);
  background: #edf9fb;
}

.doc-preview-panel.is-open,
.doc-form-panel.is-open {
  display: grid;
}

.document-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.document-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.document-form textarea {
  width: 100%;
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfdff;
  resize: vertical;
}

.form-help {
  padding: 12px 14px;
  border-radius: var(--radius-small);
  color: var(--blue);
  background: #edf9fb;
  font-weight: 900;
}

.agenda-points {
  display: grid;
  gap: 12px;
}

.agenda-points-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.agenda-points-head strong {
  color: var(--blue);
  font-size: 18px;
}

.agenda-point {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: #fbfdff;
}

.mini-drop-zone {
  min-height: 118px;
  padding: 14px;
  border: 2px dashed #b7e5ed;
  border-radius: var(--radius-small);
  background: #fbfdff;
  cursor: pointer;
}

.mini-drop-zone input {
  display: none;
}

.mini-drop-zone span {
  display: grid;
  place-items: center;
  min-height: 54px;
  border-radius: 12px;
  color: var(--teal);
  background: #edf9fb;
  font-weight: 900;
}

.signature-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: #fbfdff;
}

.notification-choice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: #fbfdff;
}

.notification-choice strong {
  color: var(--blue);
  margin-right: 4px;
}

.notification-choice label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.notification-choice input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}

.form-signature-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.form-signature-preview div {
  min-height: 96px;
  padding: 14px;
  border: 1px dashed #b7e5ed;
  border-radius: var(--radius-small);
  color: var(--muted);
  background: #fbfdff;
  font-weight: 900;
}

.form-signature-preview span {
  display: inline-block;
  margin-top: 20px;
}

.form-signature-preview small {
  display: block;
  margin-top: 4px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.doc-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.document-sheet {
  display: grid;
  gap: 16px;
  padding: 34px;
  border: 1px solid #e3eef4;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
}

.document-logo {
  width: 142px;
  height: auto;
  justify-self: center;
  margin-bottom: 4px;
}

.document-sheet h4 {
  margin: 0;
  color: var(--blue);
  font-size: 28px;
  text-align: center;
  text-transform: uppercase;
}

.document-subtitle {
  margin: -8px 0 8px;
  color: var(--teal);
  font-weight: 900;
  text-align: center;
}

.document-sheet p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.document-info {
  display: grid;
  border: 1px solid #d7e7ee;
  border-radius: 14px;
  overflow: hidden;
}

.document-info div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #edf3f7;
}

.document-info div:last-child {
  border-bottom: 0;
}

.document-info strong {
  color: var(--blue);
}

.attendance-block {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #d7e7ee;
  border-radius: 14px;
  background: #fbfdff;
}

.attendance-block div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px;
  align-items: start;
}

.attendance-block strong {
  color: var(--blue);
}

.attendance-block span {
  color: var(--muted);
  font-weight: 800;
}

.document-callout {
  padding: 16px;
  border-radius: 14px;
  background: #edf9fb;
}

.document-sheet h5 {
  margin: 8px 0 0;
  color: var(--blue);
  font-size: 18px;
}

.document-sheet ul {
  display: grid;
  gap: 8px;
  margin: 4px 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 800;
}

.signature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

.signature-box {
  min-height: 90px;
  padding: 12px;
  border: 1px dashed #b7e5ed;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 900;
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.toolbar, .cash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.toolbar input { max-width: 360px; }
.cash-head { padding: 20px; }
.cash-head strong { font-size: 24px; }

.mini-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-status-row span {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--blue);
  background: #edf9fb;
  font-size: 14px;
  font-weight: 900;
}

.table-like {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.table-like > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid #edf3f7;
}

.member-table > div {
  grid-template-columns: 1.2fr 0.8fr 1fr 0.9fr 0.9fr 1.3fr 0.8fr 1fr;
}

#members-old > div {
  grid-template-columns: 1.2fr 0.8fr 1fr 0.9fr 0.9fr 1.3fr 0.8fr 0.9fr 0.9fr 0.9fr 1fr;
}

.table-like > div:first-child { background: #edf9fb; color: var(--blue); }
.table-like span { color: var(--muted); font-weight: 800; }

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status-pill.active {
  color: #16745f;
  background: #e9f8ef;
}

.status-pill.warning {
  color: #8a5a00;
  background: #fff3c7;
}

.status-pill.closed {
  color: #9d4058;
  background: #fff0f4;
}

.timeline-list, .calendar-strip {
  display: grid;
  gap: 14px;
}

.contract-drop-zone {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 150px;
  border: 2px dashed #b7e5ed;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #edf9fb);
  text-align: center;
  cursor: pointer;
}

.contract-drop-zone input {
  display: none;
}

.contract-drop-zone span {
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.contract-drop-zone small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.renewal-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.renewal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.renewal-list span {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--blue);
  background: #edf9fb;
  font-weight: 900;
}

.renewal-list b {
  color: var(--teal);
}

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

.contract-cards article {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.contract-cards p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.cashbook-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(235, 249, 249, 0.92));
  box-shadow: var(--soft-shadow);
}

.cashbook-head h2 {
  margin: 2px 0 0;
  color: var(--blue);
  font-size: 26px;
}

.cashbook-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.cashbook-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cashbook-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.cashbook-summary article {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.cashbook-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.cashbook-summary strong {
  color: var(--blue);
  font-size: 20px;
}

.cashbook-summary small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.cashbook-toolbar {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.cashbook-filter-row,
.cashbook-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cashbook-filter {
  border: 1px solid #b7e5ed;
  border-radius: 999px;
  background: #f3fbfc;
  color: var(--blue);
  min-height: 34px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 900;
}

.cashbook-filter.active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 12px 24px rgba(39, 105, 150, 0.18);
}

.cashbook-search-row input {
  max-width: 220px;
  min-height: 36px;
  padding: 8px 10px;
}

.cashbook-list {
  display: grid;
  gap: 8px;
}

.cashbook-row {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.cashbook-row.is-unpaid {
  border-color: #f3d6a0;
}

.cashbook-row.is-paid {
  border-color: #bdebd6;
}

.cashbook-row summary {
  display: grid;
  grid-template-columns: 62px 82px minmax(0, 1fr) 92px;
  gap: 9px;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}

.cashbook-row summary::-webkit-details-marker {
  display: none;
}

.cashbook-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.cashbook-date.income {
  background: linear-gradient(135deg, #1d6ef0, #31c7a2);
}

.cashbook-date.expense {
  background: linear-gradient(135deg, #f2ad4b, #e26975);
}

.cashbook-row-main {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.cashbook-row-main strong {
  color: var(--blue);
}

.cashbook-row-main small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.cashbook-amount {
  justify-self: end;
  font-size: 16px;
  font-weight: 950;
}

.cashbook-amount.positive {
  color: #16745f;
}

.cashbook-amount.negative {
  color: #9d4058;
}

.cashbook-row-body {
  display: grid;
  gap: 9px;
  padding: 0 12px 12px;
}

.cashbook-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.cashbook-meta-grid div {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 12px;
  background: #f3fbfc;
}

.cashbook-meta-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.cashbook-meta-grid strong {
  color: var(--blue);
}

.mini-drop {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border: 1px dashed #84d7df;
  border-radius: 999px;
  color: var(--blue);
  background: #f3fbfc;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.mini-drop input {
  display: none;
}

.timeline-list article {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
}

.timeline-list span { color: var(--muted); font-weight: 800; }

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(235, 249, 249, 0.92));
  box-shadow: var(--soft-shadow);
}

.calendar-head h2 {
  margin: 2px 0 0;
  color: var(--blue);
  font-size: 26px;
}

.calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 14px;
}

.calendar-month,
.calendar-side {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
}

.calendar-month {
  overflow: hidden;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays span {
  padding: 10px 8px;
  color: var(--blue);
  background: #edf9fb;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.calendar-grid article {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 88px;
  padding: 9px;
  border-top: 1px solid #edf3f7;
  border-right: 1px solid #edf3f7;
}

.calendar-grid article:nth-child(7n) {
  border-right: 0;
}

.calendar-grid b {
  color: var(--blue);
  font-size: 15px;
}

.calendar-grid .muted-day {
  background: #f7fbfd;
}

.calendar-grid .muted-day b {
  color: #9aaabd;
}

.calendar-grid .today {
  background: linear-gradient(135deg, #f4fbff, #eafaf5);
  box-shadow: inset 0 0 0 2px #71d7d2;
}

.event-dot {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--blue);
  background: #edf9fb;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
}

.event-dot.meeting { background: #e7f1ff; color: #285aa7; }
.event-dot.ag { background: #e9f8ef; color: #16745f; }
.event-dot.contract { background: #fff3c7; color: #8a5a00; }
.event-dot.cash { background: #fff0f4; color: #9d4058; }
.event-dot.admin { background: #edf9fb; color: var(--teal); }
.event-dot.project { background: #eef4ff; color: var(--blue); }

.calendar-side {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 14px;
}

.calendar-side input {
  min-height: 38px;
  padding: 9px 11px;
}

.upcoming-list {
  display: grid;
  gap: 8px;
}

.upcoming-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: #f3fbfc;
}

.upcoming-list b {
  color: var(--teal);
  font-size: 13px;
}

.upcoming-list span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.kanban {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.kanban section {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
}

.kanban article {
  padding: 14px;
  border-radius: var(--radius-small);
  color: var(--muted);
  background: #f7fbfd;
  font-weight: 900;
}

.action-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(235, 249, 249, 0.92));
  box-shadow: var(--soft-shadow);
}

.action-head h2 {
  margin: 2px 0 0;
  color: var(--blue);
  font-size: 26px;
}

.action-head-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.action-head-tools input {
  min-height: 38px;
  max-width: 220px;
  padding: 9px 11px;
}

.action-kanban section {
  border-radius: 22px;
}

.action-kanban h3 {
  margin: 0;
  color: var(--blue);
}

.action-kanban article {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid #edf3f7;
  border-radius: 14px;
  background: #f3fbfc;
}

.action-kanban article strong {
  color: var(--blue);
}

.action-kanban article span {
  color: var(--muted);
  font-size: 13px;
}

.action-form-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
}

.action-form-title,
.action-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.action-form-title h3 {
  margin: 2px 0 0;
  color: var(--blue);
  font-size: 24px;
}

.action-form-title select {
  max-width: 190px;
}

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

.action-form-grid label,
.action-workflow label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.action-form-grid .wide {
  grid-column: span 2;
}

.action-form-grid textarea,
.action-workflow textarea {
  width: 100%;
  min-height: 78px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
  resize: vertical;
}

.action-workflow {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 12px;
}

.action-workflow section {
  display: grid;
  gap: 9px;
  align-content: start;
  padding: 14px;
  border-radius: 18px;
  background: #f7fbfd;
}

.action-workflow h4 {
  margin: 0;
  color: var(--blue);
}

.action-workflow input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  accent-color: var(--teal);
}

.action-workflow label:not(.action-drop) {
  display: flex;
  align-items: center;
}

.action-drop {
  min-height: 118px;
  place-items: center;
  padding: 14px;
  border: 2px dashed #b7e5ed;
  border-radius: 18px;
  color: var(--blue);
  background: #edf9fb;
  text-align: center;
  cursor: pointer;
}

.action-drop input {
  display: none;
}

@media (max-width: 900px) {
  .app-view { grid-template-columns: 1fr; }
  .sidebar { position: static; border-right: 0; border-bottom: 1px solid var(--line); }
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid, .model-grid, .form-row, .import-grid, .import-hero, .calendar-strip, .calendar-layout, .kanban, .split, .dashboard-band, .doc-layout, .pricing-grid, .new-space-grid, .drop-checklist, .cashbook-summary, .cashbook-meta-grid, .action-form-grid, .action-workflow, .support-grid, .member-pin-head, .member-pin-list article { grid-template-columns: 1fr; }
  .member-pin-actions { justify-content: flex-start; }
  .cashbook-head { flex-direction: column; }
  .cashbook-actions { justify-content: flex-start; }
  .cashbook-row summary { grid-template-columns: 68px 1fr; }
  .cashbook-row-main, .cashbook-amount { grid-column: 1 / -1; justify-self: start; }
  .calendar-head { flex-direction: column; align-items: stretch; }
  .calendar-actions { justify-content: flex-start; }
  .action-head, .action-form-title, .action-form-footer { flex-direction: column; align-items: stretch; }
  .action-head-tools { justify-content: flex-start; }
  .action-form-grid .wide { grid-column: auto; }
  .workspace-actions, .support-head, .support-actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 560px) {
  .hero-actions, .choice-actions, .workspace-head, .locked-banner, .toolbar, .cash-head, .timeline-list article, .cashbook-actions, .cashbook-filter-row, .cashbook-search-row, .calendar-actions, .action-head-tools, .workspace-actions { align-items: stretch; flex-direction: column; }
  .choice-block { justify-items: stretch; }
  .primary, .secondary { width: 100%; }
  .table-like > div { grid-template-columns: 1fr; }
  .dossier-checklist { grid-template-columns: 1fr; }
  .drop-head { align-items: stretch; flex-direction: column; }
  .cashbook-filter, .cashbook-search-row input, .mini-drop { width: 100%; }
  .calendar-grid article { min-height: 74px; padding: 7px; }
  .event-dot { font-size: 10px; padding: 3px 5px; }
  .action-head-tools input, .action-form-title select { max-width: none; width: 100%; }
}
