/* MS-SHELL-V3 skin-62-v3-profile — V3-B5 (Stream B, 16.11.2026).
   Screens: profile (normal/locked/success/error), security, correction (certificate-name lock + native request dialog),
   notices (/<lng>/reminders inbox). Presentation only: native forms, names, handlers, validation and saving are untouched.
   Everything is scoped to html.msv2 (private preview cookie). Rules live in @layer ms-typography because the earlier
   skins use layered !important (an unlayered rule would lose); #ms-frame x3 beats the shared typography/controls rules. */
@layer ms-typography {

/* ── Profile: page head with the design's secondary action (Password & security) ── */
html.msv2 #ms-frame#ms-frame#ms-frame .sc-acc-head.ms-v3b5-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:16px!important;align-items:start!important}
html.msv2 #ms-frame#ms-frame#ms-frame .sc-acc-head.ms-v3b5-head>h1,
html.msv2 #ms-frame#ms-frame#ms-frame .sc-acc-head.ms-v3b5-head>p{grid-column:1!important;margin-right:0!important}
html.msv2 #ms-frame#ms-frame#ms-frame .sc-acc-head.ms-v3b5-head>.ms-v3b5-headlink{grid-column:2!important;grid-row:1 / span 2!important;align-self:center!important}
html.msv2 #ms-frame#ms-frame#ms-frame :is(.ms-v3b5-headlink,.ms-v3b5-act){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;box-sizing:border-box!important;min-height:44px!important;height:44px!important;padding:0 16px!important;border:1px solid var(--ms-border)!important;border-radius:10px!important;background:var(--ms-surface)!important;color:var(--ms-ink)!important;font-size:14px!important;font-weight:500!important;line-height:1.2!important;text-decoration:none!important;white-space:nowrap!important;cursor:pointer!important;box-shadow:none!important}
html.msv2 #ms-frame#ms-frame#ms-frame :is(.ms-v3b5-headlink,.ms-v3b5-act):hover{background:var(--ms-blue-soft)!important;border-color:var(--ms-navy)!important}
html.msv2 #ms-frame#ms-frame#ms-frame :is(.ms-v3b5-headlink,.ms-v3b5-act):focus-visible{outline:2px solid var(--ms-navy)!important;outline-offset:2px!important}

/* ── Profile: Account card rows added from native data (name on certificates, help) ── */
html.msv2 #ms-frame#ms-frame#ms-frame .sc-ov-row.ms-v3b5-row{align-items:center!important;gap:12px!important}
html.msv2 #ms-frame#ms-frame#ms-frame .sc-ov-row.ms-v3b5-row .sc-ov-k{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important}
html.msv2 #ms-frame#ms-frame#ms-frame .sc-ov-row.ms-v3b5-row .sc-ov-k>b{color:var(--ms-ink)!important;font-weight:600!important;font-size:14px!important;overflow-wrap:anywhere!important}
html.msv2 #ms-frame#ms-frame#ms-frame .sc-ov-row.ms-v3b5-row .sc-ov-k>small{color:var(--ms-muted)!important;font-size:13px!important;font-weight:400!important}
html.msv2 #ms-frame#ms-frame#ms-frame .sc-ov-row.ms-v3b5-row .sc-ov-v{flex:none!important}

/* ── Profile: certificate-name lock note (locked state) — one calm row, button on the right ── */
html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern .sc-certbar .sc-name-lock a{min-height:44px!important;height:44px!important;padding:0 16px!important;border-radius:10px!important;font-size:14px!important;font-weight:500!important;white-space:nowrap!important}

/* ── Profile: Save sits with the details it saves, Security comes after it ── */
html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern .sc-save-row{order:5!important;display:flex!important;justify-content:flex-end!important;margin:0 0 8px!important}
html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern>.pwd-edit{order:9!important}
html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern .save-btn{border-radius:10px!important;min-height:44px!important;height:44px!important}

/* ── Company row (business): company / country / address keep the shared 48px control height and grow together
   (restores the skin-98 intent that the older layered 44px profile rule overrode) ── */
html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern .sc-g3 .input-group{min-height:48px!important;height:auto!important;align-items:stretch!important}
html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern .sc-g3 .input-group>:is(input.form-control,select.form-control){height:auto!important;min-height:48px!important;align-self:stretch!important}

/* ── Security: card head on top, three fields, primary action, native "direct login link" hint ── */
html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern>.pwd-edit{display:block!important;scroll-margin-top:96px!important}
html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern>.pwd-edit>.sc-card-hd{margin:0 0 16px!important;width:auto!important;max-width:none!important}
html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern>.pwd-edit .pwd-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:end!important;width:100%!important}
html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern>.pwd-edit .pwd-action{grid-column:1 / -1!important;display:flex!important;justify-content:flex-start!important}
html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern>.pwd-edit .pwd-action .btn{min-height:44px!important;height:44px!important;padding:0 18px!important;border-radius:10px!important;border:1px solid var(--ms-navy)!important;background:var(--ms-navy)!important;color:#fff!important;font-size:14px!important;font-weight:500!important;width:auto!important}
html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern>.pwd-edit .pwd-action .btn:hover{background:var(--ms-navy-ink)!important}
html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern>.pwd-edit>.sc-sec-note.ms-v3b5-note{display:block!important;margin:16px 0 0!important;padding:12px 14px!important;border:0!important;border-radius:10px!important;background:var(--ms-blue-soft)!important;color:var(--ms-ink)!important;font-size:13px!important;line-height:1.5!important}
html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern>.pwd-edit>.sc-sec-note.ms-v3b5-note b{font-weight:600!important}

/* ── Correction dialog (native #scnf-back): same components as the rest of the cabinet ── */
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back{background:rgba(15,36,71,.5)!important}
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back>div{position:relative!important;max-width:520px!important;border-radius:14px!important;border:1px solid var(--ms-border)!important;box-shadow:0 18px 50px rgba(15,36,71,.22)!important}
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back>div>div:first-of-type{padding:20px 64px 0 22px!important}
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back>div>div:first-of-type>div:first-child{font-size:17px!important;font-weight:600!important;color:var(--ms-ink)!important;line-height:1.35!important}
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back>div>div:first-of-type>div:nth-child(2){font-size:13px!important;color:var(--ms-muted)!important}
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back label{font-size:12.5px!important;font-weight:500!important;color:var(--ms-muted)!important}
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back :is(#scnf-f,#scnf-l){box-sizing:border-box!important;height:48px!important;min-height:48px!important;border:1px solid var(--ms-border)!important;border-radius:10px!important;background:var(--ms-surface)!important;color:var(--ms-ink)!important;font-size:15px!important;box-shadow:none!important}
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back #scnf-n{border:1px solid var(--ms-border)!important;border-radius:10px!important;font-size:14px!important;box-shadow:none!important}
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back :is(#scnf-f,#scnf-l,#scnf-n):focus{outline:none!important;border-color:var(--ms-navy)!important;box-shadow:0 0 0 3px var(--ms-blue-soft)!important}
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back #scnf-msg{border-radius:10px!important;font-size:13.5px!important}
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back>div>div:last-of-type>button{min-height:44px!important;height:44px!important;padding:0 18px!important;border-radius:10px!important;font-size:14px!important;font-weight:500!important}
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back>div>div:last-of-type>button:not(#scnf-go){border:1px solid var(--ms-border)!important;background:var(--ms-surface)!important;color:var(--ms-ink)!important}
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back #scnf-go{border:1px solid var(--ms-navy)!important;background:var(--ms-navy)!important;color:#fff!important}
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back #scnf-go[disabled]{opacity:.6!important;cursor:wait!important}
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back .ms-v3b5-x{position:absolute!important;top:14px!important;right:14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border:1px solid var(--ms-border)!important;border-radius:10px!important;background:var(--ms-surface)!important;color:var(--ms-ink)!important;font-size:22px!important;line-height:1!important;cursor:pointer!important}
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back .ms-v3b5-x:hover{background:var(--ms-blue-soft)!important}
html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back #scnf-certs :is(a,button){min-height:40px!important;border-radius:10px!important;white-space:nowrap!important}

/* ── Notices (/<lng>/reminders): page head, list as one card, unread marker, empty state ── */
html.msv2 #ms-frame#ms-frame#ms-frame .ms-v3b5-nhead{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px 16px!important;margin:0 0 16px!important}
html.msv2 #ms-frame#ms-frame#ms-frame .ms-v3b5-nhead :is(h1,h2){margin:0 0 4px!important;color:var(--ms-ink)!important}
html.msv2 #ms-frame#ms-frame#ms-frame .v3b4-page~.ms-v3b5-nhead{margin-top:24px!important}
html.msv2 #ms-frame#ms-frame#ms-frame .ms-v3b5-nhead p{margin:0!important;color:var(--ms-muted)!important;font-size:14px!important}
html.msv2 #ms-frame#ms-frame#ms-frame .ms-v3b5-empty{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:6px!important;padding:40px 20px!important;border:1px solid var(--ms-border)!important;border-radius:14px!important;background:var(--ms-surface)!important}
html.msv2 #ms-frame#ms-frame#ms-frame .ms-v3b5-empty b{color:var(--ms-ink)!important;font-size:15px!important;font-weight:600!important}
html.msv2 #ms-frame#ms-frame#ms-frame .ms-v3b5-empty span{color:var(--ms-muted)!important;font-size:13.5px!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor:has(>.ms-v3b5-empty) :is(.table-responsive-wrapper,.table-control){display:none!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor .table-control{position:static!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 0 12px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor .table-control .pagination{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;color:var(--ms-muted)!important;font-size:13px!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor .table-control .btn-page{font-weight:900!important;font-size:13px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border-radius:10px!important;border:1px solid var(--ms-border)!important;background:var(--ms-surface)!important;color:var(--ms-ink)!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor .table-control .btn-page.btn-disable{opacity:.45!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor .table-control select.max-count{width:auto!important;min-width:84px!important;height:44px!important;min-height:44px!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor .table-control .controls .btn{min-height:44px!important;height:44px!important;border-radius:10px!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor .table-responsive-wrapper{padding:0!important;border:1px solid var(--ms-border)!important;border-radius:14px!important;background:var(--ms-surface)!important;overflow:hidden!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor .table-responsive{border:0!important;margin:0!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table{margin:0!important;border:0!important;background:transparent!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>thead>tr>th{position:static!important;padding:12px 16px!important;border:0!important;border-bottom:1px solid var(--ms-border)!important;background:var(--ms-surface)!important;color:var(--ms-muted)!important;font-size:12.5px!important;font-weight:500!important;text-transform:none!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr>td{position:static!important;padding:14px 16px!important;border:0!important;border-bottom:1px solid var(--ms-border)!important;background:transparent!important;color:var(--ms-ink)!important;vertical-align:middle!important;font-size:14px!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr:last-child>td{border-bottom:0!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr>td.cell-title>div{cursor:pointer!important;font-weight:500!important;overflow-wrap:anywhere!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr.status-noread>td.cell-title>div{font-weight:600!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr.status-noread>td.cell-title>div::before{content:""!important;display:inline-block!important;width:8px!important;height:8px!important;margin:0 10px 1px 0!important;border-radius:50%!important;background:var(--ms-orange)!important;vertical-align:middle!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr>td.cell-created_at{color:var(--ms-muted)!important;font-size:13px!important;white-space:nowrap!important;width:1%!important;text-align:right!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr.row-content>td{background:var(--ms-bg)!important;color:var(--ms-ink)!important;font-size:14px!important;line-height:1.55!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr>td.selected .btn-action>.btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border-radius:10px!important;border:1px solid var(--ms-border)!important;background:var(--ms-surface)!important;color:var(--ms-ink)!important;box-shadow:none!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr>td.selected .btn-action>.btn i{background:transparent!important;color:inherit!important;box-shadow:none!important;border:0!important;padding:0!important;width:auto!important;height:auto!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor .table-responsive-wrapper{width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table{width:100%!important;table-layout:auto!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table :is(th.selected+th,td.selected+td){display:none!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table :is(th.selected,td.selected){width:64px!important;min-width:64px!important;padding-left:12px!important;padding-right:0!important;text-align:left!important;white-space:nowrap!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>thead>tr>th{text-align:left!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>thead>tr>th:last-child{text-align:right!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr>td{max-width:none!important;overflow:visible!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr>td.cell-title>div{white-space:normal!important;max-width:none!important}
html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor td.selected .btn-action{display:inline-block!important;width:auto!important;height:auto!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}

@media (max-width:700px){
  html.msv2 #ms-frame#ms-frame#ms-frame .sc-acc-head.ms-v3b5-head{grid-template-columns:minmax(0,1fr)!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .sc-acc-head.ms-v3b5-head>.ms-v3b5-headlink{grid-column:1!important;grid-row:auto!important;justify-self:start!important;margin-top:12px!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern>.pwd-edit .pwd-row{grid-template-columns:minmax(0,1fr)!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern>.pwd-edit .pwd-action .btn{width:100%!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .profile-modern .sc-save-row .save-btn{width:100%!important;justify-content:center!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .sc-ov-row.ms-v3b5-row{flex-wrap:wrap!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .sc-ov-row.ms-v3b5-row .sc-ov-k{flex:1 1 160px!important}
  html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back>div{margin:4vh auto!important}
  html.msv2 #ms-frame#ms-frame#ms-frame #scnf-back>div>div:last-of-type>button{flex:1 1 auto!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>thead{display:none!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table,html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody{display:block!important;width:100%!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr:not(.row-content){display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;grid-template-areas:"sel title" "sel date"!important;grid-template-rows:auto auto!important;height:auto!important;min-height:0!important;overflow:visible!important;align-items:center!important;border-bottom:1px solid var(--ms-border)!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr>td{border-bottom:0!important;height:auto!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr.row-content{height:auto!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr>td.selected{grid-area:sel!important;width:84px!important;min-width:0!important;padding:12px 0 12px 8px!important;box-sizing:border-box!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr>td.cell-title{grid-area:title!important;justify-self:stretch!important;max-width:none!important;white-space:normal!important;overflow:visible!important;width:auto!important;min-width:0!important;box-sizing:border-box!important;padding:12px 12px 2px!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr>td.cell-created_at{grid-area:date!important;justify-self:stretch!important;max-width:none!important;overflow:visible!important;min-width:0!important;box-sizing:border-box!important;width:auto!important;text-align:left!important;white-space:normal!important;padding:0 12px 12px!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr.row-content:not(.hidden){display:block!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr.row-content>td:not(.selected):not(.selected+td){display:block!important;width:auto!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor table.table>tbody>tr.row-content>td.selected{display:none!important}
  html.msv2 #ms-frame#ms-frame#ms-frame .reminders-editor .table-control{justify-content:flex-start!important}
}
}
