*{box-sizing:border-box;margin:0;padding:0;font-family:Inter,sans-serif}html,body,#root{width:100%;min-height:100%}body{overflow-x:hidden}.login-page{flex-direction:column;width:100%;min-height:100vh;display:flex}.login-container{flex:1;width:100%;display:flex}.left-panel{color:#fff;background:linear-gradient(135deg,#312e81 0%,#4338ca 50%,#6366f1 100%);flex:1;justify-content:center;align-items:center;padding:60px 40px;display:flex;position:relative;overflow:hidden}.left-panel:before{content:"";background:#ffffff0f;border-radius:50%;width:clamp(300px,40vw,500px);height:clamp(300px,40vw,500px);position:absolute;top:-180px;right:-180px}.left-panel:after{content:"";background:#ffffff0d;border-radius:50%;width:clamp(200px,30vw,350px);height:clamp(200px,30vw,350px);position:absolute;bottom:-120px;left:-120px}.left-content{z-index:2;max-width:520px;position:relative}.left-content h1{margin-bottom:24px;font-size:clamp(2.2rem,5vw,4rem);font-weight:700;line-height:1.1}.left-content>p{opacity:.95;font-size:clamp(1rem,2vw,1.15rem);line-height:1.8}.feature-box{flex-direction:column;gap:16px;margin-top:40px;display:flex}.feature{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1f;border-radius:16px;align-items:center;gap:15px;padding:16px 20px;display:flex}.feature span{font-size:20px;font-weight:700}.feature p{font-size:15px}.right-panel{background:#f8fafc;flex:1;justify-content:center;align-items:center;padding:60px 40px;display:flex}.login-content{width:100%;max-width:450px}.login-content h2{color:#0f172a;margin-bottom:10px;font-size:clamp(2rem,4vw,3rem);font-weight:700}.login-subtitle{color:#64748b;margin-bottom:35px;font-size:15px}.input-group{margin-bottom:20px}.input-group label{color:#334155;margin-bottom:8px;font-size:14px;font-weight:600;display:block}.input-group input{background:#fff;border:1px solid #dbe2ea;border-radius:14px;width:100%;height:58px;padding:0 18px;font-size:15px;transition:all .3s}.input-group input:focus{border-color:#4f46e5;outline:none;box-shadow:0 0 0 4px #4f46e526}button{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:14px;width:100%;height:58px;margin-top:10px;font-size:16px;font-weight:600;transition:all .3s}button:hover{background:#4338ca;transform:translateY(-2px)}button:active{transform:translateY(0)}.forgot-password{text-align:center;color:#4f46e5;margin-top:18px;font-size:14px;font-weight:500;text-decoration:none;display:block}.forgot-password:hover{text-decoration:underline}@media (width<=992px){.login-container{flex-direction:column}.left-panel,.right-panel{flex:none;width:100%;padding:50px 30px}.left-content{text-align:center;margin:0 auto}.feature-box{align-items:center}.feature{width:100%;max-width:400px}}.error-message{color:#dc2626;text-align:center;margin-bottom:15px;font-size:14px}@media (width<=576px){.left-panel,.right-panel{padding:35px 20px}.login-content h2{font-size:1.8rem}.input-group input,button{height:54px}.feature{padding:14px 16px}.feature p{font-size:14px}}.dashboard-layout{width:100%;padding:32px;font-family:Inter,sans-serif}.dashboard-header{margin-bottom:32px}.dashboard-header h1{color:#0f172a;margin-bottom:8px;font-size:2rem;font-weight:700}.dashboard-header p{color:#64748b;font-size:1rem}.dashboard-cards{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;margin-bottom:32px;display:grid}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;align-items:center;gap:20px;padding:24px;transition:transform .3s,box-shadow .3s;display:flex;box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -1px #00000008}.stat-card:hover{transform:translateY(-4px);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.stat-icon{color:#4f46e5;background:#4f46e51a;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:60px;height:60px;display:flex}.stat-icon svg{width:28px;height:28px}.stat-info h3{color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px;font-size:.875rem;font-weight:600}.stat-info .stat-number{color:#0f172a;font-size:1.8rem;font-weight:700;line-height:1}.active-lead{color:#1e40af;background:#dbeafe}.completed-leads{color:#166534;background:#dcfce7}.pending-leads{color:#854d0e;background:#fef9c3}.dashboard-tables{grid-template-columns:repeat(auto-fit,minmax(450px,1fr));gap:24px;display:grid}.table-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 4px 6px -1px #0000000d}.table-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.table-header h2{color:#0f172a;margin:0;font-size:1.1rem;font-weight:600}.view-all{color:#4f46e5;font-size:.875rem;font-weight:600;text-decoration:none;transition:color .2s}.view-all:hover{color:#4338ca;text-decoration:underline}table{border-collapse:collapse;text-align:left;width:100%}th{color:#64748b;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:14px 24px;font-size:.75rem;font-weight:600}td{color:#334155;white-space:nowrap;border-bottom:1px solid #e2e8f0;padding:16px 24px;font-size:.875rem}tbody tr{transition:background-color .2s}tbody tr:hover{background-color:#f8fafc}tbody tr:last-child td{border-bottom:none}@media (width<=992px){.dashboard-layout{padding:24px}.dashboard-tables{grid-template-columns:1fr}}@media (width<=576px){.dashboard-layout{padding:16px}.dashboard-header h1{font-size:1.5rem}.stat-card{padding:20px}.stat-info .stat-number{font-size:1.5rem}th,td{padding:12px 16px}}:root{--sidebar-width:260px;--primary-color:#4f46e5;--primary-dark:#312e81}.sidebar{width:var(--sidebar-width);background:linear-gradient(180deg, var(--primary-dark) 0%, #4338ca 100%);color:#fff;z-index:1000;flex-direction:column;height:100vh;transition:transform .3s;display:flex;position:fixed;top:0;left:0}.sidebar-header{letter-spacing:.5px;border-bottom:1px solid #ffffff1a;padding:24px;font-size:1.25rem;font-weight:700}.sidebar-menu{flex-direction:column;flex:1;gap:8px;padding:24px 16px;display:flex;overflow-y:auto}.sidebar-link{color:#fffc;cursor:pointer;text-align:left;box-sizing:border-box;background:0 0;border:none;border-radius:10px;align-items:center;gap:12px;width:100%;padding:12px 16px;font-family:inherit;font-size:.95rem;font-weight:500;line-height:1.5;text-decoration:none;transition:all .2s;display:flex}.sidebar-link:hover{color:#fff;background:#ffffff1a}.sidebar-link.active{color:#fff;background:#ffffff26;font-weight:600}.sidebar-icon{flex-shrink:0;width:20px;height:20px}.sidebar-footer{border-top:1px solid #ffffff1a;padding:24px 16px}.sidebar-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:999;opacity:0;background:#0f172a99;transition:opacity .3s;display:none;position:fixed;inset:0}@media (width<=992px){.sidebar{transform:translate(-100%)}.sidebar.open{transform:translate(0)}.sidebar-overlay.open{opacity:1;display:block}}.sidebar-menu-group{flex-direction:column;width:100%;margin:0;padding:0;display:flex}.sidebar-menu-group .sidebar-link{cursor:pointer;background:0 0;border:none;width:100%;margin:0}.submenu-chevron{color:#ffffff80;width:16px;height:16px;transition:transform .3s cubic-bezier(.4,0,.2,1)}.submenu-chevron.open{color:#fff;transform:rotate(180deg)}.sidebar-submenu{border-left:1px solid #ffffff26;flex-direction:column;gap:4px;max-height:0;margin-top:0;margin-bottom:0;margin-left:26px;padding-top:0;padding-bottom:0;padding-left:12px;transition:max-height .3s ease-in-out;display:flex;overflow:hidden}.sidebar-submenu.open{max-height:200px;margin-top:4px;margin-bottom:4px;padding-top:4px;padding-bottom:4px}.submenu-link{color:#fff9;border-radius:8px;align-items:center;gap:10px;padding:8px 12px;font-size:.85rem;font-weight:500;text-decoration:none;transition:all .2s;display:flex;position:relative}.submenu-icon{color:#fff6;flex-shrink:0;width:16px;height:16px;transition:color .2s}.submenu-link:hover .submenu-icon,.submenu-link.active .submenu-icon{color:#fff}.submenu-link:before{display:none}.submenu-link:hover{color:#fff;background:#ffffff14}.submenu-link.active{color:#fff;background:#ffffff1f;font-weight:600;box-shadow:0 2px 4px #0000001a}.navbar{z-index:900;background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;height:72px;padding:0 32px;display:flex;position:sticky;top:0;box-shadow:0 1px 2px #00000008}.nav-toggle{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:8px;transition:background .2s;display:none}.nav-toggle:hover{background:#f1f5f9}.nav-search{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex:1;align-items:center;max-width:400px;height:42px;margin:0 24px;padding:0 16px;display:flex}.nav-search input{color:#334155;background:0 0;border:none;outline:none;width:100%;height:100%;padding-left:10px;font-size:.9rem}.nav-profile{align-items:center;gap:12px;display:flex}.nav-avatar{color:#fff;background:#4f46e5;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-size:.9rem;font-weight:700;display:flex}@media (width<=992px){.navbar{padding:0 20px}.nav-toggle{display:block}.nav-search{display:none}}.modal-content.wide-modal{background:#fff;border-radius:16px;flex-direction:column;width:100%;max-width:900px;max-height:90vh;animation:.3s ease-out modalIn;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #00000040}@keyframes modalIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.modal-header{background:#fff;border-bottom:1px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-body{flex-direction:column;flex:1;gap:24px;padding:24px;display:flex;overflow-y:auto}.modal-body::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.details-section{flex-direction:column;gap:12px;display:flex}.details-section-title{color:#4f46e5;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e2e8f0;padding-bottom:8px;font-size:.85rem;font-weight:700}.detail-item{background:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;flex-direction:column;gap:4px;padding:12px;display:flex}.detail-label{color:#64748b;text-transform:uppercase;letter-spacing:.02em;font-size:.7rem;font-weight:600}.detail-value{color:#0f172a;word-break:break-word;font-size:.9rem;font-weight:500}.status-update-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:20px;padding:20px;display:flex}.status-update-section .status-label{color:#0f172a;font-size:.95rem;font-weight:600}.status-update-section select{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe2ea;border-radius:8px;outline:none;width:100%;max-width:300px;height:44px;padding:0 16px;font-family:Inter,sans-serif;font-size:.95rem;transition:all .2s}.status-update-section select:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}.modal-footer{background:#fff;border-top:1px solid #e2e8f0;flex-shrink:0;justify-content:flex-end;padding:16px 24px;display:flex}.modal-btn.cancel{color:#64748b;cursor:pointer;background:#fff;border:1px solid #dbe2ea;border-radius:8px;height:44px;padding:0 24px;font-size:.9rem;font-weight:600;transition:all .2s}@media (width<=768px){.details-grid{grid-template-columns:repeat(2,1fr)}.status-update-section{flex-direction:column;align-items:flex-start}.status-update-section select{max-width:100%}}@media (width<=480px){.details-grid{grid-template-columns:1fr}}.modal-header{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-header h2{color:#0f172a;white-space:nowrap;margin:0;font-size:1.25rem;font-weight:700}.modal-info-row{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding:14px 0;display:flex}.modal-info-row:last-of-type{border-bottom:none}.modal-info-label{color:#64748b;text-transform:uppercase;letter-spacing:.5px;font-size:.85rem;font-weight:600}.modal-info-value{color:#0f172a;font-size:.95rem;font-weight:600}.modal-form-group{border-top:1px solid #e2e8f0;flex-direction:column;gap:8px;margin-top:24px;padding-top:20px;display:flex}.modal-form-group label{color:#334155;font-size:.9rem;font-weight:600}.modal-form-group select{color:#334155;background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;outline:none;width:100%;height:46px;padding:0 16px;font-family:Inter,sans-serif;font-size:.95rem;transition:all .2s}.modal-form-group select:focus{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}@media (width<=576px){.modal-info-row{flex-direction:column;align-items:flex-start;gap:4px}.modal-footer{flex-direction:column-reverse}.modal-btn{width:100%}}.modal-form-group textarea.note-input{color:#1e293b;resize:vertical;background:#fff;border:1px solid #dbe2ea;border-radius:11px;outline:none;width:100%;padding:14px 16px;font:400 .9rem/1.55 Inter,Segoe UI,sans-serif;transition:border-color .16s,box-shadow .16s}.modal-form-group textarea.note-input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f121}.user-dashboard-page{background:#f3f6fb;width:100%;padding:32px;font-family:Inter,sans-serif}.dashboard-command-panel{background:#fff;border:1px solid #e6ebf2;border-radius:14px;margin-bottom:24px;padding:24px 26px 18px;box-shadow:0 12px 30px #0f234114}.dashboard-command-top,.dashboard-welcome,.dashboard-command-actions,.dashboard-period-bar,.dashboard-period-caption,.lead-progress-heading,.lead-progress-tile-top{align-items:center;display:flex}.dashboard-command-top,.dashboard-period-bar,.lead-progress-heading{justify-content:space-between}.dashboard-welcome{gap:16px;min-width:0}.dashboard-brand-mark{color:#2674b8;background:#e8f2ff;border-radius:50%;flex:0 0 54px;place-items:center;width:54px;height:54px;display:grid}.dashboard-brand-mark svg{width:28px;height:28px}.dashboard-welcome h1{color:#17385c;margin:0 0 4px;font-size:clamp(1.25rem,2vw,1.65rem);font-weight:650}.dashboard-welcome p{color:#68809a;margin:0;font-size:.9rem}.dashboard-command-actions{gap:18px}.dashboard-category-picker{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.dashboard-category-label{color:#52667b;letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.72rem;font-weight:700}.dashboard-live-indicator{color:#218353;white-space:nowrap;align-items:center;gap:8px;font-size:.82rem;font-weight:650;display:inline-flex}.dashboard-live-indicator i{background:#37ae70;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #37ae701f}.dashboard-refresh-button{color:#fff;cursor:pointer;background:#173b60;border:1px solid #173b60;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 14px;font:600 .82rem Inter,sans-serif;transition:background-color .15s,opacity .15s;display:inline-flex}.dashboard-refresh-button svg{width:16px;height:16px}.dashboard-refresh-button:hover:not(:disabled){background:#24577f}.dashboard-refresh-button:disabled{cursor:wait;opacity:.65}.dashboard-period-bar{border-top:1px solid #e2e8f0;flex-wrap:nowrap;gap:24px;margin-top:20px;padding-top:17px}.dashboard-period-meta{flex-wrap:wrap;flex:auto;align-items:center;gap:22px 30px;min-width:0;display:flex}.dashboard-period-caption{color:#315576;gap:12px;min-width:0}.dashboard-category-caption{flex:0 auto}.dashboard-period-meta .dashboard-period-caption>div{min-width:0}.dashboard-period-meta .dashboard-period-caption strong{text-overflow:ellipsis;white-space:nowrap;max-width:240px;overflow:hidden}.dashboard-calendar-icon{color:#fff;background:#2c7db8;border-radius:5px;place-items:center;width:36px;height:36px;font-size:1.15rem;display:grid}.dashboard-category-icon{color:#2c7db8;background:#e8f2ff;border-radius:5px;flex:0 0 36px;place-items:center;width:36px;height:36px;font-size:1.45rem;font-weight:700;display:grid}.dashboard-period-caption div{gap:3px;display:grid}.dashboard-period-caption span:not(.dashboard-calendar-icon){color:#8493a5;letter-spacing:.06em;text-transform:uppercase;font-size:.68rem;font-weight:650}.dashboard-period-caption strong{color:#38536f;font-size:.9rem;font-weight:650}.dashboard-period-switcher{flex:0 0 min(48%,460px);grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.dashboard-period-switcher button{color:#52667b;white-space:nowrap;cursor:pointer;background:#f8fafc;border:1px solid #e1e8f0;border-radius:6px;min-width:0;min-height:38px;padding:0 10px;font:600 .82rem Inter,sans-serif;transition:border-color .15s,background-color .15s,color .15s}.dashboard-period-switcher button:hover{background:#f0f7fc;border-color:#9ec7e5}.dashboard-period-switcher button.active{color:#fff;background:#2b7eb8;border-color:#2b7eb8}.dashboard-period-switcher button:focus-visible,.dashboard-refresh-button:focus-visible{outline-offset:2px;outline:3px solid #2b7eb840}.lead-progress-section{margin:0 0 30px}.lead-progress-heading{margin:0 0 14px}.dashboard-eyebrow{color:#7d8da0;letter-spacing:.08em;text-transform:uppercase;font-size:.69rem;font-weight:700}.lead-progress-heading h2{color:#17385c;margin:4px 0 0;font-size:1.25rem;font-weight:650}.lead-progress-period-label{color:#56718c;background:#fff;border:1px solid #dce8f2;border-radius:999px;padding:6px 11px;font-size:.75rem;font-weight:650}.lead-progress-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;display:grid}.lead-progress-tile{--tile-accent:#327db8;background:#fff;border:1px solid #e5eaf0;border-radius:8px;min-height:140px;padding:17px 18px 15px;transition:transform .16s,box-shadow .16s;position:relative;overflow:hidden;box-shadow:0 5px 16px #132d480b}.lead-progress-tile:before{background:var(--tile-accent);content:"";width:3px;position:absolute;inset:0 auto 0 0}.lead-progress-tile:hover{transform:translateY(-2px);box-shadow:0 9px 22px #132d4817}.lead-progress-tile-top{justify-content:space-between;gap:8px}.lead-progress-label{color:#758398;letter-spacing:.055em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:.69rem;font-weight:700;overflow:hidden}.lead-progress-dot{background:var(--tile-accent);opacity:.8;border-radius:50%;flex:0 0 8px;width:8px;height:8px}.progress-count{color:#17385c;margin:15px 0 8px;font-size:1.9rem;font-weight:600;line-height:1;display:block}.progress-count.is-loading{color:#9aa8b7}.lead-progress-caption{color:#9aa7b6;font-size:.73rem}.tone-blue{--tile-accent:#3184c5}.tone-amber{--tile-accent:#d7a026}.tone-orange{--tile-accent:#e0793c}.tone-violet{--tile-accent:#8261c7}.tone-cyan{--tile-accent:#30a0b7}.tone-indigo{--tile-accent:#586ec0}.tone-rose{--tile-accent:#cf6171}.tone-purple{--tile-accent:#9a60b5}.tone-teal{--tile-accent:#2e9b88}.tone-green{--tile-accent:#38a56b}.progress-error,.progress-empty{color:#b45309;margin:0 0 12px;font-size:.85rem}.progress-empty{color:#64748b}.user-dashboard-header{margin-bottom:24px}.user-dashboard-header h1{color:#0f172a;margin-bottom:6px;font-size:1.8rem;font-weight:700}.user-dashboard-header p{color:#64748b;font-size:.95rem}.summary-cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;margin-bottom:32px;display:grid}.summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;align-items:center;gap:20px;padding:24px;transition:transform .3s,box-shadow .3s;display:flex;box-shadow:0 4px 6px -1px #0000000d}.summary-card:hover{transform:translateY(-4px);box-shadow:0 10px 15px -3px #0000001a}.card-icon{border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:60px;height:60px;display:flex}.card-icon svg{width:28px;height:28px}.card-icon.completed{color:#166534;background:#dcfce7}.card-icon.active{color:#1e40af;background:#dbeafe}.card-icon.pending{color:#854d0e;background:#fef9c3}.card-info h3{color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px;font-size:.8rem;font-weight:600}.card-info .card-number{color:#0f172a;font-size:1.8rem;font-weight:700;line-height:1}.leads-table tbody tr.lead-row:hover{cursor:pointer;background-color:#f8fafc}.leads-table tbody tr.lead-row.expanded{background-color:#f8fafc}.leads-table tbody tr.notes-row:hover{background-color:#0000}.badge{text-transform:capitalize;border-radius:50px;padding:6px 12px;font-size:.75rem;font-weight:600;display:inline-block}.badge-success{color:#166534;background:#dcfce7}.badge-warning{color:#854d0e;background:#fef9c3}.badge-info{color:#0369a1;background:#e0f2fe}.badge-primary{color:#4338ca;background:#e0e7ff}.badge-danger{color:#991b1b;background:#fee2e2}.notes-row>td{background:#f8faff;border-bottom:1px solid #e2e8f0;white-space:normal!important;padding:0!important}.notes-container{background:#f8faff;border-left:3px solid #6366f1;margin:0;padding:22px 32px 24px}.notes-container h4{color:#334155;margin:0 0 14px;font-size:.92rem;font-weight:700}.note-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin:0 0 16px;padding:17px 18px;box-shadow:0 2px 8px #0f172a09}.note-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;display:flex}.note-author{align-items:center;gap:11px;display:flex}.note-author .avatar{color:#4f46e5;background:#eef2ff;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-size:.9rem;font-weight:700;display:flex}.note-author strong{color:#0f172a;font-size:.85rem;display:block}.note-date{color:#64748b;margin-top:2px;font-size:.75rem;display:block}.note-actions{gap:14px;display:flex}.text-btn{cursor:pointer;background:0 0;border:0;padding:3px 0;font:650 .78rem/1.3 Inter,sans-serif}.text-btn.edit{color:#4f46e5}.text-btn.delete{color:#dc2626}.text-btn:hover{text-decoration:underline}.user-dashboard-page .note-actions .text-btn:hover{background-color:#0000}.note-body{color:#475569;margin:0;font-size:.88rem;line-height:1.65}.user-dashboard-page .notes-container{padding-top:14px;padding-bottom:16px;overflow-x:auto}.user-dashboard-page .note-card.note-row{box-sizing:border-box;width:100%;min-width:760px;min-height:42px;box-shadow:none;border-radius:8px;grid-template-columns:minmax(210px,250px) 140px minmax(200px,1fr) 116px;align-items:center;gap:16px;margin:0 0 7px;padding:9px 12px;display:grid}.user-dashboard-page .note-row .note-date,.user-dashboard-page .note-row .note-author-name,.user-dashboard-page .note-row .note-body{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.user-dashboard-page .note-row .note-date{margin:0;font-size:.73rem}.user-dashboard-page .note-row .note-author-name{color:#0f172a;font-size:.82rem}.user-dashboard-page .note-row .note-body{line-height:1.4}.user-dashboard-page .note-row .note-actions{white-space:nowrap;justify-content:flex-end;gap:8px}.user-dashboard-page .note-row .text-btn{text-align:center;min-width:48px}.add-note-wrapper{flex-direction:column;gap:10px;margin-top:16px;display:flex}.note-input{color:#1e293b;resize:vertical;background:#fff;border:1px solid #dbe2ea;border-radius:11px;outline:none;width:100%;min-height:100px;padding:14px 16px;font:400 .9rem/1.55 Inter,sans-serif;transition:border-color .16s}.note-input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f121}.btn-add-note{color:#fff;cursor:pointer;background:#4f46e5;border:0;border-radius:9px;align-self:flex-end;min-height:44px;padding:0 18px;font:650 .85rem/1 Inter,sans-serif;transition:background-color .16s}.btn-add-note:hover{background:#4338ca}.btn-load-more{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe2ea;border-radius:10px;padding:10px 24px;font-size:.9rem;font-weight:600}@media (width<=768px){.user-dashboard-page,.notes-container{padding:16px}.dashboard-command-panel{padding:20px}.lead-progress-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}}@media (width<=600px){.dashboard-command-top,.dashboard-period-bar{flex-direction:column;align-items:flex-start}.dashboard-command-top{gap:18px}.dashboard-command-actions{justify-content:space-between;width:100%}.dashboard-period-bar{flex-wrap:wrap;gap:14px}.dashboard-period-meta{flex-direction:column;align-items:flex-start;gap:12px;width:100%}.dashboard-period-meta .dashboard-period-caption{width:100%}.dashboard-period-meta .dashboard-period-caption strong{max-width:100%}.dashboard-period-switcher{flex:0 0 100%;gap:6px;width:100%}.dashboard-period-switcher button{padding:0 5px;font-size:.74rem}.lead-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=390px){.user-dashboard-page{padding:12px}.dashboard-command-panel{padding:16px}.dashboard-brand-mark{flex-basis:44px;width:44px;height:44px}.dashboard-welcome{gap:11px}.dashboard-welcome h1{font-size:1.15rem}.dashboard-live-indicator{font-size:.75rem}.lead-progress-tile{min-height:124px;padding:14px}.lead-progress-label{font-size:.63rem}}.dashboard-category-select{appearance:none;color:#17385c;cursor:pointer;background-color:#f8fafc;background-image:url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2317385c%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E);background-position:right .8em top 50%,0 0;background-repeat:no-repeat,repeat;background-size:.65em,100%;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:220px;padding:9px 34px 9px 12px;font:600 .82rem Inter,sans-serif;transition:border-color .15s,box-shadow .15s}.dashboard-category-select:hover{border-color:#94a3b8}.dashboard-category-select:focus{border-color:#2674b8;box-shadow:0 0 0 3px #2674b826}.lead-progress-tile{cursor:pointer}.lead-progress-tile.active-tile{border-color:#0000;transform:translateY(-2px);box-shadow:0 0 0 3px #4f46e5,0 10px 20px #132d481a}.btn-clear-filter{color:#dc2626;cursor:pointer;white-space:nowrap;background:#fee2e2;border:1px solid #fecaca;border-radius:8px;align-items:center;gap:6px;width:auto;padding:6px 12px;font-size:.8rem;font-weight:600;transition:all .2s;display:inline-flex}.btn-clear-filter:hover{background:#fecaca}.assignment-details-page{box-sizing:border-box;color:#1e293b;text-align:left;width:100%;min-width:0;max-width:1600px;margin:0 auto;padding:30px clamp(18px,3vw,40px) 48px;font-family:Inter,Segoe UI,sans-serif}.assignment-details-page *,.assignment-details-page :before,.assignment-details-page :after{box-sizing:border-box}.assignment-details-page .page-header{flex-direction:column;align-items:flex-start;gap:10px;margin:0 0 26px;display:flex}.assignment-details-page .btn-back{color:#4f46e5;cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;margin:0;padding:7px 0;font:600 .9rem/1.4 Inter,Segoe UI,sans-serif;display:inline-flex}.assignment-details-page .btn-back:hover{color:#3730a3}.assignment-details-page .btn-back:focus-visible,.assignment-details-page .text-btn:focus-visible,.assignment-details-page .btn-add-note:focus-visible{outline-offset:3px;outline:3px solid #6366f14d}.assignment-details-page .page-header h1{color:#0f172a;letter-spacing:-.035em;margin:0;font-size:clamp(1.65rem,2.4vw,2rem);font-weight:750;line-height:1.2}.assignment-details-page .summary-grid{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:20px;margin-bottom:24px;display:grid}.assignment-details-page .summary-grid.assignment-summary-grid{grid-template-columns:minmax(0,1fr)}.assignment-details-page .summary-card,.assignment-details-page .section-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;min-width:0;overflow:hidden;box-shadow:0 8px 24px #0f172a0b}.assignment-details-page .summary-card{flex-direction:column;align-items:stretch;gap:0;padding:24px;transition:none;display:flex}.assignment-details-page .summary-card:hover{transform:none;box-shadow:0 8px 24px #0f172a0b}.assignment-details-page .summary-card h3{color:#0f172a;border-bottom:1px solid #edf0f5;margin:0 0 20px;padding-bottom:14px;font-size:1.05rem;font-weight:700;line-height:1.4}.assignment-details-page .batch-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;display:grid}.assignment-details-page .info-item{background:#f8fafc;border:1px solid #edf0f5;border-radius:11px;flex-direction:column;justify-content:center;gap:7px;min-width:0;min-height:76px;padding:13px 15px;display:flex}.assignment-details-page .info-item:last-child{grid-column:1/-1}.assignment-details-page .info-label{color:#64748b;letter-spacing:.075em;text-transform:uppercase;font-size:.7rem;font-weight:700;line-height:1.3}.assignment-details-page .info-value{overflow-wrap:anywhere;color:#0f172a;font-size:.94rem;font-weight:600;line-height:1.45}.assignment-details-page .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;display:grid}.assignment-details-page .stat-box{letter-spacing:.055em;text-transform:uppercase;background:#fff;border:1px solid #e8edf3;border-left-width:3px;border-radius:11px;flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;min-height:88px;padding:13px 16px;font-size:.68rem;font-weight:700;line-height:1.2;display:flex}.assignment-details-page .stat-box span{letter-spacing:-.04em;font-size:1.7rem;font-weight:750;line-height:1}.assignment-details-page .stat-box.success{color:#15803d;background:#f0fdf4;border-left-color:#22c55e}.assignment-details-page .stat-box.warning{color:#92400e;background:#fffbeb;border-left-color:#f59e0b}.assignment-details-page .stat-box.info{color:#0369a1;background:#f0f9ff;border-left-color:#0ea5e9}.assignment-details-page .stat-box.primary{color:#4338ca;background:#eef2ff;border-left-color:#6366f1}.assignment-details-page .stat-box.danger{color:#b91c1c;background:#fef2f2;border-left-color:#ef4444}.assignment-details-page .assignment-progress-section{background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin:0 0 26px;padding:22px 24px 24px;box-shadow:0 8px 24px #0f172a0b}.assignment-details-page .assignment-progress-heading,.assignment-details-page .assignment-progress-controls,.assignment-details-page .assignment-progress-window,.assignment-details-page .assignment-progress-tile-top{align-items:center;display:flex}.assignment-details-page .assignment-progress-heading,.assignment-details-page .assignment-progress-controls{justify-content:space-between}.assignment-details-page .assignment-progress-heading{gap:16px;margin-bottom:16px}.assignment-details-page .assignment-progress-eyebrow{color:#7d8da0;letter-spacing:.08em;text-transform:uppercase;font-size:.69rem;font-weight:700}.assignment-details-page .assignment-progress-heading h2{color:#17385c;margin:4px 0 0;font-size:1.25rem;font-weight:650}.assignment-details-page .assignment-progress-period-label{color:#56718c;background:#f8fafc;border:1px solid #dce8f2;border-radius:999px;padding:6px 11px;font-size:.75rem;font-weight:650}.assignment-details-page .assignment-progress-controls{border-top:1px solid #e8edf3;gap:24px;padding:15px 0 16px}.assignment-details-page .assignment-progress-window{gap:12px;min-width:0}.assignment-details-page .assignment-progress-calendar{color:#fff;background:#2c7db8;border-radius:5px;flex:0 0 36px;place-items:center;width:36px;height:36px;font-size:1.15rem;display:grid}.assignment-details-page .assignment-progress-window div{gap:3px;min-width:0;display:grid}.assignment-details-page .assignment-progress-window div span{color:#8493a5;letter-spacing:.06em;text-transform:uppercase;font-size:.68rem;font-weight:650}.assignment-details-page .assignment-progress-window strong{color:#38536f;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:650;overflow:hidden}.assignment-details-page .assignment-progress-switcher{flex:0 0 min(48%,460px);grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.assignment-details-page .assignment-progress-switcher button{color:#52667b;white-space:nowrap;cursor:pointer;background:#f8fafc;border:1px solid #e1e8f0;border-radius:6px;min-width:0;min-height:38px;padding:0 10px;font:600 .82rem Inter,Segoe UI,sans-serif;transition:border-color .15s,background-color .15s,color .15s}.assignment-details-page .assignment-progress-switcher button:hover{background:#f0f7fc;border-color:#9ec7e5}.assignment-details-page .assignment-progress-switcher button.active{color:#fff;background:#2b7eb8;border-color:#2b7eb8}.assignment-details-page .assignment-progress-switcher button:focus-visible{outline-offset:2px;outline:3px solid #2b7eb840}.assignment-details-page .assignment-progress-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.assignment-details-page .assignment-progress-tile{--tile-accent:#327db8;background:#fff;border:1px solid #e5eaf0;border-radius:8px;min-width:0;min-height:126px;padding:15px 16px 13px;transition:transform .16s,box-shadow .16s;position:relative;overflow:hidden;box-shadow:0 5px 16px #132d480b}.assignment-details-page .assignment-progress-tile:before{background:var(--tile-accent);content:"";width:3px;position:absolute;inset:0 auto 0 0}.assignment-details-page .assignment-progress-tile:hover{transform:translateY(-2px);box-shadow:0 9px 22px #132d4817}.assignment-details-page .assignment-progress-tile-top{justify-content:space-between;gap:8px}.assignment-details-page .assignment-progress-label{color:#758398;letter-spacing:.045em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:.66rem;font-weight:700;overflow:hidden}.assignment-details-page .assignment-progress-dot{background:var(--tile-accent);opacity:.8;border-radius:50%;flex:0 0 8px;width:8px;height:8px}.assignment-details-page .assignment-progress-count{color:#17385c;margin:13px 0 7px;font-size:1.8rem;font-weight:650;line-height:1;display:block}.assignment-details-page .assignment-progress-count.is-loading{color:#9aa8b7}.assignment-details-page .assignment-progress-caption{color:#9aa7b6;font-size:.7rem}.assignment-details-page .assignment-progress-tile.tone-blue{--tile-accent:#3184c5}.assignment-details-page .assignment-progress-tile.tone-amber{--tile-accent:#d7a026}.assignment-details-page .assignment-progress-tile.tone-orange{--tile-accent:#e0793c}.assignment-details-page .assignment-progress-tile.tone-violet{--tile-accent:#8261c7}.assignment-details-page .assignment-progress-tile.tone-cyan{--tile-accent:#30a0b7}.assignment-details-page .assignment-progress-tile.tone-indigo{--tile-accent:#586ec0}.assignment-details-page .assignment-progress-tile.tone-rose{--tile-accent:#cf6171}.assignment-details-page .assignment-progress-tile.tone-purple{--tile-accent:#9a60b5}.assignment-details-page .assignment-progress-tile.tone-teal{--tile-accent:#2e9b88}.assignment-details-page .assignment-progress-tile.tone-green{--tile-accent:#38a56b}.assignment-details-page .assignment-progress-error,.assignment-details-page .assignment-progress-empty{color:#b45309;margin:0 0 12px;font-size:.85rem}.assignment-details-page .assignment-progress-empty{color:#64748b}.assignment-details-page .section-card-header{border-bottom:1px solid #e8edf3;justify-content:space-between;align-items:center;min-height:68px;padding:18px 24px;display:flex}.assignment-details-page .section-card-header h2{color:#0f172a;letter-spacing:-.01em;margin:0;font-size:1.05rem;font-weight:700;line-height:1.4}.assignment-details-page .table-responsive{overscroll-behavior-x:contain;width:100%;overflow-x:auto}.assignment-details-page .users-table{border-collapse:separate;border-spacing:0;text-align:left;width:100%;min-width:700px}.assignment-details-page .users-table th{color:#64748b;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e8edf3;padding:13px 20px;font-size:.68rem;font-weight:700}.assignment-details-page .users-table td{color:#475569;white-space:nowrap;background:#fff;border-bottom:1px solid #edf0f4;padding:16px 20px;font-size:.88rem;line-height:1.45}.assignment-details-page .users-table tbody tr:last-child>td{border-bottom:0}.assignment-details-page .users-table .lead-row{cursor:pointer;transition:background-color .16s}.assignment-details-page .users-table .lead-row:hover>td,.assignment-details-page .users-table .lead-row.expanded>td{background:#f8faff}.assignment-details-page .users-table .lead-row.expanded>td{border-bottom-color:#f8faff}.assignment-details-page .users-table .lead-row>td:first-child{color:#0f172a;font-weight:650}.assignment-details-page .users-table .lead-row>td:last-child{color:#64748b;font-size:.75rem}.assignment-details-page .users-table .badge{text-transform:capitalize;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;min-height:25px;padding:4px 10px;font-size:.72rem;font-weight:700;line-height:1.2;display:inline-flex}.assignment-details-page .users-table .badge-success{color:#15803d;background:#f0fdf4;border-color:#bbf7d0}.assignment-details-page .users-table .badge-warning{color:#92400e;background:#fffbeb;border-color:#fde68a}.assignment-details-page .users-table .badge-info{color:#0369a1;background:#f0f9ff;border-color:#bae6fd}.assignment-details-page .users-table .badge-primary{color:#4338ca;background:#eef2ff;border-color:#c7d2fe}.assignment-details-page .users-table .badge-danger{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.assignment-details-page .users-table .notes-row>td{white-space:normal;background:#f8faff;border-bottom:1px solid #e2e8f0;padding:0!important}.assignment-details-page .notes-container{background:#f8faff;border-left:3px solid #6366f1;margin:0;padding:22px clamp(16px,3vw,32px) 24px}.assignment-details-page .notes-container h4{color:#334155;margin:0 0 14px;font-size:.92rem;font-weight:700;line-height:1.4}.assignment-details-page .note-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin:0 0 16px;padding:17px 18px;box-shadow:0 2px 8px #0f172a09}.assignment-details-page .note-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;display:flex}.assignment-details-page .note-author{align-items:center;gap:11px;min-width:0;display:flex}.assignment-details-page .note-author .avatar{color:#4f46e5;background:#eef2ff;border-radius:50%;flex:0 0 38px;justify-content:center;align-items:center;width:38px;height:38px;font-size:.9rem;font-weight:700;display:flex}.assignment-details-page .note-author strong{color:#0f172a;font-size:.85rem;line-height:1.4;display:block}.assignment-details-page .note-date{color:#64748b;margin-top:2px;font-size:.75rem;line-height:1.4;display:block}.assignment-details-page .note-actions{flex:none;gap:14px;padding-top:2px;display:flex}.assignment-details-page .text-btn{cursor:pointer;background:0 0;border:0;padding:3px 0;font:650 .78rem/1.3 Inter,Segoe UI,sans-serif}.assignment-details-page .text-btn.edit{color:#4f46e5}.assignment-details-page .text-btn.delete{color:#dc2626}.assignment-details-page .text-btn:hover{text-decoration:underline}.assignment-details-page .note-body{color:#475569;overflow-wrap:anywhere;margin:0;font-size:.88rem;line-height:1.65}.assignment-details-page .notes-container{padding-top:14px;padding-bottom:16px;overflow-x:auto}.assignment-details-page .note-card.note-row{box-sizing:border-box;width:100%;min-width:760px;min-height:42px;box-shadow:none;border-radius:8px;grid-template-columns:minmax(210px,250px) 140px minmax(200px,1fr) 116px;align-items:center;gap:16px;margin:0 0 7px;padding:9px 12px;display:grid}.assignment-details-page .note-row .note-date,.assignment-details-page .note-row .note-author-name,.assignment-details-page .note-row .note-body{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.assignment-details-page .note-row .note-date{margin:0;font-size:.73rem}.assignment-details-page .note-row .note-author-name{color:#0f172a;font-size:.82rem}.assignment-details-page .note-row .note-body{line-height:1.4}.assignment-details-page .note-row .note-actions{justify-content:flex-end;gap:8px;padding:0}.assignment-details-page .note-row .text-btn{text-align:center;min-width:48px}.assignment-details-page .add-note-wrapper{flex-direction:column;align-items:stretch;gap:10px;margin-top:16px;display:flex}.assignment-details-page .note-input{color:#1e293b;resize:vertical;background:#fff;border:1px solid #dbe2ea;border-radius:11px;outline:none;flex:none;width:100%;min-width:0;min-height:150px;padding:14px 16px;font:400 .9rem/1.55 Inter,Segoe UI,sans-serif;transition:border-color .16s,box-shadow .16s;display:block}.assignment-details-page .note-input::placeholder{color:#94a3b8}.assignment-details-page .note-input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f121}.assignment-details-page .btn-add-note{color:#fff;white-space:nowrap;cursor:pointer;background:#4f46e5;border:0;border-radius:9px;flex:none;align-self:flex-end;min-height:44px;padding:0 18px;font:650 .85rem/1 Inter,Segoe UI,sans-serif;transition:background-color .16s,transform .16s}.assignment-details-page .btn-add-note:hover{background:#4338ca;transform:translateY(-1px)}@media (width<=1100px){.assignment-details-page .summary-grid{grid-template-columns:minmax(0,1fr)}.assignment-details-page .assignment-progress-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=700px){.assignment-details-page{padding:22px 16px 32px}.assignment-details-page .summary-card{padding:19px}.assignment-details-page .batch-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.assignment-details-page .section-card-header{min-height:60px;padding:16px 18px}.assignment-details-page .users-table th,.assignment-details-page .users-table td{padding-left:14px;padding-right:14px}.assignment-details-page .assignment-progress-section{padding:18px}.assignment-details-page .assignment-progress-controls{flex-direction:column;align-items:flex-start;gap:14px}.assignment-details-page .assignment-progress-switcher{flex:none;width:100%}.assignment-details-page .assignment-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}@media (width<=480px){.assignment-details-page{padding:18px 12px 28px}.assignment-details-page .batch-info-grid{grid-template-columns:minmax(0,1fr)}.assignment-details-page .stats-grid{gap:9px}.assignment-details-page .stat-box{min-height:86px}.assignment-details-page .note-input{min-height:140px}.assignment-details-page .assignment-progress-heading h2{font-size:1.1rem}.assignment-details-page .assignment-progress-switcher{gap:6px}.assignment-details-page .assignment-progress-switcher button{padding:0 5px;font-size:.72rem}.assignment-details-page .assignment-progress-tile{min-height:116px;padding:13px 12px}.assignment-details-page .assignment-progress-label{font-size:.61rem}}.users-page{width:100%;padding:32px;font-family:Inter,sans-serif}.users-header{margin-bottom:24px}.users-header h1{color:#0f172a;margin-bottom:6px;font-size:1.8rem;font-weight:700}.users-header p{color:#64748b;font-size:.95rem}.users-toolbar{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:20px 24px;display:flex;box-shadow:0 4px 6px -1px #0000000d}.search-input-group input::placeholder{color:#94a3b8}.btn-add-user{color:#fff;white-space:nowrap;background:#4f46e5;border-radius:10px;align-items:center;gap:8px;height:46px;padding:0 20px;font-size:.95rem;font-weight:600;text-decoration:none;transition:background .2s;display:flex}.btn-add-user:hover{background:#4338ca}.btn-add-user svg{width:18px;height:18px}@media (width<=768px){.users-toolbar{flex-direction:column;align-items:stretch;padding:16px}.search-form{max-width:100%}.btn-add-user{justify-content:center}}.users-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;box-shadow:0 4px 6px -1px #0000000d}.users-table{border-collapse:collapse;text-align:left;width:100%}.users-table th{color:#64748b;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:16px 20px;font-size:.75rem;font-weight:600}.users-table td{color:#334155;white-space:nowrap;border-bottom:1px solid #e2e8f0;padding:16px 20px;font-size:.9rem}.users-table tbody tr{transition:background-color .2s}.users-table tbody tr:hover{background-color:#f8fafc}.users-table tbody tr:last-child td{border-bottom:none}@media (width<=768px){.users-page{padding:16px}.users-toolbar{flex-direction:column;align-items:stretch;padding:16px}.search-form{flex-direction:column;align-items:stretch;max-width:100%}.btn-search{width:100%}}.assignlead-page{width:100%;padding:32px;font-family:Inter,sans-serif}.assignlead-header{margin-bottom:24px}.assignlead-header h1{color:#0f172a;margin-bottom:6px;font-size:1.8rem;font-weight:700}.assignlead-header p{color:#64748b;font-size:.95rem}.assign-form-grid{grid-template-columns:1fr 1fr 1fr 1fr;align-items:end;gap:20px;display:grid}.btn-select-visible-fields{color:#334155;text-align:left;cursor:pointer;background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;min-height:46px;padding:0 14px;font:600 .9rem Inter,sans-serif;transition:border-color .16s,background-color .16s,box-shadow .16s;display:flex}.btn-select-visible-fields:hover:not(:disabled),.btn-select-visible-fields:focus-visible{background:#fff;border-color:#4f46e5;outline:none;box-shadow:0 0 0 3px #4f46e51f}.btn-select-visible-fields span{color:#64748b;white-space:nowrap;font-size:.78rem;font-weight:500}.btn-select-visible-fields:disabled{cursor:not-allowed;opacity:.65}.visible-fields-modal-backdrop{z-index:1200;background:#0f172a8c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.visible-fields-modal{background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:min(100%,680px);max-height:min(90vh,760px);overflow:auto;box-shadow:0 24px 70px #0f172a40}.visible-fields-modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px;display:flex}.visible-fields-modal-header h2{color:#0f172a;margin:0 0 5px;font-size:1.15rem;font-weight:700}.visible-fields-modal-header p{color:#64748b;margin:0;font-size:.88rem}.visible-fields-modal-close{color:#475569;cursor:pointer;background:#f1f5f9;border:0;border-radius:8px;flex:0 0 34px;place-items:center;width:34px;height:34px;margin:0;font-size:1.5rem;line-height:1;transition:none;display:grid}.visible-fields-modal-close:hover,.visible-fields-modal-close:active{color:#475569;background:#f1f5f9;transform:none}.visible-fields-modal-toolbar{color:#64748b;border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;gap:12px;padding:14px 24px;font-size:.82rem;font-weight:600;display:flex}.visible-fields-modal-toolbar button{color:#4f46e5;cursor:pointer;background:#eef2ff;border:0;border-radius:6px;flex:none;width:auto;min-width:0;height:auto;min-height:32px;margin:0;padding:6px 10px;font:600 .82rem Inter,sans-serif;transition:none}.visible-fields-modal-toolbar button:hover,.visible-fields-modal-toolbar button:active{color:#4f46e5;background:#eef2ff;transform:none}.visible-fields-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:20px 24px;display:grid}.visible-field-option{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;align-items:center;gap:10px;min-height:44px;padding:9px 11px;font-size:.86rem;display:flex}.visible-field-option:has(input:checked){background:#f5f6ff;border-color:#c7d2fe}.visible-field-option input{accent-color:#4f46e5;width:16px;height:16px;margin:0}.visible-field-option input:disabled{cursor:not-allowed}.visible-field-option:has(input:disabled){cursor:not-allowed}.visible-fields-modal-actions{border-top:1px solid #e2e8f0;justify-content:flex-end;gap:10px;padding:16px 24px 20px;display:flex}.btn-cancel-visible-fields,.btn-save-visible-fields{cursor:pointer;border-radius:8px;min-height:40px;padding:0 16px;font:600 .86rem Inter,sans-serif}.btn-cancel-visible-fields{color:#475569;background:#fff;border:1px solid #cbd5e1}.btn-save-visible-fields{color:#fff;background:#4f46e5;border:1px solid #4f46e5}.btn-save-visible-fields:hover{background:#4338ca;border-color:#4338ca}.assign-form-actions{grid-column:1/-1;justify-content:flex-end;margin-top:10px;display:flex}.btn-assign{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:10px;height:46px;padding:0 32px;font-size:.95rem;font-weight:600;transition:background .2s}@media (width<=1024px){.assign-form-grid{grid-template-columns:1fr 1fr}}@media (width<=768px){.assignlead-page{padding:16px}.assign-form-grid{grid-template-columns:1fr}.assign-form-actions{justify-content:stretch}.btn-assign{width:100%}.visible-fields-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=480px){.visible-fields-modal-backdrop{padding:12px}.visible-fields-modal-header,.visible-fields-modal-toolbar{padding-left:16px;padding-right:16px}.visible-fields-options{grid-template-columns:1fr;padding:16px}.visible-fields-modal-actions{padding-left:16px;padding-right:16px}}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:2000;background:#0f172a99;justify-content:center;align-items:center;padding:16px;animation:.2s ease-out overlayFadeIn;display:flex;position:fixed;inset:0}@keyframes overlayFadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:16px;flex-direction:column;width:100%;max-width:500px;max-height:90vh;animation:.3s cubic-bezier(.175,.885,.32,1.275) modalScaleIn;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #00000040}@keyframes modalScaleIn{0%{opacity:0;transform:scale(.95)translateY(10px)}to{opacity:1;transform:scale(1)translateY(0)}}.modal-header{border-bottom:1px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-header h2{color:#0f172a;letter-spacing:-.02em;margin:0;font-size:1.25rem;font-weight:700}.modal-close{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s;display:flex}.modal-body{flex:1;padding:24px;overflow-y:auto}.modal-body::-webkit-scrollbar{width:6px}.modal-body::-webkit-scrollbar-track{background:0 0}.modal-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.modal-body::-webkit-scrollbar-thumb:hover{background:#94a3b8}.modal-footer{background:#f8fafc;border-top:1px solid #e2e8f0;border-radius:0 0 16px 16px;flex-shrink:0;justify-content:flex-end;gap:12px;padding:16px 24px;display:flex}.modal-btn{cursor:pointer;border:none;border-radius:10px;height:44px;padding:0 20px;font-family:Inter,sans-serif;font-size:.9rem;font-weight:600;transition:all .2s}.modal-btn.cancel:hover{color:#334155;background:#f8fafc;border-color:#cbd5e1}.modal-btn.save:hover{background:#4338ca;transform:translateY(-1px)}.modal-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}@media (width<=576px){.modal-footer{flex-direction:column-reverse}.modal-btn{width:100%}}.leads-page{width:100%;padding:32px;font-family:Inter,sans-serif}.leads-header{margin-bottom:24px}.leads-header h1{color:#0f172a;margin-bottom:6px;font-size:1.8rem;font-weight:700}.leads-header p{color:#64748b;font-size:.95rem}.assign-form-row{grid-template-columns:1fr 1fr auto;align-items:end;gap:20px;display:grid}.assign-form-group{flex-direction:column;display:flex}.assign-form-group label{color:#334155;margin-bottom:8px;font-size:.9rem;font-weight:600}.assign-form-group input,.assign-form-group select{color:#334155;background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;outline:none;width:100%;height:46px;padding:0 16px;font-family:Inter,sans-serif;font-size:.95rem;transition:all .2s}.assign-form-group input:focus,.assign-form-group select:focus{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}.btn-assign{color:#fff;cursor:pointer;white-space:nowrap;background:#4f46e5;border:none;border-radius:10px;height:46px;padding:0 24px;font-size:.95rem;font-weight:600;transition:background .2s}.btn-assign:hover{background:#4338ca}.btn-add-lead{color:#fff;white-space:nowrap;background:#4f46e5;border-radius:10px;align-items:center;gap:8px;height:42px;padding:0 20px;font-size:.9rem;font-weight:600;text-decoration:none;transition:background .2s;display:flex}.btn-add-lead:hover{background:#4338ca}.leads-table{border-collapse:collapse;text-align:left;width:100%}.leads-table th{color:#64748b;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:16px 20px;font-size:.75rem;font-weight:600}.leads-table td{color:#334155;white-space:nowrap;border-bottom:1px solid #e2e8f0;padding:16px 20px;font-size:.9rem}.leads-table tbody tr:hover{background-color:#f8fafc}.leads-table tbody tr:last-child td{border-bottom:none}.badge{border-radius:50px;padding:6px 12px;font-size:.75rem;font-weight:600;display:inline-block}.badge-active{color:#166534;background:#dcfce7}.badge-pending{color:#854d0e;background:#fef9c3}.badge-inactive{color:#991b1b;background:#fee2e2}.action-btn{cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;transition:all .2s;display:flex}.action-btn.view{color:#0ea5e9;background:#e0f2fe}.action-btn.view:hover{background:#bae6fd}.action-btn.status{color:#8b5cf6;background:#ede9fe}.action-btn.status:hover{background:#ddd6fe}@media (width<=768px){.leads-page{padding:16px}.assign-form-row{grid-template-columns:1fr}.table-toolbar{flex-direction:column;align-items:stretch;padding:16px}.search-form{max-width:100%}.btn-add-lead{justify-content:center}}.modal-content{background:#fff;border-radius:16px;flex-direction:column;width:100%;max-width:500px;animation:.3s ease-out modalIn;display:flex;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a}.modal-content.wide-modal{max-width:800px}.modal-header h2{color:#0f172a;margin:0;font-size:1.25rem;font-weight:700}.modal-close{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s;display:flex}.modal-close:hover{color:#0f172a;background:#f1f5f9}.modal-body{flex-direction:column;padding:24px;display:flex}.details-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.details-section-title{color:#4f46e5;text-transform:uppercase;letter-spacing:1px;border-bottom:1px solid #e2e8f0;grid-column:1/-1;margin-top:8px;margin-bottom:4px;padding-bottom:6px;font-size:.8rem;font-weight:700}.detail-item{overflow-wrap:anywhere;flex-direction:column;gap:4px;min-width:0;display:flex}.detail-label{color:#64748b;text-transform:uppercase;font-size:.75rem;font-weight:600}.detail-value{color:#0f172a;overflow-wrap:anywhere;min-width:0;font-size:.95rem;font-weight:500}.remarks-edit-container{flex-direction:column;grid-column:1/-1;gap:12px;display:flex}.remarks-textarea{color:#334155;resize:vertical;background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;outline:none;width:100%;min-height:100px;padding:16px;font-family:Inter,sans-serif;font-size:.95rem;line-height:1.6;transition:all .2s}.remarks-textarea:focus{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}.remarks-action{justify-content:flex-end;display:flex}.btn-update-remark{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:8px;height:38px;padding:0 16px;font-size:.85rem;font-weight:600;transition:background .2s}.btn-update-remark:hover{background:#4338ca}@media (width<=600px){.details-grid{grid-template-columns:1fr}.details-section-title,.remarks-edit-container{grid-column:1/-1}.remarks-action{justify-content:stretch}.btn-update-remark{width:100%}}.modal-footer{background:#f8fafc;border-top:1px solid #e2e8f0;justify-content:flex-end;gap:12px;padding:20px 24px;display:flex}.modal-btn{cursor:pointer;border:none;border-radius:10px;height:44px;padding:0 20px;font-size:.9rem;font-weight:600;transition:all .2s}.modal-btn.cancel{color:#64748b;background:#fff;border:1px solid #dbe2ea}.modal-btn.cancel:hover{color:#334155;background:#f1f5f9}.modal-btn.save:hover{background:#4338ca}.clear-search-btn{cursor:pointer;color:#94a3b8;background:0 0;border:none;justify-content:center;align-items:center;height:100%;padding:0 8px;transition:color .2s;display:flex}.clear-search-btn:hover{color:#334155}.btn-load-more{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe2ea;border-radius:10px;flex:none;width:auto;padding:10px 24px;font-size:.9rem;font-weight:600;transition:all .2s}.adduser-page{width:100%;padding:32px;font-family:Inter,sans-serif}.adduser-header{margin-bottom:24px}.adduser-header h1{color:#0f172a;margin-bottom:6px;font-size:1.8rem;font-weight:700}.adduser-header p{color:#64748b;font-size:.95rem}.adduser-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;padding:40px;box-shadow:0 4px 6px -1px #0000000d}.form-group input{color:#334155;background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;outline:none;width:100%;height:50px;padding:0 16px;font-size:.95rem;transition:all .2s}.form-group input:focus{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}.form-actions{justify-content:flex-start;align-items:center;margin-top:32px;display:flex}@media (width<=576px){.adduser-page{padding:16px}.adduser-card{padding:24px}.btn-submit{width:100%}}.form-message{border-radius:10px;align-items:center;gap:8px;margin-top:16px;padding:12px 16px;font-size:.9rem;font-weight:500;display:flex}.form-message.error{color:#dc2626;background:#fef2f2;border:1px solid #fecaca}.form-message.success{color:#16a34a;background:#f0fdf4;border:1px solid #bbf7d0}.btn-submit:disabled{opacity:.6;cursor:not-allowed}.template-mode-switch button.active{color:#4338ca;background:#fff;border-color:#e2e8f0;box-shadow:0 1px 4px #0f172a1f}@media (width<=768px){.settings-page{padding:16px}.setting-form{grid-template-columns:1fr}.btn-add-setting{grid-column:1/-1;justify-self:stretch;width:100%}.settings-filter{max-width:100%}.settings-accordion-content{padding:14px}.settings-accordion-summary{flex-wrap:wrap;gap:5px 10px;min-height:68px;padding:15px 17px}.settings-accordion-title,.settings-accordion-hint{flex-basis:calc(100% - 32px)}.settings-accordion-chevron{position:absolute;right:32px}.settings-accordion-summary{position:relative}.template-fields-grid{grid-template-columns:1fr}.template-body-group{grid-column:auto}.template-editor-card{padding:17px}}@media (width<=480px){.settings-accordion-content{padding:10px}.settings-accordion-summary{padding:14px}.settings-accordion-chevron{right:22px}.template-editor-heading{align-items:flex-start}.contact-template-actions,.btn-save-templates,.template-mode-switch{width:100%}.template-mode-switch button{white-space:nowrap;flex:1;min-width:0;padding:0 7px;font-size:.78rem}}.addlead-page{width:100%;padding:32px;font-family:Inter,sans-serif}.addlead-header{margin-bottom:24px}.addlead-header h1{color:#0f172a;margin-bottom:6px;font-size:1.8rem;font-weight:700}.addlead-header p{color:#64748b;font-size:.95rem}.addlead-card{max-width:auto;background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;padding:40px;box-shadow:0 4px 6px -1px #0000000d}.form-group{margin-bottom:20px}.form-group label{color:#334155;margin-bottom:8px;font-size:.9rem;font-weight:600;display:block}.form-group input,.form-group select{color:#334155;background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;outline:none;width:100%;height:50px;padding:0 16px;font-family:Inter,sans-serif;font-size:.95rem;transition:all .2s}.form-group input:focus,.form-group select:focus{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}.form-group input::placeholder{color:#94a3b8}.form-row{gap:20px;display:flex}.form-row .form-group{flex:1}.custom-fields-section{border-top:1px dashed #e2e8f0;margin-top:32px;padding-top:24px}.custom-fields-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.custom-fields-header h3{color:#0f172a;font-size:1rem;font-weight:600}.custom-field-row{align-items:center;gap:12px;margin-bottom:12px;display:flex}.custom-field-row input{color:#334155;background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;outline:none;flex:1;height:46px;padding:0 14px;font-size:.9rem;transition:all .2s}.custom-field-row input:focus{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}.btn-remove-custom{color:#ef4444;cursor:pointer;box-sizing:border-box;background:#fee2e2;border:none;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;margin:0;padding:0;transition:all .2s;display:flex}.btn-remove-custom:hover{background:#fecaca}.btn-remove-custom svg{width:18px;height:18px}.add-field-container{justify-content:flex-start;margin-top:16px;display:flex}.btn-add-custom{color:#4f46e5;cursor:pointer;background:#fff;border:1px dashed #4f46e5;border-radius:50px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;width:auto;padding:10px 20px;font-size:.9rem;font-weight:600;transition:all .2s;display:inline-flex}.btn-add-custom:hover{background:#e0e7ff;border-style:solid}.form-actions{border-top:1px solid #e2e8f0;justify-content:flex-start;align-items:center;margin-top:32px;padding-top:24px;display:flex}.btn-submit{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:10px;width:auto;height:50px;padding:0 32px;font-size:.95rem;font-weight:600;transition:background .2s}.btn-submit:hover{background:#4338ca}@media (width<=768px){.addlead-page{padding:16px}.addlead-card{padding:24px}.form-row{flex-direction:column;gap:0}.custom-field-row{border-bottom:1px solid #f1f5f9;flex-direction:column;align-items:stretch;gap:8px;padding-bottom:16px}.btn-remove-custom{width:100%;height:40px}.btn-submit{width:100%}}.dynamic-fields-section{border-top:1px dashed #e2e8f0;margin-top:32px;padding-top:24px}.dynamic-fields-header{margin-bottom:16px}.dynamic-fields-header h3{color:#0f172a;align-items:center;gap:8px;margin:0;font-size:1rem;font-weight:600;display:flex}.dynamic-fields-header h3 span{color:#4f46e5}.dynamic-fields-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.field-required-mark{color:#dc2626;margin-left:2px}.dynamic-fields-state{text-align:center;color:#64748b;background:#f8fafc;border:1px dashed #e2e8f0;border-radius:10px;padding:20px;font-size:.9rem}.dynamic-fields-state.error{color:#dc2626;background:#fef2f2;border-color:#fecaca}@media (width<=576px){.dynamic-fields-grid{grid-template-columns:1fr}}.category-page{width:100%;padding:32px;font-family:Inter,sans-serif}.category-header{margin-bottom:24px}.category-header h1{color:#0f172a;margin-bottom:6px;font-size:1.8rem;font-weight:700}.category-header p{color:#64748b;font-size:.95rem}.category-form{grid-template-columns:1fr auto;align-items:start;gap:20px;display:grid}.category-form-group{flex-direction:column;min-width:0;display:flex}.category-form-group label{color:#334155;white-space:nowrap;margin-bottom:8px;font-size:.9rem;font-weight:600}.category-form-group input{color:#334155;background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;outline:none;width:100%;height:46px;padding:0 16px;font-family:Inter,sans-serif;font-size:.95rem;transition:all .2s}.category-form-group input:focus{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}.category-form-group input.input-error{background:#fef2f2;border-color:#ef4444}.category-form-group input.input-error:focus{box-shadow:0 0 0 3px #ef444426}.form-message{align-items:center;gap:6px;margin-top:8px;font-size:.85rem;font-weight:500;display:flex}.form-message.error{color:#dc2626}.form-message.success{color:#16a34a}.btn-add-category{color:#fff;cursor:pointer;white-space:nowrap;background:#4f46e5;border:none;border-radius:10px;align-self:start;width:auto;min-width:140px;height:46px;margin-top:26px;padding:0 28px;font-size:.95rem;font-weight:600;transition:background .2s}.btn-add-category:hover:not(:disabled){background:#4338ca}.btn-add-category:disabled{opacity:.6;cursor:not-allowed}.table-toolbar{background:#fff;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;padding:16px 24px;display:flex}.search-form{flex:1;width:100%;max-width:400px}.search-input-group:focus-within{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}.search-input-group input{color:#334155;background:0 0;border:none;outline:none;flex:1;height:100%;padding:0 16px;font-size:.9rem}.search-btn-icon{color:#fff;cursor:pointer;background:#4f46e5;border:none;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:100%;transition:background .2s;display:flex}.search-btn-icon:hover{background:#4338ca}.search-btn-icon svg{width:18px;height:18px}.category-table{border-collapse:collapse;text-align:left;width:100%}.category-table th{color:#64748b;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:16px 20px;font-size:.75rem;font-weight:600}.category-table td{color:#334155;white-space:nowrap;border-bottom:1px solid #e2e8f0;padding:16px 20px;font-size:.9rem}.category-table tbody tr:hover{background-color:#f8fafc}.category-table tbody tr:last-child td{border-bottom:none}.btn-load-more:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1}@media (width<=768px){.category-page{padding:16px}.category-form{grid-template-columns:1fr}.btn-add-category{width:100%;margin-top:0}.table-toolbar{flex-direction:column;align-items:stretch;padding:16px}.search-form{max-width:100%}}.modal-form-group input{color:#334155;background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;outline:none;width:100%;height:46px;padding:0 16px;font-family:Inter,sans-serif;font-size:.95rem;transition:all .2s}.modal-form-group input:focus{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}.modal-form-group input.input-error{background:#fef2f2;border-color:#ef4444}.search-input-group{background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;align-items:center;height:42px;transition:all .2s;display:flex;overflow:hidden}.clear-search-btn{cursor:pointer;color:#94a3b8;background:0 0;border:none;justify-content:center;align-items:center;width:20px;padding:0;transition:color .2s;display:flex}.clear-search-btn svg{width:16px;height:16px}.templates-page{background:#f4f7f9;width:100%;min-height:100vh;padding:32px;font-family:Inter,system-ui,-apple-system,sans-serif}.templates-header{margin-bottom:24px}.templates-header h1{color:#0f172a;margin:0 0 6px;font-size:1.8rem;font-weight:700}.templates-header p{color:#64748b;margin:0;font-size:.95rem}.templates-controls{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px;padding:20px 24px;display:flex;box-shadow:0 4px 20px -5px #0000000d}.control-group{align-items:center;gap:16px;display:flex}.control-label{color:#334155;white-space:nowrap;font-size:.95rem;font-weight:700}.template-toggle{box-sizing:border-box;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:12px;height:48px;padding:4px;display:inline-flex}.template-toggle button{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:9px;justify-content:center;align-items:center;height:100%;padding:0 28px;font-size:.95rem;font-weight:600;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex;margin:0!important}.template-toggle button:hover:not(.active){color:#334155}.template-toggle button.active{color:#4f46e5;background:#fff;box-shadow:0 2px 8px #00000014}.category-select-wrapper{min-width:260px}.category-select{color:#1e293b;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:12px;outline:none;width:100%;height:48px;padding:0 16px;font-size:.95rem;font-weight:500;transition:all .2s}.category-select:focus{border-color:#4f46e5;box-shadow:0 0 0 4px #4f46e51a}.templates-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:32px;display:grid}.template-section{background:linear-gradient(160deg,#f1f3ff 0%,#fafbff 42%,#fff 100%);border:1px solid #dfe5f5;border-radius:20px;flex-direction:column;gap:20px;padding:20px;display:flex;box-shadow:0 8px 24px #30396e0f}.email-template-section{background:linear-gradient(160deg,#f0f2ff 0%,#fafaff 45%,#fff 100%);border-color:#dfe3fb}.whatsapp-template-section{background:linear-gradient(160deg,#edfaf3 0%,#f8fdf9 45%,#fff 100%);border-color:#d7eee2}.template-section-header{background:#fff;border:1px solid #e2e8f0;border-radius:16px;align-items:center;gap:14px;padding:16px 20px;display:flex;box-shadow:0 2px 10px #00000005}.email-template-section .template-section-header{border-color:#dfe3fb;box-shadow:0 3px 12px #4f46e50f}.whatsapp-template-section .template-section-header{border-color:#d7eee2;box-shadow:0 3px 12px #10b9810f}.header-icon-wrapper{border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.header-icon-wrapper.email{color:#4f46e5;background:#eef2ff}.header-icon-wrapper.whatsapp{color:#10b981;background:#ecfdf5}.header-icon-wrapper svg{width:24px;height:24px}.template-section-header h2{color:#0f172a;margin:0;font-size:1.25rem;font-weight:700}.template-list{flex-direction:column;gap:20px;display:flex}.template-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:24px;transition:transform .2s,box-shadow .2s;position:relative;overflow:hidden;box-shadow:0 4px 15px -3px #0f172a0a}.template-card:hover{transform:translateY(-2px);box-shadow:0 12px 25px -5px #0f172a14}.email-template-section .template-card:before{content:"";background:#4f46e5;width:4px;position:absolute;top:0;bottom:0;left:0}.whatsapp-template-section .template-card:before{content:"";background:#10b981;width:4px;position:absolute;top:0;bottom:0;left:0}.template-card-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.template-category{color:#475569;letter-spacing:.04em;text-transform:uppercase;background:#f1f5f9;border-radius:6px;padding:4px 10px;font-size:.75rem;font-weight:700;display:inline-block}.template-card h3{color:#0f172a;margin:0 0 20px;font-size:1.15rem;font-weight:700;line-height:1.4}.data-row{flex-direction:column;gap:8px;margin-bottom:16px;display:flex}.data-row-content{color:#334155;white-space:pre-wrap;word-break:break-word;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:14px 48px 14px 16px;font-size:.95rem;line-height:1.6;transition:border-color .2s;position:relative}.data-row-content:hover{background:#fff;border-color:#cbd5e1}.data-row-content strong{color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px;font-size:.75rem;font-weight:700;display:block}.btn-copy{color:#94a3b8;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;transition:all .2s;display:flex;position:absolute;top:12px;right:12px}.btn-copy:hover{color:#4f46e5;background:#e2e8f0}.btn-copy.copied{color:#10b981;background:#ecfdf5;border-color:#a7f3d0}.btn-copy svg{width:18px;height:18px}.template-footer{color:#94a3b8;border-top:1px dashed #e2e8f0;align-items:center;gap:6px;margin-top:20px;padding-top:16px;font-size:.8rem;font-weight:500;display:flex}.template-state{color:#94a3b8;background:#fff;border:2px dashed #e2e8f0;border-radius:16px;justify-content:center;align-items:center;padding:60px 20px;font-size:.95rem;display:flex}.template-load-more{justify-content:center;padding-top:10px;display:flex}.btn-load-more{color:#4f46e5;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:12px;align-items:center;gap:8px;padding:12px 28px;font-size:.95rem;font-weight:600;transition:all .2s;display:flex;box-shadow:0 2px 5px #00000005}.btn-load-more:hover:not(:disabled){background:#f8fafc;border-color:#94a3b8;transform:translateY(-1px)}@media (width<=1024px){.templates-grid{grid-template-columns:1fr;gap:40px}}@media (width<=768px){.templates-page{padding:20px}.templates-controls{flex-direction:column;align-items:stretch;padding:16px}.control-group{flex-direction:column;align-items:flex-start;gap:8px}.template-toggle{width:100%}.template-toggle button{flex:1;padding:0 12px;font-size:.9rem}.category-select-wrapper{width:100%;min-width:0}.template-card{padding:20px}.template-section{border-radius:16px;padding:14px}.template-card h3{font-size:1.1rem}}.template-mode-switch button.active{color:#4338ca;background:#fff;border-color:#e2e8f0;box-shadow:0 1px 4px #0f172a1f}@media (width<=768px){.settings-page{padding:16px}.setting-form{grid-template-columns:1fr}.btn-add-setting{grid-column:1/-1;justify-self:stretch;width:100%}.settings-filter{max-width:100%}.settings-accordion-content{padding:14px}.settings-accordion-summary{flex-wrap:wrap;gap:5px 10px;min-height:68px;padding:15px 17px}.settings-accordion-title,.settings-accordion-hint{flex-basis:calc(100% - 32px)}.settings-accordion-chevron{position:absolute;right:32px}.settings-accordion-summary{position:relative}.template-fields-grid{grid-template-columns:1fr}.template-body-group{grid-column:auto}.template-editor-card{padding:17px}}@media (width<=480px){.settings-accordion-content{padding:10px}.settings-accordion-summary{padding:14px}.settings-accordion-chevron{right:22px}.template-editor-heading{align-items:flex-start}.contact-template-actions,.btn-save-templates,.template-mode-switch{width:100%}.template-mode-switch button{white-space:nowrap;flex:1;min-width:0;padding:0 7px;font-size:.78rem}}.custom-fields-page{width:100%;padding:32px;font-family:Inter,sans-serif}.available-fields-list{flex-wrap:wrap;gap:10px;padding:20px;display:flex}.available-field{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;align-items:center;padding:8px 12px;font-size:.875rem;font-weight:500;display:inline-flex}.btn-add-setting{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:10px;grid-column:3/4;align-self:end;width:100%;height:46px;padding:0 28px;font-size:.95rem;font-weight:600}.btn-add-setting:hover{background:#4338ca}@media (width<=768px){.custom-fields-page{padding:16px}.setting-form{grid-template-columns:1fr}.btn-add-setting{grid-column:1/-1}}.template-mode-switch button.active{color:#4338ca;background:#fff;border-color:#e2e8f0;box-shadow:0 1px 4px #0f172a1f}@media (width<=768px){.settings-page{padding:16px}.setting-form{grid-template-columns:1fr}.btn-add-setting{grid-column:1/-1;justify-self:stretch;width:100%}.settings-filter{max-width:100%}.settings-accordion-content{padding:14px}.settings-accordion-summary{flex-wrap:wrap;gap:5px 10px;min-height:68px;padding:15px 17px}.settings-accordion-title,.settings-accordion-hint{flex-basis:calc(100% - 32px)}.settings-accordion-chevron{position:absolute;right:32px}.settings-accordion-summary{position:relative}.template-fields-grid{grid-template-columns:1fr}.template-body-group{grid-column:auto}.template-editor-card{padding:17px}}@media (width<=480px){.settings-accordion-content{padding:10px}.settings-accordion-summary{padding:14px}.settings-accordion-chevron{right:22px}.template-editor-heading{align-items:flex-start}.contact-template-actions,.btn-save-templates,.template-mode-switch{width:100%}.template-mode-switch button{white-space:nowrap;flex:1;min-width:0;padding:0 7px;font-size:.78rem}}.email-templates-page{width:100%;padding:32px;font-family:Inter,sans-serif}@media (width<=768px){.email-templates-page{padding:16px}.template-fields-grid{grid-template-columns:1fr}.template-body-group{grid-column:auto}}.template-mode-switch button.active{color:#4338ca;background:#fff;border-color:#e2e8f0;box-shadow:0 1px 4px #0f172a1f}@media (width<=768px){.settings-page{padding:16px}.setting-form{grid-template-columns:1fr}.btn-add-setting{grid-column:1/-1;justify-self:stretch;width:100%}.settings-filter{max-width:100%}.settings-accordion-content{padding:14px}.settings-accordion-summary{flex-wrap:wrap;gap:5px 10px;min-height:68px;padding:15px 17px}.settings-accordion-title,.settings-accordion-hint{flex-basis:calc(100% - 32px)}.settings-accordion-chevron{position:absolute;right:32px}.settings-accordion-summary{position:relative}.template-fields-grid{grid-template-columns:1fr}.template-body-group{grid-column:auto}.template-editor-card{padding:17px}}@media (width<=480px){.settings-accordion-content{padding:10px}.settings-accordion-summary{padding:14px}.settings-accordion-chevron{right:22px}.template-editor-heading{align-items:flex-start}.contact-template-actions,.btn-save-templates,.template-mode-switch{width:100%}.template-mode-switch button{white-space:nowrap;flex:1;min-width:0;padding:0 7px;font-size:.78rem}}.whatsapp-templates-page{width:100%;padding:32px;font-family:Inter,sans-serif}.page-header{margin-bottom:24px}.page-header h1{color:#0f172a;margin-bottom:6px;font-size:1.8rem;font-weight:700}.template-mode-switch button{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:7px;justify-content:center;align-items:center;min-width:120px;height:36px;margin:0;padding:0 15px;font:600 .84rem Inter,sans-serif;display:inline-flex}.template-mode-switch button.active{color:#4338ca;background:#fff;box-shadow:0 1px 4px #0f172a1f}.btn-save-templates{color:#fff;cursor:pointer;background:#4f46e5;border:0;border-radius:9px;min-height:44px;padding:0 22px;font:650 .9rem Inter,sans-serif}.btn-save-templates:hover{background:#4338ca}@media (width<=768px){.whatsapp-templates-page{padding:16px}.template-fields-grid{grid-template-columns:1fr}.template-body-group{grid-column:auto}}.import-page{width:100%;padding:32px;font-family:Inter,sans-serif}.import-header{margin-bottom:24px}.import-header h1{color:#0f172a;margin-bottom:6px;font-size:1.8rem;font-weight:700}.import-header p{color:#64748b;margin:0;font-size:.95rem}.section-card-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;border-radius:16px 16px 0 0;padding:20px 24px}.import-form-group{flex-direction:column;margin-bottom:20px;display:flex}.import-form-group label{color:#334155;margin-bottom:8px;font-size:.9rem;font-weight:600}.file-upload-wrapper{cursor:pointer;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;justify-content:center;align-items:center;width:100%;height:50px;transition:all .2s;display:flex;position:relative}.file-upload-wrapper:hover{background:#eef2ff;border-color:#4f46e5}.file-upload-wrapper.has-file{background:#ecfdf5;border-style:solid;border-color:#10b981}.file-input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.file-upload-text{color:#64748b;align-items:center;gap:8px;font-size:.95rem;font-weight:500;display:flex}.file-upload-text span{color:#4f46e5;font-weight:600}.file-upload-wrapper.has-file .file-upload-text span{color:#10b981}.file-hint{color:#94a3b8;margin-top:8px;font-size:.8rem}.btn-import{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:10px;justify-content:center;align-items:center;height:46px;padding:0 32px;font-size:.95rem;font-weight:600;transition:background .2s;display:flex}.btn-import:hover:not(:disabled){background:#4338ca}.btn-import:disabled{opacity:.6;cursor:not-allowed}.result-summary{gap:16px;margin-bottom:24px;display:flex}.result-box{text-align:center;border:1px solid #0000;border-radius:12px;flex:1;padding:20px}.result-box h3{margin:0 0 4px;font-size:1.8rem;font-weight:700;line-height:1}.result-box span{text-transform:uppercase;letter-spacing:.05em;font-size:.8rem;font-weight:600}.result-box.success{color:#065f46;background:#ecfdf5;border-color:#a7f3d0}.result-box.warning{color:#92400e;background:#fffbeb;border-color:#fde68a}.result-box.error{color:#991b1b;background:#fef2f2;border-color:#fecaca}.error-list-container{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:16px}.error-list-container h4{color:#334155;margin:0 0 12px;font-size:.95rem}.error-list{max-height:200px;margin:0;padding:0;list-style:none;overflow-y:auto}.error-list li{color:#991b1b;background:#fff;border:1px solid #fecaca;border-radius:6px;margin-bottom:8px;padding:8px 12px;font-size:.85rem;line-height:1.4}.error-list li:last-child{margin-bottom:0}.admin-instructions-page{background:#f4f7fb;width:100%;min-height:100vh;padding:32px;font-family:Inter,sans-serif}.page-header{justify-content:space-between;align-items:flex-start;margin-bottom:24px;display:flex}.page-header h1{margin-bottom:6px;font-size:1.8rem;font-weight:700}.page-header p{color:#64748b;font-size:.95rem}.btn-primary{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:8px;align-items:center;gap:8px;padding:10px 20px;font-weight:600;text-decoration:none;transition:background .2s;display:inline-flex}.btn-primary:hover{background:#4338ca}.tabs-container{border-bottom:1px solid #e2e8f0;gap:8px;margin-bottom:20px;padding-bottom:16px;display:flex}.tab-btn{color:#64748b;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;padding:8px 20px;font-size:.95rem;font-weight:600;transition:all .2s}.tab-btn:hover{color:#0f172a;background:#e2e8f0}.tab-btn.active{color:#4f46e5;background:#fff;border-color:#e2e8f0;box-shadow:0 2px 4px #00000005}.filter-bar{background:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:20px;margin-bottom:24px;padding:16px 20px;display:flex}.filter-group{flex-direction:column;flex:1;gap:6px;max-width:300px;display:flex}.filter-group label{color:#64748b;text-transform:uppercase;font-size:.75rem;font-weight:700}.filter-group select{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;outline:none;height:42px;padding:0 12px;font-size:.9rem}.instructions-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:20px;margin-bottom:32px;display:grid}.instruction-card{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;padding:20px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 2px 10px #0f172a08}.instruction-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0f172a0f}.card-top{justify-content:space-between;margin-bottom:12px;display:flex}.badge{text-transform:uppercase;border-radius:6px;padding:4px 10px;font-size:.7rem;font-weight:700}.badge.global{color:#475569;background:#f1f5f9}.badge.category{color:#4338ca;background:#e0e7ff}.badge.user{color:#166534;background:#dcfce7}.badge.both{color:#7e22ce;background:#f3e8ff}.instruction-title{line-clamp:1;-webkit-line-clamp:1;-webkit-box-orient:vertical;margin-bottom:8px;font-size:1.1rem;font-weight:700;display:-webkit-box;overflow:hidden}.instruction-desc{color:#64748b;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.9rem;line-height:1.6;display:-webkit-box;overflow:hidden}.pagination-container{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding-bottom:40px;display:flex}.page-btn{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;justify-content:center;align-items:center;min-width:36px;height:36px;padding:0 12px;font-size:.9rem;font-weight:500;display:flex}.page-btn:hover:not(:disabled):not(.ellipsis){background:#f8fafc}.page-btn.active{color:#fff;background:#4f46e5;border-color:#4f46e5}.page-btn:disabled{opacity:.5;cursor:not-allowed}.page-btn.ellipsis{cursor:default;border:none}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:2000;background:#0f172a99;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal-content.wide-modal{background:#fff;border-radius:16px;flex-direction:column;width:100%;max-width:700px;animation:.3s ease-out modalIn;display:flex}.modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-header h2{margin:0;font-size:1.25rem;font-weight:700}.modal-close{cursor:pointer;background:#f1f5f9;border:none;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.modal-close svg{width:20px;height:20px}.modal-body{padding:24px}.modal-footer{background:#f8fafc;border-top:1px solid #e2e8f0;border-radius:0 0 16px 16px;justify-content:flex-end;gap:12px;padding:16px 24px;display:flex}.modal-btn{cursor:pointer;border:none;border-radius:8px;padding:10px 20px;font-size:.9rem;font-weight:600}.modal-btn.cancel{background:#fff;border:1px solid #e2e8f0}.modal-btn.save{color:#fff;background:#4f46e5}.admin-instructions-page{box-sizing:border-box;color:#0f172a;padding:36px clamp(20px,4vw,48px)}.admin-instructions-page .instruction-page-header{align-items:center;gap:20px;margin-bottom:28px}.admin-instructions-page .instruction-page-header h1,.admin-instruction-form-page .instruction-page-header h1{color:#0f172a;letter-spacing:-.035em;font-size:clamp(1.55rem,2.5vw,1.9rem);line-height:1.25}.admin-instructions-page .instruction-page-header p,.admin-instruction-form-page .instruction-page-header p{color:#64748b;line-height:1.6}.admin-instructions-page .instruction-create-button{flex-shrink:0;min-height:44px;box-shadow:0 5px 12px #4f46e52e}.admin-instructions-page .instruction-tabs{background:0 0;border-bottom:1px solid #e2e8f0;border-radius:0;flex-wrap:wrap;gap:8px;width:100%;max-width:none;margin-bottom:20px;padding:0 0 14px;display:flex;overflow:visible}.admin-instructions-page .instruction-tabs .tab-btn{white-space:nowrap;border:1px solid #0000;border-radius:8px;flex:none;width:auto;height:auto;min-height:42px;margin:0;padding:8px 20px;display:inline-flex;transform:none}.admin-instructions-page .instruction-tabs .tab-btn:hover{color:#0f172a;background:#e2e8f0;transform:none}.admin-instructions-page .instruction-tabs .tab-btn.active{color:#4f46e5;background:#fff;border-color:#e2e8f0;box-shadow:0 2px 4px #00000005}.admin-instructions-page .instruction-tabs .tab-btn.active:hover{color:#4f46e5;background:#fff}.admin-instructions-page .instruction-filter-bar{flex-wrap:wrap;width:100%;max-width:none;min-height:94px;padding:18px 22px;box-shadow:0 2px 8px #0f172a06}.admin-instructions-page .instruction-filter-bar .filter-group{flex:0 270px;max-width:300px}.admin-instructions-page .instruction-filter-bar .filter-group label{letter-spacing:.045em}.admin-instructions-page .instruction-filter-bar .filter-group select,.admin-instructions-page .instruction-filter-bar .ss-input{box-sizing:border-box;color:#0f172a;height:44px;font:inherit}.admin-instructions-page .instruction-filter-bar select:disabled{color:#94a3b8;cursor:not-allowed}.admin-instructions-page .instructions-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));align-items:stretch}.admin-instructions-page .instruction-card,.user-instructions-page .instruction-card{border-radius:14px;min-width:0;min-height:205px;box-shadow:0 3px 12px #0f172a09}.admin-instructions-page .instruction-card{cursor:default}.admin-instructions-page .instruction-card-title{color:#0f172a;width:100%;height:auto;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;margin:0 0 8px;padding:0;font-size:1.08rem;font-weight:700;line-height:1.45;display:block;transform:none}.admin-instructions-page .instruction-card-title:hover{color:#4f46e5}.admin-instructions-page .instruction-card-title:focus-visible,.admin-instructions-page .action-btn:focus-visible{outline-offset:3px;outline:3px solid #4f46e54d}.admin-instructions-page .instruction-desc{margin-bottom:20px;line-height:1.65}.admin-instructions-page .badge.status{color:#059669;background:#ecfdf5;border:1px solid #a7f3d0}.admin-instructions-page .card-footer{border-top:1px solid #eef2f7;justify-content:space-between;align-items:center;gap:14px;margin-top:auto;padding-top:15px;display:flex}.admin-instructions-page .target-info{color:#334155;flex:1;line-height:1.5}.admin-instructions-page .target-info span{color:#64748b}.admin-instructions-page .action-btn{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;width:36px;height:36px;margin:0;padding:0;transition:color .2s,background .2s,border-color .2s;display:inline-flex;transform:none}.admin-instructions-page .actions{flex:none;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}.admin-instructions-page .action-btn.edit{color:#4f46e5;background:#e0e7ff;border-color:#c7d2fe}.admin-instructions-page .action-btn.edit:hover{color:#3730a3;background:#c7d2fe;border-color:#a5b4fc;transform:none}.admin-instructions-page .action-btn.delete{color:#ef4444;background:#fee2e2;border-color:#fecaca}.admin-instructions-page .action-btn.delete:hover{color:#b91c1c;background:#fecaca;border-color:#fca5a5;transform:none}.admin-instructions-page .instruction-empty-state,.admin-instructions-page .instruction-state{grid-column:1/-1}.admin-instructions-page .instruction-empty-state,.user-instructions-page .instruction-empty-state{color:#64748b;text-align:center;background:#ffffffbf;border:1px dashed #cbd5e1;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:250px;padding:32px 20px;display:flex}.admin-instructions-page .instruction-empty-state strong,.user-instructions-page .instruction-empty-state strong{color:#0f172a;font-size:1.05rem}.instruction-empty-icon{color:#4f46e5;background:#eef2ff;border-radius:14px;place-items:center;width:48px;height:48px;margin-bottom:4px;display:grid}.instruction-empty-icon svg{width:24px;height:24px}.admin-instruction-form-page{box-sizing:border-box;color:#0f172a;background:#f4f7fb;width:100%;min-height:calc(100vh - 72px);padding:36px clamp(20px,4vw,48px);font-family:Inter,sans-serif}.admin-instruction-form-page .instruction-page-header{align-items:flex-start;margin-bottom:24px}.instruction-form-container{background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;margin:0;overflow:visible;box-shadow:0 10px 30px #0f172a0d}.instruction-form{flex-direction:column;gap:24px;padding:30px 32px 0;display:flex}.instruction-form-group{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.instruction-form-group>label{color:#0f172a;font-size:.9rem;font-weight:600}.instruction-radio-group{background:#f1f5f9;border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:6px;display:grid}.instruction-radio-option{color:#64748b;width:auto;height:auto;min-height:42px;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;margin:0;padding:9px 10px;font-size:.87rem;font-weight:600;transition:background .2s,color .2s,box-shadow .2s;transform:none}.instruction-radio-option:hover{color:#312e81;background:#e2e8f0;transform:none}.instruction-radio-option.selected{color:#4f46e5;background:#fff;box-shadow:0 2px 5px #0f172a14}.instruction-radio-option.selected:hover{background:#fff}.instruction-radio-option:focus-visible,.instruction-btn:focus-visible{outline-offset:2px;outline:3px solid #4f46e547}.instruction-target-fields{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:16px;display:grid}.instruction-form-group input,.instruction-form-group select,.instruction-form-group textarea,.instruction-form-group .ss-input{box-sizing:border-box;color:#0f172a;width:100%;min-height:46px;font:inherit;background:#fff;border:1px solid #e2e8f0;border-radius:8px;outline:none;padding:11px 14px;font-size:.95rem;transition:border-color .2s,box-shadow .2s}.instruction-form-group textarea{resize:vertical;min-height:132px;line-height:1.55}.instruction-form-group input::placeholder,.instruction-form-group textarea::placeholder,.instruction-form-group .ss-input::placeholder{color:#94a3b8}.instruction-form-group input:focus,.instruction-form-group select:focus,.instruction-form-group textarea:focus,.instruction-form-group .ss-input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51c}.instruction-form-group .ss-input-wrap{width:100%}.instruction-form-footer{background:#f8fafc;border-top:1px solid #e2e8f0;border-radius:0 0 16px 16px;justify-content:flex-end;gap:12px;margin:0 -32px;padding:20px 32px;display:flex}.instruction-btn{min-height:42px;font:inherit;cursor:pointer;border-radius:8px;padding:10px 22px;font-size:.92rem;font-weight:600;transition:background .2s,color .2s,border-color .2s,box-shadow .2s}.instruction-btn-cancel{color:#64748b;background:#fff;border:1px solid #e2e8f0}.instruction-btn-cancel:hover{color:#0f172a;background:#f1f5f9}.instruction-btn-primary{color:#fff;background:#4f46e5;border:1px solid #4f46e5}.instruction-btn-primary:hover:not(:disabled){background:#4338ca;border-color:#4338ca}.instruction-btn-primary:disabled{cursor:wait;opacity:.65}@media (width<=700px){.admin-instructions-page .instruction-page-header{flex-direction:column;align-items:stretch}.admin-instructions-page .instruction-create-button{align-self:flex-start}.admin-instructions-page .instruction-filter-bar{flex-direction:column;align-items:stretch;width:100%}.admin-instructions-page .instruction-filter-bar .filter-group{max-width:none}.admin-instruction-form-page{padding:28px 22px}.instruction-form{padding:24px 22px 0}.instruction-radio-group{grid-template-columns:repeat(2,minmax(0,1fr))}.instruction-target-fields{grid-template-columns:1fr}.instruction-form-footer{margin:0 -22px;padding:18px 22px}}@media (width<=480px){.admin-instructions-page{padding:24px 16px}.instruction-form-container{border-radius:12px}.admin-instruction-form-page{padding:24px 16px}.instruction-form-footer{flex-direction:column-reverse}.instruction-btn{width:100%}}.admin-instructions-page .copy-btn{color:#64748b;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s;display:inline-flex}.admin-instructions-page .copy-btn:hover{color:#4f46e5;background:#f1f5f9;border-color:#cbd5e1}.admin-instructions-page .copy-btn.copied{color:#10b981;background:#ecfdf5;border-color:#a7f3d0}.admin-instructions-page .copy-btn svg{width:16px;height:16px}.admin-instructions-page .description-box{white-space:pre-wrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;min-height:80px;padding:16px 56px 16px 16px;line-height:1.6;position:relative}.admin-instructions-page .description-copy-btn{position:absolute;top:12px;right:12px}.settings-page{width:100%;padding:32px;font-family:Inter,sans-serif}.settings-header{margin-bottom:24px}.settings-header h1{color:#0f172a;margin-bottom:6px;font-size:1.8rem;font-weight:700}.settings-header p{color:#64748b;font-size:.95rem}.settings-accordion{background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin-bottom:20px;overflow:visible;box-shadow:0 4px 14px #0f172a0b}.settings-accordion-summary{cursor:pointer;background:#f8fafc;border-radius:16px;align-items:center;gap:14px;min-height:76px;padding:18px 22px;list-style:none;display:flex}.settings-accordion-summary::-webkit-details-marker{display:none}.settings-accordion-summary::marker{content:""}.settings-accordion-summary:focus-visible{outline-offset:-3px;outline:3px solid #4f46e538}.settings-accordion[open]>.settings-accordion-summary{border-bottom:1px solid #e2e8f0;border-radius:16px 16px 0 0}.settings-accordion-title{color:#0f172a;font-size:1.05rem;font-weight:700}.settings-accordion-hint{color:#64748b;font-size:.84rem}.settings-accordion-chevron{color:#64748b;margin-left:auto;font-size:1.5rem;line-height:1;transition:transform .16s}.settings-accordion[open] .settings-accordion-chevron{transform:rotate(180deg)}.settings-accordion-content{padding:20px}.settings-accordion-content>.section-card{margin-bottom:18px}.settings-accordion-content>.section-card:last-child{margin-bottom:0}.contact-template-form{gap:18px;display:grid}.template-mode-row{flex-wrap:wrap;align-items:center;gap:12px 18px;display:flex}.template-mode-label{color:#334155;font-size:.88rem;font-weight:600}.template-mode-switch{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:4px;padding:4px;display:inline-flex}.template-mode-switch button{color:#64748b;text-align:center;white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;width:auto;min-width:120px;height:36px;min-height:36px;margin:0;padding:0 15px;font:600 .84rem/1.2 Inter,sans-serif;transition:background-color .15s,color .15s,box-shadow .15s;display:inline-flex}.template-mode-switch button:hover{transform:none}.template-mode-switch button.active{color:#4338ca;background:#fff;border-color:#e2e8f0;box-shadow:0 1px 4px #0f172a1f}.template-mode-switch button:focus-visible{outline-offset:2px;outline:3px solid #4f46e538}.settings-template-category{gap:8px;width:min(100%,440px);display:grid}.settings-template-category label,.template-editor-form label{color:#334155;font-size:.88rem;font-weight:600}.settings-template-category select,.template-fields-grid input,.template-editor-card textarea{color:#334155;background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;outline:none;width:100%;min-width:0;font:400 .92rem/1.5 Inter,sans-serif;transition:border-color .16s,background-color .16s,box-shadow .16s}.settings-template-category select,.template-fields-grid input{height:46px;padding:0 14px}.template-editor-card textarea{resize:vertical;min-height:112px;padding:12px 14px}.settings-template-category select:focus,.template-fields-grid input:focus,.template-editor-card textarea:focus{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e521}.template-editor-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;gap:20px;padding:22px;display:grid}.template-editor-heading{align-items:center;gap:13px;display:flex}.template-editor-icon{color:#4f46e5;background:#eef2ff;border-radius:11px;flex:0 0 42px;place-items:center;width:42px;height:42px;font-size:1.25rem;display:grid}.template-editor-icon.whatsapp-icon{color:#16834b;background:#e9f9ef}.template-editor-heading h3{color:#0f172a;margin:0 0 4px;font-size:1rem;font-weight:700}.template-editor-heading p{color:#64748b;margin:0;font-size:.82rem}.template-fields-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.template-fields-grid .setting-form-group{gap:8px}.template-body-group{grid-column:1/-1}.template-field-hint{color:#8493a5;font-size:.78rem}.whatsapp-template-card .setting-form-group{gap:8px;display:grid}.contact-template-actions{justify-content:flex-end;display:flex}.btn-save-templates{color:#fff;cursor:pointer;background:#4f46e5;border:0;border-radius:9px;min-height:44px;padding:0 22px;font:650 .9rem Inter,sans-serif;transition:background-color .15s,transform .15s}.btn-save-templates:hover{background:#4338ca;transform:translateY(-1px)}.btn-save-templates:focus-visible{outline-offset:3px;outline:3px solid #4f46e540}.section-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin-bottom:32px;overflow:visible;box-shadow:0 4px 6px -1px #0000000d}.section-card-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:20px 24px}.section-card-header h2{color:#0f172a;margin:0;font-size:1.1rem;font-weight:600}.section-card-body{padding:24px}.setting-form{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.setting-form-group{flex-direction:column;min-width:0;display:flex}.setting-form-group>label:not(.checkbox-wrapper){color:#334155;margin-bottom:8px;font-size:.9rem;font-weight:600}.setting-form-group input[type=text],.setting-form-group select{color:#334155;background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;outline:none;width:100%;height:46px;padding:0 16px;font-family:Inter,sans-serif;font-size:.95rem;transition:all .2s}.setting-form-group input[type=text]:focus,.setting-form-group select:focus{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}.setting-form-group input[readonly]{color:#64748b;cursor:default;background:#f1f5f9}.edit-setting-form .modal-body{gap:16px}.edit-setting-form .setting-modal-form-group{border:0;gap:8px;margin:0;padding:0}.setting-modal-form-group input,.setting-modal-form-group select{color:#334155;background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;outline:none;width:100%;height:46px;padding:0 16px;font:.95rem Inter,sans-serif}.setting-modal-form-group input:focus,.setting-modal-form-group select:focus{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}.setting-modal-form-group input[readonly]{color:#64748b;cursor:default;background:#f1f5f9}.setting-modal-checkbox{margin:0;padding:0 16px}.edit-setting-form .form-message{margin:0}.checkbox-wrapper{cursor:pointer;-webkit-user-select:none;user-select:none;background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;align-items:center;height:46px;padding:0 16px;transition:all .2s;display:flex}.checkbox-wrapper:hover{background:#fff;border-color:#c7d2fe}.checkbox-wrapper input[type=checkbox]{accent-color:#4f46e5;cursor:pointer;width:18px;height:18px;margin-right:10px}.checkbox-wrapper span{color:#334155;font-size:.9rem;font-weight:500}.btn-add-setting{color:#fff;cursor:pointer;white-space:nowrap;background:#4f46e5;border:none;border-radius:10px;grid-column:3/4;place-self:end stretch;width:100%;min-width:160px;height:46px;margin-top:0;padding:0 28px;font-size:.95rem;font-weight:600;transition:background .2s}.btn-add-setting:hover:not(:disabled){background:#4338ca;transform:none}.btn-add-setting:disabled{opacity:.6;cursor:not-allowed}.setting-form .form-message{grid-column:1/-1;margin-top:0;font-size:.85rem;font-weight:500}.setting-form .form-message.error{color:#dc2626}.setting-form .form-message.success{color:#16a34a}.settings-filter{background:#fff;border-bottom:1px solid #e2e8f0;flex-direction:column;gap:8px;max-width:480px;padding:20px 24px;display:flex}.settings-filter label{color:#334155;font-size:.9rem;font-weight:600}.table-responsive{width:100%;overflow-x:auto}.settings-table{border-collapse:collapse;text-align:left;width:100%}.settings-table th{color:#64748b;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:16px 20px;font-size:.75rem;font-weight:600}.settings-table td{color:#334155;white-space:nowrap;border-bottom:1px solid #e2e8f0;padding:16px 20px;font-size:.9rem}.settings-table tbody tr:hover{background-color:#f8fafc}.settings-table tbody tr:last-child td{border-bottom:none}.table-state{text-align:center;color:#64748b;padding:40px;font-size:.9rem}.action-group{align-items:center;gap:8px;display:flex}.action-btn{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;transition:all .2s;display:flex}.action-btn svg{width:16px;height:16px}.action-btn.edit{color:#4f46e5;background:#e0e7ff}.action-btn.edit:hover{background:#c7d2fe}.action-btn.delete{color:#ef4444;background:#fee2e2}.action-btn.delete:hover{background:#fecaca}.ss-wrapper{width:100%;position:relative}.ss-input-wrap{align-items:center;display:flex;position:relative}.ss-input{color:#334155;background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;outline:none;width:100%;height:46px;padding:0 44px 0 16px;font-family:Inter,sans-serif;font-size:.95rem;transition:all .2s}.ss-input:focus{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}.ss-clear{cursor:pointer;color:#94a3b8;background:0 0;border:none;border-radius:6px;place-items:center;width:28px;height:28px;margin:0;padding:0;line-height:0;transition:all .2s;display:grid;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.ss-clear:hover{color:#334155;background:#f1f5f9;transform:translateY(-50%)}.ss-clear svg{width:16px;height:16px}.ss-dropdown{z-index:100;background:#fff;border:1px solid #e2e8f0;border-radius:12px;max-height:260px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 10px 25px -5px #0000001a}.ss-option{text-align:left;color:#334155;cursor:pointer;background:0 0;border:none;border-radius:8px;width:100%;padding:10px 12px;font-family:Inter,sans-serif;font-size:.9rem;transition:background .15s;display:block}.ss-option:hover{background:#f8fafc}.ss-option.is-selected{color:#4f46e5;background:#e0e7ff;font-weight:600}.ss-load-more{color:#4f46e5;cursor:pointer;background:#f8fafc;border:none;border-radius:8px;width:100%;margin-top:4px;padding:10px 12px;font-size:.85rem;font-weight:600;transition:background .15s;display:block}.ss-load-more:hover:not(:disabled){background:#e0e7ff}.ss-load-more:disabled{opacity:.6;cursor:not-allowed}.ss-state{color:#94a3b8;text-align:center;padding:14px 12px;font-size:.85rem}.ss-state.ss-error{color:#dc2626}@media (width<=768px){.settings-page{padding:16px}.setting-form{grid-template-columns:1fr}.btn-add-setting{grid-column:1/-1;justify-self:stretch;width:100%}.settings-filter{max-width:100%}.settings-accordion-content{padding:14px}.settings-accordion-summary{flex-wrap:wrap;gap:5px 10px;min-height:68px;padding:15px 17px}.settings-accordion-title,.settings-accordion-hint{flex-basis:calc(100% - 32px)}.settings-accordion-chevron{position:absolute;right:32px}.settings-accordion-summary{position:relative}.template-fields-grid{grid-template-columns:1fr}.template-body-group{grid-column:auto}.template-editor-card{padding:17px}}@media (width<=480px){.settings-accordion-content{padding:10px}.settings-accordion-summary{padding:14px}.settings-accordion-chevron{right:22px}.template-editor-heading{align-items:flex-start}.contact-template-actions,.btn-save-templates,.template-mode-switch{width:100%}.template-mode-switch button{white-space:nowrap;flex:1;min-width:0;padding:0 7px;font-size:.78rem}}.settings-table .text-btn.delete{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:6px 10px;font-size:.75rem}.settings-table .text-btn.delete:hover{background:#fee2e2;text-decoration:none}.load-more-container{background:#fff;border-top:1px solid #e2e8f0;justify-content:center;padding:16px;display:flex}.btn-load-more{color:#4f46e5;cursor:pointer;background:#f8fafc;border:1px solid #dbe2ea;border-radius:8px;padding:10px 24px;font-size:.9rem;font-weight:600;transition:all .2s}.btn-load-more:hover:not(:disabled){background:#e0e7ff}.btn-load-more:disabled{opacity:.5;cursor:not-allowed}.settings-section-divider{border-top:1px dashed #cbd5e1;margin:32px 0 24px}.settings-list-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:16px;display:flex}.settings-list-header h3{color:#0f172a;margin:0;font-size:1.1rem}.list-filters{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.list-filters select{color:#334155;border:1px solid #dbe2ea;border-radius:8px;outline:none;height:38px;padding:0 12px;font-size:.85rem}.list-filters .ss-wrapper{width:220px}.ss-multi-wrapper{cursor:text;background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;width:100%;min-height:46px;padding:6px 12px;transition:all .2s;display:flex;position:relative}.ss-multi-wrapper:focus-within{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}.ss-multi-wrapper .ss-input-wrap{flex:1;min-width:120px;position:relative}.ss-multi-wrapper .ss-input{background:0 0;border:none;width:100%;height:32px;padding:0;box-shadow:none!important}.ss-tags-container{flex-wrap:wrap;gap:6px;display:flex}.ss-tag{color:#4338ca;background:#e0e7ff;border:1px solid #c7d2fe;border-radius:6px;align-items:center;gap:4px;padding:4px 8px;font-size:.8rem;font-weight:600;display:inline-flex}.ss-tag button{color:#4338ca;cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;padding:0;transition:background .2s;display:flex}.ss-tag button:hover{background:#c7d2fe}.ss-tag button svg{stroke-width:3px;width:10px;height:10px}.ss-multi-option{align-items:center;gap:10px;display:flex}.ss-checkbox{background:#fff;border:1px solid #cbd5e1;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;transition:all .2s;display:flex}.ss-multi-option.is-selected .ss-checkbox{color:#fff;background:#4f46e5;border-color:#4f46e5}.ss-checkbox svg{width:12px;height:12px}.user-instructions-page{background:#f4f7fb;width:100%;min-height:100vh;padding:32px;font-family:Inter,sans-serif}.user-instructions-page .page-header{margin-bottom:24px}.user-instructions-page h1{margin-bottom:6px;font-size:1.8rem;font-weight:700}.user-instructions-page p{color:#64748b;font-size:.95rem}.user-instructions-page .tabs-container{border-bottom:1px solid #e2e8f0;gap:8px;margin-bottom:24px;padding-bottom:16px;display:flex}.user-instructions-page .tab-btn{color:#64748b;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;padding:8px 24px;font-size:.95rem;font-weight:600;transition:all .2s}.user-instructions-page .tab-btn:hover{color:#0f172a;background:#e2e8f0}.user-instructions-page .tab-btn.active{color:#4f46e5;background:#fff;border-color:#e2e8f0;box-shadow:0 2px 4px #00000005}.user-instructions-page .instructions-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:20px;margin-bottom:32px;display:grid}.user-instructions-page .instruction-card{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;transition:transform .2s;box-shadow:0 2px 10px #0f172a08}.user-instructions-page .instruction-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0f172a0f}.user-instructions-page .card-top{justify-content:space-between;margin-bottom:12px;display:flex}.user-instructions-page .badge{text-transform:uppercase;border-radius:6px;padding:4px 10px;font-size:.7rem;font-weight:700}.user-instructions-page .badge.global{color:#475569;background:#f1f5f9}.user-instructions-page .badge.category{color:#4338ca;background:#e0e7ff}.user-instructions-page .badge.user{color:#166534;background:#dcfce7}.user-instructions-page .badge.both{color:#7e22ce;background:#f3e8ff}.user-instructions-page .instruction-title{line-clamp:1;-webkit-line-clamp:1;-webkit-box-orient:vertical;margin-bottom:8px;font-size:1.1rem;font-weight:700;display:-webkit-box;overflow:hidden}.user-instructions-page .instruction-desc{color:#64748b;line-clamp:3;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:.9rem;line-height:1.6;display:-webkit-box;overflow:hidden}.user-instructions-page{box-sizing:border-box;color:#0f172a;padding:36px clamp(20px,4vw,48px)}.user-instructions-page .user-instruction-header{margin-bottom:26px;display:block}.user-instructions-page .user-instruction-header h1{color:#0f172a;letter-spacing:-.035em;font-size:clamp(1.55rem,2.5vw,1.9rem);line-height:1.25}.user-instructions-page .user-instruction-header p{margin:0;line-height:1.6}.user-instructions-page .user-instruction-tabs{gap:8px;margin-bottom:24px;padding-bottom:14px;overflow-x:auto}.user-instructions-page .user-instruction-tabs .tab-btn{white-space:nowrap;flex:none;width:auto;height:auto;min-height:42px;margin:0;display:inline-flex;transform:none}.user-instructions-page .user-instruction-tabs .tab-btn:hover{transform:none}.user-instructions-page .instructions-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));align-items:stretch}.user-instructions-page .instruction-card{cursor:pointer;min-height:190px;line-height:1.55}.user-instructions-page .instruction-card:focus-visible{outline-offset:3px;outline:3px solid #4f46e54d}.user-instructions-page .instruction-title{color:#0f172a;line-height:1.45}.user-instructions-page .instruction-desc{margin:0;line-height:1.65}.user-instructions-page .instruction-empty-state,.user-instructions-page .instruction-state{grid-column:1/-1}@media (width<=700px){.user-instructions-page .user-instruction-tabs{gap:6px}.user-instructions-page .user-instruction-tabs .tab-btn{padding:8px 14px;font-size:.88rem}}@media (width<=480px){.user-instructions-page{padding:24px 16px}}.user-instructions-page .filter-bar{background:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:20px;margin-bottom:24px;padding:16px 20px;animation:.3s ease-in-out fadeIn;display:flex;box-shadow:0 2px 8px #0f172a05}@keyframes fadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@media (width<=600px){.user-instructions-page .filter-bar{flex-direction:column;align-items:stretch}.user-instructions-page .filter-group{max-width:100%}}.user-instructions-page .filter-bar{background:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:20px;margin-bottom:24px;padding:16px 20px;display:flex;box-shadow:0 2px 8px #0f172a05}.user-instructions-page .filter-group{flex-direction:column;flex:1;gap:6px;max-width:300px;display:flex}.user-instructions-page .filter-group label{color:#64748b;text-transform:uppercase;letter-spacing:.05em;font-size:.75rem;font-weight:700}.user-instructions-page .category-select{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #dbe2ea;border-radius:10px;outline:none;width:100%;height:42px;padding:0 16px;font-family:Inter,sans-serif;font-size:.95rem;transition:all .2s}.user-instructions-page .category-select:focus{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}@media (width<=600px){.user-instructions-page .filter-bar{flex-direction:column;align-items:stretch}.user-instructions-page .filter-group{max-width:100%}}.user-instructions-page .copy-btn{color:#64748b;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s;display:inline-flex}.user-instructions-page .copy-btn:hover{color:#4f46e5;background:#f1f5f9;border-color:#cbd5e1}.user-instructions-page .copy-btn.copied{color:#10b981;background:#ecfdf5;border-color:#a7f3d0}.user-instructions-page .copy-btn svg{width:16px;height:16px}.user-instructions-page .description-box{white-space:pre-wrap;color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;min-height:120px;padding:20px 56px 20px 20px;font-size:.95rem;line-height:1.7;position:relative}.user-instructions-page .description-copy-btn{position:absolute;top:12px;right:12px}
