@import url('/fonts.css');
:root{--primary:#183b61;--accent:#f2ba49;--bg:#f6f8fc;--card:#fff;--text:#16304b;--radius:22px;--columns:5;--icon:74px;--font:ui-rounded,'Arial Rounded MT Bold',system-ui,sans-serif;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible{outline:3px solid #3286dc}button{border:1px solid #ced7e2;border-radius:11px;padding:10px 16px;color:#183b61;background:#fff;cursor:pointer;font-weight:650}button:hover{background:#edf3fa}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--primary)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.4rem,4.5vw,4.2rem);line-height:1.08;letter-spacing:-.035em;margin-bottom:16px}h2{line-height:1.2}h3{margin-bottom:6px}.primary{background:var(--primary);color:white;border-color:var(--primary)}.primary:hover{filter:brightness(1.15);background:var(--primary)}.danger{color:#ad3030}.small{font-size:.85rem}.muted{color:#5a6d81}.eyebrow{font-size:.75rem;letter-spacing:.13em;font-weight:800;text-transform:uppercase;margin-bottom:9px}.wrap{width:min(1280px,92%);margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:21px 0}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:1rem;font-weight:800}.brand-mark{display:grid;place-items:center;background:var(--primary);color:var(--accent);width:40px;height:40px;border-radius:13px;font-size:24px}.brand img{width:40px;height:40px;object-fit:contain}.topbar>a:last-child{font-size:.83rem;color:#5a6d81;text-decoration:none}.hero{position:relative;display:flex;align-items:center;min-height:275px;padding:38px 48px;background:var(--primary);color:white;border-radius:calc(var(--radius) + 8px);overflow:hidden;margin:10px 0 32px}.hero:after{content:'';position:absolute;right:4%;top:-75px;border:1px solid #ffffff16;border-radius:50%;width:430px;height:430px;pointer-events:none}.hero-copy{position:relative;z-index:1;max-width:67%}.hero .eyebrow{color:var(--accent)}.hero p:last-child{margin:0;color:#e4edf7;max-width:630px}.hero h1{max-width:650px}.mascots{display:flex;align-items:end;position:absolute;right:24px;bottom:-12px;height:255px;z-index:1}.mascots img:first-child{height:100%;transform:rotate(-6deg)}.mascots img:last-child{height:64%;margin-left:-28px;transform:rotate(7deg)}.hero-no-art .hero-copy{max-width:100%}.announcement{padding:16px 22px;border-radius:14px;margin:20px 0;background:#e5effc;border:1px solid #c5d9f4;display:flex;gap:12px;align-items:center}.announcement.warning{background:#fff0ce;border-color:#e6c979}.announcement.success{background:#e0f3e9;border-color:#abd6be}.announcement p{margin:0;flex:1}.controls{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-bottom:22px}.search{flex:1;min-width:220px;position:relative}.search input{width:100%;padding-left:40px}.search:before{content:'⌕';position:absolute;left:15px;top:7px;font-size:26px}.segmented{display:flex;gap:4px;background:#e7edf4;border-radius:13px;padding:4px}.segmented button{border:0;background:transparent;padding:9px 14px}.segmented .selected{background:white;box-shadow:0 2px 5px #183b6110}.category-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}.chip{border-radius:30px;font-size:.83rem;padding:7px 15px}.chip.selected{background:var(--primary);color:white;border-color:var(--primary)}.section-head{display:flex;justify-content:space-between;align-items:center;margin:28px 0 15px}.section-head h2{font-size:1.15rem;margin:0}.section-head span{font-size:.8rem;color:#5a6d81}.grid{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));gap:17px}.tile{position:relative;border:1px solid #e1e7ef;border-radius:var(--radius);background:var(--card);min-width:0;transition:transform .18s,box-shadow .18s}.tile:hover{transform:translateY(-3px);box-shadow:0 8px 24px #183b6112}.tile-link{display:flex;align-items:center;flex-direction:column;text-align:center;text-decoration:none;color:var(--text);padding:25px 15px 19px;min-height:186px;border-radius:inherit;height:100%}.tile-icon{height:var(--icon);width:var(--icon);object-fit:contain;margin:0 0 14px;border-radius:14px}.initial-icon{display:grid;place-items:center;background:#e9f0f7;font-size:25px;font-weight:850;color:#183b61}.tile-name{font-size:.95rem;font-weight:750;line-height:1.3;max-width:100%}.tile-description{margin-top:5px;color:#5a6d81;font-size:.75rem;line-height:1.35}.favorite{position:absolute;right:7px;top:6px;border:0;padding:3px 7px;background:transparent;color:#7d8fa2;font-size:20px;font-weight:400;z-index:2}.favorite[aria-pressed=true]{color:#a36b00}.tile.no-shadow:hover{box-shadow:none}.compact .tile-link{min-height:145px;padding:18px 12px 14px}.compact .tile-icon{margin-bottom:9px}.footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #dce3ed;padding:24px 0 32px;margin-top:45px;font-size:.78rem;color:#5a6d81}.empty{padding:45px;text-align:center;background:white;border:1px dashed #c5d1de;border-radius:20px}.loading{padding:90px;text-align:center}.skip{position:absolute;left:10px;top:-100px;z-index:100}.skip:focus{top:10px;background:white;padding:12px}input:not([type=checkbox]):not([type=color]):not([type=range]),textarea,select{width:100%;border:1px solid #cbd5e2;border-radius:10px;padding:11px 13px;background:white;color:#173451}textarea{resize:vertical;min-height:95px}input[type=color]{width:100%;height:43px;padding:4px;border:1px solid #ced7e2;border-radius:8px;background:white}label{display:block;font-size:.86rem;font-weight:650;margin-bottom:17px}label input,label textarea,label select{display:block;margin-top:6px}label:has(input[type=checkbox]){display:flex;gap:9px;align-items:center}label input[type=checkbox]{margin:0;width:18px;height:18px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.actions{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;margin-top:22px}.icon-button{padding:4px 11px;font-size:23px;background:transparent;border:0}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.dialog-head h2{margin-bottom:18px}dialog{border:1px solid #dce4ee;border-radius:22px;padding:28px;box-shadow:0 20px 100px #10263d40;width:min(620px,94vw);max-height:92dvh;color:#16304b}dialog::backdrop{background:#10263d99;backdrop-filter:blur(3px)}.auth-card{max-width:470px;padding:36px;background:white;border:1px solid #dce4ee;border-radius:22px;margin:65px auto}.auth-card h1{font-size:2rem}.auth-card .primary{width:100%}.error{color:#a72828;background:#fff1ef;padding:10px;border-radius:8px;font-size:.87rem}.preview-bar{background:#fff0c9;color:#5c470c;padding:12px 4%;display:flex;justify-content:space-between;align-items:center;gap:15px;position:sticky;top:0;z-index:20}.admin-shell{max-width:1240px;width:94%;margin:0 auto;padding-bottom:70px}.admin-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px 0}.admin-header h1{font-size:1.8rem;letter-spacing:-.02em;margin:0}.admin-header p{margin:5px 0 0}.admin-nav{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:25px;padding-bottom:16px;border-bottom:1px solid #d8e1ec}.admin-nav button{background:transparent;border-color:transparent}.admin-nav .selected{background:var(--primary);color:white}.admin-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px;flex-wrap:wrap}.admin-toolbar h2{margin:0;font-size:1.3rem}.admin-list{display:flex;flex-direction:column;gap:10px}.admin-app{display:flex;align-items:center;gap:16px;background:white;border:1px solid #dbe3ed;border-radius:15px;padding:13px 16px}.admin-app img,.admin-app .initial-icon{width:49px;height:49px;object-fit:contain;border-radius:8px;flex:none}.admin-app .details{flex:1;min-width:0}.admin-app h3{font-size:.95rem;margin:0}.admin-app p{margin:2px 0 0;font-size:.8rem;color:#5a6d81}.admin-app .row-actions{display:flex;gap:6px}.admin-app .row-actions button{font-size:.8rem;padding:7px 10px}.drag-handle{cursor:grab;color:#8292a6;font-size:20px}.admin-app.drag-over{border-color:#2675b9;background:#eaf3fc}.hidden-app{opacity:.65}.panel{background:white;border:1px solid #dce4ee;border-radius:18px;padding:26px;margin-bottom:20px}.panel h2{font-size:1.2rem}.panel h3{font-size:1rem;margin-bottom:18px}.color-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.theme-presets{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:25px}.theme-presets button{border-left:12px solid var(--swatch)}.image-setting{display:flex;gap:16px;align-items:center;margin-bottom:22px}.image-setting img{width:64px;height:64px;object-fit:contain;background:#f3f6fa;border-radius:12px}.image-setting button{font-size:.83rem}.sticky-save{position:fixed;bottom:0;left:0;right:0;background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid #d6e0eb;z-index:30;padding:13px max(3%,calc((100% - 1240px)/2));display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 -4px 25px #19344e09}.sticky-save .actions{margin:0}.badge{font-size:.7rem;border-radius:5px;background:#edf1f6;color:#52657b;padding:3px 6px}.image-workspace{background:repeating-conic-gradient(#e3e7ec 0% 25%,white 0% 50%) 50% / 20px 20px;border:1px solid #c9d5e1;border-radius:12px;overflow:hidden;width:min(100%,350px);margin:15px auto}canvas{width:100%;display:block;touch-action:none;cursor:move}.crop-tools{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin-bottom:18px}.crop-tools button{font-size:.78rem;padding:7px 10px}input[type=range]{width:100%;accent-color:var(--primary)}#toast{position:fixed;left:50%;top:18px;transform:translateX(-50%);padding:12px 20px;border-radius:12px;background:#153a5e;color:white;box-shadow:0 6px 30px #0002;z-index:200;display:none;max-width:90vw}#toast.visible{display:block}#toast.bad{background:#9a3030}.history-row{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid #e3e9f1}.notice{padding:14px 18px;border-radius:12px;background:#eef4fb;font-size:.9rem;margin-bottom:20px}.help-list{padding-left:22px}.help-list li{margin-bottom:12px}.dropzone{border:2px dashed #c7d3e1;border-radius:12px;padding:18px;text-align:center;margin-bottom:15px}.admin-preview-hint{font-size:.8rem;color:#5a6d81}.status-dot{display:inline-block;width:8px;height:8px;background:#d39a2c;border-radius:50%;margin-right:6px}.status-dot.saved{background:#2e9660}@media(min-width:1450px){.wrap{max-width:1360px}}@media(max-width:1000px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero{padding:32px;min-height:240px}.mascots{height:205px;right:10px}.hero-copy{max-width:70%}.color-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hero{padding:27px 24px;min-height:220px}.hero-copy{max-width:100%}.hero h1{max-width:85%;font-size:2.5rem}.hero p:last-child{max-width:75%;font-size:.88rem}.mascots{height:130px;right:7px;bottom:0;opacity:.9}.mascots img:first-child{display:none}.hero .eyebrow{font-size:.62rem}.topbar{padding:15px 0}.brand{font-size:.85rem}.tile-link{padding:23px 9px 16px;min-height:165px}.tile-name{font-size:.82rem}.tile-description{font-size:.7rem}.controls .search{flex-basis:100%}.segmented{flex:1;justify-content:center}.controls>button{font-size:.83rem}.footer{flex-direction:column;gap:8px}.two-col{grid-template-columns:1fr;gap:0}.admin-header{align-items:flex-start}.admin-header h1{font-size:1.4rem}.admin-header .actions{margin:0}.admin-app{gap:10px;flex-wrap:wrap}.admin-app .row-actions{width:100%;justify-content:flex-end}.color-grid{grid-template-columns:repeat(2,1fr)}.sticky-save{gap:8px;padding:10px 3%}.sticky-save>span{font-size:.73rem}.sticky-save button{font-size:.8rem;padding:9px 11px}.panel{padding:20px}.hero h1{letter-spacing:-.025em}}@media(max-width:380px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.search input[type=search]{padding-left:42px}
@media(min-width:1001px){.hero-copy{max-width:60%}.hero h1{font-size:clamp(2.4rem,4vw,3.7rem)}}
@media(min-width:701px) and (max-width:1000px){.hero-copy{max-width:62%}.hero h1{font-size:clamp(2.3rem,4vw,3rem)}}
#search{padding-left:42px}

.history-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.history-row{gap:15px}@media(max-width:600px){.history-row{align-items:flex-start;flex-direction:column}}
/* Announcements deliberately use a stronger palette than the app tiles. */
.announcement{background:#153f76;color:white;border:0;border-left:7px solid #72bcff;padding:22px 25px;box-shadow:0 5px 18px #173a6318;gap:18px}.announcement.warning{background:#ffdf83;color:#492e06;border:0;border-left:7px solid #be7500}.announcement.success{background:#176047;color:white;border:0;border-left:7px solid #7fe2b0}.announcement-symbol{display:grid;place-items:center;width:40px;height:40px;flex:none;border:2px solid currentColor;border-radius:50%;font-size:24px;font-weight:850}.announcement-copy{flex:1;min-width:0}.announcement-copy strong{font-size:1.05rem;display:block;margin-bottom:4px}.announcement-copy p{white-space:pre-wrap;font-weight:550;line-height:1.5}.announcement a{color:inherit;font-weight:800;white-space:nowrap}.arrival-alert{border:0;border-top:9px solid #2468aa;padding:32px}.arrival-alert.warning{border-top-color:#d08b00}.arrival-alert.success{border-top-color:#20845e}.arrival-alert .eyebrow{color:#31689e}.arrival-alert.warning .eyebrow{color:#956100}.arrival-alert.success .eyebrow{color:#237051}.arrival-message{font-size:1.2rem;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 24px}.arrival-link{display:inline-block;margin-bottom:22px;font-weight:750}.arrival-remember{background:#f0f4f8;border-radius:11px;padding:14px;margin-top:12px;font-size:.9rem}.arrival-alert .actions{margin-top:20px}.announcement-copy p{overflow-wrap:anywhere}@media(max-width:600px){.announcement{padding:18px;gap:12px;flex-wrap:wrap}.announcement-symbol{width:32px;height:32px;font-size:20px}.announcement>a{margin-left:44px}.arrival-alert{padding:25px}.arrival-message{font-size:1.05rem}}

.image-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:90px;min-width:220px;background:#f5f8fc;border:2px dashed #a8bbd0;width:100%;margin:0 0 10px;padding:18px;transition:background .15s,border-color .15s,box-shadow .15s}.image-dropzone strong{font-size:.95rem}.image-dropzone span{font-size:.8rem;font-weight:500;color:#526c86}.image-dropzone:hover,.image-dropzone.drag-active{background:#e1efff;border-color:#2469aa}.image-dropzone.drag-active{box-shadow:0 0 0 4px #3286dc22}.image-setting:has(.image-dropzone)>div:last-child{flex:1;min-width:0}@media(max-width:450px){.image-setting:has(.image-dropzone){align-items:flex-start;flex-direction:column}.image-dropzone{min-width:0}.image-setting:has(.image-dropzone)>div:last-child{width:100%}}

.public-page{padding-top:22px}.public-page .hero{margin-top:0}.footer-links{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.admin-access{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;margin-left:12px;border-radius:8px;color:#748498;text-decoration:none}.admin-access:hover{color:var(--primary);background:#e7edf4}.hero-logo{max-width:180px;height:40px;object-fit:contain;object-position:left center;margin-bottom:12px}@media(max-width:700px){.public-page{padding-top:15px}}
/* A shorter welcome banner leaves more room for the app grid. */
.public-page .hero{min-height:220px;padding:27px 40px;margin-bottom:25px}.public-page .hero h1{font-size:clamp(2rem,3.4vw,3rem);margin-bottom:12px}.public-page .hero .eyebrow{margin-bottom:8px}.public-page .mascots{height:205px;bottom:-10px}.public-page .hero p:last-child{font-size:.95rem}@media(min-width:701px) and (max-width:1000px){.public-page .hero{min-height:205px;padding:25px 30px}.public-page .hero h1{font-size:clamp(2rem,3.5vw,2.6rem)}.public-page .mascots{height:190px}}@media(max-width:700px){.public-page .hero{min-height:180px;padding:23px 22px}.public-page .hero h1{font-size:2rem}.public-page .hero p:last-child{font-size:.85rem}.public-page .mascots{height:115px;bottom:0}}.hero-logo{height:32px;margin-bottom:8px}
.contact-trap{display:none!important}.contact-screenshot-preview{display:block;max-width:100%;max-height:200px;object-fit:contain;margin:10px 0;border:1px solid #d4deea;border-radius:10px}.message-card{border:1px solid #d4deea;border-radius:14px;padding:20px;margin-top:15px;overflow-wrap:anywhere}.message-head{display:flex;justify-content:space-between;gap:15px}.message-head label{min-width:130px}.message-description{white-space:pre-wrap}@media(max-width:600px){.message-head{flex-direction:column}}
.message-views{display:flex;gap:8px;margin:18px 0}.message-views .selected{background:var(--primary);color:white}.message-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;border-radius:20px;background:#be3126;color:white;font-size:.75rem;padding:0 6px;margin-left:5px}.admin-nav .selected .message-count{background:#fff;color:#a52920}

.message-card{padding:16px 18px}.message-card .message-head{align-items:center;margin-bottom:12px}.message-card .message-head h3{font-size:1rem;margin:0}.message-card .message-head label{margin:0;font-size:.75rem;min-width:125px}.message-card .message-head select{padding:7px 10px;margin-top:3px}.message-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 22px;margin:0}.message-field{min-width:0}.message-field dt{font-size:.7rem;text-transform:uppercase;letter-spacing:.055em;color:#5c7087;font-weight:800;margin-bottom:3px}.message-field dd{margin:0;font-size:.86rem;line-height:1.4;font-weight:500;overflow-wrap:anywhere}.message-field-wide{grid-column:span 2}.message-field-full{grid-column:1/-1}.message-details .message-description{margin:0;padding-top:9px;border-top:1px solid #e4eaf1;white-space:normal}.message-description dd{white-space:pre-wrap}.message-card-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;padding-top:10px;border-top:1px solid #e4eaf1;font-size:.8rem}.message-card-footer button{font-size:.75rem;padding:7px 10px}@media(max-width:800px){.message-details{grid-template-columns:repeat(2,minmax(0,1fr))}.message-field-wide{grid-column:auto}}@media(max-width:550px){.message-details{grid-template-columns:1fr;gap:10px}.message-card .message-head{flex-direction:row;align-items:flex-start}.message-card .message-head h3{font-size:.95rem}.message-card{padding:14px}.message-card-footer{flex-wrap:wrap}}
