/* My Brands uses the same restrained account-center hierarchy as My Plan. */
.brands-v2{max-width:800px;margin:auto;color:#192027}
.brands-v2 .page-heading{margin-bottom:30px;align-items:center}
.brands-v2 .page-heading p{font-size:14px;color:#606b77;margin-top:9px}
.brand-library{display:grid;gap:12px}
.brand-entry{display:flex;gap:18px;align-items:center;border:1px solid #e3e7ec;border-radius:14px;padding:21px 23px;background:#fff;transition:border-color 150ms ease-out}
.brand-entry:hover{border-color:#9db4db}.brand-entry>span{min-width:0}.brand-entry>.icon{margin-left:auto;color:#606b77;width:18px}
.brand-entry h2{font-size:17px;font-weight:600;letter-spacing:-.02em;overflow-wrap:anywhere}.brand-entry p{font-size:12px;color:#606b77;margin-top:5px}
.brand-empty{text-align:center;padding:70px 20px}.brand-empty>.icon{width:37px;height:37px;color:#5479b5;margin-bottom:20px}.brand-empty h2{font-size:25px}.brand-empty p{color:#606b77;font-size:14px;margin:12px 0 25px}
.brand-editor{max-width:760px}.brand-editor .back-link{margin-bottom:18px}.brand-editor .page-heading h1{font-size:31px}
.brand-core{border:1px solid #e3e7ec;border-radius:14px;padding:27px 28px;background:#fff}
.brand-logo-row{display:flex;align-items:center;gap:20px;margin-bottom:25px}.brand-logo-preview{width:80px;height:80px;border-radius:12px;background:#f5f7fa;display:grid;place-items:center;overflow:hidden;flex-shrink:0}.brand-logo-preview>.icon{width:29px;height:29px;color:#66788d}.brand-logo-preview img{width:100%;height:100%;object-fit:contain;padding:5px}
.brand-logo-controls{min-width:0}.brand-logo-controls h2{font-size:14px;font-weight:600;letter-spacing:0;margin-bottom:10px}.brand-logo-controls h2>span{font-size:11px;color:#606b77;font-weight:400;margin-left:7px}.brand-logo-controls .brand-hint{margin-top:9px}
.brand-file{position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%);overflow:hidden;padding:0!important;min-height:0!important;border:0!important}
.brands-v2 .form-grid{gap:18px}.brand-core .form-grid{grid-template-columns:1fr}.brands-v2 .form-grid label{font-size:13px;color:#303942;font-weight:500;margin-bottom:8px}.brands-v2 .form-grid input,.brands-v2 .form-grid textarea{background:#fff;border-color:#dfe4eb;border-radius:9px;caret-color:#175bea}
.brand-hint{font-size:12px;color:#606b77;line-height:1.65}
.brand-ending{padding:31px 0 28px}.brand-section-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.brand-section-title h2{font-size:21px;font-weight:600;letter-spacing:-.025em}.brand-section-title p{font-size:13px;color:#606b77;margin-top:7px}.brand-section-title>.check{flex-shrink:0;font-size:12px}.brands-v2 .check input{accent-color:#175bea}
.brand-mode{display:inline-flex;gap:4px;background:#f2f4f7;border-radius:10px;padding:4px;margin:21px 0}.brand-mode button{background:transparent;color:#606b77;border:0;min-height:38px;padding:8px 17px;border-radius:7px;font-size:12px;font-weight:500}.brand-mode button[aria-pressed=true]{background:#fff;color:#192027;box-shadow:0 1px 3px #17212b0d}
.brand-image-layout{display:grid;grid-template-columns:126px minmax(0,1fr);gap:25px;align-items:center}.brand-ending-preview{aspect-ratio:9/16;border:1px solid #e1e7ef;border-radius:10px;background:#f7f9fc;overflow:hidden;display:grid;place-items:center}.brand-ending-preview img{width:100%;height:100%;object-fit:contain}.brand-ending-preview>span{display:grid;justify-items:center;gap:10px;font-size:11px;color:#66788d;text-align:center;padding:8px}.brand-ending-preview .icon{width:27px;height:27px}.brand-image-controls h3{font-size:17px;font-weight:600;letter-spacing:-.02em}.brand-image-controls>p:not(.brand-hint){font-size:13px;color:#606b77;max-width:330px;margin-top:9px}.brand-image-controls>.button{margin:19px 0 10px;font-size:13px}.brand-template-copy{font-size:14px;color:#606b77;padding:5px 0 20px}
.brand-ending-footer{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-top:19px}.brand-ending-footer>.brand-hint{max-width:450px}.brand-ending-footer .text-action{white-space:nowrap;flex-shrink:0}
.brand-details{border-top:1px solid #e6e9ee;padding:20px 0}.brand-details summary{cursor:pointer;font-size:14px;font-weight:600;line-height:1.6;min-height:28px}.brand-details summary>span{font-size:12px;color:#606b77;font-weight:400;margin-left:9px}.brand-details[open]>.form-grid{margin-top:23px}.brand-details:focus-within summary{border-radius:4px}.brand-location-tools{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:20px 0}.brand-location-tools .check{font-size:12px}.brands-v2 .location{background:#fff}.brands-v2 .location-head strong{font-size:13px}.brands-v2 .location-head .text-action{color:#78534f}
.brand-save{border-top:1px solid #e6e9ee;display:flex;justify-content:space-between;gap:20px;align-items:center;padding-top:23px;margin-top:7px}.brand-save .button{min-width:144px}.brands-v2 #brand-error{font-size:13px;line-height:1.6;margin:10px 0 19px}.brands-v2 ::selection{background:#dbe7ff;color:#192d50}
#outro-image img{display:block;width:100%;max-height:65vh;object-fit:contain}#preview-dialog:has(#outro-preview){width:min(400px,calc(100vw - 28px))}#preview-dialog:has(#outro-preview)>p{display:none}
@media(max-width:760px){.brands-v2 .page-heading{gap:12px;margin-bottom:24px}.brands-v2 .page-heading h1{font-size:28px}.brands-v2 .page-heading p{font-size:12px;max-width:180px}.brand-entry{padding:18px;gap:15px}.brand-core{padding:21px}.brand-logo-row{gap:15px}.brand-logo-preview{width:68px;height:68px}.brand-logo-controls .brand-hint{font-size:11px}.brand-section-title{align-items:flex-start;gap:12px}.brand-section-title h2{font-size:20px}.brand-section-title>.check{font-size:11px;padding-top:4px}.brand-section-title p{font-size:12px;max-width:200px}.brand-image-layout{grid-template-columns:99px minmax(0,1fr);gap:17px}.brand-image-controls h3{font-size:15px}.brand-image-controls>p:not(.brand-hint){font-size:12px}.brand-image-controls>.button{font-size:12px;padding:10px 12px;min-height:44px;margin-top:14px}.brand-image-controls .brand-hint{font-size:11px}.brand-ending-footer{align-items:flex-start;gap:12px}.brand-ending-footer>.brand-hint{font-size:11px}.brand-ending-footer .text-action{font-size:12px}.brands-v2 .form-grid{grid-template-columns:1fr}.brand-save{align-items:flex-start;gap:16px}.brand-save .brand-hint{font-size:11px}.brand-save .button{min-width:123px;white-space:nowrap}.brand-location-tools{align-items:flex-start}.brand-location-tools .check{font-size:11px}}
@media(prefers-reduced-motion:reduce){.brand-entry{transition:none}}
