.settings-window-backdrop{position:fixed;inset:0;z-index:65;background:#27292999;display:grid;place-items:center;padding:18px}
.settings-window{position:relative;width:min(1040px,100%);max-height:calc(100dvh - 36px);overflow:auto;background:#f5f5f5;border-radius:24px;padding:30px;box-shadow:0 24px 80px #0005}
.settings-window-close{position:sticky;top:0;float:right;z-index:2;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#fff;border:1px solid #ddd}
.support-compose{max-width:760px}
.support-ticket{padding:17px 22px;border-top:1px solid #e5e5e5;display:flex;justify-content:space-between;gap:16px}
.support-ticket small{color:#626262}
.setup-offer{margin:0 0 22px;border:1px solid #d9dcdb}
.setup-offer--prominent{background:#303232;color:#fff;border:0;box-shadow:0 18px 35px #25292822}
.setup-offer--prominent .panel-body{padding:26px 30px}
.setup-offer--quiet{margin:26px 0 0;background:#f8f9f7}
.setup-offer__main{display:flex;justify-content:space-between;gap:28px;align-items:flex-start}
.setup-offer h2{font-size:clamp(21px,2.5vw,30px);line-height:1.15;margin:0 0 10px}
.setup-offer p{max-width:700px;line-height:1.45;margin:0 0 10px}
.setup-offer__main>div>small{display:block;max-width:710px;line-height:1.4;opacity:.76}
.setup-offer--prominent .setup-offer__main>div>small,.setup-offer--prominent .setup-offer__price small,.setup-offer--prominent .setup-offer__note{color:#d9e0dc;opacity:1}
.setup-offer__price{white-space:nowrap;font-size:27px;line-height:1.1}
.setup-offer__price small{display:block;font-size:12px;font-weight:500;margin-top:5px;opacity:.75}
.setup-offer .btn{margin-top:18px}
.setup-offer--prominent .btn{background:#c5f451;color:#303232;border-color:#c5f451;font-weight:750}
.setup-offer .setup-offer__note{font-size:12px;opacity:1;margin:10px 0 0}
.setup-offer__status{padding:12px 14px;border-radius:11px;background:#d7ebbd;color:#223211;margin-top:18px!important}
.chat-panel>summary{list-style:none;cursor:pointer}
.chat-panel>summary::-webkit-details-marker{display:none}
.chat-panel>summary::after{content:'⌄';font-size:22px;margin-left:12px;transition:transform .15s}
.chat-panel[open]>summary::after{transform:rotate(180deg)}
.chat-panel>summary .count{background:#c5f451;color:#303232}
.auth-story{position:relative;isolation:isolate;min-height:510px;display:flex;flex-direction:column;justify-content:center;padding:38px;border-radius:28px;overflow:hidden;color:#fff;background:#303232}
.auth-story::before{content:'';position:absolute;inset:0;z-index:-2;background:url('/static/login-art.png') center/cover no-repeat}
.auth-story::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#202222ed 0%,#202222ba 52%,#2022224f 100%)}
.auth-story .brand,.auth-story p,.auth-story .auth-points{color:#fff}
.auth-story .auth-points svg{color:#c5f451}
@media(max-width:720px){.auth-story{min-height:210px;padding:24px;border-radius:20px;margin-bottom:16px}.auth-story .brand{margin-bottom:18px}.auth-story h1{font-size:26px}.auth-box{margin-top:0}.settings-window-backdrop{padding:0}.settings-window{width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:18px}.support-ticket{display:block}.support-ticket small{display:block;margin-top:5px}.setup-offer--prominent .panel-body{padding:22px}.setup-offer__main{display:block}.setup-offer__price{display:block;margin-top:17px;font-size:25px}.setup-offer__price small{display:inline;margin-left:7px}.setup-offer .btn{width:100%;justify-content:center}}

.avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.account-photo{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid #e1e3e1}
.account-photo__row{display:flex;align-items:flex-start;gap:24px}
.account-photo__image{width:96px;height:96px;flex-shrink:0;font-size:30px}
.account-photo__controls{flex:1;min-width:0;max-width:560px}
.account-photo__controls input[type=file]{width:100%;font-size:14px;padding:12px;overflow:hidden}
.account-photo__controls .field-help{margin:8px 0 16px}
.account-photo .form-error:empty{display:none}
@media(max-width:520px){.account-photo__row{flex-direction:column;gap:16px}.account-photo__controls{width:100%}.account-photo .actions{flex-wrap:wrap}}

/* Setup brief: existing graphite/lime Operate components. */
#modal.setup-dialog{width:min(880px,calc(100vw - 32px));max-width:880px}
.setup-dialog .setup-intro{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:8px 0 26px;padding:22px;background:#272727;color:#fff;border-radius:14px}
.setup-intro span,.setup-intro small{display:block;color:#d7d7d7;font-size:13px;line-height:1.5}
.setup-intro strong{display:block;color:#c5f451;font-size:32px;line-height:1.2;margin:8px 0}
.setup-intro p{margin:0;align-self:center;font-size:14px;line-height:1.5}
.setup-group{border:0;padding:0;margin:0 0 24px;min-width:0}
.setup-group legend{font-size:17px;font-weight:750;padding:0;margin:0 0 14px}
.setup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px;align-items:end}
.setup-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.setup-dialog .field{min-width:0}
.setup-dialog .field textarea{min-height:96px}
.setup-dialog textarea[name=message]{min-height:180px}
.setup-help{font-size:12px;line-height:1.5;margin:0}
.setup-channels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px}
.setup-channels label{display:flex;gap:8px;align-items:center;padding:10px 12px;background:#f5f5f5;border-radius:10px;min-height:44px;font-size:13px;cursor:pointer}
.setup-channels input{width:17px;height:17px;flex:0 0 auto;accent-color:#272727}
.setup-channels label:has(:checked){background:#e8f5cc}
.setup-channels label:has(:focus-visible){outline:2px solid #272727;outline-offset:2px}
.setup-scope{padding:17px 20px;background:#f5f5f5;margin:0 0 26px;border-radius:12px}
.setup-scope strong,.setup-scope span{display:block}
.setup-scope span{margin-top:5px;font-size:12px;color:#676767}
.setup-scope p{font-size:12px;line-height:1.5;margin:10px 0 0;color:#676767}
.setup-brief-meta{display:flex;justify-content:space-between;gap:12px;margin:-6px 0 20px;font-size:12px;color:#676767}
.setup-brief-meta output{white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:620px){#modal.setup-dialog{width:calc(100vw - 20px);padding:18px;max-height:calc(100dvh - 20px)}.setup-dialog .setup-intro{grid-template-columns:1fr;gap:14px;padding:18px}.setup-grid,.setup-grid--two{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.setup-channels{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-channels label{padding:10px 8px;font-size:12px}.setup-brief-meta{font-size:11px}}
@media(max-width:360px){.setup-grid,.setup-grid--two{grid-template-columns:1fr}}
