/* ICPA conference Agenda ([icpa_ce_certificate] with ag=). A letter-portrait sheet in the certificate's family; loads after certificate.css.
   .tx-agenda is the size container so the sheet's cqw units (and its letter-ratio min-height) resolve against its width and the sheet
   grows with a long program. Paper colors are literal on purpose, the same values as certificate.css. */
.tx-agenda{container-type:inline-size;width:100%;max-width:900px;margin:0 auto}
.tx-agenda__sheet{--c-dnavy:#232460;--c-ink:#0A1220;--c-ink2:#101B2E;--c-gold-bright:#E3C25B;--c-gold-deep:#8A6A17;--c-text:#262A33;--c-mute:#5A6478;--c-line:#D6DCE5;--c-tint:#FBF3D9;
  --g-gold:linear-gradient(90deg,#A8841E 0%,#C9A227 26%,#F3DA8C 50%,#C9A227 74%,#A8841E 100%);
  --f-serif:"Libre Baskerville",Baskerville,Georgia,serif;
  position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:129.41cqw;background:#fff;color:var(--c-text);
  border:1px solid #E3E7EE;box-shadow:0 1px 3px rgba(11,31,58,.10),0 14px 36px rgba(11,31,58,.14)}
.tx-agenda__sheet svg{position:absolute;z-index:2;display:block;pointer-events:none}
.tx-agenda__sheet .tx-cert__band--tl{top:0;left:0;width:66%;height:auto}
.tx-agenda__sheet .tx-cert__band--br{bottom:0;right:0;width:34%;height:auto;transform:rotate(180deg)}
.tx-agenda__sheet .tx-cert__waves{top:0;right:0;width:24%;height:auto}
.tx-agenda .tx-agenda__sheet p,.tx-agenda .tx-agenda__sheet h1,.tx-agenda .tx-agenda__sheet h2,.tx-agenda .tx-agenda__sheet dl,.tx-agenda .tx-agenda__sheet dd{margin:0}
.tx-cert-page .tx-agenda p,.tx-cert-page .tx-agenda dd{text-align:left!important}
.tx-agenda__body{position:relative;flex:1;padding:15.5cqw 7cqw 3cqw}

.tx-agenda__head{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:5cqw;margin-bottom:3cqw}
.tx-agenda__head--solo{grid-template-columns:1fr}
.tx-agenda__mid{display:flex;flex-direction:column;align-items:flex-start;gap:1cqw}
.tx-cert-page .tx-agenda__word{font-family:var(--f-serif);font-weight:400;font-size:5cqw;letter-spacing:.03em;text-transform:uppercase;color:var(--c-ink);line-height:1}
.tx-cert-page h1.tx-agenda__conf{font-family:var(--f-serif)!important;font-weight:700!important;font-size:2.4cqw!important;line-height:1.3!important;color:var(--c-ink)!important;text-align:left;text-wrap:balance}
.tx-cert-page .tx-agenda__sub{font-size:1.5cqw;color:var(--c-mute)}
.tx-cert-page .tx-agenda__for{font-family:var(--f-serif);font-style:italic;font-size:2cqw;color:var(--c-dnavy);background:var(--g-gold) bottom/100% 2px no-repeat;padding:0 1.5cqw .6cqw 0}

.tx-agenda__sum{width:25cqw;background:#fff;border:1px solid var(--c-line);border-radius:1cqw;padding:1.5cqw 1.8cqw}
.tx-cert-page .tx-agenda__lbl{font-size:1cqw;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--c-gold-deep)}
.tx-cert-page .tx-agenda__n{font-family:var(--f-serif);font-style:italic;font-size:1.8cqw;color:var(--c-dnavy);padding:.3cqw 0 .6cqw;margin-bottom:.8cqw;background:var(--g-gold) bottom/100% 1.5px no-repeat}
.tx-agenda__sum dl{display:grid;grid-template-columns:1fr auto;gap:.5cqw 1cqw;font-size:1.35cqw}
.tx-agenda__sum dt{color:var(--c-mute)}
.tx-cert-page .tx-agenda__sum dd{font-weight:700;color:var(--c-ink);font-variant-numeric:tabular-nums;text-align:right!important;white-space:nowrap}

.tx-cert-page h2.tx-agenda__day{display:flex;justify-content:space-between;margin:1.6cqw 0 .5cqw!important;padding:0 0 .7cqw!important;border:0;background:var(--g-gold) bottom/100% 1.5px no-repeat;
  font-family:var(--f-serif);font-weight:700;font-size:1.55cqw;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;color:var(--c-dnavy);break-after:avoid}
.tx-agenda__day span{font-family:"Open Sans","Segoe UI",Arial,sans-serif;font-weight:600;letter-spacing:.04em;text-transform:none;color:var(--c-mute)}
.tx-agenda__row{display:grid;grid-template-columns:18cqw 1fr;column-gap:2cqw;align-items:baseline;padding:.45cqw 1cqw;font-size:1.4cqw;line-height:1.35;break-inside:avoid}
.tx-agenda__time{font-variant-numeric:tabular-nums;font-weight:600;color:var(--c-dnavy);white-space:nowrap}
.tx-agenda__ttl{font-weight:600;color:var(--c-ink)}
.tx-agenda__who{display:block;font-size:1.25cqw;color:var(--c-mute)}
.tx-agenda__tags{display:block;margin-top:.1cqw;font-size:1.1cqw;font-weight:600;letter-spacing:.02em;color:var(--c-gold-deep,#8A6A17)} /* 1.0.8: the session designations, quiet, under the title */
.tx-agenda__row--break .tx-agenda__time,.tx-agenda__row--break .tx-agenda__ttl{font-weight:400;font-style:italic;color:var(--c-mute)}
.tx-agenda__row--me{background:var(--c-tint)}
.tx-agenda__tag{display:inline-block;margin-left:.8cqw;padding:.2cqw 1cqw;border-radius:999px;background:#F0DC98;color:#5A4300;font-size:1cqw;font-weight:700;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;vertical-align:middle}

/* bottom: fine print left, ICPA logo right, then the ink facts strip */
.tx-agenda__foot{position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:3cqw;padding:1.6cqw 7cqw 2.6cqw;break-inside:avoid}
.tx-agenda__fine{font-size:1.2cqw;line-height:1.5;color:var(--c-mute)}
.tx-agenda__fine strong{color:var(--c-dnavy)}
.tx-cert-page .tx-agenda__fine p.tx-agenda__verify{font-weight:700;color:var(--c-dnavy)}
.tx-cert-page img.tx-agenda__logo{display:block;height:7cqw!important;width:auto!important;max-width:none!important;margin:0!important}
.tx-agenda__strip{position:relative;z-index:1;background:linear-gradient(100deg,var(--c-ink) 0%,var(--c-ink2) 55%,var(--c-dnavy) 100%);padding:1.8cqw 30cqw 1.9cqw 7cqw;break-inside:avoid}
.tx-agenda__strip::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--g-gold)}
.tx-agenda__facts{display:flex;margin:0}
.tx-agenda__facts div{padding:0 2.2cqw;border-left:1px solid rgba(227,194,91,.45)}
.tx-agenda__facts div:first-child{border-left:0;padding-left:0}
.tx-agenda__facts dt{font-size:1.05cqw;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--c-gold-bright)}
.tx-cert-page .tx-agenda__facts dd{margin-top:.3cqw;font-size:1.6cqw;font-weight:600;color:#fff}

/* phones: one column, type keeps a readable floor, the sheet grows to fit */
@media screen and (max-width:640px){
  .tx-agenda__body{padding:22cqw 5cqw 4cqw}
  .tx-agenda__sheet .tx-cert__band--tl{width:82%}
  .tx-agenda__sheet .tx-cert__waves{width:34%}
  .tx-agenda__sheet .tx-cert__band--br{width:60%}
  .tx-agenda__head{grid-template-columns:1fr;row-gap:16px;margin-bottom:14px}
  .tx-cert-page .tx-agenda__word{font-size:max(9cqw,30px)}
  .tx-cert-page h1.tx-agenda__conf{font-size:max(4.4cqw,18px)!important}
  .tx-cert-page .tx-agenda__sub{font-size:14px}
  .tx-cert-page .tx-agenda__for{font-size:max(3.4cqw,15px)}
  .tx-agenda__sum{width:auto;padding:12px 14px;border-radius:8px}
  .tx-cert-page .tx-agenda__lbl{font-size:11px}
  .tx-cert-page .tx-agenda__n{font-size:15px}
  .tx-agenda__sum dl{font-size:14px;gap:6px 12px}
  .tx-cert-page h2.tx-agenda__day{margin:18px 0 6px!important;padding-bottom:6px!important;font-size:max(2.8cqw,12px);flex-wrap:wrap;gap:2px 12px}
  .tx-agenda__row{grid-template-columns:minmax(0,1fr);row-gap:2px;padding:7px 8px;font-size:14px}
  .tx-agenda__row>span{min-width:0;overflow-wrap:anywhere}
  .tx-agenda__who{font-size:13px}
  .tx-agenda__tags{font-size:12px}
  .tx-agenda__tag{display:block;width:max-content;max-width:100%;margin:4px 0 0;font-size:11px;padding:2px 10px;white-space:normal}
  .tx-agenda__foot{grid-template-columns:1fr;row-gap:14px;padding:16px 16px 18px;justify-items:start}
  .tx-agenda__fine{font-size:12px}
  .tx-cert-page img.tx-agenda__logo{height:48px!important}
  .tx-agenda__strip{padding:16px 16px 16cqw}
  .tx-agenda__facts{display:grid;grid-template-columns:1fr 1fr;gap:14px 0}
  .tx-agenda__facts div:nth-child(odd){border-left:0;padding-left:0}
  .tx-agenda__facts dt{font-size:11px}
  .tx-cert-page .tx-agenda__facts dd{font-size:15px;overflow-wrap:anywhere}
  .tx-cert-page .tx-agenda__sum dd{white-space:normal}
}

/* print: one letter-portrait sheet that runs onto as many pages as the program needs. The named page leaves the certificate's landscape @page alone.
   The bottom-right band is dropped: an absolutely placed box has no reliable page to land on once the sheet spans several. */
@page agenda{size:letter portrait;margin:0.4in}
@media print{
  .tx-agenda{page:agenda;max-width:none}
  .tx-agenda__end{break-inside:avoid}
  .tx-agenda__sheet{display:block;min-height:0;height:auto;overflow:visible;border:0;box-shadow:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .tx-agenda__sheet .tx-cert__band--br{display:none}
  .tx-agenda__strip{padding-right:7cqw}
}
