:root{color-scheme:light;--purple:#402052;--purple-deep:#281137;--purple-soft:#f0eaf5;--gold:#d8b355;--gold-soft:#f8f0dc;--text:#252033;--muted:#686575;--line:#e5e3eb;--surface:#fff;--canvas:#f5f5f9;--blue:#2563b6;--blue-bg:#eaf1fc;--green:#16704d;--green-bg:#e8f5ee;--red:#ad3b3b;--red-bg:#fdeeee;--amber:#88620b;--amber-bg:#fff5d8;--radius:13px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.45}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--text)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a37ac5;outline-offset:3px}button{border:1px solid var(--line);background:white;color:var(--text);border-radius:8px;padding:9px 13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}button:hover{background:#f7f5fa;border-color:#c8bed2}button.primary{background:var(--purple);border-color:var(--purple);color:white}button.primary:hover{background:var(--purple-deep)}button.gold{background:var(--gold);border-color:var(--gold);color:#30200b}button.danger{color:var(--red);border-color:#ebcccc}button.plain{border:0;background:none;color:var(--purple);padding:5px}button.icon-button{padding:7px;min-width:33px}svg.icon{width:18px;height:18px;stroke:currentColor;stroke-width:1.7;fill:none;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:27px;letter-spacing:-.7px;font-weight:700;line-height:1.25}h2{font-size:18px;letter-spacing:-.25px}h3{font-size:15px;font-weight:650}small,.muted{color:var(--muted)}.skip{position:absolute;top:-60px;left:20px;background:white;padding:12px;z-index:100}.skip:focus{top:10px}.app-header{min-height:76px;background:var(--purple-deep);color:white;display:flex;align-items:center;padding:0 27px;gap:30px}.brand{display:flex;align-items:center;gap:9px;flex-shrink:0}.brand img{width:43px;height:43px;border-radius:10px;object-fit:cover}.brand span{font-size:18px;line-height:1.2}.brand strong{font-weight:400;color:#eddbab}.brand small{display:block;font-size:10px;color:#dccbe6;margin-top:3px;letter-spacing:.4px}.app-header nav{display:flex;align-items:stretch;gap:3px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}.app-header nav a{display:flex;align-items:center;gap:7px;padding:13px 10px;border-radius:8px;white-space:nowrap;font-size:12px;color:#e1d8e8;font-weight:550}.app-header nav a:hover{background:#ffffff12}.app-header nav a.active{background:#ffffff17;color:white}.workspace{display:flex;align-items:center;gap:9px;font-size:12px}.workspace small{display:block;color:#dccbe6;font-size:10px}.avatar{width:30px;height:30px;border-radius:50%;background:var(--purple-soft);color:var(--purple);display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex-shrink:0}.demo-note{background:#fffdf7;border-bottom:1px solid #ece5d1;padding:7px 28px;display:flex;align-items:center;gap:9px;font-size:11px;color:#6c5929}.demo-note button{margin-left:auto;border:0;background:none;padding:2px;color:#6c5929;font-size:11px;text-decoration:underline}.status-dot{width:6px;height:6px;border-radius:50%;background:#ac852d}.demo-note strong{font-weight:600}main{max-width:1920px;margin:0 auto;padding:28px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.page-heading p{color:var(--muted);font-size:13px;margin-top:5px}.actions,.inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.toolbar{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:13px 16px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:21px}.toolbar label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600}.toolbar select{min-width:180px}.toolbar .search{margin-left:auto;width:245px}.toolbar-summary{display:flex;align-items:center;gap:13px;padding-left:16px;border-left:1px solid var(--line);font-size:12px}.toolbar-summary b{font-size:14px;font-variant-numeric:tabular-nums}.toolbar-summary span{color:var(--muted)}input,select,textarea{width:100%;border:1px solid #d6d2df;border-radius:7px;padding:9px 11px;background:white;color:var(--text);min-width:0}input::placeholder,textarea::placeholder{color:#797482}select{padding-right:27px}textarea{resize:vertical;min-height:90px}input[type=checkbox]{width:17px;height:17px;accent-color:var(--purple)}.segmented{display:inline-flex;border:1px solid var(--line);border-radius:8px;padding:3px;background:white;gap:3px}.segmented button{border:0;padding:6px 10px;font-size:12px;color:var(--muted)}.segmented button.selected{background:var(--purple-soft);color:var(--purple)}.board-layout{display:grid;grid-template-columns:minmax(0,1fr) 252px;gap:20px;align-items:start}.board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(230px,1fr);gap:14px;overflow-x:auto;padding-bottom:18px;min-height:480px;scrollbar-color:#c6bacf transparent;scrollbar-width:thin}.stage{min-width:0;background:#eeedf4;border-radius:12px;padding:10px;min-height:450px}.stage.drag-over{outline:2px dashed var(--purple);background:#e9dff0}.stage-head{padding:5px 3px 13px;display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.stage-head h2{font-size:13px;display:flex;align-items:center;gap:7px}.stage-head h2 span{font-size:10px;background:white;color:var(--muted);border-radius:4px;padding:1px 5px}.stage-head p{margin-top:5px;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.stage-head button{color:var(--muted);background:none;border:0;padding:0 4px}.deal-card{position:relative;border:1px solid var(--line);background:white;border-radius:10px;padding:15px;margin-bottom:10px;cursor:pointer;transition:box-shadow .15s,transform .15s}.deal-card:hover{box-shadow:0 5px 14px #27143512;transform:translateY(-2px)}.deal-card h3{font-size:13px;padding-right:18px;line-height:1.4}.deal-card .organization{font-size:11px;color:var(--muted);margin-top:4px;min-height:16px}.deal-card .value{font-size:18px;letter-spacing:-.4px;font-weight:650;margin:13px 0 10px;font-variant-numeric:tabular-nums}.deal-card .tag{margin-bottom:13px}.deal-card footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0edf4;padding-top:10px;margin-top:4px;font-size:10px;color:var(--muted);gap:5px}.deal-card footer .avatar{width:25px;height:25px;font-size:9px}.tag{display:inline-flex;align-items:center;gap:5px;font-size:10px;border-radius:5px;padding:3px 7px;background:var(--purple-soft);color:var(--purple);font-weight:600;white-space:nowrap}.tag.blue{background:var(--blue-bg);color:var(--blue)}.tag.green{background:var(--green-bg);color:var(--green)}.tag.red{background:var(--red-bg);color:var(--red)}.tag.amber{background:var(--amber-bg);color:var(--amber)}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:20px;min-width:0}.panel-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:18px}.panel-head h2{font-size:14px}.panel-head small{font-size:11px}.agenda h2{font-size:14px}.agenda .subtitle{font-size:11px;color:var(--muted);margin-top:5px;margin-bottom:20px}.agenda-item{padding:12px 0;border-bottom:1px solid var(--line);display:flex;gap:10px;align-items:flex-start}.agenda-item:last-of-type{border-bottom:0}.agenda-item .icon{margin-top:2px;width:16px;height:16px;color:var(--purple)}.agenda-item strong{display:block;font-size:12px;font-weight:600}.agenda-item small{display:block;font-size:10px;margin-top:4px}.agenda-item button{margin-left:auto;border:0;background:var(--green-bg);color:var(--green);padding:5px}.agenda-bottom{margin-top:20px;border-top:1px solid var(--line);padding-top:15px;display:flex;justify-content:space-between;font-size:11px}.empty{padding:30px 15px;text-align:center;color:var(--muted);font-size:13px}.empty strong{display:block;color:var(--text);margin-bottom:5px}.stage .empty{padding:30px 8px;font-size:11px}.empty button{margin-top:13px}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:var(--radius)}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;white-space:nowrap}th{font-size:11px;color:var(--muted);font-weight:600;padding:13px 17px;border-bottom:1px solid var(--line);background:#fbfafd}td{padding:15px 17px;border-bottom:1px solid #f0edf4}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfbfe}td strong{font-weight:600}td small{display:block;font-size:10px;margin-top:3px}td.number,th.number{text-align:right;font-variant-numeric:tabular-nums}.clickable{cursor:pointer}.report-tabs{display:flex;gap:24px;margin-bottom:24px;border-bottom:1px solid var(--line)}.report-tabs button{border:0;background:none;border-radius:0;padding:10px 2px 13px;color:var(--muted)}.report-tabs button.selected{color:var(--purple);box-shadow:inset 0 -2px var(--purple)}.stats-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 20px}.stat{border:1px solid var(--line);border-radius:var(--radius);padding:19px;background:white;min-width:0}.stat .stat-label{font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:8px}.stat .stat-value{font-size:29px;font-weight:650;letter-spacing:-1px;margin:9px 0 4px;font-variant-numeric:tabular-nums}.stat small{font-size:10px}.stat.blue .stat-value{color:var(--blue)}.stat.green .stat-value{color:var(--green)}.stat.red .stat-value{color:var(--red)}.stat.amber .stat-value{color:var(--amber)}.two-column{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;margin-bottom:20px}.three-column{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.bar-row{display:grid;grid-template-columns:140px minmax(20px,1fr) 75px;align-items:center;gap:13px;margin-bottom:17px;font-size:12px}.bar-track{height:12px;background:#f0edf5;border-radius:3px;overflow:hidden}.bar-fill{height:100%;background:var(--purple);border-radius:3px;min-width:0}.bar-row .bar-value{text-align:right;font-variant-numeric:tabular-nums;font-size:11px}.bar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-table td:not(:first-child),.activity-table th:not(:first-child){text-align:center}.data-dot{display:inline-flex;align-items:center;justify-content:center;min-width:35px;background:var(--blue-bg);color:var(--blue);font-weight:650;border-radius:5px;padding:3px 9px}.data-dot.green{background:var(--green-bg);color:var(--green)}.data-dot.red{background:var(--red-bg);color:var(--red)}.data-dot.amber{background:var(--amber-bg);color:var(--amber)}.progress{height:8px;background:#eee9f4;border-radius:6px;overflow:hidden;margin-top:14px}.progress span{display:block;height:100%;background:var(--purple);max-width:100%}.goal-value{font-size:25px;font-weight:650;margin-top:15px}.goal-detail{font-size:11px;color:var(--muted);margin-top:8px}.help-text{font-size:11px;color:var(--muted);margin:12px 0;line-height:1.6}.calendar{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.calendar-head{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:#faf8fc}.calendar-head span{padding:12px;text-align:center;font-size:11px;color:var(--muted);font-weight:650}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-day{min-height:132px;padding:9px;border-top:1px solid var(--line);border-right:1px solid var(--line);cursor:pointer;overflow:hidden}.calendar-day:nth-child(7n){border-right:0}.calendar-day:hover{background:#fdfbff}.calendar-day.outside{background:#f9f9fb;color:#98929f}.calendar-day.today .day-number{background:var(--purple);color:white}.day-number{display:flex;align-items:center;justify-content:center;width:25px;height:25px;font-size:12px;border-radius:50%;margin-bottom:5px}.calendar-event{background:var(--purple-soft);color:var(--purple);padding:5px 6px;font-size:10px;border-radius:4px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-event.done{background:var(--green-bg);color:var(--green)}.settings-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:20px}.pipeline-setting{padding:17px 0;border-top:1px solid var(--line)}.pipeline-setting:first-child{border-top:0}.pipeline-setting h3{margin-bottom:10px;display:flex;align-items:center;gap:9px}.stage-chip{display:inline-flex;align-items:center;gap:9px;background:#f5f2f8;padding:7px 10px;border-radius:6px;font-size:11px;margin:3px 5px 3px 0}.stage-chip button{padding:0;border:0;background:none;font-size:12px;color:var(--muted)}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:14px 0}.setting-row:first-of-type{border-top:0}.setting-row p{font-size:12px;margin-top:4px;color:var(--muted)}.hint{background:var(--gold-soft);border-radius:9px;padding:14px 16px;font-size:12px;color:#6d531a;margin-bottom:20px}.hint strong{display:block;margin-bottom:4px}.journey{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:15px}.journey-step{background:#f7f4fa;border-radius:8px;padding:14px;font-size:12px}.journey-step small{display:block;font-size:10px;margin-bottom:4px}.journey-arrow{color:#978ca2}.journey-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:15px;margin-top:20px;font-size:11px;color:var(--muted)}.cards-list{display:grid;gap:16px}.integration{display:grid;grid-template-columns:32px 1fr;gap:12px;padding:17px 0;border-top:1px solid var(--line)}.integration p{font-size:12px;color:var(--muted);margin-top:6px}.integration svg{margin-top:2px}.toolbar .grow{flex:1}.report-note{font-size:11px;color:var(--muted);padding:0 2px 18px;max-width:1000px}dialog{border:1px solid var(--line);border-radius:16px;max-width:620px;width:calc(100% - 32px);padding:0;box-shadow:0 18px 65px #1e0a3e30;max-height:90vh}dialog::backdrop{background:#190d2a66;backdrop-filter:blur(2px)}.dialog-header{padding:22px 24px 17px;display:flex;justify-content:space-between;gap:16px;align-items:center;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:20px}.dialog-content{padding:22px 24px;max-height:68vh;overflow-y:auto}.dialog-footer{padding:17px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px;background:#fcfbfe}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:block;font-size:12px;font-weight:600}.field>span{display:block;margin-bottom:7px}.field.wide{grid-column:1/-1}.field small{display:block;font-size:10px;margin-top:6px;font-weight:400}.form-error{color:var(--red);background:var(--red-bg);padding:10px 12px;border-radius:7px;font-size:12px;margin-top:15px}.form-error:empty{display:none}.detail-dialog{max-width:650px;margin:0 0 0 auto;height:100vh;max-height:100vh;border-radius:16px 0 0 16px;width:min(650px,100%);border-top:0;border-right:0;border-bottom:0}.detail-dialog .dialog-content{max-height:calc(100vh - 92px);padding-bottom:40px}.detail-title{font-size:25px!important}.detail-money{font-size:33px;font-weight:650;letter-spacing:-1px;margin:18px 0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;background:#f7f5fa;padding:17px;border-radius:10px;margin:20px 0}.detail-grid dt{font-size:11px;color:var(--muted)}.detail-grid dd{margin:4px 0 0;font-size:13px}.stage-progress{display:flex;gap:5px;margin:20px 0}.stage-progress span{height:5px;background:#e8e1ee;flex:1;border-radius:3px}.stage-progress span.passed{background:var(--purple)}.detail-section{margin-top:27px}.detail-section h3{margin-bottom:13px}.timeline-item{padding:11px 0 11px 15px;border-left:1px solid var(--line);margin-left:6px;position:relative;font-size:12px}.timeline-item:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--purple);position:absolute;left:-4px;top:15px}.timeline-item small{display:block;font-size:10px;margin-top:4px}.detail-actions{display:flex;gap:8px;flex-wrap:wrap}.detail-actions button{font-size:12px}.empty-illustration{width:40px;height:40px;color:var(--purple);margin:0 auto 10px}.notice-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.notice-grid h3{margin-bottom:7px}.notice-grid p{font-size:12px;color:var(--muted);line-height:1.7}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%) translateY(20px);background:var(--purple-deep);color:white;padding:12px 20px;border-radius:9px;font-size:13px;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;z-index:99;max-width:calc(100vw - 30px)}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.import-summary{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.chart-svg{width:100%;height:170px}.chart-caption{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.week-list{display:grid;gap:8px}.week-list div{display:flex;justify-content:space-between;font-size:12px;padding:8px 0;border-bottom:1px solid var(--line)}
@media(min-width:1650px){.board-layout{grid-template-columns:minmax(0,1fr) 285px}.deal-card{padding:18px}.stage{padding:12px}}@media(max-width:1250px){.app-header{gap:18px;padding:0 20px}.workspace{display:none}.app-header nav a{font-size:11px;padding:12px 8px}.board-layout{grid-template-columns:minmax(0,1fr) 230px}.toolbar .search{width:210px}.toolbar-summary{gap:9px;padding-left:10px}.stats-row{gap:12px}.stat .stat-value{font-size:25px}}@media(max-width:1000px){.app-header{flex-wrap:wrap;gap:9px;padding-top:13px;padding-bottom:10px}.app-header nav{width:100%;flex-basis:100%}.brand img{width:35px;height:35px}.brand span{font-size:16px}.brand small{display:none}main{padding:23px 18px}.board-layout{grid-template-columns:minmax(0,1fr)}.agenda{display:none}.toolbar-summary{border:0;padding-left:0}.toolbar .search{flex:1;min-width:160px}.two-column,.settings-grid{grid-template-columns:1fr}.stats-row{grid-template-columns:repeat(2,1fr)}.calendar-day{min-height:100px}.three-column{grid-template-columns:1fr 1fr}.demo-note{padding-left:20px;padding-right:20px}}
@media(max-width:600px){.app-header{padding:12px 15px 6px}.app-header nav{gap:2px}.app-header nav a{font-size:11px;padding:10px 9px}.app-header nav .icon{width:15px}.demo-note{padding:8px 15px;flex-wrap:wrap;gap:5px 7px;font-size:10px}.demo-note>span:not(.status-dot){display:none}.demo-note button{font-size:10px}.page-heading{align-items:flex-start;margin-bottom:18px}.page-heading h1{font-size:23px}.page-heading p{font-size:11px;max-width:220px}.page-heading>.actions{justify-content:flex-end}.page-heading button{font-size:11px;padding:9px}.page-heading .secondary-label{display:none}main{padding:22px 13px}.toolbar{gap:11px;padding:12px}.toolbar label{flex:1;min-width:0;font-size:11px;flex-wrap:wrap}.toolbar select{min-width:0;width:100%;font-size:12px}.toolbar .search{width:100%;min-width:100%;order:3}.toolbar-summary{width:100%;border-top:1px solid var(--line);padding-top:10px;order:4;justify-content:space-between}.toolbar-summary b{font-size:13px}.toolbar .segmented{margin-left:auto}.board{grid-auto-columns:minmax(245px,82vw);gap:11px;scroll-snap-type:x proximity}.stage{scroll-snap-align:start}.stats-row{gap:10px}.stat{padding:14px}.stat .stat-label{font-size:11px}.stat .stat-value{font-size:24px}.stat small{font-size:9px}.report-tabs{gap:20px}.report-tabs button{font-size:12px}.panel{padding:16px}.bar-row{grid-template-columns:90px minmax(20px,1fr) 65px;gap:9px;font-size:11px}.three-column{grid-template-columns:1fr}.calendar-head span{padding:8px 1px;font-size:10px}.calendar-day{min-height:92px;padding:4px}.calendar-event{font-size:9px;padding:4px 3px}.day-number{font-size:11px;width:23px;height:23px}.form-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.dialog-header{padding:18px}.dialog-content{padding:18px}.dialog-footer{padding:14px 18px}.dialog-header h2{font-size:18px}.detail-title{font-size:22px!important}.detail-grid{gap:14px}.notice-grid{grid-template-columns:1fr}.toolbar .grow{display:none}.hint{font-size:11px}.report-note{font-size:10px}td,th{padding:12px}.workspace{display:none}.page-heading .actions .plain{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.compact-agenda{display:none}
@media(max-width:1000px){.compact-agenda{display:flex;gap:10px;align-items:center;background:white;border:1px solid var(--line);padding:12px 14px;border-radius:10px;margin-bottom:17px;color:var(--purple)}.compact-agenda span{flex:1;min-width:0}.compact-agenda strong{display:block;font-size:12px}.compact-agenda small{display:block;font-size:11px;margin-top:3px;color:var(--muted)}}
@media(max-width:600px){.reports-toolbar>label{flex:1 1 100%;width:100%;display:block}.reports-toolbar>label select{margin-top:7px;font-size:13px}.reports-toolbar>button{width:100%;margin-top:3px}.page-heading>div:first-child{min-width:0}.page-heading>.actions{flex-shrink:0}.page-heading button{padding:9px 10px;font-size:10px}.page-heading h1{font-size:22px}.compact-agenda small{font-size:10px}}

/* Opportunity cards: compact body, explicit status and independent quick actions. */
.compact-card{padding:0;margin-bottom:9px;transition:box-shadow .15s;overflow:visible}
.compact-card:hover{transform:none;box-shadow:0 4px 12px #27143512}
.deal-open{position:relative;display:block;text-align:left;width:100%;padding:13px 40px 11px 13px;border:0;border-radius:10px;background:white;font-weight:400;white-space:normal;min-height:143px}
.deal-open:hover{background:#fdfbff;border-color:transparent}
.compact-card .deal-open h3{font-size:12px;line-height:1.35;padding-right:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;margin-top:18px}
.compact-card .organization{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px;min-height:14px}
.compact-card .value{font-size:17px;margin:9px 0 8px;line-height:1.2}
.card-status{position:absolute;top:11px;left:13px;display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:600;color:#246449;line-height:1.2}
.opportunity-dot{width:7px;height:7px;border-radius:50%;background:#17865b;box-shadow:0 0 0 2px #eaf5ed}
.card-status.won{color:var(--purple)}.card-status.won .opportunity-dot{background:var(--purple);box-shadow:0 0 0 2px var(--purple-soft)}
.card-status.lost{color:var(--red)}.card-status.lost .opportunity-dot{background:var(--red);box-shadow:0 0 0 2px var(--red-bg)}
.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:10px;color:var(--muted)}
.card-date{display:inline-flex;align-items:center;gap:5px;min-height:20px}.card-date .icon{width:12px;height:12px}.card-date.late{color:var(--red)}
.card-owner{font-size:9px;background:var(--purple-soft);color:var(--purple);padding:2px 5px;border-radius:4px;font-weight:600}
.card-quick{position:absolute;right:8px;top:47px;z-index:2}
.card-quick[open]{z-index:10}
.card-quick summary{list-style:none;display:flex;align-items:center;justify-content:center;width:27px;height:27px;cursor:pointer;border-radius:50%;background:var(--purple-soft);color:var(--purple);border:1px solid #e0d4e9}
.card-quick summary::-webkit-details-marker{display:none}.card-quick summary:hover,.card-quick[open] summary{background:var(--purple);color:white}.card-quick summary:focus-visible{outline:3px solid #a37ac5;outline-offset:3px}.card-quick summary .icon{width:16px;height:16px}
.quick-options{position:absolute;right:0;top:33px;width:230px;background:white;border:1px solid var(--line);border-radius:10px;padding:7px;box-shadow:0 8px 24px #25113d20;text-align:left}
.quick-options>strong{display:block;font-size:10px;color:var(--muted);font-weight:600;padding:7px 8px 9px}
.quick-options>button{display:flex;justify-content:flex-start;width:100%;background:white;border:0;padding:9px 8px;border-radius:5px;font-size:11px;font-weight:500;color:var(--text)}
.quick-options>button:hover{background:var(--purple-soft)}.quick-options .icon{width:15px;height:15px}
@media(max-width:600px){.deal-open{min-height:142px}.card-quick summary{width:32px;height:32px}.card-quick{right:8px;top:43px}.quick-options{top:37px;width:220px}}

/* Stage-related progress labels; outcome dot remains an independent status. */
.progress-badge{display:table;font-size:10px;line-height:1.4;padding:3px 7px;border-radius:5px;font-weight:600;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 9px}
.progress-badge.violet{background:#ece5fc;color:#58309a}.progress-badge.blue{background:#e4eefc;color:#205697}.progress-badge.plum{background:#f0e2f8;color:#75318e}.progress-badge.gold{background:#fcf0d3;color:#80500a}
.compact-card.tone-violet{border-color:#d8c7ee}.compact-card.tone-blue{border-color:#c5d7f0}.compact-card.tone-plum{border-color:#dfc9eb}.compact-card.tone-gold{border-color:#e9d6ac}
.compact-card .deal-open{min-height:166px}
.compact-card .value{margin-bottom:7px}

/* Visual automation editor: action library and connected sequential workflow. */
.automation-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:20px;align-items:start}
.flow-library{background:white;border:1px solid var(--line);border-radius:13px;padding:17px}
.flow-library-heading h2{font-size:14px}.flow-library-heading p{font-size:11px;color:var(--muted);margin-top:5px}
.flow-palette{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:17px}
.flow-tile{flex-direction:column;gap:7px;padding:14px 4px 11px;min-height:98px;background:white;border:1px solid var(--line);font-size:10px;border-radius:10px;white-space:normal;font-weight:600}
.flow-tile:hover{background:var(--flow-soft);border-color:var(--flow-color)}
.flow-tile>.flow-icon{width:27px;height:27px;color:var(--flow-color)}
.flow-tile small{font-size:8px;font-weight:400;color:var(--muted)}
.flow-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}
.flow-mint{--flow-color:#14735d;--flow-soft:#d9f4e9;--flow-band:#bbebd9}
.flow-gold{--flow-color:#8b6114;--flow-soft:#fff5dd;--flow-band:#f7dfa5}
.flow-blue{--flow-color:#2d609d;--flow-soft:#eaf1fc;--flow-band:#ccdef8}
.flow-green{--flow-color:#217246;--flow-soft:#e4f4e8;--flow-band:#c1e7cd}
.flow-violet{--flow-color:#7043a1;--flow-soft:#f1eafa;--flow-band:#e0cef2}
.flow-cyan{--flow-color:#226d87;--flow-soft:#e4f3fa;--flow-band:#c4e6f4}
.flow-rose{--flow-color:#98485c;--flow-soft:#fceaf0;--flow-band:#f2ceda}
.flow-slate{--flow-color:#5c6178;--flow-soft:#edf0f8;--flow-band:#d8deed}
.flow-plum{--flow-color:#7b4587;--flow-soft:#f6eafa;--flow-band:#e7cfee}
.flow-sage{--flow-color:#4e7059;--flow-soft:#edf5ee;--flow-band:#d0e3d4}
.flow-library-note{font-size:10px;color:var(--muted);line-height:1.6;margin-top:17px;padding-top:14px;border-top:1px solid var(--line)}
.flow-workspace{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:white;min-width:0}
.flow-canvas-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;gap:12px;border-bottom:1px solid var(--line);min-height:79px}
.flow-canvas-heading h2{font-size:15px;overflow-wrap:anywhere}.flow-canvas-heading p{font-size:10px;color:var(--muted);margin-top:4px}
.flow-canvas{height:610px;overflow:auto;background:#f0f1f7;position:relative}
.flow-stack{padding:35px 45px 36px;width:390px;max-width:100%;margin:auto;display:flex;align-items:center;flex-direction:column}
.flow-node-wrap{position:relative;width:300px;max-width:100%;flex-shrink:0}
.flow-node{background:white;border:1px solid var(--line);border-radius:12px;padding:0 0 16px;display:flex;flex-direction:column;align-items:stretch;text-align:center;width:100%;white-space:normal;gap:0;font-weight:400;box-shadow:0 3px 7px #27143508}
.flow-node:hover{background:white;border-color:var(--flow-color);box-shadow:0 4px 12px #27143512}
.flow-node-band{display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 11px;margin:7px 7px 13px;border-radius:7px;background:var(--flow-band);color:var(--flow-color);font-size:11px;font-weight:650}
.flow-node-band .flow-icon{width:15px;height:15px}.flow-node>strong{font-size:13px;font-weight:600;margin:0 15px;overflow-wrap:anywhere}.flow-node>small{font-size:10px;color:var(--muted);margin:6px 12px 0;line-height:1.5}
.flow-draft-mark{font-size:8px;border-radius:4px;background:white;padding:2px 4px;font-weight:500}
.flow-entry .flow-node-band{background:#b9ead5}.flow-node-icon{font-size:17px;font-weight:700;line-height:1}
.flow-connector{height:57px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#9a8caa}
.flow-connector svg{height:57px;width:30px;fill:none;stroke:currentColor;stroke-width:2}
.flow-node-tools{display:flex;flex-direction:column;position:absolute;right:-35px;top:12px;gap:4px}
.flow-node-tools button{width:26px;height:25px;padding:0;font-size:12px;background:white;border-color:#ded8e6;color:#796c89;border-radius:5px}
.flow-node-tools button:hover{color:var(--purple);border-color:var(--purple)}
.flow-add-button{background:white;border:1px dashed #ab98ba;color:var(--purple);font-size:11px;border-radius:8px;min-width:210px;padding:10px}
.flow-end{font-size:9px;color:#756b7e;margin-top:14px}
.flow-canvas-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 18px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}
.flow-zoom{display:flex;gap:7px;align-items:center;font-size:10px}.flow-zoom button{padding:4px 8px;font-size:11px}.flow-zoom span{min-width:34px;text-align:center;font-variant-numeric:tabular-nums}
.flow-execution-note{font-size:11px;line-height:1.7;color:var(--muted);padding-top:14px;max-width:950px}
.flow-dialog-kind{display:flex;align-items:center;gap:9px;padding:12px 14px;border-radius:8px;background:var(--flow-soft);color:var(--flow-color);font-size:13px;margin-bottom:22px}.flow-dialog-kind>span{margin-left:auto;font-size:10px}
@media(max-width:900px){.automation-layout{grid-template-columns:185px minmax(0,1fr);gap:13px}.flow-library{padding:12px}.flow-palette{gap:6px}.flow-tile{min-height:90px;font-size:9px}.flow-canvas-heading{padding:15px}.flow-stack{width:360px;padding:30px 35px}.flow-node-tools{right:-30px}}
@media(max-width:650px){.automation-layout{grid-template-columns:1fr}.flow-library{padding:14px}.flow-library-heading{display:flex;gap:10px;align-items:baseline;justify-content:space-between}.flow-library-heading h2{font-size:13px}.flow-library-heading p{font-size:10px;margin:0}.flow-palette{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:88px;overflow-x:auto;margin-top:12px;padding-bottom:6px;gap:8px}.flow-tile{min-height:85px;font-size:10px}.flow-tile>.flow-icon{width:23px;height:23px}.flow-tile small{font-size:8px}.flow-library-note{font-size:10px;margin-top:7px;padding-top:9px}.flow-canvas{height:560px}.flow-stack{width:340px;padding:28px 36px 30px 15px}.flow-node-wrap{width:280px}.flow-node-tools{right:-30px}.flow-canvas-heading{align-items:flex-start;padding:14px;flex-wrap:wrap}.flow-canvas-heading h2{font-size:14px}.flow-canvas-heading .inline{margin-left:auto}.flow-canvas-footer{padding:10px;align-items:flex-start;flex-wrap:wrap}.flow-zoom{margin-left:auto}.flow-execution-note{font-size:10px}.flow-node>strong{font-size:12px}}

.flow-library{min-width:0}@media(max-width:650px){.automation-layout{grid-template-columns:minmax(0,1fr)}.flow-palette{max-width:100%}}

@media(max-width:650px){.automation-toolbar>label{display:block;flex:1 1 100%;width:100%}.automation-toolbar>label select{width:100%;margin-top:7px;font-size:13px}.automation-toolbar>button{flex:1 1 130px;font-size:12px}.automation-toolbar .grow{display:none}}

/* Local real WhatsApp conversations: intentionally distinct from CRM demo data. */
.wa-connection-bar{display:flex;align-items:center;gap:20px;background:white;border:1px solid var(--line);border-radius:13px;padding:15px 18px;margin-bottom:10px;flex-wrap:wrap}
.wa-connection-bar>div{display:flex;align-items:center;gap:13px}.wa-connection-bar strong{display:inline-flex;align-items:center;gap:8px;font-size:13px}.wa-connection-bar>p{font-size:11px;color:var(--muted);flex:1;min-width:220px}.wa-connection-bar>button{font-size:11px}
.wa-state{display:inline-flex;align-items:center;gap:5px;color:#795c17;background:#fff4d8;padding:4px 7px;border-radius:5px;font-size:10px;white-space:nowrap}.wa-state>span{height:6px;width:6px;border-radius:50%;background:currentColor}.wa-state.is-connected{background:var(--green-bg);color:var(--green)}
.wa-local-notice{font-size:11px;color:var(--muted);padding:0 2px 17px;line-height:1.6}
.wa-inbox{display:grid;grid-template-columns:310px minmax(0,1fr);border:1px solid var(--line);border-radius:13px;overflow:hidden;background:white;min-height:560px;height:calc(100vh - 310px);max-height:850px}
.wa-chat-sidebar{border-right:1px solid var(--line);overflow-y:auto;min-width:0;background:#fcfbfe}.wa-sidebar-title{padding:20px 16px;border-bottom:1px solid var(--line)}.wa-sidebar-title h2{font-size:14px}.wa-sidebar-title small{font-size:10px;display:block;margin-top:4px}
.wa-chat-item{display:flex;align-items:center;text-align:left;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:16px 12px;white-space:normal;gap:10px;background:transparent;font-weight:400}
.wa-chat-item.selected{background:var(--purple-soft)}.wa-chat-item>span:nth-child(2){flex:1;min-width:0}.wa-chat-item strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wa-chat-item small{display:block;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px}.wa-chat-item time{font-size:9px;color:var(--muted);align-self:flex-start;white-space:nowrap}
.wa-avatar{width:34px;height:34px;background:var(--purple-soft);color:var(--purple);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-weight:600;font-size:11px}
.wa-chat-panel{min-width:0;display:flex;flex-direction:column;background:#f5f4f9;overflow:hidden}
.wa-welcome{margin:auto;max-width:430px;text-align:center;padding:35px 25px}.wa-welcome-symbol{width:65px;height:65px;background:#e2efe9;color:var(--green);border-radius:18px;display:flex;align-items:center;justify-content:center;margin:0 auto 22px}.wa-welcome-symbol .icon{width:30px;height:30px}.wa-welcome h2{font-size:23px;line-height:1.3}.wa-welcome>p{font-size:13px;color:var(--muted);margin-top:12px;line-height:1.7}.wa-welcome>small{display:block;font-size:10px;line-height:1.7;margin-top:18px}.wa-welcome-points{display:flex;flex-direction:column;gap:11px;text-align:left;max-width:310px;margin:25px auto;font-size:11px;color:var(--muted)}.wa-welcome-points span{display:flex;gap:9px;align-items:center}.wa-welcome-points .icon{width:15px;height:15px;color:var(--green)}
.wa-chat-heading{display:flex;align-items:center;justify-content:space-between;padding:17px 22px;background:white;border-bottom:1px solid var(--line);gap:12px}.wa-chat-heading h2{font-size:15px;overflow-wrap:anywhere}.wa-chat-heading p{font-size:11px;color:var(--muted);margin-top:4px}
.wa-message-list{flex:1;overflow-y:auto;padding:23px;display:flex;flex-direction:column;gap:14px;min-height:100px}.wa-bubble{padding:12px 15px;border-radius:11px;max-width:78%;border:1px solid var(--line);font-size:13px;background:white;align-self:flex-start;overflow-wrap:anywhere}.wa-bubble p{white-space:pre-wrap;line-height:1.6}.wa-bubble small{display:block;font-size:9px;color:var(--muted);margin-top:7px;text-align:right}.wa-bubble.outgoing{background:#e5f2ea;border-color:#cee2d5;align-self:flex-end}.wa-empty-chat{margin:auto;max-width:370px}
.wa-composer{padding:16px 20px;background:white;border-top:1px solid var(--line)}.wa-composer>label{font-size:11px;font-weight:600;display:block;margin-bottom:8px}.wa-composer>div{display:flex;gap:10px;align-items:stretch}.wa-composer textarea{min-height:60px;max-height:130px;resize:vertical;font-size:13px}.wa-composer button{align-self:stretch}.wa-composer>p{font-size:10px;color:var(--muted);margin-top:9px;line-height:1.6}
.wa-pairing-dialog{max-width:820px}.wa-pairing{display:grid;grid-template-columns:1fr 290px;gap:25px}.wa-pairing h3{font-size:20px;margin:17px 0}.wa-pairing ol{padding-left:21px;font-size:12px;line-height:1.7;color:var(--muted)}.wa-pairing li{padding-bottom:10px}.wa-pairing .actions{gap:7px}.wa-pairing .actions button{font-size:11px;padding:9px 10px}
.wa-qr{border:1px solid var(--line);border-radius:12px;background:#fbfafc;min-height:310px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:8px;text-align:center;overflow:hidden}.wa-qr img{width:270px;height:270px;max-width:100%;object-fit:contain}.wa-qr>small{font-size:10px;line-height:1.6;padding:5px}.wa-qr-placeholder{padding:20px;color:var(--muted);font-size:12px}.wa-qr-placeholder .icon{width:42px;height:42px;color:#a99ab4;margin-bottom:18px}.wa-qr-placeholder strong{display:block;font-size:14px;color:var(--text)}.wa-qr-placeholder p{margin-top:10px;line-height:1.6}.wa-qr-success{padding:22px;color:var(--green)}.wa-qr-success .icon{width:45px;height:45px;margin-bottom:15px}.wa-qr-success strong{display:block;font-size:18px}.wa-qr-success p{font-size:13px;margin-top:10px}.wa-qr-success small{display:block;font-size:11px;margin-top:14px;line-height:1.6}
@media(max-width:900px){.wa-inbox{grid-template-columns:240px minmax(0,1fr)}.wa-message-list{padding:15px}.wa-connection-bar{gap:10px}.wa-chat-item time{display:none}.wa-pairing{grid-template-columns:1fr 270px}}
@media(max-width:650px){.wa-inbox{grid-template-columns:1fr;height:auto;max-height:none;min-height:0}.wa-chat-sidebar{border-right:0;border-bottom:1px solid var(--line);max-height:230px}.wa-inbox:has(.has-chat) .wa-chat-sidebar{display:none}.wa-chat-panel{min-height:410px}.wa-chat-panel.has-chat{min-height:520px;max-height:calc(100vh - 210px)}.wa-welcome{padding:27px 18px}.wa-welcome h2{font-size:21px}.wa-connection-bar{padding:13px}.wa-connection-bar>div{flex-wrap:wrap;gap:8px}.wa-connection-bar>p{min-width:0;width:100%;flex-basis:100%;font-size:10px}.wa-connection-bar>button{margin-left:auto}.wa-bubble{max-width:90%;font-size:12px}.wa-chat-heading{padding:14px}.wa-composer{padding:12px}.wa-composer>div{gap:7px}.wa-composer button{font-size:12px;padding:8px}.wa-pairing{grid-template-columns:minmax(0,1fr);gap:15px}.wa-qr{min-height:270px}.wa-pairing h3{font-size:18px}.wa-local-notice{font-size:10px}}

/* Automation index: compact desktop rows, labelled mobile records. */
.automation-list-toolbar label{min-width:180px}.flow-list-search{margin-left:auto;min-width:260px!important}.flow-list-search input{width:100%}.flow-list-panel{overflow:hidden}.flow-list-table{width:100%;border-collapse:collapse;text-align:left}.flow-list-table th{background:var(--canvas);font-size:12px;color:var(--muted);font-weight:600}.flow-list-table th,.flow-list-table td{padding:18px 20px;border-bottom:1px solid var(--line);vertical-align:middle}.flow-list-table td{font-size:13px}.flow-list-table td:first-child{min-width:200px}.flow-list-table td strong{display:block;color:var(--purple);font-size:14px}.flow-list-table td small{display:block;margin-top:6px;color:var(--muted)}.flow-list-table tbody tr:hover{background:var(--purple-soft)}.flow-list-actions{display:flex;gap:6px;flex-wrap:wrap}.flow-list-actions button{font-size:12px;min-height:36px}.flow-list-actions button:last-child{color:var(--red)}
@media(max-width:1100px){.flow-list-table th,.flow-list-table td{padding:14px 10px}.flow-list-table td:first-child{min-width:150px}}
@media(max-width:760px){.automation-list-toolbar label,.flow-list-search{width:100%;min-width:0!important;margin-left:0}.flow-list-table thead{display:none}.flow-list-table,.flow-list-table tbody,.flow-list-table tr,.flow-list-table td{display:block;width:100%}.flow-list-table tr{padding:12px 16px;border-bottom:1px solid var(--line)}.flow-list-table td{padding:7px 0;border:0;overflow-wrap:anywhere}.flow-list-table td:before{content:attr(data-label);display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.flow-list-table td:first-child:before{display:none}.flow-list-actions{gap:10px}}

.flow-list-search{white-space:nowrap}
.flow-list-table td,.flow-list-table th{white-space:normal;overflow-wrap:anywhere}.flow-list-table{table-layout:fixed}.flow-list-table th:first-child{width:23%}.flow-list-table th:last-child{width:22%}.flow-list-panel{overflow-x:auto}.flow-list-search{flex-shrink:0}
@media(max-width:760px){.automation-list-toolbar{display:flex;flex-direction:column;align-items:stretch}.automation-list-toolbar label{flex:none;min-width:0;width:100%;display:flex;flex-direction:column;align-items:stretch;gap:7px}.automation-list-toolbar select,.automation-list-toolbar input{width:100%;min-width:0}.flow-list-table{table-layout:auto}.page-heading .actions [data-action=flow-list]{display:inline-flex}}
.email-notice{font-size:12px;color:var(--muted);margin:0 0 22px;line-height:1.6}.email-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:22px;align-items:start}.email-compose h2{margin-bottom:8px}.email-compose form{margin-top:20px}.email-compose .actions{margin-top:18px;flex-wrap:wrap}.email-compose textarea{min-height:200px;resize:vertical}.email-compose .actions small{font-size:11px}.email-records{display:flex;flex-direction:column}.email-record{border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 4px;text-align:left;white-space:normal;min-width:0}.email-record>span{min-width:0}.email-record>span:last-child{text-align:right;flex-shrink:0}.email-record strong,.email-record small{display:block;overflow-wrap:anywhere}.email-record strong{font-size:14px;line-height:1.4}.email-record small{font-size:11px;line-height:1.5;margin-top:5px;font-weight:400}.email-record.selected{background:var(--purple-soft)}.email-details{margin-top:22px}.email-details pre,.email-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;line-height:1.7;padding:18px;background:var(--canvas);border-radius:8px;margin:18px 0}.email-preview{max-height:300px;overflow:auto}.email-preview-title{margin-top:18px;overflow-wrap:anywhere}.email-reply{padding:18px 0;border-top:1px solid var(--line);margin-top:16px}.email-reply>small{display:block;margin-top:5px}.email-reply pre{margin-bottom:0}.email-setup{display:flex;flex-direction:column;gap:16px;font-size:13px;line-height:1.6}.email-setup ol{margin:0;padding-left:20px}.email-setup input[type=file]{max-width:100%;white-space:normal}.email-guide{color:var(--purple);font-weight:600;text-decoration:underline}.gmail-guide-page{max-width:820px;margin:35px auto;padding:24px;line-height:1.75}.gmail-guide-page h1{margin:25px 0 18px}.gmail-guide-page>ol{padding-left:24px}.gmail-guide-page li{margin:25px 0}.gmail-guide-page a{text-decoration:underline;color:var(--purple)}
@media(max-width:900px){.email-layout{grid-template-columns:1fr}.email-history-panel .panel-head{flex-wrap:wrap;gap:12px}.email-record{flex-wrap:wrap}.email-record>span:last-child{text-align:left;flex-shrink:1}.email-compose .actions{align-items:flex-start;flex-direction:column}.gmail-guide-page{margin:0}}
.gmail-config-drop{padding:20px;border:1px dashed var(--purple);border-radius:8px;background:var(--purple-soft);display:flex;flex-direction:column;gap:12px;transition:background .15s}.gmail-config-drop p{font-size:12px;line-height:1.6}.gmail-config-drop strong{color:var(--purple)}.gmail-config-drop small{font-size:11px;line-height:1.5}.gmail-config-drop.is-dragover{background:var(--gold-soft);border-color:var(--purple)}.gmail-config-drop[aria-busy=true]{opacity:.7}
.cloud-login{max-width:440px;margin:38px auto;padding:30px;background:var(--surface);border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;gap:18px}.cloud-login-brand{display:flex;gap:12px;align-items:center;color:var(--purple);font-weight:650;font-size:20px}.cloud-login-brand img{width:48px;height:48px;border-radius:10px}.cloud-login h1{font-size:25px}.cloud-login>p{font-size:13px;line-height:1.65;color:var(--muted)}.cloud-login form{display:flex;flex-direction:column;gap:18px}.cloud-login>small{font-size:11px;line-height:1.6}.cloud-error{color:var(--red)!important;background:var(--red-bg);padding:12px;border-radius:8px}.cloud-companion{max-width:720px}.cloud-companion>p{font-size:14px;line-height:1.7;margin:16px 0}.cloud-local-link{display:inline-flex;background:var(--purple);color:white;border-radius:8px;padding:12px 18px;font-size:14px;font-weight:600;margin:4px 0}.demo-note [data-action=cloud-reload]{margin-left:auto}.demo-note [data-action=cloud-logout]{margin-left:0}
@media(max-width:600px){.cloud-login{margin:18px auto;padding:22px}.cloud-login h1{font-size:23px}.cloud-login button{min-height:44px}}
.demo-note[hidden]{display:none}

.capture-row{margin-bottom:20px}.capture-row .field{max-width:760px}.capture-row details{margin-top:20px;border-top:1px solid var(--line);padding-top:18px}.capture-row summary{cursor:pointer;font-size:13px;font-weight:600}.capture-row textarea{width:100%;margin-bottom:12px}.capture-links{margin-top:12px;align-items:center;gap:18px}.capture-editor{max-width:900px}.capture-editor h2{margin-bottom:12px}.capture-editor form{margin-top:24px}.capture-active{display:flex;align-items:center;gap:10px;margin:22px 0;font-size:13px}.capture-active input{width:18px;height:18px;accent-color:var(--purple)}.capture-row input[readonly]{font-size:12px}.capture-row .panel-head{align-items:flex-start}.capture-row .panel-head h2{overflow-wrap:anywhere}@media(max-width:600px){.capture-row .panel-head{flex-direction:column;gap:15px}.capture-row .panel-head .actions{flex-wrap:wrap}}

.capture-history-notes{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.65;margin:10px 0}.detail-section>.help-text{white-space:pre-wrap;overflow-wrap:anywhere}
:root{--mail-border:#e5dfed}
.mail-models,.mail-stage{margin-top:24px}.mail-model-picker{padding:16px;background:#f5f0f8;border-radius:10px;margin:18px 0}.mail-model-picker small{display:block;margin-top:8px;color:#665b75}.mail-inline-image{display:block;max-width:100%;max-height:320px;object-fit:contain;object-position:left;margin:16px 0}.mail-image-row{display:flex;gap:12px;align-items:center;margin:12px 0}.mail-image-row img{width:72px;height:72px;object-fit:contain;border:1px solid var(--mail-border);border-radius:8px}.mail-image-row .field{flex:1;min-width:0}.mail-check{display:flex;align-items:flex-start;gap:10px;margin:20px 0;line-height:1.5}.mail-check input{margin-top:4px;width:18px;height:18px;accent-color:#49205e;flex-shrink:0}.mail-preview{border:1px solid var(--mail-border);border-radius:12px;padding:20px;background:white}.mail-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.65}.mail-stage .tag{white-space:normal}.mail-stage .setting-row,.mail-models .setting-row{gap:16px}.mail-models .setting-row>div:first-child{min-width:0;overflow-wrap:anywhere}@media(max-width:650px){.mail-image-row{flex-wrap:wrap}.mail-stage .setting-row,.mail-models .setting-row{align-items:flex-start;flex-direction:column}.mail-stage .panel-head,.mail-models .panel-head{align-items:flex-start;gap:12px;flex-wrap:wrap}}

.email-compose form>.form-grid{margin-bottom:16px}.email-notice{white-space:normal;overflow-wrap:anywhere}.mail-stage h3{margin-top:20px}

.users-summary{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.user-access-row{padding:20px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.user-access-row:last-child{border-bottom:0}.user-access-identity{display:flex;gap:12px;align-items:center;min-width:0}.user-access-identity>div{min-width:0}.user-access-identity p{color:var(--muted);overflow-wrap:anywhere;margin:5px 0}.user-access-identity h3 small{margin-left:8px;color:var(--purple)}.user-access-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.users-footnote{margin-top:18px;max-width:75ch}@media(max-width:700px){.user-access-row{align-items:flex-start;flex-direction:column}.user-access-actions{padding-left:42px}.user-access-identity .avatar{flex-shrink:0}}

.users-footnote{width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}@media(max-width:700px){.users-panel>.panel-head{align-items:flex-start;flex-direction:column;gap:14px}}
