#editor:has(>.project-entry-form){padding:0;width:860px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 48px);overflow:hidden;border:1px solid #dbe3ec;border-radius:10px;background:#fff}
.project-entry-form{display:flex;flex-direction:column;max-height:calc(100dvh - 50px);color:#26384b;font-family:Pretendard,sans-serif}
.project-entry-header{padding:23px 28px 20px;border-bottom:1px solid #e4e9ef;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-shrink:0;background:#fff}
.project-entry-eyebrow{font-size:11px;letter-spacing:1px;font-weight:600;color:#6c7b8d;margin:0 0 5px}
#editor .project-entry-header h2{font-size:21px;line-height:1.4;font-weight:700;margin:0;letter-spacing:-.5px;color:#20334b}
.project-entry-subtitle{font-size:12px;color:#6a798b;margin:7px 0 0}
.project-entry-close{display:grid;place-items:center;border:0;background:transparent;color:#7b8da1;font:400 25px Pretendard,sans-serif;width:32px;height:32px;border-radius:5px;margin:-4px -8px 0 0;flex-shrink:0}
.project-entry-close:hover{background:#f0f4f9;color:#344d69}
.project-entry-content{padding:0 28px;overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable}
.project-entry-section{padding:21px 0;border-bottom:1px solid #e7ecf2}
.project-entry-section h3{font-size:14px;color:#1e4e82;line-height:1.5;font-weight:700;margin:0 0 14px;display:flex;gap:9px;align-items:center}
.project-entry-section h3:before{content:'';width:3px;height:13px;background:#225fa7;border-radius:1px}
.project-entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px}
.project-entry-four{grid-template-columns:repeat(4,minmax(0,1fr))}.project-entry-two{grid-template-columns:repeat(2,minmax(0,1fr))}.project-entry-span-two{grid-column:span 2}.project-entry-full{grid-column:1/-1}.project-entry-followups{margin-top:14px}
.project-entry-form .project-entry-field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:550;color:#46586e;min-width:0}
.project-entry-required{color:#1c5ca4}
.project-entry-form .project-entry-field input,.project-entry-form .project-entry-field select,.project-entry-form .project-entry-field textarea{display:block;width:100%;min-width:0;height:39px;padding:9px 11px;border:1px solid #cfd9e5;border-radius:5px;margin:0;background:#fff;color:#2c4058;font:400 14px/1.4 Pretendard,sans-serif}
.project-entry-form .project-entry-field textarea{height:76px;resize:vertical;min-height:58px}
.project-entry-form input::placeholder,.project-entry-form textarea::placeholder{color:#98a3b1}
.project-entry-form [data-numeric-input],.project-entry-form input[type=number]{text-align:right;font-variant-numeric:tabular-nums}
.project-entry-amount{margin-top:14px;background:#f3f7fc;border:1px solid #e0e8f3;border-radius:5px;padding:11px 13px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.project-entry-amount>span{color:#5e728b;font-size:12px}.project-entry-amount small{font-size:11px;font-weight:400;color:#7e8fa3;margin-left:7px}.project-entry-amount output{font-size:19px;font-weight:700;color:#174d88;font-variant-numeric:tabular-nums;white-space:nowrap}
.project-entry-notes{margin-top:16px;border-top:1px solid #e7ecf2;padding-top:13px}.project-entry-notes summary{font-size:13px;color:#52677f;cursor:pointer}.project-entry-notes .project-entry-field{margin-top:12px}
.project-entry-deliveries{padding:17px 0 21px}.project-entry-deliveries>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;font-size:13px;color:#52677f;cursor:pointer}.project-entry-deliveries>summary::-webkit-details-marker{display:none}.project-entry-deliveries>summary>span:before{content:'＋';margin-right:7px;color:#2463ab}.project-entry-deliveries[open]>summary>span:before{content:'−'}.project-entry-deliveries>summary small{color:#8290a0;font-size:12px}
.project-entry-deliveries .delivery-editor{margin-top:16px;padding-top:16px}.project-entry-deliveries .delivery-editor h2{display:none}.project-entry-deliveries .delivery-editor .panelhead p{font-size:12px;margin:0;max-width:390px}.project-entry-deliveries .delivery-hint{font-size:12px;color:#6a7f95}.project-entry-deliveries .delivery-preview{gap:15px;padding:13px;border-radius:5px}.project-entry-deliveries .delivery-editor td,.project-entry-deliveries .delivery-editor th{padding:10px 7px}.project-entry-deliveries .delivery-editor input{font-size:12px;min-width:110px}.project-entry-deliveries .delivery-editor .tablewrap{max-width:100%}
.project-entry-footer{background:#f8fafc;border-top:1px solid #dfe7f0;padding:16px 28px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-shrink:0}.project-entry-footer-note{font-size:12px;color:#7c8a9c}.project-entry-actions{display:flex;gap:8px;align-items:center}.project-entry-actions .btn{padding:10px 18px;border-radius:5px;font-size:13px;min-height:39px}.project-entry-actions .primary{min-width:84px}.project-entry-actions .danger{margin:0 8px 0 0;border-color:transparent;background:transparent}
@media(max-width:650px){#editor:has(>.project-entry-form){max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.project-entry-form{max-height:calc(100dvh - 22px)}.project-entry-header{padding:20px}.project-entry-content{padding:0 20px}.project-entry-grid,.project-entry-four{grid-template-columns:repeat(2,minmax(0,1fr))}.project-entry-customer{grid-column:1/-1}.project-entry-footer{padding:14px 20px}.project-entry-amount small{display:block;margin-left:0}.project-entry-deliveries .panelhead{flex-wrap:wrap}.project-entry-form .project-entry-field input,.project-entry-form .project-entry-field select,.project-entry-form .project-entry-field textarea{font-size:16px}}
@media(pointer:coarse){.project-entry-close,.project-entry-actions .btn{min-height:44px;min-width:44px}}
