/* Public homepage — integrated from mis_ticketing_standalone (approved design).
   The campus image is supplied via the --campus-hero custom property from the Blade
   head so the path respects the deployment base URL. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');
:root{--maroon:#700817;--red:#b10f1b;--orange:#f36b00;--ink:#151724;--cream:#fff7ee;--muted:#687082;--public-footer-gap:48px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Inter,Arial,sans-serif;background:#fff8ef var(--campus-hero, none) center 92px/100% auto no-repeat;min-width:320px}
a{color:inherit;text-decoration:none}
.site-header{height:105px;display:flex;align-items:stretch;background:linear-gradient(110deg,#fffaf4 0 41%,#fff4e8 42%,#690817 43%,#500512 100%);position:relative;z-index:3;box-shadow:0 5px 16px #6a270d16}
.brand-panel{width:45%;display:flex;align-items:center;gap:20px;padding:8px 20px 8px 4.5%;background:linear-gradient(125deg,#fffdfb 0 86%,#e5a13e 86.2%,#f5c16b 90%,transparent 90.2%);border-radius:0 0 90px 0;position:relative}
.school-crest{position:absolute;left:4.5%;top:8px;width:118px;height:118px;object-fit:contain;object-position:center;border-radius:50%;box-shadow:0 5px 10px #56240040}
.school-brand{margin-left:145px;color:#750a14;white-space:nowrap}
.school-name{font-family:"Playfair Display",Georgia,serif;font-size:clamp(16px,1.7vw,28px);font-weight:600;text-transform:uppercase;letter-spacing:-.6px}
.school-motto-small{font-size:8px;color:#a99b91;text-align:center;margin:5px 0}
.latin-motto{font-family:"Playfair Display",Georgia,serif;font-style:italic;font-size:22px;color:#b01a24;text-align:center}
.mis-brand{flex:1;display:flex;align-items:center;justify-content:space-around;color:#fff;padding:0 1.8% 0 0}
.mis-office{text-align:right;text-transform:uppercase;letter-spacing:1.5px;font-size:15px;line-height:1.25}
.mis-office span{display:block}.mis-office small{display:block;text-transform:none;font-size:9px;letter-spacing:.2px;margin-top:6px}
.mis-mark{display:flex;align-items:center;gap:9px;border-left:1px solid #d5a84c;padding-left:22px}
.mis-mark .mis-logo{width:46px;height:46px;object-fit:contain}
.mis-mark strong{font-size:40px;line-height:1;letter-spacing:1px}
.mis-mark small{display:block;font-size:7px;white-space:nowrap;margin-top:3px}
.login-button{border:1px solid #ed5c5c;border-radius:12px;background:linear-gradient(110deg,#b91b29,#7d0714);padding:13px 21px;white-space:nowrap;box-shadow:0 3px 8px #29000b30;font-weight:600;color:#fff}
.login-button span{font-size:16px;margin-right:5px}
.main-nav{height:36px;background:#fffaf4eF;display:flex;justify-content:flex-end;padding-right:15.5%;position:relative;z-index:2;border-bottom:1px solid #ead7c7}
.nav-links{display:flex;align-items:stretch;gap:34px}
.nav-links a{font-size:13px;padding:9px 0 7px;position:relative}
.nav-links a.active{color:#a10b18;font-weight:700}
.nav-links a.active:after{content:"";height:3px;background:#c51420;position:absolute;bottom:0;left:0;right:0;border-radius:4px}
.menu-toggle{display:none}
main{max-width:1460px;margin:0 auto;padding:0 22px}
.hero{height:212px;position:relative;padding:36px 0 0 3.7%}
.hero-copy{position:relative;z-index:1}
.eyebrow{font-size:13px;letter-spacing:6px;color:#c73516;margin-bottom:8px}
.hero h1{font-size:clamp(38px,4.15vw,65px);letter-spacing:-2.7px;line-height:1.05;margin:0;font-weight:900;color:#0c0809}
.hero h1 span{color:#a40c17}
.headline-rule{width:77px;height:3px;background:#f18b17;margin:9px 0 8px}
.hero p{font-size:16px;line-height:1.55;margin:0;color:#20212a}
.motto-plaque{position:absolute;right:-7px;top:285px;color:white;font-family:"Playfair Display",Georgia,serif;font-size:13px;line-height:1.65;text-shadow:0 1px 4px #2b0b05;z-index:1}
.motto-plaque span,.footer-quote span,.footer-values span{display:block;width:43px;height:3px;background:#f5a41d;margin-top:8px}
.quick-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:0 8px 13px;position:relative;z-index:1}
.action-card{min-height:193px;border-radius:12px;padding:14px 20px 16px 42px;position:relative;overflow:hidden;background:#fffaf4ed;box-shadow:0 7px 18px #8a390d16;border:1px solid #ffffffb8;transition:transform .18s,box-shadow .18s}
.action-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #71310c20}
.action-icon{display:flex;width:68px;height:68px;border-radius:50%;align-items:center;justify-content:center;font-size:35px;font-weight:800;margin:0 0 5px;background:#fce0df;color:#8d0011}
.card-orange .action-icon{background:#ffdfc4;color:#d44a00}.card-slate .action-icon{background:#e5e7e9;color:#192638}.card-rose .action-icon{background:#fbd8d9;color:#8e0011}.card-gold .action-icon{background:#ffe6aa;color:#e66b00}
.action-card h2{font-size:18px;letter-spacing:-.5px;color:#920a14;margin:3px 0 5px;white-space:nowrap}
.card-orange h2{color:#a72b00}.card-slate h2{color:#151e2e}.card-gold h2{color:#7e2107}
.action-card p{font-size:12.5px;line-height:1.45;color:#555766;margin:0}
.round-arrow{position:absolute;right:13px;bottom:12px;width:30px;height:30px;border-radius:50%;background:#bf2633;color:white;display:grid;place-items:center;font-size:27px;line-height:1}
.card-orange .round-arrow{background:#ff8300}.card-slate .round-arrow{background:#26303a}.card-gold .round-arrow{background:#df8900}
.stats-bar{display:grid;grid-template-columns:repeat(4,1fr);align-items:center;min-height:94px;margin:0 0 13px;padding:9px 18px;background:#ffffffdf;border:1px solid #fff;border-radius:12px;box-shadow:0 6px 18px #8a390d14}
.stat{display:flex;align-items:center;gap:17px;padding:0 24px;min-height:53px;border-right:1px solid #a3a3aa}
.stat:last-child{border:0}
.stat-icon{font-size:39px;line-height:1}.stat-icon.red{color:#a20a1b}.stat-icon.orange{color:#ff7900}
.stat strong{display:block;color:#ae0c1d;font-size:28px;line-height:1.05;letter-spacing:-.8px}
.stat span:not(.stat-icon){display:block;font-size:14px;color:#28334d;margin-top:2px}
.stat small{display:block;color:#8a8f9d;font-size:11px;line-height:1.35;margin-top:3px}
.stat b{font-size:15px;line-height:1.15;color:#25314c}
.information-grid{display:grid;grid-template-columns:1.06fr 1fr 1.04fr;gap:12px;margin:0 -1px 0}
.info-panel{background:#ffffffdb;border:1px solid #fff;border-radius:12px;box-shadow:0 5px 18px #79360f0d;padding:12px 28px 16px;min-width:0}
.panel-heading{height:40px;display:flex;align-items:center;gap:15px;border-bottom:1px solid #eee9e5}
.panel-icon{font-size:27px;color:#a00a1a;line-height:1}
.panel-heading h2{font-size:15px;color:#a20b17;letter-spacing:-.4px;margin:0;white-space:nowrap}
.panel-heading>a{margin-left:auto;color:#b00b16;font-size:12px;font-weight:600;white-space:nowrap}
.announcement-list,.knowledge-list{list-style:none;margin:0;padding:0}
.announcement-list li{min-height:47px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #f1ece8;font-size:13px}
.announcement-list li:last-child,.knowledge-list li:last-child{border-bottom:0}
.announcement-list a{color:#24304a}.announcement-list time{margin-left:auto;color:#858b98;font-size:12px;white-space:nowrap}
.status-dot{width:15px;height:15px;border-radius:50%;flex-shrink:0}.red-dot{background:#f20b2e}.orange-dot{background:#ff9800}.green-dot{background:#299b31}
.knowledge-list li{display:flex;align-items:center;gap:16px;min-height:32px;border-bottom:1px solid #f1ece8;font-size:12.5px}
.knowledge-list li span{color:#536071;font-size:20px}.knowledge-list a{color:#29344d}
.category-list{display:grid;grid-template-columns:1fr 1fr;column-gap:14px}
.category-list a{display:flex;align-items:center;gap:15px;min-height:38px;font-size:12.5px;color:#29344d;white-space:nowrap}
.category-icon{width:37px;height:32px;display:grid;place-items:center;border-radius:7px;color:#fff;font-size:19px;flex-shrink:0}
.green{background:#59a75a}.orange{background:#ff8000}.blue{background:#1597e8}.indigo{background:#5151ee}.purple{background:#4e32ef}.cyan{background:#0797da}.red{background:#ed1024}.amber{background:#ed9b00}
.site-footer{min-height:108px;max-width:1460px;margin:var(--public-footer-gap,48px) auto 0;padding:16px 28px 14px;display:grid;grid-template-columns:1fr 1.8fr 1fr;align-items:center;position:relative;color:#4b1420;background:linear-gradient(120deg,#fff8f0e8,#fffdf9d9);overflow:hidden}
.footer-quote{font-family:"Playfair Display",Georgia,serif;font-style:italic;font-size:18px;line-height:1.2}
.footer-quote span{margin:14px 0 0 12px}
.footer-center{text-align:center}.footer-center strong{font-size:12px;letter-spacing:3px;color:#940d1b}
.footer-center p{font-size:12px;color:#34405a;margin:7px 0 13px}.footer-center p span{font-size:17px;color:#b10d1d}
.footer-center small{font-size:9px;letter-spacing:3px;color:#66212b}
.footer-values{justify-self:end;font-size:9px;line-height:1.75;letter-spacing:3px;color:#702b32}
.footer-values span{margin-top:7px}
.bottom-ribbon{height:22px;background:linear-gradient(165deg,#720718 0 30%,#9d0c20 30% 48%,#f3a13a 48% 100%);border-top:1px solid #e9b04d}
@media(min-width:1500px){main{max-width:1420px}.hero{height:212px}.quick-actions{margin-top:0}.action-card{min-height:193px}}
@media(max-width:1100px){.brand-panel{width:48%;padding-left:2%}.school-crest{left:2%;width:88px;height:88px;top:5px}.school-brand{margin-left:95px}.school-name{white-space:normal;font-size:19px}.latin-motto{font-size:17px}.mis-office{display:none}.mis-mark{margin-left:auto}.nav-links{gap:22px}.main-nav{padding-right:6%}.hero{padding-left:2%;height:205px}.action-card{padding-left:20px}.action-card h2{font-size:15px}.action-card p{font-size:12px}.stat{padding:0 12px;gap:10px}.stat strong{font-size:23px}.info-panel{padding-left:16px;padding-right:16px}.panel-heading{gap:8px}.panel-heading h2{font-size:13px}.category-list{column-gap:6px}.category-list a{gap:8px;font-size:11px}.category-icon{width:30px}}
@media(max-width:760px){body{background-size:auto 640px;background-position:48% 90px}.site-header{height:auto;min-height:92px;background:#680817;flex-wrap:wrap}.brand-panel{height:92px;width:100%;border-radius:0 0 45px 0;padding-left:16px;background:linear-gradient(115deg,#fffdf9 0 78%,#edb154 78.5%,#fff1d9 83%,#fff 83.5%)}.school-crest{width:76px;height:76px;left:12px;top:8px}.school-brand{margin-left:83px}.school-name{font-size:17px}.school-motto-small{font-size:6px}.latin-motto{font-size:15px}.mis-brand{height:58px;width:100%;padding:0 16px;justify-content:space-between}.mis-mark{margin:0;border:0;padding:0}.mis-mark strong{font-size:28px}.mis-mark .mis-logo{width:32px;height:32px}.mis-mark small{font-size:6px}.login-button{padding:9px 13px;font-size:13px}.main-nav{height:auto;min-height:42px;display:block;padding:0 16px}.menu-toggle{display:block;border:0;background:none;padding:12px 0;color:#720817;font-weight:700;cursor:pointer}.nav-links{display:none;flex-direction:column;gap:0;padding:0 0 10px}.nav-links.open{display:flex}.nav-links a{padding:10px 0;border-top:1px solid #eee0d6}.nav-links a.active:after{display:none}main{padding:0 12px}.hero{height:auto;min-height:250px;padding:30px 10px 26px}.hero h1{font-size:clamp(35px,9vw,55px);letter-spacing:-1.7px;max-width:560px}.eyebrow{font-size:10px;letter-spacing:4px}.hero p{font-size:14px;max-width:520px}.desktop-break{display:none}.motto-plaque{display:none}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 12px}.action-card{min-height:174px;padding:13px 14px}.action-icon{width:53px;height:53px;font-size:27px}.action-card h2{font-size:15px;white-space:normal}.action-card p{font-size:12px}.round-arrow{width:26px;height:26px;right:10px;bottom:9px}.stats-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px 8px}.stat{border:0;padding:0 8px;min-height:55px}.stat-icon{font-size:29px}.stat strong{font-size:21px}.stat span:not(.stat-icon){font-size:12px}.stat small{font-size:10px}.information-grid{grid-template-columns:1fr;gap:10px;margin:0}.info-panel{padding:12px 16px 14px}.panel-heading h2{font-size:14px}.announcement-list li{font-size:12px}.announcement-list time{font-size:10px}.knowledge-list li{font-size:12px}.category-list a{font-size:12px}.site-footer{grid-template-columns:1fr 1fr;gap:20px;padding:22px 16px}.footer-quote{font-size:15px}.footer-center{grid-column:1/-1;grid-row:2}.footer-center strong{font-size:10px;letter-spacing:1.5px}.footer-center small{letter-spacing:2px}.footer-values{font-size:8px}.bottom-ribbon{height:14px}}
@media(max-width:390px){.school-name{font-size:14px}.school-brand{margin-left:78px}.school-crest{width:68px;height:68px}.action-card{padding:11px}.action-card h2{font-size:14px}.category-list{grid-template-columns:1fr}.stat{gap:7px}.stat-icon{font-size:24px}.footer-center p{font-size:10px}}