/* The private team workspace has its own navigation and spacing. */
body:is(.admin-host,.admin-surface){background:#f6f5f7;padding-bottom:0!important;scroll-padding-top:90px}
body:is(.admin-host,.admin-surface)>.topline,body:is(.admin-host,.admin-surface)>.header,body:is(.admin-host,.admin-surface)>#footer,body:is(.admin-host,.admin-surface)>#mobile-nav{display:none!important}
/* Sign-in, account checks and access errors belong to admin before authentication. */
.adm-bootstrap{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;padding:48px 24px;background:#f8f7f9;text-align:center;color:#332832}.adm-bootstrap>img{object-fit:contain}.adm-bootstrap h1{font-size:clamp(28px,4vw,36px);line-height:1.25;letter-spacing:-1px}.adm-bootstrap p{max-width:420px;line-height:1.8;color:#6d626c}.adm-bootstrap>p:first-of-type{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#926d82;font-weight:700}.adm-bootstrap>a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 17px;border:1px solid #decfd7;border-radius:12px;color:#81304f;font-size:14px;background:#fff}.adm-bootstrap>a:focus-visible{outline:3px solid #96385f;outline-offset:4px}
.adm-access-shell{min-height:100svh;display:grid;grid-template-rows:auto 1fr auto;background:radial-gradient(ellipse at 12% 8%,#faedf3 0,transparent 48%),#f8f7f9;color:#332832}
.adm-access-header{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;max-width:1440px;margin:auto;padding:24px 36px}
.adm-website-link{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid #decfd7;border-radius:12px;background:#fff9;color:#81304f;padding:11px 17px;font-size:14px;font-weight:650;line-height:1.5;flex-shrink:0}
.adm-website-link .icon{width:18px;height:18px}.adm-website-link:hover{background:#fff;border-color:#bd93a6}
.adm-access-main{display:grid;place-items:center;padding:40px 24px 72px;min-width:0}
.adm-access-card{width:min(100%,560px);padding:48px;border:1px solid #e5dce3;border-radius:26px;background:#fff;box-shadow:0 18px 64px #42263609;text-align:center;min-width:0}
.adm-access-symbol{position:relative;display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:#f8eaf1;color:#96385f;margin:0 auto 26px}.adm-access-symbol .icon{width:28px;height:28px}
.adm-access-symbol.is-pending:after{content:"";position:absolute;inset:-6px;border:2px solid #f0dce6;border-top-color:#96385f;border-radius:24px;animation:adm-access-progress 1.4s linear infinite}
.adm-access-eyebrow{font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.13em;line-height:1.6;color:#926d82;margin:0 0 14px}
.adm-access-card h1{font-size:clamp(28px,3.7vw,36px);line-height:1.25;letter-spacing:-1px;color:#332832;margin:0 0 20px;overflow-wrap:anywhere}
.adm-access-description{font-size:16px;line-height:1.8;color:#6d626c;max-width:450px;margin:auto;overflow-wrap:anywhere}
.adm-access-email{margin:22px 0 0;padding:12px 14px;border-radius:10px;background:#f7f4f7;color:#655662;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.adm-access-actions{display:grid;gap:14px;margin-top:30px}.adm-access-actions :is(button,.button,.adm-button){width:100%;min-height:52px;font-size:15px;justify-content:center}.adm-access-actions p{font-size:13px;line-height:1.7;color:#75636e}
.adm-access-footer{display:flex;justify-content:center;align-items:center;gap:8px;padding:20px 24px 28px;text-align:center;color:#806f7b;font-size:12px;line-height:1.6}.adm-access-footer .icon{width:16px;height:16px}
.adm-access-shell :is(a,button):focus-visible{outline:3px solid #96385f;outline-offset:4px}
@keyframes adm-access-progress{to{transform:rotate(360deg)}}
@media(max-width:1100px){.adm-access-main{align-items:start;padding:72px 28px 96px}.adm-access-header{padding:24px 28px}}
@media(max-width:600px){.adm-access-header{padding:18px;gap:14px}.adm-access-header .adm-brand{font-size:19px}.adm-access-header .adm-brand img{width:32px;height:38px}.adm-website-link{font-size:12px;padding:10px 12px;gap:7px}.adm-access-main{padding:32px 18px 48px}.adm-access-card{padding:36px 24px;border-radius:22px}.adm-access-card h1{font-size:29px}.adm-access-description{font-size:15px}.adm-access-footer{font-size:11px;padding:18px 20px 24px;align-items:flex-start}.adm-access-footer .icon{margin-top:2px;flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.adm-access-symbol.is-pending:after{animation:none}}
body.admin-mode{background:#f6f5f7;padding-bottom:0!important;scroll-padding-top:90px}
body.admin-mode>.topline,body.admin-mode>.header,body.admin-mode>#footer,body.admin-mode>#mobile-nav{display:none!important}
.adm-workspace{--adm-ink:#332832;--adm-muted:#6d626c;--adm-line:#e5dfe5;--adm-surface:#fff;--adm-accent:#96385f;color:var(--adm-ink);min-height:100dvh;font-size:15px;line-height:1.6}
.adm-workspace *, .adm-dialog-content *{box-sizing:border-box}
.adm-workspace button,.adm-workspace input,.adm-workspace select,.adm-workspace a,.adm-dialog-content button,.adm-dialog-content input,.adm-dialog-content select{touch-action:manipulation}
.adm-workspace a:focus-visible,.adm-workspace button:focus-visible,.adm-workspace input:focus-visible,.adm-workspace select:focus-visible,.adm-dialog-content :is(a,button,input,select,textarea):focus-visible{outline:3px solid #96385f;outline-offset:3px}
.adm-topbar{height:82px;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border-bottom:1px solid var(--adm-line);padding:12px 28px}
.adm-brand{display:inline-flex;align-items:center;gap:9px;color:#96385f;font-family:Manrope,sans-serif;font-weight:800;font-size:21px;letter-spacing:-1px;line-height:.95;min-height:48px}
.adm-brand img{width:38px;height:44px;object-fit:contain;flex-shrink:0}.adm-brand>span>span{display:block}.adm-topbar-meta{display:flex;align-items:center;gap:16px;min-width:0}.adm-topbar-email{font-size:13px;overflow-wrap:anywhere;color:var(--adm-muted)}
.adm-access-badge{display:inline-flex;align-items:center;gap:7px;color:#35624f;background:#edf5ef;border:1px solid #d4e6da;padding:6px 10px;border-radius:7px;font-size:12px;font-weight:700;white-space:nowrap}.adm-access-badge .icon{width:16px;height:16px}
.adm-layout{display:grid;grid-template-columns:240px minmax(0,1fr);max-width:1800px;margin:auto;min-height:calc(100dvh - 82px)}
.adm-sidebar{border-right:1px solid var(--adm-line);background:#fff;padding:30px 18px;position:sticky;top:82px;height:calc(100dvh - 82px);overflow-y:auto;display:flex;flex-direction:column;gap:20px}
.adm-nav-label{padding:0 12px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--adm-muted)}.adm-sidebar nav{display:grid;gap:6px}.adm-sidebar nav a{min-height:50px;display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:10px;color:#655662;font-weight:600}.adm-sidebar nav a:hover{background:#faf5f8}.adm-sidebar nav a.active{background:#f5e7ee;color:#8c3156}.adm-sidebar nav .icon{width:20px;height:20px}.adm-sidebar nav small{margin-left:auto;padding:1px 7px;border-radius:10px;background:#fff;font-size:11px;color:#96385f}
.adm-sidebar-account{margin-top:auto;border-top:1px solid var(--adm-line);padding:20px 8px 0;display:flex;gap:10px;align-items:start;min-width:0}.adm-sidebar-account>div{min-width:0}.adm-sidebar-account strong{font-size:12px;display:block;line-height:1.5}.adm-sidebar-account span:not(.adm-avatar){font-size:11px;color:var(--adm-muted);display:block;overflow-wrap:anywhere}.adm-avatar{display:grid;place-items:center;background:#f6e9ef;color:#96385f;font-size:14px;font-weight:700;flex:0 0 32px;width:32px;height:32px;border-radius:10px}
.adm-sidebar-footer{display:grid;gap:4px}.adm-sidebar-footer a,.adm-sidebar-footer button{display:flex;align-items:center;gap:9px;min-height:48px;padding:10px 12px;border:0;background:none;color:var(--adm-muted);font-size:13px;text-align:left;border-radius:9px}.adm-sidebar-footer .icon{width:17px;height:17px}.adm-sidebar-footer a:hover,.adm-sidebar-footer button:hover{background:#faf5f8;color:#96385f}.adm-menu-toggle,.adm-mobile-shortcuts{display:none}
.adm-main{padding:40px clamp(22px,3vw,48px) 64px;min-width:0}.adm-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}.adm-page-heading h1{font-size:clamp(27px,2.7vw,36px);line-height:1.2;letter-spacing:-1.1px;margin:6px 0 12px}.adm-page-heading p{color:var(--adm-muted);font-size:15px;max-width:650px}.adm-eyebrow{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.13em;color:#926d82;display:block;line-height:1.6}.adm-actions{display:flex;flex-wrap:wrap;gap:10px;flex-shrink:0}
.adm-button{min-height:48px;min-width:48px;border:1px solid #96385f;border-radius:10px;padding:11px 17px;font-size:14px;font-weight:700;line-height:1.4;background:#96385f;color:white;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center;white-space:normal;text-decoration:none}.adm-button:hover{background:#772947;border-color:#772947}.adm-button-secondary{background:#fff;color:#81304f;border-color:#d9c5d0}.adm-button-secondary:hover{background:#fcf3f7;border-color:#b98ba0}.adm-button:disabled{opacity:.5;cursor:wait}.adm-icon-button{border:1px solid #e1d3da;background:#fff;border-radius:10px;min-height:48px;min-width:48px;display:grid;place-items:center;color:#8c3156;padding:10px}.adm-icon-button .icon{width:18px;height:18px}
.adm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}.adm-stats-three{grid-template-columns:repeat(3,minmax(0,1fr))}.adm-stat{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:166px;border:1px solid var(--adm-line);border-radius:16px;padding:22px;background:#fff}.adm-stat:hover{border-color:#c8a6b6;box-shadow:0 4px 18px #442c3510}.adm-stat>span:first-child{font-size:13px;font-weight:600;color:var(--adm-muted);padding-right:12px}.adm-stat>strong{font-size:clamp(24px,2.8vw,32px);letter-spacing:-1px;line-height:1.15;overflow-wrap:anywhere}.adm-stat small{font-size:12px;color:var(--adm-muted);line-height:1.6;max-width:220px}.adm-stat-arrow{position:absolute;top:16px;right:17px;color:#ab8397}
.adm-overview-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;align-items:start}.adm-panel{background:#fff;border:1px solid var(--adm-line);border-radius:16px;padding:26px;min-width:0}.adm-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.adm-panel-heading h2{font-size:18px;letter-spacing:-.45px;line-height:1.4}.adm-panel-heading>span,.adm-panel-heading p{font-size:12px;color:var(--adm-muted)}.adm-panel-heading p{margin-top:8px}.adm-task-list{display:grid}.adm-task{display:flex;gap:14px;align-items:start;border-top:1px solid var(--adm-line);padding:22px 0;min-height:80px}.adm-task:last-child{padding-bottom:0}.adm-task>div{min-width:0;flex:1}.adm-task h3{font-size:15px;line-height:1.4;letter-spacing:-.2px;margin:0 0 6px}.adm-task p{font-size:13px;line-height:1.7;color:var(--adm-muted)}.adm-task>.icon{width:18px;height:18px;color:#96385f;margin-top:5px}.adm-task-count{width:34px;min-width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#f6e8ee;color:#8c3156;font-weight:700}.adm-workflow{padding-left:24px;margin:0;display:grid;gap:24px}.adm-workflow li::marker{font-weight:700;color:#96385f}.adm-workflow strong{display:block;font-size:14px}.adm-workflow p{font-size:13px;line-height:1.7;color:var(--adm-muted);margin:6px 0 12px}.adm-workflow .adm-button{font-size:12px;padding-inline:14px}.adm-calm{padding:22px 0;text-align:center;display:flex;flex-direction:column;gap:16px;align-items:center}.adm-calm>span{background:#edf5ef;color:#37725b;border-radius:50%;width:48px;height:48px;display:grid;place-items:center}.adm-calm h3{font-size:19px}.adm-calm p{font-size:14px;line-height:1.8;max-width:410px}
.adm-notice{background:#f7f0f4;border:1px solid #e7d6df;border-radius:12px;padding:16px 18px;color:#66545f;font-size:13px;line-height:1.8;margin:0 0 24px;overflow-wrap:anywhere}.adm-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:16px;margin-bottom:20px}.adm-search{position:relative;display:flex;flex:1;min-width:min(100%,280px);gap:8px}.adm-search>.icon{position:absolute;left:14px;top:14px;width:20px;height:20px;color:#9a8591}.adm-search input{flex:1;min-width:0;width:100%;min-height:48px;background:#fff;border:1px solid #d9cfd6;border-radius:10px;padding:11px 12px 11px 42px;font-size:15px;color:var(--adm-ink)}.adm-search input::placeholder{font-size:13px}.adm-filter{display:flex;flex-direction:column;gap:6px;min-width:170px}.adm-filter label{font-size:12px;font-weight:600;color:var(--adm-muted)}.adm-filter select{min-height:48px;border:1px solid #d9cfd6;border-radius:10px;background:#fff;padding:10px 12px;font-size:14px;max-width:100%}.adm-results-label{font-size:12px;color:var(--adm-muted);margin:0 0 18px}.adm-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.adm-record{border:1px solid var(--adm-line);border-radius:16px;padding:24px;background:#fff;min-width:0}.adm-record-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.adm-record-heading>div{min-width:0}.adm-record-heading h2{font-size:19px;letter-spacing:-.6px;line-height:1.4;margin:4px 0 6px;overflow-wrap:anywhere}.adm-record-heading p{font-size:13px;line-height:1.7;color:var(--adm-muted);overflow-wrap:anywhere}.adm-pill{display:inline-flex;align-items:center;justify-content:center;min-height:28px;border:1px solid #e0d7dd;background:#f8f6f8;color:#6f5c68;padding:4px 10px;font-size:11px;font-weight:650;line-height:1.4;border-radius:20px;white-space:normal;max-width:180px;flex-shrink:0;text-align:center}.adm-pill-green{color:#35624f;background:#edf5ef;border-color:#d4e6da}.adm-pill-pink{color:#8c3156;background:#faedf3;border-color:#eed6e2}.adm-contact-lines{display:grid;gap:6px;font-size:13px;color:var(--adm-muted);margin:0 0 18px}.adm-contact-lines a{display:flex;align-items:center;gap:9px;min-height:34px;overflow-wrap:anywhere;word-break:break-word}.adm-contact-lines .icon{width:16px;height:16px;color:#a07a8e}.adm-record-note{font-size:13px;line-height:1.8;white-space:pre-wrap;background:#faf7f9;border-radius:9px;padding:12px;max-height:160px;overflow:auto;overflow-wrap:anywhere;margin-bottom:18px}.adm-followup{display:flex;align-items:center;gap:8px;color:#776b73;font-size:12px;line-height:1.7;margin-bottom:18px}.adm-followup .icon{width:17px;height:17px}.adm-followup.is-due,.adm-due-text{color:#9b4527!important}.adm-record-actions{display:flex;flex-wrap:wrap;gap:10px;border-top:1px solid var(--adm-line);padding-top:18px}.adm-record-actions .adm-button{font-size:13px;padding:11px 14px;flex:1}.adm-empty{border:1px dashed #d5beca;border-radius:16px;display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center;background:#fff;padding:48px 24px}.adm-empty-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#f7eaf0;color:#96385f}.adm-empty h2{font-size:24px;letter-spacing:-.8px}.adm-empty p{font-size:15px;line-height:1.8;max-width:520px}.adm-new-enquiries{margin-bottom:28px}.adm-source-list{display:grid}.adm-source{display:flex;gap:20px;align-items:center;justify-content:space-between;border-top:1px solid var(--adm-line);padding:20px 0}.adm-source:last-child{padding-bottom:0}.adm-source>div:first-child{min-width:0}.adm-source h3{font-size:17px;margin:5px 0;line-height:1.4;letter-spacing:-.3px;overflow-wrap:anywhere}.adm-source p{font-size:13px}.adm-source small{font-size:11px;color:var(--adm-muted);display:block;margin-top:7px}.adm-source .adm-actions{max-width:320px}.adm-source .adm-button{font-size:13px}
.adm-person{display:flex;gap:12px;align-items:center}.adm-person-avatar{flex-shrink:0;width:44px;height:44px;border:1px solid #e9d2dd;border-radius:14px;background:#faf0f5;color:#96385f;font-size:21px;display:grid;place-items:center;font-family:Manrope,sans-serif;font-weight:600}.adm-person h2{font-size:18px}.adm-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px;margin:22px 0}.adm-details>div{min-width:0}.adm-details dt{font-size:11px;font-weight:600;color:#806a77;margin-bottom:4px}.adm-details dd{font-size:13px;color:#46343e;margin:0;line-height:1.7;overflow-wrap:anywhere}.adm-document-summary{display:flex;align-items:start;gap:8px;padding:12px 0 18px;font-size:12px;line-height:1.7;color:#796773}.adm-document-summary .icon{width:18px;height:18px;flex-shrink:0;color:#8c3156}.adm-document-summary strong{font-weight:600}.adm-invoice-list{display:grid;gap:18px}.adm-invoice-amounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.adm-invoice-amounts span{font-size:11px;color:var(--adm-muted);display:block;margin-bottom:5px}.adm-invoice-amounts strong{font-size:17px;line-height:1.5;overflow-wrap:anywhere}.adm-invoice-record .adm-record-actions .adm-button{flex:none}.adm-load{padding:60px 20px;text-align:center;color:#806a77}
/* Root owns the shared dialog and its focus trap. These forms live inside it. */
dialog:has(.adm-dialog-content){width:min(840px,calc(100vw - 32px));max-width:840px}.adm-dialog-content{font-size:15px;line-height:1.7;color:#382c34}.adm-dialog-content p{color:#6f6068}.adm-form{display:grid;gap:22px}.adm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px}.adm-field{display:grid;gap:8px;min-width:0}.adm-field-wide{grid-column:1/-1}.adm-field label{font-size:13px;font-weight:700;color:#57424f}.adm-field input,.adm-field select,.adm-field textarea{width:100%;min-width:0;border:1px solid #d7cbd2;border-radius:10px;background:#fff;min-height:48px;padding:11px 12px;font-size:16px;color:#382c34}.adm-field textarea{resize:vertical;min-height:120px}.adm-field small{font-size:12px;color:#7d6b76;line-height:1.7}.adm-form-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid #e5dfe5;padding-top:22px;margin-top:8px}.adm-form-actions .adm-button{min-width:100px}.adm-form-error{padding:14px 16px;border:1px solid #edc6d1;border-radius:10px;background:#fff0f2;color:#8d2547!important;font-size:14px;overflow-wrap:anywhere}.adm-confirm{display:flex;align-items:flex-start;gap:12px;font-size:14px;padding:14px 0;cursor:pointer}.adm-confirm input{width:22px;height:22px;min-width:22px;min-height:22px;margin-top:3px;accent-color:#96385f}.adm-detail-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}.adm-detail-title p{font-size:13px;overflow-wrap:anywhere}.adm-detail-section{padding-top:24px;border-top:1px solid #e5dfe5;margin-top:24px}.adm-detail-section h3{font-size:16px;letter-spacing:-.4px;margin-bottom:12px}.adm-detail-section p{font-size:14px;line-height:1.8}.adm-preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.adm-document-list,.adm-payment-list{list-style:none;padding:0;margin:18px 0;display:grid}.adm-document-list li,.adm-payment-list li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-top:1px solid #eee6eb;font-size:13px}.adm-document-list strong{font-size:13px}.adm-muted-box{background:#faf7f9;padding:14px;border-radius:10px;margin:16px 0}.adm-payment-list p{font-size:12px;margin-top:4px}.adm-payment-list span{font-size:12px;color:#7d6b76}.adm-line-items{margin:0;padding:20px 0;border:0;border-top:1px solid #e5dfe5;border-bottom:1px solid #e5dfe5;min-width:0}.adm-line-items legend{font-size:14px;font-weight:700;padding:0 12px 0 0}.adm-line-items>p{font-size:12px;margin-bottom:18px}.adm-line-item{display:grid;grid-template-columns:minmax(0,1fr) 78px 125px 48px;align-items:end;gap:12px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px dashed #e5dfe5}.adm-line-item:last-child{margin-bottom:0}.adm-line-item .adm-field label{font-size:11px}.adm-line-item .adm-field input{font-size:14px;padding-inline:10px}.adm-live-total{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-top:22px;font-size:14px}.adm-live-total strong{font-size:20px}.adm-payment-balance{background:#faf5f8;border:1px solid #e9d7e1;border-radius:12px;padding:18px;display:flex;justify-content:space-between;gap:16px;align-items:center}.adm-payment-balance span{font-size:13px;overflow-wrap:anywhere}.adm-payment-balance strong{font-size:23px;white-space:nowrap}.adm-fine-print{font-size:12px;line-height:1.8;margin-top:18px}
.adm-invoice-document{background:#fff;color:#382c34}.adm-invoice-document-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:2px solid #96385f;padding:8px 0 24px;margin-bottom:28px}.adm-invoice-document-heading>div{text-align:right}.adm-invoice-document-heading h2{font-size:26px;letter-spacing:-1px;margin-bottom:8px}.adm-invoice-document-heading strong{font-size:13px;color:#7d6b76}.adm-invoice-parties{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:28px}.adm-invoice-parties h3{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#8c3156;margin-bottom:10px}.adm-invoice-parties p{font-size:12px;line-height:1.8;margin-bottom:12px;overflow-wrap:anywhere}.adm-invoice-line{display:grid;grid-template-columns:minmax(0,1fr) 40px 95px 105px;gap:12px;padding:15px 0;border-bottom:1px solid #e5dfe5;font-size:12px;align-items:start}.adm-invoice-line>*{overflow-wrap:anywhere}.adm-invoice-line>:not(:first-child){text-align:right}.adm-invoice-line-header{background:#faf5f8;padding:12px 0;font-size:11px;font-weight:700}.adm-invoice-totals{margin:24px 0 24px auto;width:min(100%,330px);display:grid;gap:10px}.adm-invoice-totals>div{display:flex;gap:20px;justify-content:space-between;font-size:13px}.adm-invoice-totals dd{margin:0;font-weight:700}.adm-invoice-balance{padding-top:12px;border-top:1px solid #d9c5d0;font-size:18px!important}.adm-invoice-disclaimer{padding:14px;background:#faf5f8;border:1px solid #e5dfe5;font-size:12px;color:#8c3156!important;text-align:center;line-height:1.7}
.adm-pagination{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin:0 0 22px}.adm-pagination .adm-results-label{margin:0;display:grid;gap:6px;max-width:540px}.adm-pagination .adm-results-label strong{font-weight:600}.adm-pagination .adm-results-label span{font-size:12px;line-height:1.7}.adm-pagination nav{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.adm-pagination nav>span{font-size:12px;color:#7d6b76}.adm-pagination .adm-button{font-size:13px;padding-inline:15px}.adm-pagination-footer{margin-top:24px;margin-bottom:0}
@media(max-width:540px){.adm-pagination nav{width:100%}.adm-pagination nav .adm-button{flex:1}.adm-pagination .adm-results-label{font-size:12px}}
/* Existing booking, placement and document actions retain their functionality. */
.adm-legacy-content .portal-heading{margin-bottom:28px}.adm-legacy-content .portal-heading h2{font-size:30px;line-height:1.3}.adm-legacy-content .portal-heading p{font-size:15px;line-height:1.8;margin-top:12px}.adm-legacy-content .info-panel,.adm-legacy-content .booking-record,.adm-legacy-content .admin-review{background:#fff}.adm-legacy-content .empty{padding:40px 24px;background:#fff}.adm-legacy-content .empty p{font-size:15px;line-height:1.8;margin:16px 0 22px}.adm-legacy-content .portal-row{gap:18px;padding-block:22px}.adm-legacy-content .portal-row h4{font-size:16px;line-height:1.5}.adm-legacy-content .portal-row p{font-size:14px;line-height:1.8;margin-top:8px}.adm-legacy-content .notice{font-size:14px;line-height:1.8;padding:18px;margin-bottom:24px}.adm-legacy-content .admin-review-top h4{font-size:18px}.adm-legacy-content .admin-review-top p,.adm-legacy-content .review-file{font-size:14px;line-height:1.8}.adm-legacy-content .audit-entry{font-size:14px;line-height:1.8;padding-block:16px}
@media(max-width:1200px){.adm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.adm-stats-three{grid-template-columns:repeat(3,minmax(0,1fr))}.adm-record-grid{grid-template-columns:minmax(0,1fr)}.adm-overview-grid{grid-template-columns:minmax(0,1fr)}.adm-page-heading{flex-direction:column;gap:20px}.adm-page-heading .adm-actions{width:100%}.adm-topbar-email{display:none}.adm-source{align-items:flex-start}.adm-source .adm-actions{max-width:240px}}
/* Portrait tablets need the full workspace width rather than a narrow desktop column. */
@media(max-width:1100px){
 .adm-topbar{height:74px;padding:10px 28px;gap:16px}.adm-topbar-meta{margin-left:auto}.adm-topbar-email{display:none}
 .adm-menu-toggle{display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;border:1px solid #e6d6df;border-radius:10px;background:#fff;color:#8c3156;min-width:52px;height:52px;padding:5px;font-size:10px;font-weight:700}.adm-menu-toggle .icon{width:21px;height:21px}
 .adm-layout{grid-template-columns:minmax(0,1fr);min-height:calc(100dvh - 74px)}
 .adm-sidebar{display:none;position:fixed;top:74px;right:0;left:0;height:calc(100dvh - 74px);z-index:19;border-right:0;padding:28px max(28px,calc((100vw - 900px)/2)) calc(30px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 12px 24px #382c3417;overscroll-behavior:contain}
 .adm-sidebar.is-open{display:flex}.adm-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.adm-sidebar nav a{border:1px solid #eee4e9;font-size:15px;padding:14px 16px;min-height:62px}.adm-sidebar-account{margin-top:18px}
 .adm-main{width:100%;max-width:1024px;margin:auto;padding:36px 32px calc(128px + env(safe-area-inset-bottom))}.adm-page-heading h1{font-size:34px}.adm-stats{gap:18px}.adm-stat{min-height:158px}.adm-panel{padding:28px}.adm-record{padding:26px}.adm-toolbar{gap:18px}
 .adm-mobile-shortcuts{position:fixed;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));bottom:12px;left:20px;right:20px;z-index:18;border:1px solid #e5d4de;background:#fffefef5;backdrop-filter:blur(18px);box-shadow:0 8px 30px #5032431c;border-radius:20px;padding:7px 6px calc(7px + env(safe-area-inset-bottom));max-width:560px;margin:auto}
 .adm-mobile-shortcuts a{min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#806b79;font-size:12px;font-weight:650;border-radius:13px}.adm-mobile-shortcuts a[aria-current]{background:#f7e8f0;color:#8c3156}.adm-mobile-shortcuts .icon{width:21px;height:21px}
 .adm-sidebar.is-open~.adm-main{visibility:hidden}.adm-workspace:has(.adm-sidebar.is-open) .adm-mobile-shortcuts{display:none}
}
@media(max-width:800px){.adm-topbar{height:74px;padding:10px 18px;gap:12px}.adm-brand{font-size:19px}.adm-brand img{width:32px;height:38px}.adm-topbar-meta{margin-left:auto}.adm-access-badge{font-size:10px;padding:5px 7px;gap:5px}.adm-access-badge .icon{width:14px;height:14px}.adm-menu-toggle{display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;border:1px solid #e6d6df;border-radius:10px;background:#fff;color:#8c3156;min-width:48px;height:48px;padding:5px;font-size:9px;font-weight:700}.adm-menu-toggle .icon{width:19px;height:19px}.adm-layout{grid-template-columns:minmax(0,1fr);min-height:calc(100dvh - 74px)}.adm-sidebar{display:none;position:fixed;top:74px;right:0;left:0;height:calc(100dvh - 74px);z-index:19;border-right:0;padding:24px 20px calc(30px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 12px 24px #382c3417}.adm-sidebar.is-open{display:flex}.adm-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.adm-sidebar nav a{border:1px solid #eee4e9;font-size:13px;padding:12px 10px;min-height:58px}.adm-sidebar nav small{font-size:10px;padding-inline:5px}.adm-sidebar-account{margin-top:14px}.adm-main{padding:28px 18px calc(110px + env(safe-area-inset-bottom))}.adm-page-heading{margin-bottom:24px}.adm-page-heading h1{font-size:29px}.adm-page-heading p{font-size:14px;line-height:1.8}.adm-stats{gap:12px;margin-bottom:22px}.adm-stat{padding:18px 16px;min-height:156px;gap:11px}.adm-stat>span:first-child{font-size:12px}.adm-stat>strong{font-size:25px}.adm-stat small{font-size:11px}.adm-stat-arrow{right:10px;top:10px;font-size:13px}.adm-panel{padding:22px 18px}.adm-panel-heading{flex-wrap:wrap;gap:8px}.adm-panel-heading h2{font-size:18px}.adm-panel-heading>span{font-size:11px}.adm-overview-grid{gap:20px}.adm-task{gap:10px}.adm-task h3{font-size:14px}.adm-task p{font-size:12px}.adm-task-count{width:30px;min-width:30px;height:30px;font-size:13px}.adm-task>.icon{width:16px}.adm-record{padding:20px 18px}.adm-record-heading h2{font-size:18px}.adm-record-heading{gap:10px}.adm-record-heading p{font-size:12px}.adm-pill{font-size:10px;padding:5px 8px;max-width:125px}.adm-record-grid{gap:16px}.adm-toolbar{gap:12px}.adm-search{width:100%;flex:none}.adm-search .adm-button{font-size:12px;padding-inline:12px}.adm-filter{min-width:0;flex:1}.adm-filter select{font-size:14px}.adm-toolbar>.adm-button{font-size:12px}.adm-record-actions .adm-button{font-size:12px}.adm-source{flex-direction:column;gap:16px}.adm-source .adm-actions{max-width:none;width:100%}.adm-source .adm-actions .adm-button{flex:1;font-size:12px}.adm-new-enquiries{margin-bottom:24px}.adm-details{gap:14px 18px}.adm-details dd{font-size:12px}.adm-person{gap:9px}.adm-person-avatar{width:36px;height:38px;font-size:18px;border-radius:11px}.adm-person h2{font-size:17px}.adm-invoice-amounts{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.adm-invoice-amounts strong{font-size:16px}.adm-invoice-record .adm-record-actions .adm-button{flex:1}.adm-stats-three{grid-template-columns:repeat(2,minmax(0,1fr))}.adm-stats-three .adm-stat:last-child{grid-column:1/-1;min-height:auto;display:grid;grid-template-columns:1fr auto;gap:10px}.adm-stats-three .adm-stat:last-child small{max-width:none;grid-column:1/-1}.adm-stats-three .adm-stat:last-child>strong{padding-right:14px}.adm-mobile-shortcuts{position:fixed;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));bottom:12px;left:12px;right:12px;z-index:18;border:1px solid #e5d4de;background:#fffefef5;backdrop-filter:blur(18px);box-shadow:0 8px 30px #5032431c;border-radius:20px;padding:7px 5px calc(7px + env(safe-area-inset-bottom));max-width:560px;margin:auto}.adm-mobile-shortcuts a{min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#806b79;font-size:10px;font-weight:600;border-radius:13px}.adm-mobile-shortcuts a[aria-current]{background:#f7e8f0;color:#8c3156}.adm-mobile-shortcuts .icon{width:20px;height:20px}.adm-sidebar.is-open~.adm-main{visibility:hidden}.adm-workspace:has(.adm-sidebar.is-open) .adm-mobile-shortcuts{display:none}.adm-legacy-content .portal-heading h2{font-size:26px}.adm-legacy-content .portal-heading p{font-size:14px}.adm-legacy-content .portal-row h4{font-size:15px}.adm-legacy-content .portal-row p{font-size:13px}}
@media(max-width:540px){.adm-form-grid{grid-template-columns:minmax(0,1fr);gap:20px}.adm-form-actions{justify-content:stretch}.adm-form-actions .adm-button{flex:1;font-size:13px;padding-inline:12px}.adm-dialog-content .adm-notice{font-size:12px;padding:14px}.adm-line-item{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) 48px;gap:12px}.adm-line-item>.adm-field:first-child{grid-column:1/-1}.adm-line-item>.adm-field:nth-child(2){grid-column:1}.adm-line-item .adm-field input{font-size:16px}.adm-live-total{align-items:flex-start;flex-direction:column;gap:5px}.adm-payment-balance{align-items:flex-start;flex-direction:column;gap:8px}.adm-invoice-document-heading{gap:14px;align-items:start}.adm-invoice-document-heading .adm-brand{font-size:16px;gap:6px}.adm-invoice-document-heading .adm-brand img{width:28px;height:34px}.adm-invoice-document-heading h2{font-size:20px}.adm-invoice-document-heading strong{font-size:10px;overflow-wrap:anywhere;display:block;max-width:130px}.adm-invoice-parties{gap:18px;grid-template-columns:minmax(0,1fr)}.adm-invoice-parties>div:last-child{border-top:1px solid #e5dfe5;padding-top:18px}.adm-invoice-line{grid-template-columns:minmax(0,1fr) 25px 58px 66px;gap:7px;font-size:10px}.adm-invoice-line-header{font-size:9px}.adm-invoice-totals{font-size:12px;width:100%}.adm-invoice-balance{font-size:16px!important}.adm-detail-title{align-items:start;flex-direction:column}.adm-document-list li{align-items:flex-start}.adm-document-list strong{font-size:12px}.adm-dialog-content .adm-details{grid-template-columns:minmax(0,1fr)}.adm-detail-section p{font-size:13px}.adm-fine-print{font-size:11px}}
@media(max-width:360px){.adm-main{padding-inline:12px}.adm-topbar{padding-inline:12px}.adm-access-badge{font-size:9px}.adm-access-badge .icon{display:none}.adm-record-heading{flex-wrap:wrap}.adm-record-heading>.adm-pill{margin-left:0}.adm-stats{gap:9px}.adm-stat{padding:16px 13px}.adm-stat>strong{font-size:22px}.adm-stat small{font-size:10px}.adm-record{padding:18px 14px}.adm-source .adm-actions{flex-direction:column}.adm-source .adm-actions .adm-button{width:100%}.adm-invoice-line{grid-template-columns:minmax(0,1fr) 20px 49px 58px;gap:5px;font-size:9px}}
@media print{body.admin-printing{background:white!important;padding:0!important}body.admin-printing>*{display:none!important}body.admin-printing>#modal{display:block!important;position:static!important;inset:auto!important;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important;box-shadow:none!important;background:white!important}body.admin-printing #modal::backdrop{display:none!important}body.admin-printing .modal-header,body.admin-printing .adm-no-print{display:none!important}body.admin-printing .modal-body,body.admin-printing .adm-dialog-content{padding:0!important;margin:0!important;overflow:visible!important}body.admin-printing .adm-invoice-document{display:block!important;color:#111!important;font-size:12px}body.admin-printing .adm-invoice-document *{color:#111!important}body.admin-printing .adm-invoice-document-heading{break-after:avoid}body.admin-printing .adm-invoice-parties{grid-template-columns:1fr 1fr!important}body.admin-printing .adm-invoice-parties>div:last-child{border:0!important;padding-top:0!important}body.admin-printing .adm-invoice-line{grid-template-columns:minmax(0,1fr) 45px 90px 100px!important;font-size:12px!important;break-inside:avoid}body.admin-printing .adm-invoice-totals{width:330px!important;break-inside:avoid}body.admin-printing .adm-invoice-document a:after{content:none!important}@page{margin:16mm}}
