:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#28243c;background:#f6f6fa;font-synthesis:none;--purple:#6651d9;--purple-dark:#513bbd;--purple-light:#f0edfc;--ink:#28243c;--muted:#777387;--border:#e8e5ef;--green:#238566;--red:#b54449;--shadow:0 10px 35px #30264f07}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--purple);text-decoration:none}a:hover{text-decoration:underline}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #aa9af1;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}svg{display:block;width:20px;height:20px;flex-shrink:0}button svg{pointer-events:none}.skip-link{position:fixed;left:15px;top:-100px;padding:12px 18px;background:var(--purple);color:#fff;z-index:100}.skip-link:focus{top:12px}.app-shell{min-height:100dvh;display:grid;grid-template-columns:244px minmax(0,1fr)}.sidebar{background:#fff;border-right:1px solid var(--border);position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;padding:30px 19px 19px;z-index:10}.brand{display:flex;gap:11px;align-items:center;color:var(--ink);padding:0 5px}.brand:hover{text-decoration:none}.brand-mark{background:var(--purple);color:#fff;width:41px;height:43px;border-radius:12px;display:grid;place-items:center;font-size:32px;line-height:1;box-shadow:0 5px 10px #6651d91a}.brand strong{font-size:15px;letter-spacing:-.3px;display:block}.brand small{font-size:11px;display:block;margin-top:5px;color:var(--muted)}.nav-caption{font-size:9px;font-weight:650;text-transform:uppercase;letter-spacing:1.1px;color:#aaa4b5;padding:0 14px;margin-top:46px;margin-bottom:14px}.navigation{display:grid;gap:6px}.nav-item{display:flex;align-items:center;gap:12px;color:#777083;padding:13px 14px;border-radius:9px;font-size:13px;font-weight:500;min-width:0}.nav-item svg{width:19px;height:19px}.nav-item:hover{background:#f7f5fc;text-decoration:none;color:var(--purple)}.nav-item.active{color:var(--purple);background:var(--purple-light);font-weight:650}.nav-count{margin-left:auto;font-size:10px;background:#e4defa;padding:3px 6px;min-width:21px;text-align:center;border-radius:5px;color:#6951ba}.sidebar-bottom{margin-top:auto;padding-top:30px}.environment-card{padding:13px 12px;border:1px solid #ebe8f3;border-radius:10px;background:#faf9fd;display:flex;gap:8px}.connection-dot{width:6px;height:6px;border-radius:50%;background:#68ae94;flex-shrink:0;margin-top:4px}.environment-card strong{font-size:10px;display:block;font-weight:650;color:#635a78}.environment-card p{font-size:10px;line-height:1.65;color:#908799;margin-top:5px}.bot-link{display:flex;align-items:center;justify-content:space-between;padding:17px 12px 2px;font-size:12px;font-weight:550;color:#857993}.bot-link>span:last-child{font-size:18px;color:#a89bb8}.workspace{min-width:0;display:flex;flex-direction:column}.topbar{height:83px;padding:0 42px;background:#ffffffc9;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumbs{display:flex;align-items:center;gap:12px;font-size:11px;color:#96909e}.breadcrumbs strong{font-weight:550;color:#5c536d}.topbar-actions{display:flex;gap:16px;align-items:center}.sync-status{display:flex;gap:6px;align-items:center;font-size:10px;color:#948d9d}.sync-status::before{content:"";width:5px;height:5px;background:#63ae8f;border-radius:50%}.sync-status.offline{color:var(--red)}.sync-status.offline::before{background:var(--red)}.environment-pill{font-size:9px;letter-spacing:.25px;color:#806b48;background:#f7f2e9;border:1px solid #eee5d5;border-radius:5px;padding:6px 8px;font-weight:650}.admin-avatar{display:grid;place-items:center;width:32px;height:32px;font-size:11px;font-weight:650;border-radius:50%;color:#8c78b8;background:#eee8f8;border:3px solid #fff;box-shadow:0 0 0 1px #eee9f4}.main{padding:39px 42px 28px;max-width:1500px;width:100%;margin:0 auto;outline:none!important}.footer{display:flex;justify-content:space-between;gap:15px;padding:20px 42px 22px;font-size:9px;color:#aaa3b3;margin-top:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-heading h1{font-size:27px;font-weight:700;letter-spacing:-1px;line-height:1.25}.page-heading p{font-size:12px;line-height:1.7;color:var(--muted);margin-top:8px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;background:var(--purple);color:white;font-size:12px;line-height:1.4;font-weight:600;padding:11px 15px;border-radius:8px;white-space:nowrap;transition:background .15s,box-shadow .15s;min-height:39px}.button:hover{background:var(--purple-dark);text-decoration:none;box-shadow:0 4px 10px #6651d917}.button svg{width:16px;height:16px}.button-secondary{background:white;color:#675d78;border-color:#e2ddea}.button-secondary:hover{background:#f6f2fc;border-color:#c5b6ea;box-shadow:none}.button-quiet{background:transparent;color:#8a7d9b;border:0;padding-left:4px;padding-right:4px}.button-quiet:hover{background:#f3effa;box-shadow:none;color:var(--purple)}.button-small{font-size:10px;padding:7px 10px;min-height:31px;gap:6px}.button-danger{background:#fff1f1;color:var(--red);border-color:#eed5d6}.button-danger:hover{background:#fbe7e8;box-shadow:none}.icon-button{width:32px;height:32px;display:inline-grid;place-items:center;background:transparent;color:#a093ac;border:1px solid transparent;border-radius:7px}.icon-button:hover{background:var(--purple-light);color:var(--purple)}.icon-button svg{width:17px;height:17px}.icon-button.danger:hover{color:var(--red);background:#fff1f1}.heading-actions{display:flex;gap:10px;align-items:center}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:26px}.metric{background:white;border:1px solid var(--border);border-radius:12px;padding:20px 20px 17px;box-shadow:var(--shadow)}.metric-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.metric-label{font-size:11px;color:#85808f;font-weight:500}.metric-icon{width:30px;height:30px;display:grid;place-items:center;background:#f2eefd;color:#8a75ca;border-radius:8px}.metric-icon svg{width:16px;height:16px}.metric-icon.green{background:#edf7f1;color:#65a78a}.metric-icon.orange{background:#fcf3e6;color:#c2995f}.metric-icon.blue{background:#edf2fc;color:#7f9ecc}.metric-value{font-size:31px;font-weight:650;letter-spacing:-1.2px;margin-top:13px}.metric-caption{font-size:10px;color:#a69dad;margin-top:6px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:23px;align-items:start}.panel{background:white;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);min-width:0;overflow:hidden}.panel-heading{padding:21px 22px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-heading h2{font-size:14px;font-weight:650;letter-spacing:-.2px}.panel-heading p{font-size:10px;color:#9b92a6;margin-top:5px}.panel-link{font-size:10px;display:inline-flex;align-items:center;gap:7px;color:#9a83c7;white-space:nowrap}.panel-link svg{width:13px;height:13px}.table-scroll{overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;min-width:700px}.data-table th{padding:12px 18px;background:#fcfbfe;color:#a198ac;border-top:1px solid #f1eef6;border-bottom:1px solid #f1eef6;font-size:9px;font-weight:600;letter-spacing:.15px;white-space:nowrap}.data-table td{padding:17px 18px;border-bottom:1px solid #f1eef5;vertical-align:middle;font-size:11px;color:#71677f}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fdfbff}.data-table .primary-text{display:block;color:#52465f;font-size:11px;font-weight:600;line-height:1.55}.data-table .secondary-text{display:block;color:#aa9eb6;font-size:10px;line-height:1.6;margin-top:3px}.data-table.compact{min-width:450px}.data-table.compact td{padding:16px 22px}.data-table.compact th{padding:11px 22px}.date-badge{display:flex;align-items:center;gap:10px}.date-box{display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:7px;width:36px;min-height:41px;flex-shrink:0;background:#f3eefb;color:#8c70b8}.date-box strong{font-size:14px;line-height:1.3;font-weight:650}.date-box span{font-size:8px;text-transform:uppercase;margin-top:2px}.pill{display:inline-flex;align-items:center;gap:5px;background:#f3f0f7;color:#9681ac;font-size:9px;font-weight:550;padding:5px 7px;border-radius:5px;white-space:nowrap;line-height:1.4}.pill.green{background:#edf7f2;color:#54977f}.pill.orange{background:#fbf2e5;color:#b68b57}.pill.blue{background:#edf1fc;color:#8293bd}.pill.red{background:#fceff0;color:#be7b80}.pill.neutral{background:#f1f0f4;color:#98909f}.pill.purple{background:#eee8fa;color:#8e73bb}.row-actions{display:flex;gap:4px;align-items:center;justify-content:flex-end;white-space:nowrap}.clickable-row{cursor:pointer}.mini-list{padding:0 21px 8px}.mini-lead{padding:16px 0;border-top:1px solid #f0ecf5;display:flex;align-items:start;gap:11px;cursor:pointer}.mini-lead:first-child{border-top:0}.mini-avatar{width:31px;height:31px;flex-shrink:0;display:grid;place-items:center;background:#f5eae5;color:#bd937e;font-size:10px;font-weight:600;border-radius:9px}.mini-lead:nth-child(2n) .mini-avatar{background:#e9edf7;color:#8392b5}.mini-lead:nth-child(3n) .mini-avatar{background:#ece6f6;color:#9e86bc}.mini-lead-main{min-width:0;flex:1}.mini-lead strong{font-size:11px;font-weight:600;display:block;color:#645371;line-height:1.5}.mini-lead p{font-size:10px;color:#a795b3;line-height:1.65;margin-top:4px}.mini-lead time{font-size:9px;color:#b1a4bd;white-space:nowrap;margin-top:3px}.quick-strip{margin-top:24px;border:1px solid #e6dff4;border-radius:12px;padding:20px 23px;background:linear-gradient(115deg,#f1edfb,#f9f7fd);display:flex;align-items:center;gap:18px}.quick-strip-icon{display:grid;place-items:center;width:42px;height:42px;background:white;color:#af9bd7;flex-shrink:0;border-radius:11px}.quick-strip-icon svg{width:23px;height:23px}.quick-strip h3{font-size:12px;color:#79618f;font-weight:650}.quick-strip p{font-size:10px;color:#a08cb0;line-height:1.7;margin-top:4px}.quick-strip .button{margin-left:auto}.toolbar{display:flex;align-items:center;gap:11px;margin-bottom:20px;flex-wrap:wrap}.search-field{position:relative;flex:1;min-width:190px;max-width:350px}.search-field svg{position:absolute;left:12px;top:11px;width:15px;height:15px;color:#a79bb4}.search-field input{padding-left:36px;width:100%}.field-control,input,select,textarea{color:#62556f;background:white;border:1px solid #e2dce9;border-radius:7px;font-size:12px;line-height:1.5;padding:10px 11px;max-width:100%}input::placeholder,textarea::placeholder{color:#b1a4bd}input[type=checkbox]{accent-color:var(--purple);width:16px;height:16px;margin:0;flex-shrink:0}input[type=date]{min-height:41px}textarea{resize:vertical;min-height:90px}select{padding-right:30px}select:disabled{opacity:.6}.filter-select{font-size:11px;max-width:220px;min-height:39px;padding:9px 29px 9px 11px}.result-count{margin-left:auto;font-size:10px;color:#9d90aa;white-space:nowrap}.garden-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.garden-card{padding:22px 22px 18px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);display:flex;flex-direction:column;min-width:0}.garden-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.garden-icon{width:36px;height:36px;display:grid;place-items:center;background:#f3eefb;color:#a08bbf;border-radius:10px}.garden-icon svg{width:19px;height:19px}.garden-card h2{font-size:15px;font-weight:650;color:#685274;line-height:1.5;letter-spacing:-.3px}.garden-card .address{color:#aa96b5;font-size:11px;line-height:1.6;margin-top:5px}.class-list{display:grid;gap:11px;margin:21px 0;flex:1}.class-line{display:flex;align-items:flex-start;gap:7px;font-size:10px;line-height:1.7;color:#a18bb2}.class-line::before{content:"";width:5px;height:5px;border-radius:50%;background:#b7a1d3;flex-shrink:0;margin-top:6px}.class-line strong{display:block;font-size:11px;font-weight:550;color:#857096}.class-line p{white-space:pre-wrap;overflow-wrap:anywhere}.garden-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:15px;border-top:1px solid #f0ebf5;gap:10px}.garden-bottom>span{font-size:9px;color:#b09ebe}.tabs{display:flex;gap:3px;align-items:center;border-bottom:1px solid var(--border);margin-bottom:20px}.tab{border:0;background:transparent;color:#9f91ab;padding:12px 14px;font-size:11px;position:relative}.tab.active{color:#8863bb;font-weight:650}.tab.active::after{content:"";height:2px;position:absolute;bottom:-1px;left:14px;right:14px;background:#a886dc;border-radius:2px}.tab-count{font-size:9px;margin-left:6px;padding:2px 5px;background:#f0eaf7;border-radius:4px;color:#a18ab8}.leads-filters{display:grid;grid-template-columns:minmax(210px,1.6fr) repeat(4,minmax(125px,1fr));gap:10px;margin-bottom:17px}.leads-filters .search-field{max-width:none;min-width:0}.leads-filters select{min-width:0;max-width:100%}.table-foot{padding:14px 19px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#a494b1;gap:12px}.pagination{display:flex;align-items:center;gap:10px}.empty-state{padding:58px 25px;text-align:center}.empty-symbol{margin:0 auto 17px;width:52px;height:52px;background:#f4eefb;color:#b7a0d2;border-radius:16px;display:grid;place-items:center}.empty-symbol svg{width:25px;height:25px}.empty-state h2{font-size:16px;font-weight:600;color:#8b729b}.empty-state p{font-size:11px;line-height:1.8;color:#ae9bb9;max-width:360px;margin:9px auto 0}.empty-state .button{margin-top:19px}.empty-inline{font-size:11px;color:#aa95b8;line-height:1.8;padding:24px;text-align:center}.message-layout{display:grid;grid-template-columns:minmax(400px,1.2fr) minmax(300px,1fr);gap:23px;align-items:start}.compose-form{padding:0 23px 22px}.form-field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;min-width:0}.form-field>label,.field-label{font-size:11px;color:#8d759d;font-weight:600}.form-hint{font-size:10px;color:#b39dbe;line-height:1.7;font-weight:400}.form-field input,.form-field select,.form-field textarea{width:100%}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.compose-form textarea{min-height:200px;line-height:1.8}.field-footer{display:flex;justify-content:space-between;gap:12px;margin-top:-2px}.counter{font-size:9px;color:#b39dbe;white-space:nowrap}.compose-actions{border-top:1px solid #eee7f5;padding-top:17px;display:flex;align-items:center;justify-content:space-between;gap:15px}.compose-actions .form-hint{max-width:220px}.local-notice{padding:13px 15px;background:#f7f1e8;border:1px solid #eee1ce;border-radius:8px;color:#b2956d;font-size:10px;line-height:1.8;display:flex;gap:9px;margin-bottom:21px}.local-notice svg{width:16px;height:16px;margin-top:1px}.local-notice strong{color:#9c7b51;font-weight:600}.broadcast-list{padding:0 21px 6px}.broadcast-card{padding:17px 0;border-top:1px solid #f0e9f6}.broadcast-card:first-child{border-top:0}.broadcast-top{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#b39ac0;font-size:9px;margin-bottom:10px}.broadcast-card p{font-size:11px;color:#9a7da9;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;max-height:100px;overflow:auto}.broadcast-bottom{margin-top:13px;display:flex;gap:5px;flex-wrap:wrap}.recipient-picker{border:1px solid #e7dcee;border-radius:8px;padding:12px}.recipient-search{width:100%;font-size:11px;padding:8px 10px;margin-bottom:8px}.recipient-list{max-height:220px;overflow:auto}.recipient-option{display:flex;gap:9px;align-items:start;padding:10px 3px;border-top:1px solid #f3eaf8;cursor:pointer;line-height:1.6}.recipient-option input{margin-top:2px}.recipient-option span{font-size:10px;color:#ab8dbb;overflow-wrap:anywhere}.recipient-option strong{display:block;font-size:11px;color:#9872ae;font-weight:550}.selection-count{font-size:10px;color:#aa87c0;margin-top:10px}.editor-dialog{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #e4d8ef;border-radius:16px;background:#fff;color:var(--ink);box-shadow:0 25px 100px #33224d38;overflow:auto}.editor-dialog::backdrop{background:#28203966;backdrop-filter:blur(3px)}.editor-dialog.drawer{width:min(600px,calc(100vw - 22px));max-height:100dvh;height:100dvh;margin:0 0 0 auto;border-radius:16px 0 0 16px;border-right:0;overflow:auto}.dialog-header{display:flex;justify-content:space-between;align-items:start;gap:20px;padding:25px 28px 20px;border-bottom:1px solid #f0e7f6}.dialog-kicker{font-size:9px;color:#b69ac5;text-transform:uppercase;letter-spacing:1px;display:block;margin-bottom:9px}.dialog-header h2{font-size:21px;font-weight:650;letter-spacing:-.7px;color:#78568b;line-height:1.4}.dialog-header p{font-size:11px;line-height:1.7;color:#ad90be;margin-top:7px;max-width:530px}.dialog-close{border:0;background:#f9f5fc;width:30px;height:30px;flex-shrink:0;border-radius:8px;font-size:24px;line-height:1;color:#b49ac2;display:grid;place-items:center}.dialog-close:hover{background:#f1e9f8;color:#8a60a4}.dialog-body{padding:24px 28px 7px}.dialog-footer{padding:17px 28px 23px;border-top:1px solid #f0e8f7;display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:15px;background:#fff}.dialog-footer .left-note{font-size:10px;line-height:1.7;color:#b29ac0;margin-right:auto;max-width:300px}.form-error{padding:12px 14px;background:#fff2f2;color:#b66c78;border:1px solid #f0d4d8;font-size:11px;line-height:1.75;border-radius:8px;margin-bottom:17px}.section-label{font-size:12px;font-weight:650;color:#9a71ad;margin:4px 0 7px}.class-editor-intro{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:3px 0 13px}.class-editor-intro p{font-size:10px;color:#b39ac3;line-height:1.7}.class-presets{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 16px}.chip-button{background:#f8f2fd;color:#a07bb8;border:1px solid #e9dcf2;padding:6px 9px;font-size:10px;border-radius:6px;display:inline-flex;align-items:center;gap:5px}.chip-button:hover{background:#eee0fa;border-color:#cfb7e2}.chip-button.selected{background:#efe0fa;border-color:#c9a5dd;color:#8c5da4}.class-editor-row{border:1px solid #e9ddef;border-radius:10px;background:#fdfaff;padding:15px;margin-bottom:12px}.class-editor-row.inactive{background:#faf8fb;opacity:.75}.class-editor-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.class-editor-heading strong{font-size:10px;color:#b494c5;font-weight:600}.class-editor-row .form-field{margin-bottom:12px}.class-editor-row textarea{min-height:62px;font-size:11px}.class-editor-row input{font-size:11px}.class-editor-row .form-field>label{font-size:10px}.class-editor-tools{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.class-editor-tools .chip-button{font-size:9px;padding:5px 7px}.schedule-times{display:flex;gap:5px;align-items:center;margin-left:auto;font-size:10px;color:#b89bc9;flex-wrap:wrap}.schedule-times input{width:91px;padding:5px 6px;font-size:10px;min-width:0}.class-active-label{display:flex;gap:7px;align-items:center;font-size:10px;color:#b296c4}.inline-note{padding:13px 15px;background:#f5eefc;border:1px solid #eaddf4;border-radius:8px;color:#b08ac5;font-size:10px;line-height:1.8;margin-bottom:18px}.schedule-summary{border:1px solid #eee1f5;border-radius:9px;padding:4px 16px;margin:12px 0 17px}.schedule-summary .class-line{padding:12px 0;border-bottom:1px solid #f2e7f9}.schedule-summary .class-line:last-child{border-bottom:0}.checkbox-label{display:flex;gap:9px;align-items:center;font-size:11px;color:#aa84bc;line-height:1.7;cursor:pointer}.event-class-toggle{margin-bottom:17px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 18px;margin:0 0 23px}.detail-grid dt{font-size:9px;color:#bd9cca;line-height:1.6;margin-bottom:6px}.detail-grid dd{margin:0;font-size:12px;line-height:1.75;color:#ad80c4;overflow-wrap:anywhere}.detail-grid .full{grid-column:1/-1}.detail-grid .dark{color:#9663b1;font-weight:600}.lead-kind-label{display:inline-flex;margin:2px 0 20px}.divider{height:1px;background:#eee1f5;margin:21px 0}.preview-message{background:#f5edfc;border:1px solid #eaddf4;border-radius:10px 10px 10px 2px;padding:17px;font-size:12px;color:#ab78c3;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:20px}.preview-recipients{max-height:240px;overflow:auto;border:1px solid #ede1f6;border-radius:8px;margin:13px 0}.preview-recipient{padding:11px 14px;font-size:10px;color:#b18ac8;border-bottom:1px solid #f1e6f8;line-height:1.8}.preview-recipient:last-child{border-bottom:0}.preview-recipient strong{font-size:11px;display:block;color:#a97ebf}.summary-count{font-size:13px;color:#b186ca;font-weight:600}.loading-page{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;min-height:55vh;color:#a593b5;font-size:12px}.spinner{width:25px;height:25px;display:inline-block;border:2px solid #e8def2;border-top-color:#b79bd0;border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toast-region{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);display:grid;gap:9px;z-index:100;pointer-events:none;max-width:calc(100vw - 28px);width:max-content}.toast{background:#5d4673;color:#fff;border:1px solid #78598e;border-radius:9px;box-shadow:0 8px 30px #3d255d26;font-size:12px;padding:13px 19px;line-height:1.6;max-width:520px;display:flex;align-items:center;gap:10px;animation:toast-in .2s ease-out}.toast.error{background:#a36b7c;border-color:#ba8996}.toast svg{width:16px;height:16px;flex-shrink:0}@keyframes toast-in{from{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}.login-screen{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at top,#eae2f8,transparent 65%),#f8f5fc;padding:25px}.login-card{width:min(410px,100%);padding:37px;border:1px solid #e9dff3;border-radius:17px;box-shadow:0 20px 80px #7855980d;background:white}.login-card .brand{justify-content:center;margin-bottom:30px}.login-card h1{font-size:21px;letter-spacing:-.6px;color:#9e70b8}.login-card>p{font-size:11px;color:#b597c7;line-height:1.8;margin:9px 0 24px}.login-card .button{width:100%;margin-top:6px}.login-foot{font-size:9px;color:#bda4ce;text-align:center;line-height:1.8;margin-top:23px}.nowrap{white-space:nowrap}.muted{color:#ab97b8}.mono{font-variant-numeric:tabular-nums}.message-layout .panel-heading{padding-bottom:22px}.filter-reset{font-size:10px;color:#a67ac2;background:transparent;border:0;padding:6px 0}.lead-note-hint{font-size:10px;color:#b998ca;line-height:1.7;margin:12px 0}.message-target-description{font-size:10px;line-height:1.8;color:#b99cca;margin-top:10px}.danger-message{color:#bd8194}.mt-15{margin-top:15px}.readonly{background:#faf6fd;color:#b195c5}.title-options{display:flex;gap:6px;flex-wrap:wrap;margin-top:0}.title-options .chip-button{font-size:9px;white-space:normal;text-align:left}.status-summary{display:flex;align-items:center;gap:12px;margin-bottom:18px}.status-summary p{font-size:10px;color:#b298c1;line-height:1.75}.form-help-block{padding:13px 15px;border-left:3px solid #dfc7ef;font-size:10px;color:#b493ca;line-height:1.8;margin-bottom:18px}.selected-recipients-heading{font-size:11px;color:#b088c7;margin:3px 0 8px}.login-submit-error{color:var(--red)}.dialog-footer.sticky-footer{position:sticky;bottom:0;z-index:2}.submit-progress{display:inline-block;width:13px;height:13px;border:2px solid #ffffff66;border-top-color:#fff;border-radius:50%;animation:spin .75s linear infinite}.meta-line{font-size:10px;color:#b09abd;line-height:1.8;margin-top:10px}.total-label{font-weight:600;color:#ac86c5}
/* Keep operational content readable against the soft brand palette. */
.garden-card h2,.dialog-header h2{color:#5c476d}.garden-card .address,.class-line p,.form-hint,.dialog-header p,.dialog-footer .left-note,.inline-note,.form-help-block,.message-target-description,.meta-line{color:#887593}.class-line strong,.form-field>label,.field-label,.section-label,.checkbox-label,.class-active-label,.detail-grid dd,.detail-grid .dark,.compose-form .form-hint,.preview-message,.summary-count,.preview-recipient strong{color:#715784}.form-field input,.form-field textarea,.form-field select{color:#5c486d}.detail-grid dt,.detail-grid dd a,.preview-recipient,.broadcast-card p,.broadcast-top,.mini-lead p,.mini-lead time{color:#8d759c}.data-table .secondary-text,.data-table th,.data-table td,.filter-select,.form-field .form-hint{color:#897596}.garden-bottom>span,.class-editor-intro p,.class-editor-heading strong,.lead-note-hint,.selection-count,.selected-recipients-heading,.recipient-option strong{color:#90709f}.recipient-option span,.class-editor-row .form-field>label,.dialog-kicker,.tab,.result-count,.table-foot{color:#8f789c}.login-card h1{color:#6a4d7e}.login-card>p,.login-foot{color:#8e779e}.toast{background:#544464}.empty-state h2{color:#796287}.empty-state p,.empty-inline{color:#9a86a6}
@media(min-width:1600px){.main{padding-top:45px}.topbar{padding-left:52px;padding-right:52px}.app-shell{grid-template-columns:260px 1fr}.sidebar{padding-left:24px;padding-right:24px}}@media(max-width:1250px){.main{padding:30px 28px}.topbar{padding:0 28px}.footer{padding-left:28px;padding-right:28px}.app-shell{grid-template-columns:215px 1fr}.sidebar{padding-left:13px;padding-right:13px}.brand strong{font-size:13px}.brand small{font-size:10px}.brand-mark{width:36px;height:39px;font-size:29px}.overview-grid{grid-template-columns:minmax(0,1.5fr) minmax(245px,1fr);gap:17px}.garden-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.leads-filters{grid-template-columns:repeat(3,minmax(130px,1fr))}.leads-filters .search-field{grid-column:span 2}.message-layout{grid-template-columns:minmax(340px,1.1fr) minmax(270px,1fr);gap:17px}.metric{padding:18px 15px}.metric-label{font-size:10px}.metrics{gap:12px}.metric-value{font-size:28px}.panel-heading{padding-left:18px;padding-right:18px}.quick-strip{padding:17px}}@media(max-width:1000px){.app-shell{grid-template-columns:190px 1fr}.sidebar{padding-top:26px}.brand{gap:8px}.brand strong{font-size:12px}.brand small{font-size:9px}.nav-item{padding:12px 10px;font-size:11px;gap:10px}.nav-item svg{width:17px}.nav-caption{padding-left:10px;font-size:8px}.main{padding:28px 23px}.topbar{padding:0 23px;height:76px}.topbar-actions{gap:10px}.breadcrumbs{font-size:10px;gap:9px}.sync-status{font-size:9px}.overview-grid{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{padding:16px 18px}.metric-value{margin-top:5px}.metric-caption{margin-top:4px}.metric-icon{width:25px;height:25px}.overview-grid .mini-list{display:grid;grid-template-columns:1fr 1fr;column-gap:22px}.message-layout{grid-template-columns:1fr}.garden-card{padding:18px}.garden-card h2{font-size:14px}.page-heading h1{font-size:25px}.quick-strip{gap:12px}.quick-strip .button{font-size:10px}.quick-strip-icon{display:none}.table-scroll .data-table{min-width:650px}}@media(max-width:760px){.app-shell{display:block}.sidebar{height:auto;position:static;padding:19px 20px 0;border-right:0;border-bottom:1px solid var(--border)}.brand{padding:0}.brand strong{font-size:15px}.brand small{font-size:10px}.brand-mark{width:38px;height:40px;font-size:30px}.nav-caption,.sidebar-bottom{display:none}.navigation{display:flex;overflow:auto;gap:2px;padding-top:21px;scrollbar-width:none}.navigation::-webkit-scrollbar{display:none}.nav-item{border-radius:7px 7px 0 0;padding:12px 11px 14px;font-size:11px;white-space:nowrap;gap:6px}.nav-item svg{display:none}.nav-count{font-size:8px;padding:2px 4px}.topbar{height:56px;padding:0 20px}.breadcrumbs{font-size:9px}.topbar-actions{gap:8px}.admin-avatar{display:none}.environment-pill{font-size:8px;padding:5px 6px}.sync-status{font-size:8px}.main{padding:25px 20px}.page-heading{gap:12px;align-items:start;margin-bottom:21px}.page-heading h1{font-size:24px}.page-heading p{font-size:11px;max-width:280px}.page-heading .button{font-size:10px;padding:10px 12px;min-height:35px}.page-heading .button svg{width:14px}.heading-actions{gap:6px}.heading-actions .button-secondary{padding:9px 8px}.garden-grid{gap:12px}.garden-card{padding:16px}.garden-card h2{font-size:13px}.garden-card .address{font-size:10px}.class-list{margin:16px 0}.garden-top{margin-bottom:12px}.garden-bottom{flex-wrap:wrap;gap:8px}.garden-bottom .button{font-size:9px}.metrics{gap:11px;margin-bottom:20px}.metric{padding:15px}.metric-value{font-size:27px;margin-top:7px}.metric-label{font-size:10px}.metric-caption{font-size:9px}.overview-grid{gap:20px}.panel-heading{padding:17px 17px 14px}.panel-heading h2{font-size:13px}.mini-list{padding:0 17px 6px}.overview-grid .mini-list{grid-template-columns:1fr}.quick-strip{padding:17px;align-items:start;flex-wrap:wrap;margin-top:20px}.quick-strip .button{margin-left:0}.quick-strip p{font-size:10px}.leads-filters{grid-template-columns:1fr 1fr}.leads-filters .search-field{grid-column:span 2}.toolbar{gap:9px}.toolbar .search-field{max-width:none;flex-basis:100%}.filter-select{max-width:100%;flex:1;font-size:10px}.result-count{font-size:9px}.tabs{overflow:auto;white-space:nowrap;margin-bottom:18px}.tab{font-size:10px;padding:12px 10px}.tab-count{font-size:8px;margin-left:3px}.footer{padding:15px 20px 20px;font-size:8px;line-height:1.8}.editor-dialog{width:calc(100vw - 22px);max-height:calc(100dvh - 22px);border-radius:12px}.dialog-header{padding:21px 20px 17px}.dialog-header h2{font-size:19px}.dialog-body{padding:20px 20px 5px}.dialog-footer{padding:16px 20px 20px;flex-wrap:wrap;gap:8px}.dialog-footer .left-note{max-width:none;width:100%;margin-bottom:4px}.form-row{gap:12px}.form-field{margin-bottom:16px}.class-editor-row{padding:12px}.schedule-times{margin-left:0;width:100%;margin-top:4px}.compose-form{padding:0 18px 19px}.compose-actions{flex-wrap:wrap}.compose-actions .form-hint{max-width:none}.compose-actions .button{margin-left:auto}.local-notice{font-size:9px;padding:11px 12px}.broadcast-list{padding-left:18px;padding-right:18px}.editor-dialog.drawer{width:calc(100vw - 15px);border-radius:12px 0 0 12px}.detail-grid{gap:17px 14px}.detail-grid dd{font-size:11px}.table-foot{font-size:9px;padding:12px}.login-card{padding:29px}.title-options .chip-button{font-size:8px}.table-scroll .data-table.compact{min-width:500px}}@media(max-width:430px){.main{padding:23px 15px}.topbar{padding:0 15px}.sidebar{padding-left:15px;padding-right:15px}.nav-item{padding-left:9px;padding-right:9px;font-size:10px}.page-heading h1{font-size:23px}.garden-grid{grid-template-columns:1fr}.form-row{grid-template-columns:1fr;gap:0}.page-heading p{font-size:10px}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.page-heading .button{font-size:9px}.sync-status{display:none}.quick-strip .button{width:100%}.environment-pill{font-size:8px}.date-box{width:31px}.table-scroll .data-table.compact{min-width:440px}.table-scroll .data-table.compact td{padding:14px 16px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Per-day schedules and image attachments. */
.schedule-day-label{margin:3px 0 9px;font-size:10px}.schedule-day-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:13px}.schedule-day-button{border:1px solid #e3d8ed;background:#fff;color:#8c769a;font-size:11px;line-height:1.5;padding:8px 5px;border-radius:7px;text-align:center}.schedule-day-button:hover{background:#f4edfc;border-color:#bea8de}.schedule-day-button.selected{color:#68489a;background:#eee4fb;border-color:#bfa3df;font-weight:600;box-shadow:inset 0 0 0 1px #cdb6e8}.schedule-day-times{display:grid;gap:8px;margin-bottom:13px}.schedule-day-time{display:grid;grid-template-columns:minmax(125px,1fr) 110px 12px 110px;align-items:center;gap:8px;padding:10px 12px;background:white;border:1px solid #e7ddef;border-radius:8px}.schedule-day-time>strong{font-size:11px;font-weight:550;color:#775f86}.schedule-day-time label{font-size:9px;color:#9b84a8;display:flex;flex-direction:column;gap:4px}.schedule-day-time input{padding:6px 8px;width:100%;font-size:12px;min-width:0}.time-dash{color:#b7a0c6;font-size:12px;padding-top:15px}.schedule-preview-field{margin-bottom:9px!important}.schedule-preview-field textarea[readonly]{color:#77618c;background:#f6f1fb}.schedule-mode-button{border:0;background:transparent;color:#9273ae;font-size:10px;padding:5px 0;text-decoration:underline;text-underline-offset:3px}.schedule-mode-button:hover{color:#60448c}.attachment-field{border-top:1px solid #ede4f5;padding-top:17px;margin-bottom:20px}.attachment-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:5px}.attachment-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:3px 0 2px}.attachment-actions .form-hint{font-size:9px}.attachment-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:9px 0}.attachment-card{position:relative;overflow:hidden;border-radius:8px;border:1px solid #e9def2;background:#f8f3fc;min-width:0}.attachment-card img{width:100%;aspect-ratio:1.1;display:block;object-fit:cover}.attachment-card>button{position:absolute;right:4px;top:4px;border:1px solid #ffffffa1;background:#3f314dba;color:white;border-radius:50%;height:21px;width:21px;font-size:16px;line-height:1;display:grid;place-items:center;padding:0}.attachment-card>button:hover{background:#8d405f}.attachment-card>span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:8px;color:#9b83ac;padding:5px 6px}.upload-progress{font-size:10px;color:#8a6b9f;line-height:1.7;display:flex;align-items:center;gap:8px;margin:6px 0}.upload-progress .spinner{width:13px;height:13px;border-width:2px;flex-shrink:0}.media-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 18px}.media-gallery>a{display:block;border:1px solid #e7dbee;border-radius:8px;overflow:hidden;background:#f7f1fc}.media-gallery img{display:block;width:100%;aspect-ratio:1.2;object-fit:cover}.media-gallery.history-media{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:11px}.media-gallery.history-media>a{border-radius:6px}.media-gallery.history-media img{aspect-ratio:1}.preview-photo-note{margin-bottom:17px}
@media(max-width:760px){.schedule-day-time{grid-template-columns:minmax(100px,1fr) 96px 10px 96px;padding:9px 10px;gap:6px}.schedule-day-time input{font-size:11px;padding:6px}.schedule-day-time>strong{font-size:10px}.schedule-day-button{font-size:10px;padding:8px 4px}.attachment-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.media-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:430px){.schedule-day-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-day-time{grid-template-columns:1fr 12px 1fr;gap:6px}.schedule-day-time>strong{grid-column:1/-1;font-size:11px;margin-bottom:2px}.schedule-day-time label{font-size:9px}.time-dash{padding-top:15px}.attachment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.media-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.attachment-actions .form-hint{width:100%}}

.invitation-selection{border:1px solid #e4d8ee;border-radius:9px;background:#faf7fd;padding:14px 15px}.invitation-selection>strong{font-size:12px;color:#735489;line-height:1.7;display:block;margin-bottom:7px}.invitation-selection>p{font-size:10px;color:#8e769c;line-height:1.8;margin:4px 0}.invitation-selection>.button{margin-top:7px}.form-error>.button{display:flex;margin-top:10px}.heading-actions:has([data-action="invite-without-trial"]){flex-wrap:wrap;justify-content:flex-end}
@media(max-width:760px){.page-heading:has([data-action="invite-without-trial"]){flex-wrap:wrap}.page-heading:has([data-action="invite-without-trial"]) .heading-actions{width:100%;justify-content:flex-start}}

/* Message branches: definition cards, day editor and delivery history. */
.branch-explanation{display:flex;align-items:flex-start;gap:14px;padding:18px 20px;border:1px solid #dfd2ee;border-radius:11px;background:#f6f0fc;margin-bottom:22px}.branch-explanation-icon{display:grid;place-items:center;flex-shrink:0;width:37px;height:37px;border-radius:10px;background:#eadef7;color:#8868a3}.branch-explanation-icon svg{width:21px;height:21px}.branch-explanation>div{flex:1;min-width:0}.branch-explanation strong{display:block;font-size:12px;color:#735885;line-height:1.6}.branch-explanation p{font-size:11px;color:#8e789c;line-height:1.85;max-width:850px;margin:5px 0 0}.branch-explanation>.pill{margin-top:3px;flex-shrink:0}.branch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.branch-card{border:1px solid #e6dcee;border-radius:12px;background:white;padding:23px;min-width:0;box-shadow:0 2px 7px #5b367904}.branch-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.branch-card h2{font-size:16px;font-weight:600;color:#654d78;line-height:1.5;margin:0 0 7px}.branch-trigger{font-size:10px;color:#8c759a;line-height:1.8}.branch-schedule{margin:17px 0;padding:12px 14px;border:1px solid #eee4f6;background:#fbf8fe;border-radius:8px}.branch-schedule>span{display:flex;gap:7px;align-items:center;font-size:11px;color:#80618f;font-weight:550;line-height:1.7}.branch-schedule svg{width:14px;height:14px;flex-shrink:0}.branch-schedule>p{font-size:10px;color:#9982a6;margin:5px 0 0;line-height:1.7}.branch-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.branch-stats>div{display:flex;flex-direction:column;gap:6px;min-width:0}.branch-stats strong{font-variant-numeric:tabular-nums;font-size:22px;line-height:1.2;font-weight:550;color:#7b5992}.branch-stats span{font-size:9px;color:#a189ae;line-height:1.5}.branch-stop-hint{display:flex;align-items:flex-start;gap:6px;font-size:10px;color:#8d7898;line-height:1.8;margin:15px 0 17px;min-height:18px}.branch-stop-hint svg{width:13px;height:13px;flex-shrink:0;margin-top:2px}.branch-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-top:1px solid #efe6f6;padding-top:17px}.branch-card-actions .button{font-size:10px;min-height:33px;padding:8px 10px;gap:6px}.branch-card-actions .button svg{width:13px;height:13px}.branch-card-actions .icon-button{height:31px;width:29px}.branch-history-text{white-space:pre-wrap;max-width:390px;max-height:110px;overflow:auto;line-height:1.8!important}.branch-editor-dialog{width:min(850px,calc(100vw - 32px))}.branch-stop-option{align-items:flex-start;margin:0 0 18px}.branch-stop-option input{margin-top:3px;flex-shrink:0}.branch-editor-note{margin-top:3px}.branch-days{display:flex;align-items:stretch;gap:7px;overflow:auto;padding:0 0 12px;scrollbar-width:thin;margin-bottom:10px}.branch-day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;flex-shrink:0;min-width:82px;padding:10px 13px;border:1px solid #e6d9ef;background:#fff;color:#9a7ca9;border-radius:8px;font-size:11px;line-height:1.6}.branch-day>span{font-size:9px;color:#b39bc1}.branch-day.selected{border-color:#c8acdf;background:#f2e7fd;color:#795396;box-shadow:inset 0 0 0 1px #d9c3eb}.branch-day.selected>span{color:#9a76b0}.branch-day:hover{border-color:#cbb4df;background:#faf4ff}.branch-add-day{min-width:61px;gap:3px;background:#fcf9ff}.branch-add-day svg{width:16px;height:16px}.branch-day-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 15px}.branch-day-heading h3{font-size:14px;font-weight:600;color:#775986;margin:0}.branch-day-heading p{font-size:10px;color:#aa91b7;line-height:1.8;margin:5px 0 0}.branch-step{border:1px solid #e4d7ed;background:#fdfaff;border-radius:10px;padding:17px;margin:0 0 15px}.branch-step-heading{display:flex;align-items:center;gap:13px;margin-bottom:16px}.branch-step-heading>strong{font-size:11px;font-weight:550;color:#9a7aa9;flex:1}.branch-step-heading>label{display:flex;align-items:center;gap:8px;font-size:10px;color:#9779a7}.branch-step-heading input[type=time]{width:108px;min-width:0;border:1px solid #dfd0e9;border-radius:7px;padding:7px 9px;background:white;color:#775688;font-size:12px}.branch-step-heading .icon-button{width:27px;height:29px}.branch-step .form-field{margin-bottom:14px}.branch-step textarea{font-size:12px;line-height:1.9;min-height:138px;background:white}.branch-step .checkbox-label{font-size:10px}.branch-variables{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.branch-variables .chip-button{font-size:9px;padding:5px 7px;background:#f7effc;color:#9470aa}.branch-step-photos{border-top:1px solid #ece0f4;padding-top:13px;margin-top:16px}.branch-step-photos .attachment-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.branch-step-photos .field-label{font-size:10px}.branch-step-photos .attachment-actions .form-hint{font-size:9px}.branch-preview-example{margin:15px 0 20px;border:1px solid #e8dcf1;border-radius:9px;overflow:hidden}.branch-preview-example .preview-recipient{border-bottom:1px solid #e8dcf1;background:#fdfbff}.branch-preview-example .preview-message{border:0;border-radius:0;margin:0;background:#f6effc}.branch-editor-dialog .dialog-footer{margin-top:7px}
@media(min-width:1700px){.branch-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1120px){.branch-grid{grid-template-columns:1fr}.branch-card{padding:20px}.branch-card-actions .button{font-size:11px}.branch-card .branch-stats{max-width:430px}.branch-card h2{font-size:17px}}@media(max-width:760px){.branch-explanation{padding:15px;gap:10px;flex-wrap:wrap}.branch-explanation>div{flex-basis:calc(100% - 50px)}.branch-explanation>.pill{margin-left:47px}.branch-explanation p{font-size:10px}.branch-explanation strong{font-size:11px}.branch-grid{gap:15px}.branch-card{padding:18px}.branch-editor-dialog{width:calc(100vw - 22px)}.branch-step{padding:14px}.branch-step-heading{gap:8px}.branch-step-photos .attachment-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.branch-days{gap:5px}.branch-day{min-width:69px;padding:8px 10px;font-size:10px}.branch-day>span{font-size:8px}.branch-day-heading h3{font-size:12px}.branch-day-heading p{font-size:9px}.branch-history-text{max-width:280px}}
@media(max-width:430px){.branch-step-heading{flex-wrap:wrap}.branch-step-heading>strong{flex-basis:calc(100% - 38px)}.branch-step-heading>.icon-button{order:1}.branch-step-heading>label{order:2;width:100%;justify-content:space-between}.branch-step-heading input[type=time]{width:130px}.branch-step-photos .attachment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.branch-card-actions{gap:6px}.branch-card-actions .button{font-size:10px}.branch-stats span{font-size:9px}.branch-explanation-icon{width:30px;height:30px}.branch-explanation>div{flex-basis:calc(100% - 43px)}.branch-explanation>.pill{margin-left:40px}}

/* Event completion tasks and the photo-report to trial invitation flow. */
.followup-panel{margin:0 0 24px}.followup-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 21px 21px}.followup-task{border:1px solid #e4d7ee;border-radius:10px;background:#fdfaff;padding:18px;min-width:0}.followup-task-heading{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-bottom:14px}.followup-task-heading>span:last-child{font-size:9px;color:#a68bb5}.followup-task h3{font-size:15px;font-weight:600;color:#735483;margin:0 0 6px;line-height:1.6}.followup-task-title{font-size:11px;color:#8d729e;line-height:1.8}.followup-task-date{font-size:10px;color:#a38aaf;line-height:1.8;margin:6px 0 10px}.followup-task-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:15px;padding-top:14px;border-top:1px solid #eee3f5}.followup-task-actions .button{font-size:10px;padding:9px 12px;min-height:34px}.followup-task-actions .button svg{width:14px;height:14px}.followup-missing{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #eee5f5;padding:13px 21px;background:#fcf9ff;border-radius:0 0 11px 11px}.followup-missing>span{display:flex;align-items:center;gap:7px;font-size:10px;color:#a68bb3;line-height:1.7}.followup-missing>span svg{width:15px;height:15px;flex-shrink:0}.event-state-stack{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.event-state-stack .pill{white-space:nowrap}.event-row-actions{flex-wrap:wrap;max-width:260px;justify-content:flex-end}.event-row-actions>.button{font-size:9px;padding:7px 9px;min-height:29px}.event-row-actions>.button svg{width:12px;height:12px}.event-time-fields{margin-top:19px}.event-duration-chips{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:-4px 0 9px}.event-duration-chips>span{font-size:10px;color:#a087ae}.event-time-hint{margin:0 0 19px;max-width:580px}.event-cancel-option{margin:16px 0 18px;font-size:10px}.report-editor-dialog{width:min(820px,calc(100vw - 32px))}.report-editor-dialog textarea{font-size:12px;line-height:1.9}.report-editor-dialog .dialog-footer{gap:9px;flex-wrap:wrap}.report-editor-dialog .dialog-footer .button{font-size:11px}.report-editor-dialog .attachment-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.report-attendance-box{padding:15px;border:1px solid #e7daef;border-radius:9px;margin:0 0 17px;background:#fcf9ff}.report-attendance-box .section-label{margin:0 0 6px}.report-attendance-list{max-height:260px;overflow:auto;margin:5px 0 11px}.report-attendance-list .recipient-option{padding:11px 2px}.report-attendance-list small{display:block;color:#8aaf9a;font-size:9px;line-height:1.8;margin-top:2px}.report-chain-note{display:flex;align-items:flex-start;gap:10px;border-top:1px solid #eee2f5;margin-top:20px;padding-top:17px}.report-chain-note>svg{width:20px;height:20px;color:#aa88c0;flex-shrink:0;margin-top:1px}.report-chain-note strong{display:block;font-size:11px;font-weight:600;color:#8e6ba2;line-height:1.7}.report-chain-note p{font-size:10px;line-height:1.9;color:#a58bb4;margin:5px 0 13px}.report-preview-step{display:grid;grid-template-columns:27px minmax(0,1fr);gap:12px;margin:0 0 24px}.report-step-number{display:grid;place-items:center;width:25px;height:25px;background:#ede1fa;color:#9270ab;border:1px solid #decaef;border-radius:50%;font-size:11px;font-weight:600;margin-top:1px}.report-preview-step h3{font-size:12px;font-weight:600;color:#7b5c90;margin:3px 0 14px;line-height:1.6}.report-preview-step .preview-message{margin-bottom:10px}.report-preview-step .media-gallery{margin-top:2px;margin-bottom:12px}.report-preview-keyboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0}.report-preview-keyboard>span{display:flex;align-items:center;justify-content:center;text-align:center;border:1px solid #dbc8eb;background:#f7f0fc;border-radius:7px;color:#8b65a5;font-size:10px;font-weight:550;line-height:1.8;padding:10px 12px;min-height:37px;overflow-wrap:anywhere}.report-counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin:22px 0}.report-counts>div{display:flex;flex-direction:column;gap:7px;min-width:0}.report-counts strong{font-size:22px;line-height:1.2;font-weight:550;color:#805c96;font-variant-numeric:tabular-nums}.report-counts span{font-size:9px;line-height:1.7;color:#a388b2}.followup-task .report-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:17px 0}.followup-task .report-counts strong{font-size:18px}.report-result-header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.report-sent-text{margin:15px 0}.report-sent-text>summary{color:#9676a8;font-size:11px;cursor:pointer;padding:9px 0}.report-sent-text .preview-message{margin-top:8px}
@media(max-width:1120px){.followup-task-grid{grid-template-columns:1fr}.event-row-actions{min-width:165px}.report-counts{gap:10px}.report-counts span{font-size:9px}}@media(max-width:760px){.followup-panel{margin-bottom:20px}.followup-task-grid{padding:0 17px 17px;gap:12px}.followup-task{padding:15px}.followup-task h3{font-size:14px}.followup-task-heading{margin-bottom:12px}.followup-task-heading>span:last-child{font-size:8px}.followup-missing{padding:12px 17px;flex-wrap:wrap;gap:7px}.report-editor-dialog{width:calc(100vw - 22px)}.report-editor-dialog .attachment-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.report-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 13px;margin:20px 0}.report-preview-step{gap:9px;grid-template-columns:24px minmax(0,1fr);margin-bottom:20px}.report-preview-step h3{font-size:11px}.report-preview-keyboard{grid-template-columns:1fr}.report-preview-keyboard>span{font-size:10px}.report-attendance-box{padding:12px}.report-chain-note{gap:8px}.report-editor-dialog .dialog-footer .button{font-size:10px}.report-editor-dialog .dialog-footer .button[type=submit]{margin-left:auto}}@media(max-width:430px){.report-editor-dialog .attachment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.followup-task-actions{gap:7px}.followup-task-actions .button{font-size:9px}.report-counts span{font-size:8px}.report-preview-step h3{font-size:10px}.report-preview-step{gap:8px;grid-template-columns:22px minmax(0,1fr)}.report-step-number{width:22px;height:22px;font-size:10px}.event-duration-chips{gap:5px}.report-editor-dialog .dialog-footer .button[type=submit]{width:100%;margin-left:0}.report-editor-dialog .dialog-footer .button-secondary{margin-left:auto}}


/* The overview keeps each institution type's workload and totals together. */
.overview-institution-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.overview-institution{min-width:0;padding:20px;border:1px solid #e1daef;border-radius:16px;background:#f0edf8}
.overview-school{border-color:#d8e2ed;background:#edf2f8}
.overview-institution-heading{display:block;margin-bottom:19px}
.overview-institution-title{display:flex;align-items:center;gap:10px;min-width:0}
.overview-institution-title h2{font-size:20px;line-height:1.35;font-weight:650;letter-spacing:-.4px;color:#584578}
.overview-institution-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#e0d7f5;color:#7357b2;flex-shrink:0}
.overview-school .overview-institution-icon{background:#dce8f5;color:#537ca9}
.overview-school .overview-institution-title h2{color:#446588}
.overview-institution-heading>.panel-link{font-size:10px;margin:8px 0 0 40px}
.overview-institution-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:18px}
.overview-institution-metrics .metric{padding:15px 14px 13px;box-shadow:none}
.overview-institution-metrics .metric-top{align-items:flex-start;min-height:30px}
.overview-institution-metrics .metric-label{font-size:10px;line-height:1.5;color:#777085}
.overview-institution-metrics .metric-icon{width:26px;height:26px;border-radius:7px;flex-shrink:0}
.overview-institution-metrics .metric-icon svg{width:14px;height:14px}
.overview-institution-metrics .metric-value{font-size:27px;margin:7px 0 6px}
.overview-institution-metrics .metric-caption{font-size:9px;line-height:1.55}
.overview-institution>.panel{margin-bottom:17px;box-shadow:none}
.overview-institution>.panel:last-child{margin-bottom:0}
.overview-institution .panel-heading{padding:17px 16px 14px;align-items:flex-start}
.overview-institution .panel-heading h3{font-size:13px;line-height:1.5;font-weight:650;letter-spacing:-.2px;color:#625070}
.overview-institution .panel-heading p{font-size:9px;line-height:1.65;margin-top:4px}
.overview-institution .panel-heading .button{min-height:30px;padding:7px 9px;font-size:9px;gap:5px;flex-shrink:0}
.overview-institution .panel-heading .button svg{width:13px;height:13px}
.overview-institution .empty-inline{font-size:10px;line-height:1.8;padding:0 16px 17px;color:#9584a1}
.overview-institution .followup-task-grid{grid-template-columns:1fr;padding:0 13px 13px;gap:12px}
.overview-institution .followup-task{padding:13px}
.overview-institution .followup-task h3{font-size:13px}
.overview-institution .followup-missing{padding:12px 14px;flex-wrap:wrap}
.overview-institution .followup-task-actions{flex-wrap:wrap}
.overview-event-list{padding:0 15px 5px}
.overview-event{display:flex;align-items:center;gap:10px;width:100%;padding:14px 0;border:0;border-top:1px solid #eeeaf4;background:transparent;text-align:left;color:inherit}
.overview-event:first-child{border-top:0}
.overview-event:hover{background:#faf8ff}
.overview-event>.date-box{flex-shrink:0;width:39px;height:47px}
.overview-event-content{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.overview-event-content>strong{font-size:11px;line-height:1.65;font-weight:550;color:#715781;overflow-wrap:anywhere}
.overview-event-content>span{font-size:9px;line-height:1.6;color:#94809f}
.overview-event-count{display:flex;flex-direction:column;align-items:center;gap:10px;flex-shrink:0}
.overview-event-count>svg{width:13px;height:13px;color:#ae9ab9}
.overview-institution .mini-list{padding:0 15px 3px}
.overview-institution .mini-lead{gap:8px;padding:13px 0}
.overview-institution .mini-lead strong{font-size:10px;line-height:1.6}
.overview-institution .mini-lead p{font-size:9px;line-height:1.7;overflow-wrap:anywhere}
.overview-institution .mini-lead time{font-size:8px;white-space:nowrap}
.overview-institution .mini-avatar{width:27px;height:29px;font-size:9px}
@media(max-width:1120px){.overview-institution-grid{gap:16px}.overview-institution{padding:15px}.overview-institution-title h2{font-size:18px}.overview-institution-metrics .metric{padding:13px 11px}.overview-institution .panel-heading{padding:15px 13px 12px}.overview-institution .panel-heading>.panel-link{font-size:9px}.overview-institution-title{gap:8px}.overview-institution-heading{gap:9px}.overview-institution-icon{width:32px;height:34px}.overview-institution-icon svg{width:18px;height:18px}}

@media(max-width:760px){.overview-institution-grid{gap:16px}.overview-institution{padding:15px}.overview-institution-title h2{font-size:18px}.overview-institution-heading{margin-bottom:16px}.overview-institution-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-institution .panel-heading h3{font-size:13px}}
@media(max-width:640px){.overview-institution-grid{grid-template-columns:1fr;gap:23px}.overview-institution{padding:17px}.overview-institution-title h2{font-size:20px}}


/* A missed photo deadline stays unmistakable until photo delivery is confirmed. */
.followup-deadline{display:flex;align-items:flex-start;gap:7px;padding:10px 11px;margin:12px 0;background:#fff6df;border:1px solid #efdfaf;border-radius:7px;font-size:11px;line-height:1.7;color:#8e6716;font-weight:600}
.followup-deadline svg{width:14px;height:14px;flex-shrink:0;margin-top:3px}
.overview-institution .followup-panel-overdue,.followup-panel-overdue{border:2px solid #f01b31;background:#fff0f2;box-shadow:0 0 0 4px #ed16351a}
.overview-institution .followup-panel-overdue .panel-heading h3{color:#c40a20;font-size:14px}
.overview-institution .followup-panel-overdue .panel-heading p{color:#b02030;font-weight:600}
.followup-overdue-badge{background:#d70d26;color:white;border:1px solid #c40a20;font-weight:750;white-space:nowrap}
.overview-institution .followup-task-overdue,.followup-task-overdue{background:#d91128;border:2px solid #c0001a;box-shadow:0 3px 12px #c6092633;color:white}
.overview-institution .followup-task-overdue h3,.followup-task-overdue h3{color:white;font-weight:750;font-size:16px}
.followup-task-overdue .followup-task-title,.followup-task-overdue .followup-task-date,.followup-task-overdue .followup-task-heading>span:last-child{color:#fff1f3}
.followup-task-overdue .followup-task-title{font-weight:600}
.followup-overdue-status{background:white;color:#b20019;border:1px solid white;font-weight:800;letter-spacing:.3px}
.followup-overdue-alert{padding:13px 0 5px;margin:12px 0 9px;border-top:1px solid #ff9fae}
.followup-overdue-alert>strong{display:block;color:white;font-size:16px;line-height:1.5;letter-spacing:.2px;font-weight:800}
.followup-overdue-alert>p{font-size:13px;line-height:1.7;color:white;margin-top:7px;font-weight:650}
.followup-overdue-alert>span{display:block;font-size:10px;line-height:1.8;color:#ffe0e6;margin-top:7px}
.followup-overdue-alert>.followup-overdue-instruction{font-size:12px;line-height:1.8;margin-top:12px;padding:10px 11px;border-radius:7px;background:#aa0019;color:white}
.followup-task-overdue .followup-task-actions{border-top:1px solid #ff9fae;padding-top:13px}
.followup-task-overdue .followup-task-actions>.button:not(.button-quiet){background:white;color:#b10019;border-color:white;font-weight:750;width:100%;justify-content:center}
.followup-task-overdue .followup-task-actions>.button:not(.button-quiet):hover{background:#fff0f3;color:#970014}
.followup-task-overdue .followup-task-actions>.button-quiet{color:white}
.followup-task-overdue .report-counts strong,.followup-task-overdue .report-counts span{color:white}
@media(max-width:1120px){.followup-panel-overdue>.panel-heading{flex-wrap:wrap}.followup-overdue-alert>strong{font-size:14px}.followup-overdue-alert>p{font-size:12px}}
