@import url('/css/wedizo-fonts.css');
body.crm-admin,body:has(.auth){--bg:#F8F5F6;--panel:#fff;--line:#E5DCE1;--ink:#29212A;--muted:#555057;--rose:#773A50;--rose-light:#F2E0E7;--accent:#B06376;--lr-input:#fff;--lr-raised:#F8F5F6;--wedizo-primary:#773A50;--wedizo-hover:#652D43;--wedizo-focus:#773A50;font-family:Inter,system-ui,sans-serif;font-size:14px;color:var(--ink);background:var(--bg)}
body.crm-admin[data-theme=dark]{--bg:#201A21;--panel:#2A222B;--line:#4B3A46;--ink:#F7F1F4;--muted:#C4B8C0;--rose:#F1BBCF;--rose-light:#422B39;--lr-input:#2A222B;--lr-raised:#342B35;--wedizo-hover:#8A455E;--wedizo-focus:#F1BBCF}
body.crm-admin :is(h1,h2,h3,h4),body:has(.auth) :is(h1,h2,h3,h4){font-family:Inter,system-ui,sans-serif!important;font-weight:600}
body.crm-admin h1,body:has(.auth) h1{font-size:28px;line-height:1.3}
body.crm-admin h2{font-size:16px;line-height:1.4}
body.crm-admin :is(input,textarea,select,button),body:has(.auth) :is(input,textarea,select,button){font-family:inherit}
body.crm-admin .btn:not(.alt),body:has(.auth) .btn:not(.alt){background:var(--wedizo-primary);border-color:var(--wedizo-primary);color:#fff;font-size:14px;font-weight:600}
body.crm-admin .btn:not(.alt):hover,body:has(.auth) .btn:not(.alt):hover{background:var(--wedizo-hover)}
body.crm-admin .side,body.crm-admin[data-theme=light] .side{background:var(--panel)}
body.crm-admin .side{grid-template-columns:145px minmax(0,1fr) auto}
body.crm-admin .side .studio-brand-sidebar{display:block;position:relative;width:128px;background:transparent;border:0;border-radius:0;padding:0;box-shadow:none;line-height:0}
body.crm-admin .side .studio-brand-sidebar img{display:block;width:100%!important;max-width:100%!important;max-height:58px!important}
body.crm-admin :is(input,select,textarea):not([type=checkbox]):not([type=radio]),body:has(.auth) :is(input,select,textarea):not([type=checkbox]):not([type=radio]){background:var(--lr-input);color:var(--ink);border-color:var(--line)}
body.crm-admin :focus-visible,body:has(.auth) :focus-visible{outline:2px solid var(--wedizo-focus);outline-offset:3px}
body.crm-admin .panel{background:var(--panel);border-color:var(--line)}
body.crm-admin :is(.money,[data-money],.amount){font-variant-numeric:tabular-nums;text-align:right}
body:has(.auth) .auth{max-width:460px;margin:40px auto;padding:24px}
body:has(.auth) .auth>.logo{background:#F8F5F6;border-radius:12px;padding:16px;margin-bottom:24px}
body:has(.auth) .studio-brand img{display:block;width:100%;max-width:400px!important;max-height:none!important;margin:auto}
body:has(.auth) .panel{background:var(--panel);border-color:var(--line)}
@media(prefers-color-scheme:dark){body:has(.auth){--bg:#201A21;--panel:#2A222B;--line:#4B3A46;--ink:#F7F1F4;--muted:#C4B8C0;--rose:#F1BBCF;--lr-input:#2A222B;--wedizo-hover:#8A455E;--wedizo-focus:#F1BBCF}}
@media(max-width:760px){body.crm-admin .side{grid-template-columns:1fr auto}body.crm-admin .side .studio-brand-sidebar{width:120px}body.crm-admin h1{font-size:24px}body:has(.auth) .auth{margin:12px auto;padding:18px}}

body.crm-admin .side .logo,body.crm-admin .side .studio-brand-sidebar{background:transparent!important;border:0!important;box-shadow:none!important}
body.crm-admin[data-theme=dark] .side .studio-brand-sidebar img{visibility:hidden}
body.crm-admin[data-theme=dark] .side .studio-brand-sidebar:after{content:"";position:absolute;inset:0;background:url("/images/wedizo/logo-dark-colours.svg") center/contain no-repeat;mask:url("/images/wedizo/logo.png") center/contain no-repeat;-webkit-mask:url("/images/wedizo/logo.png") center/contain no-repeat;pointer-events:none}
body.workspace-platform .auth>.logo{position:relative;width:220px;max-width:100%;margin:0 auto 24px;padding:0;background:transparent;border:0;box-shadow:none;line-height:0}
body.workspace-platform .auth>.logo img{display:block;width:100%;height:auto}
body.workspace-platform .auth label,body.workspace-platform .auth small{color:var(--muted)}
body.workspace-platform .auth small{display:block;margin-top:6px;line-height:1.5}
body.workspace-platform .auth .btn{min-height:44px}
body.workspace-platform .auth form>.btn{width:100%;margin-top:20px}
@media(prefers-color-scheme:dark){body.workspace-platform .auth>.logo img{visibility:hidden}body.workspace-platform .auth>.logo:after{content:"";position:absolute;inset:0;background:url("/images/wedizo/logo-dark-colours.svg") center/contain no-repeat;mask:url("/images/wedizo/logo.png") center/contain no-repeat;-webkit-mask:url("/images/wedizo/logo.png") center/contain no-repeat;pointer-events:none}}
