
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#243c49;background:#f5f7f8;font-synthesis:none;--navy:#142d3b;--green:#218463;--muted:#7a8b95;--line:#e3e9ec}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #74c9ad;outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;font-weight:650}h2{font-size:21px;letter-spacing:-.4px}h3{font-size:15px}p{line-height:1.6}small{font-size:12px}button svg{flex-shrink:0}.muted{color:var(--muted)}.tiny{font-size:12px;line-height:1.7}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#82949d;margin-bottom:9px}.shell{display:flex;min-height:100vh}.sidebar{width:222px;position:fixed;inset:0 auto 0 0;background:var(--navy);color:#b9c8cf;padding:28px 16px 17px;display:flex;flex-direction:column;z-index:3}.brand{display:flex;align-items:center;gap:10px;color:white;font-weight:650;font-size:22px;letter-spacing:-.8px}.brand img{width:38px;height:38px}.brand-sub{display:block;font-size:8px;letter-spacing:1.5px;margin-top:3px;color:#8ca5b1}.company{display:flex;gap:10px;align-items:center;border-top:1px solid #2b4351;border-bottom:1px solid #2b4351;margin:28px 0 25px;padding:20px 4px}.company-mark{border:1px solid #45616e;border-radius:8px;display:grid;place-items:center;min-width:32px;height:32px;font-size:11px}.company strong{color:#e3edef;font-size:12px;display:block;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company small{display:block;font-size:10px;margin-top:4px;color:#8da5b0}.nav-label{font-size:9px;letter-spacing:1.3px;padding:0 14px;margin-bottom:13px;color:#829ba7}.nav-item{width:100%;border:0;background:none;color:#aabfc9;display:flex;align-items:center;gap:12px;text-align:left;padding:13px 14px;margin:3px 0;border-radius:7px;font-size:13px}.nav-item.active{background:#24473f;color:#c4f1df}.nav-item:hover{background:#223f4c;color:#fff}.nav-item b{margin-left:auto;font-size:10px;border-radius:5px;background:#3a5561;padding:2px 6px}.sidebar-bottom{margin-top:auto;padding-top:35px}.local-status{font-size:10px;padding:13px 14px;color:#9aafb9;display:flex;align-items:center;gap:7px}.status-dot{width:6px;height:6px;background:#7cc8a5;border-radius:50%}.sidebar-bottom .nav-item{font-size:11px}.user{background:none;border:0;border-top:1px solid #314956;padding:20px 3px 0;margin-top:14px;display:flex;align-items:center;text-align:left;color:#dbe8ed;gap:10px;width:100%}.user strong{font-size:12px;display:block}.user small{display:block;font-size:10px;margin-top:4px;color:#8ba1ac}.user>svg{margin-left:auto;color:#8ca4af}.avatar{width:33px;height:33px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e4eee9;color:#547668;font-size:11px;font-weight:650;flex-shrink:0}.avatar.small{width:28px;height:28px;font-size:10px}.avatar.mini{width:22px;height:22px;font-size:8px}.main{margin-left:222px;min-width:0;width:calc(100% - 222px)}.topbar{height:70px;display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid var(--line);padding:0 34px}.breadcrumb{font-size:12px;color:#81919a;display:flex;gap:14px;align-items:center}.breadcrumb strong{font-weight:500;color:#415761}.breadcrumb span{color:#c2ccd1}.top-actions{display:flex;align-items:center;gap:18px}.today{font-size:11px;color:#80919a}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#8a9aa3;border-radius:5px;width:28px;height:28px;font-size:19px}.icon-button:hover{background:#e6edef;color:#243c49}.content{padding:30px 32px 18px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:27px}.page-heading p{font-size:12px;margin-top:8px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:6px;min-height:39px;padding:10px 15px;font-size:12px;font-weight:600;white-space:nowrap}.primary{color:#fff;background:var(--green);border:1px solid var(--green)}.primary:hover{background:#176e52}.secondary{background:#fff;color:#506672;border:1px solid #dce5e8}.secondary:hover{background:#f0f5f3}.secondary.compact{padding:8px 11px;min-height:35px;font-size:11px}.text-button{border:0;background:none;color:#298464;font-size:12px;padding:5px 0;display:inline-flex;align-items:center;gap:5px;text-align:left}.text-button:hover{text-decoration:underline}.strong{font-weight:600}.plain-title{background:none;border:0;text-align:left;color:inherit;padding:0}.metrics{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:9px;margin-bottom:24px;padding:21px 0}.metrics>div{padding:0 25px;border-right:1px solid var(--line)}.metrics>div:last-child{border:0}.metrics span{font-size:11px;color:#6e828c;display:block}.metrics strong{font-size:27px;letter-spacing:-.7px;display:block;margin:10px 0 8px;font-weight:600}.metrics i{font-size:11px;font-style:normal;font-weight:400;letter-spacing:0;color:#98a4aa;margin-left:7px}.metrics small{font-size:10px;color:#8b9ba3}.danger-text{color:#c15e50!important}.toolbar{display:flex;align-items:center;gap:9px;margin:15px 0 20px;flex-wrap:wrap}.search{height:37px;border:1px solid #e0e7eb;border-radius:6px;background:#fff;display:flex;align-items:center;gap:9px;padding:0 12px;min-width:245px;max-width:380px;flex:1;color:#94a4ab}.search input{border:0;padding:0;outline:none;width:100%;height:34px;background:none;font-size:11px;color:#37505c}.search input::placeholder{color:#94a3ab}.toolbar select{height:35px;border:1px solid #dfe7ea;background:#fff;border-radius:6px;padding:0 25px 0 10px;color:#6a7d87;font-size:11px;max-width:145px}.segmented{display:flex;padding:3px;border:1px solid var(--line);border-radius:6px;background:#fff;margin-left:auto;gap:3px}.segmented button{border:0;background:none;border-radius:4px;color:#8a9aa3;width:31px;height:27px;display:grid;place-items:center}.selected{background:#edf5f1!important;color:#247e5e!important}.board-summary{display:flex;justify-content:space-between;gap:10px;margin-bottom:14px;font-size:11px;color:#647b86}.board-summary small{font-size:10px;color:#94a3ab}.board{display:flex;gap:12px;overflow:auto;align-items:stretch;padding-bottom:16px;min-height:480px;scrollbar-color:#c8d6db transparent;scrollbar-width:thin}.column{width:274px;min-width:274px;background:#edf1f3;border:1px solid #e5ebee;border-radius:8px;padding:15px 12px 9px;display:flex;flex-direction:column}.column-heading{display:flex;align-items:flex-start;gap:8px;min-height:34px}.column-heading h2{font-size:11px;font-weight:650;line-height:1.5;letter-spacing:0;flex:1}.stage-number{font-size:9px;color:#7d929e;border:1px solid #ccd8df;min-width:19px;height:19px;display:grid;place-items:center;border-radius:4px}.column-heading .icon-button{width:15px;height:18px;font-size:16px}.column-meta{font-size:10px;color:#8a9aa4;padding:1px 0 14px 27px}.column-meta span{margin:0 5px}.cards{display:flex;flex-direction:column;gap:12px}.deal-card{border:1px solid #e3e9ed;border-radius:7px;background:#fff;cursor:pointer;padding:14px 13px 0;box-shadow:0 2px 2px #23475404;transition:box-shadow .15s,transform .15s}.deal-card:hover{box-shadow:0 5px 15px #15374612;transform:translateY(-2px);border-color:#b7d4c7}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.lender-logo{font-size:10px;font-weight:750;letter-spacing:.3px;border:1px solid #e6ebef;color:#557381;min-width:33px;height:27px;display:flex;justify-content:center;align-items:center;padding:0 4px;border-radius:5px}.badge{display:inline-flex;font-size:9px;border-radius:4px;padding:4px 7px;font-weight:550;white-space:nowrap}.green{background:#e3f3ec;color:#318362}.neutral{background:#f0f3f5;color:#8b9aa3}.amber{background:#fff1db;color:#b88427}.red{background:#fdece8;color:#c16f5c}.deal-card h3{font-size:12px;line-height:1.6;margin-bottom:8px;font-weight:600}.deal-amount{font-size:20px;letter-spacing:-.4px;font-weight:600;color:#294450}.card-purpose{font-size:10px;color:#92a1a8;margin-top:5px}.card-owner{display:flex;align-items:center;gap:6px;margin:15px 0 13px;color:#8999a2;font-size:9px}.doc-count{margin-left:auto;display:flex;align-items:center;gap:4px;color:#8d9ca4}.card-dates{display:grid;grid-template-columns:repeat(3,1fr);padding:12px 0;border-top:1px solid #edf1f3;gap:3px}.card-dates span{display:block;font-size:8px;color:#9ba7ae;margin-bottom:6px}.card-dates b{font-size:10px;font-weight:500;color:#69808c}.card-dates .date-overdue b{color:#d47762}.drop-hint{border:1px dashed #d5e0e5;border-radius:6px;text-align:center;color:#9aaab2;padding:26px 5px;font-size:10px}.add-card{border:0;background:none;color:#8a9da7;font-size:11px;text-align:left;padding:16px 4px 6px}.add-card:hover{color:#257a5d}.column.collapsed{width:42px;min-width:42px;padding:0;background:#eef2f4}.collapsed button{display:flex;flex-direction:column;align-items:center;gap:20px;background:none;border:0;padding:15px 10px;min-height:100%;color:#8b9da7}.collapsed strong{writing-mode:vertical-rl;transform:rotate(180deg);font-size:11px;white-space:nowrap;font-weight:500;color:#6f8490;letter-spacing:.2px}.collapsed small{writing-mode:vertical-rl;font-size:9px;white-space:nowrap;color:#a0aeb6;margin-top:auto}.collapsed button>span{font-size:10px}.collapsed svg{margin-top:6px}.workspace-footer{font-size:8px;letter-spacing:.8px;color:#a3b0b7;display:flex;justify-content:space-between;border-top:1px solid #e3e9ec;margin-top:22px;padding-top:16px}.demo-banner{padding:11px 32px;background:#e8f3ee;color:#537f6a;font-size:11px;display:flex;justify-content:space-between;gap:12px}.demo-banner button{color:#287f5e;border:0;background:none;font-size:11px;font-weight:600}.table-wrap{border:1px solid var(--line);border-radius:8px;overflow:auto;background:white}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:#8a9ca5;font-size:10px;letter-spacing:.3px;padding:15px 18px;background:#fafcfc;font-weight:500}td{padding:18px;border-top:1px solid #edf1f3;color:#5e7682;font-size:11px}td small{display:block;color:#9ba8af;font-size:10px;margin-top:6px}tr:hover td{background:#fbfdfc}.client-link{border:0;background:none;display:flex;align-items:center;gap:11px;text-align:left;font-size:12px;color:#3a5665;min-width:170px}.task-summary{display:flex;gap:8px;margin:0 0 18px}.task-list{background:white;border:1px solid var(--line);border-radius:8px;padding:0 19px}.task-row{display:flex;align-items:center;gap:15px;border-bottom:1px solid #edf1f3;padding:19px 0;font-size:11px}.task-row:last-child{border-bottom:0}.task-check{width:20px;height:20px;border:1px solid #ccd8df;border-radius:5px;background:#fff;display:grid;place-items:center;flex-shrink:0}.task-check.checked{background:#e1f1e9;border-color:#a9d9c2;color:#258760}.task-text{flex:1;min-width:130px}.task-text strong{font-size:12px;font-weight:550}.task-text small{font-size:10px;color:#94a3ad;display:block;margin-top:6px}.task-assignee{color:#869ba5;min-width:90px;text-align:right;font-size:10px}.task-due{color:#879ba6;min-width:50px;text-align:right;font-size:10px}.completed .task-text strong{text-decoration:line-through;color:#9ba9af}.document-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}.document-card{background:white;border:1px solid var(--line);border-radius:8px;padding:22px}.document-card h3{font-size:13px;line-height:1.5}.document-card p{font-size:11px;color:#8ba0aa;margin:8px 0 19px}progress{width:100%;height:5px;border:0;border-radius:10px;overflow:hidden;background:#edf3f1}progress::-webkit-progress-bar{background:#edf3f1}progress::-webkit-progress-value{background:#77bfa2}progress::-moz-progress-bar{background:#77bfa2}.progress-caption{display:flex;justify-content:space-between;align-items:center;margin-top:10px;font-size:10px;color:#8ca1ac}.info-note{display:flex;align-items:center;gap:10px;background:#eaf1ef;border:1px solid #dde9e4;color:#6a877a;padding:12px 16px;font-size:11px;line-height:1.6;border-radius:7px;margin-bottom:21px}.activity-list{background:white;border:1px solid var(--line);border-radius:8px;padding:10px 25px}.activity-row{display:flex;gap:18px;padding:20px 0;border-bottom:1px solid #edf2f4}.activity-row:last-child{border:0}.activity-dot{width:8px;height:8px;border-radius:50%;background:#8bbca5;margin-top:6px}.activity-row strong{font-size:12px}.activity-row p{font-size:11px;color:#6f8b99;margin-top:5px}.activity-row small{font-size:9px;color:#a0b1ba;display:block;margin-top:8px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.panel{background:#fff;border:1px solid var(--line);border-radius:8px;padding:26px}.section-title{display:flex;gap:12px;align-items:center;margin-bottom:23px;color:#6c887b}.section-title h2{font-size:17px;color:#304b58}.panel p{font-size:12px;margin:12px 0}.panel h3{font-size:13px;margin-bottom:12px}.button-row{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}hr{border:0;border-top:1px solid var(--line);margin:25px 0}.empty{min-height:340px;background:#fff;border:1px dashed #dbe6e9;border-radius:10px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:35px;color:#729184;gap:15px}.empty h3{font-size:20px;color:#375260;font-weight:550}.empty p{font-size:12px;color:#879ca7;margin-bottom:7px}.loading{padding:100px;text-align:center;color:#547566}.loading p{margin:20px}.auth{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.auth-story{background:var(--navy);color:#c4d9e0;padding:55px 65px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.auth-story .brand{font-size:26px}.auth-story .brand img{width:45px;height:45px}.auth-story .eyebrow{color:#86bca4;font-size:10px;letter-spacing:2px;margin-bottom:25px}.auth-story h1{font-size:54px;letter-spacing:-2.5px;line-height:1.19;color:#f0f5f5;font-weight:550}.auth-story h1 em{font-style:normal;color:#a5dcc3}.auth-story p{font-size:14px;max-width:330px;line-height:1.8;margin-top:25px;color:#91acb9}.auth-story small{color:#668391;font-size:10px}.auth-flow{display:flex;align-items:center;gap:20px;margin-top:45px;color:#628977}.auth-flow span{border:1px solid #3e5c62;border-radius:24px;padding:9px 16px;font-size:10px;color:#a1bdc5}.auth-form{background:#fcfdfc;display:flex;align-items:center;justify-content:center;padding:45px}.auth-card{max-width:370px;width:100%}.auth-card h2{font-size:27px;line-height:1.4;margin:20px 0 10px;letter-spacing:-.8px}.auth-card>p{font-size:12px;margin-bottom:25px}.auth-card .badge{letter-spacing:1px;font-size:8px;padding:6px 8px}.auth-card .tiny{font-size:10px;margin-top:14px;text-align:center}.full{width:100%}.separator{position:relative;text-align:center;margin:26px 0;font-size:10px;color:#9baab1}.separator:before{content:'';position:absolute;left:0;right:0;top:50%;height:1px;background:#e9eeee}.separator span{position:relative;background:#fcfdfc;padding:0 12px}label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#6e8591;margin-bottom:19px}input,select,textarea{border:1px solid #dbe5e8;border-radius:5px;background:#fff;padding:11px 12px;color:#355360;font-size:12px;min-width:0;width:100%}input::placeholder,textarea::placeholder{color:#a5b3ba}textarea{resize:vertical;line-height:1.6}input[type="checkbox"]{width:16px;height:16px;accent-color:#2b8c68;flex-shrink:0;margin:0}input:disabled{background:#f1f3f4}.form-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.span2{grid-column:span 2}.form-error{font-size:12px;color:#bb5c50;line-height:1.6;margin-bottom:15px}.form-error:empty{display:none}.form-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}dialog{border:1px solid #d9e5e9;border-radius:12px;padding:0;width:min(560px,calc(100vw - 32px));max-height:90vh;color:#355260;box-shadow:0 30px 90px #142d3b33}dialog.wide{width:min(840px,calc(100vw - 32px))}dialog::backdrop{background:#102b3e70;backdrop-filter:blur(2px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:22px 28px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.modal-head .eyebrow{font-size:8px;margin-bottom:8px}.modal-head h2{font-size:21px}.modal-body{padding:25px 28px}.modal-body>p{font-size:12px;margin-bottom:20px}.modal-body h3{margin:16px 0;font-size:13px}.subheading{display:flex;align-items:center;justify-content:space-between;margin:15px 0 10px}.subheading h3{margin:0}.check-label{flex-direction:row;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eef2f4;margin:0;font-size:12px}.check-label input:checked+span{color:#328465}.add-document{display:flex;gap:10px;margin:15px 0}.deal-tasks{margin-top:25px;padding-top:15px;border-top:1px solid var(--line)}.workflow-row{display:flex;align-items:center;gap:12px;background:#f0f6f3;padding:18px;border-radius:6px;margin-top:25px}.workflow-row strong{font-size:11px}.workflow-row select{width:140px;margin-left:auto}.workflow-row p{font-size:10px;margin-top:5px}.related-deal{display:flex;justify-content:space-between;gap:10px;padding:14px 0;font-size:11px;border:0;border-bottom:1px solid var(--line);background:none;width:100%;text-align:left;color:#557583}.related-deal span{color:#2a8a68}.team-row{display:flex;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}.team-row>div{flex:1}.team-row strong{font-size:12px}.team-row small{font-size:10px;color:#8ba0ab;display:block;margin-top:6px}.team-row button{font-size:10px}.install-steps{font-size:12px;line-height:1.8;color:#64808e;padding-left:20px}.install-steps li{margin:15px 0}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#173b30;color:#fff;border-radius:8px;padding:13px 22px;z-index:20;font-size:12px;max-width:90vw;box-shadow:0 8px 25px #173b3026;opacity:0;pointer-events:none;transition:.2s}#toast.visible{opacity:1;transform:translate(-50%,0)}@media(min-width:1800px){.content{padding:38px 45px}.column{width:300px;min-width:300px}.metrics{padding:27px 0}}@media(max-width:1100px){.sidebar{width:190px;padding-left:10px;padding-right:10px}.main{margin-left:190px;width:calc(100% - 190px)}.brand{font-size:19px}.content{padding:25px 22px}.metrics>div{padding:0 15px}.metrics strong{font-size:23px}.metrics small{font-size:9px}.today{display:none}.toolbar select{max-width:120px}.board-summary small{display:none}.auth-story{padding:40px}.auth-story h1{font-size:44px}.auth-flow{gap:10px}.auth-flow span{padding:8px 12px}}@media(max-width:760px){.sidebar{width:64px;padding:20px 8px}.sidebar .brand>span,.company,.nav-label,.nav-item span,.nav-item b,.sidebar .user>span:not(.avatar),.sidebar .user>svg,.local-status{display:none}.sidebar .brand{justify-content:center;margin-bottom:30px}.sidebar .brand img{width:35px;height:35px}.nav-item{justify-content:center;padding:14px 0}.sidebar .user{justify-content:center}.main{margin-left:64px;width:calc(100% - 64px)}.topbar{padding:0 17px;height:57px}.top-actions{gap:8px}.breadcrumb{font-size:10px;gap:8px}.content{padding:24px 16px}.page-heading h1{font-size:26px}.page-heading p{font-size:11px;max-width:230px}.page-heading .primary{padding:9px;font-size:10px}.eyebrow{font-size:8px;letter-spacing:1px}.metrics{grid-template-columns:1fr 1fr;padding:0}.metrics>div{padding:19px 15px;border-bottom:1px solid var(--line)}.metrics>div:nth-child(2){border-right:0}.metrics>div:nth-child(3){border-bottom:0}.metrics strong{margin:8px 0;font-size:24px}.toolbar .search{min-width:100%;max-width:none}.toolbar{gap:7px}.toolbar select{max-width:115px}.toolbar .compact{font-size:10px;padding:7px}.segmented{margin-left:0}.column{min-width:250px;width:250px}.demo-banner{font-size:9px;padding:10px 16px}.demo-banner button{font-size:9px;flex-shrink:0}.settings-grid{grid-template-columns:1fr}.task-row{gap:9px}.task-assignee{display:none}.task-text{min-width:70px}.task-text strong{font-size:11px}.task-row .badge{display:none}.auth{grid-template-columns:1fr}.auth-story{min-height:auto;padding:28px 30px}.auth-story>div:not(.brand),.auth-story>small{display:none}.auth-story .brand{font-size:22px}.auth-form{padding:40px 30px}.auth-card{max-width:420px}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}.modal-body,.modal-head{padding:20px}.workflow-row{flex-wrap:wrap}.workflow-row>div{width:100%}.workflow-row select{margin-left:0}.workspace-footer{font-size:7px;gap:10px}.team-row{flex-wrap:wrap}.team-row>div{min-width:180px}}

.client-id-line{display:flex;justify-content:space-between;padding:15px 18px;margin-bottom:24px;border:1px solid #dce9e2;border-radius:6px;background:#f0f7f3;font-size:12px;color:#537a65}.client-id-line strong,.client-id-cell{font-family:Consolas,monospace;white-space:nowrap}.contact-section{margin-bottom:22px;border:1px solid #e1e9ed;border-radius:6px;padding:0 16px}.contact-section summary{padding:16px 0;cursor:pointer;font-size:13px;font-weight:600}.contact-section .form-grid{padding-top:10px}.client-count{font-size:12px;color:#718a96;margin-bottom:15px}

/* Official company logo, displayed from the unchanged source image. */
.company-logo{display:block;width:42px;height:42px;flex-shrink:0;background:#fff;border-radius:50%;overflow:hidden}.company>div{min-width:0;flex:1}.company strong{max-width:none;white-space:normal;line-height:1.45;overflow:visible;text-overflow:clip}

/* Separate accessible actions for a loan and its client. */
.deal-title-button{font:inherit;font-weight:650;color:inherit;background:none;border:0;text-align:left;padding:0;line-height:1.55;cursor:pointer;width:100%}
.deal-title-button:hover{color:#237e67;text-decoration:underline}.deal-title-button:focus-visible,.deal-client-link:focus-visible{outline:2px solid #2f9a7d;outline-offset:3px}
.deal-client-link{display:flex;align-items:flex-start;gap:8px;width:100%;padding:9px 10px;margin:10px 0 14px;border:1px solid #dcece5;border-radius:5px;background:#f0f7f4;color:#287d67;text-align:left;font-size:14px;font-weight:600;line-height:1.45;cursor:pointer}
.deal-client-link svg{flex-shrink:0;margin-top:2px}.deal-client-link span{overflow-wrap:anywhere}.deal-client-link:hover{background:#e4f2eb;border-color:#b5d7c6}

.task-delete,.task-restore{flex-shrink:0;font-size:13px;line-height:1.4;padding:7px 10px;background:#fff;border:1px solid #e2e7e8;border-radius:5px;cursor:pointer}
.task-delete{color:#ac5148}.task-delete:hover{border-color:#d5a39c;background:#fff4f2}.task-restore{color:#267c67}.task-restore:hover{border-color:#9ccaba;background:#eef8f3}
.task-delete:focus-visible,.task-restore:focus-visible{outline:2px solid #2f9a7d;outline-offset:2px}.task-view-controls{display:flex;align-items:center;gap:15px;margin-bottom:18px;flex-wrap:wrap}.deleted-task .task-text strong{color:#75858d}.task-row.deleted-task .badge.neutral{display:inline-flex}
@media(max-width:600px){.task-delete,.task-restore{padding:7px;font-size:12px}.task-row{flex-wrap:wrap}}

/* Reset native button padding so the completion icon stays centred everywhere. */
.task-check{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:0;margin:0;width:24px;height:24px;min-width:24px;min-height:24px;flex:0 0 24px;line-height:1;vertical-align:middle;border:1px solid #cbdad3;border-radius:6px;background:#fff;color:#23845f;cursor:pointer}
.task-check svg{display:block;flex:none;width:16px;height:16px;margin:0;padding:0;pointer-events:none}
.task-check.checked{background:#e4f4eb;border-color:#8ac9aa;color:#20865e}
.task-check:hover{background:#f0f8f4;border-color:#78b99a}.task-check.checked:hover{background:#d9efE3;border-color:#65ae88}
.task-check:focus-visible{outline:2px solid #2f9a7d;outline-offset:3px}

.document-requirement{display:flex;align-items:center;gap:16px;border-bottom:1px solid #eef2f4;padding:3px 0}
.document-requirement .check-label{flex:1;min-width:0;border:0;margin:0;padding:12px 0}
.document-requirement .check-label span{overflow-wrap:anywhere}
.document-delete{margin:5px 0}
.document-undo{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f0f6f3;border:1px solid #dcebe4;border-radius:6px;padding:12px 14px;margin:14px 0;font-size:13px;color:#466c5b}
.document-undo .text-button{font-weight:600;flex-shrink:0}
.document-requirement[hidden],.document-undo[hidden]{display:none}

.auth-links{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:24px 0}.sharing-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0;border-bottom:1px solid var(--line,#e1e8eb)}.sharing-row span{display:grid;gap:4px}.sharing-row small{font-weight:400;color:#687e8c;overflow-wrap:anywhere}.sharing-row select{width:190px;flex-shrink:0}.access-notice{font-size:15px;color:#617986}button:disabled{cursor:not-allowed;opacity:.55}input:disabled,select:disabled,textarea:disabled{color:#425b68;background:#f4f7f8;opacity:1}.offline-card{max-width:600px;margin:15vh auto;padding:32px}.offline-card img{width:64px;height:64px}@media(max-width:600px){.sharing-row{align-items:stretch;flex-direction:column;gap:10px}.sharing-row select{width:100%}}
