.frdndl-crm{--crm-ink:#172033;--crm-muted:#64748b;--crm-line:#e2e8f0;--crm-accent:#176b87;color:var(--crm-ink);max-width:1440px;margin:1.5rem auto;padding:clamp(1rem,2vw,2rem);font-family:inherit}.frdndl-crm__header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.5rem 0 2rem;border-bottom:1px solid var(--crm-line)}.frdndl-crm__header h1{font-size:clamp(2rem,4vw,3rem);margin:.2rem 0}.frdndl-crm__header p{color:var(--crm-muted);max-width:65ch}.frdndl-crm__eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:700;color:var(--crm-accent);margin:0}.frdndl-crm__version{border:1px solid var(--crm-line);border-radius:2rem;padding:.35rem .75rem;font-size:.8rem;color:var(--crm-muted);white-space:nowrap}.frdndl-crm__notice,.frdndl-crm__login{margin:1.5rem 0;padding:1.25rem 1.5rem;border:1px solid #bfdae3;border-left:4px solid var(--crm-accent);border-radius:.5rem;background:#f5fafc}.frdndl-crm__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.9rem;margin:1rem 0 2rem}.frdndl-crm__module{position:relative;min-height:120px;padding:1rem;border:1px solid var(--crm-line);border-radius:.55rem;background:#fff}.frdndl-crm__module h3{font-size:1rem;margin:.8rem 0 .5rem}.frdndl-crm__module-mark{display:inline-grid;place-items:center;width:1.8rem;height:1.8rem;border-radius:.4rem;background:#eaf3f6;color:var(--crm-accent);font-size:1.1rem}.frdndl-crm__state{font-size:.75rem;color:var(--crm-muted)}.frdndl-crm__footnote{font-size:.85rem;color:var(--crm-muted)}.frdndl-crm__button{display:inline-block;padding:.7rem 1rem;background:var(--crm-accent);color:white!important;border-radius:.35rem;text-decoration:none;font-weight:600}.frdndl-crm h2{margin-top:1.5rem}@media(max-width:600px){.frdndl-crm__header{display:block}.frdndl-crm__version{display:inline-block;margin-top:.5rem}}

.frdndl-crm__module-nav{display:flex;flex-wrap:wrap;gap:.55rem;margin:1.5rem 0}
.frdndl-crm__module-nav a{display:inline-block;padding:.55rem .85rem;border:1px solid #d9e2ec;border-radius:.45rem;text-decoration:none;color:inherit;background:#fff}
.frdndl-crm__module-nav a:hover{border-color:#16718b;color:#12647d}
.frdndl-crm__panel{margin:1.5rem 0;padding:1.25rem;border:1px solid #d9e2ec;border-radius:.65rem;background:#fff}
.frdndl-crm__fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.frdndl-crm__fields label{display:flex;flex-direction:column;gap:.35rem;font-weight:600}
.frdndl-crm__fields input,.frdndl-crm__fields select,.frdndl-crm__fields textarea{width:100%;max-width:100%;padding:.55rem;border:1px solid #b8c5d1;border-radius:.35rem;font-weight:400}
.frdndl-crm__actions{display:flex;align-items:center;gap:1rem;margin-top:1rem}
.frdndl-crm__module{display:block;color:inherit;text-decoration:none}
.frdndl-crm__module:hover{border-color:#16718b}
.frdndl-crm__module-nav a:focus,.frdndl-crm__module:focus{outline:2px solid #16718b;outline-offset:2px}

/* 0.2.4-alpha: record search, export and pagination */
.frdndl-crm__toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:.65rem;margin:1rem 0}
.frdndl-crm__toolbar input[type=search]{flex:1 1 16rem;min-width:12rem;padding:.65rem;border:1px solid #b8c5d1;border-radius:.35rem}
.frdndl-crm__toolbar label{display:flex;flex-direction:column;gap:.25rem;font-size:.9rem}
.frdndl-crm__toolbar select{padding:.6rem;border:1px solid #b8c5d1;border-radius:.35rem;background:#fff}
.frdndl-crm__pagination{display:flex;flex-wrap:wrap;align-items:center;gap:.85rem;margin-top:1rem;padding-top:.8rem;border-top:1px solid #e5ebf1}
.frdndl-crm__pagination span{margin-right:auto;color:var(--crm-muted);font-size:.9rem}
.frdndl-crm__pagination a{padding:.45rem .7rem;border:1px solid #d9e2ec;border-radius:.35rem;text-decoration:none}
.frdndl-crm__toolbar .frdndl-crm__button{border:0;cursor:pointer}

/* 0.2.5-alpha: required-field indicators */
.frdndl-crm__required-note{margin:.25rem 0 1rem;color:#64748b;font-size:.9rem}
.frdndl-crm__required,.frdndl-crm__required-note span{color:#b42318;font-weight:700}
.frdndl-crm__fields [required]{border-left:3px solid #b42318}

/* 0.2.6-alpha: operational dashboard */
.frdndl-crm__stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.8rem;margin:1rem 0 1.5rem}
.frdndl-crm__stat{display:flex;flex-direction:column;gap:.45rem;padding:1rem;border:1px solid var(--crm-line);border-radius:.55rem;background:#fff;color:inherit;text-decoration:none}
.frdndl-crm__stat span{font-size:.85rem;color:var(--crm-muted)}
.frdndl-crm__stat strong{font-size:2rem;line-height:1.1;color:var(--crm-accent)}
.frdndl-crm__stat:hover{border-color:var(--crm-accent)}
.frdndl-crm__dashboard-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:1rem}
.frdndl-crm__dashboard-grid .frdndl-crm__panel{min-width:0}
@media(max-width:760px){.frdndl-crm__dashboard-grid{grid-template-columns:1fr}}


/* 0.2.8-alpha: vtiger-inspired CRM workspace proportions and navigation */
.frdndl-crm{max-width:1600px;background:#f5f7fa;padding:1.1rem;color:#263746}
.frdndl-crm__header{background:#fff;border:1px solid #e3e8ef;border-top:4px solid #2b7db3;padding:1.15rem 1.4rem;margin:0 0 1rem;align-items:center}
.frdndl-crm__header h1{font-size:1.65rem;font-weight:600;color:#263746;margin:.15rem 0}
.frdndl-crm__eyebrow{color:#2b7db3;letter-spacing:.08em}
.frdndl-crm__version{border-radius:3px;background:#f1f5f9}
.frdndl-crm__module-nav{gap:0;background:#263f59;padding:.45rem;margin:0 0 1rem;border-radius:3px}
.frdndl-crm__module-nav a{border:0;border-radius:2px;background:transparent;color:#eaf2f8;padding:.65rem .8rem;font-size:.9rem}
.frdndl-crm__module-nav a:hover,.frdndl-crm__module-nav a:focus{background:#365c7e;color:#fff;border-color:transparent}
.frdndl-crm__panel{border-radius:3px;border-color:#e1e7ed;box-shadow:0 1px 2px rgba(20,40,60,.04);padding:1.1rem 1.25rem}
.frdndl-crm__panel h2{font-size:1.15rem;font-weight:600;color:#263746;margin-top:.2rem}
.frdndl-crm__toolbar input[type=search],.frdndl-crm__toolbar select,.frdndl-crm__fields input,.frdndl-crm__fields select,.frdndl-crm__fields textarea{border-radius:3px;border-color:#cbd5df}
.frdndl-crm__button{background:#2b7db3;border-radius:3px}
.frdndl-crm .table{background:#fff;border-color:#e5eaf0}
.frdndl-crm .table thead th{background:#f2f5f8;color:#526273;font-weight:600;border-bottom:1px solid #dce4eb}
.frdndl-crm .table td,.frdndl-crm .table th{padding:.7rem .75rem;vertical-align:middle}
.frdndl-crm__stat,.frdndl-crm__module{border-radius:3px;border-color:#e1e7ed}
.frdndl-crm__stat strong{color:#2b7db3}
@media(max-width:760px){.frdndl-crm{padding:.65rem}.frdndl-crm__module-nav{overflow-x:auto;flex-wrap:nowrap}.frdndl-crm__module-nav a{white-space:nowrap}}


/* CRM workspace shell: vtiger-style persistent module sidebar and work area */
.frdndl-crm--records,.frdndl-crm--site,.frdndl-crm--admin{display:grid;grid-template-columns:218px minmax(0,1fr);column-gap:1rem;align-items:start}
.frdndl-crm--records>.frdndl-crm__header,.frdndl-crm--site>.frdndl-crm__header,.frdndl-crm--admin>.frdndl-crm__header{grid-column:1/-1}
.frdndl-crm--records>.frdndl-crm__module-nav,.frdndl-crm--site>.frdndl-crm__module-nav,.frdndl-crm--admin>.frdndl-crm__module-nav{grid-column:1;grid-row:2/span 12;display:flex;flex-direction:column;align-self:stretch;position:sticky;top:1rem;margin:0;padding:.5rem;background:#263f59;border-radius:3px}
.frdndl-crm--records>.frdndl-crm__module-nav a,.frdndl-crm--site>.frdndl-crm__module-nav a,.frdndl-crm--admin>.frdndl-crm__module-nav a{display:block;border-bottom:1px solid rgba(255,255,255,.08);padding:.72rem .8rem;color:#edf4fa}
.frdndl-crm--records>.frdndl-crm__panel,.frdndl-crm--site>section,.frdndl-crm--site>h2,.frdndl-crm--site>.frdndl-crm__stats,.frdndl-crm--site>.frdndl-crm__grid,.frdndl-crm--admin>section,.frdndl-crm--admin>h2,.frdndl-crm--admin>.frdndl-crm__stats,.frdndl-crm--admin>.frdndl-crm__dashboard-grid,.frdndl-crm--admin>.frdndl-crm__grid{grid-column:2;min-width:0}
.frdndl-crm--records>.frdndl-crm__panel{width:100%}
.frdndl-crm--site>.frdndl-crm__dashboard-grid{grid-column:2}
.frdndl-crm--admin>.frdndl-crm__dashboard-grid{grid-column:2}
@media(max-width:760px){.frdndl-crm--records,.frdndl-crm--site,.frdndl-crm--admin{grid-template-columns:minmax(0,1fr);gap:.65rem}.frdndl-crm--records>.frdndl-crm__module-nav,.frdndl-crm--site>.frdndl-crm__module-nav,.frdndl-crm--admin>.frdndl-crm__module-nav{grid-column:1;grid-row:auto;position:static;flex-direction:row;overflow-x:auto;white-space:nowrap}.frdndl-crm--records>.frdndl-crm__panel,.frdndl-crm--site>section,.frdndl-crm--site>h2,.frdndl-crm--site>.frdndl-crm__stats,.frdndl-crm--site>.frdndl-crm__grid,.frdndl-crm--admin>section,.frdndl-crm--admin>h2,.frdndl-crm--admin>.frdndl-crm__stats,.frdndl-crm--admin>.frdndl-crm__dashboard-grid,.frdndl-crm--admin>.frdndl-crm__grid{grid-column:1}}


/* 0.3.5-alpha: accessible, high-contrast form labels and predictable mobile controls */
.frdndl-crm {
  color-scheme: light;
  --crm-form-label: #263746;
  --crm-form-text: #172033;
  --crm-form-border: #b8c5d1;
}
.frdndl-crm .frdndl-crm__fields > label,
.frdndl-crm .frdndl-crm__fields label {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
  gap: .45rem;
  min-width: 0;
  color: var(--crm-form-label) !important;
  background: transparent !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.4;
}
.frdndl-crm .frdndl-crm__fields label .frdndl-crm__required {
  display: inline;
  color: #b42318 !important;
}
.frdndl-crm .frdndl-crm__fields input,
.frdndl-crm .frdndl-crm__fields select,
.frdndl-crm .frdndl-crm__fields textarea {
  display: block;
  box-sizing: border-box;
  min-height: 2.85rem;
  width: 100%;
  color: var(--crm-form-text) !important;
  -webkit-text-fill-color: var(--crm-form-text);
  background-color: #fff !important;
  border: 1px solid var(--crm-form-border) !important;
  border-radius: .35rem;
  box-shadow: none;
  font: inherit;
  font-weight: 400;
  opacity: 1 !important;
}
.frdndl-crm .frdndl-crm__fields textarea { min-height: 6rem; }
.frdndl-crm .frdndl-crm__fields input::placeholder,
.frdndl-crm .frdndl-crm__fields textarea::placeholder {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b;
  opacity: 1;
}
.frdndl-crm .frdndl-crm__fields input:focus,
.frdndl-crm .frdndl-crm__fields select:focus,
.frdndl-crm .frdndl-crm__fields textarea:focus {
  border-color: #2b7db3 !important;
  outline: 2px solid rgba(43,125,179,.18);
  outline-offset: 1px;
}
@media (max-width: 760px) {
  .frdndl-crm .frdndl-crm__fields { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .frdndl-crm .frdndl-crm__fields > label,
  .frdndl-crm .frdndl-crm__fields label {
    padding: .15rem 0 .65rem;
    font-size: 1rem;
  }
  .frdndl-crm .frdndl-crm__fields input,
  .frdndl-crm .frdndl-crm__fields select,
  .frdndl-crm .frdndl-crm__fields textarea {
    min-height: 3rem;
    padding: .7rem .75rem;
    font-size: 1rem;
  }
}

/* Payment workflow: readable summary cards and responsive history table. */
.frdndl-crm__payment-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1rem 0 1.25rem}
.frdndl-crm__payment-totals>div{display:flex;flex-direction:column;gap:.35rem;padding:1rem 1.1rem;background:#f3f6fa;border:1px solid #dce4ed;border-radius:8px;min-width:0}
.frdndl-crm__payment-totals span{font-size:.88rem;color:#60748a}
.frdndl-crm__payment-totals strong{font-size:1.25rem;color:#20364d;overflow-wrap:anywhere}
.frdndl-crm__payment-summary .table{margin-top:.75rem}
.frdndl-crm--records input[type=number]{font-variant-numeric:tabular-nums}
@media(max-width:760px){.frdndl-crm__payment-totals{grid-template-columns:1fr}.frdndl-crm__payment-totals>div{padding:.8rem 1rem}}


/* 0.3.8-alpha visual refresh: modern CRM workspace, clearer hierarchy and calmer surfaces. */
.frdndl-crm {
  --crm-ink:#17263b; --crm-muted:#68788d; --crm-line:#e3e9f1;
  --crm-accent:#176f78; --crm-accent-strong:#105b63;
  --crm-surface:#ffffff; --crm-canvas:#f3f6fa;
  max-width:1680px; padding:clamp(.8rem,1.8vw,1.65rem);
  color:var(--crm-ink); background:var(--crm-canvas);
}
.frdndl-crm__header {
  position:relative; overflow:hidden; padding:1.65rem 1.8rem; margin:0 0 1.15rem;
  border:1px solid #dfe7ef; border-top:0; border-radius:14px;
  background:linear-gradient(115deg,#fff 0%,#f9fbfd 62%,#eaf4f4 100%);
  box-shadow:0 5px 18px rgba(24,43,66,.045);
}
.frdndl-crm__header:after {content:"";position:absolute;right:-3rem;top:-5rem;width:15rem;height:15rem;border-radius:50%;background:radial-gradient(circle,rgba(23,111,120,.10),rgba(23,111,120,0) 68%);pointer-events:none}
.frdndl-crm__header h1 {font-size:clamp(1.65rem,2.6vw,2.25rem);letter-spacing:-.035em;font-weight:750;color:#1b2d43;margin:.35rem 0 .25rem}
.frdndl-crm__header p {color:#64758a;margin:.25rem 0;max-width:70ch}
.frdndl-crm__eyebrow {color:#176f78;font-size:.72rem;letter-spacing:.16em;font-weight:800}
.frdndl-crm__version {position:relative;z-index:1;padding:.45rem .7rem;border:1px solid #dbe6e9;border-radius:999px;background:#f4faf9;color:#477078;font-weight:650}
.frdndl-crm__module-nav {gap:.22rem;padding:.65rem;background:#1d3048;border-radius:12px;box-shadow:0 6px 18px rgba(20,39,61,.12)}
.frdndl-crm--records>.frdndl-crm__module-nav,.frdndl-crm--site>.frdndl-crm__module-nav,.frdndl-crm--admin>.frdndl-crm__module-nav {padding:.7rem;background:linear-gradient(180deg,#203650,#172a42);border-radius:12px}
.frdndl-crm__module-nav a,.frdndl-crm--records>.frdndl-crm__module-nav a,.frdndl-crm--site>.frdndl-crm__module-nav a,.frdndl-crm--admin>.frdndl-crm__module-nav a {
  border:0;border-radius:7px;color:#dce7f1;padding:.72rem .82rem;font-size:.9rem;transition:background .16s ease,color .16s ease,transform .16s ease
}
.frdndl-crm__module-nav a:hover,.frdndl-crm__module-nav a:focus {background:#31516c;color:#fff;transform:translateX(2px)}
.frdndl-crm__panel {padding:clamp(1rem,1.8vw,1.65rem);margin:1.15rem 0;border:1px solid #e2e8f0;border-radius:12px;background:#fff;box-shadow:0 4px 16px rgba(23,42,66,.045)}
.frdndl-crm__panel h2 {font-size:1.18rem;font-weight:750;letter-spacing:-.015em;color:#20344b;margin:0 0 1rem;padding-bottom:.8rem;border-bottom:1px solid #edf1f5}
.frdndl-crm__fields {gap:1.15rem 1.25rem}
.frdndl-crm__fields label {color:#30445b;font-size:.9rem;font-weight:700}
.frdndl-crm__fields input,.frdndl-crm__fields select,.frdndl-crm__fields textarea {min-height:2.9rem;padding:.72rem .82rem;border-radius:8px!important;border-color:#cbd6e2!important;background:#fbfcfe!important;transition:border-color .15s,box-shadow .15s}
.frdndl-crm__fields input:focus,.frdndl-crm__fields select:focus,.frdndl-crm__fields textarea:focus {background:#fff!important;border-color:#25838a!important;box-shadow:0 0 0 3px rgba(37,131,138,.12)!important;outline:0}
.frdndl-crm__button {display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:2.65rem;padding:.7rem 1.05rem;border:1px solid #176f78;border-radius:8px;background:#176f78;color:#fff!important;font-weight:750;text-decoration:none;box-shadow:0 2px 4px rgba(23,111,120,.12);transition:background .15s,transform .15s,box-shadow .15s}
.frdndl-crm__button:hover,.frdndl-crm__button:focus {background:#105b63;border-color:#105b63;color:#fff!important;transform:translateY(-1px);box-shadow:0 5px 12px rgba(23,111,120,.18)}
.frdndl-crm .table {border-collapse:separate;border-spacing:0;border:1px solid #e5ebf1;border-radius:9px;overflow:hidden}
.frdndl-crm .table thead th {background:#f3f6f9;color:#52657a;font-size:.78rem;text-transform:uppercase;letter-spacing:.045em;font-weight:800;padding:.85rem .8rem;border-bottom:1px solid #e1e8ef;white-space:nowrap}
.frdndl-crm .table tbody tr:nth-child(even) {background:#fafbfd}
.frdndl-crm .table tbody tr:hover {background:#f0f7f7}
.frdndl-crm .table td {padding:.8rem;vertical-align:middle;color:#2c4057;border-color:#edf1f5}
.frdndl-crm__toolbar {gap:.8rem;margin:1.1rem 0}
.frdndl-crm__toolbar input[type=search],.frdndl-crm__toolbar select {min-height:2.8rem;border-radius:8px;border-color:#d1dbe6;background:#fff;padding:.65rem .8rem}
.frdndl-crm__payment-totals {gap:.85rem}
.frdndl-crm__payment-totals>div {padding:1.15rem;border-radius:11px;border:1px solid #e0e9ed;background:linear-gradient(145deg,#f8fbfc,#f0f6f7)}
.frdndl-crm__payment-totals strong {font-size:clamp(1.15rem,2vw,1.5rem);color:#1c4650;letter-spacing:-.025em}
.frdndl-crm__zero-settlement {padding:1rem 1.1rem;margin:1rem 0;border:1px solid #d5e8e4;border-left:4px solid #23836f;border-radius:9px;background:#f3faf7}
.frdndl-crm__zero-note {margin:0 0 .8rem;color:#355c53;line-height:1.5}
.frdndl-crm__button--success {background:#21836e;border-color:#21836e}
.frdndl-crm__button--success:hover,.frdndl-crm__button--success:focus {background:#176b59;border-color:#176b59}
.frdndl-crm__actions {gap:.8rem;margin-top:1.4rem}
.frdndl-crm__required-note {padding:.55rem .75rem;border-radius:7px;background:#f7f9fb;color:#66778a}
@media(max-width:760px) {
 .frdndl-crm {padding:.55rem;background:#f4f6f9}
 .frdndl-crm__header {padding:1.1rem;border-radius:10px}
 .frdndl-crm__panel {padding:1rem;border-radius:10px}
 .frdndl-crm--records>.frdndl-crm__module-nav,.frdndl-crm--site>.frdndl-crm__module-nav,.frdndl-crm--admin>.frdndl-crm__module-nav {border-radius:9px}
 .frdndl-crm__module-nav a {padding:.65rem .8rem}
 .frdndl-crm .table-responsive {border-radius:8px}
}


/* 0.3.9-alpha: stable form geometry and consistent action controls. */
.frdndl-crm,
.frdndl-crm *,
.frdndl-crm *::before,
.frdndl-crm *::after { box-sizing:border-box; }
.frdndl-crm { min-width:0; width:100%; }
.frdndl-crm--records,
.frdndl-crm--site,
.frdndl-crm--admin { grid-template-columns:minmax(190px,218px) minmax(0,1fr); }
.frdndl-crm--records > *,
.frdndl-crm--site > *,
.frdndl-crm--admin > * { min-width:0; }
.frdndl-crm__fields {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:1.15rem 1.25rem;
}
.frdndl-crm__fields > label { min-width:0; width:100%; }
.frdndl-crm__fields input,
.frdndl-crm__fields select,
.frdndl-crm__fields textarea { min-width:0; max-width:100%; }
.frdndl-crm .table-responsive {
  display:block; width:100%; max-width:100%;
  overflow-x:auto; overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
}
.frdndl-crm .table-responsive > .table { min-width:640px; margin-bottom:0; }
.frdndl-crm__row-actions {
  display:flex; flex-wrap:wrap; align-items:center;
  gap:.4rem; min-width:10rem;
}
.frdndl-crm__button--small {
  min-height:2.15rem; padding:.42rem .68rem;
  border-radius:7px; font-size:.82rem; line-height:1.2;
}
.frdndl-crm__button--secondary {
  color:#29445d!important; background:#fff;
  border:1px solid #cbd6e2; box-shadow:none;
}
.frdndl-crm__button--secondary:hover,
.frdndl-crm__button--secondary:focus {
  color:#17364e!important; background:#edf4f7;
  border-color:#9eb4c5; box-shadow:0 2px 7px rgba(24,43,66,.08);
}
.frdndl-crm__button--danger {
  color:#a12b32!important; background:#fff;
  border:1px solid #e5b8bc; box-shadow:none;
}
.frdndl-crm__button--danger:hover,
.frdndl-crm__button--danger:focus {
  color:#fff!important; background:#a12b32; border-color:#a12b32;
}
.frdndl-crm__actions { display:flex; flex-wrap:wrap; align-items:center; }
.frdndl-crm__actions > a { display:inline-flex; }
.frdndl-crm__toolbar { min-width:0; }
.frdndl-crm__toolbar input[type=search] { min-width:0; }
.frdndl-crm__panel { min-width:0; }
@media(max-width:900px) {
  .frdndl-crm--records,
  .frdndl-crm--site,
  .frdndl-crm--admin { grid-template-columns:minmax(0,1fr); }
  .frdndl-crm--records > .frdndl-crm__module-nav,
  .frdndl-crm--site > .frdndl-crm__module-nav,
  .frdndl-crm--admin > .frdndl-crm__module-nav {
    grid-column:1; grid-row:auto; position:static;
    flex-direction:row; flex-wrap:nowrap; overflow-x:auto;
    overscroll-behavior-inline:contain;
  }
  .frdndl-crm--records > .frdndl-crm__panel,
  .frdndl-crm--site > section,
  .frdndl-crm--admin > section,
  .frdndl-crm--site > .frdndl-crm__dashboard-grid,
  .frdndl-crm--admin > .frdndl-crm__dashboard-grid { grid-column:1; }
}
@media(max-width:640px) {
  .frdndl-crm__fields { grid-template-columns:minmax(0,1fr); }
  .frdndl-crm__row-actions { min-width:0; }
  .frdndl-crm__toolbar { align-items:stretch; }
  .frdndl-crm__toolbar input[type=search] { flex-basis:100%; }
}

.frdndl-crm__inline-action{display:inline-flex;margin:0}
