/* Personal account: scoped additions to the existing ClearSans / teal interface. */
.accountPage {
    --ac-ink: #203e42;
    --ac-muted: #617579;
    --ac-accent: #347c79;
    --ac-deep: #1f7085;
    --ac-line: #dce8e9;
    --ac-soft: #edf5f4;
    --ac-ease: cubic-bezier(.23, 1, .32, 1);
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 36px 48px;
    color: var(--ac-ink);
    font: 400 15px/1.5 'ClearSans', sans-serif;
}
.accountPage *, .accountPage *::before, .accountPage *::after { box-sizing: border-box; }
.accountPage [hidden] { display: none !important; }
.accountPage h1, .accountPage h2, .accountPage h3, .accountPage p { margin: 0; }
.accountPage h1 { font-size: 32px; line-height: 1.2; font-weight: 500; letter-spacing: -.8px; margin-bottom: 10px; }
.accountPage h2 { font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -.3px; }
.accountPage h3 { font-size: 18px; line-height: 1.35; font-weight: 500; letter-spacing: -.2px; }
.accountPage button, .accountPage input, .accountPage select { font: inherit; }
.accountPage button, .accountPage a { -webkit-tap-highlight-color: transparent; }
.accountPage button { cursor: pointer; }
.accountPage a { color: inherit; text-decoration: none; }
.accountPage button:disabled { cursor: not-allowed; opacity: .55; }
.accountPage :is(button,a,input,select):focus-visible, .ac-accountLink:focus-visible { outline: 3px solid #1f7085; outline-offset: 4px; }
.accountPage .ac-eyebrow { font-size: 10px; letter-spacing: 1.8px; font-weight: 700; color: var(--ac-accent); margin-bottom: 12px; }
.accountPage .ac-muted { color: var(--ac-muted); }
.accountPage .ac-small { font-size: 12px; }
.ac-pageHeading, .ac-overviewHeading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.ac-pageHeading { padding: 0; flex-wrap: nowrap; }
.accountPage .ac-pageHeading h1 { margin: 0; }
.ac-topGrid { display: grid; grid-template-columns: minmax(235px, 1fr) minmax(390px, 2fr) minmax(230px, .96fr); gap: 20px; align-items: stretch; }
.ac-card { min-width: 0; padding: 24px; border: 1px solid var(--ac-line); border-radius: 26px; background: #fff; }
.ac-cardHeading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.ac-inline { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ac-count { display: inline-flex; align-items: center; justify-content: center; min-width: 27px; height: 27px; padding: 0 7px; border-radius: 8px; background: var(--ac-soft); color: var(--ac-accent); font-size: 13px; font-variant-numeric: tabular-nums; }
.ac-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: 12px; white-space: normal; font-weight: 500 !important; font-size: 13px !important; transition: background-color 150ms ease, border-color 150ms ease, transform 130ms var(--ac-ease); }
.ac-button--quiet { background: #fff; color: var(--ac-ink); border-color: var(--ac-line); }
.ac-button--soft { background: var(--ac-soft); color: var(--ac-accent); }
.ac-button--primary { background: var(--ac-accent); color: #fff; }
.ac-button--primary:disabled { background: #b1c5c4; color: #314e51; opacity: 1 !important; }
.ac-fullWidth { width: 100%; }
.ac-icon { width: 24px; height: 24px; flex: 0 0 24px; }
.ac-iconButton { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--ac-line); border-radius: 12px; background: #fff; color: var(--ac-ink); font-size: 24px !important; flex-shrink: 0; }
.ac-textButton { border: 0; background: none; color: var(--ac-accent); padding: 8px 0; font-size: 12px !important; font-weight: 500 !important; }
.ac-profile { display: flex; flex-direction: column; background: linear-gradient(160deg, #f7fbfa 0%, #fff 52%); }
#acProfileBody { flex: 1; }
.ac-avatar { display: grid; place-items: center; width: 74px; height: 74px; margin: 2px 0 18px; border-radius: 24px; background: #dceceb; border: 5px solid #fff; box-shadow: 0 0 0 1px #d8e7e5; color: #397671; font-size: 25px; font-weight: 500; overflow: hidden; }
.ac-avatar img { width: 100%; height: 100%; object-fit: cover; }
.accountPage .ac-profileName { font-size: 22px; line-height: 1.25; letter-spacing: -.4px; margin-bottom: 5px; overflow-wrap: anywhere; }
.ac-profileLogin { color: var(--ac-muted); font-size: 13px; overflow-wrap: anywhere; }
.ac-profileDetails { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 23px 0 24px; }
.ac-profileDetails div:last-child { grid-column: 1 / -1; }
.ac-profileDetails div { min-width: 0; }
.ac-profileDetails dt { font-size: 11px; color: var(--ac-muted); font-weight: 400; margin-bottom: 2px; }
.ac-profileDetails dd { font-size: 14px; margin: 0; overflow-wrap: anywhere; }
.ac-search { display: flex; align-items: center; gap: 10px; min-width: 0; border: 1px solid var(--ac-line); border-radius: 12px; padding: 0 13px; color: #6b8587; background: #fafcfc; }
.ac-search:focus-within { border-color: var(--ac-accent); box-shadow: 0 0 0 3px #edf5f4; }
.ac-search input { min-width: 0; width: 100%; height: 42px; padding: 0; border: 0; outline: none !important; background: transparent; color: var(--ac-ink); font-size: 13px; }
.ac-search input::placeholder { color: var(--ac-muted); }
.ac-filters { display: flex; gap: 5px; flex-wrap: wrap; padding: 13px 0 14px; }
.ac-filters button { padding: 7px 11px; border: 0; border-radius: 8px; background: transparent; color: var(--ac-muted); font-size: 12px; transition: background-color 140ms ease, color 140ms ease; }
.ac-filters button[aria-pressed="true"] { background: var(--ac-soft); color: #276c68; font-weight: 500; }
.ac-companyList { min-height: 247px; }
.accountPage .ac-groupLabel { font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--ac-muted); margin: 8px 0; }
.ac-companyRow { display: flex; align-items: center; gap: 12px; border: 1px solid transparent; background: #f8fafb; border-radius: 14px; padding: 12px; margin-bottom: 8px; }
.ac-companyRow.is-selected { border-color: #c5dedb; background: #f0f7f5; }
.ac-companyMonogram { display: grid; place-items: center; flex: 0 0 38px; height: 38px; background: #e1eeee; border-radius: 11px; color: #397671; font-size: 14px; font-weight: 500; }
.ac-companyRow[data-role="member"] .ac-companyMonogram { color: #557381; background: #e7eef2; }
.ac-companyText { min-width: 0; flex: 1; }
.ac-companyName { display: block; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; line-height: 1.3; }
.ac-companyMeta { margin-top: 4px; font-size: 11px; color: var(--ac-muted); overflow-wrap: anywhere; }
.ac-companyOpen { font-size: 12px !important; min-height: 38px; padding: 7px 10px; gap: 6px; flex-shrink: 0; }
.ac-pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; color: var(--ac-muted); font-size: 12px; }
.ac-pagination:empty { display: none; }
.ac-pagination .ac-iconButton { width: 34px; height: 34px; font-size: 18px !important; border-radius: 9px; }
.ac-sideColumn { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ac-security .ac-cardHeading { margin-bottom: 20px; }
.ac-security .ac-icon { color: var(--ac-accent); }
.ac-security #acEmailStatus { font-size: 13px; margin-bottom: 22px; line-height: 1.7; }
.ac-statusDot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #45867f; margin-right: 7px; }
.ac-statusDot--pending { background: #a9793b; }
/* СОХРАНИТЬ / НЕ УДАЛЯТЬ: оформление acPreservedNetworkCard («Сеть размещения»). */
.ac-displayArt { position: relative; min-height: 265px; flex: 1; overflow: hidden; border: 1px solid #cee3e4; border-radius: 26px; background: radial-gradient(ellipse at 100% 0%, #d8e3f0, transparent 70%), linear-gradient(130deg, #c9e9e5, #e4eeee 60%, #cbdfe3); }
.accountPage .ac-networkTitle { position: relative; z-index: 1; margin: 19px 22px 0; font-size: 14px; color: #325b62; }
.ac-displayScene { position: absolute; inset: 12px -34px 0 35px; perspective: 700px; pointer-events: none; }
.ac-networkStat { position: absolute; inset: auto 22px 20px; color: #244f55; }
.ac-networkStat > strong { display: block; font-size: 42px; line-height: 1; letter-spacing: -1.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.ac-networkStat > span { display: block; font-size: 13px; margin-top: 5px; }
.accountPage .ac-networkStat > p { font-size: 11px; margin-top: 7px; color: #446970; }
.ac-screen { position: absolute; width: 119px; height: 78px; border-radius: 10px; transform: rotate(-16deg) skewY(9deg); }
.ac-screen--back { top: 23px; left: calc(50% - 36px); border: 1px solid #f4ffff; background: linear-gradient(135deg, #ffffffab, #92bcc56b); box-shadow: 10px 15px 25px #507f8526; padding: 16px; }
.ac-screen--back i { display: block; background: #ffffffb5; height: 4px; border-radius: 4px; width: 60%; margin: 6px 0; }
.ac-screen--back i:nth-child(2) { width: 85%; }
.ac-screen--front { top: 53px; left: calc(50% - 85px); background: linear-gradient(130deg, #609c99, #285c6e); border: 1px solid #c9edec; box-shadow: 9px 18px 20px #35657130, inset 0 0 0 5px #ffffff10; }
.ac-screenLogo { position: absolute; left: 16px; top: 15px; width: 35px; height: 40px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.ac-screenBars { position: absolute; right: 14px; bottom: 15px; display: flex; align-items: end; gap: 4px; height: 29px; }
.ac-screenBars i { width: 7px; height: 60%; background: #c2e6e17d; border-radius: 2px; }
.ac-screenBars i:nth-child(2) { height: 100%; }.ac-screenBars i:nth-child(3) { height: 78%; }
.ac-orbit { position: absolute; width: 250px; height: 105px; top: 35px; left: calc(50% - 125px); border: 1px solid #64999f30; border-radius: 50%; transform: rotate(-28deg); }
.ac-orbit--two { width: 320px; height: 145px; top: 15px; left: calc(50% - 160px); }
.ac-networkDot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #80b2ad; box-shadow: 0 0 0 5px #ffffff55; }
.ac-networkDot--one { left: 12%; top: 44%; }.ac-networkDot--two { right: 12%; top: 22%; }
.ac-overview { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--ac-line); scroll-margin-top: 20px; }
.ac-overviewHeading { margin-bottom: 20px; }
.accountPage .ac-overviewHeading .ac-eyebrow { margin-bottom: 6px; }
.ac-overviewControls { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ac-companyPicker { position: relative; display: block; width: 320px; max-width: 100%; height: 58px; border: 1px solid #c7ddda; border-radius: 14px; background: #fff; transition: border-color 150ms ease, box-shadow 150ms ease; }
.ac-companyPicker:focus-within { border-color: #347c79; box-shadow: 0 0 0 3px #347c791a; }
.ac-pickerLabel { position: absolute; left: 45px; top: 7px; color: var(--ac-muted); font-size: 10px; pointer-events: none; }
.ac-overviewControls .ac-companyPicker select { position: absolute; inset: 0; appearance: none; -webkit-appearance: none; width: 100%; height: 100%; min-width: 0; border: 0; border-radius: inherit; padding: 21px 48px 8px 45px; background: transparent; background-image: none !important; color: var(--ac-ink); font-size: 13px; line-height: 1.3; text-overflow: ellipsis; cursor: pointer; }
.ac-companyPicker select:focus-visible { outline-offset: 3px; }
.ac-pickerBuilding { position: absolute; left: 14px; top: 19px; color: #5c8c87; pointer-events: none; }
.ac-pickerChevron { position: absolute; top: 17px; right: 12px; width: 24px; height: 24px; padding: 4px; background: #edf5f3; border-radius: 7px; color: #397d78; pointer-events: none; }
.ac-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.ac-metric { display: flex; flex-direction: column; align-items: stretch; min-width: 0; text-align: left; padding: 19px 21px; min-height: 132px; border: 1px solid var(--ac-line); border-radius: 20px; background: #fff; color: var(--ac-ink); position: relative; }
.ac-metric--accent { background: #3f7e7c; color: #fff; border-color: #3f7e7c; }
.ac-metricTop { display: flex; align-items: center; justify-content: space-between; font-size: 12px; gap: 8px; color: var(--ac-muted); }
.ac-metric--accent .ac-metricTop, .ac-metric--accent .ac-metricNote { color: #e2f0ee; }
.ac-metricValue { font-size: 35px; font-weight: 500; line-height: 1.2; letter-spacing: -1px; margin-top: 5px; font-variant-numeric: tabular-nums; }
.ac-metricNote { color: var(--ac-muted); font-size: 11px; margin-top: 3px; }
.ac-detailGrid { display: grid; grid-template-columns: 1.1fr 1.45fr 1fr; gap: 20px; }
.ac-detailGrid > .ac-card { min-height: 310px; }
.ac-detailGrid .ac-cardHeading { margin-bottom: 22px; }
.ac-deviceTotal { display: flex; gap: 8px; align-items: baseline; margin-bottom: 20px; }
.ac-deviceTotal strong { font-size: 38px; line-height: 1; letter-spacing: -1px; font-weight: 500; font-variant-numeric: tabular-nums; }
.ac-deviceTotal span { font-size: 12px; color: var(--ac-muted); }
.ac-statusBar { display: flex; gap: 4px; height: 10px; border-radius: 4px; overflow: hidden; background: #eef2f3; margin-bottom: 20px; }
.ac-statusBar span { flex-basis: 0; min-width: 3px; }
.ac-statusBar [data-status="ACTIVE"], .ac-legendDot[data-status="ACTIVE"] { background: #528e86; }
.ac-statusBar [data-status="DISABLE"], .ac-legendDot[data-status="DISABLE"] { background: #aec3c9; }
.ac-statusBar [data-status="INTERRUPTED"], .ac-legendDot[data-status="INTERRUPTED"] { background: #c09060; }
.ac-statusBar [data-status="NOT_REGISTERED"], .ac-legendDot[data-status="NOT_REGISTERED"] { background: #b1b5cd; }
.ac-statusLegend { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 15px; font-size: 11px; }
.ac-statusLegend > div { display: flex; align-items: center; gap: 7px; }
.ac-statusLegend strong { margin-left: auto; font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 500; }
.ac-legendDot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 2px; }
.accountPage .ac-attention { display: flex; align-items: start; gap: 10px; background: #faf3ea; color: #805c30; padding: 10px 12px; border-radius: 10px; font-size: 12px; margin-top: 20px; }
.ac-mediaGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ac-mediaTile { min-width: 0; }
.ac-mediaPreview { position: relative; display: grid; place-items: center; height: 107px; padding: 8px; border: 1px solid #e5eded; border-radius: 13px; background: #f3f7f7; overflow: hidden; color: #7c9699; }
.ac-mediaPreview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #f3f7f7; }
.ac-mediaName { display: block; margin-top: 9px; font-size: 12px; overflow-wrap: anywhere; line-height: 1.35; }
.ac-mediaType { font-size: 10px; color: var(--ac-muted); }
.ac-mediaBottom { margin-top: 21px; padding-top: 14px; border-top: 1px solid var(--ac-line); display: flex; justify-content: space-between; color: var(--ac-muted); font-size: 11px; }
.ac-sourceRow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf2f2; }
.ac-sourceRow:last-child { border: 0; }
.ac-sourceIcon { width: 35px; height: 35px; border-radius: 10px; background: var(--ac-soft); color: var(--ac-accent); display: grid; place-items: center; flex-shrink: 0; font-size: 11px; font-weight: 500; }
.ac-sourceName { font-size: 13px; overflow-wrap: anywhere; }
.ac-sourceType { color: var(--ac-muted); font-size: 11px; }
.accountPage .ac-overviewFootnote { font-size: 11px; color: var(--ac-muted); margin-top: 16px; }
.ac-empty { display: flex; min-height: 180px; flex-direction: column; justify-content: center; align-items: start; gap: 10px; color: var(--ac-muted); font-size: 13px; }
.ac-empty strong { font-weight: 500; font-size: 16px; color: var(--ac-ink); }
.ac-empty--compact { min-height: 100px; }
.ac-error { padding: 16px; border-radius: 12px; background: #fcf5ef; color: #77583e; font-size: 13px; margin-bottom: 16px; }
.ac-error .ac-textButton { margin-left: 10px; }
.ac-skeleton { background: #edf3f3; height: 17px; width: 80%; margin-bottom: 14px; border-radius: 7px; }
.ac-skeleton:nth-child(even) { width: 60%; }
.ac-skeleton--avatar { width: 74px !important; height: 74px; border-radius: 24px; margin-bottom: 25px; }
.ac-skeleton--row { width: 100% !important; height: 62px; margin-bottom: 10px; border-radius: 14px; }
.ac-navigationStatus { position: fixed; z-index: 1060; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 13px; background: #203e42; color: #fff; box-shadow: 0 8px 30px #18373a30; }
.ac-srOnly { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.ac-dialog { --ac-ink: #203e42; color: var(--ac-ink); position: fixed; inset: 0 0 0 auto; width: 470px; height: 100dvh; max-width: 100%; max-height: 100%; margin: 0; padding: 32px; border: 0; border-radius: 26px 0 0 26px; box-shadow: -16px 0 60px #203e4220; overflow-y: auto; overscroll-behavior: contain; }
.ac-dialog::backdrop { background: #15363c5c; }
.ac-dialog[open]:not(.ac-noMotion) { animation: ac-panelIn 250ms cubic-bezier(.32,.72,0,1); }
.ac-dialogHeading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 34px; }
.ac-dialog h2 { font-size: 25px; }
.ac-formFields { display: grid; gap: 19px; }
.ac-field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 500; }
.ac-field input { width: 100%; min-width: 0; height: 47px; border: 1px solid #c7dada; border-radius: 11px; padding: 10px 12px; background: #fbfdfd; color: var(--ac-ink); font-size: 15px; }
.ac-field input[aria-invalid="true"] { border-color: #af594e; }
.ac-fieldError { display: block; font-size: 12px; color: #a44338; min-height: 0; margin-top: 5px; }
.ac-passwordInput { display: flex; align-items: center; position: relative; }
.ac-passwordInput input { padding-right: 80px; }
.ac-passwordToggle { position: absolute; right: 10px; top: 3px; min-height: 41px; }
.ac-formNotice { margin-top: 28px; padding: 15px 16px; background: #f0f6f5; border-radius: 12px; color: #4f6b6d; font-size: 13px; line-height: 1.6; }
.ac-formActions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.ac-discardPrompt { margin-top: 20px; padding: 16px; border: 1px solid #deccb2; border-radius: 12px; font-size: 13px; }
.ac-discardPrompt .ac-inline { flex-wrap: wrap; margin-top: 12px; }
.ac-accountLink { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 7px 10px; border-radius: 9px; color: #327975; text-decoration: none; font-size: 12px; margin-right: 12px; }
.ac-accountLink[aria-current="page"] { background: #e5f0ee; color: #276c68; }
.ac-fleetDeviceLayout { display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: center; gap: 14px; }
.ac-ring { position: relative; width: 112px; height: 112px; flex-shrink: 0; }
.ac-ring svg { display: block; width: 100%; height: 100%; }
.ac-ringCenter { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; }
.ac-ringCenter strong { font-size: 20px; line-height: 1.2; font-weight: 500; letter-spacing: -.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ac-ringCenter strong.ac-ringValue--compact { font-size: 17px; }
.ac-ringCenter span { font-size: 11px; color: var(--ac-muted); }
.ac-fleetDevicesCard { background: linear-gradient(145deg,#f5faf8,#fff 65%); }
.ac-fleetDeviceNumbers { display: contents; }
.ac-fleetRatio { display: flex; flex-direction: column; gap: 4px; font-variant-numeric: tabular-nums; }
.ac-fleetRatio > strong { font-size: 26px; font-weight: 500; line-height: 1.1; }
.ac-fleetRatio > span { color: var(--ac-muted); font-size: 12px; }
.ac-fleetRatio b { font-weight: 400; }
.ac-fleetLegend { display: grid; grid-column: 1 / -1; gap: 7px; }
.ac-fleetLegend > div { display: flex; gap: 7px; align-items: center; font-size: 11px; }
.ac-fleetLegend strong { margin-left: auto; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.accountPage .ac-scopeNote { color: var(--ac-muted); font-size: 11px; margin-top: 17px; }
.accountPage .ac-scopeNote--partial { color: #8a653a; }
.ac-fleetFooter { display: flex; flex-direction: column; gap: 4px; margin-top: 5px; }
.ac-fleetFooter p { font-size: 11px; color: var(--ac-muted); }
.ac-fleetFooter button { text-align: left; min-height: 36px; }
.ac-fleetDevicesCard { flex: 1; padding: 20px; }
.ac-fleetDevicesCard .ac-cardHeading { gap: 8px; margin-bottom: 16px; }
.ac-fleetDevicesCard h2 { font-size: 17px; }
.ac-fleetDevicesCard .ac-cardHeading .ac-iconButton { width: 36px; height: 36px; border: 0; background: transparent; }
@keyframes ac-panelIn { from { opacity: .6; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@media (hover:hover) and (pointer:fine) {
    .accountPage .ac-button--quiet:hover { border-color: #a3c5c2; background: #f7fbfa; }
    .accountPage .ac-button--soft:hover { background: #dcecea; }
    .accountPage .ac-textButton:hover { color: #194f50; text-decoration: underline; text-underline-offset: 4px; }
    .accountPage .ac-iconButton:hover { background: #edf5f4; }
    .ac-metric[data-route]:hover { border-color: #a0c1be; }
    .accountPage :is(.ac-button,.ac-iconButton):active:not(:disabled) { transform: scale(.98); }
}
@media (max-width:1199px) {
    .accountPage { padding: 26px 24px 40px; }
    .ac-topGrid { grid-template-columns: minmax(235px, .85fr) minmax(360px, 1.5fr); }
    .ac-sideColumn { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
    .ac-security { display: flex; flex-direction: column; justify-content: space-between; }
    .ac-security .ac-cardHeading { margin-bottom: 10px; }.ac-security #acEmailStatus { margin-bottom: 12px; }
    .ac-displayArt { min-height: 215px; }
    .ac-displayArt .ac-displayScene { inset: 20px -40px 0 50%; }
    .ac-detailGrid { grid-template-columns: 1fr 1.25fr; }.ac-dataCard { grid-column: 1 / -1; }.ac-detailGrid .ac-dataCard { min-height: 180px; }
    #acDataBody:has(.ac-sourceRow) { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
    .ac-sourceRow { border-bottom: 0; }
}
@media (max-width:767px) {
    .accountPage { padding: 20px 16px 32px; }
    .accountPage h1 { font-size: 28px; }.ac-pageHeading { align-items: start; flex-direction: column; gap: 14px; }.ac-pageHeading > .ac-button { padding: 10px; font-size: 11px !important; }
    .accountPage .ac-eyebrow { font-size: 9px; letter-spacing: 1.3px; }.ac-pageHeading .ac-muted { font-size: 13px; }
    .ac-topGrid { grid-template-columns: 1fr; gap: 16px; }.ac-card { border-radius: 21px; padding: 20px; }
    #acProfileBody { display: grid; grid-template-columns: 62px minmax(0,1fr); column-gap: 17px; }.ac-avatar { width: 62px; height: 62px; border-radius: 21px; margin: 0; grid-row: span 2; }.ac-profileDetails { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; margin: 19px 0; gap: 12px 20px; }.ac-profileDetails div:last-child { grid-column: 1 / -1; }.ac-profileIdentity { align-self: center; }.accountPage .ac-profileName { font-size: 20px; }
    .ac-companies .ac-cardHeading > .ac-small { display: none; }.ac-companyList { min-height: 0; }.ac-companyRow { padding: 11px 9px; gap: 9px; }.ac-companyOpen { padding: 7px; }.ac-companyMonogram { flex-basis: 33px; height: 33px; border-radius: 9px; }
    .ac-sideColumn { grid-template-columns: 1fr; gap: 16px; }.ac-security { padding: 18px; }.ac-security h2 { font-size: 16px; }.ac-security .ac-icon { display: none; }.ac-security .ac-button { font-size: 12px !important; padding: 8px; gap: 7px; }.ac-security #acEmailStatus { font-size: 12px; }.ac-displayArt { min-height: 260px; border-radius: 21px; }.ac-screen--front { left: calc(50% - 70px); }.ac-screen--back { left: calc(50% - 35px); }.ac-screen { width: 100px; height: 68px; }
    .ac-displayArt .ac-displayScene { inset: 22px -30px 0 10px; }.accountPage .ac-networkTitle { font-size: 12px; margin: 17px 16px 0; }.ac-networkStat { inset: auto 16px 17px; }.ac-networkStat > strong { font-size: 35px; }.ac-networkStat > span { font-size: 12px; }.accountPage .ac-networkStat > p { font-size: 10px; }
    .ac-overviewHeading { align-items: flex-start; flex-direction: column; gap: 16px; }.ac-overviewControls { width: 100%; }.ac-companyPicker { flex: 1; width: 0; }.ac-metrics { grid-template-columns: 1fr 1fr; gap: 12px; }.ac-metric { border-radius: 17px; padding: 16px; min-height: 125px; }.ac-metricValue { font-size: 32px; }.ac-detailGrid { grid-template-columns: 1fr; gap: 16px; }.ac-detailGrid > .ac-card { min-height: 260px; }.ac-detailGrid .ac-dataCard { min-height: 180px; }#acDataBody:has(.ac-sourceRow) { display: block; }.ac-sourceRow { border-bottom: 1px solid #edf2f2; }.ac-mediaPreview { height: 100px; }
    .ac-dialog { border-radius: 0; padding: 24px 20px; width: 100%; }.ac-dialogHeading { margin-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .accountPage *, .accountPage *::before, .accountPage *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Short entrances establish hierarchy without delaying any controls. */
@media(prefers-reduced-motion:no-preference) {
    .accountPage :is(.ac-pageHeading,.ac-topGrid,.ac-overview,.ac-detailGrid) { animation:ac-contentIn 260ms cubic-bezier(.23,1,.32,1) both; }
    .accountPage .ac-topGrid { animation-delay:30ms; }
    .accountPage .ac-overview { animation-delay:60ms; }
    .accountPage .ac-detailGrid { animation-delay:90ms; }
    .accountPage :is(.ac-metric,.ac-companyRow,.ac-companyOpen,.ac-button,.ac-iconButton) { transition:transform 180ms cubic-bezier(.23,1,.32,1),background-color 160ms ease,border-color 160ms ease; }
    .accountPage :is(.ac-button,.ac-iconButton,.ac-companyOpen):active:not(:disabled) { transform:scale(.98); }
    .accountPage :focus-visible { transition:none; }
    @keyframes ac-contentIn { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } }
}
@media(prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine) {
    .accountPage .ac-metric[data-route]:hover { transform:translateY(-2px); }
    .accountPage .ac-companyOpen:hover { transform:translateX(2px); }
}
