/* Marketplace design system.
 * Everything is scoped to .otm so nothing leaks into the theme.
 * Contrast: white on primary / primary-dark passes AA. Never white text on accent, success or danger
 * (they fail AA): use ink on accent, and the -text shades for status text.
 */
.otm{
	--otm-primary:#1C1ECC;--otm-primary-dark:#040C5B;--otm-accent:#EAB317;--otm-ink:#090909;--otm-muted:#62646A;
	--otm-surface:#F0F0F1;--otm-white:#FFFFFF;--otm-success:#59A56D;--otm-danger:#E06B44;--otm-line:#E4E5E7;
	--otm-success-text:#2F6B3F;--otm-danger-text:#A63D1C;--otm-primary-tint:#EEEEFD;--otm-accent-tint:#FDF5DC;
	--otm-r-card:8px;--otm-r-btn:6px;--otm-r-badge:4px;
	--otm-shadow-hover:0 6px 20px rgba(4,12,91,.10);--otm-shadow-sticky:0 2px 8px rgba(0,0,0,.08);
	--otm-head:Poppins,system-ui,-apple-system,"Segoe UI",sans-serif;--otm-body:"Source Sans Pro","Source Sans 3",system-ui,-apple-system,"Segoe UI",sans-serif;
	color:var(--otm-ink);font-family:var(--otm-body);font-size:16px;line-height:1.55;box-sizing:border-box;container-type:inline-size;container-name:otm
}
.otm *,.otm *:before,.otm *:after{box-sizing:inherit}
.otm h1,.otm h2,.otm h3,.otm h4{font-family:var(--otm-head);font-weight:600;color:var(--otm-primary-dark);line-height:1.25;margin:0 0 .6em;letter-spacing:0;text-transform:none}
.otm h1{font-size:32px}.otm h2{font-size:24px}.otm h3{font-size:18px}
.otm p{margin:0 0 1em}
.otm a{color:var(--otm-primary)}
.otm a:hover{color:var(--otm-primary-dark)}
.otm :focus-visible{outline:3px solid var(--otm-accent);outline-offset:2px;border-radius:2px}
.otm-muted{color:var(--otm-muted)}.otm-small{font-size:14px}
.otm-error{color:var(--otm-danger-text)}.otm-pos{color:var(--otm-success-text)}.otm-neg{color:var(--otm-danger-text)}
.otm-center{text-align:center}.otm-spacer{flex:1}
.otm-lead{font-size:18px;color:var(--otm-muted);max-width:760px}
.otm .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.otm-icon{flex:none;vertical-align:middle}
.otm-container{max-width:1280px;margin:0 auto;padding:0 24px}
.otm-narrow{max-width:640px;margin:32px auto}

/* ---------- Theme integration (marketplace templates only) ---------- */
body.otm-full .main-title-section-wrapper,body.otm-full #header-wrapper .dt-sc-contact-info{display:none!important}
body.otm-full #main>.container,body.otm-full #main .container>#primary,body.otm-full #primary{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;float:none!important}
body.otm-full #main{padding:0!important}
.otm-page{padding:24px 0 64px;background:#fff;width:100%;flex:0 0 100%;min-width:0;box-sizing:border-box}
.otm-header-wrap{width:100%;flex:0 0 100%;min-width:0}
*:has(> .otm-header-wrap){flex-wrap:wrap}
body.otm-site .ast-container{flex-wrap:wrap}

/* ---------- Buttons ---------- */
:where(.otm) button:not(#otm-x){background:none;border:0;box-shadow:none;text-transform:none;letter-spacing:normal;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;padding:0;min-height:0;border-radius:0;text-decoration:none;width:auto;height:auto;outline-offset:2px}
:where(.otm) input:not(#otm-x),:where(.otm) select:not(#otm-x),:where(.otm) textarea:not(#otm-x){box-shadow:none;letter-spacing:normal;text-transform:none}

.otm .otm-btn:not(#otm-x),.otm button.otm-btn:not(#otm-x){display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--otm-primary);color:#fff;border:1px solid var(--otm-primary);border-radius:var(--otm-r-btn);padding:10px 18px;font-family:var(--otm-body);font-weight:600;font-size:16px;line-height:1.2;cursor:pointer;text-decoration:none;transition:background .15s,border-color .15s;min-height:44px}
.otm .otm-btn:hover:not(#otm-x){background:var(--otm-primary-dark);border-color:var(--otm-primary-dark);color:#fff}
.otm .otm-btn:disabled:not(#otm-x){opacity:.5;cursor:not-allowed}
.otm .otm-btn-accent:not(#otm-x){background:var(--otm-accent);border-color:var(--otm-accent);color:var(--otm-ink)}
.otm .otm-btn-accent:hover:not(#otm-x){background:var(--otm-accent);border-color:var(--otm-accent);color:var(--otm-ink);filter:brightness(.92)}
.otm .otm-btn-ghost:not(#otm-x),.otm button.otm-btn-ghost:not(#otm-x){background:#fff;color:var(--otm-primary);border-color:var(--otm-primary)}
.otm .otm-btn-ghost:hover:not(#otm-x),.otm button.otm-btn-ghost:hover:not(#otm-x){background:var(--otm-primary-tint);color:var(--otm-primary-dark)}
.otm .otm-btn-outline-light:not(#otm-x){background:transparent;color:#fff;border-color:#fff}
.otm .otm-btn-outline-light:hover:not(#otm-x){background:#fff;color:var(--otm-primary-dark)}
.otm .otm-btn-danger:not(#otm-x){background:var(--otm-danger-text);border-color:var(--otm-danger-text)}
.otm .otm-btn-small:not(#otm-x){padding:6px 12px;font-size:14px;min-height:34px}
.otm .otm-btn-wide:not(#otm-x){width:100%}
.otm .otm-link:not(#otm-x){background:none;border:0;padding:0;color:var(--otm-primary);cursor:pointer;font-size:14px;text-decoration:underline;font-family:inherit}
.otm .otm-danger:not(#otm-x){background:var(--otm-danger-text)!important;color:#fff!important}
.otm-icon-btn:not(#otm-x){position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:transparent;border:0;color:inherit;cursor:pointer}
.otm-icon-btn:hover:not(#otm-x){background:rgba(255,255,255,.12)}
.otm-dot{position:absolute;top:2px;right:0;min-width:18px;height:18px;border-radius:9px;background:var(--otm-accent);color:var(--otm-ink);font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 4px}

/* ---------- Marketplace header ---------- */
.otm-header{background:var(--otm-primary);color:#fff}
.otm-header-in{max-width:1280px;margin:0 auto;padding:12px 24px;display:flex;align-items:center;gap:16px}
.otm-menu-btn{display:none}
.otm-search{position:relative;flex:1;max-width:640px;display:flex;background:#fff;border-radius:var(--otm-r-btn);overflow:visible}
.otm-search input:not(#otm-x){flex:1;border:0;padding:10px 14px;font-size:16px;border-radius:var(--otm-r-btn) 0 0 var(--otm-r-btn);color:var(--otm-ink);min-width:0;font-family:var(--otm-body)}
.otm-search input:focus:not(#otm-x){outline:none}
.otm-search:focus-within{box-shadow:0 0 0 3px var(--otm-accent)}
.otm-search>button:not(#otm-x){border:0;background:var(--otm-primary-dark);color:#fff;width:48px;border-radius:0 var(--otm-r-btn) var(--otm-r-btn) 0;cursor:pointer;display:flex;align-items:center;justify-content:center}
.otm-suggest{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid var(--otm-line);border-radius:var(--otm-r-card);box-shadow:var(--otm-shadow-hover);z-index:1000;overflow:hidden}
.otm-suggest a{display:flex;justify-content:space-between;gap:12px;padding:10px 14px;color:var(--otm-ink);text-decoration:none;font-size:15px}
.otm-suggest a small{color:var(--otm-muted);font-size:13px}
.otm-suggest a:hover,.otm-suggest a.is-active{background:var(--otm-surface)}
.otm-header-nav{display:flex;align-items:center;gap:8px;margin-left:auto;white-space:nowrap}
.otm-header-nav>a{color:#fff;text-decoration:none;font-weight:600;padding:8px 10px;border-radius:var(--otm-r-btn)}
.otm-header-nav>a:hover{background:rgba(255,255,255,.12);color:#fff}
.otm-mode-switch:not(#otm-x){background:transparent;border:1px solid rgba(255,255,255,.7);color:#fff;border-radius:var(--otm-r-btn);padding:7px 12px;font-weight:600;cursor:pointer;font-family:var(--otm-body);font-size:15px}
.otm-mode-switch:hover:not(#otm-x){background:#fff;color:var(--otm-primary-dark)}
.otm-avatar-btn:not(#otm-x){border:0;background:none;padding:0;cursor:pointer;border-radius:50%}
.otm-avatar-btn .otm-avatar:not(#otm-x){width:32px;height:32px;border:2px solid #fff}
.otm-pop{position:relative}
.otm-pop-panel{position:absolute;right:0;top:calc(100% + 8px);background:#fff;color:var(--otm-ink);border:1px solid var(--otm-line);border-radius:var(--otm-r-card);box-shadow:var(--otm-shadow-hover);min-width:220px;z-index:1001;white-space:normal}
.otm-menu-panel a{display:block;padding:10px 16px;color:var(--otm-ink);text-decoration:none}
.otm-menu-panel a:hover{background:var(--otm-surface)}
.otm-menu-panel hr{border:0;border-top:1px solid var(--otm-line);margin:4px 0}
.otm-bell-panel{width:340px}
.otm-pop-head{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid var(--otm-line)}
.otm-bell-list{max-height:400px;overflow:auto}
.otm-bell-list a{display:block;padding:10px 16px;border-bottom:1px solid var(--otm-line);color:var(--otm-ink);text-decoration:none;font-size:15px}
.otm-bell-list a.is-unread{background:var(--otm-primary-tint)}
.otm-bell-list a small{display:block;color:var(--otm-muted);font-size:13px}
.otm-bell-empty{padding:24px 16px;color:var(--otm-muted);text-align:center}

/* Category bar */
.otm-catbar{background:#fff;border-bottom:1px solid var(--otm-line)}
.otm-catbar-in{max-width:1280px;margin:0 auto;padding:0 24px;display:flex;gap:4px;list-style:none;overflow-x:auto;scrollbar-width:none}
.otm-catbar-in::-webkit-scrollbar{display:none}
.otm-cat{position:static;margin:0}
.otm-cat>a{display:block;padding:12px 10px;color:var(--otm-muted);text-decoration:none;font-weight:600;white-space:nowrap;border-bottom:3px solid transparent;font-size:15px}
.otm-cat>a:hover,.otm-cat:focus-within>a{color:var(--otm-primary-dark);border-bottom-color:var(--otm-primary)}
.otm-cat-panel{display:none;position:absolute;left:0;right:0;background:#fff;border-bottom:1px solid var(--otm-line);box-shadow:var(--otm-shadow-sticky);z-index:999}
.otm-cat:hover .otm-cat-panel,.otm-cat:focus-within .otm-cat-panel{display:block}
.otm-cat-panel ul{max-width:1280px;margin:0 auto;padding:16px 24px;list-style:none;columns:4 200px}
.otm-cat-panel li{margin:0 0 6px}
.otm-cat-panel a{color:var(--otm-ink);text-decoration:none}
.otm-cat-panel a:hover{color:var(--otm-primary)}
.otm-catbar{position:relative}

/* Mobile drawer */
.otm-drawer{position:fixed;inset:0;background:rgba(4,12,91,.5);z-index:100000}
.otm-drawer[hidden]{display:none}
.otm-drawer-in{background:#fff;width:min(340px,86vw);height:100%;overflow:auto;padding:56px 20px 20px;position:relative}
.otm-drawer-close{position:absolute;top:8px;right:8px;color:var(--otm-ink)}
.otm-drawer a{display:block;padding:10px 0;color:var(--otm-ink);text-decoration:none;border-bottom:1px solid var(--otm-line)}
.otm-drawer details a{padding-left:12px}
.otm-drawer summary{padding:10px 0;font-weight:600;cursor:pointer;border-bottom:1px solid var(--otm-line)}

/* ---------- Notices, toasts ---------- */
.otm-notice{padding:12px 16px;border-radius:var(--otm-r-card);margin:0 0 16px;font-size:15px;border:1px solid}
.otm-notice-success{background:#EEF7F0;color:var(--otm-success-text);border-color:#BFDCC7}
.otm-notice-error{background:#FCEFEA;color:var(--otm-danger-text);border-color:#F3C6B6}
.otm-notice-info{background:var(--otm-primary-tint);color:var(--otm-primary-dark);border-color:#C9CAF6}
.otm-toasts{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100001;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none}
.otm-toast{background:var(--otm-primary-dark);color:#fff;padding:12px 18px;border-radius:var(--otm-r-card);box-shadow:var(--otm-shadow-hover);font-size:15px;pointer-events:auto}
.otm-toast.is-error{background:var(--otm-danger-text)}
.otm-inline{display:inline}
.otm-inline-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
.otm-inline-form input:not(#otm-x){flex:1 1 220px;padding:8px 10px;border:1px solid var(--otm-line);border-radius:var(--otm-r-btn)}

/* ---------- Cards, chips, badges ---------- */
.otm-card{background:#fff;border:1px solid var(--otm-line);border-radius:var(--otm-r-card);padding:16px 20px;margin:0 0 24px}
.otm-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}
.otm-chip{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--otm-line);border-radius:999px;padding:4px 12px;font-size:14px;color:var(--otm-ink);text-decoration:none}
a.otm-chip:hover{border-color:var(--otm-primary);color:var(--otm-primary)}
.otm-chip-x{background:var(--otm-primary-tint);border-color:#C9CAF6;color:var(--otm-primary-dark)}
.otm-chip-sm{display:inline-flex;align-items:center;gap:4px;font-size:13px;color:var(--otm-muted);max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.otm-badge{display:inline-block;background:var(--otm-accent);color:var(--otm-ink);border-radius:var(--otm-r-badge);padding:2px 8px;font-size:13px;font-weight:700}
.otm-level{display:inline-block;border-radius:var(--otm-r-badge);padding:1px 6px;font-size:12px;font-weight:700;line-height:1.5;white-space:nowrap}
.otm-level-new{background:var(--otm-surface);color:var(--otm-muted)}
.otm-level-level1,.otm-level-level2{background:var(--otm-accent-tint);color:#6B4F00;border:1px solid #F0D98A}
.otm-level-top{background:var(--otm-accent);color:var(--otm-ink)}
.otm-verified{position:relative;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:var(--otm-accent);color:var(--otm-primary-dark);flex:none;cursor:help}
.otm-verified .otm-icon{stroke-width:3.5}
.otm-verified[data-tip]:hover:after,.otm-verified[data-tip]:focus:after{content:"Verified by OnlineTeachers: " attr(data-tip);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);background:var(--otm-primary-dark);color:#fff;font-size:13px;font-weight:400;line-height:1.4;padding:8px 10px;border-radius:var(--otm-r-btn);width:max-content;max-width:280px;white-space:normal;z-index:20;text-align:left}
.otm-rating{display:inline-flex;align-items:center;gap:4px;font-size:15px;color:var(--otm-ink);white-space:nowrap}
.otm-rating .otm-icon{fill:var(--otm-accent);stroke:#B98A0B}
.otm-rating-new{color:var(--otm-muted)}
.otm-rating-new .otm-icon{fill:none;stroke:var(--otm-muted)}
.otm-stars{color:#C9970C;letter-spacing:1px}
.otm-avatar{border-radius:50%;object-fit:cover;vertical-align:middle;flex:none}
.otm-status{display:inline-block;border-radius:var(--otm-r-badge);padding:2px 8px;font-size:13px;font-weight:600;background:var(--otm-surface);color:var(--otm-muted);white-space:nowrap}
.otm-status-ok,.otm-status-completed{background:#EEF7F0;color:var(--otm-success-text)}
.otm-status-bad,.otm-status-disputed,.otm-status-cancelled,.otm-status-refunded{background:#FCEFEA;color:var(--otm-danger-text)}
.otm-status-paid{background:var(--otm-primary-tint);color:var(--otm-primary-dark)}
.otm-count{display:inline-block;background:var(--otm-accent);color:var(--otm-ink);border-radius:999px;font-size:12px;font-weight:700;padding:0 6px;min-width:20px;text-align:center}

/* ---------- Gig / course cards ---------- */
.otm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0 0 32px}
@container otm (max-width:1199px){.otm-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container otm (max-width:899px){.otm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@container otm (max-width:599px){.otm-grid{grid-template-columns:1fr}}
.otm-gig-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--otm-line);border-radius:var(--otm-r-card);overflow:hidden;transition:box-shadow .15s}
.otm-gig-card:hover,.otm-gig-card:focus-within{box-shadow:var(--otm-shadow-hover)}
.otm-card-link{position:absolute;inset:0;z-index:1}
.otm-card-link:focus-visible{outline:3px solid var(--otm-accent);outline-offset:-3px;border-radius:var(--otm-r-card)}
.otm-thumb{display:block;aspect-ratio:16/9;background:var(--otm-surface);overflow:hidden}
.otm-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.otm-thumb-empty{display:flex;align-items:center;justify-content:center;background:var(--otm-primary-dark);color:#fff;font-family:var(--otm-head);font-weight:600;font-size:18px;padding:16px;text-align:center}
.otm-thumb-course{background:var(--otm-primary)}
.otm-heart:not(#otm-x){position:absolute;top:10px;right:10px;z-index:2;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.95);color:var(--otm-muted);display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.15)}
.otm-heart:hover:not(#otm-x){color:var(--otm-danger-text)}
.otm-heart.is-on:not(#otm-x){color:var(--otm-danger-text)}
.otm-heart.is-on .otm-icon:not(#otm-x){fill:var(--otm-danger)}
.otm-card-body{display:flex;flex-direction:column;gap:8px;padding:12px 16px 16px;flex:1}
.otm-tutor-line{display:flex;align-items:center;gap:6px;font-size:14px;min-width:0}
.otm-tutor-name{font-weight:700;color:var(--otm-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.otm .otm-card-title{font-family:var(--otm-body);font-weight:400;font-size:16px;color:var(--otm-ink);line-height:1.4;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.otm-gig-card:hover .otm-card-title{text-decoration:underline}
.otm-card-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:10px;border-top:1px solid var(--otm-line)}
.otm-from{font-size:14px;color:var(--otm-muted);white-space:nowrap}
.otm-from strong{font-size:17px;color:var(--otm-ink)}

/* Tutor mini card */
.otm-tutor-mini{display:flex;gap:12px;align-items:center}
.otm-tutor-mini-name{font-weight:700;font-size:17px;color:var(--otm-ink);text-decoration:none;margin-right:6px}
.otm-tutor-mini-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:4px}
.otm-mini-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin:0 0 24px}
.otm-mini-list .otm-tutor-mini{background:#fff;border:1px solid var(--otm-line);border-radius:var(--otm-r-card);padding:12px}

/* Empty state, skeletons */
.otm-empty{padding:48px 24px;text-align:center;background:var(--otm-surface);border-radius:var(--otm-r-card);margin:0 0 24px}
.otm-empty h3{color:var(--otm-ink)}
.otm-empty p{color:var(--otm-muted);max-width:480px;margin:0 auto 16px}
.otm-skel{height:44px;margin:10px 16px;border-radius:var(--otm-r-btn);background:linear-gradient(90deg,var(--otm-surface) 25%,#fafafa 50%,var(--otm-surface) 75%);background-size:200% 100%;animation:otm-skel 1.2s infinite}
@keyframes otm-skel{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.otm-skel{animation:none}.otm *{transition:none!important}}

/* ---------- Search page ---------- */
.otm-crumbs{font-size:14px;color:var(--otm-muted);margin:0 0 12px}
.otm-crumbs a{color:var(--otm-muted)}
.otm-subcats{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.otm-filterbar{position:sticky;top:0;z-index:50;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0;background:#fff;border-bottom:1px solid var(--otm-line);margin:0 0 12px}
.otm-dd{position:relative}
.otm-dd-btn:not(#otm-x){display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--otm-line);border-radius:var(--otm-r-btn);padding:8px 12px;font-weight:600;font-size:15px;cursor:pointer;color:var(--otm-ink);font-family:var(--otm-body);min-height:40px}
.otm-dd-btn:hover:not(#otm-x),.otm-dd.is-open .otm-dd-btn:not(#otm-x){border-color:var(--otm-ink)}
.otm-dd.is-active .otm-dd-btn:not(#otm-x){border-color:var(--otm-primary);color:var(--otm-primary);background:var(--otm-primary-tint)}
.otm-dd-panel{position:absolute;top:calc(100% + 6px);left:0;width:300px;background:#fff;border:1px solid var(--otm-line);border-radius:var(--otm-r-card);box-shadow:var(--otm-shadow-hover);padding:16px;z-index:60}
.otm-dd-wide{width:340px}
.otm-dd-label{font-weight:700;font-size:14px;margin:12px 0 6px}
.otm-dd-label:first-child{margin-top:0}
.otm-dd-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--otm-line);margin:12px -16px -4px;padding:12px 16px 0}
.otm-opt{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:15px;cursor:pointer}
.otm-opt input{width:18px;height:18px;accent-color:var(--otm-primary)}
.otm-select:not(#otm-x),.otm-dd-panel input[type=number]:not(#otm-x){width:100%;padding:8px 10px;border:1px solid var(--otm-line);border-radius:var(--otm-r-btn);font-size:15px;background:#fff;font-family:var(--otm-body)}
.otm-dd-panel label{font-size:14px;font-weight:600}
.otm-toggle{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:15px;cursor:pointer;padding:0 8px}
.otm-toggle input{width:18px;height:18px;accent-color:var(--otm-primary)}
.otm-sort{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:15px;color:var(--otm-muted)}
.otm-sort select:not(#otm-x){border:0;font-weight:700;font-size:15px;color:var(--otm-ink);background:transparent;cursor:pointer;font-family:var(--otm-body)}
.otm-applied{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 12px}
.otm-result-count{color:var(--otm-muted);font-size:15px;margin:0 0 16px}
.otm-pager{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin:0 0 32px}
.otm-pager a,.otm-pager span{min-width:40px;padding:8px 12px;border-radius:var(--otm-r-btn);border:1px solid var(--otm-line);text-decoration:none;text-align:center;color:var(--otm-ink)}
.otm-pager .current{background:var(--otm-primary);color:#fff;border-color:var(--otm-primary)}

/* ---------- Home ---------- */
.otm-hero{background:var(--otm-primary-dark);color:#fff;padding:64px 0;margin:-24px 0 0}
.otm-hero-copy{max-width:720px}
.otm .otm-hero h1{color:#fff;font-size:44px;line-height:1.15}
.otm-hero p{font-size:19px;opacity:.92;margin:0 0 24px}
.otm-hero-search{display:flex;background:#fff;border-radius:var(--otm-r-btn);padding:6px;max-width:640px;margin:0 0 16px}
.otm-hero-search input:not(#otm-x){flex:1;border:0;padding:10px 14px;font-size:17px;outline:none;color:var(--otm-ink);min-width:0;font-family:var(--otm-body)}
.otm-hero-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:15px}
.otm-hero-tags span{opacity:.85}
.otm-hero-tags a{color:#fff;border:1px solid rgba(255,255,255,.5);border-radius:999px;padding:4px 12px;font-size:14px;text-decoration:none}
.otm-hero-tags a:hover{background:#fff;color:var(--otm-primary-dark)}
.otm-trustbar{background:var(--otm-surface);padding:16px 0;margin:0 0 48px}
.otm-trustbar .otm-container{display:flex;flex-wrap:wrap;gap:16px 40px;justify-content:center;align-items:center;color:var(--otm-muted);font-size:16px}
.otm-trustbar strong{color:var(--otm-ink);font-size:20px;font-family:var(--otm-head)}
.otm-section{margin:0 0 48px}
.otm-section-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap}
.otm-section-head a{font-weight:600}
.otm-cat-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}
.otm-cat-tile{display:flex;flex-direction:column;gap:12px;padding:20px 16px;border:1px solid var(--otm-line);border-radius:var(--otm-r-card);color:var(--otm-ink);text-decoration:none;font-weight:600;transition:box-shadow .15s}
.otm-cat-tile .otm-icon{color:var(--otm-primary)}
.otm-cat-tile:hover{box-shadow:var(--otm-shadow-hover);color:var(--otm-primary-dark)}
.otm-how-cols{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.otm-how ol{padding-left:20px}
.otm-how li{margin:0 0 10px}
.otm-promise{display:flex;gap:20px;align-items:flex-start;background:var(--otm-accent-tint);border:1px solid #F0D98A;border-radius:var(--otm-r-card);padding:24px;margin:0 0 48px}
.otm-promise .otm-icon{color:var(--otm-primary-dark)}
.otm-cta{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;background:var(--otm-primary);color:#fff;border-radius:var(--otm-r-card);padding:32px;margin:0 0 48px}
.otm .otm-cta h2{color:#fff}
.otm-cta p{margin:0;opacity:.92}
.otm-steps,.otm-trust,.otm-pricing{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;margin:32px 0}
.otm-big{font-size:28px;font-weight:700;color:var(--otm-ink);margin:0 0 4px;font-family:var(--otm-head)}
.otm-big small{font-size:15px;font-weight:400;color:var(--otm-muted)}
.otm-card-hl{border-color:var(--otm-accent);box-shadow:0 0 0 3px var(--otm-accent-tint)}

/* ---------- Gig page ---------- */
.otm-gig-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:48px;align-items:start}
.otm .otm-gig-title{font-size:28px;color:var(--otm-ink)}
.otm-gig-tutor{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 20px;font-size:15px}
.otm-gig-tutor a{color:var(--otm-ink);text-decoration:none}
.otm-gallery{position:relative;border-radius:var(--otm-r-card);overflow:hidden;background:var(--otm-surface);margin:0 0 32px;aspect-ratio:16/9}
.otm-gallery figure{margin:0;height:100%}
.otm-gallery img{width:100%;height:100%;object-fit:cover;display:block}
.otm-gallery .otm-thumb{height:100%}
.otm-gallery-track{height:100%}
.otm-gal-prev:not(#otm-x),.otm-gal-next:not(#otm-x){position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.2);font-size:24px;cursor:pointer;line-height:1}
.otm-gal-prev:not(#otm-x){left:12px}.otm-gal-next:not(#otm-x){right:12px}
.otm-gig-section{margin:0 0 40px}
.otm-gig-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin:16px 0 0;padding:16px 0 0;border-top:1px solid var(--otm-line)}
.otm-gig-facts dt{color:var(--otm-muted);font-size:14px}
.otm-gig-facts dd{margin:0;font-weight:600}
.otm-compare th[scope=row]{width:28%}
.otm-faq details{border-bottom:1px solid var(--otm-line)}
.otm-faq summary{display:flex;justify-content:space-between;align-items:center;padding:14px 0;cursor:pointer;font-weight:600;list-style:none}
.otm-faq summary::-webkit-details-marker{display:none}
.otm-faq details[open] summary .otm-icon{transform:rotate(180deg)}
.otm-gig-side{position:sticky;top:24px}
.otm-pkg-box{border:1px solid var(--otm-line);border-radius:var(--otm-r-card);box-shadow:var(--otm-shadow-sticky);background:#fff;padding:0 0 20px}
.otm-pkg-tabs:not(#otm-x){display:flex;border-bottom:1px solid var(--otm-line)}
.otm-pkg-tab:not(#otm-x){flex:1;background:var(--otm-surface);border:0;border-bottom:3px solid transparent;padding:14px 8px;font-weight:700;font-size:15px;color:var(--otm-muted);cursor:pointer;font-family:var(--otm-body)}
.otm-pkg-tab.is-on:not(#otm-x){background:#fff;color:var(--otm-primary-dark);border-bottom-color:var(--otm-primary)}
.otm-pkg{padding:20px 20px 0}
.otm-pkg-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 8px}
.otm-pkg-price{font-family:var(--otm-head);font-size:24px;font-weight:600}
.otm-pkg-facts{list-style:none;padding:0;margin:12px 0;font-size:15px}
.otm-pkg-facts li{display:flex;align-items:center;gap:8px;padding:4px 0}
.otm-save{background:#EEF7F0;color:var(--otm-success-text);border-radius:var(--otm-r-badge);padding:1px 6px;font-size:13px;font-weight:700}
.otm-pkg-box>.otm-btn:not(#otm-x){margin:8px 20px 0;width:calc(100% - 40px)}
.otm-compare-link{display:block;text-align:center;margin:10px 0 0;font-size:15px}
.otm-pkg-contact{margin:16px 20px 0;padding-top:16px;border-top:1px solid var(--otm-line);text-align:center}
.otm-pkg-contact .otm-btn:not(#otm-x){width:100%}

/* Reviews */
.otm-review-summary{display:grid;grid-template-columns:140px minmax(0,1fr) 220px;gap:24px;align-items:start;margin:0 0 16px}
.otm-review-score{text-align:center}
.otm-review-score strong{display:block;font-size:40px;font-family:var(--otm-head);line-height:1}
.otm-review-score span{display:block}
.otm-bar-row:not(#otm-x){display:grid;grid-template-columns:64px minmax(0,1fr) 32px;gap:8px;align-items:center;width:100%;background:none;border:0;padding:3px 0;cursor:pointer;font-size:14px;color:var(--otm-ink);font-family:var(--otm-body)}
.otm-bar-row:hover:not(#otm-x){color:var(--otm-primary)}
.otm-bar{height:8px;background:var(--otm-surface);border-radius:4px;overflow:hidden}
.otm-bar span{display:block;height:100%;background:var(--otm-ink)}
.otm-subscores div{display:flex;justify-content:space-between;padding:3px 0;font-size:15px}
.otm-subscores dd{margin:0;font-weight:700}
.otm-subscores .otm-icon{fill:var(--otm-accent);stroke:#B98A0B}
.otm-review-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--otm-line);font-size:15px}
.otm-review-tools select:not(#otm-x){padding:6px 8px;border:1px solid var(--otm-line);border-radius:var(--otm-r-btn)}
.otm-review{border-top:1px solid var(--otm-line);padding:16px 0}
.otm-review-head{display:flex;gap:10px;align-items:center;margin:0 0 8px}
.otm-reply{margin:8px 0 0 24px;padding:10px 14px;border-left:3px solid var(--otm-line);background:var(--otm-surface);border-radius:0 var(--otm-r-btn) var(--otm-r-btn) 0}
.otm-reply p{margin:4px 0 0}

/* Booking sheet / week view */
.otm-week-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}
.otm-week-head .otm-icon-btn:not(#otm-x){color:var(--otm-ink);border:1px solid var(--otm-line);font-size:22px}
.otm-week-head .otm-icon-btn:disabled:not(#otm-x){opacity:.3}
.otm-week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:0 0 12px}
.otm-day:not(#otm-x){border:1px solid var(--otm-line);background:#fff;border-radius:var(--otm-r-btn);padding:8px 2px;text-align:center;cursor:pointer;font-family:var(--otm-body);color:var(--otm-ink);font-size:13px;line-height:1.3}
.otm-day strong:not(#otm-x){display:block;font-size:17px}
.otm-day small:not(#otm-x){display:block;color:var(--otm-muted)}
.otm-day.has-slots small:not(#otm-x){color:var(--otm-success-text);font-weight:700}
.otm-day:disabled:not(#otm-x){opacity:.4;cursor:default}
.otm-day.is-on:not(#otm-x){border-color:var(--otm-primary);background:var(--otm-primary-tint)}
.otm-slots:not(#otm-x){display:flex;flex-wrap:wrap;gap:6px;margin:8px 0;min-height:40px}
.otm-slot:not(#otm-x){border:1px solid var(--otm-line);background:#fff;border-radius:var(--otm-r-btn);padding:8px 12px;cursor:pointer;font-size:15px;font-family:var(--otm-body);color:var(--otm-ink)}
.otm-slot:hover:not(#otm-x){border-color:var(--otm-primary)}
.otm-slot.is-on:not(#otm-x){background:var(--otm-primary);color:#fff;border-color:var(--otm-primary)}
.otm-reqs:not(#otm-x){margin:16px 0}
.otm-reqs label:not(#otm-x){display:block;font-weight:600;font-size:15px;margin:0 0 12px}
.otm-reqs textarea:not(#otm-x),.otm-reqs select:not(#otm-x){display:block;width:100%;margin-top:4px;padding:8px 10px;border:1px solid var(--otm-line);border-radius:var(--otm-r-btn);font-family:var(--otm-body);font-size:15px}
.otm-req{color:var(--otm-danger-text)}
.otm-book-total{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--otm-line);padding:12px 0 4px;font-size:17px}
.otm-book-msg{margin-top:8px;font-size:15px}
.otm-book-btn{margin-top:12px}

/* Modal + bottom sheet */
.otm-modal{position:fixed;inset:0;background:rgba(4,12,91,.55);z-index:100000;display:flex;align-items:center;justify-content:center;padding:16px}
.otm-modal[hidden]{display:none}
.otm-modal-box{background:#fff;border-radius:var(--otm-r-card);max-width:720px;width:100%;max-height:90vh;overflow:auto;position:relative;padding:32px 24px 24px}
.otm-modal-narrow{max-width:480px}
.otm-modal-close:not(#otm-x){position:absolute;top:8px;right:12px;background:none;border:0;font-size:28px;cursor:pointer;line-height:1;color:var(--otm-ink);width:40px;height:40px}
.otm-cv-pages canvas{display:block;max-width:100%;height:auto!important;margin:0 auto 16px;box-shadow:0 2px 10px rgba(0,0,0,.15);user-select:none}

/* ---------- Tutor profile ---------- */
.otm-profile{display:grid;grid-template-columns:340px minmax(0,1fr);gap:40px;align-items:start}
.otm-profile-card{position:sticky;top:24px;text-align:center;padding:24px}
.otm-profile-card .otm-avatar{width:140px;height:140px}
.otm-profile-card h1{display:flex;align-items:center;justify-content:center;gap:8px;font-size:24px;margin:12px 0 4px;color:var(--otm-ink)}
.otm-headline{color:var(--otm-muted);margin:0 0 8px}
.otm-profile-badges{display:flex;justify-content:center;gap:8px;align-items:center;margin:0 0 16px}
.otm-profile-card .otm-actions{justify-content:center}
.otm-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:8px}
.otm-actions .otm-heart:not(#otm-x){position:static;box-shadow:none;border:1px solid var(--otm-line)}
.otm-facts{text-align:left;margin:20px 0 0;padding:16px 0 0;border-top:1px solid var(--otm-line)}
.otm-facts>div{display:flex;justify-content:space-between;gap:12px;padding:6px 0;font-size:15px}
.otm-facts dt{color:var(--otm-muted);display:flex;align-items:center;gap:6px}
.otm-facts dd{margin:0;font-weight:700;text-align:right}
.otm-profile-card h3{text-align:left;margin:20px 0 8px}
.otm-langs{list-style:none;padding:0;margin:0;text-align:left}
.otm-langs li{padding:3px 0}
.otm-checks{list-style:none;padding:0;margin:0 0 16px}
.otm-checks li{display:flex;align-items:center;gap:8px;padding:6px 0;flex-wrap:wrap}
.otm-checks .otm-icon{color:var(--otm-primary)}
.otm-verified-label{font-size:13px;color:#6B4F00;background:var(--otm-accent-tint);border-radius:var(--otm-r-badge);padding:1px 6px}
.otm-edu{padding-left:18px}
.otm-profile-head{display:flex;gap:16px;align-items:center;margin:0 0 16px}
.otm-report{display:inline-flex;align-items:center;gap:4px;color:var(--otm-muted)!important}

/* ---------- Forms ---------- */
.otm-form label{display:block;font-weight:600;font-size:15px;margin:0 0 16px;color:var(--otm-ink)}
.otm-form input[type=text]:not(#otm-x),.otm-form input[type=email]:not(#otm-x),.otm-form input[type=password]:not(#otm-x),.otm-form input[type=number]:not(#otm-x),.otm-form input[type=date]:not(#otm-x),.otm-form input[type=file]:not(#otm-x),.otm-form select:not(#otm-x),.otm-form textarea:not(#otm-x){display:block;width:100%;margin-top:6px;padding:10px 12px;border:1px solid #C7C8CC;border-radius:var(--otm-r-btn);font-size:16px;font-family:var(--otm-body);background:#fff;color:var(--otm-ink);font-weight:400}
.otm-form input:focus:not(#otm-x),.otm-form select:focus:not(#otm-x),.otm-form textarea:focus:not(#otm-x){outline:none;border-color:var(--otm-primary);box-shadow:0 0 0 3px var(--otm-primary-tint)}
.otm-form textarea:not(#otm-x){resize:vertical}
.otm-form small{display:block;font-weight:400;margin-top:4px;font-size:14px}
.otm-form .otm-check,.otm-check{display:flex;align-items:flex-start;gap:8px;font-weight:400}
.otm-check input{margin-top:4px;width:18px;height:18px;accent-color:var(--otm-primary);flex:none}
.otm-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}
.otm-form fieldset{border:0;padding:0;margin:0 0 16px}
.otm-form legend{font-weight:700;font-size:15px;color:var(--otm-ink);margin:0 0 8px;padding:0}
.otm-check-chips{display:flex;flex-wrap:wrap;gap:8px}
.otm-chip-check{margin:0!important}
.otm-chip-check input{position:absolute;opacity:0;width:1px;height:1px}
.otm-chip-check span{display:inline-block;border:1px solid var(--otm-line);border-radius:999px;padding:6px 14px;font-weight:400;cursor:pointer;font-size:15px}
.otm-chip-check input:checked+span{background:var(--otm-primary-tint);border-color:var(--otm-primary);color:var(--otm-primary-dark);font-weight:600}
.otm-chip-check input:focus-visible+span{outline:3px solid var(--otm-accent)}
.otm-prefix-input{display:flex;align-items:stretch;margin-top:6px}
.otm-prefix-input span{display:flex;align-items:center;padding:0 12px;background:var(--otm-surface);border:1px solid #C7C8CC;border-right:0;border-radius:var(--otm-r-btn) 0 0 var(--otm-r-btn);font-weight:600}
.otm-form .otm-prefix-input input{margin:0;border-radius:0 var(--otm-r-btn) var(--otm-r-btn) 0}
.otm-seg{display:flex!important;flex-wrap:wrap;gap:8px}
.otm-seg legend{width:100%}
.otm-seg label{margin:0!important;flex:1 1 100px}
.otm-seg input{position:absolute;opacity:0}
.otm-seg span{display:block;text-align:center;border:1px solid var(--otm-line);border-radius:var(--otm-r-btn);padding:10px;font-weight:600;cursor:pointer}
.otm-seg input:checked+span{border-color:var(--otm-primary);background:var(--otm-primary-tint);color:var(--otm-primary-dark)}
.otm-seg input:focus-visible+span{outline:3px solid var(--otm-accent)}
.otm-age{display:flex!important;gap:16px;flex-wrap:wrap}
.otm-age legend{width:100%}
.otm-repeat-row{border:1px solid var(--otm-line);border-radius:var(--otm-r-card);padding:12px 12px 0;margin:0 0 12px;position:relative}
.otm-repeat-row.otm-row{align-items:end}
.otm-repeat-row>button{margin:0 0 12px}
.otm-details summary{cursor:pointer;color:var(--otm-primary);font-size:15px}
.otm-details form{margin-top:8px}
.otm-star-input{display:inline-flex!important;flex-direction:row-reverse;justify-content:flex-end;gap:2px;margin:0 16px 16px 0!important}
.otm-star-input legend{width:100%;font-size:14px}
.otm-star-input input{position:absolute;opacity:0}
.otm-star-input label{font-size:28px;color:#D5D6D9;cursor:pointer;margin:0!important;line-height:1}
.otm-star-input input:checked~label,.otm-star-input label:hover,.otm-star-input label:hover~label{color:var(--otm-accent)}
.otm-star-input input:focus-visible+label{outline:3px solid var(--otm-primary)}

/* Join */
.otm-join{max-width:480px;margin:0 auto}
.otm-tabs:not(#otm-x){display:flex;border-bottom:1px solid var(--otm-line);margin:0 0 20px}
.otm-tab:not(#otm-x){flex:1;background:none;border:0;border-bottom:3px solid transparent;padding:12px;font-weight:700;font-size:16px;color:var(--otm-muted);cursor:pointer;font-family:var(--otm-body)}
.otm-tab.is-on:not(#otm-x){color:var(--otm-primary-dark);border-bottom-color:var(--otm-primary)}
.otm-join #loginform label,.otm-join form[name=loginform] label{display:block;font-weight:600;font-size:15px}
.otm-join #loginform input[type=text],.otm-join #loginform input[type=password],.otm-join form[name=loginform] input[type=text],.otm-join form[name=loginform] input[type=password]{width:100%;padding:10px 12px;border:1px solid #C7C8CC;border-radius:var(--otm-r-btn);font-size:16px}
.otm-join .button-primary,.otm-join #wp-submit{background:var(--otm-primary);color:#fff;border:0;border-radius:var(--otm-r-btn);padding:12px 18px;font-weight:600;cursor:pointer;width:100%;font-size:16px}

/* ---------- Dashboard ---------- */
.otm-dash{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;align-items:start}
.otm-dash-nav{display:flex;flex-direction:column;gap:2px;position:sticky;top:24px;border:1px solid var(--otm-line);border-radius:var(--otm-r-card);padding:8px;background:#fff}
.otm-dash-mode{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--otm-muted);padding:6px 12px}
.otm-dash-nav a{padding:9px 12px;border-radius:var(--otm-r-btn);text-decoration:none;color:var(--otm-ink);font-size:15px}
.otm-dash-nav a:hover{background:var(--otm-surface)}
.otm-dash-nav a.active{background:var(--otm-primary-tint);color:var(--otm-primary-dark);font-weight:700}
.otm-dash-body h1{font-size:28px}
.otm-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin:0 0 24px}
.otm-stats>div{background:#fff;border:1px solid var(--otm-line);border-radius:var(--otm-r-card);padding:16px;color:var(--otm-muted);font-size:14px}
.otm-stats span{display:block;font-size:24px;font-weight:600;color:var(--otm-ink);font-family:var(--otm-head)}
.otm-level-card-head,.otm-verify-head,.otm-order-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px}
.otm-level-card-head h2,.otm-verify-head h2,.otm-order-head h1{margin:0;display:flex;align-items:center;gap:8px}
.otm-level-rules{list-style:none;padding:0;margin:0}
.otm-level-rules li{display:flex;align-items:center;gap:6px;padding:3px 0}
.otm-level-rules li.is-ok .otm-icon{color:var(--otm-success-text)}
.otm-dot-sm{width:8px;height:8px;border-radius:50%;background:var(--otm-line);display:inline-block;margin:0 3px}
.otm-todo{margin:0;padding-left:20px}
.otm-todo li{margin:0 0 6px}
.otm-table-wrap:not(#otm-x){overflow-x:auto;margin:0 0 24px;border:1px solid var(--otm-line);border-radius:var(--otm-r-card)}
.otm-table:not(#otm-x){width:100%;border-collapse:collapse;font-size:15px;background:#fff}
.otm-table th:not(#otm-x),.otm-table td:not(#otm-x){text-align:left;padding:12px;border-bottom:1px solid var(--otm-line);vertical-align:middle}
.otm-table thead th:not(#otm-x){font-size:13px;font-weight:700;color:#fff;background:var(--otm-primary-dark);text-transform:none}
.otm-table tbody tr:last-child td:not(#otm-x),.otm-table tbody tr:last-child th:not(#otm-x){border-bottom:0}
.otm-row-actions{white-space:nowrap}
.otm-row-actions form{display:inline-block;margin:0 8px 4px 0}
.otm-subtabs{display:flex;gap:4px;border-bottom:1px solid var(--otm-line);margin:0 0 20px;overflow-x:auto}
.otm-subtabs a{padding:10px 14px;text-decoration:none;color:var(--otm-muted);font-weight:600;border-bottom:3px solid transparent;white-space:nowrap}
.otm-subtabs a.active{color:var(--otm-primary-dark);border-bottom-color:var(--otm-primary)}
.otm-order-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
.otm-progress{height:8px;background:var(--otm-surface);border-radius:4px;overflow:hidden;margin:8px 0 16px}
.otm-progress span{display:block;height:100%;width:0;background:var(--otm-success);transition:width .2s}
.otm-lesson-list{list-style:none;padding:0;margin:0}
.otm-lesson-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--otm-line);flex-wrap:wrap}
.otm-lesson-n{width:32px;height:32px;border-radius:50%;background:var(--otm-surface);display:flex;align-items:center;justify-content:center;font-weight:700;flex:none}
.otm-lesson-info{flex:1 1 200px}
.otm-lesson-row .otm-row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;white-space:normal}
.otm-lesson-row .otm-row-actions form{margin:0}
.otm-timeline{list-style:none;padding:0;margin:0;border-left:2px solid var(--otm-line)}
.otm-timeline li{position:relative;padding:0 0 12px 16px;display:flex;flex-direction:column}
.otm-timeline li:before{content:"";position:absolute;left:-6px;top:6px;width:10px;height:10px;border-radius:50%;background:var(--otm-primary)}
.otm-kv>div{display:flex;justify-content:space-between;gap:12px;padding:4px 0}
.otm-kv dt{color:var(--otm-muted)}
.otm-kv dd{margin:0}
.otm-reqs-answers dt:not(#otm-x){font-weight:700;margin:8px 0 2px}
.otm-reqs-answers dd:not(#otm-x){margin:0 0 8px}
.otm-onboard{border:1px solid var(--otm-line);border-radius:var(--otm-r-card);padding:16px 20px;margin:0 0 24px;background:var(--otm-surface)}
.otm-onboard-head{display:flex;justify-content:space-between}
.otm-onboard-steps{display:flex;flex-wrap:wrap;gap:8px 16px;list-style:none;padding:0;margin:8px 0 0;font-size:14px}
.otm-onboard-steps a{color:var(--otm-muted);text-decoration:none;display:inline-flex;align-items:center;gap:4px}
.otm-onboard-steps .is-done a{color:var(--otm-success-text)}
.otm-onboard-steps .is-current a{color:var(--otm-primary-dark);font-weight:700}
.otm-skip{margin:-8px 0 24px}
.otm-danger-zone:not(#otm-x){margin:24px 0 0}
.otm-checklist{list-style:none;padding:0}
.otm-checklist li{display:flex;align-items:center;gap:8px;padding:4px 0}
.otm-checklist .is-ok .otm-icon{color:var(--otm-success-text)}
.otm-checklist .is-missing .otm-icon{color:var(--otm-danger-text)}
.otm-rules-box{background:var(--otm-surface);border-radius:var(--otm-r-card);padding:16px 20px}
.otm-verify-card .otm-status{font-size:14px}

/* Gig wizard */
.otm-wizard-steps{display:flex;list-style:none;padding:0;margin:0 0 24px;border:1px solid var(--otm-line);border-radius:var(--otm-r-card);overflow-x:auto}
.otm-wizard-steps li{flex:1;min-width:120px}
.otm-wizard-steps button:not(#otm-x){width:100%;display:flex;align-items:center;gap:8px;padding:12px;border:0;background:#fff;cursor:pointer;font-family:var(--otm-body);font-size:14px;font-weight:600;color:var(--otm-muted);text-align:left}
.otm-wizard-steps button span:not(#otm-x){width:24px;height:24px;border-radius:50%;background:var(--otm-surface);display:flex;align-items:center;justify-content:center;flex:none;font-size:13px}
.otm-wizard-steps .is-current button{color:var(--otm-primary-dark);box-shadow:inset 0 -3px 0 var(--otm-primary)}
.otm-wizard-steps .is-current button span{background:var(--otm-primary);color:#fff}
.otm-wizard-steps .is-done button span{background:var(--otm-success);color:#fff}
.otm-wstep{border:1px solid var(--otm-line)!important;border-radius:var(--otm-r-card);padding:20px!important;background:#fff}
.otm-wstep>legend{font-family:var(--otm-head);font-size:20px!important;color:var(--otm-primary-dark)!important;padding:0 8px!important}
.otm-wizard-foot{display:flex;gap:12px;align-items:center;margin:16px 0 0;position:sticky;bottom:0;background:#fff;padding:12px 0;border-top:1px solid var(--otm-line)}
.otm-pkg-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.otm-pkg-col{border:1px solid var(--otm-line);border-radius:var(--otm-r-card);padding:16px}
.otm-pkg-col.is-off{opacity:.55}
.otm-pkg-col-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}
.otm-switch{display:inline-flex!important;align-items:center;gap:6px;margin:0!important;font-weight:600}
.otm-gallery-edit{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 16px}
.otm-gallery-edit figure{margin:0;width:200px}
.otm-gallery-edit img{width:100%;height:auto;border-radius:var(--otm-r-btn)}

/* Availability, uploads, inbox (kept from v1.1, restyled) */
.otm-avail-day{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--otm-line)}
.otm-avail-day>.otm-check{min-width:130px;font-weight:600}
.otm-ranges{display:flex;flex-direction:column;gap:6px}
.otm-range input{padding:6px;border:1px solid var(--otm-line);border-radius:var(--otm-r-btn)}
.otm-lesson-title{flex:1 1 220px;padding:8px;border:1px solid var(--otm-line);border-radius:var(--otm-r-btn)}
.otm-upload{margin-top:16px;padding:16px;background:var(--otm-surface);border-radius:var(--otm-r-card)}
.otm-upload label{display:block;font-weight:600;font-size:15px;margin:0 0 12px}
.otm-upload input{display:block;width:100%;margin-top:4px;padding:8px;border:1px solid var(--otm-line);border-radius:var(--otm-r-btn);background:#fff}
.otm-meter{height:10px;background:var(--otm-surface);border-radius:5px;overflow:hidden;margin:0 0 16px}
.otm-meter span{display:block;height:100%;background:var(--otm-primary)}
.otm-inbox{display:grid;grid-template-columns:300px minmax(0,1fr);border:1px solid var(--otm-line);border-radius:var(--otm-r-card);overflow:hidden;min-height:560px;background:#fff}
.otm-threads{border-right:1px solid var(--otm-line);overflow-y:auto;max-height:640px}
.otm-thread-item:not(#otm-x){display:block;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--otm-line);padding:12px 16px;cursor:pointer;font-size:15px;color:var(--otm-ink);font-family:var(--otm-body)}
.otm-thread-item small:not(#otm-x){display:block;color:var(--otm-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.otm-thread-item.active:not(#otm-x),.otm-thread-item:hover:not(#otm-x){background:var(--otm-surface)}
.otm-thread{display:flex;flex-direction:column}
.otm-thread-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--otm-line);min-height:52px;font-weight:700}
.otm-chat-log{flex:1;overflow-y:auto;padding:16px;max-height:480px;background:var(--otm-surface)}
.otm-msg{margin:0 0 10px;display:flex;flex-direction:column;align-items:flex-start}
.otm-msg.mine{align-items:flex-end}
.otm-bubble,.otm-msg>span{background:#fff;border:1px solid var(--otm-line);padding:8px 12px;border-radius:12px;max-width:80%;word-wrap:break-word}
.otm-msg.mine .otm-bubble,.otm-msg.mine>span{background:var(--otm-primary);color:#fff;border-color:var(--otm-primary)}
.otm-msg small{color:var(--otm-muted);font-size:12px;margin-top:2px}
.otm-chat-form{display:flex;gap:8px;padding:12px;border-top:1px solid var(--otm-line)}
.otm-chat-form textarea:not(#otm-x),.otm-chat-form input:not(#otm-x){flex:1;padding:10px 12px;border:1px solid var(--otm-line);border-radius:var(--otm-r-btn);font-size:16px;resize:none;font-family:var(--otm-body)}
.otm-inbox-rule{padding:8px 16px;font-size:13px;color:var(--otm-muted);border-top:1px solid var(--otm-line)}
.otm-readonly{max-height:300px}
.otm-thread-peek{list-style:none;padding:0}
.otm-thread-peek summary{cursor:pointer;padding:8px 0}

/* Classroom (dark stage) */
.otm-room{background:#0b1220;border-radius:var(--otm-r-card);padding:16px;color:#fff}
.otm-room-head{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:4px 6px 12px}
.otm-room-timer{color:var(--otm-accent);font-variant-numeric:tabular-nums}
.otm-room-stage{position:relative;background:#000;border-radius:var(--otm-r-card);overflow:hidden;aspect-ratio:16/9}
.otm-remote{width:100%;height:100%;object-fit:contain;background:#000}
.otm-local{position:absolute;right:12px;bottom:12px;width:22%;min-width:120px;border-radius:var(--otm-r-btn);border:2px solid rgba(255,255,255,.6);background:#111;transform:scaleX(-1)}
.otm-room-wait{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:19px;color:#cbd5e1;text-align:center;padding:16px}
.otm-room-wait[hidden]{display:none}
.otm-room-bar{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;padding:16px 0 6px}
.otm-room-bar button:not(#otm-x){background:#1f2937;color:#fff;border:0;border-radius:var(--otm-r-btn);padding:10px 18px;font-weight:600;cursor:pointer}
.otm-room-bar button:hover:not(#otm-x){background:#374151}
.otm-room-bar button.is-off:not(#otm-x){background:#7f1d1d}
.otm-room-chat{background:#fff;color:var(--otm-ink);border-radius:var(--otm-r-card);overflow:hidden;margin-top:8px}
.otm-room-chat .otm-chat-log{max-height:220px}
.otm-room-note{color:#B8BCC6!important;font-size:14px;text-align:center;margin:8px 0 0}
.otm-room-note .otm-report{color:#E4E5E7!important}

/* Rules, legacy single course */
.otm-rules h2{margin-top:24px}
.otm-single{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px;align-items:start}
.otm-single-side{position:sticky;top:24px}
.otm-desc{margin:0 0 24px}
.otm-buy label{display:block;font-weight:600;font-size:15px;margin:12px 0 4px}
.otm-buy input{width:100%;padding:8px 10px;border:1px solid var(--otm-line);border-radius:var(--otm-r-btn)}
.otm-buy-btn{width:100%;margin-top:16px}
.otm-lessons{margin:0;padding-left:20px}
.otm-lessons li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 0;border-bottom:1px solid var(--otm-line)}
.otm-player{background:#000;border-radius:var(--otm-r-card);overflow:hidden;margin:0 0 20px}
.otm-player video{width:100%;display:block;max-height:70vh}
.otm-player-title{color:#fff;padding:10px 16px;margin:0;font-weight:600}
.otm-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;padding:12px 0;border-bottom:1px solid var(--otm-line)}
.otm-filters input:not(#otm-x),.otm-filters select:not(#otm-x){flex:1 1 160px;padding:10px 12px;border:1px solid var(--otm-line);border-radius:var(--otm-r-btn);font-size:15px;background:#fff}
.otm-filters input[type=search]:not(#otm-x){flex:2 1 240px}
.otm-hero-small{padding:48px 0}
.otm-hero-inner{max-width:760px;margin:0 auto;text-align:center;padding:0 24px}

/* ---------- Responsive ---------- */
@container otm (max-width:1000px){
	.otm-gig-grid,.otm-profile,.otm-order-grid,.otm-single{grid-template-columns:1fr;gap:24px}
	.otm-profile-card,.otm-single-side{position:static}
	.otm-review-summary{grid-template-columns:1fr 1fr}
	.otm-review-summary .otm-subscores{grid-column:1/-1}
	.otm-pkg-editor{grid-template-columns:1fr}
}
@container otm (max-width:900px){
	.otm-dash{grid-template-columns:1fr;gap:16px}
	.otm-dash-nav{position:static;flex-direction:row;overflow-x:auto;padding:4px}
	.otm-dash-nav a{white-space:nowrap}
	.otm-dash-mode{display:none}
	.otm-inbox{grid-template-columns:1fr;min-height:0}
	.otm-threads{max-height:220px;border-right:0;border-bottom:1px solid var(--otm-line)}
	.otm-how-cols{grid-template-columns:1fr}
}
@container otm (max-width:700px){
	.otm h1{font-size:26px}
	.otm .otm-hero h1{font-size:30px}
	.otm-container{padding:0 16px}
	.otm-hero{padding:40px 0}
	.otm-hero-search{flex-direction:column;gap:6px}
	.otm-sort{margin-left:0;width:100%}
	.otm-filterbar{overflow-x:auto;flex-wrap:nowrap}
	.otm-dd-panel{position:fixed;left:8px;right:8px;top:auto;bottom:8px;width:auto;max-height:70vh;overflow:auto}
	.otm-review-summary{grid-template-columns:1fr}
	/* Tables turn into stacked cards. */
	.otm-stack thead{display:none}
	.otm-stack,.otm-stack tbody,.otm-stack tr,.otm-stack td{display:block;width:100%}
	.otm-stack tr{border-bottom:1px solid var(--otm-line);padding:8px 0}
	.otm-stack td{border:0;padding:6px 12px 6px 132px;position:relative;min-height:32px}
	.otm-stack td[data-label]:before{content:attr(data-label);position:absolute;left:12px;top:6px;width:110px;font-weight:700;color:var(--otm-muted);font-size:14px}
	.otm-stack td:not([data-label]){padding-left:12px}
	.otm-table-wrap:not(#otm-x){border:0}
	/* Package box becomes a bottom sheet. */
	.otm-gig-side{position:fixed;left:0;right:0;bottom:0;z-index:90;top:auto}
	.otm-pkg-box{border-radius:var(--otm-r-card) var(--otm-r-card) 0 0;padding-bottom:12px;max-height:60vh;overflow:auto}
	.otm-pkg-box:not(.is-expanded) .otm-pkg>p,.otm-pkg-box:not(.is-expanded) .otm-pkg-facts,.otm-pkg-box:not(.is-expanded) .otm-compare-link,.otm-pkg-box:not(.is-expanded) .otm-pkg-contact{display:none}
	.otm-gig{padding-bottom:200px}
	.otm-modal.otm-sheet{align-items:flex-end;padding:0}
	.otm-modal.otm-sheet .otm-modal-box{border-radius:var(--otm-r-card) var(--otm-r-card) 0 0;max-height:92vh}
	.otm-week-days{gap:3px}
	.otm-day:not(#otm-x){font-size:12px}
}
@media (max-width:900px){
	.otm-menu-btn{display:inline-flex}
	.otm-hide-sm{display:none!important}
	.otm-header-in{padding:10px 12px;gap:8px;flex-wrap:wrap}
	.otm-search{order:3;flex-basis:100%;max-width:none}
	.otm-mode-switch:not(#otm-x){padding:6px 8px;font-size:13px}
	.otm-bell-panel{position:fixed;left:8px;right:8px;top:64px;width:auto}
}
@media (max-width:420px){.otm-mode-switch:not(#otm-x){display:none}}

/* Owly/DesignThemes headers use floated columns: start the marketplace below them. */
.otm-header-wrap,#otm-main{clear:both}
.otm-page-text{padding-top:24px;padding-bottom:48px}

.otm-brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--otm-ink);font-family:var(--otm-head);font-weight:700;white-space:nowrap;flex:none}
.otm-brand-img{max-height:36px;width:auto}
.otm-brand-mark{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:8px;background:var(--otm-primary-dark);color:#fff;font-size:15px;letter-spacing:.5px}
.otm-brand-name{font-size:18px}
@media (max-width:900px){.otm-brand-name{display:none}}
.otm-page-text h2{margin-top:40px}
.otm-about-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin:16px 0 24px}
.otm-about-grid .otm-card h3{font-size:18px}
/* ---------- Checkout, receipts, payments (v1.4) ---------- */
.otm-co{padding-top:24px;padding-bottom:48px}
.otm-co h1{font-size:28px;margin:0 0 20px}
.otm-co h2{font-size:18px;margin:0 0 12px}
.otm-co-steps{display:flex;gap:8px;list-style:none;margin:0 0 24px;padding:0;font-size:14px;color:var(--otm-muted);flex-wrap:wrap}
.otm-co-steps li{display:flex;align-items:center;gap:8px}
.otm-co-steps li:not(:last-child)::after{content:"";width:28px;height:1px;background:var(--otm-line)}
.otm-co-steps li.on{color:var(--otm-primary-dark);font-weight:700}
.otm-co-steps li.done{color:var(--otm-success-text)}
.otm-co-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;grid-template-areas:"order side" "next side";gap:0 24px;align-items:start}
.otm-co-order{grid-area:order}.otm-co-next{grid-area:next}.otm-co-side{grid-area:side}
.otm-co-side{position:sticky;top:96px}
.otm-co-item{display:flex;gap:16px;align-items:flex-start}
.otm-co-thumb{width:96px;height:72px;object-fit:cover;border-radius:6px;flex:none}
.otm-co-title{font-weight:700;font-size:17px;color:var(--otm-ink);text-decoration:none}
.otm-co-tutor,.otm-co-when{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:15px}
.otm-co-tutor .otm-avatar{border-radius:50%}
.otm-co-links{margin-top:12px;font-size:15px}
.otm-co-promise{list-style:none;margin:0 0 12px;padding:0}
.otm-co-promise li{display:flex;gap:10px;align-items:flex-start;margin:0 0 10px;font-size:15px}
.otm-co-promise svg{flex:none;margin-top:3px;color:var(--otm-success-text)}
.otm-co-lines{margin:0 0 16px}
.otm-co-lines div{display:flex;justify-content:space-between;gap:16px;padding:6px 0;font-size:15px}
.otm-co-lines dt{color:var(--otm-muted);font-weight:400}
.otm-co-lines dd{margin:0;font-variant-numeric:tabular-nums}
.otm-co-credit dd{color:var(--otm-success-text)}
.otm-co-total{border-top:1px solid var(--otm-line);margin-top:6px;padding-top:12px!important;font-size:18px!important}
.otm-co-total dt,.otm-co-total dd{color:var(--otm-ink)!important;font-weight:700!important}
.otm-co-hold{display:flex;align-items:center;gap:8px;background:var(--otm-accent-tint);border-radius:6px;padding:8px 12px;font-size:14px;margin:0 0 12px}
.otm-co-hold.is-low{background:#FCE9E2}
.otm-co-hold.is-over{background:var(--otm-surface)}
.otm-co-terms{font-size:13px;color:var(--otm-muted);margin:10px 0 12px;text-align:center}
.otm-co-secure{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:var(--otm-muted);border-top:1px solid var(--otm-line);padding-top:12px}
.otm-co-secure svg{flex:none;margin-top:2px;color:var(--otm-success-text)}
.otm-co-methods{font-size:13px;color:var(--otm-muted);margin:8px 0 0}
.otm-co-pay .otm-btn-wide{width:100%;justify-content:center;font-size:17px;padding:14px 16px}
.otm-co-done{max-width:720px;margin:0 auto}
.otm-co-tick{width:64px;height:64px;border-radius:50%;background:#EEF7F0;color:var(--otm-success-text);display:grid;place-items:center;margin:0 0 12px}
.otm-co-actions{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 28px}
.otm-co-checking{padding:40px 24px}
.otm-spinner{width:44px;height:44px;border:4px solid var(--otm-primary-tint);border-top-color:var(--otm-primary);border-radius:50%;margin:0 auto 16px;animation:otm-spin 1s linear infinite}
.otm-co-checking.is-slow .otm-spinner{animation:none;border-top-color:var(--otm-primary-tint)}
@keyframes otm-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.otm-spinner{animation-duration:3s}}
.otm-open-co ul{margin:8px 0;padding:0;list-style:none}
.otm-open-co li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 0;flex-wrap:wrap}
.otm-receipt{max-width:760px;margin:24px auto 48px;padding:32px}
.otm-receipt-head{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;margin:0 0 24px}
.otm-receipt-co{font-size:18px;color:var(--otm-primary-dark)}
.otm-receipt-meta{text-align:right}
.otm-receipt-meta h1{margin:0 0 4px;font-size:26px}
.otm-receipt-to{margin:0 0 20px}
.otm-receipt-table .otm-num,.otm-receipt-table th.otm-num{text-align:right;white-space:nowrap}
.otm-receipt-table tfoot th,.otm-receipt-table tfoot td{border-top:1px solid var(--otm-line)}
.otm-receipt-refund td{color:var(--otm-danger-text)}
@media (max-width:900px){.otm-co-grid{grid-template-columns:1fr;grid-template-areas:"order" "side" "next"}.otm-co-side{position:static}}
@media print{.otm-header-wrap,.otm-drawer,#footer,footer,.otm-noprint,#wpadminbar{display:none!important}.otm-receipt{border:0;margin:0;padding:0}}
.otm-receipt-table{margin:0 0 16px;width:100%}
.otm-receipt-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:20px}

/* ---------- v1.5: protection notices, Turnstile ---------- */
.otm-protect{border:1px solid var(--otm-line);border-left:4px solid var(--otm-primary);background:var(--otm-primary-tint);border-radius:var(--otm-r-card);padding:12px 16px;margin:16px 0;font-size:15px}
.otm-protect p{margin:.35em 0}
.otm-protect-title{display:flex;align-items:center;gap:6px;color:var(--otm-primary-dark);font-family:var(--otm-head);font-weight:600;margin-bottom:4px}
.otm-protect-classroom{background:transparent;border:0;border-left:3px solid var(--otm-line);padding:4px 12px;margin:8px 0}
.otm-turnstile{margin:10px 0}

/* ---------- Classroom: whiteboard, files, recording badge ---------- */
.otm-room-rec{color:#b91c1c;font-weight:600;font-size:14px;margin-left:8px}
.otm-board{position:absolute;inset:0;background:#fff;display:flex;flex-direction:column;z-index:3}
.otm-board[hidden]{display:none}
.otm-board canvas{flex:1;width:100%;height:100%;touch-action:none;cursor:crosshair;background:#fff}
.otm-board-tools{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:6px;background:var(--otm-surface);border-bottom:1px solid var(--otm-line)}
.otm-board-tools button,.otm-board-tools select{background:#fff;border:1px solid var(--otm-line);border-radius:var(--otm-r-btn);padding:5px 10px;font-size:14px;cursor:pointer;color:var(--otm-ink)}
.otm-board-tools button span{display:inline-block;width:16px;height:16px;border-radius:50%;vertical-align:middle;border:1px solid rgba(0,0,0,.2)}
.otm-board-tools button.is-on{outline:2px solid var(--otm-primary)}
.otm-room-files{border:1px solid var(--otm-line);border-radius:var(--otm-r-card);padding:12px 16px;margin:8px 0;background:#fff}
.otm-room-filelist{list-style:none;margin:0 0 10px;padding:0}
.otm-room-filelist li{padding:4px 0;border-bottom:1px solid var(--otm-line)}
.otm-room-upload{cursor:pointer;margin-right:8px}

/* ---------- Classes ---------- */
.otm-class-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.otm-class-card{display:flex;gap:12px;align-items:center;padding:14px;border:1px solid var(--otm-line);border-radius:var(--otm-r-card);background:#fff;text-decoration:none;color:var(--otm-ink)}
.otm-class-card:hover{box-shadow:var(--otm-shadow-hover)}
.otm-class-card img{border-radius:50%}
.otm-class-card strong{display:block}.otm-class-card small{color:var(--otm-muted)}
.otm-class-head{display:flex;gap:14px;align-items:center;margin-bottom:12px}
.otm-class-head img{border-radius:50%}
.otm-class-head h2{margin:0}
.otm-class-post summary{cursor:pointer}
.otm-class-form{margin-top:12px}
.otm-class-item{margin:10px 0}
.otm-class-item header{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:6px}
.otm-class-item header form{margin-left:auto}
.otm-class-body{white-space:normal}
.otm-class-attach{display:inline-flex;gap:6px;align-items:center;margin:4px 0}
.otm-class-hw{border-left:4px solid var(--otm-primary)}
.otm-class-hw.is-late{border-left-color:var(--otm-danger)}
.otm-class-hw.is-submitted{border-left-color:var(--otm-accent)}
.otm-class-hw.is-returned{border-left-color:var(--otm-success)}
.otm-class-state{font-size:13px;font-weight:600;color:var(--otm-muted)}
.otm-class-hw.is-late .otm-class-state{color:var(--otm-danger-text)}
.otm-class-sub{background:var(--otm-surface);border-radius:var(--otm-r-card);padding:10px 12px;margin:8px 0}
.otm-class-fb{background:#fff;border:1px solid var(--otm-line);border-radius:var(--otm-r-card);padding:8px 12px;margin-top:8px}
.otm-board-view{width:100%;height:auto;background:#fff;border:1px solid var(--otm-line);border-radius:var(--otm-r-card)}

/* v1.6: digital products button and tutor products */
.otm .otm-btn-shop{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:var(--otm-r-btn);background:var(--otm-accent);color:var(--otm-ink);font-weight:700;text-decoration:none;white-space:nowrap;border:2px solid var(--otm-accent)}
.otm .otm-btn-shop:hover{filter:brightness(.94);color:var(--otm-ink)}
.otm .otm-btn-shop .otm-icon{stroke:var(--otm-ink)}
.otm-hero-shop-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid rgba(255,255,255,.25);color:#fff}
.otm-hero-shop-row .otm-btn-shop{padding:12px 20px;font-size:17px}
@media (max-width:860px){.otm-header .otm-shop-btn span{display:none}.otm-header .otm-shop-btn{padding:8px}}
.otm-sold-by{margin:4px 0 12px;font-size:15px}
.otm-pfiles{border:1px solid var(--otm-line);border-radius:var(--otm-r-card);padding:12px 14px;margin:0 0 14px}
.otm-pfiles legend{font-weight:700;padding:0 6px}
.otm-pfile-list .otm-error{color:var(--otm-danger-text)}

/* v1.7: offers, projects */
.otm-pkg-contact .otm-btn:not(#otm-x)+.otm-btn:not(#otm-x){margin-top:8px}
.otm-timeline{list-style:none;margin:0 0 24px;padding:0;border-left:2px solid var(--otm-line)}
.otm-timeline .otm-ev{margin:0 0 16px;padding:0 0 0 16px;position:relative}
.otm-timeline .otm-ev:before{content:'';position:absolute;left:-7px;top:6px;width:12px;height:12px;border-radius:50%;background:var(--otm-line)}
.otm-timeline .otm-ev-delivery:before,.otm-timeline .otm-ev-completed:before{background:var(--otm-primary)}
.otm-timeline .otm-ev-dispute:before,.otm-timeline .otm-ev-refunded:before{background:#b32d2e}
.otm-prewrap{white-space:pre-wrap}
.otm-offer form{margin:8px 0 0}
.otm-dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:0 0 16px}
.otm-dl dt{font-size:.85em;color:var(--otm-muted,#666)}
.otm-dl dd{margin:2px 0 0}
