/* ClipFlow V9.6 — one task per screen: dashboard, creation, review, saved Library. */
.cf96-dashboard-top,.cf96-new-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px;padding:28px 31px;border:1px solid #3b3661;border-radius:21px;background:linear-gradient(112deg,rgba(92,69,179,.27),rgba(17,32,57,.62) 65%,rgba(13,22,39,.85));position:relative;overflow:hidden}
.cf96-dashboard-top:after{content:"";position:absolute;inset:auto -45px -165px auto;width:280px;height:280px;background:radial-gradient(circle,rgba(120,105,244,.15),transparent 67%);pointer-events:none}
.cf96-dashboard-top>*,.cf96-new-head>*{position:relative;z-index:1}
.cf96-dashboard-top h1,.cf96-new-head h1{font-size:clamp(28px,4vw,40px);letter-spacing:-1.5px;line-height:1.13;margin:9px 0 10px}
.cf96-dashboard-top p,.cf96-new-head p{color:#b8c3dd;line-height:1.55;font-size:14px;margin:0;max-width:510px}
.cf96-dashboard-top .btn{min-height:53px;font-size:13px;flex:none}
.cf96-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}
.cf96-metric,.cf96-dash-panel{background:linear-gradient(154deg,#161f34,#101726 80%);border:1px solid #2c3955;border-radius:16px;min-width:0}
.cf96-metric{padding:19px 20px;transition:transform .2s ease,border-color .2s ease}
.cf96-metric:hover{transform:translateY(-2px);border-color:#594d9d}
.cf96-metric span,.cf96-metric small{display:block;color:#abb9d2;font-size:12px}
.cf96-metric strong{display:block;font:800 clamp(28px,3vw,38px)/1.35 system-ui,sans-serif;letter-spacing:-1.3px;color:#f6f4ff;margin:4px 0}
.cf96-metric small{font-size:11px;color:#8393b2}
.cf96-dashboard-columns{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(265px,.85fr);gap:16px;margin:0 0 29px}
.cf96-dash-panel{padding:23px 24px}
.cf96-panel-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}
.cf96-panel-header h2{font-size:clamp(19px,2.2vw,23px);margin:6px 0 0;letter-spacing:-.65px}
.cf96-panel-header a{color:#d0bfff;font-size:12px;font-weight:700}
.cf96-credit{margin-top:18px}.cf96-credit>div,.cf96-usage-track>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;margin-bottom:9px}
.cf96-credit strong,.cf96-usage-track strong{font-weight:750;color:#eef0ff}.cf96-credit span,.cf96-usage-track span{color:#c7b5ff;font-weight:750}
.cf96-credit progress,.cf96-usage-track progress{appearance:none;display:block;height:9px;width:100%;border-radius:100px;border:0;overflow:hidden;background:#303c54}
.cf96-credit progress::-webkit-progress-bar,.cf96-usage-track progress::-webkit-progress-bar{background:#303c54;border-radius:100px}
.cf96-credit progress::-webkit-progress-value,.cf96-usage-track progress::-webkit-progress-value{background:linear-gradient(95deg,#8773ff,#69d8d0);border-radius:100px}
.cf96-credit progress::-moz-progress-bar,.cf96-usage-track progress::-moz-progress-bar{background:linear-gradient(95deg,#8773ff,#69d8d0)}
.cf96-credit-inline{border-top:1px solid #303c54;padding-top:17px;display:flex;justify-content:space-between;gap:12px;align-items:center}
.cf96-dash-panel>small{display:block;margin:15px 0 0;color:#8999b5;font-size:11px}
.cf96-next-panel{display:flex;align-items:flex-start;flex-direction:column;justify-content:center;gap:12px}
.cf96-next-panel h2{font-size:26px;letter-spacing:-1px;margin:0}
.cf96-next-panel p{font-size:13px;line-height:1.7;color:#abb8cf;margin:0 0 7px}
.cf96-next-panel .btn{width:100%;justify-content:center;font-size:13px}
.cf96-recent{margin-top:7px}.cf96-recent .project-list{overflow:hidden}.cf96-recent .project-row{padding:14px 18px}
.cf96-new-head{margin-bottom:19px}.cf96-new-head .cf96-back{display:block;font-size:12px;color:#b7a7ef;margin-bottom:10px}
.cf96-plan-pill{font-size:12px;font-weight:750;color:#e8dbff;white-space:nowrap;border:1px solid #50457d;background:#292443;border-radius:20px;padding:10px 15px}
.cf96-step-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:4px 0 19px;font-size:12px;color:#bac6dd}
.cf96-step-row span{display:flex;align-items:center;gap:9px;padding:8px 12px;border-radius:10px;background:#22283d}
.cf96-step-row b{display:grid;place-items:center;width:22px;height:22px;border-radius:8px;background:#594890;color:#f3efff}
.cf96-caption-controls{border:1px solid #49406d;background:linear-gradient(140deg,#1d2039,#161e31);border-radius:15px;padding:19px 20px;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(145px,.7fr);gap:12px 24px}
.cf96-caption-header{grid-column:1/-1;display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.cf96-caption-header strong{font-size:17px;color:#f2edff}.cf96-caption-header small{font-size:12px;color:#aebad4}
.cf96-caption-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px}
.cf96-caption-grid .field{min-width:0}.cf96-caption-grid select{width:100%;font-size:13px;min-width:0}
.cf96-caption-example{display:flex;align-items:center;justify-content:center;gap:9px;flex-direction:column;grid-row:2/span 1;grid-column:2}
.cf96-mini-video{height:142px;width:93px;max-width:100%;border:1px solid #6872ac;border-radius:12px;background:linear-gradient(155deg,#34496b,#1d263f 52%,#151b32);position:relative;display:flex;align-items:flex-end;justify-content:center;padding:9px 6px 20px;box-shadow:0 12px 30px #02051345;transition:all .2s}
.cf96-mini-video span{font-weight:850;text-align:center;line-height:1.25;font-size:9px;color:#fff;text-shadow:1px 1px 3px #000,0 0 2px #000;transition:font-size .2s,transform .2s}
.cf96-caption-example small{font-size:10px;line-height:1.3;color:#9cabc6;text-align:center;max-width:160px}
.cf96-keep-strip,.cf96-review-banner{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:16px 0 21px;padding:19px 22px;background:linear-gradient(120deg,#222647,#131e35);border:1px solid #4c4f90;border-radius:16px}
.cf96-review-banner{padding:23px}.cf96-keep-strip h2,.cf96-review-banner h2{font-size:22px;margin:6px 0 7px;letter-spacing:-.7px}
.cf96-keep-strip strong{color:#e7dcff;font-size:15px}.cf96-keep-strip p,.cf96-review-banner p{color:#b5c1dc;font-size:12px;line-height:1.7;margin:5px 0 0;max-width:780px}
.cf96-review-banner .btn,.cf96-keep-strip .btn{flex:none;font-size:12px}.cf96-clip-state{font-size:11px;color:#d5c5ff;font-weight:800;margin:-3px 0 11px}
.cf96-saved-check{color:#6be0b9;font-weight:800;font-size:12px;padding:11px 2px}.clip-actions form{display:flex;min-width:0}.clip-actions form .btn{white-space:normal;min-height:41px}
.cf96-unsave-form{padding-top:10px;margin-top:9px;border-top:1px solid #2f3a51}.cf96-unsave-form button{width:100%;min-height:38px}
.cf96-usage-section{grid-column:1/-1}.cf96-usage-section .cf96-panel-header{margin-bottom:10px}
.cf96-usage-track{margin:19px 0 21px}.cf96-usage-track small{display:block;color:#8393b2;margin-top:7px;font-size:11px}
.cf96-plan-extra{display:flex;gap:12px;flex-wrap:wrap;margin-top:19px}.cf96-plan-extra>span{border:1px solid #3b4665;background:#172034;padding:11px 13px;border-radius:10px;color:#b2bfda;font-size:12px}
.cf96-plan-extra strong{color:#eceeff}
@media(max-width:1180px){.cf96-dashboard-columns{grid-template-columns:1fr 1fr}.cf96-caption-controls{grid-template-columns:1fr}.cf96-caption-example{grid-column:1;grid-row:auto}.cf96-caption-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cf96-caption-example .cf96-mini-video{width:88px}}
@media(max-width:800px){.cf96-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cf96-dashboard-columns{grid-template-columns:1fr}.cf96-dashboard-top,.cf96-new-head,.cf96-review-banner,.cf96-keep-strip{flex-direction:column;align-items:stretch}.cf96-dashboard-top .btn,.cf96-new-head .btn,.cf96-review-banner .btn{width:100%}.cf96-plan-pill{white-space:normal}.cf96-dashboard-top{padding:24px}.cf96-caption-grid{grid-template-columns:1fr}.cf96-caption-controls{padding:16px}.cf96-caption-header{display:block}.cf96-caption-header small{display:block;margin-top:7px}.cf96-review-banner{padding:17px}}
@media(max-width:480px){.cf96-metrics{gap:10px}.cf96-metric{padding:14px}.cf96-metric strong{font-size:28px}.cf96-dashboard-top,.cf96-new-head{padding:20px}.cf96-dash-panel{padding:19px}.cf96-panel-header{flex-wrap:wrap}.cf96-step-row{gap:6px}.cf96-step-row span{padding:8px;font-size:11px}.cf96-dashboard-top h1{font-size:28px}}
@media(prefers-reduced-motion:reduce){.cf96-metric,.cf96-mini-video,.cf96-mini-video span{transition:none!important}}
