.portal-preview-notice{display:grid;gap:4px;padding:13px 14px;margin:12px 0 14px;border:1px solid #e9bd72;border-radius:14px;background:#fff8e8;color:#69430c;font-size:12px;line-height:1.5}.portal-preview-notice b{font-size:13px}.portal-switcher{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 18px}.portal-switcher button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);font-weight:650}.portal-switcher button svg{width:17px;height:17px}.portal-switcher button.active{background:#19364d;color:#fff;border-color:#19364d}.portal-select-row{width:100%;display:flex;align-items:center;gap:12px;padding:13px;margin:8px 0;border:1px solid var(--line);border-radius:15px;background:var(--surface);color:var(--text);text-align:left}.portal-select-row>svg{width:18px;height:18px;flex:0 0 auto}.portal-select-row .more-text{flex:1;min-width:0}.portal-empty{padding:20px 14px;margin:10px 0;border:1px dashed var(--line);border-radius:14px;background:var(--surface);color:var(--muted);text-align:center;font-size:13px;line-height:1.5}.portal-error{color:#991b1b;background:#fff1f0;border-color:#e7b6b3}.portal-back{margin:2px 0 12px}.portal-section{margin:16px 0}.portal-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}.portal-profile-grid>div{display:grid;gap:4px;min-width:0}.portal-profile-grid small,.portal-row small{font-size:11px;color:var(--muted);line-height:1.4}.portal-profile-grid b{font-size:12px;line-height:1.4;overflow-wrap:anywhere;color:var(--text)}.portal-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 13px;margin:7px 0;border:1px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}.portal-row-main{display:grid;gap:4px;min-width:0;flex:1}.portal-row-main b{font-size:13px;color:var(--text);overflow-wrap:anywhere}.portal-row-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.portal-row-actions .small-action{font-size:11px;padding:7px 8px}.portal-detail .ref-section-head{margin-bottom:8px}.dark-mode .portal-preview-notice{background:#3b3020;border-color:#80602e;color:#ffe0a3}.dark-mode .portal-switcher button{background:#1b2b34;border-color:#40545f;color:#dce5ea}.dark-mode .portal-switcher button.active{background:#f8a21f;border-color:#f8a21f;color:#172533}.dark-mode .portal-empty{background:#1b2b34;border-color:#40545f;color:#b7c4cc}.dark-mode .portal-error{background:#492e35;color:#ffaaa5;border-color:#78434a}.dark-mode .portal-profile-grid,.dark-mode .portal-row,.dark-mode .portal-select-row{background:#1b2b34;border-color:#40545f;color:#e7eef2}.dark-mode .portal-profile-grid b,.dark-mode .portal-row-main b{color:#e7eef2}.dark-mode .portal-profile-grid small,.dark-mode .portal-row small{color:#b7c4cc}@media(max-width:420px){.portal-profile-grid{grid-template-columns:1fr 1fr}.portal-row{align-items:flex-start}.portal-row-actions{flex-direction:column}.portal-row-actions .small-action{min-width:66px}}