/* Account and ad-authoring pages: quiet surfaces, clear hierarchy, shared palettes. */
.auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center;max-width:1040px;margin:25px auto 60px}
.auth-story{padding:40px 30px;position:relative}
.auth-story h1{font-size:39px;line-height:1.8;letter-spacing:-1px;margin-block:18px}
.auth-story>p{color:var(--text-muted);max-width:390px;line-height:2.2;font-size:14px}
.auth-story-art{width:210px;height:155px;position:relative;background:linear-gradient(135deg,var(--accent-pale),var(--accent-soft));border-radius:54% 46% 42% 58%;display:grid;place-items:center;margin-bottom:28px}
.auth-story-art>.icon{width:100px;height:100px;filter:drop-shadow(0 15px 15px color-mix(in srgb,var(--accent) 20%,transparent));transform:rotate(-6deg)}
.auth-story-art>span{position:absolute;right:-12px;bottom:10px;background:var(--surface);border:1px solid var(--ui-line);border-radius:18px;padding:12px;transform:rotate(8deg);box-shadow:var(--ui-shadow)}
.auth-story-art>span .icon{width:38px;height:38px}
.auth-story-art i,.auth-story-art b{position:absolute;background:var(--accent);opacity:.25;width:16px;height:16px;border-radius:6px;top:10px;right:-14px;transform:rotate(16deg)}
.auth-story-art b{width:10px;height:10px;top:auto;bottom:0;right:auto;left:7px}
.auth-benefits{display:flex;flex-wrap:wrap;gap:17px;margin-top:27px;color:var(--text-muted);font-size:10px}
.auth-benefits span{display:flex;align-items:center;gap:5px}.auth-benefits .icon{width:21px;height:21px}
.auth-card{padding:32px;box-shadow:0 18px 60px color-mix(in srgb,var(--accent) 5%,transparent)}
.auth-back{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--text-muted);width:max-content}.auth-back .icon{width:13px;height:13px}
.auth-title{margin:25px 0;text-align:center}.auth-title>.icon{width:48px;height:48px;margin-bottom:12px}.auth-title h2{display:block;font-size:23px}.auth-title p{font-size:12px}
.auth-legal{display:flex;gap:12px;color:var(--accent-strong);font-size:10px;margin:12px 0 24px}.auth-switch{text-align:center;margin-top:20px!important}.auth-switch a,.auth-text-link{color:var(--accent-strong)}
.auth-phone{margin-bottom:22px}.otp-input{text-align:center;font-size:25px!important;letter-spacing:8px}.auth-resend{display:flex;justify-content:space-between;gap:10px;font-size:11px;margin-block:20px;color:var(--text-muted)}.auth-resend button{color:var(--accent-strong)}.auth-text-link{font-size:11px;display:block;text-align:center}
.account-person{display:flex;align-items:center;gap:15px;margin-bottom:25px}.account-person>img{width:80px;height:80px;object-fit:cover;object-position:center 25%;border:4px solid var(--accent-pale);border-radius:50%}.account-person>div{display:flex;flex-direction:column;gap:6px}.account-person strong{font-size:18px}.account-person small,.account-person span{font-size:11px;color:var(--text-muted)}.account-person>a{margin-right:auto}
.account-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:20px;background:linear-gradient(90deg,transparent,var(--ui-line) 8%,var(--ui-line) 92%,transparent) top/100% 1px no-repeat}
.account-stat-grid>a{display:flex;flex-direction:column;align-items:center;gap:7px;padding:10px 4px;text-align:center}.account-stat-grid>a>span{padding:10px;background:var(--accent-pale);border-radius:13px}.account-stat-grid .icon{width:26px;height:26px}.account-stat-grid strong{font-size:16px;line-height:1.8}.account-stat-grid small{font-size:10px;color:var(--text-muted)}
.account-wallet-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 30px;background:linear-gradient(120deg,var(--accent-soft),var(--surface));border:1px solid var(--ui-line);border-radius:20px;margin-bottom:20px;overflow:hidden}.account-wallet-banner>div:first-child{display:flex;flex-direction:column;align-items:flex-start;gap:13px}.account-wallet-banner span{color:var(--text-muted);font-size:12px}.account-wallet-banner strong{font-size:26px}.account-wallet-art{position:relative;width:140px;height:120px;display:grid;place-items:center;flex-shrink:0}.account-wallet-art>.icon{width:102px;height:102px;transform:rotate(-10deg);z-index:1}.account-wallet-art i{position:absolute;inset:0;border:1px solid var(--accent);opacity:.18;border-radius:38% 62% 60% 40%;transform:rotate(15deg)}
.account-shortcuts{display:grid;grid-template-columns:1fr 1fr;padding:10px}.account-shortcuts>a{display:flex;align-items:center;gap:13px;padding:20px;border-radius:12px}.account-shortcuts>a:hover{background:var(--accent-pale)}.account-shortcuts>a>span{background:var(--accent-pale);border-radius:14px;padding:10px}.account-shortcuts>a>span .icon{width:28px;height:28px}.account-shortcuts strong,.account-shortcuts small{display:block}.account-shortcuts strong{font-size:13px}.account-shortcuts small{font-size:10px;color:var(--text-muted);margin-top:5px}.account-shortcuts>a>.icon{width:15px;height:15px;margin-right:auto}
.account-business-banner{display:flex;justify-content:space-between;gap:20px;align-items:center;border:1px solid var(--ui-line);background:var(--surface);border-radius:20px;padding:28px}.account-business-banner h2{font-size:23px;margin-block:8px}.account-business-banner p{font-size:12px;line-height:2;color:var(--text-muted);margin-bottom:18px}.account-business-banner span{font-size:11px;color:var(--accent-strong)}.account-business-banner>span>.icon{width:100px;height:100px}
.profile-photo-editor{display:flex;align-items:center;gap:18px;padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid var(--ui-line)}.profile-photo-editor>img{flex-shrink:0;width:84px;height:84px;object-fit:cover;object-position:center 25%;border-radius:50%;background:var(--surface-soft);box-shadow:0 0 0 1px var(--ui-line)}.profile-photo-copy{display:grid;justify-items:start;gap:7px;min-width:0}.profile-photo-copy .profile-photo-pick{min-height:0;padding:7px 14px;font-size:12px;gap:7px}.profile-photo-copy .profile-photo-pick .icon{width:18px;height:18px}.profile-photo-copy>small{color:var(--text-muted);font-size:11px;line-height:1.7}.profile-phone-line{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--ui-line);border-radius:11px;padding:10px}.profile-phone-line strong{font-size:13px}
.owned-ad-reason{color:#a82748!important;font-size:11px!important}
/* My ads: a grid of vertical cards (photo with its status, details, numbers, actions). */
.owned-ad-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:14px;margin-bottom:20px}
.owned-ad-list>:not(.owned-ad){grid-column:1/-1}
.owned-ad{display:flex;flex-direction:column;margin:0;padding:10px}
.owned-ad-media{position:relative;aspect-ratio:16/10;border-radius:14px;overflow:hidden;background:var(--surface-soft)}
.owned-ad-media img{display:block;width:100%;height:100%;object-fit:cover}
.owned-ad-media>.app-badge{position:absolute;top:9px;left:9px;padding:4px 10px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.owned-ad-body{display:flex;flex-direction:column;flex:1;gap:5px;padding:12px 4px 2px}
.owned-ad-body>p{margin:0}
.owned-ad .owned-ad-body h2{display:block;margin:0 0 2px;font-size:14px;line-height:1.8}
.owned-ad-line{display:flex;align-items:center;justify-content:space-between;gap:10px}
.owned-ad-line>p{margin:0}
.owned-ad-price{font-size:14px;font-weight:700;color:var(--accent-strong)}
.owned-ad-meta{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--text-muted)}
.owned-ad-meta>.icon,.owned-ad-stats .icon{width:16px;height:16px;flex-shrink:0}
.owned-ad-stats{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:auto;padding-top:11px;border-top:1px solid var(--ui-line);color:var(--text-muted);font-size:10.5px}
.owned-ad-stats>span{display:flex;align-items:center;gap:5px}
.owned-ad-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:auto;padding-top:10px}
.owned-ad-stats+.owned-ad-actions{margin-top:0}
.owned-ad-actions .app-button{flex:1 1 auto;justify-content:center;min-height:36px;padding:6px 10px;font-size:11px}
.owned-ad-actions .app-button.ghost{border:1px solid var(--ui-line)}
.owned-ad-actions>.app-button:not(.secondary,.ghost),.owned-ad-actions>form{flex:1 0 100%}
.owned-ad-actions>form>.app-button{width:100%}
.owned-ad .dashboard-ad-menu summary{width:38px;height:36px;border:1px solid var(--ui-line);border-radius:11px}
.owned-ad .dashboard-ad-menu summary:hover,.owned-ad .dashboard-ad-menu[open] summary{border-color:color-mix(in srgb,var(--accent) 38%,var(--ui-line));color:var(--accent-strong)}
.owned-ad .dashboard-ad-menu>div{top:auto;bottom:42px;width:150px}
.dashboard-ad-menu .is-danger{color:#c0334f}
.ad-status-summary{display:flex;align-items:center;gap:20px}.ad-status-summary>img{width:210px;height:150px;object-fit:cover;border-radius:14px}.ad-status-summary h2{margin-top:12px;line-height:1.8}.account-small-stat{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.account-small-stat>.icon{width:32px;height:32px}.account-small-stat>strong{font-size:24px}.account-small-stat>span{font-size:11px;color:var(--text-muted)}.account-timeline{list-style:none}.account-timeline>li{display:flex;gap:13px;position:relative;padding-bottom:25px}.account-timeline>li:not(:last-child):before{content:'';position:absolute;right:15px;top:29px;bottom:2px;border-right:1px solid var(--ui-line)}.account-timeline>li>span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft);flex-shrink:0}.account-timeline .icon{width:17px;height:17px}.account-timeline strong{font-size:13px}.account-timeline small{font-size:10px;color:var(--text-muted)}
.editor-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;gap:14px;margin-bottom:28px}.editor-steps>li{display:flex;align-items:center;gap:9px;color:var(--text-muted);font-size:12px}.editor-steps>li>span{width:34px;height:34px;display:grid;place-items:center;flex-shrink:0;border:1px solid var(--ui-line);border-radius:50%;background:var(--surface)}.editor-steps .icon{width:18px;height:18px}.editor-steps>li[aria-current],.editor-steps>li.complete{color:var(--accent-strong)}.editor-steps>li[aria-current]>span{background:var(--accent);color:white;border-color:var(--accent)}.editor-steps>li.complete>span{background:var(--accent-soft)}.editor-counter{display:block;color:var(--text-muted);font-size:10px;text-align:left;margin:-7px 0 20px}.required-dot{color:var(--accent-strong)}
[data-editor-form]{max-width:900px;margin-inline:auto}.editor-contact-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.editor-contact-option{position:relative;display:grid;grid-template-columns:34px 1fr;gap:7px 12px;padding:18px;border:1px solid var(--ui-line);border-radius:14px;cursor:pointer}.editor-contact-option:has(input:checked){background:var(--accent-pale);border-color:var(--accent)}.editor-contact-option>input{position:absolute;left:12px;top:12px;accent-color:var(--accent)}.editor-contact-option>.icon{width:31px;height:31px;grid-row:span 2}.editor-contact-option>strong{font-size:12px;padding-left:13px}.editor-contact-option>small{font-size:10px;color:var(--text-muted);line-height:1.9}.editor-chat-option{margin-top:20px}
.editor-panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.editor-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-block:20px}.editor-upload-tile{min-height:165px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed var(--accent);background:var(--accent-pale);border-radius:14px;gap:9px;cursor:pointer;text-align:center}.editor-upload-tile>.icon{width:40px;height:40px}.editor-upload-tile strong{font-size:12px}.editor-upload-tile small{font-size:10px;color:var(--text-muted);line-height:1.8}.editor-upload-preview{position:relative;border:1px solid var(--ui-line);border-radius:14px;overflow:hidden;background:var(--surface-soft)}.editor-upload-preview>img{width:100%;aspect-ratio:1.55;object-fit:cover;height:auto}.editor-upload-preview>button{position:absolute;top:7px;left:7px;width:28px;height:28px;background:var(--surface);border-radius:50%;display:grid;place-items:center}.editor-upload-preview>button .icon{width:15px;height:15px}.editor-upload-preview>div{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:9px;font-size:10px}.editor-upload-preview>div button .icon{width:17px;height:17px}.editor-video-upload{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px;border:1px solid var(--ui-line);border-radius:14px;margin-bottom:15px}.editor-video-upload>div:first-child{display:grid;grid-template-columns:40px 1fr;gap:6px 10px;align-items:center}.editor-video-upload>div:first-child>.icon{width:36px;height:36px;grid-row:span 2}.editor-video-upload strong{font-size:12px}.editor-video-upload small{font-size:10px;color:var(--text-muted)}.editor-video-ready{display:flex;flex-direction:column;gap:10px;max-width:300px}.editor-video-ready video{width:100%;max-height:180px;border-radius:10px;background:#111}
.editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:20px;background:var(--surface);border:1px solid var(--ui-line);border-radius:15px;margin-top:20px}.editor-actions>.ghost{margin-left:auto}.editor-review-title{display:flex;gap:22px;align-items:center;margin:24px 0}.editor-review-title>img{width:240px;height:160px;object-fit:cover;border-radius:13px}.editor-review-title h3{font-size:20px;line-height:1.8;margin:12px 0}.editor-review-title strong{font-size:18px;color:var(--accent-strong)}.editor-review-specs{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--ui-line);border:1px solid var(--ui-line);border-radius:13px;overflow:hidden;margin:20px 0}.editor-review-specs>div{display:flex;justify-content:space-between;gap:10px;padding:12px;background:var(--surface);font-size:12px}.editor-review-specs dt{color:var(--text-muted)}.editor-review-specs dd{font-weight:500}.editor-review-contact{display:flex;flex-wrap:wrap;gap:18px;margin:24px 0;font-size:11px;color:var(--text-muted)}.editor-review-contact>span{display:flex;gap:5px;align-items:center}.editor-review-contact .icon{width:20px;height:20px}.editor-success{text-align:center;max-width:620px;margin:50px auto;padding:45px 25px}.editor-success>span{display:grid;place-items:center;background:var(--accent-soft);border-radius:50%;width:85px;height:85px;margin:0 auto 25px}.editor-success>span .icon{width:43px;height:43px}.editor-success h1{font-size:26px;margin-bottom:15px}.editor-success .app-button{margin:20px 3px 0}
button:disabled{cursor:default;opacity:.48}.workspace-page :is(button,a,input,textarea,select):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:1000px){.auth-layout{gap:22px}.auth-story{padding:20px}.auth-story h1{font-size:31px}.auth-card{padding:25px}.account-stat-grid{gap:5px}.account-stat-grid strong{font-size:13px}.account-shortcuts>a{padding:14px}.editor-steps>li{font-size:11px}}
@media(max-width:700px){.auth-layout{display:block;margin:10px auto 25px;max-width:470px}.auth-story{padding:10px 10px 25px;display:grid;grid-template-columns:100px 1fr;gap:4px 15px;align-items:center}.auth-story-art{grid-row:span 3;width:95px;height:90px;margin:0}.auth-story-art>.icon{width:55px;height:55px}.auth-story-art>span{padding:6px;right:-5px;bottom:-5px;border-radius:10px}.auth-story-art>span .icon{width:22px;height:22px}.auth-story h1{font-size:23px;line-height:1.65;margin:4px 0}.auth-story h1 br{display:none}.auth-story>p{font-size:11px;line-height:1.9}.auth-story .app-eyebrow{font-size:9px}.auth-benefits{display:none}.auth-card{padding:24px 20px}.auth-title h2{font-size:21px}.account-person{gap:10px;flex-wrap:wrap}.account-person>img{width:63px;height:63px}.account-person strong{font-size:15px}.account-person>a{min-height:33px;padding:6px 9px;font-size:10px}.account-person>a .icon{width:17px;height:17px}.account-stat-grid{grid-template-columns:1fr 1fr}.account-stat-grid>a{padding:8px;gap:5px}.account-stat-grid strong{font-size:16px}.account-wallet-banner{padding:20px;gap:10px}.account-wallet-banner strong{font-size:22px}.account-wallet-art{width:100px;height:100px}.account-wallet-art>.icon{width:75px;height:75px}.account-shortcuts{grid-template-columns:1fr}.account-shortcuts>a{padding:15px 10px}.account-business-banner{padding:20px;gap:10px}.account-business-banner h2{font-size:20px}.account-business-banner>span>.icon{width:65px;height:65px}.profile-photo-editor{gap:14px}.profile-photo-editor>img{width:72px;height:72px}.ad-status-summary{gap:14px}.ad-status-summary>img{width:130px;height:130px}.ad-status-summary h2{font-size:15px}.account-small-stat{margin-bottom:0}.editor-steps{gap:7px;margin-bottom:20px}.editor-steps>li{flex-direction:column;text-align:center;gap:7px;font-size:9px;line-height:1.7}.editor-steps>li>span{width:31px;height:31px}.editor-contact-options{gap:10px}.editor-contact-option{padding:16px 12px;grid-template-columns:1fr;gap:8px}.editor-contact-option>.icon{grid-row:auto;width:28px;height:28px}.editor-contact-option>strong{font-size:11px}.editor-media-grid{grid-template-columns:1fr 1fr;gap:10px}.editor-upload-tile{min-height:140px}.editor-upload-tile small{font-size:9px}.editor-video-upload{padding:15px;flex-wrap:wrap}.editor-review-title{gap:15px;align-items:flex-start}.editor-review-title>img{width:140px;height:125px}.editor-review-title h3{font-size:16px;margin:8px 0}.editor-review-title strong{font-size:14px}.editor-review-specs{grid-template-columns:1fr}.editor-actions{padding:12px;gap:6px;flex-wrap:wrap}.editor-actions .app-button{font-size:10px;padding:7px 9px}.editor-actions .icon{width:16px;height:16px}.editor-review-contact{gap:12px;font-size:10px}.editor-success h1{font-size:23px}}
@media(max-width:390px){.account-person>a{margin-right:0}.editor-contact-options{grid-template-columns:1fr}.editor-contact-option{grid-template-columns:30px 1fr}.editor-contact-option>.icon{grid-row:span 2}.editor-review-title{flex-direction:column}.editor-review-title>img{width:100%;height:170px}.profile-phone-line{flex-wrap:wrap}.auth-story{grid-template-columns:75px 1fr}.auth-story-art{width:73px;height:75px}.auth-story h1{font-size:21px}}
/* Public guidance and editorial pages. */
.catalog-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;background:linear-gradient(120deg,var(--accent-soft),var(--surface));border:1px solid var(--ui-line);border-radius:23px;padding:30px;margin-bottom:25px}.catalog-hero h2{font-size:26px;margin-bottom:12px}.catalog-hero p{color:var(--text-muted);font-size:13px;line-height:2;max-width:580px;margin-bottom:15px}.catalog-hero>span>.icon{width:90px;height:90px;transform:rotate(-8deg)}.catalog-search{max-width:500px;margin-bottom:25px}.workspace-catalog{margin-bottom:30px}.workspace-catalog>a>.icon:last-child{width:15px;height:15px;margin-right:auto}.content-faq details{border-bottom:1px solid var(--ui-line);padding-block:16px}.content-faq details:last-child{border:0}.content-faq summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px;font-weight:500;list-style:none}.content-faq summary::-webkit-details-marker{display:none}.faq-toggle{position:relative;flex-shrink:0;width:16px;height:16px;color:var(--text-muted);transition:color .2s}.faq-toggle::before,.faq-toggle::after{content:'';position:absolute;inset-inline:1px;top:50%;height:1.7px;margin-top:-.85px;border-radius:2px;background:currentColor;transition:transform .22s}.faq-toggle::after{transform:rotate(90deg)}.content-faq summary:hover .faq-toggle,.content-faq details[open] .faq-toggle{color:var(--accent)}.content-faq details[open] .faq-toggle::after{transform:rotate(0)}.content-faq p{margin-top:14px;max-width:850px}.about-hero{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:28px;align-items:center}.about-hero h2{font-size:33px;line-height:1.8}.about-hero .app-button{margin-top:22px}.about-hero>img{width:100%;height:360px;object-fit:cover;border-radius:17px}.about-value>.icon,.contact-card>.icon{width:45px;height:45px;margin-bottom:20px}.about-value h2{font-size:18px}.contact-card .app-button{margin:20px 0 0 8px}.content-prose{max-width:920px;margin-inline:auto;padding:32px}.content-prose h2{font-size:20px;margin:27px 0 13px}.content-prose h2:first-child{margin-top:0}.content-prose p{line-height:2.4;font-size:14px;white-space:pre-line}.content-prose .app-feedback{margin-block:22px}.content-cover{width:100%;height:330px;object-fit:cover;border-radius:15px;margin-bottom:25px}.article-card{padding:10px;overflow:hidden}.article-card img{width:100%;aspect-ratio:1.6;object-fit:cover;border-radius:12px}.article-card h2,.article-card p,.article-card small,.article-card span{margin-inline:12px}.article-card h2{font-size:18px;line-height:1.9;margin-block:12px}.article-card small{display:block;color:var(--text-muted);font-size:10px;margin-top:14px}.article-card span{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--accent-strong);margin-block:20px 12px}.article-card span>.icon{width:16px;height:16px}.content-error{text-align:center;padding:65px 15px;max-width:600px;margin-inline:auto}.content-error>span{display:block;font-size:110px;color:var(--accent);font-weight:700;letter-spacing:10px;line-height:1.4}.content-error h1{font-size:28px;margin:20px 0}.content-error p{color:var(--text-muted);font-size:14px;line-height:2;margin-bottom:25px}.content-error .app-button{margin:0 4px}
@media(max-width:1000px){.about-hero h2{font-size:28px}}
@media(max-width:700px){.catalog-hero{padding:20px;gap:15px}.catalog-hero h2{font-size:22px}.catalog-hero p{font-size:12px}.catalog-hero>span>.icon{width:60px;height:60px}.content-faq summary{font-size:12px;line-height:1.9}.about-hero{display:flex;flex-direction:column;padding:20px;gap:24px}.about-hero h2{font-size:27px}.about-hero>img{height:250px}.content-prose{padding:20px}.content-prose h2{font-size:18px}.content-prose p{font-size:12px}.content-cover{height:220px}.article-card h2{font-size:17px}.content-error{padding:35px 15px}.content-error>span{font-size:85px}.content-error h1{font-size:24px}.content-error p{font-size:12px}}

/* Dashboard overview: lightweight reports, useful account actions and local activity. */
.reference-account.dashboard-overview .account-person{margin-bottom:0}
.dashboard-overview{display:grid;gap:20px}
.dashboard-overview>.account-wallet-banner{margin:0}
.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dashboard-stat{--stat-color:var(--accent-strong);display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;padding:18px 14px;border:1px solid color-mix(in srgb,var(--stat-color) 13%,var(--ui-line));border-radius:16px;background:linear-gradient(125deg,color-mix(in srgb,var(--stat-color) 7%,var(--surface)),var(--surface));transition:border-color .2s}
.dashboard-stat:hover{border-color:var(--stat-color)}
.dashboard-tone-amber{--stat-color:#cc8a13}.dashboard-tone-violet{--stat-color:#7e5cda}.dashboard-tone-green{--stat-color:#1a9d76}
.dashboard-stat-icon{width:40px;height:40px;display:grid;place-items:center;background:color-mix(in srgb,var(--stat-color) 12%,var(--surface));border-radius:13px}
.dashboard-stat-icon>.icon{width:26px;height:26px}.dashboard-stat strong{font-size:23px;line-height:1.4;color:var(--stat-color);font-weight:700}
.dashboard-stat h2{font-size:11px;font-weight:500;margin:4px 0 0;color:var(--text-main);white-space:nowrap}
.dashboard-stat>small{grid-column:1/-1;font-size:10px;color:var(--text-muted);line-height:1.9}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:stretch}
.dashboard-rail{display:grid;align-content:start;gap:18px}
.dashboard-overview .dashboard-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.dashboard-overview .dashboard-section-head h2{font-size:16px;margin:0;line-height:1.8}
.dashboard-chart{min-width:0;display:flex;flex-direction:column;padding:22px}
.dashboard-chart-period{display:flex;background:var(--surface-soft);border:1px solid var(--ui-line);border-radius:10px;padding:3px;flex-shrink:0}
.dashboard-chart-period button{font:inherit;font-size:10px;padding:6px 8px;color:var(--text-muted);border:0;border-radius:7px;background:transparent;cursor:pointer}
.dashboard-chart-period button[aria-pressed=true]{color:var(--accent-strong);background:var(--surface);box-shadow:var(--ui-shadow)}
.dashboard-chart-summary{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:11px;color:var(--text-muted);margin-bottom:12px}
.dashboard-chart-summary strong{font-size:24px;color:var(--text-main)}.dashboard-chart-summary small{margin-inline-start:auto;font-size:9px;padding:3px 7px;border-radius:6px;background:var(--surface-soft)}
.dashboard-chart-svg{display:block;width:100%;height:auto;overflow:visible;margin-top:24px}
.dashboard-chart-grid{stroke:var(--ui-line);stroke-dasharray:3 5}.dashboard-chart-label{font-family:inherit;font-size:12px;fill:var(--text-muted)}
.dashboard-chart-note{margin-top:auto;padding-top:22px;color:var(--text-muted);font-size:10px;line-height:1.9}
.dashboard-completion{padding:19px}.dashboard-completion .dashboard-section-head{margin-bottom:14px}
.dashboard-completion-body{display:flex;gap:15px;align-items:center;margin-bottom:18px}
.dashboard-progress{display:grid;place-items:center;flex-shrink:0;width:80px;height:80px;border-radius:50%;background:conic-gradient(#21b88b var(--progress),var(--ui-line) 0);position:relative}
.dashboard-progress:before{content:'';position:absolute;inset:7px;background:var(--surface);border-radius:50%}
.dashboard-progress strong{z-index:1;font-size:19px;color:var(--text-main)}
.dashboard-completion ul{padding:0;margin:0;list-style:none;display:grid;gap:10px;font-size:10px;color:var(--text-muted)}
.dashboard-completion li{display:flex;align-items:center;gap:7px;line-height:1.7}
.dashboard-completion li>span{display:grid;place-items:center;width:16px;height:16px;flex-shrink:0;border:1px solid var(--ui-line);border-radius:50%}
.dashboard-completion li.is-complete{color:var(--text-main)}.dashboard-completion li.is-complete>span{background:#e0f6ed;border-color:#b6e6d1}.dashboard-completion li .icon{width:12px;height:12px}
.dashboard-completion>.app-button{display:flex;width:100%;justify-content:space-between;font-size:11px;min-height:39px}
.dashboard-support{display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px;background:linear-gradient(145deg,var(--accent-pale),var(--surface));gap:11px}
.dashboard-support-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;background:var(--accent-soft)}.dashboard-support-icon>.icon{width:32px;height:32px}
.dashboard-support h2{margin:0;font-size:16px}.dashboard-support p{font-size:11px;color:var(--text-muted);line-height:2;margin:0}
.dashboard-support>.app-button{font-size:11px;width:100%;margin-top:4px}.dashboard-support .app-button>.icon{width:18px;height:18px}
.dashboard-text-link{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:500;color:var(--accent-strong);line-height:1.8}.dashboard-text-link>.icon{width:14px;height:14px}
.dashboard-latest{padding:22px;min-width:0}.dashboard-ad-table{width:100%;border-collapse:collapse;font-size:10px;text-align:right}
.dashboard-ad-table th{font-weight:500;color:var(--text-muted);background:var(--surface-soft);padding:12px 7px;white-space:nowrap}
.dashboard-ad-table td{padding:13px 7px;border-bottom:1px solid var(--ui-line);line-height:1.9;vertical-align:middle}
.dashboard-ad-table tbody tr:last-child td{border-bottom:0}.dashboard-ad-table th:first-child{border-radius:0 9px 9px 0}.dashboard-ad-table th:last-child{border-radius:9px 0 0 9px}
.dashboard-ad-title{display:flex;align-items:center;gap:10px;min-width:145px;color:var(--text-main)}
.dashboard-ad-title img{width:48px;height:48px;object-fit:cover;border-radius:10px;flex-shrink:0}.dashboard-ad-title strong{font-size:11px;font-weight:500;line-height:1.9}
.dashboard-ad-table .app-badge{font-size:9px;padding:4px 7px;white-space:nowrap}
.dashboard-ad-menu{position:relative}.dashboard-ad-menu summary{list-style:none;cursor:pointer;width:28px;height:32px;display:grid;place-items:center;color:var(--text-muted);border-radius:8px}
.dashboard-ad-menu summary::-webkit-details-marker{display:none}.dashboard-ad-menu summary:hover{background:var(--surface-soft)}.dashboard-ad-menu summary>.icon{width:19px;height:19px}
.dashboard-ad-menu>div{position:absolute;inset-inline-end:0;top:34px;width:140px;padding:6px;background:var(--surface);border:1px solid var(--ui-line);border-radius:12px;box-shadow:var(--ui-shadow);z-index:4}
.dashboard-ad-menu :is(a,button){display:flex;align-items:center;gap:6px;width:100%;padding:8px;border:0;border-radius:7px;background:none;color:var(--text-main);font:inherit;text-align:start;cursor:pointer}.dashboard-ad-menu :is(a,button):hover{background:var(--accent-soft);color:var(--accent-strong)}.dashboard-ad-menu .icon{width:15px;height:15px}
@media(max-width:1100px){.dashboard-grid{grid-template-columns:1fr}.dashboard-rail{grid-template-columns:1fr 1fr}.dashboard-chart-svg{margin-top:10px}.dashboard-chart-note{padding-top:10px}}
@media(max-width:700px){
 .dashboard-overview{gap:16px}.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-stat{padding:14px 12px;gap:10px}.dashboard-stat strong{font-size:22px}
 .dashboard-rail{grid-template-columns:1fr}.dashboard-chart,.dashboard-latest{padding:16px}.dashboard-overview .dashboard-section-head h2{font-size:14px}.dashboard-chart-period button{padding:5px 7px;font-size:9px}
 .dashboard-chart-summary strong{font-size:21px}.dashboard-chart-svg{margin-top:10px}.dashboard-ad-table,.dashboard-ad-table tbody{display:block;width:100%}.dashboard-ad-table thead{display:none}
 .dashboard-ad-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 12px;padding:16px 0;border-bottom:1px solid var(--ui-line);position:relative}.dashboard-ad-table tr:last-child{border-bottom:0;padding-bottom:0}
 .dashboard-ad-table td{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0;border:0;font-size:10px}.dashboard-ad-table td:first-child{grid-column:1/-1;padding-inline-end:30px;margin-bottom:4px}
 .dashboard-ad-table td[data-label]:before{content:attr(data-label);font-size:9px;color:var(--text-muted);flex-shrink:0}.dashboard-ad-table td:nth-child(3){grid-column:1/-1}.dashboard-ad-table td:last-child{position:absolute;inset-inline-end:0;top:18px}
 .dashboard-ad-title strong{font-size:12px}.dashboard-ad-menu>div{inset-inline-end:0}.dashboard-ad-table .app-badge{font-size:9px}
}
/* Grid gaps own the spacing; inherited panel margins must not double it. */
.reference-account.dashboard-overview .app-panel{margin-bottom:0}
.reference-account.dashboard-overview>.account-business-banner{margin:0}
.dashboard-chart-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:20px;margin-top:20px;border-top:1px solid var(--ui-line)}
.dashboard-chart-insights>div{display:grid;gap:8px}.dashboard-chart-insights span{font-size:10px;color:var(--text-muted)}.dashboard-chart-insights strong{font-size:19px;font-weight:500;color:var(--text-main)}
@media(max-width:700px){.dashboard-chart-insights{gap:8px;padding-top:15px;margin-top:15px}.dashboard-chart-insights span{font-size:9px}.dashboard-chart-insights strong{font-size:17px}}

/* The welcome card follows the selected palette while retaining readable white text. */
.reference-account.dashboard-overview .account-profile-hero{position:relative;isolation:isolate;overflow:hidden;border:0;background:linear-gradient(120deg,color-mix(in srgb,var(--accent-strong) 80%,#091625) 0%,color-mix(in srgb,var(--accent-strong) 92%,#091625) 55%,color-mix(in srgb,var(--accent) 72%,#091625) 100%);box-shadow:0 8px 24px color-mix(in srgb,var(--accent) 10%,transparent)}
.reference-account.dashboard-overview .account-profile-hero:before{content:'';position:absolute;z-index:-1;width:310px;height:310px;left:-120px;top:-220px;border-radius:50%;background:radial-gradient(circle,#ffffff1f,transparent 70%);pointer-events:none}
.reference-account.dashboard-overview .account-person strong{color:#fff}
.reference-account.dashboard-overview .account-person>div>span{color:#f2f7ff}
.reference-account.dashboard-overview .account-person small{color:#f2f7ff}
.reference-account.dashboard-overview .account-person>a.app-button{color:#fff;background:#ffffff17;border:1px solid #ffffff26;box-shadow:none}
.reference-account.dashboard-overview .account-person>a.app-button:hover{background:#ffffff26}
.reference-account.dashboard-overview .account-avatar-link>img{border-color:#ffffffb3}
.reference-account.dashboard-overview .account-avatar-link>span{background:#fff;color:#1758ba;border-color:#fff}
html:is([data-appearance=dark],[data-appearance=charcoal]) .reference-account.dashboard-overview .account-profile-hero{background:linear-gradient(120deg,var(--surface) 0%,color-mix(in srgb,var(--accent) 20%,var(--surface)) 55%,color-mix(in srgb,var(--accent) 32%,var(--surface)) 100%)}

/* The personal welcome and management banner share one adaptive surface. */
.reference-account.dashboard-overview .dashboard-welcome .account-person{padding-bottom:15px;border-bottom:1px solid #ffffff1a;gap:12px;align-items:center}
.reference-account.dashboard-overview .dashboard-welcome .account-avatar-link>img{width:52px;height:52px;border-width:2px}
.reference-account.dashboard-overview .dashboard-welcome .account-avatar-link>span{width:20px;height:20px}.reference-account.dashboard-overview .dashboard-welcome .account-avatar-link>span>.icon{width:11px;height:11px}
.reference-account.dashboard-overview .dashboard-welcome .account-person strong{font-size:17px;line-height:1.7}
.reference-account.dashboard-overview .dashboard-welcome .account-person>div{gap:3px}.reference-account.dashboard-overview .dashboard-welcome .account-person>div>span{font-size:11px;color:#fff}
.reference-account.dashboard-overview .dashboard-welcome .account-person>a.app-button{font-size:10px;min-height:35px;padding:7px 10px}.reference-account.dashboard-overview .dashboard-welcome .account-person>a.app-button>.icon{width:15px;height:15px}
.dashboard-welcome-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:24px;margin-top:15px}
.dashboard-welcome-copy{grid-column:2;grid-row:1}.dashboard-welcome-copy h2{font-size:23px;line-height:1.75;color:#fff;margin:0 0 10px;font-weight:700}
.dashboard-welcome-copy p{font-size:12px;line-height:2;color:#fff;margin:0 0 17px}
.dashboard-welcome-copy>.app-button{background:#fff;color:var(--accent-strong);border:0;box-shadow:none;font-size:11px;min-height:39px;padding:9px 13px}.dashboard-welcome-copy>.app-button:hover{background:var(--accent-pale)}
.dashboard-welcome-copy>.app-button>.icon{width:17px;height:17px}
.dashboard-welcome-art{grid-column:1;grid-row:1;min-width:0}.reference-dashboard-art{display:block;width:100%;height:auto;max-height:195px}
@media(max-width:700px){.dashboard-welcome-content{grid-template-columns:1fr;margin-top:16px;gap:0}.dashboard-welcome-copy{grid-column:1;grid-row:1}.dashboard-welcome-art{display:none}.dashboard-welcome-copy h2{font-size:18px;margin-bottom:8px}.dashboard-welcome-copy p{font-size:11px;margin-bottom:13px}.dashboard-welcome-copy>.app-button{min-height:35px;font-size:10px;padding:8px 11px}}
.reference-account.dashboard-overview .dashboard-welcome .account-avatar-link{margin:0}
.reference-account.dashboard-overview .dashboard-welcome .account-person>div{align-items:flex-start}

/* Generated transparent artwork sits directly on the theme-aware gradient. */
.dashboard-welcome-image{display:block;width:100%;height:auto;max-height:220px;object-fit:contain;filter:drop-shadow(0 12px 16px #00000020)}
html:is([data-appearance=dark],[data-appearance=charcoal]) .dashboard-welcome-copy>.app-button{background:var(--accent);color:var(--surface)}
html:is([data-appearance=dark],[data-appearance=charcoal]) .dashboard-welcome-copy>.app-button:hover{background:var(--accent-strong)}

/* Ad performance uses a consistent value/label hierarchy and a compact history. */
body[data-page=ad-status] .ad-status-summary>div{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
body[data-page=ad-status] .ad-status-summary h2{margin:0;line-height:1.7;text-wrap:balance}
body[data-page=ad-status] .ad-status-summary p{margin:0;line-height:1.9}
body[data-page=ad-status] .ad-status-summary p>span{white-space:nowrap}
body[data-page=ad-status] .ad-status-stats{gap:0;margin-bottom:20px;grid-template-columns:repeat(3,minmax(0,1fr));padding:18px 0;border:1px solid var(--ui-line);border-radius:16px;background:var(--surface)}
body[data-page=ad-status] .account-small-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:0 12px;margin:0;min-width:0}
body[data-page=ad-status] .account-small-stat+.account-small-stat{border-inline-start:1px solid var(--ui-line)}
body[data-page=ad-status] .account-small-stat-heading{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;line-height:1.8}
body[data-page=ad-status] .account-small-stat-icon{display:flex;color:var(--accent-strong);flex-shrink:0}
body[data-page=ad-status] .account-small-stat-icon>.icon{width:18px;height:18px}
body[data-page=ad-status] .account-small-stat-heading>span:last-child{font-size:11px;color:var(--text-muted);white-space:nowrap}
body[data-page=ad-status] .account-small-stat>strong{font-size:27px;line-height:1.25;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.5px;color:var(--ink)}
body[data-page=ad-status] .ad-status-history{padding:20px 22px}
body[data-page=ad-status] .ad-status-history>h2{font-size:17px;margin:0 0 18px}
body[data-page=ad-status] .account-timeline{padding:0;margin:0;display:grid;gap:18px}
body[data-page=ad-status] .account-timeline>li{gap:12px;padding:0}
body[data-page=ad-status] .account-timeline>li:not(:last-child):before{top:32px;bottom:-18px}
body[data-page=ad-status] .account-timeline>li>div{flex:1;min-width:0}
body[data-page=ad-status] .account-timeline-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;min-height:28px}
body[data-page=ad-status] .account-timeline-head>small{font-size:10px;white-space:nowrap}
body[data-page=ad-status] .account-timeline p{font-size:12px;line-height:1.9;margin:2px 0 0}
@media(max-width:600px){
 body[data-page=ad-status] .ad-status-stats{margin-bottom:15px;padding:16px 0;border-radius:14px}
 body[data-page=ad-status] .account-small-stat{padding-inline:8px}
 body[data-page=ad-status] .account-small-stat>strong{font-size:24px}
 body[data-page=ad-status] .account-small-stat-heading>span:last-child{font-size:10px}
 body[data-page=ad-status] .ad-status-history{padding:18px 16px}
}

@media(max-width:420px){
 body[data-page=ad-status] .account-small-stat-heading{gap:4px}
 body[data-page=ad-status] .account-small-stat-icon>.icon{width:15px;height:15px}
 body[data-page=ad-status] .account-small-stat-heading>span:last-child{font-size:9px}
}
/* Searchable city selector, scoped to the profile editor. */
.profile-city-picker{position:relative}
.profile-city-control{position:relative}
[data-profile-form] .profile-city-control input{padding-inline-end:44px}
.profile-city-control>button{position:absolute;inset-inline-end:3px;top:3px;bottom:3px;width:38px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--text-muted);cursor:pointer}
.profile-city-control>button .icon{width:17px;height:17px;transform:rotate(90deg);transition:transform .18s}
.profile-city-control:has([aria-expanded="true"])>button .icon{transform:rotate(-90deg)}
.profile-city-options{position:absolute;inset-inline:0;top:calc(100% + 7px);z-index:20;max-height:220px;overflow-y:auto;overscroll-behavior:contain;padding:5px;border:1px solid var(--ui-line);border-radius:12px;background:var(--surface);box-shadow:0 12px 28px #0002}
.profile-city-options[hidden]{display:none}
.profile-city-options [role="option"]{display:flex;align-items:center;gap:9px;padding:11px 10px;border-radius:8px;cursor:pointer;color:var(--text-main)}
.profile-city-options [role="option"] .icon{width:18px;height:18px;flex-shrink:0}
.profile-city-options [role="option"]:is(:hover,.is-active),.profile-city-options [aria-selected="true"]{background:var(--accent-pale);color:var(--accent-strong)}
.profile-city-empty{padding:13px 10px;color:var(--text-muted);text-align:center}
/* A quiet confirmation hierarchy, scoped to ad removal. */
#modal:has(.owned-ad-delete-confirm) .dialog-head{position:relative;padding-bottom:18px}
#modal:has(.owned-ad-delete-confirm) .dialog-head:after{content:'';position:absolute;inset-inline:24px;bottom:0;height:1px;background:linear-gradient(to right,transparent,color-mix(in srgb,var(--accent) 28%,var(--ui-line)),transparent)}
#modal:has(.owned-ad-delete-confirm) .dialog-head h2{font-size:17px}
#modal:has(.owned-ad-delete-confirm) .dialog-content{padding-top:18px}
#modal .owned-ad-delete-title{margin:0 0 7px;font-size:14px;font-weight:500;line-height:1.9;color:var(--text-main);overflow-wrap:anywhere}
#modal .owned-ad-delete-note{margin:0 0 22px;font-size:12px;font-weight:400;line-height:1.9;color:var(--text-muted)}
#modal .owned-ad-delete-confirm>.app-button{width:100%;min-height:42px;font-size:12px}

/* Guide shortcut cards: icon tile, title with a one-line hint, chevron that nudges on hover. */
.guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}
.guide-grid>a{display:flex;align-items:center;gap:12px;min-width:0;padding:16px;transition:border-color .16s,box-shadow .16s,transform .16s}
.guide-grid>a:hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--ui-line));box-shadow:0 12px 24px -16px color-mix(in srgb,var(--accent) 60%,transparent);transform:translateY(-2px)}
.guide-grid>a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.guide-card-icon{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border-radius:13px;background:var(--accent-soft);color:var(--accent-strong)}
.guide-card-icon>.icon{width:24px;height:24px}
.guide-card-copy{display:grid;gap:2px;flex:1;min-width:0}
.guide-card-copy>strong{font-size:14px;line-height:1.7;color:var(--text-main)}
.guide-card-copy>small{font-size:11px;line-height:1.7;color:var(--text-muted)}
.guide-grid>a>.icon{flex-shrink:0;width:14px;height:14px;color:var(--text-muted);transition:transform .16s,color .16s}
.guide-grid>a:hover>.icon{color:var(--accent);transform:rotate(180deg) translateX(3px)}
@media(max-width:1000px){.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.guide-grid{gap:10px}.guide-grid>a{padding:12px;gap:10px}.guide-card-icon{width:40px;height:40px;border-radius:11px}.guide-card-icon>.icon{width:21px;height:21px}.guide-card-copy>strong{font-size:13px}.guide-card-copy>small{font-size:10px}.guide-grid>a>.icon{display:none}}

/* Four readable management cards per desktop row. */
@media(min-width:980px){
  .owned-ad-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
  .owned-ad{min-width:0;padding:8px;border-radius:16px}
  .owned-ad-media{border-radius:10px}
  .owned-ad-media>.app-badge{top:7px;left:7px;padding:3px 7px;font-size:9px}
  .owned-ad-body{min-width:0;padding:10px 0 0;gap:6px}
  .owned-ad .owned-ad-body h2{min-height:43px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
  .owned-ad-line{flex-direction:column;align-items:flex-start;gap:4px}
  .owned-ad-price{font-size:12px;line-height:1.8;overflow-wrap:anywhere}
  .owned-ad-meta{font-size:10px;line-height:1.8;gap:5px;flex-wrap:wrap}
  .owned-ad-meta>.icon,.owned-ad-stats .icon{width:13px;height:13px}
  .owned-ad-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 4px;font-size:9px;padding-top:9px}
  .owned-ad-stats>span{min-width:0;gap:3px;flex-wrap:wrap}
  .owned-ad-actions{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:6px;padding-top:8px}
  .owned-ad-actions>.app-button:not(.ghost),.owned-ad-actions>form{grid-column:1/-1}
  .owned-ad-actions>.app-button.ghost{grid-column:1}
  .owned-ad-actions .app-button{min-width:0;min-height:34px;padding:6px 4px;gap:5px;font-size:10px}
  .owned-ad-actions .app-button .icon{width:15px;height:15px;flex-shrink:0}
  .owned-ad .dashboard-ad-menu summary{width:30px;height:34px;border-radius:8px}
}

/* Four direct management actions with consistent, compact line icons. */
.owned-ad-actions>.owned-ad-icon-row{--owned-action-danger:#c43f56;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;grid-column:1/-1;flex:1 0 100%;width:100%;min-width:0}
.owned-ad-icon-row>form{display:flex;min-width:0;margin:0}
.owned-ad-icon-row .owned-ad-icon{display:inline-flex;align-items:center;justify-content:center;width:100%;min-width:0;height:36px;padding:0;border:1px solid var(--ui-line);border-radius:9px;background:var(--surface-soft);color:var(--text-muted);cursor:pointer}
.owned-ad-icon-row .owned-ad-icon>.icon{width:18px;height:18px;flex:none}
.owned-ad-icon-row .owned-ad-icon:hover{border-color:color-mix(in srgb,var(--accent) 30%,var(--ui-line));background:var(--accent-pale);color:var(--accent-strong)}
.owned-ad-icon-row .owned-ad-icon.is-danger{color:var(--owned-action-danger)}
.owned-ad-icon-row .owned-ad-icon.is-danger:hover{border-color:color-mix(in srgb,var(--owned-action-danger) 30%,var(--ui-line));background:color-mix(in srgb,var(--owned-action-danger) 5%,var(--surface))}
.owned-ad-icon-row .owned-ad-icon:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.owned-ad-icon-row .owned-ad-icon:disabled{opacity:.35;cursor:default;border-color:var(--ui-line);background:var(--surface-soft);color:var(--text-muted)}
html:is([data-appearance=dark],[data-appearance=charcoal]) .owned-ad-icon-row{--owned-action-danger:#f29eac}
@media(min-width:980px),(max-width:700px){.owned-ad-actions>.owned-ad-icon-row{gap:4px}.owned-ad-icon-row .owned-ad-icon{height:34px;border-radius:8px}.owned-ad-icon-row .owned-ad-icon>.icon{width:16px;height:16px}}
