.nd-platform{--nd-teal:#176b70;--nd-ink:#243d45;--nd-muted:#607579;--nd-line:#dfe9e8;color:var(--nd-ink);margin:0 auto;max-width:1180px;font-size:16px;line-height:1.6}
.nd-platform *{box-sizing:border-box}.nd-platform h2,.nd-platform h3,.nd-platform h4{color:var(--nd-ink);margin:0 0 16px}.nd-platform h2{font-size:clamp(25px,4vw,38px)}.nd-platform h3{font-size:22px}.nd-platform h4{font-size:17px;margin:0 0 6px}
.nd-platform .nd-hero{padding:30px;border-radius:24px;background:linear-gradient(120deg,#eaf4f0,#edf2fc);margin-bottom:24px}.nd-eyebrow{font-size:12px;letter-spacing:.12em;font-weight:700;color:#426b70;margin:0 0 8px}.nd-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.nd-tabs a{padding:9px 14px;border-radius:30px;background:#fff;color:var(--nd-teal);text-decoration:none;font-weight:600}
.nd-workspace{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:24px}.nd-workspace>main,.nd-workspace>aside{min-width:0}.nd-card{padding:26px;background:#fff;border:1px solid var(--nd-line);border-radius:20px;margin-bottom:24px;box-shadow:0 4px 18px #123c4506}.nd-card--messages{border-top:5px solid #b6d9cf}.nd-card--small{background:#f7f9f8}.nd-contact{background:#fff7e7}.nd-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:18px}.nd-section-head h3{margin:0}
.nd-platform .nd-button,.nd-platform button.nd-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border:1px solid var(--nd-teal);border-radius:12px;background:var(--nd-teal);color:#fff;text-decoration:none;white-space:normal;font:inherit;font-weight:600;cursor:pointer;line-height:1.4;margin:0}.nd-platform .nd-button--quiet,.nd-platform button.nd-button--quiet{background:#f2f5f5;border-color:#e3e9e8;color:#536a6c;font-size:14px}.nd-platform .nd-button:hover{filter:brightness(.94)}.nd-platform a:focus-visible,.nd-platform button:focus-visible,.nd-platform input:focus-visible,.nd-platform textarea:focus-visible,.nd-platform select:focus-visible{outline:3px solid #e6ad4c;outline-offset:3px}
.nd-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.nd-actions form{margin:0}.nd-platform form{margin-top:20px}.nd-platform fieldset{border:0;padding:0;margin:0 0 18px}.nd-platform legend{font-weight:700;margin-bottom:10px}.nd-platform label{display:block;font-weight:600;margin:12px 0}.nd-platform .nd-check{display:flex;align-items:flex-start;gap:10px;font-weight:400}.nd-check input{flex:0 0 auto;margin-top:6px}.nd-platform input[type=url],.nd-platform select,.nd-platform textarea{display:block;width:100%;border:1px solid #cddbd9;border-radius:10px;background:#fff;padding:12px;font:inherit;min-height:44px;margin:7px 0}.nd-platform textarea{min-height:120px;resize:vertical}.nd-muted,.nd-platform .nd-muted{color:var(--nd-muted);font-size:13px}.nd-empty{color:var(--nd-muted);padding:16px 0}
.nd-lesson{display:flex;justify-content:space-between;gap:18px;align-items:center;border-top:1px solid var(--nd-line);padding:18px 0}.nd-state{font-size:12px;color:#597075}.nd-badges{display:flex;gap:7px;flex-wrap:wrap}.nd-badge{display:inline-flex;padding:5px 10px;background:#eaf4ef;border-radius:20px;color:#376b61;font-size:12px}.nd-review{border-top:1px solid var(--nd-line);padding:18px 0}.nd-review>span{float:right}.nd-review small{color:var(--nd-muted)}.nd-profile-summary{font-size:14px}.nd-profile-summary .nd-button{width:100%;margin-top:10px}
body.nd-platform-enabled .hp-menu__item--listing-submit{display:none!important}
@media(max-width:760px){.nd-workspace{grid-template-columns:1fr;gap:0}.nd-platform .nd-hero,.nd-card{padding:20px}.nd-lesson{align-items:flex-start;flex-direction:column}.nd-section-head{align-items:flex-start}.nd-tabs{gap:7px}.nd-tabs a{font-size:14px;padding:8px 11px}}

/* Workspace 0.2: explicit component scopes isolate legacy page styles. */
.nd-platform a.nd-button.nd-button--quiet,.nd-platform button.nd-button.nd-button--quiet{color:#536a6c!important;background:#f2f5f5;border-color:#dce5e4;box-shadow:none}
.nd-platform .nd-workspace{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:24px}
.nd-platform .nd-workspace-hero{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;padding:28px 30px}
.nd-platform .nd-workspace-hero p{margin-bottom:0}.nd-platform .nd-workspace-hero .nd-tabs{margin:0}
.nd-platform .nd-profile-card{border-top:5px solid #d4dfed;padding:24px}.nd-profile-heading{text-align:center}
.nd-platform .nd-avatar{width:64px;height:64px;border-radius:50%;object-fit:cover;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;background:#e5f0ee;color:#37636a;font-size:26px;font-weight:700;border:3px solid #fff;box-shadow:0 0 0 1px #dce7e5}
.nd-platform .nd-profile-heading .nd-avatar{width:96px;height:96px;font-size:38px;margin:2px auto 16px}
.nd-platform .nd-profile-heading h3{font-size:22px;margin-bottom:4px}.nd-platform .nd-profile-heading p{font-size:13px;color:var(--nd-muted);margin:0 0 12px}
.nd-platform .nd-photo-edit{display:inline-block;font-size:13px;color:var(--nd-teal);text-decoration:underline;margin-bottom:22px}
.nd-platform .nd-profile-links{display:grid;gap:10px}.nd-platform .nd-profile-links .nd-button{width:100%}
.nd-platform .nd-profile-details{border-top:1px solid var(--nd-line);margin-top:22px;padding-top:18px}.nd-platform summary{cursor:pointer;font-weight:600;padding:8px 0;line-height:1.5}
.nd-platform .nd-settings-links{display:grid;gap:12px;padding-top:14px;font-size:14px}.nd-platform .nd-settings-links a{color:#47626a}
.nd-platform .nd-lesson{display:grid;grid-template-columns:64px minmax(0,1fr) 124px;align-items:center;gap:16px;padding:22px 0}
.nd-platform .nd-lesson-thumb{width:64px;height:64px;border-radius:14px;object-fit:cover;margin:0;background:#f1f5ec}
.nd-platform .nd-lesson-placeholder{display:flex;align-items:center;justify-content:center;color:#739578;font-size:32px}
.nd-platform .nd-lesson-info{min-width:0}.nd-platform .nd-lesson-info p{font-size:13px;line-height:1.55;color:var(--nd-muted);margin:8px 0 0}
.nd-platform .nd-lesson-actions{display:grid;grid-template-columns:1fr;gap:8px;align-items:stretch}
.nd-platform .nd-lesson-actions form{margin:0;display:flex}.nd-platform .nd-lesson-actions .nd-button{width:100%;min-height:40px;padding:8px 10px;font-size:13px}
.nd-platform .nd-lesson-hint{display:flex;align-items:flex-start;gap:12px;background:#f8f6ee;border-radius:12px;padding:15px;font-size:13px;line-height:1.6;color:#6c694d}
.nd-platform .nd-lesson-hint>span{font-size:25px;line-height:1.2}
.nd-platform .nd-chat-symbol{display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:16px;background:#e4f2ef;color:#477f7c;font-size:28px}
.nd-platform .nd-chat-empty{text-align:center;padding:24px 14px;color:var(--nd-muted)}.nd-platform .nd-chat-empty p{max-width:470px;margin:10px auto 18px;font-size:14px}
.nd-platform .nd-chat-art{display:inline-flex;gap:12px;align-items:center;font-size:45px;color:#9dbdb5;margin-bottom:20px;transform:rotate(-4deg)}.nd-platform .nd-chat-art b{background:#f4ebd9;color:#c2a76c;border-radius:20px;padding:0 14px;transform:translateY(12px)}
.nd-platform .nd-chat-symbol .nd-chat-art{width:40px;height:36px;margin:0;transform:none}
.nd-platform .nd-inline-nav{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;margin:14px 0 20px}.nd-platform .nd-inline-nav a{color:#536f72}.nd-platform .nd-inline-nav [aria-current]{font-weight:700;text-decoration:underline}
.nd-platform .nd-thread-row{display:flex;align-items:center;gap:12px;padding:17px 0;border-top:1px solid var(--nd-line)}
.nd-platform .nd-thread-row .nd-avatar,.nd-platform .nd-thread-head .nd-avatar{width:48px;height:48px;font-size:20px}
.nd-platform .nd-thread-link{display:grid;gap:4px;min-width:0;flex:1;color:var(--nd-ink);text-decoration:none}.nd-platform .nd-thread-link>span{font-size:13px;color:var(--nd-muted);overflow-wrap:anywhere}.nd-platform .nd-thread-link time{font-size:11px;color:#718184}
.nd-platform .nd-thread-row form{margin:0}.nd-platform .nd-icon-action{background:transparent;border:0;padding:8px;color:#647a7c;text-decoration:underline;font:inherit;font-size:12px;cursor:pointer;box-shadow:none;min-height:36px}
.nd-platform .nd-unread{font-size:10px;letter-spacing:.03em;background:#deeee6;color:#376955;border-radius:20px;padding:3px 6px}
.nd-platform .nd-thread-head{display:flex;align-items:center;gap:13px;padding:12px 0}.nd-platform .nd-thread-head>div{display:grid;gap:3px}.nd-platform .nd-thread-head a,.nd-platform .nd-thread-head span{font-size:12px;color:#647d7c}
.nd-platform .nd-chat-log{display:flex;flex-direction:column;gap:14px;padding:18px 0;border-top:1px solid var(--nd-line);overflow-wrap:anywhere}
.nd-platform .nd-bubble{max-width:90%;align-self:flex-start;background:#f1f4f7;border-radius:18px 18px 18px 4px;padding:15px 18px;min-width:140px}
.nd-platform .nd-bubble--mine{align-self:flex-end;background:#eaf4ed;border-radius:18px 18px 4px 18px}.nd-platform .nd-bubble p{font-size:14px;margin:10px 0 2px;white-space:normal}
.nd-platform .nd-message-meta{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:#5e7479}.nd-platform .nd-message-meta time{margin-left:auto}
.nd-platform .nd-bubble form{margin:0;text-align:right}.nd-platform .nd-bubble .nd-icon-action{min-height:28px;padding:2px;font-size:11px}
.nd-platform .nd-compose-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.nd-platform .nd-thread-options{border-top:1px solid var(--nd-line);margin-top:24px;padding-top:12px;font-size:13px}.nd-platform .nd-thread-options form{margin:0}
.nd-platform input[type=text]{display:block;width:100%;border:1px solid #cddbd9;border-radius:10px;background:#fff;padding:12px;font:inherit;min-height:44px;margin:7px 0}
.nd-platform .nd-article-toggle{color:var(--nd-teal);padding:12px 0}.nd-platform .nd-article-row{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:14px;border-top:1px solid var(--nd-line);padding-top:14px}.nd-platform .nd-article-row a{color:var(--nd-ink)}
body.nd-platform-enabled .site-header a[href*="submit-listing"],body.nd-platform-enabled .site-header .hp-menu__item--listing-submit,body.nd-platform-enabled .hp-menu--site-header .hp-menu__item--listing-submit{display:none!important}
@media(max-width:980px){.nd-platform .nd-workspace{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.nd-platform .nd-lesson{grid-template-columns:54px minmax(0,1fr)}.nd-platform .nd-lesson-thumb{width:54px;height:54px}.nd-platform .nd-lesson-actions{grid-column:2;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.nd-platform .nd-workspace{display:flex;flex-direction:column;gap:0}.nd-platform .nd-workspace>main,.nd-platform .nd-workspace>aside{width:100%}.nd-platform .nd-workspace>aside{order:-1}.nd-platform .nd-profile-card{padding:20px}.nd-platform .nd-profile-heading{display:grid;grid-template-columns:70px 1fr;text-align:left;column-gap:16px;align-items:center}.nd-platform .nd-profile-heading .nd-avatar{width:64px;height:64px;grid-row:1/4;margin:0}.nd-platform .nd-profile-heading h3{font-size:18px}.nd-platform .nd-profile-heading p{margin:0}.nd-platform .nd-photo-edit{margin:3px 0 0}.nd-platform .nd-profile-links{grid-template-columns:1fr 1fr;margin-top:20px}.nd-platform .nd-profile-links .nd-button{font-size:12px;padding:9px}.nd-platform .nd-lesson{grid-template-columns:48px minmax(0,1fr);align-items:start;gap:12px}.nd-platform .nd-lesson-thumb{width:48px;height:48px}.nd-platform .nd-lesson-actions{grid-column:1/-1}.nd-platform .nd-bubble{max-width:96%}.nd-platform .nd-thread-row{gap:9px}.nd-platform .nd-thread-row .nd-avatar{width:36px;height:36px}.nd-platform .nd-section-head{align-items:center}.nd-platform .nd-section-head h3{font-size:20px}.nd-platform .nd-section-head .nd-eyebrow{font-size:10px}.nd-platform .nd-compose-footer .nd-button{width:100%}}

/* ND navigation: full desktop words, capability-based account dropdown. */
.site-header .nd-account-menu{position:relative;list-style:none}
.site-header .nd-account-toggle{display:inline-flex;align-items:center;gap:8px;border:1px solid #d5e3e1;background:#edf5f3;color:#355e63;border-radius:12px;padding:10px 14px;font:inherit;font-size:14px;line-height:1.4;font-weight:600;box-shadow:none;white-space:nowrap;cursor:pointer}
.site-header .nd-account-submenu{position:absolute;z-index:1000;right:0;left:auto;top:calc(100% + 10px);width:280px;max-width:calc(100vw - 32px);max-height:70vh;overflow-y:auto;margin:0;padding:10px;list-style:none;background:#fff;border:1px solid #dce7e5;border-radius:16px;box-shadow:0 14px 40px #24445c1c}
.site-header .nd-account-submenu[hidden]{display:none!important}.site-header .nd-account-submenu:not([hidden]){display:block!important;opacity:1;visibility:visible;transform:none}
.site-header .nd-account-submenu li{display:block;margin:0!important;padding:0;border:0;float:none;width:100%}
.site-header .nd-account-submenu li a{display:block!important;padding:10px 13px!important;font-size:14px!important;line-height:1.4;color:#36565c!important;font-weight:500;white-space:normal;text-decoration:none;border-radius:9px}
.site-header .nd-account-submenu li a:hover,.site-header .nd-account-submenu li a:focus-visible{background:#edf5f3}
.logged-in .site-header:has(.nd-account-menu) .menu-item--user-account,.logged-in .site-header:has(.nd-account-menu) .menu-item--user-login,.logged-in .site-header:has(.nd-account-menu) .menu-item-266,.logged-in .site-header:has(.nd-account-menu) .menu-item-272{display:none!important}
.site-header .menu-item--first.menu-item--user-login{display:none!important}
@media(min-width:900px){
 .site-header .header-navbar{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:14px 28px}
 .site-header .header-navbar__start{flex:0 0 auto;margin:0}
 .site-header .header-navbar__end,.site-header .header-navbar__burger,.site-header .header-navbar__actions{display:none!important}
 .site-header .header-navbar__menu{display:flex!important;flex:1 1 650px;min-width:0;margin:0 0 0 auto;padding:0}
 .site-header .header-navbar__menu>.menu{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px 22px;width:100%;margin:0;padding:0}
 .site-header .header-navbar__menu>.menu>li{margin:0!important;padding:0}
 .site-header .header-navbar__menu>.menu>li>a{display:inline-flex;align-items:center;min-height:42px;font-size:14px;line-height:1.45;white-space:normal;padding:6px 0}
 .site-header .header-navbar__menu .hp-menu__item>span{display:inline!important}
 .site-header .header-navbar__menu .menu-item--last.menu-item--user-login{display:none!important}
}
@media(max-width:899px){.site-header .nd-account-submenu{position:static;width:100%;box-shadow:none;max-height:none;margin:8px 0}.site-header .nd-account-toggle{margin:10px 0}}


.nd-platform .nd-remote-lesson {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--nd-line);
  border-radius: 12px;
}
.nd-platform .nd-remote-lesson input[type="datetime-local"],
.nd-platform .nd-remote-lesson input[type="url"] {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
}

.nd-video-dashboard {
  border-top: 4px solid #176b70;
  background: #f1f8f6;
}
.nd-video-dashboard h2 {
  margin-top: 0;
}
.nd-video-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  align-items: start;
  gap: 12px;
  margin: 16px 0 24px;
}
.nd-video-choices details,
.nd-video-events > li {
  padding: 14px;
  border: 1px solid var(--nd-line);
  border-radius: 12px;
  background: #fff;
}
.nd-video-choices summary {
  color: #176b70;
}
.nd-video-dashboard label input,
.nd-video-dashboard label select {
  width: 100%;
  box-sizing: border-box;
  margin: 4px 0 12px;
}
.nd-video-events {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}
.nd-video-events > li {
  display: grid;
  gap: 4px;
}
.nd-video-events > li a {
  justify-self: start;
}
.nd-video-entry .nd-button {
  margin-top: 8px;
}
.nd-video-frame {
  display: block;
  width: 100%;
  height: clamp(420px, 70vh, 760px);
  border: 0;
  border-radius: 14px;
  background: #173438;
}
