/* Management workspace: task-first, readable, responsive; the office scene keeps its own design. */
.md-workspace{max-width:1480px;margin:auto;color:#183853;font:14px/1.65 'Segoe UI',Arial,sans-serif}.md-heading{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin:2px 0 25px}.md-heading h1{font-size:32px;line-height:1.2;letter-spacing:-1px;color:#123452;margin:12px 0}.md-heading p{color:#647d95;font-size:14px;max-width:760px;margin:0}.md-heading .eyebrow{font-size:10px;letter-spacing:1.8px;color:#3d7eb3}.md-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.md-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;gap:7px;padding:9px 14px;border:1px solid #cbdbea!important;border-radius:10px!important;background:#fff!important;color:#255d8a!important;font:600 12px/1.4 'Segoe UI',sans-serif!important;text-decoration:none;cursor:pointer;white-space:normal;text-align:center;box-shadow:0 1px 2px #1c4b7210}.md-button:hover{background:#f0f6fc!important;border-color:#73a8d2!important}.md-button.md-primary{color:#fff!important;background:#2462bb!important;border-color:#2462bb!important;box-shadow:0 3px 8px #2462bb20}.md-button:disabled{opacity:.5;cursor:wait}.md-panel{padding:23px;background:#fff;border:1px solid #d9e4ef;border-radius:14px;margin:0 0 20px;box-shadow:0 2px 6px #123a5b04;min-width:0}.md-panel h2{font-size:19px;color:#163c5d;margin:0 0 14px}.md-panel h3{font-size:15px;margin:12px 0 8px}.md-panel p{color:#647d95;font-size:14px;margin:9px 0}.md-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.md-section-title h2{margin:0}.md-badge{display:inline-flex;align-items:center;border-radius:6px;padding:4px 8px;font-size:11px;line-height:1.4;color:#4275a1;background:#edf5fd;border:1px solid #dce9f6;max-width:100%;overflow-wrap:anywhere}.md-badge.md-warning{color:#966013;background:#fff7e8;border-color:#f1dfbb}.md-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:20px}.md-client-grid,.md-service-grid,.md-news-grid,.md-helper-grid,.md-memory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.md-client-card{padding:22px;display:grid;grid-template-columns:43px minmax(0,1fr);gap:14px;background:#fff;border:1px solid #d8e5f1;border-radius:14px;min-width:0}.md-client-avatar{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;background:#e9f3ff;color:#286fac;font-size:22px;font-weight:700}.md-client-card h2{font-size:19px;line-height:1.4;margin:9px 0}.md-client-card h2 button{border:0;background:transparent;text-align:left;color:#173e5d;padding:0;font:inherit;cursor:pointer}.md-client-card p{font-size:13px;color:#6b8298;margin:8px 0}.md-client-card small{color:#7b91a5;font-size:11px}.md-client-next{margin-top:18px;padding-top:15px;border-top:1px solid #e6edf4;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.md-client-next>span{font-size:11px;color:#577998}.md-tabs{display:flex;flex-wrap:wrap;gap:5px;padding:5px;background:#eaf0f7;border-radius:11px;margin:0 0 22px}.md-tabs button{flex:0 1 auto;background:transparent;border:0;color:#668198;font:600 12px/1.4 'Segoe UI',sans-serif;padding:12px 15px;border-radius:8px;min-height:42px;cursor:pointer}.md-tabs button.selected{background:white;color:#225fa7;box-shadow:0 2px 6px #193f6810}.md-filter-row{display:flex;gap:12px;margin-bottom:18px;align-items:center}.md-filter-row input,.md-search-input{width:min(550px,100%);min-height:46px;padding:11px 15px;border:1px solid #cbddeb;border-radius:10px;color:#244d71;background:#fff;font:14px 'Segoe UI',sans-serif}.md-table-wrap{overflow-x:auto;max-width:100%}.md-table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}.md-table th{color:#71889c;background:#f7fafe;font-size:11px;padding:12px;font-weight:600;border-bottom:1px solid #dee8f1;white-space:nowrap}.md-table td{padding:15px 12px;border-bottom:1px solid #e6eef5;vertical-align:top;min-width:90px;overflow-wrap:anywhere;max-width:360px}.md-table td small{display:block;color:#8094a6;font-size:11px;margin-top:5px}.md-table tr:last-child td{border-bottom:0}.md-table .md-button{font-size:11px!important;padding:7px 10px;min-height:36px;margin:2px}.md-client-strip{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin:-5px 0 23px;color:#7790a6;font-size:12px}.md-back{background:transparent;border:0;color:#3978aa;font-size:12px;margin:0 0 18px;padding:4px 0;cursor:pointer}.md-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid #e4edf5}.md-row:last-child{border-bottom:0}.md-row p{margin:4px 0;font-size:12px}.md-row>div{min-width:0}.md-timeline{border-left:2px solid #dceafa;padding:0 0 24px 20px;margin-top:18px}.md-timeline small{color:#7891a8;font-size:11px}.md-timeline h3{font-size:16px;margin:7px 0 12px}.md-timeline details summary,.md-more>summary{cursor:pointer;color:#3475ab;font-size:12px;padding:10px 0}.md-signal{padding:13px 0;border-bottom:1px solid #e6eef5}.md-signal p{font-size:12px;margin:4px 0}.md-prose{color:#536f87;font-size:14px;line-height:1.9;overflow-wrap:anywhere}.md-prose p{font:inherit!important;color:inherit!important}.md-prose h1,.md-prose h2{font-size:20px}.md-prose li small{display:block}.md-stack{display:flex;flex-direction:column;align-items:stretch;gap:9px}.md-price{display:block;color:#225f9d;font-size:24px;margin:16px 0}.md-price small{font-size:12px;color:#8098ac}.md-panel dl{font-size:12px}.md-panel dt{color:#7d94a6;margin-top:10px}.md-panel dd{margin:3px 0;color:#42637f}.md-empty{padding:34px 20px;text-align:center;background:#f8fbfe;border:1px dashed #d4e3ef;border-radius:12px;color:#6c879d}.md-empty>span{font-size:30px;color:#8db2d3}.md-empty h3{font-size:18px;margin:10px 0;color:#335e80}.md-empty p{font-size:13px;max-width:550px;margin:10px auto 20px;line-height:1.8}.md-loading{padding:50px 20px;text-align:center;color:#6d8aa5;font-size:14px}.md-notice{padding:15px 18px;border:1px solid #c9e1f2;background:#eef7ff;color:#477494;font-size:13px;line-height:1.8;border-radius:10px}.md-notice.md-danger{border-color:#e7cdbb;background:#fff8ef;color:#966239}.md-setup-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(110deg,#e7f2ff,#f3f8fe);border:1px solid #c6def4;border-radius:12px;padding:20px 24px;margin-bottom:22px}.md-setup-banner strong{font-size:16px}.md-setup-banner p{font-size:12px;color:#64819a;margin:5px 0}.md-daily-summary{padding:22px 26px;border:1px solid #cde1f2;border-left:4px solid #3d8ac3;background:#f4f9ff;border-radius:12px;margin-bottom:22px}.md-daily-summary>span{font-size:10px;color:#678ba9;letter-spacing:1.5px}.md-daily-summary ul{padding-left:19px;margin:13px 0 0;color:#3d6485;font-size:14px}.md-daily-summary li{padding:4px 0}.md-subtle{font-size:12px;color:#879bad;margin:0 0 24px;display:flex;align-items:center;justify-content:space-between;gap:15px}.md-priorities article{display:flex;gap:15px;align-items:center;padding:17px 0;border-bottom:1px solid #e6edf4}.md-priorities article:last-child{border-bottom:0}.md-priorities article>div:nth-child(2){flex:1}.md-priorities strong{font-size:15px}.md-priorities p{font-size:12px;margin:4px 0}.md-priority-dot{width:9px;height:9px;flex-shrink:0;border-radius:50%;background:#90b9dc}.md-priority-dot.urgent{background:#d5a158;box-shadow:0 0 0 5px #fff6e7}.md-decision-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.md-decision{border:1px solid #dbe6f1;border-radius:12px;background:#fff;overflow:hidden;display:flex;flex-direction:column;min-width:0}.md-decision>img{width:100%;height:145px;object-fit:cover;object-position:top;background:#edf3f9}.md-decision-body{padding:20px;display:flex;flex-direction:column;flex:1}.md-decision h3{font-size:17px;line-height:1.5;margin:14px 0 9px;color:#244a6b}.md-decision p{font-size:13px;color:#6e8599;margin:0 0 12px;line-height:1.8}.md-decision small{font-size:11px;line-height:1.7;color:#8b9eaf;display:block;margin-bottom:16px}.md-decision .md-actions{margin-top:auto}.md-decision .md-button{font-size:11px!important;min-height:39px;padding:8px 10px}.md-select{display:flex!important;align-items:center;gap:10px;font-size:12px!important;color:#7893a8!important}.md-select input{width:17px;height:17px;accent-color:#2867b8}.md-batch-bar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:0 0 19px;background:#f6f9fd;border-radius:10px;padding:12px 15px;color:#7791a9;font-size:12px}.md-more{margin:17px 0 25px;border:1px solid #dce7f1;padding:9px 18px;border-radius:12px;background:#fff}.md-more[open]>summary{margin-bottom:12px}.md-job-list>button{display:flex;align-items:center;gap:15px;width:100%;background:#f9fbfe;border:1px solid #e0eaf3;border-radius:10px;margin-bottom:9px;padding:13px;color:#456b8d;text-align:left;cursor:pointer;font-size:12px}.md-job-list strong{min-width:160px}.md-job-list span:nth-last-child(2){flex:1;color:#8198ac}.md-job-list b{font-weight:500}.md-sales-summary{display:flex;gap:15px;align-items:center;flex-wrap:wrap;padding:18px;background:#fff;border:1px solid #dae7f1;border-radius:12px;margin-bottom:20px}.md-sales-summary strong{font-size:24px;color:#2d638f}.md-sales-summary span{font-size:11px;color:#7b91a5;margin-right:22px}.md-pipeline{display:grid;grid-template-columns:repeat(6,minmax(200px,1fr));gap:12px;overflow:auto;padding-bottom:16px}.md-pipeline>section{background:#eaf1f8;padding:13px;border-radius:12px}.md-pipeline h2{font-size:13px;color:#5c7c99;display:flex;justify-content:space-between;margin:3px 0 17px}.md-pipeline article{background:white;border:1px solid #d7e4f1;border-radius:10px;padding:15px;margin-bottom:12px;cursor:grab}.md-pipeline article>button:first-child{background:none;border:0;text-align:left;padding:0;color:#2f5676;font-size:13px}.md-pipeline article>button:first-child span{display:block;margin-top:6px;font-size:12px;color:#6e8aa0}.md-pipeline article p{font-size:12px;color:#69849c;margin:10px 0}.md-pipeline article small{font-size:10px;color:#94a7b7}.md-pipeline .md-button{margin-top:12px;width:100%}.md-helper-state{display:flex;gap:15px;font-size:12px;color:#7a96aa;margin:18px 0}.md-last{background:#f3f8fd;border-radius:8px;padding:12px;font-size:12px!important}.md-helper-grid details{margin:17px 0;font-size:12px;color:#7892a8}.md-helper-grid details summary{cursor:pointer}.md-calendar{display:grid;grid-template-columns:repeat(7,minmax(130px,1fr));gap:9px;overflow-x:auto;margin:18px 0 24px}.md-calendar>section{background:#eaf1f8;border:1px solid #dce6f1;border-radius:10px;padding:10px;min-height:230px}.md-calendar h2{font-size:12px;color:#6d879e;margin:3px 0 15px}.md-calendar-piece{padding:10px;background:white;border:1px solid #d5e4f1;border-radius:9px;margin-bottom:12px;cursor:grab;min-width:0}.md-calendar-piece>img{width:100%;height:95px;object-fit:cover;object-position:top;border-radius:5px;margin-bottom:8px}.md-calendar-piece>button{border:0;background:none;text-align:left;color:#3d6484;font-size:12px;padding:0 0 9px}.md-calendar-piece .md-badge{font-size:9px;padding:3px 5px}.md-calendar-piece .md-button{font-size:10px!important;min-height:32px;padding:6px;margin-top:9px}.md-calendar-label{color:#6a879e;font-size:13px;text-transform:capitalize}.md-calendar-month>section{min-height:150px}.md-unscheduled{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.md-muted{color:#8b9eae;font-size:12px;line-height:1.8}.md-insight{font-size:19px!important;color:#356787!important;line-height:1.9!important}.md-setup-steps .md-panel{display:flex;align-items:flex-start;gap:20px}.md-setup-steps .md-panel>div{flex:1}.md-step{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#eaf4ff;color:#3375a9;font-size:19px;font-weight:600;flex-shrink:0}.md-form-heading h2{font-size:27px;margin:10px 0;color:#183e5c}.md-form-heading p{font-size:13px;color:#6e879b;line-height:1.8;margin:0 0 23px}.md-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.md-field{display:flex!important;flex-direction:column;gap:8px;font-size:12px!important;color:#456d8e!important;margin:0!important;min-width:0}.md-field>span{font-weight:600}.md-field input,.md-field textarea,.md-field select{width:100%;min-height:43px;padding:10px 12px;border:1px solid #cbddec;border-radius:8px;background:#fafcfe;color:#2e5575;font:14px/1.6 'Segoe UI',sans-serif;min-width:0}.md-field input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:#2b71b8}.md-field small{color:#8b9faf;font-size:11px}.md-wide{grid-column:1/-1}.md-form-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:22px 0 0;margin:22px 0 0;border-top:1px solid #e1ebf3}.md-form-footer small{font-size:11px;color:#8b9faf}.md-form [role=alert]{color:#a1513c;font-size:13px}.md-upload{border:1px dashed #a9c5dc;border-radius:10px;padding:20px;background:#f5faff;color:#6486a0;font-size:13px}.md-quote-line{display:grid;grid-template-columns:minmax(0,1fr) 110px 40px;gap:12px;align-items:end;margin:15px 0}.md-pdf-frame{width:100%;height:65dvh;border:1px solid #d5e3ef;border-radius:10px;background:#eef3f7}.md-audit{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.8 Consolas,monospace;color:#3d6687;max-height:480px;overflow:auto;background:#f4f8fc;border:1px solid #dce7f1;padding:16px;border-radius:8px}.md-link{background:transparent;border:0;padding:0;color:#3179b1;text-align:left;cursor:pointer}.md-voice{align-self:flex-start;min-height:35px;margin-top:3px}.md-search-result{width:100%;display:grid;grid-template-columns:1fr 24px;gap:6px 15px;text-align:left;padding:15px;background:#fff;border:0;border-bottom:1px solid #e2ebf3;color:#315b7d;cursor:pointer}.md-search-result:hover{background:#f4f9fe}.md-search-result strong{font-size:14px}.md-search-result small{grid-column:1;font-size:12px;color:#8198ac}.md-search-result>span{grid-column:2;grid-row:1/3;align-self:center}.md-search-input{width:100%;margin:0 0 16px}.md-review-list{font-size:14px;color:#5f7f97;padding:0;list-style:none}.md-review-list li{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #e4edf5}#md-header-controls{display:flex;gap:7px;margin-left:auto}#md-header-controls[hidden]{display:none}#md-header-controls>button{display:flex;gap:7px;align-items:center;justify-content:center;border:1px solid #c1d7e9;border-radius:10px;background:#eef6ff;color:#3f78a8;padding:9px 12px;min-height:40px;font-size:18px;cursor:pointer}#md-header-controls>button>span{font-size:11px}.operations-active .company-content{padding:32px 35px}.operations-active .company-sidebar{font-size:12px}.operations-active .company-sidebar [data-company-tab]{min-height:45px}.md-workspace :is(button,a,input,textarea,select):focus-visible,#md-header-controls button:focus-visible{outline:3px solid #9ac1e9;outline-offset:3px}.md-workspace [hidden],.md-client-card[hidden]{display:none!important}
.md-heading{height:auto!important;min-height:0!important;padding:0!important;position:static!important;background:transparent!important;border:0!important;box-shadow:none!important;width:auto!important;z-index:auto!important}
@media(max-width:600px){body>header #help{display:none}body>header .brand-logo{width:72px!important;min-width:72px!important}.md-heading{flex-wrap:wrap!important;align-items:flex-start!important}.md-heading>div{min-width:0;max-width:100%}.md-heading h1{overflow-wrap:anywhere}}
@media(max-width:1250px){#md-header-controls>button>span{display:none}.workspace{display:none}.md-client-grid,.md-helper-grid,.md-service-grid,.md-memory-grid,.md-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.md-decision-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.md-unscheduled{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.operations-active .company-content{padding:25px 20px}.md-columns{grid-template-columns:1fr}.md-heading{flex-direction:column;gap:16px}.md-heading h1{font-size:29px}.md-panel{padding:19px}.md-calendar{grid-template-columns:repeat(7,minmax(140px,1fr))}.md-pipeline{grid-template-columns:repeat(6,minmax(225px,1fr))}.md-form-heading h2{font-size:24px}.md-job-list>button{flex-wrap:wrap}.md-job-list strong{min-width:0}.md-calendar-month{grid-template-columns:repeat(7,minmax(120px,1fr))}}
@media(max-width:600px){.operations-active .company-content{padding:22px 15px}.md-client-grid,.md-helper-grid,.md-service-grid,.md-news-grid,.md-memory-grid,.md-decision-grid,.md-unscheduled{grid-template-columns:1fr}.md-heading h1{font-size:27px;letter-spacing:-.6px}.md-heading p{font-size:13px}.md-panel{padding:17px;border-radius:12px}.md-section-title{align-items:flex-start;flex-direction:column;gap:12px}.md-section-title h2{font-size:18px}.md-button{min-height:43px;font-size:12px!important}.md-setup-banner{padding:17px;align-items:flex-start;flex-direction:column;gap:14px}.md-daily-summary{padding:17px}.md-priorities article{align-items:flex-start;flex-wrap:wrap;padding:18px 0;gap:13px}.md-priorities article .md-actions{width:100%;padding-left:22px}.md-priority-dot{margin-top:7px}.md-fields{grid-template-columns:1fr}.md-wide{grid-column:auto}.md-form-footer{align-items:flex-start;flex-direction:column}.md-form-footer button{width:100%}.md-client-strip{gap:10px;font-size:11px}.md-client-card{padding:18px;grid-template-columns:35px 1fr}.md-client-avatar{width:35px;height:35px}.md-filter-row{flex-wrap:wrap}.md-filter-row input{width:100%}.md-tabs{gap:3px;padding:4px}.md-tabs button{font-size:11px;padding:10px 12px;min-height:40px}.md-table th{font-size:10px;padding:10px}.md-table td{padding:13px 10px;font-size:12px}.md-panel h2{font-size:18px}.md-quote-line{grid-template-columns:1fr 75px 35px;gap:6px}.md-quote-line .md-field input,.md-quote-line .md-field select{padding:8px;font-size:12px}.md-setup-steps .md-panel{gap:12px;flex-wrap:wrap}.md-setup-steps .md-panel>.md-badge{margin-left:52px}.md-setup-steps .md-panel p{font-size:12px}.md-row{align-items:flex-start;flex-wrap:wrap}.md-decision-body{padding:18px}.md-batch-bar{align-items:flex-start;flex-direction:column}.md-sales-summary{gap:9px}.md-sales-summary strong{font-size:22px}.md-sales-summary span{font-size:10px}#md-header-controls{margin-left:0;gap:4px}#md-header-controls>button{width:32px;min-height:34px;padding:4px;font-size:18px}body>header{gap:6px!important}.company-switch button{padding:8px 10px}.brand-logo{width:82px!important}.brand-sub{display:none}#techbridge-generative .gen-mark{width:29px;height:29px}#help{width:30px;height:30px}.md-more{padding:8px 13px}.md-subtle{flex-direction:column;align-items:flex-start}.md-job-list>button{padding:12px;gap:9px}.md-job-list>button>span:nth-last-child(2){width:100%;flex:auto}.md-workspace{font-size:13px}}
.md-pdf-frame{height:auto!important;max-height:70vh;overflow:auto;background:#edf3f8;padding:16px;border:1px solid #d5e2ef;border-radius:12px;margin:24px 0}
.md-pdf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;padding:10px;background:#f7faff;border-radius:8px;z-index:1;margin-bottom:14px}
.md-pdf-page{display:block;width:100%;height:auto;max-width:900px;margin:auto;box-shadow:0 2px 10px #16375d15}
.ms-connections #ms-config fieldset{display:grid;grid-template-columns:1fr;gap:12px;padding:18px;border:1px solid #d8e3ee;border-radius:12px;margin:16px 0}
.ms-connections #ms-config legend{font-size:14px;line-height:1.5;padding:0 6px;color:#304c66}
.ms-connections #ms-config .op-check{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5;margin:0;cursor:pointer}
.ms-connections #ms-config input[type=checkbox]{width:19px;height:19px;flex:0 0 19px;accent-color:#1764b7;margin:1px 0 0}
.ms-connections .hint{font-size:13px;line-height:1.6}
.ms-connections .md-panel{margin-bottom:20px}
