:root{font-family:"Poppins","Segoe UI",sans-serif;color:#17233a;background:#f4f6fb;font-synthesis:none;--purple:#6845eb;--navy:#14213a;--muted:#64728a;--line:#e1e6ef}*{box-sizing:border-box}body{margin:0}a{color:#6041d5;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a.button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b39eff;outline-offset:3px}button,.button{border:1px solid var(--line);border-radius:9px;padding:10px 17px;background:white;color:#27324a;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;text-decoration:none}.primary{background:var(--purple);border-color:var(--purple);color:white}.danger{color:#ad3046;border-color:#e9bfc8}.quiet{background:transparent}h1{font-size:30px;letter-spacing:-1px;margin:0 0 10px}h2{font-size:20px;letter-spacing:-.3px;margin:0 0 18px}h3{font-size:17px;margin:0 0 12px}p{line-height:1.6}.muted,small{color:var(--muted)}small{font-size:13px}label{font-size:14px;font-weight:600;display:block;margin-bottom:18px}input,select,textarea{display:block;width:100%;border:1px solid #ccd4e1;border-radius:8px;background:white;padding:11px 12px;color:#19263d;margin-top:7px;min-height:43px}textarea{min-height:115px;resize:vertical;line-height:1.6}input[type=checkbox]{width:18px;min-height:18px;display:inline-block;margin:0 8px 0 0;vertical-align:middle}input[type=file]{padding:9px}.help{display:block;font-size:13px;font-weight:400;color:var(--muted);margin-top:6px}.auth-body{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at top left,#dfd9ff,transparent 55%),#edf1f8;padding:25px}.auth-card{width:min(100%,480px);background:white;border:1px solid var(--line);border-radius:18px;padding:38px;box-shadow:0 16px 60px #23344b12}.brand{font-size:29px;letter-spacing:-1.6px;font-weight:900;display:block;color:inherit;margin-bottom:30px}.brand span{display:block;font-size:10px;letter-spacing:3.5px;font-weight:600}.eyebrow{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;color:var(--purple);margin:0 0 10px}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#e7ecf6;padding:31px 20px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.sidebar .brand{padding-left:15px;color:white}.sidebar nav{display:grid;gap:5px}.sidebar nav button{text-align:left;justify-content:flex-start;background:transparent;color:#aeb9ce;border:none;border-radius:8px;padding:12px 15px;font-size:14px;font-weight:500}.sidebar nav button.active{color:white;background:#ffffff13;border-left:3px solid #a58dff}.sidebar nav button:hover{background:#ffffff0d;color:white}.nav-icon{font-size:17px;width:25px;color:#b69fff}.sidebar .bottom{margin-top:auto;border-top:1px solid #ffffff1a;padding:20px 10px 0}.sidebar .bottom a{color:#c3b5ff;font-size:14px}.workspace{min-width:0}.topbar{height:79px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:15px}.topbar .user{display:flex;align-items:center;gap:11px;font-size:14px}.avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#eee9ff;color:#6443d3;font-weight:800}.role{font-size:12px;color:var(--muted);display:block}.content{max-width:1480px;padding:35px 38px 70px;margin:auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:27px}.page-head p{margin:4px 0;color:var(--muted);font-size:14px}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.panel{background:white;border:1px solid var(--line);border-radius:13px;padding:25px;margin-bottom:22px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:22px}.stat span{font-size:13px;color:var(--muted)}.stat strong{display:block;font-size:31px;letter-spacing:-1px;margin:9px 0 2px}.welcome{padding:26px 30px;border-radius:13px;background:linear-gradient(115deg,#1d2d4c,#423582);color:white;margin-bottom:24px}.welcome p{color:#c9cde5;max-width:630px;font-size:14px;margin-bottom:0}.welcome .eyebrow{color:#c9b9ff}.toolbar{display:flex;gap:12px;margin-bottom:20px;align-items:center}.toolbar input{max-width:400px;margin:0}.toolbar select{width:190px;margin:0}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:11px;background:white}table{border-collapse:collapse;width:100%;font-size:14px}th{text-align:left;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);background:#fafbfe}th,td{padding:17px 20px;border-bottom:1px solid #edf0f6;vertical-align:middle}tr:last-child td{border:0}td .title{display:block;font-weight:650;color:#1e2a42;margin-bottom:4px}.badge{padding:5px 9px;border-radius:5px;font-size:12px;white-space:nowrap;background:#eef1f7;color:#52617a;display:inline-block}.badge.published,.badge.closed{background:#e5f5ed;color:#207451}.badge.draft,.badge.new{background:#fff2d7;color:#926400}.badge.in-progress{background:#eee8ff;color:#6845ca}.empty{text-align:center;padding:45px 20px;color:var(--muted)}.edit-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px}.editor-side{align-self:start;position:sticky;top:20px}.editor-side p{font-size:14px;color:var(--muted)}.editor-side .button,.editor-side button{width:100%;margin-bottom:10px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.fields .wide{grid-column:1/-1}.check{font-weight:500}.media-field{display:flex;align-items:baseline;gap:8px}.media-field input{min-width:0}.media-field button{white-space:nowrap}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:14px}.media-tile{min-width:0;border:1px solid var(--line);border-radius:9px;padding:10px;background:white;overflow:hidden}.media-tile img,.file-icon{height:110px;width:100%;object-fit:contain;background:#f2f4f8;border-radius:5px}.file-icon{display:grid;place-items:center;color:var(--purple);font-weight:800}.media-tile p{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:8px 0}.media-tile button{width:100%;font-size:13px;min-height:32px;padding:5px}.row-item{border:1px solid var(--line);border-radius:9px;padding:15px;margin-bottom:14px}.row-item .actions{justify-content:space-between}.row-item label:last-child{margin-bottom:0}#notice{position:fixed;bottom:25px;right:25px;z-index:10000;max-width:min(500px,90vw);padding:0;border-radius:10px;background:#17243b;color:white;box-shadow:0 8px 35px #0003;font-size:14px}#notice.show{padding:16px 22px}#notice.error{background:#9c2f45}.form-error{padding:12px 15px;border-radius:8px;background:#fff0f2;color:#9d2c45;margin-bottom:20px;white-space:pre-wrap}.form-error:empty{display:none}dialog{width:min(760px,94vw);max-height:90vh;border:1px solid var(--line);border-radius:15px;padding:28px;box-shadow:0 30px 100px #0004}dialog::backdrop{background:#111e3d70;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.dialog-head h2{margin:0}.dialog-head button{min-height:34px;padding:4px 10px}.loading{padding:60px;color:var(--muted)}.honeypot{position:absolute;left:-10000px}.note{border-left:3px solid var(--purple);padding:10px 15px;background:#f4f0ff;font-size:14px;line-height:1.6;margin-bottom:20px}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.row-thumb{width:40px;height:40px;object-fit:cover;border-radius:8px;vertical-align:middle;margin-right:10px}.subtle{font-size:13px;color:var(--muted)}.mobile-menu{display:none}.counter{font-size:12px;color:var(--muted)}@media(max-width:1050px){.stats{grid-template-columns:repeat(2,1fr)}.edit-layout{grid-template-columns:1fr}.editor-side{position:static}.editor-side .button,.editor-side button{width:auto}.shell{grid-template-columns:210px 1fr}.content{padding:25px}.topbar{padding:0 25px}}@media(max-width:760px){.shell{display:block}.sidebar{position:static;height:auto;padding:17px}.sidebar .brand{margin:0 0 15px;font-size:24px}.sidebar nav{display:flex;flex-wrap:wrap;gap:4px}.sidebar nav button{font-size:13px;padding:9px;min-height:37px}.nav-icon,.sidebar .bottom{display:none}.topbar{padding:0 17px;height:70px}.content{padding:25px 17px}.page-head{flex-direction:column}.page-head h1{font-size:26px}.fields{grid-template-columns:1fr}.fields .wide{grid-column:auto}.panel{padding:20px}.toolbar{flex-wrap:wrap}.toolbar input{max-width:none;flex:1;min-width:170px}.toolbar select{flex:1;min-width:160px}.stats{gap:10px}.stat{padding:17px}.stat strong{font-size:27px}.auth-card{padding:25px}th,td{padding:13px}.actions{gap:7px}.user .name{max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome{padding:24px}.topbar>span{font-size:13px}}

input::file-selector-button{font:inherit}option,optgroup{font-family:inherit}

.sidebar{overflow-y:auto}.sidebar .sidebar-brand{padding:0;margin:0 0 24px;line-height:0;flex-shrink:0}.sidebar-brand img{display:block;width:180px;max-width:100%;height:auto;object-fit:contain}
@media(max-width:760px){.sidebar .sidebar-brand{margin-bottom:16px}.sidebar-brand img{width:148px}}

/* Hide the sidebar and page scrollbars while retaining wheel, touch and keyboard scrolling. */
html.admin-document,.admin-document body,.admin-document .sidebar{scrollbar-width:none;-ms-overflow-style:none}
html.admin-document::-webkit-scrollbar,.admin-document body::-webkit-scrollbar,.admin-document .sidebar::-webkit-scrollbar{display:none;width:0;height:0}

.topbar>.user{margin-left:auto}

.sidebar nav .nav-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:22px;flex:0 0 24px;line-height:1;color:#b69fff}.nav-icon svg{display:block;width:20px;height:20px}.sidebar nav button.active .nav-icon{color:#d5c8ff}

/* One-line signed-in greeting and real enquiry notifications. */
.topbar{position:relative;z-index:20}.topbar .user{max-width:100%;min-width:0}.topbar .avatar{flex-shrink:0}.user-greeting{display:flex;align-items:center;gap:5px;min-width:0;white-space:nowrap;color:#31415f;font-size:14px}.user-greeting>span:first-child{flex-shrink:0}.greeting-name{font-weight:600;min-width:0;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notification-wrap{flex-shrink:0}.notification-toggle{position:relative;width:42px;height:42px;min-height:42px;padding:9px;border:0;border-radius:50%;background:transparent;color:#405477}.notification-toggle:hover,.notification-toggle[aria-expanded=true]{background:#f0edff;color:#6845eb}.notification-toggle>svg{width:22px;height:22px}.notification-dot{position:absolute;top:6px;right:7px;width:8px;height:8px;border-radius:50%;background:#6486ff;box-shadow:0 0 0 2px white}.notification-dot[hidden]{display:none}.notification-panel{position:absolute;top:calc(100% - 4px);right:38px;width:340px;max-width:calc(100vw - 34px);max-height:min(500px,70vh);overflow-y:auto;border:1px solid var(--line);border-radius:13px;background:white;box-shadow:0 15px 50px #24365624;z-index:60;text-align:left}.notification-panel[hidden]{display:none}.notification-heading{padding:19px 20px 15px;border-bottom:1px solid var(--line)}.notification-heading h2{margin:0;font-size:16px}.notification-summary{margin:14px 20px 0;color:var(--muted);font-size:13px}.notification-list{list-style:none;margin:0;padding:0 20px}.notification-list li{padding:15px 0;border-bottom:1px solid #edf0f6;overflow-wrap:anywhere}.notification-list li:last-child{border-bottom:0}.notification-list strong{display:block;font-size:14px;font-weight:600;line-height:1.6}.notification-list span,.notification-list small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.notification-empty{padding:24px 20px;margin:0;color:var(--muted);font-size:14px;line-height:1.7}.notification-view-all{width:100%;border:0;border-top:1px solid var(--line);border-radius:0 0 13px 13px;background:#faf9ff;color:#6041d5;font-size:14px}.sign-out-button{flex-shrink:0}.sign-out-icon{display:none;width:20px;height:20px}
@media(max-width:760px){.topbar .user{width:100%;gap:8px}.topbar .avatar{width:32px;height:32px}.user-greeting{flex:1;font-size:13px;gap:4px}.greeting-name{max-width:none}.notification-toggle{width:38px;height:38px;min-height:38px;padding:8px}.notification-panel{right:17px}.sign-out-button{width:38px;height:38px;min-height:38px;padding:8px}.sign-out-icon{display:block}.sign-out-label{display:none}}

/* Signed-in profile photo */
.topbar .profile-avatar{padding:0;border:0;border-radius:50%;min-height:0;aspect-ratio:1;overflow:hidden;cursor:pointer;display:grid;place-items:center;flex-shrink:0}
.profile-avatar img{width:100%;height:100%;object-fit:cover;object-position:center top;transform:scale(2);transform-origin:50% 20%;display:block;border-radius:50%}
.profile-avatar svg{width:22px;height:22px}
.profile-photo-preview{width:88px;height:88px;border-radius:50%;overflow:hidden;background:#eee9ff;color:#6944ed;display:grid;place-items:center;margin:16px 0}
.profile-photo-preview img{width:100%;height:100%;object-fit:cover;display:block}
.profile-photo-preview svg{width:48px;height:48px}

/* Sign out action states */
.topbar .sign-out-button{background:#16834a;border-color:#16834a;color:#fff;transition:background-color .18s ease,border-color .18s ease}
.topbar .sign-out-button:hover{background:#dc2626;border-color:#dc2626;color:#fff}
@media(prefers-reduced-motion:reduce){.topbar .sign-out-button{transition:none}}

.project-toolbar{justify-content:space-between;flex-wrap:wrap}.project-toolbar input{flex:1;min-width:170px}.project-toolbar .primary{flex-shrink:0}

.project-toolbar .add-project-button{font-size:13px;gap:6px}.add-project-icon{width:17px;height:17px;flex-shrink:0}

/* New project dialog */
dialog.project-dialog{width:min(580px,calc(100vw - 32px));padding:0;border:1px solid #e4e5f1;border-radius:20px;color:var(--navy);box-shadow:0 28px 90px #17233a38;max-height:calc(100dvh - 32px)}
.project-dialog::backdrop{background:#14213a80;backdrop-filter:blur(5px)}
.project-dialog .dialog-head{padding:26px 28px 0;margin:0;gap:13px;justify-content:flex-start}
.project-dialog-icon{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;border-radius:13px;background:#eee9ff;color:var(--purple)}
.project-dialog-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.project-dialog .dialog-head h2{font-size:22px;font-weight:600;letter-spacing:-.5px}
.project-dialog .dialog-head button{margin-left:auto;padding:7px;width:34px;height:34px;min-height:34px;border:0;background:#f3f5f9;color:#64728a;border-radius:50%}
.project-dialog .dialog-head button:hover{background:#e9e5fb;color:var(--purple)}
.project-dialog .dialog-head button svg{width:19px;height:19px}
.project-dialog-intro{margin:14px 28px 25px;color:var(--muted);font-size:13px;line-height:1.8}
.project-dialog-fields{padding:0 28px}
.project-dialog label{font-size:13px;font-weight:500;margin-bottom:21px}
.project-dialog input,.project-dialog select{font-size:13px;border-radius:10px;min-height:48px;background:#fafbfe;border-color:#dce2ee;transition:border-color .15s,box-shadow .15s}
.project-dialog input::placeholder{color:#929db0}
.project-dialog input:focus,.project-dialog select:focus{border-color:#9278ef;outline:0;box-shadow:0 0 0 3px #6845eb14;background:white}
.required-mark{color:#8966e6;margin-left:2px}
.project-url-field{display:flex;align-items:center;border:1px solid #dce2ee;border-radius:10px;background:#fafbfe;margin-top:7px;overflow:hidden}
.project-url-field>span{padding-left:14px;white-space:nowrap;font-size:13px;font-weight:400;color:#7c88a0}
.project-url-field input{min-width:0;flex:1;border:0;background:transparent;margin:0;padding-left:8px;box-shadow:none!important}
.project-url-field:focus-within{border-color:#9278ef;box-shadow:0 0 0 3px #6845eb14;background:white}
.project-dialog .help{font-size:11px;line-height:1.7;margin-top:8px}
.project-draft-note{display:flex;align-items:center;gap:8px;padding:0 28px 23px;font-size:11px;color:#75829a}
.project-draft-note svg{width:17px;height:17px;flex-shrink:0;color:#9178d3}
.project-dialog-footer{padding:19px 28px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e8ecf4;background:#fafbfe}
.project-dialog-footer button{font-size:13px;min-height:43px;padding:10px 18px;border-radius:10px}
.project-dialog-footer .primary{box-shadow:0 4px 12px #6845eb26}
.project-dialog-footer .primary:hover{background:#5938d4}
.project-dialog-footer svg{width:17px;height:17px}
@media(max-width:480px){.project-dialog .dialog-head{padding:22px 20px 0}.project-dialog-intro{margin:12px 20px 22px}.project-dialog-fields{padding:0 20px}.project-draft-note{padding:0 20px 20px;align-items:flex-start}.project-dialog-footer{padding:16px 20px}.project-dialog .dialog-head h2{font-size:20px}}

dialog.project-dialog{scrollbar-width:none}dialog.project-dialog::-webkit-scrollbar{display:none;width:0;height:0}

/* Project category picker */
.project-category{position:relative;margin-bottom:21px}
.category-label{display:block;font-size:13px;font-weight:500;margin-bottom:7px}
.category-trigger{width:100%;min-height:48px;padding:10px 13px;gap:10px;justify-content:flex-start;border:1px solid #dce2ee;border-radius:10px;background:#fafbfe;font-size:13px;font-weight:400;color:#19263d}
.category-trigger:hover{border-color:#b6a4ec;background:#faf8ff}
.category-trigger[aria-expanded=true]{border-color:#9278ef;box-shadow:0 0 0 3px #6845eb14;background:white}
.category-selected-icon{display:flex;color:#8065c8}
.category-selected-icon svg,.category-option-icon svg{width:19px;height:19px}
.category-chevron{width:18px;height:18px;margin-left:auto;color:#8b95a8;transition:transform .18s}
.category-trigger[aria-expanded=true] .category-chevron{transform:rotate(180deg);color:var(--purple)}
.category-options{position:relative;margin-top:8px;padding:6px;z-index:5;background:white;border:1px solid #e5def6;border-radius:13px;box-shadow:0 8px 30px #25204320}
.category-options[hidden]{display:none}
.project-dialog .category-option{position:relative;display:flex;align-items:center;gap:11px;padding:12px 13px;margin:0;border-radius:8px;min-height:48px;font-size:13px;font-weight:400;cursor:pointer;color:#47546c}
.category-option:hover{background:#f7f5ff}
.category-option:has(input:checked){background:#f0ebff;color:#6643d5;font-weight:500}
.category-option:has(input:focus-visible){outline:2px solid #a48aee;outline-offset:-2px}
.project-dialog .category-option input{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;opacity:0;pointer-events:none}
.category-option-icon{display:flex;color:#9b8bbf}
.category-option:has(input:checked) .category-option-icon{color:#7a58d5}
.category-check{width:17px;height:17px;margin-left:auto;color:#7753d5;visibility:hidden}
.category-option:has(input:checked) .category-check{visibility:visible}
@media(prefers-reduced-motion:reduce){.category-chevron{transition:none}}

/* Project editing workspace */
.project-editor .edit-layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.project-editor .edit-layout>div{min-width:0}
.project-editor .panel{border-color:#e3e7f1;border-radius:17px;box-shadow:0 3px 13px #192d4903;padding:26px;margin-bottom:24px}
.editor-card-heading{display:flex;align-items:center;gap:12px;padding-bottom:22px;margin-bottom:23px;border-bottom:1px solid #edf0f6}
.editor-section-icon{width:41px;height:41px;flex-shrink:0;display:grid;place-items:center;border-radius:12px;background:#f0ebff;color:#8768d7}
.editor-section-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.project-editor .editor-card-heading h2{margin:0;font-size:17px;font-weight:600;letter-spacing:-.4px}
.editor-card-heading p{font-size:11px;color:#8994a8;margin:4px 0 0;line-height:1.6}
.project-editor label{font-size:12px;font-weight:500;color:#39465d;margin-bottom:20px;line-height:1.6;min-width:0}
.project-editor input,.project-editor select,.project-editor textarea{font-size:13px;font-weight:400;border-radius:9px;border-color:#e0e5ef;background:#fafbfe;min-height:46px;margin-top:8px;padding:11px 13px;transition:border-color .15s,box-shadow .15s}
.project-editor input:focus,.project-editor select:focus,.project-editor textarea:focus{outline:0;border-color:#a08ae5;box-shadow:0 0 0 3px #6845eb10;background:white}
.project-editor input::placeholder{color:#9aa4b5;font-size:12px}
.project-editor .fields{gap:0 20px}
.project-editor .media-field{align-items:center;gap:8px}
.project-editor .media-field input{flex:1}
.project-editor .media-field button{font-size:12px;min-height:40px;padding:9px 12px;border-color:#e0d8f3;background:#f6f3ff;color:#7755c2;margin-top:8px}
.project-editor .help{font-size:11px;line-height:1.8;color:#8a95a8}
.project-editor textarea{line-height:1.9}
.project-editor .check{display:flex;align-items:center;gap:8px}
.project-editor input[type=checkbox]{min-height:18px;flex-shrink:0;margin:0}
.project-editor h3{font-size:14px;font-weight:500;margin-top:23px;color:#44516a}
.project-editor .row-item{border-color:#e7eaf3;background:#fcfcfe;border-radius:11px;padding:17px}
.project-editor .panel>button,.project-editor .row-item>button{font-size:12px;min-height:36px;padding:7px 12px}
.project-editor .editor-side{padding:22px;top:22px}
.publish-card-heading{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.publish-heading-icon{display:flex;color:#8b73c8}
.publish-heading-icon svg{width:18px;height:18px}
.project-editor .publish-card-heading h2{font-size:15px;font-weight:600;margin:0;letter-spacing:-.2px}
.publish-state{margin-left:auto;display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:6px;font-size:10px;font-weight:500;white-space:nowrap}
.publish-state:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}
.publish-state.is-live{background:#eaf7f0;color:#3b9166}.publish-state.is-draft{background:#fff5df;color:#b58b35}
.project-editor .publish-description{font-size:12px;line-height:1.85;color:#8a95a9;margin:17px 0 20px}
.publish-actions{display:grid;gap:9px}
.project-editor .publish-actions button,.project-editor .publish-actions .button{width:100%;margin:0;min-height:43px;font-size:12px;border-radius:9px;justify-content:flex-start;padding:11px 14px;gap:10px;font-weight:500}
.publish-actions svg,.publish-secondary svg{width:17px;height:17px;flex-shrink:0}
.publish-actions .primary{background:linear-gradient(110deg,#7856ed,#6845df);border-color:#7652e9;box-shadow:0 4px 10px #6845eb18}
.publish-actions .primary:hover{background:#6040d5}
.project-editor .publish-actions .button{color:#68768c;background:white;border-color:#e4e8f0}
.publish-actions .button:hover{background:#faf9ff;text-decoration:none}
.project-editor .publish-action{background:#f2edff;border-color:#ece5fd;color:#7955c5}
.publish-action:hover{background:#e9e0fc}
.publish-secondary{display:grid;gap:6px;border-top:1px solid #edf0f6;margin-top:20px;padding-top:14px}
.project-editor .publish-secondary button{border:0;background:transparent;font-size:11px;font-weight:400;margin:0;min-height:35px;padding:7px 3px;gap:10px;justify-content:flex-start;color:#8b95a7}
.project-editor .publish-secondary button:hover{background:#f7f6fb;color:#6e55ab}
.project-editor .publish-secondary .danger{color:#c36b7a}
.project-editor .publish-secondary .danger:hover{background:#fff4f5;color:#b44359}
.publish-meta{border-top:1px solid #edf0f6;margin-top:13px;padding-top:17px;display:grid;gap:11px}
.publish-meta>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.publish-meta span{font-size:10px;color:#a0a8b7}
.publish-meta strong{font-size:10px;color:#7c879c;font-weight:400;text-align:right}
.project-editor #dirtyHint{border-radius:7px;background:#f6f8fb;color:#8a98a6;font-size:10px;padding:9px 11px;margin:17px 0 0;line-height:1.7}
@media(max-width:1100px){.project-editor .edit-layout{grid-template-columns:minmax(0,1fr) 270px;gap:18px}.project-editor .panel{padding:21px}.project-editor .editor-side{padding:19px}.project-editor .fields{gap:0 14px}}
@media(max-width:960px){.project-editor .edit-layout{grid-template-columns:minmax(0,1fr)}.project-editor .editor-side{position:static}.project-editor .publish-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.project-editor .publish-actions button,.project-editor .publish-actions .button{justify-content:center;padding:10px 8px}.publish-meta{grid-template-columns:1fr 1fr;gap:25px}.project-editor .publish-secondary{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.project-editor .panel{padding:19px;border-radius:13px}.editor-card-heading{gap:10px;padding-bottom:18px;margin-bottom:20px}.project-editor .editor-card-heading h2{font-size:16px}.editor-card-heading p{font-size:10px}.project-editor .fields{grid-template-columns:1fr}.project-editor .publish-actions{grid-template-columns:1fr}.project-editor .publish-actions button,.project-editor .publish-actions .button{justify-content:flex-start}.project-editor .publish-secondary,.publish-meta{grid-template-columns:1fr}.project-editor .media-field button{padding:9px 10px}}

/* Project status picker */
.project-editor .project-status{min-width:0;margin-bottom:20px}
.project-status .category-label{font-size:12px;font-weight:500;color:#39465d;margin-bottom:8px;line-height:1.6}
.project-status .category-trigger{min-height:46px;border-radius:9px;border-color:#e0e5ef;background:#fafbfe;padding:11px 13px;line-height:22px}
.project-status .category-trigger[aria-expanded=true]{border-color:#9278ef;background:white}
.project-status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;box-shadow:0 0 0 3px #ffffffcc}
.status-completed{background:#42a77d}.status-ongoing{background:#7990e7}.status-upcoming{background:#e2b35c}
.project-status .category-options{margin-top:7px;box-shadow:0 5px 20px #25204312}
.project-editor .project-status .category-option{position:relative;display:flex;align-items:center;gap:12px;padding:12px 13px;margin:0;border-radius:8px;min-height:44px;font-size:12px;font-weight:400;cursor:pointer;color:#5b6781}
.project-editor .project-status .category-option:has(input:checked){background:#f0ebff;color:#6643d5;font-weight:500}
.project-editor .project-status .category-option input{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;opacity:0;pointer-events:none}

/* Media selection dialog */
dialog.media-dialog{width:min(900px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #e4e5f1;border-radius:20px;overflow:hidden;box-shadow:0 28px 90px #17233a38;color:var(--navy)}
.media-dialog::backdrop{background:#14213a80;backdrop-filter:blur(5px)}
.media-dialog #modalBody{display:flex;flex-direction:column;max-height:calc(100dvh - 42px);min-height:0}
.media-dialog .dialog-head{padding:24px 26px 0;gap:12px;justify-content:flex-start;margin:0;flex-shrink:0}
.media-dialog .dialog-head h2{font-size:20px;font-weight:600;margin:0;letter-spacing:-.4px}
.media-dialog .dialog-head button{margin-left:auto;min-height:34px;width:34px;height:34px;padding:7px;border:0;border-radius:50%;background:#f3f5f9;color:#64728a}
.media-dialog .dialog-head button:hover{background:#eae5fb;color:var(--purple)}
.media-dialog .dialog-head button svg{width:19px;height:19px}
.media-picker-intro{font-size:12px;line-height:1.8;color:#79869b;margin:12px 26px 20px;flex-shrink:0}
.media-picker-toolbar{display:flex;align-items:center;gap:14px;padding:0 26px 20px;border-bottom:1px solid #edf0f6;flex-shrink:0}
.picker-search{position:relative;flex:1;min-width:0}
.picker-search>svg{position:absolute;left:14px;top:14px;width:18px;height:18px;color:#9d8dbf;pointer-events:none}
.media-dialog .picker-search input{margin:0;padding:12px 14px 12px 42px;border:1px solid #e0e5ef;border-radius:10px;background:#fafbfe;font-size:12px;min-height:46px}
.media-dialog .picker-search input:focus{outline:0;background:white;border-color:#a590e5;box-shadow:0 0 0 3px #6845eb0c}
.picker-type{padding:6px 10px;border:1px solid #eae4fa;background:#f8f5ff;border-radius:7px;color:#8466b8;font-size:11px;white-space:nowrap}
.picker-scroll{overflow-y:auto;min-height:0;padding:22px 26px;scrollbar-width:none;background:#fcfcff}
.picker-scroll::-webkit-scrollbar{display:none;width:0;height:0}
.media-dialog .media-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.picker-card{border:1px solid #e4e7f1;border-radius:12px;background:white;overflow:hidden;min-width:0;transition:border-color .15s,box-shadow .15s}
.picker-card:hover{border-color:#c3b3e9;box-shadow:0 4px 15px #5544790b}
.picker-card.is-current{border-color:#b69ce9}
.picker-preview{position:relative;height:140px;display:grid;place-items:center;background:#f1f3f8;border-bottom:1px solid #edf0f6;padding:9px}
.picker-preview img{display:block;width:100%;height:120px;object-fit:contain;min-width:0;min-height:0}
.picker-current{position:absolute;top:8px;left:8px;border-radius:5px;background:#7656ce;color:white;font-size:9px;padding:3px 7px}
.picker-card-body{padding:12px}
.picker-filename{font-size:11px;font-weight:500;color:#46516a;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:0 0 7px;line-height:1.6}
.picker-file-details{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:10px;color:#8c97a8;margin-bottom:12px}
.picker-file-details>span:last-child{font-size:9px;letter-spacing:.3px;background:#f5f6fa;border-radius:4px;padding:2px 5px}
.picker-card button{width:100%;font-size:11px;font-weight:500;min-height:33px;padding:6px 10px;border-radius:7px;background:#f7f4ff;border-color:#e9e0fb;color:#8060bd;gap:6px}
.picker-card button:hover{background:#ede5ff;border-color:#cbb9ef;color:#6845a5}
.picker-card button svg{width:14px;height:14px}
.picker-pdf{display:grid;place-items:center;width:58px;height:76px;border:1px solid #e6dbea;border-radius:9px;background:#fffafd;color:#b36e91;font-size:16px;font-weight:600;box-shadow:3px 3px 0 #e9e2f0}
.picker-empty{text-align:center;padding:32px 15px;color:#8792a6}
.picker-empty[hidden]{display:none}
.picker-empty>span{display:grid;place-items:center;margin:0 auto 14px;background:#eee9fa;border-radius:14px;width:50px;height:50px;color:#9476c8}
.picker-empty svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.5}
.picker-empty h3{font-size:15px;font-weight:500;color:#536078;margin:0 0 8px}
.picker-empty p{font-size:12px;margin:0}
.media-picker-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 26px;border-top:1px solid #e9ecf4;background:white;flex-shrink:0}
.media-picker-footer p{font-size:11px;color:#8792a6;margin:0}
.media-picker-footer>div{display:flex;gap:9px}
.media-picker-footer button{font-size:12px;font-weight:500;min-height:35px;padding:7px 12px;border-radius:8px;color:#77839a;border-color:#e3e7f0}
.media-picker-footer button[hidden]{display:none}
#pickerMore{color:#8060bd;background:#f7f4ff;border-color:#e9e0fb}
@media(max-width:680px){.media-dialog .media-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.media-dialog .dialog-head{padding:21px 20px 0}.media-picker-intro{margin:12px 20px 18px}.media-picker-toolbar{padding:0 20px 17px}.picker-scroll{padding:18px 20px}.media-picker-footer{padding:15px 20px}}
@media(max-width:480px){dialog.media-dialog{border-radius:16px}.media-dialog .media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.media-dialog .dialog-head h2{font-size:18px}.media-picker-toolbar{gap:8px}.picker-type{font-size:10px;padding:5px 7px}.picker-preview{height:115px;padding:6px}.picker-preview img{height:100px}.picker-card-body{padding:10px}.media-picker-footer{gap:7px;flex-wrap:wrap}.media-picker-footer button{font-size:11px;padding:7px 9px}.media-picker-footer>div{gap:6px}}
@media(max-height:500px){.media-dialog .dialog-head{padding-top:15px}.media-picker-intro{margin-top:7px;margin-bottom:10px}.media-picker-toolbar{padding-bottom:12px}.media-picker-footer{padding-top:10px;padding-bottom:10px}}

/* Gallery and project facts */
.project-extras{border-top:1px solid #edf0f6;margin-top:26px;padding-top:23px}
.extras-header{display:flex;align-items:center;gap:10px;margin-bottom:17px;flex-wrap:wrap}
.extras-icon{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;background:#f3effc;color:#9378cd;border-radius:10px}
.extras-icon svg,.extras-empty>span svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.extras-header>div{min-width:0;flex:1}
.project-editor .extras-header h3{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:500;color:#42516b;margin:0;line-height:1.5}
.extras-header h3>span{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:5px;font-size:10px;font-weight:400;background:#f1edf9;color:#9a84c1}
.extras-header p{font-size:10px;color:#8d98aa;margin:4px 0 0;line-height:1.6}
.project-editor .extras-add{min-height:34px;font-size:11px;font-weight:500;gap:6px;padding:7px 11px;border:1px solid #e9e0fa;background:#f7f4ff;color:#8261bd;border-radius:8px;white-space:nowrap;flex-shrink:0}
.extras-add>span{font-size:18px;font-weight:400;line-height:1}
.project-editor .extras-add:hover{background:#eee7fb;border-color:#d0bfea;color:#6f4ba8}
.extras-empty{text-align:center;padding:27px 15px 28px;border:1px dashed #e1d9ee;border-radius:12px;background:#fdfcff}
.extras-empty>span{display:grid;place-items:center;width:39px;height:39px;margin:0 auto 11px;border-radius:11px;background:#f2edf9;color:#b3a0d0}
.extras-empty strong{display:block;font-size:12px;font-weight:500;color:#8890a3}
.extras-empty p{font-size:10px;color:#a0a7b7;line-height:1.7;margin:5px 0 0}
.extras-rows:has(.row-item)+.extras-empty{display:none}
.extras-rows:empty{display:none}
.project-editor .extras-rows .row-item{background:#fcfcff;border:1px solid #e9e8f2;border-radius:11px;padding:16px 17px;margin-bottom:12px}
.project-editor .extras-rows .row-item:last-child{margin-bottom:0}
.extras-row-header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #efedf5;padding-bottom:10px;margin-bottom:15px}
.extras-row-header>span{font-size:10px;font-weight:500;letter-spacing:.3px;color:#a292b9}
.project-editor .extras-remove{border:0;background:transparent;color:#b993a0;font-size:10px;min-height:26px;padding:3px 0 3px 7px;font-weight:400;gap:5px;border-radius:5px}
.extras-remove svg{width:13px;height:13px}
.project-editor .extras-remove:hover{background:#fff1f4;color:#b74f6c}
.project-editor .gallery-row>label:last-child,.project-editor .fact-row .fields label{margin-bottom:0}
@media(max-width:600px){.extras-header{gap:9px}.extras-header p{max-width:150px}.extras-icon{width:30px;height:30px;border-radius:8px}.project-editor .extras-add{padding:7px 9px;font-size:10px}.project-editor .extras-rows .row-item{padding:14px}.project-editor .fact-row .fields{gap:16px}.extras-empty{padding:24px 12px}}
@media(max-width:360px){.extras-header>div{flex-basis:calc(100% - 40px)}.project-editor .extras-add{margin-left:39px}}

.project-editor .project-extras .extras-empty{display:none}

.project-editor .project-extras .extras-empty{display:none}

/* Projects listing */
.project-list-toolbar{gap:16px;margin-bottom:22px}
.project-search{position:relative;flex:1;max-width:410px;min-width:150px}
.project-search>svg{position:absolute;width:18px;height:18px;top:14px;left:15px;color:#a090be;pointer-events:none}
.project-list-toolbar .project-search input{width:100%;min-width:0;max-width:none;margin:0;padding:13px 15px 13px 43px;min-height:47px;border:1px solid #e1e5ef;border-radius:11px;background:white;font-size:12px}
.project-search input:focus{outline:0;border-color:#ab96df;box-shadow:0 0 0 3px #6845eb0c}
.project-search input::placeholder{color:#96a0b1}
.project-list-toolbar .add-project-button{font-size:12px;min-height:43px;border-radius:10px;padding:11px 16px;box-shadow:0 4px 12px #6845eb13}
.project-list-toolbar .add-project-button:hover{background:#5c3bdb}
.project-list-card{background:white;border:1px solid #e3e7f1;border-radius:16px;overflow:hidden;box-shadow:0 3px 15px #192d4903}
.project-list-summary{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:18px 22px;border-bottom:1px solid #edf0f6;font-size:12px;font-weight:500;color:#626f87}
.project-list-summary-note{font-size:10px;font-weight:400;color:#9aa3b4}
.project-table{width:100%;table-layout:fixed;font-size:12px}
.project-table th{font-size:9px;letter-spacing:.6px;font-weight:500;background:#fafbfe;padding:14px 18px;color:#8d98ad;border-bottom:1px solid #edf0f6}
.project-table td{padding:18px;border-bottom:1px solid #f0f2f7}
.project-table th:first-child{width:44%;padding-left:22px}.project-table td:first-child{padding-left:22px}
.project-table th:nth-child(2){width:15%}.project-table th:nth-child(3){width:14%}.project-table th:nth-child(4){width:18%}.project-table th:last-child{width:9%}
.project-table tbody tr{transition:background-color .15s}
.project-table tbody tr:hover{background:#fdfcff}
.project-identity{display:flex;align-items:center;gap:13px;min-width:0}
.project-thumbnail{width:47px;height:47px;flex-shrink:0;border-radius:10px;background:#f3effb;color:#b29fce;display:grid;place-items:center;overflow:hidden;border:1px solid #ece7f6}
.project-thumbnail img{width:100%;height:100%;object-fit:cover;display:block}
.project-thumbnail svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.project-identity>div{min-width:0}
.project-identity strong{display:block;font-size:12px;font-weight:500;color:#34445e;line-height:1.7;overflow-wrap:anywhere}
.project-list-url{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#9aa5b5;line-height:1.8;margin-top:3px}
.project-category-badge{display:inline-flex;align-items:center;max-width:100%;font-size:10px;padding:5px 8px;border-radius:6px;line-height:1.5}
.project-category-badge.is-government{background:#eef3fb;color:#8194b0}.project-category-badge.is-residential{background:#f3eefb;color:#9a80bb}
.project-list-status{display:inline-flex;align-items:center;gap:7px;color:#7d899d;font-size:10px;line-height:1.6}
.project-list-status .project-status-dot{width:6px;height:6px;box-shadow:none}
.project-publishing-badge{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:5px 8px;font-size:9px;line-height:1.5}
.project-publishing-badge:before{content:'';width:4px;height:4px;background:currentColor;border-radius:50%;flex-shrink:0}
.project-publishing-badge.is-published{background:#ecf7f1;color:#649d83}.project-publishing-badge.has-draft{background:#fff5e3;color:#bd9a56}
.project-table .project-edit-button{min-height:32px;font-size:10px;font-weight:500;padding:6px 9px;gap:5px;background:#faf8ff;border-color:#ece5f8;color:#9378b9;border-radius:7px}
.project-edit-button svg{width:13px;height:13px;flex-shrink:0}
.project-table .project-edit-button:hover{background:#eee7fb;border-color:#d2bfe9;color:#74539f}
.project-list-empty{padding:50px 22px;text-align:center}
.project-list-empty>span{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#f4f0fc;color:#b4a1d0;margin:0 auto 16px}
.project-list-empty svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.5}
.project-list-empty h2{font-size:15px;font-weight:500;color:#78859b;margin:0 0 7px}
.project-list-empty p{font-size:12px;color:#9aa5b5;margin:0}
@media(max-width:1150px){.project-table th,.project-table td{padding:14px 11px}.project-table th:first-child{width:38%}.project-table th:nth-child(2){width:16%}.project-table th:nth-child(3){width:15%}.project-table th:nth-child(4){width:20%}.project-table th:last-child{width:11%}.project-identity{gap:10px}.project-thumbnail{width:40px;height:40px}}
@media(max-width:900px){.project-table,.project-table tbody{display:block}.project-table thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}.project-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;padding:20px;border-bottom:1px solid #edf0f6}.project-table tr:last-child{border-bottom:0}.project-table td,.project-table td:first-child{padding:0;border:0}.project-table .project-identity-cell{grid-column:1/-1;margin-bottom:5px}.project-thumbnail{width:47px;height:47px}.project-identity strong{font-size:13px}.project-table td[data-column]{display:flex;align-items:center;gap:10px;grid-column:1}.project-table td[data-column]:before{content:attr(data-column);font-size:10px;color:#a0a9b8;min-width:61px}.project-table .project-edit-cell{grid-column:2;grid-row:2/5;align-self:end}.project-table .project-edit-button{min-height:35px;padding:8px 12px;font-size:11px}.project-table .project-list-status,.project-category-badge{font-size:11px}.project-list-summary{padding:17px 20px}}
@media(max-width:480px){.project-list-toolbar{gap:10px;flex-wrap:nowrap}.project-search{min-width:0}.project-list-toolbar .project-search input{font-size:11px;min-height:43px;padding-left:35px}.project-search>svg{width:16px;height:16px;left:11px;top:13px}.project-list-toolbar .add-project-button{font-size:10px;padding:10px 11px;gap:4px}.project-list-toolbar .add-project-icon{width:15px;height:15px}.project-list-summary-note{display:none}.project-table tr{padding:17px}.project-list-summary{padding:16px 17px}.project-list-card{border-radius:12px}.project-identity strong{font-size:12px}.project-thumbnail{width:43px;height:43px}.project-table .project-edit-button{padding:7px 9px;font-size:10px}.project-table td[data-column]{gap:6px}.project-table td[data-column]:before{min-width:58px;font-size:9px}}

.project-list-card .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Project deletion and row actions */
.project-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}
.project-table .project-delete-button{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:6px 9px;font-size:10px;font-weight:500;border-radius:7px;background:#fff8f9;border-color:#f4e3e8;color:#b97d8b;white-space:nowrap}
.project-delete-button svg{width:13px;height:13px;flex-shrink:0}
.project-table .project-delete-button:hover{background:#fff0f3;border-color:#ebc3ce;color:#b54560}
.project-table th:first-child{width:37%}.project-table th:nth-child(2){width:13%}.project-table th:nth-child(3){width:12%}.project-table th:nth-child(4){width:18%}.project-table th:last-child{width:20%}
.project-delete-confirm{padding:8px 28px 18px;font-size:13px;line-height:1.8;color:#7a869a}
.project-delete-confirm strong{font-weight:500;color:#42516c;overflow-wrap:anywhere}
.project-delete-confirm .help{font-size:11px}
#deleteProjectForm>.form-error{margin:0 28px 20px}
#deleteProjectForm .danger{background:#c94e6b;color:white;border-color:#c94e6b}
#deleteProjectForm .danger:hover{background:#b63755;border-color:#b63755}
@media(max-width:1150px){.project-table th:first-child{width:34%}.project-table th:nth-child(2){width:15%}.project-table th:nth-child(3){width:13%}.project-table th:nth-child(4){width:18%}.project-table th:last-child{width:20%}}
@media(max-width:900px){.project-table .project-edit-cell{grid-column:1/-1;grid-row:auto;justify-self:stretch;margin-top:2px}.project-table .project-edit-button,.project-table .project-delete-button{font-size:11px;min-height:33px;padding:7px 10px}}
@media(max-width:480px){.project-delete-confirm{padding:8px 20px 18px}.project-table .project-edit-button,.project-table .project-delete-button{font-size:10px;min-height:32px}}

/* Delete confirmation actions */
#deleteProjectForm .delete-dialog-actions{gap:11px;background:#fbfbfe;padding-top:20px;padding-bottom:20px}
#deleteProjectForm .delete-dialog-actions button{min-height:42px;padding:11px 15px;border-radius:11px;font-size:12px;font-weight:500;gap:8px;white-space:nowrap;transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s}
#deleteProjectForm .delete-dialog-actions svg{width:16px;height:16px;flex-shrink:0}
#deleteProjectForm .delete-cancel{background:white;border:1px solid #e2e5ee;color:#7c879b;box-shadow:0 2px 3px #23314b03}
#deleteProjectForm .delete-cancel:hover{background:#f2f0f9;border-color:#d9d0eb;color:#775b9e}
#deleteProjectForm .delete-confirm-button{background:linear-gradient(110deg,#d45673,#c64a68);border:1px solid #c74e6c;box-shadow:0 4px 10px #c64a681c;color:white}
#deleteProjectForm .delete-confirm-button:hover:not(:disabled){background:linear-gradient(110deg,#c74564,#b93b5b);border-color:#b83e5b;box-shadow:0 5px 13px #c64a6828;transform:translateY(-1px)}
#deleteProjectForm .delete-confirm-button:active:not(:disabled){transform:translateY(0);box-shadow:none}
#deleteProjectForm .delete-confirm-button:focus-visible{outline-color:#e49aab;outline-offset:3px}
#deleteProjectForm .delete-confirm-button:disabled{opacity:.65;box-shadow:none}
@media(max-width:360px){#deleteProjectForm .delete-dialog-actions{gap:8px;padding-left:16px;padding-right:16px}#deleteProjectForm .delete-dialog-actions button{padding:10px 12px;font-size:11px;gap:6px}}
@media(prefers-reduced-motion:reduce){#deleteProjectForm .delete-dialog-actions button{transition:none}#deleteProjectForm .delete-confirm-button:hover:not(:disabled){transform:none}}

/* Sidebar navigation */
.sidebar{background:linear-gradient(165deg,#172640 0%,#14213a 58%,#17223c 100%);padding:28px 16px;border-right:1px solid #ffffff05}
.sidebar .sidebar-brand{margin-bottom:29px;padding:0 12px}
.sidebar nav{display:grid;gap:6px}
.sidebar nav button{position:relative;isolation:isolate;width:100%;min-height:46px;gap:11px;padding:8px 11px;border:1px solid transparent;border-radius:11px;color:#aebbd2;font-size:12px;font-weight:400;line-height:1.5;transition:background-color .18s,border-color .18s,color .18s,transform .18s}
.sidebar nav .nav-icon{width:29px;height:29px;flex:0 0 29px;border-radius:9px;background:#ffffff04;color:#a797ce;transition:background-color .18s,color .18s}
.sidebar nav .nav-icon svg{width:18px;height:18px;stroke-width:1.65}
.sidebar nav button:hover{background:#ffffff08;border-color:#ffffff08;color:#edf0fc;transform:translateX(2px)}
.sidebar nav button:hover .nav-icon{color:#d3c3fb;background:#a98be414}
.sidebar nav button.active{background:linear-gradient(100deg,#8f71d82d,#7162a51b);border:1px solid #b59ae324;border-left:1px solid #b59ae324;box-shadow:0 3px 12px #0c142b10;color:#f4eeff;font-weight:500}
.sidebar nav button.active:before{content:'';position:absolute;top:14px;bottom:14px;left:-1px;width:3px;border-radius:0 4px 4px 0;background:#b695f1;box-shadow:1px 0 8px #b695f13d}
.sidebar nav button.active:after{content:'';width:5px;height:5px;border-radius:50%;background:#bca1f0;box-shadow:0 0 8px #bca1f03b;margin-left:auto;flex-shrink:0}
.sidebar nav button.active .nav-icon{background:#b79ae521;color:#d4befa}
.sidebar nav button:focus-visible{outline:2px solid #baa0eb;outline-offset:2px}
@media(max-width:1050px) and (min-width:761px){.sidebar{padding:25px 12px}.sidebar nav button{font-size:11px;padding:8px 9px;gap:8px}.sidebar .sidebar-brand{padding:0 10px}}
@media(max-width:760px){.sidebar{padding:18px 16px;border-right:0;border-bottom:1px solid #ffffff08}.sidebar .sidebar-brand{padding:0 8px;margin-bottom:20px}.sidebar nav{display:flex;flex-wrap:wrap;gap:6px}.sidebar nav button{width:auto;min-height:40px;font-size:11px;padding:6px 9px;gap:7px;border-radius:10px}.sidebar nav .nav-icon{width:24px;height:24px;flex-basis:24px;border-radius:7px}.sidebar nav .nav-icon svg{width:16px;height:16px}.sidebar nav button:hover{transform:none}.sidebar nav button.active:before{top:11px;bottom:11px;width:2px}.sidebar nav button.active:after{display:none}}
@media(prefers-reduced-motion:reduce){.sidebar nav button,.sidebar nav .nav-icon{transition:none}.sidebar nav button:hover{transform:none}}

/* Expand sidebar logo to the navigation edges. */
.sidebar .sidebar-brand{padding:0}
.sidebar .sidebar-brand img{width:113.1222%;max-width:none;height:auto;margin-left:-6.5611%}
@media(max-width:760px){.sidebar .sidebar-brand{width:208px;max-width:100%}}

/* Website Settings shortcut beside notifications */
.header-settings{width:42px;height:42px;min-height:42px;flex-shrink:0;padding:10px;border:0;border-radius:50%;background:transparent;color:#405477;transition:background-color .18s,color .18s}
.header-settings svg{width:21px;height:21px;display:block}
.header-settings:hover,.header-settings.is-active{background:#f0edff;color:#8060c8}
@media(max-width:760px){.header-settings{width:38px;height:38px;min-height:38px;padding:9px}}
@media(max-width:360px){.topbar .user{gap:5px}.topbar .user-greeting{font-size:12px;gap:3px}.header-settings,.topbar .notification-toggle,.topbar .sign-out-button{width:32px;height:32px;min-height:32px;padding:6px}.header-settings svg{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.header-settings{transition:none}}

@media(max-width:360px){.topbar{padding-left:14px;padding-right:14px}}

/* Sidebar design credit */
.sidebar-credit{border-top:1px solid #b4bfd51c;margin:19px 10px 0;padding:16px 1px 0;color:#7f8ba4;font-size:10px;font-weight:400;line-height:1.9}
.sidebar-credit span{color:#b4a0d6;white-space:nowrap}
@media(max-width:760px){.sidebar-credit{margin:17px 8px 0;padding-top:12px;font-size:10px}}

.sidebar-credit a{color:#b4a0d6;white-space:nowrap;text-decoration:none}.sidebar-credit a:hover{color:#d4c2f4;text-decoration:underline;text-underline-offset:3px}.sidebar-credit a:focus-visible{outline:2px solid #baa0eb;outline-offset:3px;border-radius:2px}

/* Projects top toolbar */
.project-list-toolbar{padding:14px 16px;border:1px solid #e3e7f1;border-radius:15px;background:linear-gradient(110deg,#fff,#fdfcff);box-shadow:0 3px 14px #192d4903;gap:18px;margin-bottom:18px}
.project-list-toolbar .project-search{max-width:440px}
.project-list-toolbar .project-search>svg{left:14px;top:13px;width:18px;height:18px;color:#a18bbf}
.project-list-toolbar .project-search input{min-height:44px;padding:12px 15px 12px 41px;border-radius:10px;border-color:#e9e7f1;background:#f8f9fd;font-size:12px;transition:background-color .18s,border-color .18s,box-shadow .18s}
.project-list-toolbar .project-search input:hover{border-color:#d8cfea;background:#fcfbff}
.project-list-toolbar .project-search input:focus{border-color:#af99df;background:white;box-shadow:0 0 0 3px #8766c90d}
.project-list-toolbar .project-search input::placeholder{color:#9ba4b6}
.project-list-toolbar .add-project-button{min-height:42px;padding:11px 17px;gap:8px;border:1px solid #7856e5;border-radius:10px;background:linear-gradient(115deg,#805bed,#6947df);font-size:12px;font-weight:500;color:white;box-shadow:0 4px 10px #6845eb1a;transition:background-color .18s,box-shadow .18s,transform .18s}
.project-list-toolbar .add-project-icon{width:18px;height:18px;background:#ffffff14;border-radius:5px;padding:2px}
.project-list-toolbar .add-project-button:hover{background:linear-gradient(115deg,#7350df,#5f3bd3);box-shadow:0 5px 14px #6845eb26;transform:translateY(-1px)}
.project-list-toolbar .add-project-button:active{transform:none;box-shadow:0 2px 6px #6845eb19}
@media(max-width:600px){.project-list-toolbar{padding:11px;gap:10px;border-radius:12px}.project-list-toolbar .project-search input{font-size:11px;min-height:41px;padding:11px 9px 11px 32px}.project-list-toolbar .project-search>svg{width:16px;height:16px;left:10px;top:13px}.project-list-toolbar .add-project-button{font-size:10px;min-height:40px;gap:5px;padding:10px 11px}.project-list-toolbar .add-project-icon{width:16px;height:16px;padding:1px}}
@media(prefers-reduced-motion:reduce){.project-list-toolbar .project-search input,.project-list-toolbar .add-project-button{transition:none}.project-list-toolbar .add-project-button:hover{transform:none}}

/* Project status backgrounds */
.project-list-status{padding:5px 8px;border-radius:6px;gap:6px;white-space:nowrap;line-height:1.5}
.project-list-status.status-badge-ongoing{background:#eef0ff;color:#8994c5}
.project-list-status.status-badge-completed{background:#ecf7f1;color:#6c9b85}
.project-list-status.status-badge-upcoming{background:#fff5e3;color:#b89a60}

.team-list-actions{display:flex;justify-content:flex-end;margin-bottom:20px}

/* Team directory workspace */
.team-table th:first-child{width:43%}.team-table th:nth-child(2){width:30%}.team-table th:nth-child(3){width:18%}.team-table th:last-child{width:9%}
.team-portrait{border-radius:50%;width:47px;height:47px;border-color:#e9e3f3;background:#f4effb;color:#af9bc9}
.team-portrait img{object-position:center 25%}
.team-department{display:inline-block;font-size:9px;color:#9b85bb;border-radius:5px;background:#f6f2fc;padding:3px 7px;line-height:1.5;margin-top:5px}
.team-role{display:block;font-size:11px;line-height:1.8;color:#7e8a9f;overflow-wrap:anywhere}
.team-list-card .project-edit-cell{padding-right:22px}
.team-list-toolbar .add-project-button{white-space:nowrap}
@media(max-width:1150px){.team-table th:first-child{width:41%}.team-table th:nth-child(2){width:29%}.team-table th:nth-child(3){width:19%}.team-table th:last-child{width:11%}.team-list-card .project-edit-cell{padding-right:14px}}
@media(max-width:900px){.team-table .team-role{font-size:11px}.team-table .project-identity-cell{grid-column:1/-1}.team-table .project-edit-cell{grid-column:2;grid-row:2/4;padding-right:0;margin-top:0;align-self:end;justify-self:end}.team-table td[data-column]{grid-column:1}.team-table .team-portrait{width:47px;height:47px}}
@media(max-width:480px){.team-list-toolbar{flex-wrap:wrap}.team-list-toolbar .project-search{min-width:130px}.team-list-toolbar .add-project-button{font-size:10px;padding:10px 11px;gap:5px}.team-list-card .project-edit-cell{padding-right:0}.team-table .project-edit-cell{grid-column:1/-1;grid-row:auto;justify-self:stretch;margin-top:2px}.team-table .team-portrait{width:43px;height:43px}.team-department{font-size:9px}}
@media(max-width:380px){.team-list-toolbar .project-search{flex-basis:100%;max-width:none}.team-list-toolbar .add-project-button{margin-left:auto}}

/* Add Team Member dialog */
dialog.team-dialog{width:min(510px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #e4e5f1;border-radius:20px;color:var(--navy);box-shadow:0 28px 90px #17233a38;scrollbar-width:none}
.team-dialog::-webkit-scrollbar{display:none}
.team-dialog::backdrop{background:#14213a80;backdrop-filter:blur(5px)}
.team-dialog .dialog-head{padding:26px 27px 0;margin:0;gap:12px;justify-content:flex-start}
.team-dialog .dialog-head h2{font-size:20px;font-weight:600;letter-spacing:-.4px;margin:0}
.team-dialog .dialog-head button{margin-left:auto;padding:7px;width:34px;height:34px;min-height:34px;border:0;border-radius:50%;background:#f3f5f9;color:#8590a4;flex-shrink:0}
.team-dialog .dialog-head button:hover{background:#eae5fb;color:#8260bd}
.team-dialog .dialog-head button svg{width:19px;height:19px}
.team-dialog-intro{margin:15px 27px 25px;color:#8590a4;font-size:12px;line-height:1.9}
.team-dialog-fields{padding:0 27px}
.team-dialog label{font-size:12px;font-weight:500;color:#49556e;margin-bottom:22px}
.team-name-field{display:block;position:relative;margin-top:9px}
.team-name-field>svg{position:absolute;left:14px;top:14px;width:18px;height:18px;color:#ac98cc;pointer-events:none}
.team-dialog .team-name-field input{font-size:13px;min-height:48px;padding:12px 14px 12px 42px;border-radius:10px;border-color:#e0e5ef;background:#fafbfe;margin:0;transition:background-color .18s,border-color .18s,box-shadow .18s}
.team-name-field input::placeholder{color:#a4acbc;font-size:12px}
.team-dialog .team-name-field input:focus{outline:0;border-color:#b09bdd;box-shadow:0 0 0 3px #6845eb0d;background:white}


.team-dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid #e9ecf4;background:#fafbfe;padding:19px 27px}
.team-dialog-footer button{font-size:12px;font-weight:500;min-height:41px;padding:10px 15px;border-radius:10px;gap:7px}
.team-dialog-footer button:not(.primary){color:#8993a5;border-color:#e2e6ef;background:white}
.team-dialog-footer button:not(.primary):hover{background:#f2eef9;color:#8066a7}
.team-dialog-footer .primary{background:linear-gradient(115deg,#805bed,#6947df);border-color:#7955e5;box-shadow:0 4px 10px #6845eb19}
.team-dialog-footer .primary:hover{background:linear-gradient(115deg,#7350df,#5f3bd3)}
.team-dialog-footer svg{width:16px;height:16px}
@media(max-width:480px){.team-dialog .dialog-head{padding:22px 20px 0;gap:10px}.team-dialog .dialog-head h2{font-size:17px}.team-dialog .project-dialog-icon{width:37px;height:37px;border-radius:11px}.team-dialog-intro{margin:14px 20px 22px}.team-dialog-fields{padding:0 20px}.team-dialog-footer{padding:16px 20px}}
@media(prefers-reduced-motion:reduce){.team-dialog .team-name-field input{transition:none}}

/* Team row actions */
.team-table th:first-child{width:38%}.team-table th:nth-child(2){width:27%}.team-table th:nth-child(3){width:17%}.team-table th:last-child{width:18%}
@media(max-width:1150px){.team-table th:first-child{width:35%}.team-table th:nth-child(2){width:25%}.team-table th:nth-child(3){width:18%}.team-table th:last-child{width:22%}}
@media(max-width:900px){.team-table .project-edit-cell{grid-column:1/-1;grid-row:auto;align-self:auto;justify-self:stretch;margin-top:3px}}

/* Team member editor */
.team-editor .team-profile-media{display:grid;grid-template-columns:76px minmax(0,1fr);gap:18px;align-items:center;border-top:1px solid #edf0f6;border-bottom:1px solid #edf0f6;padding:22px 0;margin:0 0 21px}
.team-edit-portrait{width:76px;height:76px;border:3px solid white;border-radius:19px;background:#f2edf9;box-shadow:0 0 0 1px #e9e3f3;overflow:hidden;display:grid;place-items:center;color:#b19bcb}
.team-edit-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 25%;display:block}
.team-edit-portrait>span{display:flex}
.team-edit-portrait svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round}
.team-editor .team-profile-media label{margin-bottom:0}
.team-editor .team-profile-media .help{margin:7px 0 0;font-size:10px}
.team-editor .team-contact-field label{margin-bottom:23px}
.team-visibility{padding:15px 16px;border:1px solid #ebe5f6;border-radius:11px;background:#fcfaff}
.team-editor .team-visibility .check{margin:0;gap:10px;font-size:12px;color:#77618f;cursor:pointer}
.team-visibility p{font-size:10px;line-height:1.8;color:#a295b4;margin:7px 0 0 44px}
.team-editor .team-visibility input[type=checkbox]{appearance:none;position:relative;display:inline-block;width:34px;height:20px;min-height:20px;min-width:34px;flex-shrink:0;border:0;background:#d8dce7;border-radius:20px;margin:0;padding:0;transition:background-color .18s;cursor:pointer}
.team-visibility input[type=checkbox]:before{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:white;box-shadow:0 1px 3px #352b5110;transition:transform .18s}
.team-editor .team-visibility input[type=checkbox]:checked{background:#a48bcc}
.team-visibility input[type=checkbox]:checked:before{transform:translateX(14px)}
.team-editor .team-visibility input[type=checkbox]:focus-visible{outline:2px solid #ad94d9;outline-offset:3px;box-shadow:none}
.team-editor .publish-secondary{grid-template-columns:1fr}
@media(max-width:600px){.team-editor .team-profile-media{grid-template-columns:60px minmax(0,1fr);gap:13px;padding:19px 0}.team-edit-portrait{width:60px;height:60px;border-radius:16px}.team-editor .team-profile-media .media-field{flex-wrap:wrap}.team-editor .team-profile-media .media-field input{flex-basis:100%}.team-editor .team-profile-media .media-field button{margin-top:0}.team-visibility{padding:13px}.team-editor .team-visibility .check{font-size:11px}.team-visibility p{margin-left:0}}
@media(prefers-reduced-motion:reduce){.team-visibility input[type=checkbox],.team-visibility input[type=checkbox]:before{transition:none}}

/* Team section dropdown */
.team-editor .team-section{min-width:0;margin-bottom:20px}
.team-section .category-label{font-size:12px;font-weight:500;line-height:1.6;color:#39465d;margin-bottom:8px}
.team-section .category-trigger{min-height:46px;border-radius:9px;border-color:#e0e5ef;background:#fafbfe;padding:11px 13px;line-height:22px;gap:9px}
.team-section .category-trigger[aria-expanded=true]{border-color:#b09bdd;background:white;box-shadow:0 0 0 3px #6845eb0d}
.team-section-icon{display:flex;flex-shrink:0;color:#a18cbd}
.team-section-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#teamSectionValue{text-align:left;min-width:0;font-size:12px}
.team-section .category-options{margin-top:7px;padding:6px;box-shadow:0 5px 20px #2520430f;border-radius:11px;max-height:280px;overflow-y:auto;scrollbar-width:none}
.team-section .category-options::-webkit-scrollbar{display:none}
.team-editor .team-section .category-option{position:relative;display:flex;align-items:center;gap:10px;min-height:41px;margin:0;padding:10px 11px;border-radius:7px;font-size:11px;font-weight:400;color:#7f8a9d;cursor:pointer;line-height:1.7}
.team-editor .team-section .category-option:hover{background:#f9f6fd}
.team-editor .team-section .category-option:has(input:checked){background:#f2ecfb;color:#9273bb;font-weight:500}
.team-section .category-option:has(input:checked) .team-section-icon{color:#9a7bc1}
.team-editor .team-section .category-option input{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;opacity:0;pointer-events:none}
@media(max-width:600px){.team-section .category-options{max-height:265px}}

/* Media Library */
.library-upload-card{border:1px solid #e3e7f1;border-radius:17px;background:white;padding:24px;margin-bottom:23px;box-shadow:0 3px 14px #192d4903}
.library-upload-heading{display:flex;align-items:center;gap:12px;margin-bottom:21px}
.library-heading-icon{width:41px;height:41px;border-radius:12px;background:#f1ecfb;color:#a58ace;display:grid;place-items:center;flex-shrink:0}
.library-heading-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.library-upload-heading h2{font-size:17px;font-weight:600;letter-spacing:-.3px;margin:0;color:#33435f}
.library-upload-heading p{font-size:11px;color:#9aa4b5;margin:5px 0 0;line-height:1.7}
.library-dropzone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:160px;padding:24px 16px;border:1px dashed #d9cdea;border-radius:12px;background:linear-gradient(120deg,#fdfcff,#f9f7fe);text-align:center;margin:0;overflow:hidden;transition:border-color .18s,background-color .18s,box-shadow .18s;cursor:pointer}
.library-dropzone:hover,.library-dropzone.is-dragging{border-color:#b39bd7;background:#f6f0ff;box-shadow:inset 0 0 0 1px #c3ace52b}
.library-dropzone:focus-within{outline:2px solid #ad95d7;outline-offset:3px}
.media-library .library-dropzone input{position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0;opacity:0;cursor:pointer;z-index:2}
.library-upload-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#ede6f8;color:#a18ac2;margin-bottom:12px}
.library-upload-icon svg{width:23px;height:23px}
.library-dropzone strong{font-size:12px;font-weight:400;color:#9ba2b3;line-height:1.8}
.library-dropzone strong>span{font-weight:500;color:#9775bc}
.library-drop-help{display:block;font-size:10px;color:#b1a8bf;line-height:1.8;margin-top:5px}
.library-upload-selected{display:flex;align-items:center;gap:10px;padding:12px 14px;margin-top:13px;border:1px solid #e8e1f3;border-radius:10px;background:#fdfbff}
.library-upload-selected[hidden]{display:none}
.library-selected-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#f1ebfa;color:#aa92c7;flex-shrink:0}
.library-selected-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}
.library-upload-selected>div{flex:1;min-width:0}
.library-upload-selected strong{display:block;font-size:11px;font-weight:500;color:#7e6b95;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.library-upload-selected span#uploadFileSize{display:block;font-size:10px;color:#a29aaf;margin-top:3px}
.library-upload-selected button{border:0;background:transparent;color:#b4a8c5;padding:5px;min-height:28px;width:28px;border-radius:50%;flex-shrink:0}
.library-upload-selected button:hover{background:#f0eaf8;color:#9274b6}
.library-upload-selected button svg{width:16px;height:16px}
.library-upload-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px}
.library-formats{display:flex;gap:6px;flex-wrap:wrap}
.library-formats span{font-size:9px;letter-spacing:.2px;padding:4px 7px;border:1px solid #eceaf2;background:#fafafd;border-radius:5px;color:#a3a0b1}
.library-upload-button{font-size:12px;font-weight:500;padding:10px 16px;min-height:41px;gap:8px;border-radius:10px;background:linear-gradient(115deg,#805bed,#6947df);border-color:#7955e5;box-shadow:0 4px 10px #6845eb14;white-space:nowrap}
.library-upload-button svg{width:16px;height:16px}
.library-upload-button:disabled{opacity:.45;cursor:default;box-shadow:none}
.library-upload-button:hover:not(:disabled){background:linear-gradient(115deg,#7350df,#5f3bd3)}
.library-browse-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}
.library-search{flex:1;max-width:410px;min-width:140px}
.library-search>svg{left:14px;top:14px;width:17px;height:17px}
.library-search input{font-size:12px;border:1px solid #e1e5ef;border-radius:10px;background:white;min-height:44px;padding:12px 14px 12px 40px;margin:0}
.library-search input:focus{outline:0;border-color:#b39bd7;box-shadow:0 0 0 3px #9775bc0d}
.library-search input::placeholder{color:#9ca6b7}
.library-type-filters{display:flex;gap:3px;background:#eeedf5;border:1px solid #e7e7f0;border-radius:9px;padding:3px;flex-shrink:0}
.library-type-filters button{background:transparent;color:#9b97ae;font-size:10px;font-weight:400;border:0;border-radius:6px;min-height:30px;padding:6px 12px}
.library-type-filters button[aria-pressed=true]{background:white;box-shadow:0 2px 5px #4d3e6c08;color:#987abd;font-weight:500}
.library-type-filters button:hover{color:#8365a8}
.library-results{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 15px;font-size:10px;color:#a4adbc}
.library-results p{margin:0;color:#8d9aaf;font-size:11px}
.media-library .library-media-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}
.media-library .library-media-card{padding:0;border:1px solid #e3e7f0;border-radius:12px;background:white;overflow:hidden;min-width:0;transition:border-color .18s,box-shadow .18s}
.library-media-card:hover{border-color:#c9b6e1;box-shadow:0 4px 14px #55447909}
.library-preview{display:grid;place-items:center;min-width:0;height:150px;padding:10px;background:#f1f3f8;border-bottom:1px solid #edf0f6}
.media-library .library-preview img{height:130px;width:100%;min-width:0;object-fit:contain;background:transparent;border-radius:0;display:block}
.library-card-body{padding:13px}
.media-library .library-filename{font-size:11px;font-weight:500;line-height:1.7;color:#65718a;margin:0 0 8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.library-file-details{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:13px;color:#9aa5b6;font-size:10px}
.library-file-details>span:last-child{font-size:9px;letter-spacing:.3px;background:#f6f7fb;border-radius:4px;padding:2px 5px;color:#a2a7b6}
.media-library .library-card-body button{font-size:10px;font-weight:500;min-height:33px;padding:7px 10px;border-radius:7px;border-color:#ebe4f6;background:#f8f5fd;color:#a088bd;gap:6px}
.media-library .library-card-body button:hover{background:#eee7fa;border-color:#d4c2e9;color:#80609f}
.library-card-body button svg{width:14px;height:14px}
.media-library .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.library-more{display:flex;justify-content:center;margin-top:22px}
.library-more button{font-size:11px;font-weight:500;min-height:36px;padding:9px 19px;border-radius:9px;background:white;color:#9c84b8;border-color:#e3dbee}
.library-more button[hidden]{display:none}
.library-empty{grid-column:1/-1;text-align:center;padding:42px 18px;border:1px solid #e3e7f1;border-radius:13px;background:white}
.library-empty>span{display:grid;place-items:center;width:45px;height:45px;margin:0 auto 14px;background:#f3edf9;border-radius:13px;color:#b49ccf}
.library-empty svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5}
.library-empty h3{font-size:14px;font-weight:500;color:#7a879e;margin:0 0 7px}.library-empty p{font-size:11px;color:#a2aab9;margin:0}
@media(max-width:680px){.library-upload-card{padding:20px}.library-results>span{display:none}.library-browse-toolbar{gap:10px}.library-type-filters button{font-size:10px;padding:6px 9px}.media-library .library-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}}
@media(max-width:480px){.library-upload-card{padding:18px;border-radius:13px}.library-upload-heading{gap:10px}.library-upload-heading h2{font-size:16px}.library-upload-heading p{font-size:10px}.library-heading-icon{width:36px;height:36px;border-radius:11px}.library-dropzone{min-height:160px;padding:22px 12px}.library-dropzone strong{font-size:11px}.library-drop-help{font-size:9px}.library-upload-footer{gap:10px}.library-formats{gap:4px}.library-formats span{font-size:8px;padding:4px 5px}.library-upload-button{font-size:11px;min-height:38px;padding:10px 12px;gap:6px}.library-browse-toolbar{flex-wrap:wrap}.library-search{max-width:none;flex-basis:100%}.library-type-filters{margin-left:auto}.library-search input{font-size:11px}.media-library .library-media-grid{gap:11px}.library-preview{height:125px;padding:8px}.media-library .library-preview img{height:109px}.library-card-body{padding:10px}.media-library .library-filename{font-size:10px}.library-file-details{font-size:9px}.media-library .library-card-body button{font-size:9px}}
@media(max-width:360px){.library-upload-footer{align-items:flex-end}.library-formats{max-width:92px}.library-upload-button{padding:10px 11px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.library-dropzone,.library-media-card{transition:none}}

/* Recoverable media deletion */
.library-management{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 19px}
.library-scope-tabs{display:flex;gap:5px;padding:4px;background:#eeedf5;border:1px solid #e6e4ef;border-radius:10px}
.library-scope-tabs button{min-height:34px;padding:7px 12px;gap:8px;border:0;border-radius:7px;background:transparent;color:#a098af;font-size:11px;font-weight:400}
.library-scope-tabs button[aria-pressed=true]{background:white;box-shadow:0 2px 5px #4d3e6c09;color:#9874b8;font-weight:500}
.library-scope-tabs button span{font-size:9px;line-height:1.6;background:#f4f0f9;color:#b09cc3;padding:1px 5px;border-radius:4px}
.library-management>span{font-size:10px;color:#a3a8b7}
.library-trash-note{font-size:12px;color:#9585a9;padding:15px 17px;border:1px solid #e9e0f4;background:#faf7ff;border-radius:10px;margin:0 0 20px;line-height:1.8}
.library-trash-note[hidden],.library-upload-card[hidden]{display:none}
.library-preview{position:relative}
.library-in-use{position:absolute;top:9px;left:9px;font-size:9px;font-weight:500;padding:4px 7px;border:1px solid #e2ebf0;border-radius:5px;background:#fffffff2;color:#8b9eac;box-shadow:0 2px 5px #1d284506}
.library-card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}
.media-library .library-card-actions button{white-space:nowrap;min-width:0;padding:7px 8px;gap:5px}
.media-library .library-card-actions .library-delete{color:#bb8b9b;background:#fff9fb;border-color:#f1e3e9;font-size:9px}
.library-card-actions .library-delete svg{width:12px;height:12px}
.media-library .library-card-actions .library-delete:disabled{opacity:.42;cursor:not-allowed}
.media-library .library-card-actions .library-delete:hover:not(:disabled){background:#fff0f4;color:#b45c77;border-color:#e6c4d1}
.library-card-actions .library-restore{grid-column:1/-1}
#mediaTrashForm .form-error{margin:0 26px 20px}
.media-trash-footer .danger{background:#cf5875;border-color:#cf5875;color:white}
.media-trash-footer .danger:hover{background:#bb4563;border-color:#bb4563}
@media(max-width:480px){.library-management{gap:10px}.library-management>span{font-size:9px}.library-card-actions{grid-template-columns:1fr}.library-card-actions button{grid-column:1/-1}.library-scope-tabs button{font-size:10px}.library-trash-note{font-size:11px}.media-trash-footer{padding:16px 20px}}

/* Enquiries list */
.enquiry-list-card .enquiry-table-wrap{border:0;border-radius:0}
.enquiry-new-count{font-size:10px;font-weight:400;padding:4px 8px;border-radius:6px;background:#fff5e4;color:#bc9d64}
.enquiry-table th:first-child{width:32%}.enquiry-table th:nth-child(2){width:25%}.enquiry-table th:nth-child(3){width:13%}.enquiry-table th:nth-child(4){width:18%}.enquiry-table th:last-child{width:12%}
.enquiry-avatar{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border:1px solid #ece5f6;border-radius:12px;background:#f4effb;color:#aa91c8;font-size:12px;font-weight:500;letter-spacing:.3px}
.enquiry-list-email{display:block;font-size:10px;color:#a2aabb;line-height:1.8;margin-top:3px;overflow-wrap:anywhere}
.enquiry-list-subject{display:block;font-size:11px;line-height:1.8;color:#7f8a9f;overflow-wrap:anywhere}
.enquiry-status{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:400;line-height:1.6;padding:5px 8px;border-radius:6px;white-space:nowrap}
.enquiry-status:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor;flex-shrink:0}
.enquiry-status.is-new{background:#fff4e0;color:#bb9a5f}.enquiry-status.is-in-progress{background:#eef0fd;color:#8b97c4}.enquiry-status.is-closed{background:#ecf7f1;color:#6f9d86}
.enquiry-received{font-size:10px;color:#9aa5b7;line-height:1.8}
.enquiry-table .enquiry-open{min-height:33px;padding:7px 10px;gap:6px;border:1px solid #ece5f8;border-radius:8px;background:#faf7ff;font-size:10px;font-weight:500;color:#a087be}
.enquiry-open svg{width:15px;height:15px;flex-shrink:0}
.enquiry-table .enquiry-open:hover{background:#f0e8fb;color:#8261a6;border-color:#d4bfe9}
.enquiry-list-empty>span{display:grid;place-items:center;width:45px;height:45px;margin:0 auto 13px;background:#f3edf9;color:#b69fd0;border-radius:13px}
.enquiry-list-empty svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5}
.enquiry-list-empty h2{font-size:15px;font-weight:500;color:#8190a5;margin:0 0 7px}.enquiry-list-empty p{font-size:11px;color:#a4adbc;margin:0}
/* Enquiry details */
dialog.enquiry-dialog{width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #e4e5f1;border-radius:20px;color:var(--navy);box-shadow:0 28px 90px #17233a38;overflow-y:auto;scrollbar-width:none}
.enquiry-dialog::-webkit-scrollbar{display:none}
.enquiry-dialog::backdrop{background:#14213a80;backdrop-filter:blur(5px)}
.enquiry-dialog .dialog-head{position:sticky;top:0;z-index:6;background:white;display:flex;gap:12px;justify-content:flex-start;margin:0;padding:22px 25px;border-bottom:1px solid #edf0f6}
.enquiry-dialog .dialog-head h2{font-size:20px;font-weight:600;letter-spacing:-.4px;margin:0}
.enquiry-dialog .dialog-head button{margin-left:auto;min-height:34px;width:34px;height:34px;padding:7px;border:0;background:#f3f5f9;color:#8c97aa;border-radius:50%;flex-shrink:0}
.enquiry-dialog .dialog-head button:hover{background:#eee8f8;color:#9875bd}
.enquiry-dialog .dialog-head button svg{width:19px;height:19px}
.enquiry-dialog-content{padding:22px 25px 4px}
.enquiry-contact-card{display:flex;align-items:flex-start;gap:13px;padding:17px;border:1px solid #ece7f5;border-radius:12px;background:#fcfaff;margin-bottom:20px}
.enquiry-contact-card>.enquiry-avatar{width:41px;height:41px;background:#eee6f8;border-color:#e7ddf1;font-size:12px}
.enquiry-contact-card>div{min-width:0;flex:1}
.enquiry-contact-card h3{font-size:13px;font-weight:500;color:#63708a;margin:1px 0 8px;line-height:1.7;overflow-wrap:anywhere}
.enquiry-contact-link,.enquiry-phone{display:flex;align-items:flex-start;gap:7px;font-size:11px;line-height:1.8;color:#9c88b3;overflow-wrap:anywhere}
.enquiry-phone{margin-top:5px;color:#99a1b2}
.enquiry-contact-link svg,.enquiry-phone svg{width:14px;height:14px;flex-shrink:0;margin-top:3px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.enquiry-phone a{color:inherit;overflow-wrap:anywhere}
.enquiry-contact-link:hover,.enquiry-phone a:hover{color:#8764ac;text-decoration:underline;text-underline-offset:3px}
.enquiry-contact-date{font-size:9px;line-height:1.8;color:#b0a6bd;margin:10px 0 0}
.enquiry-message{padding:17px 18px;background:#fafbfe;border:1px solid #e8ecf4;border-radius:12px;margin-bottom:23px}
.enquiry-field-caption{font-size:9px;font-weight:500;letter-spacing:.6px;text-transform:uppercase;color:#a8aabd;margin:0 0 8px;line-height:1.5}
.enquiry-message h3{font-size:13px;font-weight:500;line-height:1.8;color:#707c94;margin:0 0 10px;overflow-wrap:anywhere}
.enquiry-message .prewrap{font-size:12px;line-height:1.9;color:#939eb0;max-height:240px;overflow-y:auto;scrollbar-width:none}
.enquiry-message .prewrap::-webkit-scrollbar{display:none}
.enquiry-status-picker{margin-bottom:21px}
.enquiry-status-picker .category-label{font-size:12px;font-weight:500;color:#7f8a9e;line-height:1.7;margin-bottom:8px}
.enquiry-status-picker .category-trigger{font-size:12px;min-height:46px;padding:11px 13px;background:#fafbfe;border-color:#e0e5ef;border-radius:10px;gap:9px}
.enquiry-status-picker .category-trigger[aria-expanded=true]{border-color:#b59edb;background:white;box-shadow:0 0 0 3px #9676bd0d}
.enquiry-status-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0;background:#b4a1cd}
.enquiry-status-dot.is-new{background:#d3b174}.enquiry-status-dot.is-in-progress{background:#9da9da}.enquiry-status-dot.is-closed{background:#89b99d}
.enquiry-status-picker .category-options{margin-top:7px;padding:6px;border-radius:11px;box-shadow:0 5px 20px #2520430f}
.enquiry-dialog .category-option{position:relative;display:flex;align-items:center;gap:10px;min-height:41px;margin:0;padding:10px 12px;border-radius:7px;font-size:11px;font-weight:400;color:#8e99ab;line-height:1.7;cursor:pointer}
.enquiry-dialog .category-option:hover{background:#faf7ff}
.enquiry-dialog .category-option:has(input:checked){background:#f3edfb;color:#a084bd;font-weight:500}
.enquiry-dialog .category-option input{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;opacity:0;pointer-events:none}
.enquiry-notes-label{display:block;font-size:12px;font-weight:500;color:#7f8a9e;margin-bottom:20px;line-height:1.7}
.enquiry-notes-label textarea{margin-top:8px;border-radius:10px;border-color:#e0e5ef;background:#fafbfe;padding:12px 13px;font-size:12px;font-weight:400;line-height:1.9;min-height:110px;color:#7d899f}
.enquiry-notes-label textarea::placeholder{color:#b0b7c5;font-size:11px}
.enquiry-notes-label textarea:focus{outline:0;border-color:#b09bd7;background:white;box-shadow:0 0 0 3px #9777bb0d}
.enquiry-dialog-footer{position:sticky;bottom:0;z-index:5;display:flex;justify-content:flex-end;gap:10px;padding:18px 25px;border-top:1px solid #e9ecf4;background:#fafbfe}
.enquiry-dialog-footer button{font-size:12px;font-weight:500;min-height:41px;padding:10px 15px;border-radius:10px;gap:7px}
.enquiry-dialog-footer button:not(.primary){background:white;border-color:#e3e6ef;color:#9aa3b4}
.enquiry-dialog-footer .primary{background:linear-gradient(115deg,#805bed,#6947df);border-color:#7955e5;box-shadow:0 4px 10px #6845eb14}
.enquiry-dialog-footer .primary:hover{background:linear-gradient(115deg,#7350df,#5f3bd3)}
.enquiry-dialog-footer svg{width:16px;height:16px}
@media(max-width:1150px){.enquiry-table th:first-child{width:31%}.enquiry-table th:nth-child(2){width:22%}.enquiry-table th:nth-child(3){width:14%}.enquiry-table th:nth-child(4){width:20%}.enquiry-table th:last-child{width:13%}}
@media(max-width:900px){.enquiry-table .project-edit-cell{grid-column:1/-1;grid-row:auto;justify-self:stretch;align-self:auto;margin-top:3px}.enquiry-table td[data-column]:before{min-width:58px}.enquiry-table .enquiry-list-subject{font-size:11px}.enquiry-table .enquiry-received{font-size:10px}.enquiry-table .enquiry-open{font-size:11px;min-height:34px}}
@media(max-width:480px){dialog.enquiry-dialog{border-radius:15px}.enquiry-dialog .dialog-head{padding:18px 19px;gap:10px}.enquiry-dialog .dialog-head h2{font-size:18px}.enquiry-dialog .project-dialog-icon{width:36px;height:36px;border-radius:11px}.enquiry-dialog-content{padding:19px 19px 3px}.enquiry-contact-card{gap:10px;padding:14px 12px}.enquiry-contact-card>.enquiry-avatar{width:33px;height:33px;border-radius:10px;font-size:10px}.enquiry-contact-card h3{font-size:12px}.enquiry-contact-link,.enquiry-phone{font-size:10px;gap:5px}.enquiry-contact-link svg,.enquiry-phone svg{width:12px;height:12px}.enquiry-contact-date{font-size:8px}.enquiry-dialog-footer{padding:15px 19px}.enquiry-dialog-footer button{font-size:11px;padding:10px 12px}.enquiry-message{padding:15px}.enquiry-message h3{font-size:12px}.enquiry-message .prewrap{font-size:11px}.enquiry-dialog .category-option{font-size:11px}}

/* Enquiry Trash and Restore */
.enquiry-scope-bar{display:flex;align-items:center;margin-bottom:19px}
.enquiry-table th:first-child{width:28%}.enquiry-table th:nth-child(2){width:23%}.enquiry-table th:nth-child(3){width:11%}.enquiry-table th:nth-child(4){width:18%}.enquiry-table th:last-child{width:20%}
.enquiry-table .enquiry-delete,.enquiry-table .enquiry-restore{min-height:33px;padding:7px 9px;gap:5px;border:1px solid #f1e3e9;border-radius:8px;background:#fff9fb;font-size:10px;font-weight:500;color:#bd8c9c;white-space:nowrap}
.enquiry-delete svg,.enquiry-restore svg{width:13px;height:13px;flex-shrink:0}
.enquiry-table .enquiry-delete:hover{background:#fff0f4;border-color:#e6c4d1;color:#b45c77}
.enquiry-table .enquiry-restore{background:#f8f5fd;border-color:#eae1f5;color:#a088bc}
.enquiry-table .enquiry-restore:hover{background:#f0e8fa;border-color:#d8c6e9;color:#8668a6}
.enquiry-delete-subject{padding:11px 13px;border:1px solid #ece7f5;background:#fcfaff;border-radius:9px;font-size:12px;color:#9e8caf;overflow-wrap:anywhere}
#enquiryTrashForm .form-error{margin:0 25px 20px}
.enquiry-dialog-footer .enquiry-trash-confirm{background:#cc5572;border-color:#cc5572;color:white}
.enquiry-dialog-footer .enquiry-trash-confirm:hover{background:#b94462;border-color:#b94462}
@media(max-width:1150px){.enquiry-table th:first-child{width:27%}.enquiry-table th:nth-child(2){width:20%}.enquiry-table th:nth-child(3){width:12%}.enquiry-table th:nth-child(4){width:19%}.enquiry-table th:last-child{width:22%}.enquiry-table .enquiry-open,.enquiry-table .enquiry-delete{font-size:9px;padding:7px 8px;gap:4px}}
@media(max-width:900px){.enquiry-table .enquiry-open,.enquiry-table .enquiry-delete,.enquiry-table .enquiry-restore{font-size:10px;padding:7px 10px}}

#notice{pointer-events:none}

.users-list-actions{display:flex;justify-content:flex-end;margin-bottom:20px}

/* Staff account list */
.users-toolbar{display:flex;align-items:center;gap:10px;padding:14px 16px;margin-bottom:19px;border:1px solid #e3e7f1;border-radius:15px;background:linear-gradient(110deg,#fff,#fdfcff);box-shadow:0 3px 14px #192d4903}
.users-toolbar-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f2ecfa;color:#a78ac9}
.users-toolbar-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.users-toolbar-count{font-size:12px;font-weight:500;color:#8b79a2}
.users-toolbar .primary{margin-left:auto;min-height:41px;padding:10px 15px;gap:7px;font-size:12px;font-weight:500;border-radius:10px;background:linear-gradient(115deg,#805bed,#6947df);border-color:#7955e5;box-shadow:0 4px 10px #6845eb14}
.users-toolbar .primary:hover{background:linear-gradient(115deg,#7350df,#5f3bd3)}
.users-toolbar .primary svg{width:17px;height:17px;border-radius:5px;background:#ffffff10;padding:1px}
.users-list-card .users-table-wrap{border:0;border-radius:0}
.users-table th:first-child{width:27%}.users-table th:nth-child(2){width:35%}.users-table th:nth-child(3){width:14%}.users-table th:nth-child(4){width:14%}.users-table th:last-child{width:10%}
.user-list-avatar{width:40px;height:40px;border:1px solid #eae3f4;border-radius:12px;display:grid;place-items:center;flex-shrink:0;background:#f4effb;color:#b097ce;font-size:12px;font-weight:500;letter-spacing:.3px}
.user-self-label{display:inline-flex;align-items:center;padding:2px 6px;border-radius:4px;background:#f6f2fc;color:#b09ac6;font-size:9px;margin-top:4px}
.user-list-email{font-size:11px;line-height:1.8;color:#9a8aad;overflow-wrap:anywhere}
.user-list-email:hover{color:#8662ac;text-decoration:underline;text-underline-offset:3px}
.user-role-badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;line-height:1.6;padding:5px 8px;border-radius:6px;white-space:nowrap}
.user-role-badge svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.user-role-badge.role-admin{background:#f2ecfb;color:#a284bc}.user-role-badge.role-editor{background:#eef3fb;color:#8d9eb9}
.user-access-badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;line-height:1.6;padding:5px 8px;border-radius:6px;white-space:nowrap}
.user-access-badge:before{content:'';width:4px;height:4px;flex-shrink:0;border-radius:50%;background:currentColor}
.user-access-badge.is-active{background:#edf7f1;color:#85a892}.user-access-badge.is-disabled{background:#f9edf1;color:#c096a4}
@media(max-width:1150px){.users-table th:first-child{width:26%}.users-table th:nth-child(2){width:30%}.users-table th:nth-child(3){width:16%}.users-table th:nth-child(4){width:16%}.users-table th:last-child{width:12%}}
@media(max-width:900px){.users-table .project-edit-cell{grid-column:1/-1;grid-row:auto;justify-self:stretch;align-self:auto;margin-top:3px}.users-table td[data-column]:before{min-width:48px}.users-table td[data-column]{gap:9px}.users-table .user-list-email{font-size:11px}}
@media(max-width:480px){.users-toolbar{padding:11px 12px;border-radius:12px}.users-toolbar .primary{font-size:11px;min-height:38px;padding:10px 12px}.users-toolbar-count{font-size:11px}.user-list-avatar{width:39px;height:39px}.users-table .user-list-email{font-size:10px}}

/* Staff account dialog */
dialog.user-dialog{width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #e4e5f1;border-radius:20px;background:white;color:var(--navy);box-shadow:0 28px 90px #17233a38;overflow-y:auto;scrollbar-width:none}
.user-dialog::-webkit-scrollbar{display:none}
.user-dialog::backdrop{background:#14213a80;backdrop-filter:blur(5px)}
.user-dialog .dialog-head{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:flex-start;gap:12px;margin:0;padding:23px 25px 18px;background:white;border-bottom:1px solid #f0edf6}
.user-dialog .dialog-head h2{font-size:20px;font-weight:600;letter-spacing:-.4px;margin:0}
.user-dialog .dialog-head button{margin-left:auto;padding:7px;width:34px;height:34px;min-height:34px;border:0;border-radius:50%;background:#f3f5f9;color:#929caf;flex-shrink:0}
.user-dialog .dialog-head button:hover{background:#f0eaf9;color:#a082bd}
.user-dialog .dialog-head button svg{width:19px;height:19px}
.user-dialog-intro{font-size:12px;line-height:1.8;color:#9aa2b4;margin:18px 25px 22px}
.user-dialog-fields{padding:0 25px 4px}
.user-dialog label{display:block;font-size:12px;font-weight:500;color:#7b879b;line-height:1.7;margin-bottom:20px}
.user-dialog input:not([type=checkbox]){font-size:12px;min-height:46px;padding:11px 13px;border-radius:10px;border-color:#e0e5ef;background:#fafbfe;margin-top:8px;transition:border-color .18s,background-color .18s,box-shadow .18s}
.user-dialog input:not([type=checkbox]):focus{outline:0;border-color:#b49bd9;box-shadow:0 0 0 3px #9976bd0d;background:white}
.user-dialog input::placeholder{color:#b0b7c6;font-size:11px}
.user-dialog .help{font-size:10px;font-weight:400;line-height:1.8;color:#b2a7bf;margin-top:8px}
.user-email-field,.user-password-field{display:block;position:relative;margin-top:8px}
.user-dialog .user-email-field input{padding-left:39px;margin:0}
.user-email-field>span{position:absolute;left:13px;top:15px;color:#b39bcf;display:flex;pointer-events:none}
.user-email-field svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.user-dialog .user-password-field input{padding-right:45px;margin:0}
.user-password-field button{position:absolute;right:7px;top:7px;width:32px;height:32px;min-height:32px;padding:7px;border:0;border-radius:7px;background:transparent;color:#b09aca}
.user-password-field button:hover{background:#eee7f8;color:#9474b7}
.user-password-field button svg{width:18px;height:18px}
.user-role-picker{margin-bottom:20px}
.user-role-picker .category-label{font-size:12px;font-weight:500;line-height:1.7;color:#7b879b;margin-bottom:8px}
.user-role-picker .category-trigger{min-height:46px;font-size:12px;font-weight:400;padding:11px 13px;gap:9px;border-radius:10px;border-color:#e0e5ef;background:#fafbfe;color:#7f879c}
.user-role-picker .category-trigger[aria-expanded=true]{border-color:#b49bd9;background:white;box-shadow:0 0 0 3px #9976bd0d}
.user-role-icon{display:flex;flex-shrink:0;color:#b399cd}
.user-role-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.user-role-picker .category-options{margin-top:7px;border-radius:11px;padding:6px;box-shadow:0 5px 20px #2520430f}
.user-dialog .category-option{position:relative;display:flex;align-items:center;gap:11px;padding:11px 12px;margin:0;min-height:61px;border-radius:8px;color:#929db0;cursor:pointer;line-height:1.7}
.user-dialog .category-option>span:nth-of-type(2){flex:1;min-width:0}
.user-dialog .category-option strong{display:block;font-size:11px;font-weight:500}
.user-dialog .category-option small{display:block;font-size:9px;font-weight:400;color:#b4aabe;line-height:1.7;margin-top:2px}
.user-dialog .category-option:hover{background:#fcf9ff}
.user-dialog .category-option:has(input:checked){background:#f3edfb;color:#a184be}
.user-dialog .category-option input{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;opacity:0;pointer-events:none}
.user-enabled-card{padding:15px 16px;border:1px solid #ebe5f6;border-radius:11px;background:#fcfaff;margin:1px 0 19px}
.user-dialog .user-enabled-label{display:flex;align-items:center;gap:11px;cursor:pointer;font-size:12px;font-weight:500;color:#a08bb6;margin:0}
.user-enabled-label small{display:block;font-size:10px;font-weight:400;color:#b7acbf;margin-top:3px;line-height:1.7}
.user-dialog .user-enabled-label input{appearance:none;position:relative;display:inline-block;width:36px;height:20px;min-height:20px;min-width:36px;flex-shrink:0;margin:0;padding:0;border:0;border-radius:20px;background:#d9dde7;cursor:pointer;transition:background-color .18s}
.user-enabled-label input:before{content:'';position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:white;box-shadow:0 1px 3px #352b5110;transition:transform .18s}
.user-dialog .user-enabled-label input:checked{background:#ac92d1}
.user-enabled-label input:checked:before{transform:translateX(16px)}
.user-dialog .user-enabled-label input:focus-visible{outline:2px solid #b49bd9;outline-offset:3px;box-shadow:none}
.user-dialog-footer{position:sticky;bottom:0;z-index:4;display:flex;justify-content:flex-end;gap:10px;padding:18px 25px;border-top:1px solid #e9ecf4;background:#fafbfe}
.user-dialog-footer button{min-height:41px;font-size:12px;font-weight:500;padding:10px 15px;border-radius:10px;gap:7px}
.user-dialog-footer button:not(.primary){background:white;border-color:#e3e6ef;color:#9ea6b6}
.user-dialog-footer .primary{background:linear-gradient(115deg,#805bed,#6947df);border-color:#7955e5;box-shadow:0 4px 10px #6845eb14}
.user-dialog-footer .primary:hover{background:linear-gradient(115deg,#7350df,#5f3bd3)}
.user-dialog-footer svg{width:16px;height:16px}
@media(max-width:480px){dialog.user-dialog{border-radius:15px}.user-dialog .dialog-head{padding:18px 19px 16px;gap:10px}.user-dialog .dialog-head h2{font-size:18px}.user-dialog .project-dialog-icon{width:36px;height:36px;border-radius:11px}.user-dialog-intro{margin:16px 19px 20px;font-size:11px}.user-dialog-fields{padding:0 19px 3px}.user-dialog-footer{padding:15px 19px}.user-dialog-footer button{font-size:11px;padding:10px 13px}.user-enabled-card{padding:13px}}
@media(prefers-reduced-motion:reduce){.user-dialog input,.user-enabled-label input:before{transition:none}}

/* Personal account cards */
.account-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:24px;align-items:stretch}
.account-card{min-width:0;border:1px solid #e3e7f1;border-radius:17px;background:white;padding:25px;box-shadow:0 3px 14px #192d4903;display:flex;flex-direction:column}
.account-card-heading{display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf0f6;padding-bottom:21px;margin-bottom:23px}
.account-card-heading>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#f2ecfa;color:#ab91c8;flex-shrink:0}
.account-card-heading svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.account-card-heading h2{margin:0;font-size:17px;font-weight:600;letter-spacing:-.3px;color:#35455f}
.account-card-heading p{font-size:10px;line-height:1.8;color:#9fa9ba;margin:5px 0 0}
.account-photo-area{text-align:center;margin:4px 0 22px}
.account-layout .account-photo-preview{width:106px;height:106px;margin:0 auto 13px;position:relative;border:4px solid white;border-radius:50%;background:#f1ebfa;box-shadow:0 0 0 1px #e5daef,0 4px 15px #70508009;color:#bba4d3}
.account-photo-preview img{width:100%;height:100%;object-fit:cover;object-position:center top;transform:scale(2);transform-origin:50% 20%;display:block}
.account-photo-preview svg{width:46px;height:46px}
.account-photo-caption{display:block;font-size:10px;color:#b2a2c2;line-height:1.8}
.account-card form{display:flex;flex-direction:column;flex:1;min-width:0}
.account-photo-picker{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:111px;padding:19px 12px;border:1px dashed #ddd1ec;border-radius:11px;background:#fcfaff;text-align:center;cursor:pointer;overflow:hidden;margin:0}
.account-photo-picker:hover{background:#f8f2ff;border-color:#bca2da}
.account-photo-picker:focus-within{outline:2px solid #b198d5;outline-offset:3px}
.account-photo-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;padding:0;cursor:pointer;z-index:2}
.account-photo-upload-icon{display:flex;color:#b19bca}
.account-photo-upload-icon svg{width:19px;height:19px}
.account-photo-picker strong{font-size:11px;font-weight:500;color:#a58abf;line-height:1.6}
.account-photo-picker>span:last-child{font-size:9px;line-height:1.8;color:#b9b0c4;font-weight:400}
.account-photo-selection{display:flex;align-items:center;gap:9px;border:1px solid #ebe4f5;background:#fdfbff;border-radius:9px;padding:11px 12px;margin-top:12px}
.account-photo-selection[hidden]{display:none}
.account-photo-selection>div{flex:1;min-width:0}
.account-photo-selection strong{display:block;font-size:10px;font-weight:500;color:#9a84af;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.account-photo-selection span{display:block;font-size:9px;color:#b4a8c0;line-height:1.7;margin-top:3px}
.account-photo-selection button{width:27px;height:27px;min-height:27px;padding:5px;border:0;background:transparent;color:#b8a7cb;border-radius:50%;flex-shrink:0}
.account-photo-selection button:hover{background:#eee7f8;color:#9877b8}
.account-photo-selection button svg{width:15px;height:15px}
.account-password-fields label{font-size:12px;font-weight:500;color:#8290a4;margin-bottom:22px;line-height:1.7}
.account-password-field{display:block;position:relative;margin-top:8px}
.account-password-field input{font-size:12px;min-height:47px;padding:12px 44px 12px 13px;margin:0;border-radius:10px;border-color:#e0e5ef;background:#fafbfe;transition:background-color .18s,border-color .18s,box-shadow .18s}
.account-password-field input::placeholder{font-size:11px;color:#b2bac8}
.account-password-field input:focus{outline:0;background:white;border-color:#b29ad9;box-shadow:0 0 0 3px #9b79bd0d}
.account-password-field button{position:absolute;right:7px;top:7px;width:33px;height:33px;min-height:33px;padding:7px;border:0;border-radius:7px;background:transparent;color:#b6a0ce}
.account-password-field button:hover{background:#eee7f8;color:#9c7abd}
.account-password-field button svg{width:18px;height:18px}
.account-password-help{font-size:10px;color:#b6a9c2;line-height:1.8;margin:-10px 0 0}
.account-card-footer{display:flex;align-items:center;justify-content:flex-end;padding-top:23px;margin-top:auto}
.account-card-footer .primary{font-size:11px;font-weight:500;min-height:40px;padding:10px 14px;border-radius:10px;gap:7px;background:linear-gradient(115deg,#805bed,#6947df);border-color:#7955e5;box-shadow:0 4px 10px #6845eb14}
.account-card-footer .primary:hover{background:linear-gradient(115deg,#7350df,#5f3bd3)}
.account-card-footer .primary svg{width:16px;height:16px}
@media(max-width:1100px){.account-layout{grid-template-columns:1fr;gap:22px}.account-photo-area{margin-bottom:23px}.account-card{padding:23px}.account-photo-picker{min-height:105px}.account-card-footer{padding-top:22px}}
@media(max-width:480px){.account-card{padding:19px;border-radius:13px}.account-card-heading{gap:10px;padding-bottom:18px;margin-bottom:21px}.account-card-heading>span{width:36px;height:36px;border-radius:10px}.account-card-heading h2{font-size:16px}.account-card-heading p{font-size:9px}.account-layout .account-photo-preview{width:98px;height:98px}.account-card-footer .primary{font-size:10px;padding:10px 12px}.account-password-fields label{font-size:11px}.account-password-field input{font-size:12px}}
@media(prefers-reduced-motion:reduce){.account-password-field input{transition:none}}

/* Saved-draft publishing confirmation */
dialog:is(.publish-dialog,.discard-dialog){width:min(500px,calc(100vw - 32px));padding:0;border:1px solid #e5def5;border-radius:20px;box-shadow:0 24px 90px #18213d30;color:#192b46}
:is(.publish-dialog,.discard-dialog)::backdrop{background:#15223a65;backdrop-filter:blur(5px)}
:is(.publish-dialog,.discard-dialog) .dialog-head{display:flex;align-items:center;gap:12px;padding:22px 26px;border-bottom:1px solid #edf0f8;margin:0}
:is(.publish-dialog,.discard-dialog) .dialog-head>.project-dialog-icon{display:none}
:is(.publish-dialog,.discard-dialog) .dialog-head h2{margin:0;font-size:18px;font-weight:600}
:is(.publish-dialog,.discard-dialog) .dialog-head [data-close]{margin-left:auto;width:32px;height:32px;padding:7px;background:#f7f8fc;border:1px solid #e8ebf4;border-radius:10px;color:#7f8aa2}
:is(.publish-dialog,.discard-dialog) .dialog-head [data-close] svg{width:16px;height:16px}
.publish-confirm-content{padding:26px}
.publish-confirm-symbol{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border:1px solid #e8ddfc;border-radius:17px;background:linear-gradient(140deg,#f4efff,#edf2ff);color:#8054db;margin-bottom:19px}
.publish-confirm-symbol svg{width:25px;height:25px}
#publishConfirmDescription{font-size:15px;line-height:1.7;margin:0 0 17px;font-weight:500;color:#2a3953}
.publish-confirm-record{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid #e9e5f5;background:#faf9fe;border-radius:11px;font-size:13px;line-height:1.6}
.publish-confirm-record>svg{flex-shrink:0;width:19px;height:19px;color:#9378c7}
.publish-confirm-record>span:first-of-type{overflow-wrap:anywhere;min-width:0}
.publish-ready-badge{margin-left:auto;flex-shrink:0;font-size:10px;background:#ede8fa;color:#7653b6;border-radius:6px;padding:4px 7px}
.publish-confirm-help{font-size:12px;line-height:1.8;color:#7b88a1;margin:15px 0 0}
.publish-confirm-footer{display:flex;justify-content:flex-end;gap:10px;padding:18px 26px;border-top:1px solid #edf0f8;background:#fbfbfe}
.publish-confirm-footer button{min-height:42px;padding:10px 17px;font-size:12px;border-radius:10px;gap:8px}
.publish-confirm-footer button.primary{background:linear-gradient(110deg,#8155ee,#6842da);border:1px solid #7851df;box-shadow:0 4px 12px #7046d51c}
.publish-confirm-footer button.primary:hover:not(:disabled){background:linear-gradient(110deg,#7346df,#5e37cb)}
.publish-confirm-footer button svg{width:17px;height:17px}
.publish-confirm-footer button:disabled{opacity:.6;cursor:wait}
@media(max-width:480px){:is(.publish-dialog,.discard-dialog) .dialog-head{padding:19px 20px}.publish-confirm-content{padding:22px 20px}.publish-confirm-record{flex-wrap:wrap}.publish-ready-badge{margin-left:29px}.publish-confirm-footer{padding:16px 20px}.publish-confirm-footer button{flex:1;justify-content:center}}

/* Overview metrics */
.dashboard-overview .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.dashboard-overview .overview-stat{--metric:#8055db;--metric-soft:#f2edfd;position:relative;overflow:hidden;min-width:0;padding:23px 22px 25px;background:linear-gradient(145deg,#fff 55%,var(--metric-soft));border:1px solid #e2e6f1;border-radius:17px;box-shadow:0 4px 16px #22325503}
.dashboard-overview .overview-stat-blue{--metric:#4983cf;--metric-soft:#edf4fe}
.dashboard-overview .overview-stat-green{--metric:#319785;--metric-soft:#ebf7f2}
.dashboard-overview .overview-stat-amber{--metric:#b98232;--metric-soft:#fff6e9}
.overview-stat-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.dashboard-overview .overview-stat-heading>span:first-child{color:#65748e;font-size:13px;font-weight:400;line-height:1.6}
.dashboard-overview .overview-stat-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;border-radius:13px;color:var(--metric);background:var(--metric-soft);border:1px solid color-mix(in srgb,var(--metric) 12%,transparent)}
.overview-stat-icon svg{width:22px;height:22px;stroke-width:1.6}
.dashboard-overview .overview-stat strong{display:block;font-size:36px;font-weight:600;line-height:1.2;letter-spacing:-1.2px;color:#192c47;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.overview-stat-accent{position:absolute;bottom:0;left:22px;width:36px;height:3px;background:var(--metric);opacity:.55;border-radius:3px 3px 0 0}
@media(max-width:1150px){.dashboard-overview .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:480px){.dashboard-overview .stats{gap:12px}.dashboard-overview .overview-stat{padding:17px 16px 21px;border-radius:14px}.overview-stat-heading{gap:8px;align-items:flex-start;margin-bottom:18px}.dashboard-overview .overview-stat-heading>span:first-child{font-size:12px}.dashboard-overview .overview-stat-icon{width:33px;height:33px;border-radius:10px}.overview-stat-icon svg{width:18px;height:18px}.dashboard-overview .overview-stat strong{font-size:31px}.overview-stat-accent{left:16px}}
@media(max-width:360px){.overview-stat-heading{flex-direction:column-reverse;gap:10px}}

/* Shared website settings editor */
.settings-editor .settings-contact-note{display:flex;align-items:flex-start;gap:10px;border-radius:10px;padding:12px 14px;background:#f7f5fd;color:#8a7ca7;font-size:11px;line-height:1.8;margin:4px 0 0}
.settings-contact-note svg{width:17px;height:17px;flex-shrink:0;margin-top:2px}
.settings-social-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.settings-editor .settings-social-field{min-width:0;padding:15px;border:1px solid #e9eaf3;border-radius:12px;background:#fdfdff;margin:0}
.settings-social-label{display:flex;align-items:center;gap:10px;margin-bottom:12px;color:#4b5870;font-size:12px}
.settings-social-icon{display:grid;place-items:center;width:32px;height:32px;background:#eef3ff;color:#6689cd;border-radius:9px}
.settings-social-icon svg{width:18px;height:18px}
.social-instagram .settings-social-icon{background:#fcf0f8;color:#ba79a4}.social-tiktok .settings-social-icon{background:#eff1f7;color:#68748d}.social-whatsapp .settings-social-icon{background:#edf8f2;color:#59a482}
.settings-editor .settings-social-field input{margin:0;font-size:12px}
.settings-banners{display:grid;gap:20px}
.settings-banner{min-width:0;border:1px solid #e4e7f2;border-radius:13px;overflow:hidden;background:white}
.settings-banner-header{display:flex;align-items:center;gap:9px;padding:13px 17px;background:#faf9fe;border-bottom:1px solid #ebe7f5}
.settings-banner-header>span{display:flex;color:#9b81cc}.settings-banner-header svg{width:17px;height:17px}
.settings-editor .settings-banner-header h3{font-size:12px;font-weight:500;margin:0;color:#756091}
.settings-banner-preview{height:165px;margin:17px 17px 0;border-radius:9px;background:#f3f4fa;display:flex;align-items:center;justify-content:center;overflow:hidden}
.settings-banner-preview>img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}
.settings-banner-preview>span{display:flex;color:#a8a2bf}.settings-banner-preview svg{width:32px;height:32px}
.settings-banner-fields{padding:18px 17px}
.settings-editor .settings-banner-fields>label:last-child{margin-bottom:0}
@media(max-width:1150px){.settings-social-grid{grid-template-columns:1fr}}
@media(max-width:960px) and (min-width:601px){.settings-social-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.settings-social-grid{gap:12px}.settings-editor .settings-social-field{padding:13px}.settings-banner-preview{height:130px;margin:13px 13px 0}.settings-banner-fields{padding:15px 13px}.settings-banner-header{padding:12px 13px}}

/* Homepage slide and button controls */
.settings-banner-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}
.settings-banner-toolbar>span{font-size:12px;color:#8793a6}
.settings-editor .settings-banner-toolbar button,.banner-buttons-heading button{min-height:35px;font-size:11px;font-weight:500;background:#f3effd;color:#7958bc;border-color:#e5dcf7;padding:8px 12px}
.settings-banner-header button{margin-left:auto;min-height:30px;padding:5px 8px;gap:5px;font-size:10px;font-weight:400;background:white;border-color:#eee1e6;color:#bd7187}
.settings-banner-header button svg,.banner-button-top button svg{width:14px;height:14px}
.settings-banner-header button:disabled{cursor:default;opacity:.35}
.banner-buttons-section{border-top:1px solid #ebeaf3;margin-top:22px;padding-top:18px}
.banner-buttons-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}
.banner-buttons-heading h4{font-size:13px;font-weight:500;color:#52617b;margin:0}
.banner-button-rows{display:grid;gap:12px}
.settings-banner-button{padding:15px;border:1px solid #e8e4f4;border-radius:11px;background:#fcfbff;min-width:0}
.banner-button-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px;font-size:11px;color:#9b89b7}
.banner-button-top button{border:0;background:transparent;color:#bc8194;min-height:28px;font-size:10px;padding:4px 6px;font-weight:400;gap:5px}
.settings-editor .settings-banner-button .fields label{font-size:11px;margin-bottom:13px}
.banner-button-options{display:flex;flex-wrap:wrap;align-items:center;gap:14px;justify-content:space-between}
.banner-style-picker{display:flex;gap:5px;padding:4px;background:#f0edf8;border-radius:8px}
.settings-editor .banner-style-picker label{position:relative;margin:0;font-size:10px;cursor:pointer}
.settings-editor .banner-style-picker input{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:0;opacity:0}
.banner-style-picker span{display:block;padding:6px 9px;color:#a08bbd;border-radius:5px}
.banner-style-picker input:checked+span{background:white;color:#8057be;box-shadow:0 2px 5px #30204d0c}
.banner-style-picker input:focus-visible+span{outline:2px solid #b5a1ef;outline-offset:2px}
.settings-editor .banner-button-options .check{margin:0;font-size:11px;font-weight:400;color:#8b7ca1}
.banner-button-options input[type=checkbox]{accent-color:#8c6ac6}
.settings-editor .banner-button-help{font-size:10px;margin:12px 0 0}
@media(max-width:480px){.settings-banner-button{padding:12px}.settings-banner-button .fields{gap:0}.banner-button-options{gap:12px}.settings-banner-header button{font-size:9px}}

/* Unsaved edits confirmation */
.discard-dialog .discard-confirm-symbol{background:linear-gradient(140deg,#fff7e9,#fff0ed);border-color:#f8e4cd;color:#cc9653}
#discardConfirmDescription{font-size:15px;font-weight:500;line-height:1.8;color:#2a3953;margin:0 0 12px}
.discard-dialog .publish-confirm-help{margin:0;font-size:12px;line-height:1.9}
.discard-dialog .discard-confirm-footer button{font-weight:500}
.discard-dialog .discard-confirm-button{background:linear-gradient(110deg,#d7607b,#c64b68);border-color:#cf5572;color:white;box-shadow:0 4px 12px #bd44691a}
.discard-dialog .discard-confirm-button:hover{background:linear-gradient(110deg,#c94d6a,#b83c59);border-color:#ba4160}
.discard-dialog .discard-confirm-button:focus-visible{outline-color:#e5a0b1}
.discard-dialog .discard-confirm-button svg{flex-shrink:0}
@media(max-width:480px){.discard-dialog .discard-confirm-footer button{font-size:11px;padding:10px 11px}}

/* Homepage statistics controls */
.settings-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:17px}
.settings-stat-card{border:1px solid #e4e7f1;border-radius:13px;overflow:hidden;min-width:0}
.settings-stat-preview{display:flex;align-items:center;gap:15px;min-height:106px;padding:20px;background:linear-gradient(120deg,#111d33,#192840);color:white}
.settings-stat-preview>[data-stat-icon]{width:37px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.settings-stat-preview img,.settings-stat-preview svg{width:37px;height:37px;object-fit:contain}
.settings-stat-preview>div{min-width:0}
.settings-stat-preview strong{display:block;font-size:27px;font-weight:600;line-height:1.35;color:white;overflow-wrap:anywhere}
.settings-stat-preview [data-stat-caption]{display:block;font-size:9px;color:#aab5cc;text-transform:uppercase;line-height:1.7;overflow-wrap:anywhere}
.settings-stat-fields{padding:17px;background:#fdfdff}
.settings-stat-value-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:13px;align-items:start}
.settings-stat-suffix>span{display:block;font-size:12px;color:#39465d;margin-bottom:8px;line-height:1.6}
.settings-stat-suffix .banner-style-picker{min-height:46px;align-items:center}
.settings-editor .settings-stat-suffix label{margin:0}
.settings-editor .settings-stat-fields>label:last-child{margin-bottom:0}
.settings-editor .settings-stat-fields .media-field input{font-size:11px;min-width:0}
@media(max-width:1150px){.settings-stats-grid{grid-template-columns:1fr}}
@media(max-width:960px) and (min-width:701px){.settings-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.settings-stat-preview{padding:18px;gap:13px}.settings-stat-fields{padding:15px}.settings-stat-value-row{gap:10px}}

.settings-stat-preview img{filter:brightness(0) invert(1)}

/* Homepage client logo library */
.settings-clients-list{display:grid;gap:15px;margin-bottom:16px}
.settings-client-row{display:grid;grid-template-columns:135px minmax(0,1fr);gap:19px;padding:18px;border:1px solid #e7e8f2;border-radius:13px;background:#fdfdff;min-width:0}
.settings-client-preview{display:flex;align-items:center;justify-content:center;min-width:0;min-height:100px;align-self:start;border:1px solid #e9eaf1;border-radius:10px;background-color:#f7f8fc;background-image:linear-gradient(45deg,#ecedf5 25%,transparent 25%),linear-gradient(-45deg,#ecedf5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ecedf5 75%),linear-gradient(-45deg,transparent 75%,#ecedf5 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0;padding:13px}
.settings-client-preview img{display:block;max-width:100%;max-height:90px;object-fit:contain}
.settings-client-preview svg{width:26px;height:26px;color:#b0a4c9}
.settings-client-fields{min-width:0}
.settings-client-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.settings-client-actions button{font-size:10px;min-height:30px;padding:5px 8px;font-weight:400;color:#8c72b5;background:#f8f5ff;border-color:#e9e0f7}
.settings-client-actions button[data-client-remove]{margin-left:auto;background:#fff8fa;border-color:#f2e2e9;color:#bc7a8f;gap:5px}
.settings-client-actions svg{width:13px;height:13px}
.settings-client-actions button:disabled{cursor:default;opacity:.35}
@media(max-width:1100px){.settings-client-row{grid-template-columns:100px minmax(0,1fr);gap:15px;padding:15px}}
@media(max-width:600px){.settings-client-row{grid-template-columns:1fr}.settings-client-preview{min-height:90px}.settings-client-preview img{max-height:65px}.settings-client-actions button[data-client-remove]{margin-left:auto}}

/* Client review editing */
.review-toolbar>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.settings-editor .review-toolbar .button{font-size:11px;min-height:35px;padding:8px 11px;color:#8c73b4;font-weight:400;gap:6px;border-color:#e8e1f5}
.review-toolbar .button svg{width:15px;height:15px}
.settings-reviews-list{display:grid;gap:18px;margin-bottom:16px}
.settings-review-row{padding:19px;border:1px solid #e5e6f2;border-radius:13px;background:#fdfdff;min-width:0}
.settings-review-top{display:flex;gap:13px;align-items:center;border-bottom:1px solid #ececf4;padding-bottom:17px;margin-bottom:18px}
.settings-review-photo{display:grid;place-items:center;width:54px;height:54px;flex-shrink:0;border-radius:50%;background:#f0ecf8;overflow:hidden;border:3px solid white;box-shadow:0 0 0 1px #e9e3f5}
.settings-review-photo img{width:100%;height:100%;object-fit:cover}
.settings-review-photo svg{width:24px;height:24px;color:#a18ac4}
.settings-review-top>div{min-width:0}
.settings-editor .settings-review-top h3{font-size:13px;font-weight:500;margin:0 0 4px;color:#51617a;overflow-wrap:anywhere}
.settings-review-top [data-review-role]{font-size:10px;color:#97a0b3;overflow-wrap:anywhere}
.settings-review-row .settings-client-actions button[data-review-remove]{margin-left:auto;background:#fff8fa;border-color:#f2e2e9;color:#bc7a8f;gap:5px}
@media(max-width:480px){.settings-review-row{padding:15px}.review-toolbar{align-items:flex-start}.review-toolbar>div{gap:6px}.settings-editor .review-toolbar button,.settings-editor .review-toolbar .button{font-size:10px;padding:7px 9px}}

/* Collapsed Website Settings sections */
.settings-editor [data-settings-section]{padding:20px 23px;margin-bottom:15px}
.settings-editor [data-settings-section]>.editor-card-heading{margin:0;padding:0;border:0;gap:12px}
.settings-editor [data-settings-section]>.editor-card-heading>div{min-width:0}
.settings-editor .settings-section-toggle{margin-left:auto;flex-shrink:0;min-height:35px;padding:7px 11px;gap:7px;border:1px solid #e4dcf7;border-radius:9px;background:#f6f2ff;color:#8563bf;font-size:11px;font-weight:500}
.settings-section-toggle svg{width:15px;height:15px;transition:transform .16s}
.settings-section-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.settings-editor .settings-section-toggle:hover{background:#eee7fc;border-color:#d6c8f0}
.settings-editor .settings-section-body{margin-top:21px;padding-top:21px;border-top:1px solid #edf0f6}
.settings-section-body[hidden]{display:none!important}
@media(max-width:600px){.settings-editor [data-settings-section]{padding:18px 16px}.settings-editor [data-settings-section]>.editor-card-heading{gap:10px}.settings-editor [data-settings-section] .editor-section-icon{width:35px;height:35px;border-radius:10px}.settings-editor [data-settings-section] .editor-card-heading h2{font-size:14px}.settings-editor [data-settings-section] .editor-card-heading p{font-size:10px}.settings-editor .settings-section-toggle{padding:7px 8px;gap:4px;font-size:10px}.settings-editor .settings-section-body{margin-top:18px;padding-top:18px}}
@media(prefers-reduced-motion:reduce){.settings-section-toggle svg{transition:none}}

/* Enquiry email composer and audit trail */
.enquiry-email{border-top:1px solid #ebe7f6;margin-top:25px;padding-top:24px}
.enquiry-email-heading{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.enquiry-email-heading>span{display:flex;color:#9775d1}.enquiry-email-heading svg{width:18px;height:18px}
.enquiry-email-heading h3{font-size:14px;font-weight:500;margin:0;color:#4e5b74}
.enquiry-email-heading button{margin-left:auto;min-height:34px;padding:7px 10px;font-size:11px;color:#855bc6;background:#f6f1ff;border-color:#e8def8;font-weight:400}
.email-setup-note{font-size:11px;line-height:1.8;color:#9a8cac;margin:12px 0 18px}
.email-addresses{border:1px solid #ece6f6;background:#faf8ff;padding:12px 14px;border-radius:10px;margin-bottom:18px}
.email-addresses p{display:flex;gap:10px;align-items:baseline;margin:3px 0;font-size:11px;color:#8c81a0;overflow-wrap:anywhere}
.email-addresses p>span{flex:0 0 32px}.email-addresses strong{font-weight:400;color:#6a5d82;min-width:0}
.enquiry-dialog #enquiryReplyForm label{font-size:12px;font-weight:400;color:#8f80a6}
.enquiry-dialog #enquiryReplyForm input,.enquiry-dialog #enquiryReplyForm textarea{font-size:12px;background:#fdfcff;border-color:#e7e1f1;font-weight:400}
.email-compose-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:16px}
.email-compose-actions button{font-size:11px;min-height:37px;padding:8px 11px;font-weight:400;gap:7px}
.email-compose-actions svg{width:16px;height:16px}
.email-compose-actions .primary{background:linear-gradient(110deg,#8b5de8,#7045d2);border-color:#8254df}
.email-preview{background:#fcfbff;border:1px solid #e8dff7;border-radius:12px;padding:17px}
.email-preview h4{font-size:12px;font-weight:500;color:#6e5d87;margin:0 0 12px;overflow-wrap:anywhere}
.email-preview-recipient{font-size:11px;color:#9a8baa;overflow-wrap:anywhere}
.email-message-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;font-weight:400;color:#67748b;line-height:1.9}
.email-history-heading{display:flex;align-items:center;gap:9px;margin:23px 0 12px}
.email-history-heading h4{font-size:12px;font-weight:500;color:#7e6e96;margin:0}
.email-history-heading span{font-size:10px;color:#a394b7;background:#f1edf7;border-radius:5px;padding:2px 6px}
.email-history-empty{font-size:11px;color:#a397b4;margin:0}
.email-history-item{border:1px solid #e9e4f2;border-radius:9px;padding:12px 13px;margin-top:9px;background:#fdfcff}
.email-history-item summary{cursor:pointer;display:flex;gap:10px;justify-content:space-between;align-items:center;font-size:10px;color:#a091b1;list-style:none}
.email-history-item summary::-webkit-details-marker{display:none}
.email-history-item summary:after{content:'+';font-size:15px;color:#aa91c7}.email-history-item[open] summary:after{content:'-'}
.email-history-item h4{font-size:12px;font-weight:500;color:#6f5b89;margin:14px 0 9px;overflow-wrap:anywhere}
.email-history-meta{font-size:10px;line-height:1.9;color:#9a90a8;overflow-wrap:anywhere}
.email-history-status{font-size:9px;padding:4px 6px;border-radius:5px;background:#f2eaf9;color:#9879b4}
.email-history-status.is-sent{background:#eaf6ef;color:#6aa386}.email-history-status.is-failed{background:#fff0f2;color:#c47f93}
.email-history-warning,.email-send-warning{font-size:11px;line-height:1.8;color:#bd7e67;background:#fff6ef;border-radius:8px;padding:11px 13px}
.email-send-success{font-size:11px;line-height:1.8;color:#559778;background:#edf8f2;border-radius:8px;padding:11px 13px;margin-bottom:16px}
#emailSendNotice:empty{display:none}
#enquiryReplyForm[hidden],#enquiryEmailPreview[hidden],[data-email-compose][hidden]{display:none!important}
@media(max-width:480px){.email-addresses p{display:block}.email-addresses p>span{margin-right:8px}.email-compose-actions{gap:7px}.email-compose-actions button{font-size:10px}.email-history-item summary{flex-wrap:wrap}.email-preview{padding:14px}.enquiry-email-heading h3{font-size:13px}}

/* Marketing workspace within Enquiries */
.marketing-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px;padding-bottom:17px;border-bottom:1px solid #e5e6f0}
.marketing-tabs button{min-height:39px;padding:9px 13px;font-size:12px;font-weight:400;gap:8px;color:#8e82a4;background:transparent;border-color:transparent}
.marketing-tabs svg{width:17px;height:17px}
.marketing-tabs button[aria-pressed=true]{color:#8158c4;background:#f0eafa;border-color:#e5daf8}
.marketing-connection{display:flex;gap:13px;align-items:center;border:1px solid #e7dff5;background:#faf7ff;padding:17px 20px;border-radius:13px;margin-bottom:22px}
.marketing-connection>span{display:flex;color:#a386c8}.marketing-connection svg{width:23px;height:23px}
.marketing-connection strong{font-size:13px;color:#78618f;font-weight:500}.marketing-connection p{font-size:11px;color:#a293b3;line-height:1.8;margin:5px 0 0}
.marketing-connection a{margin-left:auto;flex-shrink:0;font-size:11px;color:#9473bd}
.marketing-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px}
.marketing-toolbar button{font-size:12px;min-height:38px;padding:9px 13px;font-weight:500}
.marketing-counts{display:flex;flex-wrap:wrap;gap:9px;color:#94a0b3;font-size:11px}.marketing-counts>span{padding:6px 9px;background:white;border:1px solid #e7eaf3;border-radius:7px}
.marketing-scope{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:17px}
.marketing-scope button{font-size:11px;font-weight:400;padding:6px 10px;min-height:31px;background:white;color:#9a8eab;border-color:#e9e3f2}
.marketing-scope button[aria-pressed=true]{background:#f0e9fb;color:#8a61bd;border-color:#e6d9f8}
.marketing-campaign-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.marketing-campaign-card{background:white;border:1px solid #e3e7f2;border-radius:15px;padding:21px;min-width:0}
.marketing-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.marketing-card-top>span{display:flex;padding:9px;border-radius:11px;background:#f3edfb;color:#a286c9}.marketing-card-top svg{width:21px;height:21px}.marketing-card-top small{font-size:10px;background:#fbf2df;color:#bb9d61;padding:4px 7px;border-radius:5px}
.marketing-campaign-card h3{font-size:15px;font-weight:500;color:#55637c;overflow-wrap:anywhere;margin:0 0 9px}
.marketing-subject{font-size:12px;color:#8e9ab0;overflow-wrap:anywhere;margin:0 0 12px}
.marketing-card-meta{font-size:10px;color:#a1a9b9;line-height:1.9;margin:0 0 16px}
.marketing-card-actions{display:flex;gap:7px;flex-wrap:wrap}.marketing-card-actions button{font-size:10px;font-weight:400;min-height:31px;padding:6px 9px;background:#faf7ff;color:#977abd;border-color:#eadff8}.marketing-card-actions svg{width:14px;height:14px}
.marketing-empty{grid-column:1/-1;text-align:center;border:1px dashed #e4ddf2;border-radius:13px;padding:37px 20px;background:#fdfcff;color:#a29bb0}
.marketing-empty>span{display:inline-flex;color:#b3a0cd}.marketing-empty svg{width:29px;height:29px}.marketing-empty h3{font-size:14px;font-weight:500;color:#929bb0;margin:13px 0 9px}.marketing-empty p{font-size:12px;line-height:1.8;margin:0}
.marketing-editor-label{font-size:12px;color:#9a8bae}
.marketing-options{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 20px}
.marketing-options label{position:relative;cursor:pointer;margin:0!important;font-size:11px!important;font-weight:400!important}
.marketing-options input{position:absolute;width:1px!important;min-height:0!important;height:1px!important;padding:0!important;margin:0!important;opacity:0}
.marketing-options span{display:block;border:1px solid #e6e2f1;background:#fcfbfe;color:#a08db5;border-radius:8px;padding:8px 10px}
.marketing-options input:checked+span{background:#efe8fb;border-color:#d9c9f3;color:#875fba}.marketing-options input:focus-visible+span{outline:2px solid #b69adb;outline-offset:2px}
.campaign-editor .editor-side h2{font-size:15px}.campaign-editor .editor-side .marketing-options{display:grid;gap:8px}
.campaign-editor .editor-side button:disabled{cursor:default;opacity:.5}
.marketing-templates{display:flex;gap:6px;flex-wrap:wrap;align-items:center;padding:12px;background:#faf8fe;border-radius:10px;margin-bottom:20px}
.marketing-templates>span{font-size:10px;color:#a08fb1;flex-basis:100%;margin-bottom:3px}
.marketing-templates button{font-size:10px;font-weight:400;min-height:28px;padding:5px 8px;border-color:#e8dff4;color:#9b7fbc;background:white}
.marketing-contact-tools{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:18px;flex-wrap:wrap}.marketing-contact-tools .project-search{max-width:400px;flex:1;min-width:190px}.marketing-contact-tools .marketing-scope{margin:0}
.marketing-contact-email{display:block;font-size:11px;margin-top:5px;overflow-wrap:anywhere}
.marketing-subscriber-table th{font-size:10px}.marketing-subscriber-table td{font-size:11px;color:#8c98ad}.marketing-subscriber-table td strong{font-size:12px;font-weight:500;color:#5b6983;overflow-wrap:anywhere}
.marketing-status{display:inline-block;font-size:9px;border-radius:5px;padding:5px 7px;background:#f0eaf7;color:#aa8cbb}.marketing-status.subscribed{background:#eaf6ef;color:#77a28b}
.marketing-pagination{display:flex;gap:12px;align-items:center;justify-content:flex-end;padding:15px 18px;border-top:1px solid #edf0f6;font-size:11px;color:#a298af}.marketing-pagination button{font-size:10px;font-weight:400;min-height:30px;padding:5px 9px}
.marketing-dialog-intro{font-size:12px;color:#9a8dad;line-height:1.9;margin:13px 26px 20px}
.marketing-dialog-fields{padding:0 26px 18px}.marketing-dialog-fields label{font-size:12px;font-weight:400;color:#8c7b9f}.marketing-dialog-fields input,.marketing-dialog-fields textarea{font-size:12px;font-weight:400}.marketing-dialog-fields .check{font-size:11px;line-height:1.8;display:flex;align-items:flex-start}.marketing-dialog-fields .check input{flex-shrink:0;margin-top:3px}
.marketing-field-label{font-size:12px;color:#8c7b9f}
.marketing-consent-history{padding:0 26px 20px}.marketing-consent-history article{padding:15px;border:1px solid #ece5f6;background:#fcfaff;border-radius:10px;margin-top:12px}.marketing-consent-history strong{font-size:12px;font-weight:500;color:#8c73aa}.marketing-consent-history small{display:block;font-size:10px;margin-top:5px;color:#a79ab5}.marketing-consent-history p{font-size:12px;line-height:1.9;color:#8e9bb0;white-space:pre-wrap;overflow-wrap:anywhere}.marketing-consent-history article>span{font-size:10px;color:#afa2bd;overflow-wrap:anywhere}
.campaign-preview-dialog{width:min(720px,calc(100vw - 32px));padding:26px}.campaign-preview-dialog .dialog-head .project-dialog-icon{display:none}.campaign-preview-dialog .dialog-head button svg{width:17px;height:17px}
.marketing-preview-count{font-size:11px;color:#9c8dad;line-height:1.8;margin:10px 0 18px}
.campaign-email-preview{border:1px solid #e7e9f1;border-radius:13px;background:white;overflow:hidden;padding:24px;color:#51627d}
.campaign-preview-image{display:block;width:100%;max-height:260px;object-fit:contain;margin-bottom:22px}
.campaign-email-preview h3{font-size:19px;line-height:1.6;color:#344b70;overflow-wrap:anywhere}.campaign-preview-message{font-size:14px;line-height:1.9;overflow-wrap:anywhere}.campaign-preview-link{display:inline-block;padding:11px 17px;border-radius:9px;background:#7750db;color:white!important;font-size:13px}
.campaign-email-preview footer{border-top:1px solid #e8ebf2;margin-top:26px;padding-top:19px;font-size:11px;color:#9aa2b3;line-height:1.8}.campaign-email-preview footer strong{font-weight:500;color:#7f8b9e}.campaign-email-preview footer>span{text-decoration:underline}.campaign-email-preview footer small{font-size:10px;display:block;margin-top:7px;color:#a6acb9}
@media(max-width:1000px){.marketing-campaign-grid{grid-template-columns:1fr}.marketing-connection{align-items:flex-start;flex-wrap:wrap}.marketing-connection a{margin-left:36px}}
@media(max-width:600px){.marketing-tabs{gap:4px}.marketing-tabs button{font-size:10px;padding:8px 9px;gap:6px}.marketing-tabs svg{width:15px;height:15px}.marketing-toolbar{flex-wrap:wrap}.marketing-toolbar button{font-size:11px}.marketing-campaign-card{padding:18px}.marketing-connection{padding:15px}.marketing-connection p{font-size:10px}.marketing-contact-tools .project-search{max-width:none}.marketing-subscriber-table thead{display:none}.marketing-subscriber-table tr{display:block;padding:13px 16px;border-bottom:1px solid #edf0f7}.marketing-subscriber-table td{display:block;border:0;padding:6px 0}.marketing-subscriber-table td[data-column]:before{content:attr(data-column) ': ';color:#a6adbc;margin-right:7px}.marketing-subscriber-table .marketing-card-actions{margin-top:7px}.marketing-pagination{justify-content:center;padding:13px 9px;gap:8px}.marketing-dialog-fields{padding:0 20px 16px}.marketing-dialog-intro{margin:13px 20px 18px}.marketing-consent-history{padding:0 20px 18px}.campaign-email-preview{padding:18px}.campaign-email-preview h3{font-size:17px}}

.marketing-contact-tools .project-search{position:relative}
.marketing-contact-tools .project-search>svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:17px;height:17px;color:#b09bce;pointer-events:none}
.marketing-contact-tools .project-search input{width:100%;min-height:46px;margin:0;padding:12px 13px 12px 41px;font-size:12px;font-weight:400;border-color:#dfe4f0;border-radius:10px}

/* Campaign preview: fixed controls and a scrollable email canvas. */
dialog.campaign-preview-dialog{width:min(780px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;overflow:hidden;border:1px solid #e5e5f1;border-radius:22px;background:#fff;color:#192b46;box-shadow:0 28px 90px #17233a38}
.campaign-preview-dialog #modalBody{display:flex;flex-direction:column;max-height:calc(100dvh - 34px);min-height:0}
.campaign-preview-dialog .dialog-head{display:flex;align-items:center;gap:12px;padding:22px 26px;margin:0;border-bottom:1px solid #edf0f7;flex-shrink:0}
.campaign-preview-dialog .dialog-head .project-dialog-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:#eee8ff;color:#7750db}
.campaign-preview-dialog .project-dialog-icon svg{width:21px;height:21px}
.campaign-preview-dialog .dialog-head h2{font-size:19px;line-height:1.4;margin:0;flex:1;font-weight:600}
.campaign-preview-dialog .dialog-head button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#f2f4f9;color:#8794ac}
.campaign-preview-dialog .dialog-head button:hover{background:#eee8ff;color:#7750db}
.campaign-preview-summary{display:flex;align-items:center;flex-wrap:wrap;gap:9px 12px;padding:16px 26px;background:#fff;flex-shrink:0}
.campaign-preview-mode{display:inline-flex;align-items:center;gap:6px;border-radius:7px;background:#f1ecff;padding:6px 9px;font-size:11px;font-weight:500;color:#7954c7}
.campaign-preview-mode svg{width:14px;height:14px}
.campaign-preview-summary .marketing-preview-count{font-size:11px;color:#78869e;margin:0;line-height:1.5}
.campaign-preview-summary p{width:100%;font-size:12px;color:#8692a8;line-height:1.7;margin:0}
.campaign-preview-canvas{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ccc4e6 transparent;padding:24px;background:#f4f5fa;border-top:1px solid #edf0f7;border-bottom:1px solid #edf0f7}
.campaign-preview-canvas .campaign-email-preview{max-width:640px;margin:auto;padding:0;border:1px solid #e7e9f1;border-radius:14px;box-shadow:0 5px 18px #26395507;overflow:hidden}
.campaign-preview-canvas .campaign-preview-image{width:100%;max-height:300px;object-fit:contain;margin:0;background:#eef0f6}
.campaign-preview-canvas .campaign-email-preview h3{font-size:22px;font-weight:600;line-height:1.5;color:#1c3150;margin:26px 30px 16px}
.campaign-preview-canvas .campaign-preview-message{font-size:14px;color:#5b6b83;line-height:1.95;margin:0 30px 24px}
.campaign-preview-canvas .campaign-email-preview>p{margin:0 30px 24px}
.campaign-preview-canvas .campaign-preview-link{background:#754de0;border-radius:9px;padding:12px 20px;text-decoration:none;font-weight:500}
.campaign-preview-canvas .campaign-email-preview footer{margin:30px 0 0;padding:23px 30px;background:#fafbfe;border-top:1px solid #edf0f7;font-size:12px;color:#8b96a9;line-height:1.8}
.campaign-preview-canvas .campaign-email-preview footer strong{color:#53657f;font-weight:500}
.campaign-preview-canvas .campaign-email-preview footer p{margin:8px 0 12px}
.campaign-preview-canvas .campaign-email-preview footer small{font-size:11px;line-height:1.7}
.campaign-preview-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 26px;flex-shrink:0;background:#fff}
.campaign-preview-actions>span{display:flex;align-items:center;gap:7px;font-size:11px;color:#95a0b3}
.campaign-preview-actions svg{width:15px;height:15px}
.campaign-preview-actions button{font-size:12px;background:#7750db;color:#fff;border:0;border-radius:9px;padding:10px 17px}
.campaign-preview-actions button:hover{background:#6540c5}
@media(max-width:600px){dialog.campaign-preview-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:17px}.campaign-preview-dialog #modalBody{max-height:calc(100dvh - 22px)}.campaign-preview-dialog .dialog-head{padding:16px;gap:9px}.campaign-preview-dialog .dialog-head h2{font-size:16px}.campaign-preview-summary{padding:13px 16px}.campaign-preview-summary p{font-size:11px}.campaign-preview-canvas{padding:12px}.campaign-preview-canvas .campaign-email-preview h3{font-size:19px;margin:21px 20px 13px}.campaign-preview-canvas .campaign-preview-message{margin:0 20px 20px;font-size:13px}.campaign-preview-canvas .campaign-email-preview>p{margin:0 20px 20px}.campaign-preview-canvas .campaign-email-preview footer{padding:20px}.campaign-preview-actions{padding:13px 16px}}

.marketing-card-actions button.marketing-delete{background:#fff5f6;color:#c3516a;border-color:#f3dbe1}.marketing-card-actions button.marketing-delete:hover{background:#cf4765;border-color:#cf4765;color:white}

.user-list-avatar{position:relative;overflow:hidden}.user-list-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 25%;display:block;background:#f4effb}

/* Refined sidebar navigation. */
.sidebar nav{display:grid;gap:5px;padding:7px;background:#0d192b38;border:1px solid #ffffff09;border-radius:16px}
.sidebar nav button{position:relative;min-height:44px;width:100%;padding:7px 10px;gap:11px;border:1px solid transparent;border-radius:10px;font-size:12px;font-weight:400;letter-spacing:.05px;line-height:1.6;color:#a8b5cf;transform:none;box-shadow:none;transition:background .18s,color .18s,border-color .18s,box-shadow .18s}
.sidebar nav .nav-icon{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border:1px solid #b4a1dc0a;border-radius:9px;background:#b3a0d508;color:#ab9cc9;transition:background .18s,color .18s,border-color .18s}
.sidebar nav .nav-icon svg{width:18px;height:18px;stroke-width:1.7}
.sidebar nav button:hover{transform:none;background:#a98bd510;border-color:#b9a0e116;color:#e2d9f4}
.sidebar nav button:hover .nav-icon{background:#bca3e315;border-color:#bca3e315;color:#d9c6f6}
.sidebar nav button.active,.sidebar nav button.active:hover{border:1px solid #bba0f033;border-left:1px solid #bba0f033;background:linear-gradient(115deg,#7c58cd,#6350a7);color:#fff;font-weight:500;box-shadow:0 4px 13px #070d2229;transform:none}
.sidebar nav button.active:before,.sidebar nav button.active:after{content:none;display:none}
.sidebar nav button.active .nav-icon,.sidebar nav button.active:hover .nav-icon{background:#ffffff17;border-color:#ffffff13;color:#faf5ff}
.sidebar nav button:focus-visible{outline:2px solid #d0b8f4;outline-offset:2px}
@media(max-width:1050px) and (min-width:761px){.sidebar nav{padding:6px}.sidebar nav button{font-size:11px;gap:9px;padding:7px 8px}.sidebar nav .nav-icon{width:28px;height:28px;flex-basis:28px}}
@media(max-width:760px){.sidebar nav{display:flex;flex-wrap:wrap;gap:6px;padding:7px;border-radius:13px}.sidebar nav button{width:auto;min-height:39px;padding:6px 9px;font-size:10.5px;gap:7px;border-radius:9px}.sidebar nav .nav-icon{width:24px;height:24px;flex-basis:24px;border-radius:7px}.sidebar nav .nav-icon svg{width:16px;height:16px}}
@media(prefers-reduced-motion:reduce){.sidebar nav button,.sidebar nav .nav-icon{transition:none}}

.recovery-dialog{width:min(480px,calc(100vw - 28px));padding:0;border-radius:20px;overflow:hidden;border:1px solid #e5e1f2;}.recovery-dialog .dialog-head{padding:20px 24px;border-bottom:1px solid #eeeaf6}.recovery-dialog .dialog-head h2{font-size:18px}.recovery-dialog .dialog-head svg{width:18px;height:18px}.recovery-body{padding:22px 24px}.recovery-body>p{color:#71819b;line-height:1.8;font-size:13px}.recovery-body input{width:100%;box-sizing:border-box}.recovery-dialog .publish-confirm-footer{padding:18px 24px}.record-trash-heading{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:22px}.record-trash-heading h2{margin:0}.record-trash-heading p{font-size:12px;color:#72829e}.record-trash-panel td>span{display:block;margin-top:5px}.record-trash-panel button svg,.record-trash-toggle svg{width:16px;height:16px;vertical-align:middle;margin-right:6px}.project-list-toolbar{flex-wrap:wrap}.record-trash-toggle{font-size:12px;padding:10px 14px}@media(max-width:600px){.record-trash-heading{align-items:flex-start;flex-direction:column}.recovery-body{padding:18px}.recovery-dialog .publish-confirm-footer{padding:16px}}

.recovery-request-success{text-align:center;padding:28px 26px 24px}.recovery-success-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 18px;background:#f0ebff;border:1px solid #e5dcfd;border-radius:20px;color:#8660d4}.recovery-success-icon svg{width:30px;height:30px}.recovery-request-success h3{font-size:20px;font-weight:600;color:#243957;margin:0 0 10px}.recovery-request-email{display:inline-block;max-width:100%;padding:7px 12px;border-radius:8px;background:#f7f5fc;color:#6d5796;font-size:12px;overflow-wrap:anywhere;box-sizing:border-box}.recovery-request-success p{font-size:13px;line-height:1.85;color:#74849e;margin:18px 0 0}.recovery-request-success .recovery-next-step{font-size:11px;color:#929db0;border-top:1px solid #eeebf6;padding-top:15px}.recovery-dialog .publish-confirm-footer{gap:10px;flex-wrap:wrap}.recovery-dialog [data-reset-another-email]{font-size:12px}@media(max-width:380px){.recovery-request-success{padding:22px 18px}.recovery-request-success h3{font-size:18px}.recovery-dialog .publish-confirm-footer{justify-content:center}}
/* Provider controls share the existing campaign workspace styling. */
.marketing-provider-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.marketing-provider-actions button,.marketing-provider-actions a{font:inherit;font-size:12px;padding:8px 11px;border:1px solid #e5ddff;border-radius:9px;background:#faf8ff;color:#7453d0;text-decoration:none}
.marketing-provider-actions button:disabled{opacity:.5;cursor:not-allowed}
