:root{--bg:#f7faf8;--surface:#fff;--text:#17231d;--muted:#75827a;--line:#e6ece8;--green:#16834c;--green-dark:#11683c;--green-soft:#eaf6ee;--shadow:0 12px 34px rgba(25,65,43,.06)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px}.app-shell{min-height:100vh;display:flex}.sidebar{width:248px;background:#fff;border-right:1px solid var(--line);padding:27px 18px 20px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--text);padding:0 8px 38px}.brand-mark{width:39px;height:39px;border-radius:12px;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:800;font-size:13px;letter-spacing:-.5px}.brand strong,.brand small{display:block}.brand strong{font-size:14px;letter-spacing:.1px}.brand small{font-size:11px;color:var(--muted);margin-top:3px}.nav-label{font-size:10px;font-weight:800;letter-spacing:1.2px;color:#9aa69e;padding:0 10px 12px}.nav{display:grid;gap:5px}.nav-item{height:42px;display:flex;align-items:center;gap:12px;padding:0 11px;border-radius:9px;text-decoration:none;color:#65736a;font-weight:600;font-size:12px}.nav-item.active{background:var(--green-soft);color:var(--green-dark)}.nav-icon{font-size:18px;width:18px;text-align:center}.nav-item.disabled{opacity:.55;cursor:default}.nav-item em{font-style:normal;font-size:9px;margin-left:auto;color:#89958d;background:#f1f4f2;padding:4px 6px;border-radius:5px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:18px 5px 0;display:flex;align-items:center;gap:9px;font-size:11px}.sidebar-bottom strong,.sidebar-bottom small{display:block}.sidebar-bottom small{color:var(--muted);margin-top:3px}.status-dot{width:8px;height:8px;background:#20a45e;border-radius:50%;box-shadow:0 0 0 4px #eaf6ee}.version{margin-left:auto;color:#a0aaa3;font-size:10px}.main{min-width:0;flex:1}.topbar{height:70px;background:rgba(255,255,255,.8);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px}.breadcrumb{font-size:12px;color:#6d7a71;font-weight:600}.breadcrumb span{padding:0 9px;color:#bdc6bf}.top-actions{display:flex;align-items:center;gap:17px}.secure-label{font-size:11px;color:#75827a}.avatar{width:32px;height:32px;border-radius:50%;background:#e6f3ea;color:var(--green-dark);display:grid;place-items:center;font-weight:800}.menu-button{display:none;border:0;background:transparent;font-size:20px}.content{max-width:1200px;margin:0 auto;padding:42px 42px 24px}.welcome-row{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:800;color:var(--green);margin:0 0 10px}.welcome-row h1{font-size:27px;letter-spacing:-.8px;margin:0;font-weight:750}.subheading{margin:9px 0 0;color:var(--muted);font-size:13px}.date-chip{background:#fff;border:1px solid var(--line);border-radius:8px;padding:9px 12px;color:#68766d;font-size:11px;white-space:nowrap}.date-icon{margin-right:6px;color:var(--green)}.hero-card{position:relative;overflow:hidden;background:linear-gradient(112deg,#fff 0%,#f1faf4 100%);border:1px solid #deeee3;border-radius:15px;padding:28px 30px 24px;box-shadow:var(--shadow);margin-bottom:34px}.hero-copy{position:relative;z-index:1;max-width:570px}.step-pill{font-size:9px;font-weight:800;letter-spacing:1.1px;color:var(--green);background:#e5f4e9;padding:6px 8px;border-radius:5px}.hero-copy h2{font-size:22px;letter-spacing:-.5px;margin:15px 0 7px}.hero-copy p{font-size:12px;color:var(--muted);line-height:1.6;margin:0;max-width:540px}.url-form{position:relative;z-index:1;margin-top:23px;max-width:720px}.url-form label{font-size:9px;letter-spacing:1px;font-weight:800;color:#7c8980;display:block;margin-bottom:8px}.input-row{display:flex;align-items:center;background:#fff;border:1px solid #dce7df;border-radius:9px;padding:5px 5px 5px 13px;max-width:720px;box-shadow:0 3px 10px rgba(30,80,50,.035)}.link-symbol{font-size:17px;color:#9aa69e;margin-right:9px}.input-row input{border:0;outline:0;min-width:0;flex:1;font:inherit;font-size:12px;color:var(--text);background:transparent}.input-row input::placeholder{color:#aab4ad}.primary-button{border:0;border-radius:7px;background:var(--green);color:#fff;font-weight:700;font-size:11px;padding:12px 16px;cursor:pointer;white-space:nowrap}.primary-button:hover{background:var(--green-dark)}.primary-button span{padding-left:9px}.form-hint{font-size:10px;color:#8b978f;margin:9px 0 0}.form-hint.error{color:#b54747}.form-hint.success{color:var(--green-dark)}.hero-decoration{position:absolute;width:250px;height:250px;right:4%;top:-65px;opacity:.55}.ring{position:absolute;border:1px solid #c9e7d2;border-radius:50%}.ring-one{width:220px;height:220px;top:20px;left:20px}.ring-two{width:160px;height:160px;top:50px;left:50px}.play-mark{position:absolute;top:110px;left:117px;color:#acd7b8;font-size:23px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.section-heading h2{font-size:16px;margin:0;letter-spacing:-.2px}.section-heading p{font-size:11px;color:var(--muted);margin:5px 0 0}.muted-count{font-size:9px;letter-spacing:1px;font-weight:800;color:#9aa69e}.tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.tool-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px 16px 15px;min-height:190px;box-shadow:0 4px 14px rgba(25,65,43,.025)}.tool-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;font-size:18px;margin-bottom:17px}.tool-icon.green{background:#eaf6ee;color:#16834c}.tool-icon.blue{background:#eaf2fb;color:#3977bd}.tool-icon.violet{background:#f2edfb;color:#8060b5}.tool-icon.amber{background:#fff4e4;color:#b57a25}.tool-status{position:absolute;top:19px;right:13px;font-size:8px;letter-spacing:.6px;font-weight:800;color:#8b978f}.tool-card h3{font-size:12px;margin:0 0 7px}.tool-card p{font-size:10px;line-height:1.55;color:var(--muted);margin:0;min-height:33px}.card-footer{display:flex;justify-content:space-between;border-top:1px solid #f0f3f1;padding-top:12px;margin-top:13px;font-size:9px;color:#849188}.card-footer b{font-size:13px;font-weight:400;color:#9eaaa2}.notice{display:flex;gap:12px;background:#f0f7f2;border:1px solid #e1eee5;border-radius:10px;padding:15px 17px;margin-top:22px}.notice-icon{flex-shrink:0;width:21px;height:21px;border-radius:50%;background:#dcefe2;color:var(--green-dark);display:grid;place-items:center;font-weight:800;font-size:12px}.notice strong{font-size:11px}.notice p{font-size:10px;color:#718076;line-height:1.6;margin:5px 0 0;max-width:900px}footer{font-size:10px;color:#9aa69e;padding:28px 0 4px}footer span{padding:0 6px}.menu-button{color:var(--text)}
@media(max-width:1050px){.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content{padding:32px 28px}.topbar{padding:0 28px}}
@media(max-width:700px){.sidebar{position:fixed;z-index:5;left:-260px;top:0;bottom:0;transition:left .2s;box-shadow:var(--shadow)}.sidebar.open{left:0}.menu-button{display:block}.topbar{height:60px;padding:0 17px;justify-content:flex-start;gap:13px}.top-actions{margin-left:auto}.secure-label{display:none}.content{padding:27px 17px}.welcome-row{align-items:flex-start;flex-direction:column}.welcome-row h1{font-size:23px}.date-chip{display:none}.hero-card{padding:23px 17px}.hero-decoration{right:-125px;opacity:.28}.input-row{flex-wrap:wrap;padding:9px}.input-row input{height:35px}.primary-button{width:100%;margin-top:7px}.tool-grid{grid-template-columns:1fr}.tool-card{min-height:165px}.tool-card p{min-height:0}.section-heading{margin-top:4px}.breadcrumb{font-size:11px}}

/* Stage 2 video information result */
.video-result {
  margin: 26px 0 34px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5ece7;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(25, 55, 38, .05);
}
.video-result[hidden] { display: none; }
.result-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:18px; }
.result-heading h2 { margin:0; }
.video-result-layout { display:grid; grid-template-columns:minmax(220px, 36%) 1fr; gap:22px; align-items:start; }
.video-thumbnail { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:12px; background:#edf2ee; }
.video-details h3 { margin:0 0 8px; font-size:20px; line-height:1.35; color:#20372a; }
.channel-line { margin:0 0 12px; font-weight:600; color:#42614c; }
.description { margin:0 0 12px; color:#65736a; white-space:pre-wrap; overflow-wrap:anywhere; max-height:150px; overflow:auto; line-height:1.55; }
.published-line { color:#718078; font-size:13px; }
.video-open { display:inline-block; margin-top:8px; color:#16804a; font-weight:700; text-decoration:none; }
.video-open:hover { text-decoration:underline; }
.active-status { color:#16804a; background:#e9f7ee; }
.primary-button:disabled { opacity:.7; cursor:wait; }
@media (max-width:700px) {
  .video-result { padding:18px; }
  .video-result-layout { grid-template-columns:1fr; }
}
