:root{--alm-blue:#1e40af;--alm-blue-hover:#1d3a99;--alm-line:#e2e8f0;--alm-text:#1e293b;--alm-muted:#6b7280;--alm-green:#16a34a;--alm-orange:#d97706;--alm-bg:#f8fafc;--alm-card:#ffffff}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--alm-text);font-family:inherit;line-height:1.55}.app-embed{background:#fff}a{color:var(--alm-blue);font-weight:700;text-decoration:none}a:hover{text-decoration:underline}.alm-wrap{max-width:760px;margin:42px auto 64px;padding:0 16px;font-family:inherit}.app-embed .alm-wrap{margin:18px auto 36px}.alm-hero{margin-bottom:30px}.alm-hero-img{width:100%;display:block;border-radius:10px;border:1px solid var(--alm-line);box-shadow:0 2px 8px rgba(15,23,42,.06)}.alm-hero-fallback{display:block;background:linear-gradient(135deg,#f8fafc,#eff6ff);border:1px solid var(--alm-line);border-radius:10px;padding:34px 30px;font-size:30px;line-height:1.15;color:var(--alm-text);font-weight:900;box-shadow:0 2px 8px rgba(15,23,42,.06)}.alm-hero-fallback:hover{text-decoration:none}.alm-subtitle{margin:16px 0 0;color:#374151;font-size:15px;line-height:1.7}.alm-subtitle strong:first-child{display:block;font-weight:900;margin-bottom:14px;color:#111827}.alm-subtitle em{display:block;color:#4b5563;font-style:normal}.alm-faq{display:inline-flex;margin-top:14px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:8px 14px;font-size:13px}.alm-card{background:#fff;border:1px solid var(--alm-line);border-radius:12px;padding:28px 32px;box-shadow:0 2px 8px rgba(15,23,42,.06);margin-bottom:24px}.alm-card h2{margin:0 0 18px;font-size:22px;line-height:1.25;color:#0f172a}.alm-card h3{margin:18px 0 10px;font-size:17px;color:#1e293b}.alm-field{margin-bottom:16px}.alm-field label{display:block;font-size:13px;font-weight:700;color:#374151;margin-bottom:5px}.alm-field label span{font-weight:600;color:#9ca3af}.alm-field input,.alm-field select,.alm-field textarea{width:100%;padding:10px 12px;border:1.5px solid #d1d5db;border-radius:7px;font-size:15px;box-sizing:border-box;background:#fafafa;font-family:inherit;transition:border-color .2s,box-shadow .2s}.alm-field input:focus,.alm-field select:focus,.alm-field textarea:focus{outline:none;border-color:var(--alm-blue);box-shadow:0 0 0 3px rgba(30,64,175,.10)}.alm-field textarea,textarea{min-height:110px;resize:vertical}.alm-field small{display:block;color:#9ca3af;font-size:12px;margin-top:5px}.alm-check{display:block;background:#f8fafc;border:1px solid var(--alm-line);border-radius:8px;padding:12px 14px;font-size:13px;color:#374151;margin:18px 0}.alm-check input{width:auto;margin-right:7px}.alm-btn,button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 20px;border-radius:7px;font-size:14px;font-weight:800;text-decoration:none;background:var(--alm-blue);color:#fff;border:none;cursor:pointer;font-family:inherit}.alm-btn:hover,button:hover{background:var(--alm-blue-hover);color:#fff;text-decoration:none}.alm-btn-ghost{background:#f1f5f9;color:#374151}.alm-btn-ghost:hover{background:#e2e8f0;color:#374151}.alm-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:20px}.alm-class-btn,.class-link{font-size:15px;padding:12px 22px;border-radius:9px}.alm-center{text-align:center;margin:14px 0 4px}.alm-steps{display:flex;margin:0 0 22px;border-radius:10px;overflow:hidden;border:1px solid #bfdbfe;background:#eff6ff}.alm-step{flex:1;padding:11px 8px;text-align:center;font-size:13px;color:#1e40af;border-right:1px solid #bfdbfe;background:#eff6ff}.alm-step:last-child{border-right:0}.alm-step.done{background:#dcfce7;color:#166534}.alm-step.active{background:var(--alm-blue);color:#fff;font-weight:900}.alm-success{background:#f0fdf4;border:1px solid #86efac;border-radius:8px;padding:12px 16px;color:#166534;margin-bottom:16px;font-size:14px}.alm-error{background:#fef2f2;border:1px solid #fca5a5;border-radius:8px;padding:12px 16px;color:#991b1b;margin-bottom:16px;font-size:14px}.alm-muted{color:var(--alm-muted)}.alm-small,.alm-mini{font-size:12px;color:#9ca3af}.alm-person{color:#6b7280;margin:0 0 16px}.alm-profile-note{background:#f8fafc;border:1px solid var(--alm-line);border-radius:8px;padding:12px 14px;color:#374151;font-size:13.5px;line-height:1.6;margin:0 0 20px}.alm-result-list{display:grid;gap:10px}.alm-result-card{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--alm-line);border-radius:10px;padding:13px 14px;background:#fff}.alm-result-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.alm-status{display:inline-block;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:900}.alm-status.active{background:#dcfce7;color:#166534}.alm-name-original{font-size:11px;color:#6b7280;margin-top:2px}.alm-patron-badge{display:inline-block;margin-left:6px;padding:2px 7px;border-radius:999px;background:#fef3c7;color:#92400e;font-size:11px;font-weight:800;vertical-align:middle;white-space:nowrap}.alm-stat-row{display:flex;gap:12px;margin-bottom:24px;flex-wrap:wrap}.alm-main-stats{margin-top:4px}.alm-mini-stat{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:10px 16px;font-size:13px;color:#1e40af;flex:1;min-width:180px}.alm-mini-stat strong{display:block;font-size:20px}.alm-progress-bar-wrap{background:#e5e7eb;border-radius:99px;height:8px;margin:8px 0 4px;overflow:hidden}.alm-progress-bar-fill{background:var(--alm-blue);border-radius:99px;height:8px}.alm-info-banner{background:#fef3c7;border:1px solid #fcd34d;border-radius:8px;padding:12px 16px;font-size:13px;color:#92400e;margin-bottom:20px}.alm-names-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;margin-bottom:20px}.alm-name-card{background:#fff;border:1px solid var(--alm-line);border-radius:8px;padding:10px 14px;font-size:14px;color:#374151}.alm-name-card.updated{border-left:4px solid var(--alm-green);background:#f0fdf4;border-color:#bbf7d0}.alm-name-main{font-weight:500}.alm-name-card.updated .alm-name-main{font-weight:800;color:#14532d}.alm-name-updated{font-size:11px;color:#166534;font-weight:800;margin-top:4px}.alm-class-title{font-size:24px;margin:0 0 6px}.alm-class-school{color:#6b7280;margin:0 0 20px}.alm-top-back{margin-bottom:16px}.alm-table{width:100%;border-collapse:collapse;background:#fff;font-size:14px}.alm-table th{background:#f8fafc;color:#111827;font-size:13px;text-align:left;padding:12px;border-bottom:2px solid var(--alm-line)}.alm-table td{padding:12px;border-bottom:1px solid var(--alm-line);vertical-align:top}.alm-table td:nth-child(2){word-break:break-word}.alm-cross-col{text-align:center;width:42px}.alm-cross{text-align:center;color:#e5e7eb;font-weight:900}.alm-cross.active{color:#9ca3af}.alm-wa{background:#16a34a}.alm-wa:hover{background:#15803d}.alm-thread{border:1px solid var(--alm-line);border-radius:12px;padding:16px;margin:14px 0;background:#fff}.alm-thread h3{margin-top:0}.alm-comment{border-left:4px solid #bfdbfe;background:#f8fafc;padding:10px 13px;margin:10px 0;border-radius:0 8px 8px 0}.alm-comment span{font-size:12px;color:#9ca3af}.alm-map-card{padding-bottom:24px}.alm-map-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}.alm-map-head h2{margin-bottom:4px}.alm-map-counter{background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;color:#1e40af;font-size:12px;font-weight:900;padding:7px 11px;white-space:nowrap}.alm-map-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.alm-map{height:300px;border-radius:10px;overflow:hidden;border:1px solid var(--alm-line);background:#eef2f7}.alm-map-empty{display:flex;align-items:center;justify-content:center;min-height:100%;padding:24px;text-align:center;color:#64748b;font-size:14px}.alm-map-bubble,.alm-map-cluster{display:flex;align-items:center;justify-content:center;border-radius:999px;background:rgba(72,126,151,.86);border:2px solid rgba(255,255,255,.95);box-shadow:0 10px 25px rgba(15,23,42,.18);color:#fff;font-weight:900}.alm-map-cluster{background:rgba(179,107,61,.9)}.alm-map-bubble span,.alm-map-cluster span{line-height:1;font-size:13px;text-shadow:0 1px 1px rgba(0,0,0,.2)}.alm-map-popup-title{font-weight:900;color:#0f172a}.alm-map-popup-meta{font-size:12px;color:#64748b;margin-top:2px}.alm-map-popup-count{font-weight:800;color:#1e40af;margin-top:5px}.alm-map-side{background:#f8fafc;border:1px solid var(--alm-line);border-radius:10px;padding:14px}.alm-map-side h3{margin-top:0}.alm-country-list{display:grid;gap:7px}.alm-country{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--alm-line);background:#fff;border-radius:8px;padding:8px 10px;font-size:13px}.alm-country strong{background:#eff6ff;color:#1e40af;border-radius:999px;padding:3px 8px}.leaflet-control-zoom a,.leaflet-container a{text-decoration:none!important}.leaflet-marker-icon{background:transparent;border:0}.alm-bottom-img{width:100%;display:block;border-radius:12px;border:1px solid var(--alm-line);margin:24px 0 12px}.alm-footer-note{font-size:12px;color:#9ca3af;text-align:center;margin:24px 0 0}.alm-city-field{position:relative}.alm-city-suggestions{display:none;position:absolute;z-index:40;top:calc(100% + 5px);left:0;right:0;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 12px 28px rgba(15,23,42,.14);max-height:300px;overflow:auto}.alm-city-suggestions.is-open{display:block}.alm-city-option{display:block;width:100%;text-align:left;background:#fff;color:#1e293b;border:0;border-radius:0;padding:10px 12px}.alm-city-option:hover,.alm-city-option.is-active{background:#eff6ff;color:#1e293b}.alm-city-option-main{display:block;font-weight:800}.alm-city-option-sub{display:block;font-size:12px;color:#64748b}.alm-city-empty,.alm-city-loading{padding:11px 12px;color:#64748b;font-size:13px}.alm-cross-form{display:inline;margin:0}.alm-cross-form button.alm-cross{appearance:none!important;-webkit-appearance:none!important;border:0!important;background:transparent!important;box-shadow:none!important;text-shadow:none!important;color:#e5e7eb!important;cursor:pointer;font-size:17px;line-height:1;padding:3px 6px;border-radius:6px;transition:color .15s,background .15s;font-family:Arial,sans-serif!important;font-weight:400!important}.alm-cross-form button.alm-cross.active{color:#94a3b8!important}.alm-cross-form button.alm-cross:hover{color:#64748b!important;background:#f8fafc!important}@media(max-width:720px){.alm-wrap{margin:24px auto 40px}.alm-card{padding:22px 18px}.alm-steps{display:block}.alm-step{border-right:0;border-bottom:1px solid #bfdbfe}.alm-result-card{display:block}.alm-result-actions{justify-content:flex-start;margin-top:10px}.alm-actions{display:block}.alm-actions .alm-btn,.alm-actions button{width:100%;margin:6px 0}.alm-names-grid{grid-template-columns:1fr}.alm-map{height:270px}.alm-map-head{display:block}.alm-map-counter{display:inline-flex;margin-top:8px;white-space:normal}.alm-table{display:block;overflow-x:auto;white-space:nowrap}.alm-table td,.alm-table th{white-space:normal;min-width:110px}}

/* v1.6.1 - public layout aligned with alumni v52 */
.alm-hero-stats{display:flex;gap:12px;margin-bottom:28px;flex-wrap:wrap}.alm-hero-stat{flex:1;min-width:140px;background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff;border-radius:12px;padding:16px 20px;text-align:center}.alm-hero-stat-num{font-size:32px;font-weight:800;line-height:1.1}.alm-hero-stat-label{font-size:13px;opacity:.85;margin-top:4px}.alm-hero-progress{background:#fff2;border-radius:99px;height:6px;margin-top:10px;overflow:hidden}.alm-hero-progress-bar{background:#fff;border-radius:99px;height:6px;transition:width .5s}.alm-map-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:18px;margin:18px 0 26px;box-shadow:0 12px 35px rgba(15,23,42,.06)}.alm-map-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.alm-map-title{font-size:18px;font-weight:900;color:#111827;margin:0}.alm-map-counter{font-size:12px;font-weight:800;color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:6px 10px;white-space:nowrap}.alm-map{height:340px;border-radius:14px;overflow:hidden;background:#f8fafc;border:1px solid #e2e8f0}.alm-map-note{font-size:12px;color:#94a3b8;line-height:1.45;margin-top:9px}.alm-map-empty{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:16px;color:#64748b;font-size:14px;line-height:1.5;min-height:100%;display:flex;align-items:center;justify-content:center;text-align:center}.alm-map-bubble{display:flex;align-items:center;justify-content:center;border-radius:999px;background:rgba(37,99,235,.72);border:2px solid rgba(255,255,255,.94);box-shadow:0 6px 18px rgba(37,99,235,.20);color:#fff;font-weight:900;font-size:12px;line-height:1}.alm-map-cluster{display:flex;align-items:center;justify-content:center;border-radius:999px;background:rgba(30,64,175,.78);border:2px solid rgba(255,255,255,.96);box-shadow:0 8px 22px rgba(30,64,175,.22);color:#fff;font-weight:900;line-height:1}.alm-map-bubble span,.alm-map-cluster span{display:block;text-shadow:0 1px 1px rgba(0,0,0,.25)}.alm-map-popup-title{font-weight:900;color:#111827;margin-bottom:4px}.alm-map-popup-meta{color:#64748b;font-size:12px;line-height:1.4}.alm-map-popup-count{margin-top:8px;font-weight:800;color:#1e40af}.alm-row{display:flex;gap:16px}.alm-row .alm-field{flex:1}.alm-year-field{max-width:150px;flex:0 0 150px}.alm-hint{font-size:12px;color:#9ca3af;margin-top:4px}.alm-rankings{margin-top:32px}.alm-ranking-title{font-size:15px;font-weight:700;color:#1c2b35;margin-bottom:12px}.alm-ranking-list{display:flex;flex-direction:column;gap:8px}.alm-ranking-item{background:#f8fafc;border:1px solid #e2ecf0;border-radius:12px;padding:12px 16px;display:flex;align-items:center;gap:14px}.alm-ranking-medal{font-size:18px;width:28px;text-align:center;flex-shrink:0}.alm-ranking-body{flex:1;min-width:0}.alm-ranking-top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:5px;gap:10px}.alm-ranking-top strong{font-weight:700;font-size:14px;color:#1c2b35}.alm-ranking-top span{font-weight:400;color:#94a3b8;font-size:12px}.alm-ranking-top b{font-size:13px;font-weight:700;color:#487e97}.alm-ranking-bar{background:#e2ecf0;border-radius:99px;height:5px;overflow:hidden;margin-bottom:4px}.alm-ranking-bar i{display:block;background:#487e97;border-radius:99px;height:5px;transition:width .6s}.alm-ranking-meta{font-size:11px;color:#94a3b8}.alm-ranking-link{margin-top:6px}.alm-class-preview-link,.alm-ranking-link a{display:inline-flex;align-items:center;gap:6px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af!important;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:800;text-decoration:none!important;box-shadow:0 4px 12px rgba(30,64,175,.08)}.alm-class-preview-link:hover,.alm-ranking-link a:hover{background:#dbeafe;color:#1e3a8a!important;text-decoration:none!important}.alm-map-grid,.alm-map-side,.alm-country-list,.alm-country{display:initial}.alm-map-side,.alm-country-list,.alm-country{display:none!important}@media(max-width:720px){.alm-hero-stats{flex-direction:column}.alm-map-head{display:block}.alm-map-counter{display:inline-flex;margin-top:8px;white-space:normal}.alm-map{height:300px}.alm-row{display:block}.alm-year-field{max-width:none;flex:auto}.alm-ranking-top{align-items:flex-start}.alm-ranking-item{align-items:flex-start}}

/* v1.7 - functional parity additions from alumni v52 */
.alm-profile-card h2{font-size:26px;margin-bottom:6px}.alm-profile-dl{display:grid;grid-template-columns:120px 1fr;gap:8px 18px;margin:18px 0 0}.alm-profile-dl dt{font-size:12px;font-weight:900;text-transform:uppercase;color:#94a3b8}.alm-profile-dl dd{margin:0;color:#1e293b}.alm-profile-link{display:inline-flex;align-items:center;background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af!important;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:900;text-decoration:none!important}.alm-profile-link:hover{background:#dbeafe;text-decoration:none!important}.alm-danger-link{color:#991b1b!important;background:#fef2f2!important}.alm-danger-link:hover{background:#fee2e2!important;color:#7f1d1d!important}.alm-check-required{border-color:#bfdbfe;background:#eff6ff}@media(max-width:720px){.alm-profile-dl{display:block}.alm-profile-dl dt{margin-top:12px}.alm-profile-dl dd{margin-top:2px}}

/* v1.8.2 - stronger visual parity with alumni v52 */
.alm-wrap{max-width:640px!important;margin:44px auto 60px!important;padding:0 16px!important;color:#1a1a2e!important}.app-embed .alm-wrap{max-width:640px!important;margin:22px auto 44px!important}.alm-hero{margin-bottom:24px!important}.alm-hero-img{display:block;width:100%;height:auto;margin:0 0 18px;border-radius:14px!important;overflow:hidden;background:#f8fafc;border:1px solid #e2e8f0!important;box-shadow:none!important}.alm-hero-fallback{border-radius:14px!important;margin:0 0 18px!important;border:1px solid #e2e8f0!important;background:#f8fafc!important;color:#1a1a2e!important;box-shadow:none!important;font-size:26px!important}.alm-subtitle{color:#555!important;margin:0 0 24px!important;line-height:1.6!important;font-size:15px!important}.alm-subtitle strong:first-child{display:block;font-weight:800!important;margin-bottom:12px!important;color:#1a1a2e!important}.alm-subtitle em{display:block;font-style:italic!important;color:#555!important}.alm-faq{display:inline-flex;align-items:center;gap:6px;font-size:13px!important;color:#487e97!important;text-decoration:none!important;border:1px solid #b8d0de!important;border-radius:7px!important;padding:7px 14px!important;background:#f0f7fa!important;font-weight:600!important;margin:0 0 18px auto!important}.alm-card{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:12px!important;padding:28px 32px!important;box-shadow:0 2px 8px rgba(0,0,0,.06)!important;margin-bottom:24px!important}.alm-card h2{font-size:22px!important;line-height:1.25!important;color:#0f172a!important;margin:0 0 18px!important}.alm-field{margin-bottom:18px!important}.alm-field label{font-size:13.5px!important;font-weight:600!important;color:#374151!important;margin-bottom:7px!important}.alm-field input,.alm-field select,.alm-field textarea{padding:10px 13px!important;border:1.5px solid #d1d5db!important;border-radius:7px!important;background:#fafafa!important;font-size:15px!important}.alm-field input:focus,.alm-field select:focus,.alm-field textarea:focus{border-color:#1e40af!important;background:#fff!important;box-shadow:0 0 0 3px rgba(30,64,175,.12)!important}.alm-btn,button{background:#1e40af!important;color:#fff!important;border-radius:7px!important;padding:10px 20px!important;font-size:14px!important;font-weight:800!important;box-shadow:none!important}.alm-btn:hover,button:hover{background:#1d3a99!important;color:#fff!important}.alm-btn-ghost{background:#f1f5f9!important;color:#374151!important}.alm-btn-ghost:hover{background:#e2e8f0!important;color:#374151!important}.alm-steps{display:flex!important;margin:0 0 28px!important;border-radius:10px!important;overflow:hidden!important;border:1px solid #e2e8f0!important;background:#f8fafc!important}.alm-step{flex:1!important;text-align:center!important;padding:10px 8px!important;font-size:12px!important;font-weight:600!important;background:#f8fafc!important;color:#64748b!important;border-right:1px solid #e2e8f0!important;line-height:1.25!important}.alm-step.active{background:#1e40af!important;color:#fff!important;font-weight:700!important}.alm-step.done{background:#dcfce7!important;color:#166534!important}.alm-hero-stats{display:flex!important;gap:12px!important;margin-bottom:28px!important;flex-wrap:wrap!important}.alm-hero-stat{flex:1!important;min-width:140px!important;background:linear-gradient(135deg,#1e40af,#3b82f6)!important;color:#fff!important;border-radius:12px!important;padding:16px 20px!important;text-align:center!important;box-shadow:none!important}.alm-hero-stat-num{font-size:32px!important;font-weight:800!important;line-height:1.1!important}.alm-hero-stat-label{font-size:13px!important;opacity:.85!important;margin-top:4px!important}.alm-hero-progress{background:#fff2!important;border-radius:99px!important;height:6px!important;margin-top:10px!important;overflow:hidden!important}.alm-hero-progress-bar{background:#fff!important;border-radius:99px!important;height:6px!important}.alm-map-card{background:#fff!important;border:1px solid #e5e7eb!important;border-radius:16px!important;padding:18px!important;margin:18px 0 26px!important;box-shadow:0 12px 35px rgba(15,23,42,.06)!important}.alm-map-title{font-size:18px!important;font-weight:900!important;color:#111827!important;margin:0!important}.alm-map-counter{font-size:12px!important;font-weight:800!important;color:#1e40af!important;background:#eff6ff!important;border:1px solid #bfdbfe!important;border-radius:999px!important;padding:6px 10px!important}.alm-map{height:340px!important;border-radius:14px!important;overflow:hidden!important;background:#f8fafc!important;border:1px solid #e2e8f0!important}.alm-map-note{font-size:12px!important;color:#94a3b8!important;line-height:1.45!important;margin-top:9px!important}.alm-row{display:flex!important;gap:16px!important}.alm-year-field{max-width:150px!important;flex:0 0 150px!important}.alm-hint{font-size:12px!important;color:#9ca3af!important;margin-top:4px!important}.alm-rankings{margin-top:32px!important}.alm-ranking-title{font-size:15px!important;font-weight:700!important;color:#1c2b35!important;margin-bottom:12px!important}.alm-ranking-list{display:flex!important;flex-direction:column!important;gap:8px!important}.alm-ranking-item{background:#f8fafc!important;border:1px solid #e2ecf0!important;border-radius:12px!important;padding:12px 16px!important;display:flex!important;align-items:center!important;gap:14px!important}.alm-ranking-medal{font-size:18px!important;width:28px!important;text-align:center!important;flex-shrink:0!important}.alm-ranking-top strong{font-weight:700!important;font-size:14px!important;color:#1c2b35!important}.alm-ranking-top span{font-weight:400!important;color:#94a3b8!important;font-size:12px!important}.alm-ranking-top b{font-size:13px!important;font-weight:700!important;color:#487e97!important}.alm-ranking-bar{background:#e2ecf0!important;border-radius:99px!important;height:5px!important;overflow:hidden!important;margin-bottom:4px!important}.alm-ranking-bar i{display:block!important;background:#487e97!important;border-radius:99px!important;height:5px!important}.alm-ranking-meta{font-size:11px!important;color:#94a3b8!important}.alm-class-title{font-size:24px!important;margin:0 0 6px!important;color:#1a1a2e!important}.alm-stat-row{display:flex!important;gap:12px!important;margin-bottom:24px!important;flex-wrap:wrap!important}.alm-mini-stat{background:#eff6ff!important;border:1px solid #bfdbfe!important;border-radius:8px!important;padding:10px 16px!important;font-size:13px!important;color:#1e40af!important;flex:1!important;min-width:180px!important}.alm-mini-stat strong{display:block!important;font-size:20px!important}.alm-info-banner{background:#fef3c7!important;border:1px solid #fcd34d!important;border-radius:8px!important;padding:12px 16px!important;font-size:13px!important;color:#92400e!important;margin-bottom:20px!important}@media(max-width:720px){.alm-wrap{margin:24px auto 40px!important}.alm-card{padding:22px 18px!important}.alm-hero-stats{flex-direction:column!important}.alm-row{display:block!important}.alm-year-field{max-width:none!important;flex:auto!important}.alm-map{height:300px!important}.alm-ranking-item{align-items:flex-start!important}.alm-actions{display:block!important}.alm-actions .alm-btn,.alm-actions button{width:100%!important;margin:6px 0!important}}

/* v1.8.3 - admin-tunable presentation */
.alm-wrap{max-width:var(--alm-app-max-width,640px)!important}.alm-card,.alm-map-card,.alm-hero-stat,.alm-mini-stat,.alm-name-card,.alm-thread{border-radius:var(--alm-card-radius,12px)!important}.alm-btn,button,.alm-class-link,.alm-wa-button{background:var(--alm-button,#1e40af)!important;color:var(--alm-button-text,#fff)!important}.alm-btn:hover,button:hover,.alm-class-link:hover,.alm-wa-button:hover{background:var(--alm-button-hover,#1d3a99)!important;color:var(--alm-button-text,#fff)!important}.alm-step.active,.alm-ranking-bar i,.alm-progress-bar-fill{background:var(--alm-button,#1e40af)!important}.alm-ranking-top b,.alm-map-counter,.alm-mini-stat,.alm-class-preview-link,.alm-ranking-link a{color:var(--alm-blue,#487e97)!important}.alm-hero-stat{background:linear-gradient(135deg,var(--alm-button,#1e40af),var(--alm-blue,#487e97))!important}.alm-hero-progress-bar{background:var(--alm-button-text,#fff)!important}

/* v1.8.5 - editable contact/privacy intro blocks, font parity with original PHP page */
body,.alm-wrap,.alm-wrap input,.alm-wrap select,.alm-wrap textarea,.alm-wrap button{font-family:Arial,sans-serif!important}.alm-intro-help{display:grid!important;gap:12px!important;margin:0 0 26px!important}.alm-contact-help{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:var(--alm-card-radius,12px)!important;padding:18px 20px!important;box-shadow:0 2px 8px rgba(0,0,0,.04)!important}.alm-contact-help h2{font-size:20px!important;line-height:1.3!important;margin:0 0 9px!important;color:#1a1a2e!important;font-weight:800!important}.alm-contact-help p{margin:0!important;color:#555!important;font-size:14px!important;line-height:1.65!important}.alm-contact-help a{color:var(--alm-blue,#487e97)!important;font-weight:800!important;text-decoration:none!important}.alm-contact-help a:hover{text-decoration:underline!important}.alm-privacy-notice{background:#fff7ed!important;border:1px solid #fcd34d!important;border-radius:var(--alm-card-radius,12px)!important;padding:14px 18px!important;color:#92400e!important;font-size:13px!important;line-height:1.6!important}@media(max-width:720px){.alm-intro-help{margin-bottom:22px!important}.alm-contact-help{padding:16px!important}}

/* v1.8.7 - safer token flow and wider, smoother public layout */
body,.alm-wrap,.alm-wrap input,.alm-wrap select,.alm-wrap textarea,.alm-wrap button{font-family:inherit!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}.alm-wrap{max-width:min(100%,max(var(--alm-app-max-width,820px),820px))!important}.app-embed .alm-wrap{max-width:min(100%,max(var(--alm-app-max-width,820px),820px))!important}.alm-card{padding:30px 34px!important}.alm-table{table-layout:auto!important;white-space:normal!important}.alm-table th,.alm-table td{min-width:150px!important}.alm-table th:first-child,.alm-table td:first-child{min-width:220px!important}.alm-table td:nth-child(2){min-width:220px!important}.alm-profile-dl{grid-template-columns:160px minmax(0,1fr)!important}.alm-access-sent p,.alm-done p{max-width:680px}@media(max-width:720px){.alm-wrap,.app-embed .alm-wrap{max-width:100%!important}.alm-card{padding:22px 18px!important}.alm-table th,.alm-table td,.alm-table th:first-child,.alm-table td:first-child,.alm-table td:nth-child(2){min-width:130px!important}}

/* v1.8.8 - širší, měkčí a čitelnější veřejný layout */
:root{
  --alm-page-bg:#f6f8fb;
  --alm-soft-line:#dbe3ef;
  --alm-soft-shadow:0 12px 34px rgba(15,23,42,.075);
  --alm-soft-shadow-small:0 6px 18px rgba(15,23,42,.055);
}
html{font-size:16px!important;-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;text-rendering:optimizeLegibility!important}
body,.app-embed{background:var(--alm-bg,var(--alm-page-bg))!important;color:#0f172a!important}
body,.alm-wrap,.alm-wrap input,.alm-wrap select,.alm-wrap textarea,.alm-wrap button{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important}
.alm-wrap,.app-embed .alm-wrap{
  width:min(100% - 40px, max(var(--alm-app-max-width,1080px),1080px))!important;
  max-width:min(100% - 40px, max(var(--alm-app-max-width,1080px),1080px))!important;
  margin:36px auto 72px!important;
  padding:0!important;
}
.app-embed .alm-wrap{margin-top:24px!important;margin-bottom:48px!important}
.alm-hero{margin:0 0 28px!important}
.alm-hero-fallback{
  display:block!important;
  width:100%!important;
  background:linear-gradient(135deg,#fff 0%,#eef4ff 100%)!important;
  border:1px solid var(--alm-soft-line)!important;
  border-radius:24px!important;
  padding:34px 38px!important;
  box-shadow:var(--alm-soft-shadow)!important;
  color:#0f172a!important;
  font-size:clamp(28px,3.2vw,46px)!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
  font-weight:850!important;
}
.alm-hero-img{border-radius:24px!important;border:1px solid var(--alm-soft-line)!important;box-shadow:var(--alm-soft-shadow)!important}
.alm-subtitle{max-width:760px!important;margin:20px 0 0!important;color:#475569!important;font-size:16px!important;line-height:1.7!important}
.alm-subtitle strong:first-child{font-size:18px!important;color:#0f172a!important;margin-bottom:8px!important;letter-spacing:-.01em!important}
.alm-subtitle em{font-style:normal!important;color:#475569!important}
.alm-faq{border-radius:999px!important;padding:8px 14px!important;margin-top:16px!important}
.alm-hero-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;margin:26px 0!important}
.alm-hero-stat{border-radius:20px!important;padding:26px 24px!important;box-shadow:0 14px 30px rgba(30,64,175,.18)!important}
.alm-hero-stat-num{font-size:44px!important;line-height:1!important;letter-spacing:-.03em!important}
.alm-hero-stat-label{font-size:14px!important;line-height:1.35!important;margin-top:9px!important}
.alm-hero-progress{height:7px!important;margin-top:14px!important}
.alm-hero-progress-bar{height:7px!important}
.alm-card,.alm-map-card,.alm-contact-help,.alm-thread{
  border:1px solid var(--alm-soft-line)!important;
  border-radius:max(var(--alm-card-radius,18px),18px)!important;
  box-shadow:var(--alm-soft-shadow)!important;
  background:#fff!important;
}
.alm-card{padding:32px 36px!important;margin-bottom:28px!important}
.alm-card h2{font-size:24px!important;letter-spacing:-.025em!important;margin-bottom:20px!important;color:#0f172a!important}
.alm-map-card{padding:24px!important;margin:28px 0!important}
.alm-map-head{align-items:center!important;margin-bottom:18px!important}
.alm-map-title{font-size:22px!important;letter-spacing:-.02em!important}
.alm-map-counter{box-shadow:var(--alm-soft-shadow-small)!important;background:#eff6ff!important}
.alm-map{height:440px!important;border-radius:18px!important;border:1px solid var(--alm-soft-line)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.65)!important}
.alm-map-note{font-size:12.5px!important;color:#64748b!important;margin-top:11px!important}
.alm-steps{border:1px solid var(--alm-soft-line)!important;background:#eaf0f8!important;border-radius:16px!important;padding:6px!important;gap:6px!important;overflow:visible!important;box-shadow:var(--alm-soft-shadow-small)!important}
.alm-step{border:0!important;border-radius:12px!important;background:transparent!important;color:#64748b!important;padding:12px 10px!important;font-weight:750!important}
.alm-step.active{background:var(--alm-button,#1e40af)!important;color:var(--alm-button-text,#fff)!important;box-shadow:0 8px 16px rgba(30,64,175,.18)!important}
.alm-step.done{background:#dcfce7!important;color:#166534!important}
.alm-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(170px,220px)!important;gap:18px!important;align-items:start!important}
.alm-row .alm-field{min-width:0!important}
.alm-year-field{max-width:none!important;flex:auto!important}
.alm-field{margin-bottom:18px!important}
.alm-field label{font-size:14px!important;color:#334155!important;margin-bottom:7px!important;font-weight:750!important}
.alm-field input,.alm-field select,.alm-field textarea{
  border:1px solid #cbd5e1!important;
  border-radius:13px!important;
  padding:13px 14px!important;
  background:#fff!important;
  font-size:16px!important;
  box-shadow:0 1px 0 rgba(15,23,42,.02)!important;
}
.alm-field input:focus,.alm-field select:focus,.alm-field textarea:focus{border-color:var(--alm-button,#1e40af)!important;box-shadow:0 0 0 4px rgba(30,64,175,.12)!important}
.alm-hint,.alm-small,.alm-mini{color:#64748b!important}
.alm-btn,button{border-radius:13px!important;padding:12px 20px!important;font-weight:800!important;box-shadow:0 8px 18px rgba(30,64,175,.16)!important}
.alm-btn-ghost{box-shadow:none!important}
.alm-ranking-item,.alm-name-card,.alm-result-card,.alm-profile-note,.alm-info-banner,.alm-check{border-radius:14px!important;border-color:var(--alm-soft-line)!important}
.alm-rankings{margin-top:34px!important}
.alm-table th,.alm-table td{padding:14px!important}
@media(min-width:980px){
  .alm-card:has(form.alm-form:first-child){padding:34px 40px!important}
}
@media(max-width:760px){
  .alm-wrap,.app-embed .alm-wrap{width:min(100% - 20px,1080px)!important;max-width:min(100% - 20px,1080px)!important;margin:18px auto 40px!important}
  .alm-hero-fallback{border-radius:20px!important;padding:24px 20px!important;font-size:clamp(25px,8vw,34px)!important}
  .alm-subtitle{font-size:15px!important}
  .alm-hero-stats{grid-template-columns:1fr!important;gap:12px!important}
  .alm-hero-stat{padding:22px 18px!important}
  .alm-card,.alm-map-card,.alm-contact-help{padding:20px 18px!important;border-radius:18px!important}
  .alm-map{height:330px!important;border-radius:14px!important}
  .alm-map-head{align-items:flex-start!important;flex-direction:column!important;gap:10px!important}
  .alm-steps{overflow-x:auto!important;scrollbar-width:thin!important}
  .alm-step{min-width:125px!important;white-space:nowrap!important}
  .alm-row{display:block!important}
  .alm-actions{display:grid!important;grid-template-columns:1fr!important}
  .alm-actions .alm-btn,.alm-actions button{width:100%!important}
}


/* v1.8.9 - větší žebříček tříd, náhled třídy a tabule třídy */
.alm-rankings{margin-top:44px!important}
.alm-ranking-title{font-size:22px!important;font-weight:850!important;color:#0f172a!important;margin:0 0 18px!important;letter-spacing:-.02em!important}
.alm-ranking-list{gap:16px!important}
.alm-ranking-item{padding:22px 24px!important;gap:18px!important;border-radius:20px!important;background:#f8fafc!important;box-shadow:0 8px 24px rgba(15,23,42,.05)!important}
.alm-ranking-medal{width:38px!important;font-size:28px!important;line-height:1!important}
.alm-ranking-body{width:100%!important;min-width:0!important}
.alm-ranking-top{margin-bottom:10px!important;gap:12px!important}
.alm-ranking-top strong{font-size:18px!important;font-weight:850!important;color:#0f172a!important;letter-spacing:-.01em!important}
.alm-ranking-top span{font-size:14px!important;color:#64748b!important}
.alm-ranking-top b{font-size:15px!important;font-weight:850!important;color:var(--alm-button,#1e40af)!important}
.alm-ranking-bar{height:8px!important;margin:8px 0 8px!important;background:#dbeafe!important}
.alm-ranking-bar i{height:8px!important;background:var(--alm-button,#1e40af)!important}
.alm-ranking-meta{font-size:13.5px!important;color:#64748b!important;line-height:1.45!important}
.alm-ranking-link{margin-top:12px!important}
.alm-ranking-link a,.alm-class-preview-link{padding:10px 16px!important;font-size:14.5px!important;border-radius:999px!important}

.alm-class-title{font-size:clamp(30px,3.6vw,44px)!important;line-height:1.08!important;letter-spacing:-.035em!important;margin:8px 0 8px!important;color:#0f172a!important}
.alm-class-school{font-size:16px!important;color:#475569!important;margin-bottom:24px!important}
.alm-stat-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;margin-bottom:28px!important}
.alm-mini-stat{padding:22px 24px!important;border-radius:18px!important;font-size:15px!important;line-height:1.4!important;background:#eff6ff!important;border-color:#bfdbfe!important;color:#1e40af!important}
.alm-mini-stat strong{font-size:34px!important;line-height:1.05!important;margin-bottom:4px!important;letter-spacing:-.025em!important}
.alm-info-banner{font-size:15px!important;line-height:1.6!important;padding:18px 20px!important;border-radius:18px!important;margin-bottom:24px!important}
.alm-names-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))!important;gap:14px!important;margin-bottom:24px!important}
.alm-name-card{padding:18px 20px!important;border-radius:18px!important;font-size:16px!important;line-height:1.45!important;background:#fff!important;box-shadow:0 6px 18px rgba(15,23,42,.04)!important}
.alm-name-card.updated{border-left-width:6px!important;background:#f0fdf4!important}
.alm-name-main{font-size:17px!important;font-weight:750!important;color:#1e293b!important}
.alm-name-card.updated .alm-name-main{font-weight:850!important;color:#14532d!important}
.alm-name-original{font-size:13px!important;margin-top:5px!important;color:#64748b!important}
.alm-name-updated{font-size:13px!important;margin-top:8px!important;color:#166534!important}

.alm-board-tools{display:flex!important;gap:12px!important;align-items:center!important;flex-wrap:wrap!important;margin:18px 0 8px!important}
.alm-board-note{background:#f8fafc!important;border:1px solid var(--alm-soft-line,#e2e8f0)!important;border-radius:16px!important;padding:14px 16px!important;color:#475569!important;font-size:14px!important;line-height:1.55!important;margin:16px 0 0!important}
.alm-board-photo-empty{border:1px dashed #cbd5e1!important;border-radius:18px!important;background:#f8fafc!important;padding:18px 20px!important;color:#64748b!important;margin:14px 0 8px!important;font-size:14px!important}
.alm-table{font-size:15.5px!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden!important;border-radius:16px!important;border:1px solid var(--alm-soft-line,#e2e8f0)!important}
.alm-table th{font-size:14px!important;padding:16px!important;background:#f8fafc!important;color:#0f172a!important}
.alm-table td{padding:16px!important;line-height:1.45!important}
.alm-table td:first-child strong{font-size:16px!important;color:#0f172a!important}
.alm-profile-link{display:inline-flex!important;align-items:center!important;border:1px solid #bfdbfe!important;background:#eff6ff!important;color:#1e40af!important;border-radius:999px!important;padding:7px 12px!important;font-size:13.5px!important;font-weight:850!important;text-decoration:none!important}
.alm-profile-link:hover{background:#dbeafe!important;text-decoration:none!important}

@media(max-width:760px){
  .alm-ranking-item{padding:18px 16px!important;gap:12px!important}
  .alm-ranking-medal{width:30px!important;font-size:22px!important}
  .alm-ranking-top{display:flex!important;align-items:flex-start!important}
  .alm-ranking-top strong{font-size:16px!important}
  .alm-stat-row{grid-template-columns:1fr!important}
  .alm-names-grid{grid-template-columns:1fr!important}
  .alm-table{display:block!important;overflow-x:auto!important;white-space:nowrap!important}
  .alm-board-tools .alm-btn{width:100%!important}
}
