/* Adapted from Client Studio Starter: studio-ui.css and workspace-polish.css. */
:root,html[data-theme] body{--at-paper:#0b1017!important;--at-surface:#151e29!important;--at-ink:#f4f7fb!important;--at-muted:#b0bdcc!important;--at-line:#303e4e!important;--at-green:#edc671!important;--at-soft:#1c293a!important;--at-orange:#c28b66!important;--at-shadow:0 12px 35px #0002!important;--ui-radius:18px!important}
html{color-scheme:dark!important;scroll-padding-top:24px!important}
body.am-dashboard,body.am-design,body.am-creative,body.am-signin,body.am-legal{background:radial-gradient(ellipse at 90% 0,#26364580,transparent 55%),#0b1017!important;color:#f4f7fb!important;font:15px/1.65 system-ui,-apple-system,Segoe UI,sans-serif!important;color-scheme:dark!important;--gold-hover:#f4d58b!important}
body::before{display:none!important}body h1,body h2,body h3,body button,body input,body textarea,body select{font-family:system-ui,-apple-system,Segoe UI,sans-serif!important}
body.am-dashboard h1,body.am-design h1,body.am-creative h1{font-size:clamp(28px,3vw,40px)!important;letter-spacing:-1.3px!important;font-weight:650!important;line-height:1.2!important}
body h2{font-size:23px!important;font-weight:550!important;letter-spacing:-.3px!important}body h3{font-size:16px!important;font-weight:600!important}
.eyebrow{color:#e8c779!important;letter-spacing:1.8px!important;font-size:10px!important;font-weight:700!important}
body button,body .btn,body .button{min-height:44px!important;border-radius:11px!important;border:1px solid #45576e!important;background:#202d3e!important;color:#edf2f8!important;font-size:14px!important;font-weight:600!important;box-shadow:none!important}
body button:hover:not(:disabled),body .btn:hover,body .button:hover{background:#293c52!important;border-color:#667282!important;transform:none!important}
body .btn-gold,body .primary{background:#edc671!important;border-color:#edc671!important;color:#211a0b!important}
body button:disabled{opacity:.55!important;cursor:not-allowed!important}
body input:not([type=checkbox]),body textarea,body select{background:#101925!important;border-color:#45576e!important;color:#f4f7fb!important;border-radius:11px!important;font-size:15px!important}
body input::placeholder,body textarea::placeholder{color:#95a5ba!important}body input[type=checkbox]{accent-color:#edc671!important}
body button:focus-visible,body a:focus-visible,body summary:focus-visible,body input:focus-visible,body textarea:focus-visible,body select:focus-visible{outline:3px solid #edc671!important;outline-offset:3px!important}
body a{color:#edc671}body label{color:#ced7e3!important}
.am-dashboard .workspace-sidebar,.am-design header#workspaceNav,.am-creative:not(.media-only)>aside{background:#0e151f!important;border-right:1px solid #263344!important;border-radius:0!important;box-shadow:none!important}
.workspace-brand,.creative-brand{margin-bottom:12px!important}.workspace-brand img,.creative-brand img{width:38px!important;height:42px!important}.workspace-brand small,.creative-brand small{color:#8d97a3!important;font-size:9px!important;letter-spacing:1.6px!important}
.am-dashboard .nav-tabs,.am-design header#workspaceNav nav,.am-creative .creative-navigation{gap:4px!important}
.am-dashboard .tab-btn,.am-design header#workspaceNav nav a,.am-creative .creative-navigation a{display:flex!important;align-items:center!important;gap:11px!important;min-height:48px!important;font-size:14px!important;border-radius:12px!important;padding:11px 13px!important;background:transparent!important;color:#aeb6c0!important;border:1px solid transparent!important;box-shadow:none!important;font-weight:500!important}
.am-dashboard .tab-btn:hover,.am-design header#workspaceNav nav a:hover,.am-creative .creative-navigation a:hover{background:#1b222b!important;color:#fff!important}
.am-dashboard .tab-btn.active,.am-design header#workspaceNav nav a.active,.am-creative .creative-navigation a[aria-current=page]{background:#edc67118!important;border-color:#dfb85d30!important;color:#f1ce7f!important;box-shadow:inset 3px 0 #edc671!important}
.starter-nav-icon{width:18px;height:18px;flex:0 0 18px;color:#8792a0}.active .starter-nav-icon{color:#edc671}
.starter-nav-group,.nav-caption{font-size:10px!important;font-weight:700!important;letter-spacing:1.8px!important;text-transform:uppercase;color:#737e8b!important;margin:22px 12px 7px!important;padding:0!important}
.am-dashboard .tab-badge{margin-left:auto!important;background:#363f4c!important;color:#c7d1de!important;border-radius:5px!important}
.am-dashboard .workspace-topbar{display:none!important}.am-dashboard .workspace-heading{margin-bottom:22px!important;align-items:flex-start!important}.am-dashboard .heading-controls{gap:10px!important}.am-dashboard .workspace-heading p{max-width:800px;color:#b8c4d3!important;font-size:14px!important}
.starter-health-strip{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 16px;color:#b0bdcc;font-size:12px}.starter-health-strip .status-pill{font-size:12px!important}
#bufferAllowanceNotice{margin:0 0 22px!important;background:#edc6710b!important;border-color:#645638!important;color:#e0ceaa!important;border-radius:12px!important;font-size:12px!important;padding:12px 16px!important}
.am-dashboard .overview-card,.am-dashboard .connection-card,.am-dashboard .queue-card,.am-creative section,.am-design .card,.am-creative .card,.am-creative .task{background:linear-gradient(145deg,#192433,#141c27)!important;border:1px solid #304052!important;border-radius:18px!important;box-shadow:0 12px 35px #0002!important}
.am-dashboard .workspace-overview{gap:18px!important}.am-dashboard .overview-card{min-height:155px!important;padding:22px!important;text-align:left!important}.overview-card strong{font-size:44px!important;font-weight:550!important;color:#f4f7fb!important;letter-spacing:-1.5px!important}.overview-card small{font-size:12px!important;color:#b0bdcc!important}.overview-card:nth-child(1){border-top:2px solid #d8b45d!important}.overview-card:nth-child(2){border-top:2px solid #c28b66!important}.overview-card:nth-child(3){border-top:2px solid #7d95c0!important}.overview-card:nth-child(4){border-top:2px solid #6f9f8a!important}
.starter-quick-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 24px}.starter-quick-actions a{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border:1px solid #46566b;border-radius:11px;background:#1c293a;color:#e7edf6;text-decoration:none;font-size:14px;font-weight:600}.starter-quick-actions a:first-child{background:#edc671;color:#211a0b;border-color:#edc671}
.media-action-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;gap:22px!important}.media-action-card{border:1px solid #304052!important;background:linear-gradient(145deg,#192433,#141c27)!important;border-radius:18px!important;box-shadow:0 12px 35px #0002!important;overflow:hidden}.media-action-preview{height:300px!important;background:#0b1119!important}.media-action-body{padding:18px!important}.media-action-body h3{font-size:16px!important;line-height:1.4!important}.media-action-body p{font-size:13px!important;color:#b0bfd1!important}.media-action-body button{width:100%!important}.media-status{font-size:12px!important;padding:5px 10px!important;border-radius:5px!important;background:#24394c!important;color:#d2e3f5!important}
.media-toolbar,.queue-toolbar{padding:16px!important;gap:12px!important;border:1px solid #304052!important;border-radius:12px!important;background:#101824!important}.media-toolbar input{flex:1!important;min-width:160px!important}
.am-dashboard .direct-upload-card{border:1px dashed #8d7a4d!important;border-radius:18px!important;background:#141c27!important;padding:32px 22px!important}.drop-title{font-size:20px!important}.drop-sub,.upload-help{color:#b0bdcc!important}
.am-dashboard .month-grid{gap:10px!important}.am-dashboard .month-day{min-height:150px!important;background:#182434!important;border:1px solid #304052!important;border-radius:8px!important;padding:14px!important}.am-dashboard .month-day.today{border-color:#edc671!important}.am-dashboard .month-day.rest{background:#0f1722!important}.am-dashboard .calendar-item{background:#26394e!important;border:1px solid #45576e!important;border-left:3px solid #edc671!important;border-radius:6px!important;padding:9px!important;font-size:12px!important}.am-dashboard .calendar-item small{color:#b9c8da!important}.calendar-shell{padding:18px!important;background:#101824!important;border-radius:14px!important}
.am-dashboard dialog.library-editor{background:#111b28!important;border:1px solid #35475d!important;border-radius:16px!important}.library-editor header{background:#152131!important;padding:16px!important;border-bottom:1px solid #35475d!important}.library-editor [role=status]{background:#1c2c3f!important;border:1px solid #405673!important}.library-editor-grid{gap:28px!important}.library-editor [data-delivery]{border-top:1px solid #35465d;margin-top:20px;padding-top:16px;font-size:13px;color:#b9c8da}.library-editor-actions{position:sticky;bottom:0;background:#152131!important;padding:14px 0!important;z-index:2}
.atelier-page-bar{border-color:#303e4e!important}.am-creative .atelier-page-tools a,.am-design .atelier-page-tools a{background:#1c293a!important;color:#e7edf6!important;border-radius:9px!important}.am-creative .paste,.am-design #inspirationDropzone{background:#101925!important;border-color:#45576e!important;border-radius:12px!important}.am-creative p,.am-creative small,.am-design p{color:#b0bdcc!important}.am-creative section,.am-design .card{padding:28px!important}
#themeToggle,.atelier-theme-toggle{display:none!important}.starter-menu-toggle{display:none!important}
@media(min-width:901px){body.am-dashboard,body.am-design,body.am-creative:not(.media-only){padding-left:248px!important}.am-dashboard .app-body,.am-design main,.am-creative:not(.media-only) main{padding:36px clamp(22px,3vw,52px)!important;max-width:1660px!important;margin-left:0!important;width:100%!important}}
@media(max-width:900px){.am-dashboard .workspace-sidebar,.am-design header#workspaceNav,.am-creative:not(.media-only)>aside{position:relative!important;padding:18px!important;gap:10px!important;border-bottom:1px solid #263344!important}.starter-menu-toggle{display:inline-flex!important;align-self:flex-end;min-width:80px}.am-dashboard .nav-tabs,.am-design header#workspaceNav nav,.am-creative .creative-navigation{display:none!important}.starter-menu-open .nav-tabs,.starter-menu-open header#workspaceNav nav,.starter-menu-open .creative-navigation{display:flex!important;flex-direction:column!important}.starter-nav-group{margin-top:12px!important}.am-dashboard .app-body,.am-design main,.am-creative:not(.media-only) main{padding:24px 18px!important;margin:0!important;width:100%!important}.am-dashboard .workspace-heading{display:block!important}.heading-controls{margin-top:16px}.media-action-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important}.am-dashboard .workspace-overview{grid-template-columns:repeat(2,minmax(0,1fr))!important}.am-dashboard .overview-card{min-height:130px!important;padding:16px!important}.am-dashboard .overview-card strong{font-size:34px!important}.am-creative #inspirations,.am-creative #compose{grid-column:1/-1!important}}
@media(max-width:500px){.media-action-grid{grid-template-columns:1fr!important}.heading-controls{flex-wrap:wrap!important}.media-toolbar{flex-wrap:wrap!important}.media-toolbar select{width:100%!important}.library-editor-grid{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}html{scroll-behavior:auto!important}}

:root{--surface:#151e29;--border:#303e4e}
.am-creative .creative-navigation::before,.am-design header#workspaceNav nav::before{content:none!important;display:none!important}
#deliveryHealth [data-delivery-cards]>div{background:linear-gradient(145deg,#192433,#141c27)!important;border-color:#304052!important;border-radius:18px!important}

/* Light appearance keeps the starter geometry and gold accent. */
body #themeToggle,body .atelier-theme-toggle{display:inline-flex!important;align-items:center;justify-content:center}
html[data-theme=light]{color-scheme:light!important;--surface:#fff;--border:#cbd5e1}
html[data-theme=light] body{--at-paper:#f3f6fa!important;--at-surface:#fff!important;--at-ink:#182638!important;--at-muted:#526477!important;--at-line:#ccd6e2!important;--at-green:#805c13!important;--at-soft:#e8eef5!important;--at-shadow:0 8px 24px #1826380a!important;color-scheme:light!important}
html[data-theme=light] body.am-dashboard,html[data-theme=light] body.am-design,html[data-theme=light] body.am-creative,html[data-theme=light] body.am-signin,html[data-theme=light] body.am-legal{background:radial-gradient(ellipse at 90% 0,#e1eaf580,transparent 55%),#f3f6fa!important;color:#182638!important;color-scheme:light!important}
html[data-theme=light] body .workspace-sidebar,html[data-theme=light] body header#workspaceNav,html[data-theme=light] body.am-creative:not(.media-only)>aside{background:#fff!important;border-color:#ccd6e2!important}
html[data-theme=light] body button,html[data-theme=light] body .btn,html[data-theme=light] body .button{background:#edf2f8!important;color:#203249!important;border-color:#c3cfdd!important}
html[data-theme=light] body button:hover:not(:disabled),html[data-theme=light] body .btn:hover,html[data-theme=light] body .button:hover{background:#dfe8f3!important;border-color:#8093aa!important}
html[data-theme=light] body .btn-gold,html[data-theme=light] body .primary{background:#edc671!important;color:#211a0b!important;border-color:#c89c40!important}
html[data-theme=light] body input:not([type=checkbox]),html[data-theme=light] body textarea,html[data-theme=light] body select{background:#fff!important;color:#182638!important;border-color:#aab9cc!important}
html[data-theme=light] body label,html[data-theme=light] body p,html[data-theme=light] body small{color:#526477!important}html[data-theme=light] body input::placeholder,html[data-theme=light] body textarea::placeholder{color:#64748b!important}
html[data-theme=light] body .eyebrow,html[data-theme=light] body a{color:#805c13!important}
html[data-theme=light] body .tab-btn,html[data-theme=light] body header#workspaceNav nav a,html[data-theme=light] body .creative-navigation a{background:transparent!important;color:#526477!important}
html[data-theme=light] body .tab-btn.active,html[data-theme=light] body header#workspaceNav nav a.active,html[data-theme=light] body .creative-navigation a[aria-current=page]{background:#fff4d9!important;color:#694b0d!important;border-color:#dcc28a!important;box-shadow:inset 3px 0 #bd8c25!important}
html[data-theme=light] body .tab-badge{background:#e4ebf4!important;color:#40536a!important}html[data-theme=light] body .starter-nav-icon{color:#64748b!important}
html[data-theme=light] body .workspace-heading p,html[data-theme=light] body .overview-card small{color:#526477!important}
html[data-theme=light] body .overview-card,html[data-theme=light] body .connection-card,html[data-theme=light] body .queue-card,html[data-theme=light] body .media-action-card,html[data-theme=light] body.am-creative section,html[data-theme=light] body.am-design .card,html[data-theme=light] body.am-creative .card,html[data-theme=light] body.am-creative .task{background:#fff!important;border-color:#ccd6e2!important;box-shadow:0 8px 24px #18263808!important}
html[data-theme=light] body .overview-card strong{color:#182638!important}html[data-theme=light] body .media-action-body p{color:#526477!important}
html[data-theme=light] #bufferAllowanceNotice{background:#fff8e7!important;border-color:#d8bf87!important;color:#69521e!important}
html[data-theme=light] #deliveryHealth [data-delivery-cards]>div{background:#fff!important;border-color:#ccd6e2!important}
html[data-theme=light] body .starter-quick-actions a,html[data-theme=light] body .atelier-page-tools a{background:#e8eef5!important;color:#203249!important;border-color:#c3cfdd!important}html[data-theme=light] body .starter-quick-actions a:first-child{background:#edc671!important;color:#211a0b!important}
html[data-theme=light] body .media-toolbar,html[data-theme=light] body .queue-toolbar,html[data-theme=light] body .calendar-shell{background:#eaf0f7!important;border-color:#ccd6e2!important}
html[data-theme=light] body .month-day{background:#fff!important;border-color:#cbd5e1!important}html[data-theme=light] body .month-day.rest{background:#e8eef5!important}html[data-theme=light] body .calendar-item{background:#f4f0e3!important;color:#203249!important;border-color:#d5c49c!important}html[data-theme=light] body .calendar-item small{color:#526477!important}
html[data-theme=light] body .media-action-preview{background:#e8eef5!important}html[data-theme=light] body .media-status{background:#dce8f5!important;color:#294664!important}
html[data-theme=light] body dialog.library-editor{background:#fff!important;color:#182638!important;border-color:#cbd5e1!important}html[data-theme=light] body .library-editor header,html[data-theme=light] body .library-editor-actions,html[data-theme=light] body .library-editor [role=status]{background:#edf2f8!important;border-color:#c3cfdd!important}
html[data-theme=light] body .direct-upload-card,html[data-theme=light] body .paste,html[data-theme=light] body #inspirationDropzone{background:#fff!important;border-color:#af9a69!important}
