/* PICNYM professional account, profile, safety and theme expansion */
html[data-theme="dark"]{--ph:#9db5e4;--sfc:#b9c9b2;--bg:#0c1118;--card:#141b24;--ink:#eef2f5;--muted:#a4adb7;--line:#2a3441;background:#0c1118;color-scheme:dark}
html[data-theme="dark"] body{background:#0c1118;color:var(--ink)}
html[data-theme="dark"] .topbar{background:#101720;border-color:#27313d}
html[data-theme="dark"] .card,html[data-theme="dark"] .link-card,html[data-theme="dark"] .modal,html[data-theme="dark"] .auth-tab.active,html[data-theme="dark"] .btn,html[data-theme="dark"] .menu,html[data-theme="dark"] .field input,html[data-theme="dark"] .field textarea,html[data-theme="dark"] .field select,html[data-theme="dark"] .slug-field,html[data-theme="dark"] .poll-option,html[data-theme="dark"] .friend-search input,html[data-theme="dark"] .message-filters input,html[data-theme="dark"] .message-filters select{background:#141b24;color:#eef2f5;border-color:#2a3441}
html[data-theme="dark"] .home h1,html[data-theme="dark"] .page h1,html[data-theme="dark"] .poll-page h1,html[data-theme="dark"] .composer-title,html[data-theme="dark"] .public-profile strong,html[data-theme="dark"] .account-welcome strong,html[data-theme="dark"] .account-inbox strong{color:#dce7ff}
html[data-theme="dark"] .auth-tabs,html[data-theme="dark"] .tabs,html[data-theme="dark"] .tool,html[data-theme="dark"] .poll-box,html[data-theme="dark"] .voice-box{background:#1a222d}
html[data-theme="dark"] .tab.active{background:#202a36;color:#eaf0ff}
html[data-theme="dark"] .tool.active,html[data-theme="dark"] .btn.primary{background:#29436f;color:white;border-color:#29436f}
html[data-theme="dark"] .btn.sage{background:#8ea78c;color:#0f1b2d;border-color:#8ea78c}
html[data-theme="dark"] .menu button{background:#141b24;color:#eef2f5}
html[data-theme="dark"] .message-image{background:#0f151d}
html[data-theme="dark"] .reply-preview,html[data-theme="dark"] .bulk-bar{background:#1d2b27;border-color:#35443d}
html[data-theme="dark"] .brand-mark{border-color:#9db5e4}html[data-theme="dark"] .brand-mark i:first-child{background:#12264b}html[data-theme="dark"] .brand-copy strong{color:#dce7ff}
html[data-theme="dark"] .premium-home-teaser{background:#191c22;border-color:#4b4d52}
html[data-theme="dark"] .setting-row,html[data-theme="dark"] .professional-inbox,html[data-theme="dark"] .friend-card{border-color:#293440}
.theme-toggle{position:fixed;right:max(16px,env(safe-area-inset-right));top:max(14px,env(safe-area-inset-top));z-index:80;width:44px;height:44px;border-radius:14px;border:1px solid var(--line);background:var(--card);color:var(--ph);box-shadow:0 8px 28px #0002;font-size:21px;font-weight:900;cursor:pointer;display:grid;place-items:center}.theme-toggle:focus-visible{outline:3px solid #b9c9b266;outline-offset:2px}
.premium-home-teaser{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0 16px;padding:18px 20px;border:1px solid #c8c2b8;border-radius:5px;background:#fffdf8}.premium-home-teaser strong{display:block;color:var(--ph);font-size:17px;margin:8px 0 4px}.premium-home-teaser p{margin:0!important;text-align:left!important;font-size:12px}.premium-price{text-align:right;color:var(--ph);font-size:23px;font-weight:900;white-space:nowrap}.premium-price span{font-size:12px;color:var(--muted);font-weight:700}.premium-price small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.premium-badge{display:inline-flex;align-items:center;width:max-content;padding:6px 9px;border-radius:999px;background:var(--ph);color:#fff;font-size:9px;letter-spacing:1px;font-weight:900;text-transform:uppercase}
.account-pro-page{max-width:920px}.account-hero{padding:30px}.profile-main{display:flex;gap:20px;align-items:center}.profile-main h1{font-family:inherit!important;font-size:28px!important;font-weight:850!important;margin:0!important;color:var(--ph)}.profile-main p{margin:10px 0 0;color:var(--muted);line-height:1.55}.profile-name-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.profile-handle{color:#71816f;font-weight:800;margin-top:4px}.profile-avatar{display:grid;place-items:center;object-fit:cover;border-radius:50%;background:var(--sfc);color:var(--ph);font-weight:900;flex:0 0 auto;border:2px solid var(--card);box-shadow:0 0 0 1px var(--line)}.profile-avatar.xl{width:92px;height:92px;font-size:32px}.profile-avatar.lg{width:68px;height:68px;font-size:24px}.profile-avatar.md{width:48px;height:48px}.profile-avatar.sm{width:44px;height:44px}.profile-avatar.xs{width:22px;height:22px;font-size:10px;display:inline-grid;vertical-align:middle;margin-right:6px}.profile-avatar.fallback{font-family:Georgia,serif}.account-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}.account-stat-grid.two{grid-template-columns:repeat(2,1fr)}.account-stat-grid div{text-align:center}.account-stat-grid strong{display:block;font-size:24px;color:var(--ph)}.account-stat-grid span{display:block;font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.8px;margin-top:4px}.account-tabs{display:flex;gap:7px;overflow-x:auto;padding:4px;margin:0 0 24px;background:#e4e8e1;border-radius:14px;scrollbar-width:none}.account-tabs::-webkit-scrollbar{display:none}.account-tab{flex:1 0 auto;border:0;border-radius:11px;padding:13px 17px;background:transparent;color:#68716e;font-weight:850;cursor:pointer}.account-tab.active{background:var(--card);color:var(--ph);box-shadow:0 2px 6px #0001}html[data-theme="dark"] .account-tabs{background:#18212b}html[data-theme="dark"] .account-tab.active{background:#263241;color:#eaf0ff}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-grid>.card{margin:0}.settings-grid>.card:last-child:nth-child(odd){grid-column:1/-1}.card-title-row,.section-heading-row,.inbox-title-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.card h2,.section-heading-row h2,section>h2{color:var(--ph);margin:4px 0 14px;font-size:24px}.section-heading-row{margin:6px 0 16px}.section-heading-row p{max-width:560px}.section-kicker.compact{margin:0 0 6px}.compact-file{padding:18px;margin-bottom:12px}.inline-actions,.inbox-card-actions,.friend-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.professional-inbox-list,.friend-list{display:grid;gap:12px}.professional-inbox{margin:0}.professional-inbox-main{display:flex;align-items:center;justify-content:space-between;gap:16px}.professional-inbox-main strong{font-size:20px;color:var(--ph)}.professional-inbox-main span{font-size:12px;color:var(--muted)}.inbox-title-row{justify-content:flex-start;margin-bottom:5px}.status-pill{display:inline-flex;border:1px solid #cdd9c9;background:#eef4ec;color:#526a56;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.5px}.status-pill.live{background:#e6f2e4}.status-pill.paused{background:#f5ece4;color:#986643;border-color:#ead8c8}html[data-theme="dark"] .status-pill{background:#1e2e29;border-color:#354b42;color:#b9c9b2}html[data-theme="dark"] .status-pill.paused{background:#33261e;color:#e3b38e;border-color:#59412f}.danger-btn{color:#a93535!important;border-color:#e4bcbc!important;background:#fff7f7!important}html[data-theme="dark"] .danger-btn{background:#291c1f!important;border-color:#5a343a!important;color:#f2a5ad!important}.danger-zone{border-color:#efd1d1!important}
.friend-search{display:grid;grid-template-columns:1fr auto;gap:9px;margin:18px 0}.friend-search input{width:100%;padding:14px;border:1px solid #d8dad4;border-radius:12px;outline:none}.friend-card{display:flex;align-items:center;gap:12px;margin:0}.friend-copy{min-width:0;flex:1}.friend-copy strong{display:block;color:var(--ph);overflow:hidden;text-overflow:ellipsis}.friend-copy>a{display:block;color:#71816f;text-decoration:none;font-size:12px;margin:2px 0 5px}.friend-copy .premium-badge{font-size:7px;padding:4px 6px}
.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid var(--line);cursor:pointer}.setting-row>span{display:block}.setting-row strong{display:block;color:var(--ink);font-size:14px}.setting-row small{display:block;color:var(--muted);font-size:11px;line-height:1.45;margin-top:4px}.setting-row input{position:absolute;opacity:0;pointer-events:none}.setting-row i{position:relative;width:46px;height:26px;border-radius:999px;background:#c8cdc6;flex:0 0 auto;transition:.2s}.setting-row i:after{content:'';position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #0002;transition:.2s}.setting-row input:checked+i{background:#738e70}.setting-row input:checked+i:after{transform:translateX(20px)}.theme-choice{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.theme-option{border:1px solid var(--line);border-radius:12px;padding:13px;background:var(--card);color:var(--muted);font-weight:850;cursor:pointer}.theme-option.active{background:var(--ph);border-color:var(--ph);color:#fff}
.billing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.plan-card{margin:0;position:relative}.plan-card.current-plan{box-shadow:0 0 0 2px #b9c9b2 inset}.plan-label{font-size:10px;letter-spacing:1.4px;color:var(--muted);font-weight:900}.plan-card h3{font-size:26px;color:var(--ph);margin:10px 0 6px}.plan-price{font-size:34px;color:var(--ph);font-weight:900;margin:8px 0 18px}.plan-price small{font-size:13px;color:var(--muted)}.plan-card ul{padding-left:20px;color:var(--muted);line-height:1.9;font-size:13px}.premium-plan{background:#fffdf8}html[data-theme="dark"] .premium-plan{background:#191c22}.premium-trust{margin-top:16px!important}.public-profile-card .btn{margin-top:18px}.public-answer-list{display:grid;gap:14px}.public-answer{margin:0}.public-profile-link{display:block;margin-top:6px;color:#71816f;font-size:12px;font-weight:800;text-decoration:none}
.inbox-notice{border:1px solid #d8cda5;background:#fff8db;color:#775c15;padding:13px 16px;border-radius:13px;margin:0 0 14px;font-size:12px;line-height:1.5}html[data-theme="dark"] .inbox-notice{background:#2c2719;border-color:#544a2d;color:#e0c678}.reveal-profile-option{display:flex;align-items:flex-start;gap:10px;border-top:1px solid var(--line);padding:16px 24px 22px;cursor:pointer}.reveal-profile-option input{margin-top:4px}.reveal-profile-option strong{display:block;color:var(--ink);font-size:12px}.reveal-profile-option small{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.message-filters{display:grid;grid-template-columns:minmax(180px,1fr) auto auto auto;gap:9px;align-items:center;margin:0 0 14px}.message-filters input[type="search"],.message-filters select{width:100%;border:1px solid #d8dad4;background:#fff;border-radius:11px;padding:11px;color:var(--ink);outline:none}.message-filters label{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);font-weight:800;white-space:nowrap}.message-card.filter-hidden{display:none}.message-card.favorite-message{box-shadow:0 0 0 2px #b9c9b299 inset}.message-card.archived-message{opacity:.72}.message-head .anon{display:flex;align-items:center;gap:3px}.message-head .anon a{color:#526a56;text-decoration:none;text-transform:none;letter-spacing:0}.message-head .anon small{font-size:8px;color:var(--muted);letter-spacing:0;text-transform:none}.field select,#reportReason{width:100%;padding:14px;border:1px solid #d8dad4;border-radius:12px;background:#fff;color:var(--ink)}
@media(max-width:760px){.settings-grid,.billing-grid{grid-template-columns:1fr}.settings-grid>.card:last-child:nth-child(odd){grid-column:auto}.professional-inbox-main,.section-heading-row{align-items:flex-start;flex-direction:column}.inbox-card-actions{width:100%}.inbox-card-actions .btn{flex:1}.message-filters{grid-template-columns:1fr 1fr}.message-filters input[type="search"]{grid-column:1/-1}.premium-home-teaser{align-items:flex-start;flex-direction:column}.premium-price{text-align:left}.profile-main{align-items:flex-start}.account-stat-grid{gap:4px}}
@media(max-width:480px){.profile-main{flex-direction:column}.profile-avatar.xl{width:78px;height:78px}.account-hero{padding:22px}.friend-search{grid-template-columns:1fr}.friend-search .btn{width:100%}.message-filters{grid-template-columns:1fr}.message-filters input[type="search"]{grid-column:auto}.account-stat-grid strong{font-size:20px}.theme-toggle{width:40px;height:40px;top:auto;bottom:max(16px,env(safe-area-inset-bottom));right:16px}}
