/* CELLO Price Match V1.1 — independent of legacy polygon/notification UI */
.cello-pm-entry{margin:18px 0 0;padding:20px;border:1px solid #dce9e1;border-radius:16px;background:linear-gradient(135deg,#f8fcf9 0%,#fff 100%);box-shadow:0 8px 30px rgba(25,142,57,.05)}
.cello-pm-entry__eyebrow{display:flex;align-items:center;gap:8px;color:#187d3d;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.cello-pm-entry__eyebrow i{width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e9f7ee}
.cello-pm-entry h3{margin:10px 0 6px;font-size:18px;line-height:1.3;color:#202622;font-weight:800}.cello-pm-entry p{margin:0;max-width:620px;color:#667068;font-size:14px;line-height:1.6}.cello-pm-entry__actions{margin-top:14px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.cello-pm-entry__hint{color:#879087;font-size:12px}
.cello-pm-trigger,.cello-pm-btn{border:0;border-radius:9px;padding:11px 18px;font-weight:800;line-height:1.2;transition:.18s ease;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;cursor:pointer}.cello-pm-trigger{background:#111;color:#fff}.cello-pm-trigger:hover,.cello-pm-trigger:focus{background:#f65a0a;color:#fff}.cello-pm-btn--primary{background:#f65a0a;color:#fff}.cello-pm-btn--primary:hover,.cello-pm-btn--primary:focus{background:#df4e00;color:#fff}.cello-pm-btn--ghost{background:#f4f5f4;color:#2e342f}.cello-pm-btn--ghost:hover{background:#e9ece9;color:#111}
.cello-pm-modal .modal-dialog{width:min(720px,calc(100% - 24px));margin:5vh auto}.cello-pm-modal .modal-content{border:0;border-radius:18px;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.22)}.cello-pm-modal .modal-header{padding:22px 26px 18px;border-bottom:1px solid #edf0ed}.cello-pm-modal .modal-header .close{font-size:28px;font-weight:300;opacity:.45}.cello-pm-eyebrow{color:#187d3d;font-size:11px;font-weight:900;letter-spacing:.1em}.cello-pm-modal .modal-title{font-size:24px;font-weight:800;color:#181b19;margin:5px 0 4px}.cello-pm-subtitle{margin:0;color:#69716b;font-size:14px}.cello-pm-modal .modal-body{padding:22px 26px}.cello-pm-modal .modal-footer{padding:15px 26px;border-top:1px solid #edf0ed;display:flex;justify-content:flex-end;gap:10px}.cello-pm-product{display:flex;gap:15px;padding:13px;border:1px solid #e7ebe8;border-radius:12px;background:#fafbfa;margin-bottom:18px}.cello-pm-product img{width:72px;height:72px;object-fit:contain;border-radius:9px;background:#fff}.cello-pm-product>div{display:flex;flex-direction:column;gap:3px;justify-content:center;min-width:0}.cello-pm-product strong{font-size:14px;color:#222;line-height:1.35}.cello-pm-product span{font-size:12px;color:#758078}.cello-pm-product span b{color:#f25500;font-size:14px}.cello-pm-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}.cello-pm-field{margin:0}.cello-pm-field--full{grid-column:1/-1}.cello-pm-field label{font-size:12px;color:#333;font-weight:800;margin-bottom:6px}.cello-pm-field label em{color:#df2f2f;font-style:normal}.cello-pm-field label span{font-weight:500;color:#939a95}.cello-pm-field .form-control,.cello-pm-money{height:44px;border:1px solid #d9dedb;border-radius:9px;box-shadow:none}.cello-pm-field textarea.form-control{height:auto;min-height:80px;resize:vertical}.cello-pm-field .form-control:focus,.cello-pm-money:focus-within{border-color:#f65a0a;box-shadow:0 0 0 3px rgba(246,90,10,.08)}.cello-pm-money{display:flex;overflow:hidden}.cello-pm-money input{border:0;outline:0;min-width:0;flex:1;padding:10px 12px;background:#fff}.cello-pm-money span{display:flex;align-items:center;padding:0 12px;background:#f5f6f5;color:#666;font-size:12px;border-left:1px solid #e3e5e3}.cello-pm-error{min-height:0;margin-top:4px;color:#d93025;font-size:11px}.cello-pm-form-alert{margin-top:12px}.cello-pm-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}.cello-pm-loading{min-height:180px;display:flex;align-items:center;justify-content:center;gap:10px;color:#69716b}.cello-pm-loading i{color:#f65a0a;font-size:20px}.cello-pm-success{padding:36px 28px;text-align:center}.cello-pm-success__icon{width:58px;height:58px;border-radius:50%;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;background:#e9f7ee;color:#168244;font-size:24px}.cello-pm-success h3{margin:0 0 12px;font-size:22px;font-weight:800}.cello-pm-success p{color:#616a63;margin:6px 0}.cello-pm-success__note{padding:9px 12px;border-radius:8px;background:#f5f7f5}.cello-pm-success .cello-pm-btn{margin:14px 5px 0}
.cello-pm-track-page{padding:38px 0 70px;background:#f7f8f7;min-height:65vh}.cello-pm-track-head{margin-bottom:20px}.cello-pm-track-head h1{display:inline-block;margin:5px 12px 0 0;font-size:30px}.cello-pm-status{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eef1ef;color:#505852;font-size:12px;font-weight:800}.cello-pm-status--approved,.cello-pm-status--accepted{background:#e8f7ed;color:#17773b}.cello-pm-status--countered{background:#fff1e8;color:#c8510b}.cello-pm-status--rejected,.cello-pm-status--declined{background:#fff0ef;color:#b92b24}.cello-pm-track-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}.cello-pm-track-card{background:#fff;border:1px solid #e6e9e6;border-radius:15px;padding:22px;box-shadow:0 5px 24px rgba(0,0,0,.035)}.cello-pm-track-card h2{margin:0 0 16px;font-size:17px;font-weight:800}.cello-pm-track-card dl{margin:0}.cello-pm-track-card dl>div{display:flex;justify-content:space-between;gap:20px;padding:9px 0;border-bottom:1px solid #f0f1f0}.cello-pm-track-card dt{color:#7b837d;font-weight:600}.cello-pm-track-card dd{margin:0;text-align:right;color:#242824;font-weight:700;max-width:65%}.cello-pm-track-card dd.is-accent{color:#f25500}.cello-pm-link{display:inline-block;margin-top:15px;color:#187d3d;font-weight:800}.cello-pm-offer-price{display:block;font-size:30px;color:#f25500;margin:8px 0}.cello-pm-offer-meta,.cello-pm-offer-note{font-size:12px;color:#79817b}.cello-pm-offer-actions{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}.cello-pm-offer-actions form{margin:0}.cello-pm-track-message{padding:16px;border-radius:10px;background:#f5f7f5;color:#495149}.cello-pm-track-message.is-success{background:#eaf7ef;color:#176f39}.cello-pm-timeline{margin-top:18px}.cello-pm-timeline__item{display:flex;gap:12px;padding:10px 0}.cello-pm-timeline__item>span{width:9px;height:9px;border-radius:50%;background:#1b8b48;margin-top:5px;box-shadow:0 0 0 4px #e9f7ee}.cello-pm-timeline__item div{display:flex;flex-direction:column}.cello-pm-timeline__item strong{font-size:13px}.cello-pm-timeline__item time{font-size:11px;color:#9aa09c;margin-top:2px}
@media(max-width:767px){.cello-pm-entry{padding:16px}.cello-pm-entry h3{font-size:16px}.cello-pm-modal .modal-dialog{width:calc(100% - 16px);margin:12px auto}.cello-pm-modal .modal-header,.cello-pm-modal .modal-body{padding:18px}.cello-pm-modal .modal-footer{padding:12px 18px}.cello-pm-grid{grid-template-columns:1fr;gap:12px}.cello-pm-field--full{grid-column:auto}.cello-pm-modal .modal-footer .cello-pm-btn{flex:1}.cello-pm-track-page{padding:22px 0 50px}.cello-pm-track-grid{grid-template-columns:1fr}.cello-pm-track-head h1{font-size:24px}.cello-pm-track-card dl>div{display:block}.cello-pm-track-card dd{text-align:left;max-width:none;margin-top:3px}}

/* CELLO Price Match V1.2 — money shorthand + tracking Design System */
.cello-pm-money-hint{min-height:16px;margin-top:4px;color:#178447;font-size:11px;font-weight:700}
.cello-pm-track-page--v12{padding:36px 0 72px;background:#f6f7f6;color:#232724}
.cello-pm-track-page--v12 .cello-content-shell{max-width:1180px}
.cello-pm-track-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 20px;padding:0 2px}
.cello-pm-track-kicker,.cello-pm-track-section-label{display:block;color:#8a5c32;font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.cello-pm-track-hero h1{margin:7px 0 7px;font-size:34px;line-height:1.15;font-weight:800;letter-spacing:-.025em;color:#181b19}
.cello-pm-track-hero p{margin:0;color:#7b837d;font-size:13px}.cello-pm-track-hero p strong{color:#343a35}
.cello-pm-track-page--v12 .cello-pm-status{align-self:center;padding:8px 12px;border-radius:999px;border:1px solid #e4e8e5;background:#eef1ef;color:#4b554e;font-size:11px;font-weight:900;white-space:nowrap}
.cello-pm-track-page--v12 .cello-pm-status--new,.cello-pm-track-page--v12 .cello-pm-status--reviewing,.cello-pm-track-page--v12 .cello-pm-status--need_info{background:#eef8f2;border-color:#d3ebdd;color:#197a42}
.cello-pm-track-page--v12 .cello-pm-status--countered,.cello-pm-track-page--v12 .cello-pm-status--approved{background:#fff4ec;border-color:#ffd9c3;color:#c84e0a}
.cello-pm-track-page--v12 .cello-pm-status--accepted{background:#e9f8ef;border-color:#c8ead5;color:#13753b}
.cello-pm-track-page--v12 .cello-pm-status--declined,.cello-pm-track-page--v12 .cello-pm-status--rejected,.cello-pm-track-page--v12 .cello-pm-status--expired,.cello-pm-track-page--v12 .cello-pm-status--closed{background:#f2f3f2;border-color:#e2e5e2;color:#707872}
.cello-pm-track-product-card{display:flex;align-items:center;gap:20px;padding:18px 20px;background:#fff;border:1px solid #e5e9e6;border-radius:18px;box-shadow:0 10px 32px rgba(20,30,23,.035)}
.cello-pm-track-product-card__image{width:104px;height:104px;border-radius:14px;background:#f8f9f8;display:flex;align-items:center;justify-content:center;flex:0 0 104px}.cello-pm-track-product-card__image img{max-width:92px;max-height:92px;object-fit:contain}
.cello-pm-track-product-card__body{min-width:0}.cello-pm-track-product-card__body h2{margin:5px 0 5px;font-size:19px;line-height:1.35;font-weight:800;color:#202420}.cello-pm-track-product-card__body p{margin:0 0 9px;color:#818983;font-size:12px}.cello-pm-text-link{display:inline-flex;align-items:center;gap:7px;color:#187d3d!important;font-size:12px;font-weight:800;text-decoration:none!important}.cello-pm-text-link:hover{color:#f25500!important}
.cello-pm-price-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0 18px}.cello-pm-price-stat{padding:17px 18px;border:1px solid #e5e9e6;border-radius:15px;background:#fff}.cello-pm-price-stat span{display:block;margin-bottom:5px;color:#828a84;font-size:11px;font-weight:700}.cello-pm-price-stat strong{display:block;color:#292e2a;font-size:19px;line-height:1.2;font-weight:800}.cello-pm-price-stat.is-primary{border-color:#ffd0b5;background:#fff9f5}.cello-pm-price-stat.is-primary strong{color:#f25500}
.cello-pm-track-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:18px;align-items:start}.cello-pm-track-panel{background:#fff;border:1px solid #e5e9e6;border-radius:18px;padding:22px;box-shadow:0 10px 32px rgba(20,30,23,.035)}
.cello-pm-track-panel__head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:16px;border-bottom:1px solid #eef1ef}.cello-pm-track-panel__head h2{margin:5px 0 0;font-size:20px;font-weight:800;color:#202420}
.cello-pm-offer-box{margin:18px 0 14px;padding:18px;border:1px solid #ffd6bf;border-radius:15px;background:linear-gradient(135deg,#fff7f1 0%,#fff 100%)}.cello-pm-offer-box>span{display:block;color:#b34d15;font-size:10px;font-weight:900;letter-spacing:.09em}.cello-pm-offer-box>strong{display:block;margin:4px 0;color:#f25500;font-size:34px;line-height:1.15;font-weight:900;letter-spacing:-.02em}.cello-pm-offer-box p{margin:5px 0 0;color:#787f79;font-size:12px}.cello-pm-public-note{margin:14px 0;padding:13px 14px;border-left:3px solid #178447;background:#f5faf7;color:#455048;font-size:13px;line-height:1.6}.cello-pm-track-copy{color:#606a63;font-size:13px;line-height:1.6}.cello-pm-track-notice{display:flex;gap:9px;align-items:flex-start;margin-top:12px;padding:11px 12px;border-radius:10px;background:#f7f8f7;color:#68716b;font-size:12px;line-height:1.5}.cello-pm-track-notice i{color:#178447;margin-top:2px}
.cello-pm-track-page--v12 .cello-pm-offer-actions{margin-top:18px;display:flex;gap:10px;flex-wrap:wrap}.cello-pm-track-page--v12 .cello-pm-offer-actions form{margin:0}.cello-pm-track-page--v12 .cello-pm-offer-actions .cello-pm-btn{min-height:44px;padding:12px 18px;border-radius:10px;gap:7px}
.cello-pm-state{display:flex;gap:13px;align-items:flex-start;margin:18px 0 8px;padding:17px;border-radius:14px;background:#f4faf6;color:#275f3d}.cello-pm-state>i{font-size:21px;margin-top:2px}.cello-pm-state strong{display:block;color:#1c5431;font-size:14px}.cello-pm-state p{margin:4px 0 0;color:#607167;font-size:13px;line-height:1.55}.cello-pm-state--success{background:#eaf8ef}.cello-pm-state--muted{background:#f5f6f5;color:#6f7771}.cello-pm-state--muted strong{color:#4d554f}.cello-pm-state__pulse{width:10px;height:10px;margin:5px 5px 0 3px;border-radius:50%;background:#1a8c49;box-shadow:0 0 0 6px #dff2e6;flex:0 0 10px}
.cello-pm-reference{margin-top:18px;padding-top:16px;border-top:1px solid #eef1ef}.cello-pm-reference span{display:block;color:#89918b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.cello-pm-reference p{margin:5px 0 0;color:#424943;font-size:12px;line-height:1.55;word-break:break-word}
.cello-pm-timeline-card{padding-bottom:14px}.cello-pm-timeline--v12{margin-top:10px}.cello-pm-timeline--v12 .cello-pm-timeline__item{position:relative;gap:14px;padding:10px 0 13px}.cello-pm-timeline--v12 .cello-pm-timeline__item:not(:last-child):after{content:"";position:absolute;left:4px;top:24px;bottom:-3px;width:1px;background:#e2e8e4}.cello-pm-timeline--v12 .cello-pm-timeline__item>span{position:relative;z-index:1;width:9px;height:9px;margin-top:4px;flex:0 0 9px;background:#198749;box-shadow:0 0 0 4px #e8f6ed}.cello-pm-timeline--v12 .cello-pm-timeline__item strong{font-size:12px;line-height:1.45;color:#343a36}.cello-pm-timeline--v12 .cello-pm-timeline__item time{margin-top:3px;color:#9aa19c;font-size:10px}.cello-pm-empty{color:#8c948f;font-size:12px}
.cello-pm-track-help{display:flex;align-items:center;gap:13px;margin-top:18px;padding:16px 19px;border:1px solid #dfe9e2;border-radius:15px;background:#f7fbf8}.cello-pm-track-help>div{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e6f5eb;color:#178447;flex:0 0 38px}.cello-pm-track-help p{margin:0;color:#68716b;font-size:12px;line-height:1.55}.cello-pm-track-help strong{color:#2d3831}
@media(max-width:900px){.cello-pm-track-layout{grid-template-columns:1fr}.cello-pm-price-summary{grid-template-columns:1fr 1fr}.cello-pm-price-stat:last-child{grid-column:1/-1}}
@media(max-width:600px){.cello-pm-track-page--v12{padding:22px 0 48px}.cello-pm-track-hero{display:block}.cello-pm-track-hero h1{font-size:27px}.cello-pm-track-hero .cello-pm-status{margin-top:13px}.cello-pm-track-product-card{gap:13px;padding:14px}.cello-pm-track-product-card__image{width:76px;height:76px;flex-basis:76px}.cello-pm-track-product-card__image img{max-width:68px;max-height:68px}.cello-pm-track-product-card__body h2{font-size:15px}.cello-pm-price-summary{grid-template-columns:1fr}.cello-pm-price-stat:last-child{grid-column:auto}.cello-pm-track-panel{padding:17px}.cello-pm-track-panel__head{display:block}.cello-pm-track-panel__head .cello-pm-status{margin-top:10px}.cello-pm-offer-box>strong{font-size:28px}.cello-pm-track-page--v12 .cello-pm-offer-actions{display:grid;grid-template-columns:1fr}.cello-pm-track-page--v12 .cello-pm-offer-actions .cello-pm-btn{width:100%}.cello-pm-track-help{align-items:flex-start}}

/* CELLO Price Match V1.2.3 — mobile modal scroll/close hardening */
@media(max-width:767px){
  html.cello-pm-modal-open,
  body.cello-pm-modal-open{overscroll-behavior:none}

  .cello-pm-modal{padding:0!important;overflow:hidden!important;touch-action:none}
  .cello-pm-modal .modal-dialog{
    width:100%;height:100%;max-height:100dvh;margin:0!important;padding:0;
    display:flex;align-items:flex-end
  }
  .cello-pm-modal .modal-content{
    width:100%;height:calc(100dvh - max(8px,env(safe-area-inset-top)));
    max-height:calc(100dvh - max(8px,env(safe-area-inset-top)));
    border-radius:22px 22px 0 0!important;
    display:flex;flex-direction:column;overflow:hidden!important;
    box-shadow:0 -18px 60px rgba(0,0,0,.24)
  }
  .cello-pm-modal .modal-header{
    position:relative;z-index:3;flex:0 0 auto;
    padding:20px 66px 16px 20px!important;
    background:#fff;border-bottom:1px solid #edf0ed
  }
  .cello-pm-modal .modal-header .close{
    position:absolute!important;right:16px!important;top:16px!important;
    float:none!important;margin:0!important;padding:0!important;
    width:40px;height:40px;border:0;border-radius:50%;
    display:flex!important;align-items:center;justify-content:center;
    background:#f3f5f3!important;color:#161916!important;
    font-size:28px!important;font-weight:300!important;line-height:1!important;
    opacity:1!important;text-shadow:none!important;z-index:5
  }
  .cello-pm-modal .modal-header .close:active{transform:scale(.96);background:#e9ece9!important}
  .cello-pm-modal .modal-title{font-size:25px;line-height:1.2;margin-top:6px}
  .cello-pm-modal .cello-pm-subtitle{font-size:14px;line-height:1.55}

  .cello-pm-modal .cello-pm-form{
    min-height:0;flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden
  }
  .cello-pm-modal .modal-body{
    min-height:0;flex:1 1 auto;overflow-y:auto!important;overflow-x:hidden;
    -webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;
    padding:18px 20px 22px!important;background:#fff
  }
  .cello-pm-modal .modal-footer{
    position:relative;z-index:3;flex:0 0 auto;
    margin:0;padding:12px 20px calc(12px + env(safe-area-inset-bottom))!important;
    background:#fff;border-top:1px solid #edf0ed;
    box-shadow:0 -8px 24px rgba(24,30,26,.055)
  }
  .cello-pm-modal .modal-footer .cello-pm-btn{min-height:44px}
  .cello-pm-modal .cello-pm-product{margin-bottom:18px}
  .cello-pm-modal .cello-pm-success{
    min-height:0;flex:1 1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch;
    padding:30px 22px calc(30px + env(safe-area-inset-bottom))
  }
  .cello-pm-modal .cello-pm-loading{
    position:relative;min-height:0;flex:1 1 auto;height:100%;padding:72px 24px;
    background:#fff
  }
  .cello-pm-floating-close{
    position:absolute;right:16px;top:16px;z-index:6;width:40px;height:40px;
    border:0;border-radius:50%;background:#f3f5f3;color:#161916;
    display:flex;align-items:center;justify-content:center;
    font-size:28px;font-weight:300;line-height:1;cursor:pointer
  }
}

@media(max-width:390px){
  .cello-pm-modal .modal-header{padding-left:18px!important;padding-right:62px!important}
  .cello-pm-modal .modal-body{padding-left:18px!important;padding-right:18px!important}
  .cello-pm-modal .modal-footer{padding-left:18px!important;padding-right:18px!important}
  .cello-pm-modal .modal-title{font-size:23px}
}

