.backend-message{max-width:1440px;margin:20px auto;padding:0 32px}.backend-message p{padding:14px 0}.backend-message button{font-size:14px}.live-brand-main{max-width:1440px;margin:40px auto 80px;padding:0 32px}.live-brand-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:32px;margin:32px 0 64px;align-items:start}.chapter-nav{display:flex;flex-direction:column;gap:8px;position:sticky;top:24px}.chapter-nav>a,.chapter-nav>button{display:block;padding:14px 18px;border:1px solid #171717;border-radius:100px;text-align:left;font-size:16px;background:#fff}.chapter-nav>button.active,.chapter-nav>a:hover,.chapter-nav>button:hover{background:#d9ee97}.chapter-nav>span{font-size:12px;letter-spacing:.08em;margin:22px 0 10px}.live-guideline{padding:32px;border:1px solid #171717;border-radius:22px;background:#fff;min-height:380px;min-width:0}.live-section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;flex-wrap:wrap}.live-section-heading h2{font-size:32px;line-height:1.2}.live-meta{font-size:14px!important;line-height:1.6!important;margin:16px 0!important}.chapter-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-size:18px;line-height:1.75;margin-top:28px}.live-brand-page textarea{width:100%;padding:18px;margin-top:14px;font:inherit;line-height:1.6;resize:vertical;border:1px solid #777;border-radius:12px}.live-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:20px}.live-actions .btn{padding:12px 18px}.live-filters{display:flex;gap:20px;margin:24px 0;align-items:end}.live-filters label{flex:1;font-size:16px;display:grid;gap:10px}.live-filters input,.live-filters select{font:inherit;padding:14px;border:1px solid #777;border-radius:100px;width:100%;background:#fff}.live-assets{scroll-margin-top:40px}.live-assets-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.live-asset-card{border:1px solid #171717;border-radius:20px;overflow:hidden;background:#fff;min-width:0}.live-asset-art{height:220px;display:grid;place-items:center;background:#f4f3ef;border-bottom:1px solid #171717;padding:22px}.live-asset-art img{width:100%;height:100%;object-fit:contain;min-height:0}.live-asset-art>span{font-size:52px;letter-spacing:-.04em}.live-asset-info{padding:24px}.live-asset-info h3{font-size:22px;line-height:1.3;overflow-wrap:anywhere}.live-asset-info p{font-size:14px;margin-top:12px}.live-asset-info button{font-size:14px}.live-empty{border:1px dashed #777;padding:40px;border-radius:20px;font-size:18px;line-height:1.6}.account-notice{line-height:1.6}.account-main .dashboard-card p{margin:18px 0;line-height:1.7}#account-error,#chapter-error,#brand-load-error{color:#94211d}#chapter-status{margin-top:18px}#upload-form input[type=file]{width:100%;padding:14px;border:1px dashed #777}#upload-form>label{display:grid;gap:12px;margin:20px 0}#upload-form select{font:inherit;padding:12px;background:white;border:1px solid #777;border-radius:8px}#upload-status{margin:16px 0}.live-brand-page .account-dialog{width:min(560px,calc(100% - 32px));max-height:90svh;overflow:auto}.live-brand-page .account-header nav{flex-wrap:wrap}button:disabled{opacity:.55;cursor:not-allowed}#login-status{font-size:16px;line-height:1.6;margin:20px 0}#signup-session{font-size:16px;line-height:1.5;margin:18px 0}.live-brand-main [hidden]{display:none!important}
@media(max-width:1000px){.live-brand-layout{grid-template-columns:200px minmax(0,1fr);gap:24px}.live-assets-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.live-brand-layout{display:block}.chapter-nav{position:static;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:24px;gap:8px}.chapter-nav>span{width:100%;margin:14px 0 8px}.chapter-nav>button,.chapter-nav>a{font-size:14px;padding:10px 14px}.live-brand-main{padding:0 20px;margin-top:28px}.live-guideline{padding:24px}.live-filters{flex-direction:column;align-items:stretch}.live-assets-grid{grid-template-columns:1fr}.live-section-heading h2{font-size:28px}.live-asset-art{height:250px}.backend-message{padding:0 20px}}
.account-heading h1,.workspace-card-content h3{overflow-wrap:anywhere}

.backend-message{display:flex;justify-content:flex-end;align-items:center;gap:20px}.backend-message #account-error{margin-right:auto}.account-header{position:sticky!important;top:0;z-index:60;background:#faf9f5!important;border-bottom:0!important;padding-top:12px!important;padding-bottom:12px!important;min-height:64px!important}
.workspace-cover{width:100%;height:100%;object-fit:cover}.workspace-card>div:first-child{position:relative;overflow:hidden}.workspace-card>div:first-child>small{z-index:1;background:#ffffffe6;color:#242620;padding:4px 8px;border-radius:100px}.workspace-cover-control{margin-top:14px;font-size:13px;text-decoration:underline}.chapter-assets{margin-top:40px;border-top:1px solid #deded5;padding-top:26px}.chapter-assets>label{display:grid;gap:8px;font-size:14px}.chapter-assets input{width:100%;padding:14px 18px;border:1px solid #bfc3b4;border-radius:100px;background:#fff}.chapter-assets .live-assets-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.chapter-assets h3{font-size:23px}.chapter-assets h4{font-size:17px;overflow-wrap:anywhere}.chapter-assets .live-asset-art{height:180px}.chapter-assets #chapter-asset-count{font-size:13px;margin:15px 0}.workspace-cover-form{display:grid;gap:18px}.workspace-cover-form label{display:grid;gap:8px}.workspace-cover-form select,.workspace-cover-form input{width:100%;padding:12px;border:1px solid #bbb;border-radius:8px}.workspace-cover-form small{font-size:13px}@media(max-width:650px){.chapter-assets .live-assets-grid{grid-template-columns:1fr}}

.account-page .account-sidebar{top:64px}.cancel-confirmation .cancel-consent{display:flex;align-items:flex-start;gap:8px}.cancel-confirmation .cancel-consent input{width:15px;height:15px;flex:0 0 15px;margin:3px 0 0}.cancel-confirmation .cancel-consent span{font-size:13px;line-height:1.5;min-width:0}

/* One sidebar navigation style for the account and the brand portal. */
body.design-refresh :is(.account-sidebar,.live-sidebar){background:#f4f1e8;border-right:1px solid #deded5}
body.design-refresh :is(.account-sidebar .account-tab,.live-sidebar .chapter-nav>button,.live-sidebar .chapter-nav>a){display:flex;align-items:center;gap:10px;width:100%;margin:0;padding:12px;border:0;border-radius:8px;background:transparent;color:#242620;text-align:left;font-size:14px;font-weight:500;line-height:1.4;box-shadow:none}
body.design-refresh :is(.account-sidebar .account-tab.active,.live-sidebar .chapter-nav>button.active){background:#e3e5d9}
body.design-refresh :is(.account-sidebar .account-tab:hover,.live-sidebar .chapter-nav>button:hover,.live-sidebar .chapter-nav>a:hover){background:#e3e5d9}
body.design-refresh .account-tab>span{display:none}.account-sidebar .standalone-cancel{margin-top:28px;width:100%;font-size:13px;padding:12px}.portal-share-dialog,.cancellation-dialog{width:min(600px,calc(100% - 32px));padding:28px;border:1px solid #c7c9bf;border-radius:20px;max-height:90dvh;overflow:auto}.portal-share-dialog::backdrop,.cancellation-dialog::backdrop{background:#0007}.portal-share-dialog h2,.cancellation-dialog h2{font-size:27px;line-height:1.2;margin-bottom:20px}.portal-share-dialog p,.cancellation-dialog p{font-size:15px;line-height:1.6;margin:16px 0}.portal-share-dialog label,.cancellation-dialog label{display:block;font-size:14px;margin:14px 0}.portal-share-dialog input[type=text],.portal-share-dialog input[type=email],.portal-share-dialog select,.cancellation-dialog select{width:100%;padding:12px;border:1px solid #bfc3b4;border-radius:8px;margin-top:8px;background:#fff}.portal-share-dialog .consent-row,.cancellation-dialog .consent-row{display:flex;align-items:flex-start;gap:9px}.consent-row input[type=checkbox]{width:16px!important;height:16px!important;flex:0 0 16px;margin-top:3px}.flow-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.flow-actions .btn{font-size:14px;padding:12px 18px}.flow-step{font-size:12px;letter-spacing:.08em}.sharing-section{padding:20px 0;border-bottom:1px solid #deded5}.sharing-section h3{font-size:19px}.sharing-section:last-child{border:0}@media(max-width:750px){body.design-refresh .account-sidebar{flex-direction:column;position:static;overflow:visible;padding:16px}.account-sidebar .standalone-cancel{margin-top:14px}}

body.design-refresh .account-sidebar .request-feature{display:flex;width:100%;justify-content:center;margin-top:28px;padding:13px 16px;background:#242620;color:#fff;border:1px solid #242620;border-radius:100px;font-size:14px;text-decoration:none}
body.design-refresh .account-sidebar .request-feature:hover{background:#41473a}
.account-sidebar .request-feature+.standalone-cancel{margin-top:10px}

.workspace-welcome{text-align:center;padding:24px 20px 40px;border:1px solid #dedbd3;border-radius:22px;background:#fff}.workspace-welcome-animation{width:min(100%,320px);aspect-ratio:1;margin:0 auto}.workspace-welcome h2{font-size:clamp(24px,3vw,32px);font-weight:500;margin:0 0 24px}.account-page .workspace-welcome .btn{width:auto;min-width:160px;display:inline-flex;justify-content:center}

.workspace-card-actions{display:flex;align-items:stretch;gap:10px}.workspace-card-actions .btn{flex:1;min-width:0}.account-page .workspace-card-actions .workspace-delete{display:grid;place-items:center;flex:0 0 46px;width:46px;min-height:46px;padding:0;border:1px solid #242620;border-radius:16px;background:#fff;color:#94211d;cursor:pointer}.workspace-delete:hover{background:#f6ece9!important}.brand-delete-dialog{width:min(480px,calc(100% - 32px));max-height:90svh;overflow:auto;padding:28px;border:1px solid #111;border-radius:22px;background:#fff;color:#242620;box-shadow:none;text-align:center}.brand-delete-dialog::backdrop{background:#0006}.brand-delete-animation{width:min(100%,210px);aspect-ratio:1;margin:0 auto}.brand-delete-dialog h2{font-size:26px;font-weight:500;margin:12px 0}.brand-delete-dialog p{font-size:15px;line-height:1.6;overflow-wrap:anywhere}.brand-delete-actions{display:flex;gap:12px;margin-top:24px}.brand-delete-actions button{flex:1;min-height:46px;border:1px solid #111;border-radius:16px;font:inherit;cursor:pointer;background:white;color:#111}.brand-delete-actions .confirm-delete{background:#94211d;color:white;border-color:#94211d}.brand-delete-actions button:disabled{opacity:.6;cursor:wait}

/* All brand-guide chapter headings: helper guidance stays below the title. */
.live-guideline .live-section-heading{align-items:flex-start}
.live-guideline .chapter-title-stack{display:flex;flex-direction:column;align-items:flex-start;flex:1 1 420px;min-width:0;gap:12px}
.live-guideline .chapter-title-stack h2{margin:0}
.live-guideline .chapter-title-stack #section-upload-guidance{display:block;width:100%;max-width:100%;margin:0!important;font-size:11px!important;line-height:1.5!important;overflow-wrap:anywhere}
.live-guideline .live-section-heading .section-file-actions{flex:0 0 auto}
@media(max-width:720px){.live-guideline .chapter-title-stack{flex-basis:100%}.live-guideline .live-section-heading .section-file-actions{width:100%;flex-wrap:wrap}}
