:root{--bg: #f2f5ea;--surface: #ffffff;--surface-border: #d8e1cc;--text: #18201a;--muted: #4f5a51;--brand: #1f6f43;--brand-dark: #12472b}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;font-family:Segoe UI,Inter,sans-serif;background:radial-gradient(circle at top left,#fbfcf6 0%,var(--bg) 60%);color:var(--text)}.shell-root{display:grid;grid-template-columns:260px 1fr;min-height:100dvh}.shell-sidebar{align-self:start;background:linear-gradient(180deg,#133826,#0d291b);color:#eff8f2;height:100dvh;overflow-y:auto;padding:1rem;position:sticky;top:0}.shell-brand{margin:0 0 1rem;font-size:1.3rem;letter-spacing:.04em}.shell-nav{display:grid;gap:.5rem}.shell-link,.shell-bottom-link{border-radius:.7rem;color:inherit;display:inline-flex;min-height:44px;align-items:center;padding:.6rem .8rem;text-decoration:none}.shell-link-active{background:#2f8b5b;color:#fff}.shell-main{padding:1rem}.shell-main-assistant{padding:.2rem .25rem}.shell-bottom-nav{display:none}.page{display:grid;gap:1rem}.page-header h2{margin:0}.page-header p{color:var(--muted);margin:.3rem 0 0}.panel{background:var(--surface);border:1px solid var(--surface-border);border-radius:.8rem;padding:1rem}.form-grid{display:grid;gap:.9rem}.field{display:grid;gap:.35rem}.field input{border:1px solid var(--surface-border);border-radius:.65rem;min-height:44px;padding:.55rem .8rem}.field input[type=checkbox],.checkbox-row input[type=checkbox]{accent-color:var(--brand);border-radius:.3rem;min-height:1.15rem;min-width:1.15rem;padding:0;width:1.15rem}.field input,.field select,.field textarea{max-width:100%;width:100%}.button{background:#e8efe2;border:0;border-radius:.75rem;cursor:pointer;font-weight:600;min-height:44px;padding:.6rem .9rem;white-space:normal}.panel,.field,.button,.shell-link,.shell-bottom-link{overflow-wrap:anywhere;word-break:break-word}.button-primary{background:linear-gradient(180deg,var(--brand) 0%,var(--brand-dark) 100%);color:#fff}.button:disabled,.button.button-primary:disabled{background:#d7ddd6;color:#6a736c;cursor:not-allowed;opacity:1}.form-error{color:#9a2c2c;margin:.5rem 0 0}.project-list{display:grid;gap:.75rem;list-style:none;margin:0;padding:0}.project-card{border:1px solid var(--surface-border);border-radius:.7rem;padding:.8rem}.project-card h3{margin:0 0 .45rem}html.device-tablet{font-size:15px}html.device-tablet body,html.device-tablet #root{overflow-x:hidden}html.device-tablet .shell-root{grid-template-columns:220px minmax(0,1fr)}html.device-tablet .shell-main{padding:.8rem}html.device-tablet .panel{padding:.85rem}html.device-tablet .button,html.device-tablet .shell-link,html.device-tablet .shell-bottom-link{min-height:46px}@media(max-width:1080px){html.device-tablet .shell-root{grid-template-columns:1fr;padding-bottom:64px}html.device-tablet .shell-sidebar{display:none}html.device-tablet .shell-bottom-nav{background:#ffffffed;border-top:1px solid var(--surface-border);bottom:0;display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;left:0;position:fixed;right:0}html.device-tablet .shell-bottom-link{justify-content:center;line-height:1.2;text-align:center}}@media(max-width:767px){html{font-size:14px}body,#root{overflow-x:hidden}.shell-main{padding:.75rem}.shell-main-assistant{padding:.1rem .2rem}.page{gap:.75rem}.panel{padding:.75rem}.shell-root{grid-template-columns:1fr;padding-bottom:64px}.shell-sidebar{display:none}.shell-bottom-nav{background:#ffffffed;border-top:1px solid var(--surface-border);bottom:0;display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;left:0;position:fixed;right:0}.shell-bottom-link{justify-content:center;line-height:1.2;text-align:center}}.page-header-inline{align-items:flex-start;display:flex;justify-content:space-between;gap:.75rem}.projects-page,.projects-page>*,.projects-page .panel,.projects-page .form-grid,.projects-page .field,.projects-page .field-row,.projects-page .project-list,.projects-page .project-card,.projects-page .project-actions,.projects-page .inline-actions{min-width:0}.projects-page h2,.projects-page h3,.projects-page p,.projects-page .button,.projects-page .button-link,.projects-page .panel-collapsible summary{overflow-wrap:anywhere;word-break:break-word}.projects-page .field input,.projects-page .field-select,.projects-page .button,.projects-page .button-link{max-width:100%;min-width:0}.projects-page .project-card-sticker-shell{margin-top:0;pointer-events:none;padding-top:0;position:relative;z-index:1}.projects-page .project-card-sticker-top{margin-left:auto;margin-top:-2.15rem;pointer-events:none;width:fit-content}.projects-page .project-card-sticker,.projects-page .project-card-sticker-add,.projects-page .project-card-sticker-menu,.projects-page .project-card-sticker-menu button,.projects-page .project-card-deadline-modal-backdrop,.projects-page .project-card-deadline-modal,.projects-page .project-card-deadline-modal *{pointer-events:auto}.projects-page .project-card h3{margin-right:2.8rem;position:relative;z-index:2}.projects-page .project-card-sticker-row:empty{display:none}.button-link{align-items:center;display:inline-flex;justify-content:center;text-decoration:none}.button-danger{background:#f5d9d9;color:#7c1d1d}.admin-page{min-width:0}.admin-header-actions{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}.admin-health-badges{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.4rem}.admin-status-badge{border:1px solid var(--surface-border);border-radius:999px;font-size:.82rem;font-weight:700;padding:.2rem .6rem}.admin-status-badge-ok{background:#e7f4eb;border-color:#8fb79b;color:#1b603c}.admin-status-badge-warn{background:#fff6de;border-color:#e5cb87;color:#805b09}.admin-status-badge-error{background:#fdecec;border-color:#e0aaaa;color:#8f2323}.admin-status-badge-muted{background:#f2f5ef;border-color:var(--surface-border);color:var(--muted)}.admin-cli-modal{max-width:min(880px,calc(100vw - 2rem));width:100%}.admin-cli-command{max-height:38vh;overflow:auto;white-space:pre-wrap;word-break:break-word}.field-textarea{border:1px solid var(--surface-border);border-radius:.65rem;min-height:100px;padding:.55rem .8rem;resize:vertical}.field-select{border:1px solid var(--surface-border);border-radius:.65rem;min-height:44px;padding:.55rem .8rem;width:100%}.payment-links-select{border:1px solid var(--surface-border);border-radius:.65rem;font-size:1rem;min-height:49px;padding:.6rem .8rem;width:100%}.payment-links-textarea{border:1px solid var(--surface-border);border-radius:.65rem;font-size:1rem;line-height:1.4;min-height:112px;padding:.6rem .8rem;resize:vertical}.project-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.7rem}.project-card-title-link{color:inherit;text-decoration:none}.project-card-title-link:hover{text-decoration:underline}.project-card-title-link:focus-visible{border-radius:.25rem;box-shadow:0 0 0 2px #1f6f4338;outline:none}.project-card-with-stickers{position:relative}.project-card-sticker-shell{margin-top:-2rem;padding-top:1.95rem;position:relative}.project-card-sticker-top{display:flex;justify-content:flex-end}.project-card-sticker-row{align-items:center;display:flex;gap:.35rem;margin-top:.2rem;max-width:100%;overflow-x:auto;overflow-y:hidden;white-space:nowrap}.project-card-sticker{align-items:center;background:#eef5ec;border:1px solid #b8c9ba;border-radius:999px;color:#284c36;cursor:pointer;display:inline-flex;font-size:.8rem;font-weight:700;flex:0 0 auto;gap:.3rem;max-width:220px;min-height:1.9rem;overflow:hidden;padding:.2rem .55rem;text-overflow:ellipsis;white-space:nowrap}.project-card-sticker small{color:#4f6757;font-size:.72rem;font-weight:600}.project-card-sticker-deadline,.project-card-sticker-deadline-normal{background:#eef3fb;border-color:#adc0df;color:#2a4d78}.project-card-sticker-deadline-soon{background:#fff4dc;border-color:#e0bd6e;color:#72520b}.project-card-sticker-deadline-urgent{background:#ffe8db;border-color:#db9f7f;color:#7b3818}.project-card-sticker-deadline-overdue{background:#fde6e6;border-color:#d78585;box-shadow:inset 0 0 0 1px #d785853d;color:#842626}.project-card-sticker-deadline-overdue small{color:#842626}.project-card-sticker-custom{background:#f1f6ed;border-color:#b9c9b6;color:#2f4f37}.project-card-sticker-title{color:#4a6350;font-weight:600}.project-card-sticker-icon{font-size:.82rem;line-height:1}.project-card-sticker-add{align-items:center;background:#f7faf3;border:1px dashed #9fb6a1;border-radius:999px;color:#2f5138;cursor:pointer;display:inline-flex;font-size:1.05rem;font-weight:700;height:1.9rem;justify-content:center;line-height:1;padding:0;width:1.9rem}.project-card-sticker-add:hover{background:#edf5ea}.project-card-sticker-menu{background:#fff;border:1px solid var(--surface-border);border-radius:.7rem;box-shadow:0 10px 24px #18221a2e;display:grid;margin-top:.35rem;min-width:170px;overflow:hidden;position:absolute;right:0;top:100%;z-index:24}.project-card-sticker-menu button{background:#fff;border:0;color:#22352a;cursor:pointer;font-size:.9rem;font-weight:600;min-height:38px;padding:.45rem .7rem;text-align:left}.project-card-sticker-menu button+button{border-top:1px solid #e4ebe1}.project-card-sticker-menu button:hover{background:#eff6ed}.project-card-sticker-error{margin-top:.35rem}.project-card-deadline-modal-backdrop{z-index:1290}.project-card-deadline-modal{display:grid;gap:.55rem;max-width:min(460px,calc(100vw - 2rem));width:100%}html.device-tablet .projects-page{overflow-x:hidden}html.device-tablet .projects-page .page-header-inline{align-items:center;gap:.6rem}html.device-tablet .projects-page .panel,html.device-tablet .projects-page .project-list,html.device-tablet .projects-page .project-card{max-width:100%}html.device-tablet .projects-page .project-card{padding:.7rem}html.device-tablet .projects-page .project-card h3{line-height:1.26;margin-right:2.45rem}html.device-tablet .projects-page .project-card-sticker-shell{margin-top:-1.8rem;padding-top:1.75rem}html.device-tablet .projects-page .project-card-sticker-top{margin-top:-1.95rem}html.device-tablet .projects-page .project-card-sticker-menu{max-width:min(340px,calc(100vw - 1.6rem))}html.device-tablet .projects-page .project-card-deadline-modal{max-width:min(560px,calc(100vw - 2rem))}html.device-tablet .projects-page .project-card-deadline-modal .button{min-height:46px}@media(max-width:1080px){html.device-tablet .projects-page .page-header-inline{align-items:stretch;flex-direction:column}html.device-tablet .projects-page .page-header-inline>.button,html.device-tablet .projects-page .page-header-inline>.button-link,html.device-tablet .projects-page .project-actions .button,html.device-tablet .projects-page .project-actions .button-link{width:100%}html.device-tablet .projects-page .project-actions{flex-direction:column}html.device-tablet .projects-page .project-card-sticker-menu{left:0;min-width:100%;right:auto}}.contract-layout{display:grid;gap:1rem;grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.panel-title{margin:0 0 .5rem}.wizard-nav{display:grid;gap:.5rem;grid-template-columns:repeat(2,minmax(0,1fr))}.inline-actions{display:flex;flex-wrap:wrap;gap:.6rem}.email-send-project-grid{background:#f8fbf3;border:1px solid var(--surface-border);border-radius:.65rem;display:grid;gap:.4rem;max-height:220px;overflow:auto;padding:.55rem .65rem}.email-recipient-field{position:relative}.email-recipient-dropdown{background:#fff;border:1px solid var(--surface-border);border-radius:.65rem;box-shadow:0 10px 20px #15201824;display:flex;flex-direction:column;gap:.2rem;left:0;list-style:none;margin:.35rem 0 0;max-height:220px;overflow:auto;padding:.35rem;position:absolute;right:0;z-index:20}.email-recipient-option{justify-content:flex-start;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.email-recipient-option-active{background:#e6f2e9;border-color:#9fc7aa}.email-recipient-empty{color:var(--muted);margin:0;padding:.45rem .55rem}.email-draft-review-modal{max-width:980px}.email-draft-list{max-height:62vh;overflow:auto;padding-right:.2rem}.email-draft-item{display:grid;gap:.55rem}.email-draft-textarea{min-height:180px}.email-selected-projects{background:#f8fbf3;border:1px solid var(--surface-border);border-radius:.65rem;display:grid;gap:.45rem;padding:.55rem .65rem}.email-selected-projects-title{color:var(--muted);font-size:.9rem;font-weight:600;margin:0}.email-selected-project-list{display:flex;flex-wrap:wrap;gap:.45rem;list-style:none;margin:0;padding:0}.email-selected-project-chip{background:#e9f4eb;border:1px solid #9fc7aa;border-radius:999px;color:#1f5c37;cursor:pointer;font-size:.88rem;font-weight:600;min-height:34px;padding:.25rem .75rem}.email-send-progress-backdrop{z-index:1300}.email-send-progress-modal{max-width:760px;width:100%}.email-send-progress-meta{align-items:center;display:flex;justify-content:space-between}.email-send-progress-list{max-height:42vh;overflow:auto}.files-email-backdrop{align-items:flex-start;overscroll-behavior:contain;overflow-y:auto;padding-block:1.1rem;touch-action:pan-y;z-index:1300}.files-email-modal{display:grid;gap:.8rem;max-height:calc(100dvh - 2.2rem);max-width:min(980px,calc(100vw - 2rem));min-height:0;overflow:auto;overscroll-behavior:contain;width:100%}.files-email-head{align-items:center;display:flex;flex-wrap:wrap;gap:.7rem;justify-content:space-between}.files-email-meta{background:#f6f9f2;border:1px solid var(--surface-border);border-radius:.7rem;display:grid;gap:.35rem;padding:.55rem .65rem}.files-email-list{max-height:30vh;overflow:auto}.files-email-list-item{display:grid;gap:.3rem}.files-email-file-main{align-items:center;display:flex;flex-wrap:wrap;gap:.55rem;justify-content:space-between}.files-email-intent-wrap{position:relative}.files-email-intent-textarea{min-height:130px;padding-right:3.1rem}.files-email-ai-button{align-items:center;border-radius:.65rem;display:inline-flex;font-size:1rem;height:38px;justify-content:center;padding:0;position:absolute;right:.5rem;top:.5rem;width:38px}.files-email-warnings{background:#fff9eb;border:1px solid #eed9a3;border-radius:.7rem;display:grid;gap:.4rem;padding:.6rem .7rem}.files-email-warnings-title{margin:0;font-size:.92rem;font-weight:700}.files-email-warnings-list{display:grid;gap:.32rem;margin:0;padding-left:1.2rem}.email-wysiwyg-layout{display:grid;gap:.55rem}.email-wysiwyg-toolbar{background:#f7faf2;border:1px solid var(--surface-border);border-radius:.65rem;display:flex;flex-wrap:wrap;gap:.35rem;padding:.35rem}.email-wysiwyg-tool{background:#fff;border:1px solid #c6d2c6;border-radius:.45rem;color:#1c2c1f;cursor:pointer;font-size:.84rem;font-weight:700;min-height:32px;min-width:38px;padding:.22rem .45rem}.email-wysiwyg-tool:disabled{cursor:not-allowed;opacity:.55}.email-wysiwyg-tool-preview{margin-left:auto}.email-wysiwyg-editor{background:#fff;border:1px solid var(--surface-border);border-radius:.65rem;line-height:1.45;min-height:260px;overflow:auto;padding:.75rem;white-space:normal}.email-wysiwyg-editor:focus{border-color:#7cae8b;box-shadow:0 0 0 2px #7cae8b33;outline:none}.email-wysiwyg-editor-disabled{background:#f5f7f2;color:var(--muted)}.email-preview-backdrop{align-items:flex-start;overscroll-behavior:contain;overflow-y:auto;padding-block:1.1rem;touch-action:pan-y;z-index:1300}.email-preview-modal{max-height:calc(100dvh - 2.2rem);max-width:min(1120px,calc(100vw - 2rem));min-height:0;overflow:hidden;width:100%}.email-preview-head{align-items:center;display:flex;flex-wrap:wrap;gap:.6rem;justify-content:space-between}.email-preview-title{margin:0}.email-preview-canvas{background:#f0f3f8;border:1px solid #d7deea;border-radius:.75rem;max-height:calc(100dvh - 12rem);min-height:0;overscroll-behavior:contain;overflow:auto;padding:.85rem;touch-action:pan-y}.email-preview-document{background:#fff;border:1px solid #d9dee7;border-radius:.75rem;margin:0 auto;max-width:920px;overflow:hidden}.email-preview-document table{max-width:100%}.email-preview-document td,.email-preview-document th{overflow-wrap:anywhere;word-break:break-word}.field-row{border:1px solid var(--surface-border);border-radius:.7rem;display:grid;gap:.6rem;padding:.6rem}.contract-section-head{align-items:flex-start;display:flex;gap:.6rem;justify-content:space-between}.contract-photo-actions{justify-content:flex-end}.contract-photo-field{position:relative}.contract-photo-textarea{padding-right:3.4rem}.contract-photo-button{align-items:center;border-radius:.65rem;display:inline-flex;height:38px;justify-content:center;min-height:38px;padding:0;position:absolute;right:.5rem;top:.5rem;width:38px}.contract-photo-button svg{height:18px;width:18px}.contract-photo-input{height:1px;left:-9999px;opacity:0;pointer-events:none;position:absolute;width:1px}.contract-photo-modal-backdrop{align-items:center;background:#15201880;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:1rem;position:fixed;z-index:1300}.contract-photo-modal{background:#fff;border:1px solid var(--surface-border);border-radius:.85rem;box-shadow:0 20px 36px #15201833;display:grid;gap:.7rem;max-width:520px;padding:1rem;width:100%}.contract-photo-modal p{margin:0}.contract-photo-modal-meta{color:var(--muted)}.contract-photo-progress-block{display:grid;gap:.35rem}.contract-photo-progress-track{background:#e8eee3;border-radius:999px;height:10px;overflow:hidden}.contract-photo-progress-value{background:#226e45;border-radius:999px;height:100%;transition:width .18s ease-in-out}.panel-collapsible{border:1px solid var(--surface-border);border-radius:.7rem;padding:.55rem .7rem}.panel-collapsible summary{cursor:pointer;font-weight:600}.field-checkbox{align-items:center;display:flex;gap:.5rem}.checkbox-row{align-items:center;display:flex;gap:.55rem;min-height:44px;overflow-wrap:anywhere;word-break:break-word}.checkbox-row span{min-width:0}.project-summary p{margin:.2rem 0}.project-yougile-stickers{display:grid;gap:.65rem}.project-yougile-stickers-head{align-items:center;display:flex;flex-wrap:wrap;gap:.55rem;justify-content:space-between}.project-yougile-stickers-title{margin:0}.project-yougile-stickers-meta{color:#446252;font-size:.82rem;font-weight:600}.project-yougile-stickers-list{display:grid;gap:.55rem}.project-yougile-sticker-item{background:#f8fbf6;border:1px solid var(--surface-border);border-radius:.7rem;display:grid;gap:.5rem;padding:.62rem .68rem}.project-yougile-sticker-item-head{align-items:center;display:flex;gap:.5rem;justify-content:space-between}.project-yougile-sticker-item-head strong{overflow-wrap:anywhere;word-break:break-word}.project-yougile-sticker-current{background:#f1f7ef;border:1px solid #b7c9b8;border-radius:999px;color:#2c5038;display:inline-flex;font-size:.82rem;font-weight:700;max-width:100%;min-height:1.7rem;padding:.2rem .55rem;white-space:nowrap}.project-yougile-sticker-controls{display:grid;gap:.45rem;grid-template-columns:minmax(0,1fr) auto}.project-yougile-sticker-select,.project-yougile-sticker-input{min-height:42px}.project-yougile-sticker-input{border:1px solid var(--surface-border);border-radius:.65rem;padding:.55rem .8rem;width:100%}.project-yougile-sticker-save{min-height:42px;min-width:120px}.project-yougile-chat{display:grid;gap:.65rem}.project-yougile-chat-head{align-items:center;display:flex;flex-wrap:wrap;gap:.6rem;justify-content:space-between}.project-yougile-chat-title{font-size:1.11rem;line-height:1.2;margin:0}.project-yougile-chat-meta{align-items:center;display:flex;flex-wrap:wrap;gap:.45rem}.project-yougile-push-toggle{align-items:center;background:#f8faf7;border:2px solid #b8c4b9;border-radius:999px;cursor:pointer;display:inline-flex;font-size:.57rem;font-weight:700;justify-content:center;line-height:1;min-height:0;min-width:0;width:fit-content;padding:.27rem .66rem;text-transform:uppercase;transition:box-shadow .12s ease,filter .12s ease,transform .12s ease}.project-yougile-push-toggle:hover:not(:disabled){filter:saturate(1.06);transform:translateY(-1px)}.project-yougile-push-toggle:disabled{cursor:not-allowed;opacity:.55}.project-yougile-push-toggle-on{border-color:#4ea467;box-shadow:0 0 0 1px #4ea46738,0 0 10px #4ea4673d;color:#1f6a3a}.project-yougile-push-toggle-off{border-color:#c96262;box-shadow:0 0 0 1px #c9626233,0 0 10px #c9626233;color:#8f2929}.project-yougile-chat-thread{background:linear-gradient(180deg,#f4f7f1,#eff4eb);border:1px solid var(--surface-border);border-radius:.75rem;max-height:min(58vh,520px);min-height:220px;overflow-y:auto;padding:.7rem}.project-yougile-message-list{display:grid;gap:.52rem;margin:0 auto;max-width:700px;width:min(100%,700px)}.project-yougile-message-item{max-width:72%}.project-yougile-message-html{overflow-wrap:anywhere;word-break:break-word}.project-yougile-message-html>*{margin:0}.project-yougile-message-html ul,.project-yougile-message-html ol{margin:0;padding-left:1.2rem}.project-yougile-message-html pre{background:#f4f7f2;border:1px solid var(--surface-border);border-radius:.6rem;margin:0;overflow-x:auto;padding:.55rem .65rem}.project-yougile-message-meta span{color:#2f4439;font-weight:700}.project-yougile-composer{border-radius:.8rem;border:1px solid #d8e0d5;box-shadow:none;margin-top:.1rem;padding:.42rem .52rem .5rem;position:static}.project-yougile-input-row{border-radius:.92rem;gap:.34rem;padding:.28rem}.project-yougile-input{min-height:48px}@media(max-width:767px){.project-yougile-stickers-head{align-items:stretch;display:grid;gap:.35rem;grid-template-columns:minmax(0,1fr)}.project-yougile-sticker-controls{grid-template-columns:minmax(0,1fr)}.project-yougile-sticker-save{width:100%}.project-yougile-chat-head{align-items:center;display:flex;flex-wrap:nowrap;gap:.42rem;justify-content:space-between}.project-yougile-chat-meta{flex:0 0 auto;justify-content:flex-end}.project-yougile-chat-title{font-size:1rem;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-yougile-push-toggle{font-size:.66rem;padding:.28rem .62rem}.project-yougile-chat-thread{max-height:min(56vh,460px);min-height:180px;padding:.55rem}.project-yougile-composer{padding:.38rem .42rem .44rem}}.project-card-desc{color:var(--muted);margin:.4rem 0;overflow-wrap:anywhere;word-break:break-word}.panel-pre{background:#f8fbf3;border:1px solid var(--surface-border);border-radius:.6rem;margin:0;padding:.65rem;white-space:pre-wrap}.flow-guide{background:#f7faf2;border:1px solid var(--surface-border);border-radius:.7rem;display:grid;gap:.45rem;padding:.7rem}.flow-guide-title{font-weight:700;margin:0}.flow-guide-list{display:grid;gap:.35rem;margin:0;padding-left:1.1rem}.history-list{display:grid;gap:.7rem;list-style:none;margin:0;padding:0}.history-item{border:1px solid var(--surface-border);border-radius:.6rem;padding:.65rem}.history-meta{align-items:center;display:flex;font-size:.9rem;gap:.65rem;justify-content:space-between}.history-meta>*{min-width:0;overflow-wrap:anywhere;word-break:break-word}.history-details,.history-actor{margin:.35rem 0 0;overflow-wrap:anywhere;word-break:break-word}.history-actor{color:var(--muted);font-size:.9rem}.history-details-toggle{margin-top:.35rem}.history-details-toggle summary{color:var(--muted);cursor:pointer;font-size:.9rem}.command-launcher{display:grid;gap:.75rem}.command-grid{display:grid;gap:.65rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.command-card{background:#f5f8f0;border:1px solid var(--surface-border);border-radius:.8rem;color:inherit;display:grid;gap:.35rem;min-height:96px;padding:.8rem;text-decoration:none}.command-card-primary{background:linear-gradient(180deg,#226e45,#174d30);border-color:#1c5f3c;color:#fff}.command-title{font-size:1rem;font-weight:700}.command-desc{color:inherit;font-size:.9rem;opacity:.86}.create-project-form{max-width:780px}.create-project-hint{color:var(--muted);margin:0}.search-live-hint{color:var(--muted);font-size:.9rem;margin:0}.sign-any-panel{min-width:0}.sign-any-helper-text{color:var(--muted);font-size:.9rem;overflow-wrap:anywhere;white-space:normal;word-break:break-word}.selected-files-list{display:grid;gap:.3rem;margin:0;max-width:100%;overflow-wrap:anywhere;padding-left:1.2rem;word-break:break-word}.files-manager-toolbar{background:#f8fbf3;border:1px solid var(--surface-border);border-radius:.7rem;display:grid;gap:.5rem;padding:.65rem}.files-manager-breadcrumbs{align-items:center;display:flex;flex-wrap:wrap;gap:.3rem}.files-manager-breadcrumb{padding-inline:0}.files-manager-breadcrumb-active{color:var(--text);font-weight:700;text-decoration:underline}.files-manager-current-path,.files-manager-note{color:var(--muted);margin:0}.files-list-toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:space-between}.files-list-toolbar-select-only{align-items:stretch;display:grid;gap:.6rem;grid-template-columns:minmax(0,1fr)}.files-toolbar-actions{align-items:center;display:flex;flex-wrap:wrap;gap:.45rem;justify-content:flex-end}.files-toolbar-actions-select-only{justify-content:flex-start;width:100%}.files-toolbar-icon{align-items:center;display:inline-flex;justify-content:center;min-height:40px;min-width:40px;padding:.45rem;width:40px}.files-toolbar-icon svg{height:18px;width:18px}.files-toolbar-icon-danger{background:#f5d9d9;color:#7c1d1d}.files-toolbar-meta{align-items:center;background:#f8fbf3;border:1px solid var(--surface-border);border-radius:.7rem;display:flex;flex-wrap:wrap;gap:.5rem .8rem;padding:.5rem .65rem}.files-toolbar-meta-select-only{justify-content:flex-start}.files-toolbar-selected{color:var(--muted);font-size:.9rem;font-weight:600}.files-root-drop-target{border:1px dashed #9fb7a7;border-radius:999px;color:var(--muted);font-size:.82rem;font-weight:600;padding:.2rem .6rem;transition:background-color .12s ease,border-color .12s ease,color .12s ease}.files-root-drop-target-active{background:#e8f3eb;border-color:#2f8b5b;color:#1b603c}.files-drop-tree-panel{background:#fff;border:1px solid var(--surface-border);border-radius:.75rem;box-shadow:0 12px 28px #12221638;display:grid;gap:.55rem;max-height:min(72vh,640px);overflow:hidden;position:fixed;right:1rem;top:5.25rem;width:min(380px,calc(100vw - 2rem));z-index:1240}.files-drop-tree-head{border-bottom:1px solid var(--surface-border);display:grid;gap:.3rem;padding:.65rem .75rem .55rem}.files-drop-tree-title{font-size:1rem;margin:0}.files-drop-tree-scroll{max-height:min(62vh,560px);overflow:auto;padding:.25rem .4rem .6rem}.files-drop-tree-list{display:grid;gap:.15rem;list-style:none;margin:0;padding:0}.files-drop-tree-item{display:grid;gap:.1rem}.files-drop-tree-node{align-items:center;border:1px solid transparent;border-radius:.55rem;cursor:default;display:flex;gap:.25rem;min-height:34px;padding:.1rem .35rem .1rem .3rem;transition:background-color .12s ease,border-color .12s ease,color .12s ease}.files-drop-tree-node:hover{background:#f4f8f3}.files-drop-tree-node-active{background:#e8f3eb;border-color:#2f8b5b;color:#1b603c}.files-drop-tree-toggle{align-items:center;border:0;border-radius:.35rem;color:var(--muted);display:inline-flex;font-size:.9rem;font-weight:700;justify-content:center;min-height:24px;min-width:24px;padding:0;width:24px}.files-drop-tree-toggle:disabled{opacity:.45}.files-drop-tree-label{flex:1;font-size:.9rem;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.files-drop-tree-meta{color:var(--muted);font-size:.8rem}.files-drop-tree-empty{align-items:center;color:var(--muted);display:inline-flex;gap:.45rem;font-size:.82rem;min-height:28px;padding-inline-start:1.6rem}.files-drop-tree-retry{min-height:0;padding:0}.files-move-picker-backdrop{align-items:center;background:#15201885;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:1rem;position:fixed;z-index:1250}.files-move-picker{background:#fff;border:1px solid var(--surface-border);border-radius:.85rem;box-shadow:0 20px 36px #15201838;display:grid;gap:.7rem;max-height:min(80vh,620px);overflow:auto;padding:.9rem;width:min(560px,100%)}.files-move-picker-list{display:grid;gap:.45rem}.files-move-picker-option{justify-content:flex-start;text-align:left;width:100%}.files-upload-result-backdrop{z-index:1260}.files-upload-result-modal{display:grid;gap:.65rem;max-width:min(760px,calc(100vw - 2rem))}.files-upload-result-head{align-items:center;display:flex;gap:.6rem;justify-content:space-between}.files-upload-result-status{border:1px solid var(--surface-border);border-radius:999px;font-size:.82rem;font-weight:700;line-height:1;padding:.3rem .55rem;text-transform:uppercase}.files-upload-result-status-success{background:#e6f4eb;border-color:#98c4a7;color:#1f5c37}.files-upload-result-status-partial{background:#fff6df;border-color:#e6cb84;color:#815b0a}.files-upload-result-status-error{background:#fdecec;border-color:#e1aeae;color:#8f2323}.files-upload-result-counters{background:#f7faf3;border:1px solid var(--surface-border);border-radius:.7rem;display:flex;flex-wrap:wrap;gap:.5rem 1rem;padding:.55rem .65rem}.files-upload-result-counters p{margin:0}.files-upload-result-section{display:grid;gap:.4rem}.files-upload-result-subtitle{margin:0}.files-upload-result-list{max-height:min(34vh,240px);overflow:auto}.files-upload-result-item{display:grid;gap:.2rem}.files-upload-result-item-error{border-color:#e8c4c4}.files-compact-card{background:#f8fbf3;border:1px solid var(--surface-border);border-radius:.7rem;display:grid;gap:.7rem;padding:.65rem}.files-upload-inline{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem}.files-upload-input{display:none}.files-upload-button{border:1px solid var(--surface-border);border-radius:.6rem;min-height:40px;padding:.4rem .9rem}.files-upload-hint{color:var(--muted);font-size:.9rem}.files-upload-progress{background:#eef4e8;border-radius:999px;color:#24543a;font-size:.86rem;font-weight:600;padding:.2rem .6rem}.files-folder-inline{align-items:end;display:grid;gap:.6rem;grid-template-columns:minmax(0,1fr) auto}.files-folder-field{margin:0}.files-actions-panel{gap:.6rem}.files-actions-head{align-items:center;display:flex;flex-wrap:wrap;gap:.6rem;justify-content:space-between}.files-actions-count{font-weight:600;margin:0}.files-actions-quick{align-items:center}.files-actions-advanced{background:#fff;margin-top:0}.files-actions-advanced[open]{display:grid;gap:.6rem}.files-entry{display:grid;gap:.45rem}.files-entry-dragging{opacity:.5}.files-entry-drop-target{background:#edf6ef;outline:2px dashed #2f8b5b;outline-offset:-2px}.files-manager-list{border:1px solid var(--surface-border);border-radius:.7rem;gap:0;overflow:hidden}.files-list-item{border:0;border-bottom:1px solid var(--surface-border);border-radius:0;padding:.55rem .65rem}.files-list-item:last-child{border-bottom:0}.files-entry-main{align-items:center;display:grid;gap:.6rem;grid-template-columns:minmax(0,1fr) auto}.files-entry-name{font-weight:600}.files-entry-main .field-checkbox{min-width:0}.files-entry-open{display:block;justify-content:flex-start;max-width:100%;min-height:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}.files-entry-name-cell{display:block;min-width:0}.files-entry-meta-group{align-items:center;display:inline-flex;gap:.35rem;max-width:100%}.files-entry-meta{color:var(--muted);font-size:.9rem;white-space:nowrap}.files-entry-drag-handle{align-items:center;background:#f3f7ef;border:1px dashed #9fb7a7;border-radius:.55rem;color:var(--muted);cursor:grab;display:inline-flex;justify-content:center;min-height:32px;min-width:32px;padding:0;touch-action:none;width:32px}.files-entry-drag-handle svg{height:16px;width:16px}.files-entry-drag-handle:active{cursor:grabbing}.files-entry-drag-handle-active{background:#e8f3eb;border-color:#2f8b5b;color:#1b603c}.files-entry-actions{align-items:stretch}.create-project-flow{align-items:center;display:flex;flex-wrap:wrap;gap:.65rem;justify-content:space-between}.create-project-flow p{margin:0}.ai-overwrite-section{gap:.7rem}.ai-overwrite-list{gap:.5rem}.ai-overwrite-list .history-item{padding:.55rem .65rem}.ai-overwrite-value{white-space:pre-wrap}@media(max-width:900px){.contract-layout{grid-template-columns:1fr}}@media(max-width:767px){.projects-page{overflow-x:hidden}.projects-page .page-header-inline>.button,.projects-page .page-header-inline>.button-link{width:100%}.projects-page .project-card h3{margin-right:2.4rem}.projects-page .project-card-sticker-row{max-width:100%;padding-bottom:.1rem}.projects-page .project-card-sticker-shell{margin-top:0;padding-top:0}.projects-page .project-card-sticker-top{margin-top:-2rem}.page-header-inline{align-items:stretch;flex-direction:column}.admin-header-actions{display:grid;grid-template-columns:minmax(0,1fr)}.admin-header-actions .button{width:100%}.inline-actions{flex-direction:column}.inline-actions .button,.inline-actions .button-link{width:100%}.field-row{border:0;border-top:1px dashed var(--surface-border);border-radius:0;padding:.65rem 0 0}.contract-section-head{align-items:stretch;flex-direction:column}.contract-photo-actions{justify-content:stretch}.contract-photo-actions .button{width:100%}.contract-photo-modal{padding:.85rem}.history-meta{align-items:flex-start;flex-direction:column;gap:.3rem}.command-grid{grid-template-columns:1fr}.project-actions{flex-direction:column}.project-actions .button,.project-actions .button-link{width:100%}.project-card-sticker-menu{left:0;min-width:100%;right:auto}.project-card-sticker{max-width:100%}.project-card-sticker-shell{margin-top:-1.75rem;padding-top:1.7rem}.project-card-sticker-add{height:1.75rem;width:1.75rem}.files-folder-inline{grid-template-columns:1fr}.files-upload-inline{align-items:stretch;flex-direction:column}.files-upload-button{width:100%}.files-list-toolbar{align-items:stretch;flex-direction:column}.files-toolbar-actions{display:grid;gap:.4rem;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));justify-content:stretch;overflow-x:visible;padding-bottom:0;width:100%}.files-toolbar-icon{min-width:0;width:100%}.files-toolbar-meta{align-items:flex-start;flex-direction:column;gap:.35rem}.files-root-drop-target{width:100%}.files-drop-tree-panel{bottom:1rem;left:1rem;max-height:min(62vh,520px);right:1rem;top:auto;width:auto}.files-drop-tree-scroll{max-height:min(48vh,380px)}.files-move-picker{padding:.75rem}.files-entry-main{align-items:center}.files-entry-open{overflow:visible;text-overflow:clip;white-space:normal;word-break:break-word}.files-entry-meta-group{gap:.25rem}.files-entry-meta{font-size:.84rem}.files-entry-drag-handle{min-height:30px;min-width:30px;width:30px}.email-wysiwyg-editor{min-height:220px}.email-wysiwyg-tool-preview{margin-left:0}.email-preview-canvas{max-height:calc(100dvh - 10.5rem);padding:.6rem}.email-selected-project-list{display:grid;grid-template-columns:1fr}.email-selected-project-chip{border-radius:.6rem;text-align:left;width:100%}.email-send-progress-list{max-height:36vh}.files-email-modal{max-height:calc(100dvh - .8rem);max-width:calc(100vw - 1rem);width:calc(100vw - 1rem)}.files-email-list{max-height:26vh}.files-email-file-main{align-items:flex-start;flex-direction:column;gap:.25rem}.files-email-intent-textarea{min-height:120px}.files-email-ai-button{right:.4rem;top:.4rem}}.public-sign-shell{display:grid;gap:.75rem;margin:0 auto;max-width:1620px;width:min(100%,1620px)}.public-sign-header{align-items:flex-start;background:linear-gradient(180deg,#f8fbf4,#eef4e8);border:1px solid var(--surface-border);border-radius:.8rem;display:grid;gap:.35rem;padding:.8rem .95rem}.public-sign-title{margin:0;font-size:clamp(1.2rem,1.45vw,1.5rem)}.public-sign-subtitle{color:var(--muted);margin:0;max-width:76ch}.public-sign-lead-note{margin:.1rem 0 .25rem}.public-sign-workbench{align-items:start;display:grid;gap:.8rem;grid-template-columns:minmax(0,1fr) minmax(360px,430px)}.public-sign-document-shell{background:#f6f8f2;border:1px solid var(--surface-border);border-radius:.8rem;display:grid;gap:.65rem;min-width:0;padding:.75rem}.public-sign-document-toolbar{align-items:center;display:flex;gap:.65rem;justify-content:flex-start}.public-sign-document-picker{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:.6rem;min-width:0}.public-sign-document-count{color:#2f4132;font-weight:600;white-space:nowrap}.public-sign-document-select{background:#fff;flex:1;margin:0;max-width:560px;min-width:280px}.public-sign-read-link{align-items:center;display:inline-flex;justify-content:center;min-height:44px;min-width:44px;padding:.5rem;width:44px}.public-sign-read-link svg{height:18px;width:18px}.public-sign-action-shell{align-self:start;display:grid;gap:.75rem;position:sticky;top:.8rem}.public-sign-action-panel{padding:.85rem}.public-sign-primary-action .button{width:100%}.public-sign-read-confirm{align-items:flex-start;background:#f8fbf3;border:1px solid var(--surface-border);border-radius:.65rem;margin:0;padding:.55rem .65rem}.public-sign-read-confirm input{margin-top:.15rem}.public-sign-read-confirm span{font-size:.67rem;line-height:1.25}.public-sign-downloads{padding:.75rem}.public-sign-canvas{width:100%;border:1px solid #c8d1c3;border-radius:10px;background:#fff;display:block;height:auto;max-width:100%;touch-action:none}.public-sign-mode-actions{display:grid;gap:.6rem;grid-template-columns:repeat(2,minmax(0,1fr))}.public-sign-mode-actions .button{width:100%}.public-sign-signature-input{gap:.5rem}.public-sign-preview{max-width:100%;max-height:180px;border:1px solid #c8d1c3;border-radius:8px;background:#fff}.public-sign-pdf-viewer{background:#edf1e8;border:1px solid var(--surface-border);border-radius:.75rem;max-height:82vh;min-height:68vh;min-width:0;overflow:hidden;padding:.55rem}.public-sign-pdf-workbench{display:grid;gap:.55rem;grid-template-columns:minmax(0,1fr);height:100%;min-height:0}.public-sign-pdf-stage{display:grid;gap:.55rem;grid-template-rows:auto minmax(0,1fr);min-height:0;min-width:0}.public-sign-pdf-toolbar{align-items:center;background:#fff;border:1px solid #d3dcc9;border-radius:.45rem;display:flex;gap:.3rem;justify-content:space-between;min-height:30px;padding:.14rem .28rem}.public-sign-pdf-toolbar-main{align-items:center;display:inline-flex;gap:.3rem}.public-sign-pdf-nav{min-height:24px;min-width:24px;padding:0;width:24px}.public-sign-pdf-toolbar-main span{color:var(--muted);font-size:.92rem;font-weight:600;min-width:3.1rem;text-align:center}.public-sign-read-link-inline{margin-left:auto;min-height:30px;min-width:30px;padding:.22rem;width:30px}.public-sign-read-link-inline svg{height:15px;width:15px}.public-sign-pdf-hint{color:var(--muted);margin:0}.public-sign-pdf-error{display:grid;gap:.55rem}.public-sign-pdf-error p{margin:0}.public-sign-pdf-main-page{align-items:start;background:#f3f5ef;border:1px solid #d3dcc9;border-radius:.6rem;display:flex;justify-content:center;margin:0;min-height:0;overflow:auto;padding:.7rem}.public-sign-pdf-main-page img{border-radius:.2rem;box-shadow:0 8px 22px #13211826;display:block;height:auto;max-width:100%;width:min(100%,980px)}.public-sign-status-backdrop{align-items:center;background:#15201880;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:1rem;position:fixed;z-index:1200}.public-sign-status-modal{background:#fff;border:1px solid var(--surface-border);border-radius:.85rem;box-shadow:0 20px 36px #15201833;display:grid;gap:.7rem;max-width:520px;padding:1rem;width:100%}.public-sign-status-modal p{margin:0}.public-sign-status-modal-success{border-color:#9ec8ab}.public-sign-status-modal-error{border-color:#deb4b4}.sign-placement-backdrop{align-items:flex-start;overflow-y:auto;padding-block:clamp(.65rem,2.5vh,1.25rem)}.sign-placement-modal{grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(100dvh - 1.3rem);max-width:1180px;overflow:hidden}.sign-placement-modal-head{display:grid;gap:.45rem}.sign-placement-modal-body{min-height:0;overflow:auto;padding-right:.15rem}.sign-placement-grid{align-items:start;display:grid;gap:.9rem;grid-template-columns:minmax(260px,.9fr) minmax(0,2fr);min-height:0}.sign-placement-sidebar{align-content:start;min-height:0}.sign-placement-preview{display:grid;gap:.65rem;grid-template-rows:auto minmax(0,1fr);min-height:0;min-width:0}.sign-placement-preview .public-sign-pdf-viewer{height:100%;max-height:none;min-height:360px}.sign-placement-actions{justify-content:flex-end}.sign-placement-canvas{position:relative}.sign-placement-canvas-active{cursor:crosshair}.sign-placement-canvas img{border-radius:.4rem;display:block;max-width:100%;width:100%}.sign-placement-marker{align-items:center;aspect-ratio:4.6 / 1.8;background:#10943f2e;border:1px solid rgba(16,148,63,.85);border-radius:999px;color:#047734;cursor:pointer;display:inline-flex;font-size:clamp(.82rem,1.2vw,1rem);font-weight:700;justify-content:center;left:0;min-width:2.1rem;padding:.05rem .22rem;position:absolute;top:0;transform:translate(-50%,-50%)}.sign-placement-marker:hover{background:#10943f42}.izv-workflow-modal{max-width:920px}.izv-workflow-textarea{min-height:340px;resize:vertical}.public-sign-status-progress-block{display:grid;gap:.35rem}.public-sign-status-progress-track{background:#e8eee3;border-radius:999px;height:10px;overflow:hidden}.public-sign-status-progress-value{background:#226e45;border-radius:999px;height:100%;transition:width .18s ease-in-out}html.device-tablet .public-sign-shell{gap:.65rem;max-width:100%;width:100%}html.device-tablet .public-sign-header{padding:.75rem .85rem}html.device-tablet .public-sign-workbench{grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:.7rem}html.device-tablet .public-sign-action-shell{top:.5rem}html.device-tablet .public-sign-pdf-viewer{max-height:80vh;min-height:62vh}html.device-tablet .public-sign-document-select{min-width:240px}html.device-tablet .public-sign-mode-actions .button,html.device-tablet .sign-placement-actions .button{min-height:46px}html.device-tablet .sign-placement-backdrop{padding:.55rem}html.device-tablet .sign-placement-modal{max-height:calc(100dvh - 1rem);max-width:min(1280px,calc(100vw - 1rem));width:100%}html.device-tablet .sign-placement-grid{gap:.75rem;grid-template-columns:minmax(230px,.85fr) minmax(0,2fr)}html.device-tablet .sign-placement-preview .public-sign-pdf-viewer{min-height:50vh}html.device-tablet .sign-placement-marker{min-width:2.35rem}@media(max-width:1100px){html.device-tablet .public-sign-workbench{grid-template-columns:minmax(0,1fr)}html.device-tablet .public-sign-action-shell{position:static;top:auto}html.device-tablet .public-sign-pdf-viewer{max-height:74vh;min-height:54vh}html.device-tablet .sign-placement-grid{grid-template-columns:minmax(0,1fr)}html.device-tablet .sign-placement-preview .public-sign-pdf-viewer{min-height:44vh}}@media(max-width:1040px){.sign-placement-grid{grid-template-columns:minmax(0,1fr)}.sign-placement-preview .public-sign-pdf-viewer{min-height:44vh}.public-sign-workbench{grid-template-columns:minmax(0,1fr)}.public-sign-action-shell{position:static;top:auto}.public-sign-pdf-viewer{max-height:74vh;min-height:56vh}}@media(max-width:767px){.public-sign-header{padding:.65rem .75rem}.public-sign-subtitle{font-size:.9rem;line-height:1.3}.public-sign-document-shell{padding:.65rem}.public-sign-document-toolbar{align-items:stretch;flex-direction:column}.public-sign-document-picker{align-items:stretch;display:grid;gap:.45rem;grid-template-columns:minmax(0,1fr)}.public-sign-document-count{white-space:normal}.public-sign-document-select{max-width:100%;min-width:0;width:100%}.public-sign-pdf-viewer{max-height:76vh;min-height:46vh;padding:.45rem}.public-sign-pdf-workbench{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.public-sign-mode-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.public-sign-status-modal{padding:.85rem}.sign-placement-backdrop{padding:.45rem}.sign-placement-modal{max-height:calc(100dvh - .9rem);padding:.75rem}.sign-placement-modal-body{padding-right:0}.sign-placement-grid{grid-template-columns:minmax(0,1fr)}.sign-placement-preview .public-sign-pdf-viewer{min-height:40vh}}
