.profile-stack{display:grid;gap:20px;max-width:680px;margin:0 auto}.profile-card{background:#fff;border:1.5px solid #dfe7d8;border-radius:24px;padding:20px;display:grid;gap:12px}.profile-card h2,.profile-card h3,.profile-card p{margin:0}.profile-card h2{font-size:20px;line-height:1.3;display:flex;align-items:center;gap:10px}.profile-card p{line-height:1.5;color:#60715e}.profile-card>button,.profile-card>.action-link{width:100%;min-height:56px;justify-content:center}.profile-green{background:#ecf8dc;border-color:transparent}.profile-identity{display:flex;align-items:center;gap:14px}.profile-identity>.ui-icon{width:56px;height:56px}.profile-identity h2{font-size:28px;overflow-wrap:anywhere}.profile-identity p{font-size:14px;margin-top:6px}.profile-links{display:grid;gap:16px}.profile-row{padding:16px;border:1.5px solid #dfe7d8;border-radius:16px;background:#fff;display:flex;align-items:center;gap:14px;text-decoration:none;color:#203723;font-weight:600;min-height:64px}.profile-row>span{flex:1}.profile-row>.ui-icon{width:24px;height:24px}.profile-card summary{cursor:pointer;min-height:48px;display:flex;align-items:center;font-weight:600}.profile-card[open]>summary{margin-bottom:14px}.profile-card ul,.profile-card ol{margin:0;padding-left:24px;line-height:1.6}.profile-card li+li{margin-top:8px}.signin-hero h2,.install-hero h2{display:block;font-size:28px;line-height:34px}.signin-hero,.install-hero{gap:20px}.signin-hero>img{object-fit:contain}.install-hero>img{border-radius:20px}.profile-actions{display:flex;gap:10px;flex-wrap:wrap}.profile-actions button{flex:1;min-height:56px}.conflict-card{background:#fff4d7}.conflict-card pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.5 'Golos',sans-serif;max-height:240px;overflow:auto}.sync-pending{font-size:14px}.profile-error{color:#a32d25!important}.offline-books{display:grid;gap:12px}.offline-books>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding-top:12px;border-top:1px solid #dfe7d8}.offline-books button{min-height:48px;font-size:14px;padding:8px 12px;max-width:160px}.profile-signout{min-height:56px}.profile-card small{color:#60715e;line-height:1.5}.profile-view{padding-bottom:24px}

.conflict-values{display:grid;gap:8px;margin:12px 0 20px}.conflict-values>div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px}.conflict-values dt{font-size:14px;color:#60715e}.conflict-values dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.conflict-card h3{font-size:16px}
.transfer-preview p{overflow-wrap:anywhere}.transfer-preview{display:grid;gap:12px}.transfer-preview h3,.transfer-preview h4,.transfer-preview p{margin:0}.transfer-card .profile-actions{align-items:stretch}.transfer-card .profile-actions button{min-width:130px}
