/* EpitRend V1.2 core frontend
   VERZIO: V1.3.1 */
:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202124;background:#f4f2f8;line-height:1.45}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}[hidden]{display:none!important}.muted{color:#6b6870}.eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:12px;font-weight:800;color:#6c3796}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#54237e 0 28%,#f5f3f9 28%)}.auth-card{width:min(100%,760px);background:#fff;border-radius:22px;padding:38px;box-shadow:0 24px 70px rgba(38,17,57,.2)}.auth-card h1{font-size:clamp(2rem,6vw,3rem);margin:.25rem 0 .75rem}.stack{display:grid;gap:14px;margin-top:18px}label{display:grid;gap:6px;font-weight:700}input,select,textarea{width:100%;min-height:44px;border:1px solid #d7d0de;border-radius:11px;padding:10px 13px;background:#fff;color:#202124}textarea{resize:vertical;min-height:90px}button{border:0;border-radius:11px;padding:12px 16px;font-weight:800}form button,.primary-btn{background:#5b2a82;color:#fff}.secondary-btn{background:#efe8f5;color:#5b2a82}.ghost-btn{background:transparent;color:inherit;border:1px solid rgba(255,255,255,.25)}.icon-btn{background:transparent;padding:4px 10px;font-size:26px;color:#5b2a82}.notice,.error{padding:12px 14px;border-radius:12px;margin-top:15px}.notice{background:#f3eff8;border:1px solid #ded1ea}.notice.success{background:#edf8f1;border-color:#c8e7d2}.notice.warning{background:#fff8e6;border-color:#f0d994}.error{background:#fff0f0;border:1px solid #edc8c8;color:#9a2525}.twofa-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.qr{width:240px;max-width:100%;display:block;margin:12px auto}.secret{display:block;background:#f6f4f8;border:1px solid #ddd4e4;padding:10px;border-radius:10px;word-break:break-all}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr;background:#f6f4f9}.sidebar{background:#25142f;color:#fff;padding:22px 16px;display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;height:100vh}.brand-block{display:flex;gap:10px;align-items:center;padding:6px 8px 22px}.brand-block small{display:block;opacity:.65;font-size:10px;margin-top:2px}.brand-mark{width:38px;height:38px;border-radius:10px;background:#7c42a7;display:grid;place-items:center;font-weight:900}.sidebar nav{display:grid;gap:7px}.nav-item{text-align:left;background:transparent;color:#eae4ef;border:1px solid transparent;padding:11px 12px}.nav-item.active,.nav-item:hover{background:#3d2450;border-color:#5c3973}.sidebar-bottom{margin-top:auto;display:grid;gap:10px}.session-user{font-size:13px;line-height:1.35}.session-user strong{display:block}.main{padding:28px;min-width:0}.mobile-topbar{display:none}.page-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px}.page-header h1{margin:.2rem 0;font-size:2rem}.widget-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}.widget{background:#fff;border:1px solid #e3dce7;border-radius:16px;padding:18px;grid-column:span 4;box-shadow:0 7px 24px rgba(52,28,68,.06)}.widget.wide{grid-column:span 8}.widget.full{grid-column:1/-1}.widget h3{margin:0 0 12px}.metric-row{display:flex;gap:12px;flex-wrap:wrap}.metric{background:#f7f4fa;border-radius:12px;padding:12px 14px;min-width:110px}.metric strong{display:block;font-size:20px}.list{display:grid;gap:8px}.list-item{padding:10px 0;border-top:1px solid #eee8f0}.list-item:first-child{border-top:0}.status-pill{display:inline-flex;padding:3px 8px;border-radius:999px;background:#eee5f4;color:#5b2a82;font-size:11px;font-weight:800}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.toolbar input{flex:1;min-width:240px}.table-card{background:#fff;border:1px solid #e3dce7;border-radius:16px;overflow:auto;box-shadow:0 7px 24px rgba(52,28,68,.05)}table{width:100%;border-collapse:collapse;min-width:820px}th,td{padding:12px 14px;border-bottom:1px solid #eee8f0;text-align:left;vertical-align:middle}th{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#6c6370;background:#faf8fb}tbody tr:hover{background:#fcfbfd}.table-actions{display:flex;gap:6px;flex-wrap:wrap}.small-btn{padding:7px 10px;border-radius:9px;background:#efe8f5;color:#5b2a82}.small-btn.danger{background:#fff0f0;color:#a02929}.badge-active{background:#e9f8ee;color:#227642}.badge-inactive{background:#f1eef3;color:#6f6874}.settings-card{background:#fff;border-radius:16px;border:1px solid #e3dce7;padding:20px;max-width:900px}.widget-settings{display:grid;gap:8px;margin:16px 0}.widget-setting{display:grid;grid-template-columns:32px 1fr auto;gap:12px;align-items:center;border:1px solid #e6e0e9;border-radius:11px;padding:10px;background:#fff}.drag-handle{color:#8a7c91;cursor:grab;user-select:none}.widget-setting.dragging{opacity:.55}.section-box{margin-top:18px;padding:16px;border:1px solid #e4dce8;border-radius:14px;background:#fbf9fc}.section-title{font-weight:800;margin-bottom:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.form-grid .full{grid-column:1/-1}.competency-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.competency-item{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:10px;align-items:center;background:#fff;border:1px solid #e7e1ea;border-radius:10px;padding:10px}.modal{border:0;border-radius:18px;padding:0;width:min(900px,calc(100% - 28px));max-height:90vh;box-shadow:0 30px 90px rgba(30,14,39,.28)}.modal::backdrop{background:rgba(28,14,36,.48)}.modal form{padding:22px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.owner-sensitive{border-color:#d9c7e6;background:#faf6fd}.toast{position:fixed;right:18px;bottom:18px;z-index:50;background:#25142f;color:#fff;padding:12px 15px;border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.18)}
@media(max-width:1050px){.app-shell{grid-template-columns:220px 1fr}.widget{grid-column:span 6}.widget.wide{grid-column:span 6}.form-grid,.competency-grid{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.mobile-topbar{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#25142f;color:#fff}.main{padding:18px}.page-header{flex-direction:column}.widget,.widget.wide{grid-column:1/-1}}
@media(max-width:620px){.auth-card{padding:24px}.twofa-grid{grid-template-columns:1fr}.form-grid,.competency-grid{grid-template-columns:1fr}.widget-grid{gap:12px}.modal{width:calc(100% - 16px)}}

/* EpitRend V1.3 - beosztas / tavollet / jovalhagyas */
.header-actions,.schedule-toolbar,.schedule-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.schedule-toolbar{justify-content:space-between;margin-bottom:14px}.week-label{font-weight:800;color:#5b2a82}.schedule-board{display:grid;grid-template-columns:repeat(7,minmax(190px,1fr));gap:10px;overflow:auto;padding-bottom:6px}.schedule-day{background:#fff;border:1px solid #e4dce8;border-radius:14px;padding:10px;min-width:190px}.schedule-day-head{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #eee8f0;padding:4px 2px 10px;margin-bottom:8px}.today-dot{padding:3px 7px;border-radius:999px;background:#e8f7ed;color:#277443;font-size:11px;font-weight:800}.schedule-project{border:1px solid #e8e0eb;border-radius:12px;margin-bottom:9px;overflow:hidden}.schedule-project-head{display:flex;justify-content:space-between;gap:8px;padding:8px 9px;background:#faf8fb;font-size:12px}.schedule-project-head span{color:#6c6370}.schedule-dropzone{min-height:44px;padding:6px;display:grid;gap:6px;transition:.12s ease;background:#fff}.schedule-dropzone.drop-target{background:#f4ecf9;outline:2px dashed #8c55b3;outline-offset:-2px}.schedule-card{display:grid;gap:2px;padding:8px 9px;border-radius:10px;background:#f2ebf6;color:#3f2350;border:1px solid #e1d3e9;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.schedule-card:active{cursor:grabbing}.schedule-card.dragging{opacity:.55}.schedule-card span,.schedule-card small{font-size:11px;color:#6c6370}.schedule-pool{margin-top:14px;background:#fff;border:1px solid #e3dce7;border-radius:14px;padding:12px}.pool-head{display:flex;justify-content:space-between;gap:8px;margin-bottom:10px}.pool-grid{display:flex;flex-wrap:wrap;gap:8px}.pool-card{background:#f7f4fa;border-radius:10px;padding:8px 10px;display:grid;gap:2px}.pool-card span{font-size:11px;color:#6c6370}.nav-badge{display:inline-flex;min-width:18px;height:18px;align-items:center;justify-content:center;padding:0 5px;border-radius:999px;background:#e95a5a;color:#fff;font-size:10px;font-weight:900;margin-left:6px}.notification-item{display:flex;justify-content:space-between;gap:14px;padding:14px;border:1px solid #e4dce8;border-radius:13px;background:#fff;margin-bottom:9px}.notification-item.unread{border-color:#c9b0da;background:#fcf8ff}.notification-item p{margin:.35rem 0}.list-card{max-width:900px}.inline{display:flex;align-items:center;gap:7px}.empty-state{padding:28px;text-align:center;color:#777}.owner-only-field[hidden]{display:none}
@media(max-width:1100px){.schedule-board{grid-template-columns:repeat(7,230px)}}
@media(max-width:700px){.schedule-day{min-width:250px}.schedule-board{grid-template-columns:repeat(7,250px)}.header-actions{width:100%}.header-actions button{flex:1}.schedule-toolbar{align-items:flex-start;flex-direction:column}.schedule-actions{width:100%}.schedule-actions button{flex:1}.notification-item{flex-direction:column}.modal form{padding:18px}}
