
:root{
  --apcc-black:#0b0b0d;
  --apcc-ink:#171719;
  --apcc-copy:#55565c;
  --apcc-muted:#898990;
  --apcc-line:rgba(0,0,0,.10);
  --apcc-soft:#f5f5f7;
  --apcc-white:#fff;
}

.apcc,.apcc *{box-sizing:border-box}
.apcc{
  font-family:"Lato",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.apcc [hidden]{display:none!important}

.apcc-bar{
  position:fixed;
  z-index:999999;
  left:0;
  right:0;
  bottom:0;
  background:#fff;
  color:var(--apcc-ink);
  border-top:1px solid rgba(0,0,0,.09);
  box-shadow:0 -18px 70px rgba(0,0,0,.16);
}

.apcc-bar-inner{
  width:min(calc(100% - 48px),1280px);
  min-height:168px;
  margin:0 auto;
  padding:24px 0 18px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 292px;
  gap:42px;
  align-items:center;
}

.apcc-bar-brand{
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:20px;
  align-items:start;
}

.apcc-logo-mark{
  width:50px;
  height:50px;
  border-radius:13px;
  background:#0b0b0d;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:900;
  letter-spacing:-.02em;
}

.apcc-eyebrow{
  margin-bottom:7px;
  color:#8b8b92;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.apcc-bar h2,
.apcc-modal h2{
  margin:0;
  color:#171719;
  font-size:26px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.045em;
}

.apcc-bar p{
  max-width:720px;
  margin:9px 0 0;
  color:#55565c;
  font-size:12px;
  line-height:1.62;
}

.apcc-links,
.apcc-modal-links{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:13px;
}

.apcc-links a,
.apcc-modal-links a{
  color:#55565c!important;
  font-size:10px;
  font-weight:700;
  text-decoration:underline!important;
}

.apcc-bar-buttons{
  display:grid;
  gap:8px;
}

.apcc-main-btn{
  min-height:44px;
  width:100%;
  border:1px solid rgba(0,0,0,.11);
  border-radius:8px;
  background:#fff;
  color:#171719;
  font:inherit;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
  transition:.18s ease;
}

.apcc-main-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(0,0,0,.23);
}

.apcc-main-primary{
  background:#0b0b0d;
  color:#fff;
  border-color:#0b0b0d;
}

.apcc-main-light{
  background:#fff;
}

.apcc-inline-options{
  border-top:1px solid rgba(0,0,0,.08);
  background:#fff;
}

.apcc-inline-inner{
  width:min(calc(100% - 48px),1280px);
  margin:0 auto;
  min-height:66px;
  display:flex;
  align-items:center;
  gap:36px;
}

.apcc-inline-category{
  display:flex;
  align-items:center;
  gap:11px;
  color:#171719;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}

.apcc-mini-switch{
  position:relative;
  width:45px;
  height:25px;
  flex:0 0 45px;
  display:inline-block;
}

.apcc-mini-switch input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.apcc-mini-switch > i{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:#27272b;
  transition:.2s ease;
}

.apcc-mini-switch > i:after{
  content:"";
  position:absolute;
  left:3px;
  top:3px;
  width:19px;
  height:19px;
  border-radius:50%;
  background:#fff;
  transition:.2s ease;
}

.apcc-mini-switch input:checked + i,
.apcc-mini-switch.is-on > i{
  background:#0b0b0d;
}

.apcc-mini-switch input:checked + i:after,
.apcc-mini-switch.is-on > i:after{
  left:23px;
}

.apcc-mini-switch.is-locked{
  opacity:.88;
}

.apcc-details-toggle{
  margin-left:auto;
  border:0;
  background:transparent;
  color:#171719;
  font:inherit;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:8px;
}

.apcc-details-toggle span{
  font-size:16px;
  transition:.2s ease;
}

.apcc-details-toggle[aria-expanded="true"] span{
  transform:rotate(180deg);
}

.apcc-inline-details{
  border-top:1px solid rgba(0,0,0,.08);
  background:#f7f7f9;
}

.apcc-details-inner{
  width:min(calc(100% - 48px),1280px);
  margin:0 auto;
  padding:24px 0 26px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}

.apcc-detail-card{
  min-height:148px;
  padding:18px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
}

.apcc-detail-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.apcc-detail-top strong{
  color:#171719;
  font-size:12px;
  font-weight:900;
}

.apcc-detail-top span{
  color:#8a8a91;
  font-size:9px;
  font-weight:800;
}

.apcc-detail-card p{
  margin:13px 0 0;
  color:#616168;
  font-size:10px;
  line-height:1.6;
}

.apcc-open-advanced{
  grid-column:1/-1;
  justify-self:end;
  border:0;
  background:transparent;
  color:#171719;
  font:inherit;
  font-size:10px;
  font-weight:900;
  text-decoration:underline;
  cursor:pointer;
}

.apcc-overlay{
  position:fixed;
  z-index:1000000;
  inset:0;
  background:rgba(0,0,0,.56);
  backdrop-filter:blur(5px);
}

.apcc-modal{
  position:fixed;
  z-index:1000001;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(calc(100% - 32px),760px);
  max-height:calc(100vh - 40px);
  overflow:auto;
  background:#fff;
  color:#171719;
  box-shadow:0 34px 110px rgba(0,0,0,.34);
}

.apcc-modal-head{
  padding:28px 28px 0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}

.apcc-close{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border:1px solid rgba(0,0,0,.10);
  border-radius:50%;
  background:#fff;
  color:#171719;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}

.apcc-modal-intro{
  margin:18px 28px 24px;
  max-width:620px;
  color:#626269;
  font-size:12px;
  line-height:1.65;
}

.apcc-pref-list{
  border-top:1px solid rgba(0,0,0,.09);
}

.apcc-pref-row{
  min-height:104px;
  padding:19px 28px;
  border-bottom:1px solid rgba(0,0,0,.09);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  cursor:pointer;
}

.apcc-pref-copy{
  min-width:0;
}

.apcc-pref-copy strong{
  color:#171719;
  font-size:13px;
  font-weight:900;
}

.apcc-pref-copy p{
  max-width:530px;
  margin:6px 0 0;
  color:#696970;
  font-size:10px;
  line-height:1.55;
}

.apcc-row-details{
  margin-top:8px;
  padding:0;
  border:0;
  background:transparent;
  color:#171719;
  font:inherit;
  font-size:9px;
  font-weight:900;
  text-decoration:underline;
  cursor:pointer;
}

.apcc-always{
  flex:0 0 auto;
  padding:7px 10px;
  border-radius:999px;
  background:#f0f0f2;
  color:#55555d;
  font-size:9px;
  font-weight:900;
}

.apcc-switch{
  position:relative;
  width:46px;
  height:26px;
  flex:0 0 46px;
}

.apcc-switch input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.apcc-switch span{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:#27272b;
  transition:.2s ease;
}

.apcc-switch span:after{
  content:"";
  position:absolute;
  left:3px;
  top:3px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#fff;
  transition:.2s ease;
}

.apcc-switch input:checked + span{
  background:#0b0b0d;
}

.apcc-switch input:checked + span:after{
  left:23px;
}

.apcc-service-detail{
  padding:18px 28px 24px;
  background:#f7f7f9;
  border-bottom:1px solid rgba(0,0,0,.09);
}

.apcc-modal-links{
  padding:0 28px;
}

.apcc-modal-actions{
  position:sticky;
  bottom:0;
  margin-top:24px;
  padding:18px 28px;
  border-top:1px solid rgba(0,0,0,.09);
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(8px);
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:8px;
}

.apcc-btn{
  min-height:44px;
  padding:0 14px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,.12);
  font:inherit;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}

.apcc-btn-ghost-dark{
  background:#fff;
  color:#171719;
}

.apcc-btn-light-dark{
  background:#f4f4f6;
  color:#171719;
}

.apcc-btn-primary-dark{
  background:#0b0b0d;
  color:#fff;
  border-color:#0b0b0d;
}

.apcc-floating{
  position:fixed;
  z-index:999990;
  left:14px;
  bottom:14px;
  min-height:35px;
  padding:0 13px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:999px;
  background:#fff;
  color:#111;
  box-shadow:0 8px 26px rgba(0,0,0,.10);
  font:inherit;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
}

.apcc-settings-link{
  cursor:pointer;
}

body.apcc-lock{
  overflow:hidden;
}

/* Inventory */
.apcc-cookie-inventory{width:100%}
.apcc-inventory-section{margin-top:4px}
.apcc-inventory-section h3{
  margin:0 0 11px;
  color:#171719;
  font-size:14px;
  line-height:1.2;
  font-weight:900;
}
.apcc-inventory-table-wrap{
  overflow-x:auto;
  border:1px solid rgba(0,0,0,.09);
  background:#fff;
}
.apcc-inventory-table{
  width:100%;
  min-width:760px;
  border-collapse:collapse;
}
.apcc-inventory-table th,
.apcc-inventory-table td{
  padding:12px 13px;
  border-bottom:1px solid rgba(0,0,0,.08);
  text-align:left;
  vertical-align:top;
  color:#55565c;
  font-size:10px;
  line-height:1.5;
}
.apcc-inventory-table th{
  background:#f5f5f7;
  color:#171719;
  font-size:9px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.apcc-inventory-table tr:last-child td{border-bottom:0}
.apcc-inventory-code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  color:#171719;
  font-size:10px;
}
.apcc-inventory-empty{
  padding:16px;
  border:1px solid rgba(0,0,0,.09);
  background:#fff;
  color:#55565c;
  font-size:10px;
  line-height:1.6;
}

@media(max-width:900px){
  .apcc-bar-inner{
    grid-template-columns:1fr 250px;
    gap:26px;
  }

  .apcc-details-inner{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:700px){
  .apcc-bar-inner{
    width:calc(100% - 28px);
    min-height:0;
    padding:18px 0 14px;
    grid-template-columns:1fr;
    gap:16px;
  }

  .apcc-bar-brand{
    grid-template-columns:42px 1fr;
    gap:14px;
  }

  .apcc-logo-mark{
    width:40px;
    height:40px;
    border-radius:10px;
  }

  .apcc-bar h2,
  .apcc-modal h2{
    font-size:23px;
  }

  .apcc-bar p{
    font-size:11px;
  }

  .apcc-bar-buttons{
    grid-template-columns:1fr 1fr;
  }

  .apcc-main-primary{
    grid-column:1/-1;
    order:-1;
  }

  .apcc-inline-inner{
    width:calc(100% - 28px);
    min-height:0;
    padding:14px 0;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:13px 18px;
  }

  .apcc-details-toggle{
    margin-left:0;
    justify-self:start;
  }

  .apcc-details-inner{
    width:calc(100% - 28px);
    grid-template-columns:1fr;
  }

  .apcc-open-advanced{
    justify-self:start;
  }

  .apcc-modal{
    width:calc(100% - 16px);
    max-height:calc(100vh - 16px);
  }

  .apcc-modal-head{
    padding:22px 18px 0;
  }

  .apcc-modal-intro{
    margin:16px 18px 20px;
  }

  .apcc-pref-row{
    min-height:112px;
    padding:18px;
  }

  .apcc-service-detail{
    padding:16px 18px 20px;
  }

  .apcc-modal-links{
    padding:0 18px;
  }

  .apcc-modal-actions{
    padding:14px 18px;
    grid-template-columns:1fr;
  }
}

@media(max-width:430px){
  .apcc-bar-buttons{
    grid-template-columns:1fr;
  }

  .apcc-main-primary{
    grid-column:auto;
  }

  .apcc-inline-inner{
    grid-template-columns:1fr;
  }
}
