.project-workspace{width:min(1420px,96vw);max-width:none;height:min(900px,94dvh);max-height:94dvh;padding:0;border:1px solid #ffffffa6;border-radius:28px;background:#f8f9fb;color:var(--ink,#202124);box-shadow:0 35px 110px #17213c38;overflow:hidden}.project-workspace::backdrop{background:#19243b66;backdrop-filter:blur(8px)}.project-window-header{padding:20px 28px 15px;display:flex;align-items:center;justify-content:space-between;background:#ffffffd9;border-bottom:1px solid #e5e7eb}.project-window-header h2{margin:2px 0 0;font-size:24px;letter-spacing:-.04em}.project-window-header .eyebrow{margin:0;font-size:10px}.project-local-notice{margin:0;padding:12px 28px;display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.6;color:#697586;background:#eef1f6}.project-local-notice svg{width:16px;min-width:16px;margin-top:2px}.project-window-body{display:grid;grid-template-columns:240px minmax(0,1fr);height:calc(100% - 135px);overflow:hidden}.project-library{display:flex;flex-direction:column;min-height:0;padding:22px 15px;background:#f0f2f7;border-inline-end:1px solid #e0e4ec}.project-library-heading{display:flex;align-items:center;justify-content:space-between;padding:0 8px 14px}.project-library-heading h3{font-size:13px;margin:0}.project-library-heading>span{font-size:10px;color:#7b8494}.project-new{width:100%;font-size:12px;min-height:42px;justify-content:center}.project-library-list{flex:1;overflow:auto;margin:12px -3px;padding:3px;min-height:80px}.project-library-item{display:block;text-align:start;width:100%;background:transparent;border:1px solid transparent;border-radius:12px;padding:12px 10px;margin-bottom:5px;color:inherit;cursor:pointer;transition:background .16s,box-shadow .16s}.project-library-item:hover{background:#ffffff8c}.project-library-item.active{background:white;box-shadow:0 3px 12px #1b2c4810;border-color:#e3e7ed}.project-library-item strong,.project-library-item span,.project-library-item small{display:block;overflow-wrap:anywhere}.project-library-item strong{font-size:13px;line-height:1.45}.project-library-item span{font-size:11px;color:#637082;margin:4px 0}.project-library-item small{font-size:10px;color:#858f9e}.project-empty-library{font-size:12px;line-height:1.6;color:#7b8494;padding:14px 8px}.project-backup{display:grid;gap:7px;padding-top:12px;border-top:1px solid #dfe3eb}.project-backup .plain-button{font-size:11px;justify-content:center;min-height:38px}.project-import{position:relative;cursor:pointer;overflow:hidden}.project-import input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.project-link-button{border:0;background:none;font:inherit;font-size:11px;color:#64748b;padding:8px;cursor:pointer}.project-main{overflow:auto;min-width:0;padding:25px 28px 40px;background:#fafbfe}.project-editor{max-width:1100px;margin:auto}.project-editor-heading{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-bottom:22px}.project-editor-heading .eyebrow{font-size:10px;margin:0 0 6px}.project-editor-heading h3{font-size:24px;letter-spacing:-.035em;margin:0;overflow-wrap:anywhere}.project-save-state{font-size:11px;white-space:nowrap;padding:5px 9px;border-radius:20px;background:#e8edf4;color:#667487}.project-fields{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:14px}.project-fields label{display:grid;gap:7px;font-size:12px;color:#687386}.project-workspace input,.project-workspace textarea{font:inherit;color:inherit;background:#fff;border:1px solid #dce1e9;border-radius:10px;padding:11px 12px;min-width:0;width:100%;outline-offset:3px;box-sizing:border-box}.project-workspace textarea{resize:vertical}.project-workspace input:focus,.project-workspace textarea:focus{border-color:#82acfb;box-shadow:0 0 0 3px #438cfa13}.project-workspace input:invalid:not(:focus){border-color:#e6b7b7}.project-workspace .project-notes{grid-column:1/-1}.project-snapshot{display:flex;gap:8px 18px;flex-wrap:wrap;align-items:center;padding:17px 18px;margin:20px 0 24px;background:#edf2f8;border:1px solid #e3eaf3;border-radius:14px;font-size:11px;color:#62728b}.project-snapshot>span{display:flex;align-items:center;gap:7px}.project-snapshot svg{width:14px;height:14px}.project-snapshot p{flex-basis:100%;line-height:1.6;margin:0}.project-snapshot .plain-button{font-size:11px;min-height:33px}.project-lines-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.project-lines-heading h4{font-size:14px;margin:0}.project-lines-heading h4 span{color:#7c8798;font-weight:400;font-size:11px;margin-inline-start:8px}.project-lines-heading .plain-button{font-size:11px;min-height:34px}.project-line-table{background:#fff;border:1px solid #e1e6ed;border-radius:15px}.project-line-table table{width:100%;min-width:700px;border-collapse:collapse;font-size:12px}.project-line-table th{padding:13px 12px;background:#f3f5f9;font-size:10px;text-align:start;font-weight:600;color:#7c8795}.project-line-table td{padding:15px 12px;vertical-align:top;border-top:1px solid #edf0f5}.project-line-table td:first-child{width:32%;min-width:190px}.project-line-table td:first-child>strong{display:block;font-size:12px;line-height:1.5}.project-line-table code{display:block;font-size:11px;margin:5px 0;line-height:1.5;color:#5d6c80}.project-line-table td:first-child>small{display:block;font-size:10px;color:#8491a2}.project-line-table .project-quantity{width:77px;padding:8px;text-align:center;font-size:12px}.project-line-table textarea{width:150px;min-height:60px;padding:8px;font-size:11px}.project-line-table bdi{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px}.project-line-table .icon-button{width:28px;height:28px}.project-price-status{display:block;font-size:10px;color:#6c7b8e;margin-top:7px}.project-price-status.unconfirmed,.project-row-warning{color:#a46a16}.project-row-warning{font-size:10px;line-height:1.55;display:block;margin:5px 0;max-width:260px}.project-total-region{display:flex;justify-content:flex-end;margin-top:18px}.project-total{display:grid;gap:6px;text-align:end;max-width:420px}.project-total>span{font-size:12px;color:#6d7b8c}.project-total>strong{font-size:30px;letter-spacing:-.035em;font-variant-numeric:tabular-nums}.project-total>small{font-size:11px;line-height:1.5;color:#8a701c}.project-price-disclaimer{font-size:10px;line-height:1.7;color:#8490a1;text-align:end;margin:13px 0 20px}.project-editor-actions{display:flex;justify-content:space-between;align-items:center;padding-top:20px;border-top:1px solid #e4e8ee;gap:12px}.project-editor-actions>div{display:flex;align-items:center;gap:10px}.project-editor-actions button{font-size:12px;min-height:38px}.project-danger{font:inherit;border:0;background:none;color:#d64545;cursor:pointer;padding:8px 12px}.project-export-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.project-export-actions button{font-size:11px;min-height:37px}.project-start{display:grid;justify-items:center;align-content:center;max-width:450px;margin:60px auto;text-align:center}.project-start-icon{display:grid;place-items:center;width:70px;height:70px;border-radius:22px;background:#eaf0f8;margin-bottom:18px}.project-start-icon svg{width:30px;height:30px;color:#7389a8}.project-start h3{font-size:22px;letter-spacing:-.03em;margin:0}.project-start p{font-size:13px;line-height:1.8;color:#748196;margin:15px 0 23px}.project-message-region:empty{display:none}.project-error,.project-notice{padding:9px 28px;margin:0;font-size:12px;line-height:1.6}.project-error{background:#fff0ee;color:#ac332b}.project-notice{background:#eaf7ef;color:#2b7551}.project-workspace:has(.project-message-region:not(:empty)) .project-window-body{height:calc(100% - 175px)}.project-workspace button:focus-visible,.project-import:focus-within{outline:3px solid #438cfa66;outline-offset:3px}.project-workspace .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}
@media(max-width:1000px){.project-window-body{grid-template-columns:190px minmax(0,1fr)}.project-library{padding:18px 10px}.project-main{padding:22px 18px}.project-fields{grid-template-columns:1fr 1fr}.project-fields label:first-child{grid-column:1/-1}.project-editor-heading{align-items:flex-start}.project-save-state{white-space:normal;text-align:end}.project-editor-heading h3{font-size:21px}}
@media(max-width:650px){.project-workspace{width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0}.project-window-header{padding:17px 18px}.project-window-header h2{font-size:21px}.project-local-notice{padding:10px 18px;font-size:10px}.project-window-body{display:block;overflow:auto;height:calc(100% - 130px)}.project-library{border-inline-end:0;border-bottom:1px solid #dfe5ee;display:grid;grid-template-columns:1fr auto;gap:7px 10px;padding:12px 16px}.project-library-heading{padding:0;grid-column:1}.project-new{grid-column:2;grid-row:1;font-size:10px;min-height:34px}.project-library-list{grid-column:1/-1;display:flex;gap:7px;overflow-x:auto;margin:0;max-height:95px;min-height:0}.project-library-item{min-width:160px;max-width:200px;padding:8px;margin:0}.project-library-item strong{font-size:11px}.project-library-item small{font-size:9px}.project-empty-library{padding:4px;margin:0}.project-backup{display:flex;flex-wrap:wrap;grid-column:1/-1;gap:6px;padding-top:8px}.project-backup .plain-button{font-size:9px;min-height:30px;padding:6px 8px}.project-link-button{font-size:9px}.project-main{overflow:visible;padding:20px 16px 40px}.project-fields{gap:10px}.project-fields label{font-size:11px}.project-snapshot{padding:13px;margin:16px 0}.project-editor-actions{align-items:flex-start;gap:8px}.project-editor-actions>div{gap:0}.project-editor-actions button{font-size:10px}.project-export-actions{gap:7px}.project-export-actions button{font-size:10px}.project-error,.project-notice{padding:8px 18px;font-size:10px}.project-total>strong{font-size:27px}.project-start{margin:28px auto}.project-lines-heading h4{font-size:12px}}
@media(prefers-reduced-motion:reduce){.project-workspace *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.project-row-thumb{float:inline-start;width:44px;height:44px;object-fit:contain;border-radius:9px;background:#f4f5f8;margin-inline-end:10px;margin-bottom:5px}.project-mobile-label{display:none}
@media(max-width:650px){.project-line-table{overflow:hidden;background:none;border:0}.project-line-table table{display:block;min-width:0;width:100%}.project-line-table thead{display:none}.project-line-table tbody{display:grid;gap:12px;width:100%}.project-line-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px;position:relative;border:1px solid #e1e6ed;border-radius:15px;padding:15px;background:#fff;box-shadow:0 2px 7px #1c273508;margin:0}.project-line-table td{display:block;border:0;padding:0;min-width:0}.project-line-table td:first-child{grid-column:1/-1;width:auto;min-width:0;padding-inline-end:23px}.project-line-table td:first-child>strong{font-size:12px;overflow-wrap:anywhere}.project-line-table td:nth-child(5){grid-column:1/-1}.project-line-table td:last-child{position:absolute;inset-inline-end:8px;top:11px}.project-line-table .project-quantity{width:70px;max-width:100%;height:34px}.project-line-table textarea{width:100%;min-height:46px;height:46px;box-sizing:border-box}.project-mobile-label{display:block;font-size:9px;color:#8290a0;margin-bottom:6px}.project-line-table td bdi{font-size:11px;display:block;padding-top:8px;max-width:100%;overflow-x:auto}.project-row-thumb{width:42px;height:42px}.project-line-table .project-price-status{clear:both;padding-top:3px}}
.project-workspace[open]{display:flex;flex-direction:column}.project-window-header,.project-local-notice,.project-message-region{flex-shrink:0}.project-window-body{flex:1;min-height:0;height:auto!important}
.project-line-table td{white-space:normal}.project-line-table td:first-child>strong{overflow-wrap:anywhere}.project-line-table code{overflow-wrap:anywhere}

.project-quantity-error{background:#fff0ee;border-radius:10px;padding:12px 16px;font-size:12px;line-height:1.6;color:#aa382e}
