@font-face{font-family:A2Z;src:url('assets/a2z-regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:A2Z;src:url('assets/a2z-bold.ttf') format('truetype');font-weight:600 900;font-style:normal;font-display:swap}
:root{--blue:#155fc1;--blue-dark:#103d79;--ink:#142f4d;--muted:#52667b;--line:#d8e3ef;--pale:#eef5fd;--surface:#f6f9fd;--white:#fff;--mint:#d9f1ed;--green:#17614b;--yellow:#ffe89b;--red:#a82d46;--radius:16px;--shadow:0 10px 28px #12365b12}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:120px}body{margin:0;background:var(--surface);color:var(--ink);font-family:A2Z,sans-serif;font-size:16px;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}
button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none;text-underline-offset:.23em}a:hover{text-decoration:underline}button:disabled{cursor:not-allowed}img{max-width:100%;display:block}svg{width:24px;height:24px;flex:none;vertical-align:middle}
h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{font-weight:700;line-height:1.32;letter-spacing:-.025em;text-wrap:balance}h1{font-size:2.4rem;margin-bottom:14px}h2{font-size:1.65rem;margin-bottom:14px}h3{font-size:1.2rem;margin-bottom:8px}p{margin-bottom:16px;max-width:72ch}small{font-size:.875rem;color:var(--muted)}strong{font-weight:700}ul,ol{padding-left:1.35rem}li+li{margin-top:6px}
::selection{background:#ffe495;color:#163553}:focus-visible{outline:3px solid #eabf25;outline-offset:4px;border-radius:4px}input,textarea{caret-color:var(--blue)}::-webkit-scrollbar{width:10px;height:8px}::-webkit-scrollbar-thumb{background:#b9cbdc;border-radius:10px}::-webkit-scrollbar-track{background:#edf3f9}
.shell-width,.page{width:min(1160px,calc(100% - 64px));margin-inline:auto}.page{padding:40px 0 64px;min-height:58vh}.skip-link{position:fixed;left:16px;top:-80px;padding:12px 20px;background:var(--ink);color:#fff;z-index:100}.skip-link:focus{top:12px}
.demo-bar{background:#eaf2ff;color:#23496f;font-size:.875rem;border-bottom:1px solid #d6e4f6}.demo-bar .shell-width{display:flex;justify-content:space-between;gap:12px;padding-block:7px}.demo-bar a{font-weight:700;text-decoration:underline}.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:26px;min-height:82px}.brand{display:flex;gap:9px;align-items:center;text-decoration:none!important;color:var(--blue-dark);font-size:1.48rem;font-weight:700;line-height:1.05;letter-spacing:-.035em}.brand>img{width:48px;height:51px;object-fit:contain}.top-nav{display:flex;align-items:center;gap:28px;font-size:.94rem;font-weight:700}.top-nav a[aria-current=page]{color:var(--blue)}.nav-pass{background:var(--blue);color:white!important;border-radius:10px;padding:10px 17px}.menu-toggle{display:none;border:0;background:transparent;padding:10px}.footer-inner{display:flex;justify-content:space-between;gap:32px}.site-footer{background:#eaf1f9;border-top:1px solid var(--line);padding:34px 0;color:#405c78}.site-footer strong{font-size:1.2rem;color:var(--blue-dark)}.site-footer p{font-size:.94rem;margin:6px 0 0}.footer-links{display:flex;gap:10px 22px;justify-content:flex-end;align-content:flex-start;flex-wrap:wrap;font-size:.875rem}.footer-links>span{flex-basis:100%;text-align:right;color:var(--muted)}.bottom-nav{display:none}
.page-head{display:flex;justify-content:space-between;gap:22px;align-items:flex-start;margin-bottom:30px}.page-head p,.page-subtitle{color:var(--muted);margin-bottom:0}.page-actions{display:flex;gap:10px;flex-wrap:wrap}.section-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:36px 0 16px}.section-head h2{margin:0}.section-head p{margin:0;color:var(--muted)}.section-head a{font-size:.94rem;font-weight:700;color:var(--blue)}
.hero{position:relative;display:grid;grid-template-columns:1.15fr 1fr;gap:12px;align-items:center;isolation:isolate;background:#1763c2;color:white;border-radius:24px;padding:46px 54px;overflow:hidden;margin-bottom:28px;min-height:410px}.hero-copy{position:relative;z-index:2}.hero h1{font-size:3.8rem;line-height:1.2;letter-spacing:-.035em;margin:0 0 22px;max-width:11ch;color:white}.hero-copy>p{color:#e1efff;max-width:37ch;font-size:1.05rem;margin:18px 0 25px}.hero .btn.primary{background:#fff;color:#174c91}.hero .btn.secondary{background:transparent;border:1px solid #83b5ef;color:#fff}.hero .tag{background:#d8eaff;color:#16457e}.hero-art{display:flex;align-items:center;justify-content:center;position:relative;min-width:0}.hero-art img{object-fit:contain;width:100%;height:330px;filter:drop-shadow(0 15px 22px #0b3d7526);animation:arrive .6s ease-out both}.hero-art:before{content:"";position:absolute;inset:22px 4%;background:#87beff40;border-radius:50%;z-index:-1}.hero-art figcaption{position:absolute;bottom:0;right:6px;color:#e3f1ff;font-size:.8rem}.hero .meta-row{color:#dcecff}.hero .hero-date{font-size:1.2rem;font-weight:700;letter-spacing:0}
@keyframes arrive{from{clip-path:inset(7% 0 0 0);opacity:.7}to{clip-path:inset(0);opacity:1}}
.quick-links{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.quick-links>a,.quick-link{display:flex;gap:12px;align-items:center;min-height:88px;padding:18px 20px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-decoration:none;font-weight:700;transition:background .15s}.quick-links>a:hover{background:#edf5ff}.quick-links svg{color:var(--blue);width:25px;height:25px}.quick-links small{display:block;font-weight:400;margin-top:2px}.quick-links>a:nth-child(4n){border-right:0}.quick-links>a:last-child{background:#f5f9ff}
.schedule-strip{display:flex;gap:0;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px}.schedule-strip>a,.schedule-strip>button,.schedule-strip>div{flex:1;min-width:108px;border:0;background:transparent;padding:12px 14px;text-align:center;border-radius:8px}.schedule-strip .active{background:#e9f2ff;color:var(--blue)}.schedule-strip strong{display:block}.schedule-strip small{display:block}
.grid,.program-list,.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.grid.two,.two-column,.detail-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.detail-layout{grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr);align-items:start}.program-card,.market-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.program-card>a,.market-card>a{display:block;text-decoration:none}.program-card:hover,.market-card:hover{border-color:#8db7e5}.program-card .media,.market-card .media{height:205px;background:#e0efff;display:flex;align-items:center;justify-content:center;overflow:hidden}.media img{width:90%;height:90%;object-fit:contain}.program-card .media svg,.market-card .media svg{width:76px;height:76px;color:#4a83b9}.program-card .card-body,.market-card .card-body,.program-card .content,.market-card .content{padding:22px}.program-card h3,.market-card h3{margin-top:12px}.program-card p,.market-card p{font-size:.94rem;color:var(--muted);margin-bottom:16px}.program-card .btn,.market-card .btn{margin-top:auto}.card-actions{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}.program-card>.btn,.market-card>.btn{margin:0 20px 20px}
.btn,button.btn,a.btn{border:1px solid transparent;border-radius:10px;min-height:48px;padding:11px 19px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:1rem;line-height:1.5;text-align:center;text-decoration:none;transition:background .15s,border-color .15s;cursor:pointer}.btn.primary{background:var(--blue);color:#fff}.btn.primary:hover{background:#104d9c}.btn.secondary{background:#fff;color:var(--blue-dark);border-color:#c2d3e7}.btn.secondary:hover{background:#edf5ff;border-color:#8badcf}.btn.ghost{background:transparent;color:var(--blue);border-color:transparent}.btn.ghost:hover{background:#eaf2fc}.btn.danger{background:#fff1f3;color:#9a2940;border-color:#f1b7c2}.btn:disabled,.btn[aria-disabled=true]{background:#e4eaf1;color:#667588;border-color:#d6e0e9;pointer-events:none}.btn.full,.full-width{width:100%}.btn.small{min-height:40px;padding:7px 12px;font-size:.9rem}.btn svg{width:19px;height:19px}.button-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.tag{display:inline-flex;align-items:center;gap:5px;border-radius:100px;padding:4px 10px;background:#eaf2ff;color:#1c5594;font-size:.83rem;font-weight:700;line-height:1.5}.tag.success,.tag.green{background:#dff3e9;color:#1b6245}.tag.warning,.tag.yellow{background:#fff2c5;color:#755310}.tag.error,.tag.red{background:#fbe8ed;color:#9b2c47}.tag.muted{background:#edf1f5;color:#55687b}.meta-row{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;font-size:.9rem;color:var(--muted);margin:10px 0}.meta-row svg{width:18px;height:18px}
.filter-bar{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:22px 0}.tabs{display:flex;gap:6px;flex-wrap:wrap;background:#e7eff8;padding:5px;border-radius:12px;width:fit-content}.tabs button,.tabs a{border:0;background:transparent;color:#415d78;border-radius:8px;font-weight:700;padding:10px 18px;min-height:44px;text-decoration:none}.tabs .active,.tabs [aria-selected=true]{color:var(--blue);background:#fff;box-shadow:0 2px 5px #24476c0a}.market-search{min-width:220px;max-width:360px;width:100%}.search-input{width:100%}
.field{margin-bottom:20px}.field>label,.field-label{display:block;font-weight:700;margin-bottom:8px}.field small,.field .hint{display:block;margin-top:7px;font-size:.875rem;color:var(--muted)}input:not([type=radio]):not([type=checkbox]),select,textarea{display:block;width:100%;border:1px solid #b8cadc;border-radius:9px;background:#fff;min-height:48px;padding:11px 13px;font-size:1rem;outline-offset:2px}input::placeholder,textarea::placeholder{color:#6a7d90;opacity:1}input:hover,select:hover,textarea:hover{border-color:#7297bd}textarea{min-height:116px;resize:vertical}select{appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23365575' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}input[type=checkbox],input[type=radio]{width:20px;height:20px;accent-color:var(--blue);flex-shrink:0}.checkbox{display:flex;gap:10px;align-items:flex-start;margin:18px 0;cursor:pointer}.checkbox input{margin-top:3px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.form-grid .full{grid-column:1/-1}.form-panel,form:not(.inline-form){max-width:760px}.form-panel{background:#fff;padding:30px;border:1px solid var(--line);border-radius:16px}.field-error,.error-text{color:#a12940;font-size:.9rem;margin-top:6px}.notice{background:#eaf3ff;color:#284f78;border:1px solid #cddff3;border-radius:12px;padding:15px 18px;margin:20px 0;font-size:.94rem}.notice strong{display:block;margin-bottom:3px}.notice.warning{background:#fff6da;border-color:#eedda5;color:#69521c}.notice.success{background:#e7f5ed;border-color:#c3e4d1;color:#205e43}.notice p:last-child{margin-bottom:0}.summary-box{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px}.summary-box h2,.summary-box h3{margin-bottom:17px}.summary-box dl{margin:0}.summary-box dt{color:var(--muted);font-size:.9rem}.summary-box dd{margin:2px 0 15px;font-weight:700}.detail-layout .summary-box{position:sticky;top:105px}
.slot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.slot-option{border:1px solid #c4d4e5;border-radius:10px;padding:14px;background:#fff;text-align:left;min-height:70px;cursor:pointer}.slot-option.active,.slot-option:has(input:checked){background:#eaf3ff;border:2px solid var(--blue);padding:13px}.slot-option small{display:block}.slot-option input{margin-right:7px}.slot-option:disabled{background:#edf1f5;color:#607287}.list-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.list-row:last-child{border-bottom:0}.list-row p{margin-bottom:4px;color:var(--muted);font-size:.94rem}.list-row h3{margin-bottom:6px}.list-row .actions{display:flex;gap:8px;flex-wrap:wrap}
.empty{text-align:center;padding:52px 24px;background:#fff;border:1px solid var(--line);border-radius:16px}.empty img{width:150px;height:150px;object-fit:contain;margin:0 auto 18px}.empty>svg{width:55px;height:55px;color:#4e83b6;margin-bottom:18px}.empty p{margin-inline:auto;color:var(--muted)}.empty .btn{margin-top:10px}.success-panel{max-width:760px;margin:0 auto;text-align:center;background:#fff;border:1px solid var(--line);border-radius:20px;padding:40px 35px}.success-panel img{height:170px;width:170px;object-fit:contain;margin:0 auto 18px}.success-panel p{margin-inline:auto}.success-panel .summary-box{text-align:left;border:0;border-radius:0;background:var(--pale);margin:24px 0}.success-icon{display:flex;align-items:center;justify-content:center;width:70px;height:70px;border-radius:50%;color:var(--green);background:#e2f4ea;margin:0 auto 20px}.success-icon svg{width:35px;height:35px}
.progress{height:9px;background:#dde8f3;border-radius:100px;overflow:hidden;margin:16px 0}.progress>span,.progress>div{display:block;height:100%;background:var(--blue);border-radius:100px;transition:width .25s}.stamp-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:25px 0}.stamp-token,.stamp-list>article{border:1px dashed #a4bed9;border-radius:16px;background:#fff;padding:24px 15px;text-align:center}.stamp-token.complete,.stamp-token.done,.stamp-list .done{border:1px solid #74b7a4;background:#e9f7f0}.stamp-token>svg,.stamp-token .stamp-symbol{width:54px;height:54px;color:#7098be;margin:0 auto 16px}.stamp-token.complete>svg,.stamp-token.done>svg{color:var(--green)}.stamp-token h3{font-size:1.05rem}.stamp-token p{font-size:.9rem;color:var(--muted)}.stamp-token .btn{width:100%;font-size:.9rem;padding:10px}.code-block{background:#eaf3fc;border:1px solid #d3e3f2;border-radius:12px;padding:24px;text-align:center;font-size:1.55rem;font-weight:700;letter-spacing:.04em;user-select:all}.code-block small{display:block;font-size:.875rem;letter-spacing:0;font-weight:400;margin-top:7px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}.stat-grid>div{background:#edf4fc;padding:18px;border-radius:12px}.stat-grid strong{font-size:1.65rem;display:block;color:var(--blue-dark);font-variant-numeric:tabular-nums}.stat-grid span,.stat-grid small{font-size:.875rem;color:var(--muted)}.step-list{padding:0;list-style:none}.step-list li{padding:15px 0;border-bottom:1px solid var(--line)}.step-list strong{display:block;margin-bottom:4px}.rating{display:flex;gap:10px;margin:12px 0;flex-wrap:wrap}.rating label,.rating button{display:flex;justify-content:center;align-items:center;gap:6px;border:1px solid #b8cde2;border-radius:10px;padding:10px 14px;background:white;min-height:48px;cursor:pointer}.rating label:has(input:checked),.rating .active{background:#e8f2ff;border-color:var(--blue);color:var(--blue)}.rating input{accent-color:var(--blue)}
.admin-table{width:100%;border-collapse:collapse;text-align:left;background:white;font-size:.9rem}.admin-table th{background:#e9f2fc;color:var(--blue-dark);font-weight:700;padding:12px 14px;white-space:nowrap}.admin-table td{padding:14px;border-bottom:1px solid var(--line);vertical-align:top}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;margin:20px 0}.admin-table .btn{min-height:36px;padding:5px 10px;font-size:.875rem}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.settings-grid>section{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px}.toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%) translateY(20px);opacity:0;pointer-events:none;background:#163953;color:white;border-radius:12px;padding:13px 22px;max-width:calc(100% - 32px);z-index:99;transition:opacity .2s,transform .2s;font-size:.94rem;box-shadow:0 8px 20px #13365829}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
details{border:1px solid var(--line);background:#fff;border-radius:12px;padding:16px 20px;margin:12px 0}summary{font-weight:700;cursor:pointer}details[open] summary{margin-bottom:14px}hr{border:0;border-top:1px solid var(--line);margin:28px 0}
@media(max-width:1000px){.shell-width,.page{width:calc(100% - 40px)}.top-nav{gap:16px;font-size:.875rem}.hero{padding:35px}.hero h1{font-size:3.1rem}.hero-art img{height:290px}.quick-links{grid-template-columns:repeat(3,1fr)}.quick-links>a:nth-child(4n){border-right:1px solid var(--line)}.quick-links>a:nth-child(3n){border-right:0}.program-list,.market-grid{gap:16px}.detail-layout{grid-template-columns:minmax(0,1.2fr) minmax(260px,1fr)}}
@media(max-width:760px){body{padding-bottom:76px}.shell-width,.page{width:calc(100% - 36px)}.page{padding:25px 0 38px}.demo-bar .shell-width{width:calc(100% - 28px);font-size:.75rem;gap:6px;align-items:center}.demo-bar a{font-size:.75rem;white-space:nowrap}.header-inner{min-height:66px}.brand{font-size:1.28rem}.brand>img{width:41px;height:45px}.menu-toggle{display:block}.top-nav{display:none;position:absolute;left:0;right:0;top:66px;background:white;padding:20px;border-bottom:1px solid var(--line);box-shadow:0 12px 20px #16395512;flex-wrap:wrap;gap:16px 20px}.top-nav.open{display:flex}.top-nav>a{min-height:40px;display:flex;align-items:center}.hero{grid-template-columns:1fr;min-height:0;padding:30px 25px 18px;border-radius:20px;gap:0}.hero h1{font-size:2.5rem;max-width:10ch;margin-bottom:16px;line-height:1.25}.hero-copy>p{font-size:1rem;margin:14px 0 20px;max-width:30ch}.hero-art{height:215px;margin-top:5px;justify-content:flex-end}.hero-art img{height:225px;width:270px;max-width:100%;margin-right:-10px}.hero-art:before{inset:20px 15% 0 25%}.hero .btn{min-height:46px;padding:10px 15px;font-size:.94rem}.hero .hero-date{font-size:1.02rem}.hero .page-actions{gap:8px}.quick-links{grid-template-columns:repeat(2,1fr)}.quick-links>a{min-height:78px;padding:15px 13px;font-size:.93rem;gap:9px;align-items:center}.quick-links small{font-size:.78rem}.quick-links>a:nth-child(3n){border-right:1px solid var(--line)}.quick-links>a:nth-child(2n){border-right:0}.quick-links svg{width:22px;height:22px}
h1{font-size:1.9rem}h2{font-size:1.4rem}h3{font-size:1.1rem}.page-head{display:block;margin-bottom:24px}.page-head .page-actions{margin-top:18px}.section-head{margin-top:28px;align-items:flex-start}.section-head a{font-size:.875rem;white-space:nowrap}.grid,.program-list,.market-grid{grid-template-columns:1fr 1fr;gap:13px}.program-card .media,.market-card .media{height:150px}.program-card .card-body,.market-card .card-body,.program-card .content,.market-card .content{padding:15px}.program-card p,.market-card p{font-size:.875rem}.program-card h3,.market-card h3{font-size:1rem}.program-card>.btn,.market-card>.btn{margin:0 13px 13px;padding:8px;font-size:.875rem}.program-card .btn,.market-card .btn{font-size:.875rem}.program-card .tag,.market-card .tag{font-size:.75rem;padding:3px 7px}.grid.two,.two-column,.detail-layout,.settings-grid{grid-template-columns:1fr;gap:20px}.detail-layout .summary-box{position:static}.summary-box,.form-panel{padding:22px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.filter-bar{align-items:stretch;gap:12px}.market-search{max-width:none}.tabs{width:100%;gap:3px}.tabs a,.tabs button{flex:1;padding:9px 12px;text-align:center;font-size:.93rem}.list-row{align-items:flex-start;gap:14px;flex-wrap:wrap}.list-row .actions{width:100%}.list-row .actions .btn{flex:1}.success-panel{padding:28px 22px}.success-panel img{width:140px;height:140px}.stamp-list{grid-template-columns:1fr;gap:12px}.stamp-token,.stamp-list>article{padding:18px 20px;text-align:left;display:grid;grid-template-columns:auto 1fr;gap:0 16px}.stamp-token>svg,.stamp-token .stamp-symbol{width:42px;height:42px;grid-row:1/4;margin:0}.stamp-token h3{margin:0 0 5px}.stamp-token p{margin:0 0 12px}.stamp-token .btn{grid-column:2;font-size:.9rem;min-height:42px}.stat-grid{gap:8px}.stat-grid>div{padding:14px 10px}.stat-grid strong{font-size:1.4rem}.stat-grid span{font-size:.8rem}.rating{gap:6px}.rating label,.rating button{padding:10px;min-width:48px}.site-footer{padding:28px 0}.footer-inner{display:block}.footer-links{justify-content:flex-start;margin-top:22px}.footer-links>span{text-align:left;font-size:.8rem}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #d4e1ef;z-index:50;justify-content:space-around;padding:8px 7px max(9px,env(safe-area-inset-bottom))}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:1;font-size:.76rem;min-height:48px;color:#526b84;text-decoration:none}.bottom-nav a.active,.bottom-nav a[aria-current=page]{color:var(--blue);font-weight:700}.bottom-nav svg{width:23px;height:23px}.toast{bottom:90px}.code-block{font-size:1.25rem}.schedule-strip{margin-inline:-2px}.schedule-strip>a,.schedule-strip>button,.schedule-strip>div{min-width:88px;padding:10px 8px}.notice{font-size:.875rem;padding:14px}.settings-grid>section{padding:22px}
}
@media(max-width:370px){.shell-width,.page{width:calc(100% - 28px)}.hero{padding:26px 20px 16px}.hero h1{font-size:2.2rem}.quick-links>a{font-size:.875rem}.grid,.program-list,.market-grid{grid-template-columns:1fr}.hero-art{height:190px}.hero-art img{height:205px}.demo-bar a{display:none}.stamp-token{gap:0 12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
@media print{.demo-bar,.site-header,.bottom-nav,.site-footer,.btn,.filter-bar{display:none!important}body{background:white;padding:0}.page{width:100%;padding:0}.program-card,.market-card,.notice{break-inside:avoid}.hero{color:var(--ink);background:#eef5fd}.hero h1,.hero p{color:var(--ink)}}

/* Integrated route layouts */
#page-title:focus{outline:none}
.page-head{display:block;max-width:780px}
.page-head h1{margin:10px 0 12px}
.back-link,.text-link{color:var(--blue);font-weight:700;text-decoration:underline}
.back-link{display:inline-block;font-size:.875rem;margin-bottom:8px}
.secondary-copy,.form-help{color:var(--muted)}
.form-help{font-size:.875rem;margin:12px 0 20px}
.narrow-page{max-width:700px}
.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}
.hero-date{margin:0 0 24px}
.hero-date strong,.hero-date span{display:block}
.hero-date strong{font-size:1.15rem}
.hero-date span{font-size:.875rem;font-weight:400;color:#e1efff;margin-top:3px}
.schedule-strip>span{display:flex;gap:8px;align-items:center;padding:10px 12px;flex:1}
.schedule-strip>a{flex:0 0 auto;display:flex;align-items:center;font-size:.875rem;font-weight:700;color:var(--blue)}
.home-services .section-head>span{font-size:.875rem;white-space:nowrap}
.home-services .quick-links>a:last-child{grid-column:span 2}
.home-page .program-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.program-card-body,.market-card-body{padding:22px;display:flex;flex-direction:column;gap:0;flex:1}
.program-card-body>.btn,.market-card-body>.btn{align-self:flex-start;margin-top:16px}
.program-card-body>p,.market-card-body>p{font-size:.94rem;color:var(--muted)}
.program-card-body>.meta-row{margin:0 0 9px}
.media{position:relative;display:flex!important;justify-content:center;align-items:center;gap:20px;min-height:190px;padding:18px 22px;overflow:hidden}
.media img{max-width:70%;width:auto;height:170px;object-fit:contain}
.media .media-label{font-size:1rem;font-weight:700;max-width:90px;flex-shrink:0;color:var(--blue-dark);line-height:1.5}
.media-silk{background:#dfeeff}
.media-wish{background:#fcf0c9}
.media-pouch{background:#d9efea}
.media-paper{background:#e9e7fa}
.detail-media{min-height:280px;margin-bottom:28px}
.detail-media img{height:250px;max-width:100%}
.mission-banner{display:grid;grid-template-columns:1.4fr .6fr;align-items:center;gap:20px;margin:36px 0;padding:32px 40px;border-radius:20px;background:var(--mint)}
.mission-banner h2{font-size:2rem;color:#184d48}
.mission-banner p{color:#355d59}
.mission-art{width:230px;height:220px;object-fit:contain;justify-self:center}
.home-utility{display:flex;flex-wrap:wrap;gap:14px 24px;margin-top:22px;color:var(--muted);font-size:.875rem}
.home-utility a{text-decoration:underline}
.google-form-link{margin:24px 0;font-size:.875rem}
.google-form-link .text-link{display:inline-flex;align-items:center;gap:8px}
.summary-box{margin-bottom:24px}
.summary-box>.btn{margin-top:12px}
.summary-box>h2{font-size:1.4rem}
.detail-facts{margin:20px 0 30px}
.detail-facts>div{display:grid;grid-template-columns:90px 1fr;gap:12px;border-bottom:1px solid var(--line);padding:14px 0}
.detail-facts dt{font-weight:700;color:var(--muted)}
.detail-facts dd{margin:0}
.slot-option>span>span{display:block;font-size:.875rem;color:var(--muted);margin-top:4px}
.slot-option{border:1px solid var(--line)}
form>.field{margin-top:22px}
form>h2{margin:30px 0 20px}
fieldset.field{padding:0;border:0;min-width:0}
.field legend{padding:0;font-weight:700;margin-bottom:12px}
.form-error:empty{display:none}
.form-error{background:#fff0f2;border:1px solid #e6b3bc;padding:12px 16px;color:var(--red);margin:16px 0}
.btn.full{width:100%;justify-content:center}
.checkbox{align-items:flex-start;gap:12px}
.checkbox input{accent-color:var(--blue)}
.market-search{display:flex;align-items:center;background:#fff;border:1px solid #aebed0;border-radius:10px;padding:0 14px;margin:24px 0}
.market-search input{border:0;background:transparent;width:100%;min-width:0;padding:14px 12px;outline-offset:-2px}
.market-search svg{color:var(--muted)}
.market-grid+.page-actions{margin-top:24px}
.stamp-hero{display:grid;grid-template-columns:1.35fr .65fr;gap:24px;align-items:center;background:#dfedff;border-radius:20px;padding:30px 36px;margin-bottom:24px}
.stamp-art{height:230px;width:220px;object-fit:contain;justify-self:center}
.stamp-count{font-size:1.1rem;margin:18px 0 12px}.stamp-count strong{font-size:2.4rem;color:var(--blue)}
progress{width:100%;height:12px;border:0;border-radius:20px;overflow:hidden;background:#bbd3f2;accent-color:var(--blue)}
progress::-webkit-progress-bar{background:#bbd3f2;border-radius:20px}
progress::-webkit-progress-value{background:var(--blue);border-radius:20px}
.stamp-list{display:flex;flex-direction:column;gap:12px;margin:26px 0}
.stamp-item{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 22px}
.stamp-item>div:nth-child(2){flex:1}.stamp-item h3{margin:0 0 4px}.stamp-item p{margin:0;color:var(--muted);font-size:.875rem}
.stamp-item .stamp-token{border:0;background:var(--pale);color:var(--blue);border-radius:50%;width:58px;height:58px;min-height:0;padding:14px;display:flex;align-items:center;justify-content:center;margin:0;flex:0 0 auto}
.stamp-item.done{background:#f4fbf8;border-color:#b6d9c9}.stamp-item.done .stamp-token{background:var(--mint);color:var(--green)}
.stamp-item .stamp-token svg{width:30px;height:30px}
.reward-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:30px;margin:30px 0}
.reward-panel h2{margin-top:14px}
.reward-panel h2 .secondary-copy{font-size:1rem}
.reward-code,.demo-code{background:var(--pale);border:1px dashed #91b2da;border-radius:12px;padding:16px 20px;margin:20px 0}
.reward-code>span,.demo-code>span{display:block;color:var(--muted);font-size:.875rem}
.reward-code>strong,.demo-code>strong{display:block;font-size:1.25rem;letter-spacing:.04em;color:var(--blue-dark);word-break:break-all}
.reward-code p{margin:10px 0 0;font-size:.875rem}
.reward-status:not(:empty){background:var(--mint);color:var(--green);padding:18px;border-radius:12px;margin:20px 0}
.reward-status p{margin:5px 0 0}
.youth-intro{display:grid;grid-template-columns:1fr 150px;gap:8px 12px;background:#e7f2f0;border-radius:16px;padding:28px;margin-bottom:30px}
.youth-intro img{grid-column:2;grid-row:1/3;width:150px;height:180px;object-fit:contain}
.youth-intro h2{grid-column:1;align-self:end;margin-bottom:10px}.youth-intro p{grid-column:1;font-size:.94rem;margin-bottom:0}
.timeline{margin:20px 0 28px;border-top:1px solid var(--line)}
.timeline-row{display:grid;grid-template-columns:86px 1fr;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}
.timeline-date{color:var(--blue);font-weight:700}
.timeline-row h3{font-size:1.08rem;margin-bottom:5px}
.timeline-row p{margin:0 0 8px;color:var(--muted);font-size:.94rem}
.date-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:10px;margin:26px 0}
.date-tabs>a{flex:1;min-width:96px;padding:12px 14px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:10px;font-weight:700;white-space:nowrap}
.date-tabs>a.active{background:var(--blue);border-color:var(--blue);color:#fff}
.schedule-heading{padding-top:14px}.schedule-heading h2{line-height:1.55}
.help-list{padding:0;list-style:none}.help-list li{padding:16px 0;border-bottom:1px solid var(--line)}
.help-list strong,.help-list span{display:block}.help-list span{color:var(--muted);font-size:.94rem;margin-top:5px}
.venue-list{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.venue-list article{padding:24px;background:#e9f1fb;border-radius:14px}.venue-list p{margin-bottom:0;color:var(--muted)}
.rating{display:flex;gap:12px}
.rating label{flex:1;position:relative;border:0;padding:0;min-width:0;background:transparent}
.rating label input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.rating label span{display:flex;justify-content:center;align-items:center;min-height:54px;border:1px solid #b7c9de;border-radius:10px;background:#fff;font-weight:700;font-size:1.2rem}
.rating input:checked+span{background:var(--blue);border-color:var(--blue);color:#fff}
.rating input:focus-visible+span{outline:3px solid #d5a600;outline-offset:3px}
.rating-labels{display:flex;justify-content:space-between;margin-top:8px;color:var(--muted);font-size:.875rem}
.participation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.participation-grid>.empty{grid-column:1/-1}
.participation-item{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;margin-bottom:16px}
.participation-item>.tag{margin-right:8px}.participation-item h3{margin-top:12px}
.participation-item p{margin-bottom:8px}
.empty-inline{padding:20px;border:1px dashed #b9cadd;border-radius:12px;color:var(--muted)}
.scan-form{display:flex;gap:16px;align-items:end;margin:26px 0}.scan-form>.field{flex:1;margin:0}.scan-form>.btn{margin-bottom:0}
.scan-result{padding:20px;border-radius:12px;margin:20px 0}.scan-result p{margin:5px 0 0}
.scan-result.good{background:var(--mint);color:var(--green)}.scan-result.error{background:#ffedf0;color:var(--red)}
.success-panel .success-art{width:170px;height:170px;object-fit:contain;margin:0 auto 18px}
.success-panel .participation-item{text-align:left}
.success-panel .page-actions{justify-content:center}
.empty .empty-art{width:150px;height:160px;object-fit:contain;margin:0 auto 12px}
.stat-grid{margin-bottom:24px}
.tag.good{color:var(--green);background:var(--mint)}
@media(max-width:760px){
 .hero h1{font-size:2.5rem;max-width:12ch}
 .hero{min-height:0;padding:28px 24px 12px}
 .hero-copy>p{margin:16px 0 20px}
 .hero-date{margin-bottom:20px}
 .hero-date strong{font-size:1.05rem}
 .hero-art{height:210px}
 .hero-art img{height:220px}
 .hero-art:before{inset:18px 15%}
 .schedule-strip{display:block}
 .schedule-strip>span{padding:10px 10px 2px;font-size:.875rem}
 .schedule-strip>a{padding:8px 10px 10px;justify-content:flex-start;text-align:left}
 .home-services .quick-links>a:last-child{grid-column:span 2}
 .home-services .section-head{align-items:flex-start}
 .home-services .section-head>span{font-size:.8125rem;margin-top:4px}
 .home-page .program-list,.program-list,.market-grid{grid-template-columns:1fr}
 .program-card-body,.market-card-body{padding:22px}
 .media{min-height:180px}
 .media img{height:160px;max-width:65%}
 .media .media-label{font-size:1.05rem;max-width:100px}
 .mission-banner{grid-template-columns:1fr;padding:26px;margin:30px 0;gap:8px}
 .mission-banner h2{font-size:1.6rem}
 .mission-art{width:160px;height:150px}
 .stamp-hero{grid-template-columns:1fr 90px;gap:8px;padding:24px 20px}
 .stamp-hero h2{font-size:1.3rem}.stamp-hero p{font-size:.94rem}
 .stamp-art{width:110px;height:150px;max-width:100%}
 .stamp-count strong{font-size:2rem}
 .stamp-item{flex-wrap:wrap;padding:18px;gap:12px}
 .stamp-item>div:nth-child(2){min-width:180px}
 .stamp-item>.btn{margin-left:70px;min-height:42px;font-size:.875rem}
 .stamp-item .stamp-token{width:48px;height:48px;padding:11px}
 .reward-panel{padding:24px 20px}
 .youth-intro{grid-template-columns:1fr 100px;padding:22px}
 .youth-intro img{width:100px;height:150px}
 .youth-intro h2{font-size:1.3rem}
 .timeline-row{grid-template-columns:70px 1fr;gap:12px}
 .timeline-date{font-size:.94rem}
 .date-tabs>a{min-width:90px}
 .venue-list,.participation-grid{grid-template-columns:1fr}
 .scan-form{flex-direction:column;align-items:stretch}
 .summary-box{padding:24px}
 .detail-facts>div{grid-template-columns:76px 1fr}
 .detail-media{min-height:240px}
 .detail-media img{height:220px}
 .home-utility{gap:12px 20px}
}
.stamp-list>.stamp-item{display:flex;text-align:left;border:1px solid var(--line);padding:20px 22px;gap:18px}
.rating label span{width:100%;min-width:48px}
.rating label{min-width:48px}
.field>span:first-child{display:block;font-weight:700;margin-bottom:7px}
.field>span>small{display:inline;font-weight:400;margin-left:6px}
@media(max-width:760px){
 .stamp-list>.stamp-item{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;padding:20px}
 .stamp-list>.stamp-item>div:nth-child(2){min-width:0}
 .stamp-list>.stamp-item>.btn{grid-column:2;margin:0;justify-self:start;min-width:140px;white-space:nowrap}
 .rating{gap:8px;flex-wrap:nowrap}
}

.field{display:block;margin-bottom:22px}
.field>.text-link{display:inline-block;margin-top:9px}
.form-grid .field{margin:0}

.demo-bar .shell-width{padding-block:8px}
form>.btn[type=submit]{margin-top:8px}
.live-form-entry{border:1px solid #b4d3c8;background:#f2faf6}
.live-form-entry h2{margin-top:10px}
.live-form-entry .btn{max-width:520px}
.live-form-entry .form-help:last-child{margin-bottom:0}
.demo-preview{margin-top:28px;background:#fff}
.demo-preview>summary{font-weight:700;color:var(--blue-dark);cursor:pointer;padding:8px 0;min-height:44px}
.demo-preview[open]>summary{margin-bottom:14px}
@media(max-width:760px){.demo-bar .shell-width{flex-wrap:wrap;gap:2px 10px}.demo-bar .shell-width>span{font-size:.8125rem}.demo-preview{padding:20px}.live-form-entry{padding:22px}}


/* Two aligned wordmark lines; letters retain their original A2Z proportions. */
.brand{letter-spacing:0}
.brand-wordmark{display:inline-grid;grid-template-columns:max-content;gap:5px;flex:none}
.brand-name{display:block;font-size:1em;line-height:1.05;white-space:nowrap}
.brand-latin{display:flex;justify-content:space-between;align-items:center;font-size:.72em;line-height:1;letter-spacing:0}
.brand-latin>span{display:block}

/* Hamo greets visitors briefly, then rests. */
.hero-art .hero-character{animation:none;transform-origin:50% 85%}
@keyframes hamo-hello{
  0%,100%{transform:translateY(0) rotate(0)}
  18%{transform:translateY(-5px) rotate(-1.8deg)}
  36%{transform:translateY(-8px) rotate(1.8deg)}
  54%{transform:translateY(-4px) rotate(-1deg)}
  76%{transform:translateY(0) rotate(0)}
}
@media(prefers-reduced-motion:no-preference){
  .hero-art .hero-character{animation:hamo-hello 4.2s ease-in-out .15s 1;transition:transform .28s ease-out}
  .brand>img{transform-origin:50% 85%;transition:transform .28s ease-out}
  .brand:focus-visible>img{transform:translateY(-2px) rotate(-3deg)}
  .hero:focus-within .hero-character{transform:translateY(-4px) rotate(-1.5deg)}
}
@media(prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine){
  .brand:hover>img{transform:translateY(-2px) rotate(-3deg)}
  .hero-art:hover .hero-character{transform:translateY(-4px) rotate(-1.5deg)}
}
@media(max-width:760px){.brand-wordmark{gap:4px}}
