/* Page-specific styles extracted from PHP templates. Keep page CSS centralized here. */
/* assessment-upload.php */body.page-assessment-upload .assessment-builder{max-width:1220px}body.page-assessment-upload .builder-hero{background:linear-gradient(135deg,#1F6B2A 0%,#2C7A2C 45%,#2F9E44 100%);color:#fff;border-radius:22px;padding:28px;margin-bottom:24px;display:flex;justify-content:space-between;gap:24px;align-items:flex-start;box-shadow:0 10px 26px rgba(44,122,44,.12)}body.page-assessment-upload .builder-hero h1{color:#fff;margin-bottom:8px}body.page-assessment-upload .builder-hero p{color:rgba(255,255,255,.88);max-width:760px;line-height:1.55}body.page-assessment-upload .hero-actions{display:flex;gap:10px;flex-wrap:wrap}body.page-assessment-upload .hero-btn{display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#1F6B2A;padding:11px 15px;border-radius:12px;text-decoration:none;font-weight:900;white-space:nowrap}body.page-assessment-upload .hero-btn.secondary{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.36)}body.page-assessment-upload .mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:22px}body.page-assessment-upload .mode-card{display:flex;gap:16px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:18px;padding:20px;text-decoration:none;color:var(--text);box-shadow:0 6px 18px rgba(15,23,42,.05)}body.page-assessment-upload .mode-card.active{border-color:var(--green);background:linear-gradient(180deg,#fff,#f4fbf5);box-shadow:0 10px 26px rgba(44,122,44,.12)}body.page-assessment-upload .mode-icon{width:50px;height:50px;border-radius:16px;background:var(--green-light);color:var(--green);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:900}body.page-assessment-upload .mode-card.active .mode-icon{background:var(--green);color:#fff}body.page-assessment-upload .mode-card h3{font-size:18px;margin-bottom:5px}body.page-assessment-upload .mode-card p{font-size:13px;color:var(--muted);line-height:1.45}body.page-assessment-upload .builder-grid{display:grid;grid-template-columns:430px 1fr;gap:22px;align-items:start}body.page-assessment-upload .panel{background:#fff;border:1px solid var(--border);border-radius:20px;box-shadow:0 6px 18px rgba(15,23,42,.05);padding:22px;margin-bottom:22px}body.page-assessment-upload .panel-heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}body.page-assessment-upload .panel-heading h2{font-size:24px;color:var(--green);margin-bottom:5px}body.page-assessment-upload .panel-heading p{color:var(--muted);font-size:14px;line-height:1.45}body.page-assessment-upload .settings-note{background:#fbfcfc;border:1px solid var(--border);border-radius:16px;padding:15px;margin-bottom:18px}body.page-assessment-upload .settings-note strong{display:block;color:var(--green);margin-bottom:5px}body.page-assessment-upload .settings-note span{font-size:13px;color:var(--muted);line-height:1.5}body.page-assessment-upload .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}body.page-assessment-upload .full-field{grid-column:1/-1}body.page-assessment-upload .field{margin-bottom:16px}body.page-assessment-upload .field label{display:block;margin-bottom:8px;font-size:14px;font-weight:900;color:#243142}body.page-assessment-upload .field input, body.page-assessment-upload .field select, body.page-assessment-upload .field textarea{margin-bottom:0}body.page-assessment-upload .field textarea{min-height:110px}body.page-assessment-upload .form-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:18px}body.page-assessment-upload .primary-action{display:inline-flex;align-items:center;justify-content:center;border:0;background:var(--green);color:#fff;border-radius:12px;padding:12px 16px;text-decoration:none;font-weight:900;min-height:46px;box-shadow:0 6px 14px rgba(44,122,44,.16)}body.page-assessment-upload .soft-action{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);background:#fff;color:var(--green);border-radius:12px;padding:12px 14px;text-decoration:none;font-weight:900;min-height:46px}body.page-assessment-upload .question-card{border:1px solid var(--border);border-radius:16px;background:#fbfcfc;padding:16px;margin-bottom:14px}body.page-assessment-upload .question-top{display:flex;justify-content:space-between;gap:14px}body.page-assessment-upload .question-title{font-weight:900;color:#1f2937;margin-bottom:8px}body.page-assessment-upload .question-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}body.page-assessment-upload .option-pill{background:#fff;border:1px solid var(--border);border-radius:12px;padding:8px;font-size:13px;color:#475467}body.page-assessment-upload .option-pill strong{color:var(--green)}body.page-assessment-upload .question-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}body.page-assessment-upload .meta-pill{display:inline-flex;padding:6px 10px;background:#fff;border:1px solid var(--border);border-radius:999px;font-size:12px;font-weight:800;color:#475467}body.page-assessment-upload .module-pill{background:#e8f5e9;color:#1F6B2A;border-color:#c8e6c9}body.page-assessment-upload .question-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}body.page-assessment-upload .question-actions a{text-decoration:none;color:var(--green);font-weight:900;font-size:13px}body.page-assessment-upload .question-actions .delete{color:#b00020}body.page-assessment-upload .char-note{color:var(--muted);font-size:12px;font-weight:700}body.page-assessment-upload .feedback-preview{margin-top:8px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:10px;color:#475467;font-size:13px;line-height:1.4}body.page-assessment-upload .feedback-preview strong{color:#1f2937}body.page-assessment-upload .preview-box{background:#fbfcfc;border:1px dashed #b7dfbd;border-radius:16px;padding:16px;color:#344054;line-height:1.5}body.page-assessment-upload .upload-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:210px;border:2px dashed #b7dfbd;border-radius:20px;background:linear-gradient(180deg,#FBFFFB 0%,#F4FBF5 100%);cursor:pointer;text-align:center;padding:28px}body.page-assessment-upload .upload-dropzone input{display:none}body.page-assessment-upload .upload-icon{width:70px;height:70px;border-radius:22px;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;font-size:36px;font-weight:900;margin-bottom:16px}body.page-assessment-upload .upload-title{font-size:20px;font-weight:900;margin-bottom:6px}body.page-assessment-upload .upload-note{color:var(--muted);font-size:14px}body.page-assessment-upload .csv-box{background:#fbfcfc;border:1px solid var(--border);border-radius:16px;padding:16px;margin-top:18px}body.page-assessment-upload .csv-box code{white-space:normal;color:#475467}body.page-assessment-upload .empty-state{text-align:center;padding:32px;color:var(--muted);border:1px dashed var(--border);border-radius:18px;background:#fbfcfc}@media(max-width:1050px){body.page-assessment-upload .builder-grid, body.page-assessment-upload .mode-grid, body.page-assessment-upload .form-grid, body.page-assessment-upload .question-options{grid-template-columns:1fr}body.page-assessment-upload .builder-hero{flex-direction:column}body.page-assessment-upload .question-top{flex-direction:column}body.page-assessment-upload .question-actions{justify-content:flex-start}}


/* campaigns.php */body.page-campaigns{--green:#2C7A2C;--green-dark:#1F6B2A;--green-light:#E8F5E9;--bg:#F4F6F9;--surface:#FFFFFF;--soft-surface:#FBFCFC;--text:#1F2937;--soft:#667085;--border:#E5E7EB;--danger:#B00020;--danger-bg:#FFEBEE;--warning:#9A6700;--warning-bg:#FFF3CD}body.page-campaigns *{box-sizing:border-box}body.page-campaigns{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif}body.page-campaigns .shell{display:flex}body.page-campaigns .sidebar{width:255px;min-height:100vh;background:#fff;border-right:1px solid var(--border);position:fixed;left:0;top:0;padding:28px 18px}body.page-campaigns .brand{font-size:36px;font-weight:900;color:var(--green-dark);margin-bottom:45px}body.page-campaigns .nav h4{margin:28px 10px 10px}body.page-campaigns .nav a{display:block;padding:12px 16px;border-radius:10px;color:#1f2937;text-decoration:none;font-weight:700}body.page-campaigns .nav a.active{background:var(--green);color:#fff}body.page-campaigns .nav a.sub{margin-left:12px;color:#667085;font-size:14px}body.page-campaigns .nav a.sub.active{background:var(--green-light);color:var(--green-dark)}body.page-campaigns .main{margin-left:255px;padding:38px;width:calc(100% - 255px)}body.page-campaigns .hero{background:linear-gradient(135deg,#1F6B2A,#2C7A2C 45%,#2F9E44);border-radius:22px;color:#fff;padding:30px 32px;display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start;box-shadow:0 10px 26px rgba(44,122,44,.12)}body.page-campaigns .hero h1{margin:0;font-size:35px}body.page-campaigns .hero p{margin:8px 0 0;line-height:1.4}body.page-campaigns .hero-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}body.page-campaigns .hero-pill{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.34);border-radius:999px;padding:8px 12px;font-weight:800}body.page-campaigns .hero-side{display:grid;gap:12px}body.page-campaigns .hero-outcome{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);border-radius:18px;padding:16px}body.page-campaigns .hero-outcome-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}body.page-campaigns .hero-outcome-label{font-size:13px;font-weight:900;opacity:.82}body.page-campaigns .hero-outcome-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}body.page-campaigns .hero-outcome-metric{border-radius:14px;background:rgba(255,255,255,.14);padding:12px}body.page-campaigns .hero-outcome-metric span{display:block;font-size:12px;font-weight:800;opacity:.78}body.page-campaigns .hero-outcome-metric strong{display:block;margin-top:4px;font-size:22px;line-height:1.1}body.page-campaigns .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}body.page-campaigns .hero-actions-clean{align-items:center}body.page-campaigns .hero-actions .btn{min-width:0}body.page-campaigns .btn{border:0;border-radius:14px;padding:12px 16px;font-weight:900;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;white-space:nowrap}body.page-campaigns .btn-white{background:#fff;color:var(--green-dark)}body.page-campaigns .btn-soft{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.36)}body.page-campaigns .btn-primary{background:var(--green);color:#fff;box-shadow:0 6px 14px rgba(44,122,44,.16)}body.page-campaigns .btn-outline{background:#fff;color:var(--green-dark);border:1px solid #B7E0BD}body.page-campaigns .btn-muted{background:#F2F4F7;color:#475467}body.page-campaigns .btn-danger{background:var(--danger-bg);color:var(--danger)}body.page-campaigns .btn-warning{background:var(--warning-bg);color:var(--warning)}body.page-campaigns .mini{padding:8px 11px;border-radius:10px;font-size:13px}body.page-campaigns .grid{display:grid;gap:18px}body.page-campaigns .two{grid-template-columns:1.15fr .85fr}body.page-campaigns .card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:22px;box-shadow:0 6px 18px rgba(15,23,42,.05)}body.page-campaigns .card h2, body.page-campaigns .card h3{margin:0 0 8px}body.page-campaigns .small{color:var(--soft);font-size:14px}body.page-campaigns .value{font-size:32px;font-weight:950;color:var(--green-dark);margin-top:8px}body.page-campaigns .badge{display:inline-block;border-radius:999px;padding:7px 12px;font-weight:900;font-size:13px}body.page-campaigns .st-draft{background:#FFF3CD;color:#9A6700}body.page-campaigns .st-scheduled{background:#DBEAFE;color:#1D4ED8}body.page-campaigns .st-processing{background:#EDE9FE;color:#5B21B6}body.page-campaigns .st-processed{background:#E8F5E9;color:#1B5E20}body.page-campaigns .st-paused{background:#F2F4F7;color:#475467}body.page-campaigns .st-cancelled{background:#FFEBEE;color:#B00020}body.page-campaigns .st-neutral{background:#F2F4F7;color:#475467}body.page-campaigns .message-card{border:1px solid #B7E0BD;background:linear-gradient(180deg,#fff,#F4FBF5);border-radius:18px;padding:24px}body.page-campaigns .message-text{font-size:22px;line-height:1.48;margin:18px 0;color:#111827}body.page-campaigns .message-footer{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}body.page-campaigns .statgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}body.page-campaigns .stat{border:1px solid var(--border);border-radius:14px;padding:14px;background:#FBFCFC}body.page-campaigns .stat strong{font-size:22px;display:block}body.page-campaigns .health-band{display:flex;justify-content:space-between;gap:18px;align-items:center;border:1px solid #B7E0BD;background:linear-gradient(180deg,#fff,#F4FBF5);border-radius:16px;padding:18px}body.page-campaigns .progress{height:12px;background:#EEF2F7;border-radius:999px;overflow:hidden;margin-top:12px}body.page-campaigns .progress span{display:block;height:100%;background:var(--green);border-radius:999px}body.page-campaigns .actions{display:flex;gap:8px;flex-wrap:wrap}body.page-campaigns .table-wrap{overflow-x:auto}body.page-campaigns table{width:100%;border-collapse:collapse;border:1px solid var(--border);border-radius:14px;overflow:hidden}body.page-campaigns th, body.page-campaigns td{padding:14px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}body.page-campaigns th{background:#F8FAFC;font-size:13px}body.page-campaigns .section-title{display:flex;justify-content:space-between;gap:16px;align-items:start;margin-bottom:12px}body.page-campaigns .action-card{display:flex;align-items:center;justify-content:space-between;gap:18px}body.page-campaigns .action-card .section-title{margin-bottom:0}body.page-campaigns .action-card .actions{align-items:center;justify-content:flex-end}body.page-campaigns .next-step-note{max-width:620px;color:var(--soft);line-height:1.45;margin:6px 0 0}body.page-campaigns .control-panel{display:grid;gap:10px}body.page-campaigns .control-row{display:flex;gap:10px;flex-wrap:wrap}body.page-campaigns .message-preview-phone{border:10px solid #E5E7EB;border-radius:36px;padding:18px;background:#fff;max-width:340px;margin:auto}body.page-campaigns .bubble{background:var(--green);color:#fff;border-radius:18px 18px 6px 18px;padding:14px 16px;margin-top:16px;line-height:1.45}body.page-campaigns .bubble small{display:block;opacity:.82;margin-top:8px}body.page-campaigns .recipient-row-message{max-width:360px}@media(max-width:1200px){body.page-campaigns .sidebar{position:relative;width:100%;min-height:auto}body.page-campaigns .shell{display:block}body.page-campaigns .main{margin-left:0;width:100%;padding:20px}body.page-campaigns .hero{grid-template-columns:1fr}body.page-campaigns .two, body.page-campaigns .statgrid, body.page-campaigns .message-footer{grid-template-columns:1fr 1fr}body.page-campaigns .action-card{display:block}body.page-campaigns .action-card .actions{justify-content:flex-start;margin-top:14px}}@media(max-width:760px){body.page-campaigns .two, body.page-campaigns .statgrid, body.page-campaigns .message-footer, body.page-campaigns .hero-outcome-grid{grid-template-columns:1fr}body.page-campaigns .hero h1{font-size:28px}body.page-campaigns .hero-actions{grid-template-columns:1fr}body.page-campaigns .hero-actions .btn{min-width:0;width:100%}}body.page-campaigns .campaigns-main{padding:0;width:100%}

/* campaigns.php additional */body.page-campaigns{--green:#2C7A2C;--green-dark:#1F6B2A;--light:#E8F5E9;--bg:#F4F6F9;--text:#1F2937;--soft:#667085;--border:#E5E7EB;--danger:#B00020;--warning:#9A6700}body.page-campaigns *{box-sizing:border-box}body.page-campaigns{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif}body.page-campaigns .shell{display:flex}body.page-campaigns .sidebar{width:255px;min-height:100vh;background:#fff;border-right:1px solid var(--border);position:fixed;left:0;top:0;padding:28px 18px}body.page-campaigns .brand{font-size:36px;font-weight:900;color:var(--green-dark);margin-bottom:45px}body.page-campaigns .nav h4{margin:28px 10px 10px}body.page-campaigns .nav a{display:block;padding:12px 16px;border-radius:10px;color:#1f2937;text-decoration:none;font-weight:700}body.page-campaigns .nav a.active{background:var(--green);color:#fff}body.page-campaigns .nav a.sub{margin-left:12px;color:#667085;font-size:14px}body.page-campaigns .nav a.sub.active{background:var(--light);color:var(--green-dark)}body.page-campaigns .main{margin-left:255px;padding:38px;width:calc(100% - 255px)}body.page-campaigns .topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}body.page-campaigns .topbar h1{font-size:38px;margin:0}body.page-campaigns .topbar p{margin:7px 0 0;color:var(--soft);font-size:17px}body.page-campaigns .btn{border:0;border-radius:14px;padding:13px 18px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;white-space:nowrap}body.page-campaigns .btn.primary, body.page-campaigns .btn.primary:visited{background:var(--green)!important;color:#fff!important;box-shadow:0 6px 14px rgba(44,122,44,.16)}body.page-campaigns .outline{background:#fff;color:var(--green-dark);border:1px solid #B7E0BD}body.page-campaigns .danger{background:#FFEBEE;color:#B00020}body.page-campaigns .muted{background:#F2F4F7;color:#475467}body.page-campaigns .grid{display:grid;gap:18px}body.page-campaigns .kpis{grid-template-columns:repeat(4,1fr);margin-top:24px}body.page-campaigns .card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:22px;box-shadow:0 6px 18px rgba(15,23,42,.05)}body.page-campaigns .card.active{border-color:var(--green);background:linear-gradient(180deg,#fff,#F4FBF5)}body.page-campaigns .small{color:var(--soft);font-size:14px}body.page-campaigns .value{font-size:32px;font-weight:900;color:var(--green-dark);margin-top:8px}body.page-campaigns .filters{display:grid;grid-template-columns:minmax(240px,1.7fr) minmax(150px,.8fr) minmax(145px,.7fr) minmax(145px,.7fr) minmax(110px,.55fr) auto auto;gap:12px;margin-top:24px;background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px}body.page-campaigns .filters input, body.page-campaigns .filters select{width:100%;border:1px solid #D0D5DD;border-radius:12px;padding:13px;background:#fff}body.page-campaigns .table-card{margin-top:24px}body.page-campaigns .table-wrap{width:100%;overflow:visible}body.page-campaigns table{width:100%;border-collapse:collapse;border:1px solid var(--border);border-radius:14px;overflow:visible;table-layout:fixed}body.page-campaigns th, body.page-campaigns td{padding:12px 14px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}body.page-campaigns th{background:#F8FAFC;font-size:13px}body.page-campaigns .badge{display:inline-block;border-radius:999px;padding:7px 12px;font-weight:800;font-size:13px}body.page-campaigns .st-draft{background:#FFF3CD;color:#9A6700}body.page-campaigns .st-scheduled{background:#DBEAFE;color:#1D4ED8}body.page-campaigns .st-processing{background:#EDE9FE;color:#5B21B6}body.page-campaigns .st-processed{background:#E8F5E9;color:#1B5E20}body.page-campaigns .st-paused{background:#F2F4F7;color:#475467}body.page-campaigns .st-cancelled{background:#FFEBEE;color:#B00020}body.page-campaigns .st-neutral{background:#F2F4F7;color:#475467}body.page-campaigns .actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}body.page-campaigns .actions .btn, body.page-campaigns .actions form{flex:0 0 auto}body.page-campaigns .mini{padding:8px 11px;border-radius:10px;font-size:13px}body.page-campaigns .pagination{display:flex;justify-content:space-between;align-items:center;margin-top:18px;gap:12px;flex-wrap:wrap}body.page-campaigns .pages{display:flex;gap:8px}body.page-campaigns .pages a{padding:9px 13px;border-radius:10px;background:#fff;border:1px solid var(--border);text-decoration:none;color:var(--text);font-weight:700}body.page-campaigns .pages a.active{background:var(--green);color:#fff}body.page-campaigns .campaign-title{font-weight:900;line-height:1.3}body.page-campaigns .campaign-meta{margin-top:5px;color:var(--soft);font-size:13px;line-height:1.35}body.page-campaigns .campaign-msg{display:none;color:var(--soft);font-size:13px;margin-top:6px;max-width:360px;line-height:1.45}body.page-campaigns .campaign-msg.full{display:block}body.page-campaigns .msg-toggle{margin-top:5px;border:0;background:transparent;color:var(--green-dark);font-size:12px;font-weight:800;padding:0;cursor:pointer}body.page-campaigns .msg-toggle:hover{text-decoration:underline}body.page-campaigns .metric-cell strong{display:block;font-size:15px}body.page-campaigns .metric-cell span{display:block;margin-top:2px}body.page-campaigns .cost-cell strong{display:block}body.page-campaigns .campaigns-table col:nth-child(1){width:36%}body.page-campaigns .campaigns-table col:nth-child(2){width:20%}body.page-campaigns .campaigns-table col:nth-child(3){width:16%}body.page-campaigns .campaigns-table col:nth-child(4){width:14%}body.page-campaigns .campaigns-table col:nth-child(5){width:14%}@media(max-width:1200px){body.page-campaigns .kpis, body.page-campaigns .filters{grid-template-columns:1fr 1fr}body.page-campaigns .sidebar{position:relative;width:100%;min-height:auto}body.page-campaigns .shell{display:block}body.page-campaigns .main{margin-left:0;width:100%;padding:20px}}@media(max-width:820px){body.page-campaigns .campaigns-table thead{display:none}body.page-campaigns .campaigns-table, body.page-campaigns .campaigns-table tbody, body.page-campaigns .campaigns-table tr, body.page-campaigns .campaigns-table td{display:block;width:100%}body.page-campaigns .campaigns-table tr{border-bottom:1px solid var(--border);padding:12px}body.page-campaigns .campaigns-table td{border:0;padding:8px 0}body.page-campaigns .campaigns-table td::before{content:attr(data-label);display:block;color:var(--soft);font-size:12px;font-weight:900;margin-bottom:3px}body.page-campaigns .actions{justify-content:flex-start}body.page-campaigns .filters{grid-template-columns:1fr}body.page-campaigns .topbar{display:block}body.page-campaigns .topbar .btn{margin-top:15px}}@media(max-width:700px){body.page-campaigns .kpis{grid-template-columns:1fr}body.page-campaigns .actions{gap:6px}}body.page-campaigns .campaigns-main{padding:0;width:100%}


/* preview.php */body.page-preview .ek-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:28px}body.page-preview .ek-page-title h1{font-size:34px;line-height:1.1;margin:0 0 8px;color:#1f2937}body.page-preview .ek-page-title p{margin:0;color:#667085;font-size:16px}body.page-preview .ek-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:13px 20px;font-weight:800;text-decoration:none;cursor:pointer;box-shadow:0 6px 14px rgba(44,122,44,.16)}body.page-preview .ek-btn-primary{background:#2c7a2c;color:#fff}body.page-preview .ek-btn-secondary{background:#fff;color:#2c7a2c;border:1px solid #e5e7eb;box-shadow:0 6px 18px rgba(15,23,42,.05)}body.page-preview .ek-btn-danger{background:transparent;color:#b00020;box-shadow:none}body.page-preview .ek-btn:disabled{opacity:.55;cursor:not-allowed}body.page-preview .ek-alert{padding:15px 18px;border-radius:14px;margin-bottom:20px;font-weight:800}body.page-preview .ek-alert-error{background:#ffebee;color:#b00020;border:1px solid #ffcdd2}body.page-preview .ek-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}body.page-preview .ek-kpi{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:22px;box-shadow:0 6px 18px rgba(15,23,42,.05);display:flex;gap:16px;align-items:center}body.page-preview .ek-kpi.active{border-color:#2c7a2c;background:linear-gradient(180deg,#fff 0%,#f4fbf5 100%);box-shadow:0 10px 26px rgba(44,122,44,.12)}body.page-preview .ek-kpi-icon{width:54px;height:54px;border-radius:14px;background:#e8f5e9;color:#2c7a2c;display:flex;align-items:center;justify-content:center;font-size:23px;font-weight:900;flex:none}body.page-preview .ek-kpi.active .ek-kpi-icon{background:#2c7a2c;color:#fff}body.page-preview .ek-kpi-label{color:#667085;font-size:13px;font-weight:800;margin-bottom:4px}body.page-preview .ek-kpi-value{color:#1f2937;font-size:24px;font-weight:900}body.page-preview .ek-grid{display:grid;grid-template-columns:1.25fr .95fr;gap:24px;align-items:stretch}body.page-preview .ek-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:26px;box-shadow:0 6px 18px rgba(15,23,42,.05);margin-bottom:24px}body.page-preview .ek-phone-card{height:calc(100% - 24px);box-sizing:border-box}body.page-preview .ek-recipient-full{grid-column:1/-1}body.page-preview .ek-card h2{margin:0 0 8px;color:#2c7a2c;font-size:24px}body.page-preview .ek-card-sub{margin:0 0 22px;color:#667085}body.page-preview .ek-summary{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #e5e7eb;border-radius:14px;overflow:hidden}body.page-preview .ek-summary-item{padding:18px;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb}body.page-preview .ek-summary-item:nth-child(3n){border-right:0}body.page-preview .ek-label{font-size:13px;color:#667085;font-weight:800;margin-bottom:7px}body.page-preview .ek-value{font-size:21px;color:#1f2937;font-weight:900}body.page-preview .ek-badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:900}body.page-preview .ek-badge-ready{background:#e8f5e9;color:#1b5e20}body.page-preview .ek-badge-neutral{background:#f2f4f7;color:#475467}body.page-preview .ek-badge-warning{background:#fff3cd;color:#9a6700}body.page-preview .ek-table-wrap{border:1px solid #e5e7eb;border-radius:14px;overflow:hidden}body.page-preview .ek-table{width:100%;border-collapse:collapse;font-size:14px}body.page-preview .ek-table th{background:#f8fafc;color:#1f2937;font-weight:900;text-align:left;padding:13px}body.page-preview .ek-table td{padding:13px;border-top:1px solid #e5e7eb;color:#1f2937}body.page-preview .ek-message{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:18px;white-space:pre-wrap;line-height:1.55;color:#1f2937}body.page-preview .ek-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:22px}body.page-preview .phone-shell{width:390px;min-height:560px;margin:0 auto;border:14px solid #e5e7eb;border-radius:44px;padding:24px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.08)}body.page-preview .phone-head{font-weight:900;color:#1f2937;border-bottom:1px solid #e5e7eb;padding-bottom:14px;margin-bottom:22px;font-size:16px}body.page-preview .sms-bubble{background:#e8f5e9;color:#1f2937;padding:18px;border-radius:18px;font-size:16px;line-height:1.5;white-space:pre-wrap}body.page-preview .ek-checklist{display:grid;gap:12px}body.page-preview .ek-check{display:flex;align-items:flex-start;gap:10px;color:#1f2937}body.page-preview .ek-check span{width:22px;height:22px;border-radius:999px;background:#e8f5e9;color:#1b5e20;font-size:13px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;flex:none}@media(max-width:1100px){body.page-preview .ek-grid, body.page-preview .ek-kpis{grid-template-columns:1fr}body.page-preview .ek-summary{grid-template-columns:1fr}body.page-preview .ek-summary-item, body.page-preview .ek-summary-item:nth-child(3n){border-right:0}body.page-preview .ek-page-head{flex-direction:column}body.page-preview .phone-shell{width:auto;max-width:390px}}


/* contact-upload.php */body.page-contact-upload .farmers-upload-page{
    max-width:1180px;
}body.page-contact-upload .page-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px;
}body.page-contact-upload .top-link{
    background:#ffffff;
    color:var(--green);
    border:1px solid var(--border);
    padding:11px 16px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
    box-shadow:0 3px 10px rgba(15,23,42,0.04);
}body.page-contact-upload .mode-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    margin-bottom:24px;
}body.page-contact-upload .mode-card{
    display:flex;
    gap:16px;
    align-items:center;
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:22px;
    text-decoration:none;
    color:var(--text);
    box-shadow:0 6px 18px rgba(15,23,42,0.05);
    transition:0.2s;
}body.page-contact-upload .mode-card:hover{
    transform:translateY(-2px);
    border-color:#b7dfbd;
}body.page-contact-upload .mode-card.active{
    border-color:var(--green);
    background:linear-gradient(180deg,#ffffff,#f4fbf5);
    box-shadow:0 10px 26px rgba(44,122,44,0.12);
}body.page-contact-upload .mode-icon{
    width:54px;
    height:54px;
    border-radius:16px;
    background:var(--green-light);
    color:var(--green);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    font-weight:900;
    flex-shrink:0;
}body.page-contact-upload .mode-card.active .mode-icon{
    background:var(--green);
    color:#ffffff;
}body.page-contact-upload .mode-card h3{
    margin-bottom:5px;
    font-size:20px;
}body.page-contact-upload .mode-card p{
    color:var(--muted);
    font-size:14px;
    line-height:1.5;
}body.page-contact-upload .modern-card{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:26px;
    margin-bottom:24px;
    box-shadow:0 8px 24px rgba(15,23,42,0.06);
}body.page-contact-upload .card-heading{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:22px;
}body.page-contact-upload .card-heading h2{
    font-size:25px;
    margin-bottom:5px;
}body.page-contact-upload .card-heading p{
    color:var(--muted);
    font-size:14px;
}body.page-contact-upload .status-pill{
    background:#f2f4f7;
    color:#344054;
    padding:7px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}body.page-contact-upload .status-pill.green{
    background:var(--green-light);
    color:var(--green);
}body.page-contact-upload .form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}body.page-contact-upload .field{
    margin-bottom:0;
}body.page-contact-upload .field label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    font-weight:800;
    color:#243142;
}body.page-contact-upload .field input, body.page-contact-upload .field select, body.page-contact-upload .mapping-row select{
    height:48px;
    border-radius:12px;
    border:1px solid #d9e1e7;
    padding:0 14px;
    margin-bottom:0;
    background:#ffffff;
    font-size:15px;
}body.page-contact-upload .field input:focus, body.page-contact-upload .field select:focus, body.page-contact-upload .mapping-row select:focus{
    outline:none;
    border-color:var(--green);
    box-shadow:0 0 0 4px rgba(44,122,44,0.12);
}body.page-contact-upload .form-actions{
    display:flex;
    align-items:center;
    gap:14px;
    margin-top:24px;
}body.page-contact-upload .form-actions button{
    background:var(--green);
    color:#ffffff;
    border:none;
    padding:13px 22px;
    border-radius:12px;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 6px 14px rgba(44,122,44,0.16);
}body.page-contact-upload .form-actions button:disabled{
    background:#9ca3af;
    cursor:not-allowed;
    box-shadow:none;
}body.page-contact-upload .danger-action{
    background:#fff5f5;
    color:#b71c1c;
    border:1px solid #ffcdd2;
    padding:13px 18px;
    border-radius:12px;
    font-weight:900;
    cursor:pointer;
}body.page-contact-upload .form-actions .secondary-action{
    background:#ffffff;
    color:var(--green);
    border:1px solid #b7dfbd;
    box-shadow:none;
}body.page-contact-upload .form-actions a{
    color:var(--green);
    font-weight:800;
    text-decoration:none;
}body.page-contact-upload .upload-dropzone{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:210px;
    border:2px dashed #b7dfbd;
    border-radius:20px;
    background:linear-gradient(180deg,#fbfffb,#f4fbf5);
    cursor:pointer;
    text-align:center;
    padding:28px;
    transition:0.2s;
}body.page-contact-upload .upload-dropzone:hover{
    border-color:var(--green);
    background:#f2fbf3;
}body.page-contact-upload .upload-icon{
    width:70px;
    height:70px;
    border-radius:22px;
    background:var(--green);
    color:#ffffff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:38px;
    font-weight:900;
    margin-bottom:16px;
}body.page-contact-upload .upload-title{
    font-size:20px;
    font-weight:900;
    margin-bottom:6px;
}body.page-contact-upload .upload-note{
    color:var(--muted);
    font-size:14px;
}body.page-contact-upload .upload-dropzone input{
    display:none;
}body.page-contact-upload .mapping-card{
    border-left:5px solid var(--green);
}body.page-contact-upload .mapping-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
}body.page-contact-upload .mapping-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
    align-items:center;
    padding:16px;
    border:1px solid var(--border);
    border-radius:14px;
    background:#fbfcfc;
}body.page-contact-upload .mapping-row span{
    display:block;
    color:var(--muted);
    font-size:12px;
    margin-top:4px;
}body.page-contact-upload .table-wrap{
    width:100%;
    overflow:auto;
    border:1px solid var(--border);
    border-radius:14px;
}body.page-contact-upload .table-wrap table{
    margin-bottom:0;
}body.page-contact-upload .table-wrap th{
    background:#f8fafc;
    font-weight:900;
    white-space:nowrap;
}body.page-contact-upload .alert-error{
    background:#ffebee;
    color:#b71c1c;
    padding:16px;
    border-radius:14px;
    margin-bottom:20px;
    font-weight:800;
    border:1px solid #ffcdd2;
}body.page-contact-upload .alert-success{
    background:#e8f5e9;
    color:#1b5e20;
    padding:16px;
    border-radius:14px;
    margin-bottom:20px;
    font-weight:800;
    border:1px solid #c8e6c9;
}@media(max-width:900px){body.page-contact-upload .page-top{
        flex-direction:column;
    }body.page-contact-upload .mode-grid, body.page-contact-upload .form-grid, body.page-contact-upload .mapping-row{
        grid-template-columns:1fr;
    }
}body.page-contact-upload /* Contact-upload specific adjustments while keeping farmer-upload font scale */
.contact-upload-page .csv-pill{
    background:#f2f4f7;
    color:#344054;
    padding:7px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}body.page-contact-upload .contact-upload-page .upload-dropzone{
    position:relative;
}body.page-contact-upload .contact-upload-page .upload-dropzone input[type="file"]{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    opacity:0;
    cursor:pointer;
    display:block;
}body.page-contact-upload .contact-upload-page .upload-inner{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    pointer-events:none;
}body.page-contact-upload .contact-upload-page .upload-dropzone.drag-over{
    border-color:var(--green);
    background:#f2fbf3;
}body.page-contact-upload .contact-upload-page .file-name{
    color:var(--muted);
    font-size:14px;
    font-weight:800;
    margin-top:8px;
}body.page-contact-upload .contact-upload-page .prefix-field{
    margin-bottom:0;
    max-width:280px;
}body.page-contact-upload .contact-upload-page .field-note{
    display:block;
    margin-top:8px;
    color:var(--muted);
    font-size:13px;
    line-height:1.45;
}body.page-contact-upload .contact-upload-page .personalization-limit-note{
    margin-top:0;
    font-weight:800;
}body.page-contact-upload .contact-upload-page .personalization-limit-note.limit-error{
    color:#b71c1c;
}body.page-contact-upload .contact-upload-page .import-options{
    display:flex;
    align-items:flex-start;
    gap:18px;
    flex-wrap:wrap;
    padding:16px;
    border:1px solid var(--border);
    border-radius:14px;
    background:#fbfcfc;
    margin-bottom:18px;
}body.page-contact-upload .contact-upload-page .toggle-option{
    min-height:48px;
    display:flex;
    align-items:center;
    gap:8px;
}body.page-contact-upload .contact-upload-page .switch-label{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:900;
    color:#243142;
    cursor:pointer;
}body.page-contact-upload .contact-upload-page .switch-label input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}body.page-contact-upload .contact-upload-page .switch-control{
    width:46px;
    height:26px;
    border-radius:999px;
    background:#9ca3af;
    position:relative;
    transition:0.2s;
}body.page-contact-upload .contact-upload-page .switch-control::after{
    content:'';
    width:20px;
    height:20px;
    border-radius:50%;
    background:#ffffff;
    position:absolute;
    left:3px;
    top:3px;
    transition:0.2s;
}body.page-contact-upload .contact-upload-page .switch-label input:checked + .switch-control{
    background:var(--green);
}body.page-contact-upload .contact-upload-page .switch-label input:checked + .switch-control::after{
    transform:translateX(20px);
}body.page-contact-upload .contact-upload-page .info-dot{
    width:22px;
    height:22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid #98a2b3;
    border-radius:50%;
    color:#667085;
    font-size:12px;
    font-weight:900;
    cursor:help;
}body.page-contact-upload .contact-upload-page .contact-mapping-grid{
    gap:12px;
}body.page-contact-upload .contact-upload-page .contact-mapping-row{
    grid-template-columns:1.2fr 0.8fr 1fr;
}body.page-contact-upload .contact-upload-page .contact-mapping-row input, body.page-contact-upload .contact-upload-page .contact-mapping-row select{
    height:46px;
    border-radius:12px;
    border:1px solid #d9e1e7;
    padding:0 12px;
    background:#ffffff;
    font-size:14px;
}body.page-contact-upload .contact-upload-page .analysis-card{
    border-left:5px solid var(--green);
}body.page-contact-upload .contact-upload-page .analysis-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:12px;
}body.page-contact-upload .contact-upload-page .analysis-stat{
    padding:16px;
    border:1px solid var(--border);
    border-radius:14px;
    background:#fbfcfc;
}body.page-contact-upload .contact-upload-page .analysis-stat strong{
    display:block;
    font-size:24px;
    color:#243142;
}body.page-contact-upload .contact-upload-page .analysis-stat span{
    color:var(--muted);
    font-size:12px;
    font-weight:800;
}body.page-contact-upload .contact-upload-page .analysis-stat.warning strong{
    color:#b54708;
}body.page-contact-upload .contact-upload-page .analysis-section{
    margin-top:18px;
}body.page-contact-upload .contact-upload-page .analysis-section h3{
    margin:0 0 10px;
    font-size:15px;
}body.page-contact-upload .contact-upload-page .sample-list{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}body.page-contact-upload .contact-upload-page .sample-list span{
    background:#f2f4f7;
    color:#344054;
    border-radius:999px;
    padding:7px 10px;
    font-size:12px;
    font-weight:800;
}body.page-contact-upload .contact-upload-page .warning-list span{
    background:#fff7ed;
    color:#b54708;
}body.page-contact-upload .contact-upload-page .undo-upload-card{
    border-left:5px solid #b71c1c;
}body.page-contact-upload .contact-upload-page .decision-section{
    border-top:1px solid var(--border);
    padding-top:18px;
}body.page-contact-upload .contact-upload-page .duplicate-options{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}body.page-contact-upload .contact-upload-page .decision-option{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:16px;
    border:1px solid var(--border);
    border-radius:14px;
    background:#fbfcfc;
    cursor:pointer;
}body.page-contact-upload .contact-upload-page .decision-option input{
    margin-top:4px;
    accent-color:var(--green);
}body.page-contact-upload .contact-upload-page .decision-option strong{
    display:block;
    color:#243142;
    font-size:14px;
    margin-bottom:4px;
}body.page-contact-upload .contact-upload-page .decision-option small, body.page-contact-upload .contact-upload-page .decision-note{
    display:block;
    color:var(--muted);
    font-size:12px;
    line-height:1.45;
}body.page-contact-upload .contact-upload-page .decision-option:has(input:checked){
    border-color:#b7dfbd;
    background:#f4fbf5;
}@media(max-width:900px){body.page-contact-upload .contact-upload-page .analysis-grid, body.page-contact-upload .contact-upload-page .contact-mapping-row, body.page-contact-upload .contact-upload-page .duplicate-options{
        grid-template-columns:1fr;
    }
}body.page-contact-upload .contact-upload-page .custom-variables-heading{
    grid-column:1 / -1;
    padding-top:8px;
    margin-top:4px;
    border-top:1px solid var(--border);
}body.page-contact-upload .contact-upload-page .custom-variables-heading label{
    font-size:16px;
    color:var(--green);
}@media(max-width:900px){body.page-contact-upload .contact-upload-page .contact-mapping-row{
        grid-template-columns:1fr;
    }
}


/* login.php */body.page-login{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    background:
        radial-gradient(circle at top left, rgba(44,122,44,0.10), transparent 30%),
        linear-gradient(135deg, #f7faf8 0%, var(--bg) 100%);
}body.page-login .login-card{
    width:100%;
    max-width:440px;
    background:var(--card);
    border-radius:24px;
    padding:48px 42px 42px;
    box-shadow:0 24px 60px rgba(15,23,42,0.10);
    border:1px solid rgba(229,231,235,0.90);
}body.page-login .logo{
    text-align:center;
    font-family:"Book Antiqua","Baskerville","Times New Roman",Georgia,serif;
    font-size:56px;
    font-weight:900;
    color:#1f5e1f;
    letter-spacing:-2px;
    line-height:0.95;
    margin-bottom:12px;
}body.page-login .platform-name{
    text-align:center;
    color:var(--muted);
    text-transform:uppercase;
    letter-spacing:1.4px;
    font-size:12px;
    font-weight:800;
    margin-bottom:62px;
}body.page-login .form-group{
    margin-bottom:24px;
}body.page-login .password-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-bottom:9px;
}body.page-login label{
    display:block;
    font-size:14px;
    font-weight:800;
    color:var(--text);
}body.page-login input{
    width:100%;
    height:52px;
    padding:0 16px;
    border:1px solid var(--border);
    border-radius:12px;
    font-size:15px;
    background:#ffffff;
    box-sizing:border-box;
    color:var(--text);
}body.page-login input::placeholder{
    color:#7a7f89;
}body.page-login input:focus{
    outline:none;
    border-color:var(--green);
    box-shadow:0 0 0 4px rgba(44,122,44,0.12);
}body.page-login .forgot-link{
    font-size:13px;
    font-weight:800;
    color:var(--green);
    text-decoration:none;
    white-space:nowrap;
}body.page-login .forgot-link:hover{
    text-decoration:underline;
}body.page-login .login-button{
    width:100%;
    height:54px;
    background:var(--green);
    color:white;
    border:none;
    border-radius:12px;
    font-size:16px;
    font-weight:800;
    cursor:pointer;
    transition:0.2s;
    margin-top:8px;
}body.page-login .login-button:hover{
    opacity:0.94;
    transform:translateY(-1px);
}body.page-login .helper-text{
    margin-top:28px;
    text-align:center;
    font-size:13px;
    color:var(--muted);
    line-height:1.5;
}body.page-login .error{
    background:#ffe5e5;
    color:#b00020;
    border:1px solid #ffc7c7;
    padding:12px 14px;
    border-radius:12px;
    margin-bottom:22px;
    font-size:14px;
}@media (max-width:520px){body.page-login{
        padding:18px;
    }body.page-login .login-card{
        padding:38px 24px 32px;
        border-radius:20px;
    }body.page-login .logo{
        font-size:46px;
    }body.page-login .platform-name{
        margin-bottom:46px;
        font-size:11px;
    }body.page-login .password-row{
        align-items:flex-start;
    }
}


/* lesson-upload.php */body.page-lesson-upload .lessons-upload-page .setting-toggle{display:flex;gap:10px;align-items:center;font-weight:700;color:#243142;background:#fbfcfc;border:1px solid var(--border);border-radius:14px;padding:14px;min-height:48px}body.page-lesson-upload .lessons-upload-page .setting-toggle input{width:auto;margin:0;accent-color:var(--green)}body.page-lesson-upload .lessons-upload-page .config-note-box{margin-top:18px;background:#fbfcfc;border:1px solid var(--border);border-radius:16px;padding:16px;color:var(--muted);display:grid;gap:6px;line-height:1.5}body.page-lesson-upload .lessons-upload-page .config-note-box strong{color:var(--text)}body.page-lesson-upload .lesson-rows{display:grid;gap:16px}body.page-lesson-upload .message-row{box-shadow:none;margin-bottom:0}body.page-lesson-upload .message-row-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;color:var(--green)}body.page-lesson-upload .remove-row{background:transparent;color:#b00020;box-shadow:none;padding:6px 0;font-weight:900}body.page-lesson-upload .sms-preview{background:#f4fbf5;border:1px solid #b7dfbd;border-radius:14px;padding:14px;margin-top:12px;color:#1f2937;line-height:1.5}body.page-lesson-upload .sms-preview strong{display:block;color:#1f6b2a;margin-bottom:4px}body.page-lesson-upload .small-dropzone{min-height:90px;margin-bottom:16px}


/* compose.php */body.page-compose{
    --ek-primary:#2C7A2C;--ek-primary-dark:#1F6B2A;--ek-primary-light:#E8F5E9;--ek-bg:#F4F6F9;--ek-surface:#FFFFFF;--ek-border:#E5E7EB;--ek-text:#1F2937;--ek-text-soft:#667085;--ek-danger:#B00020;--ek-danger-bg:#FFEBEE;
}body.page-compose .ek-page-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:30px}body.page-compose .ek-page-top h1{font-size:34px;margin:0 0 6px;color:var(--ek-text)}body.page-compose .ek-page-top .subtitle{margin:0;color:#53627a;font-size:16px}body.page-compose .ek-top-actions{display:flex;gap:10px;flex-wrap:wrap}body.page-compose .ek-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--ek-border);background:#fff;color:var(--ek-primary);border-radius:12px;padding:11px 16px;font-weight:900;text-decoration:none;cursor:pointer;box-shadow:0 3px 10px rgba(15,23,42,.04)}body.page-compose .ek-btn.primary{background:var(--ek-primary);border-color:var(--ek-primary);color:#fff;box-shadow:0 6px 14px rgba(44,122,44,.16)}body.page-compose .ek-btn.danger{color:var(--ek-danger)}body.page-compose .ek-alert{padding:16px;border-radius:14px;margin-bottom:20px;font-weight:800;border:1px solid}body.page-compose .ek-alert.error{background:var(--ek-danger-bg);color:#b71c1c;border-color:#ffcdd2}body.page-compose .ek-alert.success{background:var(--ek-primary-light);color:#1b5e20;border-color:#c8e6c9}body.page-compose .compose-shell{display:flex;flex-direction:column;gap:26px}body.page-compose .compose-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}body.page-compose .compose-card, body.page-compose .recent-card{background:#fff;border:1px solid var(--ek-border);border-radius:18px;padding:26px;box-shadow:0 6px 18px rgba(15,23,42,.05)}body.page-compose .compose-card h2, body.page-compose .recent-card h2{margin:0 0 6px;color:var(--ek-primary);font-size:25px}body.page-compose .section-note{margin:0 0 22px;color:#53627a}body.page-compose .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}body.page-compose .form-group{margin-bottom:16px}body.page-compose .form-group.full{grid-column:1/-1}body.page-compose .form-group label{display:block;margin-bottom:8px;font-size:14px;font-weight:900;color:#243142}body.page-compose .form-control{width:100%;padding:13px 14px;border:1px solid #d9e1e7;border-radius:12px;font-size:15px;background:#fff}body.page-compose .form-control:focus{outline:none;border-color:var(--ek-primary);box-shadow:0 0 0 4px rgba(44,122,44,.12)}body.page-compose textarea.form-control{min-height:150px;resize:vertical}body.page-compose .message-box{min-height:230px!important}body.page-compose .small{font-size:12px;color:#667085;margin-top:7px}body.page-compose .source-panel{display:none}body.page-compose .source-panel.active{display:block}body.page-compose .upload-zone{border:2px dashed #a6d8aa;border-radius:18px;background:linear-gradient(180deg,#FBFFFB 0%,#F4FBF5 100%);padding:26px;text-align:center}body.page-compose .upload-icon{width:56px;height:56px;border-radius:16px;background:var(--ek-primary);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:28px;font-weight:900;margin-bottom:12px}body.page-compose .upload-zone input{margin-top:14px}body.page-compose .variable-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}body.page-compose .variable-chip{border:none;background:var(--ek-primary-light);color:var(--ek-primary);padding:7px 10px;border-radius:999px;font-size:12px;font-weight:900;cursor:pointer}body.page-compose .template-tools{margin-bottom:22px}body.page-compose .template-selector-row{display:grid;grid-template-columns:170px minmax(0,1fr);gap:16px;align-items:center}body.page-compose .template-selector-row label{margin:0;font-size:14px;font-weight:900;color:#243142}body.page-compose .template-selector-row select{margin:0}body.page-compose .template-preview{display:none;background:#fbfcfc;border:1px solid var(--ek-border);border-radius:14px;padding:14px;margin-top:12px;margin-bottom:16px;color:#344054;line-height:1.5}body.page-compose .template-preview.active{display:block}body.page-compose .template-preview strong{display:block;color:var(--ek-text);margin-bottom:6px}body.page-compose .message-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}body.page-compose .stat-pill{background:#fbfcfc;border:1px solid var(--ek-border);border-radius:14px;padding:12px}body.page-compose .stat-pill strong{display:block;color:var(--ek-text);font-size:13px}body.page-compose .stat-pill span{display:block;margin-top:5px;color:var(--ek-primary);font-weight:900}body.page-compose .error-text{font-size:12px;color:var(--ek-danger);margin-top:8px;display:none}body.page-compose .compose-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:20px}body.page-compose .table-wrap{width:100%;overflow:auto;border:1px solid var(--ek-border);border-radius:14px}body.page-compose .ek-table{width:100%;border-collapse:collapse;font-size:14px}body.page-compose .ek-table th, body.page-compose .ek-table td{border-bottom:1px solid var(--ek-border);padding:12px;text-align:left;vertical-align:middle}body.page-compose .ek-table th{background:#f8fafc;font-weight:900;white-space:nowrap}body.page-compose .badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:var(--ek-primary-light);color:var(--ek-primary);font-size:12px;font-weight:900}body.page-compose .badge.neutral{background:#F2F4F7;color:#475467}body.page-compose .recent-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}body.page-compose .recent-actions{display:inline-flex;align-items:center;gap:8px;flex-wrap:nowrap;white-space:nowrap}body.page-compose .recent-actions .ek-btn{min-width:auto;flex:0 0 auto}body.page-compose .variable-panel{width:100%;border:1px solid var(--ek-border);border-radius:20px;background:linear-gradient(180deg,#ffffff 0%,#fbfffb 100%);padding:22px 26px;margin:18px 0}body.page-compose .variable-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}body.page-compose .variable-panel h3{margin:0 0 6px;color:#243142;font-size:22px;line-height:1.2}body.page-compose .variable-panel p{margin:0;color:#667085;font-size:16px;line-height:1.45}body.page-compose .variable-toolbar{display:flex;flex-wrap:wrap;gap:12px}body.page-compose .variable-chip{border:none;background:var(--ek-primary-light);color:var(--ek-primary);padding:10px 16px;border-radius:999px;font-size:16px;font-weight:900;cursor:pointer;box-shadow:none}body.page-compose .variable-chip:hover{background:#dff2e1}body.page-compose .advanced-toggle{background:#fff;color:var(--ek-primary);border:1px solid var(--ek-border);box-shadow:none;padding:10px 18px;border-radius:999px;font-size:16px;font-weight:900;white-space:nowrap;cursor:pointer}body.page-compose .advanced-variables{display:none;margin-top:18px;padding-top:18px;border-top:1px solid var(--ek-border)}body.page-compose .advanced-variables.open{display:flex}@media(max-width:1200px){body.page-compose .compose-grid{grid-template-columns:1fr}body.page-compose .form-grid{grid-template-columns:1fr}body.page-compose .form-group.full{grid-column:auto}body.page-compose .message-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){body.page-compose .ek-page-top, body.page-compose .recent-head{flex-direction:column}body.page-compose .ek-top-actions{width:100%}body.page-compose .ek-btn{width:100%}body.page-compose .compose-footer{flex-direction:column}body.page-compose .compose-footer .ek-btn{width:100%}body.page-compose .recent-actions{display:inline-flex;flex-wrap:nowrap}body.page-compose .recent-actions .ek-btn{width:auto;flex:0 0 auto;padding:9px 12px;font-size:13px}}


/* templates.php */body.page-templates .templates-page{
    max-width:1180px;
}body.page-templates .templates-hero{
    background:linear-gradient(135deg,#1F6B2A 0%,#2C7A2C 45%,#2F9E44 100%);
    color:#ffffff;
    border-radius:22px;
    padding:30px;
    margin-bottom:24px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px;
    box-shadow:0 10px 26px rgba(44,122,44,0.12);
}body.page-templates .templates-hero h1{
    color:#ffffff;
    margin-bottom:8px;
}body.page-templates .templates-hero p{
    color:rgba(255,255,255,0.9);
    max-width:760px;
    line-height:1.6;
}body.page-templates .templates-hero-badge{
    background:rgba(255,255,255,0.16);
    border:1px solid rgba(255,255,255,0.25);
    border-radius:999px;
    padding:10px 14px;
    font-weight:900;
    white-space:nowrap;
}body.page-templates .template-kpi-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
    margin-bottom:24px;
}body.page-templates .template-kpi-card{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:20px;
    box-shadow:0 6px 18px rgba(15,23,42,0.05);
}body.page-templates .template-kpi-card span{
    color:var(--muted);
    font-size:13px;
    font-weight:800;
}body.page-templates .template-kpi-card strong{
    display:block;
    color:var(--green);
    font-size:32px;
    margin-top:8px;
}body.page-templates .template-card{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:18px;
    box-shadow:0 6px 18px rgba(15,23,42,0.05);
    padding:26px;
    margin-bottom:24px;
}body.page-templates .template-card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:22px;
}body.page-templates .template-card-head h2{
    color:var(--green);
    font-size:25px;
    margin-bottom:6px;
}body.page-templates .template-card-head p{
    color:var(--muted);
    font-size:14px;
    line-height:1.5;
}body.page-templates .template-form-grid{
    display:grid;
    grid-template-columns:1.4fr .8fr;
    gap:18px;
}body.page-templates .template-scope-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-top:18px;
}body.page-templates .scope-option{
    position:relative;
}body.page-templates .scope-option input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}body.page-templates .scope-option label{
    display:block;
    height:100%;
    border:1px solid var(--border);
    border-radius:16px;
    background:#ffffff;
    padding:18px;
    cursor:pointer;
    transition:0.2s;
}body.page-templates .scope-option strong{
    display:block;
    color:#243142;
    font-size:17px;
    margin-bottom:6px;
}body.page-templates .scope-option span{
    display:block;
    color:var(--muted);
    font-size:13px;
    line-height:1.45;
}body.page-templates .scope-option input:checked + label{
    border-color:var(--green);
    background:linear-gradient(180deg,#FFFFFF 0%,#F4FBF5 100%);
    box-shadow:0 10px 26px rgba(44,122,44,0.12);
}body.page-templates .scope-option input:checked + label strong{
    color:var(--green);
}body.page-templates .template-message-area{
    margin-top:18px;
}body.page-templates .template-message-area textarea{
    min-height:210px;
    resize:vertical;
}body.page-templates .message-error{
    display:none;
    background:#ffebee;
    color:#b00020;
    border:1px solid #ffcdd2;
    padding:12px 14px;
    border-radius:14px;
    margin-top:12px;
    font-size:13px;
    font-weight:800;
}body.page-templates .template-meters{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    margin-top:14px;
}body.page-templates .template-meter{
    background:#fbfcfc;
    border:1px solid var(--border);
    border-radius:14px;
    padding:14px;
}body.page-templates .template-meter span{
    display:block;
    color:var(--muted);
    font-size:12px;
    font-weight:800;
    margin-bottom:5px;
}body.page-templates .template-meter strong{
    color:var(--green);
    font-size:22px;
}body.page-templates .variable-panel{
    border:1px solid var(--border);
    border-radius:18px;
    padding:20px;
    background:linear-gradient(180deg,#FBFFFB 0%,#F4FBF5 100%);
    margin-top:18px;
}body.page-templates .variable-panel-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-bottom:16px;
}body.page-templates .variable-panel h3{
    color:#243142;
    font-size:19px;
    margin-bottom:5px;
}body.page-templates .variable-panel p{
    color:var(--muted);
    font-size:13px;
    line-height:1.5;
}body.page-templates .variable-toolbar{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}body.page-templates .variable-chip, body.page-templates .toggle-variable-btn{
    border:none;
    background:var(--green-light);
    color:var(--green);
    padding:9px 13px;
    border-radius:999px;
    font-size:13px;
    font-weight:900;
    box-shadow:none;
}body.page-templates .toggle-variable-btn{
    background:#ffffff;
    border:1px solid var(--border);
}body.page-templates .advanced-variables{
    display:none;
    margin-top:15px;
    padding-top:15px;
    border-top:1px solid var(--border);
}body.page-templates .advanced-variables.open{
    display:flex;
}body.page-templates .preview-panel{
    background:#fbfcfc;
    border:1px solid var(--border);
    border-radius:16px;
    padding:16px;
    margin-top:16px;
}body.page-templates .preview-panel h3{
    color:#243142;
    font-size:15px;
    margin-bottom:8px;
}body.page-templates .preview-box{
    min-height:76px;
    color:#344054;
    line-height:1.55;
    white-space:pre-wrap;
    font-size:14px;
}body.page-templates .template-filters{
    display:grid;
    grid-template-columns:1.5fr .8fr .8fr auto auto;
    gap:12px;
    align-items:center;
}body.page-templates .template-filters input, body.page-templates .template-filters select, body.page-templates .template-filters button, body.page-templates .template-filters a{
    margin-bottom:0;
}body.page-templates .template-table-wrap{
    width:100%;
    overflow:auto;
    border:1px solid var(--border);
    border-radius:14px;
}body.page-templates .template-table-wrap th{
    background:#f8fafc;
    font-weight:900;
    white-space:nowrap;
}body.page-templates .template-message-cell{
    max-width:420px;
    color:#344054;
    line-height:1.45;
}body.page-templates .scope-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 11px;
    border-radius:999px;
    background:var(--green-light);
    color:var(--green);
    font-size:12px;
    font-weight:900;
}body.page-templates .owner-text{
    color:#344054;
    font-weight:800;
}body.page-templates .meta-text{
    color:var(--muted);
    font-size:12px;
    line-height:1.45;
    margin-top:4px;
}body.page-templates .inline-action-form{
    display:inline-block;
    margin:0;
}body.page-templates .inline-action-form button{
    background:transparent;
    color:var(--green);
    border:none;
    box-shadow:none;
    padding:0;
    margin:0 10px 0 0;
    font-size:13px;
    font-weight:900;
}body.page-templates .inline-action-form .pause-link{
    color:#9a6700;
}body.page-templates .empty-state{
    text-align:center;
    padding:36px 20px;
    color:var(--muted);
}body.page-templates .empty-state strong{
    display:block;
    color:#243142;
    margin-bottom:6px;
    font-size:18px;
}@media(max-width:1000px){body.page-templates .templates-hero, body.page-templates .template-card-head, body.page-templates .variable-panel-head{
        flex-direction:column;
    }body.page-templates .template-kpi-grid, body.page-templates .template-form-grid, body.page-templates .template-scope-grid, body.page-templates .template-meters, body.page-templates .template-filters{
        grid-template-columns:1fr;
    }
}


/* index.php */body.page-index .dashboard-page{
    max-width:1280px;
    width:100%;
}body.page-index .pulse-hero{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px;
    margin-bottom:22px;
}body.page-index .pulse-eyebrow{
    display:inline-flex;
    align-items:center;
    color:#2C7A2C;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    margin-bottom:12px;
}body.page-index .pulse-hero h1{
    margin:2px 0 8px;
    color:#172033;
    font-size:38px;
    line-height:1.05;
    letter-spacing:0;
}body.page-index .pulse-hero p{
    margin:0;
    color:#5D6B82;
    max-width:780px;
    font-size:16px;
    line-height:1.5;
}body.page-index .page-actions{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    align-items:center;
    gap:10px;
    max-width:520px;
}body.page-index .hero-snapshot-panel{
    background:#ffffff;
    border:1px solid #E5E7EB;
    border-radius:18px;
    box-shadow:0 8px 22px rgba(15,23,42,0.05);
    padding:20px;
    margin-bottom:26px;
}body.page-index .snapshot-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:12px;
}body.page-index .snapshot-card{
    min-height:112px;
    border:1px solid #E2E8F0;
    border-radius:14px;
    background:#F8FAFC;
    padding:16px;
}body.page-index .snapshot-card.primary{
    background:#F3FBF4;
    border-color:#C8E6CC;
}body.page-index .snapshot-card.cash{
    background:#FFF8EB;
    border-color:#F4D7A4;
}body.page-index .snapshot-card.balance{
    background:#EEF5FF;
    border-color:#C8DAF7;
}body.page-index .snapshot-card span{
    display:block;
    color:#667085;
    font-size:12px;
    font-weight:800;
}body.page-index .snapshot-card strong{
    display:block;
    color:#172033;
    font-size:24px;
    line-height:1;
    margin:12px 0 7px;
    overflow-wrap:anywhere;
}body.page-index .snapshot-card small{
    display:block;
    color:#53627C;
    font-size:13px;
    line-height:1.35;
}body.page-index .hero-metrics{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}body.page-index .hero-mini{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    min-height:58px;
    padding:12px 14px;
    border:1px solid #E5E7EB;
    border-radius:12px;
    background:#ffffff;
    min-width:0;
}body.page-index .hero-mini span{
    display:block;
    color:#667085;
    font-size:12px;
    font-weight:800;
}body.page-index .hero-mini strong{
    color:#2C7A2C;
    font-size:18px;
    line-height:1.15;
    font-weight:900;
    text-align:right;
    overflow-wrap:anywhere;
}body.page-index .dashboard-section{
    margin-top:28px;
}body.page-index .section-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:18px;
    margin-bottom:14px;
}body.page-index .section-head h2{
    color:#1F6B2A;
    margin:0;
    font-size:22px;
}body.page-index .section-head p{
    color:#667085;
    margin:5px 0 0;
    font-size:14px;
}body.page-index .period-filter{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}body.page-index .period-filter a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:32px;
    padding:0 12px;
    border:1px solid #D9E1E7;
    border-radius:11px;
    color:#475467;
    text-decoration:none;
    font-size:12px;
    font-weight:900;
    background:#ffffff;
    box-shadow:0 2px 5px rgba(15,23,42,0.03);
}body.page-index .period-filter a.active{
    border-color:#2C7A2C;
    background:#F3FBF4;
    color:#1F6B2A;
    box-shadow:none;
}body.page-index .dashboard-period-control{
    justify-content:flex-end;
    margin-top:0;
}body.page-index .info-tip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    border-radius:999px;
    background:#E8F5E9;
    color:#1F6B2A;
    font-size:12px;
    font-weight:900;
    margin-left:7px;
    cursor:help;
    position:relative;
}body.page-index .info-tip:hover::after{
    content:attr(data-tip);
    position:absolute;
    left:50%;
    bottom:26px;
    transform:translateX(-50%);
    width:230px;
    background:#1F2937;
    color:#ffffff;
    padding:10px 12px;
    border-radius:10px;
    font-size:12px;
    font-weight:600;
    line-height:1.4;
    z-index:30;
    box-shadow:0 10px 26px rgba(15,23,42,0.18);
}body.page-index .row-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
}body.page-index .row-grid.three{
    grid-template-columns:repeat(3,minmax(0,1fr));
}body.page-index .pulse-card{
    background:#ffffff;
    border:1px solid #E5E7EB;
    border-radius:18px;
    padding:20px;
    box-shadow:0 6px 18px rgba(15,23,42,0.05);
}body.page-index .pulse-card.active{
    border-color:#2C7A2C;
    background:linear-gradient(180deg,#FFFFFF 0%,#F4FBF5 100%);
    box-shadow:0 10px 26px rgba(44,122,44,0.12);
}body.page-index .card-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:14px;
}body.page-index .metric-label{
    color:#667085;
    font-size:13px;
    font-weight:800;
    margin-bottom:10px;
}body.page-index .metric-number{
    color:#1F6B2A;
    font-size:34px;
    font-weight:900;
    letter-spacing:-0.8px;
}body.page-index .metric-note{
    color:#667085;
    font-size:13px;
    margin-top:8px;
    line-height:1.45;
}body.page-index .finance-command-grid{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:16px;
    align-items:stretch;
}body.page-index .finance-command-card{
    background:#ffffff;
    border:1px solid #E5E7EB;
    border-radius:18px;
    padding:18px;
    box-shadow:0 6px 18px rgba(15,23,42,0.05);
    min-width:0;
    grid-column:span 2;
}body.page-index .finance-command-card.primary{
    border-color:#C9E7CF;
    background:linear-gradient(180deg,#FFFFFF 0%,#F5FBF6 100%);
}body.page-index .finance-command-card.primary .finance-row-list{
    margin-top:12px;
}body.page-index .finance-command-card.wide{
    grid-column:span 3;
}body.page-index .finance-card-head{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:flex-start;
    margin-bottom:12px;
}body.page-index .finance-kicker{
    color:#667085;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
}body.page-index .finance-status{
    color:#1F6B2A;
    background:#E8F5E9;
    border:1px solid #C9E7CF;
    border-radius:999px;
    padding:5px 9px;
    font-size:11px;
    font-weight:900;
    white-space:nowrap;
}body.page-index .finance-status.warning{
    color:#B42318;
    background:#FEF3F2;
    border-color:#FECDCA;
}body.page-index .finance-value{
    color:#1F6B2A;
    font-size:38px;
    line-height:1;
    font-weight:900;
    margin-bottom:8px;
}body.page-index .finance-value.danger{
    color:#B42318;
}body.page-index .finance-subvalue{
    color:#475467;
    font-size:13px;
    font-weight:800;
    line-height:1.4;
}body.page-index .finance-row-list{
    margin-top:14px;
    display:grid;
    gap:0;
}body.page-index .finance-row{
    display:flex;
    justify-content:space-between;
    gap:14px;
    padding:10px 0;
    border-top:1px solid #EEF2F6;
}body.page-index .finance-row span{
    color:#667085;
    font-size:13px;
}body.page-index .finance-row strong{
    color:#111827;
    font-size:13px;
    text-align:right;
}body.page-index .finance-mini-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}body.page-index .gauge{
    width:82px;
    height:82px;
    flex-shrink:0;
}body.page-index .gauge text{
    font-size:18px;
    fill:#1F6B2A;
    font-weight:900;
}body.page-index .chart-bars{
    display:flex;
    align-items:end;
    gap:8px;
    height:120px;
    padding-top:12px;
}body.page-index .chart-day{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-end;
    gap:6px;
}body.page-index .chart-stack{
    width:100%;
    display:flex;
    align-items:end;
    justify-content:center;
    gap:3px;
    height:88px;
}body.page-index .chart-bar{
    width:10px;
    border-radius:999px 999px 0 0;
    min-height:4px;
}body.page-index .chart-bar.sent{
    background:#2C7A2C;
}body.page-index .chart-bar.received{
    background:#66BB6A;
}body.page-index .chart-day small{
    font-size:10px;
    color:#667085;
    font-weight:800;
}body.page-index .legend{
    display:flex;
    gap:14px;
    margin-top:10px;
    color:#667085;
    font-size:12px;
    font-weight:800;
}body.page-index .legend-dot{
    width:9px;
    height:9px;
    display:inline-block;
    border-radius:999px;
    margin-right:6px;
}body.page-index .legend-dot.sent{
    background:#2C7A2C;
}body.page-index .legend-dot.received{
    background:#66BB6A;
}body.page-index .mini-row{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:10px 0;
    border-bottom:1px solid #E5E7EB;
}body.page-index .mini-row:last-child{
    border-bottom:none;
}body.page-index .mini-row span{
    color:#667085;
}body.page-index .mini-row strong{
    color:#1F2937;
    text-align:right;
}body.page-index .bar-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}body.page-index .bar-item-top{
    display:flex;
    justify-content:space-between;
    gap:12px;
    font-size:13px;
    margin-bottom:7px;
}body.page-index .bar-item-top span{
    color:#1F2937;
    font-weight:800;
}body.page-index .bar-item-top strong{
    color:#667085;
}body.page-index .bar-track{
    height:9px;
    background:#F2F4F7;
    border-radius:999px;
    overflow:hidden;
}body.page-index .bar-fill{
    height:100%;
    background:#2C7A2C;
    border-radius:999px;
}body.page-index .keyword-cloud{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}body.page-index .keyword-pill{
    border-radius:999px;
    padding:9px 12px;
    background:#E8F5E9;
    color:#1F6B2A;
    font-weight:900;
    font-size:13px;
}body.page-index .alert-item{
    display:flex;
    gap:12px;
    border-radius:14px;
    padding:14px;
    border:1px solid #E5E7EB;
    background:#FBFCFC;
    margin-bottom:12px;
}body.page-index .alert-dot{
    width:12px;
    height:12px;
    border-radius:999px;
    margin-top:4px;
    background:#475467;
    flex-shrink:0;
}body.page-index .alert-item.success .alert-dot{background:#1B5E20;}body.page-index .alert-item.warning .alert-dot{background:#9A6700;}body.page-index .alert-item.danger .alert-dot{background:#B00020;}body.page-index .alert-item h4{
    margin:0 0 5px;
    font-size:14px;
    color:#1F2937;
}body.page-index .alert-item p{
    margin:0;
    color:#667085;
    font-size:13px;
    line-height:1.45;
}body.page-index .signal-item{
    border:1px solid #E5E7EB;
    background:#FBFCFC;
    border-radius:14px;
    padding:13px;
    margin-bottom:12px;
}body.page-index .signal-title{
    font-weight:900;
    color:#1F2937;
    margin-bottom:5px;
    font-size:13px;
}body.page-index .signal-text{
    color:#667085;
    font-size:13px;
    line-height:1.45;
}body.page-index .chart-canvas{position:relative;height:220px}body.page-index .dashboard-link{
    color:#2C7A2C;
    font-weight:900;
    text-decoration:none;
    white-space:nowrap;
}@media(max-width:1200px){body.page-index .hero-metrics, body.page-index .snapshot-grid, body.page-index .row-grid, body.page-index .row-grid.three, body.page-index .finance-command-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }body.page-index .finance-command-card, body.page-index .finance-command-card.wide{
        grid-column:auto;
    }

}@media(max-width:800px){body.page-index .pulse-hero{
        flex-direction:column;
    }body.page-index .page-actions, body.page-index .dashboard-period-control{
        justify-content:flex-start;
    }body.page-index .hero-metrics, body.page-index .snapshot-grid, body.page-index .row-grid, body.page-index .row-grid.three, body.page-index .finance-command-grid, body.page-index .finance-mini-grid{
        grid-template-columns:1fr;
    }body.page-index .section-head{
        flex-direction:column;
        align-items:flex-start;
    }body.page-index .finance-command-card, body.page-index .finance-command-card.primary, body.page-index .finance-command-card.wide{
        grid-column:auto;
    }
}


/* outbox.php */body.page-outbox{--ek-primary:#2C7A2C;--ek-primary-dark:#1F6B2A;--ek-primary-light:#E8F5E9;--ek-bg:#F4F6F9;--ek-surface:#FFFFFF;--ek-border:#E5E7EB;--ek-text:#1F2937;--ek-text-soft:#667085;--ek-danger:#B00020;--ek-warning:#9A6700;}body.page-outbox .ek-page{padding:24px;max-width:1500px;margin:0 auto;color:var(--ek-text)}body.page-outbox .ek-hero{background:linear-gradient(135deg,#1F6B2A 0%,#2C7A2C 45%,#2F9E44 100%);border-radius:22px;padding:26px;color:#fff;box-shadow:0 10px 26px rgba(44,122,44,.12);margin-bottom:18px;display:flex;justify-content:space-between;gap:18px;align-items:flex-start}body.page-outbox .ek-hero h1{margin:0 0 8px;font-size:28px}body.page-outbox .ek-hero p{margin:0;opacity:.92}body.page-outbox .hero-pill{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25);padding:10px 14px;border-radius:999px;white-space:nowrap}body.page-outbox .kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:18px}body.page-outbox .kpi-card{background:#fff;border:1px solid var(--ek-border);border-radius:18px;padding:18px;box-shadow:0 6px 18px rgba(15,23,42,.05)}body.page-outbox .kpi-label{color:var(--ek-text-soft);font-size:13px}body.page-outbox .kpi-value{font-size:26px;font-weight:800;margin-top:8px}body.page-outbox .ek-card{background:#fff;border:1px solid var(--ek-border);border-radius:18px;box-shadow:0 6px 18px rgba(15,23,42,.05);padding:18px;margin-bottom:18px}body.page-outbox .card-title{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:14px}body.page-outbox .card-title h2{font-size:18px;margin:0}body.page-outbox .card-title p{margin:5px 0 0;color:var(--ek-text-soft);font-size:13px}body.page-outbox .filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:10px}body.page-outbox .field label{display:block;font-size:12px;color:var(--ek-text-soft);margin-bottom:6px}body.page-outbox .input, body.page-outbox select{width:100%;border:1px solid var(--ek-border);border-radius:12px;padding:11px 12px;background:#fff;color:var(--ek-text)}body.page-outbox .btn{border:0;border-radius:12px;padding:11px 14px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-weight:700;cursor:pointer}body.page-outbox .btn-primary{background:var(--ek-primary);color:#fff;box-shadow:0 6px 14px rgba(44,122,44,.16)}body.page-outbox .btn-secondary{background:#fff;color:var(--ek-primary);border:1px solid #B7DDB9}body.page-outbox .btn-small{padding:8px 10px;font-size:13px}body.page-outbox .table-wrap{overflow:auto;border:1px solid var(--ek-border);border-radius:16px}body.page-outbox table{width:100%;border-collapse:collapse;background:#fff}body.page-outbox th{background:#F2F4F7;text-align:left;font-size:12px;color:#475467;padding:13px 12px;white-space:nowrap}body.page-outbox td{border-top:1px solid var(--ek-border);padding:13px 12px;vertical-align:top;font-size:14px}body.page-outbox .message-cell{max-width:420px}body.page-outbox .muted{color:var(--ek-text-soft);font-size:13px}body.page-outbox .badge{display:inline-flex;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:700;white-space:nowrap}body.page-outbox .success{background:#E8F5E9;color:#1B5E20}body.page-outbox .warning{background:#FFF3CD;color:#9A6700}body.page-outbox .danger{background:#FFEBEE;color:#B00020}body.page-outbox .neutral{background:#F2F4F7;color:#475467}body.page-outbox .cluster-broadcast{background:#F2F4F7;color:#475467}body.page-outbox .cluster-general{background:#F2F4F7;color:#475467}body.page-outbox .cluster-diagnostic{background:#FFF3CD;color:#9A6700}body.page-outbox .cluster-lesson{background:#E8F5E9;color:#1B5E20}body.page-outbox .cluster-advisory{background:#FFF0E6;color:#B54708}body.page-outbox .cluster-assessment{background:#EEF4FF;color:#344C9A}body.page-outbox .cluster-survey{background:#F4E8FF;color:#6F2C91}body.page-outbox .cluster-onboarding{background:#E0F2FE;color:#075985}body.page-outbox .actions{display:flex;gap:8px;flex-wrap:wrap}body.page-outbox .pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;flex-wrap:wrap}body.page-outbox .pager{display:flex;gap:8px;align-items:center}body.page-outbox .phone-layout{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:18px;align-items:start}body.page-outbox .phone-shell{background:linear-gradient(180deg,#FFFFFF 0%,#F4FBF5 100%);border:1px solid #DDEFE0;border-radius:28px;padding:12px;box-shadow:0 10px 26px rgba(44,122,44,.12)}body.page-outbox .phone-screen{background:#F8FAFC;border:1px solid #E5E7EB;border-radius:22px;min-height:680px;overflow:hidden;display:flex;flex-direction:column}body.page-outbox .phone-top{background:#fff;border-bottom:1px solid #E5E7EB;padding:18px;text-align:center}body.page-outbox .phone-name{font-weight:800;color:#1F2937}body.page-outbox .phone-number{font-size:12px;color:#667085;margin-top:4px}body.page-outbox .bubble-area{padding:18px;display:flex;flex-direction:column;gap:12px;overflow:auto}body.page-outbox .bubble-row{display:flex}body.page-outbox .bubble-row.out{justify-content:flex-end}body.page-outbox .bubble-row.in{justify-content:flex-start}body.page-outbox .bubble{max-width:78%;padding:12px 14px;border-radius:20px;line-height:1.45;font-size:14px;box-shadow:0 4px 12px rgba(15,23,42,.04)}body.page-outbox .bubble.out{background:#2C7A2C;color:#fff;border-bottom-right-radius:6px}body.page-outbox .bubble.in{background:#fff;color:#1F2937;border:1px solid #E5E7EB;border-bottom-left-radius:6px}body.page-outbox .bubble-meta{font-size:11px;margin-top:6px;opacity:.75}body.page-outbox .detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}body.page-outbox .detail-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}body.page-outbox .detail-card{background:#fff;border:1px solid var(--ek-border);border-radius:16px;padding:16px}body.page-outbox .detail-value{font-size:22px;font-weight:800;margin-top:6px}body.page-outbox .detail-value.small{font-size:15px;line-height:1.25}body.page-outbox .split-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}body.page-outbox .kv{border-top:1px solid var(--ek-border);padding:10px 0}body.page-outbox .kv:first-child{border-top:0}body.page-outbox .kv span{display:block;color:#667085;font-size:12px;margin-bottom:4px}body.page-outbox .json-box{background:#F8FAFC;border:1px solid #E5E7EB;border-radius:14px;padding:12px;white-space:pre-wrap;word-break:break-word;font-size:12px;color:#344054;max-height:260px;overflow:auto}body.page-outbox .timeline{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}body.page-outbox .step{background:#fff;border:1px solid var(--ek-border);border-radius:16px;padding:14px}body.page-outbox .step-dot{width:28px;height:28px;border-radius:999px;background:#E8F5E9;color:#1F6B2A;display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:8px}body.page-outbox .metric-row{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}body.page-outbox .message-detail{background:#FBFCFC;border:1px solid var(--ek-border);border-radius:16px;padding:16px}body.page-outbox .focus-message{background:linear-gradient(180deg,#FFFFFF 0%,#F4FBF5 100%);border:1px solid #B7DDB9;border-radius:18px;padding:18px}body.page-outbox .focus-message-text{font-size:18px;line-height:1.55;margin:12px 0;color:#1F2937}body.page-outbox .focus-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}body.page-outbox .focus-meta{background:#fff;border:1px solid var(--ek-border);border-radius:14px;padding:12px}body.page-outbox .focus-meta span{display:block;color:#667085;font-size:12px;margin-bottom:5px}body.page-outbox .bubble.focus{box-shadow:0 0 0 3px rgba(44,122,44,.18),0 8px 18px rgba(44,122,44,.16)}body.page-outbox .link-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}body.page-outbox .hero-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}body.page-outbox .hero-btn{min-width:145px}body.page-outbox .conversation-grid{display:grid;grid-template-columns:1fr;gap:18px}body.page-outbox .conversation-main{max-width:1180px;width:100%}@media(max-width:1100px){body.page-outbox .kpi-grid{grid-template-columns:repeat(2,1fr)}body.page-outbox .filters{grid-template-columns:1fr 1fr}body.page-outbox .phone-layout, body.page-outbox .split-grid{grid-template-columns:1fr}body.page-outbox .phone-screen{min-height:560px}}@media(max-width:700px){body.page-outbox .ek-page{padding:14px}body.page-outbox .ek-hero{display:block}body.page-outbox .kpi-grid, body.page-outbox .filters, body.page-outbox .detail-grid, body.page-outbox .focus-meta-grid{grid-template-columns:1fr}body.page-outbox .hero-pill{margin-top:14px;display:inline-flex}}


/* assessments.php */body.page-assessments .assessment-page{max-width:1220px}body.page-assessments .assessment-hero{background:linear-gradient(135deg,#1F6B2A 0%,#2C7A2C 45%,#2F9E44 100%);color:#fff;border-radius:22px;padding:28px;margin-bottom:24px;display:flex;justify-content:space-between;gap:24px;align-items:flex-start;box-shadow:0 10px 26px rgba(44,122,44,.12)}body.page-assessments .assessment-hero h1{color:#fff;margin-bottom:8px}body.page-assessments .assessment-hero p{color:rgba(255,255,255,.88);max-width:760px;line-height:1.55}body.page-assessments .hero-actions{display:flex;gap:10px;flex-wrap:wrap}body.page-assessments .hero-btn{display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#1F6B2A;padding:11px 15px;border-radius:12px;text-decoration:none;font-weight:900;white-space:nowrap}body.page-assessments .hero-btn.secondary{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.36)}body.page-assessments .config-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}body.page-assessments .config-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px;box-shadow:0 6px 18px rgba(15,23,42,.05)}body.page-assessments .config-card strong{display:block;color:var(--green);margin-bottom:5px}body.page-assessments .config-card span{color:var(--muted);font-size:13px;line-height:1.45}body.page-assessments .assessment-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}body.page-assessments .assessment-stat{background:#fff;border:1px solid var(--border);border-radius:18px;padding:20px;box-shadow:0 6px 18px rgba(15,23,42,.05)}body.page-assessments .assessment-stat .label{color:var(--muted);font-size:13px;font-weight:800}body.page-assessments .assessment-stat .number{font-size:32px;font-weight:900;color:var(--green);margin-top:8px}body.page-assessments .assessment-stat .note{color:var(--muted);font-size:12px;margin-top:5px}body.page-assessments .panel{background:#fff;border:1px solid var(--border);border-radius:20px;box-shadow:0 6px 18px rgba(15,23,42,.05);padding:22px;margin-bottom:22px}body.page-assessments .panel-heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}body.page-assessments .panel-heading h2{font-size:24px;color:var(--green);margin-bottom:5px}body.page-assessments .panel-heading p{color:var(--muted);font-size:14px}body.page-assessments .filter-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr auto auto;gap:12px;align-items:end}body.page-assessments .field label{display:block;margin-bottom:8px;font-size:14px;font-weight:900;color:#243142}body.page-assessments .field input, body.page-assessments .field select{margin-bottom:0}body.page-assessments .primary-action{display:inline-flex;align-items:center;justify-content:center;border:0;background:var(--green);color:#fff;border-radius:12px;padding:12px 16px;text-decoration:none;font-weight:900;min-height:46px;box-shadow:0 6px 14px rgba(44,122,44,.16)}body.page-assessments .soft-action{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);background:#fff;color:var(--green);border-radius:12px;padding:12px 14px;text-decoration:none;font-weight:900;min-height:46px}body.page-assessments .assessment-card-list{display:grid;grid-template-columns:1fr;gap:14px}body.page-assessments .assessment-card{border:1px solid var(--border);border-radius:18px;padding:18px;background:#fbfcfc}body.page-assessments .assessment-card-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}body.page-assessments .assessment-title{font-size:18px;font-weight:900;color:#1f2937;margin-bottom:6px}body.page-assessments .assessment-question{color:var(--muted);line-height:1.45;font-size:14px;max-width:840px}body.page-assessments .assessment-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}body.page-assessments .meta-pill{display:inline-flex;padding:6px 10px;background:#fff;border:1px solid var(--border);border-radius:999px;font-size:12px;font-weight:800;color:#475467}body.page-assessments .module-pill{background:#e8f5e9;color:#1F6B2A;border-color:#c8e6c9}body.page-assessments .assessment-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}body.page-assessments .assessment-actions a{font-size:13px;font-weight:900;text-decoration:none;color:var(--green)}body.page-assessments .assessment-actions .delete{color:#b00020}body.page-assessments .assessment-actions .button-link{background:var(--green);color:#fff;padding:7px 10px;border-radius:999px}body.page-assessments .empty-state{text-align:center;padding:38px;color:var(--muted);border:1px dashed var(--border);border-radius:18px;background:#fbfcfc}body.page-assessments .pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}body.page-assessments .pagination a, body.page-assessments .pagination span{padding:8px 11px;border:1px solid var(--border);border-radius:10px;text-decoration:none;color:var(--green);font-weight:800;background:#fff}body.page-assessments .pagination .active{background:var(--green);color:#fff;border-color:var(--green)}@media(max-width:1000px){body.page-assessments .assessment-hero{flex-direction:column}body.page-assessments .assessment-grid, body.page-assessments .config-strip, body.page-assessments .filter-grid{grid-template-columns:1fr}body.page-assessments .assessment-card-top{flex-direction:column}body.page-assessments .assessment-actions{justify-content:flex-start}}


/* farmer-profile.php */body.page-farmer-profile .profile-page{
    max-width:1180px;
}body.page-farmer-profile .profile-actions-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-bottom:22px;
}body.page-farmer-profile .back-link, body.page-farmer-profile .soft-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:10px 15px;
    border-radius:12px;
    background:#ffffff;
    border:1px solid var(--border);
    color:var(--green);
    text-decoration:none;
    font-weight:800;
    box-shadow:0 3px 10px rgba(15,23,42,0.04);
}body.page-farmer-profile .top-actions{
    display:flex;
    gap:10px;
}body.page-farmer-profile .farmer-hero{
    background:linear-gradient(135deg,#1f7a34,#2f9e44);
    color:#ffffff;
    border-radius:24px;
    padding:30px;
    margin-bottom:24px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    box-shadow:0 12px 32px rgba(31,122,52,0.20);
}body.page-farmer-profile .hero-main{
    display:flex;
    align-items:center;
    gap:20px;
}body.page-farmer-profile .farmer-avatar{
    width:82px;
    height:82px;
    border-radius:24px;
    background:#ffffff;
    color:#1f7a34;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    font-weight:900;
    flex-shrink:0;
}body.page-farmer-profile .farmer-hero h1{
    color:#ffffff;
    margin-bottom:10px;
}body.page-farmer-profile .hero-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:14px;
}body.page-farmer-profile .hero-meta span{
    background:rgba(255,255,255,0.16);
    padding:7px 10px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
}body.page-farmer-profile .hero-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}body.page-farmer-profile .status-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 12px;
    border-radius:999px;
    background:#ffffff;
    color:#1f7a34;
    font-size:12px;
    font-weight:900;
}body.page-farmer-profile .status-badge.paused{
    color:#9a6700;
}body.page-farmer-profile .status-badge.archived{
    color:#475467;
}body.page-farmer-profile .status-badge.light{
    background:rgba(255,255,255,0.18);
    color:#ffffff;
}body.page-farmer-profile .hero-score{
    background:rgba(255,255,255,0.14);
    border:1px solid rgba(255,255,255,0.22);
    border-radius:20px;
    padding:22px;
    min-width:180px;
    text-align:center;
}body.page-farmer-profile .score-number{
    font-size:42px;
    font-weight:900;
    line-height:1;
}body.page-farmer-profile .score-label{
    margin-top:8px;
    font-size:13px;
    opacity:0.9;
}body.page-farmer-profile .risk-pill{
    margin-top:14px;
    display:inline-flex;
    padding:7px 12px;
    border-radius:999px;
    background:#ffffff;
    color:#1f7a34;
    font-size:12px;
    font-weight:900;
}body.page-farmer-profile .risk-medium{
    color:#9a6700;
}body.page-farmer-profile .risk-high{
    color:#b00020;
}body.page-farmer-profile .metric-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    margin-bottom:24px;
}body.page-farmer-profile .metric-card, body.page-farmer-profile .profile-card{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:24px;
    box-shadow:0 8px 24px rgba(15,23,42,0.06);
}body.page-farmer-profile .metric-label{
    color:var(--muted);
    font-size:13px;
    font-weight:800;
}body.page-farmer-profile .metric-value{
    font-size:34px;
    font-weight:900;
    color:var(--green);
    margin-top:8px;
}body.page-farmer-profile .metric-note{
    color:var(--muted);
    font-size:13px;
    margin-top:10px;
    line-height:1.5;
}body.page-farmer-profile .progress-track{
    width:100%;
    height:9px;
    border-radius:999px;
    background:#eef2f0;
    margin-top:12px;
    overflow:hidden;
}body.page-farmer-profile .progress-fill{
    height:100%;
    border-radius:999px;
    background:var(--green);
}body.page-farmer-profile .profile-tabs{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:24px;
    position:sticky;
    top:0;
    z-index:5;
    background:var(--bg);
    padding:10px 0;
}body.page-farmer-profile .profile-tabs a{
    background:#ffffff;
    border:1px solid var(--border);
    color:var(--text);
    text-decoration:none;
    padding:10px 14px;
    border-radius:999px;
    font-weight:800;
    font-size:13px;
}body.page-farmer-profile .profile-tabs a:hover{
    background:var(--green-light);
    color:var(--green);
}body.page-farmer-profile .content-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr;
    gap:24px;
    margin-bottom:24px;
}body.page-farmer-profile .profile-card{
    margin-bottom:24px;
}body.page-farmer-profile .profile-card.large-card{
    margin-bottom:0;
}body.page-farmer-profile .card-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
    margin-bottom:22px;
}body.page-farmer-profile .card-heading h2{
    font-size:24px;
    margin-bottom:5px;
}body.page-farmer-profile .card-heading p{
    color:var(--muted);
    font-size:14px;
}body.page-farmer-profile .status-pill{
    background:#f2f4f7;
    color:#344054;
    padding:7px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    white-space:nowrap;
}body.page-farmer-profile .detail-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}body.page-farmer-profile .detail-grid div{
    background:#f8fafc;
    border:1px solid #edf1f3;
    border-radius:16px;
    padding:16px;
}body.page-farmer-profile .detail-grid span{
    display:block;
    color:var(--muted);
    font-size:12px;
    font-weight:800;
    margin-bottom:8px;
}body.page-farmer-profile .detail-grid strong{
    display:block;
    color:#243142;
    font-size:15px;
}body.page-farmer-profile .insight-box{
    background:var(--green-light);
    border:1px solid #ccebd1;
    border-radius:16px;
    padding:18px;
    margin-bottom:16px;
}body.page-farmer-profile .insight-box strong{
    color:var(--green);
    display:block;
    margin-bottom:8px;
}body.page-farmer-profile .insight-box p{
    color:#31553a;
    line-height:1.5;
    font-size:14px;
}body.page-farmer-profile .recommendation-list{
    display:grid;
    gap:10px;
}body.page-farmer-profile .recommendation-list div{
    background:#f8fafc;
    border:1px solid #edf1f3;
    border-radius:14px;
    padding:13px;
    font-weight:700;
    color:#344054;
    font-size:14px;
}body.page-farmer-profile .table-wrap{
    width:100%;
    overflow:auto;
    border:1px solid var(--border);
    border-radius:14px;
}body.page-farmer-profile .table-wrap table{
    width:100%;
    min-width:780px;
    border-collapse:collapse;
}body.page-farmer-profile .table-wrap th{
    background:#f8fafc;
    font-weight:900;
    white-space:nowrap;
}body.page-farmer-profile .table-wrap th, body.page-farmer-profile .table-wrap td{
    padding:12px;
    border-bottom:1px solid var(--border);
    text-align:left;
    vertical-align:top;
    font-size:14px;
}body.page-farmer-profile .mini-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 10px;
    border-radius:999px;
    background:#f2f4f7;
    color:#344054;
    font-size:12px;
    font-weight:900;
}body.page-farmer-profile .mini-badge.good{
    background:var(--green-light);
    color:var(--green);
}body.page-farmer-profile .mini-badge.warn{
    background:#fff3cd;
    color:#9a6700;
}body.page-farmer-profile .value-chain-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:18px;
}body.page-farmer-profile .value-chain-card{
    border:1px solid #edf1f3;
    border-radius:18px;
    padding:18px;
    background:#fbfcfc;
}body.page-farmer-profile .chain-top{
    display:flex;
    justify-content:space-between;
    gap:14px;
    margin-bottom:18px;
}body.page-farmer-profile .chain-top h3{
    margin-bottom:5px;
    color:var(--green);
}body.page-farmer-profile .chain-top p{
    color:var(--muted);
    font-size:13px;
    font-weight:700;
}body.page-farmer-profile .chain-metrics{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-bottom:16px;
}body.page-farmer-profile .chain-metrics div{
    background:#ffffff;
    border:1px solid #edf1f3;
    border-radius:14px;
    padding:12px;
}body.page-farmer-profile .chain-metrics span{
    display:block;
    color:var(--muted);
    font-size:11px;
    font-weight:800;
    margin-bottom:6px;
}body.page-farmer-profile .chain-metrics strong{
    color:var(--green);
    font-size:20px;
}body.page-farmer-profile .mentor-line{
    border-top:1px solid #edf1f3;
    padding-top:14px;
}body.page-farmer-profile .small-link{
    color:var(--green);
    font-weight:900;
    font-size:13px;
    text-decoration:none;
}body.page-farmer-profile .activity-list{
    display:grid;
    gap:12px;
}body.page-farmer-profile .activity-item{
    display:flex;
    justify-content:space-between;
    gap:14px;
    padding:14px;
    border:1px solid #edf1f3;
    border-radius:16px;
    background:#fbfcfc;
}body.page-farmer-profile .activity-item strong{
    display:block;
    font-size:14px;
    margin-bottom:6px;
    color:#243142;
    line-height:1.4;
}body.page-farmer-profile .activity-item span{
    font-size:12px;
    color:var(--muted);
}body.page-farmer-profile .empty-mini, body.page-farmer-profile .placeholder-panel{
    background:#f8fafc;
    border:1px dashed #d9e1e7;
    border-radius:16px;
    padding:20px;
    color:var(--muted);
    line-height:1.5;
}body.page-farmer-profile .placeholder-panel strong{
    display:block;
    color:#243142;
    margin-bottom:8px;
}body.page-farmer-profile .empty-state{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:34px;
    box-shadow:0 8px 24px rgba(15,23,42,0.06);
}body.page-farmer-profile .empty-state p{
    color:var(--muted);
    margin:10px 0 20px;
}body.page-farmer-profile .empty-state a{
    color:var(--green);
    font-weight:900;
    text-decoration:none;
}@media(max-width:1100px){body.page-farmer-profile .metric-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }body.page-farmer-profile .content-grid{
        grid-template-columns:1fr;
    }body.page-farmer-profile .detail-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}@media(max-width:800px){body.page-farmer-profile .farmer-hero{
        flex-direction:column;
        align-items:flex-start;
    }body.page-farmer-profile .hero-main{
        flex-direction:column;
        align-items:flex-start;
    }body.page-farmer-profile .hero-score{
        width:100%;
    }body.page-farmer-profile .metric-grid, body.page-farmer-profile .detail-grid{
        grid-template-columns:1fr;
    }body.page-farmer-profile .profile-actions-top{
        flex-direction:column;
        align-items:flex-start;
    }body.page-farmer-profile .top-actions, body.page-farmer-profile .back-link, body.page-farmer-profile .soft-btn{
        width:100%;
    }
}


/* inbox.php */body.page-inbox .inbox-page-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:24px}body.page-inbox .inbox-page-head h1{margin:0;color:#1f2937;font-size:38px;line-height:1.05}body.page-inbox .inbox-page-head .subtitle{margin:8px 0 0;color:#53627c;font-size:16px}body.page-inbox .top-actions{display:flex;gap:10px;flex-wrap:wrap}body.page-inbox .ek-btn{border:0;border-radius:12px;padding:12px 18px;font-weight:900;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 6px 14px rgba(44,122,44,.16)}body.page-inbox .ek-btn.primary{background:#2c7a2c;color:#fff}body.page-inbox .ek-btn.secondary{background:#fff;color:#2c7a2c;border:1px solid #e5e7eb}body.page-inbox .kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:26px}body.page-inbox .kpi-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:22px;box-shadow:0 6px 18px rgba(15,23,42,.05);display:flex;gap:18px;align-items:center}body.page-inbox .kpi-card.active{border-color:#2c7a2c;background:linear-gradient(180deg,#fff 0%,#f4fbf5 100%)}body.page-inbox .kpi-icon{width:58px;height:58px;border-radius:16px;background:#e8f5e9;color:#2c7a2c;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:900;flex:0 0 auto}body.page-inbox .kpi-card.active .kpi-icon{background:#2c7a2c;color:#fff}body.page-inbox .kpi-label{font-weight:900;color:#1f2937;font-size:18px}body.page-inbox .kpi-note{color:#53627c;margin-top:4px;line-height:1.4}body.page-inbox .ledger-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:26px;box-shadow:0 6px 18px rgba(15,23,42,.05);margin-bottom:26px}body.page-inbox .section-title{margin:0;color:#2c7a2c;font-size:28px}body.page-inbox .section-subtitle{color:#53627c;margin:6px 0 20px}body.page-inbox .filter-row{display:grid;grid-template-columns:1.4fr 190px 170px 130px auto auto;gap:12px;align-items:center;margin-bottom:22px}body.page-inbox .filter-row input, body.page-inbox .filter-row select{height:54px;border:1px solid #d9e1ea;border-radius:14px;padding:0 16px;font-size:15px;background:#fff}body.page-inbox .filter-row input:focus, body.page-inbox .filter-row select:focus{outline:0;border-color:#2c7a2c;box-shadow:0 0 0 4px rgba(44,122,44,.09)}body.page-inbox .table-wrap{border:1px solid #e5e7eb;border-radius:16px;overflow:hidden}body.page-inbox .ledger-table{width:100%;border-collapse:collapse;background:#fff}body.page-inbox .ledger-table th{background:#f8fafc;color:#1f2937;text-align:left;font-size:13px;padding:14px 16px;border-bottom:1px solid #e5e7eb}body.page-inbox .ledger-table td{padding:15px 16px;border-bottom:1px solid #e5e7eb;vertical-align:middle;color:#1f2937}body.page-inbox .ledger-table tr:last-child td{border-bottom:0}body.page-inbox .message-cell{max-width:420px;line-height:1.45}body.page-inbox .muted{color:#667085;font-size:12px;margin-top:4px}body.page-inbox .cluster-badge{display:inline-flex;align-items:center;border-radius:999px;padding:7px 12px;font-weight:900;font-size:12px}body.page-inbox .cluster-broadcast{background:#f2f4f7;color:#475467}body.page-inbox .cluster-general{background:#f2f4f7;color:#475467}body.page-inbox .cluster-diagnostic{background:#fff3cd;color:#9a6700}body.page-inbox .cluster-diagnostics{background:#fff3cd;color:#9a6700}body.page-inbox .cluster-lesson{background:#e8f5e9;color:#1b5e20}body.page-inbox .cluster-advisory{background:#fff0e6;color:#b54708}body.page-inbox .cluster-assessment{background:#eef4ff;color:#344c9a}body.page-inbox .cluster-survey{background:#f4e8ff;color:#6f2c91}body.page-inbox .cluster-onboarding{background:#e0f2fe;color:#075985}body.page-inbox .action-group{display:flex;gap:8px;flex-wrap:wrap}body.page-inbox .small-btn{border:1px solid #e5e7eb;background:#fff;color:#2c7a2c;border-radius:11px;padding:10px 14px;text-decoration:none;font-weight:900;font-size:13px}body.page-inbox .small-btn.primary{background:#2c7a2c;color:#fff;border-color:#2c7a2c}body.page-inbox .phone-detail-grid{display:grid;grid-template-columns:1fr 360px;gap:26px;align-items:start}body.page-inbox .detail-box{border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;margin-top:20px}body.page-inbox .detail-row{display:grid;grid-template-columns:190px 1fr;border-bottom:1px solid #e5e7eb}body.page-inbox .detail-row:last-child{border-bottom:0}body.page-inbox .detail-row strong{background:#f8fafc;padding:16px;color:#1f2937}body.page-inbox .detail-row span{padding:16px;color:#1f2937}body.page-inbox .phone-frame{background:#f1f3f7;border-radius:42px;padding:14px;box-shadow:0 10px 26px rgba(15,23,42,.08)}body.page-inbox .phone-screen{background:#fff;border-radius:32px;min-height:560px;padding:24px;display:flex;flex-direction:column}body.page-inbox .phone-top{font-weight:900;color:#1f2937;border-bottom:1px solid #e5e7eb;padding-bottom:12px;margin-bottom:18px}body.page-inbox .sms-bubble{background:#e8f5e9;border-radius:18px;padding:18px;line-height:1.5;color:#1f2937;margin-top:8px}body.page-inbox .phone-meta{margin-top:auto;color:#667085;font-size:12px;padding-top:18px}body.page-inbox .empty-state{padding:34px;text-align:center;color:#667085}body.page-inbox .pagination-bar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:18px;flex-wrap:wrap}body.page-inbox .pagination-summary{color:#53627c;font-weight:800}body.page-inbox .pagination-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap}body.page-inbox .page-btn{border:1px solid #e5e7eb;background:#fff;color:#2c7a2c;border-radius:10px;padding:9px 13px;text-decoration:none;font-weight:900}body.page-inbox .page-btn.current{background:#2c7a2c;color:#fff;border-color:#2c7a2c}body.page-inbox .page-btn.disabled{color:#98a2b3;pointer-events:none;background:#f8fafc}body.page-inbox .page-jump{color:#667085;font-weight:900;padding:0 4px}body.page-inbox .back-row{margin-bottom:18px}@media(max-width:1100px){body.page-inbox .kpi-grid, body.page-inbox .phone-detail-grid{grid-template-columns:1fr 1fr}body.page-inbox .filter-row{grid-template-columns:1fr 1fr}}@media(max-width:760px){body.page-inbox .inbox-page-head, body.page-inbox .top-actions{display:block}body.page-inbox .kpi-grid, body.page-inbox .phone-detail-grid, body.page-inbox .filter-row{grid-template-columns:1fr}body.page-inbox .ledger-card{padding:18px}body.page-inbox .ledger-table{min-width:900px}body.page-inbox .table-wrap{overflow-x:auto}body.page-inbox .detail-row{grid-template-columns:1fr}body.page-inbox .phone-screen{min-height:420px}}


/* farmers.php */body.page-farmers .farmers-page{
    max-width:1180px;
}body.page-farmers .page-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px;
}body.page-farmers .top-link{
    background:#ffffff;
    color:var(--green);
    border:1px solid var(--border);
    padding:11px 16px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
    box-shadow:0 3px 10px rgba(15,23,42,0.04);
    white-space:nowrap;
}body.page-farmers .mode-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    margin-bottom:24px;
}body.page-farmers .mode-card{
    display:flex;
    gap:16px;
    align-items:center;
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:22px;
    text-decoration:none;
    color:var(--text);
    box-shadow:0 6px 18px rgba(15,23,42,0.05);
    transition:0.2s;
}body.page-farmers .mode-card:hover{
    transform:translateY(-2px);
    border-color:#b7dfbd;
}body.page-farmers .mode-card.active{
    border-color:var(--green);
    background:linear-gradient(180deg,#ffffff,#f4fbf5);
    box-shadow:0 10px 26px rgba(44,122,44,0.12);
}body.page-farmers .mode-icon{
    width:54px;
    height:54px;
    border-radius:16px;
    background:var(--green-light);
    color:var(--green);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    font-weight:900;
    flex-shrink:0;
}body.page-farmers .mode-card.active .mode-icon{
    background:var(--green);
    color:#ffffff;
}body.page-farmers .mode-card h3{
    margin-bottom:5px;
    font-size:18px;
}body.page-farmers .mode-card p{
    color:var(--muted);
    font-size:13px;
    line-height:1.5;
}body.page-farmers .modern-card{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:26px;
    margin-bottom:24px;
    box-shadow:0 8px 24px rgba(15,23,42,0.06);
}body.page-farmers .card-heading{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:22px;
}body.page-farmers .card-heading h2{
    font-size:25px;
    margin-bottom:5px;
}body.page-farmers .card-heading p{
    color:var(--muted);
    font-size:14px;
}body.page-farmers .status-pill{
    background:#f2f4f7;
    color:#344054;
    padding:7px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}body.page-farmers .status-pill.green{
    background:var(--green-light);
    color:var(--green);
}body.page-farmers .form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}body.page-farmers .field{
    margin-bottom:0;
}body.page-farmers .field label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    font-weight:800;
    color:#243142;
}body.page-farmers .field input, body.page-farmers .field select, body.page-farmers .filter-bar input, body.page-farmers .filter-bar select{
    height:48px;
    border-radius:12px;
    border:1px solid #d9e1e7;
    padding:0 14px;
    margin-bottom:0;
    background:#ffffff;
    font-size:15px;
}body.page-farmers .field input:focus, body.page-farmers .field select:focus, body.page-farmers .filter-bar input:focus, body.page-farmers .filter-bar select:focus{
    outline:none;
    border-color:var(--green);
    box-shadow:0 0 0 4px rgba(44,122,44,0.12);
}body.page-farmers .form-actions{
    display:flex;
    align-items:center;
    gap:14px;
    margin-top:24px;
}body.page-farmers .form-actions button, body.page-farmers .filter-bar button{
    background:var(--green);
    color:#ffffff;
    border:none;
    padding:13px 22px;
    border-radius:12px;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 6px 14px rgba(44,122,44,0.16);
}body.page-farmers .form-actions a, body.page-farmers .reset-link{
    color:var(--green);
    font-weight:800;
    text-decoration:none;
}body.page-farmers .filter-bar{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr auto auto;
    gap:12px;
    align-items:center;
    margin-bottom:22px;
}body.page-farmers .table-wrap{
    width:100%;
    overflow:auto;
    border:1px solid var(--border);
    border-radius:14px;
}body.page-farmers .table-wrap table{
    margin-bottom:0;
    min-width:1020px;
}body.page-farmers .table-wrap th{
    background:#f8fafc;
    font-weight:900;
    white-space:nowrap;
}body.page-farmers .table-wrap td{
    vertical-align:middle;
}body.page-farmers .badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 10px;
    border-radius:999px;
    background:var(--green-light);
    color:var(--green);
    font-size:12px;
    font-weight:900;
}body.page-farmers .badge.suspended{
    background:#fff3cd;
    color:#9a6700;
}body.page-farmers .badge.archived{
    background:#f2f4f7;
    color:#475467;
}body.page-farmers .actions{
    white-space:nowrap;
}body.page-farmers .actions a{
    display:inline-block;
    margin-right:10px;
    color:var(--green);
    text-decoration:none;
    font-weight:900;
    font-size:13px;
}body.page-farmers .actions .view-link{
    background:var(--green);
    color:#ffffff;
    padding:7px 10px;
    border-radius:999px;
    box-shadow:0 4px 10px rgba(44,122,44,0.16);
}body.page-farmers .actions .delete{
    color:#b00020;
}body.page-farmers .alert-error{
    background:#ffebee;
    color:#b71c1c;
    padding:16px;
    border-radius:14px;
    margin-bottom:20px;
    font-weight:800;
    border:1px solid #ffcdd2;
}body.page-farmers .alert-success{
    background:#e8f5e9;
    color:#1b5e20;
    padding:16px;
    border-radius:14px;
    margin-bottom:20px;
    font-weight:800;
    border:1px solid #c8e6c9;
}@media(max-width:1100px){body.page-farmers .mode-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }body.page-farmers .filter-bar{
        grid-template-columns:1fr 1fr;
    }
}@media(max-width:900px){body.page-farmers .page-top{
        flex-direction:column;
    }body.page-farmers .mode-grid, body.page-farmers .form-grid, body.page-farmers .filter-bar{
        grid-template-columns:1fr;
    }body.page-farmers .top-link{
        width:100%;
        text-align:center;
    }
}


/* survey-create.php */body.page-survey-create .survey-create-page{max-width:1180px;margin:0 auto 48px}body.page-survey-create .survey-hero{background:linear-gradient(135deg,#1F6B2A 0%,#2C7A2C 45%,#2F9E44 100%);border-radius:22px;padding:30px;color:#fff;box-shadow:0 10px 26px rgba(44,122,44,.12);margin-bottom:22px;display:flex;justify-content:space-between;gap:18px;align-items:flex-start}body.page-survey-create .survey-hero h1{margin:0 0 8px;color:#fff;font-size:34px}body.page-survey-create .survey-hero p{margin:0;line-height:1.6;color:rgba(255,255,255,.92);max-width:760px}body.page-survey-create .hero-actions{display:flex;gap:10px;flex-wrap:wrap}body.page-survey-create .hero-actions a{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:12px 16px;text-decoration:none;font-weight:900;white-space:nowrap}body.page-survey-create .hero-actions .primary{background:#fff;color:#1F6B2A}body.page-survey-create .hero-actions .secondary{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.35);color:#fff}body.page-survey-create .alert{border-radius:14px;padding:14px 16px;margin-bottom:18px;font-weight:800;line-height:1.55}body.page-survey-create .alert-error{background:#FFEBEE;color:#B00020;border:1px solid #ffcdd2}body.page-survey-create .alert-warning{background:#FFF3CD;color:#9A6700;border:1px solid #ffe08a}body.page-survey-create .flow-shell{display:grid;gap:20px}body.page-survey-create .flow-row{background:#fff;border:1px solid #E5E7EB;border-radius:20px;padding:24px;box-shadow:0 6px 18px rgba(15,23,42,.05)}body.page-survey-create .flow-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px}body.page-survey-create .flow-head h2{margin:0 0 6px;color:#2C7A2C;font-size:25px}body.page-survey-create .flow-head p{margin:0;color:#667085;line-height:1.55}body.page-survey-create .step-badge{background:#E8F5E9;color:#2C7A2C;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:900;white-space:nowrap}body.page-survey-create .single-column{display:grid;grid-template-columns:1fr;gap:18px}body.page-survey-create .two-column{display:grid;grid-template-columns:1fr 1fr;gap:18px}body.page-survey-create .field label{display:block;margin-bottom:8px;font-size:14px;font-weight:900;color:#243142}body.page-survey-create .field input, body.page-survey-create .field select, body.page-survey-create .field textarea{width:100%;border:1px solid #d9e1e7;border-radius:12px;background:#fff;font-size:15px;margin:0}body.page-survey-create .field input, body.page-survey-create .field select{height:48px;padding:0 14px}body.page-survey-create .field textarea{min-height:108px;padding:14px;line-height:1.5;resize:vertical}body.page-survey-create .field textarea.large{min-height:140px}body.page-survey-create .field input:focus, body.page-survey-create .field select:focus, body.page-survey-create .field textarea:focus{outline:none;border-color:#2C7A2C;box-shadow:0 0 0 4px rgba(44,122,44,.12)}body.page-survey-create .help-text{color:#667085;font-size:12px;line-height:1.5;margin-top:6px}body.page-survey-create .small-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}body.page-survey-create .guide-card{border:1px solid #E5E7EB;background:#FBFCFC;border-radius:16px;padding:15px}body.page-survey-create .guide-card strong{display:block;color:#1F2937;margin-bottom:6px}body.page-survey-create .guide-card span{display:block;color:#667085;font-size:12px;line-height:1.5}body.page-survey-create .question-stack{display:grid;gap:16px}body.page-survey-create .question-card{border:1px solid #E5E7EB;background:#FBFCFC;border-radius:18px;padding:18px}body.page-survey-create .question-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}body.page-survey-create .question-title{display:flex;align-items:center;gap:10px;font-weight:900;color:#1F2937}body.page-survey-create .question-no{width:34px;height:34px;border-radius:12px;background:#E8F5E9;color:#2C7A2C;display:flex;align-items:center;justify-content:center}body.page-survey-create .remove-question{background:transparent;color:#B00020;border:none;padding:0;box-shadow:none;font-weight:900;cursor:pointer}body.page-survey-create .question-fields{display:grid;gap:16px}body.page-survey-create .option-box{display:none}body.page-survey-create .question-card[data-type="choice"] .option-box{display:block}body.page-survey-create .mapping-box{border:1px dashed #b7dfbd;background:#fff;border-radius:16px;padding:14px;color:#475467;font-size:13px;line-height:1.55}body.page-survey-create .mapping-box strong{color:#1F2937}body.page-survey-create .add-question-row{display:flex;justify-content:flex-start;margin-top:16px}body.page-survey-create .soft-btn{background:#fff;color:#2C7A2C;border:1px solid #E5E7EB;border-radius:12px;padding:12px 16px;font-weight:900;text-decoration:none;cursor:pointer;box-shadow:0 3px 10px rgba(15,23,42,.04)}body.page-survey-create .primary-btn{background:#2C7A2C;color:#fff;border:none;border-radius:12px;padding:13px 20px;font-weight:900;cursor:pointer;box-shadow:0 6px 14px rgba(44,122,44,.16)}body.page-survey-create .review-panel{border:1px solid #E5E7EB;background:#FBFCFC;border-radius:18px;padding:18px}body.page-survey-create .phone-preview{background:#101828;border-radius:24px;padding:14px;max-width:560px}body.page-survey-create .phone-screen{background:#F4F6F9;border-radius:18px;padding:14px;display:grid;gap:10px;min-height:180px}body.page-survey-create .sms-bubble{background:#fff;border:1px solid #E5E7EB;border-radius:16px 16px 16px 5px;padding:12px;color:#1F2937;font-size:13px;line-height:1.45}body.page-survey-create .sms-label{font-size:11px;color:#667085;font-weight:900;text-transform:uppercase;margin-bottom:5px}body.page-survey-create .journey-map{display:grid;gap:10px}body.page-survey-create .journey-item{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:start;border:1px solid #E5E7EB;border-radius:16px;background:#fff;padding:14px}body.page-survey-create .journey-icon{width:38px;height:38px;border-radius:14px;background:#E8F5E9;color:#2C7A2C;display:flex;align-items:center;justify-content:center;font-weight:900}body.page-survey-create .journey-item strong{display:block;margin-bottom:4px;color:#1F2937}body.page-survey-create .journey-item span{color:#667085;line-height:1.5}body.page-survey-create .form-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}body.page-survey-create .required-note{color:#667085;font-size:13px}body.page-survey-create .sms-counter{font-size:12px;color:#667085;margin-top:6px}body.page-survey-create .sms-counter.warning{color:#9A6700;font-weight:800}body.page-survey-create .sms-counter.danger{color:#B00020;font-weight:900}body.page-survey-create .router-note{background:#F2F4F7;border:1px solid #E5E7EB;border-radius:16px;padding:15px;color:#475467;line-height:1.55}body.page-survey-create .router-note strong{color:#1F2937}@media(max-width:900px){body.page-survey-create .survey-hero{flex-direction:column}body.page-survey-create .two-column, body.page-survey-create .small-grid{grid-template-columns:1fr}body.page-survey-create .form-footer{align-items:flex-start}body.page-survey-create .phone-preview{max-width:100%}}


/* farmer-upload.php */body.page-farmer-upload .farmers-upload-page{
    max-width:1180px;
}body.page-farmer-upload .page-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px;
}body.page-farmer-upload .top-link{
    background:#ffffff;
    color:var(--green);
    border:1px solid var(--border);
    padding:11px 16px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
    box-shadow:0 3px 10px rgba(15,23,42,0.04);
}body.page-farmer-upload .mode-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    margin-bottom:24px;
}body.page-farmer-upload .mode-card{
    display:flex;
    gap:16px;
    align-items:center;
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:22px;
    text-decoration:none;
    color:var(--text);
    box-shadow:0 6px 18px rgba(15,23,42,0.05);
    transition:0.2s;
}body.page-farmer-upload .mode-card:hover{
    transform:translateY(-2px);
    border-color:#b7dfbd;
}body.page-farmer-upload .mode-card.active{
    border-color:var(--green);
    background:linear-gradient(180deg,#ffffff,#f4fbf5);
    box-shadow:0 10px 26px rgba(44,122,44,0.12);
}body.page-farmer-upload .mode-icon{
    width:54px;
    height:54px;
    border-radius:16px;
    background:var(--green-light);
    color:var(--green);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    font-weight:900;
    flex-shrink:0;
}body.page-farmer-upload .mode-card.active .mode-icon{
    background:var(--green);
    color:#ffffff;
}body.page-farmer-upload .mode-card h3{
    margin-bottom:5px;
    font-size:20px;
}body.page-farmer-upload .mode-card p{
    color:var(--muted);
    font-size:14px;
    line-height:1.5;
}body.page-farmer-upload .modern-card{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:26px;
    margin-bottom:24px;
    box-shadow:0 8px 24px rgba(15,23,42,0.06);
}body.page-farmer-upload .card-heading{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:22px;
}body.page-farmer-upload .card-heading h2{
    font-size:25px;
    margin-bottom:5px;
}body.page-farmer-upload .card-heading p{
    color:var(--muted);
    font-size:14px;
}body.page-farmer-upload .status-pill{
    background:#f2f4f7;
    color:#344054;
    padding:7px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}body.page-farmer-upload .status-pill.green{
    background:var(--green-light);
    color:var(--green);
}body.page-farmer-upload .form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}body.page-farmer-upload .field{
    margin-bottom:0;
}body.page-farmer-upload .field label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    font-weight:800;
    color:#243142;
}body.page-farmer-upload .field input, body.page-farmer-upload .field select, body.page-farmer-upload .mapping-row select{
    height:48px;
    border-radius:12px;
    border:1px solid #d9e1e7;
    padding:0 14px;
    margin-bottom:0;
    background:#ffffff;
    font-size:15px;
}body.page-farmer-upload .field input:focus, body.page-farmer-upload .field select:focus, body.page-farmer-upload .mapping-row select:focus{
    outline:none;
    border-color:var(--green);
    box-shadow:0 0 0 4px rgba(44,122,44,0.12);
}body.page-farmer-upload .form-actions{
    display:flex;
    align-items:center;
    gap:14px;
    margin-top:24px;
}body.page-farmer-upload .form-actions button{
    background:var(--green);
    color:#ffffff;
    border:none;
    padding:13px 22px;
    border-radius:12px;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 6px 14px rgba(44,122,44,0.16);
}body.page-farmer-upload .form-actions a{
    color:var(--green);
    font-weight:800;
    text-decoration:none;
}body.page-farmer-upload .upload-dropzone{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:210px;
    border:2px dashed #b7dfbd;
    border-radius:20px;
    background:linear-gradient(180deg,#fbfffb,#f4fbf5);
    cursor:pointer;
    text-align:center;
    padding:28px;
    transition:0.2s;
}body.page-farmer-upload .upload-dropzone:hover{
    border-color:var(--green);
    background:#f2fbf3;
}body.page-farmer-upload .upload-icon{
    width:70px;
    height:70px;
    border-radius:22px;
    background:var(--green);
    color:#ffffff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:38px;
    font-weight:900;
    margin-bottom:16px;
}body.page-farmer-upload .upload-title{
    font-size:20px;
    font-weight:900;
    margin-bottom:6px;
}body.page-farmer-upload .upload-note{
    color:var(--muted);
    font-size:14px;
}body.page-farmer-upload .upload-dropzone input{
    display:none;
}body.page-farmer-upload .mapping-card{
    border-left:5px solid var(--green);
}body.page-farmer-upload .mapping-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
}body.page-farmer-upload .mapping-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
    align-items:center;
    padding:16px;
    border:1px solid var(--border);
    border-radius:14px;
    background:#fbfcfc;
}body.page-farmer-upload .mapping-row span{
    display:block;
    color:var(--muted);
    font-size:12px;
    margin-top:4px;
}body.page-farmer-upload .table-wrap{
    width:100%;
    overflow:auto;
    border:1px solid var(--border);
    border-radius:14px;
}body.page-farmer-upload .table-wrap table{
    margin-bottom:0;
}body.page-farmer-upload .table-wrap th{
    background:#f8fafc;
    font-weight:900;
    white-space:nowrap;
}body.page-farmer-upload .alert-error{
    background:#ffebee;
    color:#b71c1c;
    padding:16px;
    border-radius:14px;
    margin-bottom:20px;
    font-weight:800;
    border:1px solid #ffcdd2;
}body.page-farmer-upload .alert-success{
    background:#e8f5e9;
    color:#1b5e20;
    padding:16px;
    border-radius:14px;
    margin-bottom:20px;
    font-weight:800;
    border:1px solid #c8e6c9;
}@media(max-width:900px){body.page-farmer-upload .page-top{
        flex-direction:column;
    }body.page-farmer-upload .mode-grid, body.page-farmer-upload .form-grid, body.page-farmer-upload .mapping-row{
        grid-template-columns:1fr;
    }
}


/* configuration.php */body.page-configuration .config-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}body.page-configuration .config-header h1{margin-bottom:6px}body.page-configuration .config-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}body.page-configuration .config-tabs a{text-decoration:none;padding:10px 15px;border-radius:999px;background:#fff;color:#1f2937;border:1px solid #e2e8f0;font-weight:800;font-size:14px}body.page-configuration .config-tabs a.active, body.page-configuration .config-tabs a:hover{background:#2c7a2c;color:#fff;border-color:#2c7a2c}body.page-configuration .metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:20px 0 26px}body.page-configuration .metric-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}body.page-configuration .section-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:8px 0 22px;padding:20px 24px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 8px 20px rgba(15,23,42,.04)}body.page-configuration .section-banner h2{margin:0 0 6px;font-size:28px;color:#243142;font-weight:900}body.page-configuration .section-banner p{margin:0;color:#667085;font-size:15px}body.page-configuration .section-banner-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap}body.page-configuration .metric-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:22px;box-shadow:0 8px 18px rgba(15,23,42,.04);display:flex;gap:16px;align-items:center}body.page-configuration .metric-number{min-width:54px;max-width:110px;overflow:hidden;text-overflow:ellipsis;height:54px;border-radius:16px;background:#e8f5e9;color:#2c7a2c;font-size:24px;font-weight:900;display:flex;align-items:center;justify-content:center}body.page-configuration .metric-card h3{font-size:18px;margin:0 0 6px;color:#243142}body.page-configuration .metric-card p{margin:0;color:#667085;font-size:14px;line-height:1.45}body.page-configuration .records-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:24px;box-shadow:0 8px 20px rgba(15,23,42,.04);margin-bottom:24px}body.page-configuration .records-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}body.page-configuration .records-title h2{color:#2c7a2c;margin:0 0 6px;font-size:24px}body.page-configuration .records-title p{margin:0;color:#667085}body.page-configuration .action-bar{display:grid;grid-template-columns:minmax(220px,1fr) 190px auto;gap:12px;align-items:end;margin:16px 0 22px}body.page-configuration .action-bar input, body.page-configuration .action-bar select{margin:0}body.page-configuration .button-soft, body.page-configuration .add-toggle{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:12px;background:#2c7a2c;color:#fff;text-decoration:none;border:0;font-weight:900;box-shadow:0 8px 16px rgba(44,122,44,.16);cursor:pointer}body.page-configuration .button-outline{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border-radius:12px;background:#fff;color:#2c7a2c;text-decoration:none;border:1px solid #b8dfbd;font-weight:900}body.page-configuration .records-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden}body.page-configuration .records-table th{background:#f8fafc;text-align:left;color:#243142;font-weight:900;font-size:14px;padding:13px}body.page-configuration .records-table td{border-top:1px solid #e2e8f0;padding:13px;color:#243142;vertical-align:middle}body.page-configuration .status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:900}body.page-configuration .status-active{background:#e8f5e9;color:#1b7f2a}body.page-configuration .status-inactive{background:#f1f5f9;color:#475569}body.page-configuration .status-pending{background:#fff4d6;color:#9a6700}body.page-configuration .table-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}body.page-configuration .inline-action{display:inline;margin:0}body.page-configuration .link-action{border:0;background:transparent;color:#2c7a2c;font-weight:900;cursor:pointer;padding:0;text-decoration:none}body.page-configuration .danger-link{color:#b42318}body.page-configuration .info-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;background:#e8f5e9;color:#2c7a2c;font-size:12px;font-weight:900;margin-left:6px;cursor:help}body.page-configuration .config-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:18px;margin-bottom:18px}body.page-configuration .config-panel summary{cursor:pointer;font-weight:900;color:#2c7a2c;font-size:16px}body.page-configuration .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}body.page-configuration .form-grid label{font-size:13px;font-weight:900;color:#243142;display:block;margin-bottom:7px}body.page-configuration .form-grid input, body.page-configuration .form-grid select, body.page-configuration .form-grid textarea, body.page-configuration .action-bar input, body.page-configuration .action-bar select{width:100%;border:1px solid #d9e1e7;border-radius:12px;padding:12px 14px;font-size:15px;background:#fff}body.page-configuration .form-grid textarea{min-height:92px}body.page-configuration .form-actions{grid-column:1/-1;display:flex;gap:12px;align-items:center}body.page-configuration .gateway-balance{font-size:34px;font-weight:900;color:#2c7a2c;margin:4px 0 10px}body.page-configuration .gateway-meta{color:#667085;line-height:1.6}body.page-configuration .gateway-status{margin-top:14px;padding:14px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;font-size:13px;line-height:1.6}body.page-configuration .gateway-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}body.page-configuration .overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}body.page-configuration .pagination-row{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:16px;color:#667085;font-weight:800}body.page-configuration .alert-success, body.page-configuration .alert-error{margin-bottom:14px}@media(max-width:1100px){body.page-configuration .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.page-configuration .overview-grid{grid-template-columns:1fr}body.page-configuration .action-bar{grid-template-columns:1fr}body.page-configuration .form-grid{grid-template-columns:1fr}}@media(max-width:640px){body.page-configuration .metric-grid{grid-template-columns:1fr}body.page-configuration .config-header{display:block}body.page-configuration .records-table{font-size:13px}}body.page-configuration .settings-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}body.page-configuration .settings-group-card{background:#fbfcfc;border:1px solid #e2e8f0;border-radius:16px;padding:16px}body.page-configuration .settings-group-card h3{margin:0 0 6px;color:#243142;font-size:16px}body.page-configuration .settings-group-card p{margin:0;color:#667085;font-size:13px;line-height:1.4}body.page-configuration .settings-value{max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.page-configuration .copy-key{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;background:#f1f5f9;border-radius:8px;padding:5px 7px;color:#334155}body.page-configuration .full-field{grid-column:1/-1}@media(max-width:1100px){body.page-configuration .settings-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){body.page-configuration .settings-group-grid{grid-template-columns:1fr}}body.page-configuration /* Human-centered configuration workspace */
.settings-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start;margin-top:8px}body.page-configuration .settings-side{position:sticky;top:20px;background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 8px 20px rgba(15,23,42,.04);padding:16px}body.page-configuration .settings-side-title{font-weight:900;color:#243142;margin:2px 0 12px}body.page-configuration .settings-nav{display:flex;flex-direction:column;gap:8px}body.page-configuration .settings-nav a{text-decoration:none;color:#243142;border:1px solid #e2e8f0;border-radius:14px;padding:12px 13px;background:#fbfcfc;font-weight:800}body.page-configuration .settings-nav a:hover, body.page-configuration .settings-nav a.active{border-color:#2c7a2c;background:#f4fbf5;color:#2c7a2c}body.page-configuration .settings-main{display:flex;flex-direction:column;gap:18px}body.page-configuration .settings-hero{background:linear-gradient(135deg,#1f6b2a 0%,#2c7a2c 45%,#2f9e44 100%);color:#fff;border-radius:22px;padding:24px;box-shadow:0 10px 26px rgba(44,122,44,.12);display:flex;justify-content:space-between;gap:20px;align-items:flex-start}body.page-configuration .settings-hero h2{color:#fff;margin:0 0 8px;font-size:28px}body.page-configuration .settings-hero p{color:rgba(255,255,255,.88);margin:0;line-height:1.5}body.page-configuration .settings-hero .status-pill{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.25)}body.page-configuration .setting-section{background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 8px 20px rgba(15,23,42,.04);padding:22px}body.page-configuration .setting-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px}body.page-configuration .setting-section h3{margin:0 0 6px;color:#2c7a2c;font-size:22px}body.page-configuration .setting-section p{margin:0;color:#667085;line-height:1.5}body.page-configuration .setting-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}body.page-configuration .setting-control{border:1px solid #e2e8f0;border-radius:16px;background:#fbfcfc;padding:16px}body.page-configuration .setting-control label{display:flex;justify-content:space-between;gap:12px;align-items:center;font-weight:900;color:#243142;margin-bottom:8px}body.page-configuration .setting-control small{display:block;color:#667085;line-height:1.4;margin-top:8px}body.page-configuration .setting-control input, body.page-configuration .setting-control select{margin-bottom:0}body.page-configuration .setting-control-actions{display:flex;gap:10px;align-items:center;margin-top:12px}body.page-configuration .setting-advanced{margin-top:18px}body.page-configuration .setting-advanced summary{font-weight:900;color:#2c7a2c;cursor:pointer}body.page-configuration .setting-list-note{color:#667085;font-size:14px;margin-bottom:12px}body.page-configuration .settings-empty{background:#fbfcfc;border:1px dashed #b7dfbd;border-radius:16px;padding:20px;color:#667085}body.page-configuration .switch-row{display:flex;align-items:center;gap:12px}body.page-configuration .switch-row select{max-width:180px}body.page-configuration .compact-button{padding:10px 14px;border-radius:10px;font-size:13px}@media(max-width:1100px){body.page-configuration .settings-workspace{grid-template-columns:1fr}body.page-configuration .settings-side{position:static}body.page-configuration .settings-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body.page-configuration .setting-control-grid{grid-template-columns:1fr}}@media(max-width:640px){body.page-configuration .settings-nav{grid-template-columns:1fr}body.page-configuration .settings-hero, body.page-configuration .setting-section-head{display:block}}


/* users.php */body.page-users .users-page{
    max-width:1180px;
}body.page-users .page-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px;
}body.page-users .top-link{
    background:#ffffff;
    color:var(--green);
    border:1px solid var(--border);
    padding:11px 16px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
    box-shadow:0 3px 10px rgba(15,23,42,0.04);
    white-space:nowrap;
}body.page-users .mode-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    margin-bottom:24px;
}body.page-users .mode-card{
    display:flex;
    gap:16px;
    align-items:center;
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:22px;
    text-decoration:none;
    color:var(--text);
    box-shadow:0 6px 18px rgba(15,23,42,0.05);
    transition:0.2s;
}body.page-users .mode-card:hover{
    transform:translateY(-2px);
    border-color:#b7dfbd;
}body.page-users .mode-card.active{
    border-color:var(--green);
    background:linear-gradient(180deg,#ffffff,#f4fbf5);
    box-shadow:0 10px 26px rgba(44,122,44,0.12);
}body.page-users .mode-icon{
    width:54px;
    height:54px;
    border-radius:16px;
    background:var(--green-light);
    color:var(--green);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    font-weight:900;
    flex-shrink:0;
}body.page-users .mode-card.active .mode-icon{
    background:var(--green);
    color:#ffffff;
}body.page-users .mode-card h3{
    margin-bottom:5px;
    font-size:18px;
}body.page-users .mode-card p{
    color:var(--muted);
    font-size:13px;
    line-height:1.5;
}body.page-users .modern-card{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:26px;
    margin-bottom:24px;
    box-shadow:0 8px 24px rgba(15,23,42,0.06);
}body.page-users .card-heading{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:22px;
}body.page-users .card-heading h2{
    font-size:25px;
    margin-bottom:5px;
}body.page-users .card-heading p{
    color:var(--muted);
    font-size:14px;
}body.page-users .status-pill{
    background:#f2f4f7;
    color:#344054;
    padding:7px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}body.page-users .status-pill.green{
    background:var(--green-light);
    color:var(--green);
}body.page-users .form-grid, body.page-users .detail-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}body.page-users .field{
    margin-bottom:0;
}body.page-users .field label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    font-weight:800;
    color:#243142;
}body.page-users .field input, body.page-users .field select{
    height:48px;
    border-radius:12px;
    border:1px solid #d9e1e7;
    padding:0 14px;
    margin-bottom:0;
    background:#ffffff;
    font-size:15px;
}body.page-users .field input:focus, body.page-users .field select:focus{
    outline:none;
    border-color:var(--green);
    box-shadow:0 0 0 4px rgba(44,122,44,0.12);
}body.page-users .form-actions{
    display:flex;
    align-items:center;
    gap:14px;
    margin-top:24px;
    flex-wrap:wrap;
}body.page-users .form-actions button{
    background:var(--green);
    color:#ffffff;
    border:none;
    padding:13px 22px;
    border-radius:12px;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 6px 14px rgba(44,122,44,0.16);
}body.page-users .form-actions a{
    color:var(--green);
    font-weight:800;
    text-decoration:none;
}body.page-users .view-card{
    border-color:#b7dfbd;
    background:linear-gradient(180deg,#ffffff,#fbfffb);
}body.page-users .detail-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    margin-bottom:24px;
}body.page-users .detail-box{
    border:1px solid var(--border);
    border-radius:16px;
    padding:18px;
    background:#ffffff;
}body.page-users .detail-box span{
    display:block;
    color:var(--muted);
    font-size:12px;
    font-weight:800;
    margin-bottom:6px;
    text-transform:uppercase;
    letter-spacing:.04em;
}body.page-users .detail-box strong{
    color:#243142;
    font-size:16px;
}body.page-users .split-grid{
    display:grid;
    grid-template-columns:1fr 2fr;
    gap:22px;
    padding-top:22px;
    border-top:1px solid var(--border);
}body.page-users .split-grid h3{
    margin-bottom:12px;
    font-size:17px;
}body.page-users .pill-list, body.page-users .permission-list{
    display:flex;
    gap:8px;
    align-items:flex-start;
    flex-wrap:wrap;
}body.page-users .permission-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 10px;
    border-radius:999px;
    background:#f8fafc;
    color:#344054;
    border:1px solid var(--border);
    font-size:12px;
    font-weight:800;
}body.page-users .empty-note{
    background:#f8fafc;
    border:1px solid var(--border);
    color:var(--muted);
    border-radius:14px;
    padding:14px;
    font-size:13px;
    line-height:1.5;
}body.page-users .table-wrap{
    width:100%;
    overflow:auto;
    border:1px solid var(--border);
    border-radius:14px;
}body.page-users .table-wrap table{
    margin-bottom:0;
    min-width:900px;
}body.page-users .table-wrap th{
    background:#f8fafc;
    font-weight:900;
    white-space:nowrap;
}body.page-users .table-wrap td{
    vertical-align:middle;
}body.page-users .badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 10px;
    border-radius:999px;
    background:var(--green-light);
    color:var(--green);
    font-size:12px;
    font-weight:900;
}body.page-users .badge.suspended{
    background:#fff3cd;
    color:#9a6700;
}body.page-users .badge.archived{
    background:#f2f4f7;
    color:#475467;
}body.page-users .actions{
    white-space:nowrap;
}body.page-users .actions a{
    display:inline-block;
    margin-right:10px;
    color:var(--green);
    text-decoration:none;
    font-weight:900;
    font-size:13px;
}body.page-users .actions .view-link{
    background:var(--green);
    color:#ffffff;
    padding:7px 10px;
    border-radius:999px;
    box-shadow:0 4px 10px rgba(44,122,44,0.16);
}body.page-users .alert-error{
    background:#ffebee;
    color:#b71c1c;
    padding:16px;
    border-radius:14px;
    margin-bottom:20px;
    font-weight:800;
    border:1px solid #ffcdd2;
}body.page-users .alert-success{
    background:#e8f5e9;
    color:#1b5e20;
    padding:16px;
    border-radius:14px;
    margin-bottom:20px;
    font-weight:800;
    border:1px solid #c8e6c9;
}@media(max-width:1100px){body.page-users .mode-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }body.page-users .split-grid, body.page-users .detail-grid{
        grid-template-columns:1fr;
    }
}@media(max-width:900px){body.page-users .page-top{
        flex-direction:column;
    }body.page-users .mode-grid, body.page-users .form-grid{
        grid-template-columns:1fr;
    }body.page-users .top-link{
        width:100%;
        text-align:center;
    }
}


/* advisory-compose.php */body.page-advisory-compose .variable-panel{
    width:100%;
    border:1px solid #e5e7eb;
    border-radius:20px;
    background:linear-gradient(180deg,#ffffff 0%,#fbfffb 100%);
    padding:22px 26px;
    margin:18px 0;
}body.page-advisory-compose .variable-panel-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    margin-bottom:20px;
}body.page-advisory-compose .variable-panel h3{
    margin:0 0 6px;
    color:#243142;
    font-size:22px;
    line-height:1.2;
}body.page-advisory-compose .variable-panel p{
    margin:0;
    color:#667085;
    font-size:16px;
    line-height:1.45;
}body.page-advisory-compose .variable-toolbar{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}body.page-advisory-compose .variable-chip{
    border:none;
    background:#e8f5e9;
    color:#2c7a2c;
    padding:10px 16px;
    border-radius:999px;
    font-size:16px;
    font-weight:900;
    cursor:pointer;
    box-shadow:none;
}body.page-advisory-compose .variable-chip:hover{
    background:#dff2e1;
}body.page-advisory-compose .advanced-toggle{
    background:#ffffff;
    color:#2c7a2c;
    border:1px solid #e5e7eb;
    box-shadow:none;
    padding:10px 18px;
    border-radius:999px;
    font-size:16px;
    font-weight:900;
    white-space:nowrap;
    cursor:pointer;
}body.page-advisory-compose .advanced-variables{
    display:none;
    margin-top:18px;
    padding-top:18px;
    border-top:1px solid #e5e7eb;
}body.page-advisory-compose .advanced-variables.open{
    display:flex;
}@media(max-width:760px){body.page-advisory-compose .variable-panel{padding:18px}body.page-advisory-compose .variable-panel-head{flex-direction:column}
}


/* surveys.php */body.page-surveys .surveys-page{
    max-width:1240px;
    margin:0 auto;
}body.page-surveys .survey-row{
    margin-bottom:24px;
}body.page-surveys .survey-hero{
    background:linear-gradient(135deg,#1f6b2a 0%,#2c7a2c 45%,#2f9e44 100%);
    color:#ffffff;
    border-radius:22px;
    padding:30px;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:24px;
    box-shadow:0 10px 26px rgba(44,122,44,0.12);
}body.page-surveys .survey-hero h1{
    color:#ffffff;
    margin-bottom:8px;
}body.page-surveys .survey-hero p{
    color:rgba(255,255,255,0.9);
    max-width:820px;
    line-height:1.6;
}body.page-surveys .hero-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    justify-content:flex-end;
}body.page-surveys .hero-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:44px;
    padding:12px 16px;
    border-radius:12px;
    background:#ffffff;
    color:#1f6b2a;
    font-weight:900;
    text-decoration:none;
    border:1px solid rgba(255,255,255,0.35);
    box-shadow:0 6px 14px rgba(15,23,42,0.12);
    white-space:nowrap;
}body.page-surveys .hero-btn.secondary{
    background:rgba(255,255,255,0.12);
    color:#ffffff;
}body.page-surveys .phone-preview-shell{background:#0b1836;border-radius:20px;padding:14px;height:100%;display:flex;flex-direction:column}body.page-surveys .phone-preview-head{color:#c8d2e2;font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;margin:0 0 10px 2px}body.page-surveys .phone-preview-body{background:#f3f5f8;border-radius:16px;padding:14px;display:grid;gap:10px;flex:1;overflow:auto}body.page-surveys .phone-msg{border:1px solid #e5e7eb;border-radius:20px;padding:12px 14px;position:relative}body.page-surveys .phone-msg .meta{font-size:11px;color:#667085;font-weight:900;text-transform:uppercase;margin-bottom:6px}body.page-surveys .phone-msg .stamp{display:block;margin-top:10px;font-size:11px;color:#98a2b3;text-align:right}body.page-surveys .phone-msg.outbound{max-width:92%;justify-self:start;background:#ffffff;border-radius:20px 20px 20px 8px}body.page-surveys .phone-msg.inbound{max-width:100%;width:100%;justify-self:stretch;background:#dcf8c6;border-color:#b7dfbd;border-radius:20px 20px 8px 20px}body.page-surveys .phone-msg.inbound .stamp{position:static;display:block;width:100%;text-align:right}body.page-surveys .score-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#ecfdf3;color:#027a48;border:1px solid #abefc6;padding:3px 8px;font-size:11px;font-weight:800;margin-top:6px}body.page-surveys .preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:stretch}body.page-surveys .preview-column{border:1px solid #e5e7eb;background:#fbfcfc;border-radius:16px;padding:14px;height:100%;overflow:auto}body.page-surveys .preview-question{border:1px solid #e5e7eb;background:#fff;border-radius:14px;padding:12px;margin-bottom:10px}body.page-surveys .preview-question:last-child{margin-bottom:0}body.page-surveys .preview-options{margin-top:8px;color:#667085;font-size:13px;line-height:1.5}body.page-surveys .impact-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#ecfdf3;color:#027a48;border:1px solid #abefc6;padding:3px 8px;font-size:11px;font-weight:800;margin-left:8px}body.page-surveys .survey-kpi-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
}body.page-surveys .survey-kpi-card, body.page-surveys .health-card, body.page-surveys .survey-card{
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    box-shadow:0 6px 18px rgba(15,23,42,0.05);
}body.page-surveys .survey-kpi-card{
    padding:22px;
    border-left:5px solid #2c7a2c;
}body.page-surveys .survey-kpi-label{
    color:#667085;
    font-size:13px;
    font-weight:800;
    margin-bottom:10px;
}body.page-surveys .survey-kpi-number{
    font-size:32px;
    font-weight:900;
    color:#2c7a2c;
    line-height:1;
}body.page-surveys .survey-kpi-note{
    color:#667085;
    font-size:12px;
    margin-top:9px;
    line-height:1.4;
}body.page-surveys .health-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:14px;
}body.page-surveys .health-card{
    padding:18px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    min-height:112px;
}body.page-surveys .health-card strong{
    display:block;
    color:#1f2937;
    font-size:14px;
    margin-bottom:6px;
}body.page-surveys .health-card span.health-text{
    display:block;
    color:#667085;
    font-size:12px;
    line-height:1.5;
}body.page-surveys .survey-card{
    padding:24px;
}body.page-surveys .detail-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}body.page-surveys .detail-grid > div{
    border:1px solid #e5e7eb;
    background:#fbfcfc;
    border-radius:14px;
    padding:14px;
}body.page-surveys .detail-grid strong{
    display:block;
    color:#667085;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.02em;
    margin-bottom:6px;
}body.page-surveys .detail-grid span{
    display:block;
    color:#1f2937;
    font-weight:800;
}body.page-surveys .card-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;
    margin-bottom:20px;
}body.page-surveys .card-top h2{
    color:#2c7a2c;
    font-size:24px;
    margin-bottom:6px;
}body.page-surveys .card-top p{
    color:#667085;
    font-size:14px;
    line-height:1.5;
}body.page-surveys .status-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:18px;
}body.page-surveys .status-tab{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 14px;
    border-radius:999px;
    border:1px solid #e5e7eb;
    background:#ffffff;
    color:#475467;
    text-decoration:none;
    font-size:13px;
    font-weight:900;
}body.page-surveys .status-tab.active{
    background:#e8f5e9;
    border-color:#b7dfbd;
    color:#2c7a2c;
}body.page-surveys .status-tab span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:24px;
    height:24px;
    padding:0 7px;
    border-radius:999px;
    background:#f2f4f7;
    color:#475467;
    font-size:12px;
}body.page-surveys .status-tab.active span{
    background:#2c7a2c;
    color:#ffffff;
}body.page-surveys .survey-filter-row{
    display:grid;
    grid-template-columns:minmax(240px,1fr) 180px auto auto;
    gap:12px;
    align-items:center;
    margin-bottom:20px;
}body.page-surveys .survey-filter-row input, body.page-surveys .survey-filter-row select{
    margin-bottom:0;
}body.page-surveys .survey-filter-row .soft-btn{
    min-height:48px;
}body.page-surveys .survey-table-wrap{
    width:100%;
    overflow:auto;
    border:1px solid #e5e7eb;
    border-radius:16px;
}body.page-surveys .survey-table{
    width:100%;
    min-width:980px;
    border-collapse:collapse;
}body.page-surveys .survey-table th{
    background:#f8fafc;
    color:#344054;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.02em;
    white-space:nowrap;
}body.page-surveys .survey-table th, body.page-surveys .survey-table td{
    padding:14px;
    border-bottom:1px solid #e5e7eb;
    vertical-align:middle;
}body.page-surveys .survey-table tr:last-child td{
    border-bottom:none;
}body.page-surveys .flow-steps{
    display:grid;
    gap:10px;
    min-width:360px;
}body.page-surveys .flow-step{
    border:1px solid #e5e7eb;
    background:#fbfcfc;
    border-radius:12px;
    padding:10px;
}body.page-surveys .flow-step-label{
    display:inline-flex;
    border-radius:999px;
    background:#e8f5e9;
    color:#2c7a2c;
    font-size:11px;
    font-weight:900;
    padding:3px 8px;
    margin-bottom:6px;
}body.page-surveys .flow-sent, body.page-surveys .flow-answer{
    color:#344054;
    font-size:12px;
    line-height:1.45;
}body.page-surveys .flow-answer{
    margin-top:4px;
}body.page-surveys .flow-answer span{
    color:#667085;
    margin-left:6px;
}body.page-surveys .response-filter-row{
    display:grid;
    grid-template-columns:minmax(240px,1fr) 180px 130px auto auto;
    gap:12px;
    align-items:center;
    margin-bottom:18px;
}body.page-surveys .response-filter-row input, body.page-surveys .response-filter-row select{
    height:48px;
    margin:0;
}body.page-surveys .participant-flow-list{
    display:grid;
    gap:12px;
}body.page-surveys .participant-flow{
    border:1px solid #e5e7eb;
    background:#ffffff;
    border-radius:16px;
    overflow:hidden;
}body.page-surveys .participant-flow summary{
    cursor:pointer;
    list-style:none;
    display:grid;
    grid-template-columns:1.2fr .8fr .8fr 1fr;
    gap:14px;
    align-items:center;
    padding:16px;
}body.page-surveys .participant-flow summary::-webkit-details-marker{
    display:none;
}body.page-surveys .participant-number{
    color:#1f2937;
    font-weight:900;
    font-size:16px;
}body.page-surveys .participant-meta{
    color:#667085;
    font-size:12px;
    margin-top:4px;
}body.page-surveys .participant-flow-body{
    border-top:1px solid #e5e7eb;
    padding:16px;
    background:#fbfcfc;
}body.page-surveys .response-pagination{
    display:flex;
    justify-content:space-between;
    gap:14px;
    align-items:center;
    margin-top:18px;
    flex-wrap:wrap;
}body.page-surveys .response-page-links{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}body.page-surveys .survey-name{
    font-weight:900;
    color:#1f2937;
    margin-bottom:6px;
}body.page-surveys .survey-description{
    color:#667085;
    font-size:13px;
    line-height:1.45;
    max-width:520px;
}body.page-surveys .survey-keyword{
    display:inline-flex;
    align-items:center;
    margin-top:8px;
    padding:5px 9px;
    border-radius:999px;
    background:#f2f4f7;
    color:#475467;
    font-size:12px;
    font-weight:900;
}body.page-surveys .metric-stack strong{
    display:block;
    color:#1f2937;
    font-size:18px;
    line-height:1.1;
}body.page-surveys .metric-stack span{
    display:block;
    color:#667085;
    font-size:12px;
    margin-top:4px;
}body.page-surveys .progress-line{
    width:120px;
    height:8px;
    border-radius:999px;
    background:#f2f4f7;
    overflow:hidden;
    margin-top:8px;
}body.page-surveys .progress-fill{
    height:100%;
    border-radius:999px;
    background:#2c7a2c;
}body.page-surveys .action-group{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    min-width:220px;
}body.page-surveys .action-button, body.page-surveys .action-group button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:8px 11px;
    border-radius:999px;
    border:none;
    background:#e8f5e9;
    color:#2c7a2c;
    text-decoration:none;
    font-size:12px;
    font-weight:900;
    cursor:pointer;
    box-shadow:none;
    margin:0;
}body.page-surveys .action-button.primary{
    background:#2c7a2c;
    color:#ffffff;
}body.page-surveys .action-button.warning, body.page-surveys .action-group button.warning{
    background:#fff3cd;
    color:#9a6700;
}body.page-surveys .action-button.muted, body.page-surveys .action-group button.muted{
    background:#f2f4f7;
    color:#475467;
}body.page-surveys .inline-form{
    display:inline-flex;
    margin:0;
}body.page-surveys .info-badge{
    background:#eff8ff;
    color:#175cd3;
}body.page-surveys .empty-state{
    text-align:center;
    padding:40px 24px;
    color:#667085;
}body.page-surveys .empty-state strong{
    display:block;
    color:#1f2937;
    font-size:18px;
    margin-bottom:6px;
}body.page-surveys .activity-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:14px;
}body.page-surveys .activity-item{
    border:1px solid #e5e7eb;
    background:#fbfcfc;
    border-radius:14px;
    padding:14px;
    min-height:132px;
}body.page-surveys .activity-title{
    color:#1f2937;
    font-weight:900;
    font-size:14px;
    margin-bottom:6px;
}body.page-surveys .activity-meta{
    color:#667085;
    font-size:12px;
    line-height:1.5;
}@media(max-width:1180px){body.page-surveys .survey-kpi-grid, body.page-surveys .health-grid, body.page-surveys .activity-grid, body.page-surveys .detail-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}@media(max-width:760px){body.page-surveys .survey-hero, body.page-surveys .card-top{
        flex-direction:column;
    }body.page-surveys .hero-actions{
        justify-content:flex-start;
    }body.page-surveys .survey-kpi-grid, body.page-surveys .health-grid, body.page-surveys .activity-grid, body.page-surveys .survey-filter-row, body.page-surveys .response-filter-row, body.page-surveys .preview-grid, body.page-surveys .detail-grid{
        grid-template-columns:1fr;
    }body.page-surveys .participant-flow summary{
        grid-template-columns:1fr;
    }
}


/* scheduled.php */body.page-scheduled .scheduled-page{max-width:1280px}body.page-scheduled .scheduled-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:28px}body.page-scheduled .scheduled-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}body.page-scheduled .scheduled-tabs-card, body.page-scheduled .scheduled-panel, body.page-scheduled .campaign-control-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;box-shadow:0 6px 18px rgba(15,23,42,.05)}body.page-scheduled .scheduled-tabs-card{padding:18px;margin:22px 0}body.page-scheduled .status-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}body.page-scheduled .status-tab{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;color:#243142;text-decoration:none;font-weight:900;font-size:13px;transition:.2s}body.page-scheduled .status-tab:hover, body.page-scheduled .status-tab.active{background:#e8f5e9;border-color:#b7dfbd;color:#2c7a2c}body.page-scheduled .status-tab span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:12px}body.page-scheduled .status-tab.active span{background:#fff;color:#2c7a2c}body.page-scheduled .scheduled-filter-row{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr auto;gap:12px;align-items:center}body.page-scheduled .scheduled-filter-row input, body.page-scheduled .scheduled-filter-row select{margin-bottom:0}body.page-scheduled .scheduled-dashboard-grid{display:grid;grid-template-columns:1fr;gap:22px;margin-bottom:22px}body.page-scheduled .scheduled-panel{padding:24px}body.page-scheduled .panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}body.page-scheduled .panel-heading h2{color:#2c7a2c;font-size:24px;margin:0 0 4px}body.page-scheduled .panel-heading p{color:#667085;margin:0;line-height:1.4}body.page-scheduled .summary-box{background:#fbfcfc;border:1px solid #e5e7eb;border-radius:16px;padding:16px}body.page-scheduled .summary-label{color:#667085;font-size:13px;margin-bottom:8px}body.page-scheduled .summary-value{color:#1f2937;font-size:24px;font-weight:900}body.page-scheduled .summary-note{color:#667085;font-size:12px;margin-top:6px}body.page-scheduled .operations-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}body.page-scheduled .campaign-control-card{overflow:hidden;margin-bottom:24px}body.page-scheduled .campaign-control-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px;border-bottom:1px solid #e5e7eb}body.page-scheduled .campaign-control-head h2{margin:0 0 4px;color:#2c7a2c;font-size:24px}body.page-scheduled .campaign-control-head p{color:#667085;margin:0}body.page-scheduled .campaign-list{display:flex;flex-direction:column}body.page-scheduled .campaign-card{display:grid;grid-template-columns:52px minmax(260px,1.5fr) minmax(130px,.7fr) minmax(180px,.9fr) minmax(170px,.9fr) minmax(125px,.7fr) minmax(120px,.65fr) auto;gap:18px;align-items:center;padding:22px 24px;border-bottom:1px solid #e5e7eb}body.page-scheduled .campaign-card:last-child{border-bottom:none}body.page-scheduled .campaign-avatar{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#e8f5e9;color:#2c7a2c;font-weight:900;font-size:20px}body.page-scheduled .campaign-name{font-size:16px;font-weight:900;color:#1f2937;margin-bottom:5px}body.page-scheduled .campaign-message{color:#475467;font-size:13px;line-height:1.35;max-width:520px}body.page-scheduled .campaign-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}body.page-scheduled .type-pill, body.page-scheduled .meta-pill, body.page-scheduled .ek-status{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;white-space:nowrap}body.page-scheduled .type-broadcast{background:#e8f5e9;color:#1b5e20}body.page-scheduled .type-advisory{background:#eff6ff;color:#1d4ed8}body.page-scheduled .type-survey{background:#f5f3ff;color:#6d28d9}body.page-scheduled .meta-pill{background:#f2f4f7;color:#344054}body.page-scheduled .meta-pill.green{background:#e8f5e9;color:#1b5e20}body.page-scheduled .ek-status-scheduled{background:#e0f2fe;color:#0369a1}body.page-scheduled .ek-status-queued{background:#fff7ed;color:#c2410c}body.page-scheduled .ek-status-sending{background:#f5f3ff;color:#6d28d9}body.page-scheduled .ek-status-muted{background:#f2f4f7;color:#475467}body.page-scheduled .metric-label{color:#667085;font-size:12px;font-weight:800;margin-bottom:5px}body.page-scheduled .metric-value{color:#1f2937;font-size:15px;font-weight:900;line-height:1.35}body.page-scheduled .metric-note{color:#667085;font-size:12px;margin-top:4px;line-height:1.35}body.page-scheduled .progress-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}body.page-scheduled .progress-track{width:100%;height:9px;border-radius:999px;background:#edf1f3;overflow:hidden}body.page-scheduled .progress-bar{height:100%;border-radius:999px;background:#0369a1}body.page-scheduled .progress-bar.queued{background:#c2410c}body.page-scheduled .progress-bar.sending, body.page-scheduled .progress-bar.processing{background:#6d28d9}body.page-scheduled .card-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}body.page-scheduled .action-button, body.page-scheduled .action-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 13px;border-radius:999px;border:none;cursor:pointer;text-decoration:none;font-weight:900;font-size:13px;white-space:nowrap;box-shadow:none}body.page-scheduled .action-link.primary, body.page-scheduled .action-button.primary{background:#2c7a2c;color:#fff;box-shadow:0 6px 14px rgba(44,122,44,.16)}body.page-scheduled .action-link.soft, body.page-scheduled .action-button.soft{background:#e8f5e9;color:#2c7a2c}body.page-scheduled .action-button.danger{background:#ffebee;color:#b71c1c}body.page-scheduled .inline-form{display:inline-flex}body.page-scheduled .empty-campaigns{padding:36px 24px;text-align:center;color:#667085}body.page-scheduled .empty-campaigns strong{display:block;color:#2c7a2c;font-size:20px;margin-bottom:6px}body.page-scheduled .kpi-card{position:relative;overflow:hidden}body.page-scheduled .kpi-card:after{content:'';position:absolute;right:-28px;top:-28px;width:88px;height:88px;border-radius:50%;background:#e8f5e9;opacity:.8}body.page-scheduled .pagination-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;border-top:1px solid #e5e7eb;background:#fbfcfc}body.page-scheduled .pagination-info{color:#667085;font-size:13px;font-weight:700}body.page-scheduled .pagination-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap}body.page-scheduled .page-link{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;color:#243142;text-decoration:none;font-weight:900;font-size:13px}body.page-scheduled .page-link.active{background:#2c7a2c;color:#fff;border-color:#2c7a2c}body.page-scheduled .page-link.disabled{opacity:.45;pointer-events:none}body.page-scheduled .action-link.danger, body.page-scheduled .action-button.delete{background:#ffebee;color:#b71c1c}body.page-scheduled .action-link.outline{background:#fff;color:#2c7a2c;border:1px solid #b7dfbd}body.page-scheduled .selected-details-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;box-shadow:0 6px 18px rgba(15,23,42,.05);margin-bottom:24px;overflow:hidden}body.page-scheduled .selected-details-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px;border-bottom:1px solid #e5e7eb}body.page-scheduled .selected-details-head h2{margin:0 0 5px;color:#2c7a2c;font-size:24px}body.page-scheduled .selected-details-head p{margin:0;color:#667085}body.page-scheduled .details-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;padding:24px}body.page-scheduled .details-section{background:#fbfcfc;border:1px solid #e5e7eb;border-radius:18px;padding:18px}body.page-scheduled .details-section h3{margin:0 0 14px;color:#1f2937;font-size:16px}body.page-scheduled .details-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}body.page-scheduled .details-kpi{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:14px}body.page-scheduled .details-kpi span{display:block;color:#667085;font-size:12px;font-weight:800;margin-bottom:7px}body.page-scheduled .details-kpi strong{font-size:20px;color:#1f2937}body.page-scheduled .phone-preview-mini{max-width:310px;margin:0 auto;border:12px solid #e5e7eb;border-radius:34px;background:#fff;padding:26px 18px;min-height:330px}body.page-scheduled .phone-preview-mini .phone-sender{font-weight:900;color:#1f2937;border-bottom:1px solid #e5e7eb;padding-bottom:10px;margin-bottom:14px}body.page-scheduled .phone-preview-mini .phone-bubble{background:#e8f5e9;border-radius:16px;padding:14px;color:#1f2937;line-height:1.45}body.page-scheduled .ledger-table-wrap{padding:0 24px 24px}body.page-scheduled .ledger-table-wrap table{background:#fff}body.page-scheduled .ledger-table-wrap th{background:#f8fafc}body.page-scheduled .details-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}body.page-scheduled .details-actions .inline-form{display:inline-flex}body.page-scheduled .details-network-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:14px}body.page-scheduled .tz-chip{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 11px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:900}@media(max-width:1200px){body.page-scheduled .campaign-card{grid-template-columns:52px 1fr 1fr}body.page-scheduled .card-actions{grid-column:1 / -1;justify-content:flex-start}}@media(max-width:900px){body.page-scheduled .scheduled-top, body.page-scheduled .campaign-control-head, body.page-scheduled .panel-heading, body.page-scheduled .pagination-wrap{flex-direction:column}body.page-scheduled .scheduled-actions, body.page-scheduled .scheduled-actions a{width:100%}body.page-scheduled .scheduled-filter-row, body.page-scheduled .scheduled-dashboard-grid, body.page-scheduled .operations-grid, body.page-scheduled .campaign-card, body.page-scheduled .details-grid, body.page-scheduled .details-kpi-grid{grid-template-columns:1fr}body.page-scheduled .campaign-avatar{width:46px;height:46px}body.page-scheduled .card-actions, body.page-scheduled .action-link, body.page-scheduled .action-button, body.page-scheduled .inline-form{width:100%}body.page-scheduled .pagination-links{width:100%}}


/* contacts.php */body.page-contacts .selected-contact-card{
    margin-bottom:20px;
}body.page-contacts .selected-contact-grid, body.page-contacts .variable-detail-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(190px, 1fr));
    gap:12px;
}body.page-contacts .selected-contact-grid{
    margin-bottom:18px;
}body.page-contacts .selected-contact-variables h3{
    margin:0 0 12px;
}body.page-contacts .variable-detail-row{
    padding:12px;
    border:1px solid var(--border);
    border-radius:14px;
    background:#fbfcfd;
}body.page-contacts .variable-detail-row strong, body.page-contacts .variable-detail-row span{
    display:block;
}body.page-contacts .variable-detail-row span{
    margin-top:5px;
    color:var(--muted);
}body.page-contacts .contact-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:24px;
}body.page-contacts .contact-tab{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 18px;
    border-radius:999px;
    background:#ffffff;
    border:1px solid var(--border);
    color:var(--text);
    text-decoration:none;
    font-weight:900;
    box-shadow:0 3px 10px rgba(15,23,42,0.04);
}body.page-contacts .contact-tab.active{
    background:var(--green);
    color:#ffffff;
    border-color:var(--green);
}body.page-contacts .compact-heading{
    margin-bottom:18px;
}body.page-contacts .contacts-filter-bar{
    display:grid;
    grid-template-columns:1.4fr repeat(6, minmax(120px, 1fr)) auto auto;
    gap:12px;
    align-items:center;
}body.page-contacts .contacts-filter-bar input, body.page-contacts .contacts-filter-bar select{
    height:48px;
    margin-bottom:0;
}body.page-contacts .contacts-filter-bar select:disabled{
    background:#f5f7f9;
    color:#98a2b3;
}body.page-contacts .contacts-content-grid{
    grid-template-columns:1fr;
}body.page-contacts .segment-builder-section{
    margin-top:20px;
}body.page-contacts .segment-builder-layout{
    display:grid;
    grid-template-columns:minmax(280px, 0.8fr) minmax(320px, 1.2fr);
    gap:24px;
    align-items:start;
}body.page-contacts .segment-builder-form{
    padding:18px;
    border:1px solid var(--border);
    border-radius:18px;
    background:#fbfcfd;
}body.page-contacts .info-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:17px;
    height:17px;
    margin-left:5px;
    border-radius:999px;
    background:#e8f5e9;
    color:var(--green);
    font-size:11px;
    font-weight:900;
    cursor:help;
}body.page-contacts .segment-preview{
    padding:18px;
    border-radius:18px;
    background:#ffffff;
    border:1px solid var(--border);
}body.page-contacts .preview-topline{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
}body.page-contacts .preview-topline span{
    color:var(--muted);
    font-weight:800;
}body.page-contacts .preview-metrics{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-bottom:16px;
}body.page-contacts .preview-metrics div{
    padding:14px;
    border-radius:16px;
    background:#f5f7f9;
}body.page-contacts .preview-metrics strong{
    display:block;
    font-size:22px;
    color:var(--green);
}body.page-contacts .preview-metrics span, body.page-contacts .preview-list p{
    color:var(--muted);
    font-size:13px;
}body.page-contacts .preview-list{
    margin-top:16px;
    padding-top:14px;
    border-top:1px solid var(--border);
}body.page-contacts .preview-list p{
    margin:6px 0 0;
}body.page-contacts .segment-detail-grid{
    grid-template-columns:1fr 1fr;
    margin-top:16px;
}body.page-contacts .heading-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}body.page-contacts .list-range-summary{
    margin-top:18px;
    padding-top:18px;
    border-top:1px solid var(--border);
    color:#53627c;
    font-size:14px;
    font-weight:800;
}body.page-contacts .row-actions-cell{
    min-width:260px;
}body.page-contacts .row-actions-cell, body.page-contacts .row-actions-cell form{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}body.page-contacts .segment-actions-cell{
    align-items:flex-start;
    min-width:260px;
    max-width:380px;
}body.page-contacts .segment-actions-cell .segment-edit-details{
    position:relative;
    width:100%;
}body.page-contacts .inline-editor summary, body.page-contacts .segment-edit-details summary{
    cursor:pointer;
    color:var(--green);
    font-weight:900;
}body.page-contacts .inline-edit-form{
    margin-top:10px;
    padding:12px;
    border:1px solid var(--border);
    border-radius:14px;
    background:#fbfcfd;
    display:grid;
    gap:8px;
    min-width:240px;
}body.page-contacts .inline-edit-form input, body.page-contacts .inline-edit-form select, body.page-contacts .inline-edit-form textarea{
    width:100%;
    margin:0;
}body.page-contacts .mini-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 10px;
    border-radius:999px;
    font-size:12px;
    line-height:1;
    text-decoration:none;
    white-space:nowrap;
}body.page-contacts .warning-mini-button{
    background:#fff7e6;
    color:#9a6700;
    box-shadow:none;
}body.page-contacts .success-mini-button{
    background:#ecfdf5;
    color:#047857;
    box-shadow:none;
}body.page-contacts .included-details-card{
    padding:14px;
    border-radius:16px;
    background:#f8fafc;
    border:1px solid var(--border);
}body.page-contacts .preview-section-title{
    font-weight:900;
    margin-bottom:10px;
}body.page-contacts .included-chip-group{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:10px;
}body.page-contacts .included-chip{
    padding:12px;
    border-radius:14px;
    background:#ffffff;
    border:1px solid var(--border);
}body.page-contacts .included-chip span{
    display:block;
    color:var(--muted);
    font-size:12px;
    font-weight:800;
    margin-bottom:5px;
}body.page-contacts .included-chip strong{
    display:block;
    color:var(--text);
    font-size:13px;
    line-height:1.4;
}body.page-contacts .variables-hero, body.page-contacts .variables-flow-card{
    margin-bottom:20px;
}body.page-contacts .variables-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(180px, 1fr));
    gap:14px;
}body.page-contacts .variable-card{
    padding:16px;
    border:1px solid var(--border);
    border-radius:18px;
    background:#fbfcfd;
}body.page-contacts .variable-card code{
    display:inline-flex;
    padding:7px 10px;
    border-radius:999px;
    background:#e8f5e9;
    color:var(--green);
    font-weight:900;
    margin-bottom:10px;
}body.page-contacts .variable-card span{
    display:block;
    color:var(--muted);
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
}body.page-contacts .variable-card p{
    margin:8px 0 0;
}body.page-contacts .flow-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:12px;
}body.page-contacts .flow-grid div{
    padding:16px;
    border-radius:18px;
    border:1px solid var(--border);
    background:#ffffff;
}body.page-contacts .flow-grid span{
    display:block;
    margin-top:8px;
    color:var(--muted);
    line-height:1.45;
}body.page-contacts .inline-editor, body.page-contacts .segment-edit-details{
    position:relative;
}body.page-contacts .contact-edit-form{
    position:absolute;
    right:0;
    top:28px;
    z-index:20;
    width:min(760px, 88vw);
    grid-template-columns:1.2fr 1fr 1fr auto;
    align-items:end;
    box-shadow:0 18px 45px rgba(15,23,42,0.14);
}body.page-contacts .segment-edit-form{
    margin-top:12px;
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    align-items:stretch;
    width:min(360px, 100%);
    min-width:0;
    max-width:100%;
    padding:14px;
    box-shadow:none;
}body.page-contacts .segment-edit-form button, body.page-contacts .contact-edit-form button{
    white-space:nowrap;
}body.page-contacts .segment-edit-details[open]{
    display:block;
    margin-top:8px;
}body.page-contacts .table-wrap{
    overflow-x:auto;
}@media(max-width:1200px){body.page-contacts .contact-edit-form{
        position:static;
        width:100%;
        min-width:0;
        grid-template-columns:1fr 1fr;
    }body.page-contacts .segment-edit-form{
        width:100%;
        grid-template-columns:1fr;
    }
}body.page-contacts .segment-builder-filter-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
    margin-bottom:12px;
}body.page-contacts .pagination-bar{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:18px;
    justify-content:flex-end;
}body.page-contacts .pagination-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:38px;
    height:38px;
    padding:0 12px;
    border-radius:999px;
    border:1px solid var(--border);
    background:#ffffff;
    color:var(--green);
    font-weight:900;
    text-decoration:none;
}body.page-contacts .pagination-link.active{
    background:var(--green);
    border-color:var(--green);
    color:#ffffff;
}body.page-contacts .pagination-link.disabled{
    pointer-events:none;
    opacity:.45;
}@media(max-width:700px){body.page-contacts .segment-builder-filter-grid{
        grid-template-columns:1fr;
    }
}@media(max-width:1200px){body.page-contacts .contacts-filter-bar{
        grid-template-columns:1fr 1fr;
    }body.page-contacts .contacts-content-grid, body.page-contacts .segment-builder-layout{
        grid-template-columns:1fr;
    }
}body.page-contacts .variables-cell{
    max-width:280px;
    white-space:normal;
    font-size:13px;
    color:#475467;
    line-height:1.5;
}body.page-contacts /* Improved contact profile view */
.contact-profile-page{
    display:grid;
    gap:18px;
}body.page-contacts .contact-profile-nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    color:var(--muted);
    font-size:14px;
    font-weight:800;
}body.page-contacts .back-link{
    color:var(--green);
    text-decoration:none;
    font-weight:900;
}body.page-contacts .contact-profile-card{
    padding:28px;
}body.page-contacts .contact-command-card{
    background:linear-gradient(180deg,#ffffff 0%,#fbfffb 100%);
}body.page-contacts .contact-profile-hero{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px;
}body.page-contacts .contact-profile-main{
    display:flex;
    align-items:center;
    gap:18px;
}body.page-contacts .contact-avatar{
    width:78px;
    height:78px;
    border-radius:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#e8f5e9;
    color:var(--green);
    font-size:28px;
    font-weight:1000;
    box-shadow:inset 0 0 0 1px rgba(46,125,50,0.14);
}body.page-contacts .contact-profile-label{
    color:var(--green);
    font-size:12px;
    font-weight:1000;
    letter-spacing:.06em;
    text-transform:uppercase;
    margin-bottom:4px;
}body.page-contacts .contact-profile-main h2{
    margin:0;
    font-size:32px;
    color:var(--text);
}body.page-contacts .contact-profile-main p{
    margin:6px 0 10px;
    color:var(--muted);
    font-size:16px;
    font-weight:800;
}body.page-contacts .profile-badge-row, body.page-contacts .contact-profile-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}body.page-contacts .muted-pill{
    background:#f2f4f7;
    color:#667085;
}body.page-contacts .contact-profile-actions{
    justify-content:flex-end;
    max-width:480px;
}body.page-contacts .contact-profile-actions form{
    margin:0;
}body.page-contacts .contact-signal-strip{
    display:grid;
    grid-template-columns:repeat(5,minmax(140px,1fr));
    gap:12px;
    margin-top:24px;
    padding-top:20px;
    border-top:1px solid var(--border);
}body.page-contacts .contact-signal-strip div, body.page-contacts .profile-health-list div{
    padding:14px;
    border:1px solid var(--border);
    border-radius:16px;
    background:#ffffff;
}body.page-contacts .contact-signal-strip span, body.page-contacts .profile-health-list span{
    display:block;
    color:var(--muted);
    font-size:11px;
    font-weight:1000;
    text-transform:uppercase;
    letter-spacing:.04em;
    margin-bottom:6px;
}body.page-contacts .contact-signal-strip strong, body.page-contacts .profile-health-list strong{
    display:block;
    color:var(--text);
    font-size:14px;
    line-height:1.35;
}body.page-contacts .contact-profile-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}body.page-contacts .contact-profile-section{
    scroll-margin-top:20px;
}body.page-contacts .contact-overview-grid{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);
    gap:18px;
    align-items:stretch;
}body.page-contacts .next-action-card, body.page-contacts .profile-health-card{
    height:100%;
}body.page-contacts .next-action-body{
    padding:22px;
    border-radius:20px;
    background:linear-gradient(180deg,#ffffff 0%,#f4fbf5 100%);
    border:1px solid #cfe8d2;
}body.page-contacts .next-action-body span, body.page-contacts .intel-decision-copy span, body.page-contacts .intel-decision-time span, body.page-contacts .intel-explain-card span, body.page-contacts .intel-guidance-grid span, body.page-contacts .intel-source-note span, body.page-contacts .sms-context-row span{
    display:block;
    color:var(--muted);
    font-size:12px;
    font-weight:1000;
    text-transform:uppercase;
    letter-spacing:.04em;
    margin-bottom:8px;
}body.page-contacts .next-action-body strong{
    display:block;
    color:var(--green);
    font-size:28px;
    line-height:1.2;
    margin-bottom:10px;
}body.page-contacts .next-action-body p{
    color:#475467;
    font-size:16px;
    line-height:1.55;
    font-weight:700;
    max-width:760px;
    margin:0 0 18px;
}body.page-contacts .next-action-buttons, body.page-contacts .sms-context-row{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}body.page-contacts .profile-health-meter{
    min-height:156px;
    border-radius:22px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    background:
        radial-gradient(circle at center,#ffffff 0 54%,transparent 55%),
        conic-gradient(var(--green) var(--profile-health), #edf1f3 0);
    border:1px solid var(--border);
    margin-bottom:12px;
}body.page-contacts .profile-health-meter strong{
    display:block;
    font-size:34px;
    color:var(--green);
    line-height:1;
}body.page-contacts .profile-health-meter span{
    color:var(--muted);
    font-weight:900;
    margin-top:6px;
}body.page-contacts .profile-health-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}body.page-contacts .profile-context-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}body.page-contacts .profile-context-group{
    padding:18px;
    border-radius:20px;
    border:1px solid var(--border);
    background:#fbfcfd;
}body.page-contacts .profile-context-group h3, body.page-contacts .activity-journey-card h3{
    margin:0 0 14px;
    color:var(--green);
    font-size:18px !important;
}body.page-contacts .profile-detail-card-grid, body.page-contacts .activity-placeholder-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(170px, 1fr));
    gap:14px;
}body.page-contacts .profile-detail-card-grid.compact-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
}body.page-contacts .activity-placeholder-grid, body.page-contacts .activity-summary-grid{
    grid-template-columns:repeat(5, minmax(150px, 1fr));
}body.page-contacts .activity-summary-grid{
    display:grid;
    gap:14px;
}body.page-contacts .intel-heading-row{
    align-items:center;
}body.page-contacts .intel-confidence-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:8px 14px;
    border-radius:999px;
    background:#e8f5e9;
    color:var(--green);
    font-size:14px;
    font-weight:1000;
    border:1px solid #c8e6c9;
}body.page-contacts .intel-decision-banner{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);
    gap:14px;
    padding:18px;
    border-radius:22px;
    border:1px solid #cfe8d2;
    background:linear-gradient(180deg,#ffffff 0%,#f4fbf5 100%);
    box-shadow:0 10px 26px rgba(44,122,44,0.08);
}body.page-contacts .intel-decision-copy, body.page-contacts .intel-decision-time{
    padding:18px;
    border-radius:18px;
    background:#ffffff;
    border:1px solid rgba(207,232,210,.85);
}body.page-contacts .intel-decision-copy strong{
    display:block;
    color:var(--green);
    font-size:30px;
    line-height:1.18;
    margin-bottom:12px;
}body.page-contacts .intel-decision-time strong{
    display:block;
    color:var(--green);
    font-size:32px;
    line-height:1.1;
    margin-bottom:10px;
}body.page-contacts .intel-decision-copy p, body.page-contacts .intel-decision-time p, body.page-contacts .intel-explain-card p, body.page-contacts .intel-guidance-grid p{
    margin:0;
    color:#475467;
    line-height:1.55;
    font-size:15px;
    font-weight:700;
}body.page-contacts .intel-explain-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin-top:14px;
}body.page-contacts .intel-explain-card, body.page-contacts .intel-guidance-grid div{
    padding:18px;
    border:1px solid var(--border);
    border-radius:18px;
    background:#ffffff;
}body.page-contacts .intel-guidance-grid{
    display:grid;
    grid-template-columns:repeat(5, minmax(150px, 1fr));
    gap:12px;
    margin-top:12px;
}body.page-contacts .intel-guidance-grid.improved-intel-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
}body.page-contacts .intel-source-note{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid var(--border);
    color:#667085;
}body.page-contacts .intel-source-note span{
    margin:0;
}body.page-contacts .intel-source-note strong{
    color:var(--text);
}body.page-contacts .intel-source-note small{
    font-weight:800;
}body.page-contacts .profile-detail-card{
    padding:18px;
    border:1px solid var(--border);
    border-radius:18px;
    background:#ffffff;
}body.page-contacts .profile-detail-card span{
    display:block;
    color:var(--muted);
    font-size:12px;
    font-weight:1000;
    text-transform:uppercase;
    letter-spacing:.04em;
    margin-bottom:8px;
}body.page-contacts .profile-detail-card strong{
    display:block;
    color:var(--text);
    font-size:16px;
    line-height:1.4;
}body.page-contacts .suggested-message-card .card-heading{
    align-items:center;
}body.page-contacts .sms-preview-box{
    padding:20px;
    border-radius:20px;
    border:1px solid #cfe8d2;
    background:#fbfffb;
    color:#243142;
    font-size:17px;
    line-height:1.6;
    font-weight:800;
}body.page-contacts .sms-context-row{
    margin-top:12px;
}body.page-contacts .sms-context-row span{
    margin:0;
    padding:8px 11px;
    border-radius:999px;
    background:#f2f4f7;
    color:#475467;
    border:1px solid var(--border);
}body.page-contacts .activity-journey-card{
    margin-top:18px;
    padding:18px;
    border-radius:20px;
    border:1px solid var(--border);
    background:#fbfcfd;
}body.page-contacts .activity-timeline{
    display:grid;
    gap:12px;
}body.page-contacts .timeline-row{
    display:grid;
    grid-template-columns:18px 1fr;
    gap:12px;
    align-items:start;
}body.page-contacts .timeline-dot{
    width:12px;
    height:12px;
    margin-top:5px;
    border-radius:999px;
    background:var(--green);
    box-shadow:0 0 0 5px #e8f5e9;
}body.page-contacts .timeline-row span{
    display:block;
    color:var(--green);
    font-size:13px;
    font-weight:1000;
    margin-bottom:4px;
}body.page-contacts .timeline-row p{
    margin:0;
    color:#475467;
    font-weight:700;
    line-height:1.45;
}body.page-contacts .empty-state-card{
    padding:22px;
    border:1px dashed var(--border);
    border-radius:18px;
    background:#fbfcfd;
}body.page-contacts .empty-state-card strong, body.page-contacts .empty-state-card span{
    display:block;
}body.page-contacts .empty-state-card span{
    margin-top:6px;
    color:var(--muted);
}body.page-contacts .improved-variable-grid{
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
}@media(max-width:1100px){body.page-contacts .contact-signal-strip, body.page-contacts .activity-summary-grid, body.page-contacts .activity-placeholder-grid{
        grid-template-columns:1fr 1fr;
    }body.page-contacts .contact-overview-grid, body.page-contacts .profile-context-grid, body.page-contacts .intel-decision-banner, body.page-contacts .intel-explain-grid, body.page-contacts .intel-guidance-grid.improved-intel-grid{
        grid-template-columns:1fr;
    }
}@media(max-width:900px){body.page-contacts .contact-profile-hero, body.page-contacts .contact-profile-nav{
        flex-direction:column;
        align-items:flex-start;
    }body.page-contacts .contact-profile-actions{
        justify-content:flex-start;
        max-width:100%;
    }body.page-contacts .profile-detail-card-grid{
        grid-template-columns:1fr 1fr;
    }
}@media(max-width:560px){body.page-contacts .contact-profile-main{
        align-items:flex-start;
        flex-direction:column;
    }body.page-contacts .contact-signal-strip, body.page-contacts .profile-detail-card-grid, body.page-contacts .profile-detail-card-grid.compact-grid, body.page-contacts .activity-summary-grid, body.page-contacts .profile-health-list{
        grid-template-columns:1fr;
    }body.page-contacts .contact-profile-actions .soft-btn, body.page-contacts .contact-profile-actions form, body.page-contacts .contact-profile-actions button, body.page-contacts .next-action-buttons .soft-btn, body.page-contacts .suggested-message-card .soft-btn{
        width:100%;
    }
}body.page-contacts .segment-action-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}body.page-contacts .segment-action-card{
    display:block;
    padding:18px;
    border:1px solid var(--border);
    border-radius:18px;
    background:#fbfcfd;
    color:var(--text);
    text-decoration:none;
}body.page-contacts .segment-action-card strong, body.page-contacts .segment-action-card span{
    display:block;
}body.page-contacts .segment-action-card strong{
    color:var(--green);
    margin-bottom:6px;
}body.page-contacts .segment-action-card span{
    color:var(--muted);
    line-height:1.4;
}body.page-contacts .segment-create-form .form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}body.page-contacts .segment-filter-bar{
    grid-template-columns:1.4fr repeat(6,minmax(110px,1fr)) auto;
}@media(max-width:900px){body.page-contacts .segment-action-grid, body.page-contacts .segment-create-form .form-grid, body.page-contacts .segment-filter-bar{
        grid-template-columns:1fr;
    }
}


/* survey-launch.php */body.page-survey-launch .survey-launch-page{max-width:1240px;margin:0 auto;}body.page-survey-launch .launch-hero{background:linear-gradient(135deg,#1F6B2A 0%,#2C7A2C 45%,#2F9E44 100%);border-radius:22px;padding:30px;color:#fff;margin-bottom:22px;box-shadow:0 10px 26px rgba(44,122,44,.12);display:flex;justify-content:space-between;gap:20px;align-items:flex-start;}body.page-survey-launch .launch-hero h1{color:#fff;margin:0 0 8px;font-size:34px;}body.page-survey-launch .launch-hero p{margin:0;color:rgba(255,255,255,.9);max-width:820px;line-height:1.6;}body.page-survey-launch .hero-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;}body.page-survey-launch .hero-actions a{background:#fff;color:#1F6B2A;border-radius:12px;padding:12px 16px;font-weight:900;text-decoration:none;white-space:nowrap;}body.page-survey-launch .launch-row{background:#fff;border:1px solid #E5E7EB;border-radius:18px;box-shadow:0 6px 18px rgba(15,23,42,.05);padding:24px;margin-bottom:20px;}body.page-survey-launch .row-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;}body.page-survey-launch .row-head h2{color:#2C7A2C;margin:0 0 6px;font-size:24px;}body.page-survey-launch .row-head p{color:#667085;margin:0;line-height:1.55;}body.page-survey-launch .step-pill{display:inline-flex;align-items:center;justify-content:center;background:#E8F5E9;color:#2C7A2C;border-radius:999px;padding:8px 12px;font-weight:900;font-size:12px;white-space:nowrap;}body.page-survey-launch .alert{padding:15px 16px;border-radius:14px;margin-bottom:18px;font-weight:800;}body.page-survey-launch .alert.success{background:#E8F5E9;color:#1B5E20;border:1px solid #C8E6C9;}body.page-survey-launch .alert.error{background:#FFEBEE;color:#B00020;border:1px solid #FFCDD2;}body.page-survey-launch .kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:0;}body.page-survey-launch .kpi-card{background:#fff;border:1px solid #E5E7EB;border-left:5px solid #2C7A2C;border-radius:16px;padding:18px;box-shadow:none;}body.page-survey-launch .kpi-label{color:#667085;font-size:13px;font-weight:800;margin-bottom:8px;}body.page-survey-launch .kpi-number{font-size:28px;font-weight:900;color:#2C7A2C;margin:0;}body.page-survey-launch .kpi-note{color:#667085;font-size:12px;margin-top:6px;line-height:1.45;}body.page-survey-launch .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}body.page-survey-launch .full-field{grid-column:1 / -1;}body.page-survey-launch .field{margin-bottom:0;}body.page-survey-launch .field label{display:block;margin-bottom:8px;font-weight:900;color:#243142;font-size:14px;}body.page-survey-launch .field input, body.page-survey-launch .field select, body.page-survey-launch .field textarea{width:100%;border:1px solid #D9E1E7;border-radius:12px;padding:12px 14px;font-size:15px;margin:0;background:#fff;}body.page-survey-launch .field textarea{min-height:120px;line-height:1.5;}body.page-survey-launch .field small{display:block;color:#667085;margin-top:7px;line-height:1.45;}body.page-survey-launch .option-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}body.page-survey-launch .option-card{border:1px solid #E5E7EB;border-radius:16px;padding:18px;background:#FBFCFC;cursor:pointer;transition:.2s;}body.page-survey-launch .option-card:hover{border-color:#B7DFBD;transform:translateY(-1px);}body.page-survey-launch .option-card input{width:auto;margin-right:8px;}body.page-survey-launch .option-card strong{display:block;color:#1F2937;margin-bottom:6px;}body.page-survey-launch .option-card span{color:#667085;font-size:13px;line-height:1.45;display:block;}body.page-survey-launch .capacity-table{width:100%;border-collapse:collapse;border:1px solid #E5E7EB;border-radius:14px;overflow:hidden;}body.page-survey-launch .capacity-table th{background:#F8FAFC;text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#344054;padding:12px;border-bottom:1px solid #E5E7EB;}body.page-survey-launch .capacity-table td{padding:13px 12px;border-bottom:1px solid #E5E7EB;color:#1F2937;}body.page-survey-launch .capacity-table tr:last-child td{border-bottom:none;}body.page-survey-launch .badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:900;background:#F2F4F7;color:#475467;}body.page-survey-launch .success-badge{background:#E8F5E9;color:#1B5E20;}body.page-survey-launch .warning-badge{background:#FFF3CD;color:#9A6700;}body.page-survey-launch .danger-badge{background:#FFEBEE;color:#B00020;}body.page-survey-launch .review-flow{display:grid;grid-template-columns:1fr;gap:12px;}body.page-survey-launch .flow-card{border:1px solid #E5E7EB;border-radius:16px;padding:16px;background:#FBFCFC;}body.page-survey-launch .flow-card strong{display:block;color:#2C7A2C;margin-bottom:8px;}body.page-survey-launch .flow-card p{margin:0;color:#1F2937;line-height:1.55;}body.page-survey-launch .flow-arrow{text-align:center;color:#2C7A2C;font-weight:900;}body.page-survey-launch .form-actions{display:flex;align-items:center;gap:12px;margin-top:20px;flex-wrap:wrap;}body.page-survey-launch .primary-btn{background:#2C7A2C;color:#fff;border:none;border-radius:12px;padding:13px 18px;font-weight:900;cursor:pointer;box-shadow:0 6px 14px rgba(44,122,44,.16);}body.page-survey-launch .secondary-btn, body.page-survey-launch .soft-link{background:#fff;color:#2C7A2C;border:1px solid #E5E7EB;border-radius:12px;padding:12px 16px;font-weight:900;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;}body.page-survey-launch .danger-note{background:#FFEBEE;color:#B00020;border-radius:14px;padding:14px;line-height:1.55;font-weight:800;}body.page-survey-launch .empty-state{text-align:center;padding:45px 20px;border:1px dashed #D9E1E7;border-radius:16px;color:#667085;}body.page-survey-launch .survey-list{display:grid;grid-template-columns:1fr;gap:10px;}body.page-survey-launch .survey-item{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px;border:1px solid #E5E7EB;border-radius:14px;text-decoration:none;color:#1F2937;background:#FBFCFC;}body.page-survey-launch .survey-item:hover{border-color:#B7DFBD;background:#F4FBF5;}@media(max-width:900px){body.page-survey-launch .launch-hero{flex-direction:column}body.page-survey-launch .kpi-grid, body.page-survey-launch .form-grid, body.page-survey-launch .option-row{grid-template-columns:1fr}body.page-survey-launch .hero-actions{justify-content:flex-start}}


/* forgot-password.php */body.page-forgot-password{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    background:
        radial-gradient(circle at top left, rgba(44,122,44,0.10), transparent 30%),
        linear-gradient(135deg, #f7faf8 0%, var(--bg) 100%);
}body.page-forgot-password .reset-card{
    width:100%;
    max-width:440px;
    background:var(--card);
    border-radius:24px;
    padding:48px 42px 42px;
    box-shadow:0 24px 60px rgba(15,23,42,0.10);
    border:1px solid rgba(229,231,235,0.90);
}body.page-forgot-password .logo{
    text-align:center;
    font-family:"Book Antiqua","Baskerville","Times New Roman",Georgia,serif;
    font-size:56px;
    font-weight:900;
    color:#1f5e1f;
    letter-spacing:-2px;
    line-height:0.95;
    margin-bottom:12px;
}body.page-forgot-password .platform-name{
    text-align:center;
    color:var(--muted);
    text-transform:uppercase;
    letter-spacing:1.4px;
    font-size:12px;
    font-weight:800;
    margin-bottom:62px;
}body.page-forgot-password .form-group{
    margin-bottom:24px;
}body.page-forgot-password label{
    display:block;
    font-size:14px;
    font-weight:800;
    color:var(--text);
    margin-bottom:9px;
}body.page-forgot-password input{
    width:100%;
    height:52px;
    padding:0 16px;
    border:1px solid var(--border);
    border-radius:12px;
    font-size:15px;
    background:#ffffff;
    box-sizing:border-box;
    color:var(--text);
}body.page-forgot-password input::placeholder{
    color:#7a7f89;
}body.page-forgot-password input:focus{
    outline:none;
    border-color:var(--green);
    box-shadow:0 0 0 4px rgba(44,122,44,0.12);
}body.page-forgot-password .reset-button{
    width:100%;
    height:54px;
    background:var(--green);
    color:white;
    border:none;
    border-radius:12px;
    font-size:16px;
    font-weight:800;
    cursor:pointer;
    transition:0.2s;
    margin-top:8px;
}body.page-forgot-password .reset-button:hover{
    opacity:0.94;
    transform:translateY(-1px);
}body.page-forgot-password .back-link{
    display:block;
    text-align:center;
    margin-top:24px;
    color:var(--green);
    font-size:14px;
    font-weight:800;
    text-decoration:none;
}body.page-forgot-password .back-link:hover{
    text-decoration:underline;
}body.page-forgot-password .helper-text{
    margin-top:26px;
    text-align:center;
    font-size:13px;
    color:var(--muted);
    line-height:1.5;
}body.page-forgot-password .error{
    background:#ffe5e5;
    color:#b00020;
    border:1px solid #ffc7c7;
    padding:12px 14px;
    border-radius:12px;
    margin-bottom:22px;
    font-size:14px;
}body.page-forgot-password .success{
    background:#e8f5e9;
    color:#1f5e1f;
    border:1px solid #b7dfba;
    padding:12px 14px;
    border-radius:12px;
    margin-bottom:22px;
    font-size:14px;
    line-height:1.5;
}@media (max-width:520px){body.page-forgot-password{
        padding:18px;
    }body.page-forgot-password .reset-card{
        padding:38px 24px 32px;
        border-radius:20px;
    }body.page-forgot-password .logo{
        font-size:46px;
    }body.page-forgot-password .platform-name{
        margin-bottom:46px;
        font-size:11px;
    }
}


/* lessons.php */body.page-lessons .lessons-page .lesson-principle-card{border-left:5px solid var(--green)}body.page-lessons .lessons-page .setting-toggle{display:flex;gap:10px;align-items:center;font-weight:700;color:#243142;background:#fbfcfc;border:1px solid var(--border);border-radius:14px;padding:14px;min-height:48px}body.page-lessons .lessons-page .setting-toggle input{width:auto;margin:0;accent-color:var(--green)}body.page-lessons .lessons-page .pagination-actions{justify-content:flex-end}body.page-lessons .lessons-page .lessons-kpis .mode-icon{font-size:18px}


/* survey_replies.php */body.page-survey-replies{
            --green:#2c7a2c;
            --green-light:#e8f5e9;
            --text:#1f2937;
            --muted:#667085;
            --bg:#f4f6f9;
            --card:#ffffff;
            --border:#e5e7eb;
            --danger:#b00020;
            --danger-bg:#ffebee;
        }body.page-survey-replies{margin:0;font-family:Arial,sans-serif;background:var(--bg);color:var(--text);}body.page-survey-replies .wrap{max-width:980px;margin:40px auto;padding:0 20px;}body.page-survey-replies .card{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:26px;box-shadow:0 6px 18px rgba(15,23,42,0.05);}body.page-survey-replies h1{margin:0 0 6px;font-size:32px;}body.page-survey-replies p{color:var(--muted);line-height:1.6;margin:0 0 22px;}body.page-survey-replies .grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:22px 0;}body.page-survey-replies .metric{background:#fbfcfc;border:1px solid var(--border);border-radius:14px;padding:16px;}body.page-survey-replies .metric strong{display:block;font-size:26px;color:var(--green);margin-bottom:6px;}body.page-survey-replies .metric span{font-size:12px;color:var(--muted);font-weight:800;text-transform:uppercase;}body.page-survey-replies .ok{display:inline-flex;background:var(--green-light);color:var(--green);border-radius:999px;padding:8px 12px;font-weight:800;font-size:13px;}body.page-survey-replies .errors{margin-top:20px;background:var(--danger-bg);color:var(--danger);border-radius:14px;padding:16px;}body.page-survey-replies .errors div{margin-top:8px;}body.page-survey-replies code{background:#f2f4f7;padding:3px 6px;border-radius:6px;}@media(max-width:800px){body.page-survey-replies .grid{grid-template-columns:1fr 1fr}body.page-survey-replies .wrap{margin:20px auto}}


/* includes/app_layout.php */html body.page-app-layout, body.page-app-layout{ height: 100%; }body.page-app-layout .app-layout{ min-height: 100vh; }body.page-app-layout .app-main{ min-height: 100vh; display: flex; flex-direction: column; }body.page-app-layout .app-content{ flex: 1 1 auto; display: flex; flex-direction: column; }body.page-app-layout .app-global-footer{ margin-top: auto !important; }

/* Dashboard hard layout safeguards */
body.page-index .dashboard-page{
    max-width:1280px;
    width:100%;
}
body.page-index .gauge{
    width:82px !important;
    height:82px !important;
    max-width:82px;
    max-height:82px;
    flex:0 0 82px;
}
body.page-index .chart-canvas{
    position:relative;
    height:220px !important;
    max-height:220px;
    overflow:hidden;
}
body.page-index .chart-canvas canvas{
    max-height:220px !important;
}
body.page-index .chart-bars{
    height:120px;
    max-height:120px;
    overflow:hidden;
}
body.page-index .chart-stack{
    height:88px;
    max-height:88px;
}
body.page-index .chart-bar{
    height:var(--bar-height, 4%);
    max-height:100%;
}
