.workspace-tabs,.workspace-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.workspace-tabs [aria-pressed=true]{background:#eaf3fd;border-color:#1976d2;color:#1565c0}.workspace-item{border:1px solid #d5e1ef;border-radius:12px;padding:14px;margin:12px 0;background:#fff}.workspace-item p{white-space:pre-wrap;color:#607086;font-size:13px;margin:8px 0}.workspace-item button{min-height:36px}#workspace-form:not([hidden]){border-top:1px solid #d5e1ef;padding-top:16px;display:grid;gap:12px}#workspace-form input,#workspace-form select,#workspace-form textarea{width:100%;box-sizing:border-box;border:1px solid #d5e1ef;border-radius:10px;padding:10px;background:#fff;color:#24364b}#workspace-form textarea{min-height:90px}#workspace-form label{display:block;margin-bottom:6px;color:#607086;font-size:12px}#summary-screen>button:first-child{margin-bottom:16px}
#share-progress-modal .manager-dialog-body>label{display:block;margin:14px 0}#share-progress-modal input[type=checkbox]{width:auto}.share-photo-choice{display:inline-flex;align-items:center;gap:8px;margin:8px}.share-photo-choice img{width:100px;height:80px;object-fit:cover;border-radius:8px}
/* O formulário financeiro também pode crescer sem esconder as ações. */
#add-expense-modal .modal-card{max-width:620px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px)}#expense-form{display:flex;flex-direction:column;min-height:0;overflow:hidden}#expense-form .modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 22px;gap:14px}#add-expense-modal .modal-header,#expense-form .modal-footer{flex-shrink:0;padding:16px 22px}body.panel-modal-open #app-update-banner{display:none}:is(#workspace-modal,#workspace-screen) .manager-dialog{max-height:calc(100dvh - 36px)}:is(#workspace-modal,#workspace-screen) .manager-dialog>.manager-dialog-body{flex:1;overflow-y:auto}

/* Gestão dos links compartilhados, separada das ações dos relatórios. */
.shared-links-card{background:#fff;border:1px solid #dce5ef;border-radius:14px;margin:18px 0 24px;overflow:hidden;color:#24364b}.shared-links-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px}.shared-links-heading h3{margin:0;font-size:15px;font-weight:750}.shared-links-heading p{margin:4px 0 0;color:#6a7a8e;font-size:12px}.shared-links-count{font-size:11px;font-weight:700;color:#245b90;background:#edf5ff;padding:5px 10px;border-radius:20px;white-space:nowrap}.shared-link-row{display:grid;grid-template-columns:minmax(0,1fr) 88px 82px;align-items:center;gap:14px;padding:13px 20px;border-top:1px solid #edf0f5}.shared-link-info{display:flex;flex-direction:column;gap:3px;min-width:0}.shared-link-info strong{font-size:12px;font-weight:650}.shared-link-info>span{font-size:11px;color:#748196}.shared-link-status{justify-self:start;font-size:10px;font-weight:700;border-radius:6px;padding:4px 8px}.shared-link-status.is-active{background:#eaf7ef;color:#267342}.shared-link-status.is-revoked{background:#f0f2f5;color:#738093}.shared-link-status.is-expired{background:#fff4de;color:#8b660f}.shared-link-row button{font:600 11px Inter,system-ui,sans-serif;min-height:34px;border-radius:8px;background:white;cursor:pointer;padding:7px 10px}.shared-link-delete{color:#bb3434;border:1px solid #eed3d3}.shared-link-revoke{color:#305c88;border:1px solid #d8e3ee}.shared-link-row button:hover{background:#f6f8fb}.shared-link-row button:disabled{opacity:.55;cursor:wait}.shared-links-empty{padding:0 20px 16px;margin:0;color:#7a8797;font-size:12px}.shared-links-history{border-top:1px solid #e7ecf2;background:#fafbfd}.shared-links-history summary{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 20px;cursor:pointer;font-size:12px;color:#53657c;list-style:none}.shared-links-history summary::-webkit-details-marker{display:none}.shared-links-history-label{font-size:11px;color:#1976d2}.shared-links-history-label:after{content:' ⌄'}.shared-links-history[open] .shared-links-history-label:after{content:' ⌃'}.shared-links-history .shared-links-list{max-height:320px;overflow-y:auto}.shared-links-history summary:focus-visible,.shared-link-row button:focus-visible{outline:2px solid #1976d2;outline-offset:-2px}@media(max-width:600px){.shared-links-heading{padding:15px}.shared-link-row{padding:12px 15px;grid-template-columns:minmax(0,1fr) 66px 64px;gap:7px}.shared-links-history summary{padding:13px 15px}.shared-links-heading p{font-size:11px}.shared-link-info>span{font-size:10px}.shared-link-info strong{font-size:11px}}

.share-progress-state{display:flex;align-items:center;gap:14px;background:#eef5ff;border:1px solid #d7e7fa;border-radius:12px;padding:16px;margin:0 0 18px;color:#24527f;animation:share-state-in .18s ease-out}.share-progress-state[hidden]{display:none}.share-progress-state strong{display:block;font-size:14px}.share-progress-state p{margin:4px 0 0;font-size:12px;color:#627b95}.share-progress-spinner{flex-shrink:0;width:25px;height:25px;border:3px solid #d0e1f5;border-top-color:#1976d2;border-radius:50%;animation:share-progress-spin .8s linear infinite}#share-progress-modal form[aria-busy=true] .manager-dialog-footer button{opacity:.65;cursor:wait}@keyframes share-progress-spin{to{transform:rotate(360deg)}}@keyframes share-state-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.share-progress-state,.share-progress-spinner{animation:none}}

/* Situação financeira em coluna própria, separada das ações. */
#expenses-screen .custom-table{min-width:940px}#expenses-screen .custom-table th{white-space:nowrap}#expenses-screen th.actions-column{width:174px}#expenses-screen .expense-status-column{width:124px}#expenses-screen td.row-actions{display:table-cell;min-width:174px;white-space:nowrap}#expenses-screen .expense-row-buttons{display:flex;align-items:center;gap:7px;flex-wrap:nowrap}#expenses-screen .expense-row-buttons .icon-action{flex:0 0 32px;width:32px;height:32px;margin:0;background:#fff}#expenses-screen .expense-status-cell{white-space:nowrap;min-width:124px}.expense-status-badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px;font-weight:750;line-height:1.2;padding:6px 9px;border-radius:7px}.expense-status-badge:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.expense-status-badge.is-paid{color:#237341;background:#e2f3e7}.expense-status-badge.is-pending{color:#8a5d00;background:#fff0c2}.expense-status-badge.is-overdue{color:#ba3030;background:#ffe1e1}.expense-due-label{display:block;font-size:10px;color:#758195;line-height:1.4;margin-top:5px}#expenses-table-body tr[data-payment-status=paid]{background:#f5fbf7}#expenses-table-body tr[data-payment-status=pending]{background:#fffdf5}#expenses-table-body tr[data-payment-status=overdue]{background:#fff5f5}#expenses-table-body tr[data-payment-status=paid]>td:first-child{box-shadow:inset 3px 0 #55a86e}#expenses-table-body tr[data-payment-status=pending]>td:first-child{box-shadow:inset 3px 0 #efb72d}#expenses-table-body tr[data-payment-status=overdue]>td:first-child{box-shadow:inset 3px 0 #db5c5c}#expenses-table-body tr[data-payment-status]>td:nth-child(3){white-space:nowrap}#expenses-table-body tr[data-payment-status=paid]>td:nth-child(3){color:#237341!important}#expenses-table-body tr[data-payment-status=pending]>td:nth-child(3){color:#8a5d00!important}#expenses-table-body tr[data-payment-status=overdue]>td:nth-child(3){color:#ba3030!important}

#recent-expenses-body .recent-expense-title{display:flex;flex-direction:column;align-items:flex-start;gap:6px}#recent-expenses-body .recent-expense-title strong{font-size:12px;font-weight:650}#recent-expenses-body .expense-status-badge{font-size:10px;padding:4px 7px}#recent-expenses-body .recent-expense-amount{font-weight:750;white-space:nowrap}#recent-expenses-body tr[data-payment-status=paid]{background:#f5fbf7}#recent-expenses-body tr[data-payment-status=pending]{background:#fffdf5}#recent-expenses-body tr[data-payment-status=overdue]{background:#fff5f5}#recent-expenses-body tr[data-payment-status=paid]>td:first-child{box-shadow:inset 3px 0 #55a86e}#recent-expenses-body tr[data-payment-status=pending]>td:first-child{box-shadow:inset 3px 0 #efb72d}#recent-expenses-body tr[data-payment-status=overdue]>td:first-child{box-shadow:inset 3px 0 #db5c5c}#recent-expenses-body tr[data-payment-status=paid] .recent-expense-amount{color:#237341!important}#recent-expenses-body tr[data-payment-status=pending] .recent-expense-amount{color:#8a5d00!important}#recent-expenses-body tr[data-payment-status=overdue] .recent-expense-amount{color:#ba3030!important}

/* Organização da obra: abas estáveis e conteúdo com hierarquia clara. */
:is(#workspace-modal,#workspace-screen) #workspace-project{display:flex;align-items:center;gap:14px;margin:0 0 18px;padding:14px 16px;border:1px solid #dce7f3;border-left:3px solid #fdbc1a;border-radius:12px;background:#f5f9fe;min-width:0}:is(#workspace-modal,#workspace-screen) .workspace-project-avatar{position:relative;display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:12px;overflow:hidden;background:#e4effc;color:#1976d2;font-size:23px}:is(#workspace-modal,#workspace-screen) .workspace-project-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}:is(#workspace-modal,#workspace-screen) .workspace-project-avatar img:not([src]){visibility:hidden}:is(#workspace-modal,#workspace-screen) .workspace-project-identity{min-width:0}:is(#workspace-modal,#workspace-screen) .workspace-project-label{display:block;font-size:10px;font-weight:700;letter-spacing:.6px;color:#65809d;margin-bottom:4px}:is(#workspace-modal,#workspace-screen) .workspace-project-name{display:block;font-size:21px;line-height:1.3;font-weight:800;color:#195b98;overflow-wrap:anywhere}:is(#workspace-modal,#workspace-screen) .workspace-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;background:#f2f5f9;border:1px solid #e3eaf1;border-radius:12px;padding:5px;margin:0 0 20px}:is(#workspace-modal,#workspace-screen) .workspace-tabs button{min-width:0;min-height:38px;padding:8px 4px;font-size:11px;white-space:nowrap;border:1px solid transparent;background:transparent;border-radius:8px;box-shadow:none;color:#597087}:is(#workspace-modal,#workspace-screen) .workspace-tabs button[aria-pressed=true]{background:#fff;color:#1976d2;border-color:#d1e2f4;box-shadow:0 2px 5px #294e7510}:is(#workspace-modal,#workspace-screen) .workspace-empty-state{text-align:center;padding:30px 20px;background:#f8fafd;border:1px dashed #d5e1ed;border-radius:12px;margin:4px 0 12px}:is(#workspace-modal,#workspace-screen) .workspace-empty-icon{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#eaf3ff;color:#1976d2;font-size:20px;margin-bottom:12px}:is(#workspace-modal,#workspace-screen) .workspace-empty-state h4{font-size:14px;margin:0 0 6px;color:#2b435d}:is(#workspace-modal,#workspace-screen) .workspace-empty-state p{font-size:12px;line-height:1.6;color:#758399;max-width:350px;margin:0 auto}:is(#workspace-modal,#workspace-screen) .workspace-reference{display:block;font-size:12px;color:#1976d2;text-decoration:none;padding:10px 12px;border:1px solid #dce8f5;border-radius:8px;margin-top:12px;background:#f4f8fd}:is(#workspace-modal,#workspace-screen) .workspace-reference:visited{color:#1976d2}:is(#workspace-modal,#workspace-screen) .workspace-reference:hover{background:#eaf3ff;text-decoration:underline}:is(#workspace-modal,#workspace-screen)>.manager-dialog>.manager-dialog-footer{justify-content:flex-end}@media(max-width:560px){:is(#workspace-modal,#workspace-screen) .workspace-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}

:is(#workspace-modal,#workspace-screen) .workspace-select{position:relative;min-width:0}:is(#workspace-modal,#workspace-screen) .workspace-select-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;text-align:left;padding:10px 36px 10px 12px;border:1px solid #cdddec;border-radius:10px;background:#fff;color:#243b55;font:500 13px Inter,system-ui,sans-serif;cursor:pointer}:is(#workspace-modal,#workspace-screen) .workspace-select-trigger:after{content:'⌄';position:absolute;right:14px;color:#58728b}:is(#workspace-modal,#workspace-screen) .workspace-select-trigger[aria-expanded=true]{border-color:#1976d2;box-shadow:0 0 0 3px #1976d21c}:is(#workspace-modal,#workspace-screen) .workspace-select-menu{position:absolute;left:0;right:0;top:100%;margin-top:5px;z-index:30;padding:5px;border:1px solid #d8e4f0;border-radius:10px;background:#fff;box-shadow:0 12px 30px #213e6026}:is(#workspace-modal,#workspace-screen) .workspace-select-option{display:block;width:100%;min-height:38px;padding:9px 12px;text-align:left;border:0;border-radius:7px;background:#fff;color:#344f6c;font:500 13px Inter,system-ui,sans-serif;cursor:pointer}:is(#workspace-modal,#workspace-screen) .workspace-select-option[aria-selected=true]{background:#eaf3ff;color:#1565c0;font-weight:700}:is(#workspace-modal,#workspace-screen) .workspace-select-option:hover,:is(#workspace-modal,#workspace-screen) .workspace-select-option:focus-visible{background:#edf5ff;outline:2px solid #b9d8fa;outline-offset:-2px}
:is(#workspace-modal,#workspace-screen) .workspace-select-menu{max-height:260px;overflow-y:auto;overscroll-behavior:contain}
:is(#workspace-modal,#workspace-screen) .calculator-help{font-size:12px;line-height:1.6;color:#62778d;margin:0;padding:10px 12px;border-left:3px solid #fdbc1a;background:#fafbfd;border-radius:4px}
:is(#workspace-modal,#workspace-screen) .calculator-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}:is(#workspace-modal,#workspace-screen) .calculator-fields .form-group{margin:0}:is(#workspace-modal,#workspace-screen) .calculator-fields label{font-size:11px;line-height:1.5;min-height:17px}:is(#workspace-modal,#workspace-screen) .calculator-input-line{display:flex;align-items:center;background:#fff;border:1px solid #d5e1ef;border-radius:10px;overflow:hidden}:is(#workspace-modal,#workspace-screen) .calculator-input-line:focus-within{border-color:#1976d2;box-shadow:0 0 0 3px #1976d21a}:is(#workspace-modal,#workspace-screen) .calculator-input-line input{min-width:0;border:0!important;box-shadow:none!important;border-radius:0!important;background:#fff!important}:is(#workspace-modal,#workspace-screen) .calculator-input-line>span{flex-shrink:0;padding:0 12px;color:#607a93;font-size:11px;white-space:nowrap}:is(#workspace-modal,#workspace-screen) .calculator-result{padding:18px;background:#edf5ff;border:1px solid #cde0f7;border-radius:12px;color:#195b98}:is(#workspace-modal,#workspace-screen) .calculator-result-label{display:block;font-size:10px;letter-spacing:.7px;font-weight:750;margin-bottom:6px}:is(#workspace-modal,#workspace-screen) .calculator-result strong{display:block;font-size:28px;font-weight:800}:is(#workspace-modal,#workspace-screen) .calculator-result p{font-size:11px;line-height:1.5;color:#627b95;margin:8px 0 0}:is(#workspace-modal,#workspace-screen) .calculator-result.is-error{background:#fff5f4;border-color:#f0cfca}:is(#workspace-modal,#workspace-screen) .calculator-result.is-error p{color:#b2352c;margin:0}:is(#workspace-modal,#workspace-screen) .calculator-actions{justify-content:flex-end;margin:0}@media(max-width:560px){:is(#workspace-modal,#workspace-screen) .calculator-fields{grid-template-columns:1fr}}

:is(#workspace-modal,#workspace-screen)>.manager-dialog>.manager-dialog-footer:has(#workspace-add[hidden]){display:none}
:is(#workspace-modal,#workspace-screen) .calculator-actions{padding-top:12px;border-top:1px solid #e5ebf2}

/* Full-page organization tools, available directly from the sidebar. */
.workspace-tool-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.workspace-tool-copy strong{font:inherit;font-weight:700}.workspace-tool-copy small,.workspace-tabs>button>i{display:none}.workspace-tool-heading{display:none}
#workspace-screen .workspace-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
#workspace-screen .workspace-page-heading h2{margin:0 0 7px;color:#243f60;font-size:24px}
#workspace-screen .workspace-page-heading p{margin:0;color:#607086;font-size:13px;line-height:1.6}
#workspace-screen .workspace-page-actions{flex-shrink:0}
#workspace-screen .manager-dialog{width:100%;max-width:none;max-height:none;overflow:visible;box-shadow:none;background:#fff;border:1px solid #d5e1ef;border-radius:16px}
#workspace-screen .manager-dialog-header,#workspace-screen .manager-dialog-footer{display:none}
#workspace-screen .manager-dialog-body{padding:24px;overflow:visible;max-height:none}
#workspace-screen #workspace-project{margin:0 0 22px;display:flex;align-items:center;gap:14px;padding:16px;background:#f4f8fe;border:1px solid #dce7f3;border-radius:12px}
#workspace-screen .workspace-project-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:12px;overflow:hidden;display:grid;place-items:center;background:#e4effc;color:#1976d2;font-size:23px;position:relative}
#workspace-screen .workspace-project-avatar img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
#workspace-screen .workspace-project-label{display:block;color:#71839d;font-size:10px;font-weight:800;letter-spacing:.6px}
#workspace-screen .workspace-project-name{display:block;margin-top:4px;color:#243f60;font-size:19px;overflow-wrap:anywhere}
#workspace-screen .workspace-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 26px}
#workspace-screen .workspace-tabs>button{display:flex;align-items:flex-start;gap:12px;text-align:left;white-space:normal;min-height:102px;padding:16px;border-radius:12px;background:#fff;color:#35516f;border:1px solid #d5e1ef}
#workspace-screen .workspace-tabs>button>i{display:block;width:34px;flex:0 0 34px;text-align:center;font-size:22px;margin-top:3px;color:#1976d2}
#workspace-screen .workspace-tool-copy strong{font-size:14px}
#workspace-screen .workspace-tool-copy small{display:block;font-size:12px;font-weight:400;line-height:1.5;color:#65788e}
#workspace-screen .workspace-tabs>button:hover,#workspace-screen .workspace-tabs>button[aria-pressed=true]{background:#eef6ff;border-color:#1976d2}
#workspace-screen .workspace-tabs>button:focus-visible{outline:2px solid #1976d2;outline-offset:3px}
#workspace-screen .workspace-tool-heading{display:block;margin:0 0 15px;color:#243f60;font-size:18px}
#workspace-screen .workspace-empty-state{padding:30px 20px;text-align:center;background:#f7faff;border:1px dashed #d5e1ef;border-radius:12px}
#workspace-screen .workspace-empty-icon{color:#1976d2;font-size:25px}
#workspace-screen .workspace-empty-state h4{margin:12px 0 8px;color:#243f60}
#workspace-screen .workspace-empty-state p{margin:0;color:#607086;font-size:13px}
#workspace-screen #workspace-form:not([hidden]){grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
#workspace-screen #workspace-form>.workspace-actions,#workspace-screen #workspace-form>.calculator-fields,#workspace-screen #workspace-form>.calculator-result,#workspace-screen #workspace-form>.workspace-select,#workspace-screen #workspace-form>.field-hint{grid-column:1/-1}
@media(max-width:1100px){#workspace-screen .workspace-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#workspace-screen .workspace-page-heading{align-items:flex-start;flex-direction:column;gap:14px}#workspace-screen .manager-dialog-body{padding:16px}#workspace-screen .workspace-tabs{gap:8px}#workspace-screen .workspace-tabs>button{min-height:80px;padding:12px;gap:8px}#workspace-screen .workspace-tabs>button>i{width:24px;flex-basis:24px;font-size:18px}#workspace-screen .workspace-tool-copy small{display:none}#workspace-screen #workspace-form:not([hidden]){grid-template-columns:1fr}}

/* Cards lead to a dedicated tool view with its own nearby actions. */
#workspace-screen [hidden]{display:none!important}
#workspace-screen .workspace-detail-toolbar{margin:0 0 20px;scroll-margin-top:100px}
#workspace-screen .workspace-back{margin-bottom:20px;min-height:42px}
#workspace-screen .workspace-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid #dce7f3}
#workspace-screen .workspace-detail-heading h2{margin:0 0 6px;color:#243f60;font-size:24px}
#workspace-screen .workspace-detail-heading p{margin:0;color:#607086;font-size:13px;line-height:1.6}
#workspace-screen .workspace-detail-actions{flex-shrink:0}
#workspace-screen .workspace-tool-heading{display:none}
@media(max-width:700px){#workspace-screen .workspace-detail-heading{align-items:stretch;flex-direction:column;gap:16px}#workspace-screen .workspace-detail-actions button{width:100%;min-height:46px}#workspace-screen .workspace-tool-copy small{display:block;font-size:11px}#workspace-screen .workspace-tabs>button{min-height:110px}}

/* Shared form treatment for the full tool page and the quick-access modal. */
:is(#workspace-modal,#workspace-screen) #workspace-form:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px;padding:24px;border:1px solid #d5e1ef;border-radius:14px;background:#f8fafd;margin-top:20px;align-items:start}
:is(#workspace-modal,#workspace-screen) #workspace-form .form-group{min-width:0;margin:0}
:is(#workspace-modal,#workspace-screen) #workspace-form label{display:block;margin:0 0 9px;color:#36516f;font-size:12px;font-weight:700;line-height:1.5}
:is(#workspace-modal,#workspace-screen) #workspace-form input:not([type=hidden]),:is(#workspace-modal,#workspace-screen) #workspace-form select,:is(#workspace-modal,#workspace-screen) #workspace-form textarea{min-height:46px;padding:12px 14px;border:1px solid #bdcfe2;border-radius:10px;background:#fff;color:#243b55;font:400 14px Inter,system-ui,sans-serif;box-sizing:border-box;width:100%}
:is(#workspace-modal,#workspace-screen) #workspace-form input::placeholder,:is(#workspace-modal,#workspace-screen) #workspace-form textarea::placeholder{color:#788ba0;opacity:1}
:is(#workspace-modal,#workspace-screen) #workspace-form input:focus,:is(#workspace-modal,#workspace-screen) #workspace-form select:focus,:is(#workspace-modal,#workspace-screen) #workspace-form textarea:focus{outline:2px solid #1976d2;outline-offset:2px}
:is(#workspace-modal,#workspace-screen) #workspace-form textarea{min-height:110px;resize:vertical}
:is(#workspace-modal,#workspace-screen) #workspace-form>.form-group:has(textarea),:is(#workspace-modal,#workspace-screen) #workspace-form>.workspace-quote,:is(#workspace-modal,#workspace-screen) #workspace-form>.calculator-help,:is(#workspace-modal,#workspace-screen) #workspace-form>.workspace-select,:is(#workspace-modal,#workspace-screen) #workspace-form>.calculator-fields,:is(#workspace-modal,#workspace-screen) #workspace-form>.calculator-result,:is(#workspace-modal,#workspace-screen) #workspace-form>.workspace-actions{grid-column:1/-1}
:is(#workspace-modal,#workspace-screen) .workspace-quote{min-width:0;border:1px solid #d5e1ef;border-radius:12px;padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:18px;background:#fff;margin:0}
:is(#workspace-modal,#workspace-screen) .workspace-quote legend{padding:0 8px;color:#36516f;font-size:12px;font-weight:700}
:is(#workspace-modal,#workspace-screen) .workspace-quote>button{grid-column:1/-1;justify-self:start}
:is(#workspace-modal,#workspace-screen) .workspace-actions{align-items:center;justify-content:flex-end;gap:10px;margin:0;padding-top:20px;border-top:1px solid #d5e1ef}
:is(#workspace-modal,#workspace-screen) .workspace-actions button{min-height:44px;padding:11px 18px}
:is(#workspace-modal,#workspace-screen) .calculator-fields{gap:22px 24px}
:is(#workspace-modal,#workspace-screen) .calculator-input-line{border-color:#bdcfe2;min-height:46px}
:is(#workspace-modal,#workspace-screen) .calculator-input-line>span{align-self:stretch;display:flex;align-items:center;background:#edf3fa;border-left:1px solid #d5e1ef;font-weight:600;font-size:12px}
:is(#workspace-modal,#workspace-screen) #workspace-form .workspace-select-trigger{min-height:46px;font-size:14px;border-color:#bdcfe2}
:is(#workspace-modal,#workspace-screen) .workspace-select-option{font-size:13px;min-height:42px}
:is(#workspace-modal,#workspace-screen) .calculator-help{padding:12px 14px;background:#fff7df;border-left-color:#ffbd16;color:#5d563f}
@media(max-width:700px){:is(#workspace-modal,#workspace-screen) #workspace-form:not([hidden]){grid-template-columns:1fr;padding:18px;gap:20px}:is(#workspace-modal,#workspace-screen) .calculator-fields,:is(#workspace-modal,#workspace-screen) .workspace-quote{grid-template-columns:1fr}:is(#workspace-modal,#workspace-screen) .workspace-actions{justify-content:stretch}:is(#workspace-modal,#workspace-screen) .workspace-actions button{flex:1}}

/* Inline tools use document scrolling, without modal flex/overflow constraints. */
#workspace-screen .workspace-page-host,#workspace-screen .manager-dialog,#workspace-screen .manager-dialog>.manager-dialog-body{height:auto;max-height:none;min-height:0;overflow:visible;flex:none}
#workspace-screen .manager-dialog>.manager-dialog-body{padding:18px 22px;scrollbar-gutter:auto}
#workspace-screen #workspace-form:not([hidden]){overflow:visible;max-height:none;flex:none;margin-top:14px;padding:20px;gap:18px 22px}
#workspace-screen #workspace-project{padding:9px 12px;margin:0 0 14px;gap:10px;background:#f7faff}
#workspace-screen .workspace-project-avatar{width:34px;height:34px;flex-basis:34px;border-radius:8px;font-size:18px}
#workspace-screen .workspace-project-identity{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px}
#workspace-screen .workspace-project-label{font-size:9px;letter-spacing:.3px}
#workspace-screen .workspace-project-name{font-size:16px;margin:0}
#workspace-screen .workspace-detail-toolbar{margin:0 0 14px}
#workspace-screen .workspace-detail-heading{padding-bottom:12px;gap:12px}
#workspace-screen .workspace-detail-heading h2{font-size:21px;margin:0 0 4px}
#workspace-screen .workspace-detail-heading p{font-size:12px}
#workspace-screen .workspace-empty-state{padding:24px 18px}
@media(max-width:700px){#workspace-screen .manager-dialog>.manager-dialog-body{padding:14px}#workspace-screen #workspace-form:not([hidden]){padding:16px}}
