:root{--bg:#f4f5f7;--paper:#fff;--ink:#262c34;--muted:#727b89;--line:#e5e8ec;--green:#21654e;--pale:#eaf3ed;--blue:#356da9;--sidebar:214px;--detail:342px;--radius:9px;--shadow:0 18px 60px #142b3726}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #387cbd}button{border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);padding:8px 12px;cursor:pointer;font-size:14px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;min-height:37px}button:hover{background:#f0f3f6;border-color:#cdd4db}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--green);border-color:var(--green);color:white}button.primary:hover{background:#164b39}button.danger{color:#a34134}button.quiet{background:transparent;border-color:transparent}button.icon-button{width:36px;min-width:36px;padding:7px}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}svg.ico{width:18px;height:18px;flex-shrink:0;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.65}input,select,textarea{color:var(--ink);width:100%;border:1px solid #d8dde4;background:#fff;border-radius:6px;padding:8px 10px;min-height:38px;font-size:16px}input[type=checkbox],input[type=radio]{width:16px;height:16px;min-height:16px;margin:0;accent-color:var(--green);flex-shrink:0}textarea{resize:vertical;min-height:100px;line-height:1.6}label.field{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:600;min-width:0}.field>small{font-weight:400}.check-label{display:flex;align-items:flex-start;gap:9px;font-size:14px;font-weight:400}.check-label input{margin-top:3px}h1,h2,h3,p{margin:0}h1{font-size:24px;line-height:1.3;font-weight:650;letter-spacing:-.6px}h2{font-size:19px;font-weight:650}h3{font-size:15px;font-weight:650}small,.muted{font-size:13px;color:var(--muted)}.muted-regular{color:var(--muted)}.app{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);height:100dvh;overflow:hidden}.sidebar{background:#eef0f3;border-right:1px solid #dfe3e8;padding:25px 14px 15px;display:flex;flex-direction:column;min-height:0}.brand{display:flex;gap:10px;align-items:center;padding:0 7px 29px}.brand img{width:33px;height:33px}.brand strong{font-weight:650;font-size:16px;letter-spacing:-.3px}.brand small{display:block;font-size:12px;margin-top:-2px}.nav-label{color:#959ba5;font-size:10px;letter-spacing:1.2px;font-weight:700;padding:8px 12px;text-transform:uppercase}.nav-group{display:flex;flex-direction:column;gap:3px}.nav-group+ .nav-group{margin-top:23px}.nav{border:0;background:transparent;justify-content:flex-start;font-size:14px;font-weight:500;min-height:39px;padding:9px 11px;gap:10px;color:#647080}.nav:hover{background:#e2e7eb;border:0}.nav.active{background:#fff;color:var(--ink);box-shadow:0 1px 3px #18232d0b}.nav.active svg{color:var(--green)}.nav .count{margin-left:auto;font-size:12px;color:#8b949f;font-variant-numeric:tabular-nums}.side-bottom{margin-top:auto}.mail-state{border:1px solid #dde2e8;border-radius:8px;padding:11px 10px;margin:20px 1px 12px;background:#f7f8fa;font-size:11px}.mail-state strong{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500}.dot{width:6px;height:6px;background:#caa155;border-radius:50%;display:inline-block;flex-shrink:0}.dot.ok{background:#49956c}.mail-state button{padding:2px 0;min-height:25px;border:0;background:none;font-size:11px;color:var(--blue)}.account{display:flex;align-items:center;gap:8px;padding:5px}.avatar{background:#e3e8ed;border-radius:8px;width:33px;height:33px;display:flex;align-items:center;justify-content:center;color:#68737e;font-weight:600;flex-shrink:0}.account .name{font-size:12px;flex:1;min-width:0}.account .name strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.main{display:flex;flex-direction:column;min-width:0;min-height:0;background:white}.topbar{display:flex;align-items:center;justify-content:space-between;padding:23px 27px 19px;border-bottom:1px solid var(--line);gap:20px;min-height:93px}.title-line{display:flex;align-items:center;gap:11px}.title-count{font-size:13px;padding:2px 7px;background:#f0f2f5;border-radius:5px;color:#78818e}.subtitle{font-size:12px;color:var(--muted);margin-top:5px}.actions{display:flex;gap:7px;align-items:center}.mobile-menu{display:none}.toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding:16px 27px 13px;min-height:68px}.search{position:relative;flex:1;min-width:180px}.search svg{position:absolute;left:11px;top:11px;color:#98a1ad;width:16px;height:16px}.search input{padding-left:35px;font-size:14px;background:#f7f8fa;border-color:#e7e9ed}.search kbd{position:absolute;right:10px;top:8px;border:1px solid #e0e3e7;color:#9aa2ab;font-size:11px;border-radius:3px;padding:0 4px}.toolbar select{font-size:13px;width:auto;max-width:160px;height:38px}.contact-area{display:grid;grid-template-columns:minmax(360px,1fr) var(--detail);flex:1;min-height:0;overflow:hidden}.list-pane{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.tabs{display:flex;gap:17px;padding:0 27px;border-bottom:1px solid var(--line);min-height:43px;overflow-x:auto;white-space:nowrap;flex-shrink:0}.tab{padding:9px 0 11px;border:0;border-radius:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font-size:13px;min-height:43px}.tab:hover{background:none;border-color:transparent;color:var(--ink)}.tab.active{color:var(--green);border-bottom-color:var(--green);font-weight:650}.tab span{font-size:11px;color:#8e96a1}.table-scroll{flex:1;overflow:auto;min-height:0}.contact-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}.contact-table th{position:sticky;top:0;z-index:2;background:#fafbfc;color:#89919b;text-transform:uppercase;font-size:10px;letter-spacing:.7px;font-weight:600;border-bottom:1px solid var(--line);padding:10px 9px}.contact-table td{border-bottom:1px solid #edf0f3;padding:14px 9px;vertical-align:middle;overflow:hidden}.contact-table tbody tr{cursor:pointer}.contact-table tbody tr:hover{background:#f9fbfc}.contact-table tbody tr.selected{background:#f0f6f3}.contact-table tbody tr.selected td:first-child{box-shadow:inset 3px 0 var(--green)}.contact-table .check-cell{width:41px;padding-left:24px;padding-right:4px}.contact-table .company-cell{width:38%}.contact-table .email-cell{width:33%}.contact-table .status-cell{width:24%}.company-name{font-size:13px;font-weight:650;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:var(--ink);padding:0;border:0;background:none;min-height:22px;text-align:left}.company-name:hover{background:none}.company-sub{display:block;font-size:11px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8b939d}.email-label{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.badge{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border-radius:5px;background:#f1f3f6;color:#7b8390;font-size:10px;font-weight:500;white-space:nowrap}.badge.green{background:#e9f3ec;color:#397657}.badge.amber{background:#faf3e6;color:#a17b36}.badge.red{background:#f9eae8;color:#ac574e}.badge.blue{background:#eaf0f9;color:#517aab}.row-secondary{margin-top:5px;display:block}.pager{height:52px;min-height:52px;border-top:1px solid var(--line);padding:8px 22px;display:flex;align-items:center;justify-content:space-between;color:#8b939c;font-size:11px}.pager button{min-height:28px;padding:3px 8px;border-color:transparent;color:var(--muted);font-size:12px}.pager .page-actions{display:flex;align-items:center;gap:8px}.bulk-bar{background:#eff6f2;border-bottom:1px solid #d9e8de;padding:9px 23px;display:flex;gap:9px;align-items:center;font-size:12px;flex-wrap:wrap}.bulk-bar strong{margin-right:auto}.bulk-bar button{font-size:12px;padding:5px 8px;min-height:30px}.detail-pane{border-left:1px solid var(--line);background:#fcfcfd;overflow:auto;min-width:0;padding:26px 23px}.detail-empty{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:var(--muted);gap:10px;font-size:13px}.detail-head{display:flex;justify-content:space-between;gap:8px}.company-avatar{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#e9eeed;color:#617870;border-radius:12px;font-size:17px;font-weight:650}.detail-name{margin:16px 0 4px;font-size:18px;line-height:1.4;word-break:break-word}.detail-sub{font-size:11px;color:#939aa4}.detail-actions{display:flex;gap:8px;margin-top:19px}.detail-actions button{font-size:12px;min-height:33px}.detail-section{margin-top:26px;padding-top:21px;border-top:1px solid var(--line)}.section-caption{text-transform:uppercase;font-weight:650;letter-spacing:1px;font-size:10px;color:#939aa3;margin-bottom:13px;display:flex;align-items:center;justify-content:space-between}.contact-point{margin:0 0 15px}.contact-point .label{font-size:11px;color:#8b939f;margin-bottom:3px}.contact-point .value{font-size:13px;word-break:break-word}.contact-point .value a{color:#3e6f60}.person-note{font-size:11px;color:#9b8c72;margin-top:3px}.contact-point button{padding:2px;min-height:23px;font-size:11px}.detail-kv{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px 13px;font-size:12px}.detail-kv dt{color:#8c939d}.detail-kv dd{margin:0;word-break:break-word}.detail-pane select{font-size:13px}.note-box{background:white;border:1px solid var(--line);border-radius:7px;padding:11px;font-size:12px;white-space:pre-wrap;word-break:break-word;color:#737c86}.detail-pane details{margin-top:18px}.detail-pane summary{font-size:12px;color:#74818e;cursor:pointer}.source-list{font-size:11px;word-break:break-word;display:flex;flex-direction:column;gap:8px;margin-top:10px}.finance{font-variant-numeric:tabular-nums}.inline-notice{padding:11px 14px;border:1px solid #e7e3d8;background:#fcfaf5;border-radius:7px;color:#8c7950;font-size:12px;line-height:1.7;margin-bottom:18px}.inline-notice.neutral{border-color:#dce4e9;background:#f6f9fb;color:#6d808e}.inline-notice.success{border-color:#d8e8dc;background:#f1f7f2;color:#4b7b59}.empty-state{padding:70px 25px;text-align:center;color:var(--muted);font-size:14px}.empty-state svg{width:32px;height:32px;margin-bottom:12px;color:#aab5be}.empty-state h2{font-size:17px;color:#646f7c;margin-bottom:8px}.empty-state p{max-width:460px;margin:auto}.empty-state button{margin-top:18px}.content-scroll{flex:1;overflow:auto;padding:28px;min-height:0}.settings-wrap{max-width:870px}.settings-card{border:1px solid var(--line);padding:23px;border-radius:10px;margin-bottom:22px;background:white}.settings-card h2{margin-bottom:5px;font-size:17px}.settings-card .muted{margin-bottom:20px;display:block}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px}.form-grid .full{grid-column:1/-1}.form-actions{display:flex;gap:9px;align-items:center;justify-content:flex-end;margin-top:22px;flex-wrap:wrap}.form-actions .left{margin-right:auto}.settings-section-title{font-size:13px;font-weight:650;margin:7px 0 -3px;color:#757f8d}.horizontal{display:flex;gap:10px;align-items:center}.email-fields{display:grid;grid-template-columns:1fr 105px 145px;gap:12px}.wide-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.wide-table td,.wide-table th{padding:12px;border-bottom:1px solid var(--line);vertical-align:top}.wide-table th{font-size:11px;color:var(--muted)}.wide-table td.wrap{white-space:pre-wrap;word-break:break-word}.wide-table td a{word-break:break-all}.scroll-x{overflow:auto}.mail-area{display:grid;grid-template-columns:350px minmax(0,1fr);flex:1;min-height:0;overflow:hidden;border-top:1px solid var(--line)}.message-list{overflow:auto;border-right:1px solid var(--line);background:#fbfcfd}.message-row{padding:16px 21px;border-bottom:1px solid var(--line);cursor:pointer;position:relative}.message-row:hover{background:#f3f6f8}.message-row.active{background:#edf4f0;box-shadow:inset 3px 0 var(--green)}.message-row strong{font-size:13px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.message-row .subject{font-size:12px;margin:4px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.message-row small{font-size:10px}.message-row .snippet{font-size:11px;color:#9099a4;line-height:1.5;max-height:34px;overflow:hidden}.message-reader{overflow:auto;padding:28px 32px}.message-reader h2{font-size:22px;line-height:1.5;margin-bottom:18px}.mail-meta{font-size:13px;color:#828b95;margin-bottom:23px}.mail-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.8;border-top:1px solid var(--line);padding-top:23px;margin-top:20px}.attachments{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.attachment{display:inline-flex;gap:7px;align-items:center;border:1px solid var(--line);border-radius:6px;padding:7px 10px;font-size:12px;max-width:100%;word-break:break-word}.attachment button{min-height:20px;padding:0 3px}.queue-notice{padding:12px 27px;border-top:1px solid var(--line);display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;background:#f8faf9}.queue-notice span{flex:1}.login-screen{min-height:100dvh;display:grid;place-items:center;padding:24px;background:#f2f4f5}.login-card{width:100%;max-width:400px;border:1px solid #e1e5e8;border-radius:15px;box-shadow:0 8px 35px #18233309;padding:33px;background:white}.login-card .brand{padding:0;margin-bottom:31px}.login-card h1{font-size:22px;margin-bottom:8px}.login-card form{display:flex;flex-direction:column;gap:16px;margin-top:25px}.login-card p{font-size:14px;color:var(--muted)}.login-card button{margin-top:5px}.loading-screen{height:100dvh;display:grid;place-items:center;color:var(--muted);font-size:14px}.error-panel{max-width:590px;margin:15vh auto;padding:28px}.error-panel p{margin:15px 0;color:var(--muted)}dialog{border:1px solid #d6dce2;border-radius:12px;box-shadow:var(--shadow);padding:0;max-width:min(800px,calc(100vw - 32px));width:720px;max-height:92dvh;color:var(--ink);overflow:auto}dialog::backdrop{background:#24313b55;backdrop-filter:blur(2px)}.dialog-header{position:sticky;top:0;padding:20px 24px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px;z-index:4}.dialog-header h2{font-size:18px}.dialog-body{padding:23px 25px}.dialog-footer{padding:16px 24px;background:#fafbfc;border-top:1px solid var(--line);display:flex;gap:9px;align-items:center;justify-content:flex-end;position:sticky;bottom:0}.dialog-footer .left{margin-right:auto}.dialog-body>.muted{display:block;margin-bottom:17px}.endpoint-row{display:grid;grid-template-columns:25px minmax(0,1.6fr) minmax(0,1fr) 30px;gap:8px;align-items:center;margin-bottom:9px}.endpoint-row input{font-size:14px}.endpoint-person{grid-column:2/4}.endpoint-row input[type=radio]{justify-self:center}.endpoints-title{display:flex;justify-content:space-between;align-items:center;margin:22px 0 12px}.endpoints-title button{font-size:12px;min-height:30px;padding:4px 8px}.preview-message{border:1px solid var(--line);background:#fcfdfd;padding:19px;border-radius:8px;margin-top:17px}.preview-message h3{line-height:1.6}.preview-message pre{font:14px/1.8 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0 0}.preview-top{display:flex;gap:12px;align-items:center}.preview-top strong{font-size:14px}.preview-top select{font-size:13px;flex:1;min-width:0}.excluded{font-size:12px;margin-top:19px}.excluded summary{cursor:pointer;color:#8d7752}.excluded-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}.excluded-row small{font-size:11px}.preview-confirm{margin-top:21px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:20;background:#2d373f;color:white;padding:12px 20px;border-radius:9px;box-shadow:0 5px 25px #0002;max-width:calc(100vw - 32px);font-size:14px;display:none}#toast.show{display:block}#toast.error{background:#963f38}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.detail-back{display:none}.source-table{font-size:12px;margin-top:10px;width:100%;border-collapse:collapse}.source-table td{padding:8px;border-bottom:1px solid var(--line);word-break:break-word}.source-table td:first-child{color:var(--muted);width:38%}.detail-summary{display:flex;justify-content:space-between;gap:10px;align-items:center}.compact-help{font-size:12px;line-height:1.7;color:var(--muted);margin-top:12px}.field-error{font-size:13px;color:#ab4f43}.mobile-scrim{display:none}
@media(min-width:1700px){:root{--sidebar:232px;--detail:370px}.contact-table td{padding-top:16px;padding-bottom:16px}.company-name{font-size:14px}.email-label{font-size:13px}}
@media(max-width:1250px){:root{--sidebar:190px;--detail:306px}.topbar{padding-left:20px;padding-right:20px}.toolbar{padding-left:20px;padding-right:20px}.tabs{padding-left:20px;gap:14px}.detail-pane{padding:22px 18px}.contact-table .email-cell{width:31%}.contact-table .company-cell{width:37%}.toolbar select{max-width:135px}.mail-area{grid-template-columns:300px minmax(0,1fr)}.actions button{padding:8px 9px}}
@media(max-width:1060px){:root{--sidebar:175px;--detail:295px}.contact-area{grid-template-columns:minmax(0,1fr)}.detail-pane{display:none}.contact-area.detail-open .detail-pane{display:block;position:fixed;right:0;top:0;bottom:0;width:370px;max-width:100vw;z-index:8;box-shadow:-15px 0 55px #162a3426}.detail-back{display:inline-flex}.title-line h1{font-size:22px}.topbar{gap:12px}.toolbar select{max-width:150px}.brand{padding-left:0;gap:7px}.brand strong{font-size:14px}.sidebar{padding-left:10px;padding-right:10px}.brand img{width:30px;height:30px}.nav{font-size:13px}.mail-area{grid-template-columns:275px minmax(0,1fr)}.message-reader{padding:24px}.contact-table .company-cell{width:40%}.contact-table .email-cell{width:34%}.message-reader h2{font-size:19px}}
@media(max-width:760px){.app{grid-template-columns:1fr}.sidebar{display:none;position:fixed;top:0;bottom:0;left:0;width:230px;z-index:12;box-shadow:15px 0 40px #182b3830}.app.menu-open .sidebar{display:flex}.app.menu-open .mobile-scrim{display:block;position:fixed;inset:0;background:#0004;z-index:11}.mobile-menu{display:inline-flex}.topbar{padding:17px 16px;min-height:82px}.title-line{gap:8px}.title-line h1{font-size:20px}.subtitle{font-size:11px}.topbar .actions .optional{display:none}.topbar .actions button{font-size:12px;padding:7px 9px;min-height:35px}.toolbar{padding:12px 16px;gap:8px}.toolbar select{max-width:130px;font-size:12px}.toolbar .search{min-width:180px;flex-basis:100%}.search input{font-size:16px}.tabs{padding:0 16px;gap:18px}.contact-table .check-cell{padding-left:16px;width:35px}.contact-table td{padding:13px 7px}.contact-table th{padding-left:7px}.contact-table .company-cell{width:51%}.contact-table .email-cell{display:none}.contact-table .status-cell{width:34%}.company-name{font-size:13px}.company-sub{font-size:11px}.badge{font-size:10px}.contact-area.detail-open .detail-pane{width:100%;border:0}.detail-name{font-size:23px}.detail-pane{padding:22px 23px!important}.contact-point .value{font-size:16px}.detail-kv{font-size:14px;grid-template-columns:100px 1fr}.contact-point .label,.person-note{font-size:13px}.detail-actions button{font-size:14px;min-height:40px}.note-box{font-size:14px}.pager{padding:9px 15px}.bulk-bar{padding:9px 16px}.bulk-bar strong{width:100%}.content-scroll{padding:18px 15px}.settings-card{padding:20px 16px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.email-fields{grid-template-columns:1fr 100px}.email-fields .field:first-child{grid-column:1/-1}.mail-area{grid-template-columns:1fr}.message-reader{display:none}.mail-area.reading .message-list{display:none}.mail-area.reading .message-reader{display:block;padding:22px}.message-row{padding:16px 19px}.dialog-header,.dialog-footer{padding:16px}.dialog-body{padding:19px 16px}dialog{max-width:calc(100vw - 18px);max-height:95dvh}.endpoint-row{grid-template-columns:23px minmax(0,1fr) 30px}.endpoint-row .ep-role{grid-column:2/3;grid-row:auto}.endpoint-person{grid-column:2/3}.endpoint-row .remove-ep{grid-column:3;grid-row:1/4}.preview-top{flex-direction:column;align-items:stretch}.dialog-footer{flex-wrap:wrap}.dialog-footer .left{margin-right:auto}.queue-notice{padding:12px 16px}.content-scroll .wide-table{min-width:540px}.table-scroll{overscroll-behavior:contain}.message-reader .detail-back{margin-bottom:15px}.detail-pane .detail-back{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Readability pass: secondary text remains legible without turning the app into a dashboard. */
body{font-size:16px}.company-name{font-size:14px}.company-sub{font-size:12px;color:#6e7884}.email-label{font-size:13px}.badge{font-size:11px}.contact-point .label{font-size:12px;color:#6f7a87}.detail-sub{color:#747f8b}.section-caption{color:#6f7a87}.contact-table th{color:#6f7a87}.nav-label{color:#697585}.detail-kv dt{color:#707b87}.subtitle,.pager,.contact-point .value .muted{color:#6d7885}.title-count{color:#626f7c}.source-list{font-size:12px}.person-note{color:#84734f}.detail-kv{font-size:13px}.contact-point .value{font-size:14px}.detail-summary{font-size:13px}
@media(max-width:760px){.contact-point .value{font-size:16px}.company-name{font-size:13px}.company-sub{font-size:11px}.detail-kv{font-size:14px}}

/* 1.1.0 · Local authentication extension; original CRM layout and tokens retained. */
.google-login{display:flex;justify-content:center;align-items:center;gap:12px;width:100%;min-height:44px;background:#fff;border:1px solid #747775;border-radius:4px;color:#1f1f1f;font-family:Arial,sans-serif;font-size:14px;font-weight:500;letter-spacing:.25px;padding:10px 16px;box-sizing:border-box}
.google-mark{width:20px;height:20px;flex:0 0 20px;background:url("https://developers.google.com/static/identity/images/g-logo.png") center/contain no-repeat}.google-login:hover:not(:disabled){background:#f6f8fc}.google-login:disabled{opacity:.55;cursor:not-allowed}
.recovery-login{margin-top:22px;border-top:1px solid var(--line);padding-top:16px}.recovery-login summary{cursor:pointer;font-size:14px}.recovery-login form{margin-top:16px}
.settings-tabs{display:flex;gap:8px;margin:0 0 18px;flex-wrap:wrap}.settings-tabs button.active{font-weight:700;background:var(--pale);color:var(--green)}
.access-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.access-heading p{margin-bottom:16px}.access-list{margin-top:12px}
.access-row{display:flex;gap:14px;align-items:center;padding:20px 0;border-top:1px solid var(--line)}.access-person{flex:1;min-width:0;display:grid;gap:4px}.access-person span,.access-person small{overflow-wrap:anywhere}.access-person small,.access-status small{color:var(--muted);font-size:12px}.access-status{display:grid;gap:8px;min-width:100px}.access-actions{display:flex;flex-wrap:wrap;gap:6px;max-width:245px}.callback-url{overflow-wrap:anywhere}.access-pending{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:16px;flex-wrap:wrap}
@media(max-width:700px){.access-row{flex-wrap:wrap;align-items:start}.access-person{flex-basis:calc(100% - 60px)}.access-status{margin-left:46px;min-width:110px}.access-actions{margin-left:auto}.settings-tabs button{flex:1;padding:10px}.access-heading>button{width:100%}.login-card{max-width:440px}}

/* Scoped safety additions; existing contacts layout unchanged. */
.safety-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 22px;background:#fff5d9;border-bottom:1px solid #eadba9;color:#645016;flex-shrink:0;font-size:13px}.safety-banner>span{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.safety-banner .ico{width:16px;height:16px}.safety-wrap{max-width:980px}.safety-wrap p{line-height:1.65}.safety-people{display:grid;gap:0;margin-top:16px}.safety-person{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line,#e5e8ed)}.safety-person label{display:flex;gap:12px;align-items:center;min-width:0;flex:1}.safety-person label span{display:grid;gap:4px;min-width:0}.safety-person small{color:var(--muted,#657080);overflow-wrap:anywhere}.safety-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.safety-fields{display:grid;gap:16px;margin:22px 0}.safety-wrap .settings-card>h2{margin-top:12px}@media(max-width:600px){.safety-banner{padding:9px 14px;font-size:12px;align-items:flex-start}.safety-banner>span{display:block}.safety-banner .ico{margin-right:6px;vertical-align:middle}.safety-person{gap:8px}.safety-person small{font-size:12px}.safety-actions>*{flex:1 1 210px}}

/* v1.4.0 multi-mailbox: scoped settings additions, existing shell retained. */
.mailbox-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.mailbox-heading h2{margin-bottom:6px}.mailbox-heading p{margin-top:0}.mailbox-row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--line);padding:18px 0}.mailbox-info{display:grid;gap:6px;min-width:0}.mailbox-info>strong,.mailbox-info>span{overflow-wrap:anywhere}.mailbox-info>span{color:var(--muted);font-size:14px}.mailbox-tags,.mailbox-actions,.mailbox-switches{display:flex;gap:8px;flex-wrap:wrap}.mailbox-actions{justify-content:flex-end}.mailbox-switches{gap:16px;margin:10px 0}.mailbox-empty{padding:20px 0 4px}.mailbox-editor{border-left:3px solid var(--green)}.mailbox-editor .field input,.mailbox-editor .field select{min-width:0;font-size:16px}.mailbox-label{display:block;font-size:12px;color:var(--green);overflow-wrap:anywhere;margin:4px 0}.mail-state strong{overflow-wrap:anywhere;white-space:normal}.mailbox-list .compact-help{margin-bottom:0}#inbox-mailbox{max-width:290px}
@media(max-width:700px){.mailbox-row{align-items:flex-start;flex-direction:column}.mailbox-actions{justify-content:flex-start;width:100%}.mailbox-actions button{flex:1}.mailbox-switches{flex-direction:column}.mailbox-heading{align-items:flex-start}.mailbox-heading>button{width:100%}#inbox-mailbox{max-width:100%;width:100%;font-size:16px}.mailbox-editor .email-fields{min-width:0}.mailbox-tags .badge{font-size:12px}}
/* Project-local MyAI Navigator; the existing CRM layout remains unchanged. */
.myai-page{padding:24px;max-width:1500px;width:100%;margin-inline:auto;font-size:16px;box-sizing:border-box}
.myai-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:20px;align-items:start}
.myai-grid>div{min-width:0}.myai-card{background:#fff;border:1px solid #dfe5ea;border-radius:10px;padding:22px;margin-bottom:20px;overflow-wrap:anywhere}
.myai-card h2{font-size:19px;line-height:1.35;margin:0 0 10px}.myai-card h3{font-size:16px;line-height:1.45;margin:8px 0}.myai-card p{line-height:1.55;margin:10px 0}
.myai-heading{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}.myai-heading>.actions{margin:0}.myai-card .actions{flex-wrap:wrap;gap:8px;margin-block:14px}
.myai-intro{border-top:3px solid #2d6754}.myai-eyebrow{font-size:11px;letter-spacing:.06em;color:#537267;display:block;margin-bottom:8px;font-weight:700}
.myai-status{display:flex;gap:8px;flex-wrap:wrap}.myai-status span{padding:6px 9px;background:#f0f5f3;border-radius:5px;font-size:12px;color:#365a4d}
.myai-pre,.myai-prose{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.myai-pre{font:14px/1.65 inherit;background:#f6f8fa;padding:14px;max-height:360px;overflow:auto}
.myai-card details{margin-block:14px}.myai-card summary{cursor:pointer;font-size:14px}.myai-card small,.myai-row small{display:block;color:#65758a;font-size:12px;line-height:1.55}
.myai-signal{padding:12px;border-left:3px solid #628d7e;margin:10px 0;background:#f4f8f6}.myai-signal strong{display:block;font-size:14px}.myai-signal small{margin-top:5px}
.myai-event{border-top:1px solid #e5e9ed;padding:16px 0}.myai-event:last-child{padding-bottom:0}.myai-event p{font-size:14px}.myai-event h3{overflow-wrap:anywhere}
.myai-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid #e6ebef}.myai-row strong{font-size:14px}.myai-row button{flex-shrink:0}
.myai-field{display:block;padding:16px;margin:12px 0;border:1px solid #dfe5ea;border-radius:7px;cursor:pointer}.myai-field>span:first-child{display:flex;align-items:center;gap:10px}.myai-field input[type=checkbox]{flex:0 0 auto}.myai-field .myai-value{display:block;font-size:16px;white-space:pre-wrap;padding:10px 0;overflow-wrap:anywhere}.myai-field small{display:block;font-size:12px;color:#64748b;line-height:1.5;overflow-wrap:anywhere;margin:4px 0}
.myai-review{min-width:0}.myai-review p{overflow-wrap:anywhere}.myai-confirm{margin:20px 0;background:#f3f7f5;padding:12px;border-radius:6px}.myai-code{min-height:230px;max-height:50vh;font:13px/1.5 monospace;width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
.myai-sources a{overflow-wrap:anywhere}.myai-candidate{border-top:1px solid #e3e8ed;padding-block:14px}.myai-candidate p{font-size:14px}
.myai-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:14px}.myai-photo-grid article{display:flex;align-items:flex-start;flex-direction:column;gap:8px;min-width:0}.myai-photo-grid img{display:block;width:100%;max-width:170px;aspect-ratio:1;object-fit:cover;border-radius:8px}.myai-photo-grid strong{font-size:14px}.myai-photo-grid small{font-size:11px}
.company-avatar img.myai-contact-photo{width:100%;height:100%;object-fit:cover;border-radius:inherit}
@media(max-width:1050px){.myai-grid{grid-template-columns:minmax(0,1fr)}.myai-page{padding:18px}.myai-grid>div{display:contents}}
@media(max-width:600px){.myai-page{padding:12px}.myai-card{padding:16px;margin-bottom:14px}.myai-heading .actions{width:100%}.myai-card .actions button{white-space:normal;min-height:42px}.myai-field{padding:12px}.myai-card h2{font-size:18px}.myai-row{align-items:flex-start}.myai-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Focused semantic panel; preserves the existing MyAI layout and palette. */
.sem-panel{border-top:1px solid var(--line,#dce4e9);padding-top:18px;margin:18px 0;min-width:0;font-size:16px;line-height:1.55}
.sem-panel .myai-heading{gap:12px;flex-wrap:wrap}.sem-panel h3{margin:16px 0 8px}.sem-panel .actions{flex-wrap:wrap;gap:8px}
.sem-kv{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,2fr);gap:8px 14px;margin:16px 0}.sem-kv dt{color:var(--muted,#687b8a)}.sem-kv dd{margin:0;overflow-wrap:anywhere}
.sem-test{padding:10px 12px;background:#fff5db;border-radius:6px;font-size:14px}.sem-step{border-left:3px solid #6b9582;padding-left:12px;margin:10px 0}
.sem-unknowns{margin:14px 0}.sem-unknowns p,.sem-evidence{overflow-wrap:anywhere;margin:8px 0}.sem-catalog .myai-row{align-items:flex-start;gap:12px}.sem-catalog p{overflow-wrap:anywhere}
#sem-review-form .myai-pre{max-height:40vh;overflow:auto}#sem-handoff-form textarea{min-height:270px}#sem-document-form textarea{min-height:90px}
@media(max-width:600px){.sem-kv{grid-template-columns:minmax(0,1fr);gap:2px}.sem-kv dd{margin-bottom:8px}.sem-panel .actions button{white-space:normal;max-width:100%}.sem-panel .badge{white-space:normal}.sem-panel .myai-heading{display:block}}
/* MyAI Intent Set v1.7 */
.sem-count{margin:10px 0 14px;color:var(--muted,#687b8a)}
.sem-intent-list{display:grid;gap:12px;margin:12px 0 16px}.sem-intent{border:1px solid var(--line,#dce4e9);border-radius:10px;padding:14px;background:var(--surface,#fff);min-width:0}.sem-intent-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}.sem-intent .sem-kv{margin:12px 0}.sem-rule-list{margin:12px 0}.sem-rule{border-left:3px solid #80958b;padding:8px 10px;margin:8px 0;background:rgba(127,149,139,.06);border-radius:0 6px 6px 0}.sem-rule.exclusion{border-left-color:#b77966}.sem-rule.noise{border-left-color:#98a3aa;opacity:.9}.sem-rule small{display:block;color:var(--muted,#687b8a);margin-top:2px}.sem-rule p{margin:5px 0 0;overflow-wrap:anywhere}.sem-intent .badge.neutral{background:#eef2f4;color:#52616b}
@media(max-width:600px){.sem-intent{padding:12px}.sem-intent-head{display:block}.sem-intent-head .badge{display:inline-block;margin-top:6px}.sem-count{line-height:1.5}}


/* v1.7.1 visible build identity + semantic downgrade guard. */
.build-badge{width:calc(100% - 2px);margin:0 1px 10px;padding:9px 10px;border:1px solid #d7e2dc;background:#f4f8f6;justify-content:flex-start;text-align:left;white-space:normal;gap:8px;min-height:48px}
.build-badge:hover{background:#edf5f1;border-color:#c9d9d1}.build-badge>span:last-child{min-width:0}.build-badge strong{display:block;font-size:11px;line-height:1.35;color:#315b4c;overflow-wrap:anywhere}.build-badge small{display:block;font-size:10px;line-height:1.35;color:#718079;margin-top:2px}
.settings-build-row{margin-top:14px;padding:12px 14px;border:1px solid #dfe7e2;border-radius:8px;background:#f7faf8;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.settings-build-row strong{display:block;font-size:13px}.settings-build-row small{display:block;font-size:11px;margin-top:3px;overflow-wrap:anywhere}
.build-info-panel dl{display:grid;grid-template-columns:145px minmax(0,1fr);gap:10px 14px;margin:18px 0}.build-info-panel dt{color:var(--muted);font-size:13px}.build-info-panel dd{margin:0;font-weight:600;overflow-wrap:anywhere}.build-loaded{display:flex;align-items:center;gap:8px;padding:11px 13px;background:#f1f7f3;border:1px solid #d8e8dc;border-radius:8px;color:#3f7152}.build-loaded .dot{width:8px;height:8px}
@media(max-width:600px){.build-info-panel dl{grid-template-columns:1fr;gap:2px}.build-info-panel dd{margin-bottom:9px}.settings-build-row>button{width:100%}}


/* v1.8.1 human-first UI + optional handwritten guidance + message-intake fix. */
.guide-switch{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:9px;border-color:#d8dfe4;background:#f8f9fa;text-align:left;white-space:normal;margin:2px 1px 10px;padding:9px 10px;min-height:46px}.guide-switch:hover{background:#f2f6f3;border-color:#cbd8d1}.guide-switch.on{background:#edf6f1;border-color:#bad5c7}.guide-switch-icon{display:grid;place-items:center;color:var(--green)}.guide-switch-copy{display:grid;min-width:0;flex:1}.guide-switch-copy strong{font-size:12px;line-height:1.25}.guide-switch-copy small{font-size:10px;line-height:1.25;margin-top:2px}.toggle-track{width:31px;height:18px;border-radius:999px;background:#cbd2d8;padding:2px;display:block;flex:0 0 auto;transition:.2s}.toggle-track>span{display:block;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:.2s}.guide-switch.on .toggle-track{background:var(--green)}.guide-switch.on .toggle-track>span{transform:translateX(13px)}
.ui-preference-card{border-left:3px solid #7f9f90}.preference-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.preference-head>div{min-width:0}.preference-head .guide-switch{width:min(260px,100%);margin:0;flex:0 1 260px}.ui-preference-card .compact-help{margin-top:10px}
.hand-guide{display:flex;align-items:center;gap:9px;color:#2f6d56;font:600 16px/1.35 "Segoe Print","Bradley Hand","Comic Sans MS",cursive;letter-spacing:.01em;margin:10px 0 14px;max-width:560px;transform:rotate(-.7deg);pointer-events:none}.hand-guide span{background:#fffbed;border:1px solid #eadfae;border-radius:8px;padding:7px 10px;box-shadow:0 3px 10px #4a4a2b12}.hand-arrow{width:76px;height:34px;overflow:visible;flex:0 0 auto}.hand-arrow path{fill:none;stroke:#2f6d56;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}.hand-arrow-down{transform:rotate(82deg)}.hand-arrow-left{transform:rotate(180deg)}.hand-arrow-up{transform:rotate(-82deg)}.guide-setting-note{margin-left:auto}.guide-page-note{margin:8px 26px 0 auto}.guide-inside{font-size:14px;margin:0 0 11px auto;justify-content:flex-end}.guide-inside .hand-arrow{width:62px}
.human-intro{padding-block:18px}.human-intro>details{margin-top:12px}.nav-advanced-tools,.system-status{border-top:1px solid var(--line);padding-top:10px}.nav-advanced-tools summary,.system-status summary{font-weight:600;color:#53646f}.human-message-card>div:first-child{margin-bottom:8px}.human-primary-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 5px}.source-message-details{border-top:1px solid var(--line);padding-top:13px}.human-fallback-summary{font-size:18px;line-height:1.55;margin:18px 0}
.human-sem{border-top:0;padding-top:6px;margin-top:8px}.human-summary{background:linear-gradient(135deg,#edf6f1,#f7fbf8);border:1px solid #d4e7dc;border-radius:12px;padding:20px;margin:14px 0 18px}.human-kicker{display:block;font-size:11px;font-weight:800;letter-spacing:.09em;color:#517263;margin-bottom:8px}.human-summary h2{font-size:23px;line-height:1.38;margin:0}.human-summary>p{color:#5f7168;margin:9px 0 0}.human-next{margin:20px 0}.human-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.human-section-title h2{margin:0}.human-section-title>span{display:grid;place-items:center;min-width:28px;height:28px;border-radius:50%;background:var(--green);color:#fff;font-weight:700;font-size:13px}.human-task-list{display:grid;gap:10px}.human-task{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;border:1px solid #dfe6e2;border-radius:10px;padding:14px;background:#fff}.human-task-number{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#eaf3ed;color:#2e6b53;font-weight:800}.human-task-body{min-width:0}.human-task-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}.human-task-head h3{font-size:16px;margin:2px 0}.human-meta{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.human-meta span{font-size:12px;color:#51636d;background:#f0f3f5;border-radius:999px;padding:3px 8px}.human-next-step{border-left:3px solid #6f9a86;padding:7px 10px;background:#f7faf8;border-radius:0 7px 7px 0;margin:9px 0;font-weight:550}.human-task details{margin:10px 0 0}.human-task details summary{font-size:12px;color:#64727c}.human-guard-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0;position:relative}.human-guard-grid>.hand-guide{grid-column:1/-1}.human-rule-card{border:1px solid #dce4df;border-radius:10px;padding:15px;background:#fbfdfc}.human-rule-card.exclusions{border-color:#ead6d0;background:#fffafa}.human-rule-card h3{display:flex;justify-content:space-between;gap:10px;font-size:15px;margin:0 0 10px}.human-rule-card h3 span{font-size:11px;border-radius:999px;background:#edf2ef;padding:2px 7px}.human-rule-card.exclusions h3 span{background:#f7e9e5}.human-rule-card ul{margin:0;padding-left:20px}.human-rule-card li{margin:7px 0;line-height:1.45}.human-rule-card details{margin:8px 0 0}.human-unknown{border-left:4px solid #d0a34c;background:#fff9e9;padding:14px 16px;border-radius:0 8px 8px 0;margin:16px 0}.human-unknown h3{margin:0 0 6px}.human-advanced{border:1px solid #e1e5e8;border-radius:10px;padding:12px 14px;background:#fafbfc;margin:20px 0}.human-advanced>summary{font-weight:650}.pending-ai-review{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;border:1px solid #d8e2ea;background:#f6f9fc;border-radius:9px;margin:12px 0}.pending-ai-review button{margin-left:auto}
.myai-side-details{padding:0}.myai-side-details>summary,.human-history>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 19px;cursor:pointer;font-weight:650;list-style:none}.myai-side-details>summary::-webkit-details-marker,.human-history>summary::-webkit-details-marker{display:none}.myai-side-details>summary::after,.human-history>summary::after{content:'›';font-size:21px;color:#75818a;transform:rotate(90deg);transition:.15s}.myai-side-details[open]>summary::after,.human-history[open]>summary::after{transform:rotate(-90deg)}.myai-side-details>summary small,.human-history>summary small{margin-left:auto;margin-right:7px;font-weight:400}.side-detail-body{padding:0 19px 18px}.human-history{padding:0}.human-history>summary{padding:17px 20px}.human-history>.side-detail-body{padding:0 20px 18px}
@media(max-width:900px){.human-guard-grid{grid-template-columns:1fr}.guide-page-note{margin-right:16px}.preference-head{align-items:flex-start;flex-direction:column}.preference-head .guide-switch{width:100%;flex-basis:auto}.hand-guide{max-width:100%;font-size:14px}.hand-arrow{width:54px}.human-summary h2{font-size:20px}}
@media(max-width:600px){.guide-switch.compact{min-height:42px}.hand-guide{align-items:flex-start}.hand-arrow{width:42px;height:28px}.guide-page-note{margin:7px 14px 0}.human-summary{padding:15px}.human-summary h2{font-size:18px}.human-task{grid-template-columns:28px minmax(0,1fr);padding:12px}.human-task-number{width:26px;height:26px}.human-task-head{display:block}.human-task-head .badge{margin-top:5px}.human-meta span{font-size:11px}.human-primary-actions button{width:100%}.pending-ai-review button{width:100%;margin-left:0}.myai-side-details>summary,.human-history>summary{padding:15px}.side-detail-body,.human-history>.side-detail-body{padding:0 15px 15px}}

/* v1.9.0 — guided access, precise contextual help and per-account permissions. */
.sidebar{overflow-y:auto;scrollbar-width:thin}.side-bottom{padding-top:12px}.guide-control-anchor{position:relative;margin-top:2px}.guide-control-anchor .guide-switch{position:relative;z-index:2}
.guide-welcome{position:relative;margin:2px 1px 12px;padding:11px 10px 10px;border:1px dashed #c59b44;border-radius:9px;background:#fff9e8;color:#5d4a24;font:600 12px/1.4 "Segoe Print","Bradley Hand","Comic Sans MS",cursive;box-shadow:0 7px 20px #5a431a14;transform:rotate(-.35deg)}
.guide-welcome-copy{display:grid;gap:4px}.guide-welcome-copy strong{font-size:13px;color:#315f4e}.guide-welcome-copy span{font-size:11px}.guide-welcome .hand-arrow{position:absolute;right:9px;top:-33px;width:43px;height:34px;transform:rotate(-88deg)}.guide-welcome>button{margin-top:8px;min-height:29px;padding:4px 8px;font:600 11px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff;border-color:#dbc78e;color:#315f4e;white-space:normal}

.field-label,.compact-control>span,.control-label{display:inline-flex;align-items:center;gap:5px;min-width:0}.field-label{font-weight:600}.compact-control{display:flex;flex-direction:column;gap:4px;font-size:11px;color:var(--muted);min-width:130px}.compact-control select{font-size:13px;width:100%;max-width:170px}.control-with-help{display:inline-flex;align-items:center;gap:5px}.search .control-label{position:absolute;left:0;top:-18px;font-size:10px;color:#7d8792}.contact-filters{padding-top:25px}.contact-filters .search svg{top:11px}.module-help-float{position:absolute;right:7px;top:7px;z-index:3}.message-list{position:relative}.compact-status{margin:0 0 13px}.detail-name,.section-caption,.contact-point .label,.settings-card h2,.settings-card h3,.dialog-header h2,.human-task-head h3,.human-section-title h2,.access-heading h2,.mailbox-heading h2,.permission-editor summary,.myai-side-details>summary,.human-history>summary{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.section-caption{justify-content:flex-start}.section-caption>span:last-child{margin-left:auto}

.help-marker{display:inline-grid!important;place-items:center!important;vertical-align:middle;width:19px!important;min-width:19px!important;height:19px!important;min-height:19px!important;padding:0!important;margin:0 1px!important;border:1px solid #b7c8bf!important;border-radius:50%!important;background:#f4f8f6!important;color:#2c6d53!important;font:800 11px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;box-shadow:none!important;white-space:nowrap;cursor:help;flex:0 0 19px;position:relative;z-index:4}.help-marker:hover,.help-marker:focus-visible,.help-marker[aria-expanded=true]{background:#2c6d53!important;border-color:#2c6d53!important;color:#fff!important;transform:scale(1.08)}.help-marker:focus-visible{outline:2px solid #c59b44;outline-offset:2px}.check-label>.help-marker{margin-left:auto!important}.permission-option>.help-marker{align-self:flex-start;margin-left:auto!important}.attachments>.help-marker{margin-right:3px!important}

#context-help-popover{display:none;position:fixed;z-index:10050;width:min(330px,calc(100vw - 24px));padding:12px 14px;border:1px solid #cfb764;border-radius:10px;background:#fffbed;color:#2f4f42;font:600 15px/1.42 "Segoe Print","Bradley Hand","Comic Sans MS",cursive;box-shadow:0 16px 42px #152a2140;transform:rotate(-.35deg);pointer-events:none;overflow-wrap:anywhere}#context-help-popover::before{content:'rukopisna pomoć';display:block;margin-bottom:5px;color:#9a7530;font:800 9px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.11em;text-transform:uppercase}#context-help-popover.pinned{border-style:solid;box-shadow:0 18px 46px #152a2150}#context-help-arrow{display:none;position:fixed;inset:0;z-index:10040;width:100vw;height:100vh;overflow:visible;pointer-events:none}#context-help-arrow .help-arrow-path{fill:none;stroke:#2f6d56;stroke-width:2.4;stroke-linecap:round;stroke-dasharray:5 4;filter:drop-shadow(0 1px 0 #fff)}#context-help-arrow marker path{fill:#2f6d56}

.access-wrap{max-width:1180px}.access-card{border-top:3px solid #2c6d53}.access-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.access-heading p{margin-top:4px}.access-table-wrap{margin-top:16px;overflow:auto;border:1px solid var(--line);border-radius:10px;background:#fff}.access-table{width:100%;border-collapse:collapse;min-width:840px}.access-table th{padding:10px 12px;text-align:left;background:#f7f9f8;color:#77838b;font-size:10px;letter-spacing:.07em;text-transform:uppercase;border-bottom:1px solid var(--line)}.access-table td{padding:13px 12px;border-bottom:1px solid #edf0f2;vertical-align:top;font-size:12px}.access-table tr:last-child td{border-bottom:0}.access-person{display:flex;gap:10px;align-items:flex-start;min-width:210px}.access-person>div{display:grid;min-width:0}.access-person strong,.access-person span,.access-person small{overflow-wrap:anywhere}.access-person span{font-size:12px}.access-person small{margin-top:3px}.access-table td>strong{display:block;margin-bottom:4px}.access-table td>small{display:block;max-width:260px}.access-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap;min-width:155px}.access-actions button{min-height:31px;padding:5px 8px;font-size:11px}.permission-chips{display:flex;gap:4px;flex-wrap:wrap;max-width:300px}.permission-chips span{display:inline-flex;padding:3px 6px;border-radius:999px;background:#eef4f1;color:#3b6755;font-size:10px;line-height:1.3}.seed-note{display:block;margin-top:5px;color:#7c6a3b}.permission-legend{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:13px}.permission-legend article{padding:11px;border:1px solid #e1e7e3;border-radius:8px;background:#fafcfb}.permission-legend strong{display:block;font-size:12px}.permission-legend span{display:block;margin-top:4px;color:var(--muted);font-size:11px}.permission-editor{margin:16px 0 0;border:1px solid var(--line);border-radius:9px;background:#fafbfc}.permission-editor>summary{padding:12px 14px;cursor:pointer;font-weight:650}.permission-editor.locked{opacity:.82}.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 12px 13px}.permission-option{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:9px;padding:10px;border:1px solid #e2e6e9;border-radius:8px;background:#fff;font-size:12px}.permission-option>input{margin-top:3px}.permission-option>span{display:grid;gap:2px}.permission-option small{font-size:10px;line-height:1.35}.access-pending{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.callback-url{overflow-wrap:anywhere}.preference-head h2{display:flex;align-items:center;gap:6px}

.guide-page-note{position:relative}.guide-page-note span{max-width:680px}.hand-guide.guide-page-note{margin-left:26px;margin-right:26px}.human-summary,.human-next,.human-rule-card,.human-unknown,.human-advanced,.settings-card,.detail-section{scroll-margin-top:18px}

@media(max-width:900px){.permission-legend{grid-template-columns:repeat(2,minmax(0,1fr))}.permission-grid{grid-template-columns:1fr}.access-heading{flex-direction:column}.access-heading>button{width:100%}.contact-filters .search{min-width:100%;margin-bottom:8px}.compact-control{flex:1}.compact-control select{max-width:none}}
@media(max-width:700px){#context-help-popover{font-size:14px;line-height:1.38}.access-table{min-width:0}.access-table thead{display:none}.access-table,.access-table tbody,.access-table tr,.access-table td{display:block;width:100%}.access-table tr{padding:11px 12px;border-bottom:1px solid var(--line)}.access-table td{padding:5px 0;border:0}.access-table td::before{content:attr(data-label);display:block;color:#8a929b;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:3px}.access-actions{justify-content:flex-start}.permission-chips{max-width:none}.permission-legend{grid-template-columns:1fr}.guide-welcome{font-size:11px}.hand-guide.guide-page-note{margin-left:14px;margin-right:14px}.module-help-float{right:4px;top:4px}.control-with-help{width:100%}.control-with-help select{flex:1}.contact-filters{padding-top:18px}.contact-filters .search .control-label{display:none}.compact-control{width:100%}}
.inline-help-slot{display:inline-flex;align-items:center;justify-content:center;align-self:center;margin:0 -2px 0 -5px;min-width:19px}.endpoint-row .inline-help-slot{position:relative;z-index:2}.endpoint-row .inline-help-slot+.inline-help-slot{margin-left:-8px}
@media(max-width:700px){.endpoint-row .inline-help-slot{margin:0 0 4px 0;justify-self:start}}
.detail-empty-help{position:relative}.mobile-guide-welcome{display:none}.guide-control-anchor.guide-spotlight{outline:3px solid #d4aa49;outline-offset:4px;border-radius:10px;animation:guidePulse 1s ease-in-out 2}@keyframes guidePulse{50%{filter:drop-shadow(0 0 10px #d4aa4977)}}
@media(max-width:700px){.mobile-guide-welcome{display:grid;gap:10px;margin:10px 14px 0;padding:12px 13px;border:1px dashed #c59b44;border-radius:10px;background:#fff9e8;color:#4c5f55;font:600 13px/1.45 "Segoe Print","Bradley Hand","Comic Sans MS",cursive}.mobile-guide-welcome>div:first-child{display:grid;gap:3px}.mobile-guide-welcome strong{color:#28654d}.mobile-guide-welcome .actions{display:flex;gap:7px;flex-wrap:wrap}.mobile-guide-welcome .actions button{flex:1;min-width:125px}.menu-open .mobile-guide-welcome{display:none}}


/* v1.10.0 — clarity focus: readable hierarchy, page focus rail, calmer help and human-first Navigator. */
:root{--bg:#f5f7f6;--paper:#fff;--ink:#1d2730;--muted:#5f6b76;--line:#dce3e6;--green:#1d684d;--pale:#eaf4ee;--blue:#2f659b;--sidebar:228px;--detail:372px;--radius:12px;--shadow:0 18px 50px #1731261f}
body{font-size:16px;line-height:1.56;color:var(--ink);background:var(--bg)}
h1{font-size:26px;line-height:1.24;letter-spacing:-.55px}h2{font-size:20px;line-height:1.35}h3{font-size:16px;line-height:1.42}small,.muted{font-size:13px;color:var(--muted)}
button{min-height:40px;border-radius:9px;font-size:14px;font-weight:600}button.icon-button{width:40px;min-width:40px}.topbar{padding:21px 30px 18px;min-height:88px}.subtitle{font-size:13px}.sidebar{padding:22px 14px 14px;background:#f0f2f3}.brand{padding-bottom:23px}.nav{min-height:42px;font-size:14px;padding:10px 11px;border-radius:9px}.nav-copy{overflow:hidden;text-overflow:ellipsis}.nav.active{box-shadow:0 1px 2px #1c2b2412,0 0 0 1px #dfe5e1}.nav-label{color:#727d87;font-size:10px}.mail-state,.build-badge{border-radius:10px}.content-scroll{background:#f7f9f8}.settings-card,.myai-card{border-color:#dce3e0;border-radius:13px;box-shadow:0 1px 2px #1d2f2710}.settings-wrap{max-width:1220px}.compact-help{font-size:13px;line-height:1.52;color:#64717c}.badge{font-size:11px;padding:4px 8px;border-radius:999px;font-weight:650}.badge.neutral{background:#edf1f3;color:#4f5d67}

.page-focus{position:relative;display:grid;grid-template-columns:minmax(180px,250px) minmax(0,1fr);gap:18px;align-items:center;padding:12px 30px;border-bottom:1px solid #dfe7e2;background:#f5faf7;flex-shrink:0}.page-focus-copy{display:grid;gap:2px}.page-focus-copy>span{font-size:10px;letter-spacing:.1em;font-weight:800;color:#587466}.page-focus-copy>strong{font-size:14px;line-height:1.35}.page-focus ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}.page-focus li{display:flex;align-items:center;gap:8px;min-width:0;padding:7px 9px;border:1px solid #dce8e1;border-radius:9px;background:#fff}.page-focus li>span{display:grid;place-items:center;width:23px;height:23px;flex:0 0 23px;border-radius:50%;background:#e4f0e9;color:#236149;font-size:11px;font-weight:800}.page-focus li>b{font-size:12px;line-height:1.32}.page-focus-hand{position:absolute;right:24px;top:-13px;padding:2px 7px;background:#fff9e8;color:#386b57;font:700 11px/1.2 "Segoe Print","Bradley Hand","Comic Sans MS",cursive;transform:rotate(-1.2deg);border-radius:5px;box-shadow:0 1px 4px #243d3220}.page-focus-hand::after{content:'↘';margin-left:5px;font-size:15px}.app.guide-off .page-focus-hand{display:none}

.contact-table th,.access-table th,.wide-table th{font-size:11px;color:#66737d;letter-spacing:.055em}.contact-table td{padding-top:15px;padding-bottom:15px}.company-name{font-size:14px}.company-sub{font-size:12px;color:#69747e}.email-label{font-size:13px}.detail-name{font-size:20px}.detail-sub{font-size:12px}.contact-point .label{font-size:12px;color:#64717c}.contact-point .value{font-size:14px}.detail-kv{font-size:13px;line-height:1.48}.section-caption{font-size:11px;color:#66737d}

.myai-page{padding:22px 26px 40px;max-width:1480px}.myai-grid{grid-template-columns:minmax(0,1.42fr) minmax(300px,.78fr);gap:18px}.myai-card{padding:22px;margin-bottom:18px}.human-intro{border-top:4px solid var(--green)}.myai-eyebrow{font-size:10px;letter-spacing:.105em;color:#547064}.message-meta{display:flex;flex-wrap:wrap;gap:5px 12px;color:var(--muted);font-size:13px}.message-meta span+span::before{content:'·';margin-right:12px;color:#a2abb2}.navigator-status-row{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0 2px}.status-pill,.understanding-pill{display:inline-flex;align-items:center;gap:6px;border:1px solid #d9e2dd;border-radius:999px;padding:5px 9px;background:#f6f8f7;color:#4b5c54;font-size:12px;font-weight:700}.status-pill.ok,.understanding-pill.ok{background:#eaf5ee;border-color:#d0e7d8;color:#246147}.status-pill.warn,.understanding-pill.warn{background:#fff6df;border-color:#ead8a8;color:#7d6024}.status-pill.neutral{background:#f4f6f7;color:#596671}.system-status,.nav-advanced-tools{margin-top:12px}.system-status>summary,.nav-advanced-tools>summary{font-size:13px;font-weight:700;color:#50616a}

.human-sem{margin-top:10px}.human-summary{margin:14px 0 14px;padding:22px;border:1px solid #cfe2d7;border-left:5px solid var(--green);background:linear-gradient(145deg,#edf7f1,#fbfdfc);box-shadow:0 8px 24px #254f3c0c}.human-summary-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}.human-kicker{font-size:10px;margin-bottom:0}.human-summary h2{font-size:23px;max-width:780px;margin-top:8px}.human-lead{font-size:16px;color:#3f5149;max-width:78ch;margin-top:9px}.summary-metrics{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.summary-metrics>span{display:flex;align-items:baseline;gap:5px;padding:6px 9px;border-radius:9px;background:#fff;border:1px solid #dce7e1;color:#59665f;font-size:12px}.summary-metrics b{font-size:17px;color:#245d47}.sem-test{border-radius:9px;padding:9px 12px;font-size:12px}.navigator-jump{position:sticky;top:0;z-index:5;display:flex;gap:7px;overflow-x:auto;margin:14px 0;padding:8px;border:1px solid #dfe5e2;border-radius:11px;background:#fffffff2;backdrop-filter:blur(8px)}.navigator-jump a{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:6px 10px;border-radius:8px;color:#44544d;font-size:12px;font-weight:700;white-space:nowrap}.navigator-jump a:hover{background:#edf5f0;text-decoration:none}.navigator-jump span{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#e8eeeb;font-size:10px}.human-next,.human-unknown,.human-guard-grid,.human-advanced{scroll-margin-top:62px}.human-section-title{margin-bottom:12px}.human-section-title>div{display:flex;align-items:center;gap:9px}.human-section-title.full{grid-column:1/-1;margin-bottom:0}.section-step{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#e5f0e9;color:#215e46;font-size:12px;font-weight:800}.section-step.amber{background:#fff1d2;color:#87651f}.human-section-title>span{border-radius:999px;min-width:30px;height:26px;background:#e8f1ec;color:#245d47}.human-task-list{gap:12px}.human-task{display:block;padding:16px 17px;border-radius:12px;box-shadow:0 1px 2px #1c2c240d}.human-task-top{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:start}.human-task-number{width:30px;height:30px;border-radius:9px}.human-task-head{min-width:0}.human-task-head h3{font-size:16px;line-height:1.38;margin:2px 0}.human-meta{margin:10px 0 9px;padding-left:40px}.human-meta span{font-size:12px;background:#f1f4f3;color:#4f5f57;border:1px solid #e1e7e4}.human-task-action{margin:10px 0 0 40px;padding:10px 12px;border-left:4px solid #6f9d87;border-radius:0 8px 8px 0;background:#f5faf7}.human-task-action>span{display:block;font-size:10px;letter-spacing:.075em;text-transform:uppercase;font-weight:800;color:#628071}.human-task-action p{margin-top:3px;font-size:14px;font-weight:650;line-height:1.45}.human-task>details{margin-left:40px;margin-top:10px}.human-task>details>summary{font-size:12px;font-weight:700;color:#56656d}.human-guard-grid{gap:14px}.human-rule-card{padding:16px;border-radius:12px}.human-rule-card h3{font-size:16px}.human-rule-card li{font-size:14px;line-height:1.48;margin:9px 0}.human-rule-card.empty-rule{opacity:.72}.human-rule-card.empty-rule p{font-size:13px;color:var(--muted)}.human-unknown{border-radius:0 10px 10px 0;padding:17px 18px}.human-advanced{padding:14px 16px;border-radius:12px;background:#f8faf9}.human-advanced>summary{font-size:14px}.pending-ai-review>div{display:grid;gap:2px}.pending-ai-review small{font-size:12px}.human-primary-actions{margin-top:16px}.human-primary-actions button{min-height:42px}.source-message-details{margin-top:15px}.source-message-details>summary{font-size:13px;font-weight:700}

.help-marker{opacity:.7;transition:opacity .15s,transform .15s,background .15s}.app.guide-on .help-marker{opacity:1}.help-marker:hover,.help-marker:focus-visible,.help-marker[aria-expanded=true]{opacity:1}#context-help-popover{width:min(360px,calc(100vw - 24px));font-size:15px;line-height:1.5;transform:rotate(-.15deg);padding:14px 16px;background:#fffdf3}#context-help-popover::after{content:'Klik zadržava · Esc zatvara';display:block;margin-top:8px;color:#7b806e;font:600 10px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.03em}

.access-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.access-stats article{display:flex;align-items:baseline;gap:8px;padding:13px 15px;border:1px solid #dfe5e2;border-radius:11px;background:#fff}.access-stats b{font-size:24px;color:#245f48}.access-stats span{font-size:13px;color:var(--muted)}.access-table td{font-size:13px;line-height:1.45}.permission-chips span{font-size:11px;padding:4px 7px}.access-explainer{padding:0}.access-explainer>summary{padding:17px 20px;font-size:16px;font-weight:700;cursor:pointer}.access-explainer[open]>summary{border-bottom:1px solid var(--line)}.access-explainer>.permission-legend,.access-explainer>dl,.access-explainer>p,.access-explainer>.inline-notice{margin:15px 20px}.access-actions button{font-size:12px}.guide-welcome{font-size:13px;line-height:1.45}.guide-welcome-copy span{font-size:12px}

@media(max-width:1050px){:root{--sidebar:214px}.page-focus{grid-template-columns:1fr;padding:11px 20px}.page-focus-copy{display:flex;gap:9px;align-items:baseline}.page-focus ol{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.page-focus-hand{display:none}.myai-grid{grid-template-columns:1fr}.navigator-jump{top:0}.access-stats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){body{font-size:16px}.topbar{padding:15px 14px;min-height:78px}.title-line h1{font-size:21px}.subtitle{font-size:12px}.page-focus{padding:10px 14px;gap:9px}.page-focus-copy{display:grid;gap:1px}.page-focus ol{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:2px}.page-focus li{min-width:190px;scroll-snap-align:start}.content-scroll{padding:15px 12px}.myai-page{padding:12px}.myai-card{padding:16px}.human-summary{padding:17px}.human-summary h2{font-size:20px}.human-lead{font-size:15px}.navigator-jump{margin:10px 0;padding:6px}.human-meta{padding-left:0}.human-task-action,.human-task>details{margin-left:0}.human-task{padding:14px}.human-guard-grid{grid-template-columns:1fr}.access-stats{grid-template-columns:1fr}.access-stats article{padding:10px 12px}.message-meta span+span::before{display:none}.message-meta{display:grid;gap:2px}.topbar .actions button{min-height:40px}.toolbar{padding-left:14px;padding-right:14px}#context-help-popover{left:10px!important;right:10px!important;bottom:10px!important;top:auto!important;width:auto!important;max-height:45vh;overflow:auto;transform:none;border-radius:14px;font-size:15px}#context-help-arrow{display:none!important}.guide-welcome{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}.guide-control-anchor.guide-spotlight{animation:none!important}}

/* v1.10 replaces repetitive page-level handwritten notes with the persistent focus rail. */
.guide-page-note{display:none!important}

/* ================================================================
   MyAI CRM v2.0.0 — Contact Hub
   Product identity, avatar-first contact work, controlled discovery
   ================================================================ */
:root{
 --crm-green:#176b4d;
 --crm-green-strong:#0f553d;
 --crm-green-soft:#eaf5ef;
 --crm-green-pale:#f5faf7;
 --crm-navy:#111a31;
 --crm-border:#dfe6e3;
 --crm-panel:#fbfdfc;
 --crm-avatar:#dcefe5;
 --crm-avatar-ink:#176348;
 --crm-detail-width:500px;
}
.crm-app{--sidebar:220px;--detail:var(--crm-detail-width)}
.crm-app .main{background:#fff}
.crm-sidebar{padding-top:20px;background:linear-gradient(180deg,#f5f8f7 0,#eef2f1 100%)}
.crm-product-brand{display:block;padding:0 9px 22px;min-height:98px}
.crm-product-brand>strong{display:block;color:var(--crm-navy);font-size:24px;line-height:1.1;letter-spacing:-.75px;font-weight:760}
.crm-workspace-brand{display:flex;align-items:center;gap:9px;margin-top:12px;color:#121b2e}
.crm-workspace-brand img{width:30px;height:30px;display:block}
.crm-workspace-brand span{font-size:15px;font-weight:760;letter-spacing:-.25px}
.crm-product-brand>small{display:block;margin:7px 0 0 39px;color:#6f7e79;font-size:11px;line-height:1.35}
.crm-sidebar .nav{border-radius:9px;min-height:41px;color:#55645f}
.crm-sidebar .nav.active{box-shadow:0 3px 10px #234f3c10;border:1px solid #e1e7e4}
.crm-sidebar .mail-state{background:#fff;border-color:#dce5e1}
.crm-build-badge{width:100%;margin:0 0 10px;padding:9px 10px;border-color:#d3e2db;background:#f8fcfa;text-align:left}
.crm-build-badge>span:last-child{min-width:0;display:grid;gap:1px}
.crm-build-badge strong{overflow:hidden;text-overflow:ellipsis;font-size:12px;color:#214b3b}
.crm-build-badge small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.crm-topbar{min-height:92px;padding:20px 26px;background:#fff}
.crm-topbar h1{color:var(--crm-navy);font-size:27px}
.crm-header-actions{justify-content:flex-end;flex-wrap:wrap}
.crm-header-actions button{min-height:41px;border-radius:9px;padding:9px 13px}
.crm-header-actions button.primary{box-shadow:0 7px 16px #176b4d22}

/* Circular, WhatsApp-like visual identity for every contact/message. */
.crm-avatar{position:relative;display:inline-grid;place-items:center;overflow:hidden;flex:0 0 auto;border-radius:50%;background:linear-gradient(145deg,#dff1e7,#edf4ff);color:var(--crm-avatar-ink);font-weight:760;letter-spacing:.02em;border:1px solid #d8e5df;box-shadow:inset 0 0 0 2px #ffffff90}
.crm-avatar>img{width:100%;height:100%;display:block;object-fit:cover}
.crm-avatar>span{display:grid;place-items:center;width:100%;height:100%}
.crm-avatar-sm{width:34px;height:34px;font-size:11px}
.crm-avatar-md{width:44px;height:44px;font-size:13px}
.crm-avatar-lg{width:58px;height:58px;font-size:17px}
.crm-avatar-xl{width:78px;height:78px;font-size:22px}
.crm-contact-main{width:100%;padding:0;border:0;background:transparent;justify-content:flex-start;min-height:46px;text-align:left;gap:11px;overflow:hidden}
.crm-contact-main:hover{background:transparent}
.crm-contact-main>span{display:grid;min-width:0;gap:2px}
.crm-contact-main strong,.crm-contact-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crm-contact-main strong{font-size:13px;color:#17251f}
.crm-contact-main small{font-size:11px;color:#6e7d77}

/* Contact search and list. */
.crm-contact-toolbar{padding:14px 22px 12px;border-bottom:1px solid #e5ebe8;background:#fcfdfd;align-items:flex-end}
.crm-contact-toolbar .search{min-width:280px}
.crm-contact-toolbar .control-label,.crm-contact-toolbar .compact-control>span{display:flex;align-items:center;gap:5px;margin-bottom:4px;color:#66746f;font-size:10px;font-weight:720;text-transform:uppercase;letter-spacing:.055em}
.crm-contact-toolbar .search svg{top:31px}
.crm-contact-toolbar .search kbd{top:28px}
.crm-contact-toolbar .compact-control{display:grid;gap:0;min-width:132px}
.crm-contact-toolbar .compact-control select{width:100%;max-width:none}
.crm-contact-area{grid-template-columns:minmax(480px,1fr) minmax(430px,var(--crm-detail-width));background:#fff}
.crm-list-pane{background:#fff}
.crm-contact-tabs{gap:5px;padding:10px 21px;border-bottom:1px solid #e5ebe8;min-height:58px}
.crm-contact-tabs .tab,.crm-contact-tabs>button{border:1px solid #e0e7e4;border-radius:999px;min-height:35px;padding:7px 11px;background:#fff;color:#57655f}
.crm-contact-tabs .tab:hover,.crm-contact-tabs>button:hover{background:#f5f9f7;border-color:#cadbd2}
.crm-contact-tabs .tab.active{background:#e8f5ed;color:#155f45;border-color:#9ecbb6;box-shadow:none}
.crm-contact-tabs .tab span{display:inline-grid;place-items:center;min-width:20px;height:18px;padding:0 5px;margin-left:3px;border-radius:999px;background:#ffffffb8;color:#597066}
.crm-contact-table{table-layout:fixed}
.crm-contact-table th{background:#f8faf9;color:#65746e;text-transform:none;letter-spacing:.02em;font-size:11px;padding:10px 8px}
.crm-contact-table th:nth-child(2){width:29%}
.crm-contact-table th:nth-child(3){width:22%}
.crm-contact-table th:nth-child(4){width:22%}
.crm-contact-table th:nth-child(5){width:20%}
.crm-contact-table th:last-child{width:42px}
.crm-contact-table td{padding:11px 8px;overflow:hidden}
.crm-contact-table tbody tr{transition:background .13s ease,box-shadow .13s ease}
.crm-contact-table tbody tr:hover{background:#f7fbf9}
.crm-contact-table tbody tr.selected{background:#eaf6f0;box-shadow:inset 3px 0 var(--crm-green)}
.crm-org-cell,.crm-last-cell{font-size:12px}
.crm-org-cell strong,.crm-org-cell small,.crm-last-cell strong,.crm-last-cell small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crm-org-cell strong{color:#32463d;font-weight:650}
.crm-org-cell small,.crm-last-cell small{color:#718079;font-size:10px;margin-top:2px}
.crm-last-cell svg{width:12px;height:12px;margin-right:3px;vertical-align:-2px}
.crm-label-cell{white-space:normal}
.crm-tags{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:4px}
.crm-tags>span{display:inline-flex;align-items:center;border-radius:999px;padding:3px 7px;background:#eaf5ef;color:#27664f;font-size:10px;line-height:1.2}
.crm-more-cell{width:42px;text-align:center}
.crm-more-cell button{min-width:30px;width:30px;height:30px;min-height:30px;padding:5px}

/* Selected contact panel. */
.crm-detail-pane{padding:0;background:var(--crm-panel);border-left:1px solid #dfe7e3}
.crm-detail-empty{padding:30px;color:#73817b}
.crm-detail-head{position:relative;display:grid;grid-template-columns:78px minmax(0,1fr) auto;gap:15px;align-items:center;padding:23px 22px 17px;background:#fff;border-bottom:1px solid #e1e8e4}
.crm-detail-head>div:nth-child(2){min-width:0}
.crm-detail-head h2{font-size:21px;color:#15251e;line-height:1.2;overflow-wrap:anywhere}
.crm-detail-head p{margin-top:4px;color:#596b63;font-size:13px;font-weight:650}
.crm-detail-head>div:nth-child(2)>span{display:block;color:#79857f;font-size:12px;margin-top:1px}
.crm-detail-head .crm-tags{margin-top:9px;margin-bottom:0}
.crm-detail-head-actions{display:flex;gap:5px;align-self:start}
.crm-detail-tabs{display:flex;gap:4px;padding:10px 16px 0;background:#fff;border-bottom:1px solid #dfe7e3;overflow:auto}
.crm-detail-tabs button{border:0;border-bottom:3px solid transparent;border-radius:7px 7px 0 0;background:transparent;min-height:41px;color:#67766f;font-size:12px}
.crm-detail-tabs button:hover{background:#f5f9f7}
.crm-detail-tabs button.active{color:#135f45;border-bottom-color:#1f7958;background:#f3faf6}
.crm-detail-content{padding:16px 17px 30px}
.crm-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.crm-detail-card{border:1px solid #dfe7e3;border-radius:12px;padding:15px;background:#fff;min-width:0;box-shadow:0 1px 2px #142c2108}
.crm-detail-card h3{color:#253d32;font-size:14px;margin-bottom:12px}
.crm-span-2{grid-column:1/-1}
.crm-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.crm-card-head h2,.crm-card-head h3{margin:0}
.crm-detail-kv{display:grid;grid-template-columns:88px minmax(0,1fr);gap:9px 10px;margin:0;font-size:12px}
.crm-detail-kv dt{color:#718078}
.crm-detail-kv dd{margin:0;color:#263a31;min-width:0;overflow-wrap:anywhere}
.crm-detail-kv a{word-break:break-all}
.crm-photo-card{background:linear-gradient(155deg,#fff,#f8fcfa)}
.crm-photo-content{display:flex;align-items:center;gap:13px}
.crm-photo-actions{display:grid;gap:6px;min-width:0;flex:1}
.crm-photo-actions button{justify-content:flex-start;white-space:normal;text-align:left;min-height:34px;font-size:11px}
.crm-field-list{display:grid;gap:8px}
.crm-field-list>div{display:grid;gap:2px;padding:8px;border-radius:8px;background:#f7faf8}
.crm-field-list>div>span{display:flex;gap:6px;align-items:center;min-width:0}
.crm-field-list b{font-size:11px;overflow-wrap:anywhere}
.crm-field-list em{justify-self:start;border-radius:999px;padding:2px 6px;background:#e4f2ea;color:#2d6a52;font-style:normal;font-size:9px}
.crm-field-list small{font-size:10px}
.crm-last-detail,.crm-next-step{display:flex;gap:10px;align-items:flex-start}
.crm-last-detail>div,.crm-next-step>div{display:grid;gap:2px;min-width:0}
.crm-last-detail strong,.crm-next-step strong{font-size:12px}
.crm-last-detail span,.crm-next-step small{font-size:11px;color:#66746e;overflow-wrap:anywhere}
.crm-next-step>svg{color:#26815e}
.crm-phone{display:flex;align-items:center;gap:8px;min-height:36px}
.crm-phone strong{font-size:13px}
.crm-detail-tab-panel{border:1px solid #dfe7e3;border-radius:12px;background:#fff;padding:16px}
.crm-timeline{display:grid;gap:0;margin-top:13px}
.crm-timeline article{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px 0;border-top:1px solid #e7ece9}
.crm-timeline article>div{display:grid;min-width:0;gap:3px}
.crm-timeline span{font-size:10px;color:#75837d}
.crm-timeline strong{font-size:12px}
.crm-timeline p{font-size:11px;color:#64716c;line-height:1.5}
.crm-note{margin-top:14px;border-left:3px solid #92b9a5;padding:10px 12px;background:#f6faf8;border-radius:0 8px 8px 0}
.crm-note p{margin-top:4px;white-space:pre-wrap;font-size:12px}
.crm-photo-library{display:grid;gap:8px;margin-top:12px}
.crm-photo-library article{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px;border:1px solid #e0e7e4;border-radius:10px;background:#fff}
.crm-photo-library article.selected{background:#eef8f2;border-color:#b8d8c8}
.crm-photo-library article>div{display:grid;gap:2px;min-width:0}
.crm-photo-library strong,.crm-photo-library small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crm-photo-library button{font-size:10px;padding:4px 7px;min-height:29px}
.crm-action-list{display:grid;gap:8px}
.crm-action-list button,.crm-action-list a{justify-content:flex-start;width:100%}

/* Avatar-first mail views. */
.crm-mail-area{grid-template-columns:minmax(300px,390px) minmax(0,1fr)}
.crm-message-list{background:#fbfcfc}
.crm-message-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:11px;align-items:start;padding:14px 16px}
.crm-message-copy{display:grid;gap:1px;min-width:0}
.crm-message-copy>strong,.crm-message-copy>.subject,.crm-message-copy>.snippet,.crm-message-copy>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crm-message-copy>strong{font-size:13px;color:#1e352a}
.crm-message-copy>small{font-size:10px}
.crm-message-copy>.subject{font-size:12px;margin-top:2px}
.crm-message-copy>.mailbox-label{justify-self:start;font-size:9px;color:#367159;background:#edf6f1;border-radius:999px;padding:2px 6px}
.crm-message-copy>.snippet{font-size:10px;color:#7b8983;margin-top:2px}
.crm-message-row>time{font-size:9px;color:#7d8984;white-space:nowrap}
.crm-message-reader{padding:26px 30px}
.crm-reader-head{display:grid;grid-template-columns:58px minmax(0,1fr);gap:13px;align-items:start}
.crm-reader-head>div{min-width:0}
.crm-reader-head h2{font-size:21px;margin:0 0 7px}
.crm-reader-head p,.crm-reader-head>div>span,.crm-reader-head small{display:block;overflow-wrap:anywhere}
.crm-reader-head p{font-size:13px}
.crm-reader-head>div>span{font-size:12px;color:#51665c}
.crm-reader-head small{font-size:11px;margin-top:4px}
.crm-reader-actions{flex-wrap:wrap;margin:18px 0}
.crm-recipient{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:start}
.crm-recipient>span{display:grid;gap:1px;min-width:0}
.crm-recipient strong,.crm-recipient small,.crm-recipient em{overflow-wrap:anywhere}
.crm-recipient em{font-size:9px;color:#7b8781;font-style:normal}
.crm-outbox-table th:first-child{width:28%}

/* Dashboard and contact tooling. */
.crm-dashboard{max-width:1500px}
.crm-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.crm-stat-grid article{display:flex;gap:12px;align-items:center;border:1px solid #dfe7e3;border-radius:13px;background:#fff;padding:17px;box-shadow:0 3px 12px #173b2a08}
.crm-stat-grid article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e9f5ef;color:#17664a}
.crm-stat-grid b{display:block;color:#17382a;font-size:23px;line-height:1}
.crm-stat-grid small{display:block;margin-top:4px}
.crm-dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.crm-dashboard-grid .settings-card{margin:0}
.crm-mini-list{display:grid;margin-top:12px}
.crm-mini-list>button{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;justify-content:stretch;text-align:left;padding:10px 4px;border:0;border-top:1px solid #e7ece9;border-radius:0;min-width:0}
.crm-mini-list>button>span{display:grid;min-width:0;gap:2px}
.crm-mini-list strong,.crm-mini-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crm-mini-list time{font-size:10px;color:#78857f}
.crm-safe-state{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:16px!important;background:#fffaf0;border-color:#ecdda9}
.crm-safe-state>div{display:flex;align-items:center;gap:10px}
.crm-safe-state>div>span{display:grid;gap:2px}

.crm-format-grid,.crm-export-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
.crm-format-grid article,.crm-export-options article{display:grid;gap:4px;border:1px solid #dfe7e3;border-radius:11px;padding:14px;background:#f9fbfa}
.crm-format-grid span,.crm-export-options p{font-size:12px;color:#68766f}
.crm-file-drop{position:relative;display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:10px;min-height:110px;margin-top:14px;border:2px dashed #b9d1c5!important;border-radius:12px;background:#f7fbf9;color:#23664c;cursor:pointer}
.crm-file-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}
.crm-segment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.crm-segment-grid button{display:grid;text-align:left;justify-content:stretch;gap:3px;white-space:normal;min-height:76px;padding:13px}
.crm-segment-grid button.selected{background:#e9f5ef;border-color:#99c7af}
.crm-segment-grid span{font-size:11px;color:#6a7771}
.crm-crawler-results{margin-top:18px;border-top:1px solid #e2e8e5;padding-top:16px}
.crm-crawler-summary{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.crm-crawler-summary span{font-size:11px;color:#6e7b75}
.crm-crawler-pages{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.crm-crawler-pages a{display:inline-flex;align-items:center;gap:5px;max-width:100%;border:1px solid #dfe7e3;border-radius:999px;padding:4px 8px;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crm-crawler-list{display:grid;gap:8px}
.crm-crawler-list article{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;gap:10px;align-items:center;border:1px solid #dfe7e3;border-radius:11px;padding:10px;background:#fff}
.crm-crawler-list article>div{display:grid;min-width:0;gap:2px}
.crm-crawler-list strong,.crm-crawler-list span,.crm-crawler-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crm-crawler-list span{font-size:11px;color:#52655b}
.crm-crawler-list small{font-size:10px;color:#7a8781}
.crm-crawler-list .button-link{font-size:11px}
.crm-photo-intro{display:flex;align-items:center;gap:14px;padding:12px;border-radius:11px;background:#f5faf7;margin-bottom:15px}
.crm-photo-intro p{font-size:12px;color:#56675f}
.crm-advanced-source{border:1px solid #dfe7e3;border-radius:9px;padding:10px 12px}
.crm-advanced-source summary{font-size:12px;font-weight:650;cursor:pointer}
.crm-source-candidates{display:grid;gap:8px;margin-top:10px}
.crm-source-candidates article{display:flex;justify-content:space-between;gap:10px;border:1px solid #e1e7e4;border-radius:9px;padding:10px}
.crm-source-candidates article>div{display:grid}
.crm-source-candidates small{font-size:10px}

/* Login follows product/workspace hierarchy. */
.crm-login .crm-product-brand{min-height:0;margin-bottom:24px;padding:0}
.crm-login .crm-product-brand>strong{font-size:29px}
.crm-login .crm-product-brand>small{margin-left:39px}

@media(max-width:1320px){
 .crm-app{--sidebar:198px;--crm-detail-width:440px}
 .crm-contact-toolbar{padding-left:16px;padding-right:16px}
 .crm-contact-tabs{padding-left:15px;padding-right:15px}
 .crm-contact-table th:nth-child(4),.crm-contact-table td:nth-child(4){display:none}
 .crm-detail-head{padding-left:18px;padding-right:18px}
 .crm-detail-content{padding-left:13px;padding-right:13px}
 .crm-product-brand>strong{font-size:21px}
 .crm-header-actions button{padding-left:10px;padding-right:10px;font-size:12px}
}
@media(max-width:1120px){
 .crm-app{--sidebar:184px}
 .crm-contact-area{grid-template-columns:minmax(0,1fr)}
 .crm-contact-area .crm-detail-pane{display:none}
 .crm-contact-area.detail-open .crm-detail-pane{display:block;position:fixed;top:0;right:0;bottom:0;width:min(520px,100vw);z-index:13;box-shadow:-18px 0 55px #142c2130}
 .crm-contact-table th:nth-child(4),.crm-contact-table td:nth-child(4){display:table-cell}
 .crm-product-brand>strong{font-size:19px}
 .crm-workspace-brand span{font-size:13px}
 .crm-product-brand>small{margin-left:37px;font-size:10px}
 .crm-dashboard-grid{grid-template-columns:1fr}
}
@media(max-width:900px){
 .crm-header-actions{max-width:520px}
 .crm-header-actions button{font-size:0;min-width:41px;padding:9px}
 .crm-header-actions button svg{margin:0}
 .crm-header-actions button.primary{font-size:12px;padding-left:11px;padding-right:11px}
 .crm-contact-table th:nth-child(3),.crm-contact-table td:nth-child(3){display:none}
 .crm-mail-area{grid-template-columns:320px minmax(0,1fr)}
 .crm-detail-grid{grid-template-columns:1fr}
 .crm-span-2{grid-column:auto}
 .crm-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .crm-sidebar{width:255px}
 .crm-product-brand>strong{font-size:23px}
 .crm-workspace-brand span{font-size:15px}
 .crm-topbar{align-items:flex-start}
 .crm-topbar h1{font-size:22px}
 .crm-header-actions{gap:5px}
 .crm-contact-toolbar{align-items:stretch;padding:10px 12px}
 .crm-contact-toolbar .search{min-width:100%;flex-basis:100%}
 .crm-contact-toolbar .compact-control{flex:1;min-width:calc(50% - 5px)}
 .crm-contact-tabs{padding:8px 12px;min-height:52px}
 .crm-contact-table th:nth-child(3),.crm-contact-table td:nth-child(3),.crm-contact-table th:nth-child(4),.crm-contact-table td:nth-child(4),.crm-contact-table th:nth-child(5),.crm-contact-table td:nth-child(5){display:none}
 .crm-contact-table th:nth-child(2){width:auto}
 .crm-contact-table th:last-child{width:38px}
 .crm-contact-main strong{font-size:14px}
 .crm-contact-main small{font-size:12px}
 .crm-avatar-md{width:46px;height:46px}
 .crm-contact-area.detail-open .crm-detail-pane{width:100%;border:0}
 .crm-detail-head{grid-template-columns:66px minmax(0,1fr);padding:18px 15px}
 .crm-detail-head>.crm-avatar-xl{width:66px;height:66px}
 .crm-detail-head-actions{grid-column:1/-1;justify-content:flex-end}
 .crm-detail-tabs{padding-left:8px;padding-right:8px}
 .crm-detail-tabs button{font-size:11px;padding:8px 9px}
 .crm-detail-content{padding:11px 10px 24px}
 .crm-detail-grid{grid-template-columns:1fr}
 .crm-photo-content{align-items:flex-start}
 .crm-message-row{grid-template-columns:46px minmax(0,1fr);padding:13px 14px}
 .crm-message-row>time{display:none}
 .crm-mail-area{grid-template-columns:1fr}
 .crm-message-reader{padding:17px 15px}
 .crm-reader-head{grid-template-columns:48px minmax(0,1fr)}
 .crm-reader-head .crm-avatar-lg{width:48px;height:48px}
 .crm-reader-head h2{font-size:18px}
 .crm-reader-actions{display:grid;grid-template-columns:1fr 1fr}
 .crm-reader-actions button{white-space:normal}
 .crm-stat-grid{grid-template-columns:1fr 1fr;gap:8px}
 .crm-stat-grid article{padding:12px;gap:9px}
 .crm-stat-grid article>span{width:36px;height:36px}
 .crm-stat-grid b{font-size:20px}
 .crm-safe-state{align-items:flex-start;flex-direction:column}
 .crm-format-grid,.crm-export-options,.crm-segment-grid{grid-template-columns:1fr}
 .crm-crawler-summary{display:grid}
 .crm-crawler-list article{grid-template-columns:44px minmax(0,1fr)}
 .crm-crawler-list article>a,.crm-crawler-list article>button{grid-column:2;justify-self:start}
 .crm-photo-library article{grid-template-columns:50px minmax(0,1fr)}
 .crm-photo-library article>button{grid-column:2;justify-self:start}
}
@media(max-width:430px){
 .crm-stat-grid{grid-template-columns:1fr}
 .crm-contact-toolbar .compact-control{min-width:100%}
 .crm-header-actions button.primary{font-size:0;min-width:41px;padding:9px}
 .crm-reader-actions{grid-template-columns:1fr}
 .crm-detail-tabs{gap:0}
 .crm-detail-tabs button{padding-left:7px;padding-right:7px}
}


/* MyAI CRM v2.0.1 — Doseg 22.09. */
.outreach-shell{padding:18px 22px 34px;max-width:1600px;margin:0 auto}.outreach-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 16px;padding:5px;background:#edf3f0;border:1px solid #d6e3dc;border-radius:14px}.outreach-tabs button{border:0;background:transparent;padding:10px 14px;border-radius:10px;color:#38534a;font-weight:750}.outreach-tabs button.active{background:#fff;color:#0b3527;box-shadow:0 1px 4px #0c382516}.outreach-tabs span{display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;margin-left:5px;border-radius:99px;background:#e5efe9;font-size:12px}.outreach-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:16px}.outreach-grid.overview .outreach-hero,.outreach-grid.overview .outreach-metrics,.outreach-grid.overview .outreach-buckets{grid-column:1/-1}.outreach-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:28px 32px;border-radius:18px;border:1px solid #cfe2d7;background:linear-gradient(135deg,#f4faf6,#eef7f1 58%,#fff9e8)}.outreach-hero h2{font-size:clamp(26px,2.5vw,42px);line-height:1.08;max-width:860px;margin:8px 0 10px}.outreach-hero p{max-width:820px;font-size:16px;line-height:1.55;color:#536760}.eyebrow{font-size:11px;letter-spacing:.13em;font-weight:850;color:#27654e}.outreach-countdown{min-width:150px;text-align:center;padding:18px;border-radius:16px;background:#fff;border:1px solid #d9e6df}.outreach-countdown strong{display:block;font-size:54px;line-height:1;color:#0d6244}.outreach-countdown span{font-weight:700;color:#596c65}.outreach-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.outreach-metric{padding:15px 16px;border:1px solid #dfe7e3;border-radius:14px;background:#fff}.outreach-metric span,.outreach-metric small{display:block;color:#66776f}.outreach-metric strong{display:block;font-size:27px;margin:3px 0;color:#172820}.outreach-metric.good{background:#f0faf4;border-color:#bfe0cc}.outreach-metric.warn{background:#fff9e8;border-color:#ecd79c}.outreach-metric.bad{background:#fff6f4;border-color:#eccbc5}.outreach-card{background:#fff;border:1px solid #dfe7e3;border-radius:16px;padding:20px}.outreach-card h2{margin:5px 0 8px}.outreach-card-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:14px}.outreach-card-head .actions{display:flex;gap:8px;flex-wrap:wrap}.outreach-funnel-bars{display:grid;gap:15px}.outreach-funnel-bars>div>span{display:flex;justify-content:space-between;margin-bottom:6px}.outreach-funnel-bars em{font-style:normal;color:#64776e}.outreach-funnel-bars i{display:block;height:9px;background:#e8efeb;border-radius:99px;overflow:hidden}.outreach-funnel-bars u{display:block;height:100%;background:#2a7a59;border-radius:99px;text-decoration:none}.outreach-checklist{list-style:none;padding:0;margin:0;display:grid;gap:8px}.outreach-checklist li{display:grid;grid-template-columns:24px 1fr auto;align-items:center;padding:10px 12px;border-radius:10px;background:#f5f7f6}.outreach-checklist li.pass{background:#eff8f2}.outreach-checklist li.pending{background:#fff9e8}.outreach-checklist b{font-size:12px}.bucket-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.bucket-grid button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:128px;padding:15px;border:1px solid #dce6e1;border-radius:13px;background:#fbfdfc}.bucket-grid button:hover{border-color:#7bb197;background:#f2f9f5}.bucket-grid strong{font-size:15px}.bucket-grid span{margin:7px 0;color:#146849;font-weight:750}.bucket-grid small{line-height:1.35;color:#64766f}.outreach-action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.outreach-action-grid button{display:grid;grid-template-columns:28px 1fr;column-gap:10px;text-align:left;align-items:start;padding:16px;border:1px solid #dce6e1;border-radius:13px;background:#fbfdfc}.outreach-action-grid button .ico{grid-row:1/3;width:22px;height:22px;color:#1b7653}.outreach-action-grid button strong,.outreach-action-grid button span{display:block}.outreach-action-grid button span{font-weight:400;color:#63766e;margin-top:3px}.outreach-disclaimer{margin:20px 4px;color:#62736c;font-size:12px}.outreach-list-card{background:#fff;border:1px solid #dfe7e3;border-radius:16px;overflow:hidden}.outreach-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 220px 260px auto;gap:10px;padding:14px;border-bottom:1px solid #e2e9e5}.outreach-toolbar select{min-height:42px}.outreach-table{width:100%;border-collapse:collapse}.outreach-table th,.outreach-table td{padding:13px 12px;text-align:left;border-bottom:1px solid #edf1ef;vertical-align:middle}.outreach-table th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#61736b}.outreach-table th:first-child,.outreach-table td:first-child{width:38px}.outreach-table th:last-child,.outreach-table td:last-child{width:95px}.outreach-person{display:flex;align-items:center;gap:11px}.outreach-person span{display:flex;flex-direction:column;min-width:0}.outreach-person small,.outreach-person em,.outreach-table td>small,.outreach-table td>em{display:block;font-style:normal;color:#6a7b74;font-size:12px;margin-top:3px}.outreach-status{display:inline-flex;padding:5px 8px;border-radius:99px;font-size:11px;font-weight:800}.outreach-status.ready{background:#e6f6ec;color:#16613f}.outreach-status.review{background:#fff3cf;color:#795600}.outreach-status.blocked{background:#fde9e5;color:#9a3224}.outreach-status.done{background:#e8eef6;color:#385677}.outreach-list-card .pager{padding:12px 15px}.outreach-list-card .pager>div{display:flex;align-items:center;gap:8px}.outreach-review-head{display:flex;align-items:center;gap:14px;margin-bottom:16px}.outreach-review-head h2{margin:0}.outreach-review-head p{margin:3px 0}.outreach-evidence{display:grid;gap:6px;padding:13px;border-radius:12px;background:#f5f8f6;margin-top:14px}.outreach-evidence span{font-size:12px}.candidate-list,.source-list,.snapshot-list{display:grid;gap:9px}.candidate-list article{display:grid;grid-template-columns:minmax(260px,1.2fr) minmax(220px,.8fr) 180px auto;gap:12px;align-items:center;padding:12px;border:1px solid #e1e8e4;border-radius:12px}.candidate-main{display:flex;gap:10px;align-items:center}.candidate-main>div,.candidate-source,.candidate-state{display:flex;flex-direction:column;gap:3px}.candidate-main span,.candidate-main small,.candidate-source small,.candidate-state small{color:#65776f;font-size:12px}.candidate-source a{word-break:break-all}.source-list article{display:grid;grid-template-columns:minmax(0,1fr) 140px auto;gap:14px;align-items:center;padding:13px;border:1px solid #e1e8e4;border-radius:12px}.source-list article>div:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}.source-list a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.outreach-save-crawler{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;margin-bottom:12px;border-radius:10px;background:#edf8f2}.candidate-kv{display:grid;grid-template-columns:120px 1fr;gap:8px 12px;padding:12px;border-radius:10px;background:#f6f8f7}.candidate-kv dt{font-weight:750}.candidate-kv dd{margin:0}.snapshot-buckets{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:16px 0}.snapshot-buckets label{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #e0e8e4;border-radius:10px}.snapshot-buckets span{display:flex;flex-direction:column}.snapshot-buckets small{color:#687970}.snapshot-list article{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:12px;border:1px solid #e0e8e4;border-radius:10px}.snapshot-list small,.snapshot-list code{color:#687970;font-size:11px}.snapshot-list code{grid-column:1/-1}.outreach-shell textarea#outreach-handoff-text{width:100%;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.inline-notice.amber{background:#fff7dc;border-color:#ead48d;color:#5d4a12}
@media(max-width:1180px){.outreach-metrics{grid-template-columns:repeat(3,1fr)}.bucket-grid{grid-template-columns:repeat(3,1fr)}.outreach-toolbar{grid-template-columns:1fr 1fr}.outreach-toolbar .search{grid-column:1/-1}.candidate-list article{grid-template-columns:1fr 1fr}.candidate-list .actions{grid-column:1/-1}.outreach-grid{grid-template-columns:1fr}.outreach-grid.overview>*{grid-column:1}.outreach-grid.overview .outreach-hero,.outreach-grid.overview .outreach-metrics,.outreach-grid.overview .outreach-buckets{grid-column:1}}
@media(max-width:760px){.outreach-shell{padding:12px}.outreach-tabs{overflow-x:auto;flex-wrap:nowrap}.outreach-tabs button{white-space:nowrap}.outreach-hero{align-items:flex-start;padding:20px;flex-direction:column}.outreach-countdown{min-width:0;width:100%;text-align:left;display:flex;align-items:baseline;gap:10px}.outreach-countdown strong{font-size:38px}.outreach-metrics{grid-template-columns:repeat(2,1fr)}.bucket-grid,.outreach-action-grid,.snapshot-buckets{grid-template-columns:1fr}.outreach-toolbar{grid-template-columns:1fr}.outreach-toolbar .search{grid-column:auto}.outreach-table thead{display:none}.outreach-table,.outreach-table tbody,.outreach-table tr,.outreach-table td{display:block}.outreach-table tr{position:relative;padding:12px;border-bottom:1px solid #e3eae6}.outreach-table td{border:0;padding:5px 0}.outreach-table td:first-child{position:absolute;right:12px;top:12px}.outreach-table td:last-child{width:auto}.candidate-list article,.source-list article{grid-template-columns:1fr}.candidate-list .actions,.source-list .actions{grid-column:auto}.outreach-card-head{flex-direction:column}.outreach-card-head .actions{width:100%}.outreach-card-head .actions button{flex:1}.outreach-grid.snapshot{grid-template-columns:1fr}}
@media(max-width:560px){.crm-topbar{flex-direction:column;align-items:stretch;gap:11px;height:auto}.crm-topbar>div:first-child{width:100%}.crm-header-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;width:100%;gap:6px}.crm-header-actions button{width:100%;min-width:0;font-size:12px;padding:8px 7px}.crm-header-actions button:last-child{font-size:0;padding:8px}.crm-header-actions button:last-child svg{margin:0}}

/* MyAI CRM v2.0.2 — dynamic test team + attachment review + crawler resilience */
.safety-team-rows{display:grid;gap:10px;margin:20px 0 12px}.safety-team-row{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(260px,1.2fr) auto;gap:10px;align-items:end;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fbfcfd}.safety-team-row .field{margin:0}.safety-team-row>button{margin-bottom:1px}.safety-team-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}
.attachment-preview-list{display:grid;gap:8px;margin-top:16px}.attachment-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:#fff;max-width:520px;cursor:pointer;text-align:left}.attachment-card:hover{background:#f7faf8;border-color:#bfd3c7}.attachment-visual{width:48px;height:48px;border-radius:7px;background:#f0f3f5;display:grid;place-items:center;overflow:hidden}.attachment-visual img{width:100%;height:100%;object-fit:cover}.attachment-file-icon{color:#61727d}.attachment-copy{min-width:0;display:grid;gap:2px}.attachment-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.attachment-copy small{font-size:10px}.attachment-remove{width:29px;min-width:29px;height:29px;padding:0;border:0}.compose-attachments .attachment-preview-list{margin-top:0}.attachment-full-preview{display:grid;gap:14px;justify-items:center}.attachment-full-preview img{max-width:100%;max-height:65dvh;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#f7f8f9}.attachment-download{display:inline-flex;align-items:center;gap:7px}.crawler-warning{border:1px solid #e3c581;background:#fff7df;color:#725823;border-radius:8px;padding:13px 15px;margin:14px 0}.crawler-warning p{margin-top:7px}.crawler-warning small{color:#8d7a52;overflow-wrap:anywhere}
@media(max-width:700px){.safety-team-row{grid-template-columns:1fr}.safety-team-row>button{justify-self:start}.attachment-card{max-width:100%}}
