:root{--bg: #f5f6f8;--panel: #ffffff;--text: #25313d;--text-muted: #71808f;--accent: #ef7900;--accent-hover: #d86700;--accent-soft: #fff0df;--graphite: #475462;--danger: #d84b42;--border: #dfe5ea;--radius: 12px}*{box-sizing:border-box}body{margin:0;font-family:Segoe UI,Inter,system-ui,sans-serif;background:var(--bg);color:var(--text);font-size:14px;line-height:1.45}.app-shell{min-height:100vh;display:flex;flex-direction:column}.app-header{background:var(--panel);border-bottom:1px solid var(--border);padding:8px 48px;min-height:68px;box-shadow:0 1px 3px #25313d0a}.app-main{flex:1;padding:32px 48px}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:16px}.login-card{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:30px;width:100%;max-width:380px;display:flex;flex-direction:column;gap:18px;box-shadow:0 16px 40px #25313d1a}.login-card h1{margin:4px 0 0;font-size:24px}.login-card__hint{margin:0;color:var(--text-muted);font-size:13px}.login-card__error{margin:0;color:var(--danger);font-size:13px}.field{display:flex;flex-direction:column;gap:6px}.field label{font-size:13px;color:var(--text-muted)}.field input{padding:10px 12px;border:1px solid var(--border);border-radius:8px;font-size:15px}.field input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.login-brand{display:flex;align-items:center;gap:10px}.login-brand img{width:44px;height:44px;object-fit:contain}.login-brand div{display:flex;flex-direction:column;line-height:1.15}.login-brand strong{letter-spacing:.05em;font-size:14px}.login-brand span{color:var(--text-muted);font-size:12px}button{background:var(--accent);color:#fff;border:none;border-radius:8px;padding:10px 16px;font-size:15px;cursor:pointer}button:hover{background:var(--accent-hover)}button:focus-visible{outline:2px solid var(--text);outline-offset:2px}.error-page{max-width:420px;margin:10vh auto;text-align:center;color:var(--text-muted)}.error-page h1{font-size:40px;margin:0 0 8px;color:var(--text)}.error-page a{color:var(--accent)}.app-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:inline-flex;align-items:center;gap:8px;color:var(--text);text-decoration:none;flex:0 0 auto}.brand__logo{width:44px;height:44px;object-fit:contain}.brand__text{display:flex;flex-direction:column;line-height:1.12}.brand__text strong{font-size:14px;letter-spacing:.06em}.brand__text small{margin-top:3px;color:var(--text-muted);font-size:11px;font-weight:500}.app-header__nav{display:flex;align-items:stretch;align-self:stretch;gap:6px;margin-left:26px;margin-right:auto}.header-user{display:flex;align-items:center;gap:10px;font-weight:400}.header-link{display:inline-flex;align-items:center;padding:0 10px;color:var(--graphite);font-weight:600;text-decoration:none;border-bottom:2px solid transparent}.header-link:hover{color:var(--accent);border-bottom-color:var(--accent)}.header-user__name{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-weight:600}.muted{color:var(--text-muted)}.loading{color:var(--text-muted);padding:24px}.chip{display:inline-block;border-radius:999px;padding:2px 10px;font-size:12px;font-weight:600}.chip-employee{background:#edf1f4;color:#53616e}.chip-manager{background:var(--accent-soft);color:#a94f00}.chip-admin{background:#e7eef2;color:#43515e}.panel{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:28px;max-width:1240px;box-shadow:0 4px 14px #25313d0d}.panel h1{margin-top:0;font-size:20px;display:flex;align-items:center;gap:10px}.quick-logins{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px dashed var(--border);border-radius:8px}.form-error{color:var(--danger)}.form-notice{color:#1e7a34}.button-secondary{background:var(--panel);color:var(--text);border:1px solid var(--border)}.button-secondary:hover{background:#f2f5f7}.admin-create{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:24px 0;padding:18px;border:1px solid #f5c795;border-radius:var(--radius);background:linear-gradient(90deg,#fff8f0,#fff 72%)}.admin-create .field{min-width:180px}.admin-create select,.admin-users-table select,.name-editor input{min-height:38px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:#fff;font:inherit}.admin-create select:focus-visible,.admin-users-table select:focus-visible,.name-editor input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.admin-panel__heading{display:flex;justify-content:space-between;gap:20px}.admin-panel__heading h1{margin:3px 0 8px;font-size:26px}.admin-panel__heading p{max-width:700px;margin:0}.eyebrow{color:var(--accent);font-size:11px;font-weight:800;letter-spacing:.1em}.users-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius)}.users-table{width:100%;border-collapse:collapse}.admin-users-table{min-width:920px}.users-table th,.users-table td{padding:12px 14px;border-bottom:1px solid var(--border);vertical-align:middle}.users-table th{color:#5d6b78;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;background:#f8fafb}.users-table select,.users-table input[type=checkbox]{font-size:14px}.name-editor{display:flex;min-width:260px;gap:8px}.name-editor input{min-width:150px;width:100%}.button-compact{flex:0 0 auto;padding:8px 11px;font-size:13px}.table-actions{display:flex;gap:8px}.row-disabled td{color:var(--text-muted);background:#f8fafb}.audit-panel__heading{margin-bottom:24px}.audit-panel__heading h1{margin:3px 0 8px;font-size:26px}.audit-panel__heading p{max-width:720px;margin:0}.audit-table{min-width:760px}.audit-table td:first-child{white-space:nowrap;color:var(--text-muted)}.audit-empty{padding:28px!important;text-align:center;color:var(--text-muted)}.orders-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.orders-head h1{font-size:20px;margin:0}.button-link{background:var(--accent);color:#fff;border-radius:8px;padding:8px 14px}.filters{display:flex;gap:12px;align-items:center;margin:16px 0}.filters input{flex:1;padding:8px 12px;border:1px solid var(--border);border-radius:8px}.empty-list{padding:24px 0}.pager{display:flex;gap:12px;align-items:center;margin-top:16px}.editor-head{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}.editor-head h1{font-size:20px;margin:0}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}@media(max-width:1100px){.editor-grid{grid-template-columns:1fr}}.block{margin-bottom:16px}.block h2{font-size:17px;margin-top:0}.block h3{font-size:14px;color:var(--text-muted);margin:16px 0 8px}.form-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.form-grid label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--text-muted)}.form-grid input,.form-grid select{padding:8px 10px;border:1px solid var(--border);border-radius:8px;font-size:14px;color:var(--text)}.field-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:8px}.field-row label{min-width:260px;font-size:14px}.stage-row{display:grid;grid-template-columns:100px 1fr 1fr auto;gap:12px;align-items:end;margin-bottom:8px}.stage-row label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--text-muted)}.stage-row input{padding:7px 10px;border:1px solid var(--border);border-radius:8px}.readiness{position:sticky;top:16px}.readiness h2{font-size:16px;margin-top:0}.checks{list-style:none;padding:0;margin:12px 0;display:flex;flex-direction:column;gap:6px;font-size:13px}.check-ok{color:#1e7a34}.check-fail{color:#b03030}.save-state{min-width:110px}.generating-banner{background:#e7f0ff;color:#2456b8;border-radius:8px;padding:6px 12px;font-size:13px}.versions-table{margin:12px 0}.regen-note{width:100%;min-height:70px;border:1px solid var(--border);border-radius:8px;padding:8px 10px;font-size:14px;font-family:inherit;margin-bottom:8px}.contract-number-chip{background:#e6f7ea;color:#1e7a34;border-radius:999px;padding:4px 12px;font-weight:600}@media(max-width:800px){.app-header{min-height:auto;padding:10px 16px;align-items:flex-start;flex-wrap:wrap}.app-main{padding:18px 16px}.app-header__nav{order:3;width:100%;min-height:32px;margin:0}.header-user{margin-left:auto}.header-user__name,.header-user .chip,.header-user .button-secondary{display:none}.panel{padding:20px}.admin-panel__heading h1,.audit-panel__heading h1{font-size:22px}}.order-card-page{max-width:1280px;margin:0 auto}.order-card-heading{display:flex;align-items:center;gap:24px;margin-bottom:18px}.order-card-heading a{color:var(--layero-text-muted);text-decoration:none}.order-card-heading h1{margin:0;color:var(--layero-graphite);font-size:26px}.order-summary,.draft-review-panel{display:flex;justify-content:space-between;gap:28px;margin-bottom:18px;padding:20px 24px;border:1px solid var(--layero-border-soft);border-radius:10px;background:#fff;box-shadow:0 1px 2px #252b310d}.order-summary__content{min-width:0}.order-summary__content p{margin:8px 0;line-height:1.5}.order-summary__content small,.draft-review-panel small,.draft-review-panel p{color:var(--layero-text-muted)}.order-summary__status{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:var(--layero-text-muted)}.order-summary__actions{display:flex;align-items:flex-start;gap:8px}.draft-review-panel>div{flex:1;min-width:0}.draft-review-panel h2{margin:0 0 16px;font-size:17px}.draft-stamp{display:inline-block;margin-left:10px;padding:4px 8px;border:1px solid var(--layero-orange);border-radius:4px;color:#a35a13;font-size:11px;letter-spacing:.04em;vertical-align:middle}.draft-review-panel__buttons{display:flex;flex-wrap:wrap;gap:8px}.draft-review-panel__buttons .button-primary,.draft-review-panel__buttons .button-secondary{margin-left:0}.review-decision{display:flex;flex-direction:column;gap:8px}.review-decision--standalone{margin:18px 0;padding:20px 24px;border:1px solid var(--layero-border-soft);border-radius:10px;background:#fff}.review-decision--standalone h2{margin:0;font-size:18px}.review-decision--standalone p{margin:4px 0 8px}.review-decision__actions{display:flex;gap:8px}.review-decision label{color:var(--layero-text-muted);font-size:13px}.review-decision textarea{width:100%;min-height:108px;padding:10px 12px;border:1px solid var(--layero-border);border-radius:8px;font:inherit;resize:vertical}.review-decision button{align-self:flex-start}.review-decision details{margin-top:8px;color:var(--layero-text-muted);font-size:12px}.review-decision summary{cursor:pointer}.order-tabs{display:flex;gap:18px;margin-top:20px;border-bottom:1px solid var(--layero-border-soft)}.order-tabs button{padding:12px 4px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--layero-text-muted);font:inherit;font-weight:600;cursor:pointer}.order-tabs button.active{border-color:var(--layero-orange);color:var(--layero-orange-hover)}.order-card-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.order-card-columns .panel,.order-tab-panel{padding:20px;border-color:var(--layero-border-soft)}.order-card-columns h2,.order-tab-panel h2{margin:0 0 18px;font-size:17px}.order-tab-panel{margin-top:18px}.order-facts{display:grid;grid-template-columns:145px minmax(0,1fr);gap:11px 14px;margin:0}.order-facts dt{color:var(--layero-text-muted)}.order-facts dd{margin:0;overflow-wrap:anywhere}.document-list,.check-list{margin:0;padding:0;list-style:none}.document-list li{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--layero-border-soft)}.document-list li:last-child{border:0}.document-list li>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.document-list small{display:block;margin-top:3px;color:var(--layero-text-muted)}.document-list a{color:var(--layero-orange-hover)}.file-tile{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:8px;background:#fff1e6;color:var(--layero-orange-hover);font-size:11px;font-weight:800}.check-list li{padding:7px 0}.audit-timeline{margin:0;padding:0 0 0 20px}.audit-timeline li{padding:0 0 17px 8px}.audit-timeline small{display:block;margin-top:3px;color:var(--layero-text-muted)}.app-shell--employee .editor-main>.panel.block:nth-child(4)>h2:before{content:"4"}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}.file-slot{margin:0 24px 18px}.file-slot__heading{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:var(--layero-graphite);font-weight:700}.file-slot__required{width:6px;height:6px;border-radius:50%;background:#d63232}.file-card,.file-drop{display:flex;align-items:center;gap:12px;min-height:62px;padding:10px 12px;border:1px solid var(--layero-border-soft);border-radius:8px;background:#fff}.file-card__main{flex:1;min-width:0;overflow-wrap:anywhere}.file-card__main a{color:var(--text);font-weight:700;text-decoration:none}.file-card__main a:hover{color:var(--layero-orange-hover)}.file-card__main small,.file-drop small{display:block;margin-top:2px;color:var(--layero-text-muted);font-size:12px}.file-card__state{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:#e6f4eb;color:var(--layero-success);font-size:12px;font-weight:700}.file-card label.button-secondary{margin:0;cursor:pointer}.file-drop{border-style:dashed;border-color:var(--layero-orange);background:#fff9f3;color:var(--layero-text-muted);cursor:pointer}.file-drop>span:first-child{font-size:23px;color:var(--layero-orange)}.file-slot .muted{margin:7px 0 0!important;font-size:12px}.recognition-card{margin-top:12px;padding:16px;border:1px solid #f2c394;border-radius:9px;background:#fffaf5}.recognition-card__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.recognition-card__head h3{margin:0 8px 0 0!important;padding:0!important;border:0!important;color:var(--layero-graphite)!important;font-size:15px!important;letter-spacing:0!important;text-transform:none!important}.recognition-card__head>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.recognition-match{margin:12px 0 0;padding:10px 12px;border-radius:7px;background:#fff4e5;color:#8a5200;font-size:13px}.recognition-match--ok{background:#e9f6ef;color:#137648}.party-change-panel{display:grid;gap:10px;margin:12px 0;padding:14px;border:1px solid var(--layero-border-soft);border-radius:8px;background:#fff8f0}.party-change-panel label{display:grid;gap:6px;color:var(--layero-text-muted);font-size:13px}.party-change-panel textarea{width:100%;padding:9px 11px;border:1px solid var(--layero-border);border-radius:7px;font:inherit}.party-change-panel>div{display:flex;gap:8px}.party-source-label{color:var(--layero-text-muted);font-size:13px}.source-badge,.recognition-confirmed,.recognition-review{display:inline-flex;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:700}.source-badge,.recognition-confirmed{background:#e5f3ea;color:#167345}.recognition-review{background:#fff0d5;color:#98610f}.recognition-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.recognition-fields label{display:flex;min-width:0;flex-direction:column;gap:5px;color:var(--layero-text-muted);font-size:12px}.recognition-fields label>span small{display:inline-block;margin-left:7px;color:#9aa4ad;font-size:10px}.recognition-fields input,.recognition-fields strong{min-height:38px;width:100%;padding:8px 10px;border:1px solid var(--layero-border);border-radius:7px;background:#fff;color:var(--text);font:inherit;font-size:13px;font-weight:500}.recognition-fields strong{display:block;overflow-wrap:anywhere}.recognition-warnings{margin:12px 0!important;padding-left:18px;color:#98610f;font-size:12px}.recognition-card>button{margin-top:14px}.spec-text-toggle{display:flex;align-items:center;gap:12px;margin:18px 24px!important}.spec-text-panel{display:flex;flex-direction:column;gap:10px;margin:0 24px 20px!important;padding:16px;border:1px solid var(--layero-border-soft);border-radius:8px;background:#fff}.spec-text-panel textarea{width:100%;padding:10px;border:1px solid var(--layero-border);border-radius:8px;font:inherit;resize:vertical}.spec-text-panel>button{align-self:flex-start}.review-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.review-summary-grid h3{margin:0 0 8px!important}.review-summary-grid ul{margin:0;padding:0;list-style:none}.review-summary-grid li{padding:4px 0}.review-summary-grid>div:first-child li{color:var(--layero-success)}.review-summary-grid>div:last-child li{color:#a36410}.review-amounts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px!important}.review-amounts>div{display:flex;flex-direction:column;gap:5px;padding:14px;border-radius:8px;background:var(--layero-graphite);color:#fff}.review-amounts small{opacity:.72}.review-amounts strong{font-size:18px}.review-launch-actions{display:flex;gap:10px;margin-bottom:22px!important}.readiness:before{display:none!important}.readiness-progress{height:6px;margin:12px 0 16px;border-radius:99px;background:#e8ecef;overflow:hidden}.readiness-progress span{display:block;height:100%;border-radius:inherit;background:var(--layero-orange);transition:width .2s}.readiness .checks button{width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.readiness>button{width:100%;margin-top:8px}.editor-main>section[id]{scroll-margin-top:80px}@media(max-width:900px){.order-summary,.draft-review-panel{flex-direction:column}.order-card-columns{grid-template-columns:1fr}.order-tabs{overflow-x:auto}.order-tabs button{flex:0 0 auto}}@media(max-width:800px){.file-card{flex-wrap:wrap}.review-summary-grid,.review-amounts,.recognition-fields{grid-template-columns:1fr}.recognition-card__head,.spec-text-toggle{align-items:flex-start;flex-direction:column}}.history-panel{margin-bottom:16px}.notifications{position:relative}.notifications>summary{list-style:none;cursor:pointer}.notifications-list{position:absolute;right:0;top:calc(100% + 8px);width:380px;max-height:420px;overflow:auto;background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:12px;z-index:30;display:flex;flex-direction:column;gap:10px;box-shadow:0 8px 24px #1c24301f}.notification{display:flex;flex-direction:column;gap:4px;padding:8px;border-radius:8px;font-size:13px}.notification.unread{background:#e7f0ff}.notification-actions{display:flex;gap:8px}:root{--layero-orange: #e87512;--layero-orange-hover: #c95f05;--layero-graphite: #252b31;--layero-text-muted: #66717c;--layero-border: #d9dee3;--layero-border-soft: #e7ebee;--layero-success: #17834c}.app-body{display:flex;flex:1;min-height:calc(100vh - 64px)}.app-shell--employee .app-header{height:64px;min-height:64px;padding:0 40px;background:#fff;box-shadow:none}.app-shell--employee .brand{gap:12px}.brand__mark{display:grid;width:40px;height:40px;place-items:center;border-radius:10px;background:var(--layero-orange);color:#fff;font-size:19px;font-weight:800}.app-shell--employee .brand__text strong{color:var(--layero-graphite);font-size:15px;font-weight:800}.app-shell--employee .brand__text small{color:var(--layero-text-muted);font-size:11.5px}.app-header__divider{width:1px;height:28px;background:var(--layero-border-soft)}.app-shell--employee .app-header__nav{margin:0;gap:0}.app-shell--employee .header-link{color:var(--layero-text-muted);font-size:14px;padding:0;border:0}.app-shell--employee .header-link:hover{color:var(--layero-orange-hover);border:0}.app-shell--employee .header-user{margin-left:auto;gap:14px}.header-user__profile{display:flex;align-items:center;gap:10px}.header-user__avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent-soft);color:var(--layero-orange-hover);font-size:13px;font-weight:700}.header-user__identity{display:flex;flex-direction:column;line-height:1.2}.header-user__name{max-width:190px;font-size:14px}.header-user__role{color:var(--layero-text-muted);font-size:12px}.header-logout{min-height:38px;padding:7px 12px;font-size:13px}.sidebar{position:sticky;top:64px;display:flex;width:236px;height:calc(100vh - 64px);flex:0 0 236px;flex-direction:column;gap:2px;padding:20px 12px;border-right:1px solid var(--layero-border-soft);background:#fff}.side-link{display:flex;align-items:center;min-height:40px;gap:10px;padding:8px 12px;border-radius:8px;color:var(--text);font-size:14px;font-weight:500;text-decoration:none}.side-link:hover{background:var(--bg)}.side-link.active{background:var(--accent-soft);color:var(--layero-orange-hover);font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.side-count{display:grid;min-width:22px;height:20px;place-items:center;margin-left:auto;padding:0 6px;border-radius:999px;background:#edf0f2;color:var(--layero-text-muted);font-size:11.5px;font-weight:700}.side-link.active .side-count{background:#fff;color:var(--layero-orange-hover)}.side-spacer{flex:1}.side-rule{height:1px;margin:10px 4px;background:var(--layero-border-soft)}.side-link--locked{color:#a6afb7;cursor:not-allowed}.side-foot{margin:0;padding:8px 12px;color:#a6afb7;font-size:11px}.app-shell--employee .app-main{width:0;flex:1;padding:28px 40px 90px}.app-shell--employee .app-main--editor{width:100%;padding:28px 40px 90px}.contracts-page{max-width:1200px;margin:0 auto}.page-head{display:flex;align-items:flex-start;gap:20px;margin-bottom:18px}.page-head h1{margin:0;color:var(--layero-graphite);font-size:28px}.page-head p{margin:2px 0 0;color:var(--layero-text-muted)}.button-primary{display:inline-flex;min-height:40px;align-items:center;justify-content:center;margin-left:auto;padding:0 18px;border-radius:8px;background:var(--layero-orange);color:#fff;font-size:14px;font-weight:600;text-decoration:none}.button-primary:hover{background:var(--layero-orange-hover)}.contracts-filters{display:grid;grid-template-columns:minmax(260px,1fr) 176px 170px 206px;gap:8px;margin-bottom:14px}.contracts-filters--reviewer{grid-template-columns:minmax(220px,1fr) repeat(4,minmax(135px,170px))}.contracts-filters select,.contracts-filters input{width:100%;height:40px;border:1px solid var(--layero-border);border-radius:8px;padding:0 12px;background:#fff;color:var(--text);font:inherit}.contracts-filters select:focus,.contracts-filters input:focus{outline:none;border-color:var(--layero-orange);box-shadow:0 0 0 3px #e8751224}.search-field{position:relative;display:block}.search-field span{position:absolute;top:7px;left:12px;color:#9aa4ad;font-size:21px;line-height:1}.search-field input{padding-left:40px}.contracts-table-card{overflow:hidden;border:1px solid var(--layero-border-soft);border-radius:10px;background:#fff;box-shadow:0 1px 2px #252b310d}.contracts-table-wrap{overflow-x:auto}.contracts-table{width:100%;min-width:1040px;border-collapse:collapse}.contracts-table th{padding:12px 16px;border-bottom:1px solid var(--layero-border-soft);background:#fafbfc;color:var(--layero-text-muted);font-size:11.5px;font-weight:700;letter-spacing:.05em;text-align:left;text-transform:uppercase;white-space:nowrap}.contracts-table td{padding:13px 16px;border-bottom:1px solid var(--layero-border-soft);vertical-align:middle}.contracts-table tbody tr:last-child td{border-bottom:0}.contracts-table__row{cursor:pointer;transition:background .15s}.contracts-table__row:hover{background:#fff9f3}.contracts-table__row:focus-visible{outline:2px solid var(--layero-orange);outline-offset:-2px}.contracts-table__number{font-weight:700;font-variant-numeric:tabular-nums}.contracts-table__date{color:var(--layero-text-muted);font-variant-numeric:tabular-nums;white-space:nowrap}.contracts-table__arrow{color:#a6afb7;font-size:20px}.contracts-table__actions{min-width:106px;text-align:right;white-space:nowrap}.draft-delete{margin-right:12px;border:0;background:none;color:var(--danger);font:inherit;font-size:12px;cursor:pointer}.draft-delete:hover{color:#a9332b;text-decoration:underline}.button-danger{background:#fff;border:1px solid #eab7b3;color:var(--danger)}.button-danger:hover{background:var(--error-soft)}.contracts-table__foot{margin:0;padding:10px 16px;border-top:1px solid var(--layero-border-soft);color:var(--layero-text-muted);font-size:12px}.status-badge{display:inline-flex;align-items:center;min-height:24px;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}.status--draft{background:#eef1f3;color:var(--layero-text-muted)}.status--info{background:var(--warning-soft);color:var(--warning-text)}.status--ready{background:var(--success-soft);color:var(--layero-success)}.status--generating{background:var(--layero-orange);color:#fff}.status--review{background:var(--layero-graphite);color:#fff}.status--approved{background:var(--layero-success);color:#fff}.status--failed{background:var(--error-soft);color:var(--danger)}.app-shell--employee .editor{max-width:1280px;margin:0 auto}.app-shell--employee .editor-head{min-height:54px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--layero-border-soft)}.app-shell--employee .editor-head h1{font-size:24px}.app-shell--employee .editor-head .chip{background:#eef1f3;color:var(--layero-text-muted)}.app-shell--employee .editor-head>button:not(.button-secondary):not(.button-danger){background:var(--layero-orange)}.app-shell--employee .editor-grid{grid-template-columns:minmax(0,1fr) 320px;gap:20px}.app-shell--employee .editor-main>.panel.block:not(.history-panel){overflow:hidden;margin-bottom:16px;padding:0;border-color:var(--layero-border-soft);box-shadow:0 1px 2px #252b310d}.app-shell--employee .editor-main>.panel.block:not(.history-panel)>h2{display:flex;min-height:46px;align-items:center;gap:12px;margin:0 0 16px;padding:0 18px;background:var(--layero-orange);color:#fff;font-size:13.5px;letter-spacing:.07em;text-transform:uppercase}.app-shell--employee .editor-main>.panel.block:not(.history-panel)>h2:before{display:grid;width:24px;height:24px;place-items:center;border-radius:6px;background:#ffffff38;font-size:13px}.app-shell--employee .editor-main>.panel.block:nth-child(1)>h2:before{content:"1"}.app-shell--employee .editor-main>.panel.block:nth-child(2)>h2:before{content:"2"}.app-shell--employee .editor-main>.panel.block:nth-child(3)>h2:before{content:"3"}.app-shell--employee .editor-main>.panel.block:not(.history-panel)>:not(h2){margin-right:24px;margin-left:24px}.app-shell--employee .editor-main .field-row{display:grid;grid-template-columns:245px minmax(130px,1fr) minmax(210px,1fr);min-height:62px;align-items:center;gap:12px;margin-top:0;margin-bottom:4px;padding:10px 14px;border:1px solid var(--layero-border-soft);border-radius:8px;background:#fff}.app-shell--employee .editor-main .field-row label{min-width:0;color:var(--text);font-weight:600}.app-shell--employee .editor-main input[type=file]{max-width:250px;font-size:12px}.app-shell--employee .editor-main h3{margin-top:24px!important;padding-top:16px;border-top:1px solid var(--layero-border-soft);color:var(--layero-text-muted);font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.app-shell--employee .editor-main .form-grid{gap:12px}.app-shell--employee .editor-main .form-grid input,.app-shell--employee .editor-main .form-grid select,.app-shell--employee .editor-main select,.app-shell--employee .editor-main .stage-row input{min-height:40px;border-color:var(--layero-border)}.app-shell--employee .editor-main .stage-row{grid-template-columns:96px 150px 170px minmax(160px,1fr) auto;gap:10px}.app-shell--employee .editor-main .block>.button-secondary{margin-bottom:18px}.app-shell--employee .readiness{top:84px;padding:18px;border-color:var(--layero-border-soft);box-shadow:0 1px 2px #252b310d}.app-shell--employee .readiness h2{font-size:16px}.app-shell--employee .readiness h2+.muted{margin-top:4px;color:var(--layero-orange-hover);font-weight:700}.app-shell--employee .readiness:before{display:block;height:6px;margin:10px 0 12px;border-radius:999px;background:linear-gradient(90deg,var(--layero-orange) 0 62%,#e8ecef 62%);content:""}.app-shell--employee .checks{gap:8px}.app-shell--employee .check-ok{color:var(--layero-success)}.app-shell--employee .check-fail{color:var(--warning-text);font-weight:600}@media(max-width:1100px){.contracts-filters,.contracts-filters--reviewer{grid-template-columns:minmax(220px,1fr) repeat(2,170px)}.app-shell--employee .editor-grid{grid-template-columns:1fr}.app-shell--employee .readiness{position:static}}@media(max-width:800px){.app-shell--employee .app-header{height:auto;min-height:64px;padding:10px 16px}.app-header__divider,.header-user__identity,.header-user__divider,.app-shell--employee .app-header__nav{display:none}.sidebar{position:static;width:100%;height:auto;flex:0 0 auto;flex-direction:row;overflow-x:auto;padding:8px}.side-spacer,.side-rule,.side-link--locked,.side-foot{display:none}.side-link{flex:0 0 auto}.app-body{flex-direction:column}.app-shell--employee .app-main,.app-shell--employee .app-main--editor{width:100%;padding:20px 16px 52px}.page-head{align-items:stretch;flex-direction:column}.button-primary{margin-left:0}.contracts-filters,.contracts-filters--reviewer,.app-shell--employee .editor-main .field-row{grid-template-columns:1fr}.app-shell--employee .editor-main>.panel.block:not(.history-panel)>:not(h2){margin-right:16px;margin-left:16px}.app-shell--employee .editor-main .stage-row{grid-template-columns:1fr 1fr}}
