.proc-page{--proc-ink:#283437;--proc-soft:#53626a;--proc-line:#dfe5e7;--proc-accent:#ad4913;color:var(--proc-ink)}
.proc-head,.proc-chat-head,.proc-review-head,.proc-review-footer,.proc-input-actions,.proc-row-tools,.proc-chat-suggestions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.proc-head{margin:0 0 20px}.proc-head h1{font-size:clamp(24px,2.3vw,32px);margin:0;line-height:1.25}
.proc-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}
.proc-choice{display:flex;position:relative;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;border:1px solid var(--proc-line);border-radius:12px;background:linear-gradient(115deg,#fff 55%,#fff7ee);padding:22px;color:var(--proc-ink);text-decoration:none}
.proc-choice[aria-current]{border-color:#e7a47c;box-shadow:inset 0 -3px #e77b39}
.proc-choice:hover{border-color:#dd9c75;background:#fff8f2}
.proc-choice strong{font-size:21px;line-height:1.5}.proc-detail,.proc-choice small{color:var(--proc-soft);font-size:14px;line-height:1.55}.proc-detail{margin-top:4px}.proc-choice small{font-size:12px}
.proc-glyph{position:absolute;right:19px;top:18px;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#fff0df}
.proc-glyph::before{content:'';width:20px;height:20px;background:#b85c21;mask:var(--glyph) no-repeat center/contain}
.proc-open{margin-top:11px;font-size:14px;line-height:1.4;font-weight:600;color:var(--proc-accent)}.proc-open span{margin-left:6px}
.proc-work{display:grid;gap:16px;min-width:0}.proc-work>*{min-width:0}
.proc-page .proc-drawing,.proc-chat,.proc-page .proc-input-panel,.proc-page .proc-review{padding:24px;background:#fff;border:1px solid var(--proc-line);border-radius:12px;box-shadow:none}
.proc-work h2,.proc-work h3{margin:0 0 5px;font-size:20px}
.proc-work h2+p,.proc-review-head p,.proc-chat-head p{color:var(--proc-soft);font-size:14px;margin:0}
.proc-input-panel label{display:block;margin:14px 0 6px;font-size:14px;font-weight:600}
.proc-input-panel textarea,.proc-chat-form textarea{display:block;width:100%;padding:12px;border:1px solid #bcc9cf;border-radius:6px;background:#fff;resize:vertical;font:inherit}
.proc-upload{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:#fffaf6;border:1px dashed #d3b6a1;padding:20px;margin:16px 0;border-radius:8px;text-align:center}.proc-upload small,.proc-table small{color:var(--proc-soft)}
.proc-input-actions,.proc-chat-suggestions,.proc-row-tools{justify-content:flex-start}.proc-input-actions{margin:12px 0}.proc-input-panel .note{margin:0}
.proc-table-scroll{overflow:auto;margin:14px 0}.proc-table{width:100%;border-collapse:collapse;font-size:14px}
.proc-table td,.proc-table th{padding:11px 8px;text-align:left;border-bottom:1px solid #e2e7e8;vertical-align:middle}
.proc-table th{background:#f5f7f8;color:#55636a;white-space:nowrap;font-size:13px}
.proc-table td small{display:block;overflow-wrap:anywhere}.proc-table select{max-width:230px}
.proc-match-status{display:block;font-size:12px;color:#765233}.proc-review-footer{font-size:14px}
.proc-rules{margin:18px 0;color:var(--proc-soft);font-size:14px}.proc-rules summary{cursor:pointer;width:fit-content;padding:8px 0}.proc-rules dl{margin:8px 0}.proc-rules dt{font-weight:600}.proc-rules dd{margin:3px 0 10px;line-height:1.65}
.proc-chat-suggestions{margin:16px 0}.proc-chat-log{display:flex;flex-direction:column;gap:14px;max-height:min(55vh,610px);overflow:auto;overscroll-behavior:contain}.proc-chat-log:not(:empty){margin:16px 0;padding:3px}
.proc-chat-message{align-self:flex-start;padding:11px 15px;border-radius:10px;background:#f5f7f8;max-width:min(90%,850px);overflow-wrap:anywhere}.proc-chat-message.is-user{align-self:flex-end;background:#fff1e7}
.proc-chat-message p{margin:3px 0 0}.proc-chat-message small{color:#56646a}
.proc-chat-product{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid var(--proc-line);border-radius:8px;background:white;margin-top:8px}.proc-chat-product div{flex:1;min-width:0}.proc-chat-product img{width:48px;height:48px}.proc-chat-product small,.proc-chat-product b{display:block}.proc-chat-product b{color:var(--proc-accent);font-size:14px}
.proc-chat-form{margin-top:14px;display:flex;align-items:flex-end;gap:10px}.proc-chat-form button{flex-shrink:0}.proc-chat-error{color:#a43e1c}
@media(max-width:740px){
 .proc-choices{gap:6px;margin-bottom:14px}.proc-choice{padding:12px 7px 11px;align-items:center;text-align:center;border-radius:8px}.proc-glyph{position:static;width:30px;height:30px}.proc-choice strong{font-size:15px}.proc-detail,.proc-choice small{display:none}.proc-open{font-size:12px;margin:3px 0 0}.proc-open span{margin:0}
 .proc-page .proc-drawing,.proc-chat,.proc-page .proc-input-panel,.proc-page .proc-review{padding:15px}.proc-head{margin-bottom:13px}.proc-head h1{font-size:23px}.proc-table{min-width:690px}.proc-chat-product{flex-wrap:wrap}.proc-chat-suggestions{gap:6px}
}
