

*{box-sizing:border-box}

body.profile-page .profile-main>.container{
  width:min(1180px,calc(100% - 32px));
  max-width:1180px;
  margin-inline:auto;
}
body.profile-page .profile-shell{width:100%;min-width:0}
body.profile-page .profile-content,
body.profile-page .profile-card,
body.profile-page #phase5Orders{min-width:0;max-width:100%}
body.profile-page .profile-card{overflow:hidden}
body.profile-page #phase5Orders{display:grid;gap:10px;width:100%}
body.profile-page .order-card-v136{
  width:100%;min-width:0;padding:15px 16px;border:1px solid #e2e8f0;border-radius:16px;
  background:#fff;box-shadow:0 7px 22px rgba(15,23,42,.04);overflow:hidden
}
body.profile-page .order-card-v136 strong,
body.profile-page .order-card-v136 span,
body.profile-page .order-card-v136 small,
body.profile-page .order-card-v136 b,
body.profile-page .order-card-v136 a{max-width:100%;overflow-wrap:anywhere;word-break:normal}
body.profile-page .order-card-v136 a{align-self:flex-start;color:#15803d;font-weight:800;text-decoration:none}
body.profile-page .dg-ui-state{width:100%;padding:30px 18px;border:1px dashed #d7e2dc;border-radius:16px;background:#fbfdfc;text-align:center}
body.profile-page .dg-ui-state h3{margin:0 0 7px;font-size:16px}
body.profile-page .dg-ui-state p{margin:0;color:#64748b;line-height:1.9}

body:has(main.stage9-page) main.stage9-page{background:#f8fafc;padding:28px 0 64px;min-height:440px}
body:has(main.stage9-page) main.stage9-page>.container.stage9-section{
  width:min(1120px,calc(100% - 32px));max-width:1120px;margin-inline:auto;padding:24px;
  border:1px solid #e2e8f0;border-radius:24px;background:#fff;box-shadow:0 12px 36px rgba(15,23,42,.05);
  overflow:hidden
}
body:has(main.stage9-page) .stage9-heading{width:100%;min-width:0;align-items:flex-start}
body:has(main.stage9-page) .stage9-heading>div{min-width:0;flex:1}
body:has(main.stage9-page) .stage9-heading h1{margin:5px 0 6px;font-size:26px;line-height:1.5}
body:has(main.stage9-page) .stage9-heading p{max-width:760px;line-height:1.9;overflow-wrap:anywhere}
body:has(main.stage9-page) .notification-filter-row{max-width:100%;padding-bottom:2px}
body:has(main.stage9-page) #notificationList{display:grid;gap:9px;width:100%;min-width:0}
body:has(main.stage9-page) .stage9-notice,
body:has(main.stage9-page) .notification-card-v136{
  width:100%;min-width:0;margin:0;padding:14px;border:1px solid #e4eae6;border-radius:14px;background:#fff;overflow:hidden
}
body:has(main.stage9-page) .notification-card-v136 strong,
body:has(main.stage9-page) .notification-card-v136 p,
body:has(main.stage9-page) .notification-card-v136 small,
body:has(main.stage9-page) .stage9-notice strong,
body:has(main.stage9-page) .stage9-notice p,
body:has(main.stage9-page) .stage9-notice small{max-width:100%;overflow-wrap:anywhere;word-break:normal}
body:has(main.stage9-page) #notificationList>.dg-ui-state{padding:34px 18px;border:1px dashed #d7e2dc;border-radius:16px;background:#fbfdfc;text-align:center}

body .wishlist-page{background:#f8fafc;padding-bottom:52px;overflow:hidden}
body .wishlist-page .container{
  width:min(1180px,calc(100% - 32px));max-width:1180px;margin-inline:auto;min-width:0
}
body .wishlist-page .wishlist-hero{padding-top:28px}
body .wishlist-page .wishlist-hero-shell{width:100%;min-width:0;overflow:hidden}
body .wishlist-page .wishlist-hero-shell>div:first-child{min-width:0;flex:1}
body .wishlist-page .wishlist-hero p,
body .wishlist-page .wishlist-summary small,
body .wishlist-page .wishlist-footer-bridge p{overflow-wrap:anywhere;word-break:normal}
body .wishlist-page .wishlist-toolbar{width:100%;min-width:0;padding-top:18px}
body .wishlist-page .wishlist-toolbar>div:first-child{min-width:0}
body .wishlist-page .wishlist-toolbar-actions{flex-wrap:wrap}
body .wishlist-page .wishlist-smart-alerts{width:100%;min-width:0}
body .wishlist-page .wishlist-smart-alerts article{min-width:0;overflow:hidden}
body .wishlist-page .wishlist-smart-alerts p{overflow-wrap:anywhere;word-break:normal}
body .wishlist-page #wishlistGrid{width:100%;min-width:0}
body .wishlist-page .wishlist-card,
body .wishlist-page .wishlist-card-v136{min-width:0;max-width:100%;overflow:hidden}
body .wishlist-page .wishlist-footer-bridge{width:min(1180px,calc(100% - 32px));max-width:1180px;margin-inline:auto}
body .wishlist-page #wishlistGrid>.dg-ui-state{grid-column:1/-1;padding:38px 18px;border:1px dashed #d7e2dc;border-radius:16px;background:#fff;text-align:center}

@media(max-width:900px){
  body.profile-page .profile-main>.container,
  body:has(main.stage9-page) main.stage9-page>.container.stage9-section,
  body .wishlist-page .container,
  body .wishlist-page .wishlist-footer-bridge{width:calc(100% - 24px)}
}

@media(max-width:680px){
  body.profile-page .profile-main>.container{width:calc(100% - 20px)}
  body.profile-page .profile-shell{gap:12px}
  body.profile-page .profile-sidebar{border-radius:18px;padding:12px}
  body.profile-page .profile-hero{border-radius:20px;padding:18px}
  body.profile-page .profile-card{border-radius:18px;padding:15px}
  body.profile-page .card-head{align-items:flex-start;flex-direction:column}
  body.profile-page .card-head .soft-btn{width:100%;text-align:center}
  body.profile-page .order-card-v136{padding:13px}

  body:has(main.stage9-page) main.stage9-page{padding:14px 0 42px}
  body:has(main.stage9-page) main.stage9-page>.container.stage9-section{width:calc(100% - 20px);padding:16px 14px;border-radius:19px}
  body:has(main.stage9-page) .stage9-heading{flex-direction:column;gap:12px;margin-bottom:13px}
  body:has(main.stage9-page) .stage9-heading h1{font-size:23px}
  body:has(main.stage9-page) .stage9-mark-all{width:100%}
  body:has(main.stage9-page) .stage9-notice{grid-template-columns:36px minmax(0,1fr);align-items:start}
  body:has(main.stage9-page) .stage9-notice>a{grid-column:2;justify-self:start}

  body .wishlist-page .container,
  body .wishlist-page .wishlist-footer-bridge{width:calc(100% - 20px)}
  body .wishlist-page .wishlist-hero{padding-top:14px}
  body .wishlist-page .wishlist-hero-shell{padding:18px 15px;border-radius:19px;gap:15px}
  body .wishlist-page .wishlist-summary{min-width:0;width:100%}
  body .wishlist-page .wishlist-toolbar{gap:12px}
  body .wishlist-page .wishlist-toolbar-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  body .wishlist-page .wishlist-toolbar-actions .btn{width:100%;text-align:center;justify-content:center}
  body .wishlist-page .wishlist-footer-bridge{padding:18px 15px;border-radius:18px 18px 0 0}
}

@media(max-width:420px){
  body .wishlist-page .wishlist-toolbar-actions{grid-template-columns:1fr}
  body:has(main.stage9-page) .notification-filter-row button{flex:0 0 auto}
}
