:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#37352f;background:#fff;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit}button,input,select,textarea{font:inherit}button,.button{cursor:pointer;border:1px solid #deddd9;background:#fff;color:#37352f;border-radius:6px;padding:9px 14px;text-decoration:none}button:hover,.button:hover{background:#f5f5f3}button:focus-visible,a:focus-visible,.table:focus-visible{outline:2px solid #2383e2;outline-offset:3px}.page-toolbar{height:45px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;font-size:13px;gap:15px}.page-toolbar span{display:flex;align-items:center;gap:8px}.page-toolbar img{width:19px;height:19px;object-fit:contain}.page-toolbar a{color:#787774;text-decoration:none}.page-cover{height:260px;background:url('/assets/capa.jpg') center 50%/cover no-repeat}.agenda-main{width:calc(100% - 120px);max-width:1440px;margin:0 auto;padding:0 0 70px;position:relative}.page-emblem{display:block;width:114px;height:114px;object-fit:contain;margin-top:-65px;position:relative}.agenda-main h1{font-size:38px;line-height:1.2;letter-spacing:-1.1px;font-weight:720;margin:48px 0 24px;color:#292927}.management-tabs{display:flex;gap:8px;align-items:center;border-bottom:1px solid #efeeec;padding-bottom:12px;overflow-x:auto;margin-bottom:26px}.management-tabs button{white-space:nowrap;font-weight:600;font-size:15px;border:0;color:#787774;padding:8px 14px;border-radius:20px}.management-tabs button.selected{background:#f1f0ef;color:#37352f}.agenda-page h2{font-size:14px;font-weight:550;color:#787774;margin:0 0 12px;padding-left:10px}.overview{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px;margin:0 0 38px}.widget-box{border:1px solid #e9e8e5;border-radius:12px;background:white;box-shadow:0 5px 18px #00000003;min-height:200px}.next-session{padding:20px 22px}.next-session h3{font-size:16px;line-height:1.45;margin:0 0 13px;font-weight:600;white-space:pre-line}.next-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px}.next-session p{font-size:14px;line-height:1.55;white-space:pre-line;margin:14px 0 0}.next-presenter{color:#787774}.metric{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:26px 12px;text-align:center}.metric h3{font-size:16px;margin:0 0 8px;font-weight:650}.metric strong{font-size:60px;line-height:1.1;font-weight:700;letter-spacing:-1px}.green{color:#48866a}.amber{color:#cb9634}.blue{color:#427fa8}.purple{color:#9065b0}.session-section{margin:0 0 36px}.table{max-height:490px;overflow:auto;border:1px solid #e9e8e5;border-radius:12px;scrollbar-width:thin;scrollbar-color:#d9d8d5 transparent}table{width:100%;min-width:1160px;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:14px;text-align:left}th{color:#8a8985;background:#fff;position:sticky;top:0;z-index:1;font-weight:500;height:42px;white-space:nowrap;border-bottom:1px solid #e9e8e5}th,td{padding:10px 12px}td{line-height:1.5;vertical-align:top;white-space:pre-line;border-right:1px solid #efeeec;border-bottom:1px solid #efeeec}td:last-child{border-right:0}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8f8f7}.date-col{width:112px}.kind-col{width:98px}.degree-col{width:115px}.title-col{width:260px}.officer-col{width:115px}.studies-col{width:320px}.presenter-col{width:140px}.session-title{font-weight:560}.tag{display:inline-block;border-radius:3px;line-height:1.25;padding:2px 6px;font-size:13px;white-space:nowrap}.tag-green{background:#deebe3;color:#3d6650}.tag-red{background:#f9dedd;color:#a34d4b}.tag-gray{background:#f0efed;color:#595854}.tag-blue{background:#dceafa;color:#3b628c}.tag-purple{background:#eee1f3;color:#79558c}.degree-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:0 0 38px}.degree-overview .metric{min-height:190px}.calendar-guide{margin-top:44px;max-width:980px;font-size:15px;line-height:1.65}.agenda-page .calendar-guide h2{font-size:24px;font-weight:650;color:#37352f;margin:0 0 16px;padding:0}.calendar-guide li{padding:5px 0 8px 5px}.calendar-callout{margin:15px 0 5px;padding:16px 20px;background:#f3f2f1;border-radius:4px}.calendar-callout a{text-underline-offset:3px}.empty{font-size:14px;color:#787774;padding:12px}.error{color:#b83228;white-space:pre-wrap}.error:empty{display:none}
/* Shared administration controls */
body:not(.agenda-page) header{padding:24px 40px;border-bottom:1px solid #e9e8e5;display:flex;align-items:center;justify-content:space-between;gap:24px}body:not(.agenda-page) h1{font-size:28px;margin:8px 0}body:not(.agenda-page) main{max-width:1250px;margin:auto;padding:30px 24px}nav,.actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}input,select,textarea{border:1px solid #d4d3cf;border-radius:4px;padding:10px;background:white;width:100%}label{display:grid;gap:6px;font-size:14px}textarea{min-height:100px}.card{border:1px solid #e9e8e5;padding:24px;border-radius:8px;margin:18px 0}.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.full{grid-column:1/-1}#login{max-width:420px;margin:45px auto}#login form{display:grid;gap:18px}[hidden]{display:none!important}.muted{color:#787774;font-size:14px}details{margin:20px 0}
@media(min-width:1700px){.agenda-main{width:calc(100% - 190px)}}@media(max-width:1000px){.agenda-main{width:calc(100% - 64px)}.overview{gap:14px;grid-template-columns:1.6fr 1fr 1fr}.metric h3{font-size:14px}.metric strong{font-size:48px}.next-session{padding:17px}.degree-overview{gap:14px}}@media(max-width:700px){.page-toolbar{padding:0 16px;font-size:12px}.page-cover{height:170px}.agenda-main{width:calc(100% - 32px)}.page-emblem{width:86px;height:86px;margin-top:-44px}.agenda-main h1{font-size:29px;letter-spacing:-.6px;margin:30px 0 20px}.management-tabs{gap:0;margin-bottom:22px}.management-tabs button{font-size:13px;padding:8px 10px}.overview{grid-template-columns:1fr 1fr;gap:20px 12px}.next-widget{grid-column:1/-1}.widget-box{min-height:150px}.next-session{min-height:0;padding:20px}.metric strong{font-size:46px}.degree-overview{gap:10px}.degree-overview .metric{min-height:145px}.degree-overview h2{font-size:12px;padding-left:0;min-height:30px}.degree-overview .metric h3{font-size:12px}.degree-overview .metric strong{font-size:40px}.calendar-guide{font-size:14px}.agenda-page .calendar-guide h2{font-size:22px}.calendar-guide ol{padding-left:23px}.grid{grid-template-columns:1fr}.full{grid-column:auto}.page-toolbar a{font-size:11px}body:not(.agenda-page) header{padding:20px}}
/* Administration: database views and session editor */
body.admin-page .admin-header{padding:17px 32px;position:sticky;top:0;z-index:5;background:#ffffffed;backdrop-filter:blur(10px)}.admin-brand{display:flex;align-items:center;gap:12px;text-decoration:none}.admin-brand img{width:48px;height:48px;object-fit:contain}.admin-brand span{display:grid;gap:5px}.admin-brand strong{font-size:16px}.admin-brand small{color:#787774;font-size:13px}.account-nav{display:flex;align-items:center;gap:20px;font-size:13px}.account-nav a{color:#787774;text-decoration:none}#user{font-weight:600;border-left:1px solid #e9e8e5;padding-left:20px}.account-nav button{padding:6px 10px}body.admin-page .admin-main{max-width:none;padding:35px 32px}.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.admin-page .admin-heading h1{font-size:32px;letter-spacing:-.8px;margin:0 0 8px}.admin-heading p{color:#787774;font-size:14px;margin:0}.primary{background:#2383e2;color:white;border-color:#2383e2}.primary:hover{background:#1670c9;color:white}button:disabled{opacity:.55;cursor:wait}.database-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #e9e8e5;padding-bottom:12px}.database-views{gap:4px;flex-wrap:nowrap;overflow-x:auto}.database-views button{border:0;white-space:nowrap;color:#787774;font-weight:600;padding:9px 14px;border-radius:22px}.database-views button[aria-pressed=true]{background:#f1f0ef;color:#37352f}.database-filters{display:flex;align-items:end;flex-wrap:wrap;gap:14px;padding:20px;background:#fafaf9;border-bottom:1px solid #e9e8e5}.database-filters label{font-size:12px;min-width:130px;flex:1}.database-filters label:first-child{min-width:240px;flex:2}.database-filters input,.database-filters select{padding:8px;font-size:13px}.database-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;color:#787774;font-size:12px;padding:14px 4px}.admin-table{max-height:calc(100vh - 300px);border-radius:6px}.admin-table table{min-width:2225px}.admin-table th{height:44px;background:#fff;font-size:13px}.admin-table td{padding:12px;line-height:1.5;font-size:13px}.admin-table th button{padding:0;border:0;color:inherit;background:none}.admin-table .degree-companheiro{background:#e8f3fc}.admin-table .degree-mestre{background:#f3edf9}.admin-table tr.degree-companheiro:hover{background:#dfedfa}.admin-table tr.degree-mestre:hover{background:#ece1f5}.admin-table .degree-aprendiz:hover{background:#f7f7f5}.row-title{display:flex;text-align:left;align-items:start;gap:7px;border:0;padding:0;font-weight:600;white-space:pre-line;background:transparent;line-height:1.5}.row-title:hover{background:transparent;text-decoration:underline;text-underline-offset:3px}.row-title img{width:18px;height:18px;flex-shrink:0;margin-top:1px}.row-actions button{font-size:12px;padding:5px 8px;margin:0 5px 5px 0}.publish-button{color:#26744b;border-color:#abd4b8;background:#f2faf4}.tag-yellow{background:#f7eccb;color:#8a7026}.tag-orange{background:#f9e3d2;color:#a5642d}.notice{padding:12px 16px;border-radius:5px;margin:0 0 18px;font-size:14px}.notice.success{color:#2d6c4b;background:#edf7f0}.notice.error{background:#fff0ed}.session-dialog{width:min(740px,calc(100vw - 32px));max-height:90vh;border:1px solid #e9e8e5;border-radius:12px;padding:28px;box-shadow:0 20px 80px #0003;color:#37352f}.session-dialog::backdrop{background:#24232166}.dialog-header{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:22px}.dialog-header h2{font-size:24px;margin:8px 0}.dialog-header .muted{font-size:11px;letter-spacing:1px}.editor-note{color:#787774;font-size:12px;line-height:1.5;margin:0;padding:12px;background:#f7f7f5;border-radius:5px}.session-dialog textarea[name=title]{min-height:78px}.audit-details{border-top:1px solid #e9e8e5;padding-top:18px;font-size:13px}.audit-details summary{cursor:pointer}.audit-details p{padding:10px 0;border-bottom:1px solid #f0efed}.session-dialog select{width:100%}@media(max-width:850px){body.admin-page .admin-header{padding:14px 16px;flex-wrap:wrap}.account-nav{gap:12px;flex-wrap:wrap}.account-nav #user{padding-left:12px}.admin-page .admin-heading h1{font-size:26px}body.admin-page .admin-main{padding:24px 16px}.database-toolbar{align-items:start;flex-wrap:wrap}.database-views{max-width:100%;font-size:13px}.database-summary{align-items:start}.admin-table{max-height:65vh}.session-dialog{padding:20px}.admin-brand img{width:40px;height:40px}.admin-brand strong{font-size:14px}}
.admin-table tr{background:#fff}.admin-table th:nth-child(9),.admin-table td:nth-child(9){position:sticky;right:180px;box-shadow:-1px 0 #deddd9;z-index:2;background:inherit}.admin-table th:last-child,.admin-table td:last-child{position:sticky;right:0;z-index:2;background:inherit;box-shadow:-1px 0 #e9e8e5}.admin-table thead th:nth-child(9),.admin-table thead th:last-child{z-index:3;background:#fff}
.calendar-reference{color:#8a8985;font-size:12px;margin:-12px 0 24px;text-align:right}
.register-entry{border-top:1px solid #e9e8e5;margin-top:24px;padding-top:20px;display:grid;gap:10px;text-align:center;font-size:13px;color:#787774}.account-dialog,.users-dialog{border:1px solid #e9e8e5;border-radius:12px;padding:28px;color:#37352f;box-shadow:0 20px 80px #0003;max-height:90vh}.account-dialog{width:min(460px,calc(100vw - 32px))}.users-dialog{width:min(980px,calc(100vw - 32px))}.account-dialog::backdrop,.users-dialog::backdrop{background:#24232166}.account-dialog form{display:grid;gap:18px;margin-top:20px}.users-scroll{overflow:auto;margin:20px 0}.users-scroll table{min-width:750px;table-layout:auto;font-size:13px}.users-scroll td:first-child strong,.users-scroll td:first-child span{display:block}.users-scroll td:first-child span{margin-top:5px}.users-scroll button{white-space:nowrap;font-size:12px;padding:6px 10px}.users-footnote{font-size:12px;line-height:1.5}.account-dialog .dialog-header h2,.users-dialog .dialog-header h2{font-size:23px}.account-dialog .muted,.users-dialog>p.muted{line-height:1.5}
.agenda-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;margin:48px 0 26px}.agenda-title-row h1{margin:0}.agenda-title-row select{width:auto;max-width:100%;font-size:13px;font-weight:550;color:#787774;border-color:#e9e8e5;background:#fafaf9;padding:8px 30px 8px 12px;border-radius:6px}.heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}#openManagement{font-size:12px;color:#787774}#currentManagementSelect{width:100%}@media(max-width:700px){.agenda-title-row{margin:30px 0 24px;gap:14px}.agenda-title-row h1{margin:0}.admin-heading .heading-actions{justify-content:flex-end}}
.danger-button{color:#ae4238;border-color:#ecd2cf;background:#fff}.danger-button:hover{background:#fff0ed;color:#94342c}#deleteSession{margin-left:auto}
.mcp-connection{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid #e9e8e5}.mcp-connection p{font-size:12px;line-height:1.6;margin:5px 0}.mcp-connection button{flex-shrink:0}#mcpDialog .actions{margin:12px 0;font-size:13px}#mcpDialog ol{padding-left:22px;line-height:1.7}#mcpKeyForm{display:grid;gap:14px;margin:18px 0}#mcpNewKey{border:1px solid #ddd;padding:16px;margin-top:14px}#mcpNewKey button{margin-top:12px}.mcp-consent{max-width:560px!important}.mcp-consent .card{background:white}.mcp-consent h1{font-size:25px}.mcp-consent form{display:grid;gap:16px}.mcp-consent code{overflow-wrap:anywhere}.mcp-consent .error:empty{display:none}
