.skill-terms-dialog{width:min(620px,calc(100vw - 28px));max-height:min(88dvh,760px);padding:0;border:1px solid #3c3a34;border-radius:11px;color:#eeeae1;background:#151513;box-shadow:0 24px 80px #000a}
.skill-terms-dialog::backdrop{background:#050505d9;backdrop-filter:blur(5px)}
.skill-terms-head{padding:20px 22px 15px;border-bottom:1px solid #302f2a}
.skill-terms-head .eyebrow{display:block;margin-bottom:7px;color:#a49c87;font-size:8px;letter-spacing:.14em}
.skill-terms-head h2{font:600 20px/1.25 'Space Grotesk',Inter,sans-serif;letter-spacing:-.035em}
.skill-terms-head p{margin-top:7px;color:#9c998f;font-size:10px;line-height:1.6}
.skill-terms-body{max-height:38dvh;overflow:auto;margin:16px 22px;padding:16px;border:1px solid #34332e;border-radius:6px;background:#10100f;color:#d5d2ca;font:11px/1.75 Inter,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;scrollbar-color:#625c4e #1a1a18}
.skill-terms-scroll-note{margin:0 22px;color:#aca18a;font-size:9px}
.skill-terms-confirm{display:grid;gap:12px;padding:16px 22px}
.skill-terms-purchase-hint{margin:0;color:#9c998f;font-size:9px;line-height:1.5}
.skill-terms-confirm label{display:grid;gap:6px;color:#c7c2b6;font-size:10px}
.skill-terms-confirm .skill-terms-check{display:flex;align-items:flex-start;gap:9px;line-height:1.55}
.skill-terms-confirm input[type=checkbox]{width:15px;height:15px;flex:0 0 15px;margin:1px 0 0;accent-color:#d8cba5}
.skill-terms-confirm input[type=text],.skill-terms-confirm input[type=tel]{width:100%;height:38px;padding:0 10px;border:1px solid #403e37;border-radius:5px;outline:0;color:#eeeae1;background:#0f0f0e;font:11px Inter,sans-serif}
.skill-terms-confirm input:focus{border-color:#a89a73}
.skill-terms-confirm input::placeholder{color:#77746c}
.skill-terms-confirm input[readonly]{border-color:#35342f;color:#c6c2b8;background:#1a1a18;cursor:not-allowed}
.skill-terms-actions{display:flex;justify-content:flex-end;gap:8px;padding:13px 22px 19px;border-top:1px solid #302f2a}
.skill-terms-actions button{min-height:37px;padding:8px 13px;border:1px solid #403e37;border-radius:5px;color:#ddd8cd;background:#1c1c19;font:600 10px Inter,sans-serif;cursor:pointer}
.skill-terms-actions button[data-skill-confirm]{border-color:#e8e2d5;color:#171614;background:#e8e2d5}
.skill-terms-actions button:disabled{opacity:.45;cursor:not-allowed}
.skill-download-details{display:grid;flex:1;min-width:180px;gap:5px}
.skill-download-details .lesson-pdf-name{min-width:0}
.skill-download-status{color:#aaa38f;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.skill-download-status[data-state=ready]{color:#cfc7aa}
.skill-download-status[data-state=error]{color:#dba7a0}
.skill-download-action .lesson-pdf-button[data-mode=early]{border-color:#8a7d59;color:#e8dfc3}
.skill-download-action .lesson-pdf-button[data-mode=early]:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:540px){
 .skill-terms-dialog{max-height:90dvh}
 .skill-terms-head{padding:17px 16px 13px}
 .skill-terms-body{max-height:34dvh;margin:13px 16px;padding:13px;font-size:10px}
 .skill-terms-scroll-note{margin:0 16px}
 .skill-terms-confirm{padding:14px 16px}
 .skill-terms-actions{padding:12px 16px 16px}
 .skill-terms-actions button{flex:1}
}
@media(max-width:420px){.skill-download-details{width:100%;min-width:0}}
