/* BackOffice2 Test13. Screen-only event presentation; content and handlers unchanged. */
@media screen{
 /* Test16: one compact tag scale at every resolution, preserving semantic colors. */
 html body.djp-authenticated #dashboard :is(#weddingList .wedding,#nextWeddingBox) :is(.eventTypeBadge,.badge,.djp-event-bell){box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;height:auto!important;max-height:none!important;max-width:100%!important;padding:8px 10px!important;margin:0!important;border-width:1px!important;border-style:solid!important;border-radius:8px!important;font-family:inherit!important;font-size:13px!important;font-weight:650!important;line-height:18px!important;letter-spacing:0!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important;box-shadow:none!important;background:var(--bo-soft)!important;color:var(--bo-text)!important;border-color:var(--bo-line)!important;-webkit-text-fill-color:currentColor!important}
 html body.djp-authenticated #dashboard :is(#weddingList .wedding,#nextWeddingBox) .bo2-status.red{background:#a92e3b!important;color:#fff!important;border-color:#ba4b58!important;-webkit-text-fill-color:#fff!important}
 html body.djp-authenticated #dashboard :is(#weddingList .wedding,#nextWeddingBox) .bo2-status.yellow{background:#fbf1d2!important;color:#705009!important;border-color:#d3b65b!important;-webkit-text-fill-color:currentColor!important}
 html body.djp-authenticated #dashboard :is(#weddingList .wedding,#nextWeddingBox) .bo2-status.green{background:#e0f2e8!important;color:#216344!important;border-color:#82b99c!important;-webkit-text-fill-color:currentColor!important}
 html[data-theme="dark"] body.djp-authenticated #dashboard :is(#weddingList .wedding,#nextWeddingBox) .bo2-status.yellow{background:#463e27!important;color:#f5d991!important;border-color:#8c7846!important}
 html[data-theme="dark"] body.djp-authenticated #dashboard :is(#weddingList .wedding,#nextWeddingBox) .bo2-status.green{background:#234236!important;color:#9be6bf!important;border-color:#56846b!important}
 html body.djp-authenticated #dashboard :is(#weddingList .wedding,#nextWeddingBox) .bo2-status *{-webkit-text-fill-color:currentColor!important}
 html body.djp-authenticated #dashboard :is(#weddingList .wedding,#nextWeddingBox) .djp-event-bell{position:relative!important;flex:none!important;min-width:58px!important;gap:5px!important;padding:8px!important;background:#efd174!important;color:#30270e!important;border-color:#b69740!important;-webkit-text-fill-color:currentColor!important}
 html body.djp-authenticated #dashboard :is(#weddingList .wedding,#nextWeddingBox) .djp-event-bell::before{content:none!important;display:none!important}
 html body.djp-authenticated #dashboard :is(#weddingList .wedding,#nextWeddingBox) .djp-event-bell span{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;min-width:18px!important;width:auto!important;height:18px!important;padding:0 4px!important;border:0!important;border-radius:12px!important;background:#ab282d!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:11px!important;font-weight:750!important;line-height:18px!important}
 html body.djp-authenticated #dashboard #weddingList{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))!important}
 html body.djp-authenticated #dashboard #weddingList .wedding .eventBookingStatusRow{gap:8px!important;row-gap:10px!important}
 html body.djp-authenticated #dashboard #weddingList .wedding :is(.eventDate,.eventLocation){font-size:14px!important;line-height:1.5!important}
 html body.djp-authenticated #dashboard #weddingList .wedding .eventLocation{margin-top:8px!important}
 /* Legacy WebKit text-fill must follow semantic badge color, not the old gold badge. */
 html body.djp-authenticated #dashboard :is(.bo2-status,.bo2-status *){-webkit-text-fill-color:currentColor!important}
 html body.djp-authenticated #nextWeddingBox .bo2-next-location{font-size:18px!important;line-height:1.4!important;font-weight:650;color:var(--bo-text)!important}
 html[data-theme="dark"] body.djp-authenticated #nextWeddingBox .bo2-next-location{color:#edf3f9!important}
 html body.djp-authenticated #dashboard>.grid4 .kpi span{font-size:14px!important;line-height:1.45!important}
 html body.djp-authenticated #dashboard>.grid4 .kpi strong{font-size:26px!important;line-height:1.25!important}
 /* Expose the common page artwork between event cards instead of an opaque inner sheet. */
 html body.djp-authenticated #detail{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important}
 /* Reuse the approved sign-in artwork across the entire authenticated workspace.
    Finite scrolling background avoids fixed-image jumps on Safari. */
 html:has(body.djp-authenticated){--bo-surface:#fffffff2;--bo-soft:#f5f7faf2}
 html[data-theme="dark"]:has(body.djp-authenticated){--bo-surface:#031a30ed;--bo-soft:#0b2942ed}
 html body.djp-authenticated{--bo-art-height:max(750px,62.55vw);background-color:#f3f5f8!important;background-image:linear-gradient(to bottom,transparent calc(var(--bo-art-height)*.6),#f3f5f8 var(--bo-art-height)),linear-gradient(110deg,#f3f5f8f2,#f3f5f8e6),url('/shared/assets/soundwave-variant3.png')!important;background-position:center top!important;background-size:auto,auto,max(100vw,1200px) auto!important;background-repeat:no-repeat!important;background-attachment:scroll!important}
 html[data-theme="dark"] body.djp-authenticated{background-color:#001326!important;background-image:linear-gradient(to bottom,transparent calc(var(--bo-art-height)*.6),#001326 var(--bo-art-height)),linear-gradient(110deg,#00132677,#00132622),url('/shared/assets/soundwave-variant3.png')!important}
 .bo2-welcome .bo2-welcome-motto{max-width:110px;flex-shrink:0;font-size:clamp(9px,.75vw,11px)!important;letter-spacing:.12em!important;line-height:1.75!important}
 html body.djp-authenticated #dashboard .bo2-status.red{background:#a92e3b!important;color:#fff!important;border-color:#a92e3b!important}
 html body.djp-authenticated #dashboard .bo2-status.yellow{background:#fbf1d2!important;color:#7d5909!important;border-color:#e9d69c!important}
 html body.djp-authenticated #dashboard .bo2-status.green{background:#e0f2e8!important;color:#216344!important;border-color:#add5c0!important}
 html[data-theme="dark"] body.djp-authenticated #dashboard .bo2-status.red{background:#963044!important;color:#fff!important;border-color:#c45d70!important}
 html[data-theme="dark"] body.djp-authenticated #dashboard .bo2-status.yellow{background:#463e27!important;color:#f5d991!important;border-color:#73633a!important}
 html[data-theme="dark"] body.djp-authenticated #dashboard .bo2-status.green{background:#234236!important;color:#9be6bf!important;border-color:#3e6b54!important}
 html body.djp-authenticated :is(#detail,#djSetupP){--ev-surface:var(--bo-surface);--ev-soft:var(--bo-soft);--ev-text:var(--bo-text);--ev-muted:var(--bo-muted);--ev-line:var(--bo-line);--ev-blue:#edf5ff;--ev-teal:#e9f7f3;--ev-gold:#fff5d9;--ev-rose:#fff0f3;--ev-blue-text:#254b73;--ev-teal-text:#24604f;--ev-gold-text:#755415;--ev-rose-text:#893f55;min-width:0}
 html[data-theme="dark"] body.djp-authenticated :is(#detail,#djSetupP){--ev-blue:#102f4b;--ev-teal:#12372f;--ev-gold:#39321e;--ev-rose:#3a2435;--ev-blue-text:#c6e0ff;--ev-teal-text:#b9ead7;--ev-gold-text:#f4d58b;--ev-rose-text:#f4c1d3}
 html body.djp-authenticated #detail :is(.event-head-card,.event-content-card){background:var(--ev-surface)!important;color:var(--ev-text)!important;border:1px solid var(--ev-line)!important;border-radius:20px!important;padding:24px!important;box-shadow:0 7px 24px #001a3007!important;min-width:0}
 html body.djp-authenticated #detail .event-head-card>.top.detailEventHeader{background:linear-gradient(125deg,#0d263b,#1c506c)!important;padding:22px;border-radius:15px;border:1px solid #547c8b44;gap:18px;color:#f6faff!important}
 html body.djp-authenticated #detail .detailEventTitle :is(#dName,#dHeaderLocation){color:#f6faff!important}
 html body.djp-authenticated #detail .detailEventTitle #dName{font-size:clamp(24px,2.4vw,34px)!important;line-height:1.2!important;letter-spacing:-.035em!important}
 html body.djp-authenticated #detail .detailEventTitle #dHeaderLocation{color:#f4d58b!important}
 html body.djp-authenticated #detail .detailEventHeader #back{background:#ffffff12!important;color:#f4f8ff!important;border:1px solid #ffffff45!important}
 html body.djp-authenticated #detail .meta>div{border-radius:13px!important;padding:15px 17px!important;border:1px solid var(--ev-line)!important;background:var(--ev-soft)!important;color:var(--ev-text)!important;min-width:0;overflow-wrap:anywhere}
 html body.djp-authenticated #detail .meta :is(small,strong){color:inherit!important}
 html body.djp-authenticated #detail .meta small{display:block;font-size:10px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px;opacity:.9}
 html body.djp-authenticated #detail .nav{gap:8px!important;border-color:var(--ev-line)!important}
 html body.djp-authenticated #detail .nav button{background:var(--ev-soft)!important;color:var(--ev-text)!important;border:1px solid var(--ev-line)!important;border-radius:11px!important;box-shadow:none!important;font-weight:650;transition:background .15s,border-color .15s}
 html body.djp-authenticated #detail .nav :is(button.active,button.event-home-active){background:#efc963!important;color:#283342!important;border-color:#d6ad42!important;box-shadow:0 2px 8px #bb8b2014!important}
 html body.djp-authenticated #detail .nav button:hover{border-color:#c49b3e!important}
 /* Remove legacy dark gray nested panels; one continuous surface per event area. */
 html body.djp-authenticated #detail .event-content-card>.panel{background:transparent!important;background-image:none!important;color:var(--ev-text)!important;border:0!important;box-shadow:none!important;min-width:0}
 html body.djp-authenticated #detail .panel :is(h2,h3,h4,label){color:var(--ev-text)}
 html body.djp-authenticated #detail .panel h2{font-size:23px;letter-spacing:-.025em;margin-top:0}
 html body.djp-authenticated #detail .panel .muted{color:var(--ev-muted)!important}
 html body.djp-authenticated #detail #overviewP>.grid3{gap:12px}
 html body.djp-authenticated #detail #overviewP .kpi{background:var(--ev-soft)!important;color:var(--ev-text)!important;border:1px solid var(--ev-line)!important;border-radius:14px!important;padding:18px!important;border-top:1px solid var(--ev-line)!important}
 html body.djp-authenticated #detail #overviewP .kpi :is(strong,span){color:inherit!important}
 html body.djp-authenticated #detail :is(.checklist-card,.payment-status-card,.music-status-card,.sunny-guest-summary-card){background:var(--ev-surface)!important;color:var(--ev-text)!important;border:1px solid var(--ev-line)!important;border-radius:16px!important;box-shadow:none!important}
 html body.djp-authenticated #detail .checklist-card{border-top:1px solid var(--ev-line)!important}
 html body.djp-authenticated #detail :is(.payment-status-card,.music-status-card) :is(strong,h3){color:var(--ev-text)!important}
 html body.djp-authenticated #detail :is(.payment-status-card,.music-status-card) p{color:var(--ev-muted)!important}
 html body.djp-authenticated #detail .check-mini .check-tile{background:var(--ev-soft)!important;color:var(--ev-text)!important;border:1px solid var(--ev-line)!important;border-radius:11px!important}
 html body.djp-authenticated #detail .check-mini .check-tile.yellow{background:var(--ev-gold)!important;color:var(--ev-gold-text)!important;border-color:#cda44577!important}
 html body.djp-authenticated #detail .check-mini .check-tile.green{background:var(--ev-teal)!important;color:var(--ev-teal-text)!important;border-color:#419e7b77!important}
 html body.djp-authenticated #detail .check-mini .check-tile.red{background:var(--ev-rose)!important;color:var(--ev-rose-text)!important;border-color:#c45b7877!important}
 html body.djp-authenticated #detail .check-mini .check-tile>span{color:inherit!important}
 html body.djp-authenticated #detail .panel :is(.listitem,.card,.djp-moments-card,.music-special-card,.genre-card,.music-final-box){background:var(--ev-soft)!important;color:var(--ev-text)!important;border-color:var(--ev-line)!important;border-radius:13px}
 html body.djp-authenticated #detail .panel .genre-card:not(.off){background:var(--ev-teal)!important;color:var(--ev-teal-text)!important}
 html body.djp-authenticated #detail :is(input,textarea,select){background:var(--ev-surface)!important;color:var(--ev-text)!important;border-color:var(--ev-line)!important;accent-color:#d4aa43}
 html body.djp-authenticated #detail :is(input,textarea)::placeholder{color:var(--ev-muted)!important;opacity:1}
 html body.djp-authenticated #detail :is(th,td){border-color:var(--ev-line)!important}
 html body.djp-authenticated #detail :is(th,thead){background:var(--ev-soft)!important;color:var(--ev-text)!important}
 html body.djp-authenticated #detail #djpEventPanelLayer{background:var(--ev-surface)!important;color:var(--ev-text)!important}
 html body.djp-authenticated #detail #djpEventPanelLayer .djp-event-panel-head{background:var(--ev-soft)!important;color:var(--ev-text)!important;border-color:var(--ev-line)!important}
 html body.djp-authenticated #detail #djpEventPanelLayer #djpEventPanelTitle{color:inherit!important}
 html body.djp-authenticated #djSetupP{background:var(--ev-surface)!important;color:var(--ev-text)!important;border:1px solid var(--ev-line)!important;border-radius:18px;padding:22px;box-sizing:border-box;min-width:0}
 html body.djp-authenticated #djSetupP :is(.muted,.final-hint){color:var(--ev-muted)!important}
 html body.djp-authenticated #djSetupP :is(input,textarea,select){background:var(--ev-surface)!important;color:var(--ev-text)!important;border-color:var(--ev-line)!important}
 html body.djp-authenticated #djSetupP .v7-check{background:var(--ev-soft)!important;color:var(--ev-text)!important;border-color:var(--ev-line)!important;border-radius:12px}
 html body.djp-authenticated #djSetupP .v7-check.dj-tech-selected{background:var(--ev-teal)!important;color:var(--ev-teal-text)!important;border-color:#419e7b77!important}
 html body.djp-authenticated #detail #djpEventPanelBody>#djSetupP{border:0!important;padding:0!important}
 html body.djp-authenticated #detail>.event-content-card{background:var(--ev-surface)!important;border-color:var(--ev-line)!important;box-shadow:none!important}
 html body.djp-authenticated #detail :is(#djContractExchange,#djMessages){background:var(--ev-surface)!important;color:var(--ev-text)!important;border-radius:16px!important;padding:20px!important;box-shadow:none!important;border-top-color:var(--ev-line)!important;border-right-color:var(--ev-line)!important;border-bottom-color:var(--ev-line)!important}
 html body.djp-authenticated #detail :is(#djContractExchange,#djMessages) :is(h2,h3,strong,p,label){color:var(--ev-text)!important;-webkit-text-fill-color:currentColor!important}
 html body.djp-authenticated #detail #djMessages textarea{background:var(--ev-soft)!important;color:var(--ev-text)!important;-webkit-text-fill-color:currentColor!important;border-color:var(--ev-line)!important}
 @media(max-width:600px){html body.djp-authenticated #detail .event-head-card{padding:15px!important}html body.djp-authenticated #detail .event-head-card>.top.detailEventHeader{padding:16px}html body.djp-authenticated #detail .event-content-card{padding:16px!important}html body.djp-authenticated #detail #djpEventPanelBody.event-content-card{border:0!important;border-radius:0!important}}
}


/* Test17: calmer navigation, luminous light canvas, concise event heading. */
@media screen{
 html:not([data-theme="dark"]):has(body.djp-authenticated){--bo-bg:#e4ecf3;--bo-surface:#fffffff0;--bo-soft:#f5f8fcf2;--bo-line:#d6e0e9;--bo-text:#203044;--bo-muted:#53667d}
 html:not([data-theme="dark"]) body.djp-authenticated{background-color:#e4ecf3!important;background-image:linear-gradient(to bottom,transparent calc(var(--bo-art-height)*.65),#e4ecf3 var(--bo-art-height)),linear-gradient(115deg,#eaf1f89e,#f5eedc70),url('/shared/assets/soundwave-variant3.png')!important}
 html body.djp-authenticated #dashboard .djp-event-overview .v8-filterbar{display:none!important}
 html body.djp-authenticated #dashboard .djp-mobile-event-type{display:grid!important;grid-template-columns:minmax(0,1fr);gap:7px;width:min(100%,360px);margin:20px 0 18px}
 html body.djp-authenticated #dashboard .djp-mobile-event-type label{margin:0;font-size:13px;font-weight:650;color:var(--bo-muted)}
 html body.djp-authenticated #dashboard #eventTypeFilter{box-sizing:border-box;width:100%;min-width:0;min-height:44px;margin:0;padding:10px 14px;border:1px solid var(--bo-line);border-radius:10px;background:var(--bo-surface);color:var(--bo-text);font:inherit;font-size:15px;line-height:1.4}
 html body.djp-authenticated #dashboard #eventTypeFilter:focus-visible{outline:2px solid #b98a00;outline-offset:3px}
 html body.djp-authenticated #detail .event-head-card>.top.detailEventHeader{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;gap:12px 28px!important;background:radial-gradient(ellipse at 90% 0%,#46718266,transparent 65%),linear-gradient(125deg,#0b2034 0%,#173b50 62%,#264c5c 100%)!important}
 html body.djp-authenticated #detail .detailEventHeader #back{display:none!important}
 html body.djp-authenticated #detail .event-head-card>.top.detailEventHeader>.detailEventBadges{grid-column:1;grid-row:1;justify-content:flex-start;gap:8px}
 html body.djp-authenticated #detail .event-head-card>.top.detailEventHeader>.row{display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:center!important;grid-column:2;grid-row:1/3;gap:8px!important;width:auto!important}
 html body.djp-authenticated #detail .event-head-card>.top.detailEventHeader>.row button{box-sizing:border-box;min-height:38px!important;width:100%;max-width:220px;margin:0!important;padding:9px 13px!important;font-size:13px!important;line-height:1.4!important;border-radius:9px!important}
 html body.djp-authenticated #detail .event-head-card>.top.detailEventHeader>.detailEventTitle{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;grid-column:1;grid-row:2;gap:8px!important;width:100%!important}
 html body.djp-authenticated #detail .detailEventTitle #dName{flex:none!important;width:100%;font-size:clamp(22px,2.2vw,30px)!important;line-height:1.25!important;text-align:left!important}
 html body.djp-authenticated #detail .detailEventTitle #dHeaderLocation{flex:none!important;width:100%;font-size:18px!important;line-height:1.4!important;text-align:left!important;font-weight:600}
 #djpMenu #bo2Billing{border-top:1px solid #ffffff24;border-bottom:1px solid #ffffff24;margin:12px 0;padding:4px 0 16px}
 #djpMenu #bo2Billing h2{margin:0;padding:14px 6px 8px;border:0;color:#d7bc86;font-size:10px}
 #djpMenu #fastbillSyncPanel{margin:0;padding:0 6px;border:0;background:none;color:#c4cedb;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
 #djpMenu #fastbillSyncPanel>.row{display:grid;grid-template-columns:1fr;gap:8px;margin-top:12px!important}
 html body.djp-authenticated header#djpHeader #djpMenu #bo2Billing #fastbillSyncPanel button{min-height:38px!important;margin:0!important;padding:9px 10px!important;border:1px solid #567084!important;border-radius:8px!important;background:#ffffff09!important;color:#f2f6fc!important;-webkit-text-fill-color:currentColor!important;font-size:12px!important;line-height:1.4!important;justify-content:center!important;text-align:center!important;gap:4px!important}
 html body.djp-authenticated header#djpHeader #djpMenu #bo2Billing #fastbillSyncPanel button:not(.secondary){background:#d7b96f!important;border-color:#d7b96f!important;color:#192c3d!important}
 html body.djp-authenticated header#djpHeader #djpMenu #bo2Billing #fastbillSyncPanel button:disabled{opacity:.55;cursor:not-allowed}
 @media(max-width:700px){
  html body.djp-authenticated #detail .event-head-card>.top.detailEventHeader{grid-template-columns:minmax(0,1fr);gap:14px!important}
  html body.djp-authenticated #detail .event-head-card>.top.detailEventHeader>.row{grid-column:1;grid-row:3;justify-self:end;max-width:100%}
  html body.djp-authenticated #dashboard .djp-mobile-event-type{width:100%}
 }
}
@media screen{
 html body.djp-authenticated #nextWeddingBox .bo2-event-photo{aspect-ratio:6/5;min-height:0!important;height:auto!important;align-self:center}
 @media(max-width:700px){html body.djp-authenticated #dashboard #nextWeddingBox .bo2-next-content{grid-template-columns:minmax(0,1fr)!important}.bo2-event-photo{width:100%;order:2}}
}

@media screen{
 html:not([data-theme="dark"]) body.djp-authenticated #detail>.event-content-card{background:var(--ev-surface)!important;border-color:var(--ev-line)!important}
 html:not([data-theme="dark"]) body.djp-authenticated .djp-dashboard-calendar{background:var(--bo-surface)!important}
}
@media screen and (min-width:701px) and (max-width:1190px){
 html body.djp-authenticated .djp-dashboard-shortcuts{grid-template-columns:minmax(0,1fr)!important}
 html body.djp-authenticated #dashboard #nextWeddingBox .bo2-next-content{grid-template-columns:minmax(0,1fr) minmax(150px,40%)!important}
 html body.djp-authenticated #nextWeddingBox .bo2-event-photo{width:100%;justify-self:center;order:2}
}

/* Test18: unobscured viewport wallpaper and one event toolbar. */
@media screen{
 html:not([data-theme="dark"]):has(body.djp-authenticated){--bo-surface:#fff;--bo-soft:#f5f8fc}
 html[data-theme="dark"]:has(body.djp-authenticated){--bo-surface:#031a30;--bo-soft:#0b2942}
 html:root body.djp-authenticated{background:#001326!important;background-image:none!important;isolation:isolate}
 html body.djp-authenticated::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:url('/shared/assets/soundwave-variant3.png') center center/cover no-repeat;opacity:1;filter:none;transform:none}
 html body.djp-authenticated #dashboard>.top{padding:18px 22px!important;border:1px solid var(--bo-line);border-radius:14px;background:var(--bo-surface)}
 html body.djp-authenticated #dashboard .djp-event-overview{padding:22px!important;border:1px solid var(--bo-line)!important;background:var(--bo-surface)!important}
 html body.djp-authenticated #dashboard .djp-dashboard-calendar{background:var(--bo-surface)!important}
 html body.djp-authenticated #djpMenu .bo2-sidebar-scroll{scrollbar-width:none!important;-ms-overflow-style:none;scroll-padding-block:16px}
 html body.djp-authenticated #djpMenu .bo2-sidebar-scroll::-webkit-scrollbar{display:none;width:0;height:0}
 html body.djp-authenticated #dashboard #bo2Agenda .bo2-agenda-arrow{font-family:Arial,sans-serif;font-size:23px;line-height:1;font-weight:800;color:var(--bo-text)}
 html body.djp-authenticated #dashboard #bo2Agenda .bo2-agenda-row{grid-template-columns:48px minmax(0,1fr) 24px}
 html body.djp-authenticated #dashboard .djp-dashboard-calendar #djpDashboardCalendarActions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:44px!important;padding:10px 16px!important;font-size:14px!important;font-weight:650!important;line-height:1.4!important;border:1px solid #d1ac50!important;border-radius:10px!important;background:linear-gradient(125deg,#f4d17e,#d8ad4f)!important;color:#172a3e!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important}
 html body.djp-authenticated #dashboard .event-overview-heading{display:grid!important;grid-template-columns:minmax(190px,1fr) auto;align-items:end!important;gap:20px 28px!important;margin:0!important;padding-bottom:20px!important}
 html body.djp-authenticated #dashboard .event-sort-row{display:grid!important;grid-template-columns:minmax(160px,220px) auto minmax(180px,240px);align-items:end!important;gap:14px 18px!important;width:auto!important;max-width:100%;min-width:0}
 html body.djp-authenticated #dashboard .event-sort-row>.djp-mobile-event-type{grid-column:auto!important;display:grid!important;gap:7px;width:auto!important;min-width:0;margin:0!important}
 html body.djp-authenticated #dashboard .bo2-sort-field{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;min-width:0}
 html body.djp-authenticated #dashboard .bo2-sort-field>label{grid-column:auto!important;margin:0!important;font-size:13px!important;line-height:1.4;color:var(--bo-muted);text-align:left}
 html body.djp-authenticated #dashboard .bo2-sort-field>#eventSortOrder{grid-column:auto!important;box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;min-height:44px!important;height:auto!important;padding:10px 14px!important;margin:0!important;background:var(--bo-surface)!important;color:var(--bo-text)!important;font-size:15px!important;line-height:1.4!important;border:1px solid var(--bo-line)!important;border-radius:10px!important}
 html body.djp-authenticated #dashboard .event-sort-row>.event-upcoming-toggle{grid-column:auto!important;justify-self:stretch!important;display:flex;align-items:center;gap:8px;min-height:44px;box-sizing:border-box;padding:0;margin:0!important;white-space:normal!important;font-size:13px;line-height:1.4;font-weight:600}
 html body.djp-authenticated #dashboard .event-upcoming-toggle input{width:18px!important;height:18px!important;min-height:18px!important;flex:0 0 18px;padding:0!important;margin:0!important;accent-color:#cc9f33}
 html body.djp-authenticated #wirInfoAdmin .bo2-notice-intro{font-size:15px;line-height:1.65;max-width:850px;color:var(--bo-text)}
 @media(max-width:1430px){html body.djp-authenticated #dashboard .event-overview-heading{grid-template-columns:minmax(0,1fr)}html body.djp-authenticated #dashboard .event-sort-row{width:100%!important;grid-template-columns:minmax(170px,1fr) auto minmax(180px,1fr)}}
 @media(max-width:1000px){html body.djp-authenticated #dashboard .event-sort-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px!important}html body.djp-authenticated #dashboard .event-sort-row>.event-upcoming-toggle{grid-column:1/-1!important;grid-row:2;min-height:32px}html body.djp-authenticated #dashboard .djp-event-overview{padding:16px!important}}
 @media(max-width:600px){html body.djp-authenticated #dashboard .event-sort-row{grid-template-columns:minmax(0,1fr)}html body.djp-authenticated #dashboard .event-sort-row>.event-upcoming-toggle{grid-row:auto}html body.djp-authenticated #dashboard .bo2-sort-field{grid-row:2}}
}

@media screen{#djpMenu .bo2-sidebar-scroll:focus-visible{outline:2px solid #d7bc86;outline-offset:-3px}}

@media screen and (max-width:480px){
 html body.djp-authenticated #dashboard .djp-event-overview{padding:12px!important}
 html body.djp-authenticated #dashboard #weddingList .wedding>:is(.eventTypeStatusRow,.eventDateRow,.eventLocation){padding-left:16px!important;padding-right:16px!important}
 html body.djp-authenticated #dashboard #weddingList .wedding>.event-card-bottom{margin-left:16px!important;margin-right:16px!important}
}
@media screen{
 html body.djp-authenticated>footer.app-footer .footer-legal-links{display:inline-flex;background:#031a30;border:1px solid #385065;border-radius:10px;padding:8px 12px;color:#edf3fa}
 html body.djp-authenticated>footer.app-footer .footer-legal-links a{color:#edf3fa!important}
}

/* Test19: restrained actions, structured calendar, compact installation help. */
@media screen {
 html body.djp-authenticated{--bo-action-gold:linear-gradient(125deg,#f4d17e,#d8ad4f);--bo-action-ink:#172a3e}
 html body.djp-authenticated :is(#app,#modal,#genericModal,dialog,#djpEventPanelLayer,#djpMenu,#legalLayer) button.bo2-action{
  font-family:inherit!important;font-size:14px!important;font-weight:650!important;line-height:1.4!important;letter-spacing:0!important;text-transform:none!important;border-radius:10px!important;box-shadow:none!important;white-space:normal!important;overflow-wrap:anywhere;
 }
 html body.djp-authenticated :is(#app,#modal,#genericModal,dialog,#djpEventPanelLayer,#djpMenu,#legalLayer) button.bo2-action-gold:not(.danger):not(.success):not(.green):not(.red):not([data-status]){
  background:var(--bo-action-gold)!important;color:var(--bo-action-ink)!important;-webkit-text-fill-color:currentColor!important;border:1px solid #d1ac50!important;
 }
 html body.djp-authenticated button.bo2-action:focus-visible{outline:3px solid #a78027!important;outline-offset:3px}
 html body.djp-authenticated dialog.wir-calendar{
  --card:var(--bo-surface);--text:var(--bo-text);--line:var(--bo-line);--muted:var(--bo-muted);
  width:min(1000px,calc(100vw - 40px));max-width:calc(100vw - 40px);max-height:calc(100dvh - 48px);padding:24px!important;margin:auto;border:1px solid var(--bo-line)!important;border-radius:20px!important;background:var(--bo-surface)!important;color:var(--bo-text)!important;box-shadow:0 24px 80px #00102055;scrollbar-width:thin;scrollbar-color:var(--bo-line) transparent;
 }
 html body.djp-authenticated .wir-calendar .wir-calendar-head{top:-24px;padding:0 0 16px;margin:0 0 16px;border-bottom:1px solid var(--bo-line);background:var(--bo-surface)!important;flex-wrap:nowrap;gap:16px}
 html body.djp-authenticated .wir-calendar .wir-calendar-head h2{font-size:22px;line-height:1.3;margin:0;color:var(--bo-text)!important}
 html body.djp-authenticated .wir-calendar .wir-calendar-head button{flex:none}
 html body.djp-authenticated .wir-calendar button.bo2-action{min-height:44px!important;padding:10px 16px!important;margin:0!important}
 html body.djp-authenticated .wir-calendar .wir-calendar-intro{font-size:13px;line-height:1.6;margin:0 0 20px;color:var(--bo-muted)!important}
 html body.djp-authenticated .wir-calendar .wir-calendar-controls{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:10px;padding:14px;background:var(--bo-soft);border:1px solid var(--bo-line);border-radius:14px;align-items:center}
 html body.djp-authenticated .wir-calendar .wir-calendar-controls>strong{font-size:17px;line-height:1.4;text-align:center;color:var(--bo-text)!important}
 html body.djp-authenticated .wir-calendar .wir-calendar-controls button{font-size:14px!important;padding:10px 12px!important;align-self:stretch}
 html body.djp-authenticated .wir-calendar .wir-calendar-grid{gap:6px;margin:18px 0 24px}
 html body.djp-authenticated .wir-calendar .wir-calendar-weekday{font-size:12px;color:var(--bo-muted)!important;padding:5px 0}
 html body.djp-authenticated .wir-calendar .wir-calendar-day{min-height:90px!important;padding:9px!important;border-color:var(--bo-line)!important;background:var(--bo-soft)!important;color:var(--bo-text)!important;box-shadow:none!important}
 html body.djp-authenticated .wir-calendar .wir-calendar-day strong{font-size:14px;color:var(--bo-text)!important}
 html body.djp-authenticated .wir-calendar .wir-calendar-day[aria-pressed=true]{outline:2px solid #a78027;outline-offset:-2px}
 html body.djp-authenticated .wir-calendar .wir-calendar-card-grid{gap:12px}
 html body.djp-authenticated .wir-calendar .wir-calendar-entry{max-width:none;background:var(--bo-soft)!important;border-color:var(--bo-line)!important;box-shadow:none}
 html body.djp-authenticated .wir-calendar .wir-calendar-settings{margin-top:24px;padding-top:20px;border-color:var(--bo-line)}
 html body.djp-authenticated .wir-calendar .wir-calendar-settings>section{background:var(--bo-soft)!important;border-color:var(--bo-line)!important}
 html body.djp-authenticated #bo2InstallDialog{box-sizing:border-box;width:min(760px,calc(100vw - 40px));max-width:calc(100vw - 40px);height:min(660px,calc(100dvh - 64px));max-height:calc(100dvh - 64px);margin:auto;padding:0;border:1px solid var(--bo-line);border-radius:20px;background:var(--bo-surface);color:var(--bo-text);box-shadow:0 24px 80px #00102055;overflow:hidden}
 html body.djp-authenticated #bo2InstallDialog[open]{display:flex;flex-direction:column}
 html body.djp-authenticated #bo2InstallDialog::backdrop{background:#00102088}
 #bo2InstallDialog .bo2-install-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--bo-line);flex:none}
 #bo2InstallDialog h2{font-size:20px;line-height:1.35;margin:0;color:var(--bo-text)}
 html body.djp-authenticated #bo2InstallDialog .bo2-install-head button{min-height:44px;padding:10px 16px;flex:none}
 #bo2InstallDialog iframe{display:block;width:100%;min-height:0;flex:1;border:0;background:var(--bo-surface);color-scheme:normal}
 @media(max-width:650px){
  html body.djp-authenticated dialog.wir-calendar{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 28px);padding:16px!important;border-radius:16px!important}
  html body.djp-authenticated .wir-calendar .wir-calendar-head{top:-16px}
  html body.djp-authenticated .wir-calendar .wir-calendar-controls{grid-template-columns:1fr auto 1fr;padding:10px;gap:8px}
  html body.djp-authenticated .wir-calendar .wir-calendar-controls>strong{grid-row:1;grid-column:1/-1;padding:0 0 6px}
  html body.djp-authenticated .wir-calendar .wir-calendar-controls button{min-width:0;padding:8px!important;font-size:14px!important}
  html body.djp-authenticated .wir-calendar .wir-calendar-controls button:first-child{grid-column:1;grid-row:2}
  html body.djp-authenticated .wir-calendar .wir-calendar-controls button:nth-child(2){grid-column:2;grid-row:2}
  html body.djp-authenticated .wir-calendar .wir-calendar-controls button:last-child{grid-column:3;grid-row:2}
  html body.djp-authenticated .wir-calendar .wir-calendar-grid{gap:3px}
  html body.djp-authenticated .wir-calendar .wir-calendar-day{min-height:54px!important;padding:5px!important}
  html body.djp-authenticated #bo2InstallDialog{width:calc(100vw - 28px);max-width:calc(100vw - 28px);height:min(660px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);border-radius:16px}
  #bo2InstallDialog .bo2-install-head{padding:16px;gap:12px}#bo2InstallDialog h2{font-size:18px}
 }
}
@media screen {
 html body.djp-authenticated #dashboard .event-overview-heading .event-sort-row{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)!important;gap:16px!important}
 html body.djp-authenticated header#djpHeader #djpCornerHome.bo2-header-home{position:static!important;inset:auto!important;flex:none;display:inline-flex;align-items:center;justify-content:center;width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;margin:0!important;padding:8px!important;border:1px solid var(--bo-line)!important;border-radius:10px!important;background:var(--bo-soft)!important;color:var(--bo-text)!important;box-shadow:none!important}
 html body.djp-authenticated #djpCornerHome.bo2-header-home[hidden]{display:none!important}
 #djpCornerHome.bo2-header-home svg{width:21px;height:21px}
 @media(max-width:650px){html body.djp-authenticated #dashboard .event-overview-heading .event-sort-row{grid-template-columns:1fr!important;gap:12px!important}}
}
@media screen{
 html body.djp-authenticated #nextWeddingBox .bo2-open-label{background:var(--bo-action-gold)!important;color:var(--bo-action-ink)!important;-webkit-text-fill-color:currentColor!important;border:1px solid #d1ac50!important;border-radius:10px!important;min-height:44px;box-sizing:border-box;padding:10px 16px!important;font-family:inherit!important;font-size:14px!important;font-weight:650!important;line-height:1.4!important;display:inline-flex;align-items:center;justify-content:center}
 html body.djp-authenticated .wir-calendar .wir-calendar-day{font-family:inherit!important;font-weight:500!important}
}

/* Test20: integrated sidebar, clear notices, restrained event surfaces and equal navigation. */
@media screen{
 html body.djp-authenticated header#djpHeader #djpMenu #bo2Billing #fastbillSyncPanel,
 html body.djp-authenticated header#djpHeader #djpMenu #bo2Billing #fastbillSyncPanel>[role=status]{background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#d3dfeb!important}
 html body.djp-authenticated header#djpHeader #djpMenu #bo2Billing #fastbillSyncPanel{padding:0 6px!important;margin:0!important}
 html body.djp-authenticated header#djpHeader #djpMenu #bo2Billing #fastbillSyncPanel>[role=status]{padding:0!important;margin:0!important;font-size:12px;line-height:1.6}
 html body.djp-authenticated header#djpHeader #djpMenu #bo2Billing #fastbillSyncPanel>.row{gap:9px;margin-top:12px!important}
 .bo2-bell-icon{display:block;width:20px;height:20px;flex:0 0 20px;pointer-events:none}
 html body.djp-authenticated :is(#dashboard :is(#weddingList .wedding,#nextWeddingBox),#detail,.wir-calendar) button.djp-event-bell{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;position:relative!important;min-width:60px!important;min-height:36px!important;height:36px!important;max-height:none!important;box-sizing:border-box!important;margin:0!important;padding:7px 9px!important;border:1px solid #9bacc0!important;border-radius:8px!important;background:#eef3f8!important;color:#20374f!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important;font-family:inherit!important;
 }
 html body.djp-authenticated :is(#dashboard :is(#weddingList .wedding,#nextWeddingBox),#detail,.wir-calendar) button.djp-event-bell::before{content:none!important;display:none!important;pointer-events:none!important}
 html body.djp-authenticated :is(#dashboard :is(#weddingList .wedding,#nextWeddingBox),#detail,.wir-calendar) button.djp-event-bell span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:18px!important;height:18px!important;box-sizing:border-box!important;padding:0 4px!important;border:0!important;border-radius:10px!important;background:#d9e3ee!important;color:#20374f!important;-webkit-text-fill-color:currentColor!important;font-size:11px!important;font-weight:750!important;line-height:18px!important}
 html[data-theme=dark] body.djp-authenticated :is(#dashboard :is(#weddingList .wedding,#nextWeddingBox),#detail,.wir-calendar) button.djp-event-bell{background:#122e46!important;color:#f3f7fc!important;border-color:#69859e!important}
 html[data-theme=dark] body.djp-authenticated :is(#dashboard :is(#weddingList .wedding,#nextWeddingBox),#detail,.wir-calendar) button.djp-event-bell span{background:#2c4b65!important;color:#f3f7fc!important}
 html body.djp-authenticated :is(#dashboard :is(#weddingList .wedding,#nextWeddingBox),#detail,.wir-calendar) button.djp-event-bell[data-bo2-unread=true] span{background:#a92e3b!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
 html body.djp-authenticated #detail{box-sizing:border-box;min-width:0;max-width:100%;width:100%}
 html body.djp-authenticated #detail>.event-head-card{box-sizing:border-box;min-width:0;max-width:100%;width:100%;padding:20px!important;margin-bottom:22px!important}
 html body.djp-authenticated #detail .event-head-card>.top.detailEventHeader{box-sizing:border-box;min-width:0;max-width:100%;width:100%;padding:20px!important;gap:12px 24px!important}
 html[data-theme=dark] body.djp-authenticated #detail .event-head-card>.top.detailEventHeader{background:#0b263d!important;background-image:none!important;border:1px solid #36546c!important;box-shadow:none!important}
 html body.djp-authenticated #detail .event-head-card>.top.detailEventHeader>.detailEventTitle{min-width:0!important;max-width:100%!important;gap:10px!important}
 html body.djp-authenticated #detail .detailEventTitle :is(#dName,#dHeaderLocation){box-sizing:border-box;min-width:0;max-width:100%;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;overflow:visible!important;text-overflow:clip!important}
 html body.djp-authenticated #detail .detailEventTitle #dName{margin:0!important;font-size:clamp(22px,2vw,30px)!important;line-height:1.3!important}
 html body.djp-authenticated #detail .detailEventTitle #dHeaderLocation{margin:0!important;color:#d8e4ef!important;font-size:17px!important;line-height:1.45!important}
 html body.djp-authenticated #detail .event-head-card>.top.detailEventHeader>.row{min-width:0!important;max-width:210px!important;width:100%!important;justify-self:end}
 html body.djp-authenticated #detail .event-head-card>.top.detailEventHeader>.row button{max-width:none!important;width:100%!important;min-width:0!important;min-height:40px!important;padding:9px 12px!important}
 html body.djp-authenticated #detail .event-head-card>.meta{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-top:16px!important;min-width:0;max-width:100%}
 html body.djp-authenticated #detail .event-head-card>.meta>div{box-sizing:border-box;min-width:0;max-width:100%;width:100%;min-height:78px;padding:14px 16px!important}
 html body.djp-authenticated #detail>.event-content-card{box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:24px!important;margin-top:0!important;border:1px solid var(--ev-line)!important;background:var(--ev-surface)!important;box-shadow:none!important}
 html body.djp-authenticated #detail>.event-content-card>.panel{box-sizing:border-box;min-width:0;max-width:100%;padding:0!important}
 html body.djp-authenticated #detail #overviewP>.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
 html body.djp-authenticated #detail #overviewP>.grid3>.kpi{box-sizing:border-box;min-width:0;width:100%;height:100%;min-height:104px;margin:0!important;padding:18px!important}
 html body.djp-authenticated #detail .event-head-card>.nav{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:64px;gap:10px!important;width:100%;max-width:100%;box-sizing:border-box;align-items:stretch;justify-content:stretch;padding-top:18px!important;margin-top:18px!important}
 html body.djp-authenticated #detail .event-head-card>.nav>button{display:flex;align-items:center;justify-content:center;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;padding:10px 8px!important;line-height:1.35!important;font-size:13px!important;font-weight:650!important;text-align:center;white-space:normal!important;overflow-wrap:anywhere;border-radius:10px!important}
 html body.djp-authenticated #detail .event-head-card>.nav>button.hidden{display:none!important}
 @media(max-width:1450px){html body.djp-authenticated #detail .event-head-card>.nav{grid-template-columns:repeat(5,minmax(0,1fr))}}
 @media(max-width:1200px){html body.djp-authenticated #detail .event-head-card>.nav{grid-template-columns:repeat(4,minmax(0,1fr))}}
 @media(max-width:850px){html body.djp-authenticated #detail .event-head-card>.meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body.djp-authenticated #detail .event-head-card>.nav{grid-template-columns:repeat(3,minmax(0,1fr))}}
 @media(max-width:700px){
  html body.djp-authenticated #detail>.event-head-card{padding:14px!important}
  html body.djp-authenticated #detail .event-head-card>.top.detailEventHeader{grid-template-columns:minmax(0,1fr)!important;padding:16px!important;gap:14px!important}
  html body.djp-authenticated #detail .event-head-card>.top.detailEventHeader>.row{grid-column:1!important;grid-row:3!important;width:min(100%,210px)!important;gap:8px!important}
  html body.djp-authenticated #detail .event-head-card>.meta{gap:10px!important;margin-top:14px!important}
  html body.djp-authenticated #detail .event-head-card>.meta>div{padding:12px!important}
  html body.djp-authenticated #detail .event-head-card>.nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body.djp-authenticated #detail #overviewP>.grid3{grid-template-columns:1fr;gap:12px}
 }
 @media(max-width:350px){html body.djp-authenticated #detail .event-head-card>.nav{grid-template-columns:1fr}}
}
@media screen{
 html body.djp-authenticated #detail .event-head-card>.nav>button[hidden]{display:none!important}
 /* The original nav controls now remain usable in the small-screen grid as well. */
 html body.djp-authenticated #detail .djp-mobile-event-extras{display:none!important}
}
@media screen{
 html body.djp-authenticated #detail .detailEventBadges :is(#dEventType,#dStatus){box-sizing:border-box;min-height:30px!important;padding:5px 9px!important;border:1px solid #7890a4!important;border-radius:7px!important;background:#eef3f8!important;color:#20374f!important;-webkit-text-fill-color:currentColor!important;font-family:inherit!important;font-size:12px!important;line-height:18px!important}
 html[data-theme=dark] body.djp-authenticated #detail .detailEventBadges :is(#dEventType,#dStatus){background:#17344c!important;color:#edf3fa!important;border-color:#496b85!important}
 html body.djp-authenticated #detail .detailEventBadges #dStatus[data-bo2-tone=red]{background:#a92e3b!important;color:#fff!important;border-color:#ba4b58!important}
 html body.djp-authenticated #detail .detailEventBadges #dStatus[data-bo2-tone=yellow]{background:#fbf1d2!important;color:#705009!important;border-color:#d3b65b!important}
 html body.djp-authenticated #detail .detailEventBadges #dStatus[data-bo2-tone=green]{background:#e0f2e8!important;color:#216344!important;border-color:#82b99c!important}
 html[data-theme=dark] body.djp-authenticated #detail .detailEventBadges #dStatus[data-bo2-tone=yellow]{background:#463e27!important;color:#f5d991!important;border-color:#8c7846!important}
 html[data-theme=dark] body.djp-authenticated #detail .detailEventBadges #dStatus[data-bo2-tone=green]{background:#234236!important;color:#9be6bf!important;border-color:#56846b!important}
}
@media screen and (max-width:700px){
 html body.djp-authenticated #detail #overviewP>.grid3{grid-template-columns:1fr!important}
}
@media screen and (max-width:500px){
 html body.djp-authenticated #detail .event-head-card>.meta{grid-template-columns:1fr!important}
}
@media screen{
 html body.djp-authenticated #detail>.event-content-card{background:var(--ev-surface)!important;border:1px solid var(--ev-line)!important}
 html[data-theme=dark] body.djp-authenticated #detail #overviewP>h2{width:fit-content;box-sizing:border-box;max-width:100%;margin:0 0 14px;padding:10px 14px;border:1px solid var(--bo-line);border-radius:10px;background:var(--bo-surface);color:var(--bo-text)}
}

/* Test21: readable unread bell and a consistent personal menu. */
@media screen{
 html body.djp-authenticated :is(#dashboard :is(#weddingList .wedding,#nextWeddingBox),#detail,.wir-calendar) button.djp-event-bell[data-bo2-unread=true] .bo2-bell-icon{color:#9a6500!important;stroke:currentColor}
 html[data-theme=dark] body.djp-authenticated :is(#dashboard :is(#weddingList .wedding,#nextWeddingBox),#detail,.wir-calendar) button.djp-event-bell[data-bo2-unread=true] .bo2-bell-icon{color:#ffd45c!important}
 html body.djp-authenticated header#djpHeader #bo2Account nav{box-sizing:border-box;width:270px;max-width:calc(100vw - 28px);padding:8px;gap:4px;border-radius:14px}
 html body.djp-authenticated header#djpHeader #bo2Account nav :is(a,button){box-sizing:border-box!important;display:grid!important;grid-template-columns:20px minmax(0,1fr);align-items:center!important;justify-content:stretch!important;gap:12px!important;height:48px!important;min-height:48px!important;max-height:none!important;padding:10px 12px!important;margin:0!important;border:0!important;border-radius:8px!important;background:transparent!important;text-align:left!important;font-family:inherit!important;font-size:14px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:0!important;text-transform:none!important;box-shadow:none!important}
 html body.djp-authenticated header#djpHeader #bo2Account nav :is(a,button)::before{content:none!important;display:none!important}
 #bo2Account .bo2-account-icon{display:block;width:20px;height:20px;pointer-events:none}
 #bo2Account .bo2-account-label{min-width:0;white-space:normal;text-align:left;overflow-wrap:anywhere}
 html body.djp-authenticated header#djpHeader #bo2Account nav #globalLogoutBtn{border-top:1px solid var(--bo-line)!important;border-radius:0 0 8px 8px!important;color:#a52e3c!important}
 html[data-theme=dark] body.djp-authenticated header#djpHeader #bo2Account nav #globalLogoutBtn{color:#ff9aa6!important}
}

/* Test21: settings use the same typography and clear surface hierarchy as BackOffice2. */
@media screen{
 html body.djp-authenticated #djpAdminLayer.bo2-settings-dialog{box-sizing:border-box;width:min(980px,calc(100vw - 40px));max-width:calc(100vw - 40px);height:auto;max-height:calc(100dvh - 56px);margin:auto;padding:0!important;border:1px solid var(--bo-line)!important;border-radius:20px!important;background:var(--bo-surface)!important;color:var(--bo-text)!important;box-shadow:0 24px 80px #00102066;overflow:hidden!important;font-family:inherit!important;font-size:14px!important;line-height:1.6}
 html body.djp-authenticated #djpAdminLayer.bo2-settings-dialog[open]{display:flex;flex-direction:column}
 html body.djp-authenticated #djpAdminLayer.bo2-settings-dialog>.djp-layer-head{display:flex;align-items:center;justify-content:space-between;flex:none;gap:18px;margin:0!important;padding:20px 24px!important;position:static!important;top:auto!important;left:auto!important;right:auto!important;transform:none!important;width:100%!important;max-width:100%!important;box-sizing:border-box;border-bottom:1px solid var(--bo-line);background:var(--bo-surface)!important}
 html body.djp-authenticated #djpAdminLayer.bo2-settings-dialog .djp-layer-head h2{font-family:inherit;font-size:22px;line-height:1.3;margin:0;color:var(--bo-text)}
 html body.djp-authenticated #djpAdminLayer.bo2-settings-dialog #djpLayerClose{box-sizing:border-box;display:grid;place-items:center;flex:none;width:40px!important;min-width:40px!important;min-height:40px!important;height:40px!important;margin:0!important;padding:0!important;border:1px solid var(--bo-line)!important;border-radius:10px!important;background:var(--bo-soft)!important;color:var(--bo-text)!important;font-size:24px!important;line-height:1!important}
 html body.djp-authenticated #djpAdminLayer.bo2-settings-dialog #djpLayerBody{box-sizing:border-box;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--bo-line) transparent;padding:22px 24px 24px;display:grid;grid-template-columns:minmax(0,1fr);gap:20px;background:var(--bo-surface)!important}
 #djpAdminLayer.bo2-settings-dialog #djpLayerBody>*{min-width:0;box-sizing:border-box}
 #djpAdminLayer.bo2-settings-dialog .bo2-settings-intro p{font-size:17px;font-weight:650;margin:0 0 4px;line-height:1.45;color:var(--bo-text)}
 #djpAdminLayer.bo2-settings-dialog .bo2-settings-intro span{display:block;color:var(--bo-muted);font-size:14px;line-height:1.55}
 #djpAdminLayer.bo2-settings-dialog :is(h3,h4){font-family:inherit;color:var(--bo-text);letter-spacing:0}
 #djpAdminLayer.bo2-settings-dialog h3{font-size:18px;line-height:1.4;margin:0 0 8px}
 #djpAdminLayer.bo2-settings-dialog h4{font-size:15px;line-height:1.4;margin:0 0 14px;font-weight:750}
 #djpAdminLayer.bo2-settings-dialog p{font-size:14px;line-height:1.6;margin:10px 0;overflow-wrap:anywhere}
 #djpAdminLayer.bo2-settings-dialog .muted{color:var(--bo-muted)!important}
 #djpAdminLayer.bo2-settings-dialog .bo2-settings-section-heading{margin-bottom:18px}
 #djpAdminLayer.bo2-settings-dialog .bo2-settings-section-heading p{max-width:780px;color:var(--bo-muted);margin:0}
 #djpAdminLayer.bo2-settings-dialog .bo2-channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
 #djpAdminLayer.bo2-settings-dialog .bo2-channel-card{box-sizing:border-box;min-width:0;padding:18px;border:1px solid var(--bo-line);border-radius:14px;background:var(--bo-soft);color:var(--bo-text)}
 #djpAdminLayer.bo2-settings-dialog .bo2-in-app{margin-bottom:14px}
 #djpAdminLayer.bo2-settings-dialog label.bo2-toggle{display:grid!important;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px;min-height:36px;margin:0!important;font-size:14px!important;line-height:1.5!important;font-weight:650}
 #djpAdminLayer.bo2-settings-dialog .bo2-toggle input[type=checkbox]{box-sizing:border-box;display:block;min-width:18px!important;max-width:18px!important;width:18px!important;min-height:18px!important;max-height:18px!important;height:18px!important;padding:0!important;margin:2px 0 0!important;accent-color:#bd8c27}
 #djpAdminLayer.bo2-settings-dialog .bo2-toggle span{min-width:0;overflow-wrap:anywhere}
 #djpAdminLayer.bo2-settings-dialog .bo2-toggle small{display:block;font-size:13px;font-weight:400;color:var(--bo-muted);margin-top:4px;line-height:1.5}
 #djpAdminLayer.bo2-settings-dialog .bo2-channel-detail{margin:12px 0;color:var(--bo-muted)}
 #djpAdminLayer.bo2-settings-dialog .bo2-channel-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:8px;margin-top:16px}
 html body.djp-authenticated #djpAdminLayer.bo2-settings-dialog button:not(#djpLayerClose){box-sizing:border-box;min-width:0;max-width:100%;min-height:44px!important;margin:0!important;padding:10px 14px!important;font-family:inherit!important;font-size:14px!important;font-weight:650!important;line-height:1.4!important;border-radius:10px!important;white-space:normal;overflow-wrap:anywhere}
 #djpAdminLayer.bo2-settings-dialog .bo2-connection-details{border-top:1px solid var(--bo-line);margin-top:16px;padding-top:12px}
 #djpAdminLayer.bo2-settings-dialog summary{cursor:pointer;color:var(--bo-text);font-size:14px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}
 #djpAdminLayer.bo2-settings-dialog .bo2-connection-details summary{padding:6px 0}
 #djpAdminLayer.bo2-settings-dialog .djp-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
 
 #djpAdminLayer.bo2-settings-dialog input:not([type=checkbox]):not([type=color]),#djpAdminLayer.bo2-settings-dialog select{box-sizing:border-box;min-width:0;max-width:100%;width:100%;min-height:42px;margin:0;padding:10px 12px;border:1px solid var(--bo-line);border-radius:9px;background:var(--bo-surface);color:var(--bo-text);font-family:inherit;font-size:14px;line-height:1.4}
 #djpAdminLayer.bo2-settings-dialog .bo2-delivery-summary{margin-top:14px;padding:14px 16px;border:1px solid var(--bo-line);border-radius:12px;background:var(--bo-soft)}
 #djpAdminLayer.bo2-settings-dialog .bo2-delivery-summary h4{margin:0 0 5px;font-size:14px}
 #djpAdminLayer.bo2-settings-dialog .bo2-delivery-summary p{font-size:13px;margin:6px 0}
 #djpAdminLayer.bo2-settings-dialog [role=status]:empty{display:none}
 #djpAdminLayer.bo2-settings-dialog .bo2-settings-save{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px;padding-top:18px;border-top:1px solid var(--bo-line)}
 #djpAdminLayer.bo2-settings-dialog .bo2-settings-save p{margin:0;font-size:13px;color:var(--bo-muted)}
 #djpAdminLayer.bo2-settings-dialog #djpPrefSave{flex:none;width:auto}
 html body.djp-authenticated #djpAdminLayer.bo2-settings-dialog #settingsP{display:grid!important;gap:18px!important;min-width:0;max-width:100%;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--bo-text)!important;box-shadow:none!important}
 
 
 
 
 
 
 
 
 
 
 #djpAdminLayer.bo2-settings-dialog .v7-check input{flex:none;width:18px;height:18px;min-height:18px;margin:2px 0 0}
 #djpAdminLayer.bo2-settings-dialog input[type=color]{width:100%;height:42px;min-height:42px;box-sizing:border-box;background:var(--bo-surface);border:1px solid var(--bo-line);border-radius:9px;padding:4px}
 
 
 #djpAdminLayer.bo2-settings-dialog #bo2InstallationSettings{padding:18px;border:1px solid var(--bo-line);border-radius:14px;background:var(--bo-soft)}
 #djpAdminLayer.bo2-settings-dialog .bo2-install-settings-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:16px 0 10px}
 #djpAdminLayer.bo2-settings-dialog a{color:var(--bo-text);text-decoration:underline;text-underline-offset:3px;font-size:14px}
 #djpAdminLayer.bo2-settings-dialog :is(input,select,summary,button):focus-visible{outline:2px solid #b98c28!important;outline-offset:3px}
 @media(max-width:750px){
  #djpAdminLayer.bo2-settings-dialog .bo2-channel-grid{grid-template-columns:1fr}
 }
 @media(max-width:600px){
  html body.djp-authenticated #djpAdminLayer.bo2-settings-dialog{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;height:auto!important;max-height:calc(100dvh - 28px)!important;inset:0!important;border-radius:16px!important}
  html body.djp-authenticated #djpAdminLayer.bo2-settings-dialog>.djp-layer-head{padding:16px!important}
  html body.djp-authenticated #djpAdminLayer.bo2-settings-dialog #djpLayerBody{padding:16px;gap:18px}
  #djpAdminLayer.bo2-settings-dialog .bo2-channel-card,#djpAdminLayer.bo2-settings-dialog #bo2InstallationSettings{padding:14px}
  #djpAdminLayer.bo2-settings-dialog .bo2-settings-save{display:grid;grid-template-columns:1fr;gap:10px}
  #djpAdminLayer.bo2-settings-dialog #djpPrefSave{width:100%}
  
  #djpAdminLayer.bo2-settings-dialog .bo2-channel-actions>button{flex:1 1 160px}
 }
}
@media screen{
 html body.djp-authenticated #djpAdminLayer.bo2-settings-dialog #djpLayerClose{-webkit-text-fill-color:currentColor!important}
 html body.djp-authenticated header#djpHeader #bo2Account[open]{z-index:1301!important}
 html body.djp-authenticated :is(#dashboard :is(#weddingList .wedding,#nextWeddingBox),#detail,.wir-calendar) button.djp-event-bell[data-bo2-unread=true] .bo2-bell-icon{fill:#ffd45c;stroke:currentColor}
}

/* Test22: settings own their layout; no generic edit-dialog action sizing. */
@media screen{
 html body.djp-authenticated #djpAdminLayer.bo2-settings-dialog #djpLayerBody{padding:24px!important;min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important;overflow-x:hidden!important;font-size:15px!important;letter-spacing:.015em;line-height:1.65}
 #djpAdminLayer.bo2-settings-dialog .bo2-channel-grid{align-items:stretch}
 #djpAdminLayer.bo2-settings-dialog .bo2-channel-card{display:flex;flex-direction:column;padding:20px}
 #djpAdminLayer.bo2-settings-dialog .bo2-channel-actions{margin-top:auto;padding-top:14px;display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
 #djpAdminLayer.bo2-settings-dialog .bo2-channel-actions button{width:100%}
 #djpAdminLayer.bo2-settings-dialog :is(h2,h3,h4){letter-spacing:.02em!important}
 #djpAdminLayer.bo2-settings-dialog :is(p,label,summary,button,a,small){letter-spacing:.012em!important}
 #djpAdminLayer.bo2-settings-dialog .bo2-settings-save{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center;gap:18px!important;width:100%;min-width:0}
 #djpAdminLayer.bo2-settings-dialog .bo2-settings-save>p{min-width:0!important;width:auto!important;max-width:100%;margin:0!important;overflow-wrap:normal!important;word-break:normal!important;white-space:normal!important}
 html body.djp-authenticated #djpAdminLayer.bo2-settings-dialog #djpPrefSave{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;max-width:100%!important;min-width:0!important;margin:0!important;position:static!important;letter-spacing:.012em!important}
 @media(max-width:750px){#djpAdminLayer.bo2-settings-dialog .bo2-settings-save{grid-template-columns:minmax(0,1fr)!important}html body.djp-authenticated #djpAdminLayer.bo2-settings-dialog #djpPrefSave{width:100%!important}}
 @media(max-width:600px){html body.djp-authenticated #djpAdminLayer.bo2-settings-dialog #djpLayerBody{padding:18px!important}#djpAdminLayer.bo2-settings-dialog .bo2-channel-card{padding:16px}}
}
@media screen{
 #djpAdminLayer.bo2-settings-dialog #djpSMTPForm .djp-profile-grid{grid-template-columns:minmax(0,1fr)!important}
 #djpAdminLayer.bo2-settings-dialog .djp-profile-grid>label{grid-template-columns:minmax(0,1fr);overflow-wrap:anywhere;min-width:0}
}

/* Every event area owns an opaque reading surface; artwork remains between cards. */
@media screen{
 html body.djp-authenticated :is(#detail,#djSetupP){--ev-surface:#ffffff;--ev-soft:#f5f7fa}
 html[data-theme=dark] body.djp-authenticated :is(#detail,#djSetupP){--ev-surface:#031a30;--ev-soft:#0b2942}
 html body.djp-authenticated #detail #djpEventPanelBody.event-content-card{background:var(--ev-surface)!important;background-image:none!important}
}
@media screen and (max-width:600px){
 html body.djp-authenticated #detail>.event-content-card{padding:16px!important}
}

/* Compact event actions and PartyOffice access controls. Screen presentation only. */
@media screen{
 html body.djp-authenticated #detail #contactsP>.toolbar{flex-wrap:wrap;align-items:flex-start;gap:16px}
 html body.djp-authenticated #detail #contactsP>.toolbar>div{flex:1 1 24rem;min-width:0}
 html body.djp-authenticated #detail #contactsP>.toolbar>button{flex:0 0 auto!important;width:auto!important;min-width:max-content!important;max-width:100%;min-height:44px!important;height:auto!important;padding:10px 16px!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;font-size:14px!important;line-height:1.4!important;align-self:flex-start}
 html body.djp-authenticated #detail .music-final-box{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px 16px;margin-top:22px;padding:18px!important;border:1px solid var(--ev-line)!important;border-radius:13px;box-sizing:border-box}
 html body.djp-authenticated #detail .music-final-box>.check-final{grid-column:1 / -1;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:8px 10px;margin:0!important;font-size:15px;line-height:1.5}
 html body.djp-authenticated #detail .music-final-box>.check-final>input{width:18px!important;height:18px!important;min-height:18px!important;margin:3px 0 0!important}
 html body.djp-authenticated #detail .music-final-box .final-hint{grid-column:2;margin:0!important;font-size:13px!important;line-height:1.5!important}
 html body.djp-authenticated #detail .music-final-box>button{justify-self:start;min-height:44px!important;width:auto!important;margin:0!important;padding:10px 16px!important;font-size:14px!important;line-height:1.4!important}
 html body.djp-authenticated #detail #musicFinalStatus{display:block;min-width:0;margin:0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
 html body.djp-authenticated #detail #partyofficeP>h2{margin-bottom:8px}
 html body.djp-authenticated #detail #partyofficeP>p{font-size:14px;line-height:1.55}
 html body.djp-authenticated #detail #partyofficeP>[role=status]:empty{display:none}
 html body.djp-authenticated #detail #partyofficeP .partyoffice-state{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin:18px 0 0;padding:14px 16px;border:1px solid var(--ev-line);border-radius:12px;background:var(--ev-soft)}
 html body.djp-authenticated #detail #partyofficeP .partyoffice-state p{min-width:0;margin:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
 html body.djp-authenticated #detail #partyofficeP .partyoffice-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 0}
 html body.djp-authenticated #detail #partyofficeP .partyoffice-tile-row{display:flex;align-items:center;gap:10px;min-width:0;min-height:50px;box-sizing:border-box;margin:0;padding:12px;border:1px solid var(--ev-line);border-radius:10px;background:var(--ev-surface);font-size:14px;font-weight:650;line-height:1.4}
 html body.djp-authenticated #detail #partyofficeP .partyoffice-tile-row:has(input:checked){background:var(--ev-soft)}
 html body.djp-authenticated #detail #partyofficeP .partyoffice-tile-row:focus-within{outline:2px solid #c69c43;outline-offset:2px}
 html body.djp-authenticated #detail #partyofficeP .partyoffice-tile-row input[type=checkbox]{flex:none;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;margin:0!important}
 html body.djp-authenticated #detail #partyofficeP .partyoffice-tiles>button{grid-column:1 / -1;justify-self:start;margin-top:4px!important}
 html body.djp-authenticated #detail #partyofficeP :is(.partyoffice-state,.partyoffice-tiles,#partyofficeInvitations)>button{width:auto!important;max-width:100%;min-height:44px!important;padding:10px 16px!important;font-size:14px!important;line-height:1.4!important;border-radius:10px!important;white-space:normal}
 html body.djp-authenticated #detail #partyofficeP #partyofficeInvitations{margin-top:22px;padding-top:18px;border-top:1px solid var(--ev-line)}
 html body.djp-authenticated #detail #partyofficeP #partyofficeInvitations>h3{font-size:17px;line-height:1.4;margin:0 0 12px}
 html body.djp-authenticated #detail #partyofficeP #partyofficeInvitations>p{font-size:14px;line-height:1.5;margin:0}
 html body.djp-authenticated #detail #partyofficeP #partyofficeInvitations>form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 html body.djp-authenticated #detail #partyofficeP #partyofficeInvitations>form>label{display:grid;gap:6px;min-width:0;margin:0;font-size:14px;line-height:1.5}
 html body.djp-authenticated #detail #partyofficeP #partyofficeInvitations>form>label:has(input[type=checkbox]){grid-column:1 / -1;display:flex;align-items:center;gap:10px}
 html body.djp-authenticated #detail #partyofficeP #partyofficeInvitations input[type=checkbox]{order:-1;flex:none;width:18px!important;height:18px!important;min-height:18px!important;margin:0!important}
 html body.djp-authenticated #detail #partyofficeP #partyofficeInvitations>form>:is(p,div){grid-column:1 / -1;margin:0;font-size:13px;line-height:1.5}
 html body.djp-authenticated #detail #partyofficeP #partyofficeInvitations>form>button{min-width:0;max-width:100%;min-height:44px;padding:10px 14px;font-size:14px;line-height:1.4;white-space:normal}
}
@media screen and (max-width:1100px){
 html body.djp-authenticated #detail #partyofficeP .partyoffice-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media screen and (max-width:700px){
 html body.djp-authenticated #detail #partyofficeP .partyoffice-state{grid-template-columns:minmax(0,1fr)}
 html body.djp-authenticated #detail #partyofficeP .partyoffice-state>button{justify-self:start}
}
@media screen and (max-width:600px){
 html body.djp-authenticated #detail .music-final-box{padding:14px!important;gap:14px 12px}
 html body.djp-authenticated #detail #partyofficeP .partyoffice-tiles,html body.djp-authenticated #detail #partyofficeP #partyofficeInvitations>form{grid-template-columns:minmax(0,1fr)}
}
