@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--ink:#202522;--muted:#7a7e73;--green:#346a58;--yellow:#efd569;--orange:#c95832;--line:#e8e9e0;--white:#ffffffb5}*{box-sizing:border-box}body{margin:0;background:#f0f0e8;color:var(--ink);font:14px 'DM Sans',sans-serif;background-image:radial-gradient(ellipse at 33% 0%,#f5e7c9a8,transparent 55%),radial-gradient(ellipse at 90% 90%,#dce9df99,transparent 60%);min-height:100vh}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button,a,input,select{outline-offset:4px}button{border:0;background:none}button:hover{filter:brightness(.96)}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible{outline:2px solid var(--green)}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.shell{max-width:1600px;margin:auto;padding:29px 44px 28px 116px}.topbar,.brand,.top-actions,.nav,.toolbar,.row,.panel-title,.metric,.chips,.view-toggle{display:flex;align-items:center}.topbar{justify-content:space-between;margin-bottom:30px}.brand{gap:11px;font:800 25px Manrope;letter-spacing:-1.1px}.logo{background:var(--ink);color:#fff;width:35px;height:38px;display:grid;place-items:center;border-radius:11px;font-size:25px}.brand small{font:11px 'DM Sans';letter-spacing:0;border-left:1px solid #cccfc2;margin-left:10px;padding-left:20px;color:var(--muted)}.top-actions{gap:12px}.round{display:inline-grid;place-items:center;width:36px;height:36px;border:1px solid #fff9;background:#fff7;border-radius:50%;position:relative}.notification:after{content:'';width:6px;height:6px;background:var(--orange);border:2px solid #f7f5ed;border-radius:50%;position:absolute;top:7px;right:8px}.avatar{border-radius:50%;background:#d8e0cd;width:35px;height:35px;display:grid;place-items:center;font-weight:700;font-size:12px;border:3px solid #fff9}.nav{gap:7px;border-bottom:1px solid #daddd099;padding-bottom:20px;margin-bottom:29px}.nav button{padding:11px 21px;font-weight:500;border-radius:30px;font-size:13px}.nav button.active{background:var(--ink);color:white}.nav .soon{color:#909385}.nav .soon span{font-size:9px;border:1px solid #cdd0c5;border-radius:4px;padding:1px 4px;margin-left:5px}.rail{position:fixed;left:27px;top:50%;transform:translateY(-50%);border-radius:30px;background:var(--ink);padding:13px 8px;display:flex;flex-direction:column;align-items:center;gap:13px;z-index:3;color:#bfc5bc;box-shadow:0 10px 22px #2025220c}.rail button{width:34px;height:34px;border-radius:50%;color:inherit}.rail button.selected{background:#ffffff1c;color:white}.rail hr{width:19px;border:0;border-top:1px solid #ffffff26}.rail .rail-logo{color:#e8ce66;font-size:22px}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.4px;color:var(--muted);margin-bottom:8px}h1,h2,h3,p{margin:0}h1{font:600 33px/1.15 Manrope;letter-spacing:-1.4px}h1+p{margin-top:10px;color:var(--muted);font-size:13px}.toolbar{gap:10px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:11px 17px;border-radius:25px;font-size:12px;font-weight:550;white-space:nowrap}.btn.dark{background:var(--ink);color:white}.btn.light{background:#fff9;border:1px solid #fff}.btn .icon{width:15px;height:15px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:29px}.metric{gap:13px;padding:7px 0}.metric-icon{background:#fff9;border:1px solid #fff;width:43px;height:43px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.metric-label{color:#73796d;font-size:11px;margin-bottom:6px}.metric-value{font:650 27px Manrope;letter-spacing:-1px}.metric-sub{color:var(--muted);font-size:10px;margin-top:5px}.badge{display:inline-block;padding:4px 7px;border-radius:20px;font-size:9px;font-weight:600;vertical-align:middle;letter-spacing:0}.badge.green{background:#e2ebe2;color:#376550}.badge.yellow{background:#f3e3a4;color:#675722}.badge.orange{background:#f4dfd4;color:#a5492b}.badge.neutral{background:#e9ebe5;color:#687262}.metric-value .badge{margin-left:8px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(300px,1fr);gap:20px}.panel{background:var(--white);border:1px solid #fff;border-radius:22px;padding:22px;box-shadow:0 5px 13px #434b301a}.panel-title{justify-content:space-between;margin-bottom:20px;gap:10px}.panel-title h2{font-size:14px;font-weight:550}.panel-title small{font-size:11px;color:var(--muted)}.panel-title .round{width:29px;height:29px;background:transparent;border-color:#dfe4d9}.panel-title .icon{width:14px;height:14px}.tabs{display:flex;background:#e9ece38c;border-radius:20px;padding:3px;gap:2px}.tabs button{padding:6px 12px;border-radius:20px;font-size:10px;color:var(--muted)}.tabs button.active{background:white;color:var(--ink);box-shadow:0 2px 4px #2221}.day-strip{display:flex;gap:4px;align-items:center;font-size:11px;color:var(--muted)}.day-strip strong{color:var(--ink);font-weight:500}.arrival-list{display:grid;gap:9px}.arrival{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px;text-align:left;width:100%;padding:12px;background:#f2f3ecaa;border-radius:14px}.initials{display:grid;place-items:center;border-radius:50%;background:#e4dac3;color:#635a43;font-size:11px;width:36px;height:36px;font-weight:600}.arrival:nth-child(2) .initials{background:#dce7de;color:#4a6b57}.arrival:nth-child(3) .initials{background:#eaded7;color:#906451}.arrival strong{font-size:12px;font-weight:550;display:block}.arrival small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.arrival .right{text-align:right}.arrival .right strong{font-size:11px}.arrival .right small{color:var(--orange)}.panel-footer{margin-top:16px;border-top:1px solid var(--line);padding-top:14px;display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.text-btn{font-size:11px;font-weight:550;display:inline-flex;align-items:center;gap:6px}.text-btn .icon{width:13px;height:13px}.departures{display:grid;gap:9px}.tour-mini{background:var(--green);border-radius:15px;padding:16px;color:#fff;text-align:left;position:relative;width:100%;overflow:hidden}.tour-mini.yellow{background:var(--yellow);color:#31372b}.tour-mini .time{font-size:9px;opacity:.7}.tour-mini h3{font:600 16px Manrope;letter-spacing:-.3px;margin:8px 0 15px}.tour-mini .row{justify-content:space-between;font-size:10px;opacity:.9}.tour-mini .tag{background:#ffffff25;padding:5px 8px;border-radius:15px}.tour-mini.yellow .tag{background:#0000000b}.tour-mini .corner{position:absolute;right:14px;top:13px;opacity:.6}.overview-bottom{display:grid;grid-template-columns:1.72fr 1fr;gap:20px;margin-top:20px}.chart-header{display:flex;justify-content:space-between}.chart-value{font:600 29px Manrope;letter-spacing:-1px;margin:0 0 7px}.chart-value span{font-size:11px;color:var(--muted);font-family:'DM Sans';letter-spacing:0;margin-left:10px;font-weight:400}.legend{display:flex;gap:17px;font-size:10px;color:var(--muted)}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);margin-right:5px}.dot.orange{background:var(--orange)}.dot.yellow{background:var(--yellow)}.chart{height:180px;position:relative;margin-top:22px;padding-left:35px}.chart svg{width:100%;height:145px;overflow:visible}.chart-labels{display:flex;justify-content:space-between;color:#8e9287;font-size:9px;padding-top:10px}.y-labels{position:absolute;left:0;top:0;display:flex;flex-direction:column;height:145px;justify-content:space-between;color:#92968b;font-size:9px}.attention{display:flex;flex-direction:column;gap:3px}.attention-item{display:flex;justify-content:space-between;align-items:center;padding:13px 0;gap:10px;border-bottom:1px solid var(--line);text-align:left}.attention-item:last-child{border:0}.attention-item b{font-size:11px;font-weight:500;display:block}.attention-item small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.attention-item strong{font-size:12px;font-weight:600;white-space:nowrap}.attention-icon{width:30px;height:30px;border-radius:50%;background:#f6e7ca;display:grid;place-items:center;color:#8b702d;flex-shrink:0}.attention-icon .icon{width:14px;height:14px}.attention-item .body{flex:1}.footer{display:flex;justify-content:space-between;margin-top:24px;font-size:10px;color:#858a7e}.footer .dot{background:#799577;width:5px;height:5px}.filterbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px}.search{display:flex;align-items:center;gap:8px;border:1px solid #fff;background:#fff9;border-radius:24px;padding:9px 13px;width:240px}.search input{border:0;background:none;width:100%;font-size:11px;outline:none}.search .icon{width:15px;height:15px;color:var(--muted)}.board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.column{background:#ffffff70;border:1px solid #fff;border-radius:20px;padding:11px;min-height:380px}.column-head{display:flex;align-items:center;justify-content:space-between;padding:8px 4px 17px;font-size:12px}.column-head small{color:var(--muted);margin-left:5px}.booking-card{display:block;text-align:left;width:100%;padding:17px;border-radius:15px;margin-bottom:10px;background:var(--yellow);min-height:151px;box-shadow:0 3px 6px #22222206}.booking-card.confirmed{background:var(--green);color:#fff}.booking-card.pending{background:#dce5d7}.booking-card.completed{background:#e9ece4}.booking-card .date{font-size:9px;opacity:.7;display:flex;justify-content:space-between}.booking-card h3{font:600 15px/1.3 Manrope;letter-spacing:-.3px;margin:13px 0 5px}.booking-card p{font-size:10px;opacity:.7}.booking-card .row{justify-content:space-between;margin-top:18px;font-size:11px}.booking-card .row strong{font-weight:550;font-size:15px}.booking-card .status{font-size:9px;background:#ffffff30;padding:4px 6px;border-radius:15px}.calendar-wrap{overflow-x:auto}.calendar{min-width:820px;display:grid;grid-template-columns:140px repeat(7,1fr)}.cal-head{padding:13px;text-align:center;font-size:11px;border-bottom:1px solid var(--line);color:var(--muted)}.cal-head.today{color:var(--green);font-weight:700}.cal-head strong{display:block;font-size:20px;margin-top:7px;font-weight:500}.room{padding:22px 10px;font-size:12px;border-bottom:1px solid var(--line)}.room small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.cal-row{grid-column:2/9;display:grid;grid-template-columns:repeat(7,1fr);position:relative;border-bottom:1px solid var(--line);background:repeating-linear-gradient(90deg,transparent 0,transparent calc(14.2857% - 1px),#e4e7dd 14.2857%)}.stay{align-self:center;border-radius:8px;margin:5px 3px;padding:12px 10px;text-align:left;background:#dce8dc;min-width:0;position:relative;z-index:1}.stay.green{background:var(--green);color:white}.stay.yellow{background:var(--yellow)}.stay.orange{background:#f0d9cc}.stay strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stay small{display:block;font-size:9px;opacity:.7;margin-top:6px}.calendar-panel{padding:18px}.empty-room{font-size:10px;color:#93998c;align-self:center;grid-column:1/8;text-align:center}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{text-align:left;font-size:10px;font-weight:400;color:var(--muted);padding:12px;border-bottom:1px solid var(--line)}td{padding:17px 12px;border-bottom:1px solid var(--line)}tbody tr{cursor:pointer}tbody tr:hover{background:#e9eee34d}td small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.guest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.guest-card{text-align:left}.guest-card .initials{width:44px;height:44px;font-size:13px;margin-bottom:20px}.guest-card h3{font:600 17px Manrope;margin-bottom:5px}.guest-card p{font-size:11px;color:var(--muted)}.guest-card .row{justify-content:space-between;margin-top:24px;padding-top:15px;border-top:1px solid var(--line);font-size:11px}.guest-card .row span{color:var(--muted)}dialog{border:1px solid #fff;border-radius:25px;background:#f8f8f0;color:var(--ink);box-shadow:0 25px 100px #1b302c40;padding:29px;width:min(480px,calc(100% - 30px));max-height:90vh;overflow:auto}dialog::backdrop{background:#26392d3b;backdrop-filter:blur(6px)}dialog .close{position:absolute;right:17px;top:17px}dialog h2{font:600 24px Manrope;letter-spacing:-.7px;padding-right:24px;margin:10px 0}dialog .sub{color:var(--muted);font-size:12px;margin-bottom:25px}.detail-amount{background:var(--green);color:#fff;border-radius:17px;padding:21px;margin-bottom:20px}.detail-amount .row{justify-content:space-between}.detail-amount strong{font:600 30px Manrope}.detail-amount small{font-size:10px;opacity:.75}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:23px 0}.detail-grid small{display:block;color:var(--muted);font-size:10px;margin-bottom:6px}.detail-grid b{font-weight:500;font-size:12px}.detail-actions{display:flex;gap:8px;margin-top:24px;justify-content:flex-end}.detail-note{padding:14px;background:#e8ece1;border-radius:12px;font-size:12px;line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:7px;font-size:11px}.field.full{grid-column:1/-1}.field input,.field select{width:100%;background:#fff;border:1px solid #dce1d5;border-radius:10px;padding:11px;font-size:12px;color:var(--ink)}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:#fff;padding:13px 22px;border-radius:30px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:10}#toast.show{opacity:1;transform:translate(-50%,0)}.empty{padding:40px;text-align:center;color:var(--muted);font-size:13px}.mobile-brand{display:none}@media(min-width:1500px){.shell{padding-top:35px}.overview-grid,.overview-bottom{grid-template-columns:1.8fr 1fr}.panel{padding:25px}.arrival{padding:16px}.tour-mini{padding:19px}}@media(max-width:1100px){.shell{padding:24px 25px 24px 93px}.rail{left:19px}.nav{gap:0}.nav button{padding:10px 15px}.nav .soon{display:none}.metric-value{font-size:22px}.metric-icon{width:35px;height:35px}.stats{gap:10px}.overview-grid,.overview-bottom{grid-template-columns:1.4fr 1fr}.board{grid-template-columns:repeat(2,1fr)}.guest-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.shell{padding:20px 17px 85px}.rail{top:auto;bottom:12px;left:50%;transform:translateX(-50%);flex-direction:row;border-radius:30px;padding:5px 12px;gap:14px}.rail hr,.rail .rail-logo,.rail .hide-mobile{display:none}.topbar{margin-bottom:24px}.brand small{display:none}.top-actions .btn{display:none}.nav{overflow:auto;padding-bottom:15px;margin-bottom:24px}.nav button{padding:10px 15px;white-space:nowrap}.heading{align-items:flex-start;gap:15px}h1{font-size:27px}.heading .toolbar .date-button{display:none}.heading .btn{padding:10px 12px;font-size:11px}.heading h1+p{font-size:11px;max-width:230px;line-height:1.6}.stats{grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:24px}.metric{gap:10px}.metric-value{font-size:24px}.metric-value .badge{font-size:8px;margin-left:3px}.metric-sub{font-size:9px}.overview-grid,.overview-bottom{grid-template-columns:1fr}.panel{padding:19px}.chart-value{font-size:25px}.chart-value span{display:block;margin:7px 0 0}.footer{gap:15px;line-height:1.5}.board{grid-template-columns:1fr 1fr;gap:9px}.column{padding:7px;border-radius:15px}.column-head{font-size:10px}.booking-card{padding:12px}.booking-card h3{font-size:13px}.booking-card .row{align-items:flex-start;gap:5px;flex-direction:column}.filterbar{flex-wrap:wrap}.search{width:100%;flex:1;min-width:170px}.guest-grid{grid-template-columns:1fr}.topbar .round{width:32px;height:32px}.top-actions{gap:7px}.brand{font-size:23px}.tabs button{padding:6px 10px}.day-strip{font-size:9px}.form-grid{gap:12px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Original vector mark from the White Orchid Tours website. */
.brand{font-size:24px;letter-spacing:-.85px;gap:12px;white-space:nowrap}
.logo{background:transparent;display:block;width:38px;height:38px;flex-shrink:0;border-radius:0}
.logo img{display:block;width:100%;height:100%;object-fit:contain}
.rail .rail-logo{width:34px;height:34px;display:block;margin:3px 0 4px;padding:5px;background:#f6f7ee;border-radius:50%}
.rail-logo img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:760px){.brand{font-size:21px;gap:9px}.logo{width:32px;height:32px}.rail .rail-logo{display:none}}
.calendar{grid-template-columns:180px repeat(7,1fr);min-width:960px}.room{min-height:79px}.room small{font-size:10px;line-height:1.5;max-width:155px}.calendar-tools{display:flex;justify-content:space-between;align-items:center;gap:15px;color:var(--muted);font-size:11px;margin-bottom:18px}.calendar-tools label{display:flex;align-items:center;gap:10px}.calendar-tools input{border:1px solid #dce1d5;border-radius:8px;background:#fff9;padding:7px;color:var(--ink);font-size:11px}.stay-empty{text-align:center;padding:40px 15px}.stay-empty .metric-icon{margin:auto}.stay-empty h3{font:600 21px Manrope;margin:16px 0 10px}.stay-empty p{color:var(--muted);font-size:12px;line-height:1.8;margin-bottom:20px}.field textarea{font:inherit;background:#fff;border:1px solid #dce1d5;border-radius:10px;padding:11px;resize:vertical}.form-help{font-size:11px;color:var(--muted);line-height:1.6}.calculation{background:#e7ede2;border-radius:10px;padding:12px;font-size:11px;line-height:1.6}#form-error{color:var(--orange);font-size:12px;margin-top:15px;line-height:1.5}@media(max-width:760px){.calendar-tools{align-items:flex-start;flex-direction:column}.panel-title .tabs{flex-wrap:wrap}.panel-title .toolbar{gap:5px}.panel-title .toolbar .btn{padding:8px 10px}.filterbar .tabs{overflow:auto;max-width:100%}.detail-grid{gap:18px}}
/* Booking form: one control height, consistent inset icons, and aligned row baselines. */
#newBooking{width:min(660px,calc(100% - 32px));padding:30px}
#newBooking .sub{max-width:520px;line-height:1.6;margin-bottom:25px}
:is(#stay-form,#expense-form) .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;row-gap:18px;align-items:end}
:is(#stay-form,#expense-form) .field{min-width:0;gap:8px;line-height:1.45;font-size:12px}
:is(#stay-form,#expense-form) .field input,:is(#stay-form,#expense-form) .field select{box-sizing:border-box;width:100%;min-width:0;height:44px;min-height:44px;padding:0 13px;border:1px solid #dce1d5;border-radius:10px;font-size:13px;line-height:normal;background-color:#fff;color:var(--ink);box-shadow:0 1px 2px #24302003}
:is(#stay-form,#expense-form) .field select{appearance:none;-webkit-appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236a756b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:16px}
:is(#stay-form,#expense-form) input[type=number]{appearance:textfield;-moz-appearance:textfield}
:is(#stay-form,#expense-form) input::-webkit-inner-spin-button,:is(#stay-form,#expense-form) input::-webkit-outer-spin-button{appearance:none;margin:0}
:is(#stay-form,#expense-form) input[type=date]{display:block;font-variant-numeric:tabular-nums}
:is(#stay-form,#expense-form) input[type=date]::-webkit-calendar-picker-indicator{margin:0;padding:0;opacity:.65;width:17px;height:17px;cursor:pointer}
:is(#stay-form,#expense-form) input[type=date]::-webkit-date-and-time-value{text-align:left}
:is(#stay-form,#expense-form) .field textarea{min-height:96px;padding:12px 13px;font-size:13px;line-height:1.6}
:is(#stay-form,#expense-form) .form-help{margin:0;line-height:1.6;font-size:11px}
:is(#stay-form,#expense-form) .calculation{min-height:44px;display:flex;align-items:center;font-size:12px;line-height:1.5}
:is(#stay-form,#expense-form) #form-error:empty{display:none}
:is(#stay-form,#expense-form) .detail-actions{padding-top:20px;margin-top:22px;border-top:1px solid var(--line);gap:10px}
:is(#stay-form,#expense-form) .detail-actions .btn{height:42px;min-width:100px}
#newBooking .close{width:34px;height:34px;top:19px;right:19px}
.overview-empty{padding:30px 12px;text-align:center;color:var(--muted);font-size:12px;line-height:1.8}
.overview-empty .metric-icon{margin:0 auto 12px}.overview-empty .text-btn{margin-top:12px;color:var(--ink)}
@media(max-width:520px){#newBooking{padding:24px 20px}:is(#stay-form,#expense-form) .form-grid{grid-template-columns:minmax(0,1fr);row-gap:16px}:is(#stay-form,#expense-form) .field.full{grid-column:1}#newBooking h2{font-size:25px}#newBooking .eyebrow{font-size:9px;padding-right:30px}}
.chart-header>.badge{align-self:flex-start}
.partner-section{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;padding:18px;border:1px solid #dce3d5;border-radius:15px;background:#edf1e755}.partner-section[hidden]{display:none}.partner-section .full,.partner-heading{grid-column:1/-1}.partner-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.partner-heading h3,.partner-detail h3{font-size:13px;font-weight:600}.partner-heading span{color:var(--muted);font-size:10px}.partner-balance{min-height:44px;display:flex;align-items:center;font-size:12px;color:var(--green)}.partner-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:20px 23px;margin:0 0 23px;background:#fff8;border:1px solid #fff;border-radius:18px}.partner-summary small{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}.partner-summary strong{font:600 22px Manrope}.partner-summary p{grid-column:1/-1;font-size:10px;line-height:1.6;color:var(--muted)}.partner-detail{background:#eaf0e2;border-radius:15px;padding:17px;margin-bottom:17px}.partner-detail .detail-grid{margin:15px 0}.partner-detail .panel-title{margin:0}:is(#stay-form,#expense-form) input[readonly]{background:#edf1e8;color:#4f6657}@media(max-width:520px){.partner-section{grid-template-columns:minmax(0,1fr);padding:14px}.partner-heading{align-items:flex-start;flex-direction:column;gap:4px}.partner-summary{grid-template-columns:1fr}.partner-summary p{grid-column:1}}
.detail-actions .remove-stay{margin-right:auto;color:#a5492b;padding-left:0;padding-right:8px}.removed-stay-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:18px 0}.removed-stay-row strong{font-size:13px;font-weight:550}.removed-stay-row small{display:block;color:var(--muted);font-size:10px;line-height:1.6;margin-top:6px}@media(max-width:520px){.detail-actions{flex-wrap:wrap}}

.finance-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 25px}.month-picker{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}.month-picker input{border:1px solid #dce1d5;border-radius:10px;padding:10px 12px;color:var(--ink);background:#fff9;font:inherit}.finance-line{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.finance-line strong{font-weight:550;white-space:nowrap}.finance-line.emphasized{font-size:14px;background:#e7eee3;border:0;border-radius:12px;padding:16px;margin-top:12px}.finance-line.emphasized strong{font:650 19px Manrope}.finance-panels{grid-template-columns:1.4fr 1fr}#expense-error{font-size:12px;color:var(--orange);line-height:1.6;margin-top:15px}#expense-error:empty{display:none}@media(max-width:760px){.finance-panels{grid-template-columns:1fr}.finance-toolbar{flex-wrap:wrap}.nav button{padding-left:12px;padding-right:12px}.finance-line{font-size:11px}.finance-line.emphasized{font-size:12px}.finance-line.emphasized strong{font-size:17px}}

@media(max-width:760px){.metric-value{font-size:clamp(18px,3.1vw,24px)}}

/* Solid booking source colours; original card geometry and typography. */
[data-source="booking-com"]{--source-bg:#003b95;--source-ink:#fff}
[data-source="expedia"]{--source-bg:#f0d968;--source-ink:#30352b}
[data-source="agoda"]{--source-bg:#c93240;--source-ink:#fff}
[data-source="direct"]{--source-bg:#346a58;--source-ink:#fff}
[data-source="other"]{--source-bg:#586657;--source-ink:#fff}
:is(.stay,.tour-mini,.arrival,.guest-card,.attention-item,.detail-amount)[data-source]{background:var(--source-bg);color:var(--source-ink)}
:is(.arrival,.guest-card,.attention-item)[data-source] :is(small,p,.row>span){color:var(--source-ink)}
.arrival[data-source] .right small{color:var(--source-ink)!important}
.tour-mini[data-source="expedia"] .tag{background:#0000000b}
tr[data-source],tr[data-source]:hover{background:var(--source-bg);color:var(--source-ink)}
tr[data-source] td small{color:var(--source-ink)}
.source-legend{flex-wrap:wrap;gap:10px 17px}
.source-legend .dot[data-source]{background:var(--source-bg)}
.calendar-panel>.panel-footer{gap:14px;flex-wrap:wrap}

/* Attention rows need their own inset spacing within the panel. */
#attention-panel .attention{gap:8px}
#attention-panel .attention-item{padding:14px;border:0;border-radius:14px;gap:12px;min-width:0;width:100%}
#attention-panel .attention-item .body{min-width:0}
#attention-panel .attention-item b{font-weight:600;line-height:1.4}
#attention-panel .attention-item small{line-height:1.5;opacity:.85}
#attention-panel .attention-item strong{margin-left:auto;flex-shrink:0;font-variant-numeric:tabular-nums}
#attention-panel .attention-icon{background:#ffffff26;color:inherit}
@media(max-width:520px){#attention-panel .attention-item{padding:12px;gap:10px}#attention-panel .attention-item strong{font-size:11px}#attention-panel .attention-item small{font-size:9px}}

.payment-editor{display:block;border-top:1px solid var(--line);padding-top:20px}
.payment-editor .panel-title{margin-bottom:10px;gap:12px}.payment-editor h3,.payment-history h3{font-size:14px;font-weight:600}
.payment-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin:16px 0;padding:16px;background:#edf1e755;border:1px solid #dce3d5;border-radius:14px}
.payment-entry .remove-payment{grid-column:1/-1;justify-self:end;color:#a5492b}
.payment-review{background:#f7edc7;border-radius:10px;padding:12px;margin-top:12px;color:#665321;font-size:11px;line-height:1.6}
.payment-history{margin:24px 0}.payment-history .panel-title{margin-bottom:10px}.payment-history table{white-space:normal}.payment-history th,.payment-history td{padding:12px 8px}.payment-history td:last-child{text-align:right;white-space:nowrap}.payment-history tbody tr{cursor:default}
.platform-finance{margin-top:20px}.platform-finance>.panel-title{align-items:flex-start;gap:16px;flex-wrap:wrap}.platform-finance .form-help{margin-top:10px}.platform-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}
.platform-total{background:var(--source-bg);color:var(--source-ink);padding:18px;border-radius:15px;min-width:0}.platform-total>span{font-size:12px}.platform-total strong{display:block;font:600 22px Manrope;margin:12px 0 8px;letter-spacing:-.4px}.platform-total small{font-size:10px;opacity:.8;line-height:1.5;display:block}
.platform-finance tbody tr{cursor:default}.platform-finance tfoot td{font-weight:600;border-top:1px solid var(--line)}.platform-finance th:not(:first-child),.platform-finance td:not(:first-child){text-align:right}
@media(max-width:1100px){.platform-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.payment-entry{grid-template-columns:minmax(0,1fr);padding:12px}.platform-total{padding:14px}.platform-total strong{font-size:19px}.payment-editor .panel-title{flex-wrap:wrap}}
.period-editor{border-top:1px solid var(--line);padding-top:15px}.period-editor summary{cursor:pointer;font-size:12px;font-weight:600;padding:5px 0}.period-editor .form-help{margin-top:10px}.stay-period .remove-period{grid-column:1/-1;justify-self:end;color:#a5492b}
.finance-view-tabs{display:inline-flex;margin:0 0 28px;padding:5px}.finance-view-tabs button{padding:10px 18px;font-size:12px}.cash-explainer{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:-5px 0 24px;font-size:11px;color:var(--muted);line-height:1.6}.cash-explainer>span:first-child{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.cash-explainer .icon{width:15px;height:15px;flex-shrink:0}.cash-explainer strong{font-weight:600;color:var(--ink)}.cash-section{margin-top:20px}.cash-receipts-panel .form-help,.booking-earnings-panel .form-help{margin-top:9px}.cash-receipts-panel .platform-total{text-align:left;transition:box-shadow .15s ease}.cash-receipts-panel .platform-total:hover{box-shadow:0 0 0 3px #273c3025}.cash-receipts-panel .platform-total.source-selected{outline:2px solid var(--source-bg);outline-offset:3px}.receipt-list-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:24px 0 10px}.receipt-list-heading h3{font-size:13px;font-weight:600}.receipt-list-heading>span{font-size:10px;color:var(--muted)}.source-label{display:inline-flex;border-radius:14px;padding:5px 9px;background:var(--source-bg);color:var(--source-ink);font-size:10px}.cash-receipt-table td:last-child,.cash-outgoing-table td:last-child{text-align:right}.cash-receipt-table th:last-child,.cash-outgoing-table th:last-child{text-align:right}.cash-receipt-table tfoot td,.cash-outgoing-table tfoot td,.booking-earnings-panel tfoot td{font-weight:600;border-top:1px solid var(--line);background:#edf1e755}.cash-receipt-table td small{max-width:220px;white-space:normal;line-height:1.6}.finance-balances{grid-template-columns:1fr 1fr}.earnings-equation{display:flex;align-items:center;gap:14px;padding:16px 0;font-size:12px;flex-wrap:wrap}.earnings-equation>b{font-size:18px;color:var(--muted)}.booking-earnings-panel>.panel-title{gap:15px;flex-wrap:wrap}.booking-earnings-panel tbody tr{cursor:default}
@media(max-width:760px){.cash-explainer{align-items:flex-start;flex-direction:column;gap:6px}.finance-view-tabs{display:flex;max-width:100%}.finance-view-tabs button{padding:9px 10px;font-size:11px}.finance-balances{grid-template-columns:1fr}.receipt-list-heading{align-items:flex-start;flex-wrap:wrap}.receipt-list-heading>span{font-size:9px}}
.cash-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.balance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.money-metric-button{text-align:left;padding:16px;border:1px solid #ffffffaa;border-radius:17px;background:#ffffff60;min-width:0}.money-metric-button:hover{background:#ffffffa6}.money-metric-button:focus-visible{outline:2px solid var(--green);outline-offset:3px}.money-metric-button .metric{align-items:flex-start}.money-metric-hint{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px;margin:15px 0 0 49px}.money-metric-hint .icon{width:12px;height:12px}.finance-scope-note{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;font-size:11px;color:var(--muted);line-height:1.6}.finance-scope-note strong{color:var(--ink);font-weight:600}.balance-navigation{display:flex;align-items:center;justify-content:space-between;gap:24px}.balance-navigation h2{font-size:15px;margin-bottom:9px}.balance-navigation .btn{white-space:nowrap}.booking-earnings-panel .platform-total{text-align:left;width:100%}#detail.finance-drilldown{width:min(960px,calc(100% - 30px))}.finance-drilldown table{font-size:12px}.drilldown-title{font-size:14px;margin:25px 0 12px}.expense-payment-row .remove-expense-payment{grid-column:1/-1;justify-self:end;color:#a5492b}.finance-drilldown tbody tr:has([data-expense]){cursor:default}
@media(max-width:1100px){.cash-stats{gap:10px}.money-metric-button{padding:12px}.money-metric-button .metric{gap:8px}.money-metric-button .metric-value{font-size:21px}.money-metric-hint{margin-left:0}}@media(max-width:760px){.finance-view-tabs{overflow-x:auto;white-space:nowrap}.finance-view-tabs button{flex-shrink:0}.cash-stats,.balance-stats{grid-template-columns:1fr}.money-metric-button .metric-value{font-size:25px}.money-metric-hint{margin-left:49px}.finance-scope-note,.balance-navigation{align-items:flex-start;flex-direction:column;gap:8px}.balance-navigation .btn{margin-top:6px}}
.partner-property-toolbar{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin-bottom:22px}.partner-property-toolbar>.field{min-width:210px}.partner-scope{display:flex;gap:9px;flex-direction:column;padding:16px 20px;margin-bottom:25px;background:#edf1e7a6;border:1px solid #dce4d7;border-radius:14px;font-size:12px}.partner-scope span{font-size:11px;color:var(--muted);line-height:1.6}.partner-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;min-width:630px}.partner-calendar-wrap{overflow-x:auto}.partner-day-head{font-size:11px;color:var(--muted);padding:12px 10px}.partner-day{min-height:92px;padding:12px;text-align:left;border:1px solid #dde4d8;border-radius:11px;background:#fff7;color:var(--ink);display:flex;align-items:flex-start;flex-direction:column;gap:9px;min-width:0}.partner-day strong{font:600 16px Manrope}.partner-day span{font-size:10px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;max-width:100%;white-space:nowrap}.partner-day small{font-size:9px;opacity:.8}.partner-day.available span{color:#788674}.partner-day.available:hover{background:#e3eee1}.partner-day.occupied{background:var(--source-bg);color:var(--source-ink);border-color:transparent}.partner-day.owner-block{background:#e4e5df;color:#586154}.partner-day.is-today{outline:2px solid #346a58;outline-offset:1px}.partner-day.blank{background:transparent;border-color:transparent}.partner-availability>.panel-title{align-items:flex-start;gap:15px;flex-wrap:wrap}.partner-availability input[type=month]{border:1px solid var(--line);border-radius:10px;padding:9px;background:#fff9;font:inherit;font-size:11px;color:var(--ink)}.partner-availability .form-help{margin-top:8px}.partner-month-plan{display:flex;align-items:end;gap:15px;margin:15px 0}.partner-month-plan .field{flex:1}.partner-charge-row .remove-partner-charge,.partner-payment-row .remove-partner-payment{grid-column:1/-1;justify-self:end;color:#a5492b}.partner-archive summary{cursor:pointer;font-size:12px}.partner-archive button{width:100%}#detail.partner-wide{width:min(900px,calc(100% - 30px))}#partner-booking-error,#partner-payment-error,#partner-block-error{color:#a5492b;font-size:12px;line-height:1.6;margin-top:15px}.partner-property-stats .metric-value{font-size:23px}.nav{flex-wrap:wrap}
@media(max-width:1100px){.partner-property-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.partner-property-stats .metric-value{font-size:23px}}@media(max-width:760px){.nav{flex-wrap:nowrap}.partner-month-plan{align-items:stretch;flex-direction:column}.partner-property-toolbar{align-items:flex-start;gap:12px}.partner-property-toolbar .field{width:100%}.partner-property-stats{grid-template-columns:1fr}.partner-property-stats .metric-value{font-size:25px}}
/* Keep select chevrons consistently inset, including the partner property picker. */
.partner-property-toolbar select,:is(#partner-booking-form,#partner-agreement-form,#partner-payments-form) select{appearance:none;-webkit-appearance:none;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237a7e73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 17px center;background-size:18px}
.partner-property-toolbar select{min-width:250px}
.extension-current{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;border-radius:14px;background:#e8ede2;padding:15px 18px;margin-bottom:22px;font-size:12px}.extension-current span{display:flex;flex-direction:column;gap:6px}.extension-current strong{font-size:16px}.extension-receipt{padding:16px;background:#edf1e7;border-radius:14px}.extension-receipt[hidden]{display:none}#extension-error{color:#a5492b;font-size:12px;line-height:1.6;margin-top:15px}#extension-form select{appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237a7e73' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 17px center;background-size:18px}.extension-history td{white-space:normal}.detail-actions{flex-wrap:wrap}
