* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--aio-text); background: var(--aio-pattern), var(--aio-bg); font: 17px/1.5 var(--aio-font-body); letter-spacing: 0; }
header { min-height: 92px; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--aio-header); border-bottom: 1px solid var(--aio-border); }
header img { display: block; width: 180px; height: 60px; object-fit: contain; }
header a { font-weight: 600; }
main { max-width: 620px; margin: 48px auto; padding: 0 24px 40px; }
h1,h2 { font-family: var(--aio-font-heading); line-height: 1.25; letter-spacing: 0; }
h1 { font-size: 28px; color: var(--aio-info); margin: 0 0 16px; }
h2 { font-size: 20px; margin: 0 0 16px; }
p { margin: 12px 0 20px; overflow-wrap: anywhere; }
a { color: var(--aio-info); text-underline-offset: 4px; }
label { display: block; font-weight: 600; margin: 24px 0 8px; }
input,select,textarea { font: inherit; min-width: 0; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--aio-control-border); background: var(--aio-field-bg); color: var(--aio-text); border-radius: 4px; caret-color: var(--aio-info); }
input[readonly],textarea[readonly] { background: var(--aio-bg); }
.profile-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
.profile-fields label { min-width: 0; }
.profile-fields input,.profile-fields select { margin-top: 8px; }
@media(max-width:600px) { .profile-fields { grid-template-columns: minmax(0,1fr); } }
button,.action { font: inherit; font-weight: 650; min-height: 46px; border: 1px solid var(--aio-control-border); padding: 10px 16px; border-radius: 4px; color: var(--aio-text); background: var(--aio-surface); text-align: center; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
button:hover,.action:hover { background: var(--aio-neutral-hover); }
.primary { color: var(--aio-on-action); background: var(--aio-action); border-color: transparent; }
.primary:hover { background: var(--aio-hover); }
.full { width: 100%; margin-top: 28px; }
.password-field { display: flex; gap: 8px; }
.password-field button { flex: 0 0 98px; }
.text-button { color: var(--aio-info); background: transparent; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; margin-top: 12px; padding-inline: 4px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.check input { width: 20px; height: 20px; min-height: 20px; accent-color: var(--aio-info); }
.account { font-weight: 600; }
#entry-message:empty { display: none; }
#entry-message.error { padding: 12px 16px; border: 1px solid var(--aio-danger); color: var(--aio-danger); background: var(--aio-danger-bg); }
#company-list { display: grid; gap: 12px; margin-block: 24px; }
#company-list button { text-align: left; justify-content: space-between; color: var(--aio-info); background: var(--aio-field-bg); padding: 16px; overflow-wrap: anywhere; }
.access-web { padding: 24px 0 32px; border-bottom: 1px solid var(--aio-control-border); }
.access-windows { padding: 28px 0 12px; }
.windows-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.windows-copy { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; }
.windows-copy textarea { font-size: 16px; line-height: 1.5; resize: none; overflow-wrap: anywhere; }
#windows-copy-status { min-height: 24px; margin: 8px 0 0; }
.muted { color: var(--aio-muted); font-size: 16px; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid var(--aio-focus); outline-offset: 3px; }
::selection { color: var(--aio-text); background: var(--aio-info-bg); }
.skip { position: absolute; top: -80px; left: 16px; padding: 8px 16px; background: var(--aio-field-bg); }
.skip:focus { top: 8px; z-index: 1; }
@media(max-width:600px) { header { padding: 12px 16px; gap: 16px; min-height: 76px; } header img { width: 148px; height: 50px; } header a:last-child { font-size: 15px; } main { margin: 32px auto; padding-inline: 20px; } h1 { font-size: 24px; } .windows-actions>* { width: 100%; } .action { width: 100%; } }
@media(max-width:600px) { .windows-copy { grid-template-columns: minmax(0,1fr); } }
@media(forced-colors:active) { button,.action,input,textarea { border: 1px solid ButtonText; } }
.access-team { padding-block: 24px; border-top: 1px solid var(--aio-border); margin-top: 20px; }
main.team-view { max-width: 1160px; }
.team-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
#team-contact-form { padding-block: 24px; border-block: 1px solid var(--aio-control-border); margin-block: 24px; }
#team-contact-form input { max-width: 620px; }
#team-message:empty { display: none; }
#team-message.error { color: var(--aio-danger); background: var(--aio-danger-bg); padding: 12px 16px; border: 1px solid var(--aio-danger); }
.team-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 24px; background: var(--aio-field-bg); font-size: 16px; }
.team-table caption { text-align: left; font-weight: 650; padding-bottom: 12px; }
.team-table th,.team-table td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--aio-border); vertical-align: top; overflow-wrap: anywhere; }
.team-table th { background: var(--aio-info-bg); color: var(--aio-info); }
.team-table th:last-child { width: 188px; }
.team-table td:last-child { text-align: right; }
.team-table small { display: block; color: var(--aio-muted); font-size: 15px; margin-top: 4px; }
.team-table button { font-size: 15px; }
.team-table button+button { margin-top: 8px; }
#team-rights-form { margin-block: 24px; padding-block: 24px; border-block: 1px solid var(--aio-control-border); }
#team-rights-fields { min-width: 0; border: 0; margin: 0; padding: 0; }
#team-rights-fields>legend { font-weight: 650; margin-bottom: 12px; }
.team-rights-platform { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.team-rights-platform .check { margin: 0; min-height: 44px; }
.team-rights-platform .check input,.team-rights-groups .check input { flex: 0 0 20px; }
#team-rights-role { max-width: 540px; }
.team-rights-summary { margin-block: 16px; }
.team-rights-summary ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 8px 0; padding-left: 20px; font-size: 16px; }
#team-rights-business summary { cursor: pointer; min-height: 44px; padding-block: 8px; font-weight: 650; color: var(--aio-info); }
.team-rights-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; padding-block: 16px; }
.team-rights-groups fieldset { min-width: 0; margin: 0; padding: 12px 0 0; border: 0; border-top: 1px solid var(--aio-border); }
.team-rights-groups legend { font-weight: 650; padding-right: 12px; }
.team-rights-groups .check { font-size: 16px; margin: 0; min-height: 44px; overflow-wrap: anywhere; }
.team-rights-actions { justify-content: flex-start; margin-top: 24px; }
#team-password-dialog { width: min(580px,calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; overflow: auto; padding: 24px; border: 1px solid var(--aio-control-border); border-radius: 8px; color: var(--aio-text); background: var(--aio-field-bg); }
#team-password-dialog::backdrop { background: rgb(0 0 0 / 55%); }
#team-password-dialog h2 { font-size: 22px; margin-top: 0; }
#team-password-dialog p { overflow-wrap: anywhere; }
#team-password-dialog button { white-space: normal; }
#team-password-dialog .team-toolbar>button { flex: 1 1 180px; }
#team-password-status.error { color: var(--aio-danger); }
#team-password-copy { margin-top: 12px; }
@media(max-width:600px) { .team-rights-groups { grid-template-columns: minmax(0,1fr); } .team-rights-actions>button { width: 100%; } }
@media(max-width:760px) {
  .team-table,.team-table tbody,.team-table tr,.team-table td { display: block; width: 100%; }
  .team-table thead { display: none; }
  .team-table caption { display: block; }
  .team-table tr { padding: 12px; border-bottom: 1px solid var(--aio-control-border); }
  .team-table td { padding: 8px 0; border: 0; }
  .team-table td::before { content: attr(data-label); display: block; font-size: 15px; font-weight: 650; color: var(--aio-info); margin-bottom: 4px; }
  .team-table td:last-child { text-align: left; }
  .team-table td:last-child::before { display: none; }
  .team-table button { width: 100%; }
}
