.performer-photo{width:64px;height:64px;border-radius:50%;object-fit:cover}.company-icon:has(.performer-photo){width:64px;height:64px;background:transparent;overflow:hidden}
.pdf-preview-body{flex:1;min-height:0;display:flex;flex-direction:column;padding:16px;gap:12px}.pdf-preview-body iframe{flex:1;width:100%;min-height:260px;border:1px solid #468D8B;border-radius:8px;background:#213843}.pdf-preview-body p{margin:0}
/* Preserve the original invoice's document layout. Paper stays printable. */
.invoice-paper{max-width:720px;margin:0 auto;background:#fff;color:#213843;border:1px solid #468D8B80;box-shadow:0 12px 32px #21384340}
.invoice-band{background:#213843;color:#F6DAC0;display:flex;justify-content:space-between;gap:24px;padding:24px}.invoice-band h2{color:#F6DAC0;font-size:22px;margin:0 0 5px}.invoice-band>div:last-child{text-align:right}.invoice-band small{color:#74B3A8}
.invoice-body{padding:24px}.invoice-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.invoice-paper p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 12px}.invoice-paper small{font-size:10px;letter-spacing:1px;color:#468D8B;font-weight:700}.invoice-paper h3{color:#213843;font-size:14px;margin:8px 0}
.invoice-parties{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-block:1px solid #74B3A8;padding:20px 0;margin:20px 0}.invoice-paper table{font-size:12px}.invoice-paper th{background:#213843;color:#F6DAC0;white-space:nowrap}.invoice-paper td{background:white;color:#213843;border-color:#74B3A840}.invoice-paper tbody tr:nth-child(even) td{background:#74B3A815}.invoice-paper th:not(:first-child),.invoice-paper td:not(:first-child){text-align:right}.invoice-paper td:first-child{min-width:160px}
.invoice-totals{max-width:280px;margin:24px 0 24px auto}.invoice-total-row{display:flex;justify-content:space-between;gap:20px;font-size:13px;margin:10px 0}.invoice-balance{background:#F6DAC0;padding:2px 12px;border-radius:4px;color:#213843}.invoice-notes{border-top:1px solid #74B3A8;padding-top:20px;font-size:12px}
@media(max-width:600px){.invoice-band,.invoice-body{padding:16px}.invoice-parties{gap:12px}.invoice-meta{gap:10px}.invoice-band h2{font-size:18px}}

.pac-calendar .pac-primary{background:#FFAF76;color:#213843;border-color:#FFAF76}.today-dot{background:#FFAF76;color:#213843}
dialog.event-dialog .dialog-header{background:#213843;color:#F6DAC0}.invoice-paper p{color:#213843}

:root{--t-bg:#fff2e7;--t-side:#f6dac0;--t-card:#fffcf7;--t-ink:#213843;--t-muted:#646b66;--t-line:#e4c8ae;--t-primary:#397c7b;--t-on:#ffffff;--t-tint:#f8e4d2;--t-accent:#c06046;}


:root{color-scheme:light!important;--line:var(--t-line)!important;--muted:var(--t-muted)!important;color:var(--t-ink)!important;background:var(--t-bg)!important}
body,.main,.welcome,.pac-calendar,.pac-month,.pac-week,.pac-days,.pac-day,dialog,.event-dialog{background:var(--t-bg)!important;color:var(--t-ink)!important}
.sidebar{background:var(--t-side)!important;border-color:var(--t-line)!important}
.card,.company-card,.account-box,.stat,.support-message,.contract-document,dialog.event-dialog .dialog-header,.composer-header,.composer-footer,.event-scroll{background:var(--t-card)!important;color:var(--t-ink)!important;border-color:var(--t-line)!important}
.brand,.identity strong,.page-title,h1,h2,h3,h4,.header .subtle,.scope strong,.stat .value,.company-row strong,.card p,.company-card p{color:var(--t-ink)!important}
.eyebrow,.label,.subtle,.identity,.intro,.nav:before,.nav button,.pac-week-label,.pac-weekdays,.pac-day>span,.pac-toolbar,.pac-calendar-footer,.pac-composer label,.pac-composer legend,.pac-composer small,.address-status,legend,small,.stat .label{color:var(--t-muted)!important}
.brand:before,.company-icon{background:var(--t-primary)!important;color:var(--t-on)!important;box-shadow:none!important}.brand span{color:var(--t-accent)!important}
.demo,.note,.preview-pill,.scope,.pac-repeat{background:var(--t-tint)!important;color:var(--t-ink)!important;border-color:var(--t-line)!important}.scope:before{background:var(--t-primary)!important}
button,.header select,input,select,textarea,.pac-tools input,.pac-segment,.pac-tools>button,.pac-segment button,.address-results,.address-results button,.performer-picker label{background:var(--t-card)!important;color:var(--t-ink)!important;border-color:var(--t-line)!important}
input::placeholder,textarea::placeholder{color:var(--t-muted)!important}button:hover,.nav button:hover,.pac-segment button:hover,.address-results button:hover{background:var(--t-tint)!important;color:var(--t-ink)!important}
button.primary,button.dark,.pac-calendar .pac-primary,.pac-segment .selected,.nav button.active,.today-dot{background:var(--t-primary)!important;color:var(--t-on)!important;border-color:var(--t-primary)!important}
.nav button{background:transparent!important;border-color:transparent!important}.nav button.active{background:var(--t-primary)!important;color:var(--t-on)!important}
.badge,.badge.active,.badge.scheduled,.tiny-tag{background:var(--t-tint)!important;color:var(--t-ink)!important;border-color:var(--t-line)!important}.badge.draft{background:var(--t-side)!important;color:var(--t-ink)!important}
a{color:var(--t-primary)!important}.unread-badge{color:#b43129!important;background:transparent!important}.dialog-message,#toast{background:#f5d7cf!important;color:#842c22!important}
td,th,.header,.dialog-header,.event-dialog,.account-box,.welcome-header,.invoice-line,.pac-toolbar,.pac-weekdays,.pac-day,.pac-month,.pac-week,.pac-calendar-footer{border-color:var(--t-line)!important}table th{background:var(--t-tint)!important;color:var(--t-muted)!important}
.invoice-paper,.invoice-paper td{background:white!important;color:#213843!important}.invoice-paper h3,.invoice-paper p{color:#213843!important}.invoice-band,.invoice-paper th{background:var(--t-primary)!important;color:white!important}.invoice-band h2,.invoice-band small{color:white!important}

/* Calendar interaction polish. No changes to scheduling or saved data. */
.pac-calendar .pac-day{position:relative;transition:background-color 180ms ease,box-shadow 180ms ease;isolation:isolate}
.pac-calendar .pac-day:hover,.pac-calendar .pac-day:focus-within{background:#f8e4d2!important;box-shadow:inset 0 0 0 2px #74b3a8;z-index:1}
.pac-calendar .pac-day .calendar-add{display:grid;place-items:center;width:29px;height:29px;border-radius:10px;background:#397c7b!important;color:#fff!important;font-size:21px;line-height:1;border:1px solid #397c7b!important;box-shadow:0 4px 10px #2138431c;opacity:0;transform:translateY(3px) scale(.92);transition:opacity 160ms ease,transform 180ms ease,box-shadow 180ms ease}
.pac-calendar .pac-day:hover .calendar-add,.pac-calendar .pac-day:focus-within .calendar-add{opacity:1;transform:translateY(0) scale(1)}
.pac-calendar .pac-day .calendar-add:hover,.pac-calendar .pac-day .calendar-add:focus-visible{background:#213843!important;box-shadow:0 5px 14px #21384338;transform:translateY(-1px) scale(1.06)}
.pac-calendar .cal-event{transition:transform 180ms ease,box-shadow 180ms ease,filter 180ms ease}
.pac-calendar .cal-event:hover,.pac-calendar .cal-event:focus-visible{transform:translateY(-2px);box-shadow:0 5px 12px #21384326;filter:saturate(1.12);outline:2px solid #397c7b;outline-offset:2px}
.pac-calendar .pac-tools button:hover,.pac-calendar .pac-segment button:hover{box-shadow:0 3px 9px #21384318}
@media(hover:none){.pac-calendar .pac-day .calendar-add{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.pac-calendar .pac-day,.pac-calendar .calendar-add,.pac-calendar .cal-event{transition:none!important}.pac-calendar .cal-event:hover,.pac-calendar .calendar-add:hover{transform:none!important}}
/* Shared messenger presentation for Support and Team Chat. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.chat-panel{display:flex;flex-direction:column;height:min(690px,75dvh);min-height:440px;overflow:hidden;border:1px solid #e4c8ae;border-radius:20px;background:#fffcf7;box-shadow:0 12px 32px #2138430a}
.chat-panel-header{display:flex;align-items:center;gap:13px;padding:20px 24px;border-bottom:1px solid #e4c8ae;background:#fffcf7;flex-shrink:0}
.chat-panel-header>div:nth-child(2){min-width:0;flex:1}.chat-panel-header h2{font-size:19px;line-height:1.3;overflow-wrap:anywhere;margin:0;color:#213843}.chat-panel-header p{font-size:12px;color:#646b66;margin:5px 0 0;line-height:1.5}
.chat-header-avatar{width:43px;height:43px;border-radius:14px;display:grid;place-items:center;background:#397c7b;color:white;font-size:18px;font-weight:750;flex-shrink:0}
.chat-channels{display:flex;gap:8px;padding:12px 24px;background:#fff8f0;border-bottom:1px solid #e4c8ae}.chat-channels button{border-radius:20px;font-size:11px;padding:8px 14px}
.chat-panel .chat-history{flex:1;min-height:0;max-height:none;overflow-y:auto;padding:25px 24px;background:#fffcf7;overscroll-behavior:contain;scrollbar-color:#c4d8d1 #fffcf7}
.chat-message{display:flex;align-items:flex-end;gap:9px;margin:0 0 19px;width:100%}.chat-message-own{flex-direction:row-reverse}.chat-message-content{max-width:min(76%,560px);min-width:0;display:flex;flex-direction:column;align-items:flex-start}.chat-message-own .chat-message-content{align-items:flex-end}
.chat-avatar{height:29px;width:29px;display:grid;place-items:center;border-radius:50%;background:#f6dac0;color:#213843;font-weight:700;font-size:10px;flex:0 0 auto;margin-bottom:23px}.chat-message-own .chat-avatar{background:#dcebe5;color:#397c7b}
.chat-sender{font-size:11px;font-weight:650;color:#646b66;margin:0 4px 6px}.chat-bubble{white-space:pre-wrap;overflow-wrap:anywhere;padding:13px 17px;border-radius:18px 18px 18px 5px;background:#f8e4d2;color:#213843;line-height:1.6;font-size:14px;box-shadow:0 2px 3px #21384305}.chat-message-own .chat-bubble{background:#397c7b;color:#fff;border-radius:18px 18px 5px 18px}
.chat-time{font-size:10px;line-height:1.4;color:#646b66;margin:6px 4px 0}.chat-empty{display:grid;place-items:center;height:100%;text-align:center;font-size:13px;color:#646b66}
.chat-compose{flex:0 0 auto;padding:16px 20px 12px;background:#fffcf7;border-top:1px solid #e4c8ae}.chat-input-row{display:flex;gap:10px;align-items:flex-end;background:#fff2e7;border:1px solid #e4c8ae;padding:6px 7px 6px 15px;border-radius:26px}.chat-input-row:focus-within{border-color:#397c7b;box-shadow:0 0 0 3px #74b3a826}
.chat-compose textarea{background:transparent!important;border:0!important;box-shadow:none!important;outline:none!important;resize:vertical;flex:1;min-width:0;min-height:38px;max-height:150px;width:auto;margin:0;padding:8px 0;font-size:14px;line-height:1.5;border-radius:0}.chat-compose .chat-send{display:flex;align-items:center;justify-content:center;gap:7px;border-radius:21px;min-height:38px;padding:9px 15px;background:#397c7b!important;color:white!important;border-color:#397c7b!important}.chat-send svg{width:18px;height:18px}.chat-send:hover{filter:brightness(.94)}.chat-send:disabled{opacity:.5}
.chat-footnote{font-size:10px;color:#646b66;text-align:center;padding:0 20px 12px;margin:0;background:#fffcf7}.chat-status{display:flex;align-items:center;gap:10px;font-size:11px;color:#646b66;margin-top:12px}.chat-status select{width:auto;padding:7px 12px;font-size:11px;border-radius:10px}
.support-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:20px;align-items:start}.support-sidebar .card{margin:0 0 14px;padding:18px}.support-sidebar .card-head{display:block}.support-sidebar h2{font-size:17px}.support-sidebar #refresh-support{font-size:11px;padding:8px 11px;margin:8px 0}.support-sidebar .contract-row{flex-wrap:wrap;gap:8px;align-items:center}.support-sidebar .contract-row>div{flex:1 1 160px}.support-sidebar .contract-row strong{font-size:12px;overflow-wrap:anywhere}.support-sidebar [data-open-ticket]{font-size:11px;padding:8px 10px}.support-new summary{cursor:pointer;font-weight:700;font-size:12px;color:#397c7b}.support-new .form{margin-top:14px}.chat-welcome{justify-content:center;align-items:center;text-align:center;padding:28px}.chat-welcome h2{font-size:22px}
@media(max-width:900px){.support-layout{grid-template-columns:1fr}.support-sidebar{max-height:300px;overflow:auto}.support-sidebar:has(details[open]){max-height:none}.chat-panel{height:70dvh}.chat-message-content{max-width:82%}}
@media(max-width:600px){.chat-panel-header{padding:16px;gap:10px}.chat-panel .chat-history{padding:18px 13px}.chat-compose{padding:12px 10px 8px}.chat-channels{padding:10px 14px}.chat-message{gap:6px}.chat-avatar{width:24px;height:24px;font-size:9px}.chat-bubble{padding:11px 13px;font-size:13px}.chat-message-content{max-width:84%}.chat-send span{display:none}.chat-compose .chat-send{width:38px;padding:8px}.chat-panel{min-height:380px}}
.chat-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:18px;align-items:start}.chat-people{padding:18px 12px;background:#fffcf7;border:1px solid #e4c8ae;border-radius:18px;max-height:75dvh;overflow:auto}.chat-people h2{font-size:16px;margin:0 8px 6px}.chat-people>p{font-size:11px;color:#646b66;margin:0 8px 18px}.chat-people h3{font-size:10px;text-transform:uppercase;letter-spacing:1px;margin:20px 8px 10px;color:#646b66}.chat-people .chat-person{display:flex;align-items:center;gap:9px;width:100%;text-align:left;white-space:normal;padding:12px 9px;border:0!important;border-radius:12px;background:transparent!important;box-shadow:none;margin:3px 0;font-size:12px;min-width:0}.chat-person>span:nth-child(2){min-width:0;overflow-wrap:anywhere;flex:1}.chat-person small{display:block;font-size:10px;font-weight:400;margin-top:4px}.chat-people .chat-person.selected,.chat-people .chat-person:hover{background:#f8e4d2!important}.chat-contact-avatar{display:grid;place-items:center;width:32px;height:32px;background:#dcebe5;color:#397c7b;border-radius:11px;font-weight:750;flex-shrink:0}.chat-person .unread-badge{margin-left:auto;flex-shrink:0}@media(max-width:900px){.chat-layout{grid-template-columns:1fr}.chat-people{max-height:230px}.chat-people .chat-person{display:inline-flex;width:auto;min-width:150px;max-width:100%;margin-right:4px}.chat-people h3{margin-top:12px}.chat-layout .chat-panel{min-width:0}}
