/* Shared product refinements. Client colours below are scoped to client pages. */
.main-layout>#main{margin:0 auto;padding-top:40px}
.help-card>span{display:block}
body[data-staff="true"] .sidebar .wordmark{min-height:64px;margin-bottom:18px}
body[data-staff="true"] .sidebar .bc-wordmark{max-height:64px;max-width:155px}
body[data-staff="true"] .workspace-card{padding:12px;margin-bottom:18px}
body[data-staff="true"] .workspace-avatar{display:none}
body[data-staff="true"] .sidebar .workspace-label{margin-bottom:8px}
body[data-staff="true"] .sidebar nav button{min-height:37px}
body[data-staff="true"] .sidebar-bottom{padding-top:24px}
body[data-staff="true"] .help-card{padding:13px;margin-bottom:16px}
@media(max-width:640px){.main-layout>#main{padding-top:65px}}

/* Staff database browser */
.database-summary{display:flex;align-items:center;gap:19px;flex-wrap:wrap;margin-bottom:23px;color:#95808e;font-size:11px}
.db-engine{display:inline-flex;align-items:center;gap:8px;color:#81506b;font-weight:550}
.database-summary>#db-refresh{margin-left:auto}
.db-readonly{background:#f2e8ee;border:1px solid #e8d9e2;color:#9d5b7d;border-radius:20px;padding:5px 10px;font-size:9px;letter-spacing:.2px}
.database-workspace{display:grid;grid-template-columns:245px minmax(0,1fr);align-items:start;background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden;min-height:470px}
.database-sidebar{background:#fcfafc;border-right:1px solid var(--line);padding:21px 13px;min-height:100%;max-height:760px;overflow:auto;scrollbar-width:thin}
.database-sidebar h2{display:flex;align-items:center;justify-content:space-between;font-size:12px;padding:0 9px;margin-bottom:13px}
.database-table-list{display:flex;flex-direction:column;gap:4px}
.database-table-list button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;text-align:left;padding:10px 9px;border:1px solid transparent;border-radius:6px}
.database-table-list button:hover{background:#f9eff4}
.database-table-list button.active{background:#fae8f0;border-color:#f0d4e0;color:#a33565}
.database-table-list button>span{display:flex;align-items:center;gap:9px;min-width:0}
.database-table-list svg{width:15px;height:15px;color:#b3889e}
.database-table-list strong{display:block;font-size:10px;font-weight:550;line-height:1.5}
.database-table-list small{display:block;font-family:ui-monospace,monospace;font-size:8px;color:#a991a0;margin-top:3px;overflow-wrap:anywhere}
.database-table-list em{font-style:normal;font-size:9px;background:#f3edf1;color:#a08095;padding:3px 5px;border-radius:4px;flex-shrink:0}
.database-sidebar .dataset-heading{border-top:1px solid #eee4eb;padding-top:21px;margin-top:19px;margin-bottom:8px}
.db-sidebar-note{font-size:9px;line-height:1.65;color:#a58d9d;padding:0 9px;margin-bottom:12px}
.database-panel{min-width:0}
.db-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:22px;border-bottom:1px solid var(--line)}
.db-table-name{font-family:ui-monospace,monospace;font-size:10px;display:block;color:#ac8499;margin-bottom:8px;overflow-wrap:anywhere}
.db-panel-heading h2{font-size:19px;line-height:1.4}
.db-view-tabs{display:flex;border:1px solid #e8dae3;padding:3px;border-radius:7px;flex-shrink:0}
.db-view-tabs button{font-size:10px;border-radius:4px;padding:8px 10px;color:#a28294}
.db-view-tabs button.active{background:#fae8f0;color:#a13d68}
.db-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 22px;border-bottom:1px solid var(--line)}
.db-toolbar .search-field{max-width:320px}
.db-size-label{display:flex;align-items:center;gap:8px;font-size:9px;margin:0;color:#a48b9a;white-space:nowrap}
.db-size-label>select{width:65px;font-size:10px;margin:0;padding:8px}
.db-records{max-height:540px;scrollbar-width:thin}
.database-panel th,.database-panel td{font-family:ui-monospace,SFMono-Regular,monospace;font-size:10px;padding:13px 15px}
.database-panel th{position:sticky;top:0;z-index:2;background:#fcf7fa;color:#a17690}
.database-panel th button{font:inherit;display:flex;gap:5px;align-items:center;padding:0}
.database-panel th button:disabled{cursor:default;opacity:.6}
.database-panel td{color:#7d6875;vertical-align:top}
.database-panel .db-cell{display:block;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.6}
.db-cell i{font-style:normal;color:#b9a8b3}
.db-json-tag{display:inline-block;font-size:8px;padding:1px 4px;border-radius:3px;background:#f4e9f0;color:#a4708e;margin-right:5px;font-family:inherit}
.db-protected-cell{color:#b99aaa!important}
.db-inspect-column{min-width:86px}
.db-inspect-button{display:inline-flex;gap:5px;align-items:center;padding:0;color:#ad5c82;font:inherit}
.db-inspect-button svg{width:12px;height:12px}
.db-inspect-button:hover{color:#d7225e;text-decoration:underline}
.db-schema table{white-space:normal}
.db-schema td{font-family:inherit;color:#98788c}
.db-schema code{font-size:11px;color:#93627e}
.db-key,.db-masked{font-size:9px;display:inline-block;padding:4px 6px;border-radius:4px;background:#f7e6ef;color:#ae6c91}
.db-relationships{padding:23px;border-top:1px solid #eee1e9}
.db-relationships h3{font-size:12px;margin-bottom:13px}
.db-relationship{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #efdae5;background:#fcf7fa;border-radius:7px;padding:13px;color:#a96c8e;margin-bottom:8px;font-size:10px;max-width:100%;text-align:left}
.db-relationship code{overflow-wrap:anywhere}
.db-protection-note{display:flex;gap:8px;align-items:flex-start;font-size:10px;line-height:1.8;color:#a28697;margin-top:18px}
.db-protection-note svg{width:14px;height:14px;margin-top:3px;flex-shrink:0}
.database-record-dialog{border:1px solid #e8d8e2;border-radius:13px;padding:0;width:min(780px,94vw);max-height:90vh;color:var(--ink);box-shadow:0 25px 90px #45203335}
.db-record-fields{padding:24px 30px;max-height:60vh;overflow:auto}
.db-record-fields section{margin-bottom:20px}
.db-record-fields h3{font-family:ui-monospace,monospace;color:#a26f8d;font-size:11px;margin-bottom:8px}
.db-record-fields pre{margin:0;max-height:300px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #f0e2ea;background:#fdf9fb;border-radius:6px;padding:13px;font-size:11px;line-height:1.7;color:#7d6373}
.database-record-dialog .dialog-footer>.button{flex-shrink:0}
@media(max-width:1100px){.database-workspace{grid-template-columns:205px minmax(0,1fr)}.db-panel-heading{padding:18px;flex-wrap:wrap}.db-toolbar{padding:15px 18px;flex-wrap:wrap}.db-toolbar .search-field{max-width:none}.db-size-label{margin-left:auto}.db-panel-heading h2{font-size:17px}.database-summary{gap:13px}}
@media(max-width:750px){.database-workspace{grid-template-columns:1fr}.database-sidebar{max-height:270px;border-right:0;border-bottom:1px solid var(--line)}.database-table-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.database-sidebar .dataset-heading{margin-top:12px;padding-top:14px}.database-panel .search-field{min-width:0}.database-summary{font-size:10px;gap:10px}.database-summary>#db-refresh{margin-left:0}.db-records{max-height:450px}.database-panel .pagination{gap:10px}.db-record-fields{padding:22px 20px}.database-record-dialog .dialog-footer{flex-wrap:wrap}.database-record-dialog .dialog-footer>span{max-width:none}}
.login-layout .login-story{background:#811b42;position:relative;isolation:isolate;padding:38px 10% 35px;min-height:100dvh;gap:38px}
.login-layout .login-story::before{content:none}
.login-layout .login-story .wordmark{align-self:flex-start;z-index:1;width:220px;flex-shrink:0}
.login-layout .login-story .bc-wordmark{max-width:220px}
.login-layout .login-story .login-copy{position:relative;z-index:1;margin-top:45px}
.login-layout .login-story .eyebrow{color:#f1b5d0;letter-spacing:1.8px}
.login-layout .login-story h1{color:#fff;font-size:clamp(36px,3.6vw,54px);line-height:1.13;margin:17px 0 20px;letter-spacing:-1.6px}
.login-layout .login-story .login-copy>p{color:#f4c8dc;max-width:355px;font-size:14px;line-height:1.85}
.login-layout .login-story .login-outro{position:relative;z-index:1}
.login-layout .login-story .login-outro>p{color:#f9d9e8;font-size:20px;line-height:1.35;letter-spacing:-.4px;margin-bottom:24px}
.login-layout .login-story small{color:#e6acc6;font-size:10px}
.login-layout .login-story .login-art{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.login-shape{position:absolute;display:block}
.shape-petal{width:320px;height:320px;right:-175px;top:32%;border-radius:50% 50% 0 50%;background:#d7225e;transform:rotate(-30deg);opacity:.8}
.shape-circle{width:330px;height:330px;left:-165px;bottom:-170px;border-radius:50%;background:#e586b3;opacity:.25}
.shape-ring{width:155px;height:155px;border:1px solid #eb9abd;right:18px;bottom:48px;border-radius:50%;opacity:.45}
@media(max-width:850px){.login-layout .login-story{padding-left:9%;padding-right:9%}.login-layout .login-story h1{font-size:37px}.login-layout .login-story .login-copy>p{font-size:12px}.shape-petal{right:-220px}.shape-ring{width:110px;height:110px;right:10px;bottom:65px}}
@media(max-width:640px){.login-layout .login-story{min-height:0;padding:24px 27px 28px;gap:0}.login-layout .login-story::before{height:150px;clip-path:polygon(0 0,100% 0,100% 70%,0 100%)}.login-layout .login-story>.login-art,.login-layout .login-story>.login-copy{display:block}.login-layout .login-story .wordmark{width:155px}.login-layout .login-story .bc-wordmark{max-width:155px}.login-layout .login-story .login-copy{margin-top:42px}.login-layout .login-story .eyebrow{font-size:8px;margin-bottom:11px}.login-layout .login-story h1{font-size:34px;margin:12px 0 14px}.login-layout .login-story .login-copy>p{font-size:12px;max-width:300px}.login-layout .login-story>.login-outro{display:none}.login-layout .login-form-wrap{min-height:0;padding:40px 27px 50px}.shape-petal{width:200px;height:200px;right:-100px;top:42%}.shape-circle{width:190px;height:190px;bottom:-125px;left:-80px}.shape-ring{width:90px;height:90px;right:18px;bottom:15px}}
.welcome-brand,.login-story .wordmark,.sidebar .wordmark{background:none;border:0;border-radius:0;padding:0;box-shadow:none}
.welcome-brand{width:238px;min-height:0;margin-bottom:55px;justify-content:flex-start}
.welcome-brand .bc-wordmark{max-width:238px}
.welcome-mobile-caption{display:none}
.login-story{background:#faedf3}
.login-story .wordmark{width:240px;min-height:0}
.login-story .bc-wordmark{max-width:230px}
.login-story h1{color:#811b42}.login-story p{color:#956b80}.login-story .eyebrow{color:#a16684}.login-story small{color:#a66c8b}
.sidebar .wordmark{min-height:95px;margin-bottom:25px}
.sidebar .bc-wordmark{max-width:174px;max-height:98px}
.login-form-wrap form>label{margin:0 0 7px}
.login-input{display:block;width:100%;border:1px solid #e5dce3;border-radius:6px;padding:12px;font-size:12px;color:#54424d;background:white;margin:0 0 20px}
.password-field{position:relative;margin-bottom:22px}
.password-field .login-input{padding-right:65px;margin:0}
.password-field button{position:absolute;right:7px;top:50%;transform:translateY(-50%);padding:8px;color:#a14d75;font-size:11px;border-radius:4px}
.password-field button:hover{background:#fbeaf1}
.workspace-footer{justify-content:center;text-align:center}
.sidebar-person>div{min-width:0}.sidebar-person strong{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.5}
.help-card .text-button{margin-top:15px}
.welcome-banner h2{margin-top:0}
.ticket-section{overflow:visible}
.ticket-section-heading{flex-wrap:wrap;align-items:center;gap:18px}
.ticket-section-title{flex:1;min-width:180px}
.ticket-tools{display:flex;gap:10px;align-items:center;margin-left:auto;position:relative;min-width:260px}
.ticket-tools .search-field{min-width:180px;max-width:260px;width:220px}
.ticket-filters{position:relative;flex-shrink:0}
.ticket-filters summary{list-style:none;cursor:pointer;user-select:none;white-space:nowrap;min-height:35px}
.ticket-filters summary::-webkit-details-marker{display:none}
.ticket-filters summary svg{width:15px;height:15px}
.ticket-filters[open] summary{border-color:#d7225e;color:#d7225e;background:#fff7fa}
.filter-popover{position:absolute;z-index:25;right:0;top:calc(100% + 9px);width:258px;background:white;border:1px solid #e8dce4;border-radius:10px;box-shadow:0 10px 40px #36213220;padding:20px}
.filter-popover h3{font-size:13px;margin-bottom:17px}
.filter-popover label{font-size:11px;margin-bottom:14px}
.filter-popover select{font-size:11px;padding:9px}
.filter-popover .text-button{margin-top:3px}
.ticket-section .table-scroll{border-radius:0 0 10px 10px}
.company-table{white-space:normal;min-width:180px;max-width:240px;line-height:1.6}
.company-table .company-initial{flex-shrink:0}
.company-portal-actions{margin:18px 0 14px}.company-portal-actions .button{width:100%}
.catalogue-card .catalogue-row{display:flex;align-items:center;gap:8px;font-size:12px;padding:11px 4px;color:#76646f;line-height:1.6}
.catalogue-row small{display:block;font-size:10px;color:#9b8996}
.catalogue-row em{font-size:10px;font-style:normal;margin-left:auto}
.reference-category>.catalogue-row{font-weight:600;color:#905772;padding-top:16px;padding-bottom:13px}
.catalogue-row[hidden]{display:none!important}
.catalogue-card .reference-list{max-height:620px}
body[data-staff="false"]{--brand-pink:var(--company-color);--brand-burgundy:color-mix(in srgb,var(--company-color) 82%,black);--brand-cyan:var(--company-accent);--green:var(--company-color);--paper:color-mix(in srgb,var(--company-color) 2%,#fafbfc);--line:color-mix(in srgb,var(--company-color) 10%,white);--ink:#303840}
body[data-staff="false"] .sidebar{padding-top:30px}
body[data-staff="false"] .workspace-card{margin-bottom:30px;border:0;background:none;padding:0 6px}
body[data-staff="false"] .company-logo{height:80px;margin-bottom:18px;padding:12px;background:var(--company-color)}
body[data-staff="false"] .company-logo img{max-height:57px}
body[data-staff="false"] .workspace-card strong{font-size:16px;line-height:1.5}
body[data-staff="false"] .workspace-card>span{font-size:11px}
body[data-staff="false"] #main{margin:0 auto;padding-top:40px}
body[data-staff="false"] .page-heading h1{max-width:820px;font-size:29px;line-height:1.3}
body[data-staff="false"] .sidebar-person strong{font-size:11px;line-height:1.6}
body[data-staff="false"] .sidebar-person .avatar{width:31px;height:31px;font-size:9px}
body[data-staff="false"] .client-art-logo{max-width:130px;max-height:90px;width:82%;object-fit:contain;transform:rotate(14deg)}
.client-menu-toggle{position:fixed;z-index:21;top:14px;right:17px;width:35px;height:35px;border:1px solid var(--line);background:#fff;box-shadow:0 2px 12px #0000000a}
@media(max-width:1150px){.ticket-tools{width:100%;margin-left:0}.ticket-tools .search-field{width:auto;max-width:none;flex:1}.ticket-section-title{width:100%}}
@media(max-width:850px){body[data-staff="false"] .page-heading h1{font-size:25px}.welcome-brand{margin-bottom:45px}}
@media(max-width:640px){.welcome-brand{width:210px;margin-bottom:45px}.welcome-brand .bc-wordmark{max-width:210px}.welcome-mobile-caption{display:block!important;margin-top:35px;color:#a06a86!important;font-size:12px!important}.login-story .wordmark{width:180px}.login-story .bc-wordmark{max-width:180px}.login-story{padding:24px 25px}.login-form-wrap{min-height:calc(100dvh - 151px)}.ticket-section-heading{gap:16px}.ticket-tools{min-width:0;gap:8px}.ticket-tools .search-field{min-width:0;max-width:none}.ticket-tools .search-field input{font-size:10px}.filter-popover{width:min(270px,calc(100vw - 64px))}.filter-popover select{min-height:39px}.company-table{min-width:180px}body[data-staff="false"] #main{padding-top:65px}body[data-staff="false"] .page-heading h1{font-size:24px}body[data-staff="false"] .page-heading{flex-wrap:wrap}body[data-staff="false"] .page-heading>.button{margin-top:3px}body[data-staff="false"] .sidebar{padding-top:28px}body[data-staff="false"] .client-art-logo{max-height:50px}}

.mail-settings{padding:26px;margin-bottom:24px}.mail-settings form{max-width:920px}.mail-settings label{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.mail-settings small,.mail-settings .small{color:var(--muted);line-height:1.6}.mail-settings .mail-enabled{flex-direction:row;align-items:center;font-weight:600}.mail-enabled input{width:18px;height:18px;accent-color:var(--green)}.mail-client{padding:20px;border:1px solid var(--line);border-radius:16px;min-width:0}.mail-client p{overflow-wrap:anywhere}.delivery-badge.paused{background:#f1edf5;color:#665774}

.recipient-editor{margin:18px 0 22px}.recipient-blocks{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:12px}.recipient-block{display:inline-flex;align-items:center;max-width:100%;gap:10px;padding:9px 10px 9px 13px;background:#faf2f6;border:1px solid #ead7e1;border-radius:8px;font-size:12px;color:#703550}.recipient-block>span{overflow-wrap:anywhere;min-width:0}.recipient-block button{display:grid;place-items:center;flex-shrink:0;width:23px;height:23px;border-radius:5px;font-size:20px;color:#94637d}.recipient-block button:hover{background:#eddce5}.recipient-add{display:flex;gap:8px;max-width:490px;margin-bottom:9px}.recipient-add input{min-width:0;flex:1}.recipient-confirm{font-size:19px;min-width:44px;padding:7px}.mail-client h3{margin-bottom:14px}.company-recipients{margin:18px 0}.company-recipients>strong{font-size:11px}.company-recipients .recipient-editor{margin:12px 0}.mail-settings .section-heading{padding-left:0;padding-top:0}

.edit-attachments h3{margin:12px 0}.edit-attachments>p{margin-bottom:12px}.edit-file-row{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff;margin-bottom:8px}.edit-file-row>span{flex:1;min-width:0;font-size:12px;overflow-wrap:anywhere}.edit-file-row small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.edit-file-row .subtle-link{flex-shrink:0}.edit-file-row.file-removed{background:#faf2f2;opacity:.75}.edit-file-row.file-removed>span{text-decoration:line-through}.edit-attachments .upload-zone{margin-top:16px}.submission-dialog{width:min(560px,calc(100vw - 32px));height:auto;max-height:90dvh}.submission-close{display:flex;justify-content:flex-end;padding:16px 18px 0}.submission-content{text-align:center;padding:8px 40px 42px}.submission-check{display:grid;place-items:center;width:68px;height:68px;background:color-mix(in srgb,var(--green) 10%,white);color:var(--green);border-radius:50%;margin:0 auto 22px}.submission-check svg{width:32px;height:32px}.submission-content h2{font-size:29px;line-height:1.2;margin-bottom:15px}.submission-content>p{font-size:13px;color:var(--muted)}.submission-reference{padding:18px;margin:24px 0;font-size:12px;border:1px solid var(--line);border-radius:9px;background:var(--paper)}.submission-reference strong{display:block;font-size:22px;margin-top:7px;color:var(--green)}.timeline-item p{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:640px){.submission-content{padding:8px 24px 28px}.submission-content h2{font-size:25px}.submission-dialog{height:auto;border-radius:14px;margin:auto}}

.spinner{display:inline-block;flex-shrink:0;width:26px;height:26px;border:3px solid color-mix(in srgb,var(--green) 18%,transparent);border-top-color:var(--green);border-radius:50%;animation:portal-spin .75s linear infinite;vertical-align:middle}.loading-state{display:flex;align-items:center;justify-content:center;gap:13px;min-height:160px;padding:32px;color:var(--muted);font-size:13px}.initial-loading{gap:14px}.button-spinner{width:15px;height:15px;border-width:2px;border-color:currentColor;border-top-color:transparent;opacity:.85}.button[aria-busy=true]{display:inline-flex;align-items:center;justify-content:center;gap:9px}#reference-picker .loading-state{min-height:150px;font-size:12px}.timeline{scroll-behavior:smooth}@keyframes portal-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation-duration:1.8s!important}}

.email-preview-links{padding:20px 24px;border:1px solid var(--line);background:#fff;border-radius:12px;margin-bottom:24px}.email-preview-links>strong{display:block;font-size:13px;margin-bottom:5px}.email-preview-links>span{display:block;font-size:11px;color:var(--muted);margin-bottom:14px}.email-preview-links>div{display:flex;flex-wrap:wrap;gap:9px}
/* Client branding and streamlined workspace navigation. */
body[data-staff="true"] .sidebar .workspace-label{margin-top:2px;margin-bottom:18px}body[data-staff="false"] .company-logo{justify-content:center;align-items:center}body[data-staff="false"] .company-logo img{display:block;margin:auto;object-fit:contain}body[data-staff="false"] .art-frame{background:var(--company-color);border-color:var(--company-color)}.welcome-banner .banner-link{margin-top:22px}.company-card-top{display:block;position:relative}.company-card-logo{max-width:none!important;width:100%;height:110px!important;display:flex;align-items:center;justify-content:center;border-radius:10px;padding:16px!important;margin-bottom:14px}.company-card-logo img{max-height:78px;max-width:85%;object-fit:contain;display:block;margin:auto}.company-card-top .portal-enabled{position:static;justify-content:flex-end}.company-card h2{margin-bottom:22px}.company-card .company-portal-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.company-card form .form-actions{margin-top:16px}.admin-page-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-2px 0 24px}.admin-page-actions>span{font-size:12px;color:var(--muted)}.admin-form-body{padding:28px 32px;max-height:65dvh;overflow:auto}.admin-form-body h3{margin:26px 0 10px}.client-onboarding-note{display:flex;align-items:flex-start;gap:12px;background:#f7f4f8;padding:16px;border-radius:10px;font-size:12px;line-height:1.6;margin-top:20px;color:#756575}.logo-controls{margin:18px 0}.logo-upload{border:1px dashed #d9ccd5;border-radius:10px;padding:16px;display:flex!important;flex-direction:row!important;gap:12px!important;align-items:center!important;cursor:pointer;background:#fcfafc;position:relative;flex-wrap:wrap}.logo-upload>span{font-size:12px}.logo-upload small{display:block;font-size:10px;margin-top:5px;color:var(--muted)}.logo-upload input{position:absolute;opacity:0;width:1px;height:1px}.logo-upload:focus-within{outline:2px solid #d7225e55}.logo-filename{color:var(--green);overflow-wrap:anywhere}.staff-list{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.staff-person{display:flex;gap:15px;align-items:center;padding:22px 24px;border-bottom:1px solid var(--line)}.staff-person:last-child{border-bottom:0}.staff-person>div{flex:1;min-width:0}.staff-person h3{font-size:14px}.staff-person p{font-size:12px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.staff-role{font-size:10px;padding:7px 10px;border-radius:20px;color:#835270;background:#f7eff5}.staff-person .avatar{width:42px;height:42px;background:#f5e8ef;color:#973d6a}.confirmation-dialog{width:min(430px,calc(100vw - 32px));max-width:430px;padding:0;border:1px solid var(--line);border-radius:16px;box-shadow:0 30px 100px #33202d33}.confirm-body{padding:30px}.confirm-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#f8eaf1;color:#b8316b;margin-bottom:19px}.confirm-body h2{font-size:22px;margin-bottom:12px}.confirm-body p{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.confirm-body .form-actions{justify-content:flex-end;margin-top:26px;gap:10px}dialog::backdrop{background:#24202b55;backdrop-filter:blur(3px)}
/* Shared email entry controls. */
.recipient-editor .recipient-add{display:flex;align-items:center;gap:10px;border:1px solid #e0d7de;border-radius:11px;background:#fcfafc;padding:6px 7px 6px 13px;transition:border-color .15s,box-shadow .15s;max-width:none}.recipient-add>svg{width:17px;height:17px;color:#ae94a3}.recipient-editor .recipient-add:focus-within{border-color:#b94a7c;box-shadow:0 0 0 3px #d7225e12;background:#fff}.recipient-editor .recipient-add input.recipient-entry{border:0!important;background:transparent!important;outline:0!important;box-shadow:none!important;padding:7px 0!important;margin:0!important;min-height:30px;font-size:12px;width:100%;border-radius:0}.recipient-add .recipient-confirm{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;min-width:34px;padding:0;border:0;border-radius:8px;background:#811b42;color:#fff;transition:background .15s}.recipient-add .recipient-confirm:hover{background:#d7225e}.recipient-confirm svg{width:18px;height:18px}.recipient-add .recipient-confirm:focus-visible{outline:2px solid #d7225e;outline-offset:2px}.recipient-blocks{gap:8px}.recipient-block{font-size:11px;padding:7px 9px 7px 11px;border-radius:8px}.recipient-editor{margin:18px 0}.notification-explainer{display:flex;align-items:flex-start;gap:12px;border-top:1px solid var(--line);padding:18px 0 22px;margin-top:24px;color:#8c6c80}.notification-explainer svg{flex-shrink:0;margin-top:3px}.notification-explainer p{font-size:12px;line-height:1.8;color:#85727e}.effective-recipients{margin:20px 0}.effective-title{display:block;font-size:10px;letter-spacing:.4px;color:#95828e;margin-bottom:11px}.effective-scroll{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;padding:1px 1px 10px;scrollbar-width:thin;scrollbar-color:#ddcbd7 transparent;max-width:100%;min-width:0}.effective-chip{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;border:1px solid #e8e1e7;border-radius:20px;padding:8px 11px;background:#faf8fb;color:#7a6574;font-size:10px;white-space:nowrap}.effective-chip svg{width:12px;height:12px}.mail-client{overflow:hidden;min-width:0}.mail-client .recipient-editor{margin-top:18px}.mail-settings .company-grid{align-items:start}.company-card{min-width:0}.company-card .effective-scroll{max-width:100%}
/* Catalogue browsing: structured category navigation and product cards. */
.catalogue-browser{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden}.catalogue-topbar{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line);flex-wrap:wrap}.catalogue-view-tabs{display:flex;gap:5px;padding:4px;border-radius:10px;background:#f6f5f7}.catalogue-view-tabs button{padding:10px 13px;border-radius:7px;font-size:12px;display:flex;align-items:center;gap:8px;color:#98919a;white-space:nowrap}.catalogue-view-tabs button[aria-selected="true"]{background:#fff;box-shadow:0 2px 5px #22202a09;color:var(--green);font-weight:650}.catalogue-view-tabs button>span{padding:2px 6px;font-size:9px;background:#f0edf2;border-radius:5px;color:#8b818b}.catalogue-search{display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid #e5e0e7;border-radius:9px;max-width:300px;min-width:180px;flex:1;color:#a79ba6}.catalogue-search input{width:100%;border:0;outline:0;background:none;padding:11px 0;font-size:12px;min-width:0}.catalogue-search:focus-within{border-color:var(--company-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--company-color) 8%,transparent)}.catalogue-search input:focus{outline:0}.catalogue-layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:430px}.catalogue-layout.catalogue-full{grid-template-columns:minmax(0,1fr)}.catalogue-sidebar{padding:27px 15px;background:#fcfbfd;border-right:1px solid var(--line)}.catalogue-sidebar[hidden]{display:none}.catalogue-side-title{display:block;padding:0 12px 17px;font-size:10px;letter-spacing:.8px;text-transform:uppercase;color:#9b8f9b;font-weight:600}.catalogue-sidebar button{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border-radius:8px;padding:12px 11px;font-size:11px;color:#9a8e99;margin-bottom:5px;line-height:1.6}.catalogue-sidebar button>span:not(.category-dot){flex:1}.catalogue-sidebar button em{font-style:normal;font-size:9px;background:#f0edf2;border-radius:5px;padding:2px 6px}.catalogue-sidebar button.active{background:color-mix(in srgb,var(--company-color) 7%,white);color:var(--company-color);font-weight:600}.catalogue-sidebar button:hover{background:#f1edf3}.catalogue-sidebar button.depth-1{padding-left:25px}.catalogue-sidebar button.depth-2,.catalogue-sidebar button.depth-3{padding-left:37px}.category-dot{width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.6}.catalogue-content{padding:28px;min-width:0}.catalogue-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:25px}.catalogue-section-heading .eyebrow{font-size:8px;letter-spacing:1.4px;color:var(--company-color);margin-bottom:9px}.catalogue-section-heading h2{font-size:23px;font-weight:600;margin-bottom:7px}.catalogue-section-heading p{font-size:11px;color:#a0939e}.catalogue-count{font-size:10px;white-space:nowrap;color:#9d8e9a;padding:7px 10px;border:1px solid #eee7ee;border-radius:7px}.catalogue-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:20px}.browse-product-card{border:1px solid #ebe6ed;border-radius:11px;overflow:hidden;background:#fff;transition:border-color .15s,box-shadow .15s}.browse-product-card:hover{border-color:color-mix(in srgb,var(--company-color) 30%,white);box-shadow:0 7px 22px #34303b08}.browse-product-image{height:160px;display:flex;align-items:center;justify-content:center;padding:20px;background:#f8f7fa;border-bottom:1px solid #eee9ef}.browse-product-image img{max-width:100%;max-height:100%;object-fit:contain}.browse-product-image>svg{width:40px;height:40px;color:color-mix(in srgb,var(--company-color) 45%,white);stroke-width:1}.browse-product-body{padding:18px}.product-category-label{display:block;font-size:9px;color:var(--company-color);line-height:1.6;margin-bottom:7px}.browse-product-body h3{font-size:13px;line-height:1.65;font-weight:600;min-height:42px}.browse-product-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px;padding-top:13px;border-top:1px solid #f2edf2;font-size:9px;color:#aaa0a8;flex-wrap:wrap}.catalogue-status{font-size:9px;padding:4px 7px;border-radius:5px;background:#f3f3f6;color:#98929a;white-space:nowrap}.category-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}.browse-category-card{border:1px solid var(--line);padding:22px;border-radius:12px;display:flex;flex-direction:column;align-items:flex-start;gap:15px}.category-card-icon{width:38px;height:38px;display:grid;place-items:center;color:var(--company-color);border-radius:10px;background:color-mix(in srgb,var(--company-color) 7%,white)}.browse-category-card h3{font-size:16px;margin-bottom:7px}.browse-category-card p{font-size:10px;color:#a298a0;margin-bottom:9px}.category-product-count{font-size:10px;color:#96848e}.browse-category-card .button{margin-top:auto}.catalogue-empty{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:240px;text-align:center;gap:13px;color:#a395a1}.catalogue-empty>svg{width:36px;height:36px;color:var(--company-color);opacity:.5}.catalogue-empty h3{font-size:17px;color:#85727e}.catalogue-empty p{font-size:12px;max-width:350px}.catalogue-people{border:1px solid var(--line);border-radius:10px;overflow:hidden}.catalogue-person{display:flex;align-items:center;gap:13px;padding:19px 20px;border-bottom:1px solid var(--line)}.catalogue-person:last-child{border-bottom:0}.catalogue-person>div{flex:1;min-width:0}.catalogue-person h3{font-size:13px;margin-bottom:4px}.catalogue-person p{font-size:11px;color:#a1949f;overflow-wrap:anywhere}.catalogue-person .avatar{background:color-mix(in srgb,var(--company-color) 9%,white);color:var(--company-color)}
@media(max-width:1000px){.catalogue-layout{grid-template-columns:175px minmax(0,1fr)}.catalogue-content{padding:22px}.catalogue-topbar{padding:17px}.catalogue-product-grid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:14px}.catalogue-search{max-width:none}}@media(max-width:640px){.admin-form-body{padding:22px 20px}.catalogue-topbar{padding:14px;gap:14px}.catalogue-view-tabs{width:100%;justify-content:space-between}.catalogue-view-tabs button{padding:9px 10px;font-size:10px}.catalogue-search{flex-basis:100%;max-width:none}.catalogue-layout{display:block}.catalogue-sidebar{display:flex;overflow-x:auto;gap:7px;padding:13px;border-right:0;border-bottom:1px solid var(--line);align-items:center}.catalogue-side-title{display:none}.catalogue-sidebar button,.catalogue-sidebar button.depth-1,.catalogue-sidebar button.depth-2,.catalogue-sidebar button.depth-3{width:auto;flex:0 0 auto;padding:9px 12px;margin:0;white-space:nowrap;border:1px solid var(--line)}.catalogue-content{padding:21px 16px}.catalogue-section-heading h2{font-size:19px}.catalogue-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.browse-product-image{height:125px;padding:12px}.browse-product-body{padding:13px}.browse-product-body h3{font-size:11px}.product-category-label{font-size:8px}.category-card-grid{grid-template-columns:1fr}.staff-person{padding:18px 16px;gap:10px}.staff-person p{font-size:10px}.staff-role{font-size:8px}.admin-page-actions>span{font-size:10px}.admin-page-actions .button{font-size:11px}.catalogue-count{font-size:9px}.company-card-logo{height:105px!important}.catalogue-person{padding:16px 13px}.catalogue-person .catalogue-status{display:none}}

.company-card-logo,body[data-staff="false"] .company-logo{overflow:hidden}
body[data-staff="false"] .company-logo img,.company-card-logo img{margin:0}.catalogue-product-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}@media(max-width:1000px) and (min-width:641px){.catalogue-product-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}}@media(max-width:640px){.catalogue-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
body[data-staff="false"] .banner-art{opacity:1}
#new-client-form,#new-staff-form{display:flex;flex-direction:column;max-height:90dvh;overflow:hidden}#new-client-form .admin-form-body,#new-staff-form .admin-form-body{flex:1;min-height:0;max-height:none;overflow:auto}#new-client-form .dialog-heading,#new-staff-form .dialog-heading,#new-client-form .dialog-footer,#new-staff-form .dialog-footer{flex-shrink:0}@media(min-width:641px){#create-dialog:has(#new-staff-form){width:min(620px,94vw)}}@media(max-width:640px){#new-client-form,#new-staff-form{height:100dvh;max-height:100dvh}}
