:root{
    --tm-primary:#071a44;
    --tm-primary-2:#0b2a66;
    --tm-blue:#1454b8;
    --tm-cyan:#0ea5e9;
    --tm-gold:#d88a09;
    --tm-gold-2:#b77912;
    --tm-green:#16a34a;
    --tm-red:#dc2626;
    --tm-orange:#ea580c;
    --tm-purple:#7c3aed;
    --tm-bg:#f4f7fb;
    --tm-bg-2:#eef3fa;
    --tm-white:#ffffff;
    --tm-text:#0f172a;
    --tm-soft-text:#334155;
    --tm-muted:#64748b;
    --tm-border:#e2e8f0;
    --tm-shadow:0 22px 60px rgba(15,23,42,.10);
    --tm-shadow-sm:0 12px 34px rgba(15,23,42,.08);
    --tm-radius:26px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    background:
        radial-gradient(circle at top left,rgba(14,165,233,.10),transparent 28%),
        radial-gradient(circle at top right,rgba(216,138,9,.10),transparent 28%),
        linear-gradient(180deg,#f8fafc 0%,var(--tm-bg) 100%);
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    color:var(--tm-text);
}
a{text-decoration:none}
.tm-page{padding:54px 16px}
.tm-wrap{max-width:1180px;margin:0 auto}
.tm-shell{
    position:relative;
    overflow:hidden;
    border-radius:34px;
    background:
        linear-gradient(135deg,rgba(7,26,68,.98),rgba(11,42,102,.94)),
        radial-gradient(circle at 80% 20%,rgba(216,138,9,.36),transparent 32%);
    color:#fff;
    box-shadow:0 28px 90px rgba(7,26,68,.24);
    padding:36px;
    margin-bottom:24px;
}
.tm-shell::before{
    content:"";
    position:absolute;
    inset:-1px;
    background:
        radial-gradient(circle at 8% 18%,rgba(14,165,233,.22),transparent 28%),
        radial-gradient(circle at 88% 5%,rgba(216,138,9,.28),transparent 30%);
    pointer-events:none;
}
.tm-shell-content{position:relative;z-index:1}
.tm-kicker{
    display:inline-flex;align-items:center;gap:8px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.20);
    color:#fde68a;
    padding:9px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:900;
    letter-spacing:.02em;
    text-transform:uppercase;
}
.tm-hero-grid{
    display:grid;
    grid-template-columns:1.3fr .7fr;
    gap:28px;
    align-items:center;
    margin-top:20px;
}
.tm-hero h1{
    margin:0 0 12px;
    font-size:clamp(31px,4.2vw,56px);
    line-height:1.04;
    letter-spacing:-.04em;
    color:#ffffff !important;
    font-weight:900;
}
.tm-hero p{
    margin:0;
    max-width:760px;
    color:#dbeafe;
    line-height:1.75;
    font-size:16px;
}
.tm-hero-panel{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.18);
    backdrop-filter:blur(18px);
    border-radius:26px;
    padding:22px;
}
.tm-hero-panel strong{display:block;font-size:15px;margin-bottom:8px;color:#fff}
.tm-hero-panel span{display:block;color:#cbd5e1;font-size:13px;line-height:1.65}
.tm-mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:18px}
.tm-mini-stat{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.14);
    border-radius:18px;
    padding:13px;
}
.tm-mini-stat i{color:#fde68a}
.tm-mini-stat b{display:block;margin-top:8px;font-size:20px}
.tm-mini-stat small{color:#cbd5e1;font-weight:700}
.tm-card{
    background:rgba(255,255,255,.94);
    border:1px solid rgba(226,232,240,.92);
    border-radius:var(--tm-radius);
    padding:26px;
    box-shadow:var(--tm-shadow-sm);
    margin-bottom:22px;
}
.tm-card-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-bottom:20px;
}
.tm-section-label{
    display:inline-flex;align-items:center;gap:8px;
    color:var(--tm-blue);
    background:#eff6ff;
    border:1px solid #bfdbfe;
    border-radius:999px;
    padding:7px 12px;
    font-weight:900;
    font-size:12px;
    text-transform:uppercase;
}
.tm-card h2,.tm-card h3{margin:10px 0 0;color:var(--tm-primary);letter-spacing:-.02em}
.tm-card p{color:var(--tm-soft-text);line-height:1.72}
.tm-form{
    display:grid;
    grid-template-columns:1fr 1fr auto;
    gap:14px;
    align-items:end;
}
.tm-field label{display:block;font-weight:900;margin-bottom:8px;color:var(--tm-primary)}
.tm-field input{
    width:100%;
    border:1px solid #cbd5e1;
    background:#fff;
    border-radius:16px;
    padding:15px 16px;
    font-size:15px;
    color:var(--tm-text);
    outline:none;
    transition:.2s ease;
}
.tm-field input:focus{
    border-color:var(--tm-blue);
    box-shadow:0 0 0 5px rgba(20,84,184,.10);
}
.tm-btn{
    border:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    background:linear-gradient(135deg,var(--tm-gold),var(--tm-gold-2));
    color:#fff;
    border-radius:999px;
    padding:16px 26px;
    font-weight:950;
    cursor:pointer;
    white-space:nowrap;
    box-shadow:0 12px 30px rgba(216,138,9,.22);
}
.tm-btn.secondary{
    background:linear-gradient(135deg,var(--tm-primary),var(--tm-primary-2));
}
.tm-btn.light{
    background:#fff;
    color:var(--tm-primary);
    border:1px solid var(--tm-border);
    box-shadow:none;
}
.tm-alert{
    border-radius:20px;
    padding:18px 20px;
    background:#fff7ed;
    border:1px solid #fed7aa;
    color:#9a3412;
    font-weight:800;
    line-height:1.6;
}
.tm-result-top{
    display:grid;
    grid-template-columns:1fr auto;
    gap:20px;
    align-items:start;
}
.tm-title{font-size:clamp(24px,3vw,36px);margin:0;color:var(--tm-primary);line-height:1.2}
.tm-status-pill{
    display:inline-flex;
    align-items:center;
    gap:9px;
    border-radius:999px;
    padding:11px 17px;
    background:#ecfdf5;
    color:#166534;
    border:1px solid #bbf7d0;
    font-weight:950;
}
.tm-status-pill.review{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.tm-status-pill.revision{background:#fff7ed;color:#c2410c;border-color:#fed7aa}
.tm-status-pill.accepted{background:#f0fdf4;color:#15803d;border-color:#bbf7d0}
.tm-status-pill.rejected{background:#fef2f2;color:#b91c1c;border-color:#fecaca}
.tm-status-pill.published{background:#f5f3ff;color:#6d28d9;border-color:#ddd6fe}
.tm-status-msg{
    margin:14px 0 0;
    color:#334155;
    max-width:820px;
    line-height:1.75;
}
.tm-timeline{
    margin-top:28px;
    display:grid;
    grid-template-columns:repeat(9,1fr);
    gap:10px;
}
.tm-step{
    position:relative;
    background:#f8fafc;
    border:1px solid var(--tm-border);
    border-radius:18px;
    padding:14px 8px;
    text-align:center;
    min-height:108px;
}
.tm-step::after{
    content:"";
    position:absolute;
    top:31px;
    left:calc(50% + 19px);
    width:calc(100% - 18px);
    height:3px;
    background:#dbe3ef;
    z-index:0;
}
.tm-step:last-child::after{display:none}
.tm-dot{
    position:relative;
    z-index:1;
    width:36px;height:36px;
    border-radius:50%;
    margin:0 auto 10px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#e2e8f0;
    color:#64748b;
    font-weight:950;
}
.tm-step.done .tm-dot{background:var(--tm-green);color:#fff}
.tm-step.done::after{background:linear-gradient(90deg,var(--tm-green),#86efac)}
.tm-step.active{
    border-color:#f59e0b;
    box-shadow:0 14px 36px rgba(245,158,11,.16);
    background:#fffdf7;
}
.tm-step.active .tm-dot{background:var(--tm-gold);color:#fff}
.tm-step span{
    display:block;
    font-size:12px;
    font-weight:900;
    color:#334155;
    line-height:1.35;
}
.tm-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:24px}
.tm-info{
    background:#f8fafc;
    border:1px solid var(--tm-border);
    border-radius:18px;
    padding:16px;
}
.tm-info small{display:block;color:var(--tm-muted);font-weight:900;margin-bottom:7px}
.tm-info strong{display:block;color:#0f172a;line-height:1.5;word-break:break-word}
.tm-layout{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
    gap:22px;
}
.tm-action-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.tm-action{
    border:1px solid var(--tm-border);
    border-radius:20px;
    padding:18px;
    background:#fff;
}
.tm-action .tm-icon{
    width:42px;height:42px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:linear-gradient(135deg,var(--tm-blue),var(--tm-cyan));
    margin-bottom:12px;
}
.tm-action h3{margin:0 0 8px;color:var(--tm-primary);font-size:18px}
.tm-action p{margin:0 0 14px;font-size:14px}
.tm-action .tm-action-status{
    display:inline-flex;
    padding:6px 10px;
    border-radius:999px;
    background:#f1f5f9;
    color:#334155;
    font-weight:900;
    font-size:12px;
    margin-bottom:12px;
}
.tm-action .tm-action-status.ok{background:#dcfce7;color:#166534}
.tm-action .tm-action-status.pending{background:#ffedd5;color:#9a3412}
.tm-doc-list{display:grid;gap:12px}
.tm-doc{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    background:#fff;
    border:1px solid var(--tm-border);
    border-radius:18px;
    padding:15px;
}
.tm-doc-left{display:flex;gap:12px;align-items:center}
.tm-doc-left i{
    width:38px;height:38px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:var(--tm-primary);
}
.tm-doc strong{display:block;color:#0f172a}
.tm-doc small{display:block;color:var(--tm-muted);font-weight:700;margin-top:3px}
.tm-doc a,.tm-small-link{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:var(--tm-blue);
    font-weight:950;
}
.tm-muted-note{
    padding:14px 16px;
    border-radius:18px;
    background:#f8fafc;
    border:1px dashed #cbd5e1;
    color:#64748b;
    line-height:1.65;
    font-weight:700;
}
.tm-support{
    background:linear-gradient(135deg,#071a44,#0b2a66);
    color:#fff;
    border-radius:var(--tm-radius);
    padding:24px;
    box-shadow:var(--tm-shadow-sm);
}
.tm-support h2{color:#fff;margin:0 0 10px}
.tm-support p{color:#dbeafe}
.tm-support-list{display:grid;gap:12px;margin:18px 0}
.tm-support-item{
    display:flex;
    gap:12px;
    align-items:flex-start;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.16);
    border-radius:16px;
    padding:13px;
}
.tm-support-item i{color:#fde68a;margin-top:3px}
.tm-support-item strong{display:block;color:#fff}
.tm-support-item span{display:block;color:#cbd5e1;font-size:13px;margin-top:3px;line-height:1.5}
.tm-support-actions{display:flex;gap:10px;flex-wrap:wrap}
.tm-footer-help{text-align:center;color:var(--tm-muted);line-height:1.7;font-size:14px;margin-top:18px}
.tm-footer-help a{color:var(--tm-blue);font-weight:900}
@media(max-width:1050px){
    .tm-hero-grid,.tm-layout{grid-template-columns:1fr}
    .tm-timeline{grid-template-columns:repeat(3,1fr)}
    .tm-step::after{display:none}
}
@media(max-width:760px){
    .tm-page{padding:28px 12px}
    .tm-shell{padding:24px;border-radius:26px}
    .tm-form,.tm-info-grid,.tm-action-grid{grid-template-columns:1fr}
    .tm-result-top{grid-template-columns:1fr}
    .tm-timeline{grid-template-columns:repeat(2,1fr)}
    .tm-btn{width:100%}
    .tm-doc{align-items:flex-start;flex-direction:column}
}