/* A saved subscription opens a read-only detail; service discovery stays in its add sheet. */
.sc-subscriptions .ex-heading h1{font-size:30px}
.sc-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 0}
.sc-list-heading h2{margin:0}
.sc-list-heading .ex-tabs{padding-bottom:0;margin:0}
.sc-sub-card{padding:0;gap:0}
.sc-sub-open{display:block;width:100%;min-width:0;padding:20px;border:0;border-radius:18px;background:transparent;font:inherit;color:#102538;text-align:right;cursor:pointer}
.sc-sub-open:hover{background:#f8fbff}
.sc-sub-open:focus-visible{outline:3px solid #0f766e55;outline-offset:3px}
.sc-sub-open .ex-sub-head{display:flex;margin-bottom:18px}
.sc-sub-name{display:block;min-width:0;flex:1}
.sc-sub-name>strong{display:block;font-size:17px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}
.sc-sub-name>small{display:block;font-size:13px;line-height:1.8;color:#617287;margin-top:3px}
.sc-sub-price{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;font-size:28px;font-weight:500;line-height:1.5}
.sc-sub-price>.currency{font-size:13px;font-weight:400;color:#617287}
.sc-sub-price>small{font-size:14px;font-weight:400;color:#617287}
.sc-sub-date{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:17px;padding-top:14px;border-top:1px solid #edf1f6;font-size:14px;line-height:1.8;color:#617287}
.sc-sub-date>strong{font-weight:500;color:#33465c;text-align:left;overflow-wrap:anywhere}
.sc-sub-more{display:flex;align-items:center;justify-content:space-between;margin-top:17px;font-size:14px;line-height:1.7;font-weight:500;color:#0f766e}
.sc-sub-more>svg{width:19px;height:19px}
.sc-reminder{display:flex;align-items:center;gap:12px;padding:18px;border:1px solid #e6ebf2;border-radius:16px;background:#fff;margin:24px 0;min-width:0}
.sc-reminder>div{flex:1;min-width:0}
.sc-reminder strong{display:block;font-size:15px;font-weight:500;line-height:1.7}
.sc-reminder small{display:block;font-size:13px;color:#617287;line-height:1.8;margin-top:3px}
.sc-reminder>.button{flex-shrink:0}
.sc-detected{margin:22px 0;padding:18px;border:1px solid #e6ebf2;border-radius:16px;background:#fff}
.sc-detected>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px;line-height:1.8;list-style:none;cursor:pointer;min-height:44px;color:#33465c}
.sc-detected>summary::-webkit-details-marker{display:none}
.sc-detected>summary>span{font-size:13px;background:#ecf8f3;color:#0f766e;border-radius:8px;padding:3px 9px}
.sc-detected .ex-candidate{margin:12px 0 0}
.sc-back{margin:4px 0 20px}
.sc-back .button{min-height:44px}
.sc-detail-brand{display:flex;align-items:center;gap:13px;padding:18px;border:1px solid #e6ebf2;border-radius:17px;background:#fff;margin:0 0 20px;min-width:0}
.sc-detail-brand>div{flex:1;min-width:0}
.sc-detail-brand strong{display:block;font-size:18px;line-height:1.6;font-weight:500;overflow-wrap:anywhere}
.sc-detail-brand small{display:block;font-size:13px;line-height:1.8;color:#617287;margin-top:3px}
.sc-detail-brand>.ex-brand{width:52px;height:52px;min-width:52px}
.sc-detail-list{margin:16px 0 0;min-width:0}
.sc-detail-list>div{display:grid;grid-template-columns:minmax(125px,.8fr) minmax(0,1.2fr);gap:15px;padding:15px 0;border-bottom:1px solid #edf1f6;font-size:15px;line-height:1.8}
.sc-detail-list>div:last-child{border-bottom:0}
.sc-detail-list dt{color:#617287}
.sc-detail-list dd{margin:0;color:#102538;font-weight:500;text-align:left;overflow-wrap:anywhere}
.sc-detail-list dd>small{display:block;font-size:13px;line-height:1.8;color:#617287;font-weight:400;margin-top:4px}
.sc-history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sc-history-heading>h2{margin:0}
.sc-history-heading>span{font-size:13px;color:#617287;white-space:nowrap}
.sc-payment{display:flex;align-items:center;gap:12px;width:100%;padding:16px 0;border:0;border-bottom:1px solid #edf1f6;background:transparent;color:#102538;font:inherit;text-align:right;cursor:pointer;min-width:0}
.sc-payment>span:nth-child(2){flex:1;min-width:0}
.sc-payment strong{display:block;font-size:15px;font-weight:500;line-height:1.7;overflow-wrap:anywhere}
.sc-payment small{display:block;font-size:13px;color:#617287;line-height:1.8;margin-top:3px}
.sc-payment-amount{font-size:19px;font-weight:500;line-height:1.6;white-space:nowrap}
.sc-payment-amount>.currency{font-size:12px;font-weight:400;color:#617287}
.sc-payment:hover{background:#f8fbff}
.sc-history-note{font-size:13px!important;line-height:1.9!important;color:#617287!important;margin-top:18px!important}
.sc-manage{padding:20px;border:1px solid #e6ebf2;border-radius:17px;background:#f8fafc;margin:22px 0}
.sc-manage>h2{margin:0;font-size:17px}
.sc-manage>p{font-size:14px;line-height:1.9;color:#617287;margin:9px 0 16px;max-width:750px}
.sc-picker{min-width:0}
.sc-picker-intro{font-size:15px;line-height:1.9;color:#536477;margin:0 0 18px}
.sc-picker>.button{display:flex;width:100%;align-items:center;justify-content:center;gap:8px;min-height:48px;font-size:15px;border-radius:12px}
.sc-picker>.button>svg{width:20px;height:20px}
.sc-picker .ex-service-search{margin-top:22px}
.sc-picker .ex-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}
.sc-picker .ex-service-tile{font-size:13px;min-height:100px}
.sc-search-empty{padding:18px;border-radius:12px;background:#ecf8f3;color:#345b8e;font-size:14px;line-height:1.9}
#extras-dialog.sc-service-picker{max-width:680px}
#extras-dialog.sc-service-picker .dialog-actions .button[hidden]{display:none}
@media(max-width:760px){
  .sc-subscriptions .ex-heading h1{font-size:25px}
  .sc-list-heading{gap:10px;margin-top:22px;flex-wrap:wrap}
  .sc-list-heading h2{font-size:18px}
  .sc-sub-open{padding:18px 16px}
  .sc-sub-name>strong{font-size:16px}
  .sc-sub-name>small{font-size:13px}
  .sc-sub-price{font-size:27px}
  .sc-sub-date{font-size:14px;gap:10px}
  .sc-sub-more{font-size:14px}
  .sc-reminder{flex-wrap:wrap;padding:16px;gap:11px;margin:22px 0}
  .sc-reminder>div{min-width:190px}
  .sc-reminder>.button{margin-right:auto;min-height:44px}
  .sc-reminder strong{font-size:14px}
  .sc-reminder small{font-size:13px}
  .sc-detail-brand{padding:16px;gap:11px}
  .sc-detail-brand strong{font-size:17px}
  .sc-detail-list>div{grid-template-columns:minmax(112px,.8fr) minmax(0,1.2fr);font-size:14px;gap:12px}
  .sc-payment{gap:10px;padding:15px 0}
  .sc-payment>.ex-brand{width:40px;height:40px;min-width:40px}
  .sc-payment strong{font-size:14px}
  .sc-payment small{font-size:13px}
  .sc-payment-amount{font-size:18px;white-space:normal;text-align:left;min-width:70px;max-width:120px}
  .sc-manage{padding:17px 16px}
  .sc-picker .ex-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
  .sc-picker .ex-service-tile{font-size:12px;min-height:94px}
  #extras-dialog.sc-service-picker{max-width:none}
}
@media(max-width:370px){
  .sc-picker .ex-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sc-detail-list>div{grid-template-columns:minmax(100px,.8fr) minmax(0,1.2fr);gap:9px}
  .sc-reminder>div{min-width:160px}
}
