/* Clarence Connect Business Portal additions. Existing form structure and behaviour are preserved. */
.cc-image-guide{display:block;margin-top:6px;color:#6f7d76;font-size:.78rem;line-height:1.35;font-weight:600}
.cc-access-card{margin-top:10px;padding:12px 13px;border:1px solid #d8e1da;border-radius:12px;background:#f8fbf8}
.cc-access-card[hidden]{display:none!important}.cc-access-title{font-weight:800;color:#234838;margin:0 0 5px}.cc-access-help{font-size:.82rem;color:#6f7d76;margin:0 0 9px}.cc-access-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.cc-access-row input,.cc-access-row select{min-height:42px!important;padding:8px 10px!important}.cc-access-button{border:0;border-radius:999px;background:#5f8068;color:#fff;font-weight:800;padding:8px 16px;white-space:nowrap}.cc-access-status{font-size:.8rem;margin-top:7px;color:#6f7d76}.cc-access-status.ok{color:#246039;font-weight:800}.cc-access-status.error{color:#9b3b30;font-weight:700}.cc-forgot{display:inline-block;margin-top:7px;border:0;background:transparent;color:#5f8068;text-decoration:underline;padding:0;font-size:.8rem;font-weight:700}.cc-recovery{margin-top:9px;padding-top:9px;border-top:1px solid #d8e1da}.cc-recovery p{margin:0 0 7px;font-size:.8rem;color:#6f7d76}.cc-recovery-grid{display:grid;grid-template-columns:1fr auto;gap:7px}.cc-recovery-manual{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.cc-recovery-manual input{min-height:40px!important}.cc-recovery-manual .full{grid-column:1/-1}
.cc-pending-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:18px 0 0}.cc-pending-actions button{border:0;border-radius:999px;background:#5f8068;color:#fff;font-weight:800;padding:11px 18px}

/* Desktop layout: refit, do not redesign, the existing form into a left column. */
.cc-live-preview{display:none}
@media(min-width:1360px){
  main.page-shell.batch-page.cc-preview-enabled{
    width:min(1500px,calc(100% - 96px));
    max-width:none;
    display:grid;
    grid-template-columns:minmax(0,960px) 410px;
    column-gap:42px;
    align-items:start;
    padding-top:32px;
  }
  main.page-shell.batch-page.cc-preview-enabled>.hero,
  main.page-shell.batch-page.cc-preview-enabled>.main-form-tabs,
  main.page-shell.batch-page.cc-preview-enabled>.mobile-form-select,
  main.page-shell.batch-page.cc-preview-enabled>.submission-form{grid-column:1}
  main.page-shell.batch-page.cc-preview-enabled>.hero{margin-bottom:22px}
  main.page-shell.batch-page.cc-preview-enabled>.cc-live-preview{
    display:flex;
    grid-column:2;
    grid-row:1 / span 4;
    position:sticky;
    top:10px;
    height:calc(100vh - 20px);
    min-height:660px;
    flex-direction:column;
    align-items:stretch;
    z-index:5;
  }
  .cc-preview-top{height:38px;display:flex;align-items:flex-end;justify-content:flex-end;gap:12px;padding:0 4px 5px}
  .cc-preview-label{display:none!important}
  .cc-preview-tier-toggle{display:flex;gap:6px;justify-content:flex-end;margin:0}
  .cc-preview-tier-toggle[hidden]{display:none!important}
  .cc-preview-tier-toggle button{border:1px solid #d8e1da;background:#fff;color:#5f8068;border-radius:999px;padding:6px 13px;font-size:.75rem;font-weight:900;box-shadow:0 1px 3px rgba(35,72,56,.05)}
  .cc-preview-tier-toggle button.active{background:#5f8068;color:#fff;border-color:#5f8068}
  .cc-phone-stage{flex:1;min-height:0;display:flex;align-items:flex-start;justify-content:center;overflow:hidden;padding-top:2px}
  .cc-phone{width:390px;height:844px;background:#fff;border:7px solid #20231f;border-radius:38px;box-shadow:0 18px 44px rgba(35,72,56,.18);overflow:hidden;transform-origin:top center;position:relative;flex:0 0 auto}
  .cc-phone-screen{width:100%;height:100%;overflow-y:auto;overscroll-behavior:contain;background:#fff;scrollbar-width:none;position:relative;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#424242}
  .cc-phone-screen::-webkit-scrollbar{display:none}
  .cc-statusbar{height:40px;display:flex;align-items:center;justify-content:space-between;padding:8px 20px 0;font-size:14px;font-weight:800;position:absolute;top:0;left:0;right:0;z-index:20;color:#050505;pointer-events:none}
  .cc-status-right{display:flex;align-items:center;gap:6px}.cc-signal{display:flex;align-items:flex-end;gap:2px;height:13px}.cc-signal i{display:block;width:3px;background:#050505;border-radius:1px}.cc-signal i:nth-child(1){height:5px}.cc-signal i:nth-child(2){height:8px}.cc-signal i:nth-child(3){height:11px}.cc-signal i:nth-child(4){height:13px}.cc-wifi{width:16px;height:12px;position:relative}.cc-wifi:before,.cc-wifi:after{content:"";position:absolute;left:50%;transform:translateX(-50%);border:2px solid #050505;border-left-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-radius:50%}.cc-wifi:before{width:15px;height:12px;top:1px}.cc-wifi:after{width:8px;height:7px;top:6px}.cc-battery{height:14px;min-width:31px;border-radius:5px;background:#050505;color:#fff;font-size:10px;line-height:14px;text-align:center;padding:0 3px}
  .cc-app-hero{height:202px;background:#efe9da url('/assets/basic-profile-cover.jpg') center/cover no-repeat;position:relative}
  .cc-app-back{position:absolute;z-index:15;left:22px;top:58px;width:43px;height:43px;border-radius:50%;background:#fff;display:grid;place-items:center;color:#6f8061;box-shadow:0 2px 8px rgba(0,0,0,.05)}
  .cc-app-back svg{width:24px;height:24px}
  .cc-profile-card{position:relative;z-index:5;margin:-68px 22px 0;background:#fff;border-radius:12px 12px 0 0;padding:18px 18px 5px}
  .cc-profile-head{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:center}
  .cc-app-logo{width:70px;height:70px;object-fit:contain;background:#fff}.cc-app-logo-placeholder{width:70px;height:70px;display:grid;place-items:center;border:1px solid #ececec;color:#76826f;font-size:10px;text-align:center;background:#fff}
  .cc-app-title{font-size:23px;line-height:1.08;font-weight:700;color:#242424;margin:0 0 7px;overflow-wrap:anywhere}
  .cc-app-meta{font-size:14px;color:#999;display:flex;gap:16px;align-items:center;flex-wrap:wrap}.cc-app-meta .meta-piece{display:inline-flex;align-items:center;gap:6px}.cc-app-meta .pin-icon,.cc-app-meta .distance-icon{color:#ff9c7d;display:flex}.cc-app-meta .pin-icon svg,.cc-app-meta .distance-icon svg{width:17px;height:17px}.cc-app-meta .distance{white-space:nowrap}
  .cc-actions{display:grid;grid-template-columns:repeat(var(--action-count,5),1fr);gap:10px;padding:5px 23px 8px;background:#fff}
  .cc-action{height:61px;border:1px solid #6f8061;border-radius:6px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#6f8061;font-size:10.5px;gap:3px;min-width:0}.cc-action .icon{height:25px;display:flex;align-items:center;justify-content:center}.cc-action svg{width:24px;height:24px;stroke-width:1.8}.cc-action span{white-space:nowrap}
  .cc-app-body{padding:11px 23px 92px;color:#424242;min-height:360px}.cc-app-description{font-size:16px;line-height:1.43;margin:4px 0 3px}.cc-more{text-align:right;color:#ff9c7d;font-size:13px;margin-top:2px}
  .cc-section-title{font-size:20px;color:#090909;font-weight:700;margin:11px 0 11px}.cc-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.cc-thumb{aspect-ratio:1/1;border-radius:8px;background:#e7ebe5;overflow:hidden}.cc-thumb img{width:100%;height:100%;object-fit:cover}
  .cc-menu-card{height:64px;border:1px solid #aab7a6;border-radius:6px;margin:18px 0 22px;display:flex;align-items:center;padding:7px 12px;gap:11px;color:#6f8061;overflow:hidden}.cc-menu-icon{width:43px;height:43px;border-radius:50%;background:#fff0ec;display:grid;place-items:center;color:#ff9c7d}.cc-menu-icon svg{width:25px;height:25px}.cc-menu-card strong{font-size:16px}.cc-menu-card small{display:block;font-size:11px;color:#99a491}.cc-menu-preview-img{margin-left:auto;height:52px;width:78px;object-fit:cover;opacity:.75}
  .cc-card-row{display:flex;gap:8px;overflow:hidden}.cc-offer-card,.cc-event-card{min-width:154px;height:155px;border-radius:8px;background:linear-gradient(145deg,#9caf99,#39423c);position:relative;overflow:hidden;background-size:cover;background-position:center}.cc-offer-card.generic-one,.cc-event-card.generic-one{background-image:url('/assets/basic-profile-cover.jpg');background-position:28% center}.cc-offer-card.generic-two,.cc-event-card.generic-two{background-image:url('/assets/basic-profile-cover.jpg');background-position:82% center}.cc-offer-card:after,.cc-event-card:after{content:"";position:absolute;inset:42% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.72))}.cc-card-label{position:absolute;z-index:2;left:10px;right:8px;bottom:10px;color:#fff;font-size:13px;line-height:1.25}.cc-event-card{height:146px;background-image:linear-gradient(145deg,#c9d4c5,#6f8061)}
  .cc-bottom-nav{position:sticky;left:0;right:0;bottom:0;height:77px;background:rgba(255,255,255,.985);box-shadow:0 -2px 8px rgba(0,0,0,.06);display:grid;grid-template-columns:repeat(5,1fr);z-index:30}.cc-nav-item{display:flex;align-items:center;justify-content:center;flex-direction:column;color:#b9b9b9;font-size:10px;gap:3px}.cc-nav-item svg{width:23px;height:23px}.cc-nav-item.active{color:#6f8061}

  /* Event + Special details */
  .cc-detail-main{padding-bottom:90px}.cc-detail-hero{height:202px;background:#eceee9 center/cover no-repeat;position:relative}.cc-detail-hero.empty{background-image:linear-gradient(135deg,#e8ece7,#cdd7ca)}
  .cc-detail-card{position:relative;margin:-32px 22px 0;background:#fff;border-radius:12px 12px 0 0;padding:16px 12px 9px;z-index:5}.cc-detail-title-row{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:center}.cc-detail-logo{width:66px;height:66px;object-fit:contain;background:#fff}.cc-detail-logo.cc-app-logo-placeholder{width:66px;height:66px}.cc-detail-title{font-size:21px;font-weight:700;line-height:1.1;color:#414141;overflow-wrap:anywhere}.cc-detail-sub{font-size:13px;color:#8c8c8c;margin-top:6px;line-height:1.55}.cc-detail-sub .meta-row{display:flex;align-items:center;gap:6px}.cc-detail-sub svg{width:14px;height:14px}
  .cc-detail-copy{font-size:16px;line-height:1.45;margin:22px 0 16px;color:#424242}.cc-detail-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cc-detail-button{background:#6f8061;color:#fff;border-radius:5px;padding:10px 7px;text-align:center;font-weight:600;font-size:13px;display:flex;align-items:center;justify-content:center;gap:6px}.cc-detail-button svg{width:17px;height:17px}
  .cc-details-box{margin:12px 0;background:#fbfaf8;padding:14px 14px;display:grid;gap:15px}.cc-details-line{display:grid;grid-template-columns:94px 1fr;gap:8px;font-size:13px;align-items:start}.cc-details-label{color:#6f8061;display:flex;align-items:center;gap:7px}.cc-details-label svg{width:16px;height:16px}.cc-map{height:220px;background:url('/assets/map-flat-2d.png') center/cover no-repeat;border:1px solid #eee}.cc-body-art{width:100%;aspect-ratio:2/1;background:#eceee9 center/cover no-repeat;margin:12px 0}.cc-offer-top-copy{font-size:16px;line-height:1.4;margin:13px 0}.cc-disclaimer{margin:14px 0;background:#fbfaf8;padding:12px;font-size:12px;color:#555}
}
@media(max-width:1359px){.cc-live-preview{display:none!important}}
@media(max-width:700px){.cc-image-guide{font-size:.72rem;margin-top:5px}.cc-access-card{padding:10px 11px}.cc-access-row,.cc-recovery-grid{grid-template-columns:1fr}.cc-recovery-manual{grid-template-columns:1fr}.cc-recovery-manual .full{grid-column:auto}}

@media(min-width:1360px){main.page-shell.batch-page.cc-preview-enabled.cc-receipt-mode{display:block;width:min(1080px,calc(100% - 32px));padding-top:48px}main.page-shell.batch-page.cc-preview-enabled.cc-receipt-mode>.hero,main.page-shell.batch-page.cc-preview-enabled.cc-receipt-mode>.main-form-tabs,main.page-shell.batch-page.cc-preview-enabled.cc-receipt-mode>.mobile-form-select,main.page-shell.batch-page.cc-preview-enabled.cc-receipt-mode>.submission-form{display:none!important}main.page-shell.batch-page.cc-preview-enabled.cc-receipt-mode>.cc-live-preview{display:none!important}}

.cc-tier-choice{margin:0 0 24px}.cc-tier-choice h3{margin:0 0 12px;color:#234838}.cc-tier-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cc-tier-card{font:inherit;text-align:left;padding:16px;border:2px solid #d8e1da;border-radius:14px;background:#f6f9f5;color:#234838;cursor:pointer;display:grid;gap:8px}.cc-tier-card.premium{background:#fff5f0;border-color:#f0d1c3}.cc-tier-card strong{font-size:1.2rem}.cc-tier-card .plan-price{font-size:1.5rem;font-weight:800}.cc-tier-card small{font-size:.78rem;font-weight:500}.cc-tier-card>span:last-child{font-size:.8rem;line-height:1.5}.cc-tier-card[aria-pressed=true]{border-color:#5f8068;box-shadow:0 0 0 2px #5f8068}.cc-tier-choice>small{display:block;margin-top:10px;color:#6f7d76;font-size:.78rem;line-height:1.5}.cc-image-error{display:block;color:#9b3b30;padding:10px;font-size:.8rem}
@media(min-width:1360px){.cc-phone{box-sizing:content-box;width:390px;height:844px}.cc-phone-screen{overflow:hidden}.cc-app-scroll{position:absolute;inset:0 0 77px;overflow-y:auto;scrollbar-width:none;overscroll-behavior:contain}.cc-bottom-nav{position:absolute;bottom:0}.cc-app-body,.cc-detail-main{padding-bottom:22px}.cc-app-meta{gap:12px;font-size:13px}.cc-profile-head{grid-template-columns:66px minmax(0,1fr);gap:8px}.cc-app-logo{width:62px;height:62px}.cc-app-title{font-size:21px}.cc-actions{padding-top:20px;gap:10px}.cc-action{height:50px}.cc-detail-sub svg{color:#ff9c7d}.cc-app-scroll::-webkit-scrollbar{display:none}.cc-offer-card.generic-two{background-image:url('/assets/basic-profile-cover.jpg')}.cc-event-card.generic-one{background-image:url('/assets/basic-profile-cover.jpg')}.cc-event-card.generic-two{background-position:70% center}}

/* V5.7.5 targeted refinements */
.cc-tier-card,.cc-tier-card.premium{display:block;padding:0;background:#fff;border:1px solid #dce1dc;border-radius:6px;color:#234838;box-shadow:0 2px 5px #23483808}
.cc-tier-card summary{display:grid;gap:8px;padding:16px;cursor:pointer;list-style:none}.cc-tier-card summary::-webkit-details-marker{display:none}.cc-tier-card .cc-tier-expand{font-size:12px;color:#637467;display:flex;justify-content:space-between}.cc-tier-card[open] .cc-tier-expand span{transform:rotate(180deg)}.cc-tier-details{padding:0 16px 16px;font-size:13px;line-height:1.6}.cc-tier-details p{margin:0 0 12px}.cc-tier-details button{border:1px solid #526e57;border-radius:4px;background:#526e57;color:white;padding:9px 16px;font-weight:700;cursor:pointer}.cc-tier-card.selected{border:2px solid #526e57}.cc-tier-check{font-size:11px;float:right}.cc-tier-check[hidden]{display:none}.cc-preview-top{display:none!important}
.choice-fieldset .segmented-options{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:0;border:1px solid #bcc9be;border-radius:6px;overflow:hidden;padding:0;background:#f7f9f7}.choice-fieldset .segmented-options label{display:block;min-width:0;margin:0}.choice-fieldset .segmented-options label+label{border-left:1px solid #bcc9be}.choice-fieldset .segmented-options span{display:flex;width:100%;align-items:center;justify-content:center;min-height:44px;border:0!important;border-radius:0!important;margin:0}.choice-fieldset .segmented-options input:checked+span{background:#5f8068;color:#fff}.choice-fieldset .segmented-options input:focus-visible+span{outline:2px solid #234838;outline-offset:-3px}
@media(min-width:1360px){
main.page-shell.batch-page.cc-preview-enabled{width:min(1340px,calc(100% - 96px));grid-template-columns:minmax(0,900px) 380px;column-gap:40px}
main.page-shell.batch-page.cc-preview-enabled>.cc-live-preview{margin-top:175px;height:calc(100vh - 40px);min-height:0;top:20px;grid-row:1 / span 4}
.cc-app-title,.cc-detail-title,.cc-detail-sub{white-space:nowrap;overflow:hidden;text-overflow:clip;overflow-wrap:normal}.cc-detail-title-row>div:last-child,.cc-profile-head>div:last-child{min-width:0}.cc-app-meta{gap:9px;flex-wrap:nowrap;font-size:11px;white-space:nowrap}.cc-app-meta .meta-piece{gap:3px}.cc-app-meta .location{min-width:0}.cc-app-meta .location>span:last-child{overflow:hidden}.cc-actions{padding-top:10px}.cc-app-meta svg{flex-shrink:0}
.cc-hours-backdrop{position:absolute;inset:0;z-index:45;background:#222;padding:48px 14px 36px}.cc-hours-card{position:relative;height:100%;border-radius:9px;background:#fff;padding:44px 23px 25px;overflow:auto}.cc-hours-close{position:absolute;top:12px;right:12px;border:0;border-radius:50%;background:#aaa;color:#fff;font-size:22px;line-height:22px;width:24px;height:24px;padding:0;cursor:pointer}.cc-hours-card h3{display:flex;align-items:center;gap:9px;color:#4d6048;font-size:26px;font-weight:500;margin:0 0 42px;white-space:nowrap}.cc-hours-card h3 svg{width:26px;height:26px}.cc-hours-rows>div{display:flex;justify-content:space-between;gap:8px;border-bottom:1px dotted #ddd;padding:17px 0;font-size:14px;color:#555}.cc-hours-rows>div:last-child{border:0}.cc-hours-card p{display:flex;gap:12px;background:#f7f7f7;padding:15px 12px;margin-top:30px;font-size:10px;line-height:1.5}.cc-hours-card p span{color:#6b8061;font-size:17px}
}

/* V5.7.11 access and empty-upload usability refinements */
.cc-code-input{position:relative;min-width:0}.cc-code-input input{width:100%;padding-right:38px!important}
.cc-code-tick{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:22px;height:22px;color:#2d7246;pointer-events:none}
.cc-code-tick[hidden]{display:none}.cc-code-tick svg{display:block;width:22px;height:22px}
.cc-access-row .cc-verify{min-width:90px}.cc-access-row>.cc-code-input{align-self:stretch}
.cc-access-card>.cc-access-status{min-height:18px}
.cc-recovery{position:relative;padding-right:36px}.cc-recovery-close{position:absolute;top:8px;right:0;width:30px;height:30px;display:grid;place-items:center;border:0;background:transparent;color:#234838;padding:4px;cursor:pointer}
.cc-recovery-close svg{width:22px;height:22px}
.submission-form .drop-zone{min-height:150px}
@media(max-width:700px){.submission-form .drop-zone{min-height:140px}}

/* V5.7.12 micro update */
.cc-social-url-help{grid-column:1/-1;display:flex;align-items:center;gap:8px;margin:-2px 0 2px;color:#66766e;font-size:.79rem}
.cc-social-url-info{width:22px;height:22px;border:1px solid #6b8061;border-radius:50%;background:#fff;color:#234838;font:800 13px/1 Arial,sans-serif;display:inline-grid;place-items:center;padding:0;cursor:pointer;flex:0 0 22px}
.cc-social-url-help span{line-height:1.35}.cc-social-url-help span[hidden]{display:none}
.cc-access-verified-summary{display:flex;align-items:center;gap:8px;min-height:38px;color:#246039;font-size:.88rem}
.cc-access-verified-summary[hidden]{display:none!important}.cc-access-verified-summary svg{width:22px;height:22px;flex:0 0 22px}.cc-access-verified-name{font-weight:700;color:#234838}
.cc-event-datetime{white-space:nowrap;font-size:12px;letter-spacing:-.01em}
