/* Coastline K9 light theme for logged-in pages. Applies only when <html class="mx"> */
html.mx{--bg:#f2f5f7;--panel:#fff;--panel2:#f7f9fa;--line:#d9e6ee;--red:#15171a;--red2:#4a9fd8;--white:#0b0f12;--mut:#4f5961;--mut2:#5f6870;--green:#2f8f5e;--amber:#b27a2c;--r:22px;--f:'Jost','Arial Narrow',sans-serif;--b:'Lato',Helvetica,Arial,sans-serif}
html.mx body{background:linear-gradient(180deg,#d9e6ee 0,#f2f5f7 420px) no-repeat,#f2f5f7;color:#0b0f12;font-family:'Lato',Helvetica,Arial,sans-serif}
html.mx .grain,html.mx .pbar{display:none}
html.mx h1,html.mx h2,html.mx h3,html.mx h4{font-family:'Jost','Arial Narrow',sans-serif;font-weight:400;letter-spacing:.005em;color:#0b0f12}
html.mx .nav,html.mx header.nav.sc{background:#15171a!important;border-bottom:0!important;box-shadow:0 10px 30px -18px rgba(15,17,19,.8)}
html.mx .nav .brand-tag{color:#d9e6ee}
html.mx .mxlogo{height:44px;max-width:150px;object-fit:contain;margin-left:auto}
html.mx .tv{padding-top:120px}
html.mx .tv h1{font-size:clamp(40px,6vw,72px);text-align:left;color:#0b0f12}
html.mx .tv .sub{text-align:left;margin-left:0;color:#4f5961;font-size:18px}
html.mx .tv .wrapn{width:min(1040px,100% - 40px)}
html.mx .tv .card{background:#fff;border:1px solid #d9e6ee;border-radius:22px;padding:28px;box-shadow:0 24px 50px -36px rgba(15,17,19,.7);transition:transform .25s,box-shadow .3s}
html.mx .tv .card:hover{transform:translateY(-2px);box-shadow:0 34px 60px -34px rgba(15,17,19,.8)}
html.mx .card:before,html.mx .card:after{display:none}
html.mx .tv .who{color:#4f5961}
html.mx .tv .link{color:#4a9fd8;font-weight:700}
html.mx .tv .nav2{justify-content:flex-start;gap:8px}
html.mx .tv .nav2 a,html.mx .tv .apptabs a{background:#fff;border:2px solid #15171a;color:#15171a!important;text-decoration:none;border-radius:999px;padding:8px 18px;font-weight:900;font-size:13.5px;transition:.25s}
html.mx .tv .nav2 a:hover,html.mx .tv .apptabs a:hover{background:#15171a;color:#fff!important;transform:translateY(-2px)}
html.mx .tv .apptabs{justify-content:flex-start}
html.mx .tv .apptabs a.on{background:#15171a;color:#fff!important;border-color:#15171a}
html.mx .tv .tab{background:#fff;border:2px solid #15171a;color:#15171a}
html.mx .tv .tab.on{background:#15171a;border-color:#15171a;color:#fff}
html.mx .tv .pill{background:#d9e6ee;color:#15171a}
html.mx .tv .pill.new,html.mx .tv .pill.submitted{background:#fdf0d2;color:#8a5a0a}
html.mx .tv .pill.reviewed,html.mx .tv .pill.open{background:#d9f2e4;color:#17652f}
html.mx .tv .pill.reuse{background:#dcebf6;color:#2f78a8}
html.mx .tv .pill.locked{background:#e8ebee;color:#6c757c}
html.mx .tv .pill.complete{background:#e8defa;color:#5a3f93}
html.mx .tv .note{background:#f7f9fa;border:1px solid #d9e6ee;color:#22262a}
html.mx .tv textarea,html.mx .tv .finput,html.mx .tv select,html.mx .tv .tfield input{background:#f7f9fa;border:1px solid #a9c7da;color:#0b0f12;border-radius:12px}
html.mx .tv textarea:focus,html.mx .tv .finput:focus,html.mx .tv select:focus,html.mx .tv input:focus{outline:2px solid #7cc0ee;border-color:#7cc0ee}
html.mx .tv .flabel,html.mx .tv .tfield label{color:#15171a;font-weight:900;letter-spacing:.02em}
html.mx .tv .tbtn{background:#fff;border:1px solid #a9c7da;color:#15171a}
html.mx .tv .btn-red,html.mx .btn-red{background:#15171a;color:#fff;border:0;box-shadow:0 12px 24px -14px rgba(15,17,19,.9)}
html.mx .btn-red:after{display:none}
html.mx .tv .btn.alt,html.mx .btn-ghost{background:#fff;border:2px solid #15171a;color:#15171a}
html.mx .tv .week{background:#f7f9fa;border:1px solid #d9e6ee}
html.mx .tv .msg.err{background:#fde8ea;border:1px solid #f0b6bc;color:#8a1f2b}
html.mx .tv .msg.ok{background:#e3f6ea;border:1px solid #9fd8b5;color:#17652f}
html.mx .tv .lockwrap.locked .lockmsg{background:#fff;border-color:#15171a}
html.mx .tv .trim{border-color:#a9c7da}
html.mx .tv h2{font-size:30px}
html.mx hr,html.mx .tv .row+hr{border-color:#d9e6ee}
/* lesson / course rows */
html.mx .tv details,html.mx .tv .lesson,html.mx .tv .lrow,html.mx .tv .les{background:#f7f9fa!important;border:1px solid #d9e6ee!important;color:#0b0f12!important;border-radius:14px}
html.mx .tv a{color:inherit}
html.mx a.link,html.mx .tv .card a:not(.btn):not(.btn-red){color:#4a9fd8}
html.mx ::selection{background:#7cc0ee;color:#0b0f12}
html.mx .tv button:not(.btn):not(.tab):not(.tbtn):not(.link){color:#0b0f12}
/* v2 cleanup: header, courses, lessons */
html.mx .nav .wrap,html.mx .nav .nav-in{display:flex;align-items:center;gap:14px}
html.mx .nav .brand img{height:26px;width:auto;opacity:.95}
html.mx .nav .brand-tag{font-family:'Lato',sans-serif;font-weight:900;font-size:11px;letter-spacing:.14em}
html.mx .tv{padding-top:110px;padding-bottom:70px}
html.mx .tv h1{margin:0 0 6px}
html.mx .tv .nav2{margin:22px 0 26px}
html.mx .tv .card{margin:0 0 22px}
html.mx .tv .card .head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
html.mx .tv .card .head strong{font-family:'Jost','Arial Narrow',sans-serif;font-weight:400;font-size:26px;color:#0b0f12}
html.mx .tv .lsec{margin:22px 0 8px;font-family:'Jost','Arial Narrow',sans-serif;font-weight:400;font-size:18px;letter-spacing:.04em;text-transform:uppercase;color:#4a9fd8;opacity:1}
html.mx .tv .lrow{padding:14px 16px;margin:8px 0;font-weight:700;transition:.2s}
html.mx .tv .lrow:hover{background:#e8f2f9!important;border-color:#7cc0ee!important;transform:translateX(3px)}
html.mx .tv .lrow .meta{color:#5f6870;font-weight:400;font-size:13px}
html.mx .tv .lrow.locked{opacity:.6}
html.mx .tv #viewer{margin-top:26px}
html.mx .tv #viewer .lbody{color:#22262a;font-size:16.5px;line-height:1.65}
html.mx .tv .vid iframe{box-shadow:0 20px 40px -26px rgba(15,17,19,.8)}
html.mx .tv .who{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px;font-size:14px}
html.mx .tv .btn.btn-sm{background:#fff;border:2px solid #15171a;color:#15171a;border-radius:999px;padding:7px 16px;font-weight:900;margin:2px 0 8px}
html.mx .tv .btn.btn-sm:hover{background:#15171a;color:#fff}
html.mx .nav .btn,html.mx .nav button{color:#fff}

/* Coastline K9 type: bold uppercase Jost headings like coastlinek9.com */
html.mx h1,html.mx h2,html.mx h3{font-weight:600!important;text-transform:uppercase;letter-spacing:.02em}
