@font-face{font-family:BYekan;src:url('/lib/fonts/BYekan.woff') format('woff'),url('/lib/fonts/BYekan.ttf') format('truetype');font-display:swap}
:root{--app-bg:#f5f7fb;--surface:#fff;--border:#e5eaf2;--ink:#1b2941;--muted:#778398;--brand:#2457b5;--brand-soft:#edf3ff;--radius:12px}
html,body{min-height:100%;background:var(--app-bg)}
body{font-family:BYekan,Tahoma,Arial,sans-serif;color:var(--ink);font-size:15px}
.icon-library{position:absolute;width:0;height:0;overflow:hidden}
.ui-icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app-header{height:72px;background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:50;gap:16px}
.header-brand,.brand-link,.header-actions,.header-user{display:flex;align-items:center}
.header-brand{gap:12px;min-width:0}
.brand-link{gap:12px;text-decoration:none;color:var(--ink);min-width:0}
.brand-link:hover{color:var(--ink)}
.brand-mark{height:41px;width:41px;display:grid;place-items:center;border-radius:12px;background:#2457b5;color:#fff;box-shadow:0 5px 13px #2457b526}
.brand-mark .ui-icon{width:23px;height:23px}
.brand-name{font-size:17px;font-weight:700;line-height:1.3;white-space:nowrap}
.brand-name small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:4px}
.header-actions{gap:18px}
.header-user{gap:10px;font-size:13px;color:#526179;min-width:0}
.header-user-name{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-avatar{height:34px;width:34px;border-radius:10px;background:#e8eef9;color:#2457b5;display:grid;place-items:center;font-weight:700}
.logout-button{border:1px solid var(--border);background:#fff;border-radius:9px;display:flex;align-items:center;gap:8px;padding:8px 12px;color:#63718a;font-size:13px;transition:.18s}
.logout-button:hover{background:#fff5f5;color:#b53c3c;border-color:#f1c9c9}
.logout-button .ui-icon{width:17px;height:17px}
.app-shell{display:flex;min-height:calc(100vh - 72px)}
.sidebar{width:264px;flex:0 0 264px;background:#fff;border-left:1px solid var(--border);position:sticky;top:72px;align-self:flex-start;height:calc(100vh - 72px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d5deeb transparent}
.sidebar-inner{min-height:100%;display:flex;flex-direction:column;padding:24px 13px 17px}
.sidebar-nav{display:flex;flex-direction:column;gap:4px}
.sidebar-section{color:#9aa5b6;font-size:11px;font-weight:700;letter-spacing:.05px;margin:20px 12px 8px}
.sidebar-section:first-child{margin-top:1px}
.sidebar-link{display:flex;align-items:center;gap:12px;min-height:43px;padding:10px 13px;text-decoration:none;color:#627089;border-radius:9px;font-size:13.5px;font-weight:500;transition:background-color .15s,color .15s;position:relative}
.sidebar-link .ui-icon{width:19px;height:19px;color:#8995a8}
.sidebar-link-text{min-width:0;overflow-wrap:anywhere}
.sidebar-link:hover{color:var(--brand);background:#f4f7fc}
.sidebar-link:hover .ui-icon{color:var(--brand)}
.sidebar-link.active{background:var(--brand-soft);color:var(--brand);font-weight:700}
.sidebar-link.active .ui-icon{color:var(--brand)}
.sidebar-link.active:before{content:"";position:absolute;right:0;top:10px;bottom:10px;width:3px;border-radius:4px;background:var(--brand)}
.sidebar-footer{border-top:1px solid var(--border);color:#96a0b0;font-size:11px;margin-top:auto;padding:18px 12px 2px;display:flex;align-items:center;gap:8px}
.sidebar-footer-dot{height:7px;width:7px;border-radius:50%;background:#31ad80}
.sidebar-footer-version{margin-right:auto}
.sidebar-mobile-heading,.sidebar-backdrop,.mobile-menu-button{display:none}
.content-area{flex:1;min-width:0}
.page-container{max-width:1440px;margin:0 auto;padding:36px 40px 64px}
.page-eyebrow{display:block;font-size:12px;font-weight:600;color:var(--brand);margin-bottom:8px}
.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:27px}
.page-title{font-size:27px;line-height:1.4;font-weight:800;margin:0 0 8px;color:#1a2942}
.page-description{font-size:14px;color:var(--muted);margin:0}
.dashboard-heading-icon{height:60px;width:60px;border-radius:17px;display:grid;place-items:center;color:var(--brand);background:#e7eefc}
.dashboard-heading-icon .ui-icon{height:29px;width:29px}
.dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:37px}
.stat-tile{min-height:118px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:22px;display:flex;align-items:center;gap:17px;box-shadow:0 4px 16px #16294f05}
.stat-symbol{display:grid;place-items:center;height:53px;width:53px;border-radius:12px;color:#2f68c0;background:#eaf2ff}
.stat-symbol-alt{color:#8055ae;background:#f2edfa}
.stat-symbol-green{color:#269876;background:#e8f8f1}
.stat-label{display:block;color:var(--muted);font-size:12.5px;margin-bottom:6px}
.stat-value{display:block;font-size:27px;font-weight:800;line-height:1.1;color:#233655}
.stat-value-text{font-size:16px;line-height:1.65}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px}
.section-heading h2{font-size:19px;font-weight:800;margin:0 0 7px}
.section-heading p{font-size:13px;color:var(--muted);margin:0}
.section-count{border:1px solid #dfe6f0;color:#697a91;background:#fff;border-radius:7px;padding:7px 12px;font-size:12px;white-space:nowrap}
.report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.report-card{display:flex;flex-direction:column;min-height:218px;padding:22px 23px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);text-decoration:none;box-shadow:0 4px 16px #16294f05;transition:transform .2s,border-color .2s,box-shadow .2s}
.report-card:hover{transform:translateY(-3px);border-color:#b9cdec;box-shadow:0 12px 28px #1a3e7f12}
.report-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}
.report-icon{height:43px;width:43px;display:grid;place-items:center;border-radius:11px;color:var(--brand);background:var(--brand-soft)}
.report-card-category{font-size:11px;color:#78869a;border:1px solid #e8edf4;border-radius:6px;padding:5px 9px;max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.report-card h3{color:#253750;font-size:16px;font-weight:700;margin:0 0 9px}
.report-card p{color:#8290a2;font-size:12.5px;line-height:1.85;margin:0 0 18px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.report-card-action{margin-top:auto;display:flex;align-items:center;gap:7px;font-weight:700;font-size:12.5px;color:var(--brand)}
.report-card-action .ui-icon{width:15px;height:15px;transform:rotate(180deg);transition:transform .2s}
.report-card:hover .report-card-action .ui-icon{transform:rotate(180deg) translateX(4px)}
.dashboard-empty{border:1px dashed #d3dfef;border-radius:var(--radius);padding:55px 20px;text-align:center;background:#fff}
.empty-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:var(--brand-soft);color:var(--brand);margin:0 auto 17px}
.dashboard-empty h3{font-size:17px;font-weight:700}
.dashboard-empty p{color:var(--muted);font-size:13px;margin:8px 0 0}
.card,.form-control,.form-select,.btn{border-radius:8px}
.admin-link{transition:border-color .15s,background-color .15s}
.admin-link:hover{border-color:#b9cdec!important;background:#fbfdff}
.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px}
.login-card{width:100%;max-width:430px}
.table th{white-space:nowrap;font-size:.875rem}
.table td{vertical-align:middle}
code{color:#555}
.icon-button{background:transparent;border:0;display:grid;place-items:center;height:40px;width:40px;border-radius:9px;color:#63718a}
.icon-button:hover{background:#eef2f8}
:focus-visible{outline:2px solid #2868ce;outline-offset:2px}
@media(max-width:1199px){.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-container{padding:30px 28px 54px}.sidebar{width:242px;flex-basis:242px}}
@media(max-width:991.98px){.app-header{padding:0 20px}.mobile-menu-button{display:grid}.sidebar{position:fixed;z-index:70;top:0;right:0;height:100dvh;width:min(300px,85vw);transform:translateX(102%);transition:transform .22s ease;box-shadow:-10px 0 38px #0e25501a}.sidebar-open .sidebar{transform:translateX(0)}.sidebar-mobile-heading{display:flex;align-items:center;justify-content:space-between;padding:0 12px 14px;border-bottom:1px solid var(--border);margin-bottom:15px}.sidebar-backdrop{display:block;visibility:hidden;opacity:0;position:fixed;inset:0;background:#13213e78;z-index:65;transition:opacity .22s,visibility .22s}.sidebar-open .sidebar-backdrop{visibility:visible;opacity:1}.sidebar-open{overflow:hidden}.app-shell{display:block}.dashboard-stats{gap:12px}}
@media(max-width:767.98px){.app-header{height:64px;padding:0 14px}.app-shell{min-height:calc(100vh - 64px)}.header-user-name,.brand-name small{display:none}.header-actions{gap:9px}.brand-name{font-size:15px}.brand-mark{height:35px;width:35px}.user-avatar{width:32px;height:32px}.logout-button{padding:8px}.logout-button span{display:none}.page-container{padding:25px 17px 42px}.dashboard-heading{margin-bottom:22px}.dashboard-heading-icon{display:none}.page-title{font-size:23px}.page-description{font-size:13px}.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:30px}.stat-tile{min-height:99px;padding:15px;gap:10px}.stat-symbol{height:42px;width:42px;flex:none}.stat-symbol .ui-icon{width:18px;height:18px}.stat-label{font-size:11px}.stat-value{font-size:23px}.stat-help{grid-column:1/-1}.report-grid{grid-template-columns:1fr}.report-card{min-height:192px;padding:19px}.section-heading h2{font-size:17px}}
@media(max-width:370px){.brand-name{font-size:13px}.brand-mark{display:none}.dashboard-stats{grid-template-columns:1fr}.stat-help{grid-column:auto}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
