@font-face{font-family:'Material Symbols Outlined';font-style:normal;font-weight:400;font-display:block;src:url('/assets/material-symbols-outlined.ttf') format('truetype')}
.material-symbols-outlined{font-family:'Material Symbols Outlined'!important;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-smoothing:antialiased;vertical-align:middle;flex-shrink:0}
/* A single toolbar for the batch browser. */
.batch-list-toolbar{display:flex;align-items:center;gap:12px;min-height:48px;padding:6px 12px;border-bottom:1px solid #e0e3e7;background:#fff;flex-shrink:0}
#root .batch-search-create{display:contents!important}
#root .batch-search-create>div{order:1;flex:1 1 240px!important;max-width:330px;min-width:150px}
#root .batch-search-create>button{order:3;flex-shrink:0;white-space:nowrap;font-weight:500!important}
#root .batch-categories{order:2;flex:1;min-width:0;padding:0 12px!important;border-bottom:0!important;border-left:1px solid #dadce0;border-right:1px solid #dadce0;gap:2px!important}
#root .batch-categories button{font-size:12px!important}
.toolbar-divider{width:1px;align-self:stretch;min-height:22px;background:#dadce0;margin:3px 4px;flex-shrink:0}
.enquiry-toolbar{display:flex;align-items:center;gap:8px;padding:7px 12px;min-height:48px;flex-shrink:0;border-bottom:1px solid #e0e3e7;background:#fff}
.enquiry-toolbar .sheettitle{min-width:115px;margin:0}
.enquiry-toolbar .sheettitle strong{font-size:13px;font-weight:500}
.enquiry-toolbar .sheettitle span{font-size:11px}
.enquiry-toolbar .datecontrol{display:flex;align-items:center;flex-shrink:0}
.week-label{font-size:12px;white-space:nowrap;padding:0 8px;min-width:200px;text-align:center}
.enquiry-toolbar .sheetbarleft{display:flex;gap:7px;align-items:center;min-width:0;flex:1}
.enquiry-toolbar .hub-enquiry-search{width:220px;max-width:100%;min-width:110px;height:32px}
.enquiry-toolbar .sheetbarright{display:flex;align-items:center;gap:5px;flex-shrink:0}
.enquiry-toolbar .dayactions{margin-left:auto;display:flex;gap:5px;flex-shrink:0}
.enquiry-toolbar .filtersummary{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
/* Minimal TWI browser and PDF editor. */
body:has(#batchSelect) .side-head{padding:12px!important;background:#fff}
.twi-batch-label{display:block;margin:0 0 6px;font-size:12px;font-weight:500;color:#5f6368}
body:has(#batchSelect) .content{background:#f8fafd}
body:has(#batchSelect) .content-inner{max-width:1100px;padding:24px 28px 48px}
body:has(#batchSelect) .hero{padding-bottom:14px;border-bottom:0}
body:has(#batchSelect) .hero h1{font-size:22px;font-weight:500;letter-spacing:0}
body:has(#batchSelect) .hero-meta{font-size:12px;line-height:1.6}
body:has(#batchSelect) .section{padding:22px 24px;border:1px solid #e8eaed;border-radius:16px;box-shadow:none;margin-top:18px}
body:has(#batchSelect) .section-title{font-size:18px;font-weight:500;margin:0 0 6px}
body:has(#batchSelect) .twi-edit-note{font-size:12px;line-height:1.6;margin:0;color:#5f6368}
body:has(#batchSelect) .twi-group-title{font-size:13px;font-weight:500;color:#3c4043;margin:26px 0 12px}
body:has(#batchSelect) .data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;border:0!important;border-radius:0;overflow:visible;background:transparent}
body:has(#batchSelect) .data-cell{padding:0!important;border:0!important;background:transparent;min-height:0!important;height:auto;display:block}
body:has(#batchSelect) .data-cell label{font-size:12px;font-weight:400;color:#5f6368;margin:0 0 6px;text-transform:none;letter-spacing:0}
body:has(#batchSelect) .data-cell input,body:has(#batchSelect) .data-cell textarea{width:100%;padding:10px 12px!important;border:1px solid #dadce0!important;border-radius:6px;background:#fff;font-size:14px;line-height:1.5;min-height:42px;outline:0;box-sizing:border-box}
body:has(#batchSelect) .data-cell input:focus,body:has(#batchSelect) .data-cell textarea:focus{border-color:#1a73e8!important;box-shadow:0 0 0 1px #1a73e8}
body:has(#batchSelect) .data-cell:has(textarea){grid-column:1/-1}
body:has(#batchSelect) .data-cell textarea{min-height:88px;resize:vertical}
body:has(#batchSelect) .twi-actionbar{padding:8px 0;gap:8px;background:#f8fafd}
body:has(#batchSelect) .btn{font-weight:500;box-shadow:none}
@media(max-width:1100px){.batch-list-toolbar{gap:7px}#root .batch-search-create>div{max-width:220px}.enquiry-toolbar{flex-wrap:wrap}.enquiry-toolbar .sheetbarleft{min-width:220px}.enquiry-toolbar .sheetbarright:empty{display:none}}
@media(max-width:720px){.batch-list-toolbar{flex-wrap:wrap}#root .batch-categories{order:4;flex-basis:100%;border:0;padding:4px 0!important}#root .batch-search-create>div{max-width:none}.toolbar-divider{display:none}.enquiry-toolbar .sheettitle{min-width:auto}.week-label{min-width:175px;font-size:11px}.enquiry-toolbar .sheetbarright{flex-wrap:wrap}body:has(#batchSelect) .content-inner{padding:16px 12px 40px}body:has(#batchSelect) .section{padding:18px 14px}body:has(#batchSelect) .data-grid{grid-template-columns:1fr}}
/* PDF overrides are available on demand and stay in the document while collapsed. */
body:has(#batchSelect) details.twi-review{padding:0;overflow:hidden}
.twi-review>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 24px;font-size:16px;font-weight:500;cursor:pointer;list-style:none;color:#202124}
.twi-review>summary::-webkit-details-marker{display:none}
.twi-review>summary .material-symbols-outlined{font-size:22px;transition:transform .15s}
.twi-review[open]>summary .material-symbols-outlined{transform:rotate(180deg)}
.twi-review>summary:hover{background:#f8fafd}
.twi-review>summary:focus-visible{outline:2px solid #1a73e8;outline-offset:-3px}
.twi-review-body{padding:0 24px 24px}
#root .booking-sheet tbody td.booking-readonly-data{padding:0 10px!important;height:34px;vertical-align:middle}
#root .booking-sheet tbody td.booking-readonly-data>button{display:block;width:100%;max-width:100%;height:32px;padding:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:32px}
#root .booking-sheet tbody td.booking-editable-data{padding:0!important}
#root .booking-sheet .booking-sheet-cell{padding:0 10px;box-sizing:border-box}
@media(max-width:720px){.twi-review>summary{padding:16px}.twi-review-body{padding:0 16px 18px}}
.row-count{width:56px;height:32px;padding:4px 6px;border:1px solid #dadce0;border-radius:6px;font:inherit;font-size:12px}
#addEnquiryRows{display:inline-flex;align-items:center;gap:4px}

/* Compact draft controls below the enquiry list. */
.draft-add-footer{padding:6px 10px!important;background:#fff;text-align:left!important;border-top:1px solid #dce3ed}
.quickactions .headicon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:28px}
.hub-lead-fields dd{overflow-wrap:anywhere;white-space:pre-wrap}

#saveCRM{background:#1a73e8;color:#fff;font-weight:600;min-width:85px;box-shadow:0 2px 5px #1a73e833}
