:root{--ds-page: #fcfbfa;--ds-ink: #2b1f1d;--ds-ink-2: #6b5f5c;--ds-hairline: #8a7f7b;--ds-red: #c8102e}body{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ds-ink);line-height:1.45}.card-page{padding-bottom:48px}input[type=text],input:not([type]),input[inputmode],select{border:1px solid var(--ds-hairline)!important;background:#fff;color:var(--ds-ink)}.file-button{font:inherit;font-weight:600;padding:10px 16px;border-radius:6px;border:1px solid var(--ds-ink);background:var(--ds-ink);color:#fff;cursor:pointer}.file-button[data-variant=secondary]{background:#fff;color:var(--ds-ink);border-color:var(--ds-hairline);display:block;width:100%;text-align:left;margin-top:8px}section{margin-top:20px}section h2{margin-bottom:4px}.callout.warning{background:#fff8e1}html,body,#root{margin:0;min-height:100%}body{background:var(--ds-page)}.form{display:flex;flex-direction:column;gap:6px;margin-top:12px}.form label{font-size:12px;font-weight:600;color:var(--ds-ink-2);margin-top:8px}.form input{font:inherit;font-size:16px;padding:12px;border:1px solid var(--ds-hairline);border-radius:4px;min-height:44px;box-sizing:border-box;width:100%}.form .file-button,.file-button{margin-top:14px;min-height:44px}.err{color:var(--ds-red);margin:8px 0 0}.note{color:var(--ds-ink-2);font-size:12px;line-height:20px;margin:10px 0 0}.pass{background:#fff;border-radius:16px;box-shadow:0 2px 12px #0000002e;border:1px solid #ddd;padding:14px;margin:14px 0 4px;color:#111}.dark{background:#111;padding:14px;border-radius:16px;margin:12px 0}.dark .pass{margin:0}.pass-top{display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid #eee;padding-bottom:10px}.school{display:flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.4px}.pass-mid{display:flex;justify-content:space-between;gap:10px;margin-top:12px}.pass-row{display:flex;gap:28px;margin-top:12px}.lab{font-size:10px;letter-spacing:1px;font-weight:600;color:#0052a0}.lab.gap{margin-top:12px}.val{font-size:16px;margin-top:2px}.name{font-size:24px;margin-top:2px;line-height:1.15}.avatar{width:76px;height:94px;border-radius:8px;flex:none}.bc{margin-top:16px}.bc svg{width:100%;height:70px;display:block}.bc-cap{text-align:center;font-size:11px;color:#555;margin-top:4px}.tabs{display:flex;gap:8px;margin:12px 0 4px}.tabs button{flex:1;min-height:44px;font:inherit;background:none;border:1px solid var(--ds-hairline);border-radius:4px;color:var(--ds-ink-2)}.tabs button.on{color:var(--ds-ink);border-color:var(--ds-ink)}.fld{display:flex;flex-direction:column;gap:4px;margin-top:10px}.fld label{font-size:12px;font-weight:600;color:var(--ds-ink-2)}.chip{font-weight:400;margin-left:6px;color:var(--ds-ink-2)}.fld input{font:inherit;font-size:16px;padding:10px;border:1px solid var(--ds-hairline);border-radius:4px;min-height:44px;box-sizing:border-box;width:100%}.orig img{width:100%;border-radius:8px;border:1px solid var(--ds-hairline);display:block;margin-top:12px}.avatar.empty{background:#eee;color:#666;font-size:11px;display:flex;align-items:center;justify-content:center;text-align:center}img.avatar{object-fit:cover}button.file-button:disabled{opacity:.45}input[type=file]{font:inherit;font-size:14px}.cropwrap{position:relative;overflow:hidden;border-radius:8px;touch-action:none;margin-top:8px;-webkit-user-select:none;user-select:none}.cropwrap img{width:100%;display:block;border-radius:8px;border:1px solid var(--ds-hairline);pointer-events:none}.cropsq{position:absolute;border:3px solid #f5c400;box-shadow:0 0 0 1px #000 inset,0 0 0 9999px #00000040;box-sizing:border-box;pointer-events:none}.sec{margin:22px 0 0;font-size:16px;font-weight:600}.mono{font-family:ui-monospace,Menlo,monospace;font-size:18px;margin:8px 0 0}.ok{color:var(--ds-ink-2);margin:8px 0 0}.small{font-size:12px;font-weight:600;color:var(--ds-ink-2);display:block;margin-top:8px}input[type=range]{width:100%;min-height:44px}.form select{font:inherit;font-size:16px;padding:12px;border:1px solid var(--ds-hairline);border-radius:4px;min-height:44px}.card-page{max-width:420px;margin:0 auto;padding:16px;font-family:system-ui,sans-serif}.callout{display:block;border:1px solid #c9a227;background:#fff8e1;border-radius:8px;padding:8px 10px;margin:8px 0;font-size:14px}h1{font-size:22px}h2{font-size:17px}.fact{color:#555;margin-top:0}.avatar.sq{width:84px;height:84px}
