
  :root{ --accent:#274f72; }

  .mp-wrap{
    width:100%;
    padding:30px;
    border:1px solid #e6e6e6;
    border-radius:14px;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
    background:#fff;
  }
  .mp-title{
    margin:0 0 10px 0;
    font-weight:700;
    color:var(--accent);
    line-height:1.2;
    font-size:24px;
  }
  .mp-sub{
    margin:0 0 18px 0;
    line-height:1.5;
    opacity:.9;
    font-size:14px;
  }
  .mp-wrap strong{ color:var(--accent); }

  .mp-switch{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin:0 0 14px 0;
  }
  .mp-pill{
    border:1px solid #d7d7d7;
    background:#fff;
    padding:10px 14px;
    border-radius:999px;
    cursor:pointer;
    font-weight:700;
    color:var(--accent);
  }
  .mp-pill.is-active{
    background:var(--accent);
    border-color:var(--accent);
    color:#fff;
  }
  .mp-switch-hint{ font-size:12px; opacity:.75; }

  .mp-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:10px;
  }
  .mp-field label{
    display:block;
    margin:0 0 6px 0;
    font-size:14px;
    color:#111;
  }
  .mp-field input, .mp-field select{
    width:100%;
    padding:12px 12px;
    border:1px solid #d7d7d7;
    border-radius:10px;
    box-sizing:border-box;
    font-size:16px;
    outline:none;
    background:#fff;
  }
  .mp-field input:focus, .mp-field select:focus{
    border-color:var(--accent);
    box-shadow:0 0 0 3px rgba(39,79,114,.14);
  }
  .mp-field small{
    display:block;
    margin-top:6px;
    font-size:12px;
    opacity:.75;
    line-height:1.35;
  }

  .mp-btn{
    width:auto;
    margin-top:24px;
    padding:14px 26px;
    border-radius:12px;
    font-size:16px;
    cursor:pointer;
    background:var(--accent);
    color:#fff;
    border:none;
  }
  .mp-btn:active{ transform:translateY(1px); }
  .mp-btn-secondary{ margin-top:0; opacity:.95; }
  .mp-btn-wide{ width:100%; margin-top:12px; }
  .mp-btn-wa{ opacity:.92; }

  .mp-out{ margin-top:18px; line-height:1.35; }
  .mp-out-1{ font-size:20px; font-weight:700; }
  .mp-out-2{ font-size:13px; opacity:.88; }

  .mp-note{
    margin-top:18px;
    padding:18px;
    background:#f7f7f7;
    border-radius:12px;
    font-size:14px;
    line-height:1.5;
  }
  .mp-foot{
    font-size:12px;
    margin-top:18px;
    opacity:.75;
    line-height:1.45;
  }

  /* Modal */
  .mp-modal{ position:fixed; inset:0; display:none; z-index:9999; }
  .mp-modal.is-open{ display:block; }
  .mp-modal__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.45); }
  .mp-modal__panel{
    position:relative;
    max-width:520px;
    width:calc(100% - 28px);
    margin:6vh auto 0 auto;
    background:#fff;
    border-radius:16px;
    box-shadow:0 12px 38px rgba(0,0,0,.22);
    overflow:hidden;
  }
  .mp-modal__head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    padding:16px 18px;
    border-bottom:1px solid #eee;
    background:#fbfbfb;
  }
  .mp-modal__title{ font-size:18px; line-height:1.2; }
  .mp-modal__sub{ font-size:12px; opacity:.8; margin-top:6px; line-height:1.35; }
  .mp-modal__x{
    appearance:none; border:none; background:transparent;
    font-size:22px; line-height:1; cursor:pointer;
    padding:6px 10px; border-radius:10px; color:#222;
  }
  .mp-modal__x:hover{ background:#f0f0f0; }
  .mp-modal__body{ padding:16px 18px 18px 18px; }

  .mp-consent{
    display:flex; gap:10px; align-items:flex-start;
    margin-top:14px; font-size:13px; line-height:1.4; user-select:none;
  }
  .mp-consent input{ margin-top:2px; }
  .mp-consent a{ color:var(--accent); font-weight:700; text-decoration:none; }
  .mp-consent a:hover{ text-decoration:underline; }

  .mp-error{
    margin-top:12px; padding:10px 12px;
    background:#fff2f2; border:1px solid #ffd0d0;
    border-radius:12px; font-size:13px; line-height:1.35; color:#7a1d1d;
  }
  .mp-mini{ margin-top:10px; font-size:12px; opacity:.8; line-height:1.35; }

  @media (max-width: 900px){
    .mp-grid{ grid-template-columns:repeat(2,1fr); }
  }
  @media (max-width: 560px){
    .mp-wrap{ padding:18px; border-radius:14px; }
    .mp-title{ font-size:20px; }
    .mp-sub{ font-size:13px; }
    .mp-grid{ grid-template-columns:1fr; gap:14px; }
    .mp-btn{ width:100%; }
    .mp-out-1{ font-size:18px; }
    .mp-modal__panel{ margin-top:4vh; }
  }
