
.page-home .choice{display:flex;align-items:flex-start;gap:9px;cursor:pointer}.page-home .choice input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.page-home .choice__box{position:relative}.page-home .choice input:checked + .choice__box::after{content:"";position:absolute;transform:rotate(45deg)}
.page-home .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;text-decoration:none}.page-home .file-drop{cursor:pointer}.page-home .file-drop input[type=file]{position:absolute;opacity:0;width:1px;height:1px}.page-home fieldset{min-width:0}
:root{--font-text:Inter,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif}
.skip-link{position:absolute;left:-9999px;top:10px;z-index:1000;padding:9px 12px;background:#fff;color:#111;text-decoration:none}.skip-link:focus{left:10px}
.site-header,.site-footer,.site-main{width:100%}.site-header__inner,.site-footer__inner,.site-main__inner{margin:0 auto}.site-header__inner{display:flex;align-items:center;justify-content:space-between}.site-footer__inner{display:flex;align-items:center;justify-content:space-between;gap:18px}.site-footer__company,.site-footer__links{display:flex;align-items:center;gap:18px}.site-footer__company span{color:#7b8499}.site-footer__links a{text-decoration:none}
/* MediaMC Podpora 2026 - kompaktní one-screen redesign veřejné podpory.
   Na backend, routování ani databázi nesahá. */

/* ----- společná nízká černá hlavička ----- */
.site-header {
    background: #08090b;
    border-bottom: 1px solid rgba(255,255,255,.10);
}
.site-header__inner {
    width: min(calc(100% - 40px), 1480px);
    min-height: 54px;
    gap: 24px;
}
.brand--media {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    text-decoration: none;
}
.brand__logo {
    display: block;
    width: auto;
    height: 34px;
    max-width: 240px;
    object-fit: contain;
}
.brand__division {
    padding-left: 18px;
    border-left: 1px solid rgba(255,255,255,.20);
    color: rgba(255,255,255,.66);
    font-family: var(--font-text);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    white-space: nowrap;
}
.site-header__nav {
    display: flex;
    align-items: center;
    gap: 22px;
}
.site-header__nav a.site-header__tickets {
    color: rgba(255,255,255,.74);
    border: 0;
    padding: 7px 0;
    font-size: 11px;
    letter-spacing: .08em;
}
.site-header__nav a.site-header__tickets:hover,
.site-header__nav a.site-header__tickets:focus-visible {
    color: #fff;
}
.support-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.support-status__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #41c690;
    box-shadow: 0 0 0 4px rgba(65,198,144,.10);
}

/* ----- homepage: světlé pracovní prostředí ----- */
.page-home {
    color-scheme: light;
    background: #f3f5f9;
    color: #161b2b;
    font-size: 15px;
    line-height: 1.38;
}
.page-home .site-main {
    padding: 12px 0 14px;
}
.page-home .site-main__inner,
.page-home .site-footer__inner {
    width: min(calc(100% - 40px), 1480px);
}
.page-home .site-footer {
    background: #f3f5f9;
    border-top: 1px solid #e2e6ef;
}
.page-home .site-footer__inner {
    min-height: 34px;
    padding: 7px 0;
    color: #7b8499;
    font-size: 11px;
}
.page-home .site-footer a { color: #646e83; }
.page-home .site-footer a:hover { color: #27345b; }
.page-home .notice {
    margin: 0 0 10px;
    padding: 10px 14px;
    border: 1px solid #dce2ee;
    border-left: 3px solid #5b6ff1;
    border-radius: 10px;
    background: #fff;
    color: #2d3650;
    font-size: 13px;
    box-shadow: 0 4px 16px rgba(25,37,70,.05);
}
.page-home .notice--error { border-left-color: #e16565; }
.page-home .notice--ok { border-left-color: #41b889; }

/* ----- kompaktní hero ----- */
.support-hero {
    display: grid;
    grid-template-columns: minmax(0,1.65fr) minmax(280px,.85fr);
    grid-template-areas:
        "copy facts"
        "steps steps";
    gap: 10px 26px;
    margin-bottom: 12px;
    padding: 18px 22px 14px;
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 96% 10%, rgba(126,145,255,.33) 0 17%, transparent 17.3% 25%, rgba(126,145,255,.12) 25.4% 35%, transparent 35.4%),
        linear-gradient(118deg,#171d2c 0%,#1d2743 55%,#394aa6 100%);
    box-shadow: 0 15px 38px rgba(34,47,102,.14);
}
.support-hero__copy { grid-area: copy; min-width: 0; align-self: center; }
.support-eyebrow,
.support-card__kicker,
.after-card__kicker {
    margin: 0 0 5px;
    color: #7182ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.support-hero .support-eyebrow { color: #bdc7ff; }
.support-hero h1 {
    margin: 0;
    font-family: var(--font-text);
    font-size: clamp(30px,2.4vw,40px);
    font-weight: 720;
    line-height: 1.02;
    letter-spacing: -.035em;
    color: #fff;
}
.support-hero__copy > p:last-child {
    max-width: 760px;
    margin: 7px 0 0;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    line-height: 1.38;
}
.support-hero__facts {
    grid-area: facts;
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    align-content: center;
}
.hero-fact {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 9px 11px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: #fff;
    text-decoration: none;
}
.hero-fact__dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5fe0a7;
    box-shadow: 0 0 0 4px rgba(95,224,167,.12);
}
.hero-fact > span:not(.hero-fact__arrow) { min-width: 0; }
.hero-fact strong { display: block; font-size: 12px; font-weight: 720; }
.hero-fact small { display: block; margin-top: 2px; color: rgba(255,255,255,.66); font-size: 10.5px; line-height: 1.28; }
.hero-fact--link:hover { border-color: rgba(255,255,255,.30); background: rgba(255,255,255,.12); }
.hero-fact__arrow { margin-left: auto; font-size: 17px; color: #cbd1ff; }
.support-steps {
    grid-area: steps;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 8px;
    padding-top: 9px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.support-steps > div { display: flex; align-items: center; gap: 8px; min-width: 0; color: rgba(255,255,255,.80); }
.support-steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    color: #bac5ff;
    font-size: 9px;
    font-weight: 800;
}
.support-steps strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; font-weight: 650; }

/* ----- hlavní dvousloupcový layout ----- */
.support-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 286px;
    gap: 12px;
    align-items: start;
}
.support-card,
.after-card,
.no-account-card {
    border: 1px solid #e1e5ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 9px 28px rgba(37,48,82,.06);
}
.support-card { padding: 14px 16px 13px; min-width: 0; }
.support-card__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8ebf2;
}
.support-card__kicker { margin-bottom: 2px; }
.support-card h2 {
    margin: 0;
    font-family: var(--font-text);
    color: #151a27;
    font-size: 22px;
    font-weight: 720;
    line-height: 1.05;
    letter-spacing: -.025em;
}
.support-required { margin: 0; color: #7a8396; font-size: 10.5px; white-space: nowrap; }
.support-required strong { color: #5b6ff1; }

/* ----- formulář ----- */
.page-home .support-form { display: grid; gap: 8px; }
.support-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr .86fr 1.08fr;
    gap: 8px;
    align-items: end;
}
.page-home .field { display: grid; gap: 4px; min-width: 0; }
.page-home .field__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #30384d;
    font-size: 10.5px;
    font-weight: 720;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}
.page-home .field__label strong { color: #5b6ff1; }
.page-home .field__label .optional { color: #959db0; font-size: 9.5px; font-weight: 500; }
.page-home .input,
.page-home .select,
.page-home .textarea {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #dbe0ea;
    border-radius: 9px;
    background: #fff;
    color: #202638;
    font-family: var(--font-text);
    font-size: 13px;
    line-height: 1.25;
    box-shadow: inset 0 1px 1px rgba(24,35,66,.02);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.page-home .input::placeholder,
.page-home .textarea::placeholder { color: #9aa4ba; }
.page-home .input:hover,
.page-home .textarea:hover { background: #fff; border-color: #c8cfdf; }
.page-home .input:focus,
.page-home .textarea:focus {
    outline: none;
    border-color: #687af1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(91,111,241,.10);
}
.page-home .field--error .input,
.page-home .field--error .textarea { border-color: #e06b6b; }
.page-home .field__error { margin: 0; color: #c94e4e; font-size: 10px; line-height: 1.2; }

.support-client-field { align-self: stretch; }
.support-client-choice {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    margin: 0;
    padding: 5px 9px;
    border: 1px solid #dbe0ea;
    border-radius: 9px;
    background: #f8f9fc;
    color: #283047;
}
.page-home .choice { color: #333b4f; font-size: 11px; line-height: 1.25; }
.page-home .choice__box {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin-top: 0;
    border: 1px solid #aeb7ca;
    border-radius: 4px;
    background: #fff;
}
.page-home .choice input:checked + .choice__box { border-color: #5b6ff1; background: #5b6ff1; }
.page-home .choice input:checked + .choice__box::after {
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}
.page-home .choice__text { min-width: 0; }
.page-home .choice__text strong { display: block; color: #22293b; font-size: 11px; }
.page-home .choice__text small { display: block; margin-top: 1px; color: #778196; font-size: 9px; line-height: 1.15; }
.page-home .choice__text a { color: #5368e9; }
.support-website[data-collapsed] { display: none; }
.support-website { grid-template-columns: 150px minmax(0,1fr); align-items: center; gap: 8px !important; }
.support-website .field__label { justify-content: flex-start; }

.support-types {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.type-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 6px;
}
.type-card { position: relative; display: block; min-width: 0; cursor: pointer; }
.type-card input { position: absolute; opacity: 0; pointer-events: none; }
.type-card__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 48px;
    padding: 6px 28px 6px 9px;
    border: 1px solid #dfe4ed;
    border-radius: 9px;
    background: #f8f9fc;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.type-card__copy strong {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #283047;
    font-size: 10.5px;
    font-weight: 720;
    line-height: 1.16;
}
.type-card__copy small {
    overflow: hidden;
    margin-top: 2px;
    color: #778196;
    font-size: 8.6px;
    line-height: 1.16;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.type-card__check {
    position: absolute;
    z-index: 2;
    right: 8px;
    top: 8px;
    width: 14px;
    height: 14px;
    border: 1px solid #c5cddd;
    border-radius: 50%;
    background: #fff;
}
.type-card input:checked ~ .type-card__check { border: 4px solid #5b6ff1; }
.type-card input:checked ~ .type-card__copy {
    border-color: #7b8af1;
    background: #f3f5ff;
    box-shadow: 0 0 0 2px rgba(91,111,241,.08);
}
.type-card input:focus-visible ~ .type-card__copy { outline: 2px solid #5b6ff1; outline-offset: 2px; }

.support-subject-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 250px;
    gap: 8px;
    align-items: end;
}
.support-urgency { border: 0; margin: 0; padding: 0; min-width: 0; }
.urgency-switch {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    min-height: 40px;
    overflow: hidden;
    border: 1px solid #dbe0ea;
    border-radius: 9px;
    background: #f8f9fc;
}
.urgency-switch label { position: relative; cursor: pointer; }
.urgency-switch input { position: absolute; opacity: 0; }
.urgency-switch span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 38px;
    padding: 0 8px;
    color: #6f788d;
    font-size: 10px;
    font-weight: 650;
    text-align: center;
}
.urgency-switch label + label span { border-left: 1px solid #dbe0ea; }
.urgency-switch input:checked + span { background: #eef1ff; color: #4054d7; }
.urgency-switch input:focus-visible + span { outline: 2px solid #5b6ff1; outline-offset: -2px; }

.page-home .support-description .textarea {
    min-height: 72px;
    max-height: 160px;
    resize: vertical;
    line-height: 1.35;
}

.support-bottom {
    display: grid;
    grid-template-columns: minmax(340px,.9fr) minmax(390px,1.1fr);
    gap: 10px;
    align-items: center;
    padding-top: 1px;
}
.support-attachments { min-width: 0; }
.page-home .file-drop {
    display: grid;
    grid-template-columns: 30px minmax(0,1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: 48px;
    padding: 5px 8px;
    border: 1px dashed #cbd3e3;
    border-radius: 9px;
    background: #fafbfe;
    cursor: pointer;
}
.page-home .file-drop:hover,
.page-home .file-drop.is-over { border-color: #6679ef; background: #f7f8ff; }
.file-drop__plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #dce1ec;
    border-radius: 8px;
    background: #fff;
    color: #5b6ff1;
    font-size: 19px;
    font-weight: 400;
}
.file-drop__copy { min-width: 0; }
.file-drop__copy strong { display: block; color: #263047; font-size: 10.5px; }
.file-drop__copy small { display: block; overflow: hidden; margin-top: 1px; color: #7e889c; font-size: 8.6px; white-space: nowrap; text-overflow: ellipsis; }
.file-drop__action {
    padding: 5px 8px;
    border-radius: 7px;
    background: #eef1ff;
    color: #5064de;
    font-size: 9px;
    font-weight: 700;
}
.page-home .file-list {
    margin: 4px 0 0;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 3px 8px;
    color: #69748a;
    font-size: 9px;
}
.page-home .file-list li { padding: 2px 0; border: 0; }
.support-submit {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px;
    align-items: center;
    min-width: 0;
}
.support-consent .choice { align-items: center; padding: 0; margin: 0; }
.support-consent .choice__text { color: #768095; font-size: 9px; line-height: 1.25; }
.page-home .btn.support-send {
    min-height: 44px;
    padding: 0 17px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg,#5b6ff1,#4860df);
    color: #fff;
    font-family: var(--font-text);
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: 0 8px 16px rgba(74,94,218,.22);
    white-space: nowrap;
}
.page-home .btn.support-send:hover,
.page-home .btn.support-send:focus-visible { background: linear-gradient(135deg,#5267ec,#4057d7); color: #fff; }
.page-home .btn.support-send span { font-size: 16px; line-height: 1; }

/* ----- pravý panel ----- */
.support-aside { display: grid; gap: 10px; min-width: 0; }
.after-card { padding: 14px 14px 12px; }
.after-card__kicker { margin-bottom: 9px; }
.after-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.after-list li { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 9px; align-items: start; min-width: 0; }
.after-list__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f0f2ff;
    color: #5b6ff1;
    font-size: 9px;
    font-weight: 800;
}
.after-list strong { display: block; color: #273047; font-size: 10.5px; line-height: 1.2; }
.after-list p { margin: 2px 0 0; color: #7c869b; font-size: 9.4px; line-height: 1.3; overflow-wrap: normal; word-break: normal; }
.no-account-card {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr);
    gap: 10px;
    align-items: center;
    padding: 11px 13px;
}
.no-account-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eaf9f2;
    color: #29ad77;
    font-size: 14px;
    font-weight: 800;
}
.no-account-card strong { display: block; color: #273047; font-size: 10.5px; }
.no-account-card p { margin: 2px 0 0; color: #7c869b; font-size: 9.3px; line-height: 1.3; }

/* ----- notebooky s nízkou výškou: stále bez scale() ----- */
@media (min-width: 1180px) and (max-height: 800px) {
    .site-header__inner { min-height: 48px; }
    .brand__logo { height: 30px; }
    .brand__division { font-size: 10.5px; }
    .page-home .site-main { padding: 8px 0 8px; }
    .support-hero { margin-bottom: 8px; padding: 12px 16px 10px; gap: 7px 20px; border-radius: 14px; }
    .support-hero h1 { font-size: 30px; }
    .support-hero__copy > p:last-child { margin-top: 4px; font-size: 11.2px; }
    .support-eyebrow { font-size: 8.8px; margin-bottom: 3px; }
    .hero-fact { padding: 6px 8px; }
    .hero-fact strong { font-size: 10.5px; }
    .hero-fact small { font-size: 8.8px; }
    .support-steps { padding-top: 6px; }
    .support-steps span { width: 19px; height: 19px; flex-basis: 19px; font-size: 8px; }
    .support-steps strong { font-size: 9px; }
    .support-layout { grid-template-columns: minmax(0,1fr) 266px; gap: 8px; }
    .support-card { padding: 10px 12px 9px; border-radius: 13px; }
    .support-card__head { margin-bottom: 7px; padding-bottom: 6px; }
    .support-card__kicker { font-size: 8.7px; }
    .support-card h2 { font-size: 18px; }
    .support-required { font-size: 9px; }
    .page-home .support-form { gap: 6px; }
    .support-contact-grid { gap: 6px; }
    .page-home .field { gap: 3px; }
    .page-home .field__label { font-size: 9.8px; }
    .page-home .input { min-height: 38px; padding: 7px 9px; border-radius: 7px; font-size: 12.3px; }
    .support-client-choice { min-height: 38px; padding: 5px 8px; border-radius: 7px; }
    .page-home .choice__text strong { font-size: 10px; }
    .page-home .choice__text small { display: none; }
    .type-grid { gap: 4px; }
    .type-card__copy { min-height: 44px; padding: 5px 24px 5px 7px; border-radius: 7px; }
    .type-card__copy strong { font-size: 9.8px; }
    .type-card__copy small { font-size: 8.2px; margin-top: 1px; }
    .type-card__check { right: 6px; top: 6px; width: 12px; height: 12px; }
    .support-subject-grid { grid-template-columns: minmax(0,1fr) 225px; gap: 6px; }
    .urgency-switch { min-height: 38px; border-radius: 7px; }
    .urgency-switch span { min-height: 36px; font-size: 9.4px; }
    .page-home .support-description .textarea { min-height: 66px; max-height: 120px; padding: 7px 9px; font-size: 11.8px; }
    .support-bottom { gap: 7px; grid-template-columns: minmax(300px,.9fr) minmax(360px,1.1fr); }
    .page-home .file-drop { min-height: 44px; grid-template-columns: 27px minmax(0,1fr) auto; padding: 5px 7px; gap: 6px; border-radius: 7px; }
    .file-drop__plus { width: 26px; height: 26px; border-radius: 6px; font-size: 17px; }
    .file-drop__copy strong { font-size: 9.6px; }
    .file-drop__copy small { font-size: 8.1px; }
    .support-consent .choice__text { font-size: 8.6px; }
    .page-home .btn.support-send { min-height: 42px; padding: 0 14px; border-radius: 7px; font-size: 9.8px; }
    .after-card { padding: 10px 11px 9px; border-radius: 13px; }
    .after-card__kicker { font-size: 8.5px; margin-bottom: 7px; }
    .after-list { gap: 7px; }
    .after-list li { grid-template-columns: 24px minmax(0,1fr); gap: 7px; }
    .after-list__num { width: 24px; height: 24px; border-radius: 7px; font-size: 8px; }
    .after-list strong { font-size: 9.8px; }
    .after-list p { font-size: 8.8px; line-height: 1.25; }
    .no-account-card { grid-template-columns: 28px minmax(0,1fr); padding: 8px 10px; border-radius: 13px; }
    .no-account-card__icon { width: 28px; height: 28px; border-radius: 8px; }
    .no-account-card strong { font-size: 9.8px; }
    .no-account-card p { font-size: 8.6px; }
    .page-home .site-footer__inner { min-height: 26px; padding: 4px 0; font-size: 9px; }
}

/* ----- střední šířky / tablet ----- */
@media (max-width: 1179px) {
    .site-header__inner,
    .page-home .site-main__inner,
    .page-home .site-footer__inner { width: min(calc(100% - 28px), 1180px); }
    .support-hero { grid-template-columns: minmax(0,1.45fr) minmax(260px,.85fr); }
    .support-layout { grid-template-columns: minmax(0,1fr) 250px; }
    .support-contact-grid { grid-template-columns: 1fr 1fr; }
    .type-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .support-bottom { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .brand__division { display: none; }
    .site-header__nav { gap: 14px; }
    .support-status { display: none; }
    .support-hero {
        grid-template-columns: 1fr;
        grid-template-areas: "copy" "facts" "steps";
    }
    .support-hero__facts { grid-template-columns: 1fr 1fr; }
    .support-layout { grid-template-columns: 1fr; }
    .support-aside { grid-template-columns: 1.2fr .8fr; }
    .after-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .after-list li { grid-template-columns: 28px minmax(0,1fr); }
}

/* ----- mobil: normální vertikální scroll a pohodlné ovládání ----- */
@media (max-width: 640px) {
    .site-header__inner,
    .page-home .site-main__inner,
    .page-home .site-footer__inner { width: min(calc(100% - 22px), 640px); }
    .site-header__inner { min-height: 56px; }
    .brand__logo { height: 28px; max-width: 190px; }
    .site-header__tickets { font-size: 10px !important; }
    .page-home .site-main { padding: 10px 0 20px; }
    .support-hero { padding: 17px 15px 13px; border-radius: 14px; }
    .support-hero h1 { font-size: 31px; }
    .support-hero__copy > p:last-child { font-size: 12px; }
    .support-hero__facts { grid-template-columns: 1fr; }
    .support-steps { grid-template-columns: 1fr; gap: 6px; }
    .support-steps strong { white-space: normal; }
    .support-card { padding: 14px 12px; border-radius: 13px; }
    .support-card__head { align-items: start; }
    .support-required { display: none; }
    .support-card h2 { font-size: 21px; }
    .support-contact-grid,
    .support-subject-grid,
    .support-bottom,
    .support-submit { grid-template-columns: 1fr; }
    .type-grid { grid-template-columns: 1fr; }
    .type-card__copy { min-height: 55px; }
    .type-card__copy strong { font-size: 12px; }
    .type-card__copy small { font-size: 10px; white-space: normal; }
    .page-home .input,
    .page-home .textarea { min-height: 46px; font-size: 16px; }
    .page-home .support-description .textarea { min-height: 110px; }
    .support-client-choice { min-height: 46px; }
    .support-website { grid-template-columns: 1fr; }
    .support-aside { grid-template-columns: 1fr; }
    .after-list { grid-template-columns: 1fr; }
    .page-home .file-drop { min-height: 58px; }
    .support-consent .choice__text { font-size: 10px; }
    .page-home .btn.support-send { width: 100%; min-height: 48px; font-size: 12px; }
    .page-home .site-footer__inner { gap: 10px; padding: 14px 0; }
}

/* Adaptace one-screen designu na stávající funkční backend podpora.mediamc.cz. */
body:not(.page-home) .site-header{background:#08090b;border-bottom:1px solid rgba(255,255,255,.10)}
body:not(.page-home) .site-header__inner{width:min(calc(100% - 40px),1480px);min-height:54px}
body:not(.page-home) .site-footer{border-top:1px solid #e2e6ef;background:#f3f5f9}
body:not(.page-home) .site-footer__inner{width:min(calc(100% - 48px),1480px);padding:16px 0;color:#7b8499;font-size:12px}
.site-shell{min-height:100vh}
.brand--media{align-items:center}
.page-home .honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.page-home .client-project{display:none}
.page-home .client-project.is-visible{display:grid}
.page-home .support-website{grid-template-columns:150px minmax(0,1fr);align-items:center;gap:8px!important}
.page-home .support-subject{display:grid;gap:4px}
.page-home .support-consent-text{margin:0;color:#768095;font-size:9px;line-height:1.25}
.page-home .support-submit{grid-template-columns:minmax(0,1fr) auto}
.page-home .support-attachments>input[type=file]{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.page-home .file-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 8px;margin:4px 0 0}
.page-home .file-pill{overflow:hidden;padding:2px 0;color:#69748a;font-size:9px;white-space:nowrap;text-overflow:ellipsis}
.page-home .upload-zone.is-drag .file-drop{border-color:#6679ef;background:#f7f8ff}
.page-home .flash{width:min(calc(100% - 40px),1480px);margin:10px auto 0;padding:9px 12px;border-radius:9px;font-size:12px}
.page-home .flash-error{border:1px solid #efcaca;background:#fff3f3;color:#943d3d}
.page-home .flash-success{border:1px solid #cbe7dc;background:#f0fbf7;color:#27785c}
.page-home .btn.support-send b{font-size:16px}

/* Nová identita i na detailu, potvrzení a staff stránce; funkční layout z app.css zůstává. */
body:not(.page-home) .brand__logo{height:34px}
body:not(.page-home) .brand__division{font-size:12px}
body:not(.page-home) .main{padding-top:34px}
body:not(.page-home) .flash{width:min(1480px,calc(100% - 48px));margin:16px auto 0}

@media(max-width:700px){
  .site-header__inner{width:min(calc(100% - 24px),1480px)!important}.brand__logo{height:28px;max-width:190px}.brand__division{display:none}.support-status{font-size:10px}.site-footer__inner{width:min(calc(100% - 24px),1480px)!important;flex-direction:column;align-items:flex-start}.site-footer__company,.site-footer__links{flex-wrap:wrap;gap:8px 14px}
}