:root{
  --bg:#f4f6f8;
  --panel:#fff;
  --text:#15181d;
  --muted:#6d7480;
  --line:#e3e7ec;
  --accent:#111827;
  --success:#0f8b55;
  --danger:#b42318;
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text)}
a{color:inherit}

/* login */
.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top,#e7edf5 0,#f7f8fa 38%,#eef1f5 100%)}
.login-card{width:min(100%,420px);background:#fff;border:1px solid var(--line);border-radius:24px;padding:34px;box-shadow:0 22px 60px rgba(15,23,42,.1)}
.brand-badge{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#111827;color:#fff;font-weight:800;margin:0 auto 22px}
.login-card h1{margin:0 0 8px;font-size:30px}
.login-card p{margin:0 0 24px;color:var(--muted)}

/* forms */
.form-grid{display:grid;gap:16px}
.form-grid label{display:grid;gap:8px;font-size:14px;font-weight:650}
.form-grid label small{font-weight:500;color:var(--muted)}
input,textarea,select{width:100%;border:1px solid #d8dde5;border-radius:13px;padding:13px 14px;font:inherit;background:#fff;outline:none;transition:.2s}
input:focus,textarea:focus,select:focus{border-color:#94a3b8;box-shadow:0 0 0 4px rgba(148,163,184,.14)}
input[type=file]{padding:10px;background:#fafbfc}
textarea{resize:vertical}
.btn{border:0;border-radius:13px;padding:13px 16px;font-weight:750;font-size:14px;cursor:pointer}
.btn.primary{background:#111827;color:#fff}
.btn.primary:hover{background:#273244}
.btn.small{padding:8px 10px;border-radius:9px;font-size:12px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.btn.secondary{background:#f1f4f7;color:#29313b}
.btn.danger-ghost{background:#fff1f0;color:var(--danger)}
.alert{padding:12px 14px;border-radius:12px;margin-bottom:18px;font-size:14px}
.alert.error{background:#fff1f0;color:var(--danger);border:1px solid #ffd5d2}
.alert.success{background:#edfdf5;color:var(--success);border:1px solid #c9f1dc}
.check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:8px!important}
.check input{width:auto}

/* topbar */
.topbar{height:70px;padding:0 28px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:20}
.topbar>div:first-child{display:flex;align-items:baseline;gap:12px}
.topbar strong{font-size:18px}
.topbar span{font-size:13px;color:var(--muted)}
.top-actions{display:flex;align-items:center;gap:18px}
.top-actions a{text-decoration:none;font-weight:700;font-size:14px}

/* workspace */
.workspace{display:grid;grid-template-columns:minmax(420px,680px) minmax(430px,1fr);gap:34px;max-width:1440px;margin:0 auto;padding:30px}
.controls{display:grid;gap:22px}
.panel{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.panel-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}
.panel-head small,.preview-label span{font-size:11px;letter-spacing:.12em;color:#7b8490;font-weight:800}
.panel-head h2{margin:4px 0 0;font-size:20px}
.device-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.choice-card{border:1px solid var(--line);border-radius:16px;padding:16px;cursor:pointer;position:relative}
.choice-card input{position:absolute;opacity:0}
.choice-card span{display:block;font-size:16px;font-weight:800}
.choice-card small{display:block;margin-top:4px}
.choice-card:has(input:checked){border-color:#111827;box-shadow:inset 0 0 0 1px #111827;background:#f8fafc}
.muted{color:var(--muted);font-size:14px}
.empty-state{padding:16px;border:1px dashed #cfd6df;border-radius:14px;color:var(--muted);font-size:14px;background:#fafbfc}
.locked-image-box{display:grid;grid-template-columns:58px 1fr;gap:12px;align-items:center;border:1px solid var(--line);border-radius:15px;padding:12px;background:#f8fafc}
.locked-image-box[hidden]{display:none}
.locked-image-box img{width:58px;height:58px;object-fit:cover;border-radius:14px}
.locked-image-box strong,.locked-image-box span{display:block}
.locked-image-box strong{font-size:14px}
.locked-image-box span{font-size:12px;color:var(--muted);margin-top:4px;line-height:1.4}

/* history */
.history-list{display:grid;gap:10px}
.history-item{display:grid;grid-template-columns:46px 1fr auto;gap:12px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:14px}
.history-item img,.mini-icon{width:46px;height:46px;border-radius:12px;object-fit:cover}
.mini-icon{display:grid;place-items:center;background:#111827;color:#fff;font-weight:800}
.history-item div:nth-child(2){min-width:0}
.history-item strong,.history-item span{display:block}
.history-item span{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}
.icon-btn{width:34px;height:34px;border:0;border-radius:10px;background:#f4f6f8;cursor:pointer;font-size:20px;color:#6b7280}

/* preview */
.preview-wrap{min-width:0}
.preview-sticky{position:sticky;top:100px;display:grid;place-items:center}
.preview-label{width:100%;max-width:440px;display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.preview-label strong{font-size:13px}
.preview-tip{margin:16px auto 0;max-width:440px;text-align:center;color:#6b7280;font-size:13px;line-height:1.5}

.phone{position:relative;display:grid;place-items:center}
.phone.iphone{width:393px;height:852px}
.phone.samsung{width:390px;height:844px}
.phone-shell{position:relative;width:100%;height:100%;padding:5px;background:#020202;border-radius:58px;box-shadow:0 28px 60px rgba(0,0,0,.2), inset 0 0 0 1px rgba(255,255,255,.03)}
.phone.iphone .phone-shell::before{content:"";position:absolute;inset:0;border-radius:58px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.045), inset 0 0 0 2px rgba(255,255,255,.025);pointer-events:none}
.phone.samsung .phone-shell{padding:4px;border-radius:36px}
.phone.samsung .phone-shell::before{content:"";position:absolute;inset:0;border-radius:36px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.035);pointer-events:none}
.screen{position:relative;width:100%;height:100%;overflow:hidden;border-radius:53px;background-size:cover;background-position:center;color:#fff}
.phone.samsung .screen{border-radius:32px}
.phone.iphone .screen{background-size:100% 100%;background-repeat:no-repeat;background-position:center top}
.phone.iphone .screen::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 74%, rgba(0,0,0,.12) 100%);pointer-events:none}

/* status bars */
.ios-statusbar,.android-statusbar{position:absolute;left:0;right:0;z-index:5;align-items:center}
.ios-statusbar{top:0;padding:17px 24px 0;display:flex;justify-content:space-between}
.android-statusbar{top:0;height:42px;padding:13px 16px 0;display:none;justify-content:space-between;font-size:13px;font-weight:700}
.phone.iphone .ios-statusbar{display:flex}
.phone.iphone .android-statusbar{display:none}
.phone.samsung .ios-statusbar{display:none}
.phone.samsung .android-statusbar{display:flex}
.ios-carrier{display:flex;align-items:center;gap:5px;font-size:12px;line-height:1;font-weight:800;letter-spacing:-.01em}
.ios-system-icons,.android-status-icons{display:flex;align-items:center;gap:7px}
.silent-icon{width:14px;height:14px;stroke:#fff;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;opacity:.95}
.cellular-bars{display:inline-flex;align-items:flex-end;gap:1.5px;height:12px}
.cellular-bars i{display:block;width:2.2px;background:#fff;border-radius:2px}
.cellular-bars i:nth-child(1){height:4px;opacity:.65}
.cellular-bars i:nth-child(2){height:6px;opacity:.78}
.cellular-bars i:nth-child(3){height:9px;opacity:.9}
.cellular-bars i:nth-child(4){height:11px}
.wifi-icon{width:15px;height:15px;stroke:#fff;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.battery-icon{position:relative;display:inline-block;width:24px;height:12px;border:1.8px solid #fff;border-radius:4px}
.battery-icon::after{content:"";position:absolute;right:-3.3px;top:3px;width:2px;height:4px;background:#fff;border-radius:0 2px 2px 0}
.battery-icon i{position:absolute;inset:1.6px 5px 1.6px 1.6px;background:#fff;border-radius:2px}

/* island / camera */
.iphone-island{display:none;position:absolute;top:11px;left:50%;transform:translateX(-50%);width:126px;height:36px;background:#000;border-radius:20px;z-index:6;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}
.island-dot{position:absolute;left:50%;top:50%;width:7px;height:7px;border-radius:50%;background:#ff9818;transform:translate(-50%,-50%);box-shadow:0 0 0 1px rgba(255,152,24,.2),0 0 10px rgba(255,152,24,.2)}
.samsung-camera{display:none;position:absolute;top:14px;left:50%;transform:translateX(-50%);width:12px;height:12px;border-radius:50%;background:#080808;z-index:6;box-shadow:inset 0 0 0 2px #232323}
.phone.iphone .iphone-island{display:block}
.phone.samsung .samsung-camera{display:block}

/* lockscreen content */
.lock-content{position:relative;padding-top:103px;text-align:center;z-index:4}
.phone.iphone .lock-date{font-size:19px;line-height:1.2;font-weight:700;color:#fafafa;text-shadow:0 1px 6px rgba(0,0,0,.26)}
.phone.iphone .lock-time{font-size:112px;line-height:.92;margin-top:6px;font-weight:300;letter-spacing:-7px;color:rgba(236,238,243,.92);text-shadow:0 1px 10px rgba(0,0,0,.15)}
.phone.samsung .lock-content{padding-top:86px}
.phone.samsung .lock-date{font-size:18px;font-weight:600;color:#eceff6}
.phone.samsung .lock-time{font-size:68px;line-height:1;margin-top:5px;font-weight:450;letter-spacing:-2px;color:#f7f8fb}

/* notifications */
.notifications-stack{position:absolute;left:12px;right:12px;top:274px;display:grid;gap:10px;z-index:4}
.phone.samsung .notifications-stack{top:214px}
.notification-card{position:relative;background:linear-gradient(180deg, rgba(255,255,255,.33) 0%, rgba(210,220,235,.20) 100%);backdrop-filter:blur(36px) saturate(145%);-webkit-backdrop-filter:blur(36px) saturate(145%);border:1px solid rgba(255,255,255,.18);border-radius:22px;padding:12px 13px;display:grid;grid-template-columns:42px 1fr;gap:10px;color:#f4f7fb;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 12px 40px rgba(3,10,24,.18)}
.notification-card::before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 44%);pointer-events:none}
.phone.samsung .notification-card{border-radius:18px;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.14)}
.notification-image{width:42px;height:42px;border-radius:12px;overflow:hidden;background:rgba(17,24,39,.86);display:grid;place-items:center;font-weight:800;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.notification-image img{width:100%;height:100%;object-fit:cover}
.notification-copy{min-width:0}
.notification-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.notification-head strong{font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fbfcff}
.notification-head small{font-size:11px;color:rgba(245,248,255,.82)}
.notification-copy p{margin:4px 0 0;font-size:12.5px;line-height:1.35;color:rgba(246,248,255,.92);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* bottom actions */
.bottom-actions{position:absolute;left:20px;right:20px;bottom:44px;display:flex;justify-content:space-between;z-index:4}
.lock-action{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:rgba(44,51,63,.22);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}
.lock-action svg{width:23px;height:23px;stroke:#fff;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.home-indicator{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);width:135px;height:5px;border-radius:999px;background:rgba(255,255,255,.95);z-index:4}
.phone.samsung .bottom-actions{display:none}
.phone.samsung .home-indicator{width:108px;height:4px;opacity:.78}

/* admin */
.admin-page{max-width:1500px;margin:0 auto;padding:30px}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}
.stat-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.stat-card span{display:block;font-size:11px;letter-spacing:.08em;color:#7b8490;font-weight:800}
.stat-card strong{display:block;font-size:36px;margin:8px 0 3px}
.stat-card small{color:var(--muted)}
.admin-grid{display:grid;grid-template-columns:minmax(360px,.8fr) minmax(520px,1.2fr);gap:22px;align-items:start}
.admin-section{margin-top:22px}
.text-link{font-size:13px;font-weight:700;text-decoration:none}
.admin-template-preview{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fafbfc}
.admin-template-preview img{width:54px;height:54px;object-fit:cover;border-radius:13px}
.admin-template-preview span{font-size:13px;color:var(--muted)}
.template-list{display:grid;gap:10px}
.template-row{display:grid;grid-template-columns:54px 1fr auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:15px;padding:11px}
.template-row>img{width:54px;height:54px;object-fit:cover;border-radius:13px}
.template-row-copy{min-width:0}
.template-row-copy>span,.template-row-copy>small{display:block}
.template-row-copy>span{font-size:13px;margin-top:3px}
.template-row-copy>small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px;max-width:520px}
.row-title{display:flex;align-items:center;gap:8px}
.status-pill{font-size:10px!important;font-weight:800;padding:3px 7px;border-radius:999px;margin:0!important}
.status-pill.on{background:#eaf8f1;color:#087443}
.status-pill.off{background:#f3f4f6;color:#6b7280}
.row-actions{display:flex;align-items:center;gap:7px}
.row-actions form{margin:0}
.table-wrap{overflow:auto}
.admin-table{width:100%;border-collapse:collapse;min-width:820px}
.admin-table th,.admin-table td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:middle}
.admin-table th{font-size:11px;letter-spacing:.05em;color:#7b8490}
.admin-table tbody tr:last-child td{border-bottom:0}
.table-icon{width:38px;height:38px;border-radius:10px;object-fit:cover}
.table-sub{display:block;color:var(--muted);margin-top:2px}
.table-body-cell{max-width:340px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* responsive */
@media (max-width:1100px){
  .workspace{grid-template-columns:1fr;padding:20px}
  .preview-wrap{order:-1}
  .preview-sticky{position:relative;top:auto}
  .controls{max-width:680px;margin:0 auto;width:100%}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .admin-grid{grid-template-columns:1fr}
}
@media (max-width:980px){
  .topbar{padding:0 18px}
  .topbar>div:first-child span,.top-actions span{display:none}
}
@media (max-width:620px){
  .admin-page{padding:16px}
  .stats-grid{grid-template-columns:1fr 1fr;gap:10px}
  .stat-card{padding:15px}
  .stat-card strong{font-size:28px}
  .template-row{grid-template-columns:48px 1fr}
  .template-row>img{width:48px;height:48px}
  .row-actions{grid-column:1/-1;justify-content:flex-end}
}
@media (max-width:480px){
  .workspace{padding:14px}
  .panel{padding:17px}
  .preview-sticky{transform-origin:top center}
  .device-choice{grid-template-columns:1fr}
  .login-card{padding:26px}
  .phone.iphone{width:330px;height:716px}
  .phone.samsung{width:330px;height:714px}
  .phone-shell{border-radius:48px}
  .screen{border-radius:43px}
  .phone.samsung .screen{border-radius:28px}
  .phone.samsung .phone-shell{border-radius:32px}
  .phone.iphone .lock-content{padding-top:88px}
  .phone.iphone .lock-date{font-size:16px}
  .phone.iphone .lock-time{font-size:92px;letter-spacing:-5px}
  .phone.samsung .lock-content{padding-top:76px}
  .phone.samsung .lock-time{font-size:58px}
  .phone.iphone .notifications-stack{top:232px}
  .phone.samsung .notifications-stack{top:192px}
  .notification-card{padding:10px}
  .topbar{height:62px}
}

/* admin navigation v5 */
.admin-body{background:#f4f6f8;min-height:100vh}
.admin-shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr)}
.admin-sidebar{position:sticky;top:0;height:100vh;background:#111827;color:#fff;padding:22px 16px 18px;display:flex;flex-direction:column;z-index:40;border-right:1px solid rgba(255,255,255,.06)}
.admin-brand{display:flex;align-items:center;gap:11px;padding:2px 8px 22px;border-bottom:1px solid rgba(255,255,255,.08)}
.admin-brand-mark{width:38px;height:38px;border-radius:12px;background:#fff;color:#111827;display:grid;place-items:center;font-size:13px;font-weight:900;letter-spacing:-.03em}
.admin-brand strong,.admin-brand span{display:block}
.admin-brand strong{font-size:15px;line-height:1.15}
.admin-brand span{font-size:11px;color:#9aa4b3;margin-top:4px}
.admin-nav{display:grid;gap:6px;margin-top:20px}
.admin-nav-item{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:12px;text-decoration:none;color:#bac3d0;font-size:13px;font-weight:700;transition:.18s}
.admin-nav-item:hover{background:rgba(255,255,255,.06);color:#fff}
.admin-nav-item.active{background:#fff;color:#111827;box-shadow:0 8px 22px rgba(0,0,0,.16)}
.admin-nav-item svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.admin-sidebar-footer{margin-top:auto;display:grid;gap:6px;border-top:1px solid rgba(255,255,255,.08);padding-top:14px}
.admin-sidebar-footer a{padding:9px 12px;border-radius:10px;text-decoration:none;color:#aeb8c6;font-size:12px;font-weight:700}
.admin-sidebar-footer a:hover{background:rgba(255,255,255,.06);color:#fff}
.admin-sidebar-overlay{display:none}
.admin-content{min-width:0}
.admin-content-header{min-height:92px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:18px 30px;position:sticky;top:0;z-index:25}
.admin-header-left{display:flex;align-items:center;gap:12px;min-width:0}
.admin-header-left h1{margin:2px 0 0;font-size:24px;letter-spacing:-.025em}
.admin-header-left p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.4}
.admin-eyebrow{font-size:10px;font-weight:850;letter-spacing:.12em;color:#87909d}
.admin-header-actions{display:flex;align-items:center;gap:12px;white-space:nowrap}
.admin-header-actions>span{font-size:12px;color:var(--muted);font-weight:650}
.admin-menu-button{display:none;width:40px;height:40px;border:1px solid var(--line);border-radius:11px;background:#fff;place-items:center;cursor:pointer}
.admin-menu-button svg{width:20px;height:20px;fill:none;stroke:#111827;stroke-width:2;stroke-linecap:round}
.admin-content-inner{padding:26px 30px 40px;max-width:1500px;margin:0 auto}
.narrow-admin-content{max-width:980px}
.stat-link{text-decoration:none;transition:.18s}
.stat-link:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(15,23,42,.07)}
.admin-dashboard-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px}
.compact-user-list,.recent-activity-list{display:grid;gap:8px}
.compact-user-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px;border:1px solid var(--line);border-radius:13px;text-decoration:none;background:#fff}
.compact-user-row:hover{background:#fafbfc}
.user-avatar,.table-user-avatar,.user-edit-avatar{display:grid;place-items:center;background:#111827;color:#fff;font-weight:850}
.user-avatar{width:42px;height:42px;border-radius:12px}
.compact-user-copy{min-width:0}
.compact-user-copy strong,.compact-user-copy span,.compact-user-meta strong,.compact-user-meta span{display:block}
.compact-user-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.compact-user-copy span{font-size:11px;color:var(--muted);margin-top:3px}
.compact-user-meta{text-align:right}
.compact-user-meta strong{font-size:16px}
.compact-user-meta span{font-size:10px;color:var(--muted);margin-top:2px}
.recent-activity-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}
.recent-activity-row:last-child{border-bottom:0}
.recent-activity-row img,.activity-fallback{width:40px;height:40px;border-radius:11px;object-fit:cover}
.activity-fallback{display:grid;place-items:center;background:#111827;color:#fff;font-weight:800}
.recent-activity-copy{min-width:0}
.recent-activity-copy strong,.recent-activity-copy span{display:block}
.recent-activity-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recent-activity-copy span{font-size:11px;color:var(--muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recent-activity-row time{font-size:10px;color:#8a93a0;white-space:nowrap}
.admin-mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}
.admin-mini-stats>div{background:#fff;border:1px solid var(--line);border-radius:15px;padding:14px 16px}
.admin-mini-stats span,.admin-mini-stats strong{display:block}
.admin-mini-stats span{font-size:11px;color:var(--muted);font-weight:700}
.admin-mini-stats strong{font-size:24px;margin-top:5px}
.admin-panel-head-wrap{align-items:center;gap:16px}
.admin-search{display:flex;align-items:center;gap:7px}
.admin-search input{width:240px;padding:9px 11px;border-radius:10px;font-size:12px}
.table-user{display:flex;align-items:center;gap:9px;min-width:160px}
.table-user-avatar{width:32px;height:32px;border-radius:9px;font-size:12px;flex:0 0 auto}
.role-pill{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800}
.role-pill.admin{background:#eef2ff;color:#3949ab}
.role-pill.client{background:#f3f4f6;color:#4b5563}
.users-table{min-width:1080px}
.back-link{display:inline-flex;margin-bottom:14px;color:#586274;text-decoration:none;font-size:12px;font-weight:750}
.user-edit-summary{display:grid;grid-template-columns:58px minmax(0,1fr) auto auto;gap:14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 18px;margin-bottom:18px}
.user-edit-avatar{width:58px;height:58px;border-radius:16px;font-size:20px}
.user-edit-main span,.user-edit-main p{font-size:11px;color:var(--muted)}
.user-edit-main h2{margin:3px 0 2px;font-size:19px}
.user-edit-main p{margin:0}
.user-edit-stat{padding-left:16px;border-left:1px solid var(--line)}
.user-edit-stat strong,.user-edit-stat span{display:block}
.user-edit-stat strong{font-size:15px}
.user-edit-stat span{font-size:10px;color:var(--muted);margin-top:3px;white-space:nowrap}
.admin-user-form{max-width:620px}
.account-lock-note{padding:11px 12px;border-radius:11px;background:#f7f8fa;color:#596273;font-size:12px;border:1px solid var(--line)}
.form-actions-row{display:flex;justify-content:flex-end;gap:9px;margin-top:2px}
.form-actions-row .btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.admin-template-list-tall{max-height:720px;overflow:auto;padding-right:2px}
.template-usage{margin-top:6px!important;color:#7a8493!important;font-weight:650}

@media (max-width:1180px){
  .admin-dashboard-grid{grid-template-columns:1fr}
  .admin-shell{grid-template-columns:230px minmax(0,1fr)}
}
@media (max-width:900px){
  .admin-shell{display:block}
  .admin-sidebar{position:fixed;left:0;top:0;bottom:0;width:260px;height:100vh;transform:translateX(-102%);transition:transform .22s ease;box-shadow:18px 0 45px rgba(0,0,0,.22)}
  .admin-menu-open .admin-sidebar{transform:translateX(0)}
  .admin-sidebar-overlay{display:block;position:fixed;inset:0;background:rgba(15,23,42,.35);opacity:0;pointer-events:none;transition:.22s;z-index:35}
  .admin-menu-open .admin-sidebar-overlay{opacity:1;pointer-events:auto}
  .admin-menu-button{display:grid}
  .admin-content-header{padding:14px 18px;min-height:82px}
  .admin-content-inner{padding:20px 18px 32px}
  .admin-header-actions>span{display:none}
  .admin-mini-stats{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:680px){
  .admin-content-header{align-items:flex-start}
  .admin-header-left h1{font-size:20px}
  .admin-header-left p{display:none}
  .admin-header-actions .btn{display:none}
  .admin-mini-stats{grid-template-columns:1fr 1fr}
  .admin-panel-head-wrap{align-items:flex-start;flex-direction:column}
  .admin-search{width:100%;flex-wrap:wrap}
  .admin-search input{width:100%;flex:1 1 100%}
  .user-edit-summary{grid-template-columns:48px 1fr}
  .user-edit-avatar{width:48px;height:48px;border-radius:14px}
  .user-edit-stat{padding-left:0;border-left:0;border-top:1px solid var(--line);padding-top:10px}
  .form-actions-row{flex-direction:column-reverse}
  .form-actions-row .btn{width:100%}
}
.users-toolbar{display:flex;align-items:center;gap:9px}
.users-toolbar .admin-search{display:flex}
@media (max-width:680px){
  .users-toolbar{width:100%;align-items:stretch;flex-direction:column}
  .users-toolbar>a{width:100%}
}

/* ===== V7: print 1:1, sem zoom e sem recorte ===== */
.phone.iphone{width:393px;height:852px}
.phone.samsung{width:390px;height:867px}
.phone.iphone .phone-shell{
  padding:5px;
  border-radius:58px;
  background:#050505;
  box-shadow:0 28px 64px rgba(0,0,0,.22),inset 0 0 0 1px rgba(255,255,255,.06);
}
.phone.samsung .phone-shell{
  padding:4px;
  border-radius:34px;
  background:#050505;
  box-shadow:0 28px 64px rgba(0,0,0,.20),inset 0 0 0 1px rgba(255,255,255,.05);
}
.phone .screen.screenshot-mode{
  position:relative;
  width:100%;
  height:100%;
  padding:0;
  background:#0b0d11;
  background-image:none!important;
  overflow:hidden;
}
.phone.iphone .screen.screenshot-mode{border-radius:53px}
.phone.samsung .screen.screenshot-mode{border-radius:30px}
.phone .screen.screenshot-mode::before{display:none!important}

/* O print é exibido inteiro, em proporção 1:1. O JS adapta a altura da moldura
   à proporção real da imagem, portanto não existe object-fit:cover nem zoom. */
.screen-capture{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center center;
  display:block;
  z-index:1;
  user-select:none;
  pointer-events:none;
  background:#000;
}
.screen-capture[hidden]{display:none!important}
.screen-empty-state{
  position:absolute;
  inset:0;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:34px;
  text-align:center;
  color:#eef1f5;
  background:linear-gradient(160deg,#1a202b,#080b10 58%,#141a24);
}
.screen-empty-state[hidden]{display:none!important}
.screen-empty-state svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:1.4;opacity:.8}
.screen-empty-state strong{font-size:15px}
.screen-empty-state span{font-size:12px;color:#9aa4b3;line-height:1.45;max-width:220px}

/* O próprio print já contém hora, bateria, sinal, câmera, lanterna etc. */
.screenshot-mode .ios-statusbar,
.screenshot-mode .android-statusbar,
.screenshot-mode .iphone-island,
.screenshot-mode .samsung-camera,
.screenshot-mode .lock-content,
.screenshot-mode .bottom-actions,
.screenshot-mode .home-indicator{display:none!important}

/* Notificação em coordenadas percentuais para acompanhar qualquer resolução do print. */
.phone .screenshot-mode .notifications-stack{
  position:absolute;
  left:3.1%;
  right:3.1%;
  z-index:5;
  display:grid;
  gap:9px;
  pointer-events:none;
}
.phone.iphone .screenshot-mode .notifications-stack{top:33.0%}
.phone.samsung .screenshot-mode .notifications-stack{top:23.7%}
.phone .screenshot-mode .notification-card{
  position:relative;
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:10px;
  padding:12px 13px;
  border-radius:21px;
  color:#f8fafc;
  background:linear-gradient(180deg,rgba(70,76,87,.54),rgba(34,39,48,.45));
  border:1px solid rgba(255,255,255,.17);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 10px 32px rgba(0,0,0,.22);
  backdrop-filter:blur(28px) saturate(155%);
  -webkit-backdrop-filter:blur(28px) saturate(155%);
}
.phone.iphone .screenshot-mode .notification-card{
  background:linear-gradient(180deg,rgba(118,124,136,.43),rgba(69,74,84,.40));
  border-color:rgba(255,255,255,.20);
  border-radius:22px;
}
.phone.samsung .screenshot-mode .notification-card{
  border-radius:18px;
  background:rgba(48,53,62,.72);
  backdrop-filter:blur(22px) saturate(135%);
  -webkit-backdrop-filter:blur(22px) saturate(135%);
}
.phone .screenshot-mode .notification-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(180deg,rgba(255,255,255,.10),transparent 45%);
  pointer-events:none;
}
.phone .screenshot-mode .notification-image{width:44px;height:44px;border-radius:11px;z-index:1}
.phone .screenshot-mode .notification-copy{position:relative;z-index:1}
.phone .screenshot-mode .notification-head strong{font-size:13px;color:#fff}
.phone .screenshot-mode .notification-head small{color:rgba(255,255,255,.72)}
.phone .screenshot-mode .notification-copy p{color:rgba(255,255,255,.94);font-size:12.5px}

@media(max-width:480px){
  .phone.iphone{width:330px;height:715px}
  .phone.samsung{width:330px;height:734px}
  .phone.iphone .phone-shell{border-radius:49px}
  .phone.iphone .screen.screenshot-mode{border-radius:44px}
  .phone.samsung .phone-shell{border-radius:30px}
  .phone.samsung .screen.screenshot-mode{border-radius:26px}
  .phone .screenshot-mode .notification-card{padding:10px;grid-template-columns:40px minmax(0,1fr)}
  .phone .screenshot-mode .notification-image{width:40px;height:40px}
}

/* ===== V9: notificações iPhone no padrão visual do iOS =====
   Somente o iPhone recebe estas regras. O Samsung permanece intacto. */
.phone.iphone .screenshot-mode .notifications-stack{
  left:2.6%;
  right:2.6%;
  top:40%;
  gap:7px;
}

.phone.iphone .screenshot-mode .notification-card{
  min-height:78px;
  grid-template-columns:52px minmax(0,1fr);
  column-gap:11px;
  padding:12px 14px 12px 12px;
  border-radius:24px;
  color:#fff;
  background:linear-gradient(180deg,rgba(37,38,42,.76) 0%,rgba(20,21,24,.70) 100%);
  border:1px solid rgba(255,255,255,.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 4px 14px rgba(0,0,0,.18);
  backdrop-filter:blur(34px) saturate(135%);
  -webkit-backdrop-filter:blur(34px) saturate(135%);
  overflow:hidden;
}

.phone.iphone .screenshot-mode .notification-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    linear-gradient(180deg,rgba(255,255,255,.075) 0%,rgba(255,255,255,.018) 34%,rgba(0,0,0,.035) 100%);
  pointer-events:none;
}

.phone.iphone .screenshot-mode .notification-image{
  width:52px;
  height:52px;
  align-self:center;
  border-radius:13px;
  overflow:hidden;
  background:rgba(239,239,242,.96);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.30),
    0 1px 4px rgba(0,0,0,.16);
}

.phone.iphone .screenshot-mode .notification-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.phone.iphone .screenshot-mode .notification-copy{
  min-width:0;
  align-self:center;
  padding-top:1px;
}

.phone.iphone .screenshot-mode .notification-head{
  align-items:flex-start;
  gap:8px;
}

.phone.iphone .screenshot-mode .notification-head strong{
  color:#fff;
  font-size:15.5px;
  line-height:1.16;
  font-weight:700;
  letter-spacing:-.15px;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

.phone.iphone .screenshot-mode .notification-head small{
  flex:0 0 auto;
  margin-top:1px;
  color:rgba(255,255,255,.68);
  font-size:12.5px;
  line-height:1.15;
  font-weight:400;
  white-space:nowrap;
}

.phone.iphone .screenshot-mode .notification-copy p{
  margin:3px 0 0;
  color:rgba(255,255,255,.96);
  font-size:14px;
  line-height:1.24;
  font-weight:400;
  letter-spacing:-.08px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

@media(max-width:480px){
  .phone.iphone .screenshot-mode .notifications-stack{
    left:2.5%;
    right:2.5%;
    top:40%;
    gap:6px;
  }
  .phone.iphone .screenshot-mode .notification-card{
    min-height:66px;
    grid-template-columns:44px minmax(0,1fr);
    column-gap:9px;
    padding:10px 12px 10px 10px;
    border-radius:21px;
  }
  .phone.iphone .screenshot-mode .notification-image{
    width:44px;
    height:44px;
    border-radius:11px;
  }
  .phone.iphone .screenshot-mode .notification-head strong{
    font-size:13.5px;
  }
  .phone.iphone .screenshot-mode .notification-head small{
    font-size:10.5px;
  }
  .phone.iphone .screenshot-mode .notification-copy p{
    font-size:12.2px;
    line-height:1.22;
  }
}

/* ===== V11: iPhone Liquid Glass realmente transparente =====
   Não usa preenchimento cinza/preto. O print continua visível através do card. */
.phone.iphone .screenshot-mode .notification-card{
  background:rgba(255,255,255,.045);
  border-color:rgba(255,255,255,.24);
  backdrop-filter:blur(22px) saturate(165%) brightness(1.08);
  -webkit-backdrop-filter:blur(22px) saturate(165%) brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -1px 0 rgba(255,255,255,.055),
    0 5px 18px rgba(0,0,0,.10);
}
.phone.iphone .screenshot-mode .notification-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    radial-gradient(120% 85% at 20% -12%,rgba(255,255,255,.17) 0%,rgba(255,255,255,.045) 34%,transparent 63%),
    linear-gradient(180deg,rgba(255,255,255,.075) 0%,rgba(255,255,255,.012) 46%,rgba(255,255,255,.025) 100%);
  pointer-events:none;
}
.phone.iphone .screenshot-mode .notification-card::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:calc(24px - 1px);
  border:1px solid rgba(255,255,255,.055);
  pointer-events:none;
}

.preview-download-wrap{
  width:100%;
  max-width:440px;
  margin:15px auto 0;
  display:grid;
  gap:7px;
}
.download-print-btn{
  width:100%;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  background:#111827;
  color:#fff;
  box-shadow:0 8px 18px rgba(17,24,39,.13);
}
.download-print-btn:hover:not(:disabled){background:#222d3e}
.download-print-btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.download-print-btn svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.download-print-status{
  min-height:17px;
  text-align:center;
  font-size:12px;
  line-height:1.4;
  color:var(--muted);
}
.download-print-status.error{color:var(--danger)}
.download-print-status.success{color:var(--success)}

/* V12 - conta, carteira e indicacoes */
.login-divider{display:flex;align-items:center;gap:12px;margin:18px 0;color:var(--muted);font-size:12px}.login-divider::before,.login-divider::after{content:"";height:1px;background:var(--line);flex:1}.login-create{display:flex;width:100%;align-items:center;justify-content:center;text-decoration:none}.login-back{display:block;text-align:center;margin-top:18px;font-weight:700;text-decoration:none}.register-card{width:min(100%,520px)}.referral-badge{padding:10px 12px;border-radius:12px;background:#eef6ff;color:#1d4f91;margin:0 0 16px;font-size:13px}.wallet-top-pill{display:inline-flex;gap:5px;align-items:center;padding:8px 11px;border-radius:999px;background:#eef2f7;text-decoration:none!important;font-size:13px!important}.wallet-top-pill strong{font-size:13px!important}.panel-subcopy{margin:7px 0 0;color:var(--muted);font-size:12.5px}.insufficient-link{font-size:13px;font-weight:700;color:#b42318}.btn:disabled{opacity:.5;cursor:not-allowed}.account-page{max-width:1180px;margin:0 auto;padding:30px}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}.referral-value{padding:14px;border:1px solid var(--line);border-radius:14px;background:#fafbfc;line-height:1.5}.copy-field{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:start;margin-top:14px}.copy-field textarea{min-height:92px}.referral-code{margin-top:10px;color:var(--muted);font-size:13px}.referral-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.referral-stats>div,.wallet-kpis>div{border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff}.referral-stats span,.wallet-kpis span{display:block;color:var(--muted);font-size:12px}.referral-stats strong,.wallet-kpis strong{display:block;font-size:22px;margin-top:4px}.simple-table{width:100%;border-collapse:collapse;min-width:680px}.simple-table th,.simple-table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;font-size:13px}.simple-table th{font-size:11px;color:#7b8490;letter-spacing:.05em}.wallet-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;background:#111827;color:#fff;border-radius:22px;padding:24px;margin-bottom:22px}.wallet-hero>div:first-child>span{display:block;font-size:11px;letter-spacing:.1em;opacity:.7}.wallet-hero>div:first-child>strong{display:block;font-size:44px;margin:6px 0}.wallet-hero>div:first-child>small{opacity:.72}.wallet-kpis{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wallet-kpis>div{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12)}.wallet-kpis span{color:rgba(255,255,255,.68)}.qr-box{display:grid;place-items:center;text-align:center;gap:8px;padding:8px 0 14px}.qr-box img{width:min(230px,80%);aspect-ratio:1;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px}.qr-box strong{font-size:24px}.qr-box span{color:var(--muted)}.wallet-profile-warning{margin-top:15px}.amount-credit{color:#087443;font-weight:800}.amount-debit{color:#b42318;font-weight:800}
@media(max-width:820px){.account-grid,.wallet-hero{grid-template-columns:1fr}.account-page{padding:18px}.top-actions .wallet-top-pill{display:none}.copy-field{grid-template-columns:1fr}.wallet-hero>div:first-child>strong{font-size:36px}}
@media(max-width:700px){.topbar{height:auto;min-height:62px;padding-top:10px;padding-bottom:10px;gap:10px}.top-actions{gap:10px;flex-wrap:wrap;justify-content:flex-end}.top-actions a{font-size:12px}.account-page{padding-top:18px}}


/* ===== V13: modelos separados + Samsung One UI Cards ===== */
.history-device-tag{display:inline-block!important;margin-top:5px!important;width:max-content;padding:2px 7px;border-radius:999px;background:#eef2f7;color:#596273!important;font-size:9px!important;font-weight:800;letter-spacing:.03em;text-transform:uppercase}
.notification-card[hidden]{display:none!important}
.android-notification-head,.android-notification-title{display:none}

/* Samsung / Android One UI 8: estilo Cards da tela de bloqueio.
   O print permanece ao fundo; o card é uma lâmina clara translúcida, não um bloco escuro. */
.phone.samsung .screenshot-mode .notifications-stack{
  left:3.8%;
  right:3.8%;
  top:30.5%;
  gap:7px;
}
.phone.samsung .screenshot-mode .notification-card{
  min-height:68px;
  grid-template-columns:42px minmax(0,1fr);
  column-gap:10px;
  padding:10px 13px 10px 10px;
  border-radius:22px;
  background:rgba(238,242,248,.70);
  border:1px solid rgba(255,255,255,.46);
  color:#15181d;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38),0 4px 14px rgba(0,0,0,.10);
  backdrop-filter:blur(20px) saturate(128%) brightness(1.05);
  -webkit-backdrop-filter:blur(20px) saturate(128%) brightness(1.05);
  overflow:hidden;
}
.phone.samsung .screenshot-mode .notification-card::before{
  background:linear-gradient(180deg,rgba(255,255,255,.20),rgba(255,255,255,.035) 55%,transparent);
}
.phone.samsung .screenshot-mode .notification-image{
  width:42px;
  height:42px;
  align-self:center;
  border-radius:50%;
  background:#f4f6f9;
  box-shadow:0 1px 3px rgba(0,0,0,.10),inset 0 0 0 1px rgba(0,0,0,.035);
}
.phone.samsung .screenshot-mode .notification-image img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.phone.samsung .screenshot-mode .notification-copy{align-self:center;min-width:0}
.phone.samsung .screenshot-mode .ios-notification-head{display:none}
.phone.samsung .screenshot-mode .android-notification-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-width:0;
  margin-bottom:1px;
}
.phone.samsung .screenshot-mode .android-app-name{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#505762;
  font-size:11.5px;
  line-height:1.15;
  font-weight:600;
}
.phone.samsung .screenshot-mode .android-notification-head small{
  flex:0 0 auto;
  color:#767e8a;
  font-size:10.5px;
  line-height:1.15;
  font-weight:500;
}
.phone.samsung .screenshot-mode .android-notification-title{
  display:block;
  margin-top:2px;
  color:#15181d;
  font-size:13.5px;
  line-height:1.18;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.phone.samsung .screenshot-mode .notification-copy p{
  margin:2px 0 0;
  color:#3e444d;
  font-size:11.8px;
  line-height:1.24;
  font-weight:400;
  -webkit-line-clamp:2;
}

/* iPhone continua usando o Liquid Glass já aprovado na V11. */
.phone.iphone .screenshot-mode .android-notification-head,
.phone.iphone .screenshot-mode .android-notification-title{display:none!important}
.phone.iphone .screenshot-mode .ios-notification-head{display:flex}

@media(max-width:480px){
  .phone.samsung .screenshot-mode .notifications-stack{left:3.6%;right:3.6%;top:30.5%;gap:6px}
  .phone.samsung .screenshot-mode .notification-card{min-height:59px;grid-template-columns:36px minmax(0,1fr);column-gap:8px;padding:8px 11px 8px 8px;border-radius:19px}
  .phone.samsung .screenshot-mode .notification-image{width:36px;height:36px}
  .phone.samsung .screenshot-mode .android-app-name{font-size:10px}
  .phone.samsung .screenshot-mode .android-notification-head small{font-size:9px}
  .phone.samsung .screenshot-mode .android-notification-title{font-size:11.8px}
  .phone.samsung .screenshot-mode .notification-copy p{font-size:10.4px}
}

/* ===== V14: título iPhone em uma linha =====
   Reserva espaço fixo para o "agora" e impede que títulos normais como
   "Transferência recebida" quebrem em duas linhas. */
.phone.iphone .screenshot-mode .ios-notification-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) max-content;
  align-items:start;
  column-gap:8px;
  width:100%;
}
.phone.iphone .screenshot-mode .ios-notification-head strong{
  display:block;
  min-width:0;
  width:100%;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:unset!important;
  line-height:1.16;
}
.phone.iphone .screenshot-mode .ios-notification-head small{
  justify-self:end;
  flex:none;
  white-space:nowrap;
}
@media(max-width:480px){
  .phone.iphone .screenshot-mode .ios-notification-head{column-gap:6px}
}

/* ===== V16: plano mensal / assinatura ===== */
.premium-active-pill{background:#111827!important;color:#fff!important;border-color:#111827!important}
.subscription-inline-note{padding:11px 12px;border-radius:12px;background:#f7f8fa;border:1px solid #e4e8ee;color:#667085;font-size:12px;line-height:1.45}
.subscription-inline-note strong{color:#111827}
.subscription-page{max-width:1100px}
.subscription-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;padding:28px;margin-bottom:22px;border-radius:24px;background:#111827;color:#fff;box-shadow:0 20px 50px rgba(15,23,42,.16)}
.subscription-hero.is-active{background:linear-gradient(135deg,#0b1220,#172033)}
.subscription-kicker{display:block;font-size:11px;letter-spacing:.12em;font-weight:850;color:#b8c2d4}
.subscription-hero h1{margin:7px 0 9px;font-size:30px;line-height:1.1}
.subscription-hero p{margin:0;max-width:680px;color:#d5dbea;font-size:14px;line-height:1.55}
.subscription-price-box{min-width:180px;padding:18px 20px;border-radius:18px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);text-align:right}
.subscription-price-box span,.subscription-price-box strong,.subscription-price-box small{display:block}
.subscription-price-box span{font-size:11px;color:#b8c2d4;font-weight:750;text-transform:uppercase;letter-spacing:.06em}
.subscription-price-box strong{margin:6px 0 2px;font-size:26px}
.subscription-price-box small{font-size:11px;color:#cbd3df}
.plan-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px;border:1px solid #e4e8ee;border-radius:14px;background:#fafbfc}
.plan-summary div{min-width:0}.plan-summary span,.plan-summary strong{display:block}.plan-summary span{font-size:11px;color:#7a8491}.plan-summary strong{margin-top:4px;font-size:15px}
.subscription-status-card{padding:16px;border:1px solid #e4e8ee;border-radius:15px;background:#fafbfc;margin-bottom:14px}
.subscription-status-card.active{background:#eefaf4;border-color:#ccefdc}
.subscription-status-card span,.subscription-status-card strong,.subscription-status-card small{display:block}.subscription-status-card span{font-size:10px;font-weight:850;letter-spacing:.08em;color:#7b8490;text-transform:uppercase}.subscription-status-card strong{margin-top:6px;font-size:18px}.subscription-status-card small{margin-top:5px;color:#667085;line-height:1.4}
.subscription-status-card.active strong{color:#087443}
@media(max-width:700px){.subscription-hero{grid-template-columns:1fr;padding:22px}.subscription-price-box{text-align:left;min-width:0}.subscription-hero h1{font-size:25px}.plan-summary{grid-template-columns:1fr}}

/* ===== V17: iPhone Notification Center mais fiel ao iOS ===== */
.phone .screenshot-mode .notification-image-wrap{position:relative;z-index:1}
.notification-badge[hidden]{display:none!important}
.phone.iphone .screenshot-mode .ios-center-chrome{
  position:absolute;
  left:0;
  right:0;
  top:0;
  z-index:6;
  pointer-events:none;
}
.phone.samsung .screenshot-mode .ios-center-chrome{display:none!important}
.phone.iphone .screenshot-mode .ios-center-header-row,
.phone.iphone .screenshot-mode .ios-group-row{
  position:absolute;
  left:4.2%;
  right:4.2%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.phone.iphone .screenshot-mode .ios-center-header-row{top:24.3%}
.phone.iphone .screenshot-mode .ios-group-row{top:39.2%}
.phone.iphone .screenshot-mode .ios-center-title{
  font-size:29px;
  line-height:1.05;
  font-weight:300;
  color:rgba(255,255,255,.98);
  letter-spacing:-.03em;
  text-shadow:0 1px 10px rgba(0,0,0,.14);
}
.phone.iphone .screenshot-mode .ios-group-label{
  font-size:22px;
  line-height:1.08;
  font-weight:400;
  color:rgba(255,255,255,.98);
  letter-spacing:-.03em;
  text-shadow:0 1px 10px rgba(0,0,0,.12);
  min-width:0;
}
.phone.iphone .screenshot-mode .ios-group-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.phone.iphone .screenshot-mode .ios-circle-button,
.phone.iphone .screenshot-mode .ios-glass-pill{
  appearance:none;
  border:0;
  color:rgba(255,255,255,.96);
  pointer-events:none;
}
.phone.iphone .screenshot-mode .ios-circle-button{
  width:44px;
  height:44px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:28px;
  line-height:1;
  font-weight:300;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(26px) saturate(145%) brightness(1.03);
  -webkit-backdrop-filter:blur(26px) saturate(145%) brightness(1.03);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(255,255,255,.04);
}
.phone.iphone .screenshot-mode .ios-glass-pill{
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:17px;
  line-height:1;
  font-weight:400;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(26px) saturate(145%) brightness(1.03);
  -webkit-backdrop-filter:blur(26px) saturate(145%) brightness(1.03);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(255,255,255,.04);
}
.phone.iphone .screenshot-mode .ios-pill-chevron{
  font-size:22px;
  line-height:1;
  margin-top:-3px;
}

.phone.iphone .screenshot-mode .notifications-stack{
  position:absolute;
  inset:0;
  left:0;
  right:0;
  top:0;
  z-index:5;
  display:block;
  pointer-events:none;
}
.phone.iphone .screenshot-mode .notification-card{
  position:absolute;
  left:1.7%;
  right:1.7%;
  width:auto;
  min-height:104px;
  grid-template-columns:71px minmax(0,1fr);
  column-gap:22px;
  padding:18px 22px 16px 18px;
  border-radius:40px;
  background:rgba(255,255,255,.028);
  border:1px solid rgba(255,255,255,.20);
  backdrop-filter:blur(26px) saturate(145%) brightness(1.04);
  -webkit-backdrop-filter:blur(26px) saturate(145%) brightness(1.04);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10), inset 0 -1px 0 rgba(255,255,255,.035);
  overflow:hidden;
}
.phone.iphone .screenshot-mode .notification-card::before{
  background:
    radial-gradient(150% 100% at 20% -10%,rgba(255,255,255,.10) 0%,rgba(255,255,255,.02) 30%,transparent 62%),
    linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.006) 48%,rgba(255,255,255,.018) 100%);
}
.phone.iphone .screenshot-mode .notification-card::after{
  inset:1px;
  border-radius:39px;
  border-color:rgba(255,255,255,.05);
}
.phone.iphone .screenshot-mode .notification-card.is-banner{top:2.7%}
.phone.iphone .screenshot-mode .notification-card.is-grouped-1{top:46.7%}
.phone.iphone .screenshot-mode .notification-card.is-grouped-2{top:62.6%}
.phone.iphone .screenshot-mode .notification-card.is-grouped-3{top:78.5%}
.phone.iphone .screenshot-mode .notification-image{width:71px;height:71px;border-radius:18px;background:rgba(240,241,245,.98)}
.phone.iphone .screenshot-mode .notification-copy{padding-top:1px}
.phone.iphone .screenshot-mode .ios-notification-head{column-gap:12px}
.phone.iphone .screenshot-mode .ios-notification-head strong{
  font-size:29px;
  line-height:1.06;
  font-weight:600;
  letter-spacing:-.035em;
  color:#fff;
}
.phone.iphone .screenshot-mode .ios-notification-head small{
  margin-top:1px;
  font-size:22px;
  line-height:1.05;
  color:rgba(255,255,255,.80);
  font-weight:400;
}
.phone.iphone .screenshot-mode .notification-copy p{
  margin-top:4px;
  font-size:26px;
  line-height:1.14;
  font-weight:400;
  letter-spacing:-.02em;
  color:rgba(255,255,255,.96);
}
.phone.iphone .screenshot-mode .notification-badge{
  position:absolute;
  top:-4px;
  right:-6px;
  min-width:34px;
  height:26px;
  padding:0 8px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.92);
  color:#444b55;
  font-size:15px;
  line-height:1;
  font-weight:700;
  border:1px solid rgba(255,255,255,.75);
  box-shadow:0 1px 3px rgba(0,0,0,.12);
}

@media(max-width:480px){
  .phone.iphone .screenshot-mode .ios-center-header-row{top:24.5%}
  .phone.iphone .screenshot-mode .ios-group-row{top:39.4%}
  .phone.iphone .screenshot-mode .ios-center-title{font-size:24px}
  .phone.iphone .screenshot-mode .ios-group-label{font-size:18px}
  .phone.iphone .screenshot-mode .ios-circle-button{width:37px;height:37px;font-size:24px}
  .phone.iphone .screenshot-mode .ios-glass-pill{min-height:37px;padding:0 14px;font-size:14px;gap:6px}
  .phone.iphone .screenshot-mode .ios-pill-chevron{font-size:19px}
  .phone.iphone .screenshot-mode .notification-card{min-height:86px;grid-template-columns:58px minmax(0,1fr);column-gap:16px;padding:14px 18px 13px 14px;border-radius:34px}
  .phone.iphone .screenshot-mode .notification-card::after{border-radius:33px}
  .phone.iphone .screenshot-mode .notification-image{width:58px;height:58px;border-radius:15px}
  .phone.iphone .screenshot-mode .ios-notification-head strong{font-size:22px}
  .phone.iphone .screenshot-mode .ios-notification-head small{font-size:16px}
  .phone.iphone .screenshot-mode .notification-copy p{font-size:19px;line-height:1.12}
  .phone.iphone .screenshot-mode .notification-badge{min-width:28px;height:22px;padding:0 6px;font-size:13px}
}

/* ===== V18: escala milimétrica iPhone baseada no print real =====
   A referência tem 798px de largura; o preview principal usa ~393px.
   Por isso ícone, tipografia, raio e espaçamentos são normalizados pela largura. */
.phone.iphone .screenshot-mode .ios-center-header-row,
.phone.iphone .screenshot-mode .ios-group-row{
  left:4.05%;
  right:2.05%;
  gap:7px;
}
.phone.iphone .screenshot-mode .ios-center-header-row{top:24.8%}
.phone.iphone .screenshot-mode .ios-group-row{top:39.15%}
.phone.iphone .screenshot-mode .ios-center-title{
  font-size:24px;
  line-height:1.04;
  font-weight:300;
  letter-spacing:-.04em;
  text-shadow:0 1px 7px rgba(0,0,0,.12);
}
.phone.iphone .screenshot-mode .ios-group-label{
  font-size:18px;
  line-height:1.05;
  font-weight:400;
  letter-spacing:-.035em;
  text-shadow:0 1px 7px rgba(0,0,0,.10);
}
.phone.iphone .screenshot-mode .ios-group-actions{gap:7px}
.phone.iphone .screenshot-mode .ios-circle-button{
  width:31px;
  height:31px;
  font-size:21px;
  border-width:.7px;
  background:rgba(255,255,255,.025);
  border-color:rgba(255,255,255,.15);
  backdrop-filter:blur(18px) saturate(138%) brightness(1.015);
  -webkit-backdrop-filter:blur(18px) saturate(138%) brightness(1.015);
  box-shadow:inset 0 .7px 0 rgba(255,255,255,.10),inset 0 -.7px 0 rgba(255,255,255,.03);
}
.phone.iphone .screenshot-mode .ios-glass-pill{
  min-height:31px;
  padding:0 12px;
  gap:5px;
  font-size:13.5px;
  border-width:.7px;
  background:rgba(255,255,255,.025);
  border-color:rgba(255,255,255,.15);
  backdrop-filter:blur(18px) saturate(138%) brightness(1.015);
  -webkit-backdrop-filter:blur(18px) saturate(138%) brightness(1.015);
  box-shadow:inset 0 .7px 0 rgba(255,255,255,.10),inset 0 -.7px 0 rgba(255,255,255,.03);
}
.phone.iphone .screenshot-mode .ios-pill-chevron{font-size:16px;margin-top:-2px}

.phone.iphone .screenshot-mode .notification-card{
  left:1.75%;
  right:1.75%;
  min-height:72px;
  grid-template-columns:36px minmax(0,1fr);
  column-gap:11px;
  padding:10px 13px 9px 11px;
  border-radius:20px;
  background:rgba(255,255,255,.018);
  border:1px solid rgba(255,255,255,.19);
  backdrop-filter:blur(20px) saturate(138%) brightness(1.025);
  -webkit-backdrop-filter:blur(20px) saturate(138%) brightness(1.025);
  box-shadow:inset 0 .7px 0 rgba(255,255,255,.09),inset 0 -.7px 0 rgba(255,255,255,.025);
}
.phone.iphone .screenshot-mode .notification-card::before{
  background:
    radial-gradient(145% 95% at 18% -12%,rgba(255,255,255,.075) 0%,rgba(255,255,255,.014) 31%,transparent 62%),
    linear-gradient(180deg,rgba(255,255,255,.022),rgba(255,255,255,.003) 48%,rgba(255,255,255,.012) 100%);
}
.phone.iphone .screenshot-mode .notification-card::after{
  inset:.7px;
  border-radius:19.3px;
  border-color:rgba(255,255,255,.045);
}
.phone.iphone .screenshot-mode .notification-card.is-banner{top:2.9%}
.phone.iphone .screenshot-mode .notification-card.is-grouped-1{top:46.0%}
.phone.iphone .screenshot-mode .notification-card.is-grouped-2{top:64.0%}
.phone.iphone .screenshot-mode .notification-card.is-grouped-3{top:82.0%}
.phone.iphone .screenshot-mode .notification-image{
  width:36px;
  height:36px;
  border-radius:9px;
  align-self:center;
  box-shadow:inset 0 0 0 .7px rgba(255,255,255,.24),0 .7px 2px rgba(0,0,0,.10);
}
.phone.iphone .screenshot-mode .notification-copy{padding-top:0;align-self:center}
.phone.iphone .screenshot-mode .ios-notification-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) max-content;
  align-items:start;
  column-gap:7px;
  width:100%;
}
.phone.iphone .screenshot-mode .ios-notification-head strong{
  display:-webkit-box;
  width:100%;
  min-width:0;
  white-space:normal!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  font-size:14.4px;
  line-height:1.08;
  font-weight:600;
  letter-spacing:-.028em;
  color:#fff;
}
.phone.iphone .screenshot-mode .ios-notification-head small{
  margin-top:.5px;
  font-size:11px;
  line-height:1.06;
  color:rgba(255,255,255,.79);
  font-weight:400;
}
.phone.iphone .screenshot-mode .notification-copy p{
  margin:2px 0 0;
  font-size:13.2px;
  line-height:1.14;
  font-weight:400;
  letter-spacing:-.018em;
  color:rgba(255,255,255,.96);
  -webkit-line-clamp:2;
}
.phone.iphone .screenshot-mode .notification-badge{
  top:-3px;
  right:-5px;
  min-width:25px;
  height:18px;
  padding:0 5px;
  font-size:12px;
  border-width:.7px;
  box-shadow:0 .7px 2px rgba(0,0,0,.10);
}

@media(max-width:480px){
  .phone.iphone .screenshot-mode .ios-center-title{font-size:20px}
  .phone.iphone .screenshot-mode .ios-group-label{font-size:15px}
  .phone.iphone .screenshot-mode .ios-circle-button{width:27px;height:27px;font-size:18px}
  .phone.iphone .screenshot-mode .ios-glass-pill{min-height:27px;padding:0 10px;font-size:11.5px;gap:4px}
  .phone.iphone .screenshot-mode .ios-pill-chevron{font-size:14px}
  .phone.iphone .screenshot-mode .notification-card{
    min-height:61px;
    grid-template-columns:30px minmax(0,1fr);
    column-gap:9px;
    padding:8px 11px 8px 9px;
    border-radius:17px;
  }
  .phone.iphone .screenshot-mode .notification-card::after{border-radius:16.3px}
  .phone.iphone .screenshot-mode .notification-image{width:30px;height:30px;border-radius:7.5px}
  .phone.iphone .screenshot-mode .ios-notification-head{column-gap:6px}
  .phone.iphone .screenshot-mode .ios-notification-head strong{font-size:12.1px}
  .phone.iphone .screenshot-mode .ios-notification-head small{font-size:9.3px}
  .phone.iphone .screenshot-mode .notification-copy p{font-size:11.1px;line-height:1.13}
  .phone.iphone .screenshot-mode .notification-badge{min-width:21px;height:16px;padding:0 4px;font-size:10px}
}

/* ===== V19: agrupamento iPhone condicional ===== */
.phone.iphone .screenshot-mode .notifications-stack.single-mode{
  position:absolute;
  inset:0;
  left:0;
  right:0;
  top:0;
  z-index:5;
  display:block;
  pointer-events:none;
}
.phone.iphone .screenshot-mode .notifications-stack.grouped-mode{
  position:absolute;
  left:1.75%;
  right:1.75%;
  top:46.0%;
  z-index:5;
  display:grid;
  gap:7px;
  pointer-events:none;
}
.phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-card{
  position:relative;
  left:auto;
  right:auto;
  top:auto!important;
  width:100%;
}
.phone.iphone .screenshot-mode .notifications-stack.single-mode .notification-card.is-single,
.phone.iphone .screenshot-mode .notification-card.is-banner{
  position:absolute;
  top:2.9%;
}
@media(max-width:480px){
  .phone.iphone .screenshot-mode .notifications-stack.grouped-mode{top:45.6%;gap:6px}
  .phone.iphone .screenshot-mode .notifications-stack.single-mode .notification-card.is-single,
  .phone.iphone .screenshot-mode .notification-card.is-banner{top:3.1%}
}

/* ===== V20: placeholder limpo e correção do agrupamento iPhone ===== */
.screen-empty-state{
  padding:26px 22px;
  text-align:center;
}
.screen-empty-state strong{
  font-size:17px;
  line-height:1.25;
  letter-spacing:-.02em;
}
.screen-empty-state span{
  max-width:255px;
  font-size:12.8px;
  line-height:1.52;
}
.phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-card,
.phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-card.is-banner,
.phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-card.is-single{
  position:relative !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  width:100% !important;
}
.phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-card + .notification-card{
  margin-top:0;
}
.phone.iphone .screenshot-mode .notifications-stack.single-mode .notification-card:not(.is-single){
  display:none !important;
}
.phone.iphone .screenshot-mode .screen-empty-state:not([hidden]) ~ .ios-center-chrome,
.phone.iphone .screenshot-mode .screen-empty-state:not([hidden]) ~ .notifications-stack{
  display:none;
}
@media(max-width:480px){
  .screen-empty-state{padding:22px 18px}
  .screen-empty-state strong{font-size:15px}
  .screen-empty-state span{font-size:11.7px;max-width:220px}
}

/* ===== V21: correção estrutural da Central de Notificações iPhone =====
   Corrige percentuais calculados contra container sem altura e remove o
   esticamento herdado da pilha agrupada. */
.phone.iphone .screenshot-mode .ios-center-chrome{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  z-index:6;
  pointer-events:none;
}
.phone.iphone .screenshot-mode .ios-center-header-row,
.phone.iphone .screenshot-mode .ios-group-row{
  position:absolute !important;
  left:4.05% !important;
  right:2.05% !important;
  height:auto !important;
  margin:0 !important;
}
.phone.iphone .screenshot-mode .ios-center-header-row{
  top:24.2% !important;
}
.phone.iphone .screenshot-mode .ios-group-row{
  top:30.5% !important;
}

.phone.iphone .screenshot-mode .notifications-stack.grouped-mode{
  position:absolute !important;
  inset:auto 1.75% auto 1.75% !important;
  top:35.2% !important;
  width:auto !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  align-content:flex-start !important;
  gap:7px !important;
  overflow:visible !important;
  z-index:5;
}
.phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-card,
.phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-card.is-banner,
.phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-card.is-single{
  position:relative !important;
  inset:auto !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  width:100% !important;
  height:auto !important;
  min-height:72px !important;
  max-height:none !important;
  margin:0 !important;
  flex:0 0 auto !important;
  align-self:stretch !important;
}
.phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-image-wrap{
  align-self:center;
}
.phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-copy{
  align-self:center;
}

/* Uma notificação continua usando o modo simples, sem Central de Notificações. */
.phone.iphone .screenshot-mode .notifications-stack.single-mode{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  display:block !important;
}
.phone.iphone .screenshot-mode .notifications-stack.single-mode .notification-card.is-single{
  position:absolute !important;
  left:1.75% !important;
  right:1.75% !important;
  top:2.9% !important;
  width:auto !important;
  height:auto !important;
  min-height:72px !important;
}

@media(max-width:480px){
  .phone.iphone .screenshot-mode .ios-center-header-row{top:24.2% !important}
  .phone.iphone .screenshot-mode .ios-group-row{top:30.6% !important}
  .phone.iphone .screenshot-mode .notifications-stack.grouped-mode{
    inset:auto 1.75% auto 1.75% !important;
    top:35.4% !important;
    gap:6px !important;
  }
  .phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-card{
    min-height:61px !important;
  }
}

/* ===== V22: transparência ajustável + print exclusivamente do usuário ===== */
.notification-transparency-control{
  display:grid;
  gap:10px;
  padding:14px 15px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fafbfc;
}
.notification-transparency-control[hidden]{display:none!important}
.transparency-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.transparency-head>div{min-width:0}
.transparency-head strong{display:block;font-size:13px;color:#1f2937}
.transparency-head span{display:block;margin-top:3px;font-size:11.5px;line-height:1.4;color:var(--muted)}
.transparency-head output{flex:0 0 auto;min-width:48px;padding:5px 8px;border-radius:999px;background:#111827;color:#fff;font-size:12px;font-weight:800;text-align:center}
.notification-transparency-control input[type=range]{width:100%;padding:0;border:0;box-shadow:none;background:transparent;accent-color:#111827;cursor:pointer}
.transparency-scale{display:flex;justify-content:space-between;gap:12px;color:#8a93a0;font-size:10px}
.transparency-status{min-height:15px;color:var(--muted);font-size:10.5px}
.transparency-save-btn{justify-self:start;padding:9px 13px;font-size:12px;font-weight:800}
.transparency-save-btn:disabled{opacity:.55;cursor:wait}
.transparency-status.success,.capture-save-status.success{color:var(--success)}
.transparency-status.error,.capture-save-status.error{color:var(--danger)}
.capture-save-status{min-height:15px;font-size:11px!important;line-height:1.35}

.phone.iphone{
  --ios-glass-alpha:.0174;
  --ios-glass-border:.069;
  --ios-glass-inner-border:.0186;
  --ios-glass-sheen:.017;
  --ios-glass-sheen-soft:.0037;
  --ios-glass-sheen-faint:.0026;
  --ios-glass-sheen-top:.0054;
  --ios-glass-blur:3.9px;
  --ios-glass-saturation:120.9%;
  --ios-glass-brightness:1.010;
}
.phone.iphone .screenshot-mode .notification-card{
  background:rgba(255,255,255,var(--ios-glass-alpha)) !important;
  border-color:rgba(255,255,255,var(--ios-glass-border)) !important;
  backdrop-filter:blur(var(--ios-glass-blur)) saturate(var(--ios-glass-saturation)) brightness(var(--ios-glass-brightness)) !important;
  -webkit-backdrop-filter:blur(var(--ios-glass-blur)) saturate(var(--ios-glass-saturation)) brightness(var(--ios-glass-brightness)) !important;
  box-shadow:inset 0 .7px 0 rgba(255,255,255,var(--ios-glass-border)),inset 0 -.7px 0 rgba(255,255,255,var(--ios-glass-inner-border)) !important;
}
.phone.iphone .screenshot-mode .notification-card::before{
  background:
    radial-gradient(145% 95% at 18% -12%,rgba(255,255,255,var(--ios-glass-sheen)) 0%,rgba(255,255,255,var(--ios-glass-sheen-soft)) 31%,transparent 62%),
    linear-gradient(180deg,rgba(255,255,255,var(--ios-glass-sheen-top)),rgba(255,255,255,.002) 48%,rgba(255,255,255,var(--ios-glass-sheen-faint)) 100%) !important;
}
.phone.iphone .screenshot-mode .notification-card::after{
  border-color:rgba(255,255,255,var(--ios-glass-inner-border)) !important;
}

/* Nunca mostre elementos gerados pelo sistema sem um print real carregado. */
.phone .screenshot-mode .screen-empty-state:not([hidden]) ~ .ios-center-chrome,
.phone .screenshot-mode .screen-empty-state:not([hidden]) ~ .notifications-stack{
  display:none!important;
}

/* ===== V23: ajuste fino iPhone conforme feedback ===== */
.phone.iphone .screenshot-mode .ios-center-header-row,
.phone.iphone .screenshot-mode .ios-group-row{
  left:4.4% !important;
  right:3.0% !important;
}
.phone.iphone .screenshot-mode .ios-center-header-row{
  top:31.1% !important;
}
.phone.iphone .screenshot-mode .ios-group-row{
  top:37.7% !important;
}
.phone.iphone .screenshot-mode .ios-center-title{
  font-size:24px !important;
  font-weight:560 !important;
  letter-spacing:-.028em !important;
}
.phone.iphone .screenshot-mode .ios-group-label{
  font-size:20px !important;
  font-weight:550 !important;
  letter-spacing:-.024em !important;
}
.phone.iphone .screenshot-mode .ios-glass-pill{
  min-height:34px !important;
  padding:0 13px !important;
  gap:0 !important;
  font-size:14px !important;
  font-weight:520 !important;
}
.phone.iphone .screenshot-mode .ios-pill-chevron{display:none !important}
.phone.iphone .screenshot-mode .ios-circle-button{
  width:34px !important;
  height:34px !important;
  font-size:24px !important;
  font-weight:320 !important;
}

.phone.iphone .screenshot-mode .notifications-stack.grouped-mode{
  left:2.2% !important;
  right:2.2% !important;
  top:43.1% !important;
  gap:6px !important;
}
.phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-card,
.phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-card.is-banner,
.phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-card.is-single{
  min-height:62px !important;
  padding:11px 14px 10px 11px !important;
  border-radius:22px !important;
}
.phone.iphone .screenshot-mode .notifications-stack.single-mode .notification-card.is-single,
.phone.iphone .screenshot-mode .notifications-stack.single-mode .notification-card.is-banner{
  position:absolute !important;
  left:2.2% !important;
  right:2.2% !important;
  top:auto !important;
  bottom:14.8% !important;
  width:auto !important;
  min-height:68px !important;
  padding:12px 15px 11px 12px !important;
  border-radius:24px !important;
}

.phone.iphone .screenshot-mode .notification-image{
  background:#fff !important;
  border:1px solid rgba(255,255,255,.62) !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
.phone.iphone .screenshot-mode .notification-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
  background:#fff;
}
.phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-image{
  width:34px !important;
  height:34px !important;
  border-radius:8px !important;
}
.phone.iphone .screenshot-mode .notifications-stack.single-mode .notification-image{
  width:38px !important;
  height:38px !important;
  border-radius:9px !important;
}
.phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-copy p,
.phone.iphone .screenshot-mode .notifications-stack.single-mode .notification-copy p{
  color:rgba(255,255,255,.97) !important;
}

@media(max-width:480px){
  .phone.iphone .screenshot-mode .ios-center-header-row{top:30.7% !important}
  .phone.iphone .screenshot-mode .ios-group-row{top:37.1% !important}
  .phone.iphone .screenshot-mode .ios-center-title{font-size:20px !important}
  .phone.iphone .screenshot-mode .ios-group-label{font-size:17px !important}
  .phone.iphone .screenshot-mode .ios-glass-pill{min-height:29px !important;padding:0 10px !important;font-size:12px !important}
  .phone.iphone .screenshot-mode .ios-circle-button{width:29px !important;height:29px !important;font-size:20px !important}
  .phone.iphone .screenshot-mode .notifications-stack.grouped-mode{top:42.5% !important;gap:5px !important}
  .phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-card{min-height:54px !important;padding:9px 12px 9px 9px !important;border-radius:18px !important}
  .phone.iphone .screenshot-mode .notifications-stack.single-mode .notification-card.is-single,
  .phone.iphone .screenshot-mode .notifications-stack.single-mode .notification-card.is-banner{bottom:13.8% !important;min-height:58px !important;padding:10px 12px 10px 10px !important;border-radius:20px !important}
  .phone.iphone .screenshot-mode .notifications-stack.grouped-mode .notification-image{width:30px !important;height:30px !important;border-radius:7px !important}
  .phone.iphone .screenshot-mode .notifications-stack.single-mode .notification-image{width:34px !important;height:34px !important;border-radius:8px !important}
}


/* ===== V24: glass unificado + ícones sem moldura artificial ===== */
/* A transparência escolhida pelo usuário também controla Mostrar menos e os dois X. */
.phone.iphone .screenshot-mode .ios-circle-button,
.phone.iphone .screenshot-mode .ios-glass-pill{
  background:rgba(255,255,255,var(--ios-glass-alpha)) !important;
  border-color:rgba(255,255,255,var(--ios-glass-border)) !important;
  backdrop-filter:blur(var(--ios-glass-blur)) saturate(var(--ios-glass-saturation)) brightness(var(--ios-glass-brightness)) !important;
  -webkit-backdrop-filter:blur(var(--ios-glass-blur)) saturate(var(--ios-glass-saturation)) brightness(var(--ios-glass-brightness)) !important;
  box-shadow:inset 0 .7px 0 rgba(255,255,255,var(--ios-glass-border)),inset 0 -.7px 0 rgba(255,255,255,var(--ios-glass-inner-border)) !important;
}

/* Aproximadamente 20% menos peso, mantendo o mesmo tamanho. */
.phone.iphone .screenshot-mode .ios-center-title{
  font-weight:450 !important;
}
.phone.iphone .screenshot-mode .ios-group-label{
  font-weight:440 !important;
}

/* O holder não desenha branco, preto, borda ou sombra: é apenas uma máscara. */
.phone.iphone .screenshot-mode .notification-image{
  position:relative;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  outline:0 !important;
  overflow:hidden !important;
}
.phone.iphone .screenshot-mode .notification-image::before,
.phone.iphone .screenshot-mode .notification-image::after{
  display:none !important;
  content:none !important;
}
.phone.iphone .screenshot-mode .notification-image img{
  position:absolute;
  left:50%;
  top:50%;
  width:106% !important;
  height:106% !important;
  max-width:none !important;
  max-height:none !important;
  transform:translate(-50%,-50%);
  object-fit:cover !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  border-radius:inherit !important;
  background:transparent !important;
}

/* ===== V26: estabilidade Safari/iPhone =====
   O badge precisa ficar em uma camada própria, fora da composição visual do backdrop-filter.
   Isso evita o balão/número ficar translúcido ou desaparecer na pré-visualização do iOS. */
.phone.iphone .screenshot-mode .notification-card{
  isolation:isolate;
}
.phone.iphone .screenshot-mode .notification-image-wrap{
  position:relative !important;
  z-index:10 !important;
  overflow:visible !important;
  isolation:isolate;
  transform:translateZ(0);
  -webkit-transform:translateZ(0);
}
.phone.iphone .screenshot-mode .notification-badge:not([hidden]){
  display:flex !important;
  z-index:30 !important;
  opacity:1 !important;
  visibility:visible !important;
  background:#fff !important;
  color:#444b55 !important;
  -webkit-text-fill-color:#444b55 !important;
  border-color:rgba(255,255,255,.82) !important;
  filter:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  mix-blend-mode:normal !important;
  isolation:isolate;
  transform:translateZ(1px);
  -webkit-transform:translateZ(1px);
}

/* ===== V27: plano, QR PIX, navegação mobile, indicações e sugestões ===== */
.account-full-button{display:flex;width:100%;align-items:center;justify-content:center;text-decoration:none}

.plan-active-overview{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;
  margin:0 0 22px;padding:18px 20px;border:1px solid #ccefdc;border-radius:18px;background:#eefaf4;
}
.plan-active-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#0f8b55;color:#fff;font-size:22px;font-weight:900}
.plan-active-main span,.plan-renewal-date span{display:block;font-size:10px;font-weight:850;letter-spacing:.09em;color:#5f6c65}
.plan-active-main strong{display:block;margin-top:4px;font-size:22px;color:#087443}
.plan-active-main small{display:block;margin-top:4px;color:#667085;font-size:12px}
.plan-renewal-date{text-align:right;padding-left:18px;border-left:1px solid #ccefdc}
.plan-renewal-date strong{display:block;margin-top:4px;font-size:18px;color:#17221d}
.plan-renewal-date small{display:block;margin-top:2px;color:#667085}

.pix-qr-visual{width:236px;min-height:236px;display:grid;place-items:center;padding:8px;border:1px solid var(--line);border-radius:16px;background:#fff}
.pix-qr-visual>img{width:220px!important;height:220px!important;max-width:100%;object-fit:contain;border:0!important;border-radius:8px!important;padding:0!important;background:#fff}
.pix-qr-fallback{display:grid;place-items:center;width:220px;height:220px;max-width:100%;background:#fff}
.pix-qr-fallback[hidden]{display:none!important}
.pix-qr-fallback img,.pix-qr-fallback canvas{display:block!important;width:220px!important;height:220px!important;max-width:100%!important}
.qr-unavailable{padding:18px!important;font-size:13px!important;line-height:1.45!important;color:#667085!important}
.pix-payment-hint{margin:12px 0 0;color:#667085;font-size:12px;line-height:1.5}
.payment-confirmed-card{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:flex-start;padding:16px;border-radius:16px;background:#eefaf4;border:1px solid #ccefdc}
.payment-confirmed-check{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#0f8b55;color:#fff;font-size:20px;font-weight:900}
.payment-confirmed-card strong{display:block;color:#087443;font-size:17px}.payment-confirmed-card p{margin:4px 0;color:#3f4c45;font-size:13px;line-height:1.45}.payment-confirmed-card small{color:#667085}

.user-bottom-nav{display:none}

.referral-hero,.suggestion-hero{margin-bottom:22px;padding:26px;border-radius:22px;background:#111827;color:#fff}
.referral-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center}
.referral-hero>div>span,.suggestion-hero>span{display:block;font-size:10px;font-weight:850;letter-spacing:.12em;color:#b8c2d4}
.referral-hero h1,.suggestion-hero h1{margin:7px 0 8px;font-size:28px;line-height:1.12}
.referral-hero p,.suggestion-hero p{margin:0;color:#d5dbea;font-size:13px;line-height:1.55;max-width:760px}
.referral-code-card{min-width:170px;padding:16px 18px;border-radius:16px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);text-align:right}
.referral-code-card small,.referral-code-card strong{display:block}.referral-code-card small{font-size:9px;letter-spacing:.1em;color:#b8c2d4}.referral-code-card strong{margin-top:5px;font-size:18px;letter-spacing:.04em}
.referral-copy-field{grid-template-columns:minmax(0,1fr) auto}.referral-copy-field input{font-size:12px}.referral-share-btn{width:100%;margin-top:10px}
.referral-table .table-sub{display:block;margin-top:3px;color:#7b8490;font-size:11px}

.suggestion-hero{background:linear-gradient(135deg,#111827,#222d3e)}
.suggestion-steps{display:grid;gap:12px}.suggestion-steps>div{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:13px;background:#fafbfc}.suggestion-steps strong{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#111827;color:#fff;font-size:12px}.suggestion-steps span{font-size:13px;color:#4f5865;line-height:1.4}
.suggestion-list{display:grid;gap:12px}.suggestion-item{padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff}.suggestion-item>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.suggestion-item small{color:#7b8490}.suggestion-item p{margin:12px 0 0;font-size:14px;line-height:1.55;color:#303844;word-break:break-word}
.status-pill.suggestion-status-new{background:#fff4e5;color:#a15c00}.status-pill.suggestion-status-read{background:#eef4ff;color:#3157a4}.status-pill.suggestion-status-done{background:#eaf8f1;color:#087443}

.suggestion-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr));max-width:620px}
.admin-suggestion-list{display:grid;gap:12px}.admin-suggestion-card{padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff}.admin-suggestion-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.admin-suggestion-meta strong,.admin-suggestion-meta span{display:block}.admin-suggestion-meta>div>span{margin-top:3px;font-size:11px;color:#7b8490}.admin-suggestion-card p{margin:14px 0;font-size:14px;line-height:1.55;color:#303844;white-space:normal;word-break:break-word}.admin-suggestion-actions{display:flex;gap:8px;flex-wrap:wrap}.admin-suggestion-actions form{margin:0}

@media(max-width:760px){
  body.has-user-bottom-nav{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  .has-user-bottom-nav .topbar{padding-left:16px;padding-right:16px}
  .has-user-bottom-nav .topbar>div:first-child{display:grid;gap:1px}
  .has-user-bottom-nav .topbar>div:first-child strong{font-size:16px}
  .has-user-bottom-nav .topbar>div:first-child span{font-size:11px}
  .has-user-bottom-nav .top-actions{display:none}
  .user-bottom-nav{
    position:fixed;z-index:100;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);
    padding:7px 6px calc(7px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.96);
    border-top:1px solid #dfe4ea;box-shadow:0 -8px 26px rgba(15,23,42,.08);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)
  }
  .user-bottom-nav a{min-width:0;display:grid;place-items:center;gap:3px;padding:4px 2px;text-decoration:none;color:#7a8491;font-size:9.5px;font-weight:750;line-height:1.05}
  .user-bottom-nav a svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .user-bottom-nav a.active{color:#111827}.user-bottom-nav a.active svg{stroke-width:2.2}
  .user-bottom-nav a span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .plan-active-overview{grid-template-columns:auto 1fr;padding:16px;gap:12px}.plan-renewal-date{grid-column:1/-1;text-align:left;padding:12px 0 0;border-left:0;border-top:1px solid #ccefdc}.plan-active-main strong{font-size:19px}
  .referral-hero{grid-template-columns:1fr;padding:22px}.referral-code-card{text-align:left;min-width:0}.referral-hero h1,.suggestion-hero h1{font-size:24px}.suggestion-hero{padding:22px}
  .suggestion-admin-stats{grid-template-columns:1fr 1fr}.admin-suggestion-meta{flex-direction:column}.admin-suggestion-actions{flex-direction:column}.admin-suggestion-actions form,.admin-suggestion-actions button{width:100%}
}
@media(max-width:480px){
  .user-bottom-nav a{font-size:8.8px}.user-bottom-nav a svg{width:20px;height:20px}
  .pix-qr-visual{width:min(236px,100%)}
  .suggestion-admin-stats{grid-template-columns:1fr}
  .referral-copy-field{grid-template-columns:1fr}.referral-copy-field .btn{width:100%}
}


/* V28 - Indique e Ganhe por ciclos */
.referral-reward-card{margin:0 0 22px;padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.05)}
.referral-reward-card.ready{border-color:#b7e1cd;background:#fbfffd}.referral-reward-card.locked{background:#fafbfc}
.referral-reward-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.referral-reward-top small{display:block;font-size:10px;letter-spacing:.1em;color:#7b8490;font-weight:850}.referral-reward-top h2{margin:5px 0 0;font-size:22px}.referral-reward-badge{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#eef2f7;color:#5f6977;font-size:10px;font-weight:850;letter-spacing:.05em}.referral-reward-card.ready .referral-reward-badge{background:#eaf8f1;color:#087443}
.referral-reward-card p{margin:14px 0;color:var(--muted);font-size:13px;line-height:1.55}.referral-progress-copy{display:flex;justify-content:space-between;gap:12px;margin:18px 0 8px;font-size:12px;color:#596273}.referral-progress-copy strong{color:#111827}.referral-progress{height:10px;border-radius:999px;background:#edf0f3;overflow:hidden}.referral-progress i{display:block;height:100%;border-radius:inherit;background:#111827;transition:width .25s ease}.referral-next-cycle{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;padding:13px 14px;border:1px solid var(--line);border-radius:13px;background:#fff}.referral-next-cycle span{font-size:12px;color:#7b8490}.referral-next-cycle strong{font-size:13px}.referral-claim-btn{min-width:250px}
@media(max-width:700px){.referral-reward-top,.referral-next-cycle{align-items:flex-start;flex-direction:column}.referral-reward-top h2{font-size:20px}.referral-claim-btn,.referral-reward-card .btn{width:100%}}

/* ===== V29: modal de exclusão + estabilidade de criação/upload ===== */
.btn.danger{background:#b42318;color:#fff}
.btn.danger:hover{background:#912018}
.btn:disabled{opacity:.56;cursor:not-allowed}

.modal-open{overflow:hidden}
.app-modal-backdrop[hidden]{display:none!important}
.app-modal-backdrop{
  position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:20px;
  background:rgba(15,23,42,.42);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)
}
.app-modal-card{
  position:relative;width:min(100%,390px);padding:24px;border:1px solid rgba(255,255,255,.7);
  border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.22);text-align:center
}
.app-modal-close{
  position:absolute;right:12px;top:12px;width:34px;height:34px;border:0;border-radius:10px;
  background:#f4f6f8;color:#667085;font-size:21px;line-height:1;cursor:pointer
}
.app-modal-icon{
  width:48px;height:48px;margin:2px auto 14px;border-radius:15px;display:grid;place-items:center;
  font-size:27px;font-weight:500
}
.app-modal-icon.danger{background:#fff1f0;color:#b42318}
.app-modal-card h3{margin:0;font-size:20px;color:#171a20}
.app-modal-card p{margin:8px auto 0;max-width:310px;color:#6d7480;font-size:13.5px;line-height:1.5}
.app-modal-status{display:block;min-height:18px;margin-top:10px;color:#6d7480;font-size:12px}
.app-modal-status.error{color:#b42318}.app-modal-status.success{color:#0f8b55}
.app-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.delete-notification-form{margin:0}
.icon-btn{transition:background .18s,color .18s,transform .18s}
.icon-btn:hover{background:#fff1f0;color:#b42318}
.icon-btn:active{transform:scale(.96)}

@media(max-width:480px){
  .app-modal-backdrop{align-items:end;padding:12px 12px calc(12px + env(safe-area-inset-bottom,0px))}
  .app-modal-card{width:100%;border-radius:22px;padding:22px 18px 18px}
  .app-modal-actions{grid-template-columns:1fr}
  .app-modal-actions .btn.danger{order:-1}
}

/* V30 — identidade visual configurável */
.brand-badge img,.topbar-brand-mark img,.admin-brand-mark img,.visual-brand-logo img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
.topbar-brand{display:flex!important;align-items:center!important;gap:10px!important;min-width:0}
.topbar-brand-mark{width:34px;height:34px;flex:0 0 34px;border-radius:10px;display:grid;place-items:center;background:#111827;color:#fff;font-size:11px;font-weight:900;overflow:hidden}
.topbar-brand-copy{display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0}
.topbar-brand-copy strong{font-size:17px;line-height:1.1;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar-brand-copy span{font-size:12px;line-height:1.2}
.visual-settings-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:start}
.visual-brand-preview{min-height:178px;border:1px solid var(--line);border-radius:18px;background:#f8fafc;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px}
.visual-brand-logo{width:74px;height:74px;border-radius:20px;display:grid;place-items:center;background:#111827;color:#fff;font-weight:900;font-size:20px;overflow:hidden;box-shadow:0 10px 24px rgba(15,23,42,.12)}
.visual-brand-preview strong{display:block;margin-top:13px;font-size:16px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.visual-brand-preview span{display:block;margin-top:4px;color:var(--muted);font-size:12px}
@media(max-width:720px){
  .visual-settings-layout{grid-template-columns:1fr}
  .visual-brand-preview{min-height:150px}
  .topbar-brand-copy strong{max-width:170px;font-size:15px}
  .topbar-brand-copy span{font-size:11px}
}

/* V30.0.1 — acesso ADM visível no cabeçalho mobile */
.mobile-admin-entry{display:none}
@media(max-width:760px){
  .has-user-bottom-nav .topbar{position:relative}
  .mobile-admin-entry{
    display:flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;
    min-height:38px;padding:8px 11px;border:1px solid #dfe4ea;border-radius:11px;
    background:#111827;color:#fff;text-decoration:none;font-size:11px;font-weight:850;letter-spacing:.03em;
    box-shadow:0 5px 14px rgba(15,23,42,.12)
  }
  .mobile-admin-entry svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .mobile-admin-entry span{display:block}
}
@media(min-width:761px){.mobile-admin-entry{display:none!important}}
