*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:linear-gradient(135deg,#e9e3d8 0%,#f3eee6 48%,#e6dfd3 100%);color:#292621;min-height:100vh}header{background:linear-gradient(120deg,#27231e,#40372b);color:#fff;padding:15px 16px;border-bottom:1px solid #b08a5266;box-shadow:0 5px 20px #55462f26}.brand-header{display:flex;align-items:center;gap:12px}.brand-header h1{margin:0;font-family:Georgia,serif;font-size:21px;letter-spacing:.2px}.brand-header p{margin:3px 0 0;color:#d8bd91;font-size:10px;letter-spacing:2.5px;font-weight:800}.logo-mark{width:48px;height:37px;border:2.5px solid #c7a36a;border-radius:10px;position:relative;flex:none;box-shadow:0 0 0 1px #ffffff12 inset}.logo-mark:before{content:"";position:absolute;width:14px;height:14px;border:2.5px solid #c7a36a;border-radius:50%;left:14px;top:8px}.logo-mark:after{content:"";position:absolute;width:13px;height:5px;background:#c7a36a;border-radius:4px;left:7px;top:-7px}.logo-mark.small{width:45px;height:34px}.user-badge{display:block;margin:8px 0 0 57px;color:#d7d0c5;font-size:11px}.mini-brand{display:flex;align-items:center;gap:10px;margin-bottom:15px;color:#312c25}.mini-brand .tiny{width:38px;height:30px;border-color:#b08a52}.mini-brand .tiny:before{width:11px;height:11px;border-color:#b08a52;left:11px;top:6px}.mini-brand .tiny:after{background:#b08a52;width:11px;left:6px;top:-6px}.mini-brand b{display:block;font-family:Georgia,serif;font-size:17px}.mini-brand span{display:block;font-size:9px;letter-spacing:2px;color:#9a7949;font-weight:800}main{max-width:1000px;margin:auto;padding:14px}.card{background:rgba(255,255,255,.9);border:1px solid #d9cfbf;border-radius:16px;padding:14px;margin-bottom:12px;box-shadow:0 6px 22px #5b493015}input,select,textarea{width:100%;padding:11px;border:1px solid #cfc4b4;background:#fffdfa;color:#292621;border-radius:10px;font:inherit;margin-top:5px;outline:none}input:focus,select:focus,textarea:focus{border-color:#b08a52;box-shadow:0 0 0 3px #b08a521c}textarea{min-height:80px}label{font-size:12px;font-weight:800;display:block;margin-top:10px;color:#62594e}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.btn{border:0;border-radius:10px;padding:10px 14px;font-weight:800;cursor:pointer;text-decoration:none;display:inline-block;transition:.18s ease}.btn:hover{transform:translateY(-1px)}.primary{background:#2b2722;color:#fff;box-shadow:0 5px 14px #2b27222b}.secondary{background:#e8e0d4;color:#39332b}.danger{background:#f7dddd;color:#963d3d}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.hidden{display:none!important}.muted{font-size:12px;color:#746d64}.tag{background:#eee4d2;color:#765728;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800}.login-card h2{margin-top:4px}nav{display:flex;gap:6px;overflow:auto;background:rgba(255,255,255,.94);padding:8px;border-bottom:1px solid #d7ccbc;position:sticky;top:0;z-index:10;box-shadow:0 3px 12px #4b3c2918}nav button{border:0;padding:9px 12px;border-radius:9px;font-weight:800;white-space:nowrap;background:#eee8df;color:#4a433a}nav button.active{background:#2b2722;color:#fff;box-shadow:0 4px 10px #2b272226}.view{display:none}.view.active{display:block}.lead{margin-bottom:10px}.lead h3{margin:0 0 5px;color:#312a23}.actions{margin-top:9px}.metric{background:rgba(255,255,255,.9);border:1px solid #d9cfbf;border-radius:16px;padding:15px;display:flex;flex-direction:column;gap:4px;box-shadow:0 6px 20px #5b493012}.metric b{font-size:22px}.metric span{font-size:12px;color:#756d63}.toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:#2b2722;color:#fff;padding:10px 14px;border-radius:10px;display:none;z-index:100;border:1px solid #c7a36a}.event-input{margin-top:8px;padding:8px;background:#f4eee5;border-radius:10px}.event-input input{margin-top:0}.event-row{margin-top:9px;padding:10px;background:#f4eee5;border:1px solid #ded3c2;border-radius:10px}.event-list{margin-top:10px}.event-list>b{font-size:13px}#notifCount{display:inline-block;min-width:12px}.actions .btn{margin-right:2px}.metric{min-height:74px}.tag{white-space:nowrap}@media(min-width:700px){.grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:520px){main{padding:10px}.grid{grid-template-columns:1fr}.btn{padding:10px 12px}nav{padding:7px}nav button{font-size:12px;padding:8px 10px}}
/* Dashboard launcher cards */
.dashboard-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}
.dashboard-tile{appearance:none;border:1px solid #d8cdbd;background:linear-gradient(145deg,#fffdfa,#f3eee6);border-radius:20px;min-height:118px;padding:18px 16px;display:flex;align-items:center;gap:13px;text-align:left;color:#292621;cursor:pointer;box-shadow:0 7px 20px #6b56351a;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.dashboard-tile:hover{transform:translateY(-2px);box-shadow:0 10px 25px #6b56352b;border-color:#b08a52}
.dashboard-tile:active{transform:translateY(0)}
.dashboard-icon{width:48px;height:48px;min-width:48px;border-radius:15px;background:#29251f;color:#f4dfbd;display:grid;place-items:center;font-size:25px;font-weight:700}
.dashboard-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.dashboard-copy strong{font-size:17px;line-height:1.15}
.dashboard-copy small{font-size:12px;line-height:1.35;color:#746c62}
.dashboard-arrow{font-size:28px;color:#b08a52;font-weight:700}
@media(max-width:520px){.dashboard-menu{grid-template-columns:1fr 1fr;gap:10px}.dashboard-tile{min-height:112px;padding:14px 12px;border-radius:17px;gap:10px}.dashboard-icon{width:42px;height:42px;min-width:42px;border-radius:13px;font-size:21px}.dashboard-copy strong{font-size:15px}.dashboard-copy small{font-size:11px}.dashboard-arrow{font-size:24px}}

/* v19 navigation cleanup */
html,body{width:100%;max-width:100%;overflow-x:hidden}
main{width:100%;max-width:1000px}
.view-topbar{display:flex;align-items:center;margin:0 0 12px;padding:0 2px}
.back-dashboard{display:inline-flex;align-items:center;gap:6px}
@media(max-width:520px){main{padding:10px;width:100%;}.view-topbar{margin-bottom:10px}}
/* v20: dashboard is the launcher; no upper navigation bar */
body > nav, #app > nav, nav{display:none!important}
.dashboard-menu{margin-top:2px}
.view-topbar{display:flex;align-items:center;margin:0 0 12px;padding:0 2px}
.back-dashboard{display:inline-flex;align-items:center;gap:6px}
@media(max-width:520px){.view-topbar{margin-bottom:10px}.dashboard-menu{margin-bottom:16px}}
html,body{max-width:100%;overflow-x:hidden}.app,.shell,.view{max-width:100%;box-sizing:border-box}.dashboard-menu{width:100%;box-sizing:border-box}

.header-main{display:flex;align-items:center;justify-content:space-between;gap:12px}.header-logout{white-space:nowrap;padding:9px 13px}.header-main h1{margin-bottom:2px}.header-main p{margin:0 0 2px}.header-main .muted{display:block}
@media(max-width:560px){.header-main{align-items:flex-start}.header-logout{font-size:13px;padding:8px 10px}}
.logout-dashboard{white-space:nowrap}
@media(max-width:560px){.header-main{gap:8px}.header-main>div:first-child{min-width:0}.header-main h1{font-size:26px}.header-logout{flex:0 0 auto}.logout-dashboard{font-size:13px;padding:8px 10px}}

.vote-modal{display:none;position:fixed;inset:0;z-index:9999;align-items:center;justify-content:center;padding:16px}.vote-modal.open{display:flex}.vote-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62)}.vote-modal-card{position:relative;width:min(620px,100%);max-height:85vh;overflow:auto;background:#fff;border-radius:16px;padding:18px;box-shadow:0 20px 60px rgba(0,0,0,.28)}.vote-report-list{margin-top:16px;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.vote-report-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-bottom:1px solid #e5e7eb}.vote-report-row:last-child{border-bottom:0}.vote-status{font-weight:700;border-radius:999px;padding:5px 10px;font-size:13px}.vote-available{background:#dcfce7;color:#166534}.vote-interested{background:#fef3c7;color:#92400e}.vote-not-available{background:#fee2e2;color:#991b1b}
