/* GrantAdviser card geometry with Tendra's charcoal and lime palette. */
.tc-create-tabs{flex-wrap:wrap}.tc-create-people-note{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border:1px solid #dce8d3;border-radius:9px;background:#f8fcf2;font-size:12px}.tc-create-people-note>span{min-width:0}.tc-create-people-note .btn{white-space:normal;flex:none}.tc-create-materials{display:grid;gap:22px}.tc-create-materials>section>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.tc-create-materials header h3{font-size:15px}.tc-create-materials header p{margin-top:4px;color:var(--muted);font-size:11px;line-height:1.5}.tc-create-materials header>.btn{flex:none}.tc-initial-item{margin-top:12px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fafcf7;min-width:0}.tc-initial-item>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.tc-initial-item>header>b{font-size:12px;color:#667b56}.tc-initial-item .form-grid{min-width:0}.tc-initial-item [name=initialListItems]{min-height:110px}.tc-own-time{margin-top:6px;color:#61764f;font-size:12px}.tc-own-time strong{margin-left:5px;font-size:15px}
@media(max-width:650px){.tc-create-people-note,.tc-create-materials>section>header{flex-direction:column;align-items:stretch}.tc-create-people-note .btn,.tc-create-materials header>.btn{width:100%;justify-content:center}.tc-initial-item{padding:12px}.tc-create-tabs button{white-space:normal}}
.tc-route-backdrop{position:fixed;inset:0;z-index:80;background:#10292c75;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:20px}
.tc-task-card{width:1200px;max-width:100%;max-height:calc(100dvh - 40px);display:flex;flex-direction:column;background:#fff;border:1px solid #d8e3d5;border-radius:26px;box-shadow:0 30px 100px #10282c40;overflow:hidden;color:var(--ink);font-size:14px}
.tc-card-header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 28px;border-bottom:1px solid #e4ebe0;flex:none}
.tc-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#6b8259;margin-bottom:8px}
.tc-card-header h1{font-size:25px;line-height:1.35;margin:0;overflow-wrap:anywhere;max-width:960px}
.tc-card-header .icon-btn{font-size:0;flex:none;width:40px;height:40px;border-radius:12px;border:1px solid #e2e8df}
.tc-card-tabs{display:flex;gap:4px;overflow:auto;scrollbar-width:none;padding:0 25px;border-bottom:1px solid #e4ebe0;flex:none;background:#fff}
.tc-card-tabs::-webkit-scrollbar{display:none}.tc-card-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:51px;border:0;border-bottom:3px solid transparent;background:transparent;white-space:nowrap;padding:0 16px;color:#778574;font-size:13px;font-weight:700}
.tc-card-tabs button.active{color:#345d38;border-bottom-color:#8fbe50}.tc-card-tabs button:hover{background:#f6faef}.tc-card-tabs button svg{width:16px;height:16px}.tc-card-tabs button span{background:#eef4e7;border-radius:5px;font-size:10px;padding:1px 5px}
.tc-sheet-scroll{overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;background:#fafbf8}
.tc-card-content{padding:22px 26px 28px;display:grid;gap:20px}.tc-native{padding:20px 26px 0}.tc-native .bc-connection{margin:0;padding:16px;font-size:12px;border-radius:16px}.tc-native .bc-connection p{margin:3px 0}.tc-native .bc-connection small{font-size:10px;overflow-wrap:anywhere}
.tc-panel{background:white;border:1px solid #dce7d5;border-radius:18px;padding:22px;min-width:0}.tc-panel h3{font-size:16px;color:var(--navy);margin:0;line-height:1.5}.tc-panel h3 svg{width:18px;height:18px;vertical-align:middle;margin-right:8px}.tc-panel h4{font-size:13px}.tc-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.tc-section-head>svg{width:20px;height:20px;flex:none;color:#769556}.tc-section-head p,.tc-help{font-size:12px;line-height:1.65;color:#7a8873;margin:6px 0 0}.tc-help.wide{margin:0}.tc-label{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#85917d}.tc-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.tc-aside{display:grid;gap:16px}.tc-aside .tc-panel{padding:20px}.tc-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.tc-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tc-panel .field label,.tc-create-modal .field label{font-size:12px;font-weight:700;color:#66745e}.tc-panel .field input,.tc-panel .field select,.tc-panel .field textarea,.tc-create-modal .field input,.tc-create-modal .field select,.tc-create-modal .field textarea{font-size:13px;border-radius:11px;min-height:44px;border-color:#d6e2ce;padding:11px 13px;background:#fff}.tc-panel .field input:focus,.tc-panel .field select:focus,.tc-panel .field textarea:focus,.tc-create-modal input:focus,.tc-create-modal textarea:focus,.tc-create-modal select:focus{outline:3px solid #e5f2d6;outline-offset:0;border-color:#8ab45d}.tc-form .form-actions{padding-top:16px;border-color:#e4ecdf}.tc-form .btn{font-size:12px;min-height:42px;border-radius:11px}.tc-form fieldset,.tc-main-form>fieldset{border:0;padding:0;margin:0;min-width:0}.tc-main-form>fieldset:disabled{opacity:.65}.tc-main-form>fieldset:disabled .form-actions{display:none}
.tc-critical{border:1px solid #e1e8dc;background:#f6f9f0;border-radius:12px;padding:14px;display:flex;align-items:flex-start;gap:12px}.tc-critical input{accent-color:#bc6951;width:17px;height:17px;margin-top:3px}.tc-critical strong{display:block;font-size:13px}.tc-critical small{display:block;font-size:11px;color:#7d8876;margin-top:3px}.tc-action-stack{display:grid;gap:9px}.tc-action-stack .btn{justify-content:center;min-height:42px;border-radius:11px;font-size:12px;white-space:normal}.tc-person-fact{margin-top:15px}.tc-person-fact>small{display:block;color:#83907a;font-size:11px;margin-bottom:7px}.tc-person-fact strong{font-size:12px;overflow-wrap:anywhere}.tc-person-fact .avatar{width:30px;height:30px;flex:none}
.tc-participant-table{border:1px solid #e0e9d9;border-radius:12px;overflow:hidden}.tc-person-row{display:grid;grid-template-columns:minmax(0,1fr) 110px 110px;align-items:center;gap:10px;padding:12px 16px;border-top:1px solid #e9eee4}.tc-person-row:first-child{border:0}.tc-person-row strong{font-size:13px;overflow-wrap:anywhere}.tc-person-row .avatar{width:30px;height:30px;flex:none}.tc-person-row label{display:flex;align-items:center;justify-content:center;min-height:30px}.tc-person-row input{width:17px;height:17px;accent-color:#669043}.tc-person-heading{background:#f5f8ee;font-size:10px;color:#859278;font-weight:800}.tc-person-heading span:not(:first-child){text-align:center}
.tc-transfer{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border:1px solid #efdfbb;background:#fffaee;border-radius:13px;padding:16px;margin-bottom:14px}.tc-transfer strong{font-size:13px}.tc-transfer small{display:block;font-size:10px;margin-top:4px;color:#8c835e}.tc-transfer p{font-size:13px;line-height:1.6;margin:10px 0 0}.tc-transfer-history{margin-top:18px;border-top:1px solid #e4eadf;padding-top:15px;font-size:12px;color:#7d8c75}.tc-transfer-history summary{cursor:pointer;font-weight:700}.tc-transfer-history p{padding:10px 0;line-height:1.8}.tc-review{background:#f6f9f1}.tc-review-comment{background:white;border:1px solid #e0e8d8;border-radius:11px;padding:13px;margin-bottom:15px}.tc-review-comment small{font-size:10px;color:#7d8c74}.tc-review-comment p{font-size:13px;line-height:1.7;white-space:pre-wrap;margin-top:5px}.tc-requirements>.tc-help{margin-top:16px}.tc-requirements .tc-two{gap:28px}.tc-requirements .tc-label{display:block;margin-bottom:10px}
.tc-editor-surface{border:1px solid #d6e2ce;border-radius:12px;overflow:hidden;background:#f9fbf5}.tc-editor-surface:focus-within{border-color:#8ab45d;box-shadow:0 0 0 3px #e6f1d9}.tc-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:7px;border-bottom:1px solid #e3ebdc;background:#fff}.tc-toolbar button{min-width:30px;min-height:31px;border:0;border-radius:7px;background:transparent;color:#687b5b;font-size:13px;font-weight:700}.tc-toolbar button:hover{background:#eaf3de;color:#426331}.tc-toolbar button[data-editor=italic]{font-style:italic}.tc-toolbar button[data-editor=strike]{text-decoration:line-through}.tc-toolbar .tc-preview-toggle{margin-left:auto;font-size:10px;font-weight:600;padding:4px 7px;background:#f2f7e9}.tc-editor-surface textarea{border:0!important;border-radius:0!important;background:transparent!important;min-height:135px!important;outline:none!important;box-shadow:none!important;line-height:1.85}.tc-editor-hint{font-size:10px;color:#95a18a;padding:5px 13px 10px}.tc-editor-preview{padding:13px;min-height:135px;overflow-wrap:anywhere}.tc-task-card .tt-rich{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.tt-rich p{margin:4px 0}.tt-rich ul,.tt-rich ol{padding-left:24px;margin:8px 0}.tt-rich blockquote{padding:8px 14px;border-left:3px solid #a6c57e;background:#f4f8ed;margin:8px 0;color:#6a7b5a}.tt-rich a{color:#507c35;text-decoration:underline;text-underline-offset:3px}.tt-rich a svg{width:12px;height:12px;vertical-align:middle;margin-left:4px}.tt-rich code{background:#eaf0e1;padding:2px 5px;border-radius:5px}.tc-draft-note{background:#fff7e3;border:1px solid #eadbb4;border-radius:10px;padding:10px;font-size:11px;color:#8b7342;line-height:1.7}.tc-draft-note[hidden]{display:none}
.tc-empty{padding:20px;text-align:center;border:1px dashed #d5e2ca;background:#fafcf6;border-radius:12px;color:#95a187;font-size:12px;line-height:1.8}.tc-work-grid{align-items:start}.tc-mini-actions{display:flex;align-items:center;gap:4px;flex:none}.tc-mini-actions .icon-btn{font-size:0;width:29px;height:30px;min-height:30px;padding:5px;border:0;border-radius:7px;color:#839577;display:flex;align-items:center;justify-content:center}.tc-mini-actions .icon-btn:hover{background:#edf5e5}.tc-mini-actions .icon-btn.danger{color:#af715c}.tc-mini-actions svg{width:14px;height:14px}.tc-mini-actions .tc-down svg{transform:rotate(180deg)}.tc-progress{height:5px;background:#eaf0e3;border-radius:10px;overflow:hidden;margin-bottom:17px}.tc-progress span{display:block;height:100%;background:#8ab653;border-radius:10px}.tc-checklist{padding:15px;background:#f7faf2;border-radius:13px;margin-bottom:14px}.tc-checklist-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:11px}.tc-checklist-head strong{font-size:13px;overflow-wrap:anywhere}.tc-check-row{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:9px 0;border-top:1px solid #e6eddd}.tc-check-row>label{display:flex;gap:9px;align-items:flex-start;font-size:13px;flex:1;min-width:0;overflow-wrap:anywhere}.tc-check-row input,.tc-result-status input{width:17px;height:17px;flex:none;accent-color:#719943;margin-top:2px}.tc-check-row .done{text-decoration:line-through;opacity:.6}.tc-checklist>.tc-form{margin-top:14px}.tc-checklist .form-grid{grid-template-columns:1fr}.tc-checklist .form-actions{padding-top:8px}.tc-checklist .form-actions button[type=reset]{display:none}.tc-checklist .form-actions .btn{min-height:34px}.tc-result{padding:15px;background:#f7faf2;border-radius:13px;margin-bottom:14px}.tc-result-status{display:flex;gap:9px;align-items:flex-start}.tc-result-status strong{font-size:13px;overflow-wrap:anywhere}.tc-result>.tt-rich{margin:9px 0}.tc-result>small{font-size:10px;color:#8a997e;display:block;margin-top:9px}.tc-result-link{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;color:#668644}.tc-result-link svg{width:13px;height:13px}
.tc-timer-panel{background:linear-gradient(120deg,#fbfdf7,#f0f6e8)}.tc-time-table{margin-top:20px;border:1px solid #dae5d0;border-radius:12px;overflow:hidden;background:#fff}.tc-time-table>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.8fr) 110px;gap:12px;align-items:center;padding:12px 16px;font-size:12px;border-top:1px solid #e7edde}.tc-time-table>div:first-child{background:#f5f9ee;border:0;font-size:10px;color:#8b997e}.tc-time-table strong:last-child{text-align:right}.tc-time-table small{color:#8b997e;font-size:10px}.tc-time-table span>small{display:block;margin-top:5px}.tc-time-table .tc-empty{border:0;margin:0;border-radius:0}
.tc-upload{background:#f7faf3;border:1px dashed #bfd1ac;border-radius:13px;padding:16px;margin-bottom:17px}.tc-upload-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.8fr) auto;align-items:end;gap:14px}.tc-upload-grid small{font-size:10px;color:#8c997f}.tc-file-list{display:grid;gap:10px}.tc-file{display:flex;align-items:flex-start;gap:12px;border:1px solid #e1e9d9;border-radius:12px;padding:15px}.tc-file-icon{background:#f0f5e8;border-radius:10px;padding:9px;flex:none;color:#8d9f77}.tc-file-icon svg{width:18px;height:18px}.tc-file .copy{flex:1;min-width:0}.tc-file strong{font-size:13px;overflow-wrap:anywhere}.tc-file small{display:block;font-size:10px;color:#92a083;margin:5px 0}.tc-file .pill{font-size:10px;overflow-wrap:anywhere;white-space:normal}
.tc-feed-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.tc-search{display:flex;align-items:center;gap:8px;background:#fafcf6;border:1px solid #dce6d2;border-radius:11px;padding:10px 12px;flex:1}.tc-search svg{width:16px;height:16px;color:#94a587}.tc-search input{border:0;background:transparent;outline:0;min-width:0;width:100%;font-size:12px}.tc-system-toggle{font-size:11px;color:#8a987f;display:flex;align-items:center;gap:7px;white-space:nowrap}.tc-system-toggle input{accent-color:#72944c}.tc-comment{display:flex;gap:12px;padding:18px 0;border-bottom:1px solid #e9eee2}.tc-comment .avatar{flex:none}.tc-comment .copy{flex:1;min-width:0}.tc-comment strong{font-size:12px}.tc-comment small{font-size:10px;color:#95a087}.tc-comment blockquote{font-size:11px;background:#f2f7e9;border-left:2px solid #a6c47a;padding:9px 12px;margin-top:10px;color:#80906a}.tc-comment .tt-rich{margin:10px 0}.tc-system-message{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid #ecf0e7;color:#94a487}.tc-system-message>svg{width:14px;height:14px;flex:none;margin-top:3px}.tc-system-message strong{font-size:11px;font-weight:500}.tc-system-message small{font-size:9px;display:block;margin-top:4px}.tc-panel:has(#tc-feed-rows)>.tc-form{margin-top:24px}.tc-audit article{display:flex;gap:16px;padding:14px 0;border-bottom:1px solid #e9eee3}.tc-audit-dot{width:8px;height:8px;background:#9db87d;border-radius:100%;margin-top:6px;flex:none}.tc-audit strong{font-size:13px}.tc-audit p{font-size:12px;color:#88957c;line-height:1.7;white-space:pre-wrap;margin:5px 0}.tc-audit small{font-size:10px;color:#9ba68f}.tc-snapshot{margin-top:14px;border:1px solid #dee8d3;border-radius:11px;padding:15px;font-size:12px;line-height:1.8}.tc-snapshot summary{font-weight:700;cursor:pointer;color:#608043}.tc-snapshot p{margin:10px 0}.tc-snapshot small{color:#91a082}
.modal.tc-create-modal{width:1080px;border-radius:26px;display:flex;flex-direction:column;overflow:hidden;max-height:94dvh}.tc-create-modal .modal-head{padding:22px 26px;flex:none}.tc-create-modal .modal-body{padding:0 26px 22px;overflow:auto;min-height:0;background:#fff}.tc-create-form{gap:18px}.tc-create-tabs{position:sticky;top:0;background:#fff;z-index:2;display:flex;gap:8px;border-bottom:1px solid #e5ecdf;padding-top:4px}.tc-create-tabs button{background:transparent;border:0;border-bottom:3px solid transparent;padding:15px 14px;color:#85957b;font-size:13px;font-weight:700;white-space:nowrap}.tc-create-tabs button.active{border-color:#8eb554;color:#4d7036}.tc-create-form section[hidden]{display:none}.tc-create-form section{padding:8px 0}.tc-create-form section>h3{font-size:16px;margin:10px 0 20px}.tc-create-footer{position:sticky;bottom:-22px;background:white;border-top:1px solid #e4ebdc;padding:18px 0 20px;display:flex;justify-content:space-between;align-items:center;gap:20px}.tc-create-footer>p{font-size:11px;color:#8b9a7d;line-height:1.6;max-width:450px}.tc-create-footer .row{flex:none}.tc-create-footer .btn{min-height:43px;border-radius:12px;font-size:12px}
@media(max-width:1000px){.tc-main-grid{grid-template-columns:1fr}.tc-aside{grid-template-columns:repeat(2,minmax(0,1fr))}.tc-work-grid{grid-template-columns:1fr}.tc-upload-grid{grid-template-columns:1fr 1fr}.tc-upload-grid>button{grid-column:1/-1}.tc-three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.tc-route-backdrop{padding:8px}.tc-task-card{max-height:calc(100dvh - 16px);border-radius:20px}.tc-card-header{padding:17px;gap:10px}.tc-card-header h1{font-size:20px}.tc-eyebrow{font-size:8px;letter-spacing:.08em}.tc-card-header .icon-btn{width:32px;height:32px}.tc-card-tabs{padding:0 10px;gap:0}.tc-card-tabs button{font-size:11px;min-height:46px;padding:0 11px;gap:5px}.tc-card-content{padding:15px;gap:15px}.tc-native{padding:15px 15px 0}.tc-panel{padding:16px;border-radius:14px}.tc-panel h3{font-size:15px}.tc-two,.tc-three,.tc-aside,.tc-upload-grid{grid-template-columns:1fr}.tc-person-row{grid-template-columns:minmax(0,1fr) 79px 79px;gap:6px;padding:10px}.tc-person-row .avatar{display:none}.tc-person-row strong{font-size:11px}.tc-person-heading{font-size:8px}.tc-person-row input{width:16px;height:16px}.tc-transfer{flex-direction:column;gap:12px}.tc-mini-actions{gap:1px}.tc-mini-actions .icon-btn{width:25px;height:27px;min-height:27px;padding:4px}.tc-check-row{flex-wrap:wrap;gap:4px}.tc-check-row>label{min-width:155px}.tc-checklist-head{align-items:flex-start}.tc-checklist-head strong{max-width:160px}.tc-file{flex-wrap:wrap}.tc-file .copy{min-width:150px}.tc-file>.tc-mini-actions{margin-left:auto}.tc-time-table>div{grid-template-columns:minmax(0,1fr) 95px 80px;gap:8px;padding:10px;font-size:10px}.tc-feed-controls{flex-direction:column;align-items:stretch;gap:10px}.tc-system-toggle{align-self:flex-start}.tc-section-head{gap:10px;flex-wrap:wrap}.modal.tc-create-modal{max-height:calc(100dvh - 16px);border-radius:20px}.tc-create-modal .modal-head{padding:17px}.tc-create-modal .modal-body{padding:0 16px 16px}.tc-create-tabs{overflow:auto;gap:0}.tc-create-tabs button{font-size:11px;padding:13px 12px}.tc-create-footer{bottom:-16px;flex-direction:column;gap:12px;padding:12px 0 16px;align-items:stretch}.tc-create-footer>p{font-size:10px}.tc-create-footer .row{justify-content:flex-end}.tc-form .form-actions{flex-wrap:wrap}.tc-form .form-actions .btn{font-size:11px}}

.tc-form .form-grid>.wide,.tc-create-form .form-grid>.wide{grid-column:1/-1}.tc-requirements textarea,.tc-review textarea{min-height:80px!important;height:80px}.tc-requirements .form-actions{padding-top:10px}.tc-requirements .tc-form{gap:10px}

.tc-mini-actions .tc-up svg{transform:rotate(-90deg)}.tc-mini-actions .tc-down svg{transform:rotate(90deg)}.tc-work-grid>.tc-panel:last-child>.tc-form .form-grid{grid-template-columns:1fr}

.tc-card-header>div:first-child{min-width:0;flex:1}.tc-card-header>.row{flex-shrink:0;flex-wrap:nowrap;gap:7px}

@media(max-width:650px){.tc-create-tabs button{white-space:normal}.tc-create-tabs{overflow:visible}.tc-create-materials>section>header{align-items:stretch}}

.tc-upload-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center}.tc-upload-grid>button{grid-column:2;justify-self:start;margin-top:-16px}.tc-file-picker{grid-row:span 2;display:grid;grid-template-columns:40px minmax(0,1fr);gap:5px 12px;padding:16px;background:white;border:1px solid var(--line);border-radius:12px;cursor:pointer;min-width:0;position:relative}.tc-file-picker-icon{grid-row:span 2;width:40px;height:40px;display:grid;place-items:center;background:#edf4e5;border-radius:10px}.tc-file-picker-icon svg{width:20px}.tc-file-picker strong{font-size:12px}.tc-file-picker input{max-width:100%;grid-column:1/-1;font-size:11px;padding:8px 0;border:0;background:none}.tc-file-picker [data-tc-file-name]{grid-column:1/-1;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.tc-files-empty{display:grid;justify-items:center;text-align:center;padding:30px;gap:9px;border:1px dashed var(--line);border-radius:12px;background:#fafcf8}.tc-files-empty svg{width:28px;color:#759765}.tc-files-empty p{font-size:12px;color:var(--muted);max-width:380px;line-height:1.6}.tc-file-checksum{margin-top:8px;font-size:10px;color:var(--muted)}.tc-file-checksum code{display:block;overflow-wrap:anywhere;margin-top:6px}.tc-file-list{min-width:0}.tc-file .tc-mini-actions{flex:none}.tc-file .copy{overflow-wrap:anywhere}@media(max-width:680px){.tc-upload-grid{grid-template-columns:minmax(0,1fr)}.tc-upload-grid>button{grid-column:1;margin-top:0;justify-self:stretch}.tc-file-picker{grid-row:auto}.tc-file .copy{min-width:0;flex-basis:calc(100% - 60px)}}
