/* CP interface only: no quote/PDF document styles or data changes. */
body.cp-page{background:#f4f7f6;color:#183f3b;font-family:Arial,sans-serif}
.cp-page .page-shell{min-width:0}
.cp-page .page-shell>header{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:28px}
.cp-page .page-shell>header h1{font-size:clamp(26px,3vw,38px);margin:7px 0 10px;line-height:1.15}
.cp-page .page-shell>header p{line-height:1.6;color:#647c77}
.cp-page #open-wizard{padding:13px 22px;border-radius:11px;border:0;background:#226e65;color:#fff;font-weight:700;box-shadow:0 5px 14px #174e4220;white-space:nowrap}
.cp-page .page-shell>.card{padding:24px;border:1px solid #dce8e4;border-radius:18px;box-shadow:0 6px 24px #163f3306}
.cp-page #package-list .draft-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:18px;align-items:start}
.cp-page #package-list .draft-card{display:flex;flex-direction:column;min-width:0;border-radius:14px}
.cp-page #package-list .draft-card-head{border-radius:14px 14px 0 0;gap:10px;padding:10px 14px;min-height:0;height:auto;margin:0}
.cp-page #package-list .draft-customer h3{margin:3px 0;font-size:16px;line-height:1.2}
.cp-page #package-list .draft-customer p{margin:0;line-height:1.3}
.cp-page #package-list .draft-customer{min-width:0;overflow-wrap:anywhere}
.cp-page #package-list .draft-facts{flex:0 0 auto;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;align-content:start;gap:0 12px;padding:0 14px}
.cp-page #package-list .draft-submitted{display:flex!important;align-items:baseline;flex-wrap:wrap;gap:0 4px;flex:0 0 auto;min-height:0!important;height:auto!important;line-height:16px!important;padding:4px 14px!important;margin:0!important;font-size:12px;border-bottom:1px solid #e3ece9;color:#54736a}
.cp-page #package-list .draft-submitted strong{display:inline!important;margin:0!important;padding:0!important;min-height:0;line-height:16px!important;font-size:12px}
.cp-page #package-list .draft-facts>div{padding:6px 0;min-width:0;min-height:0;height:auto;overflow-wrap:anywhere}
.cp-page #package-list .draft-facts small,.cp-page #package-list .draft-facts span{line-height:1.25;margin:0}
.cp-page #package-list .draft-facts strong{margin:2px 0;line-height:1.25}
.cp-page #package-list .draft-card-actions{gap:6px;padding:8px 14px;align-items:center;min-height:0;height:auto}
.cp-page #package-list .draft-card-actions button{min-height:34px;line-height:1.3;border-radius:8px}
.cp-page #package-wizard,.cp-page #package-view{padding:0;border:1px solid #d7e4df;border-radius:20px;width:min(980px,calc(100vw - 36px));max-width:calc(100vw - 36px);max-height:90vh;max-height:90dvh;overflow:auto;box-shadow:0 28px 90px #102d3455}
.cp-page #package-wizard::backdrop,.cp-page #package-view::backdrop{background:#102c3866;backdrop-filter:blur(4px)}
#package-wizard .wizard,#package-view .wizard{width:100%;max-width:none;padding:0;box-sizing:border-box;background:#fff;font:14px/1.5 Arial,sans-serif}
#package-wizard *,#package-view *{box-sizing:border-box}
#package-wizard [hidden],#package-view [hidden]{display:none!important}
#package-wizard .wizard-top,#package-view .wizard-top{padding:24px 30px 20px;background:linear-gradient(120deg,#f0f8f5,#fff);border-bottom:1px solid #e0eae6;align-items:center}
#package-wizard .wizard-top h2,#package-view .wizard-top h2{font:700 clamp(23px,3vw,30px)/1.15 Georgia,serif;color:#184e46;margin:6px 0 0}
#package-wizard .eyebrow{font:700 10px/1.5 Arial,sans-serif;letter-spacing:2px;color:#548277;margin:0}
#package-wizard #close-wizard,#package-view #close-view{position:static;flex:0 0 36px;width:36px;height:36px;padding:0;border:1px solid #dce7e3;border-radius:50%;background:#fff;color:#52736b;font-size:25px;line-height:1;cursor:pointer}
#package-wizard .wizard-progress{margin:0;padding:22px 30px;background:#fff;gap:0}
#package-wizard .wizard-progress span{flex:0 0 30px;width:30px;height:30px;font:700 11px Arial,sans-serif}
#package-wizard .wizard-progress span.active{background:#226e65;box-shadow:0 0 0 4px #226e650c}
#package-wizard #package-form{padding:0;margin:0}
#package-wizard .wizard-step{padding:6px 30px 26px;min-height:280px}
#package-wizard .wizard-step>p:first-child{margin:0 0 22px;color:#607a72;max-width:760px;line-height:1.65;font-size:14px}
#package-wizard label{display:grid;gap:7px;margin:0;color:#244f46;font:600 12px/1.5 Arial,sans-serif;min-width:0}
#package-wizard input:not([type=hidden]),#package-wizard select,#package-wizard textarea{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;margin:0;border:1px solid #cadfd7;border-radius:10px;padding:11px 12px;background:#fff;color:#183f38;font:14px/1.4 Arial,sans-serif;box-shadow:none}
#package-wizard textarea{resize:vertical}
#package-wizard input[readonly]{background:#f1f6f4;color:#698078}
#package-wizard :is(input,select,textarea,button):focus-visible{outline:3px solid #358a7540;outline-offset:2px;border-color:#268271}
#package-wizard button{font-family:Arial,sans-serif;cursor:pointer;line-height:1.4}
#package-wizard button:disabled{opacity:.4;cursor:not-allowed;transform:none;box-shadow:none}
#package-wizard .customer-grid,#package-wizard .date-grid,#package-wizard .stay-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}
#package-wizard .customer-address{grid-column:1/-1}
#package-wizard .child-bed,#package-wizard #custom-days-wrap{max-width:340px;margin-top:20px}
#package-wizard .day-options{margin:12px 0 20px}
#package-wizard .day-options button{min-height:70px;border-radius:12px;font-weight:700;font-size:16px}
#package-wizard .traveler-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#package-wizard .room-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
#package-wizard .traveler-card,#package-wizard .room-card{border:1px solid #d4e4de;background:#fbfdfc;box-shadow:none;padding:18px 10px;min-width:0}
#package-wizard .room-card.selected{border:2px solid #257868;background:#edf8f3;box-shadow:0 4px 15px #226e6512;padding:17px 9px}
#package-wizard .room-icon{font-size:19px}
#package-wizard .stepper{display:flex;gap:8px;align-items:center;justify-content:center;margin-top:16px}
#package-wizard .stepper button{width:32px;height:32px;flex:0 0 32px;border:1px solid #bed8cd;border-radius:8px;padding:0;background:#fff;color:#26705c;font-size:20px}
#package-wizard .stepper output{min-width:18px;font:700 15px Arial,sans-serif}
#package-wizard .bed-summary{align-items:center;flex-wrap:wrap;font-size:13px}
#package-wizard .wizard-help,#package-wizard .visa-duration-limit{line-height:1.6;font-size:12px;color:#5d796f}
#package-wizard .route-selection{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#package-wizard .travel-route-choice{padding:14px;border-radius:12px;min-width:0;overflow-wrap:anywhere}
#package-wizard #vehicle-selection{display:block}
#package-wizard .route-vehicle-section{padding:16px;border:1px solid #dce9e3;border-radius:14px;margin:16px 0;background:#fbfdfc}
#package-wizard .route-vehicle-section h3{margin:0 0 14px;font-size:14px;line-height:1.5}
#package-wizard .route-vehicle-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
#package-wizard .vehicle-card{min-width:0;padding:12px;border-width:1px;box-shadow:none}
#package-wizard .vehicle-card.selected{border:2px solid #287a69;background:#edf8f3;padding:11px}
#package-wizard .vehicle-art img{max-width:100%;height:64px;object-fit:contain}
#package-wizard .hotel-selection,#package-wizard .city-hotel-section{display:block;min-width:0}
#package-wizard .hotel-selection-head{gap:16px;align-items:end;flex-wrap:wrap}
#package-wizard .hotel-selection-head label{min-width:170px}
#package-wizard .hotel-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#package-wizard .hotel-choice{min-width:0}
#package-wizard .hotel-choice button{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;align-items:center;padding:12px;border:0}
#package-wizard .hotel-choice img{width:90px;height:88px;min-height:0;border-radius:8px;object-fit:cover}
#package-wizard .hotel-choice span{padding:0;min-width:0;overflow-wrap:anywhere}
#package-wizard .hotel-choice strong{font-size:13px}
#package-wizard #ziyarat-selection{display:block}
#package-wizard .ziyarat-place-list{grid-template-columns:minmax(0,1fr)}
#package-wizard .ziyarat-place-button{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px;padding:14px;align-items:center}
#package-wizard .ziyarat-place-button>span{overflow-wrap:anywhere}
#package-wizard .ziyarat-place-button>b{white-space:nowrap}
#package-wizard .ticket-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#package-wizard .quote-details,#package-wizard .quote-services{overflow-wrap:anywhere}
#package-wizard .quote-prices{grid-template-columns:repeat(2,minmax(0,1fr))}
#package-wizard .quote-head,#package-wizard .quote-total{flex-wrap:wrap;align-items:center}
#package-wizard .wizard-actions{position:sticky;bottom:0;z-index:5;background:#fffffffa;border-top:1px solid #dce8e2;padding:16px 30px;margin:0;box-shadow:0 -5px 16px #163f3305}
#package-wizard .wizard-actions button{min-height:44px;padding:11px 24px;border-radius:10px;font-size:13px;font-weight:700;border:0}
#package-wizard #wizard-next{background:#226e65;color:#fff}
#package-wizard #wizard-back{background:#edf4f0;color:#286654}
#package-view .package-review{padding:24px 30px;overflow-wrap:anywhere}
@media(max-width:760px){
 .cp-page .page-shell>.card{padding:16px}
 .cp-page #package-wizard,.cp-page #package-view{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:94dvh;border-radius:15px}
 #package-wizard .wizard-top,#package-view .wizard-top{padding:20px}
 #package-wizard .wizard-progress{padding:20px 16px}
 #package-wizard .wizard-progress span{flex-basis:24px;width:24px;height:24px;font-size:10px}
 #package-wizard .wizard-step{padding:4px 20px 24px}
 #package-wizard .room-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 #package-wizard .hotel-cards,#package-wizard .ticket-grid{grid-template-columns:1fr}
 #package-wizard .wizard-actions{padding:14px 20px}
}
@media(max-width:480px){
 #package-wizard .customer-grid,#package-wizard .date-grid,#package-wizard .stay-grid,#package-wizard .route-selection{grid-template-columns:1fr}
 #package-wizard .traveler-grid{grid-template-columns:1fr}
 #package-wizard .room-grid,#package-wizard .day-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 #package-wizard .route-vehicle-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #package-wizard .ziyarat-place-button{grid-template-columns:56px minmax(0,1fr)}
 #package-wizard .ziyarat-place-button>img{width:56px;height:48px}
 #package-wizard .ziyarat-place-button>b{grid-column:2;justify-self:start}
 #package-wizard .quote-prices{grid-template-columns:1fr}
 #package-view .package-review{padding:18px}
}
/* CP vehicle capacity states and consistent Ziyarat image/text layout. */
#package-wizard .vehicle-card:disabled,#package-wizard .ziyarat-vehicle-choice:disabled{opacity:.5;cursor:not-allowed;background:#f1f4f3;border-color:#d7dfdc;box-shadow:none;transform:none}
#package-wizard .ziyarat-vehicle-picker>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;align-items:stretch}
#package-wizard .ziyarat-vehicle-choice{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;min-width:0;min-height:160px;height:auto;padding:12px;border-radius:12px;line-height:1.4}
#package-wizard .ziyarat-vehicle-choice .vehicle-art{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 66px;width:100%;height:66px;margin:0;overflow:hidden}
#package-wizard .ziyarat-vehicle-choice .vehicle-art img{display:block;width:100%;max-width:140px;height:66px;max-height:66px;object-fit:contain;margin:0}
#package-wizard .ziyarat-vehicle-choice .sharing-mark{position:absolute;right:4px;bottom:2px;font-size:13px;line-height:1}
#package-wizard .ziyarat-vehicle-choice strong{display:block;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
#package-wizard .ziyarat-vehicle-choice small{display:block;font-size:11px;line-height:1.5;white-space:normal}
#package-wizard .ziyarat-vehicle-choice em{font-size:10px;line-height:1.4}
@media(max-width:520px){#package-wizard .ziyarat-vehicle-picker>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#package-wizard .ziyarat-vehicle-choice{padding:9px}}
