:root{--bg:#f6f7f9;--paper:#fff;--ink:#222b39;--muted:#7b8493;--line:#e8ebf0;--accent:#5368db;--soft:#eef1ff;--green:#33876a;--amber:#a67929;--radius:12px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea,select{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button{border:0}a{color:var(--accent);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #a8b6ff;outline-offset:3px}button,input,select,textarea{transition:background .15s,border-color .15s}button svg{width:17px;height:17px;flex-shrink:0}svg{vertical-align:middle;stroke-width:1.7}.topbar{height:88px;background:#fff;border-bottom:1px solid var(--line);padding:0 4.5%;display:flex;align-items:center;gap:64px}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);font-size:22px;font-weight:750;letter-spacing:-.8px}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:var(--accent);color:white;font-size:27px;line-height:1}.brand-caption{display:block;color:var(--muted);font-size:10px;letter-spacing:.15px;font-weight:450;margin-top:3px}.topbar nav{display:flex;height:100%;gap:26px}.nav{background:none;color:var(--muted);padding:0 3px;position:relative;font-weight:550}.nav.active{color:var(--accent)}.nav.active:after{content:"";position:absolute;bottom:0;height:3px;left:0;right:0;background:var(--accent);border-radius:3px 3px 0 0}.account{margin-left:auto;display:flex;align-items:center;gap:10px;font-size:13px}.avatar{display:inline-grid;place-items:center;background:#edf0f5;border-radius:50%;height:33px;width:33px;font-weight:600;color:#69758a}.avatar.large{width:44px;height:44px;background:#f0edfa;color:#8274a1}main{max-width:1450px;margin:auto;padding:42px 4.5% 24px;min-height:calc(100vh - 150px)}h1{margin:0;font-size:30px;font-weight:650;letter-spacing:-1px}h2{margin:0;font-size:20px;letter-spacing:-.4px}h3{margin:0;font-size:14px;font-weight:650}p{line-height:1.6}small,.muted{color:var(--muted)}.subtitle{margin:9px 0 0;color:var(--muted);font-size:14px}.heading,.between,.row{display:flex;align-items:center;gap:12px}.heading,.between{justify-content:space-between}.heading{margin-bottom:30px}.actions{display:flex;gap:10px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:white;border:1px solid #dfe3eb;padding:10px 15px;border-radius:8px;font-size:13px;font-weight:550;white-space:nowrap}.btn:hover{background:#f4f6fb;border-color:#cbd2df}.btn.primary{color:white;background:var(--accent);border-color:var(--accent);box-shadow:0 2px 3px #5368db12}.btn.primary:hover{background:#455bc9}.btn.ghost{border-color:transparent;background:transparent;color:var(--muted)}.btn.small{padding:7px 11px;font-size:12px}.btn.danger{color:#b65e62}.section-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:22px}.tab{display:flex;gap:9px;align-items:center;padding:9px 14px;border-radius:8px;background:transparent;color:#778191;font-size:13px}.tab b{font-size:11px;background:#e9ecf1;padding:2px 6px;border-radius:5px;font-weight:550}.tab.active{background:#e9edfd;color:var(--accent);font-weight:600}.tab.active b{background:#dce2fc}.workspace{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 3px 6px #26385802}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line)}.search{display:flex;align-items:center;gap:9px;color:#8e98a6;width:min(450px,65%)}.search svg{width:18px;flex-shrink:0}.search input{background:transparent;border:0;outline:0;width:100%;font-size:13px;padding:5px 0}.search:focus-within{color:var(--accent)}.toolbar-note{color:var(--muted);font-size:12px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:11px;font-weight:500;color:#939baa;padding:14px 22px;background:#fcfcfd;border-bottom:1px solid var(--line)}td{padding:22px;border-bottom:1px solid #eef0f4;font-size:13px;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfcff}.project-link{background:none;padding:0;color:var(--ink);font-size:14px;font-weight:650;text-align:left}.project-link:hover{color:var(--accent)}.project-meta{display:block;font-size:11px;margin-top:7px;color:#939baa}.request-cell{max-width:320px;width:30%;line-height:1.65;color:#687385}.request-cell span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.status{display:inline-flex;align-items:center;gap:7px;font-size:11px;white-space:nowrap;border-radius:5px;padding:5px 8px;background:#f3f4f7;color:#818997}.status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.status.new{background:#edf1ff;color:#6478d9}.status.match{background:#fcf5e8;color:#ac8740}.status.scheduled{background:#eaf6f0;color:#4c9479}.status.done{background:#f0f1f5;color:#858b99}.next-action{background:none;color:var(--accent);font-size:12px;padding:7px 0;white-space:nowrap}.next-action:hover{text-decoration:underline}.meeting-date{font-size:12px;line-height:1.7}.meeting-date small{display:block;font-size:11px}.table-bottom{display:flex;justify-content:space-between;padding:16px 22px;border-top:1px solid var(--line);font-size:11px;color:#929baa}.quiet-tip{display:flex;align-items:center;gap:8px;margin-top:17px;color:#969ead;font-size:11px}.quiet-tip svg{width:14px}.page-footer{max-width:1450px;margin:auto;padding:14px 4.5% 24px;color:#99a1ae;font-size:10px;display:flex;justify-content:space-between;gap:15px}.local-dot{display:inline-block;width:5px;height:5px;background:#93b4a8;border-radius:50%;margin-right:5px}dialog{border:0;padding:0;color:var(--ink);box-shadow:0 14px 70px #25314a22}dialog::backdrop{background:#25314a38;backdrop-filter:blur(2px)}.drawer{position:fixed;margin:0 0 0 auto;top:0;right:0;height:100dvh;max-height:100dvh;width:600px;max-width:100vw;border-left:1px solid var(--line);overflow:auto}.drawer-head{position:sticky;top:0;background:#fffffff5;z-index:1;padding:22px 28px;border-bottom:1px solid var(--line)}.icon-btn{display:inline-grid;place-items:center;width:31px;height:31px;border-radius:7px;background:transparent;color:var(--muted);font-size:20px}.icon-btn:hover{background:#f0f2f7}.drawer-content{padding:26px 28px}.drawer-content h1{font-size:26px;margin:12px 0}.detail-section{padding:23px 0;border-bottom:1px solid var(--line)}.detail-section:first-child{padding-top:0}.request-box{background:#f5f6fe;border:1px solid #e9ecfc;padding:20px;border-radius:10px;margin-top:22px}.request-box h3{color:var(--accent);font-size:12px}.request-box p{font-size:15px;line-height:1.65;margin:10px 0 0;white-space:pre-line}.detail-section p{color:#697386;font-size:13px;margin:10px 0;white-space:pre-line}.tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.tag{background:#f3f4f8;color:#7c8595;font-size:11px;border-radius:5px;padding:5px 8px}.contact-line{display:flex;gap:16px;flex-wrap:wrap;margin-top:10px;font-size:13px}.note{width:100%;resize:vertical;min-height:90px;margin-top:12px}.field{display:block;margin:16px 0;font-size:12px;color:#717d90}.field input,.field textarea,.field select,.note{display:block;width:100%;border:1px solid #dfe4ec;border-radius:8px;background:#fff;padding:11px 12px;color:var(--ink);outline:none;margin-top:7px}.field input:focus,.field textarea:focus,.field select:focus,.note:focus{border-color:#9aa8ec;box-shadow:0 0 0 3px #5368db0a}.field textarea{min-height:95px;resize:vertical}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}.modal{width:540px;max-width:calc(100vw - 28px);max-height:90dvh;border-radius:16px;padding:26px}.modal .subtitle{font-size:13px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.form-error{color:#b35d62;font-size:12px;line-height:1.6}.expert-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.empty{text-align:center;padding:65px 22px}.empty p{color:var(--muted);font-size:13px}.schedule-group{margin-top:24px}.schedule-group>h3{color:#7e899b;font-size:12px;margin-bottom:12px}.schedule-item{padding:22px;display:flex;align-items:center;gap:24px;border:1px solid var(--line);border-radius:10px;background:white;margin-bottom:10px}.schedule-time{color:var(--accent);font-size:20px;min-width:65px}.schedule-info{flex:1}.schedule-info small{display:block;margin-top:7px}.dropzone{display:grid;place-items:center;text-align:center;background:#fafbff;border:1.5px dashed #cbd3ef;border-radius:10px;padding:32px 18px;margin-top:22px;cursor:pointer}.dropzone:hover{background:#f3f5ff}.dropzone svg{width:28px;height:28px;color:var(--accent)}.dropzone strong{display:block;margin:14px 0 8px;font-size:14px}.dropzone small{font-size:11px}.import-summary{background:var(--soft);padding:14px;border-radius:8px;font-size:13px;line-height:1.7;margin:18px 0}.import-preview{max-height:230px;overflow:auto;border:1px solid var(--line);border-radius:8px}.import-preview td{padding:12px;font-size:12px}.import-preview th{padding:12px}.help{font-size:11px;color:var(--muted);line-height:1.7}.history{padding-left:18px;color:var(--muted);font-size:12px;line-height:1.8}details summary{cursor:pointer;font-size:12px;color:var(--muted);padding:6px 0}.details-kv{display:grid;grid-template-columns:100px 1fr;gap:10px;font-size:12px;line-height:1.6;margin-top:14px;overflow-wrap:anywhere}.details-kv dt{color:var(--muted)}.details-kv dd{margin:0}.raw{font:11px/1.6 monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f8fb;padding:12px;border-radius:8px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,16px);padding:13px 20px;border-radius:10px;background:#293346;color:white;font-size:13px;opacity:0;pointer-events:none;transition:.2s;z-index:10;box-shadow:0 5px 20px #25314a22;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1550px){main{padding-top:52px}td{padding-top:26px;padding-bottom:26px}}
@media(max-width:1050px){.topbar{gap:30px}.request-cell{max-width:240px}td,th{padding-left:15px;padding-right:15px}.expert-grid{grid-template-columns:repeat(2,1fr)}.toolbar-note{display:none}}
@media(max-width:760px){.topbar{height:auto;padding:18px 20px 0;flex-wrap:wrap;gap:16px}.topbar nav{order:3;height:42px;width:100%;gap:28px}.account{font-size:0}.brand{font-size:20px}.heading{align-items:flex-start;gap:18px;flex-direction:column}main{padding:28px 18px 18px}h1{font-size:26px}.actions{width:100%}.actions .btn{flex:1;padding:10px}.subtitle{font-size:12px}.toolbar{padding:15px}.search{width:100%}table{min-width:680px}.section-tabs{gap:2px}.tab{padding:8px 9px;font-size:12px}.expert-grid{grid-template-columns:1fr}.page-footer{padding:14px 18px;flex-direction:column;gap:7px}.drawer-content,.drawer-head{padding-left:22px;padding-right:22px}.modal{padding:22px}.schedule-item{gap:15px;flex-wrap:wrap}.schedule-item .btn{margin-left:80px}.two-cols{grid-template-columns:1fr;gap:0}.table-bottom{gap:15px}.quiet-tip{line-height:1.7}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@media(max-width:600px){#project-table table{min-width:0;display:block}#project-table thead{display:none}#project-table tbody{display:block}#project-table tr{display:grid;grid-template-columns:1fr 1fr;padding:19px 17px;border-bottom:1px solid var(--line);gap:12px}#project-table td{padding:0;border:0;min-width:0}#project-table td:first-child{grid-column:1/-1}#project-table .request-cell{grid-column:1/-1;max-width:none;width:auto;font-size:12px}#project-table td:nth-child(4){font-size:11px;text-align:right;align-self:center}#project-table td:last-child{grid-column:1/-1}#project-table .next-action{padding:2px 0}.import-preview table{min-width:0}.table-bottom{line-height:1.6}.toolbar .btn{padding-right:0}.search input{font-size:12px}}
.preview-bar{background:#edf0f8;border-bottom:1px solid #e1e5f0;display:flex;align-items:center;justify-content:center;gap:18px;padding:9px 20px;font-size:11px;color:#8991a2}.preview-bar>span{font-weight:550;color:#778197}.preview-bar small{font-size:10px;color:#a0a7b7}.preview-roles{display:flex;background:#e3e7f1;padding:3px;border-radius:7px;gap:2px}.preview-roles button{background:transparent;color:#7e889c;font-size:11px;padding:6px 13px;border-radius:5px}.preview-roles button.active{color:var(--accent);background:#fff;box-shadow:0 1px 3px #25314a0a}.portal-header-label{color:var(--muted);font-size:13px}.participant-main{max-width:1180px}.portal-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}.portal-stack{display:flex;flex-direction:column;gap:22px}.portal-panel{background:white;border:1px solid var(--line);border-radius:12px;padding:26px}.portal-panel h2{font-size:19px;margin:9px 0 0}.portal-panel p{font-size:13px;line-height:1.75}.eyebrow{font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:#8b94a5;font-weight:550}.meeting-hero{background:linear-gradient(135deg,#f0f2ff,#f8f9ff);border:1px solid #e0e5fc;border-radius:14px;padding:28px}.meeting-hero .eyebrow{color:#7b88c3}.hero-date{font-size:37px;letter-spacing:-1.2px;font-weight:650;margin-top:26px;color:#37478e}.hero-date>span{font-weight:450;color:#7583b6;font-size:28px}.hero-meta{color:#8a94b2;margin:8px 0 24px;font-size:12px}.hero-person{display:flex;align-items:center;gap:12px}.hero-person .avatar{background:#e4e8fa;color:#7a85b2}.hero-person strong{font-size:14px;font-weight:550}.hero-person small{display:block;color:#8a94b2;font-size:11px;margin-top:4px}.hero-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:26px}.hero-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:18px;margin-top:23px;border-top:1px solid #dfe5f9}.text-button{padding:0;background:transparent;color:var(--accent);font-size:11px;display:inline-flex;gap:6px;align-items:center}.text-button:hover{text-decoration:underline}.text-button svg{width:14px;height:14px}.meeting-location{color:#8793b4;font-size:12px;line-height:1.6}.prep-list{list-style:none;padding:0;margin:23px 0 0;display:grid;gap:22px}.prep-list li{display:flex;align-items:flex-start;gap:12px}.prep-list li>span{display:grid;place-items:center;color:#8996d0;background:#f0f2fb;width:24px;height:24px;border-radius:50%;flex-shrink:0;font-size:11px}.prep-list strong{font-size:12px;font-weight:550}.prep-list p{font-size:11px;color:#8c96a7;margin:5px 0 0;line-height:1.8}.portal-request{font-size:15px!important;color:#616c80;margin:18px 0 16px}.preserve{white-space:pre-line;overflow-wrap:anywhere}.expected-result{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.expected-result h3{font-size:12px}.expected-result p{color:#8a94a4;font-size:12px;margin-bottom:0}.portal-footnote{color:#a0a8b6;font-size:11px;line-height:1.8;padding:0 8px}.portal-notice{background:#fff7e9;border:1px solid #f5e7cb;border-radius:8px;color:#aa874b;padding:13px 15px;font-size:12px;line-height:1.7;margin-top:17px}.portal-notice p{margin:6px 0 0}.portal-tabs{margin-bottom:0}.expert-meeting-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;padding-bottom:22px;border-bottom:1px solid var(--line)}.expert-meeting-top h2{font-size:28px;letter-spacing:-.7px;margin-top:9px}.expert-meeting-top h2 small{font-size:11px;letter-spacing:0;font-weight:450;margin-left:9px}.meeting-project-name{font-size:20px;letter-spacing:-.4px}.meeting-project-meta{font-size:11px!important;margin:7px 0 20px}.expert-request{background:#f7f8fc;border-radius:9px;padding:18px 20px;margin-bottom:17px}.expert-request h3{font-size:11px;color:#8c96ab;font-weight:500}.expert-request p{font-size:14px;color:#626e85;margin:10px 0 0}.expert-meeting-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.expert-meeting details p{color:#7b879b;font-size:12px}.confirmed-label{color:var(--green);font-size:10px}.availability-empty{padding:20px 0 4px;font-size:11px;color:#a0a8b7}.availability-slot{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:13px 0;font-size:12px}.availability-slot small{display:block;margin-top:5px;font-size:10px;color:var(--muted)}.result-panel{border-color:#dcebe3}.result-panel .eyebrow{color:#75a18b}.result-panel h3{margin-top:22px;font-size:12px}.result-panel>small{font-size:10px;color:#9aa69f;display:block;margin-top:20px}
@media(max-width:900px){.portal-layout{grid-template-columns:minmax(0,1fr) 270px;gap:18px}.portal-panel,.meeting-hero{padding:22px}.hero-date{font-size:32px}.hero-date>span{font-size:24px}}
@media(max-width:760px){.preview-bar{padding:8px 10px;gap:9px;flex-wrap:wrap}.preview-bar>small{display:none}.preview-roles button{padding:6px 9px;font-size:10px}.preview-bar>span{font-size:10px}.portal-header-label{font-size:11px;margin-left:auto}.participant-main{padding-top:26px}.participant-main .heading{margin-bottom:24px}.portal-layout{grid-template-columns:1fr;gap:20px}.portal-stack{gap:20px}.participant-main h1{font-size:26px}.portal-header-label+.account{margin-left:0}.participant-main .portal-panel h2{font-size:18px}.hero-date{font-size:34px}.hero-date>span{font-size:25px}.hero-bottom{align-items:flex-start;gap:16px;flex-wrap:wrap}.hero-buttons{align-items:flex-start;flex-direction:column}.meeting-hero>.between{align-items:flex-start;gap:14px;flex-wrap:wrap}.portal-panel .between{gap:12px}.portal-panel .between .btn{padding-right:0}.expert-meeting-top{gap:12px}.expert-meeting-actions .meeting-location{width:100%}.portal-footnote{padding-bottom:10px}}

.account .avatar{font-size:13px}.slot-suggestions{margin:10px 0 17px;padding:12px 14px;background:#f6f8fc;border-radius:8px}.slot-suggestions small{font-size:10px}.slot-suggestions .tags{margin-top:8px}
select,input[type=date]{border:1px solid #e0e5ed;border-radius:7px;background:#fff;padding:8px 10px;font-size:12px;max-width:100%}.schedule-summary,.expert-topline{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin:-7px 0 25px;font-size:12px;color:#8a93a3}.schedule-summary strong,.expert-topline strong{font-size:20px;color:#3b4660;font-weight:600;margin-right:5px}.schedule-summary .text-button,.expert-topline .btn{margin-left:auto}.schedule-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}.schedule-filters,.pool-toolbar{padding:18px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--line)}.schedule-filters .search{flex:1;min-width:170px}.schedule-filters select{max-width:190px}.schedule-mode-tabs{margin:0;padding:13px 18px;border-bottom:1px solid var(--line)}.agenda-group-title{display:flex;align-items:center;justify-content:space-between;padding:13px 21px;font-size:11px;color:#838da0;background:#f7f8fc;border-bottom:1px solid var(--line)}.agenda-group-title>span{font-size:10px;color:#a3aaba}.agenda-row{display:grid;grid-template-columns:70px minmax(120px,1fr) 140px 74px;gap:14px;align-items:center;padding:21px;border-bottom:1px solid var(--line)}.agenda-time{font-size:16px;font-weight:600;color:#58699c;white-space:nowrap}.agenda-time>small{display:block;font-size:10px;color:#a0a7b6;font-weight:400;margin-top:5px}.agenda-project>small{display:block;font-size:11px;color:#919bad;margin-top:7px}.confirmation{display:block;color:#73a28a;font-size:10px;margin-top:7px;line-height:1.5}.alert-inline{color:#bd7f74!important}.ready-count{color:#6a9b86;font-size:12px}.workload{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 16px}.workload>h3{font-size:13px;margin-bottom:5px}.workload .help{font-size:10px;margin:5px 0 17px}.workload-row{display:flex;gap:10px;align-items:center;text-align:left;background:transparent;width:100%;border-radius:8px;padding:12px 8px;border-bottom:1px solid #f1f3f7}.workload-row.active{background:#f0f2fd}.workload-row strong{display:block;font-size:12px;font-weight:550}.workload-row small{display:block;font-size:10px;color:#98a1b1;margin-top:5px;line-height:1.6}.workload-row>b{font-size:12px;color:#7e8ec9;background:#eaf0ff;padding:5px 7px;border-radius:6px;margin-left:auto}.workload-row .avatar{font-size:11px;flex-shrink:0;width:29px;height:29px}.matching-legend{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.matrix-wrap{overflow:auto;max-height:65vh;position:relative}.matching-matrix{min-width:950px;border-collapse:separate;border-spacing:0}.matching-matrix th{position:sticky;top:0;background:#fafbfe;z-index:2;padding:17px;text-align:left;width:150px;min-width:150px;max-width:180px;border-right:1px solid #eff1f5}.matching-matrix .sticky-project{position:sticky;left:0;z-index:1;min-width:205px;max-width:230px;width:230px;background:#fff}.matching-matrix thead .sticky-project{z-index:3;background:#fafbfe}.matching-matrix .sticky-project small{display:block;font-size:10px;font-weight:400;color:#9ba4b2;margin-top:7px;white-space:normal}.matching-matrix td{padding:10px;border-right:1px solid #eff1f5}.matrix-expert{background:transparent;padding:0;text-align:left;font-size:12px;line-height:1.6;color:#65718b}.matrix-expert small{display:block;font-size:10px;color:#a2aabd;font-weight:400}.matrix-cell{width:100%;min-height:58px;padding:10px;border-radius:7px;background:#f8f9fb;color:#9ba4b5;text-align:left;font-size:11px;line-height:1.6}.matrix-cell small{display:block;font-size:9px;opacity:.8;margin-top:4px}.matrix-cell.scheduled{background:#edf7f2;color:#669380}.matrix-cell.match{background:#fff7e8;color:#b69658}.matrix-cell.ready{background:#f0f3ff;color:#7687c1}.matrix-cell.cancelled{background:#fff0ed;color:#bd8276}.matrix-cell.done{background:#edf1f9;color:#8190ab}.status.ready{background:#edf2ff;color:#6c82bd}.status.cancelled{background:#fff0ed;color:#b97f73}.matrix-cell:hover{filter:brightness(.97)}.matching-attention{margin-top:28px}.matching-attention h2{font-size:17px;margin-bottom:17px}.matching-attention>div{display:grid;grid-template-columns:minmax(160px,1fr) minmax(130px,1fr) 155px;gap:14px;align-items:center;border-bottom:1px solid var(--line);padding:13px 0;font-size:12px}.matching-attention>div>span>small{display:block;margin-top:5px;color:#9ba3b3;font-size:10px}.matching-attention>div>small{color:#a9a0a0;font-size:11px}.meeting-mini{padding:18px 0;border-bottom:1px solid var(--line)}.meeting-mini strong{font-size:12px}.meeting-mini p{font-size:12px;margin:9px 0}.meeting-mini:last-child{border-bottom:0}.ready-person{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;font-size:12px}.expert-stats{padding-top:18px;margin-top:17px;border-top:1px solid var(--line);font-size:11px;color:#929bad}.expert-stats strong{color:var(--accent);font-size:21px;margin-right:5px}.expert-stats>span{margin-left:5px}.meeting-modal-time{display:flex;gap:13px;align-items:center;flex-wrap:wrap;margin:25px 0;font-size:12px;color:#96a0b1}.meeting-modal-time strong{font-size:20px;color:#536591}.meeting-controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.meeting-controls .btn{font-size:12px}.meeting-controls+.help{margin-bottom:0}.full-width{width:100%;margin-top:16px}.slot-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-height:230px;overflow:auto;padding:3px}.time-slot{position:relative}.time-slot input{position:absolute;opacity:0;inset:0}.time-slot span{display:block;background:#f7f8fc;border:1px solid #e3e7f1;color:#8490a9;padding:10px 8px;border-radius:7px;text-align:center;font-size:12px;cursor:pointer}.time-slot input:checked+span{background:#edf0ff;border-color:#8798df;color:#5368db}.time-slot input:focus-visible+span{outline:2px solid #a8b6ff}.empty-slots{background:#f7f8fc;border:1px solid var(--line);padding:22px;border-radius:9px;margin:16px 0}.empty-slots p{font-size:12px;line-height:1.7;color:#929bad}.expert-main-tabs{margin-bottom:23px}.expert-topline{background:#eef2fc;border:1px solid #e3e8f7;border-radius:10px;padding:17px 22px;margin-top:-7px}.pool-toolbar .search{width:auto;flex:1;min-width:180px}.pool-tabs{margin:0;padding:12px 16px;border-bottom:1px solid var(--line)}.pool-card{display:flex;gap:25px;justify-content:space-between;padding:24px;border-bottom:1px solid var(--line)}.pool-card:last-child{border-bottom:0}.pool-description{min-width:0;flex:1}.pool-description>.row{gap:9px;flex-wrap:wrap}.pool-description>.row>.status{font-size:9px}.pool-description>small{display:block;font-size:10px;color:#a0a9b7;margin-top:7px}.pool-description>p{font-size:12px;line-height:1.7;color:#7b879b;margin:13px 0 8px}.pool-description .tag{font-size:9px}.pool-actions{display:flex;flex-direction:column;gap:8px;justify-content:center;min-width:140px}.pool-actions .btn{font-size:11px}.btn.chosen{color:#6b8c77;background:#eff6f1;border-color:#dbe9e0}.pair-progress{color:#8393ba!important;font-size:10px!important}.expert-agenda-row{display:grid;grid-template-columns:65px minmax(140px,1fr) 135px 70px;gap:15px;align-items:center;padding:20px;border-bottom:1px solid var(--line)}.expert-agenda-project>p{font-size:11px;line-height:1.65;color:#96a0b1;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;margin:8px 0 0}.simple-steps{padding-left:17px;font-size:11px;color:#939db0;line-height:1.9}.simple-steps li{margin-top:9px;padding-left:3px}.project-experts{display:grid;gap:16px}.project-experts h3{font-size:14px}.project-experts small{font-size:10px}.project-experts .confirmation{margin:16px 0}.project-experts .tags{margin-top:18px}.preview-bar{font-size:10px;flex-wrap:wrap}.preview-bar .text-button{font-size:10px}.backup-button{color:#9ca5b9!important}.slot-suggestions{margin:10px 0 17px;padding:12px 14px;background:#f6f8fc;border-radius:8px}.slot-suggestions small{font-size:10px}.slot-suggestions .tags{margin-top:8px}
@media(max-width:1100px){.schedule-layout{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.agenda-row{grid-template-columns:60px minmax(100px,1fr) 115px;gap:12px}.agenda-row>.btn{display:none}.expert-agenda-row{grid-template-columns:55px minmax(110px,1fr) 110px;gap:10px}.expert-agenda-row>.btn{display:none}.schedule-filters .search{min-width:160px}.workload{padding:18px 12px}.topbar{gap:30px}.topbar nav{gap:18px}}
@media(max-width:850px){.schedule-layout{grid-template-columns:1fr}.workload{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 15px}.workload>h3,.workload>.help{grid-column:1/-1}.schedule-layout>aside.portal-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.pool-card{padding:20px}.schedule-summary{gap:18px}.preview-bar{gap:10px}.expert-main-tabs{gap:3px}.expert-main-tabs .tab{font-size:12px;padding:8px 9px}.schedule-layout .portal-panel{padding:22px}}
@media(max-width:600px){.agenda-row{padding:18px 14px;grid-template-columns:50px minmax(0,1fr) 102px;gap:10px}.agenda-time{font-size:14px}.agenda-time>small{font-size:9px}.agenda-project .project-link{font-size:12px}.agenda-project>small{font-size:10px;line-height:1.5}.agenda-row .status,.expert-agenda-row .status{font-size:9px;padding:4px 6px;gap:5px}.agenda-row .confirmation,.expert-agenda-row .confirmation{font-size:9px}.agenda-group-title{padding:13px 15px;font-size:10px}.schedule-filters{padding:14px;gap:9px}.schedule-filters .search{min-width:100%;flex-basis:100%;width:100%}.schedule-filters select{max-width:calc(50% - 5px);width:calc(50% - 5px);font-size:10px}.schedule-filters input[type=date]{font-size:10px}.schedule-summary{font-size:11px;gap:14px}.schedule-summary .text-button{margin-left:0}.schedule-summary strong{font-size:18px}.workload{grid-template-columns:1fr}.expert-topline{padding:16px;gap:12px;font-size:11px;line-height:1.6}.expert-topline .btn{margin-left:0}.expert-topline strong{font-size:18px}.pool-card{padding:20px 17px;flex-direction:column;gap:16px}.pool-actions{flex-direction:row;justify-content:flex-start;align-items:center;flex-wrap:wrap}.pool-description>.row>.project-link{font-size:15px}.pool-actions .btn{padding:9px 10px}.pool-actions .btn.ghost{padding:8px 0;margin-left:auto}.pool-toolbar{padding:14px}.pool-toolbar .search{min-width:100%}.pool-toolbar select{width:100%;font-size:11px}.pool-tabs{padding:10px}.pool-tabs .tab{font-size:11px}.schedule-layout>aside.portal-stack{display:flex}.expert-agenda-row{padding:20px 15px;grid-template-columns:50px minmax(0,1fr) 99px;gap:9px}.expert-agenda-project .project-link{font-size:12px}.expert-agenda-project>p{font-size:10px;-webkit-line-clamp:2}.expert-agenda-row .status{white-space:normal;line-height:1.5}.matching-attention>div{grid-template-columns:1fr 1fr;gap:10px}.matching-attention>div>.btn{grid-column:1/-1;justify-content:flex-start;padding:0 0 5px}.matching-matrix .sticky-project{min-width:150px;max-width:150px}.matching-matrix .sticky-project .project-link{font-size:12px}.matching-matrix .sticky-project small{font-size:9px}.matching-matrix th{min-width:125px}.slot-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.meeting-mini .between{align-items:flex-start;gap:12px}.meeting-mini strong{font-size:11px;line-height:1.7}.meeting-mini .status{font-size:9px}.preview-bar>span{display:none}.preview-roles button{font-size:10px}.preview-bar .text-button{font-size:9px}.topbar nav{gap:23px;overflow-x:auto}.nav{font-size:12px}.meeting-modal-time{margin-top:20px}.portal-stack .meeting-mini{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px}}

[hidden]{display:none!important}
/* Unified dialogs: fixed controls, one scroll area, no page moving underneath. */
body:has(dialog[open]){overflow:hidden;scrollbar-gutter:stable}.modal{padding:0;max-height:min(90dvh,850px);overflow:hidden}.modal[open]{display:flex;flex-direction:column}.dialog-titlebar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 26px 20px;border-bottom:1px solid var(--line);flex-shrink:0;background:white}.dialog-titlebar>div{min-width:0}.dialog-titlebar h2{font-size:20px;line-height:1.35;overflow-wrap:anywhere}.dialog-titlebar .subtitle{font-size:12px;line-height:1.6;margin-top:7px}.dialog-titlebar .icon-btn{flex-shrink:0;margin-top:-3px}.dialog-body{padding:4px 26px 24px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.dialog-footer{flex-shrink:0;margin:0;padding:17px 26px;border-top:1px solid var(--line);background:#fff;box-shadow:0 -4px 12px #28354a03}.dialog-footer .btn{min-height:40px}.dialog-body>.help:last-child{margin-bottom:0}.dialog-body .field:first-child{margin-top:18px}.form-error:not(:empty){padding:12px 14px;background:#fff1ed;border:1px solid #f1dcd5;border-radius:8px;margin-top:16px}.modal p,.modal a,.drawer p,.drawer a{overflow-wrap:anywhere}.modal .meeting-controls{gap:9px}.modal .meeting-controls>.btn{white-space:normal;text-align:center;line-height:1.4}.icon-btn{min-width:32px;min-height:32px}.optional{font-size:10px;color:#a4acba;margin-left:5px}.duration-control{border:0;margin:20px 0;padding:0;min-width:0}.duration-control legend{font-size:12px;color:#758197;padding:0;margin-bottom:9px}.duration-control>div{display:flex;gap:6px;background:#f6f7fb;padding:4px;border:1px solid #edf0f5;border-radius:9px}.duration-control button{flex:1;min-width:0;background:transparent;padding:9px 5px;border-radius:6px;font-size:11px;color:#9aa4b5;white-space:nowrap}.duration-control button.selected{background:#fff;color:#5c6fc5;box-shadow:0 1px 5px #3143630d;font-weight:600}.date-picker{position:relative;margin-top:8px;min-width:0}.date-picker input[type=hidden]{display:none!important}.picker-trigger{display:flex;align-items:center;gap:11px;width:100%;min-height:47px;padding:11px 13px;border:1px solid #dfe5f0;border-radius:9px;text-align:left;background:#fff;cursor:pointer;color:#929db0}.picker-trigger:hover{background:#fafbff;border-color:#b8c3e8}.picker-trigger[aria-expanded=true]{border-color:#92a2e1;box-shadow:0 0 0 3px #edf0fc}.picker-trigger .picker-trigger-icon{display:grid;place-items:center;width:24px;height:24px;color:#8d9cd0;background:#f1f4fe;border-radius:6px;flex-shrink:0}.picker-trigger .picker-trigger-icon svg{width:15px;height:15px}.picker-trigger-value{flex:1;min-width:0;line-height:1.6;font-size:12px}.picker-trigger>svg{width:15px;color:#a7afbf;flex-shrink:0}.picker-trigger.has-value{color:#4b5a77}.picker-explanation{display:flex;gap:7px;align-items:flex-start;font-size:10px!important;color:#9aa6b5;margin:10px 0 22px;line-height:1.7}.picker-explanation>i,.calendar-times-help i,.calendar-shortcuts i{width:5px;height:5px;border-radius:50%;background:#86b7a0;flex-shrink:0;margin-top:6px}.availability-example{display:flex;align-items:flex-start;gap:13px;margin:24px 0;background:#f7f9fd;border-radius:9px;padding:17px}.availability-example>span{color:#94a1c8;margin-top:3px}.availability-example svg{width:20px}.availability-example p{font-size:11px!important;line-height:1.8;margin:0;color:#98a2b3}.filter-datepicker{margin:0;flex:0 1 180px;min-width:125px}.filter-datepicker .picker-trigger{min-height:35px;padding:5px 8px;gap:7px;border-radius:7px}.filter-datepicker .picker-trigger-value{font-size:11px}.filter-datepicker .picker-trigger-icon{background:transparent;width:18px}.filter-datepicker .picker-trigger>svg{width:12px}.schedule-filters .date-picker{max-width:220px}.calendar-flyout{position:fixed;inset:auto;margin:0;padding:0;border:1px solid #e3e8f4;border-radius:15px;background:white;box-shadow:0 18px 70px #2839552e,0 4px 12px #35476d08;color:var(--ink);overflow:auto;overscroll-behavior:contain;max-width:calc(100vw - 24px);z-index:1000;animation:none!important;transition:none!important}.calendar-flyout::backdrop{background:transparent;backdrop-filter:none}.calendar-titlebar{display:flex;align-items:center;gap:12px;padding:16px 18px 14px;border-bottom:1px solid #f0f2f7}.calendar-titlebar>strong{font-size:12px;font-weight:600;flex:1}.calendar-titlebar>span{font-size:9px;color:#a2adbd}.calendar-titlebar .icon-btn{min-height:24px;min-width:24px;height:24px;width:24px;font-size:18px}.calendar-content{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:0}.calendar-month{padding:16px 18px 10px;min-width:0}.month-navigation{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:19px}.month-navigation strong{font-size:13px;font-weight:600;text-transform:capitalize;letter-spacing:-.15px}.calendar-arrow{display:grid;place-items:center;background:#f7f8fc;border:1px solid #eef1f6;border-radius:7px;font-size:22px;width:30px;height:30px;line-height:1;color:#8290b1}.calendar-arrow:hover:not(:disabled){background:#ebeffa}.calendar-arrow:disabled{opacity:.25}.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.calendar-weekdays{margin-bottom:8px}.calendar-weekdays span{text-align:center;font-size:9px;color:#a6afbf;padding:2px 0 6px}.calendar-day{position:relative;display:grid;place-items:center;aspect-ratio:1;max-height:38px;background:white;color:#7c879d;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:450;min-width:0}.calendar-day:hover:not(:disabled){background:#f0f3fc;color:#6476ba}.calendar-day.other-month{color:#c7cdd9}.calendar-day:disabled{opacity:.28;cursor:default}.calendar-day.selected{background:#596edb!important;color:white!important;border-color:#596edb;box-shadow:0 3px 7px #5368db22;font-weight:600}.calendar-day.today:not(.selected){border-color:#b7c2ef;color:#7183c5}.calendar-day i{position:absolute;bottom:4px;width:3px;height:3px;border-radius:50%;background:#8fbea8}.calendar-day.selected i{background:#c8f1de}.calendar-shortcuts{display:flex;align-items:center;gap:13px;margin-top:14px;padding-top:11px;border-top:1px solid #f0f2f6;min-height:31px}.calendar-shortcuts button{background:none;color:#7c8bc0;padding:3px 0;font-size:10px}.calendar-shortcuts span{display:flex;gap:5px;color:#a1adbd;font-size:9px;margin-left:auto}.calendar-shortcuts i{margin-top:4px}.calendar-times{padding:20px 15px 14px;background:#fafbfe;border-left:1px solid #edf0f7;min-width:0}.time-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:15px}.time-heading strong{font-size:11px;font-weight:550;color:#8190a8}.time-heading>span{font-size:9px;color:#aab2c2}.calendar-time-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:246px;overflow-y:auto;overscroll-behavior:contain;padding:2px 5px 2px 2px;scrollbar-width:thin;scrollbar-color:#dfe4f0 transparent}.calendar-time-grid>button{position:relative;min-height:33px;padding:8px 3px;background:#fff;border:1px solid #e8ecf4;border-radius:7px;color:#8a97af;font-size:11px}.calendar-time-grid>button:hover:not(:disabled){border-color:#a2b2e8;background:#f1f4ff}.calendar-time-grid>button:disabled{background:#f1f3f8;border-color:transparent;color:#c0c8d5;opacity:.7;text-decoration:line-through;cursor:default}.calendar-time-grid>button.common-time{border-color:#dcebe2;color:#739880;background:#f5faf7}.calendar-time-grid>button i{display:inline-block;width:3px;height:3px;border-radius:50%;background:#a0bfae;margin-left:3px;vertical-align:middle}.calendar-time-grid>button.selected{background:#596edb!important;border-color:#596edb!important;color:white!important;font-weight:550;box-shadow:0 2px 6px #5368db16}.calendar-time-grid>button.selected i{background:#d2f1df}.calendar-times-help{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}.calendar-times-help>button{background:transparent;color:#99a6bd;padding:2px 0;font-size:9px}.calendar-times-help>span{font-size:8px;color:#9baf9f;display:flex;align-items:center;gap:4px}.calendar-times-help i{margin-top:0;width:4px;height:4px}.calendar-no-times{font-size:10px;line-height:1.7;color:#aab3c2;margin:10px 0 0}.calendar-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #edf0f7;padding:12px 18px;background:#fff}.calendar-footer>span{font-size:10px;color:#9aa5b9;line-height:1.5}.calendar-footer>.btn{min-height:34px;padding:7px 14px;font-size:11px}.calendar-flyout.date-only .calendar-content{grid-template-columns:1fr}.date-only .calendar-titlebar>span{display:none}.range-time-switch{display:flex;align-items:center;gap:7px;margin-bottom:12px}.range-time-switch>button{flex:1;min-width:0;background:#fff;border:1px solid #e3e8f3;border-radius:7px;padding:8px;color:#9ba7bd;font-size:12px;display:flex;gap:8px;align-items:center;justify-content:center}.range-time-switch>button small{font-size:9px;color:#abb4c5}.range-time-switch>button.active{border-color:#a8b6e8;background:#eff3ff;color:#7186cb}.range-time-switch>span{font-size:10px;color:#b3bccd}.calendar-flyout .btn:focus-visible,.calendar-flyout button:focus-visible{outline:2px solid #b1c1fc;outline-offset:1px}.calendar-flyout:focus-visible{outline:0}.calendar-flyout input{display:none!important}
/* Layout repairs shared by all roles. */
.heading>div:first-child{min-width:0}.heading h1{overflow-wrap:anywhere}.heading .actions{flex-shrink:0}.status{max-width:100%;line-height:1.5}.status::before{flex-shrink:0}.project-meta,.agenda-project>small,.expert-agenda-project>p{overflow-wrap:anywhere}.agenda-project,.expert-agenda-project{min-width:0}.workload-row>span:nth-child(2){min-width:0}.workload-row strong{overflow-wrap:anywhere}.ready-person>span{min-width:0;overflow-wrap:anywhere}.table-bottom{align-items:center;flex-wrap:wrap;row-gap:7px}.drawer-head>span{min-width:0}.drawer .between{flex-wrap:wrap}.drawer-content>span.muted{font-size:12px;line-height:1.7;display:block}.drawer-content .note+.btn{margin-top:10px}.pool-tabs,.expert-main-tabs{row-gap:8px}.pool-description>.row{align-items:flex-start}.pool-actions{min-width:132px}.expert-topline>span{line-height:1.7}.expert-topline .btn{display:none}.expert-grid .avatar{flex-shrink:0}.meeting-hero .hero-date{line-height:1.4}.hero-person>div{min-width:0}.hero-person strong{overflow-wrap:anywhere}.preview-bar{min-height:44px}.preview-roles button{min-height:28px}.btn,.icon-btn,.tab,.time-slot span{transition:background-color .12s,border-color .12s,color .12s}.calendar-flyout *,details,*:focus-within{scroll-behavior:auto}#toast{transition:opacity .12s;transform:translateX(-50%);max-width:min(90vw,560px);line-height:1.6;text-align:center;bottom:20px}#toast.show{transform:translateX(-50%)}.modal .import-preview th{position:sticky;top:0;z-index:1}.modal details summary{line-height:1.7}.modal .dropzone{margin-top:18px}.modal .two-cols{min-width:0}.modal .field input[type=url]{min-width:0}.quiet-tip{line-height:1.8;align-items:flex-start}.quiet-tip svg{flex-shrink:0;margin-top:2px}
@media(max-width:700px){.calendar-content{grid-template-columns:minmax(0,1fr) 210px}.calendar-month{padding:14px}.calendar-times{padding:17px 12px}.calendar-titlebar{padding:14px}.calendar-titlebar>span{display:none}.calendar-footer{padding:12px 14px}.calendar-day{max-height:36px}.month-navigation{margin-bottom:14px}}
@media(max-width:520px){.calendar-flyout{border-radius:13px}.calendar-content{grid-template-columns:1fr}.calendar-month{padding:12px 18px 8px}.calendar-days{gap:2px 6px}.calendar-day{max-height:34px;aspect-ratio:auto;height:34px;font-size:12px}.calendar-weekdays{margin-bottom:4px}.calendar-weekdays span{padding-bottom:3px}.month-navigation{margin-bottom:10px}.calendar-shortcuts{margin-top:8px;padding-top:8px;min-height:28px}.calendar-times{border-left:0;border-top:1px solid #edf0f7;padding:12px 18px}.time-heading{margin-bottom:9px}.calendar-time-grid{grid-template-columns:repeat(5,minmax(0,1fr));max-height:118px;gap:6px}.calendar-time-grid>button{min-height:32px;padding:7px 2px;font-size:10px}.calendar-times-help{margin-top:8px}.calendar-titlebar{padding:11px 14px}.calendar-footer{padding:10px 14px}.calendar-footer>span{font-size:9px}.range-time-switch{max-width:260px;margin-bottom:10px}.range-time-switch>button{padding:6px;font-size:11px}.date-only .calendar-day{height:36px;max-height:36px}.dialog-titlebar{padding:20px 20px 16px;gap:12px}.dialog-titlebar h2{font-size:18px}.dialog-body{padding:2px 20px 20px}.dialog-footer{padding:14px 20px;gap:8px}.dialog-footer .btn{font-size:12px;padding:9px 12px}.dialog-footer .btn.primary{flex:1;white-space:normal;line-height:1.5}.modal{max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:13px}.modal .dialog-titlebar .icon-btn{min-width:28px}.duration-control>div{gap:2px}.duration-control button{font-size:10px;padding:10px 3px}.picker-trigger-value{font-size:11px}.picker-trigger{gap:8px;min-height:45px}.availability-example{padding:14px;margin:18px 0}.availability-example p{font-size:10px!important}.schedule-summary{column-gap:16px;row-gap:9px}.schedule-summary>.text-button{display:none}.schedule-filters .filter-datepicker{min-width:0;max-width:calc(70% - 6px);flex-basis:calc(70% - 6px)}.filter-datepicker .picker-trigger-value{font-size:10px}.filter-datepicker .picker-trigger{min-height:35px}.schedule-filters .btn.ghost{margin-left:auto;padding:8px 4px}.agenda-row{grid-template-columns:46px minmax(0,1fr) 105px;gap:9px}.agenda-row .status{white-space:normal;font-size:9px;align-items:center}.agenda-row .status:before{width:4px;height:4px}.expert-agenda-row{grid-template-columns:46px minmax(0,1fr) 100px;gap:9px}.matching-matrix .sticky-project{min-width:132px;max-width:132px;padding:13px 11px}.matching-matrix{min-width:790px}.matching-matrix th{min-width:128px}.matching-matrix .sticky-project small{font-size:9px;line-height:1.6}.matrix-wrap{max-height:60dvh}.meeting-mini .between{flex-wrap:wrap}.meeting-mini .status{font-size:10px}.hero-bottom{gap:5px 12px}.hero-bottom .btn{padding:6px 0;font-size:10px}.pool-actions{gap:8px}.pool-actions .btn{min-height:36px}.expert-main-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:5px;margin-right:-18px;gap:5px}.expert-main-tabs .tab{flex-shrink:0;white-space:nowrap;padding:9px 10px;font-size:11px}.section-tabs .tab{line-height:1.5}.participant-main>.section-tabs{gap:6px}.participant-main>.section-tabs>.tab{font-size:11px;padding:8px 9px}.page-footer{font-size:9px}.preview-bar>span{display:none}.preview-bar{gap:8px;padding:7px 10px;justify-content:space-between}.preview-bar .text-button{font-size:9px}.preview-roles{gap:0}.preview-roles button{padding:6px 7px;font-size:9px}.topbar{gap:12px}.topbar .brand-caption{font-size:9px}.portal-header-label{font-size:10px}.topbar nav{justify-content:space-between;gap:15px}.project-experts .row{align-items:flex-start}.project-experts .row>div{min-width:0}.project-experts h3{line-height:1.6}.project-experts small{line-height:1.7}.drawer .detail-section .btn{font-size:11px}.drawer .ready-person{gap:8px}.drawer .ready-person>span{font-size:12px}.drawer .contact-line{font-size:12px}.import-preview table{table-layout:fixed}.import-preview td{overflow-wrap:anywhere}.modal .two-cols{grid-template-columns:1fr;gap:0}.modal-actions .btn{white-space:normal}.hero-date{font-size:32px}.hero-date>span{font-size:24px}}
@media(max-width:350px){.preview-bar{justify-content:center;gap:5px}.preview-roles{width:100%;justify-content:center}.portal-header-label{display:none}.calendar-time-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero-date{font-size:29px}.hero-date>span{font-size:22px}.dialog-footer{padding:12px 15px}.dialog-body{padding-left:16px;padding-right:16px}.dialog-titlebar{padding-left:16px;padding-right:16px}.agenda-row{grid-template-columns:42px minmax(0,1fr);gap:8px}.agenda-row>div:nth-child(3){grid-column:2}.expert-agenda-row{grid-template-columns:42px minmax(0,1fr)}.expert-agenda-row>div:nth-child(3){grid-column:2}.calendar-titlebar>strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.matrix-mobile-hint{display:none}.expert-topline>span:empty{display:none}
@media(max-width:600px){.topbar:has(.portal-header-label){flex-wrap:nowrap;padding-bottom:18px;min-height:82px}.topbar:has(.portal-header-label) .portal-header-label{display:none}.topbar:has(.portal-header-label) .account{margin-left:auto;flex-shrink:0}.topbar:has(.portal-header-label) .brand{min-width:0;flex-shrink:1}.expert-main-tabs{margin-right:0;flex-wrap:wrap;overflow:visible;padding:0;gap:7px}.expert-main-tabs .tab{font-size:11px}.expert-topline{margin-bottom:23px}.expert-topline>span{font-size:11px}.matrix-mobile-hint{display:block;color:#a1acbd;font-size:10px;line-height:1.7;margin:-6px 0 15px}.matching-matrix .sticky-project{box-shadow:4px 0 8px #25314a04}.expert-agenda-row .status,.agenda-row .status{font-size:10px}.expert-agenda-project>p{font-size:11px}.calendar-day{height:36px;max-height:36px}.pool-description .tag{font-size:10px}.pool-description>.row>.status{font-size:10px}}
.calendar-flyout{overflow:hidden}.calendar-flyout:popover-open{display:flex;flex-direction:column}.calendar-titlebar,.calendar-footer{flex-shrink:0}.calendar-content{min-height:0;overflow-y:auto;overscroll-behavior:contain}
/* Expert cards: chips size to their text; the footer aligns independently. */
.tags{align-items:flex-start;align-content:flex-start}.tag{align-self:flex-start}
.expert-card{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:24px;background:#fff;border:1px solid var(--line);border-radius:12px;min-width:0}
.expert-card-profile{min-width:0}.expert-card-profile h3{margin:16px 0 7px;font-size:16px;line-height:1.45;overflow-wrap:anywhere}.expert-card-profile p{margin:0;color:var(--muted);font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.expert-card .expert-card-tags{display:flex;flex:0 0 auto;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;gap:6px;margin:0;min-height:0;height:auto;max-width:100%}
.expert-card-tags>.tag{flex:0 1 auto;align-self:flex-start;max-width:100%;height:auto;min-height:0;padding:5px 8px;font-size:11px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
.expert-card-footer{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:auto;padding-top:18px;border-top:1px solid var(--line);min-width:0}
.expert-card-footer .expert-stats{width:100%;margin:0;padding:0;border:0;line-height:1.6}.expert-card-footer p{margin:0;font-size:12px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.expert-card-footer>.btn{margin:2px 0 0;max-width:100%;white-space:normal;line-height:1.5}
@media(max-width:600px){.expert-card{gap:18px;padding:22px}.expert-card-tags>.tag{font-size:10px}.expert-card-footer{gap:10px;padding-top:16px}}

/* Short expert introduction, shared by organizer and participant cards. */
.expert-help{min-width:0}.expert-help-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.expert-help-heading h4{font-size:12px;line-height:1.5;font-weight:600;margin:0;color:var(--text,#273044)}.expert-help-heading .btn{padding:0;min-height:28px;font-size:11px}.expert-help>p{font-size:12px;line-height:1.8;color:#687488;margin:8px 0 0;white-space:pre-line;overflow-wrap:anywhere}.project-experts .expert-help{margin-top:20px}.expert-profile-panel .expert-help>p{font-size:12px}#expert-help-text{min-height:150px;line-height:1.8;resize:vertical}

.expert-request-notice{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 20px;margin:0 0 22px;border:1px solid #dce3ff;border-radius:10px;background:#f0f3ff}.expert-request-notice strong{font-size:14px;color:#465993}.expert-request-notice p{font-size:12px;line-height:1.7;color:#74809a;margin:6px 0 0}.expert-request-notice .btn{flex-shrink:0}.request-list-intro{padding:16px 20px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.8;color:#74809a}.preview-expert{display:flex;align-items:center;gap:8px;font-size:10px}.preview-expert[hidden]{display:none}.preview-expert select{font-size:10px;padding:5px 8px;max-width:180px}@media(max-width:600px){.expert-request-notice{align-items:flex-start;flex-direction:column;gap:12px;padding:16px}.preview-expert{width:100%;justify-content:center}}

/* Серверный режим: ссылки, предпросмотр, баннеры */
.preview-notice{background:#fff7e6;border-bottom:1px solid #f5d28a;color:#6b4a00;padding:10px 16px;font-size:14px;text-align:center}
.server-banner{background:#eef4ff;border:1px solid #c9d8ff;border-radius:12px;padding:12px 14px;margin:0 0 16px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.links-help{margin:-4px 0 18px}
.links-section{margin-bottom:24px}
.links-section h2{font-size:16px;margin:0 0 10px}
.links-table{display:flex;flex-direction:column;gap:8px}
.links-row{background:#fff;border:1px solid var(--line,#e6e8ee);border-radius:12px;padding:12px 14px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1.5fr) auto;gap:6px 14px;align-items:center}
.links-who{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:0}
.links-who strong{overflow-wrap:anywhere}
.links-meta{color:var(--muted,#667085);font-size:13px}
.links-url{grid-column:1/-1;min-width:0}
.links-url code{display:block;overflow-x:auto;white-space:nowrap;background:#f6f7f9;border-radius:8px;padding:6px 8px;font-size:12.5px}
.links-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.account .text-button{margin-left:10px}
@media (max-width:760px){.links-row{grid-template-columns:1fr}.links-actions{justify-content:flex-start}}

.backup-button[hidden]{display:none!important}

/* Знак Health Net */
.brand-mark{background:linear-gradient(135deg,#3a2be8 0%,#4a1f8f 55%,#a32fae 100%)!important;font-size:0!important}
.brand-mark img{width:68%;height:68%;display:block}
.login-shell .brand-mark{margin-bottom:14px}

/* Кликабельная карточка пула */
.pool-card[data-card]{cursor:pointer;transition:background-color .15s}
.pool-card[data-card]:hover{background:#f8f9ff}
@media (prefers-reduced-motion:reduce){.pool-card[data-card]{transition:none}}

.project-next-step{background:#f4f6ff;border-color:#dfe5fa}.project-next-step h2{font-size:18px;line-height:1.5;margin-top:10px}.project-next-step>p{font-size:12px;line-height:1.8;color:#74809a}.project-next-step .tags{gap:6px}.project-next-step .tag{white-space:normal;line-height:1.6;max-width:100%;overflow-wrap:anywhere}

.matching-attention>.coordination-filters{display:flex;flex-wrap:wrap;gap:6px;padding:0 0 16px;border:0}.matching-attention>.coordination-list{display:block;padding:0;border:0}.coordination-row{display:grid;grid-template-columns:minmax(170px,1fr) minmax(150px,1fr) auto;gap:18px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line);font-size:12px}.coordination-row strong{font-weight:550}.coordination-row small{display:block;margin-top:5px}.coordination-filters .tab{font-size:11px;white-space:normal;text-align:left}@media(max-width:600px){.coordination-row{grid-template-columns:1fr;gap:8px}.coordination-row .btn{justify-self:start}}

.availability-controls{display:flex;align-items:center;gap:3px}.availability-controls .btn{padding:3px;font-size:10px}.availability-slot>span{min-width:0;overflow-wrap:anywhere}.repeat-days{margin:20px 0}.repeat-days summary{font-size:12px;cursor:pointer}.repeat-day-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.repeat-day-list .tag{line-height:1.6;white-space:normal}

/* Delivery controls share the existing modal and keep contact details inside the cabinet. */
.notifications-entry{margin:0 0 16px;align-self:flex-start}.notification-counts{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.notification-telegram{padding:16px;background:var(--bg,#f5f6fa);border-radius:12px;margin-top:16px}.notification-error{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line,#e7e9ef)}.notification-error small{display:block;color:var(--muted,#778195)}#telegram-bind-result .help{display:block;margin-top:12px}

.meeting-recordings{border-top:1px solid var(--line,#e5e8ef);margin-top:24px;padding-top:20px}.recording-card{margin-top:16px;padding:16px;border:1px solid var(--line,#e5e8ef);border-radius:14px;min-width:0}.recording-card h4{margin:0}.recording-card>.between{align-items:flex-start;flex-wrap:wrap}.recording-card small{overflow-wrap:anywhere}.recording-player video{display:block;width:100%;max-height:440px;background:#141923;border-radius:10px;margin:14px 0}.recording-downloads,.recording-admin{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.recording-admin{border-top:1px solid var(--line,#e5e8ef);padding-top:12px}.transcript-segments{max-height:360px;overflow:auto;overscroll-behavior:contain}.transcript-segment{display:flex;align-items:flex-start;gap:12px;padding:8px 0;border-bottom:1px solid var(--line,#e5e8ef)}.transcript-segment p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.transcript-segment button{flex-shrink:0;font-variant-numeric:tabular-nums}.recording-badge{font-size:11px;color:var(--muted,#778195);white-space:nowrap}.public-recording{max-width:1000px;margin:32px auto;padding:0 20px 48px}.recording-batch-row{border-bottom:1px solid var(--line,#e5e8ef);padding:16px 0;overflow-wrap:anywhere}progress{display:block;width:100%;height:10px;margin:12px 0;accent-color:var(--accent,#5f64e8)}progress[hidden]{display:none}#recording-upload-form input[type=file]{width:100%;padding:16px;border:1px dashed #c9cce0;border-radius:10px;background:#fafaff}.public-recording h1{overflow-wrap:anywhere}mark{background:#fff0a8;color:inherit}@media(max-width:600px){.recording-card{padding:12px}.transcript-segment{gap:8px}.recording-admin .btn,.recording-downloads .btn{white-space:normal;height:auto;min-height:36px}.public-recording{margin-top:20px;padding:0 14px 32px}}
.heading .actions{flex-wrap:wrap;max-width:100%;min-width:0;align-items:center}.heading .notifications-entry{margin:0}@media(max-width:760px){.heading .actions>.btn{flex:1 1 auto;min-width:0;white-space:normal}}
#notifications-form>.check{display:flex;align-items:center;gap:9px;margin:12px 0;line-height:1.5}#notifications-form>.check input{flex:0 0 auto;width:16px;height:16px}
