body[data-diy-brand] {
  --diy-bg:#faf2e8;
  --diy-panel:#fffaf5;
  --diy-ink:#54182e;
  --diy-muted:#704653;
  --diy-line:#d4b3ad;
  --diy-button:#67172f;
  --diy-button-ink:white;
  --diy-face:Georgia,serif;
  --diy-photo:url('bride.jpg');
}
body[data-diy-brand="party"] {
  --diy-bg:#100b21;
  --diy-panel:#241337;
  --diy-ink:#f9ecff;
  --diy-muted:#e3c8f1;
  --diy-line:#855aa2;
  --diy-button:#dbff56;
  --diy-button-ink:#140a22;
  --diy-face:Impact,'Arial Narrow',system-ui,sans-serif;
  --diy-photo:url('party.jpg');
}
body[data-diy-brand]:has(#account:not([hidden])),
body[data-diy-brand]:has(#workspaces:not([hidden])) {background:var(--diy-bg);color:var(--diy-ink)}
body[data-diy-brand]:has(:is(#account,#workspaces):not([hidden])) .top {
  background:var(--diy-bg);color:var(--diy-ink);border-bottom:1px solid var(--diy-line)
}
body[data-diy-brand] :is(#account,#workspaces) {color:var(--diy-ink);max-width:76rem;margin:clamp(1rem,4vw,3rem) auto}
body[data-diy-brand] #account:not([hidden]) {
  display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);border:1px solid var(--diy-line);
  border-radius:1rem;overflow:hidden;background:var(--diy-panel)
}
body[data-diy-brand] #account::before {
  content:"";background:linear-gradient(180deg,transparent,#19071d44),var(--diy-photo) center/cover;
  min-height:100%;
}
body[data-diy-brand] #account .auth-card {width:100%;max-width:none;margin:0;border:0;border-radius:0;padding:clamp(1.4rem,5vw,4.5rem)}
body[data-diy-brand] :is(#account,#workspaces) :is(h1,h2) {font-family:var(--diy-face);color:var(--diy-ink)}
body[data-diy-brand] :is(#account,#workspaces) h1 {font-size:clamp(2.3rem,6vw,4.7rem);line-height:1.05;margin:.2em 0}
body[data-diy-brand] #account h1 {text-align:center;margin-bottom:.55em}
body[data-diy-brand] :is(#account,#workspaces) :is(p,label,a) {color:inherit}
body[data-diy-brand] :is(#account,#workspaces) .panel {
  background:var(--diy-panel);color:var(--diy-ink);border-color:var(--diy-line);box-shadow:none
}
body[data-diy-brand] :is(#account,#workspaces) :is(input,select) {
  color:var(--diy-ink);background:var(--diy-bg);border:1px solid var(--diy-line);min-height:44px
}
body[data-diy-brand] :is(#account,#workspaces) :is(button,.button) {
  background:var(--diy-button);color:var(--diy-button-ink);border:1px solid var(--diy-button);
  min-height:44px;border-radius:.55rem
}
body[data-diy-brand] :is(#account,#workspaces) :is(button.secondary,.button.secondary) {
  color:var(--diy-ink);background:var(--diy-panel);border-color:var(--diy-line)
}
body[data-diy-brand] #account :is(#client-google,#client-login-email button) {width:100%}
body[data-diy-brand] #account .auth-divider {text-align:center}
body[data-diy-brand] #account .diy-back {display:block;margin-top:1.2rem;text-align:center;text-decoration:underline}
body[data-diy-brand] #workspaces .pageheading {
  padding:clamp(1rem,4vw,2.5rem);border:1px solid var(--diy-line);border-radius:1rem;margin-bottom:1rem;
  background:linear-gradient(90deg,var(--diy-panel) 5%,transparent),var(--diy-photo) center 43%/cover
}
body[data-diy-brand] #workspaces .pageheading > div {background:var(--diy-panel);padding:.7rem 1rem;border-radius:.6rem}
body[data-diy-brand] #workspaces .planner-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
body[data-diy-brand] #workspaces .planner-grid > article:first-child {grid-column:1/-1}
body[data-diy-brand] #workspace-events {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}
body[data-diy-brand] #workspace-events > * {background:var(--diy-bg);color:var(--diy-ink);border:1px solid var(--diy-line);border-radius:.7rem;padding:1rem;overflow-wrap:anywhere}
body[data-diy-brand] :is(#account,#workspaces) :focus-visible {outline:3px solid var(--diy-muted);outline-offset:3px}
@media(max-width:720px) {
  body[data-diy-brand] #account:not([hidden]),body[data-diy-brand] #workspaces .planner-grid,body[data-diy-brand] #workspace-events {grid-template-columns:1fr}
  body[data-diy-brand] #account::before {min-height:clamp(8rem,32vw,13rem)}
}
body[data-diy-brand] #workspaces .pageheading .eyebrow {display:none}
body[data-diy-brand] #workspaces .pageheading .planner-welcome {font-size:clamp(1.3rem,3vw,2.25rem);font-family:var(--diy-face);margin:.35em 0}
body[data-diy-brand] #workspaces #workspace-events > button[data-diy-event] {
  display:grid;grid-template-rows:auto auto 1fr auto;justify-items:start;text-align:left;align-items:start;
  gap:.7rem;padding:0 0 .9rem;overflow:hidden;white-space:normal;
}
body[data-diy-brand] #workspace-events > [data-diy-event]::before {
  content:"";width:100%;min-height:clamp(6rem,14vw,11rem);background:var(--diy-photo) center/cover;
}
body[data-diy-brand] #workspace-events > [data-diy-event="shared"]::before {background-position:75% 48%}
body[data-diy-brand] #workspace-events :is(.diy-event-role,.diy-event-title,.diy-event-action) {margin-inline:1rem}
body[data-diy-brand] #workspace-events .diy-event-role {padding:.2rem .65rem;border:1px solid var(--diy-line);border-radius:2rem;font-size:.9rem}
body[data-diy-brand] #workspace-events .diy-event-title {font:700 clamp(1.25rem,3vw,1.85rem)/1.15 var(--diy-face)}
body[data-diy-brand] #workspace-events .diy-event-action {
  justify-self:stretch;text-align:center;background:var(--diy-button);color:var(--diy-button-ink);
  padding:.65rem .85rem;border-radius:.5rem;font-weight:700;
}
