/* Effortless Math tutor profile + tutor dashboard v1.0.0 — scoped to .emtp / .emtd2 */
.emtp,.emtd2{--ink:#15233d;--muted:#5b6678;--line:#e6e1d8;--green:#0f8a4f;--green2:#e3f5ea;--orange:#f26b1d;--cream:#fbf6ee;--blue:#2f6fde;--yellow:#fff9e8;
  color:var(--ink);font-family:Roboto,-apple-system,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.55}
.emtp *,.emtd2 *{box-sizing:border-box}
.emtp h1,.emtp h2,.emtp h3,.emtd2 h2,.emtd2 h3{color:var(--ink);margin:0;letter-spacing:-.01em}
.emtp p,.emtd2 p{margin:0}
.emtp a,.emtd2 a{color:var(--green)}
.emtp-ic{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.emtp{background:linear-gradient(180deg,var(--cream) 0,var(--cream) 220px,#fff 220px);padding:22px 0 64px}
.emtp-wrap{max-width:1140px;margin:0 auto;padding:0 20px}
.emtp-crumbs{display:flex;gap:8px;font-size:14px;color:var(--muted);margin-bottom:14px}.emtp-crumbs a{color:var(--muted)}
.emtp-owner{margin:0 0 16px;padding:10px 14px;border-radius:12px;background:#e8f0ff;border:1px solid #c9dafc;font-size:14.5px}
.emtp-owner a{font-weight:700;margin-left:6px}
.emtp-grid{display:grid;grid-template-columns:340px minmax(0,1fr);gap:28px;align-items:start}
.emtp-side{position:sticky;top:84px;display:grid;gap:14px}
.emtp-card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 8px 28px rgba(21,35,61,.07)}
.emtp-id{padding:22px;text-align:center}
.emtp-photo{width:168px;height:168px;margin:0 auto 14px;border-radius:30px;overflow:hidden;background:var(--green2);display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 6px #fff,0 0 0 8px var(--green2)}
.emtp-photo img{width:100%;height:100%;object-fit:cover}.emtp-photo span{font-size:58px;font-weight:800;color:var(--green)}
.emtp-id h1{font-size:26px;font-weight:800}
.emtp-hl{margin:6px 0 12px!important;font-weight:600;color:#33405a}
.emtp-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-bottom:14px}
.emtp-b{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;font-size:12.5px;font-weight:700}
.emtp-b .emtp-ic{width:14px;height:14px;stroke-width:2.6}
.emtp-b.ok{background:#f1f5f9;color:#33405a}.emtp-b.ver{background:var(--green2);color:var(--green)}.emtp-b.ind{background:#fff6db;color:#8a5a00}
.emtp-rate{display:flex;flex-direction:column;align-items:center;padding:12px;border-radius:14px;background:var(--cream);margin-bottom:14px!important}
.emtp-rate span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:700}
.emtp-rate b{font-size:26px;font-weight:800}.emtp-rate small{font-size:12.5px;color:var(--muted)}
.emtp-facts{list-style:none!important;margin:0 0 16px!important;padding:0!important;text-align:left;display:grid;gap:8px}
.emtp-facts li{display:flex;gap:10px;align-items:flex-start;margin:0!important;font-size:14.5px}
.emtp-facts .emtp-ic{color:var(--green);margin-top:2px}.emtp-facts small{color:var(--muted)}
.emtp-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;padding:12px 18px;border-radius:12px;border:2px solid var(--orange);background:var(--orange);color:#fff!important;font-weight:800;text-decoration:none!important;cursor:pointer;transition:background .15s,transform .15s}
.emtp-btn:hover{background:#d95712;border-color:#d95712;transform:translateY(-1px)}
.emtp-btn.ghost{background:#fff;color:var(--ink)!important;border-color:var(--line)}
.emtp-mini{margin-top:10px!important;font-size:13px;color:var(--muted)}
.emtp-warn{padding:16px 18px;background:var(--yellow);border:2px solid #f2b318;font-size:14px;color:#33405a;display:grid;gap:8px}
.emtp-warn b{color:var(--ink)}
.emtp-main{display:grid;gap:18px;min-width:0}
.emtp-sec{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px 26px}
.emtp-sec h2{display:flex;align-items:center;gap:8px;font-size:22px;font-weight:800;margin-bottom:12px}
.emtp-note{font-size:13.5px;color:var(--muted)}
.emtp-ver{background:linear-gradient(135deg,#f3faf5,#fff);border-color:#b9e3c8}
.emtp-ver h2 .emtp-ic{color:var(--green);width:24px;height:24px}
.emtp-vgrid{list-style:none!important;margin:12px 0 0!important;padding:0!important;display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}
.emtp-vgrid li{margin:0!important;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid #b9e3c8;display:flex;flex-direction:column}
.emtp-vgrid b{font-size:15.5px}.emtp-vgrid span{font-size:13px;color:var(--green);font-weight:700}
.emtp-bio{color:#2b3850;max-height:none}
.emtp-bio p{margin:0 0 10px!important}
.emtp-bio.clamp{max-height:240px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}
.emtp-more,.emtp-link{border:0;background:none;padding:0;color:var(--green);font-weight:700;cursor:pointer;font-size:15px}
.emtp-rows{padding:8px 26px}
.emtp-row{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;padding:18px 0;border-bottom:1px solid var(--line)}
.emtp-row:last-child{border-bottom:0}
.emtp-row h3{font-size:15px;font-weight:800;color:var(--muted)}
.emtp-row>div{display:flex;flex-direction:column;gap:6px}
.emtp-pre{white-space:pre-line}
.emtp-tags{display:flex;flex-wrap:wrap;gap:6px}
.emtp-tags span{padding:4px 11px;border-radius:999px;background:#f3f1ec;font-size:13.5px;font-weight:600}
.emtp-list{margin:0!important;padding-left:18px!important}.emtp-list li{margin:0 0 6px!important}
.emtp-sched{border-collapse:collapse;width:auto;margin:0}
.emtp-sched th,.emtp-sched td{padding:5px 18px 5px 0;border:0;text-align:left;font-size:15px}
.emtp-sched th{font-weight:800;width:56px}
.emtp-contact{border:2px solid var(--green)}
.emtp-gate{padding:16px;border-radius:14px;background:var(--cream)}
.emtp-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px!important}.emtp-actions .emtp-btn{width:auto}
.emtp-cl{list-style:none!important;margin:0!important;padding:0!important;display:grid;gap:10px}
.emtp-cl li{display:grid;grid-template-columns:22px 90px 1fr;align-items:center;gap:10px;margin:0!important;padding:10px 12px;border-radius:12px;background:#f8fafc}
.emtp-cl .emtp-ic{color:var(--green)}.emtp-cl span{font-weight:700;color:var(--muted);font-size:14px}
.emtp-reveal{justify-self:start;border:1.5px solid var(--line);background:#fff;border-radius:10px;padding:6px 12px;font-weight:700;cursor:pointer}
.emtp-tips{margin-top:14px;padding:12px 14px;border-radius:12px;background:var(--yellow);border:1px solid #f3d27a;font-size:14px}
.emtp-report{display:flex;align-items:center;gap:6px;margin-top:14px!important;font-size:14px}.emtp-report .emtp-ic{width:16px;height:16px;color:var(--muted)}
.emtp-simgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin-bottom:12px}
.emtp-simcard{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px;text-decoration:none!important;color:var(--ink)!important;transition:box-shadow .15s,transform .15s}
.emtp-simcard:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(21,35,61,.1)}
.emtp-simph{flex:none;width:56px;height:56px;border-radius:16px;overflow:hidden;background:var(--green2);display:flex;align-items:center;justify-content:center;font-weight:800;color:var(--green)}
.emtp-simph img{width:100%;height:100%;object-fit:cover}
.emtp-simcard b{display:block}.emtp-simcard em{display:block;font-style:normal;font-size:13px;color:#33405a}.emtp-simcard small{color:var(--muted)}
.emtp a:focus-visible,.emtp button:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
@media(max-width:900px){.emtp-grid{grid-template-columns:1fr}.emtp-side{position:static}.emtp-row{grid-template-columns:1fr;gap:6px}.emtp-sec{padding:18px}.emtp-rows{padding:4px 18px}}
@media(max-width:480px){.emtp-cl li{grid-template-columns:22px 1fr}.emtp-cl li>:last-child{grid-column:1/-1}}

/* ---------- Tutor dashboard (My Account) ---------- */
.emtd2{display:grid;gap:18px}
.emtd2-status{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:18px 20px;border-radius:18px;background:var(--cream);border:1px solid var(--line)}
.emtd2-status h2{font-size:22px;font-weight:800}
.emtd2-pill{display:inline-block;padding:4px 12px;border-radius:999px;font-weight:800;font-size:13px}
.emtd2-pill.live{background:var(--green2);color:var(--green)}.emtd2-pill.pend{background:#fff6db;color:#8a5a00}.emtd2-pill.hid{background:#f1f5f9;color:#33405a}
.emtd2-actions{display:flex;flex-wrap:wrap;gap:8px}
.emtd2-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:11px;border:2px solid var(--orange);background:var(--orange);color:#fff!important;font-weight:800;text-decoration:none!important;cursor:pointer;font-size:15px}
.emtd2-btn.ghost{background:#fff;color:var(--ink)!important;border-color:var(--line)}
.emtd2-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.emtd2-stat{padding:16px;border-radius:16px;background:#fff;border:1px solid var(--line)}
.emtd2-stat b{display:block;font-size:28px;font-weight:800;line-height:1.1}.emtd2-stat span{font-size:13.5px;color:var(--muted)}
.emtd2-card{padding:20px 22px;border-radius:18px;background:#fff;border:1px solid var(--line)}
.emtd2-pp{background:#f3faf5;border-color:#b9e3c8}
.emtd2-card h3{font-size:19px;font-weight:800;margin-bottom:6px}
.emtd2-bar{height:10px;border-radius:99px;background:#eef2f6;overflow:hidden;margin:10px 0 12px}.emtd2-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--green),#5cc78b)}
.emtd2-check{list-style:none!important;margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:6px 18px}
.emtd2-check li{margin:0!important;display:flex;gap:8px;align-items:flex-start;font-size:14.5px}
.emtd2-check li::before{content:"";flex:none;width:18px;height:18px;margin-top:2px;border-radius:50%;border:2px solid #cbd5e1}
.emtd2-check li.done{color:var(--muted)}.emtd2-check li.done::before{border-color:var(--green);background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") center/14px no-repeat}
.emtd2-tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--line);margin-bottom:16px}
.emtd2-tabs button{border:0;background:none;padding:10px 12px;font-weight:700;color:var(--muted);border-bottom:3px solid transparent;cursor:pointer;font-size:15px}
.emtd2-tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--orange)}
.emtd2-panel[hidden]{display:none}
.emtd2 label{display:block;margin:0 0 12px;font-weight:700;font-size:14.5px}
.emtd2 input[type=text],.emtd2 input[type=url],.emtd2 input[type=tel],.emtd2 input[type=number],.emtd2 input[type=time],.emtd2 select,.emtd2 textarea{display:block;width:100%;margin-top:5px;padding:10px 12px;border:1.5px solid #cbd5e1;border-radius:10px;font:inherit;font-weight:400;background:#fff}
.emtd2 textarea{min-height:110px}
.emtd2-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.emtd2-help{font-size:13.5px;color:var(--muted);font-weight:400;margin:-6px 0 12px!important}
.emtd2-chk{display:flex!important;gap:8px;align-items:flex-start;font-weight:400!important;margin:0 0 6px!important}
.emtd2-checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:2px 14px;margin-bottom:10px}
.emtd2-grp{border:1px solid var(--line);border-radius:12px;margin:0 0 8px}.emtd2-grp summary{padding:10px 14px;font-weight:800;cursor:pointer}.emtd2-grp .emtd2-checks{padding:2px 14px 8px}
.emtd2-week{display:grid;gap:8px;margin-bottom:12px}
.emtd2-day{display:grid;grid-template-columns:140px 1fr 1fr;gap:10px;align-items:center}
.emtd2-day input[type=time]{margin:0}
.emtd2-review{padding:10px 14px;border-radius:12px;background:#fff6db;border:1px solid #f2d27a;font-size:14px;margin-bottom:12px!important}
.emtd2-ver{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.emtd2-ver span{padding:4px 10px;border-radius:999px;background:var(--green2);color:var(--green);font-weight:700;font-size:13px}
@media(max-width:760px){.emtd2-stats{grid-template-columns:1fr 1fr}.emtd2-2{grid-template-columns:1fr}.emtd2-day{grid-template-columns:1fr 1fr}.emtd2-day>label:first-child{grid-column:1/-1}}


/* Subject descriptions (v1.1.0) */
.emtp-subj .emtp-note{margin:-4px 0 14px}
.emtp-sd{border:1px solid var(--line);border-radius:14px;margin:0 0 10px;background:#fff;overflow:hidden}
.emtp-sd summary{display:flex;align-items:center;gap:10px;padding:14px 18px;cursor:pointer;font-weight:800;font-size:17px;list-style:none}
.emtp-sd summary::-webkit-details-marker{display:none}
.emtp-sd summary::after{content:"+";margin-left:auto;font-size:22px;font-weight:400;color:var(--muted)}
.emtp-sd[open] summary::after{content:"–"}
.emtp-sd[open] summary{border-bottom:1px solid var(--line);background:var(--cream)}
.emtp-sd-body{padding:6px 18px 4px;line-height:1.65;color:#2c3a52}
.emtp-sd-body p{margin:10px 0}
.em-tsd{margin:18px 0;padding:16px;border:1px solid #d7e2ee;border-radius:14px;background:#f8fbff}
.em-tsd-intro{margin:0 0 12px;line-height:1.55}
.em-tsd-limit{margin:0 0 12px;padding:10px 12px;border-radius:10px;background:#fff1f0;color:#8a1f17;font-weight:600}
.em-tsd-item{margin:0 0 14px}
.em-tsd-item label{display:block;font-weight:700}
.em-tsd-name{display:block;margin:0 0 6px;font-size:16px;color:#15233d}
.em-tsd-item textarea{width:100%;box-sizing:border-box;padding:10px 12px;border:1.5px solid #cfd6e0;border-radius:10px;font:inherit;font-weight:400;line-height:1.5}
.em-tsd-count{margin:4px 0 0;font-size:13px;color:#5b6678}
.em-tsd-count.ok{color:#0f8a4f}.em-tsd-count.low{color:#b44a0e}

/* Hourly rate input (v1.1.1) */
.em-rate-in{display:flex;align-items:center;gap:8px;margin-top:6px;font-weight:600}
.em-rate-in>span:first-child{font-size:18px;font-weight:800;color:#15233d}
.em-rate-in input{width:120px!important;margin:0!important}
.em-rate-in>span:last-child{font-weight:400;color:#5b6678;font-size:14px}
