.admin-page { min-height: 100vh; background:linear-gradient(135deg,#fff8eb 0%,#f5f3ff 51%,#effaf3 100%); }
.admin-topbar { padding-inline: max(32px, calc((100% - 1160px)/2)); }
.admin-nav-label { display: inline-flex; align-items: center; gap: 9px; margin: 0 auto; color: #7c899b; font-size: 11px; font-weight: 600; }
.admin-top-user { flex: 0 0 auto; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.admin-security-link { display:inline-flex;align-items:center;min-height:32px;padding:0 10px;border:1px solid #e5eaf2;border-radius:9px;color:#52627b;background:#fff;font-size:9px;font-weight:700; }
.admin-security-login-button { width:100%;min-height:35px;margin-top:10px;padding:0 12px;border:1px solid #dfe6f1;border-radius:9px;color:#4b5f7f;background:#fff;font:700 9px var(--font-body);cursor:pointer; }
.admin-login-otp-step { display:grid;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid #eff1f5; }
.admin-login-otp-step h2 { margin:0;font:700 17px var(--font-display); }
.admin-login-otp-step > p { margin:0;color:#77869a;font-size:10px; }
.admin-shell { width: min(1160px, calc(100% - 64px)); margin: 0 auto; padding: 48px 0 32px; }
.auth-view { min-height: calc(100vh - 165px); display: grid; place-items: center; position: relative; padding: 30px 0; }
.auth-art { position: absolute; left: 0; top: 8px; display: flex; align-items: center; gap: 10px; color: #8794a6; font-size: 8px; font-weight: 700; letter-spacing: .13em; }.auth-art img { border-radius: 12px; }.auth-art b { color: #6aa38c; }
.auth-card { width: min(450px,100%); padding: 35px 38px 23px; border: 1px solid #e8ecf3; border-radius: 21px; background: white; box-shadow: 0 16px 50px rgba(31,51,84,.075); }
.auth-loading { margin: 10px 0 6px; color: #78879b; font-size: 11px; line-height: 1.7; }
.auth-icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 19px; color: #3873dc; border: 1px solid #e5edfb; border-radius: 13px; background: #f1f5ff; font-size: 20px; }
.auth-icon.auth-photo { width: 58px; height: 58px; padding: 0; overflow: hidden; border-radius: 17px; background: #eef4ff; }
.auth-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.auth-feedback { margin: 14px 0 0; padding: 10px 12px; border: 1px solid #f0d4d1; border-radius: 9px; color: #9b4444; background: #fff6f5; font-size: 10px; line-height: 1.55; }
.auth-customer-link { display: inline-flex; gap: 6px; margin-top: 15px; color: #5876a5; font-size: 10px; font-weight: 700; text-decoration: none; }
.auth-customer-link:hover { color: #315fbc; }
.auth-panel h1 { margin: 9px 0 8px; font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.05em; }
.auth-lead { margin: 0 0 23px; color: #78879b; font-size: 11px; line-height: 1.8; }
.stack-form { display: grid; gap: 15px; }.stack-form label, .app-form > label, .form-row > label { display: grid; gap: 7px; color: #33435b; font-size: 10px; font-weight: 700; }
.stack-form input, .app-form input:not([type=checkbox]):not([type=file]), .app-form textarea, .app-form select { min-width: 0; width: 100%; min-height: 40px; padding: 0 12px; outline: 0; border: 1px solid #e3e8f0; border-radius: 9px; color: #20324d; background: #fff; font-size: 11px; font-weight: 500; transition: border .15s, box-shadow .15s; }
.stack-form input:focus, .app-form input:focus, .app-form textarea:focus, .app-form select:focus { border-color: #91afe8; box-shadow: 0 0 0 3px rgba(59,110,205,.09); }
.stack-form input::placeholder, .app-form input::placeholder, .app-form textarea::placeholder { color: #adb7c5; }
.field-help { margin-top: -2px; color: #97a2b1; font-size: 9px; font-weight: 400; line-height: 1.6; }
.admin-primary { min-height: 42px; color: white; background: linear-gradient(105deg,#3675e1,#4268cf); box-shadow: 0 5px 13px rgba(49,98,194,.17); }.admin-primary:hover { background: linear-gradient(105deg,#2f6bd6,#385dc3); }.admin-primary span { font-size: 15px; }
.auth-footnote { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 21px 0 0; padding-top: 17px; border-top: 1px solid #f0f2f6; color: #9aa5b4; font-size: 9px; }.lock-icon { color: #83a191; font-size: 14px; }
.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 26px; }.dashboard-heading h1 { margin: 9px 0 5px; font-family: var(--font-display); font-size: 31px; letter-spacing: -.055em; }.dashboard-heading p { margin: 0; color: #7c899c; font-size: 11px; }
.dashboard-user { display: flex; align-items: center; gap: 9px; padding: 7px 9px 7px 7px; border: 1px solid #e7ebf1; border-radius: 12px; background: #fff; }.user-avatar { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #e0e9fc; border-radius: 10px; color: #366bd0; background: #eff4ff; font-family: var(--font-display); font-weight: 800; font-size: 13px; }.dashboard-user > span:nth-child(2) { display: grid; gap: 3px; }.dashboard-user small { color: #96a1af; font-size: 8px; }.dashboard-user b { color: #31435e; font-size: 10px; }.logout-button { height: 29px; margin-left: 8px; padding: 0 9px; border: 1px solid #e9edf3; border-radius: 8px; color: #7e8b9e; background: #fff; font-size: 9px; cursor: pointer; }.logout-button:hover { color: #325faf; background: #f8faff; }
.metrics-row { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-bottom: 19px; }.metric-card { min-height: 82px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #e8edf3; border-radius: 14px; background: #fff; }.metric-icon { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; font-size: 16px; }.metric-blue { color: #4875d3; background: #eef3ff; }.metric-green { color: #439574; background: #eaf7ef; }.metric-amber { color: #b78534; background: #fff5e7; }.metric-card > div { display: grid; gap: 4px; }.metric-card small { color: #8c99ab; font-size: 9px; }.metric-card strong { color: #1c2e49; font-family: var(--font-display); font-size: 20px; line-height: 1; letter-spacing: -.04em; }.metric-card:nth-child(3) strong { font-size: 14px; }.metric-tail { margin-left: auto; align-self: end; padding-bottom: 6px; color: #99a5b3; font-size: 8px; }.revenue-metric strong { font-size: 17px; }.revenue-metric > div > small:last-child { color:#668673; font-size:9px; }
.sales-panel { margin-bottom:19px; }.sales-panel .panel-heading { align-items:center; }.sales-refresh { min-height:34px;padding:0 12px;border:1px solid #e1e7f0;border-radius:9px;color:#536b91;background:#fff;font-size:9px;font-weight:700;cursor:pointer; }.sales-refresh:hover { background:#f7f9fc; }.sales-list { display:grid; }.sale-row { display:grid;grid-template-columns:minmax(120px,1fr) minmax(220px,2fr) auto;align-items:center;gap:15px;padding:13px 0;border-top:1px solid #eff2f6; }.sale-buyer,.sale-apps { min-width:0;display:grid;gap:4px; }.sale-buyer b,.sale-apps b {overflow:hidden;color:#32435c;font-size:10px;text-overflow:ellipsis;white-space:nowrap;}.sale-buyer small,.sale-apps small {color:#8997a8;font-size:8px;}.sale-amount {color:#28835f;font-family:var(--font-display);font-size:14px;white-space:nowrap;}.sales-empty {padding:20px 0;text-align:center;color:#8997a8;font-size:10px;}
.payment-reviews-panel { margin-bottom:19px; border-color:#f0dfbd; background:#fffdf8; }.payment-reviews-panel .panel-kicker { color:#b17c25; }.review-amount { color:#9a671f; font-family:var(--font-display); font-size:14px; white-space:nowrap; }
.downloads-panel { margin-bottom:19px; }.downloads-summary { display:flex;flex-wrap:wrap;gap:9px;margin:2px 0 12px; }.downloads-summary span { display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #e8edf3;border-radius:9px;color:#8290a3;background:#fafbfd;font-size:9px; }.downloads-summary b { color:#32435c;font-size:11px; }.download-list { display:grid; }.download-row { display:grid;grid-template-columns:minmax(150px,1fr) minmax(120px,1fr) auto auto;align-items:center;gap:15px;padding:12px 0;border-top:1px solid #eff2f6; }.download-app,.download-user { min-width:0;display:grid;gap:4px; }.download-app b { overflow:hidden;color:#32435c;font-size:10px;text-overflow:ellipsis;white-space:nowrap; }.download-app small,.download-user small,.download-date,.download-size { color:#8997a8;font-size:8px; }.download-user { color:#53627a;font-size:9px; }.download-kind { min-width:56px;padding:5px 8px;border-radius:7px;text-align:center;font-size:8px;font-weight:700; }.download-kind.free { color:#34815e;background:#eaf7ef; }.download-kind.paid { color:#9a671f;background:#fff4df; }.downloads-empty { padding:20px 0;text-align:center;color:#8997a8;font-size:10px; }
.admin-layout { display: grid; grid-template-columns: minmax(0,1.17fr) minmax(280px,.83fr); align-items: start; gap: 17px; }.admin-column { min-width: 0; display: grid; gap: 17px; }
.admin-panel { min-width: 0; padding: 21px 22px; border: 1px solid #e7ebf2; border-radius: 16px; background: #fff; box-shadow: 0 4px 14px rgba(26,45,76,.025); }.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }.panel-kicker { color: #8897aa; font-size: 8px; font-weight: 700; letter-spacing: .15em; }.panel-heading h2 { margin: 5px 0 4px; color: #1c2c43; font-family: var(--font-display); font-size: 18px; letter-spacing: -.045em; }.panel-heading p { margin: 0; color: #8a96a7; font-size: 9px; line-height: 1.6; }.panel-step { color: #c1cbd8; font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.app-form { display: grid; gap: 14px; }.app-form textarea { min-height: 88px; padding-top: 10px; resize: vertical; line-height: 1.65; }.app-form select { cursor: pointer; }.form-row { display: grid; gap: 13px; }.form-row-two { grid-template-columns: repeat(2,minmax(0,1fr)); }.label-aside { color: #98a3b2; font-weight: 400; }.price-input-wrap { display: flex; align-items: center; height: 40px; padding-left: 12px; border: 1px solid #e3e8f0; border-radius: 9px; color: #74839a; background: white; }.price-input-wrap:focus-within { border-color: #91afe8; box-shadow: 0 0 0 3px rgba(59,110,205,.09); }.price-input-wrap span { color: #75839a; font-size: 11px; }.app-form .price-input-wrap input { height: 38px; min-height: 0; border: 0!important; box-shadow: none!important; padding-left: 7px!important; }.price-input-wrap input::-webkit-inner-spin-button, .price-input-wrap input::-webkit-outer-spin-button { appearance: none; margin: 0; }.price-input-wrap input { -moz-appearance: textfield; }
.upload-row { align-items: start; }.upload-field { display: grid; gap: 7px; color: #33435b; font-size: 10px; font-weight: 700; }.file-drop { min-height: 59px; display: flex; align-items: center; gap: 8px; padding: 8px; position: relative; border: 1px dashed #dce3ee; border-radius: 10px; background: #fbfcfe; cursor: pointer; transition: background .15s,border .15s; }.file-drop:hover { background: #f6f9ff; border-color: #b9cae8; }.upload-symbol { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #e7edf7; border-radius: 9px; color: #5b82cc; background: white; font-size: 14px; }.file-prompt { min-width: 0; display: grid; gap: 4px; }.file-prompt b { overflow: hidden; color: #506178; font-size: 9px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.file-prompt small { color: #a1acbb; font-size: 7px; font-weight: 400; line-height: 1.3; }.choose-file { flex: 0 0 auto; margin-left: auto; padding: 6px 7px; color: #4c6fae; border: 1px solid #e5eaf3; border-radius: 7px; background: white; font-size: 8px; font-weight: 700; }.file-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }.upload-field > .field-help { display: block; }
.form-options { display: flex; flex-wrap: wrap; gap: 18px; padding: 2px 0; }.check-option { display: flex; align-items: center; gap: 8px; position: relative; cursor: pointer; }.check-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }.custom-check { width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid #d7e0ec; border-radius: 5px; background: white; transition: all .15s; }.check-option input:checked + .custom-check { border-color: #5482df; background: #5482df; }.check-option input:checked + .custom-check::after { content: "✓"; color: white; font-size: 10px; }.check-option input:focus-visible + .custom-check { outline: 3px solid rgba(71,121,216,.2); }.check-option > span:last-child { display: grid; gap: 3px; }.check-option b { color: #526279; font-size: 9px; }.check-option small { color: #9ba5b3; font-size: 8px; }
.form-actions { display: flex; align-items: center; gap: 12px; padding-top: 2px; }.form-actions .button { min-width: 177px; justify-content: space-between; padding-inline: 14px; font-size: 10px; }.text-button { border: 0; color: #728198; background: transparent; font-size: 9px; font-weight: 600; cursor: pointer; }.text-button:hover { color: #315fbc; }.upload-progress { overflow: hidden; height: 4px; border-radius: 5px; background: #edf1f8; }.upload-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#4b83e2,#82d5b3); transition: width .15s; }
.apps-panel { padding-bottom: 8px; }.apps-list { display: grid; }.admin-app-row { display: grid; grid-template-columns: 43px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #f0f2f6; }.admin-app-icon { width: 39px; height: 39px; display: grid; place-items: center; overflow: hidden; border: 1px solid #e8edf5; border-radius: 12px; color: #4476d3; background: #eff4ff; font-family: var(--font-display); font-size: 15px; font-weight: 700; }.admin-app-icon img { width: 100%; height: 100%; object-fit: cover; }.admin-app-main { min-width: 0; display: grid; gap: 5px; }.admin-app-main b { overflow: hidden; color: #304159; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.admin-app-meta { display: flex; align-items: center; gap: 7px; color: #9aa4b3; font-size: 8px; }.admin-app-id { min-width: 0; color: #8d98a8; font-size: 8px; overflow-wrap: anywhere; }.admin-app-id code { color: #64758d; font: 600 8px ui-monospace,Consolas,monospace; }.app-status { display: inline-flex; align-items: center; gap: 4px; }.app-status::before { content: ""; width: 5px; height: 5px; border-radius: 5px; background: #82c5a5; }.app-status.draft::before { background: #c3cad4; }.admin-row-actions { display: flex; align-items: center; gap: 5px; }.row-action { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #e9edf3; border-radius: 8px; color: #7888a1; background: white; font-size: 12px; cursor: pointer; }.row-action:hover { color: #3568c7; background: #f3f7ff; border-color: #dce6f7; }.row-action.delete:hover { color: #d65c61; background: #fff5f5; border-color: #f2dede; }.list-empty { min-height: 105px; display: grid; align-content: center; justify-items: center; gap: 6px; border-top: 1px solid #f0f2f6; color: #8290a3; text-align: center; }.list-empty > span { color: #72a98d; font-size: 17px; }.list-empty b { color: #55667f; font-size: 10px; }.list-empty small { color: #9aa5b3; font-size: 8px; }
.settings-illustration { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 12px; color: #2773c9; background: #eaf3ff; font-size: 22px; }.settings-form { gap: 16px; }.paypal-input-wrap { height: 40px; display: flex; align-items: center; padding-left: 10px; overflow: hidden; border: 1px solid #e3e8f0; border-radius: 9px; background: white; }.paypal-input-wrap:focus-within { border-color: #91afe8; box-shadow: 0 0 0 3px rgba(59,110,205,.09); }.paypal-input-wrap > span { flex: 0 0 auto; color: #7c8ba0; font-size: 10px; }.app-form .paypal-input-wrap input { height: 38px; min-height: 0; padding-left: 0; border: 0; box-shadow: none; }.settings-form > label .field-help { display: block; }.paypal-preview { min-width: 0; display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid #ebeff5; border-radius: 11px; background: linear-gradient(115deg,#fafcff,#f6f8fc); }.paypal-preview-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: #1268b3; font-family: Georgia,serif; font-size: 17px; font-weight: 700; font-style: italic; }.paypal-preview > span:nth-child(2) { min-width: 0; display: grid; gap: 4px; }.paypal-preview small { color: #97a2b1; font-size: 7px; font-weight: 700; letter-spacing: .12em; }.paypal-preview b { overflow: hidden; color: #51627b; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.preview-link-mark { margin-left: auto; color: #8798b0; font-size: 14px; }.settings-save { min-height: 39px; justify-content: space-between; padding-inline: 13px; border: 1px solid #e0e7f1; color: #46669f; background: white; font-size: 9px; }.settings-save:hover { background: #f7f9fd; border-color: #cdd9ea; }.settings-save span { font-size: 13px; }.payment-info { display: flex; align-items: flex-start; gap: 8px; margin-top: 15px; padding-top: 14px; border-top: 1px solid #eff2f6; }.payment-info > span { flex: 0 0 auto; width: 14px; height: 14px; display: grid; place-items: center; border: 1px solid #bed0e7; border-radius: 50%; color: #6d8ab3; font-family: Georgia,serif; font-size: 9px; font-weight: 700; }.payment-info p { margin: 0; color: #8b98a9; font-size: 8px; line-height: 1.65; }.admin-tip { display: flex; align-items: flex-start; gap: 10px; padding: 16px; border: 1px solid #e1eee7; border-radius: 14px; background: linear-gradient(120deg,#f5fbf7,#f9fbfa); }.tip-star { color: #62a786; font-size: 19px; }.admin-tip b { color: #496555; font-size: 10px; }.admin-tip p { margin: 5px 0 0; color: #82968a; font-size: 9px; line-height: 1.65; }.admin-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 21px; color: #a0aab7; font-size: 8px; }.admin-footer a { color: #637da8; font-weight: 600; }
.toast.error { background: #982f39; }
.owner-panel { margin-top: 17px; }.owner-grid { display:grid;grid-template-columns:1fr 1fr;gap:20px; }.owner-form { align-content:start;padding:16px;border:1px solid #edf0f6;border-radius:13px;background:#fcfdff; }.owner-form h3 { margin:0 0 2px;color:#344866;font-family:var(--font-display);font-size:12px;letter-spacing:-.02em; }.owner-form .button { min-height:37px;font-size:9px; }.owner-form .form-row-two { grid-template-columns:1fr 1fr; }.owner-accounts { display:grid;margin-top:17px;border-top:1px solid #edf0f6; }.owner-account-row { min-width:0;display:grid;grid-template-columns:76px minmax(135px,.8fr) minmax(0,1.5fr);align-items:center;gap:11px;padding:11px 3px;border-bottom:1px solid #f0f2f6; }.account-role-tag { display:inline-flex;justify-content:center;padding:5px 7px;border-radius:7px;color:#5b69bf;background:#f0f1ff;font-size:8px;font-weight:700; }.account-role-tag.member { color:#428a6d;background:#eaf7ef; }.owner-account-name { min-width:0;display:grid;gap:4px; }.owner-account-name b,.owner-account-name small { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.owner-account-name b { color:#43546c;font-size:9px; }.owner-account-name small { color:#97a1ae;font-size:8px; }.owner-access { display:flex;flex-wrap:wrap;align-items:center;gap:5px; }.owner-access > small { color:#a3adba;font-size:8px; }.access-chip { display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border:1px solid #ebdfc6;border-radius:7px;color:#936824;background:#fff8e9;font-size:7px;font-weight:600;cursor:pointer; }.access-chip span { font-size:10px; }.access-chip:hover { color:#b44047;background:#fff0ef;border-color:#f0d3d1; }
@media (max-width: 940px) { .admin-layout { grid-template-columns: 1fr; }.settings-column { grid-template-columns: 1.3fr .7fr; align-items: start; }.settings-column .admin-tip { align-self: start; } }
@media (max-width: 760px) { .admin-topbar { gap:6px; padding-inline:max(17px,calc((100% - 560px)/2)); }.admin-nav-label { display: none; }.admin-topbar .store-brand-group { gap:5px; }.admin-topbar .brand { gap:4px; font-size:12px; }.admin-topbar .brand img { width:28px; height:28px; }.admin-top-user { gap:5px; }.admin-top-user .user-avatar { width:26px; height:26px; border-radius:8px; }.admin-top-user .logout-button { height:27px; margin-left:2px; padding-inline:6px; font-size:8px; white-space:nowrap; }.admin-shell { width: min(100% - 34px,560px); padding-top: 30px; }.auth-view { min-height: calc(100vh - 130px); align-items: center; }.auth-art { top: -13px; font-size: 7px; }.auth-card { padding: 29px 23px 21px; }.auth-panel h1 { font-size: 25px; }.dashboard-heading { display: block; }.dashboard-heading h1 { font-size: 27px; }.dashboard-user { width: fit-content; margin-top: 18px; }.admin-top-user.dashboard-user { margin-top:0; }.metrics-row { grid-template-columns: 1fr; gap: 8px; }.metric-card { min-height: 67px; }.metric-tail { align-self: center; padding: 0; }.admin-panel { padding: 18px 16px; }.settings-column { grid-template-columns: 1fr; }.form-row-two { gap: 10px; }.upload-row { grid-template-columns: 1fr; }.upload-field { gap: 6px; }.app-form { gap: 12px; }.form-options { gap: 13px; }.owner-grid { grid-template-columns:1fr;gap:11px; }.owner-account-row { grid-template-columns:62px minmax(0,1fr); }.owner-access { grid-column:2; }.admin-footer { padding-top: 16px; } }
@media (max-width: 430px) { .form-row-two { grid-template-columns: 1fr; }.price-input-wrap { max-width: none; }.form-options { flex-direction: column; }.file-prompt small { font-size: 7px; }.form-actions { flex-wrap: wrap; }.form-actions .button { min-width: 165px; } }

.sales-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; }
.admin-logs-dialog { width:min(720px,calc(100vw - 28px)); max-height:min(82vh,760px); max-height:min(82dvh,760px); margin:auto; padding:24px; overflow:hidden; border:1px solid #e2e8f1; border-radius:18px; color:#30425d; background:#fff; box-shadow:0 24px 80px rgba(21,37,63,.25); }
.admin-logs-dialog::backdrop { background:rgba(21,34,53,.62); backdrop-filter:blur(4px); }
.support-admin-menu-link { display:flex!important; align-items:center; justify-content:space-between; gap:12px; }
.support-admin-menu-link b { min-width:20px; padding:3px 6px; border-radius:20px; color:#fff; background:#cb4f58; text-align:center; font-size:8px; }
.support-admin-count { flex:0 0 auto; padding:8px 11px; border:1px solid #e7ebf3; border-radius:10px; color:#6c7e96; background:#f8faff; font-size:9px; font-weight:700; }
.support-admin-layout { display:grid; grid-template-columns:minmax(240px,.8fr) minmax(0,1.4fr); gap:16px; min-height:360px; }
.support-admin-ticket-list { display:grid; align-content:start; gap:8px; max-height:660px; overflow:auto; }
.support-admin-ticket { display:grid; gap:6px; width:100%; padding:12px; border:1px solid #e7ebf2; border-radius:12px; text-align:left; color:#283b56; background:#fff; cursor:pointer; }
.support-admin-ticket:hover,.support-admin-ticket[aria-current="true"] { border-color:#cbd5f6; background:#f7f8ff; }
.support-admin-ticket-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.support-admin-ticket-heading b { min-width:0; font-size:10px; line-height:1.4; }
.support-admin-ticket small { color:#8693a5; font-size:8px; line-height:1.4; }
.support-admin-ticket-preview { display:-webkit-box; overflow:hidden; color:#65758c; font-size:9px; line-height:1.45; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.support-admin-ticket-badge { flex:0 0 auto; padding:4px 6px; border-radius:7px; color:#6879c7; background:#f0f2ff; font-size:7px; font-weight:700; }
.support-admin-ticket-badge.is-new { color:#a13e48; background:#fff0f0; }
.support-admin-thread { min-width:0; display:grid; align-content:start; gap:14px; padding:16px; border:1px solid #e8edf4; border-radius:14px; background:#fbfcff; }
.support-admin-placeholder { display:grid; align-content:center; justify-items:center; min-height:260px; text-align:center; }
.support-admin-placeholder b { color:#354968; font-family:var(--font-display); font-size:14px; }
.support-admin-placeholder p { color:#8491a3; font-size:9px; }
.support-admin-thread-heading { display:flex; justify-content:space-between; gap:12px; padding-bottom:12px; border-bottom:1px solid #e8edf4; }
.support-admin-thread-heading h3 { margin:0 0 5px; color:#263956; font-family:var(--font-display); font-size:15px; }
.support-admin-thread-heading p { margin:0; color:#7b899d; font-size:9px; line-height:1.5; }
.support-admin-thread-status { color:#75859d; font-size:8px; text-align:right; }
.support-admin-messages { display:grid; gap:9px; max-height:380px; padding:3px; overflow:auto; }
.support-admin-actions { display:flex; flex-wrap:wrap; gap:8px; }
.support-admin-actions button,.support-admin-reply button { min-height:34px; padding:0 12px; border:1px solid #e2e7f1; border-radius:9px; color:#4a5d78; background:white; font-size:9px; font-weight:700; cursor:pointer; }
.support-admin-actions .support-claim-button,.support-admin-reply button { border-color:#5368ca; color:white; background:#5368ca; }
.support-admin-reply { display:grid; gap:9px; }
.support-admin-reply label { display:grid; gap:6px; color:#465972; font-size:9px; font-weight:700; }
.support-admin-reply textarea { width:100%; min-height:90px; padding:10px; border:1px solid #e0e6ef; border-radius:10px; outline:0; color:#233650; background:white; font:500 10px var(--font-body); resize:vertical; }
.support-admin-reply textarea:focus { border-color:#9aacf0; box-shadow:0 0 0 3px rgba(83,103,211,.1); }
.support-admin-notice { margin:0; padding:10px 11px; border:1px solid #f0e5c6; border-radius:10px; color:#80621e; background:#fff9e9; font-size:9px; line-height:1.5; }
.support-admin-empty { padding:15px; border:1px dashed #e0e6ef; border-radius:12px; color:#8491a3; font-size:9px; text-align:center; }
@media (max-width:760px) { .support-admin-layout { grid-template-columns:1fr; }.support-admin-ticket-list { max-height:250px; }.support-admin-thread { min-height:250px; padding:12px; }.support-admin-panel .panel-heading { flex-wrap:wrap; }.support-admin-count { margin-top:8px; } }
.admin-logs-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding-bottom:16px; border-bottom:1px solid #edf0f5; }
.admin-logs-heading h2 { margin:5px 0; color:#20324d; font-family:var(--font-display); font-size:22px; letter-spacing:-.04em; }
.admin-logs-heading p { margin:0; color:#7a879a; font-size:11px; line-height:1.6; }
.admin-logs-close { flex:0 0 auto; width:34px; height:34px; border:1px solid #e6ebf2; border-radius:10px; color:#687990; background:#fff; font-size:21px; cursor:pointer; }
.admin-logs-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; color:#8793a4; font-size:9px; }
.admin-log-list { display:grid; max-height:min(58vh,520px); max-height:min(58dvh,520px); overflow:auto; }
.admin-log-row { display:grid; gap:5px; padding:11px 2px; border-top:1px solid #eff2f6; }
.admin-log-meta { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.admin-log-meta b { color:#41536d; font-size:10px; }.admin-log-meta time { color:#929eae; font-size:8px; white-space:nowrap; }
.admin-log-row p { margin:0; overflow-wrap:anywhere; color:#7e8b9e; font-size:9px; line-height:1.55; }
.admin-log-row code { color:#53647d; font:600 10px ui-monospace,Consolas,monospace; }
.admin-logs-empty,.admin-logs-error { margin:12px 0; padding:13px; border-radius:9px; color:#728096; background:#f7f9fc; font-size:10px; line-height:1.6; }
.admin-logs-error { color:#9b4444; background:#fff6f5; }
@media (max-width:760px) { .sales-actions { margin-top:5px; justify-content:flex-start; }.admin-logs-dialog { padding:19px 16px; }.admin-logs-heading h2 { font-size:19px; }.admin-log-row p { font-size:9px; } }

/* Dashboard text is intentionally larger for comfortable reading. */
.admin-page .dashboard-heading h1 { font-size: 34px; }
.admin-page .dashboard-heading p { font-size: 13px; }
.admin-page .dashboard-user { gap: 11px; padding: 8px 11px 8px 8px; }
.admin-page .user-avatar { width: 42px; height: 42px; overflow: hidden; border-radius: 12px; }
.admin-page .user-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.admin-page .dashboard-user small { color: #78879a; font-size: 11px; }
.admin-page .dashboard-user b { font-size: 13px; }
.admin-page .logout-button { height: 34px; padding-inline: 11px; font-size: 11px; }
.admin-page .metric-card { min-height: 90px; }
.admin-page .metric-card small { font-size: 11px; }
.admin-page .metric-card strong { font-size: 24px; }
.admin-page .metric-card:nth-child(3) strong { font-size: 17px; }
.admin-page .metric-card.revenue-metric strong { font-size: 17px; }
.admin-page .metric-tail { font-size: 10px; }
@media (max-width: 760px) { .download-row { grid-template-columns:minmax(0,1fr) auto;gap:7px 10px; }.download-kind { grid-column:2;grid-row:1; }.download-date { grid-column:2;grid-row:2; }.download-size { grid-column:1/-1; }.sale-row { grid-template-columns:minmax(0,1fr) auto;gap:7px 10px; }.sale-buyer,.sale-apps { grid-column:1; }.sale-amount,.review-amount { grid-column:2;grid-row:1 / span 2; } }
.download-user b { overflow:hidden;color:#53627a;font-size:9px;text-overflow:ellipsis;white-space:nowrap; }.download-details { display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px; }
@media (max-width: 760px) { .download-app { grid-column:1;grid-row:1; }.download-kind { grid-column:2;grid-row:1; }.download-user { grid-column:1/-1;grid-row:2; }.download-details { grid-column:1/-1;grid-row:3; }.download-date { grid-column:1;grid-row:1; }.download-size { grid-column:2;grid-row:1; } }
.admin-page .panel-kicker { font-size: 10px; }
.admin-page .panel-heading h2 { font-size: 21px; }
.admin-page .panel-heading p { font-size: 12px; }
.admin-page .app-form label, .admin-page .upload-field { font-size: 12px; }
.admin-page .app-form input:not([type=checkbox]):not([type=file]), .admin-page .app-form textarea, .admin-page .app-form select, .admin-page .stack-form input { min-height: 44px; font-size: 13px; }
.admin-page .app-form .price-input-wrap input { min-height: 0; height: 42px; font-size: 13px; }
.admin-page .price-input-wrap span, .admin-page .paypal-input-wrap > span { font-size: 12px; }
.admin-page .field-help { color: #748399; font-size: 11px; }
.admin-page .file-drop { min-height: 66px; }
.admin-page .file-prompt b { font-size: 11px; }
.admin-page .file-prompt small { color: #748399; font-size: 10px; }
.admin-page .choose-file { font-size: 10px; }
.admin-page .check-option b { font-size: 11px; }
.admin-page .check-option small { color: #78879a; font-size: 10px; }
.admin-page .form-actions .button, .admin-page .settings-save, .admin-page .owner-form .button { font-size: 12px; }
.admin-page .text-button { font-size: 11px; }
.admin-page .admin-app-main b { font-size: 12px; }
.admin-page .admin-app-meta { color: #748399; font-size: 10px; }
.admin-page .list-empty b { font-size: 12px; }
.admin-page .list-empty small { color: #748399; font-size: 10px; }
.admin-page .paypal-preview small { font-size: 9px; }
.admin-page .paypal-preview b { font-size: 11px; }
.admin-page .payment-info p, .admin-page .admin-tip p { color: #6f7f93; font-size: 11px; }
.admin-page .admin-tip b { font-size: 12px; }
.admin-page .admin-footer { font-size: 11px; }
.admin-page .owner-form h3 { font-size: 15px; }
.translation-fields { padding: 12px; border: 1px solid #e8edf3; border-radius: 10px; background: #fbfcfe; }
.translation-fields > summary { color: #526279; font-size: 11px; font-weight: 700; cursor: pointer; }
.translation-fields > .field-help { margin: 8px 0 12px; }
.translation-locale { display: grid; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #edf0f5; }
.translation-locale > b { color: #66758b; font-size: 10px; }
.translation-locale label { display: grid; gap: 6px; color: #53627a; font-size: 10px; }
.translation-locale input, .translation-locale textarea { width: 100%; padding: 10px; border: 1px solid #e3e8f0; border-radius: 8px; color: #33435b; background: white; font: inherit; }
.translation-locale textarea { min-height: 72px; resize: vertical; }
.translation-fields[open] { background: white; }
.admin-page .account-role-tag { font-size: 11px; }
.admin-page .owner-account-name b { font-size: 11px; }
.admin-page .owner-account-name small, .admin-page .owner-access > small { color: #748399; font-size: 10px; }
.admin-page .access-chip { font-size: 9px; }

@media (max-width: 760px) {
  .admin-page .dashboard-heading h1 { font-size: 28px; }
  .admin-page .dashboard-heading p { font-size: 12px; }
  .admin-page .metric-card small { font-size: 11px; }
  .admin-page .panel-heading h2 { font-size: 19px; }
  .admin-page .panel-heading p { font-size: 11px; }
  .admin-page .app-form label, .admin-page .upload-field { font-size: 11px; }
  .admin-page .app-form input:not([type=checkbox]):not([type=file]), .admin-page .app-form textarea, .admin-page .app-form select { font-size: 13px; }
}

.admin-page .auth-art { color: #64758c; font-size: 11px; letter-spacing: .08em; }
.admin-page .auth-customer-link { font-size: 12px; }
.admin-page .auth-feedback { font-size: 12px; }
.admin-page .auth-lead { font-size: 13px; }
.admin-page .stack-form label { font-size: 12px; }
.admin-page .auth-footnote { font-size: 11px; }
.admin-page .admin-nav-label { font-size: 12px; }
.admin-page .paypal-preview small { font-size: 11px; }
.admin-page .access-chip { font-size: 11px; }
.admin-page .file-prompt small, .admin-page .choose-file,
.admin-page .check-option small, .admin-page .admin-app-meta,
.admin-page .list-empty small, .admin-page .owner-account-name small,
.admin-page .owner-access > small { font-size: 11px; }
.admin-page [hidden] { display: none !important; }
.admin-layout[data-admin-view="editor"], .admin-layout[data-admin-view="apps"], .admin-layout[data-admin-view="settings"] { grid-template-columns: minmax(0,1fr); }
.admin-layout[data-admin-view="settings"] .settings-column { grid-column: 1; }
.media-file-row { display:flex;align-items:center;gap:8px;min-width:0; }
.media-file-row input[type="file"] { min-width:0;flex:1 1 180px;color:#64748a;font-size:10px; }
.media-file-row input[type="file"]::file-selector-button { min-height:32px;margin-right:7px;padding:0 10px;border:1px solid #dce4f4;border-radius:8px;color:#3a51ca;background:#f0f3ff;font:inherit;font-weight:700;cursor:pointer; }
.media-remove-button { min-height:32px;flex:0 0 auto;padding:0 11px;border:1px solid #eddde0;border-radius:8px;color:#a34b59;background:#fff7f8;font-size:10px;font-weight:700;cursor:pointer; }
.media-remove-button:hover:not(:disabled) { border-color:#dfbdc4;background:#fff0f2; }
.media-remove-button:disabled { opacity:.48;cursor:not-allowed; }

.admin-page .dashboard-user.admin-top-user { align-items: flex-start; gap: 10px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.admin-page .admin-top-identity { display: grid; justify-items: center; gap: 2px; }
.admin-page .admin-top-user .user-avatar { width: 34px; height: 34px; border-radius: 9px; }
.admin-page .admin-top-role { color: #78879a; font-size: 7px; font-weight: 700; line-height: 1; }
.admin-page .admin-top-user .logout-button { height: 34px; margin: 0; padding-inline: 11px; }
.admin-page:not(.has-admin-session) .section-menu-toggle { display: none !important; }
.admin-page:not(.has-admin-session) .admin-section-drawer { visibility: hidden; pointer-events: none; }
.payment-sound-settings { display:grid;gap:9px;margin-top:17px;padding:14px;border:1px solid #e6ebf2;border-radius:13px;background:#fafbfd; }
.payment-sound-settings h3 { margin:0 0 5px;color:#31435d;font-size:13px; }
.payment-sound-settings p { margin:0;color:#718198;font-size:10px;line-height:1.55; }
.payment-sound-file { display:inline-flex;align-items:center;justify-self:start;min-height:34px;padding:0 12px;border:1px solid #dce4f4;border-radius:8px;color:#3a51ca;background:#f0f3ff;font-size:10px;font-weight:700;cursor:pointer; }
.payment-sound-file input { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%); }
.payment-sound-file:focus-within { outline:2px solid #758be2;outline-offset:2px; }
.payment-sound-help { color:#8290a3;font-size:9px; }
.payment-sound-actions { display:flex;flex-wrap:wrap;gap:7px; }
.payment-sound-actions .settings-save { min-height:34px;justify-content:center;font-size:10px; }
.payment-sound-actions button:disabled { opacity:.5;cursor:not-allowed; }
.payment-sound-status { min-height:16px; }
@media (max-width: 760px) {
  .admin-page .dashboard-user.admin-top-user { gap: 8px; }
  .admin-page .admin-top-user .admin-security-link { display:none; }
  .admin-page .admin-top-user .user-avatar { width: 27px; height: 27px; border-radius: 7px; }
  .admin-page .admin-top-user .logout-button { height: 27px; margin: 0; padding-inline: 7px; }
}
.book-product-settings { display:grid; gap:12px; padding:13px 14px; border:1px solid #e4eaf2; border-radius:12px; background:#fbfcfe; }
.book-product-settings summary { color:#334a68; font-size:12px; font-weight:750; cursor:pointer; }
.book-product-settings[open] { gap:13px; }
.physical-store-settings { display:grid; gap:12px; padding:14px; border:1px solid #e4e9f1; border-radius:12px; background:linear-gradient(135deg,#fbfcff,#f7fbff); }
.physical-store-settings h3 { margin:0; color:#334866; font-family:var(--font-display); font-size:13px; }
.physical-store-settings .form-row { align-items:start; }
.physical-store-config-note { margin:0; line-height:1.55; }
.physical-admin-panel { margin-bottom:18px; }
.physical-product-form { max-width:860px; padding:16px; border:1px solid #edf0f5; border-radius:13px; background:#fcfdff; }
.physical-product-form > label:not(.check-option):not(.upload-field) { display:grid; gap:6px; color:#33435b; font-size:10px; font-weight:700; }
.physical-product-form input:not([type=checkbox]):not([type=file]),.physical-product-form textarea { width:100%; min-height:39px; padding:9px 10px; border:1px solid #e3e8f0; border-radius:9px; color:#33435b; background:#fff; font:inherit; font-size:11px; }
.physical-product-form textarea { min-height:74px; resize:vertical; }
.physical-product-form .physical-product-description { min-height:78px; }
.physical-admin-list-wrap,.physical-orders-wrap { margin-top:22px; padding-top:17px; border-top:1px solid #edf0f5; }
.physical-admin-list-wrap h3,.physical-orders-wrap h3 { margin:0 0 10px; color:#32455f; font-family:var(--font-display); font-size:14px; }
.physical-admin-list { display:grid; }
.physical-admin-row { min-width:0; display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:10px; padding:10px 0; border-top:1px solid #eff2f6; }
.physical-admin-row .admin-app-icon { width:39px; height:39px; }
.physical-admin-row .admin-app-main { gap:4px; }
.physical-admin-summary { overflow:hidden; color:#8996a8; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.physical-orders-list { display:grid; }
.physical-order-row { display:grid; gap:8px; padding:13px 0; border-top:1px solid #eff2f6; }
.physical-order-head { display:flex; justify-content:space-between; align-items:baseline; gap:10px; color:#31435d; font-size:11px; }
.physical-order-head strong { color:#28835f; font-size:13px; white-space:nowrap; }
.physical-order-meta { display:flex; flex-wrap:wrap; gap:5px 12px; color:#7d8ba0; font-size:9px; }
.physical-order-meta code { color:#67768c; font:10px ui-monospace,Consolas,monospace; }
.physical-order-address { margin:0; color:#596b82; font-size:10px; line-height:1.55; }
.physical-order-update { display:grid; grid-template-columns:minmax(120px,.6fr) minmax(150px,1fr) auto; gap:7px; }
.physical-order-update select,.physical-order-update input { min-width:0; min-height:34px; padding:0 9px; border:1px solid #e2e8f0; border-radius:8px; color:#4b5d75; background:white; font:inherit; font-size:10px; }
.physical-order-update .sales-refresh { min-height:34px; }
@media (max-width:760px) {
  .physical-store-settings { padding:12px; }
  .physical-product-form { padding:13px; }
  .physical-order-update { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .physical-order-update .sales-refresh { grid-column:1/-1; }
  .physical-admin-row { grid-template-columns:38px minmax(0,1fr) auto; gap:7px; }
  .physical-admin-row .admin-app-icon { width:35px; height:35px; border-radius:10px; }
  .physical-admin-row .admin-app-meta { flex-wrap:wrap; gap:4px; }
}
