﻿:root {
    --blue-deep: #0a2540;
    --blue-main: #1565c0;
    --blue-bright: #1e88e5;
    --blue-light: #42a5f5;
    --blue-pale: #e3f2fd;
    --cyan: #00bcd4;
    --accent: #f59e0b;
    --green: #4caf50;
    --white: #ffffff;
    --gray: #64748b;
    --light: #f0f7ff;
  }
  * { margin:0; padding:0; box-sizing:border-box; }
  body {
    font-family:'Nunito',sans-serif;
    background:#fff;
    color:var(--blue-deep);
    overflow-x:hidden;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
  }
  body.admin-mode { background:#eef4fb; }
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline:3px solid rgba(21,101,192,0.35);
    outline-offset:2px;
  }

  /* NAV */
  nav {
    position: fixed; top:0; left:0; right:0; z-index:100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(21,101,192,0.12);
    display:flex; align-items:center; justify-content:space-between;
    padding: 0 40px; height:68px;
  }
  .nav-logo {
    display:flex; align-items:center; gap:10px; text-decoration:none;
    font-family:'Exo 2',sans-serif; font-weight:900; font-size:1.4rem; color:var(--blue-main);
  }
  .logo-mascot {
    width:44px; height:44px; cursor:pointer;
    transition: transform 0.3s;
    filter: drop-shadow(0 2px 8px rgba(21,101,192,0.3));
  }
  .logo-mascot:hover { transform: scale(1.15) rotate(-5deg); }
  .nav-links { display:flex; gap:32px; list-style:none; }
  .nav-links a {
    text-decoration:none; color:var(--blue-deep); font-weight:600; font-size:0.93rem;
    position:relative; padding-bottom:4px; transition:color 0.2s;
  }
  .nav-links a::after {
    content:''; position:absolute; bottom:0; left:0; width:0; height:2px;
    background:var(--blue-bright); transition:width 0.3s; border-radius:2px;
  }
  .nav-links a:hover { color:var(--blue-bright); }
  .nav-links a:hover::after { width:100%; }
  .nav-links a.active { color:var(--blue-main); }
  .nav-links a.active::after { width:100%; }
  .btn-apply {
    background: var(--blue-main); color:#fff; border:none; border-radius:30px;
    padding:10px 24px; font-family:'Nunito',sans-serif; font-weight:700; font-size:0.9rem;
    cursor:pointer; display:flex; align-items:center; gap:8px;
    box-shadow: 0 4px 16px rgba(21,101,192,0.35);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    text-decoration:none;
  }
  .btn-apply:hover { background:var(--blue-bright); transform:translateY(-2px); box-shadow:0 8px 24px rgba(21,101,192,0.45); }

  /* HERO */
  .hero {
    margin-top:68px; position:relative; min-height:560px;
    background: url("WhatsApp Image 2026-02-27 at 10.08.09.jpeg") center/cover no-repeat;
    display:flex; align-items:center; overflow:hidden;
  }
  .hero::before {
    content:""; position:absolute; inset:0;
    background: transparent;
  }
  .hero-content { position:relative; z-index:2; padding:60px 80px; max-width:680px; }
  .hero-badge {
    display:inline-block; border:1.5px solid rgba(255,255,255,0.5); border-radius:30px;
    padding:6px 18px; color:rgba(255,255,255,0.9); font-size:0.82rem; font-weight:700;
    margin-bottom:24px; letter-spacing:0.05em;
  }
  .hero h1 {
    font-family:'Exo 2',sans-serif; font-weight:900; font-size:3.2rem; line-height:1.1;
    color:#fff; margin-bottom:20px;
  }
  .hero h1 span { color:#7dd3fc; }
  .hero p { color:rgba(255,255,255,0.82); font-size:1.05rem; line-height:1.6; margin-bottom:36px; }
  .hero-btns { display:flex; gap:16px; flex-wrap:wrap; }
  .btn-white {
    background:#fff; color:var(--blue-main); border:none; border-radius:30px;
    padding:12px 28px; font-family:'Nunito',sans-serif; font-weight:800; font-size:0.95rem;
    cursor:pointer; transition:all 0.2s; text-decoration:none; display:inline-block;
  }
  .btn-white:hover { background:var(--blue-pale); transform:translateY(-2px); }
  .btn-outline-white {
    background:transparent; color:#fff; border:2px solid rgba(255,255,255,0.6); border-radius:30px;
    padding:12px 28px; font-family:'Nunito',sans-serif; font-weight:800; font-size:0.95rem;
    cursor:pointer; transition:all 0.2s; text-decoration:none; display:inline-block;
  }
  .btn-outline-white:hover { background:rgba(255,255,255,0.15); border-color:#fff; }
  .hero-drop {
    position:absolute; right:80px; top:50%; transform:translateY(-50%);
    font-size:13rem; opacity:0.06; user-select:none; color:#fff;
  }
  .hero-wave {
    position:absolute; bottom:0; left:0; right:0;
  }

  /* SECTIONS */
  .section { padding:72px 80px; }
  .section-title {
    font-family:'Exo 2',sans-serif; font-weight:900; font-size:2rem;
    color:var(--blue-deep); margin-bottom:8px;
  }
  .section-sub { color:var(--gray); font-size:1rem; margin-bottom:40px; }
  .section-title-line {
    display:flex; align-items:center; gap:16px; margin-bottom:8px;
  }
  .title-accent { width:5px; height:32px; background:var(--blue-main); border-radius:3px; }

  /* ABOUT + CONTESTS GRID */
  .home-grid { display:grid; grid-template-columns:280px 1fr 1fr; gap:24px; align-items:start; }
  .about-card {
    background:var(--blue-pale); border-radius:20px; padding:28px;
    border:1.5px solid rgba(21,101,192,0.12);
  }
  .about-card .icon { font-size:1.5rem; margin-bottom:12px; }
  .about-card h3 { font-weight:800; font-size:1.05rem; color:var(--blue-main); margin-bottom:8px; }
  .about-card p { font-size:0.88rem; color:var(--gray); line-height:1.6; }
  .about-card a { color:var(--blue-bright); font-weight:700; font-size:0.9rem; text-decoration:none; display:inline-flex; align-items:center; gap:4px; margin-top:12px; }

  /* CONTEST CARDS */
  .contests-panel { background:#fff; border-radius:20px; padding:28px; border:1.5px solid #e2eaf4; }
  .panel-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
  .panel-header h3 { font-weight:800; font-size:1.05rem; display:flex; align-items:center; gap:8px; }
  .badge-active { background:#dcfce7; color:#16a34a; font-size:0.75rem; font-weight:700; padding:4px 12px; border-radius:20px; }
  .contest-item {
    border:1.5px solid #e2eaf4; border-radius:14px; padding:16px 20px; margin-bottom:14px;
    position:relative; transition:box-shadow 0.2s;
  }
  .contest-item:hover { box-shadow: 0 4px 20px rgba(21,101,192,0.1); }
  .deadline-badge {
    position:absolute; top:14px; right:14px;
    background:var(--accent); color:#fff; font-size:0.75rem; font-weight:800;
    padding:3px 10px; border-radius:12px;
  }
  .contest-item h4 { font-weight:800; font-size:0.95rem; margin-bottom:6px; padding-right:70px; }
  .contest-item p { font-size:0.83rem; color:var(--gray); margin-bottom:10px; }
  .contest-footer { display:flex; align-items:center; justify-content:space-between; }
  .time-left { font-size:0.8rem; color:var(--gray); display:flex; align-items:center; gap:4px; }
  .btn-sm {
    background:var(--blue-pale); color:var(--blue-main); border:none; border-radius:20px;
    padding:6px 16px; font-family:'Nunito',sans-serif; font-weight:700; font-size:0.82rem;
    cursor:pointer; transition:all 0.2s; text-decoration:none;
  }
  .btn-sm:hover { background:var(--blue-main); color:#fff; }

  /* NEWS PANEL */
  .news-panel { background:#fff; border-radius:20px; padding:28px; border:1.5px solid #e2eaf4; }
  .news-item { display:flex; gap:14px; padding:14px 0; border-bottom:1px solid #f0f4f8; }
  .news-item:last-child { border-bottom:none; }
  .news-img {
    width:72px; height:56px; border-radius:10px; object-fit:cover; flex-shrink:0;
    background:linear-gradient(135deg, var(--blue-light), var(--cyan));
    display:flex; align-items:center; justify-content:center; font-size:1.5rem;
  }
  .news-date { font-size:0.75rem; color:var(--blue-bright); font-weight:700; }
  .news-title { font-size:0.88rem; font-weight:700; color:var(--blue-deep); line-height:1.4; }
  .news-all { color:var(--blue-bright); font-weight:700; font-size:0.9rem; text-decoration:none; }

  /* ABOUT PAGE */
  .page-section { display:none; min-height:calc(100vh - 68px + 20px); }
  .page-section.active { display:block; }

  .goals-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:20px; }
  .goal-card {
    background:var(--light); border-radius:16px; padding:20px;
    display:flex; align-items:flex-start; gap:14px;
  }
  .goal-icon { font-size:1.8rem; }
  .goal-card h4 { font-weight:800; font-size:0.95rem; margin-bottom:4px; }
  .goal-card p { font-size:0.85rem; color:var(--gray); }

  .docs-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:20px; }
  .doc-card {
    border:1.5px solid #e2eaf4; border-radius:14px; padding:18px 20px;
    display:flex; align-items:center; justify-content:space-between;
    transition:box-shadow 0.2s; cursor:pointer;
  }
  .doc-card:hover { box-shadow:0 4px 16px rgba(21,101,192,0.12); }
  .doc-info { display:flex; align-items:center; gap:12px; }
  .doc-icon { font-size:2rem; }
  .doc-name { font-weight:700; font-size:0.9rem; }
  .doc-size { font-size:0.78rem; color:var(--gray); }
  .btn-dl { background:var(--blue-pale); border:none; border-radius:50%; width:36px; height:36px; cursor:pointer; font-size:1rem; display:flex; align-items:center; justify-content:center; color:var(--blue-main); transition:all 0.2s; }
  .btn-dl:hover { background:var(--blue-main); color:#fff; }

  /* PROGRESS PAGE */
  .progress-layout { display:grid; grid-template-columns:1fr 280px; gap:32px; }
  .filter-tabs { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:28px; }
  .tab {
    border:1.5px solid #e2eaf4; background:#fff; border-radius:20px; padding:8px 20px;
    font-family:'Nunito',sans-serif; font-weight:700; font-size:0.85rem; cursor:pointer;
    transition:all 0.2s;
  }
  .tab.active, .tab:hover { background:var(--blue-main); color:#fff; border-color:var(--blue-main); }
  .media-grid { display:grid; grid-template-columns:280px 1fr; gap:20px; margin-bottom:20px; }
  .media-main { border-radius:16px; overflow:hidden; position:relative; }
  .media-main img { width:100%; height:200px; object-fit:cover; }
  .media-tag { position:absolute; top:12px; left:12px; background:var(--blue-main); color:#fff; font-size:0.75rem; font-weight:700; padding:4px 12px; border-radius:10px; }
  .media-date { position:absolute; top:12px; right:12px; background:rgba(255,255,255,0.9); color:var(--blue-main); font-size:0.75rem; font-weight:700; padding:4px 12px; border-radius:10px; }
  .media-body { padding:14px 0; }
  .media-body h3 { font-weight:800; font-size:1rem; margin-bottom:8px; line-height:1.4; }
  .media-body p { font-size:0.85rem; color:var(--gray); line-height:1.5; }
  .media-body a { color:var(--blue-bright); font-weight:700; font-size:0.88rem; text-decoration:none; }
  .media-small { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:20px; }
  .card-sm { border:1.5px solid #e2eaf4; border-radius:14px; overflow:hidden; }
  .card-sm-img { height:120px; background:linear-gradient(135deg,var(--blue-light),var(--cyan)); display:flex; align-items:center; justify-content:center; font-size:2.5rem; position:relative; }
  .card-sm-body { padding:14px; }
  .card-sm-body h4 { font-size:0.88rem; font-weight:800; margin-bottom:4px; }
  .card-sm-body p { font-size:0.8rem; color:var(--gray); }
  .stages-card { background:var(--light); border-radius:16px; padding:24px; }
  .stages-card h3 { font-weight:800; font-size:0.95rem; margin-bottom:20px; display:flex; align-items:center; gap:8px; }
  .stage { display:flex; align-items:flex-start; gap:14px; margin-bottom:20px; }
  .stage-dot { width:14px; height:14px; border-radius:50%; flex-shrink:0; margin-top:4px; }
  .stage-dot.done { background:var(--blue-main); }
  .stage-dot.active { background:transparent; border:3px solid var(--blue-main); }
  .stage-dot.pending { background:transparent; border:3px solid #cbd5e1; }
  .stage-info h4 { font-size:0.88rem; font-weight:800; }
  .stage-info .date { font-size:0.78rem; color:var(--gray); margin-bottom:4px; }
  .stage-badge { font-size:0.72rem; font-weight:700; padding:3px 10px; border-radius:10px; }
  .done-badge { background:#dcfce7; color:#16a34a; }
  .active-badge { background:#dbeafe; color:var(--blue-main); }

  /* CONTESTS PAGE */
  .contests-layout { display:grid; grid-template-columns:300px 1fr; gap:32px; }
  .contest-list .search-box {
    width:100%; border:1.5px solid #e2eaf4; border-radius:12px; padding:10px 16px;
    font-family:'Nunito',sans-serif; font-size:0.9rem; outline:none; margin-bottom:16px;
    transition:border-color 0.2s;
  }
  .contest-list .search-box:focus { border-color:var(--blue-main); }
  .contest-list-item {
    border:1.5px solid #e2eaf4; border-radius:14px; padding:16px; margin-bottom:12px;
    cursor:pointer; transition:all 0.2s;
  }
  .contest-list-item:hover, .contest-list-item.selected { border-color:var(--blue-main); background:var(--blue-pale); }
  .contest-list-item .status { font-size:0.75rem; font-weight:700; padding:3px 10px; border-radius:10px; margin-bottom:6px; display:inline-block; }
  .status-active { background:#dcfce7; color:#16a34a; }
  .status-done { background:#f1f5f9; color:#64748b; }
  .contest-detail { background:#fff; border:1.5px solid #e2eaf4; border-radius:20px; padding:32px; }
  .contest-detail-header { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:24px; }
  .contest-type { font-size:0.78rem; font-weight:700; background:var(--blue-pale); color:var(--blue-main); padding:4px 12px; border-radius:10px; margin-bottom:8px; display:inline-block; }
  .contest-id { font-size:0.78rem; color:var(--gray); }
  .deadline-big { text-align:right; }
  .deadline-big .label { font-size:0.75rem; color:var(--gray); font-weight:600; text-transform:uppercase; letter-spacing:0.05em; }
  .deadline-big .date { font-size:1.2rem; font-weight:900; color:#e53e3e; font-family:'Exo 2',sans-serif; }
  .form-group { margin-bottom:18px; }
  .form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
  .form-group label { display:block; font-size:0.8rem; font-weight:700; color:var(--gray); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:6px; }
  .form-group label span { color:#e53e3e; }
  .form-group input, .form-group select {
    width:100%; border:1.5px solid #e2eaf4; border-radius:10px; padding:11px 14px;
    font-family:'Nunito',sans-serif; font-size:0.9rem; outline:none; transition:border-color 0.2s;
    color:var(--blue-deep);
  }
  .form-group input:focus, .form-group select:focus { border-color:var(--blue-main); }
  .upload-area {
    border:2px dashed #bfdbfe; border-radius:12px; padding:32px; text-align:center;
    cursor:pointer; transition:all 0.2s; background:#f8faff;
  }
  .upload-area:hover { border-color:var(--blue-main); background:var(--blue-pale); }
  .upload-icon { font-size:2.5rem; margin-bottom:10px; }
  .upload-text { font-size:0.9rem; font-weight:700; color:var(--blue-main); }
  .upload-hint { font-size:0.78rem; color:var(--gray); margin-top:4px; }
  .checkbox-row { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
  .checkbox-row input[type=checkbox] { width:16px; height:16px; accent-color:var(--blue-main); }
  .checkbox-row label { font-size:0.85rem; color:var(--gray); }
  .checkbox-row a { color:var(--blue-bright); }
  .section-shell { padding-top:30px; min-height:calc(100vh - 68px + 40px); }
  .section-shell.top-70 { padding-top:70px; }
  .two-col-about { display:grid; grid-template-columns:200px 1fr; gap:32px; align-items:start; }
  .two-col-content { display:grid; grid-template-columns:1fr 220px; gap:20px; align-items:start; }
  .back-row { margin-top:18px; display:flex; justify-content:flex-end; }
  .message-textarea {
    width:100%;
    border:1.5px solid #e2eaf4;
    border-radius:10px;
    padding:11px 14px;
    font-family:'Nunito',sans-serif;
    font-size:0.9rem;
    outline:none;
    resize:vertical;
    min-height:120px;
    transition:border-color 0.2s;
  }
  .message-textarea:focus { border-color:var(--blue-main); }
  .inline-search-input {
    border:1.5px solid #e2eaf4;
    border-radius:12px;
    padding:9px 16px;
    font-family:'Nunito',sans-serif;
    font-size:0.88rem;
    outline:none;
    width:220px;
  }
  .inline-sort-select {
    border:1.5px solid #e2eaf4;
    border-radius:10px;
    padding:8px 14px;
    font-family:'Nunito',sans-serif;
    font-size:0.88rem;
    outline:none;
    color:var(--blue-main);
    font-weight:700;
  }
  .side-nav-card { background:var(--light); border-radius:14px; padding:16px; margin-bottom:16px; }
  .side-nav-title { font-size:0.72rem; font-weight:700; color:var(--gray); text-transform:uppercase; letter-spacing:0.05em; margin-bottom:10px; }
  .side-nav-link { display:flex; align-items:center; gap:8px; padding:8px 12px; color:var(--gray); border-radius:8px; text-decoration:none; font-size:0.88rem; font-weight:600; cursor:pointer; margin-bottom:6px; }
  .side-nav-link:last-child { margin-bottom:0; }
  .side-nav-link.active { background:var(--blue-main); color:#fff; font-weight:700; }
  .help-card { background:var(--blue-pale); border-radius:14px; padding:16px; }
  .help-title { font-weight:800; font-size:0.9rem; color:var(--blue-main); margin-bottom:6px; }
  .help-text { font-size:0.82rem; color:var(--gray); margin-bottom:12px; }
  .goals-lead { border-left:4px solid var(--blue-main); padding:16px 20px; background:var(--light); border-radius:0 12px 12px 0; margin-bottom:24px; }
  .goals-lead-title { font-size:1.4rem; margin-bottom:12px; }
  .goals-lead-text { font-size:0.9rem; color:var(--gray); line-height:1.6; margin-bottom:16px; }
  .toolbar-row { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
  .section-title-sm-gap { margin-bottom:4px; }
  .newsletter-box { background:var(--light); border-radius:14px; padding:20px; }
  .newsletter-title { font-weight:800; font-size:0.95rem; margin-bottom:12px; }
  .newsletter-row { display:flex; gap:8px; }
  .newsletter-input { flex:1; border:1.5px solid #e2eaf4; border-radius:10px; padding:10px 14px; font-family:'Nunito',sans-serif; font-size:0.88rem; outline:none; }
  .newsletter-btn { background:var(--blue-main); color:#fff; border:none; border-radius:10px; width:40px; cursor:pointer; font-size:1.1rem; }
  .contest-tabs-row { display:flex; gap:8px; margin-bottom:16px; }
  .contest-tab-btn { font-size:0.8rem; padding:6px 14px; }
  .btn-submit {
    background:var(--blue-main); color:#fff; border:none; border-radius:12px;
    padding:13px 32px; font-family:'Nunito',sans-serif; font-weight:800; font-size:1rem;
    cursor:pointer; transition:all 0.2s;
  }
  .btn-submit:hover { background:var(--blue-bright); transform:translateY(-2px); box-shadow:0 6px 20px rgba(21,101,192,0.35); }
  .btn-submit:disabled { opacity:0.65; cursor:not-allowed; transform:none !important; box-shadow:none !important; }

  /* MATERIALS */
  .materials-layout { display:grid; grid-template-columns:240px 1fr; gap:32px; }
  .filter-panel { background:var(--light); border-radius:16px; padding:24px; }
  .filter-panel h3 { font-weight:800; font-size:1rem; margin-bottom:20px; }
  .filter-section { margin-bottom:20px; }
  .filter-section h4 { font-size:0.75rem; font-weight:700; color:var(--gray); text-transform:uppercase; letter-spacing:0.05em; margin-bottom:10px; }
  .filter-check { display:flex; align-items:center; gap:8px; margin-bottom:8px; font-size:0.88rem; cursor:pointer; }
  .filter-check input { accent-color:var(--blue-main); }
  .filter-select { width:100%; border:1.5px solid #e2eaf4; border-radius:8px; padding:8px 12px; font-family:'Nunito',sans-serif; font-size:0.88rem; outline:none; background:#fff; }
  .featured-banner {
    background:linear-gradient(135deg,var(--blue-main),var(--blue-bright));
    border-radius:16px; padding:24px 28px; display:flex; align-items:center; justify-content:space-between;
    margin-bottom:24px; color:#fff;
  }
  .featured-label { font-size:0.75rem; background:rgba(255,255,255,0.25); padding:3px 10px; border-radius:10px; margin-bottom:8px; display:inline-block; font-weight:700; }
  .featured-banner h3 { font-size:1.1rem; font-weight:900; margin-bottom:6px; }
  .featured-banner p { font-size:0.85rem; opacity:0.85; margin-bottom:14px; }
  .btn-featured { background:#fff; color:var(--blue-main); border:none; border-radius:20px; padding:8px 20px; font-family:'Nunito',sans-serif; font-weight:800; font-size:0.88rem; cursor:pointer; display:flex; align-items:center; gap:6px; }
  .featured-img { font-size:6rem; opacity:0.3; }
  .materials-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
  .mat-card { border:1.5px solid #e2eaf4; border-radius:14px; padding:20px; transition:box-shadow 0.2s; }
  .mat-card:hover { box-shadow:0 4px 20px rgba(21,101,192,0.12); }
  .mat-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
  .mat-icon { font-size:2rem; }
  .mat-size { font-size:0.75rem; color:var(--gray); font-weight:600; }
  .mat-card h4 { font-size:0.9rem; font-weight:800; margin-bottom:6px; line-height:1.4; }
  .mat-card p { font-size:0.8rem; color:var(--gray); line-height:1.5; margin-bottom:14px; }
  .mat-footer { display:flex; align-items:center; justify-content:space-between; }
  .mat-views { font-size:0.78rem; color:var(--gray); display:flex; align-items:center; gap:4px; }
  .btn-dl-sm { background:var(--blue-pale); color:var(--blue-main); border:none; border-radius:10px; padding:6px 14px; font-family:'Nunito',sans-serif; font-weight:700; font-size:0.8rem; cursor:pointer; transition:all 0.2s; display:flex; align-items:center; gap:4px; }
  .btn-dl-sm:hover { background:var(--blue-main); color:#fff; }

  /* IAC-like functional module */
  .iac-module {
    background:linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
    border:1px solid #dbeafe;
    border-radius:20px;
    margin-top:8px;
    padding:28px;
  }
  .iac-head { margin-bottom:18px; }
  .iac-label {
    display:inline-block;
    font-size:0.7rem;
    font-weight:800;
    letter-spacing:0.08em;
    color:#1e40af;
    background:#dbeafe;
    padding:5px 10px;
    border-radius:999px;
    margin-bottom:10px;
  }
  .iac-head h2 {
    font-family:'Exo 2',sans-serif;
    font-weight:900;
    font-size:1.5rem;
    color:#0f2744;
  }
  .iac-kpi-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
    margin-bottom:16px;
  }
  .iac-kpi-card {
    background:#fff;
    border:1px solid #dbe7f7;
    border-radius:14px;
    padding:16px;
  }
  .iac-kpi-value {
    font-family:'Exo 2',sans-serif;
    font-size:2rem;
    font-weight:900;
    color:#1565c0;
    line-height:1;
    margin-bottom:6px;
  }
  .iac-kpi-title { font-size:0.82rem; color:#64748b; font-weight:700; }
  .iac-tabs { display:flex; gap:8px; margin-bottom:12px; flex-wrap:wrap; }
  .iac-tab {
    border:1px solid #bfdbfe;
    background:#fff;
    color:#1d4ed8;
    border-radius:10px;
    padding:8px 12px;
    font-weight:800;
    font-size:0.8rem;
    cursor:pointer;
  }
  .iac-tab.active { background:#1565c0; border-color:#1565c0; color:#fff; }
  .iac-panels { background:#fff; border:1px solid #dbe7f7; border-radius:14px; padding:16px; min-height:78px; }
  .iac-panel { display:none; color:#334155; font-size:0.9rem; line-height:1.6; }
  .iac-panel.active { display:block; }

  /* CONTACTS */
  .contacts-grid { display:grid; grid-template-columns:1fr 1fr; gap:32px; }
  .contacts-info { background:var(--light); border-radius:20px; padding:32px; }
  .contacts-info h2 { font-family:'Exo 2',sans-serif; font-weight:900; font-size:1.5rem; margin-bottom:24px; }
  .contact-row { display:flex; align-items:flex-start; gap:14px; margin-bottom:20px; }
  .contact-ico { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.2rem; flex-shrink:0; }
  .ico-blue { background:var(--blue-pale); }
  .ico-green { background:#dcfce7; }
  .ico-purple { background:#ede9fe; }
  .contact-label { font-size:0.75rem; color:var(--gray); font-weight:600; text-transform:uppercase; letter-spacing:0.04em; margin-bottom:2px; }
  .contact-val { font-weight:700; font-size:0.95rem; }
  .contact-hint { font-size:0.8rem; color:var(--gray); }
  .social-row { display:flex; gap:12px; margin-top:8px; }
  .social-btn {
    width:56px; height:56px; border-radius:50%;
    background:#eef0f3; display:flex; align-items:center; justify-content:center;
    cursor:pointer; transition:all 0.2s; text-decoration:none;
  }
  .social-btn svg { width:24px; height:24px; fill:#7f8794; transition:fill 0.2s; }
  .social-btn:hover { background:#e4e7ec; transform:translateY(-1px); }
  .social-btn:hover svg { fill:#5f6775; }
  .map-placeholder { margin-top:20px; background:linear-gradient(135deg,#dbeafe,#e0f2fe); border-radius:14px; height:160px; display:flex; align-items:center; justify-content:center; font-size:0.9rem; color:var(--blue-main); font-weight:700; gap:8px; }
  .contacts-form { background:#fff; border:1.5px solid #e2eaf4; border-radius:20px; padding:32px; }
  .contacts-form h2 { font-family:'Exo 2',sans-serif; font-weight:900; font-size:1.5rem; margin-bottom:8px; }
  .contacts-form p { color:var(--gray); font-size:0.9rem; margin-bottom:24px; line-height:1.5; }

  /* ADMIN */
  .admin-layout { display:grid; grid-template-columns:240px 1fr; gap:0; min-height:calc(100vh - 68px); }
  .admin-sidebar { background:var(--blue-deep); color:#fff; padding:28px 0; }
  .admin-logo { padding:0 24px 24px; border-bottom:1px solid rgba(255,255,255,0.1); }
  .admin-logo span { font-family:'Exo 2',sans-serif; font-weight:900; font-size:1.2rem; color:var(--blue-light); }
  .admin-logo em { color:#64748b; font-style:normal; font-size:0.75rem; display:block; }
  .admin-menu { padding:20px 0; }
  .admin-section { font-size:0.7rem; color:#475569; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; padding:8px 24px 4px; }
  .admin-item { display:flex; align-items:center; justify-content:space-between; padding:10px 24px; cursor:pointer; transition:background 0.15s; font-size:0.9rem; }
  .admin-item:hover, .admin-item.active { background:rgba(255,255,255,0.08); }
  .admin-item.active { border-left:3px solid var(--blue-light); }
  .admin-item .left { display:flex; align-items:center; gap:10px; }
  .admin-badge { background:var(--blue-main); color:#fff; font-size:0.7rem; font-weight:700; padding:2px 8px; border-radius:10px; }
  .admin-badge.red { background:#e53e3e; }
  .admin-main { background:#f8faff; padding:32px; }
  .admin-topbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:28px; }
  .breadcrumb { font-size:0.85rem; color:var(--gray); }
  .breadcrumb span { color:var(--blue-main); font-weight:700; }
  .topbar-right { display:flex; align-items:center; gap:12px; }
  .btn-site { border:1.5px solid var(--blue-main); color:var(--blue-main); background:#fff; border-radius:10px; padding:8px 16px; font-family:'Nunito',sans-serif; font-weight:700; font-size:0.85rem; cursor:pointer; display:flex; align-items:center; gap:6px; }
  .notif-btn { width:36px; height:36px; border-radius:10px; background:#fff; border:1.5px solid #e2eaf4; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:1rem; position:relative; }
  .notif-dot { position:absolute; top:6px; right:6px; width:8px; height:8px; background:#e53e3e; border-radius:50%; border:2px solid #fff; }
  .stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:24px; }
  .stat-card { background:#fff; border-radius:14px; padding:20px 22px; border:1.5px solid #e2eaf4; }
  .stat-label { font-size:0.72rem; font-weight:700; color:var(--gray); text-transform:uppercase; letter-spacing:0.05em; margin-bottom:8px; }
  .stat-value { font-family:'Exo 2',sans-serif; font-weight:900; font-size:2rem; margin-bottom:4px; }
  .stat-sub { font-size:0.78rem; color:var(--green); font-weight:700; display:flex; align-items:center; gap:4px; }
  .stat-sub.gray { color:var(--gray); }
  .stat-ico { font-size:1.5rem; float:right; margin-top:-48px; opacity:0.6; }
  .admin-grid { display:grid; grid-template-columns:1fr 340px; gap:20px; }
  .admin-view { display:none; }
  .admin-view.active { display:block; }
  .admin-panel { background:#fff; border:1.5px solid #e2eaf4; border-radius:14px; padding:20px; }
  .admin-panel-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
  .admin-panel-head h3 { font-weight:800; font-size:1rem; }
  .settings-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
  .settings-field { display:flex; flex-direction:column; gap:6px; font-size:0.82rem; font-weight:700; color:var(--blue-deep); }
  .settings-field input, .settings-field textarea, .settings-field select {
    width:100%;
    border:1.5px solid #e2eaf4;
    border-radius:10px;
    padding:10px 12px;
    font-family:'Nunito',sans-serif;
    font-size:0.9rem;
    outline:none;
    background:#fff;
  }
  .settings-field textarea { resize:vertical; min-height:72px; }
  .settings-field input:focus, .settings-field textarea:focus, .settings-field select:focus { border-color:var(--blue-main); }
  @media (max-width: 900px) {
    .settings-grid { grid-template-columns:1fr; }
  }
  .admin-cards { display:grid; grid-template-columns:1fr; gap:12px; }
  .admin-cards.media { grid-template-columns:1fr 1fr; }
  .admin-card { border:1.5px solid #e2eaf4; border-radius:12px; padding:12px 14px; background:#f8fbff; }
  .admin-card h4 { font-size:0.9rem; font-weight:800; margin-bottom:4px; }
  .admin-card p { font-size:0.82rem; color:var(--gray); }
  .page-builder { background:#fff; border:1.5px solid #e2eaf4; border-radius:14px; padding:24px; }
  .page-builder-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
  .page-builder-header h3 { font-weight:800; font-size:0.95rem; display:flex; align-items:center; gap:8px; }
  .block-list { margin-bottom:16px; }
  .block-item { display:flex; align-items:center; gap:10px; padding:10px 12px; border:1.5px solid #e2eaf4; border-radius:10px; margin-bottom:8px; font-size:0.88rem; font-weight:600; cursor:grab; transition:all 0.15s; }
  .block-item:hover { border-color:var(--blue-main); background:var(--blue-pale); }
  .preview-area { border:1.5px dashed #bfdbfe; border-radius:12px; padding:16px; background:#f8faff; }
  .preview-banner {
    border:1px solid #cfe0f5; border-radius:10px; margin-bottom:10px; overflow:hidden;
    box-shadow:0 3px 10px rgba(21,101,192,0.12); background:#fff;
  }
  .preview-banner-head {
    height:26px; background:#eff5ff; border-bottom:1px solid #d7e6f8;
    display:flex; align-items:center; gap:6px; padding:0 8px;
  }
  .preview-banner-head span {
    width:8px; height:8px; border-radius:50%; background:#bfdbfe; display:inline-block;
  }
  .preview-banner-head em {
    margin-left:4px; font-style:normal; font-size:0.72rem; color:#6b7280; font-weight:700;
  }
  .preview-banner-body {
    min-height:240px;
    background:radial-gradient(circle at 20% 20%, #1d4ed8 0%, #0f2744 45%, #081a2f 100%);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:14px;
  }
  .preview-slide-card {
    width:31%;
    height:170px;
    border-radius:12px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,0.2);
    background:#1e3a5f center/cover no-repeat;
    position:relative;
    display:flex;
    align-items:flex-end;
    justify-content:flex-start;
    transition:transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
    opacity:0.6;
    transform:scale(0.92);
  }
  .preview-slide-card.center {
    opacity:1;
    transform:scale(1.04);
    height:210px;
    box-shadow:0 10px 28px rgba(0,0,0,0.35);
  }
  .preview-slide-card.side {
    opacity:0.72;
    transform:scale(0.94);
  }
  .preview-slide-card::after {
    content:''; position:absolute; inset:auto 0 0 0; height:28px;
    background:linear-gradient(to top, rgba(10,37,64,0.8), rgba(10,37,64,0));
  }
  .preview-slide-video {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
  }
  .preview-slide-title {
    position:relative; z-index:1; color:#fff; font-size:0.68rem; font-weight:700;
    padding:0 6px 5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; width:100%;
  }
  .preview-banner-controls {
    display:flex; align-items:center; justify-content:space-between;
    padding:8px 10px; background:#f8fbff; border-top:1px solid #e5eefb;
  }
  .preview-slider-center { display:flex; flex-direction:column; align-items:center; gap:6px; }
  .preview-slider-meta { display:flex; align-items:center; gap:8px; }
  #adminSliderState { font-size:0.7rem; color:#64748b; font-weight:700; }
  .preview-nav-btn {
    width:24px; height:24px; border:1px solid #d3e1f5; border-radius:7px;
    background:#fff; color:#4b6b97; cursor:pointer; font-weight:800; line-height:1;
  }
  .preview-play-btn {
    border:1px solid #d3e1f5;
    border-radius:8px;
    background:#ffffff;
    color:#355988;
    padding:4px 8px;
    font-size:0.68rem;
    font-weight:800;
    cursor:pointer;
  }
  .preview-dots { display:flex; gap:6px; align-items:center; }
  .preview-dot {
    width:7px; height:7px; border-radius:50%; background:#c3d5ef; display:inline-block; cursor:pointer;
  }
  .preview-dot.active { background:#1565c0; width:18px; border-radius:10px; }
  .preview-upload-row {
    display:flex; align-items:center; justify-content:space-between; gap:10px;
    padding:8px 10px; border-top:1px solid #e5eefb; background:#fff;
  }
  .preview-upload-btn {
    border:1px solid #d3e1f5; border-radius:8px; background:#f8fbff; color:#355988;
    padding:6px 10px; font-size:0.75rem; font-weight:700; cursor:pointer;
  }
  .preview-upload-hint { font-size:0.72rem; color:#6b7280; }
  .preview-files-panel {
    border-top:1px solid #e5eefb;
    background:#f9fbff;
    padding:8px;
  }
  .preview-files-title {
    font-size:0.72rem;
    font-weight:700;
    color:#64748b;
    margin-bottom:6px;
  }
  .preview-files-list {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:6px;
    max-height:120px;
    overflow:auto;
  }
  .preview-file-item {
    border:1px solid #dbe7f7;
    border-radius:8px;
    background:#fff;
    padding:6px;
    cursor:pointer;
  }
  .preview-file-item.active {
    border-color:#1565c0;
    box-shadow:0 0 0 1px rgba(21,101,192,0.25);
  }
  .preview-file-thumb {
    height:34px;
    border-radius:6px;
    margin-bottom:4px;
    background:#eaf2ff center/contain no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:0.72rem;
    font-weight:800;
    color:#334155;
  }
  .preview-file-name {
    font-size:0.66rem;
    color:#64748b;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .preview-text { padding:10px; background:#fff; border-radius:8px; margin-bottom:8px; font-size:0.78rem; color:var(--gray); }
  .preview-news { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
  .preview-news-item { background:#fff; border-radius:8px; height:40px; border:1px solid #e2eaf4; }
  .recent-apps { background:#fff; border:1.5px solid #e2eaf4; border-radius:14px; padding:24px; }
  .recent-apps-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
  .recent-apps-header h3 { font-weight:800; font-size:0.95rem; }
  .app-table { width:100%; border-collapse:collapse; }
  .app-table th { font-size:0.75rem; font-weight:700; color:var(--gray); text-transform:uppercase; letter-spacing:0.04em; padding:8px 0; text-align:left; border-bottom:1.5px solid #e2eaf4; }
  .app-table td { padding:12px 0; border-bottom:1px solid #f0f4f8; font-size:0.88rem; }
  .app-table tr:last-child td { border-bottom:none; }
  .app-status { font-size:0.75rem; font-weight:700; padding:3px 10px; border-radius:10px; }
  .status-new { background:#dbeafe; color:var(--blue-main); }
  .status-review { background:#fef9c3; color:#b45309; }
  .status-accepted { background:#dcfce7; color:#16a34a; }
  .status-rejected { background:#fee2e2; color:#e53e3e; }
  .app-settings { background:#fff; border:1.5px solid #e2eaf4; border-radius:14px; padding:24px; margin-top:16px; }
  .app-settings h3 { font-weight:800; font-size:0.95rem; margin-bottom:16px; }
  .setting-row { display:flex; align-items:center; justify-content:space-between; padding:10px 0; border-bottom:1px solid #f0f4f8; font-size:0.88rem; font-weight:600; }
  .setting-row:last-of-type { border-bottom:none; }
  .toggle { width:44px; height:24px; background:var(--blue-main); border-radius:20px; position:relative; cursor:pointer; }
  .toggle::after { content:''; position:absolute; top:3px; right:3px; width:18px; height:18px; background:#fff; border-radius:50%; transition:right 0.2s; }
  .user-chip { display:flex; align-items:center; gap:8px; margin-top:20px; padding:12px; background:rgba(255,255,255,0.05); border-radius:10px; }
  .user-avatar { width:36px; height:36px; border-radius:8px; background:var(--blue-main); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:0.9rem; }
  .user-name { font-size:0.88rem; font-weight:700; color:#fff; }
  .user-role { font-size:0.72rem; color:#64748b; }
  .user-logout {
    margin-left:auto; width:30px; height:30px; border-radius:8px;
    border:1px solid rgba(148,163,184,0.35); background:rgba(255,255,255,0.08);
    color:#e2e8f0; cursor:pointer; font-size:1rem; font-weight:800;
  }
  .user-logout:hover { background:rgba(255,255,255,0.16); color:#fff; }

  /* FOOTER */
  footer {
    background:var(--blue-deep); color:rgba(255,255,255,0.7); padding:32px 80px;
    display:flex; align-items:center; justify-content:space-between; font-size:0.85rem;
  }
  footer.admin-mode {
    background:var(--blue-deep);
    color:rgba(255,255,255,0.7);
    border-top:2px solid rgba(255,255,255,0.08);
    margin-top:0;
    padding-top:36px;
    padding-bottom:calc(24px + env(safe-area-inset-bottom, 0px));
    min-height:120px;
  }
  footer.admin-mode a { color:rgba(255,255,255,0.5); }

  .file-viewer-overlay {
    position:fixed; inset:0; background:rgba(5,16,31,0.82); z-index:2500;
    display:none; align-items:center; justify-content:center; padding:18px;
  }
  .file-viewer-overlay.open { display:flex; }
  .file-viewer {
    width:min(1100px, 98vw); height:min(86vh, 860px); background:#fff;
    border-radius:14px; overflow:hidden; display:flex; flex-direction:column;
    box-shadow:0 18px 50px rgba(0,0,0,0.35);
  }
  .file-viewer-top {
    height:52px; border-bottom:1px solid #e7eef8; display:flex; align-items:center;
    justify-content:space-between; padding:0 14px;
  }
  .file-viewer-name { font-weight:800; color:var(--blue-deep); font-size:0.92rem; }
  .file-viewer-close {
    border:1px solid #d3e1f5; background:#fff; border-radius:8px; width:34px; height:34px;
    cursor:pointer; font-weight:800; color:#4b6b97;
  }
  .file-viewer-body {
    flex:1; background:#0f2744; display:flex; align-items:center; justify-content:center; overflow:auto;
  }
  .file-viewer-body img { max-width:100%; max-height:100%; object-fit:contain; }
  .file-viewer-body iframe { width:100%; height:100%; border:none; background:#fff; }
  .file-viewer-nav {
    height:56px; border-top:1px solid #e7eef8; display:flex; align-items:center; justify-content:center; gap:12px;
    background:#f8fbff;
  }
  .file-viewer-pos { font-size:0.8rem; font-weight:700; color:#355988; min-width:52px; text-align:center; }
  .file-viewer-range { width:min(520px, 62vw); }

  .contact-file-btn {
    border:1.5px solid #e2eaf4; background:#fff; border-radius:10px; padding:10px 18px;
    cursor:pointer; font-family:'Nunito',sans-serif; font-weight:600; font-size:0.88rem;
    transition:all 0.2s ease;
  }
  .contact-file-btn:hover {
    border-color:var(--blue-main); color:var(--blue-main); background:#f8fbff;
  }
  .contact-file-btn.active {
    border-color:var(--blue-main); background:var(--blue-main); color:#fff;
  }
  footer a { color:rgba(255,255,255,0.5); text-decoration:none; }

  /* MODAL */
  .modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.5); z-index:200; align-items:center; justify-content:center; }
  .modal-overlay.open { display:flex; }
  .modal { background:#fff; border-radius:20px; padding:32px; max-width:480px; width:90%; position:relative; max-height:90vh; overflow-y:auto; }
  .modal-close { position:absolute; top:16px; right:16px; background:var(--light); border:none; border-radius:50%; width:32px; height:32px; cursor:pointer; font-size:1.1rem; display:flex; align-items:center; justify-content:center; }
  .modal h2 { font-family:'Exo 2',sans-serif; font-weight:900; margin-bottom:8px; }
  .modal p { color:var(--gray); font-size:0.9rem; margin-bottom:24px; }
  .mascot-big { text-align:center; font-size:8rem; margin-bottom:16px; }
  .user-create-modal { max-width:560px; }
  .modal-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:16px; }

  /* Active nav */
  .nav-links a[data-page] { cursor:pointer; }
  
  /* Success msg */
  .success-msg { background:#dcfce7; color:#16a34a; border-radius:12px; padding:16px 20px; font-weight:700; display:none; margin-top:12px; }
  .success-msg.show { display:block; }

  .toast-host {
    position:fixed;
    right:16px;
    bottom:16px;
    z-index:2600;
    display:flex;
    flex-direction:column;
    gap:10px;
    pointer-events:none;
  }
  .toast {
    min-width:240px;
    max-width:360px;
    background:#0f2744;
    color:#fff;
    border-radius:12px;
    padding:10px 12px;
    box-shadow:0 10px 24px rgba(2,6,23,0.25);
    font-size:0.86rem;
    line-height:1.45;
    opacity:0;
    transform:translateY(8px);
    transition:opacity 0.2s ease, transform 0.2s ease;
  }
  .toast.show { opacity:1; transform:translateY(0); }
  .toast.success { background:#14532d; }
  .toast.error { background:#7f1d1d; }
  .toast.info { background:#0f2744; }

  @keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
  .floating { animation:float 3s ease-in-out infinite; }
  .hero {
    background-size:140% 140%;
    animation:heroShift 14s ease-in-out infinite;
  }
  @keyframes heroShift {
    0% { background-position:0% 45%; }
    50% { background-position:100% 55%; }
    100% { background-position:0% 45%; }
  }

  .fx-reveal {
    opacity:0;
    transform:translateY(22px) scale(0.98);
    transition:opacity 0.65s ease, transform 0.65s ease;
    will-change:opacity, transform;
  }
  .fx-reveal.is-visible {
    opacity:1;
    transform:translateY(0) scale(1);
  }

  .fx-tilt {
    transition:transform 0.22s ease, box-shadow 0.22s ease;
    transform-style:preserve-3d;
  }
  .fx-tilt:hover {
    transform:translateY(-4px);
    box-shadow:0 12px 28px rgba(15,39,68,0.12);
  }
  .mobile-bottom-nav { display:none; }

  /* Unified mobile/tablet layout for Android + iPhone */
  @media (max-width: 1024px) {
    nav { padding:12px 20px; gap:12px; flex-wrap:wrap; }
    .nav-links { gap:14px; flex-wrap:wrap; }
    .hero-content { padding:44px 24px; max-width:100%; }
    .home-grid,
    .progress-layout,
    .materials-layout,
    .contests-layout,
    .contacts-grid,
    .admin-grid,
    .stats-grid { grid-template-columns:1fr !important; }
    .materials-grid { grid-template-columns:repeat(2, 1fr); }
    .admin-layout { grid-template-columns:1fr; }
    .admin-sidebar { border-radius:0 0 14px 14px; }
    .admin-main { padding:18px; }
    .iac-kpi-grid { grid-template-columns:repeat(2, 1fr); }
    .preview-banner-body { min-height:210px; }
    .preview-slide-card { height:150px; }
    .preview-slide-card.center { height:180px; }
    footer { padding:22px 20px; flex-direction:column; align-items:flex-start; gap:8px; }
  }

  @media (max-width: 768px) {
    body { -webkit-text-size-adjust:100%; }
    nav { position:sticky; top:0; z-index:1000; background:#fff; }
    .nav-links { width:100%; order:3; }
    .btn-apply { width:100%; justify-content:center; }
    .section { padding:24px 14px; }
    .section-title { font-size:1.45rem; }
    .hero h1 { font-size:2rem; line-height:1.15; }
    .hero p { font-size:0.95rem; }
    .hero-btns { gap:10px; }
    .form-row,
    .docs-grid,
    .media-small,
    .goals-grid,
    .iac-kpi-grid { grid-template-columns:1fr !important; }
    #page-about .section > div[style*="grid-template-columns"],
    #page-description .section > div[style*="grid-template-columns"],
    #page-admin div[style*="grid-template-columns:160px 1fr"] { grid-template-columns:1fr !important; }
    .preview-news { grid-template-columns:1fr; }
    .preview-banner-controls { gap:8px; }
    .preview-slider-meta { flex-wrap:wrap; justify-content:center; }
    .file-viewer { width:100vw; height:100vh; border-radius:0; }
    .mobile-bottom-nav {
      position:fixed;
      left:0;
      right:0;
      bottom:0;
      z-index:1200;
      display:grid;
      grid-template-columns:repeat(5, 1fr);
      background:#ffffff;
      border-top:1px solid #dbe7f7;
      box-shadow:0 -6px 18px rgba(15,39,68,0.08);
      padding:6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    }
    .mobile-bottom-nav a {
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      gap:2px;
      color:#64748b;
      text-decoration:none;
      border-radius:10px;
      min-height:50px;
      font-size:0.68rem;
      font-weight:700;
    }
    .mobile-bottom-nav a span { font-size:1.05rem; line-height:1; }
    .mobile-bottom-nav a em { font-style:normal; }
    .mobile-bottom-nav a.active {
      color:#1565c0;
      background:#eff6ff;
    }
    body { padding-bottom:84px; }
  }

  @media (max-width: 560px) {
    nav { padding:10px 12px; }
    .logo-mascot { width:38px; height:38px; }
    .nav-logo { font-size:1.2rem; }
    .nav-links { gap:8px; }
    .nav-links a { font-size:0.82rem; }
    .hero-content { padding:34px 14px; }
    .hero h1 { font-size:1.7rem; }
    .hero-drop { width:58px; height:58px; font-size:1.6rem; right:16px; top:16px; }
    .preview-banner-body { min-height:180px; gap:8px; padding:10px; }
    .preview-slide-card { width:32%; height:120px; }
    .preview-slide-card.center { height:145px; }
    .admin-topbar { flex-direction:column; align-items:flex-start; gap:10px; }
    .app-table { display:block; overflow-x:auto; white-space:nowrap; }
    .iac-module { padding:16px; }
    .iac-head h2 { font-size:1.2rem; }
    .modal { width:94%; padding:20px; }
    :root { --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px); }
    nav { padding-top:calc(10px + var(--sat)); }
    footer { padding-bottom:calc(16px + var(--sab)); }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration:0.01ms !important;
      animation-iteration-count:1 !important;
      transition-duration:0.01ms !important;
      scroll-behavior:auto !important;
    }
  }

