@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/21350d82a1f187e9-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Inter_Fallback_f367f3;src:local("Arial");ascent-override:90.49%;descent-override:22.56%;line-gap-override:0.00%;size-adjust:107.06%}.__className_f367f3{font-family:__Inter_f367f3,__Inter_Fallback_f367f3;font-style:normal}:root{--background:0 0% 100%;--foreground:240 10% 3.9%;--card:0 0% 100%;--card-foreground:240 10% 3.9%;--popover:0 0% 100%;--popover-foreground:240 10% 3.9%;--primary:240 5.9% 10%;--primary-foreground:0 0% 98%;--secondary:240 4.8% 95.9%;--secondary-foreground:240 5.9% 10%;--muted:240 4.8% 95.9%;--muted-foreground:240 3.8% 46.1%;--accent:240 4.8% 95.9%;--accent-foreground:240 5.9% 10%;--destructive:0 84.2% 60.2%;--destructive-foreground:0 0% 98%;--border:240 5.9% 90%;--input:240 5.9% 90%;--ring:240 5% 64.9%;--radius:0.5rem}*,:after,:before{box-sizing:border-box;margin:0;padding:0;border:0 solid hsl(var(--border))}body,html{height:100%;width:100%;overflow:hidden}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:hsl(var(--background));color:hsl(var(--foreground));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.app-container{display:flex;flex-direction:column;height:100vh;width:100vw;overflow:hidden}.app-header{display:flex;align-items:center;justify-content:space-between;height:52px;padding:0 16px;border-bottom:1px solid hsl(var(--border));background:hsl(var(--background));flex-shrink:0}.app-content{flex:1 1}.app-content,.panel{display:flex;overflow:hidden}.panel{flex-direction:column;background:hsl(var(--background))}.panel-left{width:280px;min-width:280px}.panel-left,.panel-middle{border-right:1px solid hsl(var(--border));font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.panel-middle{flex:1 1;min-width:300px}.panel-right{width:640px;min-width:640px;flex-shrink:0}.panel-header{justify-content:space-between}.panel-header,.panel-toolbar{display:flex;align-items:center;height:52px;padding:0 16px;border-bottom:1px solid hsl(var(--border));flex-shrink:0}.panel-toolbar{gap:4px}.text-xl{font-size:1.25rem}.text-lg,.text-xl{line-height:1.75rem}.text-lg{font-size:1.125rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.font-medium{font-weight:500}.font-normal{font-weight:400}.scroll-area{flex:1 1;overflow-y:auto;overflow-x:hidden}.scroll-area::-webkit-scrollbar{width:8px}.scroll-area::-webkit-scrollbar-track{background:transparent}.scroll-area::-webkit-scrollbar-thumb{background-color:hsl(var(--border));border-radius:4px}.search-container{position:relative;padding:8px 16px}.search-icon{position:absolute;left:24px;top:50%;transform:translateY(-50%);color:hsl(var(--muted-foreground));pointer-events:none}.search-input{width:100%;height:36px;padding:8px 12px 8px 32px;border:1px solid hsl(var(--border));border-radius:var(--radius);font-size:.875rem;background:hsl(var(--background));color:hsl(var(--foreground));outline:none}.search-input:focus{border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring)/.2)}.search-input::placeholder{color:hsl(var(--muted-foreground))}.list-item{display:flex;flex-direction:column;gap:4px;padding:12px 16px;cursor:pointer;transition:background-color .15s;border-bottom:1px solid hsl(var(--border))}.list-item.selected,.list-item:hover{background-color:hsl(var(--accent))}.list-item-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.list-item-name{font-weight:600;font-size:.875rem;color:hsl(var(--foreground));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-item-email,.list-item-time{font-size:.75rem;color:hsl(var(--muted-foreground));white-space:nowrap}.list-item-email,.list-item-preview{overflow:hidden;text-overflow:ellipsis}.list-item-preview{font-size:.75rem;color:hsl(var(--muted-foreground));white-space:nowrap}.list-item-badges{display:flex;gap:4px;margin-top:4px}.badge{display:inline-flex;align-items:center;padding:2px 8px;font-size:.625rem;font-weight:600;border-radius:9999px;background-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}.badge-secondary{background-color:hsl(var(--secondary));color:hsl(var(--secondary-foreground))}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--radius);background:transparent;color:hsl(var(--foreground));cursor:pointer;transition:background-color .15s}.icon-btn:hover{background-color:hsl(var(--accent))}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;padding:0 12px;font-size:.75rem;font-weight:500;border-radius:var(--radius);cursor:pointer;transition:all .15s;white-space:nowrap}.btn-primary{background-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}.btn-primary:hover{opacity:.9}.btn-outline{background:transparent;border:1px solid hsl(var(--border));color:hsl(var(--foreground))}.btn-outline:hover{background-color:hsl(var(--accent))}.btn:disabled{opacity:.5;cursor:not-allowed}.visitor-header{display:flex;align-items:flex-start;gap:12px;padding:16px}.visitor-avatar{width:40px;height:40px;border-radius:50%;background-color:hsl(var(--primary));color:hsl(var(--primary-foreground));display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.875rem;flex-shrink:0}.visitor-info{flex:1 1;min-width:0}.visitor-name{font-weight:600;font-size:.875rem;color:hsl(var(--foreground))}.visitor-date,.visitor-email,.visitor-status{font-size:.75rem;color:hsl(var(--muted-foreground))}.visitor-date{white-space:nowrap}.timeline-section{padding:16px}.timeline-date{font-size:.75rem;font-weight:600;color:hsl(var(--muted-foreground));margin-bottom:12px}.timeline-item{display:flex;gap:12px;padding:8px 0}.timeline-time{font-size:.75rem;color:hsl(var(--muted-foreground));width:60px;flex-shrink:0}.timeline-content{flex:1 1}.timeline-badge{font-size:.625rem;font-weight:600;color:hsl(var(--primary));margin-bottom:2px}.timeline-title{font-size:.875rem;font-weight:500;color:hsl(var(--foreground))}.timeline-title a{color:hsl(var(--foreground));text-decoration:underline;text-underline-offset:2px}.timeline-title a:hover{color:hsl(var(--primary))}.timeline-duration{font-size:.75rem;color:hsl(var(--muted-foreground))}.preview-header{display:flex;align-items:center;justify-content:space-between;height:52px;padding:0 16px;border-bottom:1px solid hsl(var(--border));flex-shrink:0}.preview-title{font-weight:600;font-size:.875rem}.preview-actions{display:flex;gap:8px}.preview-content{flex:1 1;overflow-y:auto;padding:24px;background-color:hsl(var(--muted)/.3)}.email-paper{max-width:700px;margin:0 auto;background:hsl(var(--background));border-radius:var(--radius);box-shadow:0 1px 3px hsl(var(--foreground)/.1);overflow:hidden}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:32px;text-align:center;color:hsl(var(--muted-foreground))}.empty-state-icon{font-size:48px;margin-bottom:16px;opacity:.3}.empty-state-title{font-weight:600;font-size:1rem;margin-bottom:4px;color:hsl(var(--foreground))}.empty-state-text{font-size:.875rem}.tabs{display:flex;gap:8px}.tab{padding:4px 12px;font-size:.75rem;font-weight:500;border-radius:var(--radius);cursor:pointer;transition:all .15s;background:transparent;color:hsl(var(--muted-foreground))}.tab:hover{background-color:hsl(var(--accent))}.tab.active,.tab:hover{color:hsl(var(--foreground))}.tab.active{background-color:hsl(var(--secondary))}.app-shell{display:flex;flex-direction:row;height:100vh;width:100vw;overflow:hidden;background-color:hsl(var(--background))}.main-content-area{flex:1 1;overflow:hidden;display:flex;flex-direction:column}.page-container{display:flex;flex-direction:column;height:100%;background-color:#f8fafc}.page-header{display:flex;align-items:center;justify-content:space-between;padding:20px 32px;border-bottom:1px solid hsl(var(--border));background-color:hsl(var(--background));position:-webkit-sticky;position:sticky;top:0;z-index:10}.page-title h1{font-size:1.5rem;font-weight:700;letter-spacing:-.025em;color:hsl(var(--foreground))}.page-title p{font-size:.875rem;color:hsl(var(--muted-foreground));margin-top:4px}.header-actions{display:flex;align-items:center;gap:12px}.btn-icon{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:var(--radius);border:1px solid hsl(var(--border));background-color:transparent;color:hsl(var(--foreground));cursor:pointer;transition:background-color .15s ease}.btn-icon:hover{background-color:hsl(var(--accent))}.main-content{flex:1 1;overflow-y:auto;padding:32px}.stats-grid{display:grid;grid-template-columns:repeat(1,1fr);grid-gap:24px;gap:24px;margin-bottom:32px}@media (min-width:768px){.stats-grid{grid-template-columns:repeat(3,1fr)}}.stat-card{background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);padding:16px;box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}.stat-label{font-size:.875rem;font-weight:500;color:hsl(var(--muted-foreground))}.stat-value{font-size:1.5rem;font-weight:700;margin-top:4px}.stat-card.blue-dashed{display:flex;align-items:center;justify-content:center;background-color:#eff6ff;border:1px dashed #dbeafe}.stat-card.blue-dashed span{color:#2563eb}.offers-table-container{background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);overflow:hidden}.offers-table{width:100%;border-collapse:collapse;font-size:.875rem}.offers-table thead{background-color:hsl(var(--secondary));border-bottom:1px solid hsl(var(--border))}.offers-table th{text-align:left;padding:12px 16px;font-weight:500;color:hsl(var(--muted-foreground));font-size:.75rem;text-transform:uppercase;letter-spacing:.05em}.offers-table td{padding:12px 16px;border-bottom:1px solid hsl(var(--border));color:hsl(var(--foreground))}.offers-table tbody tr:last-child td{border-bottom:none}.offers-table tbody tr:hover{background-color:hsl(var(--accent))}.priority-header{width:70px;text-align:center}.priority-cell{width:70px;white-space:nowrap;vertical-align:middle}.drag-handle{cursor:-webkit-grab;cursor:grab;color:hsl(var(--muted-foreground));opacity:.5;transition:opacity .15s ease;display:inline-flex;align-items:center;vertical-align:middle;margin-right:8px}.draggable-row:hover .drag-handle{opacity:1}.drag-handle:active{cursor:-webkit-grabbing;cursor:grabbing}.priority-number{font-size:.75rem;color:hsl(var(--muted-foreground));font-weight:500;vertical-align:middle}.draggable-row{transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}.draggable-row.dragging{opacity:.5;background-color:hsl(var(--accent))}.draggable-row.drag-over{background-color:hsl(var(--accent));box-shadow:inset 0 -2px 0 0 hsl(var(--primary))}.course-name-cell{font-weight:500;max-width:250px}.course-link{color:inherit;text-decoration:none;transition:opacity .15s ease}.course-link:hover{opacity:.7;text-decoration:underline}.price-cell{font-weight:400;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;vertical-align:top}.price-display{display:flex;flex-direction:column;gap:2px}.regular-price{font-size:.75rem;text-decoration:line-through;color:hsl(var(--muted-foreground))}.sale-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:9999px;font-size:.75rem;font-weight:500}.sale-badge.active{background-color:#dcfce7;color:#166534}.sale-badge.inactive{background-color:#f3f4f6;color:#6b7280}.coupon-code{background-color:#fef3c7;color:#92400e;padding:2px 6px;border-radius:4px;font-size:.75rem;font-family:monospace}.instructions-indicator{display:inline-flex;align-items:center;gap:4px;color:#2563eb;font-size:.75rem;cursor:help}.text-muted{color:hsl(var(--muted-foreground))}.edit-btn{padding:4px 12px;font-size:.75rem;font-weight:500;color:hsl(var(--foreground));background-color:transparent;border:1px solid hsl(var(--border));border-radius:var(--radius);cursor:pointer;transition:all .15s ease}.edit-btn:hover{background-color:hsl(var(--secondary))}.refresh-price-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background-color:transparent;border:1px solid hsl(var(--border));border-radius:var(--radius);cursor:pointer;color:hsl(var(--muted-foreground));transition:all .15s ease}.refresh-price-btn:hover:not(:disabled){background-color:hsl(var(--secondary));color:hsl(var(--foreground));border-color:hsl(var(--foreground)/.2)}.refresh-price-btn:disabled{opacity:.4;cursor:not-allowed}.refresh-price-btn.loading{color:hsl(var(--primary))}.refresh-price-btn svg.spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.delete-btn{padding:4px 12px;font-size:.75rem;font-weight:500;color:#dc2626;background-color:transparent;border:1px solid #fecaca;border-radius:var(--radius);cursor:pointer;transition:all .15s ease}.delete-btn:hover{background-color:#fef2f2;border-color:#dc2626}.actions-cell{display:flex;gap:8px}.offer-card{position:relative;background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;box-shadow:0 1px 2px 0 rgba(0,0,0,.05);display:flex;flex-direction:column;overflow:hidden;transition:all .2s ease}.offer-card:hover{box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)}.offer-card-indicator{height:4px;width:100%}.offer-card-indicator.active{background-color:#22c55e}.offer-card-indicator.inactive{background-color:#e5e7eb}.offer-card-content{padding:20px;flex:1 1;display:flex;flex-direction:column;gap:12px}.offer-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.offer-title{font-weight:600;font-size:1.125rem;line-height:1.25;color:hsl(var(--foreground));display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.offer-price-container{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0}.offer-price{font-weight:700;font-size:1.125rem}.offer-coupon{padding:2px 8px;background-color:#fef9c3;color:#854d0e;border-radius:4px;margin-top:4px}.offer-coupon,.offer-status{font-size:.75rem;font-weight:500}.offer-status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:6px}.offer-status.active{background-color:#f0fdf4;color:#15803d}.offer-status.inactive{background-color:#f3f4f6;color:#4b5563}.status-dot{width:6px;height:6px;border-radius:50%;background-color:#22c55e;margin-right:6px}.offer-instructions{margin-top:auto;padding-top:12px;border-top:1px dashed hsl(var(--border))}.instructions-label{font-size:.75rem;font-weight:500;color:#2563eb;margin-bottom:4px;display:flex;align-items:center;gap:4px}.instructions-text{font-size:.75rem;color:hsl(var(--muted-foreground));font-style:italic;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.offer-actions{padding:12px;background-color:hsla(0,0%,94%,.5);border-top:1px solid hsl(var(--border));display:flex;justify-content:flex-end;opacity:0;transition:opacity .2s}.offer-card:hover .offer-actions{opacity:1}.slider-backdrop{position:fixed;inset:0;background-color:rgba(0,0,0,.2);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:50}.slider-panel{position:fixed;top:0;right:0;bottom:0;width:100%;max-width:500px;background-color:hsl(var(--background));box-shadow:-4px 0 15px rgba(0,0,0,.1);z-index:51;display:flex;flex-direction:column;border-left:1px solid hsl(var(--border));animation:slideIn .3s ease-out}@keyframes slideIn{0%{transform:translateX(100%)}to{transform:translateX(0)}}.slider-header{padding:16px 24px;border-bottom:1px solid hsl(var(--border));display:flex;justify-content:space-between;align-items:center}.slider-content{flex:1 1;overflow-y:auto;padding:24px}.form-group{margin-bottom:16px}.form-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}.form-row-3{display:grid;grid-template-columns:1fr 1fr 1fr;grid-gap:16px;gap:16px}.form-label{display:block;font-weight:500;margin-bottom:8px}.form-input,.form-label,.form-textarea{font-size:.875rem;color:hsl(var(--foreground))}.form-input,.form-textarea{width:100%;padding:8px 12px;border:1px solid hsl(var(--border));border-radius:var(--radius);background-color:hsl(var(--background))}.form-input:focus,.form-textarea:focus{outline:none;border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring)/.2)}.ai-section{background-color:#eff6ff;border:1px solid #dbeafe;border-radius:var(--radius);padding:16px}.ai-section label{color:#1e3a8a}.ai-section p{font-size:.75rem;color:#1d4ed8;margin-bottom:8px}.ai-section textarea{border-color:#bfdbfe}.form-actions{justify-content:flex-end;gap:12px}.form-actions,.form-actions-split{display:flex;padding-top:16px;border-top:1px solid hsl(var(--border));margin-top:24px}.form-actions-split{justify-content:space-between;align-items:center}.form-actions-right{display:flex;gap:12px}.btn-danger{padding:8px 16px;font-size:.875rem;font-weight:500;color:#dc2626;background-color:transparent;border:1px solid #fecaca;border-radius:var(--radius);cursor:pointer;transition:all .15s ease}.btn-danger:hover{background-color:#fef2f2;border-color:#dc2626}.loading-spinner{width:32px;height:32px;border:4px solid #e5e7eb;border-top:4px solid hsl(var(--primary));border-radius:50%;animation:spinner .8s linear infinite}@keyframes spinner{to{transform:rotate(1turn)}}.icon-sidebar{height:100%;width:60px;background:hsl(var(--background));border-right:1px solid hsl(var(--border));flex-shrink:0;padding:16px 0}.icon-nav,.icon-sidebar{display:flex;flex-direction:column;align-items:center}.icon-nav{gap:8px;width:100%;padding:0 8px}.icon-link{position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;color:#9ca3af;text-decoration:none;transition:all .15s ease}.icon-link svg{width:24px;height:24px}.icon-link:hover{background-color:hsl(var(--accent));color:hsl(var(--foreground))}.icon-link.active{background-color:hsl(var(--secondary));color:hsl(var(--foreground))}.icon-link .tooltip{left:calc(100% + 12px);background-color:#1f2937;color:#fff;padding:6px 12px;border-radius:6px;font-size:.75rem;font-weight:500;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease,visibility .15s ease;z-index:100}.icon-link .tooltip,.icon-link .tooltip:before{position:absolute;top:50%;transform:translateY(-50%)}.icon-link .tooltip:before{content:"";right:100%;border:6px solid transparent;border-right-color:#1f2937}.icon-link:hover .tooltip{opacity:1;visibility:visible}.checkbox-cell,.checkbox-header{width:40px;text-align:center;padding:8px!important}.course-checkbox{width:18px;height:18px;cursor:pointer;accent-color:hsl(var(--primary))}.btn-danger{background-color:#ef4444;color:#fff;border:none}.btn-danger:hover{background-color:#dc2626}.btn-danger:active{background-color:#b91c1c}.draggable-row:has(.course-checkbox:checked){background-color:rgba(59,130,246,.1)}