:root{--navy:#173b68;--blue:#245da8;--teal:#0f8b8d;--ink:#172b43;--muted:#66778b;--line:#e2e9f1;--bg:#f4f7fb;--white:#fff;--soft:#eaf2fc;--orange:#f4a340;--shadow:0 12px 32px rgba(28,54,85,.08)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:Arial,"Nirmala UI","Mangal",sans-serif;color:var(--ink);line-height:1.5}.topbar{height:72px;padding:0 max(20px,calc((100% - 1160px)/2));display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:21px;color:var(--navy);letter-spacing:-.3px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,var(--navy),var(--teal));color:white;font-size:14px;box-shadow:0 5px 12px #173b6830}.top-actions{display:flex;align-items:center;gap:10px}.tag{font-size:12px;color:#87510a;background:#fff2d8;padding:6px 10px;border-radius:99px;font-weight:700}.container{max-width:1160px;margin:28px auto;padding:0 20px}.panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:var(--shadow)}.hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#fff 0%,#f5faff 68%,#e7f5f5 100%);padding:36px}.hero-copy{max-width:650px;position:relative;z-index:1}.eyebrow{color:var(--teal);font-size:12px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;margin:0 0 10px}h1{font-size:clamp(30px,4vw,46px);line-height:1.15;letter-spacing:-1.2px;color:var(--navy);margin:0 0 15px}h2{font-size:28px;line-height:1.2;color:var(--navy);margin:0 0 10px}h3{font-size:19px;color:var(--navy);margin:0 0 15px}h4{font-size:16px;color:var(--navy);margin:8px 0}.muted{color:var(--muted);margin:0}.hero-art{position:absolute;right:6%;top:20px;width:210px;height:205px;opacity:.95}.art-calendar{position:absolute;right:25px;top:25px;width:125px;height:140px;border-radius:22px;background:#fff;box-shadow:0 16px 32px #173b6820;border:1px solid #d9e8f3;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(6deg)}.art-calendar b{font-size:36px;color:var(--teal)}.art-calendar span{font-size:11px;letter-spacing:2px;color:var(--muted)}.bubble{position:absolute;display:grid;place-items:center;border-radius:18px;width:48px;height:48px;background:#fff;box-shadow:0 8px 20px #173b6818;font-size:23px}.bubble-one{left:0;top:75px}.bubble-two{right:0;bottom:10px}.bubble-three{left:30px;bottom:5px}.role-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:34px;position:relative;z-index:1}.role-card{display:flex;align-items:center;text-align:left;gap:12px;background:#fff;border:1px solid var(--line);padding:16px;border-radius:16px;cursor:pointer;transition:.18s;color:var(--ink)}.role-card:hover{transform:translateY(-2px);border-color:#9cb9d8;box-shadow:0 8px 18px #173b6810}.role-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:14px;background:var(--soft);font-size:22px}.role-card strong,.role-card small{display:block}.role-card strong{font-size:15px}.role-card small{color:var(--muted);font-size:12px;margin-top:4px}.arrow{margin-left:auto;color:var(--blue);font-size:21px}.btn{border:0;border-radius:12px;padding:11px 16px;font-size:14px;font-weight:700;cursor:pointer;transition:.15s}.btn-primary{background:var(--blue);color:white}.btn-primary:hover{background:#174c91}.btn-light{background:#eef3f8;color:var(--navy)}.btn-light:hover{background:#e1ebf5}.hidden{display:none!important}.back-link{border:0;background:none;color:var(--blue);font-size:14px;font-weight:700;padding:0 0 18px;cursor:pointer}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px}.form-grid label,.search-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;color:#344c66}.form-grid input,.search-grid input,.search-grid select{width:100%;padding:13px 14px;border:1px solid #d5e0ec;border-radius:11px;background:#fff;font:inherit;font-weight:400;color:var(--ink);outline:none}.form-grid input:focus,.search-grid input:focus,.search-grid select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #245da815}.full{grid-column:1/-1}.small-note{font-size:12px;color:var(--muted);margin:14px 0 0}.notice{padding:13px 15px;border-radius:12px;background:#eef8f6;border:1px solid #cbe9e2;color:#176b62;font-size:13px;margin-top:14px}.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:6px 0 24px}.search-panel{padding:24px}.search-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr auto;align-items:end;gap:12px}.section-block{margin-top:30px}.section-title{display:flex;align-items:center;justify-content:space-between}.section-title .muted{font-size:13px}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.category-item{display:flex;align-items:center;gap:11px;min-height:76px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:15px;text-align:left;color:var(--ink);font-size:13px;font-weight:700;cursor:pointer}.category-item:hover,.category-item.active{border-color:#7aa4d2;background:#f0f6ff}.category-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:#eef5fc;font-size:19px}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.feature-card{padding:19px;background:#fff;border:1px solid var(--line);border-radius:17px;min-height:210px}.feature-card>span{font-size:27px}.feature-card p,.vendor-feature p{font-size:13px;color:var(--muted);margin:0 0 14px}.text-button{border:0;padding:0;background:transparent;color:var(--blue);font-weight:800;cursor:pointer}.empty-state{padding:22px;background:#fff;border:1px dashed #cdd9e7;border-radius:15px;color:var(--muted);font-size:14px;display:flex;gap:10px;align-items:center}.vendor-feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.vendor-feature{display:flex;gap:15px;background:#fff;border:1px solid var(--line);padding:20px;border-radius:17px}.vendor-feature>span{font-size:27px}.vendor-feature h3{font-size:16px;margin:0 0 7px}.vendor-feature p{margin:0}.footer{display:flex;justify-content:space-between;gap:12px;color:#7b8b9e;font-size:12px;padding:28px 4px 12px}.footer span:first-child{font-weight:800;color:var(--navy)}
@media(max-width:900px){.hero-art{right:1%;opacity:.25}.role-grid{grid-template-columns:1fr}.category-grid{grid-template-columns:repeat(2,1fr)}.feature-grid{grid-template-columns:repeat(2,1fr)}.search-grid{grid-template-columns:1fr 1fr}.search-grid button{grid-column:1/-1}.hero-copy{max-width:100%}}
@media(max-width:560px){.topbar{height:62px;padding:0 14px}.brand{font-size:18px}.brand-mark{width:36px;height:36px}.tag{display:none}.container{padding:0 12px;margin:16px auto}.panel{padding:20px;border-radius:18px}.hero{padding:24px 18px}.hero-art{right:-30px;top:30px;transform:scale(.8)}h1{font-size:31px}.role-grid{margin-top:26px}.form-grid,.search-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.category-grid{grid-template-columns:1fr}.feature-grid,.vendor-feature-grid{grid-template-columns:1fr}.dashboard-heading{align-items:flex-start;flex-direction:column}.footer{flex-direction:column}.search-panel{padding:18px}}

/* Vendor registration: service categories and GPS */
.vendor-category-block h3,.gps-block h3{margin:0 0 4px;font-size:17px}.vendor-category-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.vendor-category-option{display:flex;align-items:flex-start;gap:9px;padding:11px;border:1px solid var(--line);border-radius:11px;background:#fff;font-size:13px;font-weight:600;color:var(--ink);cursor:pointer}.vendor-category-option input{width:17px;height:17px;margin:1px 0 0;flex:0 0 17px;accent-color:var(--blue)}.vendor-category-option:has(input:checked){border-color:#7aa4d2;background:#f0f6ff}.field-error{color:#a12626;font-size:12px;margin-top:8px}.gps-block{border:1px solid var(--line);background:#f8fbff;border-radius:14px;padding:16px}.gps-status{margin-top:12px}.gps-status.error{background:#fff1f0;border-color:#f0c9c6;color:#9d2924}.gps-status.success{background:#eef8f6;border-color:#cbe9e2;color:#176b62}.gps-block .btn{margin-top:12px}@media(max-width:560px){.vendor-category-options{grid-template-columns:1fr}.gps-block{padding:12px}}
.vendor-results{display:grid;gap:10px;margin-top:14px}.vendor-result-card{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px}.vendor-result-card h4{margin:0 0 5px}.vendor-result-card p{margin:3px 0;color:var(--muted);font-size:13px}.demo-pill{flex-shrink:0;padding:5px 9px;border-radius:99px;background:#fff2d8;color:#87510a;font-size:11px;font-weight:800}.vendor-profile-summary{margin-bottom:18px}.vendor-profile-summary .small-note{display:inline-block;margin-top:5px}@media(max-width:560px){.vendor-result-card{flex-direction:column}}

/* Vendor mobile + demo OTP login */
.vendor-auth-box{max-width:560px;margin-top:22px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#f8fbff}.auth-label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;color:#344c66;margin-bottom:12px}.auth-label input{width:100%;padding:13px 14px;border:1px solid #d5e0ec;border-radius:11px;background:#fff;font:inherit;font-weight:400;color:var(--ink)}.auth-otp-entry{margin-top:16px}.auth-switch{display:block;margin-top:16px}

/* Vendor workspace modules */
.module-form{margin-top:22px;padding:20px;background:#f8fbff;border:1px solid var(--line);border-radius:16px}.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}.module-field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;color:#344c66}.module-field.full{grid-column:1/-1}.module-field input,.module-field textarea,.module-field select{width:100%;padding:12px 13px;border:1px solid #d5e0ec;border-radius:10px;background:#fff;font:inherit;font-weight:400;color:var(--ink)}.module-field textarea{resize:vertical}.module-subhead{margin:28px 0 12px}.record-list{display:grid;gap:12px;margin-top:14px}.record-card{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px}.record-card h4{margin:0 0 6px}.record-card p{font-size:13px;color:var(--muted);margin:4px 0}.record-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.module-open{margin-top:12px}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;margin-top:16px}.photo-tile{display:flex;flex-direction:column;gap:7px;border:1px solid var(--line);border-radius:12px;padding:8px;background:white;min-width:0}.photo-tile img{width:100%;height:120px;object-fit:cover;border-radius:8px}.photo-tile span{font-size:12px}.business-card{max-width:620px;margin:24px 0;padding:4px;border-radius:22px;background:linear-gradient(135deg,#245da8,#0f8b8d);box-shadow:0 18px 32px #173b6820;perspective:1000px}.card-depth{min-height:220px;padding:26px;border-radius:18px;background:#fff;transform:rotateX(1deg) rotateY(-1deg)}.theme-teal{background:linear-gradient(135deg,#0f8b8d,#7ac8bd)}.theme-dark{background:linear-gradient(135deg,#172b43,#354b63)}.theme-gold{background:linear-gradient(135deg,#b8862b,#f1d28a)}.card-brand{display:flex;justify-content:space-between;color:var(--teal);font-weight:800}.card-brand span{font-size:22px}.card-depth h2{margin-top:24px}.card-contact{font-weight:700;color:var(--navy)}
@media(max-width:650px){.module-grid{grid-template-columns:1fr}.module-field.full{grid-column:auto}.record-card{flex-direction:column}.record-actions{justify-content:flex-start}.module-form{padding:14px}.card-depth{padding:20px}}

/* Optional reminder contacts: one number per row with explicit Add/Remove controls */
.reminder-extra-contacts{display:flex;flex-direction:column;gap:10px;width:100%}
.reminder-phone-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin:10px 0}
.reminder-phone-row .module-field{min-width:0}
.reminder-phone-row .btn{white-space:nowrap;min-height:42px}
@media(max-width:560px){.reminder-phone-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.reminder-phone-row .btn{padding:10px}}

/* Live remaining amount in vendor order form */
.balance-preview{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:14px 16px;border:1px solid #b8d9c6;border-radius:12px;background:#f0faf4;color:#174c32;}
.balance-preview span{font-weight:600;}
.balance-preview strong{font-size:1.25rem;font-variant-numeric:tabular-nums;}
.balance-preview small{flex-basis:100%;color:#a12d2d;}
.balance-preview.has-warning{border-color:#e5a6a6;background:#fff3f3;color:#8f2020;}

/* Invoice customer selection list */
.invoice-customer-list{display:grid;gap:10px;margin-top:10px}
.invoice-customer-option{display:flex;align-items:flex-start;gap:12px;padding:13px 14px;border:1px solid var(--border,#d9e0ea);border-radius:12px;background:var(--card,#fff);cursor:pointer}
.invoice-customer-option:has(input:checked){border-color:var(--primary,#245da8);box-shadow:0 0 0 2px rgba(36,93,168,.12)}
.invoice-customer-option input{margin-top:4px;flex:0 0 auto}
.invoice-customer-option span{display:grid;gap:5px;min-width:0}
.invoice-customer-option small{line-height:1.5;color:var(--muted,#667085);overflow-wrap:anywhere}

/* B2B request alert UI */
.b2b-alert-box{margin:22px 0;padding:16px;border:1px solid #d6a842;border-radius:14px;background:linear-gradient(135deg,#fff8e4,#fffdf7);color:#30250c;box-shadow:0 8px 24px #b8861b20}.b2b-alert-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}.b2b-alert-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f4d57e;font-size:22px}.b2b-alert-head strong{font-size:15px}.b2b-alert-head p{margin:4px 0 0;font-size:12px;color:#77663e}.b2b-alert-count{margin-left:auto;min-width:30px;height:30px;padding:0 8px;border-radius:20px;background:#7b5511;color:white;display:grid;place-items:center;font-weight:800}.b2b-request{background:#fff;border:1px solid #e6d6ad;border-radius:11px;margin-top:9px;overflow:hidden}.b2b-request summary{display:flex;align-items:center;gap:10px;padding:13px;cursor:pointer;list-style:none}.b2b-request summary::-webkit-details-marker{display:none}.request-dot{color:#c58a27;font-size:12px}.request-summary{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.request-summary strong{font-size:13px;overflow-wrap:anywhere}.request-summary small{font-size:11px;color:#7a7058}.open-hint{font-size:11px;color:#865f15;font-weight:700;white-space:nowrap}.request-full{padding:13px;border-top:1px solid #f0e4c6;background:#fffdf7}.request-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-bottom:10px}.request-detail-grid div{display:flex;flex-direction:column;gap:4px}.request-detail-grid small{font-size:10px;color:#84724c}.request-detail-grid strong{font-size:12px;overflow-wrap:anywhere}.request-full p{font-size:12px;line-height:1.6}.b2b-no-alert{font-size:12px;color:#7a7058;padding:8px 2px}@media(max-width:600px){.b2b-alert-box{padding:12px}.b2b-request summary{padding:11px 8px}.open-hint{font-size:10px}.request-detail-grid{grid-template-columns:1fr 1fr}}


/* Persistent current-section indicator, shown throughout the prototype */
.location-crumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:16px 0;color:var(--muted);font-size:13px;box-shadow:0 4px 14px rgba(28,54,85,.04)}.location-crumb .crumb-home{font-weight:700;color:var(--navy)}.location-crumb .crumb-sep{color:#9aa8ba;font-size:18px}.location-crumb strong{color:var(--ink);font-weight:800}.location-crumb[hidden]{display:none}

/* Resale browse feed: vertical scrolling, one item at a time, expandable details */
.resale-scroll{display:flex;flex-direction:column;gap:12px;max-height:520px;overflow-y:auto;padding:4px 8px 8px 0;scroll-snap-type:y proximity}.resale-scroll .resale-card{scroll-snap-align:start;display:flex;flex-direction:column;gap:10px}.resale-card .resale-detail{border-top:1px solid var(--line,#d8dce5);padding-top:12px;line-height:1.7}.resale-detail p{margin:6px 0}.resale-detail.hidden{display:none}

/* Resale marketplace: prominent vendor listings and photo upload */
.resale-marketplace{margin:24px 0;padding:18px;border:2px solid #d8a63c;border-radius:18px;background:linear-gradient(135deg,#fff8e7,#fffdf9);box-shadow:0 12px 30px #b8861b20;color:#30250c}
.resale-marketplace-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}.resale-marketplace-heading h3{margin:0 0 5px;font-size:17px;color:#30250c}.resale-marketplace-heading p{margin:0;font-size:12px;line-height:1.6;color:#786642}.resale-marketplace-icon{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border-radius:13px;background:#f5d989;font-size:23px}.resale-count{margin-left:auto;min-width:34px;height:34px;border-radius:30px;background:#80560e;color:#fff;display:grid;place-items:center;font-weight:800}
.resale-scroll{display:flex;flex-direction:column;gap:12px;max-height:680px;overflow-y:auto;padding:3px 5px 3px 0;scrollbar-width:thin}.resale-listing-card{display:grid;grid-template-columns:140px minmax(0,1fr);gap:15px;padding:13px;background:#fff;border:1px solid #ead9b2;border-radius:14px;box-shadow:0 4px 13px #4d360d0c}.resale-listing-photo{height:140px;border-radius:10px;overflow:hidden;background:linear-gradient(135deg,#f5edda,#e9dfc5);display:grid;place-items:center}.resale-listing-photo img{width:100%;height:100%;object-fit:cover}.resale-listing-photo span{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:28px;color:#9b8659}.resale-listing-photo small{font-size:10px}.resale-listing-main{min-width:0}.resale-listing-main h4{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:7px 0;font-size:15px;color:#282317}.resale-listing-main h4 strong{color:#80560e;white-space:nowrap}.resale-listing-main p{font-size:12px;line-height:1.6;margin:6px 0;color:#665b44;overflow-wrap:anywhere}.resale-listing-main .resale-location{color:#786642}.resale-listing-main>small{font-size:11px;color:#8b7958}.resale-open-btn{display:block;margin-top:10px}.resale-detail{margin-top:12px;padding:13px;border-radius:10px;background:#fff9eb;border:1px solid #ead9b2}.resale-detail-photo{width:min(100%,340px);max-height:260px;object-fit:contain;display:block;border-radius:10px;margin:0 0 12px;background:#f2ead8}.resale-photo-input{width:100%;padding:12px;border:1px dashed #b8a16b;border-radius:10px;background:#fffaf0}.resale-photo-preview{display:flex;align-items:center;gap:10px;margin-top:10px;color:#77613a;font-size:12px}.resale-photo-preview img{width:100px;height:80px;object-fit:cover;border-radius:8px;border:1px solid #ddc991}.resale-photo-preview.hidden{display:none}
@media(max-width:600px){.resale-marketplace{padding:12px}.resale-marketplace-heading h3{font-size:15px}.resale-listing-card{grid-template-columns:92px minmax(0,1fr);gap:10px;padding:9px}.resale-listing-photo{height:100px}.resale-listing-main h4{font-size:13px}.resale-listing-main p{font-size:11px}.resale-count{min-width:28px;height:28px}}
.resale-own-card{align-items:flex-start}.resale-own-thumb{width:90px;height:80px;object-fit:cover;border-radius:9px;flex:0 0 auto}

/* 3D album link preview */
.album3d-preview { margin-top: 12px; width: 100%; }
.album3d-preview iframe { display: block; width: 100%; max-width: 760px; height: 430px; border: 1px solid #d9e2ef; border-radius: 12px; background: #f7f9fc; }
@media (max-width: 640px) { .album3d-preview iframe { height: 300px; } }


/* Dashboard organization update — MyEvent365 */
.dashboard-shortcuts {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #dce6f2;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
}
.shortcut-heading { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:12px; flex-wrap:wrap; }
.shortcut-heading h3 { margin:0; }
.shortcut-heading .small-note { margin:0; }
.shortcut-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.shortcut-btn {
  appearance:none; width:100%; min-height:104px; display:flex; flex-direction:column;
  align-items:flex-start; justify-content:center; gap:5px; text-align:left; cursor:pointer;
  border:1px solid #d7e2f0; border-radius:14px; padding:14px 16px; background:#fff;
  color:#173b68; transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.shortcut-btn:hover,.shortcut-btn:focus-visible { transform:translateY(-2px); border-color:#6e9bd0; box-shadow:0 8px 22px rgba(23,59,104,.10); outline:none; }
.shortcut-btn span { font-size:1.45rem; line-height:1.2; }
.shortcut-btn b { font-size:.98rem; }
.shortcut-btn small { color:#65758a; font-size:.82rem; line-height:1.4; }
.vendor-profile-summary { margin-top:16px; }
#customerDashboard .search-panel { scroll-margin-top:18px; }
#customerCategories,#customerTools { scroll-margin-top:18px; }
@media (max-width:700px) {
  .shortcut-actions { grid-template-columns:1fr; }
  .shortcut-btn { min-height:78px; display:grid; grid-template-columns:40px 1fr; grid-template-rows:auto auto; align-items:center; column-gap:10px; }
  .shortcut-btn span { grid-row:1 / span 2; font-size:1.55rem; }
  .shortcut-btn b,.shortcut-btn small { grid-column:2; }
  .shortcut-heading { display:block; }
  .shortcut-heading .small-note { margin-top:5px; }
}


/* Customer album links */
.customer-albums-panel{margin:22px 0}.customer-album-card{display:flex;gap:16px;align-items:flex-start}.customer-album-card .btn{display:inline-flex;align-items:center;justify-content:center;margin:5px 6px 5px 0;text-decoration:none}.customer-album-card .album3d-preview{max-width:760px;margin-top:12px}.customer-album-card .album3d-preview iframe{width:100%;min-height:300px;border:0;border-radius:12px;background:#f4f6f8}@media(max-width:640px){.customer-album-card .album3d-preview iframe{min-height:220px}}

/* Customer/vendor photo preview and selection gallery */
.album-photo-gallery{margin:14px 0;padding:14px;border:1px solid #dce5f0;border-radius:14px;background:#f8fbff}
.album-photo-gallery>h4{margin:0 0 6px}
.album-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:12px;margin:12px 0}
.album-photo-option{display:flex;flex-direction:column;gap:8px;min-width:0;padding:8px;border:1px solid #d9e2ee;border-radius:12px;background:#fff;overflow:hidden}
.album-photo-option img{display:block;width:100%;height:135px;object-fit:cover;border-radius:8px;background:#eef2f7}
.album-photo-option span{font-size:.83rem;line-height:1.35;overflow-wrap:anywhere}
.album-photo-option input[type=checkbox]{width:18px;height:18px;vertical-align:middle;accent-color:#245e9b}
.vendor-album-photo-grid{max-width:800px}
.customer-album-content{width:100%;min-width:0}
@media(max-width:520px){.album-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.album-photo-option img{height:115px}}

/* Customer photo selection and finished album are separate areas */
.customer-album-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 18px}
.customer-album-tab{flex:1 1 250px;white-space:normal;text-align:center}
.customer-album-tab.active{box-shadow:0 0 0 2px rgba(36,94,155,.18)}
.customer-album-panel{margin-top:12px}
.customer-album-panel[hidden]{display:none!important}

/* Photo selection review workflow */
.photo-selection-status{margin:12px 0;padding:12px;border-radius:10px;background:#f3f7fc;border:1px solid #d8e3f0}
.photo-selection-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.photo-selection-actions .btn{white-space:normal}

/* Full-screen customer photo selection, persistent checks and MyEvent365 mark */
.customer-photo-frame{position:relative;width:100%;overflow:hidden;border-radius:8px;background:#111;line-height:0}
.customer-photo-frame .customer-preview-photo{height:auto;max-height:260px;min-height:135px;object-fit:contain;cursor:zoom-in;background:#111}
.customer-photo-card.is-selected{border:2px solid #167647;box-shadow:0 0 0 2px #d4f5e1}
.myevent365-watermark,.viewer-watermark{position:absolute;right:7px;bottom:7px;padding:5px 8px;border-radius:5px;background:rgba(8,55,35,.82);color:#fff;font-size:12px;font-weight:800;letter-spacing:.3px;line-height:1.2;pointer-events:none}
.photo-number{position:absolute;top:7px;left:7px;background:rgba(0,0,0,.7);color:#fff;border-radius:5px;padding:4px 7px;font-size:12px;line-height:1.2}
.selection-counter{display:inline-block;padding:9px 13px;border-radius:9px;background:#e9f5ee;color:#145b36;font-weight:600;margin:8px 0}
.photo-viewer{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.97);display:flex;align-items:center;justify-content:center;color:white;touch-action:pan-y}
.photo-viewer.hidden{display:none!important}
.photo-viewer-stage{position:absolute;inset:50px 58px 105px;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:pan-y}
.photo-viewer-stage img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;transform-origin:center center;transition:transform .12s;user-select:none;-webkit-user-drag:none}
.photo-viewer-close{position:absolute;z-index:2;top:12px;right:16px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#111;font-size:32px;line-height:1;cursor:pointer}
.photo-viewer-nav{position:absolute;z-index:2;top:50%;transform:translateY(-50%);border:0;border-radius:50%;width:44px;height:56px;font-size:36px;background:rgba(255,255,255,.18);color:#fff;cursor:pointer}
.photo-viewer-prev{left:8px}.photo-viewer-next{right:8px}
.photo-viewer-tools{position:absolute;bottom:12px;left:10px;right:10px;display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap}
.photo-viewer-tools button{min-height:40px;padding:8px 14px;border:1px solid #bfc7d0;border-radius:9px;background:#fff;color:#142236;font-weight:700;cursor:pointer}
.photo-viewer-tools small{flex-basis:100%;text-align:center;color:#ddd;font-size:12px}
.photo-viewer .viewer-counter{position:absolute;top:12px;left:50%;transform:translateX(-50%);padding:6px 10px;background:rgba(0,0,0,.55);border-radius:6px;font-size:14px;line-height:1.2}
@media(max-width:600px){.photo-viewer-stage{inset:60px 0 125px}.photo-viewer-nav{width:34px;height:46px;background:rgba(255,255,255,.12)}.photo-viewer-prev{left:3px}.photo-viewer-next{right:3px}.photo-viewer-tools{gap:7px}.photo-viewer-tools button{padding:8px 11px}.customer-photo-frame .customer-preview-photo{max-height:220px;min-height:115px}}
