/* v18.91 — the actual organiser / Your Events landing page.
   Founder Android screenshot showed v18.90 only affected manageView, not this page.
   Restrained paper, photo-first full-proportion event cards, elegant hierarchy.
   Existing event RPCs, test mode, creator auth, Stripe and link handlers untouched. */
#dashboardView{
 --p91-paper:#f9f5ec;--p91-white:#fffdf9;--p91-ink:#29241f;
 --p91-muted:#74695b;--p91-gold:#b28843;--p91-line:#eadfce;
 background:var(--p91-paper);
 max-width:1090px;
 margin:0 auto;
}
#dashboardView #dashboardSignedIn.dashboard-premium-shell{
 gap:18px;
 padding-bottom:28px;
}
#dashboardView .dashboard-hero-card{
 background:#fbf7ef!important;border:0;border-bottom:1px solid var(--p91-line);
 box-shadow:none!important;border-radius:0;padding:26px 6px 22px;
}
#dashboardView .dashboard-hero-card::after{display:none}
#dashboardView .dashboard-hero-inner{
 display:flex;align-items:center;justify-content:space-between;gap:24px;
}
#dashboardView .dashboard-kicker{
 color:#967037;font:800 10px/1.4 system-ui,sans-serif;
 letter-spacing:.14em;margin-bottom:7px;
}
#dashboardView .dashboard-title{
 font-family:Georgia,serif;font-weight:600;font-size:clamp(34px,6.6vw,49px);
 line-height:1.04;letter-spacing:-.035em;color:var(--p91-ink);
 margin:0 0 9px;
}
#dashboardView .dashboard-intro{
 font-size:13px;line-height:1.45;color:var(--p91-muted);
 max-width:540px;margin:0;
}
#dashboardView .dashboard-account-row{margin-top:14px;gap:7px}
#dashboardView #signedInAccount,
#dashboardView .credit-pill{
 max-width:100%;width:auto!important;
 display:inline-flex;justify-content:flex-start!important;text-align:left!important;
 white-space:normal;
 box-sizing:border-box;font-size:10px;line-height:1.3;
 border-radius:999px!important;padding:7px 11px!important;min-height:29px!important;
 box-shadow:none!important;
}
#dashboardView #signedInAccount{background:#fffdfa!important;border:1px solid var(--p91-line)!important;color:#736759!important}
#dashboardView .credit-pill{background:#eae0cb!important;border:1px solid #dbcaa9!important;color:#6e532d!important}
#dashboardView .dashboard-new-btn{
 width:auto;border:1px solid #bd974f!important;
 background:linear-gradient(120deg,#d8b86f,#bb8e38)!important;
 color:#282116!important;box-shadow:0 5px 14px rgba(144,100,29,.13)!important;
 border-radius:15px!important;min-height:46px!important;
 padding:12px 21px!important;font-size:13px!important;font-weight:800!important;
}
#dashboardView .dashboard-events-card{
 padding:22px;background:var(--p91-white)!important;
 border:1px solid var(--p91-line)!important;border-radius:23px!important;
 box-shadow:0 8px 24px rgba(74,55,29,.045)!important;
}
#dashboardView .dashboard-section-head{margin-bottom:5px;align-items:center}
#dashboardView .dashboard-section-title{
 font-family:Georgia,serif;font-size:clamp(25px,4vw,31px);
 font-weight:600;letter-spacing:-.035em;color:var(--p91-ink);
}
#dashboardView .dashboard-section-intro{
 margin:0 0 16px!important;font-size:12px;line-height:1.4;
 color:var(--p91-muted);
}
#dashboardView .dashboard-count-pill{
 min-height:30px!important;border-radius:999px!important;padding:6px 10px!important;
 background:#f6eee0!important;border:1px solid var(--p91-line)!important;
 color:#86632e!important;font-size:10px!important;box-shadow:none;
}
#dashboardView #eventList{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:14px!important;align-items:start;overflow:visible;
}
#dashboardView #eventList>.dashboard-event-card,
#dashboardView #eventList>.dashboard-event-card.dashboard-event-featured{
 min-width:0;width:100%;max-width:100%;
 display:flex!important;flex-direction:column!important;
 position:relative;padding:0!important;align-items:stretch;
 border:1px solid #e8dccb!important;border-radius:18px!important;
 background:#fffefa!important;color:var(--p91-ink)!important;
 box-shadow:0 5px 18px rgba(42,33,20,.045)!important;
 gap:0!important;overflow:hidden;grid-column:auto!important;
 transform:none!important;
}
#dashboardView #eventList>.dashboard-event-card:hover,
#dashboardView #eventList>.dashboard-event-card:focus-visible{
 border-color:#c9a56c!important;
 box-shadow:0 8px 25px rgba(42,33,20,.10)!important;
}
#dashboardView #eventList .dashboard-event-art,
#dashboardView #eventList .dashboard-event-featured .dashboard-event-art{
 display:grid;place-items:center;
 position:relative;overflow:hidden;inset:auto;order:0;
 width:100%!important;height:auto!important;min-height:0!important;
 aspect-ratio:1.64!important;
 background:linear-gradient(150deg,#dfd5c4,#f5ebdf)!important;
 border:0;border-radius:0;
}
#dashboardView #eventList .dashboard-event-art img{
 position:absolute;inset:0;display:block;
 width:100%!important;height:100%!important;
 object-fit:contain!important;object-position:center center!important;
 border:0!important;border-radius:0!important;background:transparent!important;
}
#dashboardView #eventList .dashboard-event-symbol{
 color:#9c7b47!important;font:500 45px/1 Georgia,serif;
 text-shadow:none;
}
#dashboardView #eventList .dashboard-event-copy,
#dashboardView #eventList .dashboard-event-featured .dashboard-event-copy{
 order:1;display:flex;align-items:flex-start;justify-content:flex-start;
 flex-direction:column;width:100%;min-width:0;min-height:100px;
 padding:14px 16px 17px!important;gap:0!important;
 background:#fffefa;box-sizing:border-box;
}
#dashboardView #eventList .dashboard-event-type{
 display:inline-block;max-width:100%;
 font:800 9px/1.25 system-ui,sans-serif;letter-spacing:.13em;
 color:#94713b!important;margin-bottom:7px!important;text-transform:uppercase;
}
#dashboardView #eventList .dashboard-event-name,
#dashboardView #eventList .dashboard-event-featured .dashboard-event-name{
 font:600 clamp(19px,4.7vw,27px)/1.12 Georgia,serif!important;
 color:#30261f!important;letter-spacing:-.03em;
 white-space:normal!important;display:-webkit-box;
 -webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
 overflow:hidden;text-overflow:ellipsis;margin:0 0 9px!important;
}
#dashboardView #eventList .dashboard-event-date{
 margin-top:auto;color:#796d5e!important;
 font:600 11px/1.35 system-ui,sans-serif!important;
 padding-right:28px;
}
#dashboardView #eventList .dashboard-event-arrow{
 bottom:14px;right:14px;color:#9c7539!important;font-size:17px;
}
#dashboardView #eventList .dashboard-event-featured::after{
 top:10px;left:10px;right:auto;bottom:auto;
 background:rgba(35,31,26,.79);color:#fff5e1;
 padding:6px 10px;letter-spacing:.06em;font-size:9px;
}
#dashboardView .dashboard-tools-heading{display:none!important}
#dashboardView .dashboard-account-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#dashboardView .p91-account-panel,
#dashboardView .p91-creator-panel{
 border:1px solid var(--p91-line);border-radius:17px;
 background:#fffdf9;padding:0;box-shadow:none;overflow:hidden;
}
#dashboardView .p91-account-panel summary,
#dashboardView .p91-creator-panel summary{
 list-style:none;cursor:pointer;position:relative;
 padding:16px 42px 16px 17px;color:#4f4333;
 font:700 13px/1.3 system-ui,sans-serif;min-height:49px;box-sizing:border-box;
}
#dashboardView .p91-account-panel summary::-webkit-details-marker,
#dashboardView .p91-creator-panel summary::-webkit-details-marker{display:none}
#dashboardView .p91-account-panel summary::after,
#dashboardView .p91-creator-panel summary::after{
 content:'+';position:absolute;right:16px;top:12px;color:#97723a;font-size:20px;
}
#dashboardView .p91-account-panel[open] summary::after,
#dashboardView .p91-creator-panel[open] summary::after{content:'−'}
#dashboardView .p91-account-panel .dashboard-account-tools{padding:0 12px 13px}
#dashboardView .p91-account-panel .dashboard-tool-card{
 box-shadow:none;border-radius:12px;background:#fffefa;
 padding:11px;grid-template-columns:auto 1fr;
}
#dashboardView .p91-account-panel .dashboard-tool-card h3{font-size:16px}
#dashboardView .p91-account-panel .dashboard-tool-card p{font-size:11px}
#dashboardView .p91-account-panel .dashboard-tool-card .btn{min-height:40px}
#dashboardView .p91-creator-panel #creatorToolsCard{
 margin:0!important;border-radius:0!important;border:0!important;
 box-shadow:none!important;
}
@media(max-width:760px){
 #dashboardView{padding:8px 12px 105px!important}
 #dashboardView #dashboardSignedIn.dashboard-premium-shell{gap:12px}
 #dashboardView .dashboard-hero-card{padding:20px 4px 14px!important}
 #dashboardView .dashboard-hero-inner{display:flex;flex-direction:column;align-items:stretch;gap:11px}
 #dashboardView .dashboard-title{font-size:35px}
 #dashboardView .dashboard-intro{font-size:12px;max-width:400px}
 #dashboardView .dashboard-account-row{margin-top:10px}
 #dashboardView .dashboard-new-btn{width:100%!important;min-height:47px!important}
 #dashboardView .dashboard-events-card{padding:14px!important;border-radius:19px!important}
 #dashboardView #eventList{grid-template-columns:1fr!important;gap:12px!important}
 #dashboardView #eventList .dashboard-event-card,
 #dashboardView #eventList .dashboard-event-featured{
  display:flex!important;grid-template-columns:none!important;
 }
 #dashboardView #eventList .dashboard-event-art,
 #dashboardView #eventList .dashboard-event-featured .dashboard-event-art{
  aspect-ratio:1.7!important;height:auto!important;min-height:0!important;
 }
 #dashboardView #eventList .dashboard-event-copy,
 #dashboardView #eventList .dashboard-event-featured .dashboard-event-copy{
  min-height:92px;padding:12px 14px 16px!important;
 }
 #dashboardView #eventList .dashboard-event-name,
 #dashboardView #eventList .dashboard-event-featured .dashboard-event-name{
  font-size:22px!important;
 }
 #dashboardView .p91-account-panel .dashboard-account-tools{grid-template-columns:1fr}
}
@media(max-width:390px){
 #dashboardView .dashboard-title{font-size:32px}
 #dashboardView .dashboard-section-title{font-size:25px}
 #dashboardView #eventList .dashboard-event-name,
 #dashboardView #eventList .dashboard-event-featured .dashboard-event-name{font-size:20px!important}
 #dashboardView #dashboardSignedIn{min-width:0}
}
@media(prefers-reduced-motion:reduce){
 #dashboardView .dashboard-event-card{transition:none}
}
