@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
.quick-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 18px}.quick-shortcuts strong{margin-right:6px}.quick-shortcuts a{padding:8px 14px;border-radius:7px;color:white;font-weight:600;text-decoration:none}.qs-start{background:#18643e}.qs-stop{background:#a13331}:root{font-family:'DM Sans',sans-serif;color:#183c40;background:#f3f6f7;font-size:16px;line-height:1.5;--green:#123f42;--lime:#bce965;--border:#d9e3e5}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{background:var(--green);color:white;border:1px solid var(--green);border-radius:8px;padding:12px 18px;font-weight:600;cursor:pointer;min-height:46px}button:hover{filter:brightness(1.14)}button:disabled{opacity:.45;cursor:not-allowed}button.secondary{background:white;color:var(--green);border-color:var(--border)}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #369dab;outline-offset:3px}[hidden]{display:none!important}header{display:flex;align-items:center;gap:18px;padding:20px 4vw;border-bottom:1px solid var(--border);background:white;flex-wrap:wrap}.brand{display:flex;align-items:center;gap:10px;font:800 23px Manrope,sans-serif;color:var(--green);text-decoration:none}.logo{display:grid;place-items:center;background:var(--green);color:var(--lime);height:36px;width:36px;border-radius:8px;font-size:23px}.header-note{font-size:.75rem;letter-spacing:.13em;color:#688084;margin-right:auto}#connection{font-size:.875rem;color:#546d71}main{max-width:1280px;margin:auto;padding:44px 4vw 24px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.16em;margin:0 0 8px}h1{font-family:Manrope,sans-serif;font-size:clamp(2rem,4vw,3rem);letter-spacing:-.035em;margin:0}h2{font-family:Manrope,sans-serif;font-size:1.2rem;margin:0}.muted{color:#5f7478;margin:8px 0 0}.card{background:white;border:1px solid var(--border);border-radius:12px}.period{padding:22px;display:flex;align-items:end;gap:16px}label{display:flex;flex-direction:column;gap:7px;font-size:.875rem;font-weight:600}input,select{background:white;border:1px solid #c4d1d3;border-radius:6px;padding:11px 12px;color:#183c40;min-height:46px;min-width:0}input[type=checkbox]{accent-color:var(--green);width:19px;min-height:19px;height:19px;margin:0}.calendar-label{flex:1}.period label{min-width:160px}.steps{display:flex;gap:24px;border-bottom:1px solid var(--border);margin:26px 0 24px;padding:0 0 14px;color:#62777b;font-size:.875rem}.steps .active{color:var(--green);font-weight:700}.empty{text-align:center;padding:52px 20px}.empty-icon{font-size:3rem;color:#488488;line-height:1;margin-bottom:20px}.empty h2{font-size:1.6rem}.empty p{color:#5f7478}.small{font-size:.8125rem;color:#60777a;line-height:1.6}.message{padding:14px 18px;border:1px solid #bdd8db;background:#e8f4f5;border-radius:8px;white-space:pre-line}.message.error{border-color:#e7b5aa;background:#fff0ec;color:#9a3521}.metrics{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:white}.metrics article{padding:24px;border-right:1px solid var(--border)}.metrics article:first-child{background:var(--green);color:white}.metrics article:last-child{border:0}.metrics span{display:block;font-size:.875rem}.metrics strong{display:block;font:700 2.1rem Manrope,sans-serif;margin-top:8px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:30px 0 16px}.notice{background:#e8eff0;border-left:3px solid #649599;padding:12px 16px;font-size:.875rem}.customer-card{margin:16px 0;overflow:hidden}.customer-head{display:flex;align-items:center;justify-content:space-between;background:#f8fafb;padding:16px 20px;border-bottom:1px solid var(--border);gap:12px}.customer-head h3{font:700 1.1rem Manrope,sans-serif;margin:0}.customer-head span{font-size:.875rem}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:#657d80;background:#f8fafb;font-weight:600}th,td{padding:13px 16px;border-bottom:1px solid #e4ebec;vertical-align:top}td{font-size:.875rem}td input[type=text]{width:180px;min-height:36px;padding:6px 9px;font-size:.875rem}.description{min-width:240px;max-width:400px;overflow-wrap:anywhere}.date-cell{white-space:nowrap}.number{text-align:right;white-space:nowrap}.tag{display:inline-block;font-size:.75rem;color:#815117;background:#fff1cf;padding:2px 7px;border-radius:4px;margin-top:5px}.tag.blocked{color:#924736;background:#ffebe5}.tag.paid{color:#436b55;background:#e4f3e9}.summary{padding:6px 20px 20px;margin-top:24px}.summary .section-heading{margin:14px 0}tfoot td,tfoot th{font-weight:700;color:var(--green);font-size:1rem;background:#eef4f3;border-bottom:0}.exclusions{padding:16px 20px;color:#5c7276;font-size:.875rem}.invoice-bar{margin-top:26px;background:var(--green);color:white;border-radius:12px;padding:24px;display:flex;justify-content:space-between;align-items:center;gap:24px}.invoice-bar p{font-size:.875rem;color:#d6e4e3;margin:7px 0 0}.invoice-bar button{background:var(--lime);color:var(--green);border-color:var(--lime)}footer{font-size:.75rem;color:#60777a;margin:30px 0 0}dialog{width:min(650px,calc(100% - 32px));border:1px solid var(--border);border-radius:14px;padding:28px;color:var(--green);max-height:90vh}dialog::backdrop{background:#0b2929aa}dialog p,dialog li{font-size:.875rem}dialog label{margin:18px 0}dialog input{width:100%}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.icon-button{padding:0;min-height:36px;width:36px;border:0;background:transparent;color:var(--green);font-size:1.6rem}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}.confirm-list{max-height:240px;overflow:auto;border:1px solid var(--border);border-radius:8px;padding:12px;font-size:.875rem}.confirm-list p{margin:6px 0}details{padding:14px;background:#f0f5f5;border-radius:8px}summary{cursor:pointer;font-size:.875rem;font-weight:600}li{margin-bottom:9px}a{color:#1a747d}#redirect-uri{font-size:.8125rem}.period-working{opacity:.6}
@media(max-width:800px){.header-note{display:none}header{gap:12px}#connection{margin-left:auto}.page-heading{align-items:flex-start}.period{flex-wrap:wrap}.period label{flex:1;min-width:140px}.period button{width:100%}.metrics{grid-template-columns:1fr 1fr}.metrics article{padding:18px;border-bottom:1px solid var(--border)}.steps{gap:12px;flex-wrap:wrap}.section-heading,.invoice-bar{align-items:flex-start;flex-direction:column}.page-heading{flex-wrap:wrap}main{padding-top:28px}.metrics strong{font-size:1.8rem}.dialog-actions{flex-wrap:wrap}.customer-head{align-items:flex-start}.summary{padding:6px 8px 16px}}
@media print{header button,.period,.steps,#settings-button,#review,#export,.invoice-bar,footer,.notice,td input[type=checkbox]{display:none!important}body{background:white}main{padding:0;max-width:none}.metrics,.customer-card,.summary{break-inside:avoid}.customer-head{background:white}.message{display:none}}
.customer-link{background:transparent;border:0;padding:0;min-height:32px;text-align:left;color:var(--green);font:inherit;text-decoration:underline;text-decoration-color:#9bbfc1;text-underline-offset:4px}.customer-link:hover{color:#197a81;text-decoration-color:currentColor;filter:none}#customer-detail{width:min(880px,calc(100% - 32px))}.customer-detail-summary{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:20px 0;border-bottom:1px solid var(--border)}.customer-detail-summary strong{font:700 1.9rem Manrope,sans-serif}.customer-detail-summary span{font-size:.875rem;color:#5f7478}.customer-detail-summary button{margin-left:auto}.booking-detail{padding:22px 0;border-bottom:1px solid var(--border)}.booking-detail:last-child{border-bottom:0}.booking-detail-head{display:flex;justify-content:space-between;gap:18px}.booking-detail-head h3{font-size:1rem;margin:0;overflow-wrap:anywhere}.booking-detail-head span{font-weight:700;white-space:nowrap}.booking-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:.9375rem;color:#304e52;margin:18px 0 0}#customer-pdf-status{padding:12px 16px;background:#e8f4f5;border-radius:8px;font-size:.875rem}
.hours-editor{display:inline-flex;gap:4px;max-width:110px;min-width:85px}.hours-editor input{width:100%;padding:8px;min-height:38px;font-weight:600}.hours-cell{min-width:155px;max-width:210px}.hours-cell .small{overflow-wrap:anywhere}.billing-line{font-size:.875rem;white-space:pre-wrap;overflow-wrap:anywhere;background:#edf3f4;padding:10px 12px;border-radius:6px}.billing-items{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}.item-editor{font-size:.8125rem;min-width:100px;max-width:180px}.item-editor input{width:100%;padding:8px;min-height:38px}.booking-detail-head .hours-editor{flex-shrink:0}
.brand-logo{display:block;width:112px;height:auto;flex-shrink:0}.brand>span{border-left:1px solid var(--border);padding-left:16px;margin-left:5px}@media(max-width:800px){.brand-logo{width:100px}.brand{font-size:20px}.brand>span{padding-left:12px}}
.customer-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;border-top:1px solid var(--border);padding:18px 20px;background:#f8fafb}.customer-actions>.small{margin-right:auto}#customer-detail-actions{margin-top:22px}.customer-actions button{font-size:.875rem}@media(max-width:600px){.customer-actions{align-items:stretch;flex-direction:column}.customer-actions>.small{margin:0}}
.app-nav{display:flex;gap:4px;margin-right:auto}.app-nav a{padding:9px 13px;text-decoration:none;font-size:.875rem;font-weight:600;border-radius:7px}.app-nav a[aria-current=page]{background:#e6f0ed;color:#123f42}@media(max-width:650px){.app-nav{order:3;width:100%}}

.import-booking{padding:20px;border-bottom:1px solid var(--border)}.import-booking-head{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.import-booking-head>strong:last-child{margin-left:auto}.import-check{display:flex;flex-direction:row;align-items:center;gap:8px;margin:12px 0}.import-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.import-grid .wide{grid-column:1/-1}.import-grid textarea{font:inherit;border:1px solid #c4d1d3;border-radius:6px;padding:12px;width:100%;resize:vertical;color:inherit}.import-line{display:grid;grid-template-columns:1.1fr 2fr .65fr 1.5fr .8fr .65fr auto;gap:10px;padding:16px 0;border-bottom:1px solid var(--border);align-items:end}.import-line input,.import-line select,.import-grid select{width:100%;max-width:100%}.import-original{margin-top:14px;background:white}.import-booking details>button{margin:14px 0}.import-line+button{margin-top:12px}@media(max-width:1000px){.import-line{grid-template-columns:repeat(3,minmax(0,1fr))}.import-booking-head>strong:last-child{margin-left:0}}@media(max-width:620px){.import-grid,.import-line{grid-template-columns:1fr}.import-booking{padding:14px}.steps{gap:12px;flex-wrap:wrap}}

.customer-picker-field{display:flex;flex-direction:column;gap:7px;min-width:0}.customer-picker-label{font-size:.875rem;font-weight:600}.customer-picker{position:relative;min-width:0}.customer-picker-trigger{width:100%;text-align:left;background:white;color:var(--green);border:1px solid #c4d1d3;padding:11px 36px 11px 12px;font-weight:400;font-size:.875rem;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-picker-trigger::after{content:'▾';position:absolute;right:13px}.customer-picker-panel{position:absolute;z-index:20;top:calc(100% + 5px);left:0;right:0;background:white;border:1px solid #9db8bc;border-radius:8px;box-shadow:0 8px 25px #123f4228;padding:10px}.customer-picker-search{width:100%;font-size:.875rem}.customer-picker-options{list-style:none;padding:0;margin:8px 0 0;max-height:240px;overflow-y:auto;overscroll-behavior:contain}.customer-picker-option{padding:10px 12px;margin:0;border-radius:5px;font-size:.875rem;font-weight:400;cursor:pointer;overflow-wrap:anywhere}.customer-picker-option:hover,.customer-picker-option.active{background:#e8f4f5}.customer-picker-option[aria-selected=true]{font-weight:700}.customer-picker-status{margin:7px 4px}.customer-picker-clear{padding:6px 10px;min-height:34px;border:0;background:transparent;color:var(--green);font-size:.8125rem;text-decoration:underline}.customer-card:has(.customer-picker-panel:not([hidden])){overflow:visible;position:relative;z-index:5}
