@scope (#original-content) {

  #cogat-guide * { box-sizing: border-box; }
  #cogat-guide a { color:#5a8a1a; font-weight:800; text-decoration:none; }
  #cogat-guide a:hover { text-decoration:underline; }
  #cogat-guide .cg-card {
    background:#f7faf0;
    border:2px solid #c8dfa0;
    border-radius:16px;
    padding:26px 28px;
    margin:24px 0;
    box-shadow:0 4px 18px rgba(90,138,26,0.08);
  }
  #cogat-guide .cg-soft {
    background:linear-gradient(135deg,#eef5dc,#f9fdf0);
    border-left:5px solid #7aab3a;
    border-radius:0 12px 12px 0;
    padding:20px 24px;
    margin:24px 0;
  }
  #cogat-guide .cg-warning {
    background:#fff8e8;
    border:2px solid #e8c84a;
    border-radius:14px;
    padding:20px 24px;
    margin:24px 0;
    color:#6e5200;
  }
  #cogat-guide .cg-grid-2 {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:18px;
  }
  #cogat-guide .cg-grid-3 {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
    gap:16px;
  }
  #cogat-guide .cg-grid-4 {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:14px;
  }
  #cogat-guide .cg-mini {
    background:#fff;
    border:1px solid #c8dfa0;
    border-radius:12px;
    padding:16px;
  }
  #cogat-guide .cg-pill {
    display:inline-block;
    background:#7aab3a;
    color:#fff;
    font-weight:900;
    font-size:13px;
    letter-spacing:1px;
    text-transform:uppercase;
    padding:5px 14px;
    border-radius:30px;
  }
  #cogat-guide .cg-h2-wrap {
    display:flex;
    align-items:center;
    gap:14px;
    margin:0 0 20px 0;
  }
  #cogat-guide .cg-num {
    background:#7aab3a;
    color:#fff;
    width:44px;
    height:44px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    font-size:18px;
    flex-shrink:0;
  }
  #cogat-guide h1, #cogat-guide h2 {
    font-family:'Merriweather',serif;
  }
  #cogat-guide h2 {
    font-size:clamp(22px,3vw,32px);
    font-weight:900;
    color:#2d3a1e;
    margin:0;
    line-height:1.25;
  }
  #cogat-guide h3 {
    font-size:22px;
    font-weight:900;
    color:#3a5010;
    margin:28px 0 14px 0;
    line-height:1.35;
  }
  #cogat-guide p, #cogat-guide li {
    font-size:17px;
    font-weight:650;
    color:#3a3a3a;
  }
  #cogat-guide table {
    width:100%;
    border-collapse:collapse;
    font-size:15px;
    font-weight:750;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 4px 20px rgba(90,138,26,0.12);
  }
  #cogat-guide th {
    background:#5a8a1a;
    color:#fff;
    padding:15px 12px;
    text-align:left;
    vertical-align:top;
  }
  #cogat-guide td {
    padding:13px 12px;
    vertical-align:top;
    color:#2d3a1e;
  }
  #cogat-guide tbody tr:nth-child(odd) { background:#f7faf0; }
  #cogat-guide tbody tr:nth-child(even) { background:#fff; }
  #cogat-guide .cg-table-wrap { overflow-x:auto; margin:24px 0; }
  #cogat-guide input, #cogat-guide select {
    width:100%;
    
    border:2px solid #c8dfa0;
    border-radius:10px;
    font-size:15px;
    font-weight:750;
    font-family:'Nunito',sans-serif;
    color:#2d3a1e;
    background:#fff;
    outline:none;
  }
  #cogat-guide label {
    display:block;
    font-size:14px;
    font-weight:900;
    color:#3a5010;
    margin-bottom:7px;
  }
  #cogat-guide button.cg-btn {
    background:#5a8a1a;
    color:#fff;
    border:none;
    border-radius:10px;
    padding:13px 24px;
    font-size:15px;
    font-weight:900;
    cursor:pointer;
    font-family:'Nunito',sans-serif;
    transition:background .2s, transform .2s;
  }
  #cogat-guide button.cg-btn:hover {
    background:#3a5010;
    transform:translateY(-1px);
  }
  #cogat-guide .cg-result {
    background:#fff;
    border:2px solid #7aab3a;
    border-radius:14px;
    padding:18px 20px;
    margin-top:16px;
    display:none;
  }
  #cogat-guide .cg-tab-btn {
    padding:10px 18px;
    border:none;
    border-radius:10px 10px 0 0;
    font-weight:900;
    cursor:pointer;
    font-family:'Nunito',sans-serif;
    background:#c8dfa0;
    color:#3a5010;
  }
  #cogat-guide .cg-tab-btn.active {
    background:#5a8a1a;
    color:#fff;
  }
  #cogat-guide .cg-tab-panel {
    display:none;
    background:#f7faf0;
    border:2px solid #c8dfa0;
    border-radius:0 12px 12px 12px;
    padding:26px;
  }
  #cogat-guide .cg-tab-panel.active { display:block; }
  #cogat-guide .cg-video {
    position:relative;
    padding-bottom:56.25%;
    height:0;
    overflow:hidden;
    border-radius:16px;
    border:2px solid #c8dfa0;
    box-shadow:0 8px 28px rgba(90,138,26,0.14);
    background:#eef5dc;
  }
  #cogat-guide .cg-video iframe {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    border:0;
  }
  #cogat-guide .cg-badge-line {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:18px 0 0 0;
  }
  #cogat-guide .cg-badge-line span {
    background:#fff;
    border:1px solid #c8dfa0;
    color:#3a5010;
    font-weight:900;
    font-size:13px;
    border-radius:999px;
    padding:7px 12px;
  }
  @media (max-width:640px){
    #cogat-guide { padding:0 12px 50px 12px; }
    #cogat-guide .cg-hero { padding:36px 22px !important; }
    #cogat-guide .cg-card { padding:22px 18px; }
    #cogat-guide .cg-h2-wrap { align-items:flex-start; }
    #cogat-guide th, #cogat-guide td { padding:11px 9px; font-size:14px; }
    #cogat-guide p, #cogat-guide li { font-size:16px; }
  }

}
@layer articleTheme {
  #original-content .cg-soft {
    background: var(--hlm-article-paper) !important;
    color: var(--hlm-article-ink) !important;
  }
}
