/* Note G — shared interface foundations. Kept separate for a reversible release. */
:root {
  --primary-blue: #006dfd; --primary-blue-hover: #0059d6; --primary-blue-soft: #edeff3;
  --light-bg: #f5f7fa; --light-card: #fff; --light-card-hover: #f3f5f7;
  --text-primary: #26292c; --text-main: #26292c; --text-secondary: #686c73; --text-muted: #767a81;
  --border-color: #dcdfe4; --success-green: #006dfd; --success-soft: #edeff3;
  --warning-orange: #97703b; --danger-red: #a34c43; --danger-soft: #fbefed;
  --gradient-blue: #006dfd; --gradient-card: #fff; --shadow-card: none; --shadow-button: none;
  --ae-sidebar-width: 224px; --sidebar-width: 224px; --radius: 10px; --radius-sm: 6px;
  --app-scale: 1;
}
html { zoom: 1; background: #f5f7fa; scroll-behavior: smooth; }
body.noteg-design { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 1.5; letter-spacing: 0; color: var(--text-primary); background: var(--light-bg); -webkit-font-smoothing: antialiased; user-select: text; }
body.noteg-design *, body.noteg-design *::before, body.noteg-design *::after { box-sizing: border-box; }
body.noteg-design input, body.noteg-design button, body.noteg-design select, body.noteg-design textarea { font-family: inherit; }
body.noteg-design h1, body.noteg-design h2, body.noteg-design h3, body.noteg-design h4, body.noteg-design h5 { color: var(--text-primary); font-family: inherit; font-weight: 600; letter-spacing: -.025em; }
body.noteg-design h5 { font-size: 16px; }
body.noteg-design a { text-decoration: none; }
body.noteg-design :focus-visible { outline: 2px solid #006dfd; outline-offset: 3px; }
body.noteg-design .ng-skip { position: fixed; left: 240px; top: -80px; z-index: 20000; padding: 12px 18px; background: #fff; color: #0059d6; }
body.noteg-design .ng-skip:focus { top: 12px; }
/* Shell */
html.ae-has-sidebar body.noteg-design > .container { padding: 34px 38px 56px; margin-left: 224px; width: calc(100% - 224px); max-width: 1600px; overflow: visible; }
html.ae-has-sidebar body.noteg-design .ae-sidebar { width: 224px; background: #171d29; color: #b7bbc1; border: 0; box-shadow: none; padding: 32px 16px 18px; }
body.noteg-design .ae-sidebar-brand { display: flex; flex-direction: column; align-items: flex-start; border: 0; padding: 0 14px 32px; margin: 0; }
body.noteg-design .ng-wordmark { font-size: 29px; letter-spacing: -1.1px; font-weight: 600; line-height: 1; display: inline-flex; align-items: center; gap: 7px; color: #26292c; }
body.noteg-design .ng-wordmark b { width: 31px; height: 33px; display: inline-flex; align-items: center; justify-content: center; background: #c9d1de; border-radius: 5px; color: #262f3c; font-size: 27px; font-weight: 500; }
body.noteg-design .ae-sidebar .ng-wordmark { color: #f0f2f5; }
body.noteg-design .ng-brand-caption { margin-top: 14px; color: #99a0aa; font-size: 11px; }
body.noteg-design .ng-nav-label { color: #838a96; font-size: 10px; letter-spacing: 1.6px; padding: 12px 14px; }
body.noteg-design .ae-sidebar-nav { gap: 5px; padding: 0; margin: 0; }
html.ae-has-sidebar body.noteg-design .ae-sidebar-link { padding: 12px 14px; min-height: 44px; font-size: 13px; font-weight: 500; color: #b5bac2; border-radius: 6px; gap: 12px; box-shadow: none; }
html.ae-has-sidebar body.noteg-design .ae-sidebar-link:hover { background: #2e3135; color: #fff; }
html.ae-has-sidebar body.noteg-design .ae-sidebar-link.active { background: #203b65; color: #ffffff; box-shadow: none; }
body.noteg-design .ae-sidebar-link.active::before { display: none; }
body.noteg-design .ae-sidebar-icon svg { width: 18px; height: 18px; stroke-width: 1.6; }
body.noteg-design .ae-sidebar-bottom { margin-top: auto; border-top: 1px solid #383b40; padding-top: 18px; }
body.noteg-design .ng-sidebar-note { padding: 5px 14px 22px; font-size: 12px; color: #ccd0d6; }
body.noteg-design .ng-sidebar-note span { display: block; margin-top: 4px; color: #89909a; font-size: 11px; }
html.ae-has-sidebar body.noteg-design .nav-header { display: flex; align-items: center; min-height: 70px; margin: 0 0 26px; padding: 0 0 24px; border-bottom: 1px solid var(--border-color); background: transparent; box-shadow: none; }
html.ae-has-sidebar body.noteg-design .nav-header h1 { font-size: 29px !important; line-height: 1.2; font-weight: 600; margin: 8px 0 0 !important; letter-spacing: -.035em; }
body.noteg-design .ng-eyebrow { font-size: 10px; letter-spacing: 1.55px; font-weight: 600; color: #767a81; margin: 0; }
body.noteg-design .nav-actions { display: flex; gap: 10px; align-items: center; }
body.noteg-design .ng-avatar { background: #e3e6eb; color: #555a62; width: 34px; height: 34px; border: 1px solid #d2d7df; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
html.ae-has-sidebar body.noteg-design .cabinet-user { font-size: 12px; font-weight: 500; color: #545960; }
body.noteg-design .ng-page-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -5px 0 24px; }
body.noteg-design .ng-page-intro p, body.noteg-design .ng-page-description { color: var(--text-secondary); font-size: 13px; margin: 0; }
/* Controls and panels */
body.noteg-design .card, body.noteg-design .table-card, body.noteg-design .reports-panel, body.noteg-design .reports-chart-card { border: 1px solid var(--border-color); border-radius: 9px; background: #fff; box-shadow: none; animation: none; transform: none; }
html.ae-has-sidebar body.noteg-design .card { padding: 24px; margin-top: 0; margin-bottom: 24px; }
body.noteg-design .card:hover, body.noteg-design .stat-card:hover { box-shadow: none; transform: none; }
body.noteg-design .card-header { padding: 0 0 18px; margin: 0 0 18px; border-bottom: 1px solid #e9ecf0; background: transparent; }
body.noteg-design .btn, body.noteg-design .btn-primary, body.noteg-design .btn-success, body.noteg-design .btn-generate, body.noteg-design .btn-export { background: #006dfd; color: #fff; border: 1px solid #006dfd; border-radius: 6px; box-shadow: none; padding: 10px 16px; min-height: 40px; font-size: 13px; font-weight: 500; line-height: 1.35; transform: none; transition: background .15s, border-color .15s; letter-spacing: 0; }
body.noteg-design .btn:hover { background: #0059d6; border-color: #0059d6; box-shadow: none; transform: none; color: #fff; }
body.noteg-design .btn-secondary { background: #fff; color: #50555c; border-color: #dadde2; }
body.noteg-design .btn-secondary:hover { background: #eff1f5; border-color: #b5bcc7; color: #262f3d; }
body.noteg-design .btn-danger, body.noteg-design .btn-delete { background: #fcf4f2; color: #a34c43; border-color: #ead9d4; }
body.noteg-design .btn-danger:hover, body.noteg-design .btn-delete:hover { background: #f5e2de; color: #843e37; border-color: #d7b7ad; }
body.noteg-design button:disabled { opacity: .5; cursor: not-allowed; }
body.noteg-design .form-control, body.noteg-design .input, body.noteg-design .ae-table-search, body.noteg-design .custom-select__trigger { font-family: inherit; background-color: #fff; color: #303337; font-size: 14px; border: 1px solid #d4d8df; border-radius: 6px; min-height: 42px; box-shadow: none; padding: 10px 12px; }
body.noteg-design .form-control:focus, body.noteg-design .input:focus, body.noteg-design .ae-table-search:focus { border-color: #006dfd; outline: 0; box-shadow: 0 0 0 3px #eaeef3; }
body.noteg-design input::placeholder { color: #8a8d92; font-weight: 400; }
body.noteg-design .form-label, body.noteg-design form label { font-size: 12px; color: #5c6169; font-weight: 500; letter-spacing: 0; margin-bottom: 7px; display: block; }
body.noteg-design .form-hint, body.noteg-design .license-plate-help { color: #767a81; font-size: 12px; }
body.noteg-design .filter-bar { margin: 0 0 25px; padding: 0; border: 0; background: transparent; }
body.noteg-design .filter-bar__grid { display: grid; grid-template-columns: minmax(180px, 270px) minmax(180px, 270px); gap: 16px; }
body.noteg-design .custom-select--filter { border: 0; background: transparent; box-shadow: none; border-radius: 0; padding: 0; display: block; min-height: 0; }
body.noteg-design .custom-select--filter .form-label { margin: 0 0 7px; padding: 0; text-transform: none; font-size: 11px; font-weight: 500; letter-spacing: .2px; }
body.noteg-design .custom-select--filter .ae-filter-icon-box { display: none; }
body.noteg-design .custom-select--filter .custom-select__trigger { background: #fff; min-height: 42px; border: 1px solid #d4d8df; border-radius: 6px; padding: 10px 13px; }
body.noteg-design .custom-select--filter .custom-select__value { font-size: 13px; font-weight: 500; }
body.noteg-design .custom-select__menu { border-radius: 7px; border-color: #d4d8df; padding: 5px; box-shadow: 0 12px 28px #2026301a; }
body.noteg-design .custom-select__option { border-radius: 4px; font-size: 13px; padding: 10px 12px; }
body.noteg-design .custom-select__option:hover, body.noteg-design .custom-select__option.is-active { background: #eaeef3; color: #006dfd; }
/* Overview */
body.noteg-design .ng-section-heading { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 12px; }
body.noteg-design .ng-section-heading h2 { font-size: 14px; font-weight: 600; margin: 0; letter-spacing: 0; }
body.noteg-design .ng-section-heading > span { color: #7c8086; font-size: 11px; }
body.noteg-design .ng-overview { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 16px; }
body.noteg-design .ng-metric { display: flex; flex-direction: column; text-align: left; background: #fff; border: 1px solid #dcdfe4; border-radius: 9px; padding: 22px 24px; min-width: 0; color: #303337; }
body.noteg-design .ng-metric-label { display: flex; justify-content: space-between; gap: 10px; color: #686c73; font-size: 12px; font-weight: 400; }
body.noteg-design .ng-metric-label > span { font-size: 19px; line-height: 16px; }
body.noteg-design .ng-metric-value { display: block; font-size: 40px; line-height: 1.2; letter-spacing: -1.4px; font-weight: 500; font-variant-numeric: tabular-nums; margin: 16px 0 14px; overflow-wrap: anywhere; }
body.noteg-design .ng-metric-value small { font-size: 24px; font-weight: 400; color: #7d8188; }
body.noteg-design .ng-metric-note { font-size: 11px; color: #7c8086; margin-top: auto; }
body.noteg-design .ng-metric--occupancy { background: #edf4ff; border-color: #d5e4fc; cursor: pointer; }
body.noteg-design .ng-metric--occupancy:hover { background: #e0edff; border-color: #a9c9fa; }
body.noteg-design .ng-metric--occupancy .ng-metric-label, body.noteg-design .ng-metric--occupancy .ng-metric-note { color: #41628c; }
body.noteg-design .ng-metric--occupancy .ng-metric-value { color: #194884; }
body.noteg-design .ng-payment-split { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 11px; color: #7c8086; }
body.noteg-design .ng-payment-split b { color: #44484e; font-weight: 500; margin-left: 6px; }
body.noteg-design .ng-secondary-metrics { display: flex; gap: 24px; padding: 14px 2px 24px; color: #7a7e84; font-size: 11px; }
body.noteg-design .ng-secondary-metrics b { color: #4f545b; margin-left: 7px; font-size: 12px; font-weight: 500; }
body.noteg-design .ng-data-stack { display: flex; flex-direction: column; gap: 24px; }
html.ae-has-sidebar body.noteg-design .ng-data-stack .card { margin: 0; padding: 0; min-width: 0; }
body.noteg-design .ae-table-toolbar { margin: 0; padding: 18px 22px; min-height: 77px; gap: 10px; border-bottom: 1px solid #e1e4e9; }
body.noteg-design .ae-table-toolbar__title { flex-direction: column; align-items: flex-start; gap: 3px; }
body.noteg-design .ae-table-toolbar__meta, body.noteg-design .ae-table-toolbar h5 small { font-size: 11px; font-weight: 400; color: #7c8086; letter-spacing: 0; }
body.noteg-design .ae-table-toolbar h5 small { display: block; margin-top: 3px; }
body.noteg-design .ae-table-toolbar__actions { gap: 8px; }
body.noteg-design .ae-table-search { min-height: 36px; height: 36px; width: 190px; font-size: 12px; }
body.noteg-design .ae-table-clear { min-height: 36px; padding: 8px 12px; font-size: 12px; }
body.noteg-design .scrollable-table { overflow: auto; max-height: 430px; border: 0; border-radius: 0 0 9px 9px; }
body.noteg-design #logsScrollBox { margin-top: 0 !important; max-height: 480px; }
body.noteg-design .scrollable-table table { min-width: 0; width: 100%; border-collapse: collapse; }
body.noteg-design table { border-collapse: collapse; font-size: 12px; }
body.noteg-design table th { text-align: left; background: #f4f6f8; color: #767a81; padding: 11px 20px; font-size: 10px; font-weight: 500; text-transform: none; letter-spacing: .15px; border-bottom: 1px solid #e2e5ea; white-space: nowrap; }
body.noteg-design table td { text-align: left; padding: 13px 20px; color: #494d54; border-bottom: 1px solid #e8ebf0; font-size: 12px; }
body.noteg-design table tbody tr:last-child td { border-bottom: 0; }
body.noteg-design table tbody tr:hover td { background-color: #f7f9fb; }
body.noteg-design table td small { font-size: 11px; }
body.noteg-design .rm-sort-icons { color: #abafb4; font-size: 8px; margin-left: 5px; }
body.noteg-design #logs_table td[data-label="Комментарий"] { min-width: 170px; max-width: 280px; white-space: normal; line-height: 1.5; }
body.noteg-design #logs_table td[data-label="Время"] { max-width: 130px; }
body.noteg-design .simple-badge, body.noteg-design .badge, body.noteg-design .status-badge { border-radius: 4px; padding: 4px 8px; font-size: 10px; font-weight: 500; line-height: 1.3; }
body.noteg-design .simple-badge-blue, body.noteg-design .simple-badge-grey, body.noteg-design .badge-draft { background: #eceff3; color: #5c626a; }
body.noteg-design .simple-badge-green, body.noteg-design .badge-approved { background: #ebeff4; color: #40526e; }
body.noteg-design .driver-icon-btn { width: 30px; height: 30px; border-radius: 5px; background: #fff; color: #747a84; border: 1px solid #dde0e5; }
body.noteg-design .driver-icon-btn:hover { color: #006dfd; border-color: #a5afbe; background: #eef1f6; }
body.noteg-design .driver-delete-btn:hover { color: #a34c43; border-color: #d7b7ad; background: #fbefed; }
/* Compact number plates, including international and service variants. */
body.noteg-design .plate-container { display: inline-flex !important; width: max-content !important; min-width: 0 !important; height: 30px !important; font-size: 17px !important; border: 1px solid #b7bdc7 !important; border-radius: 4px !important; background: #fff !important; color: #2c2f33 !important; padding: 1px 6px !important; margin: 0 !important; gap: 0; align-items: center !important; line-height: 1 !important; letter-spacing: .2px; box-shadow: none !important; transform: none !important; }
body.noteg-design .plate-main, body.noteg-design .plate-region, body.noteg-design .plate-main-intl, body.noteg-design .plate-right-code { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace !important; font-size: 16px !important; line-height: 1 !important; letter-spacing: -.4px !important; font-weight: 600; min-width: 0 !important; height: auto !important; padding: 0 !important; margin: 0 !important; }
body.noteg-design .plate-right { border-left: 1px solid #dadde2; margin-left: 6px !important; padding: 0 0 0 6px !important; display: flex; flex-direction:column; align-items:center; justify-content:center; font-size:12px !important; height:25px; gap:2px; }
body.noteg-design .plate-right::after { display: none !important; }
body.noteg-design .plate-region { font-size: 12px !important; }
body.noteg-design .plate-country-code { display:block; text-align:center; font-family:Arial,sans-serif; font-size:7px !important; font-weight:700; line-height:1; letter-spacing:.02em; }
body.noteg-design .plate-intl .plate-country-side { width:23px; min-width:23px; height:23px; padding:0 4px 0 0; margin-right:5px; border-right:1px solid #dadde2; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:2px; }
body.noteg-design .plate-intl .plate-country-region { font-family: inherit; font-size: 10px; line-height: 1; }
body.noteg-design .plate-intl .country-flag { width: 10px; height: 6px; border-radius: 0; }
body.noteg-design .plate-intl .country-flag::after { width: 3px; height: 3px; }
body.noteg-design .plate-intl .plate-right-code { padding-left: 5px !important; margin-left: 5px !important; font-size: 12px !important; }
body.noteg-design .plate-container.plate-ru-service { background: #2f547e !important; color: #fff !important; border-color: #2f547e !important; }
body.noteg-design .plate-container.plate-ru-military { background: #2c2f33 !important; color: #fff !important; border-color: #2c2f33 !important; }
/* International plates use the same compact scale as Russian plates. */
body.noteg-design .plate-container.plate-intl { height:30px !important; min-height:0 !important; padding:1px 6px !important; align-items:center !important; }
body.noteg-design .plate-intl .plate-country-side { width:22px !important; min-width:22px !important; height:24px !important; min-height:0 !important; padding:0 4px 0 0 !important; margin-right:5px !important; border-right:1px solid #dadde2 !important; }
body.noteg-design .plate-intl .plate-country-region { font-family:'SFMono-Regular',Consolas,'Liberation Mono',monospace !important; font-size:10px !important; line-height:1 !important; }
body.noteg-design .plate-intl .plate-country-code { font-size:7px !important; }
body.noteg-design .plate-intl .plate-main-intl { display:block !important; min-width:0 !important; padding:0 !important; font-family:'SFMono-Regular',Consolas,'Liberation Mono',monospace !important; font-size:16px !important; line-height:1 !important; letter-spacing:-.4px !important; }
body.noteg-design .plate-intl .plate-right-code { display:block !important; min-width:0 !important; padding-left:5px !important; margin-left:5px !important; border-left:1px solid #dadde2 !important; font-size:12px !important; }
/* Armenia and Kyrgyzstan: compact, centred country strips without empty space. */
body.noteg-design .plate-kg .plate-country-side,
body.noteg-design .plate-am .plate-country-side { height:26px !important; padding:0 3px 0 0 !important; margin-right:4px !important; justify-content:center !important; align-items:center !important; gap:1px !important; }
body.noteg-design .plate-kg .plate-country-side { width:21px !important; min-width:21px !important; flex-basis:21px; }
body.noteg-design .plate-am .plate-country-side { width:19px !important; min-width:19px !important; flex-basis:19px; }
body.noteg-design .plate-kg .plate-country-bottom { display:block !important; line-height:1 !important; }
body.noteg-design .plate-kg .plate-country-region { font-size:10px !important; line-height:1 !important; }
body.noteg-design .plate-kg .plate-country-code,
body.noteg-design .plate-am .plate-country-code { display:block; line-height:1 !important; }
body.noteg-design .editable-number, body.noteg-design .editable-city, body.noteg-design .editable-tariff { min-height: 30px; display: inline-flex; align-items: center; }
body.noteg-design .editable-number::before, body.noteg-design .editable-number::after, body.noteg-design .editable-city::before, body.noteg-design .editable-city::after, body.noteg-design .editable-tariff::before, body.noteg-design .editable-tariff::after { display: none; }
/* Other cabinet sections */
body.noteg-design .objects-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
body.noteg-design .objects-card { max-width: none; border-radius: 9px; border: 1px solid #dde0e5; min-height: 180px; transition: border-color .15s, background .15s; }
body.noteg-design .objects-card:hover { border-color: #98a1af; background: #f9fbfd; }
body.noteg-design .objects-card-main { padding: 25px 24px; gap: 18px; align-items: flex-start; }
body.noteg-design .objects-card-icon { border-radius: 8px; color: #556378; background: #eaedf2; width: 44px; height: 44px; flex-basis: 44px; }
body.noteg-design .objects-card-title { font-size: 18px; font-weight: 600; }
body.noteg-design .objects-card-status { font-size: 11px; background: transparent; padding: 0; font-weight: 400; color: #4c6282; }
body.noteg-design .objects-card-status-check { width: 14px !important; height: 14px !important; color: #4c6282; }
body.noteg-design .objects-card-footer { padding: 14px 24px; font-size: 11px; border-top-color: #e5e8ed; color: #757c86; }
body.noteg-design .ng-object-open { margin-left: auto; color: #4a5669; }
body.noteg-design .ng-object-open span { margin-left: 9px; }
body.noteg-design .ng-tariffs-layout { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(0,1.6fr); gap: 22px; align-items: start; }
body.noteg-design .tariffs-table th, body.noteg-design .tariffs-table td { padding: 12px 10px; }
body.noteg-design .tariffs-table td { white-space: normal; }
body.noteg-design .tariff-actions { justify-content: flex-start; gap: 6px; }
body.noteg-design .tariff-actions .btn { padding: 7px 9px; min-height: 32px; font-size: 11px; }
body.noteg-design .ng-form-title { font-size: 20px; margin: 0 0 6px; }
body.noteg-design .ng-form-description { color: #7a7e84; margin: 0 0 28px; font-size: 13px; }
body.noteg-design .license-plate-input { font-family: 'SFMono-Regular',Consolas,monospace; font-size: 28px; height: 58px; font-weight: 500; letter-spacing: 1px; border-width: 1px; border-color: #b3bdcb; border-radius: 6px; background: #f6f8fc; }
body.noteg-design .option-button { border-radius: 6px; background: #f4f6fa; color: #2b384b; font-size: 20px; }
body.noteg-design .reports-chart-head, body.noteg-design .reports-chart-body { background: #fff; }
body.noteg-design .reports-chart-head { padding: 20px; }
body.noteg-design .reports-chart-title { font-size: 16px; font-weight: 600; }
body.noteg-design .metric-chip { border-radius: 5px; font-size: 11px; font-weight: 500; box-shadow: none; }
body.noteg-design .metric-chip.active { background: #e8ebf0; border-color: #b7c2d2; color: #3a4c66; box-shadow: none; }
body.noteg-design .day.selected { background: #006dfd; }
body.noteg-design .day.in-range, body.noteg-design .day.preview-range { background: #e7eaef; }
html.ae-has-sidebar body.noteg-design .stats-grid:not(.stats-grid--cash):not(.stats-grid--live) { gap: 12px !important; border: 0; box-shadow: none; background: transparent; overflow: visible; }
html.ae-has-sidebar body.noteg-design .stats-grid .stat-card { border: 1px solid #dcdfe4; border-radius: 8px; padding: 20px !important; box-shadow: none; background: #fff; min-height: 110px; }
html.ae-has-sidebar body.noteg-design .stats-grid .stat-card::after, html.ae-has-sidebar body.noteg-design .stats-grid .stat-card::before, html.ae-has-sidebar body.noteg-design .stat-card-1 > div::before { display: none !important; content: none !important; }
html.ae-has-sidebar body.noteg-design .stats-grid > .stat-card:not(.stat-card-1) { display: flex !important; flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; gap: 14px; }
html.ae-has-sidebar body.noteg-design .stats-grid .stat-number, html.ae-has-sidebar body.noteg-design .stats-grid .stat-number span { color: #2e3b4e; font-family: inherit !important; font-size: 28px !important; font-weight: 500 !important; line-height: 1.1 !important; letter-spacing: -.8px !important; }
html.ae-has-sidebar body.noteg-design .stats-grid .stat-label { text-transform: none; font-weight: 400; font-size: 11px !important; color: #707781; }
html.ae-has-sidebar body.noteg-design .stat-card-1 { display: flex !important; flex-wrap: wrap; gap: 12px; }
html.ae-has-sidebar body.noteg-design .stat-card-1 > div { display: flex !important; flex-direction: column-reverse; gap: 10px; padding: 0 !important; flex: 1; border: 0 !important; align-items: flex-start; }
body.noteg-design .modal-card, body.noteg-design .option-modal { border-radius: 10px; border-color: #d2d8e0; box-shadow: 0 24px 80px #171e292b; }
body.noteg-design .modal-backdrop { background: #171c24b3; }
body.noteg-design .modal-title { font-size: 18px; }
body.noteg-design .modal-body { color: #5a5f67; }
body.noteg-design .modal-head { padding: 18px 22px; }
body.noteg-design .modal-actions { padding: 16px 22px; }
body.noteg-design .zone-card, body.noteg-design .zone-add-form { border-radius: 6px; }
/* Public sign-in */
body.noteg-design.public-auth { min-height: 100vh; background: #f5f7fa; display: flex; flex-direction: column; }
body.noteg-design .public-header { display: flex; justify-content: center; width: 100%; max-width: none; height: 96px; padding: 34px 6vw; }
body.noteg-design .public-logo { display: inline-flex; }
body.noteg-design .ng-auth-layout { display: flex; width: min(480px,90vw); margin: auto; padding: 40px 0; align-items: center; justify-content: center; }
body.noteg-design .ng-parking-art { position: relative; height: 170px; margin-top: 38px; border: 1px solid #dee1e6; border-radius: 8px; overflow: hidden; background: #e6e9ee; }
body.noteg-design .ng-parking-lane { display: flex; height: 80px; border-bottom: 2px solid #b2bdcd; padding: 0 25px; justify-content: space-around; align-items: center; color: #8c94a1; font-size: 13px; font-family: monospace; }
body.noteg-design .ng-parking-lane i { height: 66px; border-right: 2px solid #b2bdcd; transform: skew(-20deg); align-self: flex-start; }
body.noteg-design .ng-parking-arrow { position: absolute; top: 88px; right: 36px; transform: rotate(90deg); font-size: 44px; color: #9aa3b1; font-family: Arial,sans-serif; line-height: 1; }
body.noteg-design .ng-parking-label { position: absolute; left: 26px; bottom: 28px; font-size: 8px; letter-spacing: 1.5px; color: #7e8691; }
body.noteg-design .auth-wrap { display: block; padding: 0; margin: 0; min-height: 0; width: 100%; }
body.noteg-design .auth-card { width: 100%; max-width: none; padding: 38px; border: 1px solid #dcdfe4; border-radius: 12px; background: #fff; box-shadow: 0 8px 30px #2a334004; }
body.noteg-design .auth-header { text-align: left; margin-bottom: 28px; }
body.noteg-design .auth-header h2 { font-size: 25px; font-weight: 500; margin-bottom: 9px; letter-spacing: -.7px; }
body.noteg-design .auth-header p { font-size: 13px; color: #7b7f84; }
body.noteg-design .auth-card .form-group { margin-bottom: 20px; }
body.noteg-design .auth-card .form-control { min-height: 46px; }
body.noteg-design .auth-card .btn-block { min-height: 46px; margin-top: 5px; }
body.noteg-design .auth-card > p, body.noteg-design .auth-card a { font-size: 12px !important; }
body.noteg-design .public-footer { width: 100%; text-align: center; padding: 24px 6vw; font-size: 10px; color: #8e9299; margin: 0; }
body.noteg-design .sidebar-admin { background: #171d29; border-right: 0; }
body.noteg-design .sidebar-admin .nav-item { color: #b5bac2; border-radius: 6px; }
body.noteg-design .sidebar-admin .nav-item.active { background: #203b65; color: #ffffff; }
body.noteg-design .sidebar-brand p { color: #99a0aa; }
body.noteg-design .ng-modal-close { min-width: 36px; }
/* Responsive */
@media (min-width: 1700px) { html.ae-has-sidebar body.noteg-design > .container { padding-left: 56px; padding-right: 56px; } }
@media (max-width: 1150px) and (min-width: 721px) {
  html.ae-has-sidebar body.noteg-design > .container { padding: 26px 24px 40px; margin-left: 200px; width: calc(100% - 200px); }
  html.ae-has-sidebar body.noteg-design .ae-sidebar { width: 200px; }
  body.noteg-design .ng-tariffs-layout { grid-template-columns: 1fr; }
  body.noteg-design .ng-overview { gap: 12px; }
  body.noteg-design .ng-metric { padding: 20px 16px; }
  body.noteg-design .ng-metric-value { font-size: 33px; }
  body.noteg-design table td, body.noteg-design table th { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 900px) {
  body.noteg-design .ng-auth-layout { width: min(480px,90vw); }
  body.noteg-design .auth-card { padding: 28px; }
}
@media (max-width: 720px) {
  html.ae-has-sidebar body.noteg-design > .container { margin: 0; width: 100%; padding: 24px 18px calc(86px + env(safe-area-inset-bottom,0px)) !important; overflow-x: clip; }
  html.ae-has-sidebar body.noteg-design .nav-header { margin-bottom: 22px; padding-bottom: 18px; align-items: center; min-height: 0; }
  html.ae-has-sidebar body.noteg-design .nav-header h1 { font-size: 25px !important; }
  body.noteg-design .ng-eyebrow { font-size: 8px; letter-spacing: 1.25px; }
  html.ae-has-sidebar body.noteg-design .cabinet-user { display: none; }
  body.noteg-design .ng-avatar { width: 32px; height: 32px; }
  body.noteg-design .ng-page-intro { align-items: flex-start; margin-bottom: 22px; }
  body.noteg-design .ng-page-intro p { font-size: 12px; max-width: 170px; }
  body.noteg-design .ng-page-intro .btn { min-height: 38px; padding: 9px 12px; font-size: 11px; white-space: nowrap; }
  body.noteg-design .filter-bar__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  body.noteg-design .custom-select--filter .custom-select__trigger { padding: 10px; min-height: 43px; }
  body.noteg-design .custom-select--filter .custom-select__value { font-size: 12px; }
  body.noteg-design .ng-overview { grid-template-columns: 1fr 1fr; gap: 10px; }
  body.noteg-design .ng-metric { padding: 18px; }
  body.noteg-design .ng-metric--cash { grid-column: 1 / -1; grid-row: 2; }
  body.noteg-design .ng-metric-value { font-size: 34px; margin: 13px 0 10px; }
  body.noteg-design .ng-metric-label { font-size: 11px; }
  body.noteg-design .ng-metric-note { font-size: 10px; }
  body.noteg-design .ng-secondary-metrics { font-size: 10px; gap: 20px; padding-bottom: 22px; }
  body.noteg-design .ng-data-stack { gap: 20px; }
  body.noteg-design .ae-table-toolbar { padding: 16px; align-items: stretch; gap: 12px; }
  body.noteg-design .ae-table-toolbar__actions { flex-direction: row; flex-wrap: nowrap; }
  body.noteg-design .ae-table-search { width: 100%; flex: 1; min-width: 0; font-size: 16px; }
  body.noteg-design .ae-table-clear { width: auto; }
  body.noteg-design .ae-table-toolbar h5 { font-size: 15px; }
  body.noteg-design .scrollable-table { max-height: 440px; padding: 6px 16px; overflow-x: auto; }
  body.noteg-design #logsScrollBox { max-height: 520px; }
  body.noteg-design #driversTable tbody tr:not(.empty-row), body.noteg-design #logs_table tbody tr:not(.empty-row), body.noteg-design #onSiteModal table tbody tr:not(.empty-row) { padding: 14px 0; border: 0; border-bottom: 1px solid #edf4ff; border-radius: 0; margin: 0; gap: 9px; }
  body.noteg-design #driversTable tbody tr:not(.empty-row)::after, body.noteg-design #logs_table tbody tr:not(.empty-row)::after { white-space: normal; font-size: 11px; color: #757c87; line-height: 1.55; }
  body.noteg-design #driversTable tbody td, body.noteg-design #logs_table tbody td { background: transparent; }
  body.noteg-design .driver-icon-btn { width: 36px; height: 36px; }
  body.noteg-design .ng-tariffs-layout { grid-template-columns: 1fr; }
  html.ae-has-sidebar body.noteg-design .card { padding: 20px !important; }
  html.ae-has-sidebar body.noteg-design .ng-data-stack .card { padding: 0 !important; }
  body.noteg-design .objects-grid { grid-template-columns: 1fr; gap: 14px; }
  body.noteg-design .objects-card { min-height: 160px; }
  body.noteg-design .objects-card-main { padding: 22px; }
  body.noteg-design .form-control, body.noteg-design .input { font-size: 16px; }
  body.noteg-design .reports-chart-body { height: 280px; }
  body.noteg-design .reports-btn-row { flex-direction: row; }
  body.noteg-design .reports-btn-row .btn { width: auto; flex: 1; font-size: 11px; }
  body.noteg-design .metric-switch { gap: 6px; }
  body.noteg-design .metric-chip { font-size: 10px; padding: 0 9px; }
  html.ae-has-sidebar body.noteg-design .stats-grid:not(.stats-grid--cash):not(.stats-grid--live) { grid-template-columns: 1fr 1fr !important; }
  html.ae-has-sidebar body.noteg-design .stats-grid .stat-card { padding: 16px !important; min-height: 100px; }
  html.ae-has-sidebar body.noteg-design .stat-card-1 { grid-column: 1 / -1; }
  html.ae-has-sidebar body.noteg-design .ae-sidebar { background: #171d29 !important; border-top: 1px solid #40444a !important; box-shadow: none !important; width: 100% !important; }
  body.noteg-design .ng-nav-label, body.noteg-design .ng-sidebar-note { display: none; }
  html.ae-has-sidebar body.noteg-design .ae-sidebar-link { color: #9ea5af !important; font-size: 9px !important; min-height: 62px; gap: 6px; padding: 10px 1px !important; }
  html.ae-has-sidebar body.noteg-design .ae-sidebar-link.active, html.ae-has-sidebar body.noteg-design .ae-sidebar-link:hover { background: #203b65 !important; color: #ffffff !important; }
  html.ae-has-sidebar body.noteg-design .ae-sidebar-link.active::before { display: none; }
  body.noteg-design .modal-card { max-height: calc(100dvh - 24px); }
  body.noteg-design .zone-key-item { grid-template-columns: 1fr; }
  body.noteg-design .zone-renew-form { grid-template-columns: 1fr; }
  body.noteg-design .ng-auth-layout { display: block; width: min(460px,90vw); padding: 12px 0 24px; }
  body.noteg-design .ng-auth-intro { display: none; }
  body.noteg-design .public-header { height: auto; padding: 30px 6vw; }
  body.noteg-design .auth-card { padding: 28px 24px; }
  body.noteg-design .auth-header h2 { font-size: 23px; }
  body.noteg-design .public-footer { padding: 24px 6vw; text-align: center; }
  body.noteg-design .ng-skip { left: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } body.noteg-design *, body.noteg-design *::before, body.noteg-design *::after { animation: none !important; transition: none !important; } }
/* Final legibility adjustments after desktop and phone review. */
body.noteg-design .plate-main, body.noteg-design .plate-region { transform: none !important; }
body.noteg-design .plate-flag { font-size: 5px !important; line-height: 1 !important; margin: 0 !important; padding: 0 !important; }
body.noteg-design .ng-metric--occupancy .ng-metric-note { font-weight: 400; }
body.noteg-design .simple-badge { width: auto; min-width: 0; }
body.noteg-design table td { font-size: 13px; }
body.noteg-design .ae-table-toolbar h5 { font-weight: 600; }
@media (max-width:720px) {
  body.noteg-design #driversTable tbody tr:not(.empty-row) { grid-template-columns: 1fr 1fr auto; grid-template-rows: auto auto; }
  body.noteg-design #driversTable tbody td[data-label="Госномер"] { grid-column: 1 / 3; grid-row: 1; }
  body.noteg-design #driversTable tbody td.driver-actions-cell { grid-column: 3; grid-row: 1; }
  body.noteg-design #driversTable tbody td[data-label="Зона"], body.noteg-design #driversTable tbody td[data-label="Тариф"], body.noteg-design #driversTable tbody td[data-label="Баланс"] { display: block !important; grid-row: 2; font-size: 11px; }
  body.noteg-design #driversTable tbody td[data-label="Зона"] { grid-column: 1; }
  body.noteg-design #driversTable tbody td[data-label="Тариф"] { grid-column: 2; }
  body.noteg-design #driversTable tbody td[data-label="Баланс"] { grid-column: 3; text-align: right !important; }
  body.noteg-design #driversTable tbody tr:not(.empty-row)::after { display: none; }
  body.noteg-design .editable-city, body.noteg-design .editable-tariff { min-height: 36px; }
  body.noteg-design #driversTable td .simple-badge { white-space: normal; font-size: 10px; }
}
body.noteg-design .ng-report-summary { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 14px; }
body.noteg-design .ng-report-summary .ng-metric { padding: 22px; }
body.noteg-design .ng-report-summary .ng-metric-value { font-size: 31px; margin-bottom: 6px; }
body.noteg-design .ng-report-summary .ng-payment-split { margin-top: 8px; gap: 6px 16px; }
@media (max-width:1150px) {
  body.noteg-design .ng-report-summary { grid-template-columns: repeat(3,1fr); }
  body.noteg-design .ng-report-summary .ng-metric--cash { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width:720px) {
  body.noteg-design .ng-report-summary { gap: 10px; }
  body.noteg-design .ng-report-summary .ng-metric { padding: 16px 12px; }
  body.noteg-design .ng-report-summary .ng-metric--cash { padding: 20px; }
  body.noteg-design .ng-report-summary .ng-metric-label { font-size: 10px; }
  body.noteg-design .ng-report-summary .ng-metric-value { font-size: 27px; }
  body.noteg-design .ng-tariffs-layout > .card:first-child { order: 2; }
}
body.noteg-design .calendar-pop { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; border-radius: 10px; }
body.noteg-design .cal-head { position: sticky; top: -16px; z-index: 2; padding: 12px 0; background: #fff; }
body.noteg-design .month-head, body.noteg-design .preset { background: #f1f3f7; }
body.noteg-design .cal-btn, body.noteg-design .preset, body.noteg-design .nav-mini { font-family: inherit; font-weight: 500; color: #4a5668; border-color: #dcdfe4; border-radius: 5px; }
body.noteg-design .option-modal { width: 360px; }
body.noteg-design .option-grid .option-button { width: 100%; height: 54px; }
body.noteg-design .license-plate-input { font-size: 26px !important; }
@media (max-width:720px) { body.noteg-design .option-modal { width: min(360px,calc(100vw - 32px)); } }
/* Original brand assets and restrained page copy. */
body.noteg-design .ng-brand-logo { display: block; width: 150px; height: auto; max-width: 100%; object-fit: contain; }
body.noteg-design .ae-sidebar-brand { background: #f5f7fa; border-radius: 6px; width: 176px; padding: 10px 13px; margin: 0 8px 30px; }
body.noteg-design .sidebar-brand { background: #f5f7fa; border-radius: 6px; }
body.noteg-design .sidebar-brand p { display: none; }
body.noteg-design .ng-page-intro { justify-content: flex-end; }
body.noteg-design .ng-section-heading { margin-top: 0; }
body.noteg-design .ng-driver-form .ng-form-title { margin-bottom: 24px; }
body.noteg-design .ng-metric-value { margin-bottom: 0; }
body.noteg-design .ng-payment-split { margin-top: 14px; }
body.noteg-design .objects-card-status--pending { color: #97703b; }
body.noteg-design .objects-card-status--rejected { color: #a34c43; }
/* Registration stays within the viewport when the form fits. Short screens retain access to all fields. */
body.noteg-design[data-auth-page="register"] { min-height: 100dvh; }
body.noteg-design[data-auth-page="register"] .public-header { height: 68px; padding-top: 20px; padding-bottom: 12px; flex-shrink: 0; }
body.noteg-design[data-auth-page="register"] .ng-auth-layout { padding: 10px 0; }
body.noteg-design[data-auth-page="register"] .auth-card { padding: 24px 30px; }
body.noteg-design[data-auth-page="register"] .auth-header { margin-bottom: 16px; }
body.noteg-design[data-auth-page="register"] .auth-header h2 { margin-bottom: 5px; }
body.noteg-design[data-auth-page="register"] .auth-card .form-group { margin-bottom: 12px; }
body.noteg-design[data-auth-page="register"] .auth-card .form-control { min-height: 40px; height: 40px; padding: 8px 12px; }
body.noteg-design[data-auth-page="register"] .form-label { margin-bottom: 5px; }
body.noteg-design[data-auth-page="register"] .public-footer { padding-top: 12px; padding-bottom: 12px; flex-shrink: 0; }
body.noteg-design .reg-steps { gap: 10px; margin-bottom: 18px; }
body.noteg-design .reg-step { font-size: 11px; gap: 6px; color: #828891; animation: ng-step-appear .45s ease both; }
body.noteg-design .reg-step:nth-child(2) { animation-delay: .08s; }
body.noteg-design .reg-step:nth-child(3) { animation-delay: .16s; }
body.noteg-design .reg-step span { width: 25px; height: 25px; background: #e9ecf1; color: #747b85; border-radius: 50%; transition: background .2s,color .2s; }
body.noteg-design .reg-step.is-active { color: #006dfd; }
body.noteg-design .reg-step.is-active span, body.noteg-design .reg-step.is-done span { background: #006dfd; color: #fff; }
body.noteg-design .reg-panel[hidden] { display: none !important; }
body.noteg-design .reg-panel.is-on { display: flex; flex-direction: column; min-height: 348px; animation: ng-panel-appear .28s ease both; }
body.noteg-design .reg-panel > .btn-block, body.noteg-design .reg-panel > .reg-nav { margin-top: auto; }
body.noteg-design .reg-panel .form-error { margin-bottom: 10px; }
body.noteg-design .reg-panel .password-wrap .form-control { padding-right: 44px; }
@keyframes ng-step-appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ng-panel-appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width:1150px) and (min-width:721px) { body.noteg-design .ae-sidebar-brand { width: 160px; margin-left: 4px; padding: 10px; } }
@media (max-width:720px) {
 body.noteg-design[data-auth-page="register"] .public-header { height: 60px; padding-top: 15px; padding-bottom: 9px; }
 body.noteg-design[data-auth-page="register"] .ng-auth-layout { padding: 8px 0; }
 body.noteg-design[data-auth-page="register"] .auth-card { padding: 20px 22px; }
 body.noteg-design[data-auth-page="register"] .reg-panel.is-on { min-height: 338px; }
 body.noteg-design[data-auth-page="register"] .auth-card > p { margin-top: 12px !important; }
 body.noteg-design[data-auth-page="register"] .public-footer { padding-top: 8px; padding-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { body.noteg-design .reg-step,body.noteg-design .reg-panel.is-on { animation: none !important; } }
body.noteg-design[data-auth-page="register"] #regSubtitle { display: none; }
body.noteg-design[data-auth-page="register"] .public-footer { display: block; text-align: center; }
body.noteg-design[data-auth-page="register"] .auth-header { margin-bottom: 12px; }
body.noteg-design[data-auth-page="register"] .reg-steps { margin-bottom: 14px; }
body.noteg-design[data-auth-page="register"] .auth-card .form-control { height: 38px; min-height: 38px; }
body.noteg-design[data-auth-page="register"] .auth-card .form-group { margin-bottom: 8px; }
body.noteg-design[data-auth-page="register"] .form-label { margin-bottom: 4px; }
body.noteg-design[data-auth-page="register"] .reg-panel.is-on { min-height: 314px; }
body.noteg-design[data-auth-page="register"] .auth-card .btn { min-height: 40px; }

/* Transparent wordmark for dark navigation */
body.noteg-design .ae-sidebar-brand { background: transparent; border-radius: 0; padding: 0 13px; margin: 0 8px 30px; min-height: 48px; justify-content: center; }
body.noteg-design .sidebar-brand { background: transparent; border-radius: 0; }

/* Brand blue shared by native controls and links. */
body.noteg-design { accent-color: #006dfd; }
body.noteg-design .auth-card a { color: #0059d6; }
