:root{--bg:#f6f3ee;--surface:#fffdf9;--ink:#241f1b;--muted:#766d63;--line:#e5ded4;--accent:#24201c;--accent-soft:#ede6da;--green:#327554;--red:#a43345;--radius:12px;--shadow:0 12px 42px #241f1b0b;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;font-size:14px;line-height:1.5}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button{border:0;background:none;color:inherit}input,select,textarea{color:var(--ink);background:var(--surface);border:1px solid #e5ded4;border-radius:8px;padding:11px 13px;min-width:0;width:100%;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #24201c14}input::placeholder,textarea::placeholder{color:#a29788}textarea{min-height:92px;resize:vertical}input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent)}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600}h1{font-size:32px;letter-spacing:-1.15px;line-height:1.2}h2{font-size:21px;letter-spacing:-.5px}h3{font-size:15px}.icon-definitions{width:0;height:0;position:absolute;overflow:hidden}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.site-header{height:92px;padding:0 4%;display:flex;align-items:center;gap:42px;background:var(--surface);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand-symbol{display:grid;grid-template-columns:repeat(3,8px);gap:3px;transform:skewY(-10deg);height:34px}.brand-symbol i{height:34px;background:var(--accent);border-radius:1px}.brand-symbol i:nth-child(2){opacity:.72}.brand-symbol i:nth-child(3){opacity:.43}.brand-name{font-size:17px;line-height:1.15;font-weight:600;letter-spacing:-.4px}.brand-name span{display:block;font-size:13px;font-weight:400;letter-spacing:1px;margin-top:4px;color:#766d63}.header-project{padding-left:32px;border-left:1px solid var(--line);font-size:13px;font-weight:600;line-height:1.3}.header-project-caption{display:block;font-size:11px;font-weight:400;color:var(--muted);margin:5px 0 0 12px}.header-project-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);margin-right:6px;vertical-align:middle}.account{margin-left:auto;display:flex;gap:11px;align-items:center;min-width:0}.account-avatar{width:35px;height:35px;display:grid;place-items:center;background:#f6f3ee;border-radius:50%;font-size:12px;font-weight:600;color:#51483f}.account-name{font-size:13px;font-weight:600;line-height:1.3}.account-role{font-size:11px;color:var(--muted);margin-top:3px}.account-exit{margin-left:12px;padding:8px;color:#766d63;border-radius:7px}.account-exit:hover{background:var(--bg);color:var(--ink)}main{max-width:1600px;min-height:calc(100vh - 175px);padding:38px 4% 50px;margin:auto}.page-topline{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1.4px;color:#766d63;text-transform:uppercase;margin-bottom:18px}.page-topline span{display:flex;align-items:center;gap:6px}.page-topline .icon{width:13px;height:13px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:29px}.page-heading p{font-size:13px;color:var(--muted);margin-top:10px}.page-actions{display:flex;align-items:center;gap:10px}.btn{border-radius:8px;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:600;line-height:1.5;white-space:nowrap;border:1px solid transparent;min-height:40px;transition:background .15s,border .15s}.btn .icon{width:17px;height:17px}.btn-primary{background:var(--accent);color:#fffdf9}.btn-primary:hover{background:#3b332c}.btn-secondary{background:var(--surface);border-color:#e5ded4;color:#241f1b}.btn-secondary:hover{background:#fffdf9;border-color:#c5baac}.btn-quiet{color:#766d63}.btn-quiet:hover{background:#f6f3ee}.btn-danger{color:var(--red);border-color:#ecc9ce;background:#fff8f9}.btn-small{padding:7px 11px;min-height:32px;font-size:11px}.text-btn{font-size:12px;font-weight:500;color:var(--accent);padding:3px 0}.text-btn:hover{text-decoration:underline}.text-danger{color:var(--red)}.stats{display:grid;grid-template-columns:1fr 1fr 1fr 1.5fr;background:#fffdf9;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:26px;box-shadow:0 2px 5px #241f1b03}.stat{padding:21px 26px;position:relative;min-height:116px}.stat:not(:last-child):after{content:'';position:absolute;width:1px;top:24px;bottom:24px;right:0;background:var(--line)}.stat-label{font-size:11px;color:#766d63;display:flex;align-items:center;gap:7px}.stat-label .dot{width:5px;height:5px;background:#766d63;border-radius:50%}.stat-label .dot.green{background:var(--green)}.stat-value{font-size:30px;font-weight:500;letter-spacing:-1px;line-height:1.2;margin-top:12px;font-variant-numeric:tabular-nums}.stat-value small{font-size:11px;letter-spacing:0;color:#a29788;margin-left:8px;font-weight:400}.stat-money{font-size:25px;margin-top:15px}.registry{border:1px solid var(--line);background:#fffdf9;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.registry-toolbar{padding:20px 22px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}.registry-title{font-size:14px;font-weight:600;display:flex;align-items:center;gap:9px}.pill-count{background:#f6f3ee;border:1px solid #e5ded4;border-radius:5px;color:#766d63;font-size:10px;padding:1px 6px;font-weight:400}.search-control{position:relative;max-width:310px;flex:1;margin-left:auto;min-width:160px}.search-control input{padding:9px 12px 9px 35px;font-size:12px;background:#fffdf9;border-color:#e5ded4}.search-control .icon{position:absolute;left:11px;top:11px;width:15px;height:15px;color:#766d63}.filter-select{width:174px;padding:9px 10px;font-size:12px;background:#fffdf9;border-color:#e5ded4}.refresh-btn{display:grid;place-items:center;padding:8px;color:#766d63;border-radius:6px}.refresh-btn:hover{background:var(--bg)}.refresh-btn .icon{width:17px;height:17px}.table-scroll{overflow-x:auto}.orders-table{border-collapse:collapse;width:100%;table-layout:fixed;min-width:940px}.orders-table th{height:42px;padding:9px 18px;font-size:10px;font-weight:400;letter-spacing:.2px;text-align:left;color:#766d63;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fffdf9}.orders-table th:first-child{width:34%;padding-left:23px}.orders-table th:nth-child(2){width:20%}.orders-table th:nth-child(3){width:16%}.orders-table th:nth-child(4){width:14%}.orders-table th:nth-child(5){width:13%}.orders-table th:last-child{width:3%;padding:0}.orders-table td{border-bottom:1px solid #f6f3ee;padding:19px 18px;vertical-align:middle;font-size:12px;line-height:1.4}.orders-table tbody tr:last-child td{border-bottom:0}.orders-table td:first-child{padding-left:23px}.orders-table .numeric{text-align:right}.order-row{cursor:pointer;transition:background .12s}.order-row:hover{background:#fffdf9}.order-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.order-title{display:flex;gap:15px;align-items:flex-start}.order-number{font-size:10px;color:#a29788;width:14px;flex-shrink:0;padding-top:2px;font-variant-numeric:tabular-nums}.contract-number{font-size:12px;font-weight:600;color:#241f1b;display:block;background:transparent;border:0;padding:0;text-align:left}.order-subject{color:#51483f;font-size:12px;line-height:1.5;margin-top:5px;display:block}.order-extra{font-size:10px;color:#a29788;margin-top:5px;display:block}.status{display:inline-flex;align-items:center;gap:6px;border-radius:5px;padding:5px 8px;font-size:10px;font-weight:500;line-height:1.3;background:#f6f3ee;color:#766d63;max-width:100%}.status:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor;flex-shrink:0}.status.tone-green{background:#edf5ee;color:#4c7851}.status.tone-amber{background:#faf4e8;color:#9c7d3b}.status.tone-blue{background:#edf2f6;color:#527283}.status.tone-purple{background:#f1edf5;color:#7e6594}.status-description{font-size:10px;color:#766d63;line-height:1.5;margin-top:7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.money{font-variant-numeric:tabular-nums;font-weight:500;white-space:nowrap}.cell-caption{font-size:10px;color:#a29788;display:block;margin-top:5px}.deadline-value{white-space:pre-line;font-size:11px;color:#51483f}.row-arrow{width:13px;height:13px;color:#a29788}.table-foot{background:#fffdf9;border-top:1px solid var(--line);padding:13px 22px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#766d63;gap:20px}.table-foot .foot-secure{display:flex;align-items:center;gap:5px}.table-foot .icon{width:12px;height:12px}.source-disclaimer{font-size:11px;line-height:1.6;margin:13px 1px 0;color:#a29788}.site-footer{max-width:1600px;margin:auto;padding:20px 4% 26px;color:#a29788;font-size:10px;display:flex;gap:30px;align-items:center;border-top:1px solid #e5ded4;min-height:83px}.site-footer>span:nth-child(2){margin-left:auto}.secure-label{display:flex;align-items:center;gap:6px}.secure-label .icon{width:12px;height:12px}.initial-loader{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:#766d63;min-height:400px}.spinner{width:22px;height:22px;border-radius:50%;border:2px solid #e5ded4;border-top-color:var(--accent);animation:spin .8s linear infinite}.empty{padding:62px 25px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:12px;color:#766d63}.empty>.icon{width:30px;height:30px;stroke-width:1.2;color:#a29788}.empty h3{font-size:16px;font-weight:500;color:#51483f}.empty p{max-width:370px;font-size:12px;line-height:1.7}.empty .btn{margin-top:8px}.error-banner{display:flex;gap:10px;align-items:flex-start;padding:13px 16px;border:1px solid #efcdd2;background:#fff5f6;color:#a14051;border-radius:8px;font-size:12px;line-height:1.6}.error-banner .icon{width:17px;height:17px;margin-top:1px}.notice{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.7;padding:13px 15px;background:#f6f3ee;color:#766d63;border:1px solid #e5ded4;border-radius:8px}.notice .icon{width:15px;height:15px;margin-top:3px}.muted{color:#766d63;font-size:12px;line-height:1.7}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{color:var(--ink);border:0;padding:0;overscroll-behavior:contain}dialog::backdrop{background:#241f1b55;backdrop-filter:blur(2px)}body.dialog-open{overflow:hidden}.drawer{position:fixed;inset:0 0 0 auto;margin:0;max-height:none;height:100dvh;width:min(830px,100vw);max-width:100vw;background:#fffdf9;box-shadow:-20px 0 70px #241f1b26;overflow:hidden}.drawer[open]{display:flex;flex-direction:column;animation:slide .2s ease-out}.drawer-header{padding:29px 30px 24px;border-bottom:1px solid var(--line);position:relative;flex-shrink:0}.drawer-eyebrow{color:#766d63;font-size:9px;letter-spacing:1.5px;margin-bottom:9px;text-transform:uppercase}.drawer-header h2{font-size:24px;letter-spacing:-.75px;padding-right:26px}.drawer-header p{font-size:13px;line-height:1.6;color:#51483f;margin-top:7px;max-width:650px}.icon-button{display:grid;place-items:center;border:1px solid #e5ded4;border-radius:7px;width:31px;height:31px;color:#766d63;background:var(--surface)}.icon-button .icon{width:17px;height:17px}.icon-button:hover{background:#f6f3ee;color:#241f1b}.close-button{position:absolute;right:21px;top:21px}.drawer-content{overflow:auto;flex:1;padding:23px 30px 35px}.detail-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.detail-tool-actions{display:flex;gap:12px;align-items:center}.detail-tools .status{font-size:11px;padding:7px 10px}.detail-tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none;margin-bottom:25px}.tab{padding:12px 0 13px;font-size:12px;color:#766d63;white-space:nowrap;border-bottom:2px solid transparent;margin-bottom:-1px}.tab[aria-selected=true]{border-color:var(--accent);color:var(--accent);font-weight:600}.tab .tab-count{margin-left:5px;background:#f6f3ee;border-radius:4px;padding:1px 4px;font-size:9px;color:#766d63}.section-label{font-size:10px;letter-spacing:.8px;text-transform:uppercase;color:#a29788;margin-bottom:11px}.published-status{font-size:14px;line-height:1.7;color:#241f1b;white-space:pre-line}.phase-list{display:flex;margin:27px 0 32px}.phase{position:relative;flex:1;min-width:0}.phase:before{content:'';position:absolute;left:18px;right:0;top:9px;height:1px;background:#e5ded4}.phase:last-child:before{display:none}.phase-dot{width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:#f6f3ee;color:#a29788;font-size:8px;position:relative}.phase-dot .icon{width:11px;height:11px;stroke-width:2}.phase.complete .phase-dot{background:#e5ded4;color:#51483f}.phase.current .phase-dot{background:var(--accent);color:#fffdf9;box-shadow:0 0 0 4px #24201c10}.phase-label{font-size:9px;display:block;margin-top:9px;color:#a29788;padding-right:5px;line-height:1.5}.phase.current .phase-label{color:var(--accent);font-weight:600}.detail-money{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin:24px 0 28px;background:#fffdf9}.detail-money>div{padding:18px 17px}.detail-money span{font-size:10px;color:#766d63;display:block}.detail-money strong{font-size:19px;font-weight:500;letter-spacing:-.4px;display:block;margin-top:7px;white-space:nowrap;font-variant-numeric:tabular-nums}.detail-money small{font-size:9px;color:#a29788;display:block;margin-top:4px}.detail-section{margin-bottom:27px}.info-list{margin:0}.info-list>div{display:grid;grid-template-columns:175px 1fr;gap:20px;padding:10px 0;border-bottom:1px solid #f6f3ee;font-size:12px}.info-list dt{color:#766d63}.info-list dd{margin:0;color:#51483f;white-space:pre-line;overflow-wrap:anywhere}.internal-note{padding:17px 20px;background:#fffdf9;border:1px dashed #e5ded4;border-radius:9px;color:#766d63;white-space:pre-line;font-size:12px;line-height:1.7}.internal-heading{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.5px;margin-bottom:9px}.internal-heading .icon{width:12px;height:12px}.internal-note ul{margin:10px 0 0;padding-left:17px;font-size:11px}.updated-at{font-size:10px;color:#a29788;margin-top:22px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.section-heading h3{font-size:15px}.upload-choice{display:flex;gap:7px;align-items:center;font-size:11px;color:#766d63;cursor:pointer}.upload-toolbar{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-bottom:20px}.upload-hint{font-size:10px;color:#a29788}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.photo-card{padding:0;text-align:left;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fffdf9}.photo-card img{width:100%;height:140px;object-fit:cover;display:block;background:#f6f3ee}.photo-name{display:block;padding:10px 11px 4px;font-size:11px;overflow-wrap:anywhere;color:#51483f}.photo-caption{display:block;padding:0 11px 11px;font-size:9px;color:#a29788}.files-list{border:1px solid var(--line);border-radius:9px;overflow:hidden}.file-item{display:flex;align-items:center;gap:13px;padding:16px}.file-item+.file-item{border-top:1px solid var(--line)}.file-symbol{width:35px;height:41px;display:grid;place-items:center;background:#f6f3ee;color:#766d63;border-radius:7px;flex-shrink:0}.file-symbol .icon{width:20px;height:20px}.file-info{min-width:0;flex:1}.file-name{display:block;font-size:12px;color:#51483f;overflow-wrap:anywhere}.file-meta{display:block;margin-top:5px;font-size:10px;color:#a29788}.download-icon{color:#766d63;width:16px;height:16px}.comment-form{padding:17px;background:#fffdf9;border:1px solid var(--line);border-radius:10px;margin-bottom:27px}.comment-form textarea{background:#fffdf9;min-height:90px;font-size:12px}.comment-form-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}.timeline{display:flex;flex-direction:column;gap:23px}.comment-item{display:flex;align-items:flex-start;gap:12px}.comment-avatar{width:28px;height:28px;border-radius:50%;background:#f6f3ee;color:#766d63;display:grid;place-items:center;font-size:10px;flex-shrink:0}.comment-item.internal .comment-avatar{background:#f6f3ee;color:#766d63}.comment-item.event .comment-avatar{background:#f6f3ee;color:#a29788}.comment-avatar .icon{width:13px;height:13px}.comment-body{min-width:0;flex:1}.comment-meta{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}.comment-meta strong{font-size:11px;font-weight:600;color:#51483f}.comment-meta time{font-size:9px;color:#a29788}.comment-text{font-size:12px;line-height:1.75;color:#51483f;white-space:pre-line;overflow-wrap:anywhere;margin-top:6px}.comment-item.event .comment-text{color:#766d63;font-size:11px}.internal-tag{display:inline-flex;gap:4px;align-items:center;margin-top:6px;font-size:9px;color:#766d63}.internal-tag .icon{width:10px;height:10px}.access-form{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;margin:20px 0}.access-form input{font-size:12px}.access-list{margin:20px 0}.access-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line)}.access-person{min-width:0}.access-person strong{font-size:12px;font-weight:500;display:block;color:#51483f;overflow-wrap:anywhere}.access-person span{display:block;font-size:10px;color:#a29788;margin-top:3px;overflow-wrap:anywhere}.access-actions{display:flex;gap:13px;align-items:center}.access-actions .text-btn{font-size:10px}.modal{padding:29px;border-radius:14px;max-width:calc(100vw - 32px);width:620px;max-height:calc(100dvh - 50px);overflow:auto;box-shadow:0 24px 90px #241f1b44}.modal-heading{padding-right:25px;margin-bottom:23px;position:relative}.modal-heading h2{font-size:21px}.modal-heading p{font-size:12px;line-height:1.6;color:#766d63;margin-top:7px}.modal .close-button{right:0;top:-5px}.edit-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#766d63}.field input,.field textarea,.field select{font-size:13px;color:#241f1b}.field-hint{font-size:10px;color:#a29788;line-height:1.5}.wide{grid-column:1/-1}.form-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:7px;padding-top:17px;border-top:1px solid var(--line)}.form-footer .btn{min-width:105px}.form-error:empty{display:none}.link-dialog{width:500px}.invite-label input{font-family:monospace;font-size:11px;letter-spacing:-.2px}.invite-copy{width:100%;margin-top:14px}.link-dialog .notice{margin-bottom:20px}.link-dialog .muted{font-size:11px;margin-top:15px}.lightbox{background:#fffdf9;border-radius:12px;max-width:calc(100vw - 30px);width:1100px;max-height:calc(100dvh - 30px);padding:20px;overflow:auto}.lightbox-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.lightbox-header h2{font-size:15px;overflow-wrap:anywhere}.lightbox img{width:100%;max-height:75dvh;object-fit:contain;display:block;background:#f6f3ee}.lightbox-footer{display:flex;justify-content:flex-end;margin-top:12px}.auth-layout{min-height:600px;display:grid;grid-template-columns:1fr 430px;gap:90px;align-items:center;max-width:1090px;margin:0 auto}.auth-intro{padding:0 30px 60px 0}.auth-eyebrow{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:#a29788;margin-bottom:23px;display:flex;gap:10px;align-items:center}.auth-eyebrow:before{content:'';width:28px;height:1px;background:#766d63}.auth-intro h1{font-size:47px;line-height:1.16;font-weight:500;letter-spacing:-2px;max-width:460px}.auth-intro h1 em{font-style:normal;color:var(--accent)}.auth-intro>p{font-size:14px;line-height:1.9;color:#766d63;max-width:360px;margin-top:24px}.auth-features{display:flex;gap:25px;margin-top:43px}.auth-feature{color:#766d63;font-size:11px;display:flex;gap:8px;align-items:center}.auth-feature .icon{width:16px;height:16px;color:#a29788}.auth-card{padding:34px 34px 29px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 35px #241f1b07}.auth-tag{width:35px;height:35px;border-radius:8px;background:var(--accent-soft);color:#766d63;display:grid;place-items:center;margin-bottom:20px}.auth-tag .icon{width:17px;height:17px}.auth-card h2{font-size:22px;letter-spacing:-.65px;margin-bottom:9px}.auth-description{font-size:12px;line-height:1.7;color:#766d63}.auth-form{display:flex;flex-direction:column;gap:17px;margin-top:25px}.auth-form .field{font-size:11px}.auth-form input{font-size:14px;padding:12px 13px}.auth-form .btn{margin-top:3px;min-height:43px}.auth-help{border-top:1px solid #f6f3ee;padding-top:19px;margin-top:24px;color:#a29788;font-size:10px;line-height:1.8}.auth-help a{color:var(--accent)}.auth-back{font-size:11px;color:var(--accent);display:inline-block;margin-top:18px}.auth-ready{margin-top:20px}.toasts{position:fixed;bottom:24px;right:25px;z-index:9999;display:flex;flex-direction:column;gap:10px;width:min(370px,calc(100vw - 32px));pointer-events:none}.toast{display:flex;align-items:flex-start;gap:10px;padding:15px 17px;border:1px solid #e5ded4;border-radius:10px;background:#fffdf9;box-shadow:0 9px 30px #241f1b1f;font-size:12px;color:#51483f;animation:appear .15s ease-out;pointer-events:auto}.toast .icon{width:17px;height:17px;margin-top:1px}.toast.error{border-color:#f0ced3;color:#a94459}.toast button{margin-left:auto;color:#a29788;display:grid;place-items:center;padding:0}.toast button .icon{width:13px;height:13px}.noscript{padding:30px;text-align:center;color:var(--accent)}.loading-line{height:12px;border-radius:4px;background:linear-gradient(90deg,#f6f3ee,#e5ded4,#f6f3ee);background-size:200% 100%;animation:shimmer 1.6s infinite}.skeleton-row{padding:25px;border-top:1px solid var(--line)}.hidden{display:none!important}@keyframes spin{to{transform:rotate(360deg)}}@keyframes slide{from{transform:translateX(25px);opacity:.5}to{transform:translateX(0);opacity:1}}@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes shimmer{to{background-position:-200% 0}}
@media(min-width:1500px){.site-header{padding-left:max(4%,calc((100vw - 1480px)/2));padding-right:max(4%,calc((100vw - 1480px)/2))}main{padding-left:50px;padding-right:50px}.site-footer{padding-left:50px;padding-right:50px}}
@media(max-width:1100px){.site-header{gap:25px;padding:0 28px}.header-project{padding-left:23px}.account-name{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}main{padding:30px 28px 42px}.stat{padding:20px}.stat-value{font-size:27px}.stat-money{font-size:23px}.stat-value small{display:none}.auth-layout{gap:45px;grid-template-columns:1fr 390px}.auth-intro h1{font-size:39px}.auth-intro{padding-right:0}.auth-features{gap:15px;flex-wrap:wrap}.site-footer{padding:20px 28px}.registry-toolbar{gap:14px}.search-control{max-width:270px}}
@media(max-width:800px){.header-project{display:none}.auth-layout{grid-template-columns:1fr;gap:30px;max-width:430px;min-height:0;padding:8px 0 20px}.auth-intro{padding:0;text-align:center}.auth-eyebrow{justify-content:center;margin-bottom:15px}.auth-intro h1{font-size:35px;max-width:none;letter-spacing:-1.25px}.auth-intro>p,.auth-features{display:none}.auth-card{padding:29px}.stats{grid-template-columns:1fr 1fr}.stat{min-height:100px}.stat:nth-child(2):after{display:none}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.stat-value{font-size:27px;margin-top:9px}.stat-money{font-size:23px;margin-top:12px}.page-heading{align-items:flex-start}.page-heading h1{font-size:29px}.page-heading p{max-width:320px;font-size:12px}.page-actions{flex-direction:column;align-items:flex-end}.registry-toolbar{gap:12px}.registry-title{width:100%;margin-bottom:3px}.search-control{max-width:none;margin-left:0}.filter-select{width:160px}.site-footer{flex-wrap:wrap;gap:7px}.site-footer>span:nth-child(2){margin-left:auto}.secure-label{display:none}.page-topline{font-size:9px}.page-topline>span:last-child{display:none}}
@media(max-width:600px){.site-header{height:76px;padding:0 19px;gap:16px}.brand-name{font-size:15px}.brand-name span{font-size:11px;letter-spacing:.7px}.brand-symbol{height:30px;grid-template-columns:repeat(3,6px);gap:3px}.brand-symbol i{height:30px}.account{gap:7px}.account-details{display:none}.account-avatar{width:30px;height:30px;font-size:11px}.account-exit{margin-left:0;padding:6px}.account-exit .icon{width:17px;height:17px}main{padding:26px 16px 32px;min-height:calc(100vh - 155px)}.page-topline{margin-bottom:13px;font-size:8px;letter-spacing:1.2px}.page-heading{display:block;margin-bottom:21px}.page-heading h1{font-size:28px;letter-spacing:-1px}.page-heading p{font-size:12px;margin-top:9px;max-width:none;line-height:1.65}.page-actions{flex-direction:row;align-items:center;margin-top:18px;gap:8px}.page-actions .btn{font-size:11px;min-height:36px;padding:8px 11px}.stats{margin-bottom:21px}.stat{padding:16px 19px;min-height:96px}.stat:not(:last-child):after{top:19px;bottom:19px}.stat-label{font-size:10px}.stat-value{font-size:27px}.stat-money{font-size:21px;letter-spacing:-.5px}.registry{overflow:visible;background:transparent;border:0;border-radius:0;box-shadow:none}.registry-toolbar{padding:0 0 15px;gap:9px}.registry-title{font-size:13px;margin-bottom:4px}.search-control{min-width:140px}.search-control input{background:var(--surface);padding-top:10px;padding-bottom:10px}.search-control .icon{top:12px}.filter-select{background:var(--surface);width:128px;font-size:11px;padding:10px 7px}.refresh-btn{padding:7px}.table-scroll{overflow:visible}.orders-table{min-width:0;display:block}.orders-table thead{display:none}.orders-table tbody{display:flex;flex-direction:column;gap:12px}.orders-table tr{display:grid;grid-template-columns:1fr 1fr;background:var(--surface);border:1px solid var(--line);border-radius:11px;overflow:hidden;padding:17px 18px}.orders-table td{padding:0;border:0;font-size:12px}.orders-table td:first-child{padding-left:0;grid-column:1/-1;margin-bottom:14px}.orders-table td:nth-child(2){grid-column:1/-1;margin-bottom:17px;padding-bottom:16px;border-bottom:1px solid #f6f3ee;display:flex;align-items:center;justify-content:space-between;gap:15px}.orders-table td:nth-child(2) .status-description{max-width:48%;text-align:right;margin-top:0;font-size:9px}.orders-table td:nth-child(3),.orders-table td:nth-child(4){text-align:left!important}.orders-table td:nth-child(4){text-align:right!important}.orders-table td:nth-child(5){grid-column:1/-1;margin-top:14px;padding-top:13px;border-top:1px solid #f6f3ee;display:flex;align-items:center;justify-content:space-between;gap:20px}.orders-table td:nth-child(5):before{content:'Срок поставки';font-size:10px;color:#a29788;flex-shrink:0}.orders-table td:last-child{display:none}.order-title{gap:11px}.order-number{font-size:10px;width:12px;padding-top:3px}.contract-number{font-size:13px}.order-subject{font-size:12px;line-height:1.55;margin-top:6px}.order-extra{font-size:9px;margin-top:6px}.status{font-size:10px;flex-shrink:0;max-width:55%}.money{font-size:15px}.cell-caption{font-size:9px;margin-top:4px}.deadline-value{font-size:10px;text-align:right;line-height:1.55}.table-foot{padding:14px 1px;background:none;border:0;font-size:9px;gap:12px;align-items:flex-start}.table-foot .foot-secure{display:none}.source-disclaimer{font-size:10px;margin-top:0}.site-footer{padding:20px 17px;display:block;font-size:9px;line-height:1.9}.site-footer>span{display:block}.site-footer .secure-label{display:none}.drawer-header{padding:25px 20px 21px}.drawer-eyebrow{font-size:8px}.drawer-header h2{font-size:21px}.drawer-header p{font-size:12px;padding-right:10px}.close-button{top:17px;right:16px}.drawer-content{padding:19px 20px 30px}.detail-tools{align-items:flex-start;margin-bottom:16px}.detail-tools .status{font-size:10px;max-width:48%}.detail-tool-actions{gap:8px;align-items:flex-end;flex-direction:column}.detail-tool-actions .text-btn{font-size:10px}.detail-tool-actions .btn{font-size:10px;padding:6px 9px;min-height:30px}.detail-tabs{gap:23px;margin-bottom:20px}.tab{font-size:11px;padding:11px 0 13px}.published-status{font-size:13px}.phase-list{flex-wrap:wrap;gap:19px 0;margin:23px 0}.phase{min-width:30%;max-width:34%;flex:1}.phase:nth-child(3):before{display:none}.phase-label{font-size:10px}.detail-money{grid-template-columns:1fr;margin:24px 0;gap:0}.detail-money>div{padding:14px 17px;display:grid;grid-template-columns:1fr auto;align-items:center}.detail-money>div+div{border-top:1px solid var(--line)}.detail-money strong{font-size:18px;margin-top:0}.detail-money small{font-size:9px;grid-column:1/-1;margin-top:3px}.info-list>div{grid-template-columns:1fr;gap:5px;padding:11px 0}.info-list dt{font-size:10px}.info-list dd{font-size:12px}.internal-note{font-size:11px;padding:16px}.section-heading{gap:8px}.section-heading h3{font-size:14px}.photo-grid{grid-template-columns:repeat(2,1fr)}.photo-card img{height:135px}.upload-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.upload-hint{font-size:9px}.file-item{padding:14px 12px;gap:10px}.file-name{font-size:11px}.file-meta{font-size:9px}.file-symbol{width:29px;height:36px}.comment-form{padding:12px}.comment-form-footer{align-items:flex-start;flex-direction:column;gap:12px}.comment-form-footer .btn{align-self:flex-end}.comment-meta strong{font-size:10px}.comment-meta time{font-size:8px}.comment-text{font-size:11px}.access-form{grid-template-columns:1fr}.access-form input{font-size:14px}.access-form .btn{margin-top:2px}.access-row{align-items:flex-start;flex-direction:column;gap:11px}.access-actions{width:100%;justify-content:space-between}.modal{padding:23px 20px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:12px}.modal-heading h2{font-size:20px}.modal-heading p{font-size:11px}.edit-form{grid-template-columns:1fr;gap:14px}.edit-form input,.edit-form select,.edit-form textarea{font-size:16px}.form-footer{padding-top:17px}.form-footer .btn{flex:1;min-width:0}.auth-layout{gap:24px;padding-top:0}.auth-eyebrow{font-size:8px;margin-bottom:15px}.auth-intro h1{font-size:32px}.auth-card{padding:27px 24px}.auth-card h2{font-size:22px}.auth-form input{font-size:16px}.auth-help{font-size:10px}.auth-tag{margin-bottom:18px}.toasts{right:16px;bottom:17px}.lightbox{padding:15px}.lightbox-header h2{font-size:13px}.lightbox img{max-height:65dvh}.empty{padding:45px 20px;border:1px solid var(--line);border-radius:10px;background:#fffdf9}.empty p{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Neutral text keeps the burgundy accent distinct across the workspace. */
.drawer-header p,.published-status,.info-list dd,.file-name,.comment-text,.access-person strong,.photo-name,.field input,.field select,.field textarea{color:#241f1b}.comment-meta strong{color:#51483f}.auth-description,.muted,.source-disclaimer{color:#766d63}.error-banner:has(.btn){flex-wrap:wrap}.error-banner:has(.btn)>span{flex:1;min-width:200px}.error-banner:has(.btn)>.btn{margin-left:auto}
:root{--muted:#51483f}.field,.field-hint,.auth-description,.modal-heading p,.muted,.source-disclaimer,.auth-help,.account-role,.page-topline,.page-heading p,.stat-label,.stat-value small,.orders-table th,.order-extra,.status-description,.cell-caption,.table-foot,.site-footer,.drawer-eyebrow,.section-label,.phase-label,.detail-money span,.detail-money small,.info-list dt,.updated-at,.upload-choice,.upload-hint,.photo-caption,.file-meta,.comment-meta time,.internal-tag,.access-person span,.auth-intro>p,.auth-feature,.auth-eyebrow,.empty p{color:#51483f}.order-number,.row-arrow{color:#766d63}.tab{color:#51483f}.status{color:#51483f}.status.tone-green{color:#3d6c45}.status.tone-amber{color:#866826}.status.tone-blue{color:#456579}.status.tone-purple{color:#725886}.internal-note{color:#51483f}.notice{color:#51483f}.brand-name span{color:#51483f}

/* Registry navigation and sorting. */
.registry-toolbar{gap:13px}.search-control{max-width:280px}.sort-select{width:205px;min-width:180px;padding:9px 10px;font-size:11px;background:#fffdf9;border-color:#e5ded4}.active-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:0 22px 16px}.filter-summary-label{font-size:10px;color:var(--muted)}.filter-chip{display:inline-flex;align-items:center;gap:7px;border:1px solid #e5ded4;background:var(--accent-soft);border-radius:6px;padding:5px 8px;color:#51483f;font-size:10px;max-width:320px}.filter-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-chip .icon{width:11px;height:11px}.reset-filters{font-size:10px;margin-left:auto}.table-sort{display:inline-flex;align-items:center;gap:5px;text-align:inherit;padding:4px 0;color:inherit;font-size:inherit}.table-sort:hover,.table-sort.is-active{color:var(--accent)}.sort-mark{font-size:12px;color:#766d63}.table-sort.is-active .sort-mark{color:var(--accent)}.order-updated{display:block;font-size:10px;color:var(--muted);margin-top:6px}.row-open-button{display:inline-flex;align-items:center;justify-content:center;padding:7px 3px;min-height:30px}.row-open-label{display:none}.getting-started{display:flex;align-items:center;gap:13px;border:1px solid #e5ded4;background:#fffdf9;border-radius:10px;padding:15px 18px;margin-bottom:20px}.getting-started-icon{color:#51483f}.getting-started-icon .icon{width:19px;height:19px}.getting-started>div{flex:1}.getting-started strong{display:block;font-weight:600;font-size:12px;color:#241f1b}.getting-started p{font-size:11px;line-height:1.6;color:#51483f;margin-top:3px}.getting-started .btn{background:#fffdf9;border-color:#e5ded4;flex-shrink:0}.first-order-steps{display:flex;gap:23px;list-style:none;padding:22px 0 0;margin:10px 0 0;border-top:1px solid var(--line);counter-reset:first-order;max-width:100%}.first-order-steps li{counter-increment:first-order;display:flex;align-items:center;gap:7px;font-size:10px;color:#51483f}.first-order-steps li:before{content:counter(first-order);display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#ede6da;color:#766d63;font-size:9px;flex-shrink:0}.admin-empty>p{max-width:370px}.table-foot [role=status]{line-height:1.6}
@media(max-width:1150px){.registry-toolbar .registry-title{width:100%;margin-bottom:2px}.search-control{margin-left:0;max-width:none}.sort-select{width:205px}}
@media(max-width:600px){.registry-toolbar{display:grid;grid-template-columns:1fr 42px;gap:9px}.registry-toolbar .registry-title{grid-column:1/-1}.registry-toolbar .search-control{grid-column:1/-1;width:100%}.registry-toolbar .filter-select{grid-column:1/-1;width:100%;font-size:12px;padding:11px 10px}.registry-toolbar .sort-select{grid-column:1;width:100%;min-width:0;font-size:12px;background:#fffdf9;padding:11px 10px}.registry-toolbar .refresh-btn{grid-column:2;min-height:42px;border:1px solid #e5ded4;background:#fffdf9;border-radius:8px}.active-filters{padding:0 0 15px;gap:7px}.filter-chip{max-width:calc(100vw - 90px);min-height:32px;font-size:11px}.filter-summary-label{font-size:10px}.reset-filters{min-height:32px;padding:4px 0;font-size:11px}.getting-started{padding:14px 15px;flex-wrap:wrap;gap:9px 11px;margin-bottom:19px;align-items:flex-start}.getting-started>div{flex-basis:calc(100% - 32px)}.getting-started strong{font-size:12px}.getting-started p{font-size:11px}.getting-started .btn{margin-left:30px;font-size:11px;min-height:36px}.first-order-steps{flex-direction:column;gap:12px;align-items:flex-start;padding-top:20px;margin-top:7px}.first-order-steps li{font-size:11px}.orders-table .open-cell:last-child{display:flex;grid-column:1/-1;margin-top:12px;border-top:1px solid #f6f3ee;padding-top:9px}.row-open-button{width:100%;min-height:39px;justify-content:space-between;color:var(--accent);padding:4px 0}.row-open-label{display:inline;font-size:11px;font-weight:500}.row-open-button .row-arrow{width:15px;height:15px;color:var(--accent)}.order-updated{font-size:9px}.orders-table .admin-empty{padding:36px 20px}}

/* Account settings are reachable on desktop and mobile. */
.account-profile{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #e5ded4;border-radius:7px;padding:7px 10px;margin-left:9px;color:#51483f;font-size:11px;min-height:34px;background:var(--surface)}.account-profile:hover{border-color:#c5baac;background:#fffdf9}.account-profile .icon{width:15px;height:15px}.profile-dialog{width:570px}.profile-password-fields{padding:17px;border:1px solid var(--line);border-radius:9px;margin:3px 0 0;min-width:0;background:#fffdf9}.profile-password-fields legend{padding:0 7px;font-size:12px;color:#51483f}.profile-password-fields>p{margin-bottom:15px}.profile-password-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.profile-form .form-footer .btn{min-width:115px}.profile-form .form-footer .btn-primary{min-width:180px}
@media(max-width:1000px){.account-profile>span{display:none}.account-profile{width:35px;padding:7px;margin-left:3px}.account-exit{margin-left:3px}}
@media(max-width:600px){.account-profile{width:34px;height:34px;margin-left:2px;padding:7px}.profile-password-grid{grid-template-columns:1fr}.profile-password-fields{padding:15px}.profile-form .form-footer .btn{min-width:0}.profile-form .form-footer .btn-primary{flex:1.5;min-width:0;font-size:11px}.profile-dialog .profile-form input{font-size:16px}}

/* LabERP 1.2: original LabUpra warm workspace frame and shared palette. */
:root{--bg:#f6f3ee;--surface:#fffdf9;--ink:#241f1b;--muted:#766d63;--line:#e5ded4;--accent:#24201c;--accent-soft:#ede6da;--sidebar:#211d1a;--radius:16px;--sidebar-width:244px;--shadow:0 3px 14px #241f1b04;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
[hidden]{display:none!important}body{background:var(--bg);color:var(--ink)}body.has-sidebar{background:#f4f1ec}body.sidebar-collapsed{--sidebar-width:72px}input,select,textarea{border-radius:10px;border-color:var(--line);background:var(--surface)}input:focus,select:focus,textarea:focus{box-shadow:0 0 0 3px #24201c12;border-color:#8c8172}input::placeholder,textarea::placeholder{color:#8b8176}.btn{border-radius:10px;min-height:40px;font-size:12px;padding:10px 15px}.btn-primary{background:#24201c;color:#fffdf9}.btn-primary:hover{background:#3b332c}.btn-secondary{background:#fffdf9;border-color:#ddd4c7;color:#51483f}.btn-secondary:hover{background:#f1eadd;border-color:#cfc2b0}.btn-danger,.text-danger{color:#a43345}.btn-danger{background:#fff5f6;border-color:#ecc9ce}.btn-small{min-height:33px;padding:7px 11px;font-size:11px}.panel,.registry,.stats{border-radius:16px;border-color:var(--line);background:var(--surface);box-shadow:var(--shadow)}.modal{border-radius:18px}.photo-card,.files-list,.detail-money,.comment-form,.profile-password-fields{border-radius:12px}.site-header{height:78px;min-height:78px;padding:0 40px;gap:27px;background:var(--surface);border-color:var(--line)}.laberp-logo{display:block;width:158px;height:auto;max-height:47px;object-fit:contain}.brand{gap:0}.topbar-context{font-size:12px;color:var(--muted);border-left:1px solid var(--line);padding-left:26px;line-height:1.5}.account{gap:9px}.account-avatar{background:#ede6da;color:#6d5f4f;border:1px solid #e3d8c8}.account-name{color:var(--ink);font-size:12px}.account-role{font-size:10px}.account-profile{background:var(--surface);border-color:var(--line);color:#66594a;min-height:34px}.account-profile:hover{border-color:#cfc2b0;background:#f3ede3}.account-exit{color:#7c6e5e;margin-left:3px}.account-exit:hover{background:#ede6da;color:#241f1b}.topbar-location{display:flex;align-items:center;gap:11px;font-size:11px;line-height:1}.topbar-location>span{color:#85796b}.topbar-location>span:after{content:'/';margin-left:11px;color:#b5a894}.topbar-location strong{font-size:12px;font-weight:600;color:#51483f}.back-to-admin{display:flex;align-items:center;gap:7px;font-size:11px;color:#766d63;margin-left:auto;white-space:nowrap}.back-to-admin .icon{width:15px;height:15px;transform:rotate(180deg)}.back-to-admin+.account{margin-left:0}.admin-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);background:var(--sidebar);color:#e7dfd2;z-index:50;display:flex;flex-direction:column;overflow:hidden;border-right:1px solid #393128;transition:width .18s ease}.sidebar-brand{display:flex;flex-direction:column;align-items:flex-start;padding:25px 25px 23px;min-height:119px;border-bottom:1px solid #3c342b;gap:9px;flex-shrink:0}.sidebar-full-logo{width:168px;height:auto;display:block}.sidebar-brand-caption{font-size:10px;color:#b2a695;letter-spacing:.1px;margin-left:2px}.sidebar-mark-logo{display:none;width:37px;height:37px}.sidebar-nav{padding:19px 13px;display:flex;flex-direction:column;gap:7px}.sidebar-group-label{display:block;font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#a79886;padding:7px 12px 9px;white-space:nowrap}.sidebar-account-label{margin-top:21px}.sidebar-link{display:flex;align-items:center;gap:11px;text-align:left;width:100%;padding:13px;border-radius:10px;color:#d1c4b3;font-size:12px;white-space:nowrap;min-height:43px;border:1px solid transparent}.sidebar-link .icon{width:18px;height:18px;stroke-width:1.5;color:#b5a38b}.sidebar-link:hover{background:#2c251f;color:#fffdf9}.sidebar-link.active{background:#ede6da;color:#332a21;border-color:#f3ebdf;font-weight:600}.sidebar-link.active .icon{color:#665643}.sidebar-link:focus-visible{outline-color:#c7a98b}.sidebar-footer{margin-top:auto;display:flex;align-items:center;gap:8px;padding:22px 25px;border-top:1px solid #3c342b;font-size:9px;color:#b2a38f;line-height:1.5}.sidebar-footer .icon{width:13px;height:13px}.sidebar-collapsed .sidebar-brand{padding:22px 17px;align-items:center;min-height:86px}.sidebar-collapsed .sidebar-full-logo,.sidebar-collapsed .sidebar-brand-caption,.sidebar-collapsed .sidebar-group-label,.sidebar-collapsed .sidebar-link>span,.sidebar-collapsed .sidebar-footer>span{display:none}.sidebar-collapsed .sidebar-mark-logo{display:block;box-shadow:0 0 0 1px #766451;border-radius:9px}.sidebar-collapsed .sidebar-nav{padding:18px 12px;gap:9px}.sidebar-collapsed .sidebar-link{justify-content:center;padding:12px;min-height:45px}.sidebar-collapsed .sidebar-footer{padding:24px;justify-content:center}.sidebar-toggle{display:grid;place-items:center;width:33px;height:33px;border:1px solid #e2d8ca;border-radius:9px;color:#6a5d4c;background:#fffdf9;flex-shrink:0}.sidebar-toggle:hover{background:#ede6da}.sidebar-toggle .icon{width:17px;height:17px}.sidebar-backdrop{position:fixed;inset:0;background:#211d1a70;z-index:49}.has-sidebar .site-header{height:58px;min-height:58px;padding:0 27px;gap:17px;margin-left:var(--sidebar-width);position:sticky;top:0;z-index:20;background:#fffdf9f5;backdrop-filter:blur(12px)}.has-sidebar main{margin:0 0 0 var(--sidebar-width);max-width:none;min-height:calc(100vh - 133px);padding:31px 32px 38px}.has-sidebar .site-footer{margin:0 0 0 var(--sidebar-width);max-width:none;padding:20px 32px;min-height:75px}.has-sidebar .account-avatar{width:30px;height:30px;font-size:11px}.has-sidebar .account-role{display:none}.has-sidebar .account-profile{font-size:10px;margin-left:5px}.has-sidebar .account-profile>span{display:none}.has-sidebar .account-exit .icon{width:17px;height:17px}.has-sidebar .account-name{font-size:11px}.has-sidebar .account-exit{padding:7px}.page-topline{font-size:9px;letter-spacing:.75px;color:#766d63;margin-bottom:15px}.page-heading{margin-bottom:25px;gap:16px}.page-heading h1{color:#241f1b;font-size:30px;letter-spacing:-.9px;font-weight:650}.has-sidebar h1{font-size:28px;letter-spacing:-.8px}.page-heading p{color:#766d63;margin-top:8px;font-size:12px}.page-actions{gap:8px;align-items:center}.stats{margin-bottom:23px}.stat{padding:21px 24px;min-height:113px}.stat-value{font-size:29px;color:#2d261f;letter-spacing:-.9px}.stat-money{font-size:25px;letter-spacing:-.6px}.stat-label{color:#766d63;font-size:11px}.stat:not(:last-child):after{background:#e5ded4}.stat-label .dot{background:#ad8a5c}.stat-label .dot.green{background:#598467}.registry-toolbar{padding:20px 22px;gap:11px}.registry-title{font-size:14px;color:#3a3026}.pill-count{background:#f2ece2;border-color:#e6ddcf;color:#766d63}.search-control input,.filter-select,.sort-select{border-color:#e4dbce;background:#faf6ef;border-radius:10px;color:#625443}.search-control .icon{color:#978874}.filter-select{font-size:11px;width:155px}.sort-select{font-size:10px;width:190px;min-width:155px}.search-control{max-width:260px;min-width:170px}.search-control input{font-size:11px}.refresh-btn{color:#8a7963}.refresh-btn:hover{background:#eee6d9}.orders-table{min-width:920px}.orders-table th{font-size:10px;background:#f8f3eb;border-color:#e5ded4;color:#766d63;height:46px}.orders-table td{border-color:#eee6da;padding-top:20px;padding-bottom:20px}.orders-table th:first-child{width:33%}.orders-table th:nth-child(2){width:20%}.orders-table th:nth-child(3){width:17%}.orders-table th:nth-child(4){width:14%}.orders-table th:nth-child(5){width:13%}.order-row:hover{background:#f9f4ec}.contract-number{font-weight:650;color:#403329;font-size:12px;line-height:1.45}.order-number{color:#847563}.order-subject{color:#675b4c;font-size:12px;line-height:1.6}.order-extra,.order-updated{font-size:10px;color:#766d63}.table-money,.money{color:#403529}.cell-caption{color:#766d63;font-size:10px}.deadline-value{color:#766d63;font-size:11px}.status{border-radius:6px;background:#eee8dd;color:#6a5b46}.status.tone-green{background:#edf5ee;color:#3d6c45}.status.tone-amber{background:#faf4e8;color:#866826}.status.tone-blue{background:#edf2f6;color:#456579}.status.tone-purple{background:#f1edf5;color:#725886}.status-description{color:#766d63}.table-foot{background:#fbf7f0;border-color:#e5ded4;color:#766d63;font-size:10px;line-height:1.6}.filter-chip{border-color:#ded1bd;background:#eee5d7;color:#66523b}.sort-mark,.table-sort{color:#766d63}.table-sort:hover,.table-sort.is-active,.table-sort.is-active .sort-mark{color:#30271e}.source-disclaimer{font-size:10px;color:#766d63}.getting-started{background:#f4ede2;border-color:#e3d6c3;border-radius:14px}.getting-started strong{color:#62503a}.getting-started p{color:#766d63}.getting-started .btn{background:#fff9ef;border-color:#e0ceb3;color:#70583c}.site-footer{color:#766d63;border-color:#e4d8c6;font-size:10px}.footer-laberp{font-weight:700;letter-spacing:-.2px;color:#6c563b}.secure-label{color:#766d63}.drawer,.modal,.lightbox{background:#fffdf9}.drawer-header,.detail-tabs,.form-footer{border-color:var(--line)}.drawer-header h2{font-size:23px;font-weight:600}.drawer-header p,.published-status,.info-list dd,.file-name,.comment-text,.access-person strong,.photo-name,.field input,.field select,.field textarea{color:#51483f}.field,.field-hint,.muted,.modal-heading p,.drawer-eyebrow,.section-label,.detail-money span,.detail-money small,.phase-label,.info-list dt,.comment-meta time,.upload-choice,.upload-hint,.photo-caption,.file-meta,.access-person span,.auth-description,.auth-help,.empty p,.updated-at{color:#766d63}.detail-money{background:#f7f0e5;border-color:#e4d6bf}.detail-money strong{color:#59452e}.tab[aria-selected=true]{border-color:#3f3122;color:#3f3122}.tab .tab-count{background:#eee2ce;color:#766d63}.phase.current .phase-dot{background:#3f3122;color:#fffdf9;box-shadow:0 0 0 4px #c7a98b22}.phase.current .phase-label{color:#66503a}.phase.complete .phase-dot{background:#e9dfce;color:#87704e}.phase:before{background:#e4d7bf}.internal-note{background:#f6f0e6;border-color:#d9c9ae;color:#766956}.icon-button{background:#fffdf9;border-color:#e5d7c1;color:#8a7559;border-radius:9px}.icon-button:hover{background:#f2e7d5;color:#775c38}.comment-form{background:#faf4e9;border-color:#e5d6bd}.comment-avatar,.file-symbol{background:#eee1cb;color:#8b704c}.comment-item.event .comment-text{color:#766d63}.comment-meta strong{color:#6c5b42}.notice{background:#f3eada;border-color:#e4d3b5;color:#786b50}.field input,.field textarea,.field select{border-color:#e1d1b6;background:#fffdf9}.profile-password-fields{background:#faf4e8;border-color:#e5d4b7}.profile-password-fields legend{color:#766d63}.lightbox img{background:#f4ead9}.error-banner,.toast.error{color:#a14051;border-color:#efcdd2;background:#fff5f6}.toast{color:#6d634f;border-color:#ddd2be;background:#fffdf9;border-radius:13px}.text-danger{color:#a43345}.empty h3{color:#715938}.loading-line{background:linear-gradient(90deg,#f4ede0,#e9dcc7,#f4ede0)}
/* Dedicated customer entry and project identity. Official Burny art stays white on dark. */
.client-shell main{max-width:1380px;padding:33px 40px 45px}.client-shell .site-footer{max-width:1380px;padding-left:40px;padding-right:40px}.client-project-heading{background:#24201c;border:1px solid #393129;color:#fffdf9;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:33px 38px;margin-bottom:29px;min-height:116px}.burny-project-logo{display:block;width:244px;max-width:46%;height:auto;object-fit:contain}.client-project-heading>div{text-align:right}.client-project-kicker{display:block;font-size:12px;color:#eee3d1;font-weight:500;letter-spacing:.1px}.client-project-heading p{font-size:10px;color:#c2b39e;margin-top:6px}.client-shell .page-heading h1{font-size:29px}.client-preview-notice{display:flex;align-items:center;gap:10px;color:#786b50;background:#f0e6d6;border:1px solid #e0ceb1;border-radius:12px;padding:13px 16px;margin-bottom:23px;font-size:11px;line-height:1.6}.client-preview-notice .icon{width:17px;height:17px}.client-preview-notice>span{flex:1}.client-preview-notice a{font-size:10px;font-weight:600;text-decoration:underline;white-space:nowrap}.auth-shell main{max-width:1260px;padding:35px 40px 40px;min-height:calc(100vh - 162px)}.auth-layout{grid-template-columns:minmax(0,1fr) 414px;max-width:1110px;gap:73px;min-height:590px}.auth-intro{padding:0 0 30px}.auth-product-label{display:flex;align-items:center;gap:12px;color:#443527;font-size:18px;font-weight:650;letter-spacing:-.5px;margin-bottom:29px}.auth-product-mark{width:42px;height:42px}.auth-eyebrow{font-size:9px;letter-spacing:1.1px;color:#766d63;margin-bottom:20px}.auth-eyebrow:before{background:#c7a98b}.auth-intro h1{font-size:46px;line-height:1.17;color:#3c2f22;letter-spacing:-1.7px;font-weight:550}.auth-intro>p{color:#766d63;font-size:13px;line-height:1.85;margin-top:21px;max-width:380px}.auth-features{gap:23px;margin-top:35px}.auth-feature{font-size:11px;color:#766d63;gap:7px}.auth-feature .icon{color:#978466;width:16px;height:16px}.auth-card{background:#fffdf9;border-color:#e5d8c2;border-radius:18px;padding:32px;box-shadow:0 7px 24px #241f1b04}.auth-card h2{font-size:23px;color:#413120;line-height:1.25;letter-spacing:-.5px}.auth-description{font-size:12px;color:#766d63;line-height:1.75}.auth-tag{background:#eee2cd;color:#8f764e;border-radius:10px;width:38px;height:38px}.auth-form{margin-top:26px;gap:18px}.auth-form input{padding:12px 13px;border-color:#dfccb0;border-radius:10px}.auth-form .btn{min-height:44px;margin-top:5px}.auth-help{font-size:10px;color:#766d63;border-color:#e9dac0;line-height:1.9;padding-top:18px;margin-top:23px}.auth-burny-logo{width:260px;max-width:100%;height:auto;display:block;margin-bottom:38px}.client-shell.auth-shell .auth-layout{grid-template-columns:minmax(0,1fr) 414px;gap:42px}.client-shell.auth-shell .auth-intro{background:#24201c;border:1px solid #393129;border-radius:19px;padding:39px 38px 38px;min-height:470px;display:flex;flex-direction:column;justify-content:center}.client-shell.auth-shell .auth-intro h1{color:#fff9ed;font-size:37px;line-height:1.25;letter-spacing:-1.2px}.client-shell.auth-shell .auth-intro>p{color:#c2b199;font-size:12px;line-height:1.9}.client-shell.auth-shell .auth-eyebrow{color:#b7a386;font-size:8px;margin-bottom:17px}.client-shell.auth-shell .auth-eyebrow:before{background:#776449}.client-shell.auth-shell .auth-features{margin-top:29px;gap:18px}.client-shell.auth-shell .auth-feature{color:#ccb89b;font-size:10px}.client-shell.auth-shell .auth-feature .icon{color:#b69e78}
@media(min-width:1440px){.has-sidebar .registry-toolbar .registry-title{width:auto;margin-bottom:0}.has-sidebar .search-control{margin-left:auto;max-width:240px}.has-sidebar .filter-select{width:145px}.has-sidebar .sort-select{width:190px}}
@media(max-width:1200px){.has-sidebar .registry-toolbar .registry-title{width:100%;margin-bottom:3px}.has-sidebar .search-control{margin-left:0;max-width:none}.has-sidebar .page-heading{align-items:flex-start}.has-sidebar .page-actions{flex-direction:column;align-items:flex-end}.has-sidebar .stat{padding:20px 17px}.has-sidebar .stat-money{font-size:22px}.topbar-location>span{display:none}.auth-layout{gap:42px;grid-template-columns:minmax(0,1fr) 390px}.auth-intro h1{font-size:40px}.client-shell.auth-shell .auth-layout{grid-template-columns:minmax(0,1fr) 390px;gap:27px}.client-shell.auth-shell .auth-intro{padding:32px 28px}.client-shell.auth-shell .auth-intro h1{font-size:32px}.client-shell.auth-shell .auth-feature{font-size:9px}.client-shell.auth-shell .auth-features{gap:13px}}
@media(max-width:1000px){.site-header{padding:0 27px;gap:20px}.topbar-context{padding-left:20px;font-size:11px}.has-sidebar .site-header{padding:0 22px}.has-sidebar main{padding:27px 24px 32px}.has-sidebar .stats{grid-template-columns:1fr 1fr}.has-sidebar .stat:nth-child(2):after{display:none}.has-sidebar .stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.has-sidebar .stat{min-height:99px}.has-sidebar .stat-value{font-size:27px;margin-top:9px}.has-sidebar .stat-money{font-size:23px}.has-sidebar .page-heading h1{font-size:26px}.has-sidebar .page-heading p{max-width:290px;font-size:11px}.auth-layout,.client-shell.auth-shell .auth-layout{grid-template-columns:1fr;max-width:460px;gap:29px;min-height:0}.auth-shell main{padding:28px 25px 40px}.auth-intro{padding:4px 0 0;text-align:center}.auth-product-label{justify-content:center;margin-bottom:19px}.auth-product-mark{width:34px;height:34px}.auth-eyebrow{justify-content:center;font-size:8px;margin-bottom:15px}.auth-intro h1{font-size:35px;max-width:none;letter-spacing:-1px}.auth-intro>p{display:none}.auth-features{display:none}.client-shell.auth-shell .auth-intro{min-height:0;align-items:center;padding:29px 29px 30px;border-radius:16px}.client-shell.auth-shell .auth-burny-logo{width:223px;margin-bottom:24px}.client-shell.auth-shell .auth-intro h1{font-size:27px;letter-spacing:-.7px}.client-shell.auth-shell .auth-eyebrow{margin-bottom:14px}.client-shell.auth-shell .auth-intro>p,.client-shell.auth-shell .auth-features{display:none}.client-shell main{padding:28px 27px 38px}.client-shell .site-footer{padding-left:27px;padding-right:27px}.client-project-heading{padding:27px 30px}.burny-project-logo{width:222px}.client-preview-notice{flex-wrap:wrap}.client-preview-notice>span{flex-basis:calc(100% - 30px)}.client-preview-notice a{margin-left:27px}.back-to-admin>span{display:none}.back-to-admin{padding:8px;min-height:34px;border:1px solid var(--line);border-radius:9px}.back-to-admin .icon{width:16px;height:16px}}
@media(max-width:760px){body.has-sidebar,body.sidebar-collapsed{--sidebar-width:244px}.admin-sidebar{width:244px;transform:translateX(-100%);transition:transform .18s ease;z-index:51}.sidebar-open .admin-sidebar{transform:translateX(0)}.sidebar-open{overflow:hidden}.sidebar-collapsed .sidebar-brand{padding:25px 25px 23px;align-items:flex-start;min-height:119px}.sidebar-collapsed .sidebar-full-logo,.sidebar-collapsed .sidebar-brand-caption,.sidebar-collapsed .sidebar-group-label,.sidebar-collapsed .sidebar-link>span,.sidebar-collapsed .sidebar-footer>span{display:block}.sidebar-collapsed .sidebar-mark-logo{display:none}.sidebar-collapsed .sidebar-nav{padding:19px 13px;gap:7px}.sidebar-collapsed .sidebar-link{justify-content:flex-start;padding:13px;min-height:43px}.sidebar-collapsed .sidebar-footer{padding:22px 25px;justify-content:flex-start}.has-sidebar .site-header{margin-left:0;padding:0 20px;gap:12px;height:58px;min-height:58px}.has-sidebar main{margin-left:0;padding:25px 20px 34px}.has-sidebar .site-footer{margin-left:0;padding:20px;min-height:72px}.has-sidebar .page-actions{flex-direction:row;align-items:center}.has-sidebar .page-heading{display:block}.has-sidebar .page-actions{margin-top:17px}.has-sidebar .page-heading p{max-width:none;font-size:12px}.laberp-logo{width:152px}.topbar-context{display:none}.site-header{height:70px;min-height:70px;padding:0 23px}.auth-shell main{min-height:calc(100vh - 145px)}.account-details{display:none}.account-profile{width:34px;height:34px;margin-left:0;padding:7px}.account-profile>span{display:none}.account{gap:7px}.account-avatar{width:30px;height:30px}.account-exit{margin-left:0;padding:6px}.account-exit .icon{width:17px;height:17px}.back-to-admin{margin-left:auto}.client-project-heading{gap:18px;padding:26px;border-radius:16px}.client-project-heading p{display:none}.client-project-kicker{font-size:10px}.burny-project-logo{max-width:56%;width:216px}}
@media(max-width:600px){.site-header{padding:0 17px;gap:12px;height:67px;min-height:67px}.laberp-logo{width:136px}.has-sidebar .site-header{padding:0 15px;gap:10px}.has-sidebar .topbar-location strong{font-size:11px}.has-sidebar .account{gap:5px}.has-sidebar .account-profile{width:31px;height:31px;min-height:31px;margin-left:0}.has-sidebar .account-avatar{width:27px;height:27px;font-size:10px}.has-sidebar .account-exit{padding:6px}.has-sidebar main,.client-shell main{padding:24px 16px 31px}.has-sidebar .page-heading h1,.client-shell .page-heading h1{font-size:26px}.has-sidebar .page-actions{gap:7px;flex-wrap:wrap}.page-actions .btn,.has-sidebar .page-actions .btn{font-size:10px;min-height:38px;padding:9px 11px}.has-sidebar .stat,.stat{padding:17px 18px;min-height:98px}.stat-value,.has-sidebar .stat-value{font-size:26px}.stat-money,.has-sidebar .stat-money{font-size:21px}.stat-label{font-size:10px}.registry{border:0;background:transparent;box-shadow:none;border-radius:0}.registry-toolbar{padding:0 0 15px;display:grid;grid-template-columns:1fr 42px;gap:9px}.registry-toolbar .registry-title{grid-column:1/-1;width:100%;font-size:13px;margin-bottom:4px}.registry-toolbar .search-control,.has-sidebar .registry-toolbar .search-control{grid-column:1/-1;max-width:none;min-width:0;width:100%;margin:0}.search-control input{font-size:13px;padding:11px 12px 11px 35px;background:#fffdf9;min-height:43px}.search-control .icon{top:14px}.registry-toolbar .filter-select{grid-column:1/-1;width:100%;font-size:12px;background:#fffdf9;padding:12px 11px;min-height:43px}.registry-toolbar .sort-select{grid-column:1;width:100%;min-width:0;font-size:12px;padding:12px 11px;background:#fffdf9;min-height:43px}.registry-toolbar .refresh-btn{grid-column:2;min-height:43px;background:#fffdf9;border:1px solid #e4dbce;border-radius:10px}.orders-table{min-width:0}.orders-table tr{border-radius:14px;padding:18px;background:#fffdf9;border-color:#e5ded4}.orders-table td{padding:0}.orders-table td:first-child{padding-left:0}.orders-table td:nth-child(2){padding-bottom:15px;margin-bottom:16px;border-color:#e5ded4}.orders-table td:nth-child(5){padding-top:13px;border-color:#e5ded4}.orders-table td:nth-child(5):before{color:#766d63}.orders-table .open-cell:last-child{border-color:#e5ded4}.contract-number{font-size:13px}.order-subject{font-size:12px}.order-extra,.order-updated{font-size:9px}.money{font-size:15px}.cell-caption{font-size:9px}.deadline-value{font-size:10px}.row-open-button{color:#594b38;min-height:40px}.row-open-button .row-arrow{color:#66543c}.table-foot{background:transparent;border:0;padding:14px 1px;font-size:10px}.getting-started{padding:14px;border-radius:12px}.getting-started .btn{font-size:11px;min-height:35px}.client-project-heading{display:block;padding:25px 24px 22px;margin-bottom:24px}.burny-project-logo{max-width:100%;width:222px}.client-project-heading>div{text-align:left;margin-top:16px}.client-project-kicker{font-size:10px;color:#c4b39a}.client-preview-notice{font-size:10px;padding:12px 13px;gap:8px;margin-bottom:21px}.client-preview-notice a{font-size:10px;margin-left:25px}.client-shell .page-topline{font-size:8px;margin-bottom:13px}.client-shell .site-footer,.has-sidebar .site-footer{padding:19px 17px;font-size:9px}.site-footer{padding:19px 17px;font-size:9px}.auth-shell main,.client-shell.auth-shell main{padding:24px 16px 31px}.auth-layout,.client-shell.auth-shell .auth-layout{gap:24px}.auth-product-label{font-size:16px;gap:10px;margin-bottom:16px}.auth-intro h1{font-size:32px;line-height:1.2}.auth-eyebrow{font-size:8px;letter-spacing:.8px}.auth-card{padding:27px 23px;border-radius:16px}.auth-card h2{font-size:21px}.auth-description{font-size:12px}.auth-tag{width:35px;height:35px;margin-bottom:17px}.auth-form{gap:17px;margin-top:23px}.auth-form input{font-size:16px;min-height:45px}.auth-form .field{font-size:12px}.auth-form .btn{font-size:12px}.auth-help{font-size:10px}.client-shell.auth-shell .auth-intro{padding:26px 23px}.client-shell.auth-shell .auth-intro h1{font-size:25px;letter-spacing:-.6px}.client-shell.auth-shell .auth-burny-logo{width:211px;margin-bottom:24px}.client-shell.auth-shell .auth-eyebrow{font-size:7px}.drawer-header h2{font-size:21px}.drawer-header{padding:27px 20px 22px}.drawer-content{padding:19px 20px 30px}.modal{padding:25px 20px;border-radius:16px}.modal-heading h2{font-size:20px}.edit-form input,.edit-form select,.edit-form textarea{font-size:16px}.field,.field-hint,.muted,.modal-heading p,.drawer-eyebrow,.section-label,.detail-money span,.detail-money small,.phase-label,.info-list dt,.comment-meta time,.upload-choice,.upload-hint,.photo-caption,.file-meta,.access-person span,.auth-description,.auth-help,.empty p{color:#766d63}.info-list dd,.published-status,.comment-text,.file-name{color:#51483f}.detail-money>div{padding:14px 16px}.empty{border-color:#e5ded4;border-radius:14px;background:#fffdf9}.filter-chip{font-size:11px}.reset-filters{font-size:11px}.photo-card img{height:128px}}
@media(max-width:360px){.laberp-logo{width:119px}.site-header{gap:9px;padding:0 14px}.account{gap:5px}.account-avatar{width:27px;height:27px}.account-profile{width:31px;height:31px;min-height:31px;padding:6px}.account-exit{padding:5px}.back-to-admin{padding:6px;min-height:31px}.has-sidebar .site-header{padding:0 13px;gap:8px}.has-sidebar .topbar-location strong{font-size:10px}.stat,.has-sidebar .stat{padding:16px}.stat-money,.has-sidebar .stat-money{font-size:19px}.orders-table tr{padding:16px}.auth-card{padding:25px 20px}.client-shell.auth-shell .auth-intro h1{font-size:23px}.client-shell.auth-shell .auth-burny-logo{width:190px}.page-actions .btn,.has-sidebar .page-actions .btn{font-size:9px;padding:9px 10px}}
@media(prefers-reduced-motion:reduce){.admin-sidebar{transition:none}}
/* Contract positions: independent, evidence-backed quantities. */
.items-overview-link{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;text-align:left;padding:18px 20px;margin:24px 0 0;border:1px solid var(--line);border-radius:12px;background:#f7f2e9}.items-overview-link:hover{background:#f0e8db}.items-overview-link strong,.items-overview-link small{display:block}.items-overview-link strong{font-size:13px;font-weight:600}.items-overview-link small{font-size:11px;color:var(--muted);margin-top:5px;line-height:1.6}.items-overview-link>.icon{width:16px;height:16px}.items-section-heading{align-items:flex-start;margin-bottom:18px}.items-section-heading>div{min-width:0}.items-section-heading p{font-size:11px;line-height:1.65;margin-top:6px}.items-section-heading>.btn{flex-shrink:0}.items-publication-hint{display:flex;align-items:flex-start;gap:8px;color:var(--muted);font-size:10px;line-height:1.6;margin-bottom:17px}.items-publication-hint .icon{width:13px;height:13px;margin-top:2px}.items-list{display:grid;gap:20px}.item-card{min-width:0;border:1px solid var(--line);border-radius:15px;background:var(--surface);overflow:hidden}.item-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 22px 0}.item-card-heading>.btn{flex-shrink:0;font-size:10px}.item-title{display:flex;align-items:flex-start;gap:12px;min-width:0}.item-title>div{min-width:0}.item-index{display:flex;align-items:center;justify-content:center;min-width:28px;height:28px;border-radius:8px;background:#f0e9df;color:#897a67;font-size:11px;font-variant-numeric:tabular-nums}.item-title h4{font-size:16px;line-height:1.5;font-weight:600;color:var(--ink);margin:7px 0 0;overflow-wrap:anywhere}.item-tags{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;min-height:20px}.item-type{font-size:9px;text-transform:uppercase;letter-spacing:.65px;color:var(--muted)}.item-visibility{display:inline-flex;align-items:center;gap:4px;font-size:9px;color:#52745a}.item-visibility.is-internal{color:#8a7659}.item-visibility .icon,.item-inline-internal .icon{width:10px;height:10px}.item-metadata{display:flex;flex-wrap:wrap;gap:14px 25px;margin:18px 22px 21px}.item-metadata>div{min-width:0;max-width:100%}.item-metadata dt{font-size:9px;color:var(--muted);line-height:1.5}.item-metadata dd{font-size:12px;margin:5px 0 0;line-height:1.6;overflow-wrap:anywhere}.item-metadata .item-planned{margin-left:auto;text-align:right}.item-planned dd{font-weight:600}.item-progress-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:0 22px 22px}.item-phase{min-width:0;border:1px solid var(--line);border-radius:11px;background:#f8f5ef;padding:15px}.item-phase.is-known{background:#fffaf1;border-color:#ded4c3}.item-phase-title{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:17px}.item-phase-title h5{font-size:11px;letter-spacing:.2px;font-weight:600;margin:0;color:#51483f}.item-phase-title .text-btn{font-size:9px;text-decoration:underline;text-underline-offset:3px}.item-unknown{font-size:15px;line-height:1.4;font-weight:500;color:#8d8274}.item-progress-caption{display:block;margin-top:7px;font-size:10px;line-height:1.6;color:var(--muted)}.item-confirmed-quantity{font-size:27px;line-height:1.25;font-weight:550;color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.item-confirmed-quantity>span{font-size:13px;color:var(--muted);font-weight:400}.item-meter{display:block;appearance:none;width:100%;height:5px;border:0;border-radius:5px;overflow:hidden;background:#e9e0d3;color:#7c6951;margin:13px 0}.item-meter::-webkit-progress-bar{background:#e9e0d3;border-radius:5px}.item-meter::-webkit-progress-value{background:#7c6951;border-radius:5px}.item-meter::-moz-progress-bar{background:#7c6951;border-radius:5px}.item-confirmation-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin-top:12px;color:var(--muted);font-size:9px;line-height:1.6}.item-confirmation-meta .internal-tag{margin:0}.item-confirmation-note{margin-top:8px;color:#635847;font-size:11px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.item-earlier-stages{display:flex;align-items:center;gap:10px 23px;flex-wrap:wrap;padding:0 22px 20px;color:var(--muted);font-size:10px}.item-earlier-stages strong{font-weight:500;color:#51483f}.item-inline-internal{display:inline-flex;align-items:center;gap:3px;margin-left:6px;font-size:8px;color:#8a7659}.item-materials{border-top:1px solid var(--line)}.item-materials>summary,.item-sources>summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;min-width:0;min-height:50px;padding:13px 22px;color:#685b48;font-size:11px;font-weight:500}.item-materials>summary::-webkit-details-marker,.item-sources>summary::-webkit-details-marker{display:none}.item-materials>summary:focus-visible,.item-sources>summary:focus-visible,.source-excerpt>summary:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}.item-materials>summary>.icon,.item-sources>summary>.icon{width:15px;height:15px}.item-materials>summary>small{font-size:9px;font-weight:400;color:var(--muted);margin-left:auto}.item-materials>summary>.icon:last-child,.item-sources>summary>.icon:last-child{width:12px;height:12px}.item-materials[open]>summary>.icon:last-child,.item-sources[open]>summary>.icon:last-child{transform:rotate(90deg)}.item-materials-body{padding:1px 22px 22px}.item-upload-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:7px 0 17px}.item-upload-tools .upload-choice{font-size:10px}.item-files{display:grid;gap:7px}.item-file{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:9px;padding:11px 12px}.item-file:hover{background:#f8f3ea}.item-file>.icon{color:#938169;width:17px;height:17px}.item-file>span{flex:1;min-width:0}.item-file strong{display:block;font-size:11px;font-weight:500;overflow-wrap:anywhere;line-height:1.6}.item-file small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.item-file>.icon:last-child{width:14px;height:14px}.item-no-materials{font-size:11px;margin:9px 0 4px}.item-notes{display:grid;gap:14px;margin:19px 0}.item-note{border-left:2px solid #ddd1bd;padding-left:13px;min-width:0}.item-note .comment-meta{gap:4px 9px;flex-wrap:wrap}.item-note .comment-meta strong{font-size:10px}.item-note .comment-meta time,.item-note .internal-tag{font-size:9px}.item-note .internal-tag{margin:0}.item-note>p{font-size:11px;line-height:1.8;margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere}.item-note-form{margin-top:19px;padding-top:17px;border-top:1px solid var(--line)}.item-note-form textarea{font-size:12px;min-height:80px}.item-note-form .comment-form-footer{margin-top:10px;gap:10px;flex-wrap:wrap}.item-note-form .upload-choice{font-size:10px}.item-note-form .form-error:not(:empty){margin-top:12px}.item-publish-choice{display:flex;align-items:flex-start;gap:11px;padding:15px;background:#f5efe4;border:1px solid #e4d8c4;border-radius:10px;cursor:pointer}.item-publish-choice input{flex:0 0 16px;margin:2px 0 0}.item-publish-choice strong{display:block;font-size:12px;font-weight:500;line-height:1.6}.item-publish-choice small{display:block;color:var(--muted);font-size:10px;line-height:1.7;margin-top:4px}.item-confirmation-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.item-confirmation-dialog .modal-heading>p{overflow-wrap:anywhere}.item-confirmation-dialog .notice{margin:0}.item-sources{border:1px solid #e1d4bd;border-radius:11px;background:#f6efe3;margin:0 0 20px}.item-sources>summary{padding:13px 16px}.item-sources>summary>small{font-size:10px;font-weight:500;background:#e8dcc8;border-radius:5px;padding:1px 6px;margin-left:auto}.item-sources-body{padding:0 16px 16px}.item-sources-body>.field-hint{font-size:10px;line-height:1.7;margin-bottom:14px}.item-source{padding:13px 0;border-top:1px solid #e3d8c6;min-width:0}.item-source:last-child{padding-bottom:0}.item-source-meta{display:flex;flex-wrap:wrap;gap:5px 13px;color:#86755b;font-size:9px}.item-source h4{font-size:12px;font-weight:600;line-height:1.7;margin:5px 0 0;overflow-wrap:anywhere}.source-excerpt{margin-top:8px}.source-excerpt>summary{cursor:pointer;font-size:10px;color:#776951;line-height:1.8}.source-excerpt p{font-size:11px;color:#625746;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;margin-top:9px;padding:11px;background:#fffaf1;border-radius:7px;max-height:340px;overflow-y:auto}.source-external-link{display:inline-flex;align-items:center;gap:5px;text-decoration:underline;text-underline-offset:3px;font-size:10px;margin-top:10px}.source-external-link .icon{width:13px;height:13px}
@media(max-width:600px){.items-section-heading{display:block}.items-section-heading>.btn{margin-top:13px;min-height:38px}.items-section-heading p{font-size:11px}.item-card-heading{padding:17px 16px 0;gap:10px;flex-wrap:wrap}.item-card-heading>.btn{margin-left:39px;min-height:34px;padding:7px 10px}.item-title{gap:11px;flex:1 1 100%}.item-title h4{font-size:15px}.item-tags{gap:4px 8px}.item-visibility{font-size:8px}.item-metadata{margin:17px 16px 18px;gap:11px 20px}.item-metadata .item-planned{margin-left:0;text-align:left}.item-metadata dd{font-size:12px}.item-progress-grid{padding:0 16px 18px;grid-template-columns:minmax(0,1fr);gap:10px}.item-phase{padding:15px}.item-phase-title{margin-bottom:13px}.item-phase-title h5{font-size:12px}.item-phase-title .text-btn{font-size:10px;min-height:30px;padding:5px 0}.item-unknown{font-size:16px}.item-confirmed-quantity{font-size:27px}.item-confirmation-note{font-size:12px}.item-confirmation-meta{font-size:10px}.item-progress-caption{font-size:11px}.item-earlier-stages{padding:0 16px 17px;gap:9px 16px}.item-materials>summary{padding:13px 16px;flex-wrap:wrap;gap:5px 8px}.item-materials>summary>small{margin-left:23px;order:4;flex-basis:100%}.item-materials>summary>.icon:last-child{margin-left:auto}.item-materials-body{padding:0 16px 18px}.item-upload-tools{gap:12px}.item-upload-tools .btn{min-height:36px}.item-note-form textarea{font-size:16px}.item-note-form .comment-form-footer{display:block}.item-note-form .comment-form-footer>.btn{margin-top:13px;min-height:38px}.item-confirmation-fields{grid-template-columns:minmax(0,1fr);gap:14px}.item-publish-choice{padding:13px}.item-publish-choice strong{font-size:11px}.item-publish-choice small{font-size:10px}.items-overview-link{padding:16px}.item-sources>summary{padding:13px}.item-sources-body{padding:0 13px 15px}.item-source h4{font-size:12px}.source-excerpt p{font-size:12px}}

/* Document review workspace. The file, signatures and revision are distinct. */
.documents-page-heading{align-items:flex-start}.documents-page-heading p{max-width:640px;line-height:1.7}.documents-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}.document-stat{text-align:left;border:1px solid var(--line);border-radius:12px;padding:20px;background:var(--surface);display:flex;flex-direction:column;align-items:flex-start;min-width:0}.document-stat>span{font-size:11px;color:var(--muted);line-height:1.6}.document-stat>strong{font-size:29px;line-height:1.25;font-weight:550;font-variant-numeric:tabular-nums;margin-top:11px}.document-stat>small{font-size:10px;color:var(--muted);margin-top:10px;display:flex;align-items:center;gap:7px}.document-stat>small .icon{width:12px;height:12px}button.document-stat:hover{border-color:#bcad98;background:#fffaf2}.documents-workspace{border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden}.document-tabs{display:flex;align-items:stretch;gap:3px;overflow-x:auto;border-bottom:1px solid var(--line);padding:0 18px;scrollbar-width:thin}.document-tab{white-space:nowrap;display:flex;align-items:center;gap:8px;font-size:12px;min-height:59px;padding:15px 13px;border-bottom:3px solid transparent;color:var(--muted)}.document-tab[aria-selected=true]{border-color:var(--accent);color:var(--ink);font-weight:600}.document-tab>span{font-size:10px;min-width:21px;padding:1px 6px;border-radius:5px;background:#efe8dc;color:#655744;font-weight:500;font-variant-numeric:tabular-nums}.document-tab[aria-selected=true]>span{background:#29241f;color:#fffaf1}.document-filters{display:grid;grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(140px,1fr));gap:10px;padding:21px 21px 12px}.document-filters select,.document-search input{min-height:42px;font-size:11px}.document-search{position:relative;min-width:0}.document-search>.icon{position:absolute;top:12px;left:12px;width:17px;height:17px;color:#8a7b68}.document-search input{padding-left:36px;width:100%}.document-result-count{font-size:10px;color:var(--muted);padding:0 22px 17px}.documents-table-scroll{overflow-x:auto}.documents-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:12px}.documents-table th{font-size:10px;color:var(--muted);font-weight:500;padding:11px 20px;background:#f7f3ec;text-align:left;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.documents-table th:first-child{width:38%}.documents-table th:nth-child(2){width:20%}.documents-table th:nth-child(3){width:25%}.documents-table th:last-child{width:17%}.documents-table td{padding:20px;vertical-align:top;border-bottom:1px solid var(--line);min-width:0}.documents-table tr:last-child td{border-bottom:0}.document-identity{display:flex;gap:12px;align-items:flex-start;min-width:0}.document-identity>div{min-width:0}.document-file-icon{width:34px;height:40px;flex-shrink:0;display:grid;place-items:center;border-radius:8px;color:#857055;background:#f2eadc}.document-file-icon .icon{width:19px;height:19px}.document-name{font-weight:600;font-size:12px;line-height:1.75;overflow-wrap:anywhere;display:block;text-underline-offset:3px}.document-name:hover{text-decoration:underline}.document-subline,.document-received{font-size:10px;line-height:1.7;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.document-received{color:#8a7c6b;margin-top:3px}.document-visibility{font-size:9px;line-height:1.6;display:inline-flex;align-items:center;gap:4px;margin-top:8px;color:#327554}.document-visibility.is-internal{color:#8a7455}.document-visibility .icon{width:11px;height:11px}.document-versions-link{display:block;max-width:100%;white-space:normal;margin-top:8px;padding:3px 0;text-align:left;font-size:10px;line-height:1.7;color:#695330;text-decoration:underline;text-underline-offset:3px}.document-badges{display:flex;gap:7px;flex-direction:column;align-items:flex-start}.document-badge{font-size:9px;line-height:1.5;padding:5px 8px;border-radius:6px;border:1px solid transparent;max-width:100%}.document-badge-green{color:#306344;background:#edf5ee;border-color:#dce9dd}.document-badge-amber{color:#855c20;background:#fcf3dd;border-color:#ecdfbf}.document-badge-blue{color:#3d617c;background:#edf3f7;border-color:#dce6ee}.document-badge-neutral{color:#766b5e;background:#f4efe7;border-color:#e9e0d4}.document-badge-muted{color:#79746f;background:#f1efeb;border-color:#e3dfd9}.document-row.is-archived{background:#fbf9f5}.document-row-actions{display:flex;align-items:flex-start;flex-direction:column;gap:8px}.document-row-actions>.btn{font-size:10px;min-height:33px;padding:6px 9px;white-space:normal;text-align:left}.document-current-action{font-size:10px;line-height:1.7;text-align:left;color:#675034;text-decoration:underline;text-underline-offset:3px;padding:3px 0}.document-order-link{font-size:11px;line-height:1.7;text-align:left;font-weight:600;padding:0;overflow-wrap:anywhere}.document-order-link:hover{text-decoration:underline}.document-order-link small,.document-unassigned small{display:block;font-size:10px;color:var(--muted);font-weight:400;line-height:1.8;margin-top:5px}.document-unassigned{font-size:11px;color:#8b6a38}.document-group-filter{display:flex;gap:12px;align-items:center;justify-content:space-between;background:#f3ecdf;margin:0 21px 14px;padding:10px 13px;border-radius:8px;font-size:11px}.document-results>.empty{margin:0 20px 20px}.documents-queue-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;border:1px solid #d8c9ae;background:#f9f1e2;border-radius:11px;padding:15px 18px;margin-bottom:20px}.documents-queue-banner>span{font-size:12px;font-weight:500}.documents-queue-banner small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:4px}.is-detail .document-tabs{padding:0;gap:0}.is-detail .document-tab{padding:12px 9px;min-height:50px;font-size:11px;gap:6px}.is-detail .document-filters{grid-template-columns:1fr 1fr;padding:17px 0 10px}.is-detail .document-search{grid-column:1/-1}.is-detail .document-result-count{padding:0 0 15px}.is-detail .document-group-filter{margin:0 0 13px}.is-detail .document-results>.empty{margin:0}.is-detail .documents-table{table-layout:auto}.is-detail .documents-table thead{display:none}.is-detail .documents-table tbody{display:grid;gap:12px}.is-detail .documents-table tr{display:grid;grid-template-columns:1fr;gap:14px;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.is-detail .documents-table td{display:block;border:0;padding:0;width:100%}.is-detail .document-badges{flex-direction:row;flex-wrap:wrap}.is-detail .document-row-actions{flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px}.is-detail .document-row-actions>.btn{min-height:35px}.document-edit-dialog{width:720px}.document-preview-link{display:inline-flex;gap:7px;align-items:center;font-size:12px;text-decoration:underline;text-underline-offset:3px;margin:0 0 18px}.document-preview-link .icon{width:16px;height:16px}.document-sources{border:1px solid var(--line);border-radius:9px;padding:12px 14px;margin-bottom:22px;background:#faf5ec;font-size:11px}.document-sources>summary{display:flex;align-items:center;gap:7px;cursor:pointer}.document-sources>summary .icon{width:13px;height:13px}.document-sources p{font-size:10px;color:var(--muted);line-height:1.8;margin-top:12px;overflow-wrap:anywhere}.document-sources a{display:inline-flex;align-items:center;gap:5px;font-size:11px;text-decoration:underline;text-underline-offset:3px;margin:12px 15px 0 0}.document-sources a .icon{width:12px;height:12px}.document-current-form{display:grid;gap:18px;margin-top:22px}.document-current-form .upload-choice{align-items:flex-start;font-size:12px;line-height:1.75}.document-current-form .upload-choice input{flex-shrink:0;margin-top:3px}.document-upload-dialog{width:760px}.document-upload-options{display:grid;grid-template-columns:1fr 1fr;gap:15px}.document-upload-options>.field:first-child{grid-column:1/-1}.document-upload-options>.upload-choice{align-self:end;min-height:44px;font-size:11px}.document-upload-picker{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:22px 0 16px}.document-upload-picker>span{font-size:10px;color:var(--muted)}.document-upload-empty{font-size:12px;padding:20px;border:1px dashed #d4c6b3;border-radius:10px;background:#faf6ef;line-height:1.8;color:var(--muted)}.document-upload-progress{display:flex;gap:7px 15px;align-items:center;flex-wrap:wrap;margin:20px 0 14px}.document-upload-progress strong{font-size:12px;font-weight:500}.document-upload-progress>span{font-size:10px;color:var(--muted)}.document-upload-progress progress{appearance:none;height:6px;border:0;border-radius:6px;width:100%;background:#eee5d6;overflow:hidden}.document-upload-progress progress::-webkit-progress-bar{background:#eee5d6}.document-upload-progress progress::-webkit-progress-value{background:#5d775e}.document-upload-progress progress::-moz-progress-bar{background:#5d775e}.document-upload-list{padding:0;margin:0;list-style:none;max-height:350px;overflow-y:auto;border:1px solid var(--line);border-radius:10px}.document-upload-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:14px;border-bottom:1px solid var(--line);align-items:start}.document-upload-item:last-child{border-bottom:0}.document-upload-file{min-width:0}.document-upload-file strong{font-size:11px;font-weight:500;display:block;line-height:1.7;overflow-wrap:anywhere}.document-upload-file small{font-size:9px;color:var(--muted);display:block;margin-top:4px;line-height:1.8}.document-upload-status{font-size:10px;color:#7a6e5d;line-height:1.7}.is-done .document-upload-status{color:var(--green)}.is-error .document-upload-status,.document-upload-error{color:var(--red)}.document-upload-error{grid-column:1/-1;font-size:11px;line-height:1.7;overflow-wrap:anywhere}.document-upload-item>.btn{justify-self:start}.document-upload-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0}.document-upload-dialog>.form-footer{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
@media(max-width:1250px){.document-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.document-search{grid-column:1/-1}.documents-table th,.documents-table td{padding:15px}.documents-stats{gap:9px}.document-stat{padding:17px}.document-file-icon{display:none}.documents-page-heading{display:block}.documents-page-heading .page-actions{margin-top:18px}}
@media(max-width:950px){.documents-table thead{display:none}.documents-table tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:0 20px 20px}.documents-table tr{display:flex;flex-direction:column;padding:17px;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.documents-table td{display:block;padding:0;border:0;width:100%}.documents-table td+td{margin-top:14px}.document-order-cell{padding-top:12px!important;border-top:1px solid var(--line)!important}.document-badges{flex-direction:row;flex-wrap:wrap}.document-row-actions{flex-direction:row;align-items:center;flex-wrap:wrap}.documents-table td:last-child{margin-top:auto;padding-top:16px}.document-stats{gap:8px}.document-stat>span{font-size:10px}.document-stat>small{font-size:9px}.is-detail .documents-table tbody{grid-template-columns:1fr;padding:0}.is-detail .documents-table td+td{margin-top:0}.is-detail .documents-table td:last-child{padding-top:0}}
@media(max-width:600px){.documents-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:19px}.document-stat{padding:15px;min-height:130px}.document-stat>span{font-size:11px}.document-stat>strong{font-size:26px}.document-stat>small{font-size:10px;margin-top:auto;padding-top:10px}.documents-page-heading p{font-size:12px!important}.documents-workspace{border:0;border-radius:0;background:transparent}.document-tabs{padding:0;gap:0;margin-bottom:5px}.document-tab{font-size:11px;padding:12px 10px;min-height:50px;gap:6px}.document-tab:first-child{padding-left:0}.document-tab>span{font-size:9px}.document-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;padding:15px 0 10px}.document-filters>select:last-child:nth-child(4){grid-column:1/-1}.document-filters select,.document-search input{font-size:12px;min-height:44px}.document-result-count{padding:0 0 15px;font-size:11px}.documents-table tbody{grid-template-columns:1fr;padding:0;gap:12px}.documents-table tr{padding:17px}.document-name{font-size:13px;line-height:1.7}.document-subline,.document-received{font-size:11px}.document-visibility{font-size:10px}.document-badge{font-size:10px}.document-order-link{font-size:12px}.document-order-link small{font-size:11px}.document-row-actions>.btn{font-size:11px;min-height:38px;padding:8px 10px}.document-current-action{font-size:11px;min-height:38px;padding:8px 0}.document-versions-link{font-size:11px;min-height:34px}.document-group-filter{margin:0 0 12px;flex-wrap:wrap}.document-results>.empty{margin:0}.documents-queue-banner{padding:13px;align-items:flex-start;gap:10px;flex-wrap:wrap}.documents-queue-banner>.btn{min-height:36px}.is-detail .document-tabs{margin-left:-2px;margin-right:-2px}.is-detail .document-tab{font-size:10px;padding:12px 8px}.is-detail .documents-table tr{padding:16px}.document-upload-options{grid-template-columns:1fr;gap:14px}.document-upload-options>.field:first-child{grid-column:auto}.document-upload-options>.upload-choice{min-height:36px;align-items:flex-start;font-size:12px}.document-upload-picker{align-items:flex-start;margin-top:16px;gap:10px}.document-upload-picker>span{font-size:11px;line-height:1.7}.document-upload-picker>.btn{min-height:40px}.document-upload-item{grid-template-columns:1fr;gap:7px;padding:13px}.document-upload-file strong{font-size:12px}.document-upload-file small{font-size:10px}.document-upload-status{font-size:11px}.document-upload-actions{align-items:stretch;flex-direction:column}.document-upload-actions>.btn{white-space:normal;font-size:12px;min-height:41px}.document-edit-dialog .edit-form{display:grid;grid-template-columns:1fr}.document-edit-dialog .wide{grid-column:1}.document-sources{font-size:12px}.document-current-form textarea,.document-upload-options select{font-size:16px}}

.document-upload-note{grid-column:1/-1;font-size:11px;line-height:1.8;color:#756246;background:#f6f0e4;border-radius:7px;padding:10px 12px;overflow-wrap:anywhere}

/* The main registry follows the ten-column source summary on every screen. */
.summary-stats{grid-template-columns:minmax(145px,.8fr) repeat(3,minmax(190px,1.2fr))}
.summary-stats .stat{min-height:100px;padding:19px 22px}
.summary-stats .stat-money{font-size:23px;letter-spacing:-.6px}
.summary-stats .stat-value small{display:block;margin:7px 0 0;font-size:10px;letter-spacing:0}
.summary-registry{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.summary-registry .registry-toolbar{padding:17px 20px;gap:10px}
.summary-registry .registry-title{font-size:14px;white-space:nowrap}
.summary-registry .search-control{max-width:300px;min-width:215px}
.summary-registry .filter-select{width:148px;font-size:11px}
.summary-registry .sort-select{width:180px;min-width:165px;font-size:11px}
.summary-table-help{padding:0 20px 15px;display:flex;align-items:center;justify-content:space-between;gap:8px 20px;color:var(--muted);font-size:10px;flex-wrap:wrap}
.summary-table-help>span:first-child{display:flex;align-items:center;gap:6px}
.summary-table-help .icon{width:13px;height:13px}
.summary-scroll{width:100%;overflow:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#c0c7cd #f1f3f5}
.summary-scroll:focus-visible{outline:2px solid #617f9d;outline-offset:-2px}
.summary-table{width:100%;min-width:1535px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px;color:#302c27}
.summary-col-number{width:60px}.summary-col-request{width:90px}.summary-col-invoice{width:135px}.summary-col-contract{width:150px}.summary-col-subject{width:245px}.summary-col-amount{width:145px}.summary-col-paid{width:130px}.summary-col-status{width:285px}.summary-col-approval{width:110px}.summary-col-delivery{width:185px}
.summary-table th,.summary-table td{padding:14px 12px;vertical-align:top;border-right:1px solid #e6e9ec;border-bottom:1px solid #e4e7ea;overflow-wrap:anywhere;line-height:1.55}
.summary-table th:last-child,.summary-table td:last-child{border-right:0}
.summary-table thead th{background:#dce7f7;color:#394a61;font-size:11px;font-weight:600;border-top:1px solid #c8d5e4;border-bottom:1px solid #bccde1;text-align:left;vertical-align:middle;height:69px}
.summary-table .table-sort{color:inherit;font-size:inherit;font-weight:inherit;line-height:1.45;width:100%;white-space:normal;align-items:flex-start;justify-content:space-between;gap:6px;text-align:left;min-height:32px;padding:0}
.summary-table .sort-mark{font-size:12px;flex-shrink:0}
.summary-table .numeric{text-align:right}
.summary-table .numeric .table-sort{text-align:right;justify-content:flex-end}
.summary-table .money{font-size:12px;font-weight:500;white-space:nowrap}
.summary-table .summary-index{padding:8px 5px;vertical-align:top}
.summary-row-toggle{width:100%;min-height:38px;display:flex;align-items:center;justify-content:center;gap:3px;padding:7px 0;border-radius:6px;font-size:11px;color:#626f7f;font-variant-numeric:tabular-nums}
.summary-row-toggle:hover{background:#e9eef5;color:#1f3652}
.summary-row-toggle>.icon{width:13px;height:13px;transition:transform .15s}
.summary-row-toggle[aria-expanded=true]>.icon{transform:rotate(90deg)}
.summary-row-toggle[aria-expanded=true]{color:#2b557c;background:#e3edf8}
.summary-order-row{background:#fff;cursor:pointer;transition:background .12s}
.summary-order-row:hover{background:#f8fbff}
.summary-order-row.is-expanded{background:#f3f7fd}
.summary-table .summary-subject{font-weight:500;white-space:pre-line;color:#302c27}
.summary-table .summary-contract{font-weight:600;color:#324762}
.summary-invoice,.summary-request,.summary-delivery{white-space:pre-line}
.summary-date{font-variant-numeric:tabular-nums;font-size:11px;white-space:nowrap}
.summary-muted{color:#989b9f;font-weight:400}
.summary-updated{display:block;font-size:9px;font-weight:400;color:var(--muted);margin-top:8px}
.summary-status .status{font-size:9px;margin-bottom:7px}
.summary-status-text,.summary-source-status>p{white-space:pre-line;font-size:11px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.is-expanded .summary-status-text,.is-expanded .summary-source-status>p{display:block}
.summary-source-status{color:#6d6456}
.summary-status-text+.summary-source-status{margin-top:10px;padding-top:9px;border-top:1px dashed #dedbd5}
.summary-private-label{display:flex;align-items:center;gap:4px;margin-bottom:5px;color:#938575;font-size:9px;font-weight:400}
.summary-private-label .icon{width:11px;height:11px}
.summary-section-row>th{padding:11px 16px;background:#edf2f8;color:#33475f;font-size:12px;font-weight:600;border-bottom:1px solid #d8e2ef}
.summary-section-heading{display:flex;gap:10px;align-items:center;text-align:left}
.summary-section-heading>.pill-count{background:#fff;border-color:#d6dfea;color:#68809a}
.summary-section-heading>small{font-size:10px;color:#718197;font-weight:400;margin-left:6px}
.summary-subtotal th,.summary-subtotal td{background:#f4f6f9;vertical-align:middle;padding-top:12px;padding-bottom:12px}
.summary-subtotal th{text-align:right;color:#56647a;font-size:11px}
.summary-subtotal td:last-child{font-size:10px;color:#8a9099}
.summary-amount-note{font-size:9px;display:block;color:#8b8f98;font-weight:400;margin-top:4px}
.summary-grand-total th,.summary-grand-total td{background:#e7eef7;color:#34475f;border-top:1px solid #cbd7e5;border-bottom:0;padding-top:16px;padding-bottom:16px}
.summary-grand-total th{text-align:right;font-size:12px}
.summary-grand-total td:last-child{font-size:10px;color:#718096}
.summary-grand-total .money{font-weight:600}
.summary-detail-row[hidden]{display:none}
.summary-detail-row>td{padding:0;background:#f3f7fd;border-right:0;border-bottom:1px solid #c9d8e9}
.summary-detail{position:sticky;left:18px;width:min(1100px,calc(100vw - 112px));padding:22px 0 25px;margin:0 18px;max-width:calc(100% - 36px);text-align:left;cursor:auto}
.has-sidebar .summary-detail{width:min(1100px,calc(100vw - var(--sidebar-width) - 102px))}
.summary-detail .notice{margin:0 0 17px;font-size:11px}
.summary-detail-loading{display:flex;align-items:center;gap:12px;min-height:100px;font-size:12px;color:#718197}
.summary-detail-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}
.summary-detail-eyebrow{display:block;font-size:9px;text-transform:uppercase;letter-spacing:1.2px;color:#8292a5;margin-bottom:6px}
.summary-detail-heading h3{font-size:16px;font-weight:600;color:#304763}
.summary-detail-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.summary-detail-actions>.btn{font-size:10px}
.summary-detail-info{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;margin-bottom:17px}
.summary-detail h4{font-size:11px;font-weight:600;color:#4d617c;margin:0 0 8px}
.summary-detail-info p{font-size:12px;white-space:pre-line;line-height:1.7;color:#526173}
.summary-detail-info small{display:block;font-size:10px;color:#8896a8;margin-top:8px}
.summary-source-notes{border:1px solid #e3dbc9;background:#fffaf0;border-radius:8px;padding:11px 13px;margin-bottom:20px;font-size:11px;color:#7e705b}
.summary-source-notes>summary{display:flex;gap:7px;align-items:center;cursor:pointer;font-size:10px}
.summary-source-notes>summary .icon{width:12px;height:12px}
.summary-source-notes p{margin-top:12px;white-space:pre-line}
.summary-source-notes ul{padding-left:18px;margin:10px 0 0;line-height:1.7}
.summary-detail-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}
.summary-detail-section-title h4{display:flex;align-items:center;gap:8px;margin:0;font-size:12px}
.summary-detail-section-title>.btn{font-size:10px}
.summary-document-list{display:grid;gap:8px}
.summary-document{display:grid;grid-template-columns:minmax(200px,1fr) minmax(145px,210px) auto;align-items:center;gap:16px;padding:15px;background:#fff;border:1px solid #dae3ef;border-radius:9px}
.summary-document.is-archived{background:#f8f9fb}
.summary-document-identity{display:flex;align-items:flex-start;gap:10px;min-width:0}
.summary-document-identity>.icon{width:18px;height:20px;color:#8aa0b9;margin-top:4px}
.summary-document-identity>div{min-width:0}
.summary-document .document-name{font-size:11px;line-height:1.6;color:#344e6c}
.summary-document .document-subline{font-size:9px;margin-top:4px}
.summary-document .document-visibility{font-size:9px;margin-top:5px}
.summary-document .document-badges{gap:5px}
.summary-document .document-badge{font-size:9px;padding:4px 7px}
.summary-document-download{display:flex;align-items:center;gap:5px;font-size:10px;color:#597593;padding:8px}
.summary-document-download:hover{background:#f1f5fa;border-radius:6px}
.summary-document-download>.icon{width:14px;height:14px}
.summary-inline-empty{font-size:11px;color:#8995a3;border:1px dashed #cbd7e5;border-radius:8px;padding:20px;background:#f8fbff}
.summary-related-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}
.summary-related-actions>.btn{font-size:10px}
.summary-detail-updated{font-size:9px;color:#909eaf;margin-top:14px}
.summary-registry .table-foot{border-top:1px solid #d7e0eb;background:var(--surface);margin:0;padding:12px 20px}
@media(max-width:1250px){.summary-stats,.has-sidebar .summary-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-registry .registry-title{width:100%}.summary-registry .search-control{margin-left:0;max-width:none}.summary-stats .stat{padding:17px 21px}.summary-stats .stat-money{font-size:23px}.summary-detail-actions{justify-content:flex-end}}
@media(max-width:760px){.has-sidebar .summary-detail,.summary-detail{width:calc(100vw - 80px)}.summary-detail-heading{align-items:flex-start}.summary-detail-actions{gap:5px}.summary-detail-info{gap:16px}.summary-document{grid-template-columns:minmax(0,1fr) auto;gap:12px}.summary-document .document-badges{grid-column:1;grid-row:2;flex-direction:row;flex-wrap:wrap}.summary-document-download{grid-column:2;grid-row:1/3}.summary-detail-heading h3{font-size:14px}}
@media(max-width:600px){.summary-stats .stat,.has-sidebar .summary-stats .stat{padding:15px;min-height:95px}.summary-stats .stat-money,.has-sidebar .summary-stats .stat-money{font-size:18px}.summary-stats .stat-label{font-size:10px}.summary-stats .stat-value small{font-size:9px}.summary-registry{border:1px solid var(--line);border-radius:11px}.summary-registry .registry-toolbar{display:grid;grid-template-columns:1fr 1fr 38px;padding:15px 13px;gap:8px}.summary-registry .registry-title{grid-column:1/-1;font-size:13px;margin:0 0 4px}.summary-registry .search-control,.has-sidebar .summary-registry .search-control{grid-column:1/-1;margin:0;min-width:0;max-width:none}.summary-registry .filter-select{grid-column:auto;min-width:0;width:100%;min-height:40px;padding:8px;font-size:11px}.summary-registry #registry-section{grid-column:1}.summary-registry #registry-stage{grid-column:2/4}.summary-registry .sort-select{grid-column:1/3;width:100%;min-width:0;min-height:40px;padding:8px;font-size:11px}.summary-registry .refresh-btn{grid-column:3;min-height:40px}.summary-table-help{padding:0 13px 13px;font-size:9px;line-height:1.6}.summary-table-help>span:last-child{margin-left:19px}.summary-table{min-width:1535px}.summary-registry .table-foot{padding:12px 13px;align-items:flex-start;flex-direction:column;gap:6px;font-size:9px}.summary-registry .foot-secure{display:flex}.has-sidebar .summary-detail,.summary-detail{width:calc(100vw - 62px);max-width:calc(100% - 26px);left:13px;margin:0 13px;padding:18px 0}.summary-detail-heading{display:block}.summary-detail-actions{justify-content:flex-start;margin-top:13px}.summary-detail-actions>.btn{font-size:10px;min-height:35px}.summary-detail-info{grid-template-columns:1fr;gap:15px}.summary-detail-info p{font-size:11px}.summary-detail-section-title{align-items:flex-start;gap:8px}.summary-detail-section-title>.btn{font-size:9px;max-width:160px;white-space:normal;text-align:left}.summary-document{padding:12px;gap:9px}.summary-document-identity{gap:7px}.summary-document-identity>.icon{display:none}.summary-document-download{padding:7px 0;font-size:0}.summary-document-download>.icon{width:19px;height:19px}.summary-document .document-name{font-size:11px}.summary-source-notes>summary{font-size:9px}.summary-detail .notice{font-size:10px;padding:11px}.summary-related-actions{gap:6px}.summary-related-actions>.btn{font-size:9px;min-height:34px;padding:7px 9px}.summary-grand-total th,.summary-subtotal th{text-align:left}}
@media(prefers-reduced-motion:reduce){.summary-row-toggle>.icon,.summary-order-row{transition:none}}
.summary-document-review{font-size:10px;color:#7b715f;margin-top:9px}
.summary-document-review>summary{display:flex;gap:5px;align-items:center;cursor:pointer;font-size:9px;text-decoration:underline;text-underline-offset:3px}
.summary-document-review>summary .icon{width:11px;height:11px}
.summary-document-review dl{margin:10px 0 0;padding:10px 12px;border-radius:6px;background:#faf6ef;border:1px solid #e9e0d3}
.summary-document-review dl>div+div{margin-top:10px}
.summary-document-review dt{font-size:9px;font-weight:600;margin-bottom:4px;color:#8b7b64}
.summary-document-review dd{margin:0;white-space:pre-line;overflow-wrap:anywhere;line-height:1.7}
