.ds-form,.ds-result{max-width:780px;padding:clamp(17px,3.4vw,30px);border:1px solid var(--line);border-radius:20px;background:var(--light);overflow-wrap:anywhere}
.ds-form{border-top:3px solid var(--accent);margin-block:17px}
.ds-inputs{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:16px;margin-bottom:17px}
.ds-inputs label{display:grid;align-content:end;gap:7px;font-size:14px;font-weight:700}
.ds-inputs input{width:100%;min-width:0;padding:12px 13px;border-radius:10px;border:1px solid #b2b4ac;background:#fcfbf8;color:var(--ink);font:inherit;font-weight:400;font-size:16px}
.ds-inputs input::placeholder{color:#62655d}
.ds-form .btn{min-height:45px}
.ds-status{margin:11px 0 0;color:var(--muted);font-size:14px}
.ds-status:empty{display:none}
.ds-preview{display:grid;max-width:780px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ds-preview>div{display:flex;align-items:center;gap:9px;padding:15px 12px;border-radius:15px;background:#eeeee7}
.ds-preview b,.ds-source-heading b,.ds-choices b{display:block;font-size:15px;line-height:1.3}
.ds-preview small,.ds-source-heading small,.ds-choices small{display:block;font-size:13px;line-height:1.4;color:var(--muted);margin-top:3px}
.ds-symbol{width:35px;height:35px;flex:none;display:grid;place-items:center;background:#fcf7ef;color:var(--brand-text);border-radius:11px}
.ds-symbol .ico{width:20px;height:20px}
.ds-result h2{font-size:clamp(20px,4.5vw,27px);letter-spacing:-.6px;margin:0}
.ds-result>p,.ds-identity p{color:var(--muted);margin:6px 0 0;font-size:14px}
.ds-identity{display:flex;align-items:center;gap:12px}
.ds-identity>.ds-symbol{height:44px;width:44px;color:var(--ink);background:var(--brand-wash)}
.ds-sources,.ds-choices{display:grid;gap:9px;margin:19px 0 0}
.ds-section{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#fafaf5}
.ds-section summary,.ds-choices button{display:flex;align-items:center;gap:11px;padding:14px;min-height:55px;cursor:pointer}
.ds-section summary{list-style:none}
.ds-section summary::-webkit-details-marker{display:none}
.ds-section summary:hover,.ds-choices button:hover{background:#f1efe7}
.ds-section summary:focus-visible{outline-offset:-3px}
.ds-source-heading,.ds-choices button>span{flex:1;min-width:0}
.ds-section summary>.ico,.ds-choices button>.ico{width:17px;height:17px;flex:none;color:#72371c}
.ds-section[open] summary>.ico{transform:rotate(90deg)}
.ds-badge{font-size:12px;line-height:1.25;font-weight:700;border-radius:20px;background:#ebe8e0;color:#524d43;padding:5px 8px;white-space:nowrap}
.ds-found .ds-badge{color:#23533a;background:#dcecdf}
.ds-manual .ds-badge,.ds-partial .ds-badge,.ds-archived .ds-badge{color:#774019;background:var(--brand-wash)}
.ds-pending .ds-badge{color:#2d4d68;background:#dfebf6}
.ds-body{border-top:1px solid var(--line);padding:13px 16px 16px;background:#fff;font-size:14px;line-height:1.5}
.ds-body p{margin:0 0 9px;color:var(--muted)}
.ds-body ul{list-style:none;padding:0;margin:0 0 13px}
.ds-body li+li{border-top:1px solid var(--line);padding-top:10px;margin-top:10px}
.ds-body li strong{display:block;margin-bottom:3px}
.ds-links{display:flex;gap:5px 15px;flex-wrap:wrap}
.ds-links a,.ds-status a{font-size:14px;color:var(--brand-text);text-underline-offset:3px}
.ds-choices button{font:inherit;text-align:left;border:1px solid var(--line);border-radius:12px;background:#faf9f4;color:var(--ink)}
.ds-download{margin-top:16px}
.ds-registry{margin:17px 0 10px}
.ds-registry h3{margin:0 0 8px;font-size:1.04rem}
.ds-registry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ds-registry-grid>div{display:flex;flex-direction:column;align-items:flex-start;padding:10px 12px 5px;border:1px solid #dcd9df;border-radius:12px;background:#f7f4f7}
.ds-registry-grid>div:nth-child(2){background:#f7f4ee}
.ds-registry-grid>div:nth-child(3){background:#eef4f5}
.ds-registry-grid>div:nth-child(4){background:#f0f3f9}
.ds-registry-grid b{font-size:.89rem;line-height:1.25}
.ds-registry-grid p{margin:5px 0 2px;font-size:.8rem;line-height:1.42;color:#4a4851}
.ds-registry-grid a{display:inline-flex;align-items:center;margin-top:auto;min-height:44px;color:#38375c;font-size:.85rem;font-weight:700;text-underline-offset:3px}
.ds-registry-grid a:focus-visible{outline:2px solid #65477b;outline-offset:2px}
.ds-copy{min-height:36px;margin-left:4px}
@media(max-width:370px){.ds-registry-grid{grid-template-columns:1fr}}
#ds-upload{max-width:780px;margin-top:12px}
#ds-upload:empty{display:none}
@media(max-width:650px){
 .ds-preview{grid-template-columns:1fr}.ds-inputs{grid-template-columns:1fr;gap:11px}
 .ds-preview>div{padding:10px 13px}.ds-badge{justify-self:start}
 .ds-section summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:5px 9px;padding:11px}
 .ds-section summary>.ds-symbol{grid-row:1 / 3}.ds-badge{grid-column:2}
 .ds-section summary>.ico{grid-column:3;grid-row:1 / 3}
}
@media(max-width:420px){.ds-form>.btn,.ds-download{width:100%}.ds-result,.ds-form{padding:14px}.ds-identity>.ds-symbol{width:34px;height:34px}}
.ds-provider-note{display:block;margin:.4rem 0 .75rem;font-size:.82rem;line-height:1.4;color:var(--muted,#665e55)}
.ds-portrait{margin:1rem 0;min-width:0}
.ds-portrait h3{margin:0 0 .5rem;font-size:1.04rem}
.ds-portrait dl{margin:0;border:1px solid #e4dfe9;border-radius:12px;overflow:hidden}
.ds-portrait dl>div{display:grid;grid-template-columns:minmax(100px,30%) minmax(0,1fr);background:#fbf9fc}
.ds-portrait dl>div+div{border-top:1px solid #e7e2e9}
.ds-portrait dt,.ds-portrait dd{padding:.46rem .7rem;overflow-wrap:anywhere;font-size:.9rem;line-height:1.4}
.ds-portrait dt{background:#f2ecf3;font-weight:650;color:#4b3a55}
.ds-portrait dd{margin:0}.ds-portrait small{display:block;font-size:.75rem;color:#645b6b}
.ds-portrait small a{color:#5e486e;text-underline-offset:2px}
@media(max-width:430px){.ds-portrait dt,.ds-portrait dd{padding:.42rem .5rem}}
