.cellar-head{display:flex;justify-content:flex-end;margin:-74px 0 30px;position:relative;z-index:3}.cellar-list{display:grid;gap:12px}.cellar-item{display:grid;gap:6px;background:#fff;border:1px solid #ececf0;border-radius:20px;padding:18px}.cellar-item small{font-size:12px;color:#7c2633;font-weight:700}.cellar-item strong{font-size:17px;line-height:1.3}.cellar-item span{font-size:13px;color:#85858b}.cellar-dialog{width:min(620px,calc(100vw - 20px));max-height:92dvh}.cellar-form{display:grid;gap:14px;padding:18px}.cellar-form label{display:grid;gap:6px;font-size:12px;color:#555}.cellar-form input,.cellar-form select,.cellar-form textarea{width:100%;box-sizing:border-box;background:#f2f2f5;color:#111;border:1px solid #dedee3;border-radius:14px;padding:13px;font:inherit}.cellar-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cellar-dialog footer{display:flex;justify-content:space-between;padding:0 18px 18px}@media(max-width:600px){.cellar-head{margin:-66px 0 24px}.cellar-two{grid-template-columns:1fr 1fr}.cellar-item{border-radius:18px;padding:16px}}
/* Independent hub identities — no Wine Registry visual inheritance. */
.mtc-test-environment{padding:10px 18px;background:#edf1d8;color:#46522b;font-size:13px;text-align:center;line-height:1.4}
.cellar-head{display:flex;justify-content:flex-end;margin:-72px 0 24px}.cellar-add-circle,.tasting-add-circle{width:50px;height:50px;padding:0;border-radius:50%;display:grid;place-items:center;font-size:28px;color:#fff;border:0}.cellar-add-circle{background:#315b49}.tasting-add-circle{background:#7c2633}.cellar-list{display:grid;gap:12px}.cellar-item{display:grid;gap:7px;padding:18px 20px;border:1px solid #e4e5e7;border-radius:22px;background:#fff;color:#111}.cellar-item strong{font-size:18px;line-height:1.3}.cellar-item span{color:#777}.cellar-item small{font-weight:800;letter-spacing:.03em}.profile-shell{max-width:720px}.profile-card{padding:24px;border:1px solid #e4e5e7;border-radius:24px;background:#fff;color:#111}.profile-card h2{font-size:24px}.profile-danger{margin-top:18px;background:#7c2633;color:#fff}.hub-own-shell{width:100%}

/* Route-scoped visual systems: cellar/tastings/profile never inherit Wine Registry chrome. */
body[data-hub-route="collection"] #hub-section>.hero,body[data-hub-route="tastings"] #hub-section>.hero,body[data-hub-route="profile"] #hub-section>.hero{padding-right:0!important;margin-bottom:24px!important}
body[data-hub-route="collection"] #hub-section>.hero h1,body[data-hub-route="tastings"] #hub-section>.hero h1,body[data-hub-route="profile"] #hub-section>.hero h1{font-size:40px!important}
body[data-hub-route="collection"] #hub-content,body[data-hub-route="tastings"] #hub-content,body[data-hub-route="profile"] #hub-content{display:block!important}
body[data-hub-route="collection"] .wine-tools,body[data-hub-route="collection"] .wine-library-map-card,body[data-hub-route="collection"] .wine-library-controls,body[data-hub-route="tastings"] .wine-tools,body[data-hub-route="tastings"] .wine-library-map-card,body[data-hub-route="tastings"] .wine-library-controls{display:none!important}
.profile-settings{margin-top:12px;padding:0!important;overflow:hidden}.profile-settings button{width:100%;display:flex;justify-content:space-between;border-radius:0;background:#fff;color:#111;border-bottom:1px solid #eee;text-align:left}.profile-settings button:last-child{border-bottom:0}
body[data-hub-route="collection"] #hub-section>.hero,body[data-hub-route="tastings"] #hub-section>.hero,body[data-hub-route="profile"] #hub-section>.hero{padding-right:64px!important}
.profile-shell{max-width:none!important;width:100%!important}

/* Profile stage 1 */
.profile-identity-card{display:flex;align-items:center;justify-content:space-between;gap:18px}.profile-identity-card>div{display:flex;align-items:center;gap:16px;min-width:0}.profile-identity-card h2{margin:3px 0 4px!important;overflow-wrap:anywhere}.profile-identity-card p{margin:0;overflow-wrap:anywhere}.profile-identity-card>button{flex:none;min-height:42px;border:0;border-radius:13px;padding:10px 14px;background:#eef3f0;color:#315b49;font:inherit;font-weight:650}
.profile-avatar{display:grid;place-items:center;flex:none;border-radius:50%;overflow:hidden;background:#e8eee9;color:#315b49;font-weight:800;letter-spacing:.03em}.profile-avatar.large{width:72px;height:72px;font-size:24px}.profile-avatar.medium{width:84px;height:84px;font-size:28px}.profile-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-settings button{align-items:center;gap:14px;min-height:58px}.profile-settings button>b{font-size:15px}.profile-settings button>span{margin-left:auto;max-width:60%;color:#777;text-align:right;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.profile-edit-avatar{display:flex;align-items:center;gap:16px;margin-bottom:18px}.profile-photo-pick{display:grid;gap:6px;font-size:14px;font-weight:700;color:#315b49}.profile-photo-pick input{max-width:220px}
.profile-edit-form{display:grid;gap:18px}.profile-edit-form>label{display:grid;gap:7px;font-weight:650}.profile-edit-form>label small{font-weight:400;color:#7b817d;font-size:12px}.profile-edit-form select{box-sizing:border-box;width:100%;min-height:50px;padding:0 44px 0 14px;border:1px solid #d6ded8;border-radius:12px;background:#fff;color:#202723;font:600 17px/1.2 system-ui}.profile-edit-form fieldset{border:0;margin:0;padding:0}.profile-edit-form legend{font-weight:700;margin-bottom:10px}.profile-language-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-language-grid label{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:13px;background:#fff}.profile-language-grid input{width:20px!important;height:20px!important;min-height:20px!important;accent-color:#315b49}
@media(max-width:520px){.profile-identity-card{align-items:flex-start;flex-direction:column}.profile-identity-card>button{width:100%}.profile-avatar.large{width:64px;height:64px}.profile-language-grid{grid-template-columns:1fr 1fr}.profile-settings button>span{max-width:55%}}
