@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600&display=swap');
html[lang="es"] .people-link{font-size:0}html[lang="es"] .people-link:after{content:"Usuarios";font-size:13px}
.user-labels,.user-card>summary{grid-template-columns:minmax(210px,1.35fr) minmax(230px,1.5fr) minmax(135px,.65fr) 100px!important}.manage-btn{justify-self:end}@media(max-width:850px){.user-labels,.user-card>summary{min-width:700px!important}.access-panel{min-width:700px}}
.access-table{table-layout:fixed}.access-table th:nth-child(1),.access-table td:nth-child(1){width:32%}.access-table th:nth-child(2),.access-table td:nth-child(2){width:185px}.access-table .role-description{overflow-wrap:anywhere}
.user-editor{margin:0;padding:0}.user-editor>summary{display:none}.user-editor-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px;align-items:end;margin-top:12px}.user-editor-form label{display:grid;gap:5px;color:#738196;font-size:11px;font-weight:800}.user-editor-form input{height:36px;min-width:0;border:1px solid #dfe6ef;border-radius:8px;padding:7px 9px;font:inherit}.user-editor-form p{grid-column:1/-1;margin:0;color:#738196;font-size:12px}@media(max-width:850px){.user-editor-form{grid-template-columns:repeat(2,minmax(0,1fr))}.user-editor-form .btn{grid-column:span 2}}
.user-actions{display:flex;justify-content:flex-end;gap:6px}.user-actions .manage-btn{padding:0 9px}
.workspace-nav{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0;font-size:13px;font-weight:700}.workspace-nav a{padding:7px 9px;white-space:nowrap}.workspace-nav .back-link{color:var(--muted);border-color:transparent}.workspace-nav .calendar-tab{max-width:170px;overflow:hidden;text-overflow:ellipsis}.workspace-nav .active{color:#fff;background:var(--accent);border-color:var(--accent);box-shadow:0 2px 6px rgba(48,74,128,.18)}@media(max-width:650px){header{gap:10px}.workspace-nav{gap:4px;font-size:12px}.workspace-nav a{padding:6px 7px}.workspace-nav .calendar-tab{max-width:76px}.workspace-nav .back-link{display:none}}
.app-header{min-height:40px}.calendar-context{display:flex;align-items:center;gap:9px;min-width:0;font-size:13px;font-weight:700}.calendar-context a{color:var(--muted);border-color:transparent;padding:7px 9px}.calendar-context span{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-subnav{display:flex;align-items:center;gap:7px;margin:18px 0 0 auto;padding:7px;background:#eef2f7;border:1px solid var(--line);border-radius:11px;width:max-content}.calendar-subnav a{color:#526176;text-decoration:none;padding:8px 12px;border-radius:7px;font-size:13px;font-weight:700}.calendar-subnav a.active{background:#fff;color:var(--accent);box-shadow:0 1px 3px rgba(33,54,89,.12)}@media(max-width:650px){.app-header{align-items:center}.calendar-context{font-size:12px;gap:3px}.calendar-context a{padding:6px}.calendar-context span{max-width:116px}.calendar-subnav{margin:14px 0 0;width:100%;justify-content:space-around;gap:2px}.calendar-subnav a{padding:8px 9px}}
.calendar-navigation{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:18px}.workspace-title{margin:0;font:600 17px/1.15 'DM Sans',sans-serif;letter-spacing:-.02em;color:#263a5a}.calendar-navigation .calendar-subnav{margin:0}.calendar-context span{display:none}@media(max-width:650px){.calendar-navigation{display:block;margin-top:14px}.workspace-title{font-size:17px;margin:0 0 10px}.calendar-navigation .calendar-subnav{margin:0;width:100%;justify-content:space-around}}
.grid-day>b.today-header{background:transparent!important;color:#2463c9!important;font-weight:700}
.picker .eraser.selected{background:#8f2637!important;box-shadow:0 0 0 3px #fde1e5,inset 0 0 0 1px rgba(255,255,255,.45);transform:translateY(-1px)}
.picker .eraser{min-width:116px;justify-content:center}
.grid-day>b{height:46px!important;display:flex!important;align-items:center;justify-content:center;padding:8px!important;border-bottom:1px solid var(--line);text-align:center}.grid-day>b.today-header{background:#e1eaff;color:#304a80;border-radius:7px}.times{padding-top:46px!important}
.hour-grid{grid-template-columns:58px repeat(var(--calendar-days,5),1fr)!important}.hour-grid.with-weekends{min-width:900px}.times{grid-template-rows:repeat(var(--calendar-slots,24),28px)!important}@media(max-width:650px){.hour-grid.with-weekends{min-width:900px}}
:root{--ink:#202d3d;--muted:#738196;--bg:#f6f7f9;--panel:#fff;--line:#e3e8ef;--accent:#304a80}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif}main{max-width:1180px;margin:auto;padding:25px 40px 60px}header{display:flex;justify-content:space-between;align-items:center}header b{font-size:21px}header i{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:10px;background:var(--accent);color:#fff;font:20px Fraunces}header a{color:var(--ink);text-decoration:none;border:1px solid var(--line);padding:9px 11px;border-radius:9px}.hero{max-width:720px;padding:54px 0 31px}.hero p{font-size:12px;letter-spacing:.1em;font-weight:700;color:var(--muted)}h1{font:600 clamp(34px,5vw,53px)/1.05 Fraunces;margin:10px 0 16px;letter-spacing:-1px}.hero span{font-size:17px;color:var(--muted);line-height:1.55}.picker{display:flex;align-items:center;gap:15px;flex-wrap:wrap;background:var(--panel);border:1px solid var(--line);border-radius:15px;padding:14px 16px;margin-bottom:17px}.chips{display:flex;gap:8px}.chip{border:1px solid var(--line);background:#fff;border-radius:20px;padding:8px 12px;font-weight:600}.chip i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:7px}.chip.selected{outline:2px solid var(--accent);outline-offset:1px}.picker p{font-size:13px;color:var(--muted);margin:0}.picker form{margin-left:auto}.picker button{padding:10px 13px;background:var(--accent);border:0;border-radius:9px;color:#fff;font-weight:700}.picker button:disabled{opacity:.4}.grid-card{padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:16px;overflow:auto}.hour-grid{display:grid;grid-template-columns:58px repeat(5,1fr);min-width:720px}.times{padding-top:38px;display:grid;grid-template-rows:repeat(22,28px)}.times span{font-size:10px;color:var(--muted);transform:translateY(-6px)}.grid-day>b{display:block;height:38px;padding:0 10px;color:var(--muted);font-size:12px}.cells{border-left:1px solid var(--line);background:repeating-linear-gradient(to bottom,#fff 0 27px,#edf0f4 27px 28px)}.grid-day:last-child .cells{border-right:1px solid var(--line)}.cell{display:block;width:100%;height:28px;border:0;border-bottom:1px solid transparent;background:transparent;cursor:pointer}.cell:hover{background:#edf2ff}.cell.on{background:#cfdcf7;box-shadow:inset 3px 0 var(--accent)}.setup{padding:28px;background:#fff;border:1px solid var(--line);border-radius:16px;max-width:570px}.setup form{display:flex;gap:8px;margin-top:18px}.setup input{padding:10px;border:1px solid var(--line);border-radius:8px}.setup button{border:0;border-radius:8px;background:var(--accent);color:white;padding:10px 13px}@media(max-width:650px){main{padding:18px 15px}.hero{padding:40px 0 25px}.hero span{font-size:15px}.picker p{order:2;width:100%}.picker form{margin-left:0}.grid-card{padding:12px}.hour-grid{min-width:660px}}
/* Session action in the Calendars home header. */
.header-actions { align-items: center; }
.logout-form { margin: 0; }
.logout-form button { border: 0; border-radius: 8px; background: #edf1f7; color: #40506a; padding: 7px 9px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.logout-form button:hover { background: #e1e7f0; color: #202d3d; }

/* A single account menu keeps the home header equally calm on every screen size. */
.account-menu { position: relative; }
.account-menu > summary { display: flex; align-items: center; gap: 7px; list-style: none; padding: 7px 10px; border: 1px solid #dce4ef; border-radius: 9px; background: #fff; color: #304a80; font-size: 13px; font-weight: 800; cursor: pointer; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu > summary span { font-size: 16px; line-height: 1; }
.account-menu > summary em { font-style: normal; }
.account-menu[open] > summary { background: #edf3ff; border-color: #b7c7e6; }
.account-menu-panel { position: absolute; z-index: 10; top: calc(100% + 8px); right: 0; display: grid; min-width: 176px; padding: 6px; border: 1px solid #dfe6ef; border-radius: 11px; background: #fff; box-shadow: 0 12px 28px rgba(31, 52, 91, .16); }
.account-menu-panel a, .account-menu-panel button { display: flex; align-items: center; width: 100%; min-height: 35px; padding: 7px 9px; border: 0; border-radius: 7px; background: transparent; color: #34445c; font: inherit; font-size: 13px; font-weight: 700; text-align: left; text-decoration: none; cursor: pointer; }
.account-menu-panel a:hover, .account-menu-panel button:hover { background: #edf3ff; color: #304a80; }
.account-menu-panel form { margin: 3px 0 0; padding-top: 3px; border-top: 1px solid #edf0f4; }
.account-menu-panel form button { color: #a43140; }
.account-menu-panel form button:hover { background: #fff1f2; color: #a43140; }

/* Viewers can read reports, but creation and deletion stay out of their UI. */
body[data-can-edit="false"] .box:first-of-type,
body[data-can-edit="false"] .report-actions form { display: none; }
body[data-can-create-calendar="false"] .add-tile { display: none; }
