#contracts-view{color:#24384b}#contracts-view .ct-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0}#contracts-view h1{font-size:28px;margin:5px 0}#contracts-view h2{font-size:18px;color:#183e63}#contracts-view h3{font-size:15px}#contracts-view small,#contracts-view .ct-note{color:#64798c;font-size:12px}#contracts-view .ct-heading small{letter-spacing:.14em;color:#267c8b;font-weight:700}#contracts-view .ct-heading p{margin:4px 0;color:#64798c}.ct-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:flex-end}.ct-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 20px}.ct-wide{grid-column:1/-1}#contracts-view label,.ct-dialog label{font-size:13px}#contracts-view select,.ct-dialog select{width:100%;border:1px solid #cbd8df;border-radius:8px;padding:10px;font:inherit;background:#fbfdfd;color:#24384b}#contracts-view .card{margin-top:18px}.ct-product{border:1px solid #d8e4ec;border-radius:10px;padding:20px;margin-top:18px}.ct-technical{background:#f3f7fa;padding:16px;border-radius:8px;margin-top:15px}.ct-total{font-size:20px;font-weight:700;text-align:right;padding:20px 0 0}.ct-node{background:#f4f8fa;border:1px solid #dce6ed;padding:18px;border-radius:8px;margin:14px 0}.ct-node>button{margin-top:10px}.ct-status{white-space:pre-wrap;color:#a33a2f;min-height:22px;font-weight:600}.ct-status:empty{display:none}.ct-inline{margin-top:12px}.ct-check{display:flex;flex-direction:row;align-items:center;margin:8px 0 20px}.ct-check input{width:18px;height:18px;flex-shrink:0}.ct-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}.ct-metrics>div{background:#edf5f7;border-radius:9px;padding:16px}.ct-metrics small,.ct-metrics strong{display:block}.ct-metrics strong{font-size:17px;margin-top:6px}.ct-badge{display:inline-block;padding:4px 8px;border-radius:5px;background:#e8f2f6;color:#23617b;font-size:12px;white-space:nowrap}.ct-warning{color:#af541f!important}.ct-empty{padding:35px 10px;text-align:center;color:#6c8090}.ct-void{opacity:.65;text-decoration:line-through}#contracts-view fieldset{border:0;padding:0;margin:0;min-width:0}#contracts-view .ct-table{min-width:720px}#contracts-view .ct-table th{width:auto}#contracts-view .ct-table td{font-size:13px}#contracts-view details{padding:12px 0;border-bottom:1px solid #e4ebef}#contracts-view pre{font-size:12px;white-space:pre-wrap;max-height:320px;overflow:auto;background:#f4f7fa;padding:15px}.ct-dialog{width:min(780px,calc(100% - 24px));max-height:85vh;overflow:auto;border:0;border-radius:14px;padding:28px;color:#24384b;box-shadow:0 25px 100px #122c4b55}.ct-dialog::backdrop{background:#172b4677}.ct-dialog-status{color:#a33a2f}.ct-dialog .ct-actions{margin-top:20px}.ct-dialog form>label{margin:12px 0}.ct-dialog button:disabled,#contracts-view button:disabled{opacity:.5;cursor:wait}@media(max-width:780px){#contracts-view .ct-heading{align-items:start;flex-direction:column}.ct-grid{grid-template-columns:1fr}.ct-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ct-product{padding:12px}#contracts-view .ct-heading h1{font-size:23px}.ct-dialog{padding:18px}.ct-actions{justify-content:flex-start}}
#contracts-view .ct-heading{background:#fff;border:1px solid #dce6e0;border-radius:12px;padding:20px 22px;margin:0 0 18px;box-shadow:0 3px 12px #193d2f06;align-items:center}
#contracts-view .ct-heading h1{font-size:25px;line-height:1.3;overflow-wrap:anywhere;margin:5px 0 7px;color:#193f31}
#contracts-view .ct-heading p{font-size:13px;line-height:1.6;color:#6b7e74}
#contracts-view .ct-heading small{font-size:10px;letter-spacing:.12em;color:#6b8b7c}
#contracts-view .ct-heading>.ct-actions{flex-shrink:0;gap:8px}
#contracts-view button{border:1px solid transparent;min-height:40px;border-radius:8px;font-size:13px;line-height:1.4;padding:10px 14px;font-weight:600;white-space:normal}
#contracts-view button.secondary{background:#fff;border-color:#d9e4dd;color:#3c5d4e}
#contracts-view button.secondary:hover{background:#f1f6f3;border-color:#adc8b8}
#contracts-view button[data-act="save"]{background:#245b42;color:white;border-color:#245b42}
#contracts-view button[data-act="xlsx"],#contracts-view button[data-act="xlsx-draft"],#contracts-view button[data-export-id]{background:#e7f3eb;color:#1d6542;border-color:#bcd9c7}
#contracts-view button:focus-visible{outline:3px solid #91cbb0;outline-offset:2px}
#contracts-view .card{padding:22px 24px;border:1px solid #e1e9e4;border-radius:12px;box-shadow:0 3px 14px #193d2f05}
#contracts-view h2{color:#294c3a;font-size:17px;line-height:1.5;margin:0 0 18px}
#contracts-view .ct-grid{gap:16px 22px}
#contracts-view label{font-size:13px;line-height:1.5;gap:7px;color:#456052}
#contracts-view input,#contracts-view select,#contracts-view textarea{border-color:#d3e0d7;background:#fcfefd;border-radius:7px;padding:10px 12px;font-size:14px;color:#263f32;min-width:0}
#contracts-view textarea{line-height:1.65;resize:vertical}
#contracts-view .ct-product{background:#fff;border-color:#dce7df;border-radius:10px;padding:20px}
#contracts-view .ct-technical{background:#f4f8f5;border:1px solid #e5ece7;padding:18px}
#contracts-view .ct-export-card{padding:14px 20px;background:#f5f9f6;margin-bottom:0}
#contracts-view .ct-export-card .section-head{margin:0;gap:18px;align-items:center;flex-wrap:wrap}
#contracts-view .ct-export-card h2{font-size:14px;margin:0 0 4px}
#contracts-view .ct-export-card p{margin:0;max-width:640px;font-size:12px;line-height:1.6}
#contracts-view .ct-table th{background:#f3f7f4;color:#476151;font-size:12px;padding:13px 14px}
#contracts-view .ct-table td{padding:15px 14px;vertical-align:middle}
#contracts-view .ct-table td:last-child .ct-actions{justify-content:flex-start;flex-wrap:nowrap}
.module-nav [data-view="contracts"]{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H5v20h14V7Z M14 2v5h5 M8 12h8 M8 16h6'/%3E%3C/svg%3E")}
.ct-active .shell>header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;padding:16px 22px;border-radius:12px;box-shadow:none}
.ct-active .shell>header h1{font-size:19px;line-height:1.4;margin:0}
.ct-active .shell>header>p:not(#collaboration-status){display:none}
.ct-active .shell>header #collaboration-status{font-size:11px;margin-top:0!important;padding:6px 10px!important}
.ct-active .shell>form{display:none}
@media(min-width:1001px){.ct-active .shell{grid-template-rows:auto minmax(0,1fr);align-content:start;row-gap:18px}.ct-active #contracts-view{grid-column:2;grid-row:2;align-self:start}.ct-active #contracts-view>.ct-heading{position:sticky;top:12px;z-index:20}.ct-active .module-nav{align-self:start}}
@media(max-width:1250px){#contracts-view .ct-heading{align-items:flex-start;flex-wrap:wrap}#contracts-view .ct-heading>.ct-actions{flex-shrink:1;justify-content:flex-start}}
@media(max-width:780px){#contracts-view .ct-heading{padding:16px;gap:14px}#contracts-view .ct-heading h1{font-size:22px}#contracts-view .ct-heading>.ct-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#contracts-view .card{padding:18px 16px}#contracts-view .ct-product,#contracts-view .ct-technical{padding:14px}#contracts-view .ct-export-card{padding:14px 16px}#contracts-view .ct-export-card .section-head{align-items:flex-start;flex-direction:column;gap:12px}.ct-active .shell>header{padding:14px 16px}.ct-active .shell>header h1{font-size:17px}}
