.academy-bar { min-height: 73px; background: #fcfdf9; border-bottom: 1px solid var(--line); padding: 12px clamp(17px,5vw,70px); display:flex; gap:14px; align-items:center; justify-content:space-between; }
.academy-bar nav { display:flex; flex-wrap:wrap; justify-content:end; gap:8px 16px; font-size:.88rem; font-weight:750; }
.academy-bar nav a:hover, .academy-link:hover { text-decoration:underline; }
.academy-bar nav a[aria-current="page"] { text-decoration:underline; text-underline-offset:0.25em; }
.academy-brand { display:grid; gap:3px; flex:0 1 auto; line-height:1.12; }
.academy-brand img { display:block; width:104px; height:auto; }
.academy-brand strong { font-size:.83rem; color:var(--subtle); }
.portal-home-link { display:inline-flex; align-items:center; gap:7px; min-height:42px; padding:7px 11px; border:1px solid #bfd2bd; border-radius:8px; color:#1f4d36; background:#e8f0e6; font-weight:750; font-size:.875rem; white-space:nowrap; }
.portal-home-link:hover { background:#dce9d8; }
.portal-home-link i { font-size:1rem; font-style:normal; }
.academy-main { max-width:1100px; margin:auto; padding:28px clamp(17px,4vw,44px) 54px; }
.academy-heading { margin-bottom:20px; }
.academy-heading h1 { margin:0; font-size:clamp(2.1rem,5vw,3.5rem); line-height:1.05; letter-spacing:-.06em; }
.academy-heading p { color:var(--subtle); margin:8px 0 0; line-height:1.55; max-width:650px; }
.academy-feature { padding:24px; background:#153c2b; color:#fff; border:0; margin-bottom:18px; }
.academy-feature p { color:#e2ebdc; }
.academy-feature h2 { color:#fff; }
.academy-feature .academy-actions { margin-top:14px; }
.academy-panels { display:grid; grid-template-columns:minmax(230px, .8fr) minmax(0,1.65fr); gap:16px; align-items:start; }
.academy-panel-stack { display:grid; gap:14px; }
.academy-store-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr)); gap:14px; }
.academy-course { display:flex; flex-direction:column; align-items:flex-start; }
.academy-course p { overflow-wrap:anywhere; }
.academy-course .course-intro { flex:1; }
.academy-course .button { margin-top:12px; }
.academy-store-card { padding:0; }
.academy-store-cover { display:flex; flex:1; flex-direction:column; width:100%; border-radius:inherit; }
.academy-store-cover:hover .academy-video-play { background:#267554; }
.academy-store-card-body { display:flex; flex:1; flex-direction:column; align-items:flex-start; min-width:0; width:100%; padding:20px; }
.academy-actions { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.academy-list { list-style:none; padding:0; margin:13px 0 0; }
.academy-list > li { border-top:1px solid var(--line); padding:12px 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:9px; }
.academy-list > li strong { overflow-wrap:anywhere; }
.academy-list > li small { display:block; margin-top:4px; color:var(--subtle); }
.locked { color:var(--subtle); font-size:.87rem; }
.academy-form { display:grid; gap:12px; margin:14px 0 2px; }
.password-entry { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.password-entry input { min-width:0; }
.password-entry .button { min-height:44px; padding-inline:10px; font-size:.875rem; }
.academy-form textarea { font:inherit; width:100%; border:1px solid #cbd7c9; border-radius:8px; padding:10px; color:var(--ink); min-height:110px; resize:vertical; }
.academy-form .check { display:flex; align-items:center; gap:7px; font-size:.9rem; line-height:1.5; }
.academy-form input[type=file] { height:auto; }
.academy-cover-editor { flex-basis:100%; min-width:0; }
.academy-cover-editor summary { color:var(--green); cursor:pointer; font-weight:700; }
.academy-cover-editor form { margin-left:1.1rem; max-width:26rem; }
.academy-cover-field { display:grid; gap:6px; }
.academy-cover-field[hidden], .academy-cover-status:empty { display:none; }
.academy-cover-editor .academy-help, .academy-cover-field .academy-help, .academy-cover-status { margin:0; }
.academy-upload-progress progress { display:block; width:100%; accent-color:var(--green); }
.academy-upload-progress span { color:var(--subtle); font-size:.875rem; }
.account-profile-editor { padding-top:0.75rem; border-top:1px solid var(--line); }
.account-profile-editor summary { color:var(--green); cursor:pointer; font-weight:750; }
.account-profile-editor .academy-form { max-width:31rem; }
.academy-help { font-size:.89rem; line-height:1.45; }
.academy-status { padding:10px 13px; border-radius:8px; background:var(--pale); color:var(--green); }
#academy-status:empty { display:none; }
.academy-status.is-error { background:#f7e7e6; color:#883432; }
.academy-media { position:relative; width:100%; border-radius:10px; overflow:hidden; background:#132820; }
.academy-media video { width:100%; max-height:540px; display:block; }
.academy-media .academy-product-photo { display:block; max-width:100%; max-height:580px; height:auto; margin:auto; object-fit:contain; }
.academy-list [data-partner-email] { overflow-wrap:anywhere; }
.academy-watermark { position:absolute; top:10%; right:4%; pointer-events:none; user-select:none; font-size:clamp(.65rem,2vw,.95rem); font-weight:700; color:#fff; text-shadow:1px 1px 5px #111; opacity:.68; overflow-wrap:anywhere; max-width:90%; }
.academy-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.academy-video-grid.is-single { grid-template-columns: minmax(0, 27rem); }
.academy-video-card { min-width: 0; display:flex; flex-direction:column; background: #fff; border: 1px solid var(--line); border-radius: 0.85rem; }
.academy-video-trigger { display: block; width: 100%; padding: 0; color: var(--ink); text-align: left; background: none; border: 0; border-radius: inherit; font: inherit; }
.academy-video-trigger:hover, .academy-video-trigger[aria-current] { box-shadow: 0 0 0 2px #4c8262; }
.academy-video-cover {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: radial-gradient(ellipse at 65% 75%, #3d7656, #142e24 75%);
  border-radius: 0.8rem 0.8rem 0 0;
}
.academy-cover-logo { border-radius: 1rem; box-shadow: 0 8px 28px #0d251e5c; }
.academy-video-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.academy-video-play {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: #fff;
  background: #142e24e8;
  border: 1px solid #ffffff99;
  transition: background 160ms ease;
}
.academy-video-play::before { content: ""; margin-left: 0.15rem; border: 0.44rem solid transparent; border-right: 0; border-left: 0.7rem solid currentColor; }
.academy-video-trigger:hover .academy-video-play { background: #267554; }
.academy-video-info { display: grid; gap: 0.4rem; padding: 0.75rem 0.85rem; line-height: 1.35; overflow-wrap: anywhere; }
.academy-video-info > a { justify-self: start; }
.academy-video-info small { color:var(--subtle); }
.academy-video-actions { margin-top:auto; padding:0 0.85rem 0.85rem; }
.academy-playlist-dialog { width:min(31rem,calc(100% - 2rem)); max-height:calc(100% - 2rem); padding:clamp(1rem,4vw,1.5rem); border:1px solid var(--line); border-radius:0.9rem; color:var(--ink); background:#fff; }
.academy-playlist-dialog::backdrop { background:#12282099; }
.academy-playlist-dialog form + form { border-top:1px solid var(--line); padding-top:0.85rem; }
.academy-playlist-feedback, .academy-playback-status { margin:0; color:var(--green); }
.academy-playlist-feedback:not(:empty) { margin-top:0.6rem; }
.academy-playlist-feedback.is-error { color:#883432; }
.product-sheet-card { padding:0; overflow:hidden; }
.product-sheet-card a { display:grid; justify-items:start; gap:0.75rem; height:100%; padding:0.85rem; }
.product-sheet-card strong { overflow-wrap:anywhere; }
.social-product-card { overflow:hidden; padding:0; }
.social-product-photo { display:block; width:100%; max-height:32rem; object-fit:contain; background:var(--paper,#f4f7ef); }
.social-product-content { display:grid; gap:0.65rem; padding:1rem; }
.social-product-content h2 { font-size:1.12rem; overflow-wrap:anywhere; }
.social-product-content h2, .social-product-content p { margin:0; }
.social-product-actions { display:flex; flex-wrap:wrap; gap:0.5rem; }
.social-product-actions .button { flex:1 0 auto; text-align:center; }
.catalog-limit-banner { border-color:#a9c4a0; border-inline-start:4px solid var(--green); background:#eff5e9; }
.catalog-limit-banner .catalog-limit-price { margin-block:0.75rem; }
.catalog-limit-banner .product-sheet-feedback:empty { margin:0; }
.social-share-header { display:flex; align-items:center; justify-content:space-between; gap:0.75rem; }
.social-share-header h2 { margin:0; font-size:1.25rem; }
.social-share-alternatives { margin-top:1rem; border-top:1px solid var(--line); }
.social-share-alternatives .field:not([hidden]) { margin-top:1rem; }
.social-share-dialog [hidden] { display:none; }
.product-sheet-card-cost { color:var(--green); font-weight:750; }
.product-sheet-count { text-align:center; margin:1rem 0 0.6rem; }
.product-sheet-pages { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:0.65rem; }
.product-sheet-admin-name { flex:1 1 10rem; }
.product-sheet-admin-cost { flex:0 1 10.5rem; max-width:100%; }
.product-sheet-photo { display:block; width:100%; aspect-ratio:4 / 3; object-fit:contain; background:#f4f7ef; border-radius:0.5rem; }
.product-sheet-detail { display:grid; gap:1rem; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); align-items:start; }
.product-sheet-copy { white-space:pre-wrap; overflow-wrap:anywhere; user-select:text; }
.product-sheet-feedback { color:var(--green); font-size:0.9rem; }
span.product-sheet-feedback:not(:empty) { display:inline-block; margin:0.5rem; }
.product-margin-fields { display:grid; gap:0.75rem; grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr)); max-width:37rem; }
.product-margin-result { margin:0; }
.product-margin-result > div { background:#f1f5ed; padding:0.85rem; border-radius:0.5rem; }
.product-margin-result dd { margin:0.2rem 0 0; font-size:1.18rem; font-weight:750; overflow-wrap:anywhere; }
.product-kit-tip { border-top:1px solid var(--line); margin-top:1rem; padding-top:0.85rem; }
.product-kit-tip p { margin-bottom:0; }
@media (max-width:680px) { .product-sheet-detail { grid-template-columns:minmax(0,1fr); } }
.academy-player { scroll-margin-top: 1rem; }
.academy-player h3 { margin-bottom: 0.65rem; }
.academy-player .academy-media { margin: 0 0 0.8rem; }
.academy-media:fullscreen { display:grid; place-items:center; }
.academy-video-stage { position:static; width:100%; max-width:none; padding:0; margin:0; border:0; background:none; color:inherit; }
.academy-landscape-toggle.button { display:none; }
.academy-video-stage.is-landscape {
  position:fixed; inset:0; width:100dvw; height:100dvh; max-height:none;
  display:grid; place-items:center; overflow:hidden; background:#000;
}
.academy-video-stage.is-landscape::backdrop { background:#000; }
.academy-video-stage.is-landscape .academy-media { width:100%; height:100%; margin:0; border-radius:0; background:#000; }
.academy-video-stage.is-landscape video { width:100%; height:100%; max-height:none; object-fit:contain; }
.academy-landscape-exit {
  position:absolute; top:max(0.5rem,env(safe-area-inset-top)); right:max(0.75rem,env(safe-area-inset-right));
  min-height:44px; padding:0.5rem 0.75rem; border:1px solid #fff9; border-radius:0.5rem;
  background:#141c17e6; color:#fff; font:inherit; font-weight:700;
}
@media (orientation:portrait) {
  .academy-video-stage.is-landscape { inset:50% auto auto 50%; width:100dvh; height:100dvw; transform:translate(-50%, -50%) rotate(90deg); }
}
@media (max-width:62rem), (pointer:coarse) {
  .academy-landscape-toggle.button { display:inline-flex; min-height:44px; }
  .academy-player:has(.academy-landscape-toggle:not([hidden])) [data-action="fullscreen"] { display:none; }
}
@media(max-width:680px) { .academy-panels { grid-template-columns:1fr; } .academy-bar { align-items:center; flex-wrap:wrap; gap:8px; } }
