.geo-row {
  display: grid;
  grid-template-columns: 220px 210px 1fr 42px;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}
.geo-row { animation: softReveal .22s ease-out both; transition: opacity .18s ease, transform .18s ease, max-height .18s ease, margin .18s ease; max-height: 70px; }
.geo-row.removing { opacity: 0; transform: translateX(10px); max-height: 0; margin: 0; overflow: hidden; }
.geo-row button {
  height: 42px;
  background: #241414;
  border: 1px solid #57302f;
  color: #ff8585;
  border-radius: 8px;
  cursor: pointer;
}
.geo-row select, .geo-row input { margin-top: 0; }
.profile-field { display: grid; align-content: center; gap: 7px; min-height: 72px; padding: 12px 0; border-bottom: 1px solid #263026; }
.profile-field:last-child { border-bottom: 0; }
.app-item.draft { border-style: dashed; border-color: #78ff3d; background: #152014; animation: softReveal .22s ease-out both; }
.app-layout { grid-template-columns: minmax(0,290px) minmax(0,1fr); }
.app-list,.app-item { min-width: 0; max-width: 100%; }
.app-item { overflow: hidden; }
.app-item.draft .draft-dot { background: #ffb454; box-shadow: 0 0 10px #ffb45488; }
.app-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.app-card-head b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-mode-badge { flex: 0 0 auto; min-width: 38px; padding: 4px 7px; border-radius: 7px; text-align: center; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.app-mode-badge.on { color: #071007; background: #78ff3d; box-shadow: 0 0 13px #78ff3d22; }
.app-mode-badge.off { color: #ff9297; border: 1px solid #623437; background: #281719; }
.app-item .app-bundle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #aeb9ab; }
.app-store-state { display: flex !important; align-items: center; gap: 7px; font-weight: 700; }
.app-store-state i { width: 7px; height: 7px; border-radius: 50%; background: #697267; }
.app-store-state.published { color: #99d986; }
.app-store-state.published i { background: #78ff3d; box-shadow: 0 0 9px #78ff3d66; }
.app-store-state.probable { color: #e6bd72; }
.app-store-state.probable i { background: #ffbd55; box-shadow: 0 0 9px #ffbd5566; }
.app-store-state.unpublished { color: #8d978b; }
.app-store-state.banned { color: #ff777c; }
.app-store-state.banned i { background: #ff5259; box-shadow: 0 0 10px #ff525988; }
.app-store-state.development { color: #efb867; }
.app-store-state.development i { background: #ffad3d; box-shadow: 0 0 10px #ffad3d77; }
.app-store-state.unconfirmed { color: #929c90; }
.app-store-state.archived { color: #8b9389; }
.app-store-state.archived i { background: #687066; }
.app-item.is-archived { opacity: .62; filter: saturate(.55); }
.lifecycle-warning { display: none; padding: 13px 15px; border: 1px solid #75383b; border-radius: 10px; background: #281517; color: #ff9ba0; font-size: 12px; line-height: 1.5; }
.lifecycle-warning.show { display: block; animation: softReveal .22s ease-out both; }
.danger-actions { display: flex; gap: 8px; margin-right: auto; }
.danger-actions button { min-height: 42px; padding: 0 15px; border: 1px solid #4a3e2c; border-radius: 9px; background: #1d1911; color: #e8bd75; cursor: pointer; }
.danger-actions #deleteApp { border-color: #5d3033; background: #251416; color: #ff858a; }
.danger-actions button:disabled { opacity: .35; cursor: default; }
.notification-center { position: relative; }
#notificationBell { position: relative; width: 44px; height: 44px; border: 1px solid #344334; border-radius: 11px; background: #141b14; color: #e9f0e6; cursor: pointer; font-size: 18px; }
#notificationBell>b { display: none; position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #ff575e; color: white; font: 800 10px/19px Inter,sans-serif; }
#notificationBell>b.show { display: block; }
#notificationPanel { position: absolute; z-index: 100; top: 52px; right: 0; width: min(420px,calc(100vw - 30px)); max-height: min(650px,75vh); overflow: hidden; border: 1px solid #344534; border-radius: 14px; background: #0d130d; box-shadow: 0 22px 60px #000d; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .18s ease; }
#notificationPanel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.notification-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-bottom: 1px solid #293429; }
.notification-head button { border: 0; background: transparent; color: #78ff3d; cursor: pointer; }
#notificationList { max-height: 560px; overflow: auto; }
.notification-item { width: 100%; display: grid; grid-template-columns: 9px 1fr; gap: 12px; padding: 14px 16px; border: 0; border-bottom: 1px solid #202a20; background: transparent; color: #dce5da; text-align: left; cursor: pointer; }
.notification-item:hover { background: #151e14; }
.notification-item.unread { background: #142012; }
.notification-kind { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: #ffb34d; }
.notification-kind.status,.notification-kind.delete { background: #ff5d63; }
.notification-kind.create,.notification-kind.restore,.notification-kind.apple { background: #78ff3d; }
.notification-item div { min-width: 0; }
.notification-item b { display: block; margin-bottom: 5px; }
.notification-item p { margin: 0 0 6px; color: #a4afa1; font-size: 12px; line-height: 1.45; }
.notification-item small { color: #6f7a6c; }
.notification-empty { padding: 25px; color: #869183; text-align: center; }
.app-store-check-panel { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid #293729; border-radius: 10px; background: #0a0e0a; }
.app-store-check-panel div { display: grid; gap: 4px; min-width: 0; }
.app-store-check-panel small,.app-store-check-panel span { color: #7f8a7d; font-size: 11px; }
.app-store-check-panel b { font-size: 14px; }
.app-store-check-panel b.detected-found { color: #e6bd72; }
.app-store-check-panel b.detected-not_found { color: #aab3a8; }
.app-store-check-panel b.detected-error { color: #ff777c; }
.app-store-check-panel button { flex: 0 0 auto; min-height: 42px; padding: 0 14px; border: 1px solid #3b4b39; border-radius: 9px; background: #171d17; color: #e6eee3; cursor: pointer; font-weight: 750; }
.app-store-check-panel button:hover { border-color: #78ff3d; color: #78ff3d; }
.app-store-check-panel button:disabled { opacity: .55; cursor: wait; }
.form-card input[readonly] { color: #a9b5a6; background: #0d110d; cursor: default; }
.profile-field small { color: #8b9789; font: 11px Inter, sans-serif; }
.profile-field b { color: #f1f6ef; font: 650 14px Inter, sans-serif; overflow-wrap: anywhere; }
.json-toggle { margin-left: auto; background: #182417; border: 1px solid #35502f; color: #78ff3d; border-radius: 9px; padding: 9px 12px; cursor: pointer; }
.field-info { position: relative; width: 18px; height: 18px; margin-left: 5px; padding: 0; border: 1px solid #5d6c5a; border-radius: 50%; background: transparent; color: #9ead9b; font: 700 11px Inter, sans-serif; cursor: pointer; vertical-align: middle; }
.field-info span { display: none; position: absolute; z-index: 20; left: 25px; top: -10px; width: 280px; padding: 12px; border: 1px solid #3b5138; border-radius: 10px; background: #111811; color: #d8e2d5; box-shadow: 0 12px 34px #000a; text-align: left; font: 12px/1.45 Inter, sans-serif; }
.field-info.open span { display: block; }
.user-filters { display: flex; gap: 12px; align-items: end; margin: 0 0 18px; padding: 14px; border: 1px solid #253225; border-radius: 14px; background: #0d130d; }
.user-filters label { display: grid; gap: 6px; min-width: 250px; color: #899486; font-size: 12px; }
.user-filters select { margin: 0; }
.user-filters button { height: 42px; padding: 0 18px; border: 1px solid #354435; border-radius: 9px; background: #151d15; color: #dce5da; cursor: pointer; }
.user-filters input { min-width: 260px; height: 42px; margin: 0; }
.pager { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 14px; color: #9ba798; }
.pager button { min-height: 40px; padding: 0 15px; border: 1px solid #354435; border-radius: 9px; background: #151d15; color: #dce5da; cursor: pointer; }
.pager button:disabled { opacity: .35; cursor: default; }
#traffic .toolbar { display: block; margin-bottom: 18px; }
#traffic .toolbar>div:first-child { margin-bottom: 17px; }
#traffic .filters { display: grid; grid-template-columns: 140px minmax(220px,1.6fr) minmax(180px,1fr) 150px 120px auto; gap: 10px; align-items: end; padding: 14px; border: 1px solid #293529; border-radius: 14px; background: #0d130d; }
.console-filter { display: grid; min-width: 0; }
.console-filter>span { margin: 0 0 7px 2px; color: #849081; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.console-filter input { height: 44px; margin: 0; padding: 0 12px; }
.console-filter .custom-select { margin: 0; }
.console-filter .custom-select-button { height: 44px; }
#traffic #reloadLogs { height: 44px; padding: 0 17px; }
@media(max-width:900px){.user-filters{flex-wrap:wrap}.user-filters label{min-width:min(100%,220px)}.user-filters input{min-width:0}}
.dashboard-stats { margin-top: 0; }
.dashboard-section-head { display: flex; align-items: end; justify-content: space-between; margin: 30px 0 16px; }
.dashboard-section-head h2 { margin: 0 0 5px; }
.dashboard-section-head p { margin: 0; color: #8b9789; }
.dashboard-section-head button { padding: 11px 15px; border: 0; border-radius: 9px; background: #78ff3d; color: #071007; font-weight: 800; cursor: pointer; }
.dashboard-apps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.dashboard-app { min-width: 0; display: flex; flex-direction: column; padding: 13px; border: 1px solid #293529; border-radius: 13px; background: #101510; overflow: hidden; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.dashboard-app:hover { border-color: #40553d; transform: translateY(-2px); box-shadow: 0 18px 36px #0005; }
.dashboard-app.is-archived { opacity: .58; }
.dashboard-app-top { order: 1; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 10px; align-items: center; margin-bottom: 11px; }
.dashboard-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(145deg,#78ff3d,#3dbb1d); color: #071007; font-size: 18px; font-weight: 950; box-shadow: 0 10px 28px #78ff3d1c; }
.dashboard-icon.image { object-fit: cover; }
.dashboard-app-top h3 { margin: 0 0 4px; font-size: 15px; }
.dashboard-app-top p { margin: 0; overflow: hidden; color: #899586; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-status { justify-self: end; display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid #3a4738; border-radius: 999px; color: #aab4a7; font-size: 8px; font-weight: 800; white-space: nowrap; }
.dashboard-status i { width: 7px; height: 7px; border-radius: 50%; background: #ffad3d; box-shadow: 0 0 8px #ffad3d77; }
.dashboard-status.published i { background: #78ff3d; box-shadow: 0 0 8px #78ff3d77; }
.dashboard-status.banned i { background: #ff575e; box-shadow: 0 0 8px #ff575e77; }
.dashboard-status.archived i { background: #717a6f; box-shadow: none; }
.dashboard-keywords { order: 3; min-height: 45px; margin: 11px 0 7px; }
.dashboard-keywords small { color: #6f7b6d; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.dashboard-keywords p { margin: 5px 0 0; overflow: hidden; color: #b9c4b6; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.technology-badges { order: 4; display: flex; flex-wrap: wrap; gap: 5px; min-height: 24px; margin-bottom: 10px; overflow: hidden; }
.technology-badges span { padding: 5px 7px; border: 1px solid #344633; border-radius: 6px; background: #182117; color: #9fe785; font-size: 8px; font-weight: 750; white-space: nowrap; }
.technology-badges span.sdk { border-color: #3b4051; background: #181b24; color: #aebdff; }
.technology-badges span.empty { border-color: #303830; background: transparent; color: #717b6f; }
.dashboard-metrics { order: 5; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 9px; margin-top: auto; padding-top: 10px; border-top: 1px solid #263026; }
.dashboard-screenshots { order: 2; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 6px; width: 100%; margin: 0; overflow: hidden; }
.dashboard-screenshots img { display: block; width: 100%; height: auto; aspect-ratio: 390/844; min-width: 0; border: 1px solid #334033; border-radius: 8px; object-fit: cover; }
.dashboard-screenshots.landscape { grid-template-columns: 1fr; }
.dashboard-screenshots.landscape img { width: 100%; height: auto; aspect-ratio: 844/390; object-fit: cover; }
.sdk-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 48px; padding-top: 20px; }
.sdk-picker>small { flex-basis: 100%; color: #8b9789; }
.sdk-picker label { display: inline-flex !important; align-items: center; gap: 5px; padding: 8px 10px; border: 1px solid #334033; border-radius: 8px; background: #121812; color: #c8d2c5 !important; cursor: pointer; }
.sdk-picker input { width: auto; margin: 0; }
.app-media-editor { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: 14px; border: 1px solid #293729; border-radius: 11px; background: #0a0e0a; }
.app-media-editor small { display: block; margin-bottom: 7px; color: #8b9789; }
.app-media-editor input[type=file] { margin: 0; min-height: 48px; }
#screenshotUploads { grid-column: 1/-1; }
.media-slots { display: flex; gap: 10px; }
.media-slots label { position: relative; width: 62px; height: 104px; display: grid; place-items: center; overflow: hidden; border: 1px dashed #41503f; border-radius: 8px; background: #111711; color: #758272; cursor: pointer; }
.media-slots.landscape label { width: 180px; height: 100px; }
.media-slots img { width: 100%; height: 100%; object-fit: cover; }
.media-slots input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dashboard-metrics span { display: inline-flex; align-items: baseline; gap: 4px; min-width: 0; padding-right: 9px; border-right: 1px solid #2b352b; white-space: nowrap; }
.dashboard-metrics span:nth-child(2) { border-right: 0; }
.dashboard-metrics strong { color: #eef4ec; font-size: 15px; line-height: 1; font-variant-numeric: tabular-nums; }
.dashboard-metrics small { color: #7e897b; font-size: 9px; line-height: 1; }
.dashboard-metrics button { justify-self: end; min-height: 34px; padding: 0 10px; border: 1px solid #40533d; border-radius: 8px; background: #182117; color: #dfe8dc; cursor: pointer; font-size: 10px; font-weight: 700; }
.dashboard-metrics button:hover { border-color: #78ff3d; color: #78ff3d; }
.dashboard-empty { grid-column: 1/-1; padding: 40px; border: 1px dashed #344034; border-radius: 14px; color: #879284; text-align: center; }
@media(max-width:1280px){#traffic .filters{grid-template-columns:repeat(3,1fr)}.dashboard-apps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.dashboard-apps{grid-template-columns:1fr}}
@media(max-width:720px){#traffic .filters{grid-template-columns:1fr}.dashboard-app-top{grid-template-columns:48px 1fr}.dashboard-status{grid-column:1/-1}.dashboard-metrics{grid-template-columns:1fr 1fr}.dashboard-metrics button{grid-column:1/-1;justify-self:stretch}.dashboard-keys{grid-template-columns:1fr}}
.modal-head { align-items: center; padding: 22px 26px; }
.modal-head>div { display: grid; justify-items: start; gap: 10px; min-width: 0; }
.modal-head .pill { display: inline-flex; }
.modal-head h2 { margin: 0; line-height: 1.1; overflow-wrap: anywhere; }
.modal-head .json-toggle { margin-left: auto; padding: 9px 13px; border: 1px solid #35502f; border-radius: 9px; background: #182417; color: #78ff3d; font-size: 12px; line-height: 1; }
.modal-head #closeInspector { width: 36px; height: 36px; margin-left: 10px; padding: 0; display: grid; place-items: center; border-radius: 8px; font-size: 23px; }
#inspector { overflow: auto; }
.inspect-grid>div { padding: 24px 26px; }
.inspect-grid h4 { margin: 0 0 15px; }
.inspect-grid pre { margin: 0; }
.custom-select-source { position: absolute !important; opacity: 0 !important; pointer-events: none !important; width: 1px !important; height: 1px !important; }
.custom-select { position: relative; width: 100%; margin-top: 7px; }
.custom-select-button { width: 100%; height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; border: 1px solid #2b382b; border-radius: 9px; background: #090c09; color: #eef4ec; cursor: pointer; text-align: left; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.custom-select-button i { color: #78ff3d; font-style: normal; font-size: 18px; transition: transform .18s; }
.custom-select.open .custom-select-button { border-color: #78ff3d; box-shadow: 0 0 0 2px #78ff3d18; }
.custom-select.open .custom-select-button i { transform: rotate(180deg); }
.custom-select-menu { display: grid; position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; right: 0; max-height: 270px; overflow: auto; padding: 6px; border: 1px solid #344534; border-radius: 11px; background: #0d130d; box-shadow: 0 18px 45px #000d; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px) scale(.99); transform-origin: top; transition: opacity .16s ease, transform .18s ease, visibility 0s linear .18s; }
.custom-select.open .custom-select-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); transition-delay: 0s; }
.custom-select-menu button { width: 100%; padding: 10px 11px; border: 0; border-radius: 7px; background: transparent; color: #cbd5c8; cursor: pointer; text-align: left; }
.custom-select-menu button:hover,.custom-select-menu button.selected { background: #1b2919; color: #78ff3d; }
.mode-native-select { display: none; }
.mode-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 7px; padding: 5px; border: 1px solid #2d3a2d; border-radius: 13px; background: #090c09; }
.mode-toggle button { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; padding: 10px 13px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #758073; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.mode-toggle button small { padding: 3px 6px; border-radius: 5px; background: #242a24; font-size: 9px; }
.mode-toggle button.active { border-color: #4f7249; background: #192718; color: #f1f6ef; box-shadow: 0 0 20px #78ff3d13; }
.mode-toggle button.active small { background: #78ff3d; color: #071007; }
.mode-toggle button[data-mode="native"].active { border-color: #743b3e; background: #2a1718; color: #ffe9e9; box-shadow: 0 0 20px #ff5b6115; }
.mode-toggle button[data-mode="native"].active small { background: #ff5b61; color: #210507; }
#urlHint { display: block; min-height: 18px; margin-top: 7px; line-height: 1.4; text-align: left; }
#urlHint.mode-native { color: #ff7075; }
#urlHint.mode-web { color: #78ff3d; }
#urlHint.warning { color: #ffb35b; }
.form-info { margin-left: 6px; transform: translateY(-1px); }
.form-info span { left: 24px; top: -12px; width: 330px; }
.field-label-heading { display:flex; align-items:center; min-height:18px; gap:6px; }
.field-label-heading .form-info { margin:0; transform:none; }
#modeSaveWarning,.save-warning { max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; padding: 0 11px; border: 1px solid transparent; border-radius: 8px; background: #251315; color: #ff777c; font-size: 11px; line-height: 1.4; transform: translateY(-4px); transition: max-height .24s ease, opacity .2s ease, transform .24s ease, margin .24s ease, padding .24s ease, border-color .24s ease; }
#modeSaveWarning.show,.save-warning.show { max-height: 80px; opacity: 1; margin-top: 9px; padding: 9px 11px; border-color: #663337; transform: translateY(0); }
.checkbox-info { flex: 0 0 auto; margin-left: 2px; }
.checkbox-info span { left: auto; right: 24px; top: -12px; width: 330px; }
.config-section { padding: 18px; border: 1px solid #293729; border-radius: 14px; background: #0c110c; }
.config-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #263126; }
.config-section-head h3 { color: #f1f6ef; font-size: 17px; }
.config-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.config-section-grid .wide { grid-column: 1/-1; }
@media(max-width:720px){.config-section-grid{grid-template-columns:1fr}.config-section-grid label{grid-column:1/-1}}
.form-card .fields { gap: 18px 20px; align-items: start; }
.form-card .fields>label { min-width: 0; line-height: 18px; }
.top-config-section { grid-column: 1 / -1; }
.top-config-section .config-section-grid>label { min-width: 0; }
.app-store-label { grid-column: 1 / -1; }
.url-action-field { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; align-items: center; margin-top: 7px; }
.url-action-field input { margin-top: 0 !important; }
.url-action-field button { height: 48px; padding: 0 15px; border: 1px solid #344534; border-radius: 9px; background: #171d17; color: #dce7d9; cursor: pointer; font-weight: 700; transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease; }
.url-action-field button:hover { border-color: #78ff3d; color: #78ff3d; background: #1a2518; }
.url-action-field button:active { transform: scale(.97); }
.mode-config-section .config-section-grid>label { grid-column: 1 / 2; }
.url-config-section .config-section-grid>label:first-child { grid-column: 1 / -1; }
.geo-row .custom-select { margin-top: 0; }
.geo-row .custom-select-button,.geo-row .geo-url { height: 48px; min-height: 48px; }
.config-section { transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
@keyframes softReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
#primaryGeoLabel[style*="block"],#primaryLanguageLabel[style*="block"] { animation: softReveal .22s ease-out both; }
@media(max-width:720px){.url-action-field{grid-template-columns:1fr 1fr}.url-action-field input{grid-column:1/-1}}
@media(max-width:1000px){.app-layout{grid-template-columns:minmax(0,1fr)}}
.form-card input:not([type="checkbox"]):not([type="color"]),.form-card textarea { min-height: 48px; }
.form-card .mode-toggle { min-height: 56px; }
.geo-heading { display: inline-flex; align-items: center; gap: 8px; line-height: 22px; }
.geo-heading .form-info { margin: 0; transform: none; vertical-align: middle; }
.geo-heading .form-info span { top: 26px; left: 0; }
.article-head .geo-heading .field-info { display: inline-grid; place-items: center; flex: 0 0 18px; width: 18px; height: 18px; min-width: 18px; margin: 0; padding: 0; border: 1px solid #5d6c5a; border-radius: 50%; background: transparent; color: #9ead9b; font-size: 11px; line-height: 1; }
aside nav { display: flex; flex: 1; flex-direction: column; }
aside nav button[data-page="docs"] { margin-top: auto; border-top: 1px solid #263026; border-radius: 0 0 10px 10px; }
aside .server { margin-top: 12px; }
#consoleUsersPanel { animation: softReveal .2s ease-out both; }
#consoleUsersPanel .toolbar { margin-top: 20px; }
.docs-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #293229; }
.docs-head h2 { margin: 0 0 5px; }
.docs-head p { margin: 0; color: #8b9789; }
.docs-tabs { display: flex; gap: 5px; padding: 5px; border: 1px solid #2d3a2d; border-radius: 12px; background: #090c09; }
.docs-tabs button { min-width: 108px; padding: 10px 14px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #829080; cursor: pointer; font-weight: 750; transition: .18s ease; }
.docs-tabs button:hover { color: #dce7d9; }
.docs-tabs button.active { border-color: #4f7249; background: #192718; color: #78ff3d; box-shadow: 0 0 18px #78ff3d12; }
.doc-panel { display: none; max-width: 980px; padding: 24px 27px; border: 1px solid #293529; border-radius: 15px; background: #101510; }
.doc-panel.active { display: block; animation: softReveal .2s ease-out both; }
.doc-panel .prose { max-width: 900px; }
.doc-panel .prose h2 { margin-top: 18px; }
.doc-panel .prose pre { white-space: pre-wrap; word-break: break-word; }
.doc-prose-wide { max-width: none !important; }
.doc-callout { margin: 20px 0; padding: 15px 17px; border: 1px solid #385535; border-radius: 11px; background: #142013; }
.doc-callout.warning { border-color: #69542f; background: #211b10; }
.doc-callout b { color: #78ff3d; }
.doc-callout.warning b { color: #ffbd62; }
.doc-callout p { margin: 6px 0 0; }
.doc-table { width: 100%; min-width: 0; margin: 15px 0 24px; border: 1px solid #293529; border-radius: 11px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.doc-table th,.doc-table td { padding: 11px 13px; border-top: 1px solid #263026; vertical-align: top; }
.doc-table tr:first-child th,.doc-table tr:first-child td,.doc-table thead+tbody tr:first-child td { border-top: 0; }
.doc-table th { width: 160px; background: #0c110c; color: #8d998a; font-size: 11px; }
.api-spec { margin: 14px 0; overflow: hidden; border: 1px solid #2d3b2d; border-radius: 12px; background: #0b100b; }
.api-spec>header { display: grid; grid-template-columns: 54px minmax(220px,auto) 1fr; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #2a352a; background: #121812; }
.api-spec>header code { color: #dce8d8; }
.api-spec>header b { color: #8e9a8b; font-size: 12px; font-weight: 650; }
.api-spec>p,.api-spec>pre { margin-left: 14px; margin-right: 14px; }
.api-spec>pre { margin-top: 14px; }
.api-spec>p:last-child,.api-spec>pre:last-child { margin-bottom: 14px; }
@media(max-width:800px){.docs-head{align-items:stretch;flex-direction:column}.docs-tabs{overflow:auto}.docs-tabs button{min-width:max-content}}

/* Professional UI refinement */
:root { --lime:#75dd52; --black:#090b09; --panel:#111411; --panel2:#171a17; --line:#2a302a; --text:#edf1ec; --muted:#8e978d; --red:#e9666b; }
body { background:#090b09; font-size:14px; letter-spacing:-.005em; }
body:before { background:radial-gradient(ellipse at 72% -18%,rgba(53,91,43,.18),transparent 38%); }
aside { background:#0b0d0b; border-color:#252a25; padding:26px 17px; }
.brand .logo { border-radius:9px; background:#75dd52; box-shadow:none; font-family:Inter,-apple-system,sans-serif; font-size:18px; }
nav { gap:3px !important; }
nav button { min-height:43px; border:1px solid transparent; border-radius:8px; color:#919a90; font-weight:590; transition:background .16s ease,color .16s ease,border-color .16s ease; }
nav button:hover { background:#131713; color:#d5dbd3; }
nav button.active { border-color:#293229; background:#171c17; color:#f0f3ef; }
.server,.live,.pill { box-shadow:none; }
.server { border-radius:9px; background:#0e110e; }
.server i,.live i { box-shadow:none; }
main { max-width:1800px; }
header { height:104px; margin-bottom:25px; }
h1 { font-size:27px; font-weight:690; letter-spacing:-.025em; }
h2 { font-weight:680; letter-spacing:-.022em; }
h3 { font-weight:650; letter-spacing:-.012em; }
.eyebrow { color:#7ecb62; font-weight:700; }
.live,.pill { border-color:#344033; border-radius:6px; background:#151b15; color:#83d766; letter-spacing:.08em; }
.primary,.dashboard-section-head button { border:1px solid #86e065; border-radius:7px; background:#75dd52; box-shadow:none; transition:background .15s ease,transform .12s ease; }
.primary:hover,.dashboard-section-head button:hover { background:#86e663; }
.primary:active,.dashboard-section-head button:active { transform:translateY(1px); }
.grid article,.form-card,.stat,.dashboard-app,.app-item,.config-section,.table-wrap,.doc-panel { border-color:#293029; border-radius:10px; background:#111411; box-shadow:none; }
.stat { padding:16px 17px; }
.stat strong { font-size:25px; font-weight:680; }
.stat em { color:#8bd36e; font-size:11px; }
.dashboard-app { padding:12px; transition:border-color .16s ease,background .16s ease,transform .16s ease; }
.dashboard-app:hover { border-color:#3d493c; background:#131713; box-shadow:none; transform:translateY(-1px); }
.dashboard-icon { border-radius:9px; box-shadow:none; background:#74d951; }
.dashboard-status { border-radius:6px; font-weight:700; }
.technology-badges span { border-radius:5px; background:#171d17; }
.dashboard-screenshots img { border-color:#303630; border-radius:6px; }
.dashboard-metrics button,.icon,.filters button,.article-head button,.user-filters button,.pager button,.url-action-field button,.app-store-check-panel button { border-radius:7px; background:#171a17; box-shadow:none; font-weight:620; transition:border-color .15s ease,background .15s ease,color .15s ease; }
.dashboard-metrics button:hover,.icon:hover,.filters button:hover,.article-head button:hover,.user-filters button:hover,.pager button:hover,.url-action-field button:hover,.app-store-check-panel button:hover { border-color:#465245; background:#1b201b; color:#e9eee7; }
.app-item { padding:14px; }
.app-item:hover { border-color:#3d493c; background:#141814; }
.app-item.active { border-color:#587052; background:#161d15; box-shadow:inset 3px 0 #75dd52; }
.app-item.draft { border-style:solid; border-color:#6c794f; background:#181b13; }
.app-mode-badge { border-radius:5px; box-shadow:none !important; }
.app-mode-badge.on { background:#75dd52; }
.config-section { padding:20px; background:#0f120f; }
.config-section-head { margin-bottom:18px; }
.form-card .fields { gap:20px; }
.fields label { color:#9aa399; font-weight:520; }
input:not([type="checkbox"]):not([type="color"]),textarea { border-color:#303630; border-radius:7px; background:#0b0e0b; transition:border-color .15s ease,box-shadow .15s ease,background .15s ease; }
input:not([type="checkbox"]):not([type="color"]):hover,textarea:hover { border-color:#3b433b; }
input:not([type="checkbox"]):not([type="color"]):focus,textarea:focus { border-color:#618058; background:#0d100d; box-shadow:0 0 0 3px rgba(117,221,82,.08); }

/* Custom checkbox: no operating-system controls */
input[type="checkbox"] { appearance:none;-webkit-appearance:none;position:relative;flex:0 0 18px;width:18px !important;height:18px;margin:0;border:1px solid #4a5349;border-radius:4px;background:#0b0e0b;cursor:pointer;outline:none;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease; }
input[type="checkbox"]:hover { border-color:#707d6e; }
input[type="checkbox"]:focus-visible { box-shadow:0 0 0 3px rgba(117,221,82,.13); }
input[type="checkbox"]:checked { border-color:#75dd52;background:#75dd52; }
input[type="checkbox"]:checked:after { content:"";position:absolute;left:5px;top:2px;width:5px;height:9px;border:solid #10200d;border-width:0 2px 2px 0;transform:rotate(45deg); }
input[type="checkbox"]:disabled { opacity:.45;cursor:not-allowed; }

/* Binary settings use a compact product-style switch */
label.switch { min-height:36px; gap:10px; color:#c0c7be; cursor:pointer; }
label.switch input[type="checkbox"] { flex:0 0 38px;width:38px !important;height:22px;border-color:#3c443c;border-radius:999px;background:#1a1f1a; }
label.switch input[type="checkbox"]:before { content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#8b948a;transition:transform .18s ease,background .18s ease; }
label.switch input[type="checkbox"]:checked { border-color:#649b54;background:#2c5125; }
label.switch input[type="checkbox"]:checked:before { background:#8be368;transform:translateX(16px); }
label.switch input[type="checkbox"]:checked:after { display:none; }
.sdk-picker { gap:7px; }
.sdk-picker label { border-radius:7px; background:#121612; transition:border-color .15s ease,background .15s ease,color .15s ease; }
.sdk-picker label:has(input:checked) { border-color:#4c6947;background:#182317;color:#dce9d8 !important; }
.sdk-picker input[type="checkbox"] { flex-basis:16px;width:16px !important;height:16px; }
.sdk-picker input[type="checkbox"]:checked:after { left:4px;top:1px; }
.custom-select-button { border-color:#303630; border-radius:7px; background:#0b0e0b; }
.custom-select.open .custom-select-button { border-color:#618058; box-shadow:0 0 0 3px rgba(117,221,82,.08); }
.custom-select-button i { color:#879486; }
.custom-select-menu { border-color:#353d35; border-radius:8px; background:#111511; box-shadow:0 14px 35px rgba(0,0,0,.55); }
.custom-select-menu button { border-radius:5px; }
.custom-select-menu button:hover,.custom-select-menu button.selected { background:#1b231a;color:#a5df90; }
.mode-toggle { border-color:#303630;border-radius:8px;background:#0b0e0b; }
.mode-toggle button { border-radius:6px; }
.mode-toggle button.active { border-color:#4a6545;background:#182217;box-shadow:none; }
.mode-toggle button[data-mode="native"].active { border-color:#684548;background:#25191a;box-shadow:none; }
.user-filters,#traffic .filters,.app-store-check-panel,.app-media-editor { border-color:#293029;border-radius:10px;background:#0f120f; }
th { background:#0e110e; color:#899288; font-weight:650; }
tbody tr:hover { background:#151915; }
.docs-tabs { border-radius:8px;background:#0b0e0b; }
.docs-tabs button { border-radius:6px; }
.docs-tabs button.active { border-color:#465a42;background:#182017;color:#9edc88;box-shadow:none; }
.doc-callout { border-radius:8px;background:#141a13; }
.api-spec { border-radius:8px; }
#notificationBell,#notificationPanel { border-radius:8px; }
#notificationPanel { box-shadow:0 16px 45px rgba(0,0,0,.58); }
#toast { border-radius:7px;box-shadow:0 12px 32px rgba(0,0,0,.38); }

/* Layout pass: portal-grade composition */
aside { inset:18px auto 18px 18px; width:250px; border:1px solid #282d28; border-radius:16px; padding:25px 18px 18px; }
main { margin-left:286px; padding:0 38px 70px; }
.brand { margin:0 8px 38px; }
.brand .logo { width:42px;height:42px; }
aside nav button { padding:11px 13px; }
aside nav button[data-page="docs"] { border-radius:8px; }
.server { padding:13px; }
.app-layout { grid-template-columns:315px minmax(0,1fr); gap:18px; align-items:start; }
.app-list { position:sticky; top:20px; max-height:calc(100vh - 42px); padding-right:5px; overflow:auto; scrollbar-width:thin; scrollbar-color:#303830 transparent; }
.form-card { padding:0; border:0; background:transparent; }
.form-card>.article-head { min-height:52px; margin:0 0 12px; padding:0 4px; }
.form-card>.article-head h3 { font-size:18px; }
.form-card>.fields { gap:16px; }
.config-section { padding:22px 23px; border-radius:12px; }
.config-section-head { min-height:31px; margin-bottom:20px; padding-bottom:14px; }
.config-section-head h3 { font-size:18px; }
.config-section-grid { gap:17px 20px; }
.top-config-section .config-section-grid { align-items:end; }
.top-config-section .config-section-grid>label { display:flex; flex-direction:column; justify-content:flex-end; }
.top-config-section .config-section-grid>label>input,.top-config-section .config-section-grid>label>.custom-select { margin-top:8px; }
.sdk-picker { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-content:end; align-items:end; gap:8px; min-height:0; padding:0; }
.sdk-picker>small { grid-column:1/-1; margin:0 0 1px; line-height:18px; }
.sdk-picker label { width:100%; height:48px; justify-content:center; padding:0 10px; }
.app-media-editor { grid-template-columns:1fr 1fr; gap:16px 18px; padding:17px 18px; border-radius:10px; }
.app-media-editor>div { min-width:0; }
.app-media-editor small { min-height:18px; margin-bottom:7px; }
.app-media-editor input[type="file"] { width:100%; height:48px; min-height:48px; padding:0; overflow:hidden; border:1px solid #303630; border-radius:7px; background:#0b0e0b; color:#8f988e; font-size:12px; }
.app-media-editor input[type="file"]::file-selector-button { height:46px; margin:0 12px 0 0; padding:0 15px; border:0; border-right:1px solid #303630; background:#171b17; color:#e2e7e0; font:600 12px Inter,-apple-system,sans-serif; cursor:pointer; }
#screenshotUploads { padding-top:2px; }
.media-slots { align-items:flex-start; }
.media-slots label { border-style:solid; border-radius:6px; }
.mode-config-section .config-section-grid>label { grid-column:1/-1; width:min(100%,560px); }
.mode-toggle { width:100%; min-height:58px; }
.mode-toggle button { min-height:46px; }
.url-config-section .config-section-grid { grid-template-columns:1fr; gap:0; }
.url-config-section .config-section-grid>label:first-child { margin-bottom:14px; }
.url-config-section label.switch { grid-column:1/-1 !important; width:100%; min-height:54px; margin:0; padding:0 2px; border-top:1px solid #252c25; }
.url-config-section label.switch input[type="checkbox"] { margin-right:3px; }
.url-config-section label.switch .checkbox-info { margin-left:auto; }
.url-config-section #primaryGeoLabel,.url-config-section #primaryLanguageLabel { grid-column:1/-1; margin-top:15px; }
.url-config-section .article-head { margin:20px 0 12px; padding-top:18px; border-top:1px solid #252c25; }
.url-config-section .article-head h3 { font-size:17px; }
label.switch input[type="checkbox"] { flex-basis:42px; width:42px !important; height:24px; border-width:1px; }
label.switch input[type="checkbox"]:before { top:3px; left:3px; width:16px; height:16px; }
label.switch input[type="checkbox"]:checked:before { transform:translateX(18px); }
.checkbox-info { margin-left:auto !important; }
.role-control { display:grid; grid-template-columns:auto 126px; align-items:center; gap:9px; color:#8f988e; font-size:11px; font-weight:650; }
.role-control>.custom-select { width:126px; margin:0; }
.role-control .custom-select-button { height:42px; }
.danger-actions button:disabled { opacity:.35; cursor:not-allowed; filter:saturate(.4); }
@media(max-width:1100px){aside{inset:0 auto 0 0;border-width:0 1px 0 0;border-radius:0}main{margin-left:250px;padding-left:24px;padding-right:24px}.app-layout{grid-template-columns:1fr}.app-list{position:static;max-height:none;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){aside{width:70px;padding:24px 10px}main{margin-left:70px;padding:0 16px 40px}.role-control>span{display:none}.role-control{grid-template-columns:104px}.role-control>.custom-select{width:104px}.app-list{grid-template-columns:1fr}.config-section{padding:17px}.sdk-picker{grid-template-columns:1fr}.app-media-editor{grid-template-columns:1fr}}

html,body { overscroll-behavior:none; }
html { height:100%; overflow:hidden; background:#090b09; }
body { height:100dvh; min-height:100%; overflow-y:auto; overscroll-behavior-y:none; }
nav button { display:flex; align-items:center; gap:12px; }
nav button span { margin:0; }
nav button svg { flex:0 0 18px; width:18px; height:18px; color:#778176; stroke:currentColor; }
nav button.active svg { color:#a8b3a5; }
.icon svg,#notificationBell svg { width:18px;height:18px;stroke:currentColor; }
.url-config-section label.switch { display:flex !important; flex-direction:row !important; align-items:center !important; justify-content:flex-start !important; text-align:left !important; }
.url-config-section label.switch input[type="checkbox"] { position:relative !important; inset:auto !important; transform:none !important; }
input[type="checkbox"]:checked:after { display:none; }
input[type="checkbox"]:checked { background:#75dd52 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.3 8.2 2.8 2.8 6.5-6.5' fill='none' stroke='%23101d0d' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px 14px no-repeat; }
label.switch>span:empty { display:none !important; }
label.switch input[type="checkbox"] { display:block !important; flex:0 0 42px !important; width:42px !important; min-width:42px !important; max-width:42px !important; height:24px !important; min-height:24px !important; max-height:24px !important; margin:0 !important; padding:0 !important; align-self:center !important; background-image:none !important; }
label.switch input[type="checkbox"]:checked { background:#315b28 !important; }
label.switch input[type="checkbox"]:before { box-sizing:border-box; }
.account-button { display:grid; grid-template-columns:30px auto; align-items:center; gap:9px; min-width:142px; height:44px; padding:5px 11px 5px 6px; border:1px solid #303730; border-radius:8px; background:#121612; color:#e6ebe4; cursor:pointer; text-align:left; }
.account-button>span:first-child { width:30px;height:30px;display:grid;place-items:center;border-radius:7px;background:#75dd52;color:#10200d;font-weight:800; }
.account-button>span:last-child { display:grid;gap:1px;min-width:0; }
.account-button b { max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px; }
.account-button small { color:#899287;font-size:9px; }
.auth-gate { display:none;position:fixed;z-index:1000;inset:0;place-items:center;padding:24px;background:#080a08; }
.auth-gate.show { display:grid; }
.auth-card { width:min(430px,100%);display:grid;gap:18px;padding:30px;border:1px solid #2c332c;border-radius:16px;background:#111411;box-shadow:0 24px 80px rgba(0,0,0,.55); }
.auth-brand { display:flex;align-items:center;gap:12px;margin-bottom:10px; }
.auth-brand>span { width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:#75dd52;color:#10200d;font-size:20px;font-weight:850; }
.auth-brand>div { display:grid;gap:3px;letter-spacing:.1em; }
.auth-brand small { color:#7f897e;font-size:9px; }
.auth-card>div:nth-child(2)>small { color:#75dd52;font-size:10px;font-weight:750;letter-spacing:.12em; }
.auth-card h2 { margin:7px 0 5px;font-size:26px; }
.auth-card p { margin:0;color:#929b90;line-height:1.5; }
.auth-card label { color:#9ba49a;font-size:12px; }
#authError { min-height:18px;color:#ef7b80;font-size:12px; }
.account-dialog { width:min(780px,92vw); }
.account-content { display:grid;gap:20px;padding:22px; }
#currentAccountCard,.account-row { display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;border:1px solid #2c332c;border-radius:9px;background:#111511; }
#currentAccountCard>span,.account-row>span { width:42px;height:42px;display:grid;place-items:center;border-radius:8px;background:#75dd52;color:#10200d;font-weight:800; }
#currentAccountCard>div,.account-row>div { display:grid;gap:4px; }
#currentAccountCard small,.account-row small { color:#8d968b; }
.account-row { grid-template-columns:36px minmax(0,1fr) auto;margin-top:8px;padding:10px 12px; }
.account-row>span { width:36px;height:36px; }
.account-row em { padding:5px 8px;border:1px solid #394238;border-radius:5px;color:#aeb7ac;font-size:10px;font-style:normal; }
.account-grid { display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:13px 0; }
.account-grid label { color:#979f95;font-size:12px; }
.account-grid input,.account-grid .custom-select-button { height:48px; min-height:48px; }
.account-grid .custom-select { margin-top:7px; }
.account-grid .account-grid-wide { grid-column:1/-1; }
#createAccountForm>.primary { width:100%; min-height:48px; }
#logoutButton { justify-self:start;padding:10px 14px;border:1px solid #5a3739;border-radius:7px;background:#211516;color:#e98b90;cursor:pointer; }
@media(max-width:720px){.account-button{min-width:44px;width:44px;padding:6px}.account-button>span:last-child{display:none}.account-grid{grid-template-columns:1fr}}

/* Console controls: one baseline, predictable widths, no overflow. */
.user-filters { display:grid; grid-template-columns:minmax(210px,1.35fr) repeat(3,minmax(145px,1fr)) auto; align-items:end; gap:12px; width:100%; }
.user-filters label { min-width:0; width:100%; }
.user-filters input,.user-filters .custom-select-button,.user-filters button { width:100%; height:52px; min-height:52px; margin:0; }
.user-filters button { min-width:116px; padding:0 18px; white-space:nowrap; }
#traffic .filters { grid-template-columns:minmax(150px,.85fr) minmax(210px,1.35fr) minmax(170px,1fr) minmax(145px,.8fr) minmax(125px,.7fr) 118px; }
#traffic .console-filter input,#traffic .console-filter .custom-select-button,#traffic #reloadLogs { height:48px; min-height:48px; }
.console-period { display:flex;align-items:end;gap:12px;margin:12px 0 18px;padding:14px;border:1px solid #293029;border-radius:10px;background:#0f120f; }
.console-period label { display:grid;gap:7px;min-width:178px;color:#8f988d;font-size:12px; }
.console-period input,.console-period .custom-select-button,.console-period>button { height:48px;min-height:48px;margin:0; }
.console-period input { width:100%;padding:0 14px;border:1px solid #303a30;border-radius:8px;background:#0a0e0a;color:#e8ede7;color-scheme:dark; }
.console-period>button { margin-left:auto;padding:0 20px;border:1px solid #4a6843;border-radius:8px;background:#172316;color:#a8e697;font-weight:700;white-space:nowrap;cursor:pointer; }
.console-period>button:hover { border-color:#72df52;background:#1b2d19;color:#d5ffca; }
@media(max-width:1000px){.console-period{flex-wrap:wrap}.console-period>button{margin-left:0}.console-period label{flex:1 1 180px}}

/* Apple lookup is secondary metadata and only appears for released apps. */
.app-store-check-panel { min-height:62px; padding:10px 12px; }
.app-store-check-panel[hidden] { display:none !important; }
.app-store-check-panel button { min-height:36px; height:36px; padding:0 12px; font-size:12px; }

/* Full team page */
.accounts-page { max-width:1180px; }
.accounts-page>.toolbar { margin-bottom:20px; }
.accounts-page .account-content { display:grid; grid-template-columns:minmax(260px,330px) 1fr; gap:18px; padding:0; }
.accounts-page #currentAccountCard,.accounts-page #createAccountForm,.accounts-page #accountsList { border:1px solid #293029; border-radius:12px; background:#0f120f; }
.accounts-page #currentAccountCard { grid-column:1; align-self:start; }
.accounts-page #createAccountForm { grid-column:1; padding:20px; }
.accounts-page #accountsList { grid-column:2; grid-row:1 / span 3; padding:20px; min-width:0; }
.accounts-page #logoutButton { grid-column:1; width:100%; min-height:44px; }
.team-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:17px; }
.team-head h3 { margin:0 0 4px; font-size:18px; }
.team-head p { margin:0; color:#879087; font-size:12px; }
.team-head>span { padding:6px 9px; border:1px solid #303830; border-radius:6px; color:#9da69c; font-size:11px; }
.accounts-table { display:grid; }
.accounts-table-head { display:grid; grid-template-columns:minmax(198px,1.5fr) 92px 125px 135px 76px; gap:12px; align-items:center; }
.accounts-table .account-row { display:grid; grid-template-columns:36px minmax(150px,1.5fr) 92px 125px 135px 76px; gap:12px; align-items:center; }
.accounts-table-head { padding:0 10px 10px; color:#7f897e; font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.accounts-table .account-row { min-height:68px; margin:0; padding:10px; border:0; border-top:1px solid #252b25; border-radius:0; background:transparent; }
.account-row .account-avatar { grid-column:auto; width:36px; height:36px; }
.account-person { min-width:0; }
.account-person b,.account-person small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account-person small { margin-top:4px; color:#899288; font-size:11px; }
.account-person .account-telegram { color:#79b967; }
.accounts-table .account-row em { justify-self:start; padding:5px 7px; border:1px solid #354035; border-radius:5px; color:#aab5a8; font-size:10px; font-style:normal; }
.accounts-table time { color:#a8b0a6; font-size:11px; }
.delete-account { justify-self:end; min-height:34px; padding:0 10px; border:1px solid #593337; border-radius:6px; background:#211416; color:#ff7d82; cursor:pointer; font-size:11px; }
.accounts-table .account-row>span:last-child:not(.account-avatar) { width:auto; height:auto; padding:0; border:0; background:transparent; }
@media(max-width:1200px){.user-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.user-filters button{width:auto;justify-self:start}.accounts-page .account-content{grid-template-columns:1fr}.accounts-page #accountsList{grid-column:1;grid-row:auto}.accounts-table{overflow-x:auto}.accounts-table-head,.accounts-table .account-row{min-width:760px}}

/* Header controls use one 44px control rhythm. */
.head-actions { align-items:center; }
#notificationBell { display:grid; place-items:center; width:44px; min-width:44px; height:44px; padding:0; }
#notificationBell svg { display:block; width:19px; height:19px; margin:0; }
.live { display:flex; align-items:center; justify-content:flex-start; gap:7px; height:44px; min-width:154px; padding:0; border:0; background:transparent; line-height:1; }
.live span { color:#798378; font-size:10px; font-weight:650; letter-spacing:0; text-transform:none; }
.live b { color:#83d766; font-size:10px; font-weight:800; letter-spacing:.09em; }
.live i { animation:serverPulse 1.8s ease-in-out infinite; }
.live.offline { border:0; background:transparent; color:#ef7b80; }
.live.offline b { color:#ef7b80; }
.live.offline i { background:#ef6269; }
@keyframes serverPulse{0%,100%{opacity:.55;transform:scale(.85)}50%{opacity:1;transform:scale(1);box-shadow:0 0 0 5px rgba(117,221,82,.08)}}

/* Push center */
.push-page{max-width:1440px}.push-appbar{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px;padding:16px 18px;border:1px solid #293129;border-radius:12px;background:#0f130f}.push-appbar label{width:min(580px,60%)}.push-appbar label>span,.push-card label{display:grid;gap:8px;color:#929b90;font-size:12px}.push-appbar select,.push-card input,.push-card textarea,.push-card select{width:100%;min-height:48px;border:1px solid #303930;border-radius:8px;background:#090c09;color:#e7ebe5;padding:0 14px;font:inherit;box-sizing:border-box}.push-card textarea{padding:13px 14px;resize:vertical}.push-appbar .custom-select{margin-top:8px}#pushTokenStats{display:flex;gap:8px;flex-wrap:wrap}#pushTokenStats span{padding:9px 11px;border:1px solid #303830;border-radius:7px;color:#8d968b;font-size:11px}#pushTokenStats b{color:#dce3da;font-size:14px;margin-right:4px}.push-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}.push-card{display:grid;gap:16px;padding:22px;border:1px solid #293129;border-radius:13px;background:#0e120e}.push-card-head{display:flex;align-items:start;justify-content:space-between;gap:12px;padding-bottom:15px;border-bottom:1px solid #252c25}.push-card-head small{color:#75dd52;font-size:9px;font-weight:800;letter-spacing:.14em}.push-card-head h3{margin:5px 0 0;font-size:20px}.push-card-head>span{padding:6px 8px;border:1px solid #354136;border-radius:6px;color:#9fc997;font-size:10px;font-weight:750}.push-preview{display:grid;gap:6px;padding:15px 16px;border:1px solid #343b34;border-radius:13px;background:linear-gradient(145deg,#1a1e1a,#111411)}.push-preview span{color:#788277;font-size:8px;font-weight:750;letter-spacing:.12em}.push-preview b{font-size:14px}.push-preview p{margin:0;color:#a5ada3;font-size:12px;line-height:1.45}.push-actions{display:flex}.push-actions button,.push-card>button{min-height:46px;border-radius:8px}.push-timezone{margin:-3px 0 0;color:#7f897e;font-size:11px}.push-timezone b{color:#aab3a8}.provider-switch{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:5px;border:1px solid #303830;border-radius:10px;background:#090c09}.provider-switch button{display:grid;gap:2px;min-height:54px;border:1px solid transparent;border-radius:7px;background:transparent;color:#7c857b;cursor:pointer}.provider-switch button.active{border-color:#4c7144;background:#182317;color:#e4e9e2}.provider-switch small{font-size:9px;color:#7e887d}.provider-settings{display:grid;gap:14px}.provider-settings[hidden]{display:none}.push-note{padding:13px 14px;border-left:2px solid #75dd52;background:#121812}.push-note b{font-size:12px}.push-note p{margin:5px 0 0;color:#8f988d;font-size:11px;line-height:1.5}.push-fields-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.provider-settings label small{color:#75b963}.client-requirements{padding-top:15px;border-top:1px solid #252c25}.client-requirements h4{margin:0 0 8px;font-size:13px}.client-requirements ol{margin:0;padding-left:18px;color:#929b90;font-size:11px;line-height:1.65}.client-requirements code{color:#b9d9b2}.push-list{display:grid;gap:7px}.push-list-row{display:flex;align-items:center;gap:10px;min-height:52px;padding:9px 11px;border:1px solid #282f28;border-radius:8px;background:#0a0d0a}.push-list-row>div{display:grid;gap:4px;min-width:0;flex:1}.push-list-row b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.push-list-row small{color:#7f897e;font-size:10px}.push-list-row button{min-height:30px;padding:0 9px;border:1px solid #593538;border-radius:6px;background:#211517;color:#e88085;font-size:10px}.push-list-row em{color:#899287;font-size:9px;font-style:normal;text-transform:uppercase}.push-status{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#e0a23c}.push-status.sent{background:#75dd52}.push-status.failed{background:#ef666d}.push-empty{margin:0;padding:17px;border:1px dashed #303630;border-radius:8px;color:#7d867b;text-align:center;font-size:11px}.push-history{grid-column:2}.push-settings{grid-row:1/span 2;grid-column:2}.push-history{grid-row:3}.push-compose{grid-column:1}.push-schedule{grid-column:1}.push-page input[type=file]{padding:10px;font-size:11px}.push-page input[type=file]::file-selector-button{height:28px;margin-right:10px;border:1px solid #374137;border-radius:5px;background:#171c17;color:#dce3da;padding:0 10px}.push-page .custom-select-button{height:48px;min-height:48px}
@media(max-width:1050px){.push-grid{grid-template-columns:1fr}.push-compose,.push-schedule,.push-settings,.push-history{grid-column:1;grid-row:auto}.push-appbar{align-items:stretch;flex-direction:column}.push-appbar label{width:100%}}

/* Push layout polish: paired rows, aligned controls and compact help. */
.push-compose{grid-column:1;grid-row:1}.push-settings{grid-column:2;grid-row:1}.push-schedule{grid-column:1;grid-row:2}.push-history{grid-column:2;grid-row:2}.push-card{align-content:start}.push-card-head{align-items:center}.push-card-head>div{min-width:0}.push-title-info{display:flex;align-items:center;gap:8px}.push-info{position:relative;top:auto;flex:0 0 22px;width:22px;height:22px;margin:0;vertical-align:middle}.push-info>span{left:auto;right:0;top:29px;width:min(360px,70vw);white-space:normal;line-height:1.55;text-align:left;z-index:80}.push-note b{display:flex;align-items:center;gap:7px}.push-note .push-info{width:19px;height:19px;flex-basis:19px;font-size:10px}.push-cta,.push-actions .push-cta{display:flex;align-items:center;justify-content:center;width:100%;height:48px;min-height:48px;margin:0;padding:0 18px;border:1px solid #75dd52;border-radius:8px;background:#75dd52;color:#0b1509;font-size:13px;font-weight:800;line-height:1;text-align:center;box-shadow:none;cursor:pointer;appearance:none;-webkit-appearance:none}.push-cta:hover{background:#83e764;border-color:#83e764}.push-cta:active{transform:translateY(1px)}.push-actions{width:100%}.push-schedule>.custom-select{width:100%}.push-schedule #pushSchedules,.push-history #pushDeliveries{margin-top:2px}.push-history{min-height:246px}.push-page input,.push-page textarea,.push-page .custom-select-button{font-size:13px;line-height:1.3}.push-page .custom-select-button{display:flex;align-items:center}.push-page input[type=datetime-local]{appearance:none;-webkit-appearance:none;color-scheme:dark}.push-page input[type=file]{display:flex;align-items:center;height:48px;min-height:48px}.push-page .field-info code{color:#b9d9b2;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px}
@media(max-width:1050px){.push-compose,.push-schedule,.push-settings,.push-history{grid-column:1;grid-row:auto}.push-history{min-height:0}}

/* Optical alignment for push badges and inline info controls. */
.push-card-head>span#pushProviderBadge,
.push-card-head>span#pushConfigState{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-width:80px;
  height:34px;
  min-height:34px;
  box-sizing:border-box;
  margin:0;
  padding:0 12px;
  border:1px solid #354136;
  border-radius:7px;
  color:#9fc997;
  font-size:10px;
  font-weight:800;
  line-height:1;
  letter-spacing:.01em;
  text-align:center;
  white-space:nowrap;
}
.push-card-head>span#pushConfigState{min-width:142px}
.push-title-info{min-height:28px;line-height:1.15}
.push-info.field-info{
  display:grid;
  place-items:center;
  position:relative;
  top:0;
  width:22px;
  min-width:22px;
  height:22px;
  min-height:22px;
  box-sizing:border-box;
  margin:0;
  padding:0;
  border:1px solid #4a5949;
  border-radius:50%;
  background:transparent;
  color:#9aa497;
  font:700 11px/1 system-ui,-apple-system,sans-serif;
  text-align:center;
  vertical-align:middle;
  appearance:none;
  -webkit-appearance:none;
}
.push-note b{min-height:22px;line-height:1.2}
.push-note .push-info.field-info{width:20px;min-width:20px;height:20px;min-height:20px;font-size:10px}

/* Provider selector: keep title and subtitle as one centered text group. */
.provider-switch>button{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  height:70px;
  min-height:70px;
  box-sizing:border-box;
  margin:0;
  padding:0 14px;
  line-height:1;
  text-align:center;
}
.provider-switch>button>b{
  display:block;
  margin:0;
  padding:0;
  color:inherit;
  font-size:14px;
  font-weight:800;
  line-height:16px;
  text-align:center;
}
.provider-switch>button>small{
  display:block;
  margin:0;
  padding:0;
  color:#778076;
  font-size:9px;
  font-weight:600;
  line-height:12px;
  text-align:center;
}
.provider-switch>button.active>small{color:#8d9d89}
