/* Admin dashboard refinements only. This file is loaded by app.html, not public pages. */
/* Setup banner: use the site's deep, natural greens while keeping the gold action button. */
.setup-banner{
  background:radial-gradient(circle at 88% 6%,rgba(255,255,255,.12),transparent 36%),linear-gradient(118deg,#244b30 0%,#315f39 54%,#477447 100%)!important;
  border:1px solid #557c4e!important;
  box-shadow:0 12px 28px rgba(31,75,43,.16)!important;
  color:#fff!important;
}
.setup-banner b,.setup-banner h1,.setup-banner h2,.setup-banner h3,.setup-banner h4,.setup-banner span,.setup-banner small{
  color:#fff!important;
  font-weight:900!important;
}
.setup-banner p{color:#f2f7ec!important;opacity:1!important;font-weight:700!important}
.setup-banner .setup-symbol{background:rgba(255,255,255,.16)!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important}
.setup-banner .btn-white{
  background:linear-gradient(135deg,#ffe18b 0%,#f5c34e 100%)!important;
  color:#254b32!important;
  border:1px solid #e8b83e!important;
  box-shadow:0 8px 18px rgba(105,75,13,.18)!important;
  font-weight:900!important;
}
.setup-banner .btn-white:hover{background:linear-gradient(135deg,#ffeaad 0%,#f6ca5b 100%)!important;color:#183d28!important}
.setup-banner .btn-white:focus-visible,.account-upgrade-button:focus-visible{outline:3px solid #183d28!important;outline-offset:3px!important}
.rating-breakdown-title{margin:18px 0 10px;font-size:12px;color:var(--text,#26382f)}
.rating-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.rating-breakdown-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:10px 5px;border:1px solid var(--line,#e4e9e3);border-radius:12px;background:var(--card,#fff);text-align:center}
.rating-breakdown-item b{font-size:12px;color:var(--text,#26382f)}
.rating-breakdown-good{border-color:#c9e5d1;background:#f1f8f3}.rating-breakdown-bad{border-color:#efd5d1;background:#fcf4f2}
.rating-breakdown-item small{font-size:10px;color:var(--muted,#829087)}
@media(max-width:480px){.rating-breakdown{gap:8px}.rating-breakdown-item{padding:10px 8px}}

/* Subscription upgrade shortcut inside the user's account/profile area. */
.account-upgrade-card{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  margin:0 0 16px;padding:19px 21px;border-radius:18px;
  background:linear-gradient(125deg,#edf9f0 0%,#e2f5e8 55%,#d7f0df 100%);
  border:1px solid #bfe4cb;box-shadow:0 10px 25px rgba(19,112,63,.08);
}
.account-upgrade-copy{min-width:0}
.account-upgrade-eyebrow{display:inline-block;margin-bottom:4px;color:#20824e;font-size:10px;font-weight:900}
.account-upgrade-copy h2{margin:0 0 5px;color:#174c31;font-size:15px;font-weight:900}
.account-upgrade-copy p{margin:0 0 2px;color:#3e6c50;font-size:11px;font-weight:700}
.account-upgrade-copy p strong{color:#137a45;font-weight:900}
.account-upgrade-copy small{display:block;color:#64806c;font-size:10px;line-height:1.9}
.account-upgrade-button{flex:0 0 auto;background:linear-gradient(130deg,#238f54,#176c43)!important;color:#fff!important;border:1px solid #176c43!important;box-shadow:0 8px 18px rgba(23,108,67,.18)!important;font-size:11px!important;font-weight:900!important}
.account-upgrade-button:hover{background:linear-gradient(130deg,#2da660,#105a36)!important}
html[data-theme="dark"] .account-upgrade-card{background:linear-gradient(125deg,#173d2b,#1b5137)!important;border-color:#326b49!important}
html[data-theme="dark"] .account-upgrade-copy h2,html[data-theme="dark"] .account-upgrade-copy p,html[data-theme="dark"] .account-upgrade-copy p strong{color:#effff3!important}
html[data-theme="dark"] .account-upgrade-copy small,html[data-theme="dark"] .account-upgrade-eyebrow{color:#b8e8c7!important}
@media(max-width:680px){.account-upgrade-card{align-items:stretch;flex-direction:column;padding:16px;gap:12px}.account-upgrade-copy h2{font-size:14px}.account-upgrade-button{width:100%;white-space:normal}}

/* CSP: move assistant prompt counter styles out of HTML attributes. */
.assistant-prompt-warning-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 11px;margin:2px 0 0}
.assistant-prompt-count{white-space:nowrap}
