:root{--bg:#061c18;--bg2:#0a2c22;--panel:#0d3a2d;--mint:#70e7b4;--gold:#f5a400;--gold2:#ffd66b;--cream:#fff8e7;--white:#fff;--ink:#08201a;--muted:rgba(245,255,250,.82);--line:rgba(255,255,255,.16);--shadow:0 26px 90px rgba(0,0,0,.38);--font:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--font);color:#fff;background:radial-gradient(circle at 18% 12%,rgba(87,239,177,.17),transparent 34%),radial-gradient(circle at 78% 18%,rgba(245,164,0,.14),transparent 30%),linear-gradient(135deg,#04140f 0%,#08241c 45%,#020906 100%);min-height:100vh;-webkit-font-smoothing:antialiased}a{color:inherit}.wrap{width:min(1180px,calc(100% - 28px));margin:auto}.top{padding:26px 0 16px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:13px;font-size:1.45rem;font-weight:1000;letter-spacing:-.045em}.brand img{width:58px;height:58px;border-radius:50%;object-fit:cover;background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.08)}.brand b{color:var(--gold)}.badge{padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid var(--line);font-weight:900;color:var(--gold2)}
.hero{padding:36px 0 18px}.eyebrow{color:var(--gold2);font-weight:950;letter-spacing:.15em;text-transform:uppercase;font-size:.78rem}.hero h1{font-size:clamp(2.3rem,6vw,5.4rem);line-height:.95;letter-spacing:-.065em;margin:10px 0 12px}.hero p{max-width:780px;color:var(--muted);font-weight:700;line-height:1.7}.grid{display:grid;grid-template-columns:1.05fr .95fr;gap:22px;align-items:start;padding:24px 0 60px}.card{border-radius:30px;padding:24px;background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.045));border:1px solid rgba(255,255,255,.14);box-shadow:var(--shadow)}.card.light{background:linear-gradient(180deg,#fffdf6,#fff7e4);color:#10231e;border-color:#eadfc7}.card h2{margin:0 0 8px;font-size:1.5rem;letter-spacing:-.03em}.sub{color:rgba(245,255,250,.72);font-weight:700;line-height:1.55}.light .sub{color:#557068}.fields{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:18px}.full{grid-column:1/-1}label{display:grid;gap:7px;font-size:.88rem;font-weight:900;color:#ddfff0}label small{font-weight:650;color:rgba(245,255,250,.62)}.light label{color:#173b31}.light label small{color:#6e807a}input,select,textarea{width:100%;padding:14px 15px;border-radius:16px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.95);color:#10231e;font:inherit;font-weight:700;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(245,164,0,.17)}textarea{min-height:104px;resize:vertical}.row{display:flex;gap:10px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;min-height:48px;padding:0 20px;border-radius:999px;font-weight:1000;cursor:pointer;text-decoration:none}.primary{background:linear-gradient(135deg,var(--gold2),var(--gold));color:#171108}.green{background:linear-gradient(135deg,#43ec94,#12bd67);color:#072117}.ghost{background:rgba(255,255,255,.1);color:#fff;border:1px solid var(--line)}.danger{background:#a52a2a;color:#fff}.summary{display:grid;gap:10px;margin:18px 0}.sumrow{display:flex;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid #eadfc7}.sumrow strong{color:#0b4738}.pricebox{padding:20px;border-radius:22px;background:linear-gradient(135deg,#0c4739,#082d25);color:#fff;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center}.pricebig{font-size:2rem;font-weight:1000;color:var(--gold2)}.bank{margin-top:15px;padding:18px;border-radius:22px;background:#fff;border:1px solid #eadfc7;color:#133129}.bank code{font-family:inherit;font-weight:950;letter-spacing:.02em;word-break:break-all}.note{margin-top:14px;padding:14px 16px;border-radius:18px;background:rgba(245,164,0,.12);border:1px solid rgba(245,164,0,.3);line-height:1.55;font-weight:700}.light .note{color:#624813}.checks{display:grid;gap:11px;margin-top:15px}.check{display:flex;gap:10px;align-items:flex-start;color:#354f47;font-size:.9rem;font-weight:700;line-height:1.45}.check input{width:18px;height:18px;margin-top:2px}.statuspill{display:inline-flex;padding:7px 11px;border-radius:999px;background:#e6f7ef;color:#0b5a43;font-weight:900;font-size:.82rem}.list{display:grid;gap:12px;margin-top:18px}.item{display:grid;grid-template-columns:1fr auto;gap:14px;padding:16px;border-radius:20px;background:rgba(255,255,255,.08);border:1px solid var(--line)}.item h3{margin:0 0 5px;font-size:1rem}.meta{font-size:.86rem;color:rgba(245,255,250,.7);font-weight:700;line-height:1.5}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-end}.mini{min-height:38px;padding:0 13px;font-size:.84rem}.footer{padding:24px 0 40px;color:rgba(245,255,250,.66);font-size:.84rem;text-align:center}.divider{height:1px;background:rgba(255,255,255,.13);margin:18px 0}.login{width:min(480px,calc(100% - 28px));margin:12vh auto;padding:28px}.alert{padding:13px 15px;border-radius:16px;margin:12px 0;font-weight:800}.ok{background:rgba(67,236,148,.14);border:1px solid rgba(67,236,148,.3);color:#cffff0}.err{background:rgba(255,90,90,.14);border:1px solid rgba(255,90,90,.28);color:#ffd4d4}.customer-shell{width:min(820px,calc(100% - 26px));margin:26px auto 60px}.customer-shell .card{padding:clamp(20px,5vw,38px)}.customer-title{text-align:center}.customer-title img{width:92px;height:92px;border-radius:50%;margin:0 auto 16px;background:#fff}.customer-title h1{font-size:clamp(2rem,6vw,3.5rem);letter-spacing:-.055em;margin:0}.customer-title p{color:#5a7069;font-weight:700}.timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0}.step{padding:12px;border-radius:16px;background:#f3eee3;text-align:center;color:#65756f;font-weight:900;font-size:.82rem}.step.active{background:#0d4b3d;color:#fff}.step.done{background:#dbf7e9;color:#0b5a43}.legal-small{font-size:.78rem;color:#6d7c77;line-height:1.55;margin-top:14px}.copybtn{background:#f0eadc;color:#12382f;border:0;border-radius:12px;padding:8px 10px;font-weight:900;cursor:pointer}
@media(max-width:850px){.grid{grid-template-columns:1fr}.fields{grid-template-columns:1fr}.full{grid-column:auto}.top{align-items:flex-start}.pricebox{grid-template-columns:1fr}.item{grid-template-columns:1fr}.actions{justify-content:flex-start}.timeline{grid-template-columns:1fr}.brand span{font-size:1.05rem}}
@media print{body{background:#fff;color:#111}.top,.hero,.footer,.no-print{display:none!important}.customer-shell{margin:0;width:100%}.card{box-shadow:none;border:0}.light{background:#fff}.bank{border:1px solid #bbb}}

/* ===== Reservation system v2 ===== */
.floor-grid{display:grid;gap:8px}.liftcheck{display:flex!important;align-items:center;gap:9px;margin-top:2px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.13);cursor:pointer}.liftcheck input{width:18px;height:18px;margin:0}.liftcheck span{font-size:.84rem}.item-main{min-width:280px}.item-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.item-head h3{margin:0}.statuspill.status-open{background:#f4f1e9;color:#4f5d58}.statuspill.status-confirmed{background:#e7f3ff;color:#155a85}.statuspill.status-payment{background:#fff3ca;color:#805b00}.statuspill.status-reserved{background:#dff8ea;color:#0a6848}.statuspill.status-progress{background:#e6e1ff;color:#503e9e}.statuspill.status-done{background:#d8f5e4;color:#09643f}.statuspill.status-cancelled{background:#ffe1e1;color:#9b2828}.status-form,.delete-form{display:flex;gap:6px;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;margin:0!important}.status-form select{padding:9px 10px;border-radius:12px;min-width:210px}.history{position:relative}.history summary{list-style:none;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.13);border:1px solid var(--line);font-weight:1000;cursor:pointer;color:#fff;font-family:Georgia,serif;font-style:italic}.history summary::-webkit-details-marker{display:none}.history-pop{position:absolute;right:0;z-index:20;bottom:48px;width:min(360px,80vw);padding:15px;border-radius:18px;background:#fff;color:#16352c;box-shadow:0 18px 55px rgba(0,0,0,.35);border:1px solid #e8dfcf}.history-row{display:grid;grid-template-columns:auto auto;gap:2px 8px;padding:9px 0;border-bottom:1px solid #eee5d7}.history-row:last-child{border-bottom:0}.history-row span{font-size:.75rem;color:#76847f}.history-row b{font-size:.8rem;text-align:right}.history-row small{grid-column:1/-1;color:#3d574f;line-height:1.35}.admin-back{position:fixed;z-index:50;top:14px;left:14px;padding:10px 14px;border-radius:999px;background:rgba(4,32,25,.88);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.2);color:#fff;text-decoration:none;font-weight:900;box-shadow:0 10px 35px rgba(0,0,0,.28)}.place-extra{display:block;margin-top:5px;color:#6d7f79;font-size:.78rem;font-weight:750}.customer-guide{display:flex;gap:12px;align-items:flex-start;margin:18px 0;padding:16px 17px;border-radius:20px;background:linear-gradient(135deg,#eefaf5,#fdf9ec);border:1px solid #dfeade;color:#23483d;line-height:1.55;font-weight:700}.guide-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#0c604a;color:#fff;font-weight:1000;flex:0 0 auto}.cancel-box{margin:16px 0;padding:16px 18px;border-radius:20px;background:linear-gradient(135deg,#fff7dc,#fff1c6);border:1px solid #eab84f;color:#5c4414;box-shadow:0 10px 30px rgba(194,132,0,.08);transition:.28s ease}.cancel-box.compact{padding:14px 16px}.cancel-box p{margin:6px 0 0;line-height:1.55;font-weight:700;font-size:.9rem}.cancel-title{font-weight:1000;color:#7e5800}.cancel-box.highlight{box-shadow:0 0 0 5px rgba(245,164,0,.22),0 12px 38px rgba(194,132,0,.18);transform:scale(1.008)}.terms-jump{font-weight:1000;color:#a66b00;text-decoration:underline;text-underline-offset:3px}.glass-cta{width:100%;margin-top:18px;min-height:58px;justify-content:space-between!important;padding:0 24px!important;color:#496159;background:rgba(222,229,225,.66);border:1px solid rgba(255,255,255,.75);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 12px 30px rgba(18,55,45,.08);backdrop-filter:blur(16px);cursor:not-allowed;transition:.25s ease}.glass-cta b{font-size:1.45rem}.glass-cta.ready{cursor:pointer;color:#fff;background:linear-gradient(135deg,rgba(18,125,94,.88),rgba(4,74,57,.95));border-color:rgba(255,255,255,.5);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 0 0 1px rgba(12,84,65,.22),0 16px 42px rgba(10,104,78,.28);animation:btPulse 2.1s ease-in-out infinite}.glass-cta:disabled{opacity:.72}.glass-cta.ready:hover{transform:translateY(-2px);animation:none;box-shadow:0 18px 48px rgba(10,104,78,.34)}@keyframes btPulse{0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 0 0 0 rgba(19,178,126,.22),0 16px 42px rgba(10,104,78,.22)}50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 0 0 8px rgba(19,178,126,0),0 18px 48px rgba(10,104,78,.34)}}.payment-whatsapp{margin-top:14px}.cancel-alert{background:#ffe7e7;border:1px solid #e6a0a0;color:#7d2929!important}.delete-form .danger{background:#7e2929}
@media(max-width:850px){.status-form{width:100%}.status-form select{min-width:0;flex:1}.history-pop{right:auto;left:0}.admin-back{position:sticky;display:inline-flex;top:8px;margin:8px 0 0 10px}.customer-shell{margin-top:12px}}
@media print{.admin-back{display:none!important}}

/* ===== Reservation system V3 refinements ===== */
.centered{text-align:center!important}.centered strong,.centered span{display:block}.bare-form{padding:0!important;background:none!important;border:0!important;box-shadow:none!important;margin:0!important}.booking-subtitle{display:grid;gap:4px;justify-items:center;margin-top:12px}.booking-subtitle span{display:block}.booking-subtitle strong{display:block;color:#35594f;letter-spacing:.03em}.customer-card{overflow:hidden}.booking-summary .sumrow{align-items:flex-start}.booking-summary .sumrow>strong{max-width:62%;text-align:right}.booking-summary .place-row strong{display:grid;gap:3px}.place-extra{margin-top:0!important;color:#6d7f79!important;font-size:.78rem!important;font-weight:800!important}.pricebox .price-label{font-weight:1000}.pricebox .price-note{opacity:.8}.deposit-focus{margin:18px 0 10px;padding:18px 20px;border-radius:22px;background:linear-gradient(135deg,#fff5c9,#ffdf72);border:1px solid #e8b436;color:#4b3500;text-align:center;box-shadow:0 12px 30px rgba(208,147,0,.13);animation:depositPulse 2.4s ease-in-out infinite}.deposit-focus span,.deposit-focus small{display:block;font-weight:900}.deposit-focus strong{display:block;font-size:2rem;line-height:1.1;margin:5px 0;color:#0b503e}.deposit-focus small{font-size:.78rem;color:#6c5513}@keyframes depositPulse{0%,100%{box-shadow:0 12px 30px rgba(208,147,0,.13),0 0 0 0 rgba(244,182,28,.18)}50%{box-shadow:0 14px 38px rgba(208,147,0,.2),0 0 0 8px rgba(244,182,28,0)}}.restline{display:flex;justify-content:space-between;gap:16px;padding:13px 4px;border-bottom:1px solid #eadfc7;color:#3f5850}.restline strong{color:#163e33}.customer-guide{display:grid!important;grid-template-columns:auto 1fr}.customer-guide div{display:grid;gap:3px}.customer-guide span:not(.guide-icon){display:block}.payment-intro{margin:18px 0;padding:16px 18px;border-radius:18px;background:#e7f8ef;border:1px solid #cdebdc;text-align:center;color:#1d493c;display:grid;gap:4px}.payment-intro strong{font-size:1.08rem}.payment-intro span{font-weight:750}.bank{text-align:center!important}.bank h2{text-align:center;margin:0 0 12px!important}.bank-intro{text-align:center!important;margin:0 auto 18px!important;max-width:610px;color:#5f746d;line-height:1.6;font-weight:700}.bank-intro span{display:inline-block;margin-top:4px}.bank-grid{display:grid;border-top:1px solid #eadfc7}.bank-row{display:grid;grid-template-columns:170px 1fr;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid #eadfc7;text-align:left}.bank-row>span{font-weight:800;color:#415d54}.bank-row>strong{display:flex;justify-content:flex-end;align-items:center;gap:10px;min-width:0;color:#0b4b3a}.bank-row code{font-family:inherit;font-weight:1000;word-break:break-all;text-align:right}.note.centered{display:grid;gap:6px;text-align:center}.payment-whatsapp{display:flex;margin-left:auto;margin-right:auto;width:max-content}.customer-actions{justify-content:center}.print-link{background:#173c32!important;color:#fff!important}.legal-small.centered{text-align:center!important}.footer a{color:inherit}

/* Admin form refinements */
.floor-grid{display:grid!important;gap:7px}.liftcheck{display:flex!important;align-items:center!important;gap:9px!important;margin:0!important;padding:7px 4px!important;border:0!important;background:transparent!important}.liftcheck input{width:18px!important;height:18px!important;margin:0!important;flex:0 0 auto}.liftcheck span{font-size:.86rem!important;line-height:1!important}.orders-card{margin-bottom:28px}.list{gap:16px}.order-card{padding:18px;border-radius:22px;background:rgba(255,255,255,.075);border:1px solid var(--line);display:grid;gap:14px}.order-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.order-ref{font-size:.86rem;color:#f5bd4e;font-weight:1000;letter-spacing:.04em}.order-name{font-size:1.12rem;font-weight:1000;color:#fff}.order-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.order-grid>div{padding:12px 13px;border-radius:16px;background:rgba(255,255,255,.055);min-width:0}.order-grid small{display:block;color:rgba(245,255,250,.57);font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}.order-grid strong{display:block;color:#fff;line-height:1.35;overflow-wrap:anywhere}.order-grid span{display:block;color:rgba(245,255,250,.7);font-size:.78rem;font-weight:750;margin-top:4px}.order-remark{padding:11px 13px;border-radius:14px;background:rgba(244,182,28,.11);border:1px solid rgba(244,182,28,.23);font-size:.86rem;color:#f8edcf}.order-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.order-actions .history{margin-left:auto}.status-form{display:flex;gap:6px;align-items:center;flex:1 1 340px}.status-form select{flex:1;min-width:220px}.delete-form{margin-left:auto}.history-pop{bottom:46px}.modal{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.62);backdrop-filter:blur(7px);display:none;place-items:center;padding:20px}.modal.show{display:grid}.modal-card{width:min(480px,100%);padding:22px;border-radius:24px;background:#12372d;border:1px solid rgba(255,255,255,.16);box-shadow:0 25px 80px rgba(0,0,0,.45)}.modal-card h3{margin:0 0 6px}.modal-card p{color:rgba(245,255,250,.7);margin:0 0 14px}.modal-card textarea{margin-bottom:14px}

/* A4 Auftragsblatt */
.sheet-body{background:#dfe6e2;color:#152a24}.a4-sheet{width:min(210mm,calc(100% - 24px));min-height:297mm;margin:18px auto;background:#fff;padding:16mm 15mm;box-shadow:0 16px 50px rgba(0,0,0,.16);color:#16332b}.sheet-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:2px solid #0b513f;padding-bottom:12px}.sheet-head h1{margin:2px 0;font-size:2rem}.sheet-head p{margin:0;font-weight:900;color:#60756e}.sheet-head img{width:72px;height:72px;border-radius:50%}.sheet-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.sheet-grid>div,.route-grid>div{border:1px solid #e4e9e6;border-radius:12px;padding:11px}.sheet-grid small,.route-grid small,.sheet-prices small{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:#7b8a85;font-weight:900}.sheet-grid strong,.route-grid strong{display:block;margin-top:3px}.route-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.route-grid span{display:block;margin-top:5px;color:#5e726b;font-size:.84rem}.sheet-block{margin-top:18px}.sheet-block h2{font-size:1.05rem;border-bottom:1px solid #dce5e1;padding-bottom:7px}.sheet-text{padding:9px 0}.sheet-text p{margin:5px 0;line-height:1.5}.sheet-text.internal{background:#f7f3e8;border-radius:10px;padding:10px 12px}.sheet-prices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.sheet-prices>div{background:#0b4939;color:#fff;border-radius:12px;padding:12px}.sheet-prices strong{display:block;margin-top:3px;font-size:1.1rem;color:#ffd65a}.sheet-history{display:grid;grid-template-columns:150px 90px 1fr;gap:10px;padding:7px 0;border-bottom:1px solid #edf0ee;font-size:.82rem}.sheet-history em{font-style:normal}.attachment-list{display:flex;gap:8px;flex-wrap:wrap}.attachment-list a{padding:8px 10px;border-radius:10px;background:#eef5f2;color:#0b513f;text-decoration:none;font-weight:800}.sheet-actions{margin-top:22px}.sheet-actions .ghost{color:#173c32;border-color:#c8d4cf;background:#edf3f0}

@media(max-width:850px){
  .booking-summary .sumrow{display:grid!important;grid-template-columns:1fr;gap:5px;text-align:center;padding:14px 0}.booking-summary .sumrow>strong{max-width:none!important;text-align:center!important}.booking-summary .place-row strong{justify-items:center}.booking-subtitle{font-size:.95rem}.pricebox{text-align:center!important}.pricebig{text-align:center}.restline{padding-left:0;padding-right:0}.bank{padding:18px 14px!important}.bank-row{grid-template-columns:1fr;gap:6px;text-align:center;padding:15px 0}.bank-row>strong{justify-content:center;flex-wrap:wrap;text-align:center}.bank-row code{text-align:center;font-size:.96rem}.copybtn{display:inline-flex;align-items:center;justify-content:center}.customer-actions{display:grid!important;grid-template-columns:1fr}.customer-actions .btn{width:100%}.payment-whatsapp{width:100%;text-align:center}.order-grid{grid-template-columns:1fr}.order-actions{align-items:stretch}.order-actions>.btn,.order-actions>.status-form,.order-actions>.delete-form{width:100%}.order-actions>.history{margin-left:0}.status-form{flex:1 1 100%}.status-form select{min-width:0}.delete-form{margin-left:0}.delete-form .btn{width:100%}.sheet-grid,.route-grid,.sheet-prices{grid-template-columns:1fr}.sheet-history{grid-template-columns:1fr;gap:2px}.a4-sheet{padding:18px;min-height:auto}.customer-title h1{font-size:2.35rem}.timeline{gap:8px}.step{font-size:.85rem}
}
@media print{.sheet-body{background:#fff}.a4-sheet{width:100%;min-height:auto;margin:0;box-shadow:none;padding:10mm}.no-print,.sheet-actions{display:none!important}.sheet-text.internal{background:#f3f3f3!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.sheet-prices>div{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* ===== V4 layout corrections ===== */
.password-wrap{position:relative}.password-wrap input{padding-right:54px}.password-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:50%;background:#edf3ef;color:#0c4939;font-size:1.25rem;font-weight:1000;cursor:pointer}.password-eye:hover{background:#dceae4}
.floor-block{display:grid;gap:6px;align-content:start}.floor-block>label:first-child{display:grid;gap:7px}.floor-block .liftcheck{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;padding:0 4px!important;margin:0!important;min-height:30px}.floor-block .liftcheck input{width:18px!important;height:18px!important;margin:0!important;flex:0 0 18px}.floor-block .liftcheck span{display:inline!important;font-size:.86rem!important;line-height:1.2!important}
.customer-title{text-align:center}.customer-title img{border-radius:50%}.customer-eyebrow{text-align:center}.booking-subtitle{display:flex!important;flex-direction:column!important;align-items:center!important;gap:4px!important;text-align:center!important}.booking-subtitle span,.booking-subtitle strong{display:block!important;width:100%}.booking-subtitle strong{white-space:nowrap}
.payment-message,.payment-intro,.customer-guide,.bank,.bank-intro,.cancel-box,.note.centered,.legal-small.centered{text-align:center!important}.customer-guide{display:flex!important;flex-direction:column;gap:5px;align-items:center;padding:16px 18px;border-radius:18px;background:#e8f7ef;border:1px solid #ccebdd;margin:16px 0;color:#1c493b}.customer-guide span{max-width:720px}.payment-intro{display:flex!important;flex-direction:column!important;align-items:center!important;gap:6px!important}.payment-intro strong,.payment-intro span{display:block!important}
.customer-pricebox{text-align:center;grid-template-columns:1fr!important}.customer-pricebox>div{justify-self:center}.customer-pricebox .pricebig{text-align:center!important}.deposit-focus{position:relative;overflow:hidden}.deposit-focus::after{content:"";position:absolute;inset:-35%;background:linear-gradient(110deg,transparent 42%,rgba(255,255,255,.48) 50%,transparent 58%);transform:translateX(-70%);animation:depositShine 2.7s ease-in-out infinite}@keyframes depositShine{0%,55%{transform:translateX(-70%)}85%,100%{transform:translateX(70%)}}.deposit-focus>*{position:relative;z-index:1}
.bank{padding:24px!important}.bank h2{text-align:center!important;font-size:1.7rem;margin-bottom:14px!important}.bank-intro{max-width:700px!important;margin:0 auto 22px!important;line-height:1.65!important}.bank-grid{border-top:0!important;gap:10px}.bank-row{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:15px 12px!important;border:1px solid #eadfc7!important;border-radius:16px!important;background:#fffdf8;text-align:center!important}.bank-row>span{font-size:.82rem;text-transform:uppercase;letter-spacing:.05em;color:#6d7d77!important}.bank-row>strong{display:flex!important;justify-content:center!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;width:100%;text-align:center!important}.bank-row code{font-size:1.08rem!important;text-align:center!important;word-break:break-word!important;overflow-wrap:anywhere}.copybtn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:92px}
.customer-actions{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important;margin-top:18px}.customer-actions .btn,.payment-whatsapp{width:min(100%,430px)!important;margin-left:auto!important;margin-right:auto!important}.print-link{background:#123e32!important;color:#fff!important;border:1px solid #123e32!important;box-shadow:0 8px 20px rgba(5,48,37,.17)}
.place-row .address-line{display:block!important}.place-row .place-extra{display:block!important;margin-top:6px!important;padding-top:5px;border-top:1px dashed #e3d8bf;color:#587068!important}.place-row .place-extra b{color:#284f43}
/* Stronger admin order card layout */
.order-grid{grid-template-columns:repeat(3,minmax(190px,1fr))!important}.order-grid>div{min-height:84px}.order-grid strong{font-size:.94rem}.order-grid span{line-height:1.45}.order-actions{padding-top:4px}
/* Professional A4 report */
.sheet-body{background:#d9dfdc!important;color:#18342c!important}.a4-sheet.report-sheet{width:min(210mm,calc(100% - 28px));min-height:297mm;margin:18px auto;background:#fff;padding:14mm 14mm 16mm;box-shadow:0 18px 55px rgba(0,0,0,.17);color:#18342c}.report-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:12px;border-bottom:3px solid #0b513f}.report-header img{width:82px;height:82px;border-radius:50%}.report-brand{font-size:.78rem;font-weight:1000;letter-spacing:.22em;color:#b27700}.report-header h1{font-size:2.15rem;margin:4px 0 2px}.report-ref{font-size:1rem;font-weight:900;color:#60756e}.report-section{margin-top:17px}.report-section h2{font-size:1.08rem;margin:0 0 8px;padding:8px 12px;background:#0c4a3a;color:#fff;border-radius:9px}.report-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #d9e1dd;border-radius:10px;overflow:hidden;font-size:.9rem}.report-table th,.report-table td{padding:10px 11px;border-right:1px solid #e2e7e4;border-bottom:1px solid #e2e7e4;vertical-align:top}.report-table th{width:18%;background:#f1f6f3;color:#456158;text-align:left;font-size:.76rem;text-transform:uppercase;letter-spacing:.035em}.report-table td{font-weight:750;line-height:1.45}.report-table tr:last-child th,.report-table tr:last-child td{border-bottom:0}.report-table tr>*:last-child{border-right:0}.route-table th:nth-child(1){width:14%}.route-table th:nth-child(2){width:auto}.route-table th:nth-child(3),.route-table th:nth-child(4){width:18%}.price-table td{font-size:1.03rem;font-weight:1000;color:#0b513f}.history-table th{width:auto}.sheet-actions{display:flex;justify-content:center;gap:12px;margin-top:22px}.report-back{background:#e9f0ed!important;color:#174438!important;border:1px solid #c8d5cf!important}
@media(max-width:850px){
  .customer-card{padding:18px 14px!important}.customer-title h1{font-size:2.25rem!important}.booking-subtitle{font-size:.94rem!important}.booking-subtitle strong{font-size:1rem!important;white-space:nowrap!important}.timeline{grid-template-columns:1fr!important;gap:8px!important}.step{padding:14px 10px!important}.booking-summary .sumrow{display:flex!important;flex-direction:column!important;align-items:center!important;gap:6px!important;text-align:center!important}.booking-summary .sumrow>span,.booking-summary .sumrow>strong{width:100%!important;max-width:100%!important;text-align:center!important}.booking-summary .place-row strong{align-items:center!important}.customer-pricebox{padding:18px 14px!important}.pricebig{font-size:2.15rem!important}.deposit-focus strong{font-size:2.2rem!important}.restline{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:5px!important}.bank{padding:18px 12px!important}.bank h2{font-size:1.55rem!important}.bank-row{padding:14px 10px!important}.bank-row code{font-size:1rem!important}.customer-actions{display:flex!important;flex-direction:column!important;align-items:center!important}.customer-actions .btn{width:min(100%,390px)!important}.payment-whatsapp{width:min(100%,390px)!important}.floor-block .liftcheck{justify-content:flex-start!important}.order-grid{grid-template-columns:1fr!important}.a4-sheet.report-sheet{width:calc(100% - 18px);min-height:auto;padding:18px 12px}.report-header{align-items:flex-start}.report-header img{width:62px;height:62px}.report-header h1{font-size:1.65rem}.report-table,.report-table tbody,.report-table tr,.report-table th,.report-table td{display:block;width:100%!important}.report-table tr{border-bottom:1px solid #dfe5e2}.report-table th{border:0!important;padding:8px 10px 3px}.report-table td{border:0!important;padding:3px 10px 10px}.route-table tr:first-child{display:none}.sheet-actions{flex-direction:column}.sheet-actions .btn{width:100%}
}
@media print{.a4-sheet.report-sheet{width:100%!important;min-height:0!important;margin:0!important;padding:8mm!important;box-shadow:none!important}.report-section{page-break-inside:avoid}.report-table{font-size:8.5pt}.report-header h1{font-size:20pt}.report-header img{width:18mm;height:18mm}.sheet-actions,.no-print{display:none!important}}

/* ===== V5 FINAL UPDATE ===== */
.logo-link{display:inline-flex;text-decoration:none;border-radius:50%}
.brand a{display:inline-flex;border-radius:50%;text-decoration:none}
.brand a img,.logo-link img{display:block}

/* Customer success message: readable on desktop + mobile */
.success-confirm,.payment-message.ok{background:#dff3e7!important;border:1.5px solid #78b99d!important;color:#0b4637!important;font-weight:900!important;text-align:center!important;justify-content:center!important;align-items:center!important;line-height:1.35!important;padding:16px 20px!important}

/* Booking subtitle always two clean lines */
.booking-subtitle{margin-top:10px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;text-align:center!important}
.booking-subtitle-label{display:block!important;width:100%!important;color:#62756f;font-weight:700!important;line-height:1.25!important}
.booking-reference{display:block!important;width:100%!important;color:#315e50!important;font-size:1.02rem!important;letter-spacing:.02em!important;white-space:nowrap!important;line-height:1.2!important}

/* Clean address / floor separation */
.place-row .address-line{display:block!important;font-weight:900!important}
.place-row .place-extra{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important;margin-top:7px!important;padding-top:7px!important;border-top:1px dashed #dfd5bf!important;color:#587068!important;font-size:.82rem!important}
.place-row .place-extra b{color:#284f43!important;margin-right:2px!important}
.place-row .place-extra i{font-style:normal;color:#b5a98e}

/* Payment area: centered hierarchy and generous spacing */
.payment-intro{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:7px!important;margin:18px auto!important}
.payment-intro strong{font-size:1.18rem!important;color:#0c4939!important}
.payment-intro span{color:#62756f!important}
.payment-card{padding:28px 26px!important;text-align:center!important}
.payment-card h2{text-align:center!important;margin:0 0 18px!important;line-height:1.2!important}
.bank-intro{text-align:center!important;max-width:720px!important;margin:0 auto 24px!important;line-height:1.55!important;color:#49635a!important}
.bank-intro strong{color:#0c4939!important}
.bank-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;border:0!important}
.bank-item{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:128px!important;padding:18px 16px!important;border:1px solid #e7dcc7!important;border-radius:18px!important;background:#fffdf9!important;text-align:center!important}
.bank-label{display:block!important;font-size:.78rem!important;text-transform:uppercase!important;letter-spacing:.07em!important;color:#73827d!important;font-weight:900!important}
.bank-value{display:block!important;width:100%!important;text-align:center!important;color:#0c4939!important;font-size:1.08rem!important;font-weight:1000!important;line-height:1.35!important;word-break:normal!important;overflow-wrap:anywhere!important}
.bank-code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;letter-spacing:.035em!important}
.copybtn{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:2px auto 0!important;min-width:98px!important;height:40px!important;border-radius:13px!important}
.centered-box,.payment-note{text-align:center!important}
.payment-note{display:flex!important;flex-direction:column!important;align-items:center!important;gap:7px!important}
.payment-note strong{display:block!important;margin:0!important}.payment-note span{display:block!important}
.customer-actions{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important;width:100%!important}
.customer-actions .btn,.payment-whatsapp{display:flex!important;align-items:center!important;justify-content:center!important;width:min(100%,440px)!important;margin:0 auto!important;text-align:center!important;min-height:52px!important}
.print-link{color:#fff!important;background:#123e32!important;border-color:#123e32!important}
.customer-footer{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:7px!important;text-align:center!important;padding:22px 14px 34px!important}
.customer-footer a{color:#c9d8d3!important;text-decoration:underline;text-underline-offset:3px}

/* Admin order controls */
.order-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important}
.status-form{flex:1 1 100%!important;display:block!important;margin-top:5px!important}
.status-form select{width:100%!important;min-width:0!important}
.order-control-row{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:14px!important;width:100%!important;margin-top:4px!important;align-items:center!important}
.order-control-row form{margin:0!important}.order-control-row .btn{width:100%!important;min-height:44px!important}
.btn.warning{background:#d78d17!important;color:#fff!important;border-color:#d78d17!important}
.btn.warning:hover{filter:brightness(.96)}.btn.warning:disabled{opacity:.55;cursor:not-allowed}
.history-clear{width:100%!important;margin-top:4px!important}
.history-clear summary{display:inline-flex!important;align-items:center!important;gap:7px!important;padding:9px 12px!important;border-radius:12px!important;border:1px solid rgba(255,255,255,.22)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;font-weight:900!important;cursor:pointer!important;list-style:none!important}
.history-clear summary::-webkit-details-marker{display:none}
.history-clear[open] summary{background:rgba(255,255,255,.14)!important}
.history-clear .history-pop{position:static!important;width:100%!important;max-width:none!important;margin-top:9px!important;box-shadow:none!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
.history-clear .history-row{grid-template-columns:170px 90px 1fr!important;color:#fff!important}.history-clear .history-row small{color:#e6eeeb!important}
.modal-card{max-width:620px!important}.modal-card textarea{width:100%!important}.modal-actions{justify-content:flex-end!important}

/* Admin card label/value clarity */
.order-grid small{display:block!important;margin-bottom:5px!important;color:#b9cbc5!important;text-transform:uppercase!important;letter-spacing:.04em!important;font-size:.72rem!important}
.order-grid strong{display:block!important;color:#fff!important}.order-grid span{display:block!important;color:#d7e3df!important;margin-top:4px!important}
.order-remark{margin-top:12px!important;padding:10px 12px!important;border-radius:12px!important;background:rgba(255,255,255,.08)!important}

/* A4 invoice/report presentation */
.sheet-body{background:#dce2df!important;color:#193b31!important;padding:18px 0!important}
.a4-sheet.report-sheet{position:relative!important;width:min(210mm,calc(100% - 28px))!important;min-height:297mm!important;margin:0 auto!important;padding:13mm 13mm 12mm!important;background:#fff!important;color:#17392f!important;box-shadow:0 16px 50px rgba(0,0,0,.16)!important}
.sheet-toolbar{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;margin:-2mm 0 7mm!important}
.sheet-toolbar .btn{min-width:180px!important}
.report-header{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:18px!important;padding:0 0 7mm!important;border-bottom:3px solid #0b513f!important}
.report-header a{display:inline-flex!important}.report-header img{width:24mm!important;height:24mm!important;border-radius:50%!important}
.report-brand{font-size:9pt!important;font-weight:1000!important;letter-spacing:.22em!important;color:#b27700!important}
.report-header h1{font-size:25pt!important;line-height:1.1!important;margin:3mm 0 1.5mm!important;color:#17392f!important}.report-ref{font-size:11pt!important;font-weight:900!important;color:#657870!important}
.report-section{margin-top:5mm!important}.report-section h2{font-size:11.5pt!important;line-height:1.1!important;margin:0 0 2.2mm!important;padding:2.4mm 3.2mm!important;border-radius:2.5mm!important;background:#0c4a3a!important;color:#fff!important}
.report-table{width:100%!important;border-collapse:collapse!important;border:1px solid #d8e1dd!important;border-radius:0!important;overflow:visible!important;font-size:9.6pt!important;table-layout:fixed!important}
.report-table th,.report-table td{padding:2.5mm 2.8mm!important;border:1px solid #dfe6e2!important;vertical-align:top!important;line-height:1.32!important}
.report-table th{width:19%!important;background:#eef4f1!important;color:#4b625a!important;text-align:left!important;font-size:8pt!important;text-transform:uppercase!important;letter-spacing:.035em!important;font-weight:900!important}
.report-table td{font-weight:700!important;color:#17392f!important;overflow-wrap:anywhere!important}
.route-table th:nth-child(1){width:15%!important}.route-table th:nth-child(2){width:47%!important}.route-table th:nth-child(3){width:17%!important}.route-table th:nth-child(4){width:21%!important}
.price-table td,.highlight-cell{font-weight:1000!important;color:#0b513f!important}.highlight-cell{background:#ecf8f2!important}
.payment-report-table th{width:28%!important}.payment-report-table td{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;letter-spacing:.02em!important}
.history-table th:nth-child(1){width:23%!important}.history-table th:nth-child(2){width:15%!important}.history-table th:nth-child(3){width:auto!important}
.attachment-link{color:#0b513f!important;font-weight:800!important}.report-footer{display:flex!important;justify-content:space-between!important;gap:16px!important;margin-top:6mm!important;padding-top:3mm!important;border-top:1px solid #dce3df!important;color:#718079!important;font-size:8pt!important}

/* Print: prioritize a single portrait A4 page for normal-sized orders */
@page{size:A4 portrait;margin:7mm}
@media print{
  html,body{width:210mm!important;height:297mm!important;background:#fff!important;margin:0!important;padding:0!important}
  .sheet-body{padding:0!important}
  .a4-sheet.report-sheet{width:196mm!important;min-height:0!important;height:auto!important;margin:0 auto!important;padding:5.5mm 6mm!important;box-shadow:none!important;overflow:hidden!important}
  .no-print,.sheet-toolbar{display:none!important}
  .report-header{padding-bottom:3.5mm!important}.report-header img{width:17mm!important;height:17mm!important}.report-header h1{font-size:18pt!important;margin:1.5mm 0 1mm!important}.report-brand{font-size:7.5pt!important}.report-ref{font-size:9pt!important}
  .report-section{margin-top:3mm!important;break-inside:avoid!important;page-break-inside:avoid!important}.report-section h2{font-size:9.5pt!important;padding:1.6mm 2.4mm!important;margin-bottom:1.2mm!important}
  .report-table{font-size:7.8pt!important}.report-table th,.report-table td{padding:1.55mm 1.8mm!important;line-height:1.18!important}.report-table th{font-size:6.8pt!important}
  .report-footer{margin-top:3mm!important;padding-top:1.8mm!important;font-size:6.8pt!important}
  .attachments-section a{color:#17392f!important;text-decoration:none!important}
  .status-section{font-size:7pt!important}
}

@media(max-width:850px){
  .booking-subtitle-label{font-size:.93rem!important}.booking-reference{font-size:1.02rem!important;margin-top:1px!important}
  .success-confirm,.payment-message.ok{font-size:1rem!important;padding:15px 14px!important;min-height:72px!important}
  .place-row .place-extra{justify-content:center!important}
  .bank-grid{grid-template-columns:1fr!important;gap:12px!important}.bank-item{min-height:116px!important;padding:17px 12px!important}.bank-value{font-size:1.03rem!important}.bank-code{font-size:.96rem!important;letter-spacing:.018em!important}
  .order-control-row{grid-template-columns:1fr!important;gap:9px!important}.history-clear .history-row{grid-template-columns:1fr!important;gap:3px!important}
  .sheet-body{padding:8px 0!important}.a4-sheet.report-sheet{width:calc(100% - 14px)!important;min-height:auto!important;padding:16px 12px!important}.sheet-toolbar{display:grid!important;grid-template-columns:1fr!important;margin:0 0 14px!important}.sheet-toolbar .btn{width:100%!important;min-width:0!important}.report-header h1{font-size:1.65rem!important}.report-header img{width:64px!important;height:64px!important}
  .report-table{font-size:.85rem!important;table-layout:auto!important}.report-table,.report-table tbody,.report-table tr,.report-table th,.report-table td{display:block!important;width:100%!important}.report-table tr{border-bottom:1px solid #dfe5e2!important}.report-table th{border:0!important;padding:8px 10px 3px!important}.report-table td{border:0!important;padding:3px 10px 10px!important}.route-table tr:first-child,.history-table tr:first-child{display:none!important}
  .report-footer{flex-direction:column!important;align-items:center!important;text-align:center!important}
}


/* ===== V6 refinement layer ===== */
/* Admin login password eye */
.password-wrap{position:relative!important;display:block!important}
.password-wrap input{padding-right:58px!important}
.password-eye{position:absolute!important;right:8px!important;top:50%!important;transform:translateY(-50%)!important;width:42px!important;height:42px!important;border:0!important;border-radius:50%!important;background:rgba(6,35,27,.09)!important;color:#0b4a3c!important;display:grid!important;place-items:center!important;cursor:pointer!important;padding:0!important}
.password-eye svg{width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.password-eye .eye-open{display:block!important}.password-eye .eye-off{display:none!important}.password-eye.is-visible .eye-open{display:none!important}.password-eye.is-visible .eye-off{display:block!important}
.password-eye:hover{background:rgba(245,164,0,.16)!important;color:#8a5b00!important}

/* Global title / form-label discipline */
.fields>label,.floor-block>label,.bank-label,.order-grid small,.report-table th,.report-section h2,.cancel-title,.price-label,.booking-subtitle-label{line-height:1.25!important}

/* Customer page: centered hierarchy */
.customer-card,.customer-card .summary,.customer-card .payment-intro,.customer-card .bank,.customer-card .note,.customer-card .cancel-box,.customer-card .legal-small{text-align:center!important}
.customer-card .sumrow{align-items:center!important}
.customer-card .sumrow>span,.customer-card .sumrow>strong{text-align:center!important}
.customer-card .place-extra{justify-content:center!important}
.success-confirm,.payment-message.ok{background:linear-gradient(135deg,#dff6e9,#c9edda)!important;border:1px solid #78b99a!important;color:#103d30!important;font-weight:950!important;text-align:center!important;box-shadow:0 8px 24px rgba(25,101,73,.10)!important}

/* Payment data: every label/value is deliberately separated and centered */
.payment-card{padding:28px 22px!important}
.payment-card h2,.payment-card .bank-intro{max-width:720px!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important}
.bank-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important;max-width:700px!important;margin:22px auto 0!important}
.bank-item{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:9px!important;min-height:126px!important;padding:18px 16px!important;border-radius:18px!important;background:#fffaf0!important;border:1px solid #e8dcc2!important}
.bank-label{display:block!important;margin:0!important;color:#5d6f69!important;font-size:.78rem!important;font-weight:950!important;letter-spacing:.09em!important;text-transform:uppercase!important}
.bank-value{display:block!important;margin:0!important;color:#113f32!important;font-size:1.08rem!important;font-weight:1000!important;line-height:1.45!important;overflow-wrap:anywhere!important}
.bank-code{letter-spacing:.055em!important;word-spacing:.18em!important}
.copybtn{margin:3px auto 0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.customer-actions{margin-top:22px!important}
.customer-actions .btn{margin-left:auto!important;margin-right:auto!important}

/* Report page: toolbar belongs to screen only, report itself resembles a compact invoice */
.sheet-toolbar{position:sticky!important;top:10px!important;z-index:5!important;background:rgba(220,226,223,.92)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;padding:8px!important;border-radius:16px!important;margin:0 0 5mm auto!important;width:max-content!important}
.report-header{padding-bottom:5mm!important}
.report-header h1{font-size:22pt!important;margin:2mm 0 1mm!important}
.report-header img{width:20mm!important;height:20mm!important}
.report-section{margin-top:3.6mm!important}
.report-section h2{padding:1.8mm 2.6mm!important;margin-bottom:1.3mm!important}
.report-table{font-size:8.7pt!important}
.report-table th,.report-table td{padding:1.9mm 2.1mm!important;line-height:1.22!important}
.report-footer{margin-top:3.5mm!important}

/* Print is a real one-page A4 sheet for ordinary orders */
@page{size:A4 portrait;margin:6mm}
@media print{
  html,body{width:auto!important;height:auto!important;min-height:0!important;background:#fff!important}
  body.sheet-body{padding:0!important;background:#fff!important}
  .no-print,.sheet-toolbar,.admin-back,.btn,.customer-actions{display:none!important}
  .a4-sheet.report-sheet{box-sizing:border-box!important;width:198mm!important;max-width:198mm!important;min-height:0!important;height:auto!important;margin:0 auto!important;padding:4mm 5mm!important;box-shadow:none!important;overflow:visible!important;background:#fff!important}
  .report-header{padding-bottom:2.5mm!important;border-bottom-width:2px!important}
  .report-header img{width:14mm!important;height:14mm!important}.report-brand{font-size:6.8pt!important}.report-header h1{font-size:15pt!important;margin:1mm 0 .6mm!important}.report-ref{font-size:8pt!important}
  .report-section{margin-top:2.1mm!important;break-inside:avoid!important;page-break-inside:avoid!important}
  .report-section h2{font-size:8.3pt!important;padding:1.1mm 1.8mm!important;margin:0 0 .8mm!important;border-radius:1.5mm!important}
  .report-table{font-size:7.1pt!important;table-layout:fixed!important}
  .report-table th,.report-table td{padding:1.05mm 1.25mm!important;line-height:1.12!important}
  .report-table th{font-size:6.1pt!important}
  .report-footer{margin-top:2mm!important;padding-top:1.2mm!important;font-size:6.2pt!important}
  .status-section .report-table{font-size:6.5pt!important}
  .status-section .report-table th,.status-section .report-table td{padding:.8mm 1mm!important}
  a{color:inherit!important;text-decoration:none!important}
}

@media(max-width:850px){
  .booking-subtitle{display:flex!important;flex-direction:column!important;align-items:center!important;gap:5px!important}
  .booking-reference{display:block!important;width:100%!important;white-space:nowrap!important;text-align:center!important}
  .payment-card{padding:22px 14px!important}
  .bank-grid{grid-template-columns:1fr!important;max-width:520px!important}
  .bank-item{min-height:auto!important;padding:17px 12px!important}
  .bank-label{margin-bottom:2px!important}
  .bank-value{font-size:1rem!important;max-width:100%!important}
  .bank-code{font-size:.93rem!important;letter-spacing:.035em!important;word-spacing:.12em!important}
  .customer-actions{gap:10px!important}
  .sheet-toolbar{position:static!important;width:100%!important;margin:0 0 12px!important}
}

/* V6.3 — compact A4 + stable report columns */
.report-table th{overflow-wrap:anywhere;word-break:normal}
@media print{
  /* Prevent mobile rules from turning report tables into stacked blocks in print preview */
  .report-table{display:table!important;width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
  .report-table tbody{display:table-row-group!important;width:auto!important}
  .report-table tr{display:table-row!important;width:auto!important;border:0!important}
  .report-table th,.report-table td{display:table-cell!important;width:auto!important}
  .report-table th{width:18%!important;white-space:normal!important;overflow-wrap:anywhere!important;padding:.85mm 1.1mm!important;font-size:5.8pt!important;line-height:1.08!important}
  .report-table td{padding:.85mm 1.1mm!important;font-size:6.8pt!important;line-height:1.1!important}
  .report-section{margin-top:1.7mm!important}
  .report-section h2{padding:.9mm 1.5mm!important;margin-bottom:.6mm!important;font-size:7.8pt!important}
  .report-header{padding-bottom:2mm!important}
  .report-header h1{font-size:14pt!important}
  .route-table th:nth-child(1){width:13%!important}.route-table th:nth-child(2){width:51%!important}.route-table th:nth-child(3){width:14%!important}.route-table th:nth-child(4){width:22%!important}
  .price-table th{width:19%!important}.price-table td{width:31%!important}
  .history-table th{width:auto!important}.history-table td{font-size:6.2pt!important;padding:.7mm 1mm!important}
  .report-footer{margin-top:1.5mm!important;padding-top:1mm!important}
}


/* V6.4 customer print finishing */
.report-footer-rich{
  display:grid!important;
  grid-template-columns:1.15fr 1fr auto!important;
  align-items:end!important;
  gap:16px!important;
  margin-top:8mm!important;
  padding:4mm 1mm 0!important;
  border-top:1px solid #cfd9d4!important;
  color:#35574d!important;
  font-size:.78rem!important;
}
.report-footer-brand,.report-footer-contact{
  display:grid!important;
  gap:4px!important;
}
.report-footer-brand strong{
  color:#0b513f!important;
  font-size:.95rem!important;
}
.report-footer-brand span:nth-child(3){
  color:#b27700!important;
  font-weight:900!important;
}
.report-footer-contact{
  text-align:right!important;
}
.report-footer-contact a{
  color:#0b513f!important;
  text-decoration:none!important;
}
.report-footer-ref{
  align-self:start!important;
  justify-self:end!important;
  font-weight:900!important;
  color:#60756e!important;
}
@media(max-width:700px){
  .report-footer-rich{
    grid-template-columns:1fr!important;
    text-align:center!important;
  }
  .report-footer-contact{
    text-align:center!important;
  }
  .report-footer-ref{
    justify-self:center!important;
  }
}
@media print{
  .report-footer-rich{
    display:grid!important;
    grid-template-columns:1.25fr 1fr auto!important;
    margin-top:3mm!important;
    padding-top:2mm!important;
    font-size:6.6pt!important;
    page-break-inside:avoid!important;
  }
  .report-footer-brand strong{font-size:8pt!important}
  .report-footer-contact{gap:2px!important}
}


/* V6.7 — professional footer on both admin and customer printable sheets */
.admin-report,.customer-print-sheet{display:flex!important;flex-direction:column!important}
@media print{
  .admin-report,.customer-print-sheet{min-height:285mm!important}
  .admin-report .report-footer-rich,.customer-print-sheet .report-footer-rich{margin-top:auto!important}
}


/* V6.8 — print labels + footer alignment */
@media (min-width:701px){
  .report-table:not(.route-table):not(.history-table) th{
    width:23%!important;
    white-space:nowrap!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    font-size:.70rem!important;
    letter-spacing:.018em!important;
  }
  .report-table:not(.route-table):not(.history-table) td{
    width:27%!important;
  }
  .payment-report-table th{width:28%!important}
  .payment-report-table td{width:auto!important}
}

.report-footer-rich{
  display:block!important;
  color:#35574d!important;
}
.report-footer-top{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(260px,.85fr)!important;
  gap:28px!important;
  align-items:end!important;
}
.report-footer-brand{
  display:grid!important;
  gap:4px!important;
  text-align:left!important;
}
.report-footer-brand strong{
  color:#0b513f!important;
  font-size:.95rem!important;
}
.report-footer-contact{
  display:grid!important;
  gap:4px!important;
  text-align:left!important;
  justify-self:end!important;
  min-width:260px!important;
}
.report-footer-contact span,
.report-footer-contact a{
  display:block!important;
  text-align:left!important;
  color:#35574d!important;
  text-decoration:none!important;
}
.report-footer-hours{
  margin-top:8px!important;
  text-align:center!important;
  color:#b27700!important;
  font-weight:900!important;
}

@media(max-width:700px){
  .report-footer-top{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .report-footer-brand,
  .report-footer-contact{
    justify-self:stretch!important;
    min-width:0!important;
    text-align:center!important;
  }
  .report-footer-contact span,
  .report-footer-contact a{
    text-align:center!important;
  }
}

@media print{
  .report-table:not(.route-table):not(.history-table) th{
    width:23%!important;
    white-space:nowrap!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    font-size:5.45pt!important;
    letter-spacing:.01em!important;
  }
  .report-table:not(.route-table):not(.history-table) td{
    width:27%!important;
  }
  .payment-report-table th{
    width:28%!important;
    font-size:5.7pt!important;
  }
  .payment-report-table td{width:auto!important}
  .report-footer-rich{
    margin-top:auto!important;
    padding-top:2mm!important;
    font-size:6.6pt!important;
    page-break-inside:avoid!important;
  }
  .report-footer-top{
    grid-template-columns:1fr 1fr!important;
    gap:10mm!important;
    align-items:end!important;
  }
  .report-footer-brand strong{font-size:8pt!important}
  .report-footer-contact{
    justify-self:end!important;
    min-width:52mm!important;
    gap:1.2mm!important;
  }
  .report-footer-hours{
    margin-top:2.2mm!important;
    font-size:6.6pt!important;
    text-align:center!important;
  }
}


/* V6.9 — financial completion & cancellation workflow */
.finance-modal{max-width:720px!important}
.finance-summary{
  margin:12px 0;padding:12px 14px;border-radius:14px;
  background:#f4f8f6;border:1px solid #d8e5df;text-align:center
}
.finance-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.finance-grid label{display:grid;gap:7px}
.finance-grid label.wide{grid-column:1/-1}
.finance-grid label>span{display:flex;align-items:center;gap:8px;font-weight:800}
.finance-grid input[type="checkbox"]{width:18px;height:18px}
.finance-check{
  margin-top:12px;padding:10px 12px;border-radius:12px;
  background:#fff4e5;color:#8a4b00;font-weight:800;text-align:center
}
.finance-check.ok{background:#e9f7ef;color:#17633f}
.financial-final th,.financial-final td{
  background:#edf8f2!important;color:#14583d!important
}
.financial-final strong{font-weight:900}
@media(max-width:700px){
  .finance-grid{grid-template-columns:1fr}
  .finance-grid label.wide{grid-column:auto}
}
@media print{
  .financial-final th,.financial-final td{
    background:#edf8f2!important;
    -webkit-print-color-adjust:exact;print-color-adjust:exact
  }
}

/* V6.10 — clearer settlement dialog */
.settlement-modal .settlement-intro{margin-top:-4px;color:#dce9e4}
.settlement-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0 8px}
.settlement-overview>div{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:13px 14px;display:grid;gap:5px}
.settlement-overview span{font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;opacity:.82;font-weight:800}
.settlement-overview strong{font-size:1.15rem}
.settlement-overview .open{background:#f7e8bb;color:#163e33;border-color:#e7c764}
.settlement-grid textarea{width:100%;resize:vertical;min-height:86px}
@media(max-width:700px){.settlement-overview{grid-template-columns:1fr}}




/* V6.12 — targeted print layout + professional footer */
@media (min-width:701px), print {
  .info-table th{width:17%!important;white-space:nowrap!important;font-size:.72rem!important}
  .info-table td{width:33%!important}

  .service-table th{width:19%!important;white-space:nowrap!important;font-size:.72rem!important}
  .service-table td{width:81%!important}

  .price-table th{width:19%!important;white-space:nowrap!important;font-size:.70rem!important}
  .price-table td{width:31%!important}

  .customer-price-table th{width:20%!important}
  .customer-price-table td{width:30%!important}

  .payment-report-table th{width:24%!important;white-space:nowrap!important}
  .payment-report-table td{width:76%!important}
}

.report-footer-rich{
  display:grid!important;
  grid-template-rows:auto auto!important;
  gap:12px!important;
  padding-top:16px!important;
  border-top:1px solid #d8dfdc!important;
  color:#314f46!important;
}
.report-footer-top{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(260px,1fr)!important;
  align-items:start!important;
  gap:48px!important;
}
.report-footer-brand,
.report-footer-contact{
  display:grid!important;
  align-content:start!important;
  gap:5px!important;
  margin:0!important;
}
.report-footer-brand{justify-self:start!important;text-align:left!important}
.report-footer-contact{justify-self:end!important;min-width:300px!important;text-align:left!important}
.report-footer-brand strong{font-size:1rem!important;color:#123f34!important}
.report-footer-brand span{font-size:.82rem!important}
.report-footer-contact span,
.report-footer-contact a{display:block!important;text-align:left!important;line-height:1.25!important;margin:0!important}
.report-footer-hours{
  grid-column:1/-1!important;
  text-align:center!important;
  color:#9a5d00!important;
  font-weight:900!important;
  font-size:.84rem!important;
  letter-spacing:.01em!important;
  margin:0!important;
}

@media print{
  .report-footer-rich{margin-top:auto!important;padding-top:3mm!important;gap:2.2mm!important;font-size:6.8pt!important;page-break-inside:avoid!important}
  .report-footer-top{grid-template-columns:1fr 1fr!important;gap:14mm!important;align-items:start!important}
  .report-footer-contact{min-width:52mm!important;justify-self:end!important}
  .report-footer-brand strong{font-size:8.4pt!important}
  .report-footer-brand span,.report-footer-contact span,.report-footer-contact a{font-size:6.8pt!important}
  .report-footer-hours{font-size:7.2pt!important;font-weight:900!important;margin-top:.5mm!important}
}

@media(max-width:700px){
  .report-footer-top{grid-template-columns:1fr!important;gap:12px!important}
  .report-footer-brand,.report-footer-contact{justify-self:stretch!important;min-width:0!important;text-align:center!important}
  .report-footer-contact span,.report-footer-contact a{text-align:center!important}
}


/* V6.13 — targeted print tables + clean professional footer */

/* Do not let old generic table rules distort these report tables */
.info-table col.label-a{width:20%}
.info-table col.value-a{width:30%}
.info-table col.label-b{width:18%}
.info-table col.value-b{width:32%}

.info-table th{
  white-space:nowrap!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.info-table td.email-value{
  white-space:nowrap!important;
  font-size:.88em!important;
  letter-spacing:-.01em!important;
}

.service-table col.service-label{width:22%}
.service-table col.service-value{width:78%}
.service-table th{
  width:22%!important;
  white-space:nowrap!important;
}
.service-table td{
  width:78%!important;
}

.price-table col.price-label-a{width:20%}
.price-table col.price-value-a{width:28%}
.price-table col.price-label-b{width:24%}
.price-table col.price-value-b{width:28%}
.price-table th{
  white-space:nowrap!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  font-size:.88em!important;
}
.price-table td{
  min-width:0!important;
}

/* Settlement dialog */
.settlement-overview .deposit-box input{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:.35rem .45rem!important;
  border-radius:9px!important;
  border:1px solid rgba(255,255,255,.24)!important;
  background:rgba(255,255,255,.92)!important;
  color:#173f34!important;
  font-weight:900!important;
  font-size:1.05rem!important;
}

/* Footer: no bottom band, no oversized background block */
.report-footer-clean{
  position:relative!important;
  display:block!important;
  margin-top:auto!important;
  padding:13mm 5mm 5mm!important;
  border-top:none!important;
  background:#fff!important;
  color:#173f34!important;
  overflow:hidden!important;
  page-break-inside:avoid!important;
}
.report-footer-clean::before,
.report-footer-clean::after{
  content:""!important;
  position:absolute!important;
  left:-3%!important;
  right:-3%!important;
  border-radius:50%!important;
  pointer-events:none!important;
}
.report-footer-clean::before{
  top:4mm!important;
  height:8mm!important;
  border-top:2px solid #0b513f!important;
  transform:rotate(-1deg)!important;
}
.report-footer-clean::after{
  top:6mm!important;
  height:7mm!important;
  border-top:1.5px solid #b98b2d!important;
  transform:rotate(.7deg)!important;
}
.footer-clean-grid{
  position:relative!important;
  z-index:2!important;
  display:grid!important;
  grid-template-columns:1.15fr .9fr 1.25fr!important;
  align-items:center!important;
  gap:7mm!important;
}
.footer-clean-brand{
  display:grid!important;
  grid-template-columns:17mm 1fr!important;
  align-items:center!important;
  gap:3.5mm!important;
}
.footer-clean-brand img{
  width:17mm!important;
  height:17mm!important;
  object-fit:contain!important;
  border-radius:50%!important;
}
.footer-clean-brand>div{
  display:grid!important;
  gap:1mm!important;
}
.footer-clean-brand strong{
  font-size:1.05rem!important;
  color:#0b513f!important;
  line-height:1.05!important;
}
.footer-clean-brand span{
  color:#4b5e58!important;
  white-space:nowrap!important;
}
.footer-clean-hours{
  min-height:17mm!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:1.5mm!important;
  padding:0 5mm!important;
  border-left:1px solid rgba(185,139,45,.7)!important;
  border-right:1px solid rgba(185,139,45,.7)!important;
}
.clock-mark{
  color:#b98b2d!important;
  font-size:1.55rem!important;
  line-height:1!important;
}
.footer-clean-hours strong{
  color:#173f34!important;
  font-weight:950!important;
  line-height:1.28!important;
}
.footer-clean-contact{
  display:grid!important;
  gap:1.2mm!important;
  align-self:center!important;
}
.footer-clean-contact>div{
  display:grid!important;
  grid-template-columns:5mm 1fr!important;
  align-items:center!important;
  gap:1.5mm!important;
}
.footer-clean-contact span,
.footer-clean-contact a{
  color:#173f34!important;
  text-decoration:none!important;
  text-align:left!important;
}
.footer-clean-contact>div>span:first-child{
  color:#0b513f!important;
  font-weight:900!important;
  text-align:center!important;
}

@media(max-width:700px){
  .footer-clean-grid{grid-template-columns:1fr!important;gap:5mm!important}
  .footer-clean-brand{max-width:360px!important;margin:0 auto!important}
  .footer-clean-hours{
    border-left:none!important;border-right:none!important;
    border-top:1px solid rgba(185,139,45,.5)!important;
    border-bottom:1px solid rgba(185,139,45,.5)!important;
    padding:4mm 0!important
  }
  .footer-clean-contact{width:max-content!important;max-width:100%!important;margin:0 auto!important}
}

@media print{
  .info-table th,
  .service-table th,
  .price-table th{
    font-size:6.3pt!important;
    letter-spacing:.01em!important;
  }
  .info-table td,
  .service-table td,
  .price-table td{
    font-size:7pt!important;
  }
  .info-table td.email-value{
    font-size:6.2pt!important;
  }

  .report-footer-clean{
    padding:10mm 3mm 3mm!important;
    font-size:6.3pt!important;
  }
  .report-footer-clean::before{top:3mm!important;border-top-width:1.4pt!important}
  .report-footer-clean::after{top:4.8mm!important;border-top-width:1pt!important}
  .footer-clean-grid{
    grid-template-columns:1.12fr .9fr 1.28fr!important;
    gap:5mm!important;
  }
  .footer-clean-brand{grid-template-columns:14mm 1fr!important;gap:2.5mm!important}
  .footer-clean-brand img{width:14mm!important;height:14mm!important}
  .footer-clean-brand strong{font-size:8.4pt!important}
  .footer-clean-brand span{font-size:6.1pt!important}
  .footer-clean-hours{min-height:14mm!important;padding:0 3mm!important;gap:1mm!important}
  .clock-mark{font-size:12pt!important}
  .footer-clean-hours strong{font-size:6.4pt!important}
  .footer-clean-contact{gap:.75mm!important}
  .footer-clean-contact>div{grid-template-columns:3.5mm 1fr!important;gap:1mm!important}
  .footer-clean-contact span,.footer-clean-contact a{font-size:6.1pt!important}
}


/* ==========================================================
   V6.14 — Customer print protection + customer print typography
   Scoped intentionally to customer-print-sheet only
   ========================================================== */

/* Explicit customer price-table proportions.
   Long right-side labels get enough room, while detail text gets most space. */
.customer-print-sheet .customer-price-table{
  table-layout:fixed!important;
}
.customer-print-sheet .customer-price-table col.cpt-label-left{width:17%!important}
.customer-print-sheet .customer-price-table col.cpt-value-left{width:38%!important}
.customer-print-sheet .customer-price-table col.cpt-label-right{width:27%!important}
.customer-print-sheet .customer-price-table col.cpt-value-right{width:18%!important}

.customer-print-sheet .customer-price-table th{
  width:auto!important;
  white-space:nowrap!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}

/* Service details and Bemerkung: compact and readable, not invoice-sized money text */
.customer-print-sheet .customer-price-table .customer-detail-row td,
.customer-print-sheet .customer-price-table .customer-remark-row td{
  font-size:.84rem!important;
  font-weight:600!important;
  line-height:1.32!important;
  color:#253f37!important;
  letter-spacing:0!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}

/* Keep monetary rows visually stronger without affecting text-detail rows */
.customer-print-sheet .customer-price-table .customer-money-row td{
  font-size:1rem!important;
  font-weight:900!important;
}
.customer-print-sheet .customer-price-table .customer-money-row th{
  font-size:.67rem!important;
  letter-spacing:.02em!important;
}

/* Very long right-hand labels such as RESERVIERUNGSANZAHLUNG */
.customer-print-sheet .customer-price-table .customer-money-row th:nth-child(3){
  font-size:.62rem!important;
  letter-spacing:.005em!important;
}

/* Make payment/reference values fit cleanly instead of colliding with labels */
.customer-print-sheet .customer-price-table .customer-money-row td:nth-child(4){
  font-size:.88rem!important;
  white-space:nowrap!important;
  padding-left:8px!important;
  padding-right:8px!important;
}

@media print{
  .customer-print-sheet .customer-price-table .customer-detail-row td,
  .customer-print-sheet .customer-price-table .customer-remark-row td{
    font-size:6.7pt!important;
    font-weight:550!important;
    line-height:1.28!important;
  }

  .customer-print-sheet .customer-price-table .customer-detail-row th,
  .customer-print-sheet .customer-price-table .customer-remark-row th{
    font-size:5.9pt!important;
  }

  .customer-print-sheet .customer-price-table .customer-money-row th{
    font-size:5.45pt!important;
    letter-spacing:.005em!important;
  }

  .customer-print-sheet .customer-price-table .customer-money-row th:nth-child(3){
    font-size:5.15pt!important;
  }

  .customer-print-sheet .customer-price-table .customer-money-row td{
    font-size:7.3pt!important;
  }

  .customer-print-sheet .customer-price-table .customer-money-row td:nth-child(4){
    font-size:6.8pt!important;
  }
}


/* ==========================================================
   V7.1 — Calendar & Reports modules
   Existing admin order cards/forms intentionally untouched.
   ========================================================== */
.admin-top-tools{gap:8px!important;flex-wrap:wrap}
.module-btn{white-space:nowrap}
.module-wrap{padding-bottom:48px}
.module-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:22px;
  margin:26px 0 18px;padding:22px 24px;border:1px solid rgba(181,139,53,.22);
  border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.018))
}
.module-head h1{margin:5px 0 4px;font-size:clamp(1.7rem,4vw,2.6rem)}
.module-head p{margin:0;color:var(--muted,#9fb3aa)}
.module-head-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.calendar-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 14px}
.compact-filter select{min-width:160px;padding:9px 12px;border-radius:10px}
.calendar-card{overflow:hidden;border:1px solid rgba(181,139,53,.22);border-radius:20px;background:rgba(255,255,255,.035)}
.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.calendar-weekdays>div{padding:10px;text-align:center;font-weight:900;color:#d2b46a;border-bottom:1px solid rgba(255,255,255,.08)}
.calendar-day{min-height:155px;padding:9px;border-right:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.018)}
.calendar-day:nth-child(7n){border-right:none}
.calendar-day.outside{opacity:.35}
.calendar-day.today{box-shadow:inset 0 0 0 2px rgba(211,171,75,.7)}
.calendar-date{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}
.calendar-date>span{font-weight:950;color:#f1e1b5}
.calendar-date small{font-size:.65rem;color:#d2b46a}
.calendar-events{display:grid;gap:6px}
.calendar-event{padding:7px 8px;border-radius:9px;background:#173d34;border-left:4px solid #739b8c;display:grid;gap:2px;min-width:0}
.calendar-event.status-open{border-left-color:#8a9792}
.calendar-event.status-confirmed{border-left-color:#70a7d8}
.calendar-event.status-payment{border-left-color:#d3aa45}
.calendar-event.status-reserved{border-left-color:#4fa675}
.calendar-event.status-progress{border-left-color:#d47d38}
.calendar-event.status-done{border-left-color:#1e7352}
.calendar-event.status-cancelled{border-left-color:#c95f5f;opacity:.7;text-decoration:none}
.calendar-event-time{font-weight:950;color:#e3c977;font-size:.78rem}
.calendar-event strong,.calendar-event span,.calendar-event small{overflow:hidden;text-overflow:ellipsis}
.calendar-event strong{font-size:.78rem;white-space:nowrap}
.calendar-event span{font-size:.68rem;color:#d7e1dd;white-space:nowrap}
.calendar-event small{font-size:.61rem;color:#a9bbb4;white-space:nowrap}
.calendar-event-actions{display:flex;gap:7px;margin-top:3px;font-size:.62rem}
.calendar-event-actions a{color:#efd484;text-decoration:none}
.calendar-legend{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.legend{font-size:.72rem;padding:5px 8px;border-radius:999px;background:#18372f;border-left:3px solid #83948e}
.legend.status-confirmed{border-left-color:#70a7d8}.legend.status-payment{border-left-color:#d3aa45}.legend.status-reserved{border-left-color:#4fa675}.legend.status-progress{border-left-color:#d47d38}.legend.status-done{border-left-color:#1e7352}.legend.status-cancelled{border-left-color:#c95f5f}
.calendar-subscribe{position:relative}
.calendar-subscribe>summary{list-style:none;cursor:pointer}
.calendar-subscribe>summary::-webkit-details-marker{display:none}
.calendar-subscribe-pop{
  position:absolute;z-index:30;right:0;top:calc(100% + 8px);width:min(420px,88vw);
  padding:16px;border-radius:16px;background:#102f27;border:1px solid rgba(211,171,75,.35);
  box-shadow:0 18px 50px rgba(0,0,0,.35);display:grid;gap:9px
}
.calendar-subscribe-pop p,.calendar-subscribe-pop small{margin:0;color:#bdcbc5;line-height:1.45}
.feed-url{padding:9px;background:rgba(255,255,255,.06);border-radius:9px;font-size:.68rem;overflow-wrap:anywhere;color:#d8c38d}

/* Customer calendar menu */
.customer-calendar-menu{position:relative}
.customer-calendar-menu>summary{list-style:none;cursor:pointer}
.customer-calendar-menu>summary::-webkit-details-marker{display:none}
.calendar-choice-pop{
  position:absolute;z-index:25;left:50%;transform:translateX(-50%);bottom:calc(100% + 9px);
  width:min(370px,88vw);padding:14px;border-radius:15px;background:#fff;border:1px solid #d8cfb8;
  box-shadow:0 16px 42px rgba(18,46,38,.2);display:grid;gap:8px;color:#173f34;text-align:center
}
.calendar-choice-pop small{color:#60736d;line-height:1.4}

/* Reports */
.report-filter-card,.report-list-card{
  border:1px solid rgba(181,139,53,.22);border-radius:18px;background:rgba(255,255,255,.035);padding:16px;margin-bottom:14px
}
.report-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:13px}
.report-shortcuts a{padding:7px 10px;border:1px solid rgba(211,171,75,.35);border-radius:999px;color:#e7d49a;text-decoration:none;font-size:.78rem}
.report-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr)) auto;gap:10px;align-items:end}
.report-filter-grid label{display:grid;gap:5px;font-size:.75rem;color:#b9c9c2}
.report-filter-grid input,.report-filter-grid select{width:100%;min-width:0}
.report-kpis,.report-money-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:10px}
.report-money-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px}
.report-kpis>div,.report-money-kpis>div{padding:13px 14px;border-radius:14px;background:linear-gradient(145deg,#173d34,#102e27);border:1px solid rgba(255,255,255,.07)}
.report-kpis span,.report-money-kpis span{display:block;font-size:.68rem;color:#aebfb8;margin-bottom:5px}
.report-kpis strong{font-size:1.45rem;color:#edd38c}
.report-money-kpis strong{font-size:1rem;color:#edd38c}
.report-table-wrap{overflow:auto}
.management-report-table{width:100%;border-collapse:collapse;font-size:.76rem}
.management-report-table th{padding:9px 8px;text-align:left;color:#d9c27d;border-bottom:1px solid rgba(255,255,255,.12);white-space:nowrap}
.management-report-table td{padding:9px 8px;border-bottom:1px solid rgba(255,255,255,.06);vertical-align:top}
.management-report-table a{color:#e3c874}
.route-cell{min-width:190px;max-width:330px}
.route-cell span{color:#d4ad50;font-weight:900}
.report-status{display:inline-block;padding:4px 7px;border-radius:999px;background:#1d453b;white-space:nowrap;font-size:.66rem}
.report-status.status-cancelled{background:#5a2f31}.report-status.status-done{background:#174b39}.report-status.status-reserved{background:#245542}
.empty-report{text-align:center!important;color:#9fb0a9;padding:28px!important}
.report-print-footer{margin-top:14px;text-align:center;color:#91a39b;font-size:.68rem}

@media(max-width:900px){
  .calendar-day{min-height:120px;padding:6px}
  .calendar-event-actions{display:none}
  .report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .report-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .report-money-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
  .module-head,.calendar-toolbar{align-items:stretch;flex-direction:column}
  .calendar-weekdays>div{font-size:.67rem;padding:7px 2px}
  .calendar-day{min-height:92px;padding:4px}
  .calendar-date{margin-bottom:4px}.calendar-date small{display:none}
  .calendar-event{padding:5px;border-left-width:3px}
  .calendar-event span,.calendar-event small{display:none}
  .calendar-event strong{font-size:.63rem}
  .calendar-event-time{font-size:.62rem}
  .report-filter-grid{grid-template-columns:1fr}
  .report-kpis,.report-money-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media print{
  .module-wrap{max-width:none!important;padding:0!important}
  .module-head{margin:0 0 6mm!important;padding:0 0 3mm!important;border:none!important;background:none!important;color:#173f34!important}
  .module-head p,.module-head .eyebrow{color:#52655f!important}
  .calendar-card{border:1px solid #bbb!important;background:#fff!important;border-radius:0!important}
  .calendar-weekdays>div{color:#173f34!important;border-color:#aaa!important;padding:2mm!important}
  .calendar-day{min-height:28mm!important;background:#fff!important;border-color:#ccc!important;color:#173f34!important;padding:1.5mm!important;opacity:1!important}
  .calendar-day.outside{opacity:.35!important}
  .calendar-event{background:#f5f7f6!important;color:#173f34!important;padding:1mm 1.5mm!important}
  .calendar-event strong,.calendar-event span,.calendar-event small,.calendar-event-time{color:#173f34!important}
  .calendar-event strong{font-size:6.3pt!important}.calendar-event span{font-size:5.5pt!important}.calendar-event small{font-size:5pt!important}
  .report-filter-card{display:none!important}
  .report-module{color:#173f34!important;background:#fff!important}
  .report-kpis,.report-money-kpis{gap:2mm!important;margin-bottom:3mm!important}
  .report-kpis>div,.report-money-kpis>div{background:#fff!important;border:1px solid #bbb!important;padding:2mm!important}
  .report-kpis span,.report-money-kpis span,.report-kpis strong,.report-money-kpis strong{color:#173f34!important}
  .report-list-card{border:none!important;background:#fff!important;padding:0!important}
  .management-report-table{font-size:6.2pt!important;color:#173f34!important}
  .management-report-table th{color:#173f34!important;border-color:#999!important;padding:1.5mm!important}
  .management-report-table td{border-color:#ccc!important;padding:1.5mm!important}
  .report-status{background:#eee!important;color:#173f34!important;border:1px solid #aaa!important}
  .report-print-footer{color:#52655f!important;margin-top:5mm!important}
}


/* V7.2 – report export buttons only */
.report-module .export-word-btn,.report-module .export-excel-btn{white-space:nowrap}
.report-module .export-word-btn{border-color:rgba(100,149,237,.45)!important}
.report-module .export-excel-btn{border-color:rgba(75,170,115,.48)!important}


/* V7.3 — completed-order WhatsApp thank-you image button */
.thankyou-share{
  background:linear-gradient(135deg,#d4a83d,#f0cf78)!important;
  color:#173c32!important;
  border:1px solid rgba(255,255,255,.28)!important;
  box-shadow:0 7px 18px rgba(184,139,39,.20)!important;
  font-weight:950!important;
}
.thankyou-share:hover{
  filter:brightness(1.04);
  transform:translateY(-1px);
}
@media(max-width:700px){
  .order-actions .thankyou-share{
    width:100%!important;
  }
}


/* V7.3.1 — Zusatzbetrag / Mehrleistung in Erledigt-Abrechnung */
.settlement-grid label:has(#settleAdditional){
  border:1px solid rgba(214,174,74,.35);
  background:rgba(214,174,74,.06);
  padding:8px;
  border-radius:12px;
}
#settleAdditional{
  font-weight:900!important;
}


/* ==========================================================
   V7.3.2 — settlement viewport, print labels, final total
   ========================================================== */

/* ERLEDIGT MODAL:
   content scrolls, bottom buttons stay visible */
#settlementModal{
  overflow:hidden!important;
}
#settlementModal.show{
  align-items:center!important;
  justify-items:center!important;
}
.settlement-modal{
  width:min(720px,calc(100vw - 24px))!important;
  max-height:calc(100dvh - 24px)!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  padding:16px 18px 12px!important;
}
.settlement-scroll{
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:2px 5px 4px 1px!important;
  overscroll-behavior:contain!important;
}
.settlement-actions{
  flex:0 0 auto!important;
  margin:8px -2px 0!important;
  padding:10px 2px 2px!important;
  border-top:1px solid rgba(255,255,255,.14)!important;
  background:#12372d!important;
  gap:10px!important;
}
.settlement-actions .btn{
  min-height:42px!important;
}

/* Slightly tighter vertical rhythm, without changing fields or logic */
.settlement-modal .settlement-intro{margin-bottom:8px!important}
.settlement-modal .settlement-overview{margin:10px 0 6px!important}
.settlement-modal .finance-grid{gap:9px!important;margin-top:8px!important}
.settlement-modal .finance-grid label{gap:5px!important}
.settlement-modal .finance-check{margin-top:9px!important}
.settlement-modal .settlement-grid textarea{min-height:72px!important}

@media(max-height:760px){
  .settlement-modal{padding:12px 15px 10px!important}
  .settlement-modal h3{font-size:1.15rem!important}
  .settlement-modal .settlement-intro{font-size:.86rem!important}
  .settlement-overview>div{padding:9px 10px!important}
  .settlement-overview strong{font-size:1.02rem!important}
  .settlement-modal input,
  .settlement-modal textarea{padding-top:8px!important;padding-bottom:8px!important}
  .settlement-modal .settlement-grid textarea{min-height:60px!important}
}

/* PRINT PRICE TABLE:
   these long labels are allowed to wrap only inside their own cell */
.price-table th.price-label-wrap{
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  line-height:1.18!important;
  font-size:.66rem!important;
}
.price-table td.settlement-note-cell{
  font-size:.82rem!important;
  font-weight:600!important;
  color:#253f37!important;
  line-height:1.34!important;
  overflow-wrap:break-word!important;
}

/* Keep 4-column price rows clean and prevent label/value collision */
.price-table col.price-label-a{width:22%!important}
.price-table col.price-value-a{width:26%!important}
.price-table col.price-label-b{width:24%!important}
.price-table col.price-value-b{width:28%!important}

@media print{
  .price-table th.price-label-wrap{
    font-size:5.55pt!important;
    line-height:1.12!important;
    letter-spacing:0!important;
  }
  .price-table td.settlement-note-cell{
    font-size:6.7pt!important;
    font-weight:550!important;
    line-height:1.28!important;
  }
  .price-table th.settlement-note-label{
    font-size:5.45pt!important;
  }
}

/* Admin main card: final total explanation after Zusatzbetrag */
.order-grid>div span{
  line-height:1.28!important;
}


/* V7.3.3 — Danke button now uses the same direct WhatsApp-link flow as reservation */
.thankyou-share{
  text-decoration:none!important;
  white-space:nowrap!important;
}
