.resane-workflow{max-width:980px;margin:0 auto 32px;color:#143d36;line-height:1.8}
.resane-header{position:relative;padding:24px 28px;margin:0 0 18px;border-radius:24px;background:linear-gradient(125deg,#0c4439,#16765b);color:#fff}
.resane-header h1{margin:2px 0 4px;font-size:clamp(1.55rem,3vw,2.25rem)}
.resane-header p{margin:0;max-width:680px;color:#e2f4ed}
.resane-panel{padding:24px;margin:16px 0;border:1px solid #dce9e5;border-radius:22px;background:#fff;box-shadow:0 12px 32px #0b41330a}
.resane-panel h2{margin:0 0 16px;font-size:1.3rem}
.resane-registration-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.resane-registration-heading h2{order:1}.resane-registration-heading small{order:2;color:#60756e;font-weight:700}
.resane-actions{display:flex;justify-content:flex-end;border-top:1px solid #e8eeeb;padding-top:18px;margin-top:20px}
.resane-intro{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}
.resane-intro article{padding:16px;border-radius:16px;background:#f2f9f5}
.resane-intro h3{margin:0 0 6px}
.resane-intro p{margin:0}
.resane-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;list-style:none;margin:0 0 24px;padding:0}
.resane-progress li{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 10px;border-radius:12px;background:#edf3f1;color:#59746d;font-size:.88rem}
.resane-progress li.done{background:#e5f6eb;color:#096c46}
.resane-progress li.current{background:#0a694f;color:#fff}
.resane-step-number{display:inline-grid;place-items:center;width:24px;height:24px;flex:none;border:1px solid currentColor;border-radius:50%;font-weight:700;line-height:1}
.resane-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.resane-choice{display:flex;align-items:flex-start;gap:12px;min-height:90px;padding:16px;border:1px solid #d6e7df;border-radius:16px;cursor:pointer}
.resane-choice.selected{border-color:#168260;background:#eef9f3}
.resane-choice input{width:18px;height:18px;margin:5px 0;flex:none;accent-color:#08744f}
.resane-choice span{display:flex;flex-direction:column}
.resane-choice small{color:#647b74}
.resane-field,.resane-file{display:flex;flex-direction:column;gap:7px;margin:12px 0;font-weight:600}
.resane-field input,.resane-field select,.resane-field textarea,.resane-search input,.resane-review textarea{width:100%;padding:12px 14px;border:1px solid #cbded5;border-radius:12px;background:#fff;color:#183d35;font:inherit}
.resane-file{padding:18px;border:1px dashed #8cb9a5;border-radius:16px;background:#f6faf8;cursor:pointer}
.resane-file span{font-size:.9rem;color:#526d64;font-weight:400}
.resane-file input{max-width:100%;font:inherit}
.resane-button{padding:9px 16px;border:1px solid #b9d2c8;border-radius:11px;background:#fff;color:#105f49;font:inherit;font-weight:700;cursor:pointer}
.resane-button.primary{background:#0b7055;border-color:#0b7055;color:#fff}
.resane-button.quiet{background:#ffffff19;border-color:#ffffff88;color:inherit}
.resane-button.selected{background:#e4f4ec;border-color:#0b7055}
.resane-button:disabled{opacity:.55;cursor:not-allowed}
.resane-button:focus-visible,.resane-choice:focus-within,.resane-staff-row:focus-visible{outline:3px solid #e7a548;outline-offset:2px}
.resane-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.resane-message{padding:12px 16px;margin:10px 0;border:1px solid #bfe1ce;border-radius:13px;background:#ecf8f0;color:#14543d}
.resane-message.error{border-color:#f1c0b9;background:#fff3f0;color:#ac332d}
.resane-history{display:grid;gap:12px}
.resane-history article,.resane-staff-activity{padding:16px;border:1px solid #e0e9e5;border-radius:15px;overflow-wrap:anywhere}
.resane-history-head{display:flex;justify-content:space-between;gap:12px}
.resane-status{padding:2px 9px;border-radius:100px;background:#eef2f3;font-size:.82rem}
.resane-status.approved{background:#e4f7ea;color:#08663c}
.resane-status.needs_revision{background:#fff0dc;color:#92500d}
.resane-feedback{padding:10px;background:#fff8e8;border-radius:9px}
.resane-search,.resane-pager,.resane-review{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0}
.resane-search-label{display:flex;flex:1;min-width:190px;flex-direction:column;gap:6px;font-size:.9rem;font-weight:700}
.resane-search input{width:100%;min-width:190px}
.resane-empty{padding:20px;border:1px dashed #ceddd5;border-radius:14px;background:#f8fbf9;color:#587268}
.resane-staff-row{display:flex;align-items:center;gap:16px;width:100%;padding:12px;border:0;border-bottom:1px solid #e1ebe7;background:#fff;color:inherit;font:inherit;text-align:right;cursor:pointer}
.resane-staff-row:hover{background:#f4faf6}
.resane-staff-row span{margin-right:auto}
.resane-review textarea{min-width:220px;flex:1}
.resane-staff-activity{margin:12px 0}
@media(max-width:680px){.resane-header,.resane-panel{padding:17px;border-radius:18px}.resane-intro,.resane-choices{grid-template-columns:1fr}.resane-progress{grid-template-columns:repeat(2,minmax(0,1fr))}.resane-staff-row{flex-wrap:wrap}.resane-staff-row span{margin-right:0}.resane-actions .resane-button{width:100%}}
