*{box-sizing:border-box}
body{margin:0;background:#f3f6f7;color:#153047;font-family:system-ui,-apple-system,'Segoe UI',"Nirmala UI",sans-serif;line-height:1.55}
/* Exact canonical Akash Udyog login page header */
header{background:linear-gradient(180deg,#102c42 0%,#0d2437 100%);border-bottom:1px solid rgba(255,255,255,.08);color:#fff;padding:13px max(20px,calc((100vw - 1160px)/2));min-height:72px;box-shadow:0 2px 10px rgba(10,28,44,.16);display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{color:#fff;text-decoration:none;display:flex;align-items:center;gap:12px;font-weight:750;font-size:20px;line-height:1.15;flex-shrink:0}
.brand-logo{width:44px;height:44px;border-radius:10px;object-fit:contain;flex-shrink:0;box-shadow:0 2px 6px rgba(0,0,0,.22)}
.brand small{display:block;letter-spacing:1.8px;font-size:9.5px;color:#9ec0cf;margin-top:3px;font-weight:600}
.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.header-actions select{height:36px;padding:0 10px;background:#1d3f55;border:1px solid #4d6f84;border-radius:8px;color:#fff;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.header-actions select option{color:#153047;background:#fff}
.header-back-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 13px;border:1px solid #4d6f84;border-radius:8px;background:#1d3f55;color:#f1f5f9;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.header-back-btn::before{content:'\2190';font-size:15px;line-height:1}
.header-back-btn:hover,.header-actions select:hover{background:#27506a;border-color:#7ca0b5;color:#fff}

main{max-width:1200px;margin:auto;padding:20px 20px 32px}

/* Hero & Quick Presets */
.hero-card{background:linear-gradient(135deg,#ffffff 0%,#f0fdfa 100%);border:1px solid #cce3e6;border-radius:16px;padding:18px 20px;margin-bottom:16px;box-shadow:0 4px 16px rgba(15,41,66,.05)}
.eyebrow{display:inline-block;font-size:11px;letter-spacing:1.6px;font-weight:800;color:#0f766e;background:#ccfbf1;padding:3px 9px;border-radius:999px}
.hero-card h1{font-size:25px;line-height:1.25;margin:8px 0 4px;color:#0f2942}
.hero-card p{margin:0;font-size:14px;color:#475569}
.preset-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:13px;padding-top:12px;border-top:1px solid #d7eaec}
.preset-label{font-size:12px;font-weight:700;color:#475569;margin-right:2px}
.preset-chip{margin:0;padding:7px 12px;border-radius:999px;border:1px solid #b6d8dc;background:#fff;color:#0f2942;font-size:12.5px;font-weight:700;cursor:pointer;transition:all .12s ease}
.preset-chip:hover{border-color:#0f766e;background:#f0fdfa;color:#0f766e}
.preset-chip.active{background:#0f766e;border-color:#0f766e;color:#fff;box-shadow:0 3px 10px rgba(15,118,110,.22)}

/* Responsive Two-Column Workspace */
.workspace-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:16px;align-items:start}
.col-right{position:sticky;top:16px}
.card{background:#fff;border:1px solid #d4e3e8;border-radius:15px;padding:18px;margin:0 0 16px;box-shadow:0 4px 14px rgba(15,41,66,.04)}
.col-right .card{margin-bottom:0}
h2{font-size:17px;font-weight:800;margin:0;color:#0f2942}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.status-pill{font-size:11.5px;font-weight:700;color:#0f766e;background:#ecfdf5;border:1px solid #a7f3d0;padding:3px 10px;border-radius:999px}

/* Compact 2-column Toggle Choice Cards */
.choices-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.choice{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1.5px solid #dce8ec;border-radius:11px;cursor:pointer;background:#f8fafc;transition:border-color .12s,background .12s}
.choice:hover{border-color:#7dd3c8;background:#f4fbfa}
.choice:has(input:checked){border-color:#0f766e;background:#f0fdfa}
.choice input{width:17px;height:17px;flex:0 0 17px;margin:3px 0 0;accent-color:#0f766e;cursor:pointer}
.choice strong{display:block;font-size:13.5px;color:#0f2942;line-height:1.25}
.choice small{display:block;color:#5b7382;font-size:11.8px;margin-top:2px;line-height:1.35}

.quick-links-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.inline-pill-link{display:inline-flex;align-items:center;gap:5px;padding:6px 11px;border-radius:8px;background:#f1f5f9;border:1px solid #cbd5e1;color:#0f766e;font-size:12.5px;font-weight:700;text-decoration:none}
.inline-pill-link:hover{background:#e2f6f3;border-color:#5eead4}

/* Video Picker & Ready Card */
#video-picker{margin:12px 0 0;padding:12px 13px;border:1px solid #cce3e6;border-radius:11px;background:#f5faf9}
.video-picker-row label{display:block;font-size:12.5px;font-weight:700;color:#334155;margin-bottom:5px}
#video-picker select,#video-picker input{width:100%;min-width:0;font:inherit;font-size:13.5px;padding:9px 11px;border:1px solid #bdd3da;border-radius:9px;background:#fff;color:#0f2942}
#custom-video-choice{display:block;margin-top:8px}
#custom-video-choice span{display:block;font-size:12px;font-weight:700;margin-bottom:4px}
#video-hint{display:block;color:#5c7482;font-size:12px;margin-top:6px}

.mini-preview-toggle{font-size:12.5px}
.mini-preview-toggle summary{cursor:pointer;font-weight:700;color:#0f766e;list-style:none}
.mini-preview-toggle[open]{width:100%;margin-top:8px}
.mini-preview-toggle video{width:100%;max-height:360px;background:#0f2942;border-radius:10px;margin-top:8px}

#ready-preview{display:flex;align-items:flex-start;gap:14px;margin:4px 0 10px}
#ready-preview video{width:128px;min-width:128px;height:218px;object-fit:contain;margin:0;border:1px solid #d4e3e8;border-radius:11px;background:#0f2942}
.ready-meta{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
#selected-video-name{margin:0;font-size:14px;font-weight:800;color:#0f2942;overflow-wrap:anywhere}
#status{margin:0;font-size:13px;font-weight:600;color:#475569;overflow-wrap:anywhere}
progress{display:block;width:100%;height:10px;border-radius:999px;accent-color:#0f766e}
.video-btn-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.help-box{margin:8px 0 0;padding:10px 12px;background:#f0fdfa;border:1px solid #99f6e4;border-radius:9px;font-size:12.5px;color:#115e59}
.manual-disclosure{margin-top:12px;padding-top:10px;border-top:1px solid #e2edf0;font-size:13px}
.manual-disclosure summary{cursor:pointer;font-weight:700;color:#475569}
.manual-disclosure ol{margin:8px 0 0;padding-left:20px;color:#475569}
.manual-disclosure li{margin-bottom:5px}

/* Right Column: WhatsApp Message Editor Card */
.message-card{border-color:#b7dfd6;background:linear-gradient(180deg,#f7fdfb 0%,#ffffff 120px)}
.wa-card-banner .section-heading{margin-bottom:4px}
.wa-sub{margin:0 0 10px;font-size:12.5px;color:#5c7482}
.msg-head-tools{display:flex;align-items:center;gap:10px}
.char-pill{font-size:11.5px;font-weight:700;color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;padding:2px 8px;border-radius:999px}
textarea{display:block;width:100%;padding:13px 14px;border:1.5px solid #bed7d4;border-radius:11px;background:#fff;color:#0f172a;font:inherit;font-size:14px;line-height:1.55;resize:vertical;min-height:240px}
textarea:focus{border-color:#0f766e;outline:none;box-shadow:0 0 0 3px rgba(15,118,110,.14)}

button,.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:10px;background:#0f766e;color:#fff;font:inherit;font-size:13.5px;font-weight:700;padding:10px 15px;cursor:pointer;text-align:center;text-decoration:none;max-width:100%;transition:filter .12s,transform .12s}
button:hover,.button:hover{filter:brightness(1.06)}
button:disabled{opacity:.55;cursor:wait}
.secondary{background:#e7eff2;color:#173b4e}
.secondary:hover{background:#dbe7ec;filter:none}
.text-button{padding:4px 8px;background:none;color:#0f766e;font-size:12.5px;font-weight:700;white-space:nowrap}
.text-button:hover{background:#ecfdf5;filter:none}

.primary-share-actions{display:grid;grid-template-columns:1.35fr 1fr;gap:9px;margin-top:12px}
.wa-send-btn{background:linear-gradient(135deg,#15803d 0%,#16a34a 100%);color:#fff;font-size:14.5px;padding:12px 16px;box-shadow:0 6px 16px rgba(21,128,61,.24)}
.copy-btn{font-size:14px;padding:12px 14px}
.secondary-msg-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:8px}
.undo-btn{font-size:12.5px;padding:7px 12px}
.copy-toast{margin:0;font-size:12.5px;font-weight:700;color:#15803d}
#message-status{margin:6px 0 0;font-size:12px;color:#0f766e;font-weight:600}
#message-fallback{margin-top:10px;padding-top:10px;border-top:1px dashed #d4e3e8;font-size:12.5px}
#message-fallback summary{cursor:pointer;font-weight:700;color:#475569}

.muted{color:#5c7482;font-size:12.5px}
footer{text-align:center;margin:20px 0 6px;font-size:12.5px;color:#64748b}
a{color:#0f766e}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
button:focus-visible,a:focus-visible,textarea:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #efad34;outline-offset:2px}

@media(max-width:900px){
 .workspace-grid{grid-template-columns:1fr}
 .col-right{position:static}
}
@media(max-width:640px){
 header{min-height:0;padding:10px 12px;gap:8px;flex-wrap:wrap}
 .brand{font-size:17px}
 .brand-logo{width:38px;height:38px}
 .brand small{font-size:8px;letter-spacing:1px}
 .header-actions{margin-left:auto;gap:8px}
 .header-actions select,.header-back-btn{height:32px;min-height:32px;font-size:12px;padding:0 10px}
 main{padding:14px 12px 24px}
 .hero-card{padding:14px}
 .hero-card h1{font-size:21px}
 .card{padding:14px}
 .choices-grid{grid-template-columns:1fr}
 .primary-share-actions{grid-template-columns:1fr}
 #ready-preview{flex-direction:column;align-items:stretch}
 #ready-preview video{width:100%;height:220px}
}
