
.ema-front-wrap{max-width:1200px;margin:28px auto;padding:0 18px}
.ema-hero{max-width:1200px;margin:28px auto 0;padding:0 18px}
.ema-hero-content{background:linear-gradient(135deg,#fff 0%,#fff4f6 100%);border:1px solid #ffd3dc;border-radius:28px;padding:38px 34px;box-shadow:0 14px 40px rgba(206,32,73,.08)}
.ema-eyebrow,.ema-step{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:#fff0f4;color:#cc1f49;font-weight:700;font-size:12px;letter-spacing:.02em;text-transform:uppercase}
.ema-hero h1,.ema-front-card h2,.ema-front-card h3{color:#1d2a3b}
.ema-hero h1{font-size:clamp(34px,4vw,54px);line-height:1.04;margin:14px 0 12px}
.ema-hero p{font-size:18px;color:#52637a;max-width:760px;margin:0}
.ema-bullets{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.ema-bullets span{padding:10px 14px;border:1px solid #ffd6df;background:#fff;border-radius:999px;font-weight:600;color:#8d1232}
.ema-front-grid-two{display:grid;grid-template-columns:1.15fr .85fr;gap:22px}
.ema-front-card{background:#fff;border:1px solid #e4eaf3;border-radius:24px;padding:26px;box-shadow:0 10px 30px rgba(15,23,42,.04);margin-bottom:20px}
.ema-card-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px}
.ema-card-head p{margin:8px 0 0;color:#607186}
.ema-form-card h2,.ema-info-card h3,.ema-login-card h2{margin:12px 0 6px;font-size:34px;line-height:1.08}
.ema-front-form .ema-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ema-front-form label{display:flex;flex-direction:column;gap:8px;color:#21324b;font-weight:600}
.ema-front-form label span{font-size:14px}
.ema-front-form input,.ema-front-form select,.ema-front-form textarea,.ema-inline input,.ema-login-card input[type=text],.ema-login-card input[type=password]{width:100%;padding:15px 16px;border:1px solid #d7e0ec;border-radius:16px;background:#fbfcff;transition:.2s ease;border-color:#d7e0ec}
.ema-front-form input:focus,.ema-front-form select:focus,.ema-front-form textarea:focus,.ema-inline input:focus,.ema-login-card input:focus{outline:none;border-color:#cc1f49;box-shadow:0 0 0 4px rgba(204,31,73,.10);background:#fff}
.ema-alert{padding:14px 16px;border-radius:16px;margin-bottom:16px}
.ema-alert.success{background:#e9f8ef;color:#1b7f43}
.ema-alert.error{background:#fdecec;color:#b42318}
.ema-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border-radius:14px;font-weight:700;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:.2s ease}
.ema-btn-primary{background:#cc1f49;border-color:#cc1f49;color:#fff}
.ema-btn-primary:hover{background:#b2183f;color:#fff}
.ema-btn-outline{background:#fff;border-color:#f0a3b6;color:#cc1f49}
.ema-btn-outline:hover{background:#fff3f6;color:#b2183f}
.ema-form-actions{margin-top:18px}
.ema-info-card{background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%)}
.ema-timeline{display:grid;gap:14px;margin-top:18px}
.ema-timeline div{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid #ecf1f7;border-radius:16px;background:#fff}
.ema-timeline strong{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff0f4;color:#cc1f49}
.ema-note-box{margin-top:18px;padding:16px;border-radius:16px;background:#f7faff;border:1px solid #dce7f5;color:#4b6077}
.ema-dashboard-layout{display:grid;grid-template-columns:290px 1fr;gap:22px}
.ema-sidebar{position:sticky;top:20px;align-self:start;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);border:1px solid #e4eaf3;border-radius:24px;padding:22px;box-shadow:0 10px 30px rgba(15,23,42,.04)}
.ema-sidebar-head h3{font-size:34px;line-height:1.05;margin:12px 0 8px}
.ema-sidebar-head p{margin:0 0 18px;color:#607186}
.ema-nav{display:grid;gap:8px}
.ema-nav a{padding:12px 14px;border-radius:14px;text-decoration:none;color:#24364f;font-weight:600;border:1px solid transparent}
.ema-nav a.active,.ema-nav a:hover{background:#fff3f6;border-color:#ffd3dc;color:#b2183f}
.ema-highlight-card{background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%)}
.ema-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}
.ema-card{background:#fff;border:1px solid #e4eaf3;border-radius:20px;padding:20px}
.ema-kpi{font-size:38px;font-weight:800;color:#183153;line-height:1}
.ema-label{color:#53657d;margin-top:10px;font-weight:600}
.ema-inline{display:flex;gap:10px;align-items:center}
.ema-inline input{background:#fff}
.ema-table-wrap{overflow:auto}
.ema-table-wrap table{min-width:640px}
.ema-login-card .login-username,.ema-login-card .login-password,.ema-login-card .login-remember{margin-bottom:14px}
.ema-login-card label{display:block;margin-bottom:8px;color:#21324b;font-weight:600}
.ema-login-card .button-primary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border-radius:14px;font-weight:700;text-decoration:none;border:1px solid #cc1f49;background:#cc1f49;color:#fff;box-shadow:none}
.ema-login-card .button-primary:hover{background:#b2183f;border-color:#b2183f}
@media (max-width:960px){
  .ema-front-grid-two,.ema-front-form .ema-grid,.ema-dashboard-layout{grid-template-columns:1fr}
  .ema-inline{flex-direction:column;align-items:stretch}
  .ema-sidebar{position:static}
  .ema-hero-content{padding:26px 22px}
  .ema-form-card h2,.ema-info-card h3,.ema-login-card h2,.ema-sidebar-head h3{font-size:28px}
}
