.guest-public {
  margin: 0;
  min-height: 100vh;
  background: #f4f6f5;
  color: #182522;
  font: 1rem/1.5 Arial, sans-serif;
}
.guest-page {
  box-sizing: border-box;
  width: min(100%, 34rem);
  margin: auto;
  padding: 2rem 1.2rem;
}
.guest-page h1 {
  margin: .05em 0;
  font-size: clamp(2rem, 7vw, 3.1rem);
  line-height: 1.07;
  overflow-wrap: anywhere;
}
.guest-business {
  margin: 0 0 .45rem;
  font-weight: 700;
  color: #9c2022;
}
.guest-page label { display: block; font-weight: 700; }
.guest-page label + label { margin-top: .75rem; }
.guest-page input:not([type=checkbox]), .guest-page textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: .3rem 0 0;
  padding: .65rem .7rem;
  border: 1px solid #a6b2ae;
  border-radius: .4rem;
  background: white;
  color: inherit;
  font: inherit;
  font-weight: 400;
}
.guest-page form > label, .guest-page details { margin: 1rem 0; }
.guest-upload-preview {
  width: 100%;
  max-height: 16rem;
  object-fit: contain;
  background: #e4eae7;
  border-radius: .5rem;
}
.guest-names { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin: .7rem 0; }
.guest-names label + label { margin: 0; }
.guest-page .guest-check { display: flex; align-items: flex-start; gap: .5rem; margin-top: .7rem; font-weight: 400; }
.guest-check input { margin: .38rem 0 0; }
.guest-optional { color: #50615a; font-size: .9em; font-weight: 400; }
.guest-primary {
  display: inline-block;
  border: 0;
  border-radius: .45rem;
  padding: .75rem 1.1rem;
  background: #a71924;
  color: white;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.guest-primary:disabled { opacity: .6; }
.guest-text-button { border:0; background:none; padding:.9rem 0; color:#7d1c22; font:inherit; text-decoration:underline; cursor:pointer; }
.guest-verification-address { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 .85rem; }
.guest-verification-address p { min-width:0; margin:0; overflow-wrap:anywhere; }
.guest-verification-address a { padding:.6rem 0; }
.guest-feedback { padding: .75rem; border-radius: .4rem; background: #e3eee9; color: #172d24; }
.guest-feedback.is-error { background: #8c1820; color: white; }
.guest-legal { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1.5rem; font-size: .9rem; }
.guest-page a:not(.guest-primary) { color: #7d1c22; }
.guest-review { max-width: 74rem; }
.guest-start label { max-width: 32rem; }
.guest-event { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.guest-event h2, .guest-queue h2 { overflow-wrap: anywhere; }
.guest-event-qr svg { display: block; width: 7rem; height: 7rem; }
.guest-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.guest-queue h2 { margin: 1.35rem 0 .6rem; }
.guest-review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: .75rem; }
.guest-review-card { min-width: 0; overflow-wrap: anywhere; }
.guest-review-card p { margin: .65rem 0; white-space: pre-wrap; }
.guest-review-image { display: block; border-radius: .4rem; background: #eff2ef; }
.guest-review-image img { display: block; width: 100%; height: 10rem; object-fit: contain; }
.guest-contacts { margin-top: 1rem; }
.guest-contacts .button { margin-top: .5rem; }
.guest-contacts details { margin-top: .85rem; }
.guest-contacts details label { max-width: 24rem; margin-top:.6rem; }
.guest-slot-art { display: grid; place-items: center; width: 100%; min-height: 3rem; padding: .5rem; text-align: center; background: #172522; color: white; border-radius: .35rem; }
.guest-campaign-controls { margin-bottom: 1rem; }
.guest-campaign-controls label, .guest-campaign-editor > label { max-width: 34rem; }
.guest-campaign-editor { margin-top: 1rem; }
.guest-campaign-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(15rem,100%),1fr)); gap:.7rem 1rem; margin:.8rem 0; }
.guest-campaign-fields fieldset { min-width:0; border:1px solid #bec9c3; border-radius:.5rem; padding:.7rem; }
.guest-campaign-fields legend { font-weight:700; }
.guest-campaign-fields ol { padding-left:1.3rem; }
.guest-campaign-fields li { margin:.4rem 0; padding:.3rem; overflow-wrap:anywhere; }
.guest-campaign-fields li .guest-actions { margin:.3rem 0; }
.guest-campaign-fields li button { padding:.15rem .5rem; }
.guest-frame-samples { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; margin:1rem 0; }
.guest-frame-preview { position:relative; overflow:hidden; border-radius:.45rem; background:#101a17; }
.guest-frame-preview.landscape { width:min(100%,28rem); aspect-ratio:16/9; }
.guest-frame-preview.portrait { width:8.85rem; aspect-ratio:9/16; }
[data-guest-templates] label { max-width:28rem; }
[data-guest-template-status]:empty { display:none; }
.guest-template-colors { display:flex; align-items:end; flex-wrap:wrap; gap:1rem; margin:1rem 0; border:1px solid var(--line); border-radius:.5rem; padding:.75rem; }
.guest-template-colors legend { font-weight:700; }
.guest-template-colors input[type="color"] { display:block; width:100%; min-width:4rem; min-height:2.3rem; padding:.2rem; cursor:pointer; }
.guest-storage{display:grid;gap:.55rem;margin-bottom:1rem}
.guest-storage h2,.guest-storage p{margin:0}
.guest-storage progress{width:100%;height:.8rem;accent-color:#658741}
.guest-storage.near-limit progress{accent-color:#aa611d}
.guest-library-tools,.guest-library-pagination,.guest-library-card-info{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.guest-library-tools{align-items:end}
.guest-library-tools>label:first-child{min-width:12rem}
.guest-library-tools .guest-actions{margin:0}
.guest-library-check{display:inline-flex;align-items:center;gap:.5rem}
.guest-library-check input[type="checkbox"]{width:1.15rem;height:1.15rem;flex:none;margin:0;accent-color:#355a40}
.guest-library-tools>[data-gallery-filter],.guest-library-tools>.guest-library-check{align-self:end}
.guest-library-tools>.guest-library-check{min-height:2.75rem}
.guest-library-dates{display:grid;gap:1.5rem;margin:1rem 0}
.guest-library-path{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem;margin:1rem 0}
.guest-library-path h2{margin:0}
.guest-library-path[hidden],.guest-library-tools [hidden]{display:none}
.guest-library-folders{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:1rem}
.guest-library-folder{display:flex;align-items:flex-start;gap:.75rem;width:100%;padding:1rem;text-align:left;color:#202723;background:#fff;border:1px solid #dfe1d8;border-radius:.7rem;cursor:pointer}
.guest-library-folder:hover{border-color:#355a40}
.guest-library-folder svg{flex:none;color:#355a40}
.guest-library-folder strong,.guest-library-folder strong+span{display:block;overflow-wrap:anywhere}
.guest-library-folder strong+span{margin-top:.25rem;color:var(--muted);font-size:.85rem}
.guest-library-show h3{margin:0 0 .6rem;font-size:1rem}
.guest-library-show+.guest-library-show{margin-top:1rem}
.guest-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));gap:1rem}
.guest-library-card{background:#fff;border:1px solid #dfe1d8;border-radius:.7rem;overflow:hidden}
.guest-library-image{width:100%;display:block;border:0;background:#eaede7;cursor:pointer;padding:0;aspect-ratio:4/3}
.guest-library-image:focus-visible{outline:3px solid #355a40;outline-offset:-5px}
.guest-library-image img{display:block;width:100%;height:100%;object-fit:cover}
.guest-library-card-info{padding:.75rem;justify-content:space-between;font-size:.85rem}
.guest-library-pagination{justify-content:center}
.guest-library-dialog{border:1px solid #dfe1d8;border-radius:.75rem;padding:1rem 1.35rem;width:min(640px,calc(100% - 2rem));max-height:calc(100dvh - 2rem);color:#202723}
.guest-library-dialog::backdrop{background:#12251eb3}
.guest-library-dialog>form{float:right}
.guest-library-dialog img{display:block;max-width:100%;max-height:52vh;object-fit:contain;margin:auto}
.guest-library-dialog dl{display:grid;gap:.55rem}
.guest-library-dialog dl div{display:grid;grid-template-columns:7rem minmax(0,1fr);gap:.7rem}
.guest-library-dialog dt{font-weight:600}
.guest-library-dialog dd{margin:0;overflow-wrap:anywhere}
