.ri-builder,.ri-details{display:grid;gap:10px;padding:12px;border:1px solid var(--line,#dce7e9);border-radius:8px;background:#f8fbfb;min-width:0}.ri-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ri-heading strong{font-size:12px}.ri-heading p,.ri-empty,.ri-builder-note,.ri-note{font-size:11px;line-height:1.5;color:var(--muted,#66818a);margin:3px 0 0}.ri-heading>span,.ri-limit{font-size:11px;color:var(--muted,#66818a);white-space:nowrap}.ri-builder-list{display:grid;gap:9px}.ri-builder-list:empty{display:none}.ri-builder-row{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;row-gap:4px;padding:9px;background:white;border:1px solid var(--line,#dce7e9);border-radius:7px;min-width:0}.ri-builder-row>label{grid-column:1;font-size:11px;gap:5px;min-width:0}.ri-builder textarea{font-size:12px;min-height:58px;padding:7px 9px}.ri-row-actions{grid-column:2;grid-row:1;display:flex;align-items:flex-start;gap:2px}.ri-row-actions .icon-btn{width:28px;height:30px;min-height:30px}.ri-row-actions .icon{width:14px;height:14px}.ri-row-actions .ri-remove{color:#a94439}.ri-row-done{grid-column:1/-1;font-size:10px;color:#4d786b}.ri-builder>[data-ri-add]{justify-self:start;min-height:32px;font-size:11px}.ri-progress{display:inline-flex;align-items:center;gap:5px;font-size:10px;line-height:1.5;color:#5d737d;white-space:nowrap}.ri-progress .icon{width:14px;height:14px}.ri-progress-complete{color:#267967}.ri-details progress{display:block;width:100%;height:5px;appearance:none;border:0;border-radius:6px;overflow:hidden;background:#dfebeb}.ri-details progress::-webkit-progress-bar{background:#dfebeb}.ri-details progress::-webkit-progress-value{background:var(--accent,#087b88)}.ri-details progress::-moz-progress-bar{background:var(--accent,#087b88)}.ri-items{display:grid;gap:5px}.ri-item{display:flex;align-items:flex-start;gap:9px;min-height:32px;padding:6px 7px;border-radius:6px;background:white;font-size:12px;font-weight:400;line-height:1.5}.ri-item input[type=checkbox]{flex:none;width:17px;height:17px;min-height:17px;margin:1px 0 0;padding:0;accent-color:var(--accent,#087b88)}.ri-item span{overflow-wrap:anywhere;white-space:pre-wrap}.ri-item-complete>span{color:#58726b;text-decoration:line-through;text-decoration-color:#9fbab1}.ri-item:has(input:not(:disabled)){cursor:pointer}.ri-item:has(input:not(:disabled)):hover{background:#eff7f6}.ri-error{font-size:11px;line-height:1.5;margin:0;padding:8px 10px;border-radius:6px;color:#9c382f;background:#fff0ed;overflow-wrap:anywhere}.ri-saving{font-size:11px;color:var(--muted,#66818a)}
@media(max-width:600px){.ri-builder,.ri-details{padding:10px}.ri-row-actions{flex-direction:column}.ri-row-actions .icon-btn{width:40px;height:40px;min-height:40px}.ri-builder-row textarea{min-height:100px}.ri-builder>[data-ri-add]{min-height:40px}.ri-item{min-height:40px;padding:9px 7px}.ri-item input[type=checkbox]{width:20px;height:20px;min-height:20px}.ri-progress{white-space:normal}}

.ri-error p{margin:0 0 7px}.ri-error .btn{min-height:32px;font-size:11px}@media(max-width:600px){.ri-error .btn{min-height:40px}}

.ri-row-actions [data-ri-move="-1"] .icon{transform:rotate(180deg)}
