:root{font-family:Segoe UI,Arial,sans-serif;color:#20332e;background:#f4f6f5;font-synthesis:none;--green:#15694f;--line:#e1e8e4;--muted:#77867f}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit}button{border:0}h1,h2,h3,p{margin-top:0}h1{font-size:30px;font-weight:650;letter-spacing:-.8px;margin-bottom:9px}h2{font-size:17px;font-weight:650;margin:0}h3{font-size:16px;margin:0}p{line-height:1.65}small{font-size:12px}.muted{color:var(--muted)}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:#112e27;color:#c1d2cb;padding:33px 18px 18px;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;padding:0 13px;text-decoration:none;color:white;font-size:29px;font-weight:700;letter-spacing:-1.1px}.brand small{display:block;font-size:9px;letter-spacing:2.8px;font-weight:500;color:#9bb8aa;margin-top:2px}.brandmark{display:grid;place-items:center;width:37px;height:43px;color:#112e27;background:#a8d4ae;border-radius:10px 10px 10px 2px;font-size:38px;font-weight:800}.workspace-label{font-size:10px;letter-spacing:1.7px;color:#7f9e8f;padding:0 13px;margin:55px 0 15px}.navitem{width:100%;display:flex;align-items:center;gap:12px;color:#bacdc3;background:transparent;text-align:left;padding:14px 16px;border-radius:7px;margin-bottom:5px;font-size:14px}.navitem>span{font-size:21px;width:21px;color:#8daa9c}.navitem:hover{background:#1b3c32}.navitem.active{background:#28503f;color:#fff}.navitem.active>span{color:#cce4cf}.navitem em{margin-left:auto;font-size:11px;min-width:22px;line-height:22px;text-align:center;background:#436953;font-style:normal;border-radius:4px}.sidebar-note{margin-top:auto;padding:24px 12px;color:#a2bcb0;font-size:12px}.sidebar-note p{font-size:11px;line-height:1.9;margin:9px 0 0 15px;color:#739382}.live-dot{display:inline-block;width:6px;height:6px;background:#68ab7b;border-radius:50%;margin-right:6px}.user{border-top:1px solid #315045;padding:20px 9px 0;display:flex;gap:10px;align-items:center;font-size:12px}.avatar{display:inline-grid;place-items:center;width:37px;height:37px;border-radius:50%;background:#e0eae3;color:#35684d;font-size:12px;font-weight:650}.user .avatar{background:#365745;color:#c1d7c6}.user small{display:block;color:#7e9f8e;font-size:10px;margin-top:4px}main{margin-left:226px}.content{max-width:1700px;margin:auto;padding:35px 40px 60px}.page-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 28px}.page-title p{color:var(--muted);font-size:13px;margin:0}.eyebrow{color:#6e8a7b;font-size:10px;letter-spacing:1.6px;font-weight:650;margin-bottom:12px}.eyebrow span{font-weight:400;letter-spacing:0}.primary,.secondary,.button-link{border-radius:6px;padding:11px 17px;font-size:12px;font-weight:600;white-space:nowrap}.primary{background:var(--green);color:white;border:1px solid var(--green)}.primary:hover{background:#10583f}.secondary{background:white;color:#405a4c;border:1px solid #d6e1da}.secondary:hover{background:#edf3ef}.button-link{text-decoration:none;display:inline-block}.text-button{background:transparent;color:var(--green);padding:4px 0;font-size:12px;text-align:left;line-height:1.6}.text-button:hover{text-decoration:underline}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:28px}.metric{background:#fff;border:1px solid var(--line);padding:21px 24px;border-radius:9px;display:flex;flex-direction:column;gap:9px}.metric>span{font-size:12px;color:#64766b}.metric strong{font-size:31px;font-weight:600;letter-spacing:-1px}.metric small{font-size:10px;color:#98a59c}.panel{background:white;border:1px solid var(--line);border-radius:9px;margin-bottom:22px;overflow:hidden}.panelhead{padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid #edf0ee}.count{background:#eef3ef;border:1px solid #e2e9e4;color:#748779;border-radius:5px;display:inline-block;padding:2px 6px;font-size:10px;margin-left:7px;font-weight:500;vertical-align:middle}.search{width:310px;padding:9px 12px;font-size:11px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{padding:13px 20px;text-align:left;color:#88968e;font-size:10px;font-weight:500;background:#fafcfb;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:21px 20px;border-bottom:1px solid #edf1ed;line-height:1.7}td strong{display:block;font-size:12px;font-weight:600}td small{display:block;color:#92a196;font-size:10px;margin-top:4px}tr:last-child td{border-bottom:0}tr[data-action]{cursor:pointer}tr[data-action]:hover{background:#f4f9f5}.chevron{color:#94ac9d;font-size:20px}.badge{display:inline-block;background:#eaf4ed;border:1px solid #d9eadd;color:#43825a;font-size:10px;padding:5px 9px;border-radius:5px;white-space:nowrap;font-weight:500}.badge.amber{background:#fff6e5;color:#997125;border-color:#f2e7c9}.badge.danger{background:#fff0ed;color:#b75946;border-color:#f5dacf}.badge.neutral{background:#f3f5f4;color:#7a8980;border-color:#e5eae7}.hintline{font-size:11px;color:#8c9b91;margin-top:25px}.back{margin-bottom:22px;font-size:11px;color:#7d9385}.project-title{margin-bottom:23px}.project-title h1{font-size:27px}.title-actions{display:flex;gap:15px;align-items:center}.dot-separator{padding:0 8px}.stage-strip{display:flex;overflow:auto;border:1px solid var(--line);border-radius:8px;background:#fff;padding:16px 20px;gap:15px;margin-bottom:25px}.stage{display:flex;gap:7px;align-items:center;flex:1;white-space:nowrap;font-size:10px;color:#99a69d}.stage span{width:21px;height:21px;border:1px solid #e1e7e2;border-radius:50%;display:grid;place-items:center;font-size:10px;background:#fafcfb}.stage.current{color:#267449;font-weight:650}.stage.current span{color:#fff;background:#2f7a51;border-color:#2f7a51}.stage.past{color:#728e79}.stage.past span{background:#e6f0e9;border-color:#dce9e0}.tabs{display:flex;gap:20px;overflow-x:auto;border-bottom:1px solid #dce5dd;margin-bottom:25px}.tabs button{padding:0 0 15px;background:transparent;font-size:11px;color:#7d8c82;white-space:nowrap;border-bottom:2px solid transparent}.tabs button.selected{color:#246e47;border-color:#246e47;font-weight:650}.tabs small{font-size:9px;background:#e7eee9;border-radius:3px;padding:2px 4px}.overview-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}.overview-grid .panel{margin-bottom:22px}dl{display:grid;grid-template-columns:150px 1fr;gap:18px 16px;font-size:12px;padding:23px 24px;margin:0}dt{color:#91a095}dd{margin:0;color:#455e4e;overflow-wrap:anywhere}.description{padding:10px 24px 24px;font-size:12px;color:#75867a;line-height:1.8;white-space:pre-wrap}.next-action{padding:26px;background:#f7fbf6;border-color:#dce9dc}.next-action .eyebrow{font-size:9px}.next-action h2{font-size:21px;letter-spacing:-.4px;margin:5px 0 12px}.next-action p{font-size:12px;color:#7c8d7e;max-width:360px}.next-action .primary{margin:7px 0 17px}.mini-stats{display:flex;gap:28px;padding-top:20px;border-top:1px solid #e1eade}.mini-stats>div{display:flex;flex-direction:column;gap:5px}.mini-stats strong{font-size:21px;font-weight:600}.mini-stats span{font-size:10px;color:#8a9b8c}.files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:20px 24px}.file-card{border:1px solid #e4eae5;border-radius:7px;display:flex;align-items:center;gap:13px;padding:16px;min-width:0}.filetype{font-size:9px;background:#eaf2eb;color:#4f7d5b;min-width:37px;height:43px;border-radius:5px;display:grid;place-items:center;font-weight:650}.filetype.pdf{background:#fbefeb;color:#b77861}.fileinfo{min-width:0;flex:1}.fileinfo strong{display:block;font-weight:550;font-size:11px;overflow-wrap:anywhere}.fileinfo small{display:block;color:#95a297;font-size:9px;margin-top:6px}.icon-button{background:transparent;color:#7b9080;padding:5px;font-size:21px;border-radius:4px}.icon-button:hover{background:#eaf1eb}.form-pad{padding:24px}.form-footer{display:flex;gap:15px;justify-content:space-between;align-items:center;margin-top:15px}.form-footer small{color:#90a095;font-size:10px}input,textarea,select{border:1px solid #d9e3dc;border-radius:5px;background:white;color:#314c3c;padding:10px 12px;font-size:12px;max-width:100%}input:focus,textarea:focus,select:focus{outline:2px solid #9ec7ab}textarea{resize:vertical;line-height:1.85;width:100%}label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#607a69;margin-bottom:18px}.notice{padding:15px 19px;border:1px solid #dee8df;border-radius:7px;background:#edf4ef;font-size:12px;color:#6e8374;line-height:1.7;margin-bottom:22px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:28px 0}.section-title p{font-size:12px;color:#86978a;margin:8px 0 0}.task-card{background:white;border:1px solid var(--line);border-radius:8px;padding:24px;margin-bottom:16px}.task-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.task-card>p{font-size:12px;white-space:pre-wrap;color:#728679}.task-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;border-top:1px solid #eef2ef;padding-top:17px}.task-meta span{font-size:10px;color:#96a398}.task-meta strong{display:block;font-size:11px;color:#526d5b;font-weight:500;margin-top:7px}.task-actions{display:flex;justify-content:flex-end;margin-top:18px}.result{margin-top:20px;background:#edf6ef;border-radius:5px;padding:15px;font-size:11px}.result p{white-space:pre-wrap;margin:8px 0 0}.directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.directory-card{padding:25px}.directory-card .avatar{margin-bottom:20px}.directory-card h2{font-size:16px;margin-bottom:10px}.directory-card p{font-size:12px;color:#84998a}.directory-card .text-button{display:block}.empty{text-align:center;padding:55px 25px;color:#90a095;font-size:12px}.empty h2{font-size:20px;margin-bottom:12px;color:#486752}.empty p{line-height:1.9}.empty.compact{padding:32px 20px}.empty-symbol{font-size:35px;color:#9cbaa5;margin-bottom:20px}.timeline{padding:25px 32px}.timeline article{padding:0 0 20px 24px;border-left:1px solid #dce8de;position:relative}.timeline article:before{content:'';position:absolute;left:-4px;top:4px;width:7px;height:7px;border-radius:50%;background:#a0b8a6}.timeline small{font-size:10px;color:#8b9f90}.timeline p{font-size:12px;margin:8px 0 0}details{font-size:12px;border-bottom:1px solid #e5ece6;padding:15px 0}summary{cursor:pointer;color:#597862}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.8 Segoe UI,Arial,sans-serif;color:#6e8172}dialog{border:1px solid #d9e4dc;border-radius:12px;width:570px;max-width:94vw;padding:0;color:#314d3b;box-shadow:0 20px 100px #0c2b2940}dialog::backdrop{background:#132b2566;backdrop-filter:blur(3px)}.modalhead{display:flex;align-items:center;justify-content:space-between;padding:21px 25px;border-bottom:1px solid var(--line);gap:16px}.modalhead h2{font-size:17px;overflow-wrap:anywhere}.modalbody{padding:24px 25px 4px;max-height:65vh;overflow:auto}dialog footer{display:flex;justify-content:flex-end;gap:10px;padding:19px 25px;background:#fafcfb;border-top:1px solid #e6ece7}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-error{color:#b65744;font-size:12px;margin-bottom:15px}.upload-zone{border:1px dashed #a7c1af;border-radius:8px;background:#f6faf6;padding:24px;line-height:1.7}.upload-zone small{font-size:11px;color:#8da090}.upload-zone input{padding:10px 0;border:0;background:transparent}.preview-modal{width:1100px;max-height:95vh}.preview-body{background:#eef1ee;min-height:300px}.preview-body iframe{display:block;width:100%;height:68vh;border:0}.preview-body img{display:block;max-width:100%;max-height:68vh;object-fit:contain;margin:auto}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);padding:13px 22px;background:#1d4833;color:#fff;font-size:12px;border-radius:7px;box-shadow:0 6px 25px #15332425;opacity:0;pointer-events:none;transition:.2s;z-index:1000;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}.loading{display:grid;place-items:center;height:100vh;color:#678473}
@media(min-width:1600px){.content{padding:40px 55px}.project-title h1{font-size:31px}}
@media(max-width:1150px){.sidebar{width:190px}.content{padding:28px 24px}main{margin-left:190px}.stage-strip{gap:20px}.overview-grid{grid-template-columns:1fr}.files{grid-template-columns:1fr 1fr}.directory{grid-template-columns:repeat(2,1fr)}.metric{padding:18px}.task-meta{grid-template-columns:1fr 1fr}.project-title{align-items:flex-start}.title-actions{flex-direction:column;align-items:flex-end}.search{width:250px}}
@media(max-width:720px){.sidebar{position:static;width:auto;height:auto;padding:16px}.brand{font-size:22px}.brandmark{width:29px;height:34px;font-size:28px}.brand small{font-size:7px}.workspace-label,.sidebar-note,.user{display:none}.sidebar nav{display:flex;gap:5px;margin-top:17px}.navitem{font-size:10px;padding:9px 8px;justify-content:center;margin:0}.navitem>span,.navitem em{display:none}main{margin-left:0}.content{padding:24px 16px}.page-title{align-items:flex-start;gap:13px}h1{font-size:25px}.page-title p{font-size:11px}.eyebrow{font-size:9px}.primary,.secondary{padding:10px 12px;font-size:11px}.metrics{grid-template-columns:1fr 1fr;gap:10px}.metric strong{font-size:27px}.metric small{font-size:9px}.panelhead{padding:17px 16px;flex-wrap:wrap}.search{width:100%}.files{grid-template-columns:1fr;padding:16px}.project-title h1{font-size:22px}.title-actions{gap:8px}.stage-strip{padding:14px}.tabs{gap:19px}.directory{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr;gap:0}.section-title{align-items:flex-start}.task-top{align-items:flex-start}.task-top h3{font-size:14px}.task-card{padding:19px}.task-meta{gap:17px}.form-footer{align-items:flex-start}.form-pad{padding:17px}dl{padding:20px 17px;grid-template-columns:105px 1fr;font-size:11px}.description{padding:10px 17px 20px}.mini-stats{gap:25px}.notice{font-size:11px}.panelhead h2{font-size:15px}}
.client-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.contact-list{display:grid;gap:6px;margin:20px 0}.contact-row{display:flex;align-items:center;gap:12px;padding:10px 8px;background:transparent;text-align:left;border-radius:7px;min-width:0;color:#42644e}.contact-row:hover{background:#f0f6f2}.contact-row small{display:block;color:#8a9a8f;font-size:10px;margin-bottom:4px}.contact-row strong{display:block;font-size:12px;font-weight:500;overflow-wrap:anywhere}.contact-icon{display:inline-grid;place-items:center;width:34px;height:34px;flex-shrink:0;border-radius:9px;background:#edf3ef;color:#57745f}.contact-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.contact-icon.telegram{background:#edf7fd;color:#3692c2}.contact-icon.whatsapp{background:#ebf7ef;color:#389a58}.contact-icon.viber{background:#f3effb;color:#8863ba}.contact-field{display:flex;gap:12px;align-items:center}.contact-field label{flex:1;min-width:0}.client-notes{white-space:pre-wrap}.client-task-preview{display:grid;grid-template-columns:1fr auto;text-align:left;background:#f7faf8;border:1px solid #e2ebe5;border-radius:8px;margin:0 24px 24px;padding:18px;width:calc(100% - 48px);color:#41664e}.client-task-preview:hover{background:#edf5ef;border-color:#afcdb9}.client-task-preview strong{display:block;font-size:13px}.client-task-preview small{display:block;font-size:10px;margin-top:5px;color:#82998a}.client-task-preview b{font-size:20px;font-weight:400}.client-task-preview p{grid-column:1/-1;margin:14px 0 0;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;color:#728879;line-height:1.8}dialog.task-drawer{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:min(760px,94vw);max-width:100vw;border-radius:14px 0 0 14px;animation:drawer-enter .25s ease-out}dialog.task-drawer[open]{display:flex;flex-direction:column}.task-drawer .modalhead{padding:28px 30px}.task-drawer form{display:flex;flex-direction:column;flex:1;min-height:0}.task-drawer .modalbody{max-height:none;flex:1;overflow:auto;padding:24px 30px;display:flex;flex-direction:column}.task-drawer .drawer-context{font-size:12px;color:#488363;margin-bottom:14px}.task-drawer .muted{font-size:12px}.task-drawer label{flex:1;min-height:260px}.task-drawer textarea{flex:1;min-height:250px;font-size:15px;line-height:1.9;padding:20px;resize:vertical}.task-drawer footer{flex-shrink:0;padding:20px 30px}@keyframes drawer-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}@media(prefers-reduced-motion:reduce){dialog.task-drawer{animation:none}}@media(max-width:720px){dialog.task-drawer{width:100vw;border-radius:0}.task-drawer .modalhead,.task-drawer .modalbody,.task-drawer footer{padding:20px}.client-task-preview{margin:0 17px 20px;width:calc(100% - 34px)}}
.client-name-line{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.client-name-line h2{margin-bottom:6px}.client-folder{font-size:10px;color:#87998b;overflow-wrap:anywhere}input[readonly]{background:#f3f6f4;color:#708879}
dialog.project-card-modal{width:780px}.project-card-modal .delivery-row{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.project-card-modal .form-grid>label{min-width:0}.project-card-modal .modalbody{max-height:72vh}@media(max-width:560px){.project-card-modal .delivery-row{grid-template-columns:1fr}}
.file-section-actions{display:flex;gap:10px;flex-wrap:wrap}.archive-trash svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.archive-trash:hover{color:#ac5648;background:#fff0ed}.archive-modal{width:850px}.archive-record{padding:18px 0;border-bottom:1px solid #e1e8e4}.archive-record>small{display:block;margin:8px 0;color:#83978a}.archive-record p{font-size:12px;overflow-wrap:anywhere}.archive-record>.secondary{margin-top:14px}
.file-rename svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.file-rename:hover{color:#287353;background:#edf5ef}

.adaptation-scroll{max-width:100%;overflow-x:auto}.adaptation-table{min-width:1480px;table-layout:fixed}.adaptation-table th,.adaptation-table td{padding:12px 8px;vertical-align:top}.adaptation-table th:first-child{width:58px;white-space:normal}.adaptation-table th:nth-child(2){width:125px}.adaptation-table th:nth-child(3){width:185px}.adaptation-table th:nth-child(4){width:300px}.adaptation-table th:nth-child(5){width:155px}.adaptation-table th:nth-child(6),.adaptation-table th:nth-child(7){width:120px}.adaptation-table th:nth-child(n+8){width:72px;white-space:normal}.adaptation-table th:nth-child(11){width:115px}.adaptation-table th:nth-child(12){width:85px}.adaptation-table td:nth-child(12){text-align:center}.adaptation-table .item-check{align-items:center;font-size:10px}.adaptation-table input:not([type=checkbox]),.adaptation-table select,.adaptation-table textarea{width:100%;min-width:0;padding:9px 7px;font-size:12px;margin:0}.adaptation-table textarea{min-height:110px;resize:vertical}.adaptation-table input:disabled,.adaptation-table select:disabled,.adaptation-table textarea:disabled{opacity:1;color:#426156;background:#edf4ef;border-color:transparent}.item-thumbnail{width:108px;height:115px;object-fit:contain;background:white}.glazing-formula{display:block;margin-top:8px;overflow-wrap:anywhere;font-size:11px}.item-reviewed{background:#f3f8f4}.item-check{display:flex;align-items:center;gap:7px;font-size:11px}.item-check input{width:18px;height:18px}.adaptation-table tr[data-dirty]{box-shadow:inset 3px 0 #cf9839}main{min-width:0}
.adaptation-scroll{max-height:70vh;overflow:auto}.adaptation-table thead th{position:sticky;top:0;background:#f3f7f5;z-index:2}.adaptation-table th:first-child,.adaptation-table td:first-child{position:sticky;left:0;background:#fff;z-index:1}.adaptation-table thead th:first-child{z-index:3;background:#f3f7f5}.adaptation-table .item-reviewed td:first-child{background:#f3f8f4}

/* Compact adaptation columns sized to the expected field contents. */
.adaptation-table{min-width:1370px}
.adaptation-table th:first-child{width:56px;white-space:normal}
.adaptation-table th:nth-child(3){width:158px}
.adaptation-table th:nth-child(6),.adaptation-table th:nth-child(7){width:112px}
.adaptation-table th:nth-child(8),.adaptation-table th:nth-child(9){width:66px;white-space:normal}
.adaptation-table th:nth-child(10){width:56px;white-space:normal}
.adaptation-table th:nth-child(11){width:98px}
.adaptation-table th:nth-child(12){width:78px;white-space:normal}
.adaptation-table td:first-child input,.adaptation-table td:nth-child(10) input{width:5ch;padding:8px 4px}
.adaptation-table td:nth-child(8) input,.adaptation-table td:nth-child(9) input{width:6ch;padding:8px 4px}
.adaptation-table input[type=number]{appearance:textfield;-moz-appearance:textfield}
.adaptation-table input[type=number]::-webkit-inner-spin-button,.adaptation-table input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.adaptation-table td:nth-child(3) select{padding-left:5px;padding-right:2px}

.adaptation-table{min-width:1190px}.adaptation-table th:nth-child(4){width:120px}

.drawing-thumbnail-button{padding:0;background:transparent;border-radius:5px;cursor:zoom-in}.drawing-thumbnail-button:hover{box-shadow:0 0 0 2px #8bbca3}.drawing-modal{width:min(900px,94vw);max-height:94vh}.drawing-body{display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto;background:#f5f7f6}.drawing-body img{display:block;width:100%;height:65vh;object-fit:contain}
.adaptation-preview-modal{width:min(1050px,95vw)}.adaptation-preview-modal .modalbody{max-height:70vh}.adaptation-details{display:grid;grid-template-columns:160px minmax(0,1fr);padding:0;gap:9px 15px}.adaptation-details dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.import-position{padding:18px 0;border-top:1px solid #dce7e0}.import-choice{display:flex;flex-direction:row;align-items:center;gap:12px}.import-choice input{width:18px;height:18px;margin:0}.import-position-body{display:flex;align-items:flex-start;gap:20px}.import-position-body>img{width:150px;height:180px;object-fit:contain}.import-position-body>.table-wrap{flex:1;min-width:0}.import-position td{padding:8px 12px;overflow-wrap:anywhere}.import-position th{padding:8px 12px}.import-position details{margin-top:15px}.import-position summary{cursor:pointer;color:#15694f}.adaptation-preview-modal li{margin-bottom:8px}.adaptation-preview-modal .notice{margin-bottom:20px}@media(max-width:650px){.import-position-body{flex-direction:column}.adaptation-details{grid-template-columns:1fr}}
.item-toolbar{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.manual-item-modal{width:min(780px,95vw)}.manual-item-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}.manual-item-grid>label{min-width:0}.manual-item-grid>label:nth-child(3){grid-column:1/-1}.manual-item-grid textarea{min-height:85px}.delete-items-modal{width:min(750px,95vw)}.delete-items-list{max-height:45vh;overflow:auto;border-top:1px solid #e1e8e4;margin-top:16px}.delete-item-choice{display:flex;flex-direction:row;align-items:center;gap:12px;padding:10px 0;margin:0;border-bottom:1px solid #edf1ed}.delete-item-choice input{width:18px;height:18px;margin:0;flex-shrink:0}.delete-item-choice span{font-size:12px;color:#71867a}@media(max-width:720px){#items-panel>.panelhead{align-items:flex-start;flex-direction:column}.item-toolbar{justify-content:flex-start}.manual-item-grid{grid-template-columns:1fr}}

.adaptation-notes>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;padding:16px 24px;list-style:none}.adaptation-notes>summary::-webkit-details-marker{display:none}.adaptation-notes>summary h2{font-size:15px}.adaptation-notes>summary span{color:#15694f;font-size:12px}.adaptation-notes .notes-collapse{display:none}.adaptation-notes[open] .notes-collapse{display:inline}.adaptation-notes[open] .notes-expand{display:none}.adaptation-notes[open]>summary{border-bottom:1px solid #edf0ee}.adaptation-notes textarea{min-height:100px}
.drawing-paste-zone{border:1px dashed #87af98;border-radius:8px;background:#f5faf7;padding:16px;margin:16px 0}.drawing-paste-zone:focus{outline:2px solid #15694f}.drawing-paste-zone p,.drawing-paste-zone small{font-size:12px;color:#657e70}.drawing-paste-zone img{display:block;max-width:100%;max-height:220px;margin:12px auto;object-fit:contain}.drawing-paste-zone img[hidden]{display:none}

.adaptation-files-actions{display:flex;justify-content:flex-end;padding:14px 24px 0}
.adaptation-notes{padding:0}
.spec-group{padding:0}.spec-group>summary{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;cursor:pointer;list-style:none}.spec-group>summary::-webkit-details-marker{display:none}.spec-group>summary>span{font-size:11px;color:#618573}.spec-defaults-form{padding:20px 24px;background:#f6faf7;border-top:1px solid #e0e8e3}.spec-default-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.spec-default-grid label:first-child{grid-column:1/-1}.spec-default-grid select{width:100%;min-width:0}.spec-default-grid label{min-width:0}.spec-group .form-footer small{max-width:65%;line-height:1.6}.spec-table th:nth-child(3){width:158px}.spec-table input[type=checkbox]{width:18px;height:18px}.catalog-table{max-height:65vh;overflow:auto}.catalog-table td{padding:8px 15px}.catalog-table input{width:100%;min-width:80px}.catalog-table th{position:sticky;top:0}.catalog-table th:nth-child(2){width:140px}.spec-group [data-dirty]{box-shadow:inset 3px 0 #cf9839}@media(max-width:750px){.spec-default-grid{grid-template-columns:1fr}.spec-group>summary{gap:10px}.spec-group .count{display:block;margin:8px 0 0}}

.catalog-table .catalog-plant{width:90px;text-align:center}.catalog-table input[type=checkbox]{width:18px;min-width:18px;height:18px;cursor:pointer}

.project-heading{display:flex;align-items:center;gap:18px;margin-bottom:24px;min-height:52px}
.project-heading-back{flex:none;background:white;border:1px solid var(--line);border-radius:7px;width:34px;height:34px;color:var(--green);font-size:20px}
.project-heading-back:hover{background:#e9f1ec}
.project-heading-name{flex:1;min-width:160px}
.project-heading-name h1{font-size:23px;line-height:1.2;letter-spacing:-.5px;margin:0 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.project-heading-code{font-size:10px;letter-spacing:1px;color:#748b80}
.project-heading-client,.project-heading-dates{display:flex;flex-direction:column;gap:5px;border-left:1px solid #d3ded7;padding-left:18px;font-size:12px;line-height:1.4}
.project-heading-client{min-width:90px;max-width:180px}
.project-heading-client strong{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-heading-client>span{color:var(--muted);font-size:11px}
.project-heading-dates{flex:none;white-space:nowrap;font-size:11px}
.project-heading-dates small{display:inline-block;width:58px;font-size:10px;color:var(--muted)}
.project-heading-actions{display:flex;align-items:center;gap:12px;border-left:1px solid #d3ded7;padding-left:18px;flex:none}
@media(max-width:1250px){.project-heading{gap:12px}.project-heading-client,.project-heading-dates,.project-heading-actions{padding-left:12px}.project-heading-name h1{font-size:20px}.project-heading-actions{gap:8px}}
@media(max-width:1000px){.project-heading{overflow-x:auto;padding-bottom:8px}.project-heading-name{flex:none;max-width:300px}.project-heading-client{flex:none}}

.tz-export-choice{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:7px;margin-bottom:10px}.tz-export-choice input{width:18px;height:18px}.tz-export-choice small{display:block;color:var(--muted);margin-top:5px}
.communication-list{padding:0 24px}.communication-card{padding:22px 0;border-bottom:1px solid var(--line,#dce5e1)}.communication-card:last-child{border-bottom:0}.communication-meta,.communication-parties,.communication-files,.communication-followup{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.communication-meta time{color:#788e85;font-size:12px}.communication-meta button{margin-left:auto}.communication-parties{margin:14px 0;color:#788e85;font-size:12px}.communication-parties strong{color:#26483c}.communication-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.communication-reply{font-size:12px}.communication-followup{margin-top:16px;padding:12px;background:#f3f8f5;border-radius:8px;font-size:12px}.communication-files{margin-top:12px}.communication-modal{width:min(860px,94vw);max-width:860px}.communication-form-grid{display:grid;grid-template-columns:1fr 1fr 1.6fr;gap:16px}.communication-choice{display:flex;align-items:center;gap:10px;margin:12px 0}.communication-choice input{width:16px;height:16px;flex:none}.communication-attachments,.communication-next{padding:16px 0;border-top:1px solid #dce5e1}.communication-context{margin:0 0 16px;border-left:3px solid #94b7a5;padding:10px 16px;background:#f3f8f5;white-space:pre-wrap;max-height:130px;overflow:auto}.communication-modal summary{cursor:pointer}.communication-modal .modalbody>small{display:block;margin-top:12px}@media(max-width:700px){.communication-form-grid{grid-template-columns:1fr}.communication-list{padding:0 16px}}
.person-heading{display:flex;gap:16px;align-items:center}.person-heading h2{margin:0}.person-heading p{margin:6px 0}.person-status{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.person-contacts{display:grid;grid-template-columns:1fr 1fr;gap:14px;overflow-wrap:anywhere}.person-contacts small{display:block;color:var(--muted);margin-bottom:5px}.person-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.person-account{min-width:0}.auth-shell{margin:0!important;min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(460px,100%);padding:32px}.auth-card h1{font-size:26px}.auth-card h2{margin-bottom:24px}.auth-card form{display:grid;gap:18px}.audit-filters{display:grid;grid-template-columns:1fr 1fr 1.5fr 1.5fr auto;align-items:end;gap:16px;padding:24px}.audit-filters label{min-width:0}.audit-toolbar{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;gap:15px}.audit-action{max-width:460px;overflow-wrap:anywhere}.sidebar .user .text-button{color:#bbd9c8;padding:4px 0}.sidebar .user{align-items:flex-start}.sidebar .user>div{overflow-wrap:anywhere}@media(max-width:950px){.audit-filters{grid-template-columns:1fr 1fr}.person-contacts{grid-template-columns:1fr}}

.sidebar{overflow-y:auto}.sidebar .brand,.sidebar .workspace-label,.sidebar nav,.sidebar .sidebar-note,.sidebar .user{flex-shrink:0}@media(max-height:800px) and (min-width:721px){.sidebar .brand{margin-bottom:24px}.sidebar .workspace-label{margin-bottom:12px}.sidebar .navitem{padding-top:12px;padding-bottom:12px}.sidebar .sidebar-note{padding-top:18px;padding-bottom:10px}.sidebar .user{padding-top:12px}}
