@font-face{font-family:Poppins;src:url(/assets/Poppins-Regular-B2YTLo9r.ttf) format("truetype");font-weight:400;font-display:swap}@font-face{font-family:Poppins;src:url(/assets/Poppins-Medium-1iPSBYoM.ttf) format("truetype");font-weight:500;font-display:swap}@font-face{font-family:Poppins;src:url(/assets/Poppins-SemiBold-DVCj-rhG.ttf) format("truetype");font-weight:600;font-display:swap}@font-face{font-family:Poppins;src:url(/assets/Poppins-Bold-CdT-0Mts.ttf) format("truetype");font-weight:700;font-display:swap}@font-face{font-family:Sora;src:url(/assets/Sora-VariableFont_wght-Bqpd64dN.ttf) format("truetype");font-weight:100 800;font-display:swap}:root{--medit-teal: #0F766E;--medit-navy: #0E2A33;--medit-slate: #3D525A;--medit-white: #FFFFFF;--medit-bone: #F3F7F6;--medit-turquoise: #5EEAD4;--medit-sage: #B9CDC9;--medit-accent: #14B8A6;--font-heading: "Sora", "Poppins", system-ui, sans-serif;--font-body: "Poppins", system-ui, sans-serif;--bg: var(--medit-bone);--surface: var(--medit-white);--text: var(--medit-navy);--text-muted: var(--medit-slate);--primary: var(--medit-teal);--on-primary: var(--medit-white);--border: #D5E0DE;--success: #15803D;--warning: #B45309;--danger: #B91C1C;--info: var(--medit-teal)}[data-theme=dark]{--bg: var(--medit-navy);--surface: #13363F;--text: var(--medit-bone);--text-muted: var(--medit-sage);--primary: var(--medit-turquoise);--on-primary: var(--medit-navy);--border: #24505B;--success: #4ADE80;--warning: #FBBF24;--danger: #F87171;--info: var(--medit-turquoise)}:root{--sidebar-bg: var(--medit-navy);--sidebar-text: var(--medit-sage);--sidebar-active: var(--medit-turquoise);--radius: 10px;--shadow: 0 1px 2px rgb(14 42 51 / 6%), 0 4px 16px rgb(14 42 51 / 6%);--primary-soft: rgb(15 118 110 / 10%);color-scheme:light}[data-theme=dark]{--sidebar-bg: #0a1f26;--shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 4px 16px rgb(0 0 0 / 25%);--primary-soft: rgb(94 234 212 / 12%);color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-body);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}h1,h2,h3{font-family:var(--font-heading);line-height:1.2;margin:0 0 .5em}h1{font-size:1.6rem;font-weight:700}h2{font-size:1.1rem;font-weight:600}a{color:var(--primary)}code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.muted{color:var(--text-muted)}.small{font-size:.85rem}.nowrap{white-space:nowrap}.spacer{flex:1}.ok-text{color:var(--success);font-weight:500}.splash{display:grid;place-items:center;height:100%;color:var(--text-muted)}.btn{font:inherit;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:.4em;padding:.55em 1.1em;border-radius:8px;border:1px solid transparent;cursor:pointer;background:none;color:var(--text);text-decoration:none;transition:background .15s,border-color .15s}.btn:disabled{opacity:.55;cursor:default}.btn:focus-visible,input:focus-visible,select:focus-visible,.nav-link:focus-visible,.list-item:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.btn-primary{background:var(--primary);color:var(--on-primary)}.btn-primary:hover:not(:disabled){filter:brightness(1.08)}.btn-ghost{border-color:var(--border);background:var(--surface)}.btn-ghost:hover:not(:disabled){border-color:var(--primary)}.btn-danger-ghost{border-color:var(--border);color:var(--danger);background:var(--surface)}.btn-block{width:100%}.btn-icon{padding:.4em .6em;line-height:1}.form{display:flex;flex-direction:column;gap:1rem}label{display:flex;flex-direction:column;gap:.35rem;font-weight:500;font-size:.9rem}label.check{flex-direction:row;align-items:center;gap:.5rem}input,select{font:inherit;font-weight:400;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:.55em .75em;min-width:0}input[type=checkbox]{width:1.1rem;height:1.1rem;accent-color:var(--primary);padding:0}.row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;align-items:start}.alert{padding:.7em 1em;border-radius:8px;font-size:.9rem}.alert-danger{background:color-mix(in srgb,var(--danger) 12%,transparent);color:var(--danger)}.alert-info{background:var(--primary-soft);color:var(--text)}.badge{display:inline-block;padding:.15em .6em;border-radius:999px;font-size:.78rem;font-weight:500;background:color-mix(in srgb,var(--text-muted) 14%,transparent);color:var(--text-muted)}.badge-done{background:color-mix(in srgb,var(--success) 14%,transparent);color:var(--success)}.badge-next{background:var(--primary-soft);color:var(--primary)}.badge-warn{background:color-mix(in srgb,var(--warning) 14%,transparent);color:var(--warning)}.badge-danger{background:color-mix(in srgb,var(--danger) 12%,transparent);color:var(--danger)}.seg{display:inline-flex;border:1px solid var(--border);border-radius:8px;overflow:hidden}.seg button{font:inherit;font-size:.8rem;font-weight:600;padding:.3em .7em;border:0;background:var(--surface);color:var(--text-muted);cursor:pointer}.seg button.on{background:var(--primary);color:var(--on-primary)}.auth-page{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 16px}.auth-card{width:100%;max-width:420px;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:28px}.auth-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem;gap:1rem}.auth-top .logo{height:52px;width:auto}.auth-foot{color:var(--text-muted);font-size:.85rem;letter-spacing:.08em;margin-top:1.25rem}.qr{width:200px;height:200px;align-self:center;border-radius:8px;border:1px solid var(--border)}.secret{word-break:break-all;background:var(--bg);padding:.1em .4em;border-radius:4px}.codes{list-style:none;padding:1rem;margin:0 0 .75rem;display:grid;grid-template-columns:1fr 1fr;gap:.4rem 1rem;background:var(--bg);border-radius:8px;font-family:ui-monospace,Menlo,monospace}.shell{display:flex;min-height:100%}.sidebar{width:248px;flex-shrink:0;background:var(--sidebar-bg);color:var(--sidebar-text);display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow-y:auto}.sidebar-brand{padding:20px 20px 16px}.sidebar-brand .logo{width:100%;max-width:180px;height:auto;display:block}.sidebar nav{display:flex;flex-direction:column;padding:8px 12px 24px;gap:2px}.nav-section{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;padding:18px 12px 6px;opacity:.7}.nav-link{color:var(--sidebar-text);text-decoration:none;padding:.55em .8em;border-radius:8px;font-weight:500}.nav-link:hover{background:#ffffff0f;color:var(--medit-bone)}.nav-link.active{background:#5eead424;color:var(--sidebar-active)}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;gap:.75rem;padding:10px 24px;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:5}.topbar-icon,.menu-btn{display:none}.topbar-icon{height:30px}.user-chip{display:flex;align-items:center;gap:.5rem;color:var(--text);text-decoration:none;font-weight:500}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:var(--on-primary);font-weight:600;font-size:.9rem}.content{padding:28px 24px 48px}.page{max-width:1200px;margin:0 auto;display:flex;flex-direction:column;gap:1.25rem}.page>h1{margin:0}.page-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.page-head h1{margin:0}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.table-wrap{overflow-x:auto;padding:0}.card.table-wrap{padding:0}table{width:100%;border-collapse:collapse;font-size:.92rem}th{text-align:left;font-weight:600;color:var(--text-muted);font-size:.8rem;text-transform:uppercase;letter-spacing:.04em}th,td{padding:.7rem 1rem;border-bottom:1px solid var(--border);vertical-align:middle}tbody tr:last-child td{border-bottom:0}tr.clickable{cursor:pointer}tr.clickable:hover td{background:var(--primary-soft)}tr.detail pre{margin:0;font-size:.8rem;white-space:pre-wrap;word-break:break-word;color:var(--text-muted)}.matrix td:not(:first-child),.matrix th:not(:first-child){text-align:center;width:90px}.matrix{border:1px solid var(--border);border-radius:8px}.filters{display:flex;flex-wrap:wrap;gap:.75rem;align-items:end}.filters label{flex-direction:row;align-items:center;gap:.4rem;font-weight:400}.pager{justify-content:center}.split{display:grid;grid-template-columns:240px 1fr;gap:1.25rem;align-items:start}.card.list{padding:8px;display:flex;flex-direction:column;gap:2px}.list-item{font:inherit;text-align:left;border:0;background:none;color:var(--text);cursor:pointer;padding:.6em .8em;border-radius:8px;display:flex;flex-direction:column}.list-item:hover{background:var(--primary-soft)}.list-item.active{background:var(--primary-soft);box-shadow:inset 3px 0 0 var(--primary)}.roadmap{list-style:none;padding:0;margin:0;display:flex;flex-direction:column}.roadmap li{display:flex;align-items:center;gap:1rem;padding:.7rem 0;border-bottom:1px solid var(--border)}.roadmap li:last-child{border-bottom:0}.phase-num{font-family:var(--font-heading);font-weight:600;color:var(--text-muted);min-width:70px}.roadmap li.done .phase-num{color:var(--primary)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0e2a3373;display:grid;place-items:center;padding:16px;z-index:50}.modal{background:var(--surface);border-radius:14px;box-shadow:var(--shadow);width:100%;max-width:560px;max-height:calc(100vh - 32px);overflow-y:auto;padding:22px}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.modal-head h2{margin:0}.scrim{display:none}@media(max-width:860px){.sidebar{position:fixed;left:0;top:0;bottom:0;z-index:40;transform:translate(-100%);transition:transform .2s}.nav-open .sidebar{transform:none}.nav-open .scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;z-index:30}.menu-btn,.topbar-icon{display:inline-flex}.topbar{padding:8px 16px}.user-name{display:none}.content{padding:20px 16px 40px}.split,.codes{grid-template-columns:1fr}}textarea{font:inherit;font-weight:400;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:.55em .75em;resize:vertical;min-width:0}textarea:focus-visible{outline:2px solid var(--primary);outline-offset:2px}input[type=radio]{accent-color:var(--primary);width:1rem;height:1rem}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem 1rem;align-items:start}.form-grid .wide{grid-column:1 / -1}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.modal{max-width:680px}.page-wide{max-width:none}.back-link{color:var(--text-muted);text-decoration:none;font-size:.9rem;align-self:flex-start}.back-link:hover{color:var(--primary)}.empty{padding:1.25rem;text-align:center;margin:0}.nowrap-row{flex-wrap:nowrap}.inactive{opacity:.6}.chips,.chip-list{display:flex;flex-wrap:wrap;gap:.35rem}.chip{font:inherit;font-size:.82rem;font-weight:500;padding:.25em .75em;border-radius:999px;cursor:pointer;border:1px solid var(--border);background:var(--surface);color:var(--text-muted)}.chip.on{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.chip.small{font-size:.75rem;padding:.1em .55em;cursor:default;background:var(--primary-soft);border-color:transparent;color:var(--text)}.tabs{display:flex;gap:.25rem;border-bottom:1px solid var(--border);margin:-4px 0 1rem;overflow-x:auto;scrollbar-width:none}.tab{font:inherit;font-weight:500;background:none;border:0;border-bottom:2px solid transparent;color:var(--text-muted);padding:.55em .8em;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;gap:.4em}.tab.on{color:var(--primary);border-bottom-color:var(--primary)}.tab-count{font-size:.72rem;background:var(--primary-soft);color:var(--text);border-radius:999px;padding:.05em .55em}.detail-grid{display:grid;grid-template-columns:minmax(260px,1fr) 2fr;gap:1.25rem;align-items:start}.facts dl,dl.facts{display:grid;grid-template-columns:max-content 1fr;gap:.55rem 1rem;margin:0}.facts dt{color:var(--text-muted);font-size:.85rem}.facts dd{margin:0;overflow-wrap:anywhere}.notes{white-space:pre-wrap;background:var(--bg);border-radius:8px;padding:.75rem 1rem;margin:1rem 0 0;font-size:.92rem}.stack{display:flex;flex-direction:column;gap:1rem}.mini-card{border:1px solid var(--border);border-radius:8px;padding:.75rem 1rem}.panel{display:flex;flex-direction:column;gap:1rem}.co-logo{border-radius:8px;object-fit:contain;background:#fff;border:1px solid var(--border);flex-shrink:0}.co-initials{display:inline-grid;place-items:center;background:var(--primary-soft);color:var(--primary);font-weight:700;font-family:var(--font-heading)}.activity-form{display:flex;flex-direction:column;gap:.75rem;padding-bottom:1rem;border-bottom:1px solid var(--border)}.activity-form .seg{align-self:flex-start;flex-wrap:wrap}.timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.timeline li{display:flex;gap:.85rem;padding:.8rem 0;border-bottom:1px solid var(--border);align-items:flex-start}.timeline li:last-child{border-bottom:0}.tl-icon{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:var(--primary-soft);color:var(--primary)}.tl-body{flex:1;min-width:0}.tl-head{display:flex;flex-wrap:wrap;gap:.25rem .75rem;align-items:baseline}.tl-text{margin:.3rem 0;white-space:pre-wrap;font-size:.92rem}.tasks{list-style:none;margin:0;padding:0}.task{display:flex;align-items:center;gap:.75rem;padding:.65rem 0;border-bottom:1px solid var(--border);flex-wrap:wrap}.task:last-child{border-bottom:0}.task-main{font:inherit;text-align:left;background:none;border:0;color:var(--text);cursor:pointer;flex:1;min-width:180px;display:flex;flex-direction:column;padding:0}.task-main:disabled{cursor:default}.task.done .task-title{text-decoration:line-through;color:var(--text-muted)}.task-link{color:var(--primary)}.overdue{color:var(--danger);font-weight:500}.docs{list-style:none;margin:0;padding:0}.docs li{display:flex;align-items:center;gap:.75rem;padding:.6rem 0;border-bottom:1px solid var(--border);flex-wrap:wrap}.doc-icon{font-size:.65rem;font-weight:700;width:40px;height:40px;border-radius:8px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary)}.doc-name{font-weight:500;flex:1;min-width:160px;overflow-wrap:anywhere}.contact-list{list-style:none;margin:0;padding:0}.contact-list li{display:flex;align-items:center;gap:.75rem;padding:.65rem 0;border-bottom:1px solid var(--border);flex-wrap:wrap}.contact-main{font:inherit;text-align:left;background:none;border:0;color:var(--text);cursor:pointer;flex:1;min-width:200px;padding:0}.contact-main .badge{margin-left:.4rem}.contact-ways{display:flex;flex-direction:column;align-items:flex-end}.star{background:none;border:0;cursor:pointer;font-size:1.2rem;line-height:1;color:var(--text-muted);padding:.2rem}.star.on{color:#e0a800}.star-cell{width:36px}.kanban{display:flex;gap:.85rem;overflow-x:auto;padding-bottom:.75rem;align-items:flex-start;min-height:60vh}.kcol{flex:0 0 272px;background:color-mix(in srgb,var(--text-muted) 8%,transparent);border-radius:var(--radius);padding:.65rem;display:flex;flex-direction:column;gap:.4rem;border:2px solid transparent}.kcol.over{border-color:var(--primary)}.kcol-head{display:flex;justify-content:space-between;align-items:center}.kcol-won .kcol-head strong{color:var(--success)}.kcol-lost .kcol-head strong{color:var(--danger)}.kcol-body{display:flex;flex-direction:column;gap:.5rem;min-height:60px}.kcard{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:.65rem .75rem;cursor:grab;box-shadow:var(--shadow);touch-action:manipulation}.kcard.dragging{opacity:.35}.kcard.overlay{cursor:grabbing;transform:rotate(2deg)}.kcard.over{box-shadow:0 -3px 0 var(--primary)}.kcard-foot{display:flex;gap:.5rem;align-items:center;margin-top:.35rem}.mrr{color:var(--primary);font-weight:500}.small-avatar{width:22px;height:22px;font-size:.7rem;margin-left:auto}.stage-bar{list-style:none;display:flex;gap:.35rem;padding:0;margin:0;overflow-x:auto}.stage-step{font:inherit;font-size:.82rem;font-weight:500;white-space:nowrap;padding:.45em .9em;border-radius:999px;cursor:pointer;border:1px solid var(--border);background:var(--surface);color:var(--text-muted)}.stage-step.passed{background:var(--primary-soft);color:var(--text)}.stage-step.current{background:var(--primary);color:var(--on-primary);border-color:var(--primary);cursor:default}.stage-step.stage-won.current{background:var(--success);border-color:var(--success);color:#fff}.stage-step.stage-lost.current{background:var(--danger);border-color:var(--danger);color:#fff}.stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:1rem}.stat{display:flex;flex-direction:column;gap:.2rem;text-decoration:none;color:var(--text);padding:16px 18px}.stat:hover{border-color:var(--primary)}.stat-value{font-family:var(--font-heading);font-size:1.8rem;font-weight:700;line-height:1.1}.stat-value.danger{color:var(--danger)}.search{position:relative;flex:1;max-width:420px}.search input{width:100%}.search-pop{position:absolute;top:calc(100% + 6px);left:0;right:0;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow);max-height:70vh;overflow-y:auto;z-index:20;padding:.35rem}.search-group{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);padding:.5rem .6rem .2rem}.search-hit{font:inherit;display:flex;flex-direction:column;width:100%;text-align:left;background:none;border:0;padding:.45rem .6rem;border-radius:6px;cursor:pointer;color:var(--text)}.search-hit:hover,.search-hit:focus-visible{background:var(--primary-soft)}.search-empty{padding:.75rem}.list-editor{list-style:none;margin:0 0 .5rem;padding:0}.list-editor li{display:flex;align-items:center;gap:.6rem;padding:.4rem 0;border-bottom:1px solid var(--border);flex-wrap:wrap}.list-editor li input:not([type]),.list-editor li input[type=text]{flex:1;min-width:160px}.list-editor li.inactive input:not([type=checkbox]){text-decoration:line-through}.row-actions{display:inline-flex;gap:.25rem}.step-num{width:1.5rem;text-align:right}.title-input{font-family:var(--font-heading);font-weight:600;font-size:1.05rem;min-width:200px}.page>.card+.card{margin-top:0}@media(max-width:860px){.detail-grid,.form-grid{grid-template-columns:1fr}.hide-sm{display:none}.search{max-width:none;min-width:0}.topbar .spacer,.topbar .topbar-icon{display:none}.topbar{gap:.5rem}.contact-ways{align-items:flex-start}}.sy-section{display:flex;flex-direction:column;gap:.5rem}.sy-section h3{font-size:1rem;margin:.5rem 0 0;display:flex;align-items:center;gap:.5rem}.sy-list{list-style:none;margin:0;padding:0}.sy-list li{padding:.55rem 0;border-bottom:1px solid var(--border)}.sy-list li:last-child{border-bottom:0}.stat-value.ok{color:var(--success)}.stat-value.small-value{font-size:1.05rem}.fact-row{display:contents}.error-list{margin:0;padding-left:1.1rem;color:var(--danger);font-size:.88rem;display:flex;flex-direction:column;gap:.35rem;overflow-wrap:anywhere}.clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:60ch}.calendar-card{padding:12px}.calendar-card .fc{--fc-border-color: var(--border);--fc-page-bg-color: var(--surface);--fc-neutral-bg-color: var(--bg);--fc-today-bg-color: var(--primary-soft);--fc-event-bg-color: var(--primary);--fc-event-border-color: var(--primary);--fc-event-text-color: var(--on-primary);--fc-button-bg-color: var(--surface);--fc-button-border-color: var(--border);--fc-button-text-color: var(--text);--fc-button-hover-bg-color: var(--primary-soft);--fc-button-hover-border-color: var(--primary);--fc-button-active-bg-color: var(--primary);--fc-button-active-border-color: var(--primary);--fc-now-indicator-color: var(--danger);font-size:.88rem}.calendar-card .fc .fc-button-primary:not(:disabled).fc-button-active{color:var(--on-primary)}.calendar-card .fc .fc-toolbar-title{font-family:var(--font-heading);font-size:1.15rem}.calendar-card .fc .fc-col-header-cell-cushion,.calendar-card .fc .fc-daygrid-day-number{color:var(--text);text-decoration:none}.calendar-card .fc-event{cursor:pointer}.calendar-card .ev-error{--fc-event-bg-color: var(--danger);--fc-event-border-color: var(--danger)}@media(max-width:860px){.calendar-card{padding:6px}.calendar-card .fc .fc-toolbar{flex-wrap:wrap;gap:.4rem}}.grow{flex:1}.btn-sm{padding:.25em .7em;font-size:.82rem}.link-btn{font:inherit;background:none;border:0;color:var(--primary);cursor:pointer;padding:0;text-decoration:underline;align-self:flex-start}.alert-warn{background:color-mix(in srgb,var(--warning) 12%,transparent);color:var(--warning)}.center{text-align:center}th.num,td.num{text-align:right}.lines-editor table td{vertical-align:top}.lines-editor input:not([type=checkbox]){width:100%}.lines-editor .small-input{margin-top:.3rem;font-size:.85rem}.lines-editor .num-input{width:6.5rem;text-align:right}.lines-totals{display:flex;justify-content:flex-end;gap:1.5rem;flex-wrap:wrap;padding:.5rem 0}.picker{list-style:none;margin:0;padding:0;max-height:55vh;overflow-y:auto}.picker button{font:inherit;width:100%;display:flex;justify-content:space-between;gap:1rem;text-align:left;background:none;border:0;border-bottom:1px solid var(--border);padding:.6rem .3rem;cursor:pointer;color:var(--text)}.picker button:hover{background:var(--primary-soft)}.markdown-editor{width:100%;font-family:ui-monospace,Menlo,monospace;font-size:.85rem;line-height:1.5}.var{font-size:.75rem;background:var(--bg);border-radius:4px;padding:.05em .35em;margin:0 .2rem;display:inline-block}.sign-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.9rem}.sign-events{margin:.35rem 0 0;padding-left:1.1rem;font-size:.88rem}.clickable-row{cursor:pointer}.clickable-row:hover{background:var(--primary-soft)}.tpl-row{border-top:1px solid var(--border);padding-top:1rem;margin-top:1rem}.progress{position:relative;display:inline-flex;align-items:center;width:110px;height:18px;background:color-mix(in srgb,var(--text-muted) 14%,transparent);border-radius:999px;overflow:hidden;vertical-align:middle}.progress-bar{position:absolute;left:0;top:0;bottom:0;background:var(--primary);border-radius:999px}.progress-label{position:relative;width:100%;text-align:center;font-size:.72rem;font-weight:600;color:var(--text);mix-blend-mode:normal}.phases{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.phase{display:flex;align-items:center;gap:.8rem;padding:.7rem 0;border-bottom:1px solid var(--border)}.phase:last-child{border-bottom:0}.phase-dot{width:28px;height:28px;border-radius:50%;border:2px solid var(--border);background:var(--surface);color:var(--on-primary);font-weight:700;cursor:pointer;flex-shrink:0}.phase-in_progress .phase-dot{border-color:var(--primary);color:var(--primary)}.phase-done .phase-dot{background:var(--success);border-color:var(--success);color:#fff}.phase-done strong{color:var(--text-muted)}.sigpad{display:flex;flex-direction:column;gap:.8rem}.sigpad-head{display:flex;justify-content:space-between;align-items:center}.sigpad-canvas{width:100%;height:160px;background:#fff;border:1px dashed var(--border);border-radius:8px;touch-action:none;cursor:crosshair}.sigpad-typed{height:90px;display:flex;align-items:center;padding:0 1rem;font-family:var(--font-heading);font-size:2rem;color:#0e2a33;background:#fff;border:1px dashed var(--border);border-radius:8px}.consent{align-items:flex-start;font-weight:400;line-height:1.4}.consent input{margin-top:.2rem;flex-shrink:0}.sign-page{min-height:100%;display:flex;flex-direction:column;align-items:center;padding:16px;gap:16px}.sign-top{width:100%;max-width:860px;display:flex;justify-content:space-between;align-items:center}.sign-top .logo{height:44px;width:auto}.sign-card{width:100%;max-width:860px;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:24px}.sign-card h1{font-size:1.4rem}.pdf-frame{width:100%;height:70vh;border:1px solid var(--border);border-radius:8px;background:var(--bg)}.decline-box{border-top:1px solid var(--border);padding-top:1rem;display:flex;flex-direction:column;gap:.6rem}.done{align-items:center;text-align:center;padding:1.5rem 0}.done-icon{width:64px;height:64px;border-radius:50%;background:var(--success);color:#fff;display:grid;place-items:center;font-size:2rem;font-weight:700}.sign-foot{padding-bottom:8px}@media(max-width:860px){.sign-card{padding:16px}.pdf-frame{height:60vh}.lines-editor .num-input{width:4.5rem}}
