:root {
    --ink: #1f1f1f;
    --muted: #605e5c;
    --line: #edebe9;
    --surface: #ffffff;
    --soft: #f3f2f1;
    --accent: #0f6cbd;
    --accent-strong: #115ea3;
    --gold: #986f0b;
    --danger: #b42318;
    --navy: #001f44;
    --shadow: 0 1px 4px rgba(0, 0, 0, .18);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
    font-size: 14px;
}
a { color: var(--accent); text-decoration: none; font-weight: 500; }
.dyn-top {
    height: 60px;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 16px 0 18px;
    font-size: 20px;
}
.app-launcher {
    width: 28px;
    line-height: 10px;
    font-size: 20px;
    color: white;
    letter-spacing: 2px;
}
.dyn-brand { font-size: 20px; font-weight: 700; }
.dyn-divider { width: 1px; height: 28px; background: rgba(255,255,255,.36); }
.dyn-app-name { font-size: 18px; }
.dyn-spacer { flex: 1; }
.new-look { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.new-look i {
    width: 49px;
    height: 24px;
    border-radius: 999px;
    background: white;
    position: relative;
}
.new-look i:after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    right: 5px;
    top: 4px;
    border-radius: 50%;
    background: var(--navy);
}
.icon-btn {
    background: transparent;
    color: white;
    min-width: 28px;
    height: 36px;
    padding: 0;
    border-radius: 0;
    font-size: 26px;
    font-weight: 400;
}
.icon-btn:hover { background: rgba(255,255,255,.12); }
.user-pill {
    width: 42px;
    height: 42px;
    border: 1px solid white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
}
.trial-banner {
    height: 39px;
    background: #f4f4f4;
    border-bottom: 1px solid #d0d0d0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 12px;
    font-size: 18px;
}
.trial-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: conic-gradient(#0078d4 0 70%, #78c6f7 70% 100%);
}
.trial-banner a {
    margin-left: auto;
    background: #0f6cbd;
    color: white;
    padding: 7px 13px;
    border-radius: 4px;
    font-size: 14px;
}
.shell {
    min-height: calc(100vh - 99px);
    display: grid;
    grid-template-columns: 250px minmax(850px, 1fr) 58px;
}
.sidebar {
    background: #f3f2f1;
    color: #111;
    padding: 14px 0 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #d7d7d7;
    position: relative;
    overflow-y: auto;
    max-height: calc(100vh - 99px);
}
.hamburger {
    width: 48px;
    color: #323130;
    background: transparent;
    padding: 8px 16px;
    font-size: 20px;
}
.nav { display: grid; gap: 0; padding-top: 26px; }
.nav p {
    margin: 16px 0 10px;
    padding: 0 18px;
    color: #000;
    font-weight: 700;
    font-size: 18px;
}
.nav a {
    color: #111;
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    font-size: 18px;
    border-left: 4px solid transparent;
    font-weight: 400;
}
.nav a.active {
    background: white;
    border-left-color: #0f6cbd;
}
.nav a:hover { background: #fff; color: #111; }
.sales-footer {
    position: sticky;
    bottom: 0;
    margin-top: auto;
    height: 52px;
    background: #fff;
    border-top: 1px solid #d0d0d0;
    display: grid;
    grid-template-columns: 36px 1fr 24px;
    align-items: center;
    padding: 0 10px;
    font-size: 16px;
}
.sales-footer span {
    background: #2b7cd3;
    color: white;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 2px;
}
.main { padding: 20px 20px 24px; min-width: 0; background: #f8f8f8; }
.right-rail {
    background: #fff;
    border-left: 1px solid #d7d7d7;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 22px;
    padding-top: 18px;
}
.right-rail button {
    background: transparent;
    color: #323130;
    padding: 0;
    font-size: 24px;
}
.right-rail span {
    writing-mode: vertical-rl;
    font-size: 15px;
}
.tour-button {
    position: fixed;
    right: 78px;
    bottom: 28px;
    background: #256ce1;
    box-shadow: 0 10px 26px rgba(37,108,225,.34);
    border-radius: 999px;
    padding: 12px 25px;
    font-size: 17px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.topbar h1, h2 { margin: 0; letter-spacing: 0; }
.topbar h1 { font-size: 28px; }
.eyebrow { margin: 0 0 6px; color: var(--muted); text-transform: uppercase; font-weight: 800; font-size: 12px; }
.primary-action, button {
    border: 0; background: var(--accent); color: white; padding: 11px 16px;
    border-radius: 8px; font-weight: 750; cursor: pointer; font-size: 14px;
}
button:hover, .primary-action:hover { background: var(--accent-strong); color: white; }
.d365-workspace {
    height: calc(100vh - 139px);
    display: grid;
    grid-template-columns: 500px minmax(520px, 1fr);
    background: white;
    border: 1px solid #e6e6e6;
    box-shadow: 0 1px 5px rgba(0,0,0,.08);
}
.lead-pane {
    border-right: 1px solid #d7d7d7;
    background: #fff;
    padding: 20px 20px 0;
    min-width: 0;
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
}
.pane-command,
.record-command {
    height: 56px;
    background: white;
    border: 1px solid #e5e5e5;
    box-shadow: var(--shadow);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 14px;
    color: #323130;
}
.pane-command { margin-bottom: 16px; }
.pane-command button,
.record-command button {
    background: transparent;
    color: #323130;
    padding: 0 7px;
    font-size: 18px;
    border-right: 1px solid #d7d7d7;
    border-radius: 0;
    height: 30px;
    font-weight: 400;
}
.pane-command .more-btn,
.record-command button:last-of-type { border-right: 0; }
.view-icon { font-size: 22px; }
.share-btn {
    margin-left: auto;
    color: white;
    background: #0f6cbd;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
}
.list-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 4px 10px;
}
.list-title h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: #323130;
}
.list-search {
    height: 52px;
    border-bottom: 1px solid #d7d7d7;
    display: grid;
    grid-template-columns: 28px 1fr repeat(4, 36px);
    align-items: center;
    gap: 7px;
    color: #0f6cbd;
}
.list-search input {
    border: 0;
    padding: 0 4px;
    font-size: 16px;
    background: transparent;
}
.list-search button {
    background: transparent;
    color: #323130;
    padding: 0;
    font-size: 19px;
}
.lead-list {
    overflow-y: auto;
    padding-right: 4px;
    border-bottom: 1px solid #d7d7d7;
}
.lead-row {
    min-height: 82px;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    align-items: start;
    padding: 20px 10px 12px 30px;
    color: #111;
    border-bottom: 1px solid #edebe9;
}
.lead-row.selected { background: #edf4ff; }
.avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #b53db7;
    color: white;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
}
.avatar-0 { background: #007681; }
.avatar-1 { background: #c239b3; }
.avatar-2 { background: #c239b3; }
.avatar-3 { background: #008272; }
.avatar-4 { background: #69797e; }
.avatar.large {
    width: 50px;
    height: 50px;
    background: #9cc7e5;
    color: #002b4e;
    font-size: 17px;
}
.lead-copy strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}
.lead-copy em {
    display: block;
    font-style: normal;
    font-size: 16px;
    color: #111;
}
.activity-chip {
    margin-top: 13px;
    background: #f6f5f4;
    display: flex;
    justify-content: space-between;
    color: #323130;
    font-size: 15px;
    padding: 10px 12px;
    max-width: 385px;
}
.activity-chip b { font-weight: 400; }
.grid-footer {
    height: 52px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px 0 36px;
    font-size: 15px;
}
.record-pane {
    background: #f8f8f8;
    padding: 20px;
    overflow-y: auto;
}
.record-command {
    margin-bottom: 20px;
    padding-left: 20px;
}
.record-command form { margin: 0; }
.record-card,
.form-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    box-shadow: var(--shadow);
    margin-bottom: 18px;
}
.record-card { padding-top: 20px; }
.record-head {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: center;
    padding: 0 28px 12px;
}
.record-head h2 {
    font-size: 27px;
    font-weight: 600;
    margin: 0 0 4px;
}
.record-head small {
    color: #605e5c;
    font-weight: 400;
    font-size: 16px;
}
.record-head p { margin: 0; font-size: 16px; }
.record-summary {
    display: grid;
    grid-template-columns: repeat(3, max-content) 1fr 36px;
    gap: 0;
    align-items: center;
    padding: 0 26px 20px;
}
.record-summary > div {
    min-width: 82px;
    padding-right: 20px;
    margin-right: 18px;
    border-right: 1px solid #e5e5e5;
}
.record-summary strong { display: block; font-size: 18px; font-weight: 600; }
.record-summary span { display: block; font-size: 14px; color: #605e5c; margin-top: 4px; }
.record-summary .owner {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 10px;
    border-right: 0;
    min-width: 210px;
}
.record-summary .owner span:first-child {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #498205;
    color: white;
    font-weight: 700;
    margin: 0;
}
.record-summary button { background: transparent; color: #605e5c; padding: 0; font-size: 24px; }
.process-bar {
    height: 53px;
    display: grid;
    grid-template-columns: 250px 32px 1fr 32px;
    border-top: 1px solid #d7d7d7;
    border-bottom: 1px solid #d7d7d7;
}
.stage {
    display: grid;
    align-content: center;
    padding: 0 18px;
    background: #ecebea;
}
.stage.active {
    background: #0f6cbd;
    color: white;
}
.stage strong { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage span { font-size: 14px; }
.stage.current {
    text-align: center;
    position: relative;
}
.stage.current i {
    position: absolute;
    top: -17px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 6px solid #0f6cbd;
    background: white;
}
.process-bar button {
    background: white;
    color: #323130;
    border-left: 1px solid #d7d7d7;
    border-right: 1px solid #d7d7d7;
    border-radius: 0;
    padding: 0;
    font-size: 26px;
}
.record-tabs {
    height: 74px;
    display: flex;
    align-items: end;
    gap: 26px;
    padding: 0 28px;
}
.record-tabs a {
    color: #323130;
    font-size: 20px;
    padding-bottom: 18px;
    border-bottom: 4px solid transparent;
}
.record-tabs a.active {
    color: #111;
    border-bottom-color: #0f6cbd;
    font-weight: 600;
}
.form-card {
    padding: 16px 22px 28px;
}
.form-card h3 {
    margin: 0 0 38px;
    font-size: 18px;
    font-weight: 600;
}
.d365-form {
    display: grid;
    gap: 20px;
    max-width: 610px;
}
.d365-form label {
    grid-template-columns: 190px 12px 1fr;
    display: grid;
    align-items: center;
    gap: 8px;
    color: #111;
    font-size: 16px;
    font-weight: 400;
}
.d365-form b { color: #a4262c; font-weight: 400; }
.d365-form .plus { color: #0f6cbd; }
.d365-form input {
    grid-column: 3;
    border: 0;
    background: #f3f2f1;
    color: #111;
    height: 41px;
    border-radius: 4px;
    padding: 0 16px;
    font-size: 16px;
}
.metrics-drawer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 12px;
}
.metrics-drawer div {
    background: white;
    border: 1px solid #edebe9;
    padding: 12px 16px;
    box-shadow: var(--shadow);
}
.metrics-drawer span { display: block; color: #605e5c; }
.metrics-drawer strong { font-size: 20px; }
.metric-grid { display: grid; grid-template-columns: repeat(5, minmax(140px, 1fr)); gap: 16px; margin-bottom: 20px; }
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
.metric, .panel, .record-hero {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.metric { padding: 20px; }
.metric span { color: var(--muted); font-size: 13px; font-weight: 700; }
.metric strong { display: block; margin-top: 10px; font-size: 28px; }
.panel { padding: 20px; margin-bottom: 20px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase; }
th, td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.empty { color: var(--muted); text-align: center; padding: 30px; }
.pill { display: inline-flex; min-width: 78px; justify-content: center; padding: 5px 9px; border-radius: 999px; background: #eef2f7; font-weight: 750; font-size: 12px; color: #344054; }
.pill.Hot { background: #fff1e6; color: var(--gold); }
.pill.Warm { background: #eaf8f5; color: var(--accent); }
.pill.Cold { background: #edf1f7; color: #526070; }
.score { display: inline-grid; place-items: center; width: 42px; height: 30px; border-radius: 8px; color: white; background: var(--ink); font-weight: 800; }
.toolbar, .activity-form { display: grid; grid-template-columns: 1fr 190px auto; gap: 10px; margin-bottom: 18px; }
input, select, textarea {
    width: 100%;
    border: 1px solid #d8deea;
    border-radius: 8px;
    padding: 11px 12px;
    font: inherit;
    background: white;
    color: var(--ink);
}
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.span-8 { grid-column: span 8; }
.span-4 { grid-column: span 4; }
.fields { display: grid; gap: 14px; }
.fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 750; }
.form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.warning-panel { grid-column: 1 / -1; border-color: #f4c790; background: #fffaf2; }
.checkbox-line { display: flex; grid-template-columns: none; align-items: center; gap: 10px; margin-top: 14px; color: var(--ink); }
.checkbox-line input { width: 18px; height: 18px; }
.record-hero { padding: 22px; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; }
.record-hero h2 { font-size: 26px; }
.record-hero p { margin: 6px 0 0; color: var(--muted); }
.record-actions { display: flex; align-items: center; gap: 10px; }
.record-actions form { margin: 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.details { display: grid; grid-template-columns: 150px 1fr; gap: 12px 20px; }
.details dt { color: var(--muted); font-weight: 750; }
.details dd { margin: 0; }
.body-copy { line-height: 1.7; color: #344054; white-space: pre-wrap; }
.mini-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 18px; }
.activity-form { grid-template-columns: 130px 1fr 190px 210px; }
.activity-form textarea { grid-column: 1 / 4; min-height: 72px; }
.timeline { display: grid; gap: 12px; }
.timeline article { border-left: 3px solid var(--accent); background: #fbfcfe; padding: 14px 16px; border-radius: 8px; }
.timeline span { color: var(--accent); font-weight: 800; font-size: 12px; text-transform: uppercase; }
.timeline p { color: #465266; margin: 8px 0; }
.timeline small { color: var(--muted); }
.timeline.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.command-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.command-strip a, .mini-actions a {
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 13px;
    box-shadow: 0 8px 24px rgba(23, 32, 51, .05);
}
.bars { display: grid; gap: 13px; }
.bar-row {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}
.bar-row span { color: var(--muted); font-weight: 750; }
.bar-row div {
    height: 9px;
    border-radius: 999px;
    background: #edf1f7;
    overflow: hidden;
}
.bar-row i {
    display: block;
    height: 100%;
    background: var(--accent);
    border-radius: inherit;
}
.bar-row i.gold { background: var(--gold); }
.bar-row i.blue { background: #2563eb; }
.bar-row strong { font-size: 12px; white-space: nowrap; }
.worklist { display: grid; gap: 12px; }
.worklist article {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfe;
}
.worklist p, .feature-list p, .assistant-card p, .opportunity-card p { margin: 5px 0 0; color: var(--muted); }
.mini-actions { display: flex; gap: 8px; }
.assistant-panel { background: #111827; color: white; }
.assistant-panel .eyebrow, .assistant-panel p { color: #aeb7c7; }
.assistant-card {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
    background: rgba(255,255,255,.05);
}
.board {
    display: grid;
    grid-template-columns: repeat(6, minmax(220px, 1fr));
    gap: 14px;
    overflow-x: auto;
    margin-bottom: 20px;
}
.board-column {
    background: #eef2f7;
    border: 1px solid #dfe6f0;
    border-radius: 8px;
    padding: 12px;
    min-height: 420px;
}
.board-column h2 { font-size: 15px; margin-bottom: 12px; }
.opportunity-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px;
    margin-bottom: 10px;
    box-shadow: 0 10px 24px rgba(23, 32, 51, .06);
}
.opportunity-card span, .opportunity-card small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
}
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.feature-list article {
    border: 1px solid var(--line);
    background: #fbfcfe;
    border-radius: 8px;
    padding: 15px;
}
.compact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-flow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.process-flow span {
    text-align: center;
    border: 1px solid var(--line);
    background: #fbfcfe;
    border-radius: 8px;
    padding: 13px;
    font-weight: 800;
    color: var(--accent);
}
.code-block {
    white-space: pre-wrap;
    background: #101828;
    color: #e5eefb;
    border-radius: 8px;
    padding: 16px;
    overflow-x: auto;
    line-height: 1.6;
}

@media (max-width: 980px) {
    .shell { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .metric-grid, .detail-grid, .fields.two, .insight-grid, .timeline.compact, .feature-list, .compact-grid, .process-flow { grid-template-columns: 1fr; }
    .span-8, .span-4 { grid-column: 1 / -1; }
    .toolbar, .activity-form, .mini-form { grid-template-columns: 1fr; }
    .activity-form textarea { grid-column: auto; }
    .worklist article { grid-template-columns: 1fr; }
}

/* Dynamics workspace overrides. Kept at the end so the CRM shell wins over older page styles. */
body {
    background: #fff !important;
    overflow: hidden;
}
.dyn-top {
    height: 60px !important;
    background: #001f44 !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 0 16px 0 18px !important;
}
.app-launcher {
    width: 32px !important;
    height: 32px !important;
    display: grid !important;
    grid-template-columns: repeat(3, 4px) !important;
    grid-auto-rows: 4px !important;
    place-content: center !important;
    gap: 4px !important;
    color: #fff !important;
    letter-spacing: 0 !important;
}
.app-launcher i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
}
.dyn-brand,
.dyn-app-name,
.new-look span {
    color: #fff !important;
}
.dyn-brand {
    font-size: 18px !important;
    font-weight: 700 !important;
    white-space: nowrap;
}
.dyn-app-name {
    font-size: 16px !important;
    white-space: nowrap;
}
.dyn-divider {
    width: 1px !important;
    height: 28px !important;
    background: rgba(255,255,255,.38) !important;
}
.dyn-spacer {
    flex: 1 1 auto !important;
}
.new-look {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 14px !important;
    white-space: nowrap;
}
.new-look i {
    display: block !important;
    width: 49px !important;
    height: 24px !important;
    border-radius: 999px !important;
    background: #fff !important;
    position: relative !important;
}
.new-look i:after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    right: 5px;
    top: 4px;
    border-radius: 50%;
    background: #001f44;
}
.dyn-top .icon-btn,
.right-rail button,
.hamburger,
.pane-command button,
.record-command button,
.list-search button,
.process-bar button,
.record-summary button {
    background: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-weight: 400 !important;
}
.dyn-top .icon-btn {
    width: 32px !important;
    height: 36px !important;
    border: 0 !important;
    position: relative !important;
    color: #fff !important;
}
.dyn-top .icon-btn:hover {
    background: rgba(255,255,255,.12) !important;
}
.search-icon:before,
.search-mini:before {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    border: 2px solid currentColor;
    border-radius: 50%;
    left: 7px;
    top: 7px;
}
.search-icon:after,
.search-mini:after {
    content: "";
    position: absolute;
    width: 9px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
    left: 20px;
    top: 22px;
}
.idea-icon:before {
    content: "";
    position: absolute;
    width: 12px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 9px 9px 7px 7px;
    left: 9px;
    top: 6px;
}
.idea-icon:after {
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    background: currentColor;
    left: 11px;
    top: 25px;
    box-shadow: 0 4px 0 currentColor;
}
.plus-icon:before,
.plus-icon:after {
    content: "";
    position: absolute;
    background: currentColor;
    left: 9px;
    top: 17px;
    width: 18px;
    height: 2px;
}
.plus-icon:after {
    transform: rotate(90deg);
}
.filter-icon:before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    width: 18px;
    height: 13px;
    border: 2px solid currentColor;
    border-bottom: 0;
    clip-path: polygon(0 0, 100% 0, 58% 100%, 42% 100%);
}
.filter-icon:after {
    content: "";
    position: absolute;
    left: 15px;
    top: 20px;
    width: 2px;
    height: 8px;
    background: currentColor;
}
.gear-icon:before {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    border: 2px solid currentColor;
    border-radius: 50%;
    left: 7px;
    top: 8px;
}
.gear-icon:after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    left: 15px;
    top: 16px;
}
.chat-icon:before {
    content: "";
    position: absolute;
    left: 7px;
    top: 9px;
    width: 19px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 2px;
}
.chat-icon:after {
    content: "";
    position: absolute;
    left: 14px;
    top: 22px;
    width: 7px;
    height: 7px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: skew(-20deg);
}
.trial-banner {
    height: 39px !important;
    background: #f4f4f4 !important;
    border-bottom: 1px solid #d0d0d0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 0 12px !important;
    color: #111827 !important;
    font-size: 16px !important;
}
.trial-banner a {
    margin-left: auto !important;
    background: #0f6cbd !important;
    color: white !important;
    padding: 7px 13px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}
.shell {
    min-height: calc(100vh - 99px) !important;
    display: grid !important;
    grid-template-columns: 250px minmax(850px, 1fr) 58px !important;
}
.sidebar {
    background: #f3f2f1 !important;
    color: #111 !important;
    padding: 14px 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    border-right: 1px solid #d7d7d7 !important;
    max-height: calc(100vh - 99px) !important;
    overflow-y: auto !important;
}
.hamburger {
    width: 48px !important;
    height: 34px !important;
    display: grid !important;
    gap: 4px !important;
    align-content: center !important;
    justify-content: start !important;
    padding-left: 17px !important;
}
.hamburger span {
    width: 18px;
    height: 1px;
    background: #323130;
    display: block;
}
.nav {
    display: grid !important;
    padding-top: 24px !important;
}
.nav p {
    margin: 16px 0 10px !important;
    padding: 0 18px !important;
    color: #000 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}
.nav a {
    color: #111 !important;
    display: grid !important;
    grid-template-columns: 32px 1fr !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 0 18px !important;
    font-size: 16px !important;
    border-left: 4px solid transparent !important;
    font-weight: 400 !important;
}
.nav a.active {
    background: #fff !important;
    border-left-color: #0f6cbd !important;
}
.nav-icon {
    width: 20px;
    height: 20px;
    position: relative;
    color: #323130;
}
.dashboard-icon:before,
.opportunities-icon:before,
.contacts-icon:before,
.accounts-icon:before,
.panel-icon:before,
.view-icon.grid-icon:before {
    content: "";
    position: absolute;
    inset: 2px;
    border: 1.8px solid currentColor;
    box-shadow: inset 8px 0 0 transparent, inset 0 8px 0 transparent;
}
.rocket-icon:before,
.forecast-icon:before {
    content: "";
    position: absolute;
    width: 17px;
    height: 2px;
    background: currentColor;
    transform: rotate(-38deg);
    left: 2px;
    top: 9px;
}
.rocket-icon:after,
.forecast-icon:after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    right: 1px;
    top: 4px;
}
.calendar-icon:before {
    content: "";
    position: absolute;
    inset: 3px 2px 2px;
    border: 1.8px solid currentColor;
}
.calendar-icon:after {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    top: 8px;
    height: 1.8px;
    background: currentColor;
}
.tasks-icon:before {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 11px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}
.tasks-icon:after {
    content: "";
    position: absolute;
    left: 2px;
    top: 3px;
    width: 3px;
    height: 3px;
    border: 1.8px solid currentColor;
    box-shadow: 0 6px 0 -1px #f3f2f1, 0 6px 0 0 currentColor, 0 12px 0 -1px #f3f2f1, 0 12px 0 0 currentColor;
}
.phone-icon:before,
.phone-mini:before {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-right-color: transparent;
    border-radius: 0 0 0 12px;
    transform: rotate(-45deg);
    left: 3px;
    top: 3px;
}
.leads-icon:before {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border: 1.8px solid currentColor;
    border-radius: 50%;
    left: 6px;
    top: 2px;
}
.leads-icon:after {
    content: "";
    position: absolute;
    width: 16px;
    height: 8px;
    border: 1.8px solid currentColor;
    border-radius: 10px 10px 0 0;
    border-bottom: 0;
    left: 1px;
    top: 12px;
}
.capture-icon:before,
.settings-icon:before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 2px solid currentColor;
    border-radius: 50%;
}
.main {
    padding: 20px 20px 24px !important;
    min-width: 0 !important;
    background: #f8f8f8 !important;
    overflow: hidden !important;
}
.d365-workspace {
    height: calc(100vh - 139px) !important;
    display: grid !important;
    grid-template-columns: 500px minmax(520px, 1fr) !important;
    background: #fff !important;
    border: 1px solid #e6e6e6 !important;
    box-shadow: 0 1px 5px rgba(0,0,0,.08) !important;
}
.lead-pane {
    border-right: 1px solid #d7d7d7 !important;
    background: #fff !important;
    padding: 20px 20px 0 !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-rows: auto auto auto 1fr auto !important;
}
.pane-command,
.record-command {
    height: 56px !important;
    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.18) !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 0 14px !important;
    color: #323130 !important;
}
.pane-command button,
.record-command button {
    height: 30px !important;
    min-width: 30px !important;
    border-right: 1px solid #d7d7d7 !important;
    color: #323130 !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 0 10px !important;
    font-size: 14px !important;
}
.pane-command .more-btn,
.record-command .more-btn {
    border-right: 0 !important;
}
.back-btn:before,
.chev-left:before {
    content: "";
    width: 10px;
    height: 10px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    display: block;
}
.forward-btn:before,
.chev-right:before {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
    display: block;
}
.more-btn:before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    display: block;
    box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
}
.view-icon.grid-icon {
    width: 22px;
    height: 22px;
    position: relative;
    display: inline-block;
}
.share-btn {
    margin-left: auto !important;
    color: #fff !important;
    background: #0f6cbd !important;
    padding: 8px 14px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 110px !important;
    justify-content: center !important;
}
.share-btn.disabled {
    opacity: .55;
    pointer-events: none;
}
.share-icon {
    width: 15px;
    height: 14px;
    border: 1.8px solid currentColor;
    border-radius: 2px;
    display: inline-block;
    position: relative;
}
.share-icon:after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-top: 1.8px solid currentColor;
    border-right: 1.8px solid currentColor;
    transform: rotate(-45deg);
    right: -3px;
    top: -5px;
    background: #0f6cbd;
}
.list-search {
    grid-template-columns: 28px 1fr repeat(4, 36px) !important;
}
.search-mini {
    width: 28px;
    height: 28px;
    position: relative;
    color: #0f6cbd;
}
.dark {
    color: #323130 !important;
}
.sort-icon:before {
    content: "AZ";
    color: #323130;
    font-size: 11px;
    font-weight: 700;
}
.list-icon:before {
    content: "";
    width: 16px;
    height: 2px;
    background: currentColor;
    display: block;
    box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}
.activity-chip {
    align-items: center !important;
    gap: 10px !important;
}
.phone-mini,
.mail-mini,
.save-icon,
.delete-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    position: relative;
    color: currentColor;
    flex: 0 0 auto;
}
.mail-mini:before {
    content: "";
    position: absolute;
    inset: 3px 1px;
    border: 1.8px solid currentColor;
}
.mail-mini:after {
    content: "";
    position: absolute;
    left: 3px;
    right: 3px;
    top: 6px;
    height: 9px;
    border-left: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    transform: rotate(-45deg);
}
.open-icon:before {
    content: "";
    width: 15px;
    height: 15px;
    border: 1.8px solid currentColor;
    border-top: 0;
    display: block;
}
.open-icon:after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-top: 1.8px solid currentColor;
    border-right: 1.8px solid currentColor;
    right: 8px;
    top: 4px;
}
.save-icon:before {
    content: "";
    position: absolute;
    inset: 2px;
    border: 1.8px solid currentColor;
}
.save-icon:after {
    content: "";
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 4px;
    height: 5px;
    border: 1.8px solid currentColor;
}
.delete-icon:before {
    content: "";
    position: absolute;
    left: 5px;
    top: 6px;
    width: 9px;
    height: 10px;
    border: 1.8px solid currentColor;
    border-top: 0;
}
.delete-icon:after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 13px;
    height: 2px;
    background: currentColor;
}
.right-rail {
    background: #fff !important;
    border-left: 1px solid #d7d7d7 !important;
    display: grid !important;
    justify-items: center !important;
    align-content: start !important;
    gap: 22px !important;
    padding-top: 18px !important;
}
.right-rail button {
    width: 34px !important;
    height: 34px !important;
    position: relative !important;
    color: #323130 !important;
}
.panel-icon {
    position: relative;
}
.panel-icon:before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1.8px solid currentColor;
}
.tour-button {
    position: fixed !important;
    right: 78px !important;
    bottom: 28px !important;
    background: #256ce1 !important;
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(37,108,225,.34) !important;
    border-radius: 999px !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
}
.tour-button i {
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
}
.tour-button i:after {
    content: "";
    position: absolute;
    left: 4px;
    top: 3px;
    width: 6px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(40deg);
}

body.login-page {
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 28px;
    background: #f5f3ef;
    color: #191919;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}

body.auth-page.auth-page-editorial.auth-page-abstract {
    background-size: 80px 80px !important;
    background-position: calc(50% - 40.5px) 50px !important;
}

.auth-editorial-logo.auth-custom-logo {
    width: auto;
    max-width: min(260px, 80%);
    height: 48px;
    margin-bottom: 26px;
    object-fit: contain;
    object-position: left center;
}

.login-shell {
    width: min(940px, 100%);
    min-height: 560px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    overflow: hidden;
    border: 1px solid #ddd8cf;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(28, 24, 19, .12);
}

.login-brand { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 54px; background: #171717; color: #fff; }
.login-brand .brand-mark { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: auto; border-radius: 7px; background: #fff; color: #171717; font-size: 23px; font-weight: 850; }
.login-brand p { margin: 0 0 12px; color: #d6ab4b; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.login-brand h1 { max-width: 430px; margin: 0; font-size: 36px; line-height: 1.15; }
.login-brand > span:last-child { max-width: 430px; margin-top: 18px; color: #bbb7b0; line-height: 1.6; }
.login-panel { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.login-panel h2 { margin: 0; font-size: 28px; }.login-panel > div:first-child > p:last-child { margin: 9px 0 25px; color: #696661; line-height: 1.5; }
.login-form { display: grid; gap: 16px; }.login-form label { display: grid; gap: 7px; color: #57534e; font-size: 11px; font-weight: 750; }.login-form input { height: 45px; padding: 0 12px; border: 1px solid #d7d2ca; border-radius: 5px; outline: 0; }.login-form input:focus { border-color: #5a82cd; box-shadow: 0 0 0 2px rgba(37, 99, 235, .12); }.login-page .login-form button { height: 45px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 5px; border: 0; border-radius: 5px; background: #171717; color: #fff; font-weight: 800; }.login-page .login-form button:hover { background: #343434; }
.login-page .form-alert { margin: 0 0 18px; padding: 11px 12px; border: 1px solid #e0d6bd; border-radius: 5px; background: #fff8e7; color: #5e4b20; font-size: 11px; line-height: 1.5; }.login-page .form-alert.danger { border-color: #e7bbb6; background: #fff0ef; color: #9c3027; }

@media (max-width: 720px) {
    body.login-page { padding: 15px; }
    .login-shell { grid-template-columns: 1fr; }
    .login-brand { min-height: 245px; padding: 28px; }
    .login-brand .brand-mark { margin-bottom: 38px; }
    .login-brand h1 { font-size: 27px; }
    .login-panel { padding: 30px 28px; }
}

/* Stames authentication */
body.auth-page {
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: clamp(24px, 5vw, 72px);
    box-sizing: border-box;
    overflow-x: hidden;
    background: #e9edef;
    color: #172126;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}
.auth-page *, .auth-page *::before, .auth-page *::after { box-sizing: border-box; }
.auth-shell {
    width: min(1640px, 100%);
    min-height: min(1168px, calc(100vh - clamp(48px, 10vw, 144px)));
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 37, 42, .12);
}
.auth-form-panel {
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: clamp(42px, 5.7vw, 92px) clamp(46px, 7.7vw, 126px) 36px;
    background: #fff;
}
.auth-brand {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #123f42;
    text-decoration: none;
    font-size: 28px;
    font-weight: 750;
}
.auth-brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #0f4d50;
    color: #fff;
    font-size: 20px;
    font-weight: 850;
}
.auth-form-wrap { width: min(100%, 560px); align-self: center; margin: 42px auto 24px; }
.auth-heading h1 { margin: 0; font-size: 38px; line-height: 1.15; font-weight: 640; color: #101719; }
.auth-heading p { max-width: 510px; margin: 18px 0 36px; color: #5c686d; font-size: 17px; line-height: 1.7; }
.auth-form { display: grid; gap: 11px; }
.auth-form label, .auth-password-grid > div > label { margin: 3px 0 1px; color: #1c282c; font-size: 13px; font-weight: 500; }
.auth-label-row { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 1px; }
.auth-label-row label { margin: 0; }
.auth-label-row a, .auth-switch a, .auth-terms a { color: #0c6265; font-weight: 650; text-decoration: none; }
.auth-label-row a:hover, .auth-switch a:hover, .auth-terms a:hover { text-decoration: underline; }
.auth-input-wrap { position: relative; }
.auth-input-wrap > i {
    position: absolute;
    left: 18px;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    color: #728085;
    font-size: 17px;
    pointer-events: none;
}
.auth-input-wrap input {
    width: 100%;
    height: 40px;
    padding: 0 52px;
    border: 1px solid #ccd4d6;
    border-radius: 7px;
    outline: 0;
    background: #fff;
    color: #172126;
    font: inherit;
    font-size: 13px;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.auth-input-wrap input::placeholder { color: #8b969a; }
.auth-input-wrap input:focus { border-color: #0c6b6e; box-shadow: 0 0 0 3px rgba(12, 107, 110, .12); }
.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #68757a;
    cursor: pointer;
    font-size: 17px;
}
.password-toggle:hover { background: #f0f4f4; color: #0c6265; }
.auth-primary {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    border: 0;
    border-radius: 7px;
    background: #312d2a;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .16s ease, transform .16s ease;
}
.auth-primary:hover { background: #093f42; transform: translateY(-1px); }
.auth-primary:disabled { opacity: .68; cursor: wait; transform: none; }
.auth-divider { display: flex; align-items: center; gap: 16px; margin: 27px 0 19px; color: #7d888c; font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: #dce2e3; }
.auth-sso-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-sso-grid button {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #d3dadd;
    border-radius: 7px;
    background: #fff;
    color: #4d595d;
    font: inherit;
    font-size: 14px;
}
.auth-sso-grid button:disabled { opacity: .66; cursor: not-allowed; }
.auth-switch { margin: 28px 0 0; text-align: center; color: #68757a; font-size: 14px; }
.auth-legal { margin: 0; text-align: center; color: #8a9599; font-size: 12px; }
.auth-alert { display: flex; gap: 10px; margin: -15px 0 20px; padding: 11px 13px; border: 1px solid #c9dad9; border-radius: 6px; background: #f1f8f7; color: #315c5e; font-size: 13px; line-height: 1.45; }
.auth-alert-danger { border-color: #e3beb8; background: #fff3f1; color: #8a3028; }
.auth-visual {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(56px, 6.2vw, 104px) clamp(50px, 5.5vw, 90px) clamp(46px, 5vw, 78px);
    isolation: isolate;
    overflow: hidden;
    background: #073f43 url("../images/stames-auth-visual.png") center center / cover no-repeat;
    color: #fff;
}
.auth-visual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(2, 48, 52, .72); }
.auth-visual-content { max-width: 650px; margin-top: 8vh; }
.auth-kicker { margin: 0 0 24px; color: #b9d5d0; font-size: 12px; font-weight: 760; text-transform: uppercase; }
.auth-visual h2 { margin: 0; font-size: clamp(42px, 3.3vw, 62px); line-height: 1.2; font-weight: 430; }
.auth-quote { max-width: 590px; margin-top: 34px; }
.auth-quote > i { display: block; margin-bottom: 2px; color: #c7e4df; font-size: 38px; line-height: 1; }
.auth-quote > p { margin: 0; color: #eef7f5; font-size: 18px; line-height: 1.65; }
.auth-quote > div { display: flex; align-items: center; gap: 13px; margin-top: 25px; }
.auth-ai-mark { width: 45px; height: 45px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(255,255,255,.13); font-size: 18px; }
.auth-quote strong, .auth-quote small { display: block; }.auth-quote strong { font-size: 14px; }.auth-quote small { margin-top: 4px; color: #b9d5d0; font-size: 12px; }
.auth-workflow { border-top: 1px solid rgba(255,255,255,.35); padding-top: 21px; }
.auth-workflow > span { display: block; margin-bottom: 21px; color: #c6dcd8; font-size: 11px; font-weight: 760; text-transform: uppercase; }
.auth-workflow > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 14px; }
.auth-workflow > div span { display: flex; align-items: center; gap: 9px; color: #e9f3f1; font-size: 13px; font-weight: 650; }
.auth-workflow i { width: 22px; color: #b6d8d3; font-size: 18px; }
.auth-password-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-password-grid > div { display: grid; gap: 11px; min-width: 0; }
.auth-terms { display: flex !important; align-items: flex-start; gap: 10px; margin: 5px 0 0 !important; color: #667277 !important; font-weight: 450 !important; line-height: 1.45; }
.auth-terms input { width: 16px; height: 16px; flex: 0 0 auto; margin: 2px 0 0; accent-color: #0d5356; }
.auth-signup-panel .auth-form-wrap { margin-top: 26px; }.auth-signup-panel .auth-heading p { margin-bottom: 24px; }.auth-signup-form { gap: 8px; }

@media (max-height: 850px) and (min-width: 761px) {
    .auth-signup-panel { padding-top: 25px; padding-bottom: 18px; }
    .auth-signup-panel .auth-brand { font-size: 22px; gap: 10px; }
    .auth-signup-panel .auth-brand-mark { width: 36px; height: 36px; font-size: 17px; }
    .auth-signup-panel .auth-form-wrap { margin: 10px auto 8px; }
    .auth-signup-panel .auth-heading h1 { font-size: 31px; }
    .auth-signup-panel .auth-heading p { margin: 8px 0 13px; font-size: 14px; line-height: 1.45; }
    .auth-signup-panel .auth-form { gap: 5px; }
    .auth-signup-panel .auth-form label, .auth-signup-panel .auth-password-grid > div > label { font-size: 12px; }
    .auth-signup-panel .auth-input-wrap input { height: 48px; font-size: 14px; }
    .auth-signup-panel .auth-password-grid > div { gap: 5px; }
    .auth-signup-panel .auth-terms { margin-top: 3px !important; font-size: 12px; }
    .auth-signup-panel .auth-primary { height: 48px; margin-top: 7px; }
    .auth-signup-panel .auth-switch { margin-top: 12px; font-size: 12px; }
    .auth-signup-panel .auth-legal { font-size: 11px; }
}

@media (max-width: 1050px) {
    body.auth-page { padding: 56px 50px; }
    .auth-shell { min-height: calc(100vh - 112px); grid-template-columns: 1fr 1fr; }
    .auth-form-panel { padding: 34px clamp(56px, 7.8vw, 80px) 24px; }
    .auth-visual { padding: 50px 46px; }
    .auth-brand { gap: 10px; font-size: 17px; }
    .auth-brand-mark { width: 28px; height: 28px; border-radius: 5px; font-size: 13px; }
    .auth-form-wrap { margin: 64px auto 18px; }
    .auth-heading h1 { font-size: 26px; }
    .auth-heading p { margin: 11px 0 24px; font-size: 13px; line-height: 1.55; }
    .auth-form { gap: 8px; }
    .auth-form label { font-size: 12px; }
    .auth-input-wrap input { height: 39px; padding-inline: 42px; font-size: 12px; }
    .auth-input-wrap > i { left: 14px; font-size: 13px; }
    .password-toggle { width: 36px; height: 36px; font-size: 13px; }
    .auth-primary { height: 39px; margin-top: 9px; font-size: 12px; }
    .auth-divider { margin: 18px 0 14px; font-size: 11px; }
    .auth-sso-grid { grid-template-columns: 1fr; gap: 9px; }
    .auth-sso-grid button { height: 38px; font-size: 11px; }
    .auth-switch { margin-top: 17px; font-size: 11px; }
    .auth-legal { font-size: 10px; }
    .auth-visual h2 { font-size: 36px; }
    .auth-quote > p { font-size: 14px; }
    .auth-workflow > div { grid-template-columns: repeat(2, 1fr); }
    .auth-password-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    body.auth-page { display: block; padding: 0; background: #fff; }
    .auth-shell { min-height: 100vh; display: block; box-shadow: none; }
    .auth-form-panel { min-height: 100vh; padding: 28px 24px 24px; }
    .auth-brand { font-size: 23px; }.auth-brand-mark { width: 38px; height: 38px; }
    .auth-form-wrap { margin-top: 52px; }
    .auth-heading h1 { font-size: 32px; }.auth-heading p { margin: 13px 0 28px; font-size: 15px; line-height: 1.55; }
    .auth-input-wrap input, .auth-primary { height: 54px; }
    .auth-visual { display: none; }
    .auth-legal { margin-top: 28px; }
}
@media (max-width: 420px) {
    .auth-form-panel { padding-inline: 20px; }
    .auth-sso-grid { grid-template-columns: 1fr; }
    .auth-form-wrap { margin-top: 40px; }
}

/* Property-led Stames sign-in */
body.auth-page-property {
    display: grid;
    place-items: center;
    padding: 12px;
    overflow: hidden;
    background: #f4f5f4;
}

.auth-property-shell {
    width: min(1800px, calc(100vw - 24px));
    height: calc(100vh - 24px);
    min-height: 680px;
    grid-template-columns: minmax(520px, .98fr) minmax(620px, 1.08fr);
    gap: 12px;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.auth-property-form {
    min-height: 0;
    padding: 28px clamp(48px, 5vw, 92px) 24px;
    border-radius: 12px;
    background: #fff;
}

.auth-property-brand {
    align-self: start;
    font-size: 23px;
}

.auth-property-brand .auth-brand-mark {
    width: 38px;
    height: 38px;
    font-size: 17px;
}

.auth-property-form-wrap {
    width: min(100%, 510px);
    align-self: center;
    justify-self: center;
}

.auth-mode-switch {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 auto 36px;
    padding: 4px;
    border: 1px solid #e1e4e2;
    border-radius: 8px;
    background: #f7f8f7;
}

.auth-mode-switch a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border-radius: 6px;
    color: #616a67;
    font-size: 14px;
    font-weight: 650;
}

.auth-mode-switch a:hover { color: #133f3d; }

.auth-mode-switch a.active {
    background: #fff;
    color: #17201f;
    box-shadow: 0 2px 8px rgba(24, 36, 33, .1);
}

.auth-mode-switch i { font-size: 15px; }

.auth-property-heading { margin-bottom: 33px; text-align: center; }
.auth-property-heading h1 { margin: 0; color: #151918; font-size: 34px; line-height: 1.2; font-weight: 650; }
.auth-property-heading p { margin: 10px 0 0; color: #66706d; font-size: 16px; line-height: 1.55; }

.auth-property-form-wrap .auth-alert { margin: -12px 0 20px; }

.auth-property-fields { display: grid; gap: 9px; }
.auth-property-fields > label,
.auth-property-label-row label { color: #252b29; font-size: 14px; font-weight: 650; }

.auth-property-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 13px;
}

.auth-property-label-row a {
    color: #155653;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.auth-property-label-row a:hover { text-decoration: underline; }

.auth-property-input { position: relative; }
.auth-property-input > i {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: #737d79;
    font-size: 16px;
    pointer-events: none;
}

.auth-property-input input {
    width: 100%;
    height: 56px;
    padding: 0 52px;
    border: 1px solid #d5d9d7;
    border-radius: 9px;
    outline: 0;
    background: #fff;
    color: #18201e;
    font: inherit;
    font-size: 15px;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.auth-property-input input::placeholder { color: #919a97; }
.auth-property-input input:focus { border-color: #176b66; box-shadow: 0 0 0 3px rgba(23, 107, 102, .11); }

.auth-property-submit {
    width: 100%;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    border: 0;
    border-radius: 9px;
    background: #17201f;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .16s ease, transform .16s ease;
}

.auth-property-submit:hover { background: #0f4e4b; transform: translateY(-1px); }
.auth-property-submit:disabled { opacity: .68; cursor: wait; transform: none; }

.auth-property-switch {
    align-self: end;
    margin: 0;
    text-align: center;
    color: #68716e;
    font-size: 13px;
}

.auth-property-switch a { color: #164f4c; font-weight: 700; text-decoration: underline; }

.auth-property-visual {
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    overflow: hidden;
    border-radius: 14px;
    background: #203f3a url("../images/stames-property-login.png") center center / cover no-repeat;
    color: #fff;
}

.auth-property-story {
    width: 100%;
    padding: 27px 30px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 12px;
    background: rgba(16, 26, 24, .56);
    box-shadow: 0 16px 42px rgba(6, 15, 13, .25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.auth-story-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d8e9e5;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-property-story > p {
    max-width: 720px;
    margin: 14px 0 27px;
    font-size: clamp(23px, 1.8vw, 32px);
    line-height: 1.35;
    font-weight: 520;
}

.auth-property-story > div { display: grid; gap: 6px; }
.auth-property-story strong { font-size: 15px; }
.auth-property-story > div span { color: #d6dfdc; font-size: 13px; }

@media (max-width: 1100px) {
    body.auth-page-property { overflow: auto; }
    .auth-property-shell { height: auto; min-height: calc(100vh - 24px); grid-template-columns: minmax(430px, .95fr) minmax(420px, 1fr); }
    .auth-property-form { min-height: calc(100vh - 24px); padding-inline: 44px; }
    .auth-property-visual { min-height: calc(100vh - 24px); }
    .auth-property-story { padding: 22px; }
}

@media (max-width: 780px) {
    body.auth-page-property { display: block; padding: 0; background: #fff; }
    .auth-property-shell { width: 100%; min-height: 100vh; display: block; }
    .auth-property-form { min-height: 100vh; display: grid; padding: 26px 24px 24px; border-radius: 0; }
    .auth-property-form-wrap { margin: 44px auto 30px; }
    .auth-property-brand { font-size: 21px; }
    .auth-mode-switch { margin-bottom: 28px; }
    .auth-property-heading h1 { font-size: 30px; }
    .auth-property-heading p { font-size: 14px; }
    .auth-property-visual { display: none; }
}

@media (max-width: 420px) {
    .auth-property-form { padding-inline: 20px; }
    .auth-property-form-wrap { margin-top: 35px; }
    .auth-property-input input { height: 54px; }
    .auth-property-submit { height: 55px; }
}

/* Editorial property sign-in */
body.auth-page-editorial {
    display: grid;
    place-items: center;
    padding: 18px;
    overflow: hidden;
    background: #fff;
}

.auth-editorial-shell {
    width: min(1640px, calc(100vw - 36px));
    height: min(1040px, calc(100vh - 36px));
    min-height: 660px;
    grid-template-columns: minmax(430px, .76fr) minmax(640px, 1.24fr);
    gap: 42px;
    overflow: visible;
    background: #fff;
    box-shadow: none;
}

.auth-editorial-form {
    min-height: 0;
    background: #fff;
}

.auth-editorial-brand {
    align-self: start;
    gap: 12px;
    color: #153d3c;
    font-size: 24px;
    font-weight: 760;
}

.auth-editorial-brand .auth-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #154d4b;
    font-size: 18px;
}

.auth-editorial-form-wrap {
    width: min(100%, 500px);
    align-self: center;
    justify-self: start;
}

.auth-editorial-heading {
    margin-bottom: 34px;
    text-align: center;
}

.auth-editorial-heading h1 {
    margin: 0;
    color: #101615;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 720;
}

.auth-editorial-heading p {
    margin: 9px 0 0;
    color: #606a67;
    font-size: 14px;
    line-height: 1.5;
}

.auth-editorial-form-wrap .auth-alert { margin: -12px 0 18px; }
.auth-editorial-fields { display: grid; gap: 16px; }

.auth-editorial-input {
    min-height: 64px;
    position: relative;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 9px 48px 8px 17px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f4f6f6;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.auth-editorial-input:focus-within {
    border-color: #28716c;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(40, 113, 108, .1);
}

.auth-editorial-input label {
    color: #68736f;
    font-size: 10px;
    font-weight: 680;
}

.auth-editorial-input input {
    min-width: 0;
    width: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #161d1b;
    font: inherit;
    font-size: 14px;
    font-weight: 580;
}

.auth-editorial-input input::placeholder { color: #939c99; font-weight: 450; }
.auth-editorial-input > i {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #76827e;
    font-size: 15px;
    pointer-events: none;
}

.auth-editorial-input .password-toggle {
    right: 8px;
    width: 38px;
    height: 38px;
    font-size: 15px;
}

.auth-editorial-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: -3px;
    font-size: 12px;
}

.auth-editorial-options label { display: inline-flex; align-items: center; gap: 8px; color: #3e4744; cursor: pointer; }
.auth-editorial-options input { width: 15px; height: 15px; margin: 0; accent-color: #155754; }
.auth-editorial-options a { color: #174f4c; font-weight: 680; text-decoration: underline; }

.auth-editorial-submit {
    width: 100%;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    border: 0;
    border-radius: 8px;
    background: #312d2a;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: background-color .16s ease, transform .16s ease;
}

.auth-editorial-submit:hover { background: #103f3d; transform: translateY(-1px); }
.auth-editorial-submit:disabled { opacity: .68; cursor: wait; transform: none; }

.auth-editorial-switch {
    margin: 25px 0 0;
    text-align: center;
    color: #545f5b;
    font-size: 12px;
}

.auth-editorial-switch a { color: #164f4c; font-weight: 750; text-decoration: underline; }

.auth-editorial-visual {
    min-width: 0;
    min-height: 0;
    position: relative;
    overflow: hidden;
    border-radius: 82px 56px 112px 72px;
    background: #4e7184 url("../images/stames-editorial-login.png") center center / cover no-repeat;
}

.auth-editorial-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 42, 54, .12);
    pointer-events: none;
}

.auth-editorial-visual > p {
    max-width: 520px;
    position: absolute;
    z-index: 1;
    top: 36px;
    right: 40px;
    margin: 0;
    color: #fff;
    text-align: right;
    text-shadow: 0 2px 14px rgba(11, 34, 44, .5);
    font-size: clamp(18px, 1.55vw, 24px);
    line-height: 1.35;
    font-weight: 720;
}

.auth-editorial-visual > span {
    position: absolute;
    z-index: 1;
    left: 30px;
    bottom: 28px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 6px;
    background: rgba(14, 42, 50, .55);
    color: #fff;
    font-size: 10px;
    font-weight: 780;
    text-transform: uppercase;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

@media (max-width: 1050px) {
    body.auth-page-editorial { overflow: auto; }
    .auth-editorial-shell { height: auto; min-height: calc(100vh - 36px); grid-template-columns: minmax(390px, .86fr) minmax(460px, 1.14fr); gap: 24px; }
    .auth-editorial-form { min-height: calc(100vh - 36px); padding: 42px 20px 38px 38px; }
    .auth-editorial-visual { min-height: calc(100vh - 36px); border-radius: 58px 38px 74px 48px; }
}

@media (max-width: 760px) {
    body.auth-page-editorial { display: block; padding: 0; overflow-x: hidden; }
    .auth-editorial-shell { width: 100%; min-height: 100vh; display: block; }
    .auth-editorial-form { min-height: 100vh; display: grid; padding: 28px 24px 24px; }
    .auth-editorial-brand { font-size: 21px; }.auth-editorial-brand .auth-brand-mark { width: 36px; height: 36px; }
    .auth-editorial-form-wrap { justify-self: center; margin: 42px auto 28px; }
    .auth-editorial-heading h1 { font-size: 29px; }
    .auth-editorial-heading p { font-size: 13px; }
    .auth-editorial-visual { display: none; }
}

@media (max-width: 420px) {
    .auth-editorial-form { padding-inline: 20px; }
    .auth-editorial-form-wrap { margin-top: 34px; }
    .auth-editorial-input { min-height: 60px; }
}

/* Abstract Stames login backdrop */
body.auth-page.auth-page-editorial.auth-page-abstract {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
    overflow: auto;
    background: #dce9e9 url("../images/abstract.jpg") center / cover no-repeat !important;
}

.auth-abstract-stage {
    width: 100%;
    min-height: calc(100vh - 56px);
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    /*background-image: url('https://cdn.cloud.qdrant.io/static/images/login/gridblocks.svg')*/
}

.auth-channel-pattern {
    position: absolute;
    inset: -4% -2%;
    display: grid;
    grid-template-columns: repeat(8, minmax(90px, 1fr));
    grid-template-rows: repeat(4, 1fr);
    place-items: center;
    overflow: hidden;
    color: #0f5b59;
    opacity: .3;
    pointer-events: none;
}

.auth-channel-pattern span {
    width: 74px;
    height: 74px;
    position: relative;
    display: grid;
    place-items: center;
    transform: rotate(-8deg);
}

.auth-channel-pattern span::after {
    content: "";
    width: 78px;
    position: absolute;
    left: 64px;
    top: 50%;
    border-top: 2px dashed currentColor;
    transform: rotate(16deg);
}

.auth-channel-pattern i { font-size: 38px; line-height: 1; }
.auth-channel-pattern span:nth-child(3n) { transform: rotate(10deg) translateY(18px); }
.auth-channel-pattern span:nth-child(4n) { transform: rotate(-14deg) translateY(-12px); }
.auth-channel-pattern span:nth-child(5n) i { font-size: 47px; }
.auth-channel-pattern span:nth-child(6n) i { font-size: 31px; }
.auth-channel-pattern span:nth-child(2n)::after { transform: rotate(-18deg); }
.auth-channel-pattern span:nth-child(4n)::after { display: none; }

.auth-abstract-card {
    width: min(100%, 500px);
    min-height: 0;
    display: block;
    padding: 48px 46px 44px;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 12px;
    background: rgba(255, 255, 255, .91);
    box-shadow: 0 24px 70px rgba(10, 55, 59, .18), 0 3px 12px rgba(10, 55, 59, .08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1;
}

.auth-abstract-card-su {
    width: min(100%, 600px) !important;
    min-height: 0;
    display: block;
    padding: 48px 46px 44px;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 12px;
    background: rgba(255, 255, 255, .91);
    box-shadow: 0 24px 70px rgba(10, 55, 59, .18), 0 3px 12px rgba(10, 55, 59, .08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1;
}

.auth-abstract-card .auth-editorial-brand { display: none; }
.auth-abstract-card .auth-editorial-form-wrap {
    width: 100%;
    margin: 0;
}

.auth-abstract-card .auth-editorial-heading { margin-bottom: 29px; }
.auth-abstract-card .auth-editorial-heading h1 { font-size: 30px; }
.auth-abstract-card .auth-editorial-heading p { font-size: 13px; }

@media (max-width: 600px) {
    body.auth-page.auth-page-editorial.auth-page-abstract {
        display: grid;
        padding: 16px;
        background-position: 44% center;
    }

    .auth-abstract-stage {
        min-height: calc(100vh - 32px);
        border-radius: 10px;
    }

    .auth-channel-pattern {
        inset: -2% -32%;
        grid-template-columns: repeat(5, 120px);
        grid-template-rows: repeat(7, 1fr);
    }

    .auth-channel-pattern span { width: 64px; height: 64px; }
    .auth-channel-pattern i { font-size: 31px; }
    .auth-channel-pattern span:nth-child(5n) i { font-size: 38px; }
    .auth-abstract-card {
        min-height: 0;
        padding: 36px 26px 32px;
        border-radius: 10px;
    }

    .auth-abstract-card .auth-editorial-form-wrap {
        margin: 0;
        justify-self: stretch;
    }

    .auth-input-wrap, .auth-password-grid {
        margin-bottom: 10px;
    }
}

.demo-mode-switch {
    margin: 0;
}

.demo-mode-switch button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #d8d5cf;
    border-radius: 6px;
    background: #fff;
    color: #272725;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.demo-mode-switch button.is-demo {
    border-color: #c48a27;
    background: #fff4dc;
    color: #7b5313;
}

.demo-mode-switch svg {
    width: 15px;
    height: 15px;
}

.demo-mode-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #17804f;
}

.demo-mode-switch .is-demo .demo-mode-dot {
    background: #bd7d16;
}

/* Signup review confirmation */
.auth-success-stage {
    padding: 26px 0;
}

.auth-success-card {
    width: min(100%, 620px);
    padding: 38px 52px 30px;
}

.auth-success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.auth-success-logo {
    width: auto;
    height: 32px;
    margin-bottom: 10px;
}

.auth-success-illustration {
    width: min(100%, 330px);
    aspect-ratio: 3 / 2;
    object-fit: contain;
    margin: 0 auto 4px;
}

.auth-success-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 11px;
    color: #176d66;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-success-eyebrow i {
    font-size: 15px;
}

.auth-success-content h1 {
    margin: 0;
    color: #111817;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: 0;
}

.auth-success-description {
    max-width: 500px;
    margin: 13px auto 25px;
    color: #5f6b69;
    font-size: 13px;
    line-height: 1.65;
}

.auth-success-progress {
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 23px;
    padding: 0;
    list-style: none;
}

.auth-success-progress::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 16.66%;
    right: 16.66%;
    height: 1px;
    background: #d6dfdd;
}

.auth-success-progress li {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: #8a9694;
    font-size: 11px;
}

.auth-success-progress li > span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid #d6dfdd;
    border-radius: 50%;
    background: #fff;
    color: #8a9694;
    font-size: 15px;
}

.auth-success-progress li.is-complete,
.auth-success-progress li.is-current {
    color: #23413e;
}

.auth-success-progress li.is-complete > span {
    border-color: #1d746c;
    background: #1d746c;
    color: #fff;
}

.auth-success-progress li.is-current > span {
    border-color: #1d746c;
    background: #e7f3f1;
    color: #176d66;
    box-shadow: 0 0 0 4px rgba(29, 116, 108, .08);
}

.auth-success-note {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 17px;
    padding: 12px 14px;
    border: 1px solid #d7e4e2;
    border-radius: 7px;
    background: #f3f8f7;
    color: #49615e;
    text-align: left;
    font-size: 12px;
    line-height: 1.45;
}

.auth-success-note i {
    color: #176d66;
    font-size: 14px;
}

.auth-success-action {
    width: 100%;
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.auth-powered-by {
    margin-top: 25px;
    text-align: center;
}

.auth-powered-by img {
    width: auto;
    height: 28px;
}

@media (max-width: 600px) {
    .auth-success-stage {
        padding: 0;
    }

    .auth-success-card {
        padding: 30px 24px 24px;
    }

    .auth-success-illustration {
        width: min(100%, 280px);
    }

    .auth-success-content h1 {
        font-size: 26px;
    }
}
