/* Approved administration redesign. Scope changes to administration, team and sources. */
html.certificate-workbench #v-administration .phead,html.certificate-workbench #v-team .phead,html.certificate-workbench #v-connectors .phead{align-items:center;gap:18px;margin-bottom:24px}
html.certificate-workbench #v-administration .ptitle,html.certificate-workbench #v-team .ptitle,html.certificate-workbench #v-connectors .ptitle{font-size:32px;line-height:1.25}
html.certificate-workbench #v-administration .pnote,html.certificate-workbench #v-team .pnote,html.certificate-workbench #v-connectors .pnote{font-size:14px;max-width:82ch;line-height:1.6}
html.certificate-workbench #v-administration .administration-list{display:grid;gap:22px}
html.certificate-workbench #v-administration .administration-directory,html.certificate-workbench #v-team .team-filter,html.certificate-workbench #v-connectors .connector-company-context{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 22px;border:1px solid #cacac1;border-left:3px solid #007681;border-radius:7px;background:#fff}
html.certificate-workbench #v-administration .administration-picker-label{width:min(520px,65%);display:grid;gap:7px}
html.certificate-workbench #v-administration .administration-client-select,html.certificate-workbench #v-team #team-client{font-size:19px;font-weight:500;min-height:40px;background:#fff;border:0;border-bottom:1px solid #bbb;border-radius:0;padding:3px 25px 6px 0;width:100%}
html.certificate-workbench #v-administration .eyebrow,html.certificate-workbench #v-team .eyebrow,html.certificate-workbench #v-connectors .eyebrow{font-size:10px;letter-spacing:.1em;color:#666}
html.certificate-workbench #v-administration .admin-scope-note{text-align:right}
html.certificate-workbench #v-administration .admin-scope-note .hint{margin-top:5px;font-size:12px}
html.certificate-workbench #v-administration .admin-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
html.certificate-workbench #v-administration .admin-overview-grid>.card,html.certificate-workbench #v-administration .tenant-control-card,html.certificate-workbench #v-team .card{border:1px solid #d0d0c7;border-radius:8px;box-shadow:none;overflow:hidden;background:white}
html.certificate-workbench #v-administration .admin-overview-grid .card-h,html.certificate-workbench #v-administration .tenant-control-card .card-h,html.certificate-workbench #v-team .card-h{padding:18px 22px;border-bottom:1px solid #e4e4dc;background:white;display:flex;align-items:center;justify-content:space-between;gap:14px}
html.certificate-workbench #v-administration .admin-overview-grid h2,html.certificate-workbench #v-administration .tenant-control-card h2,html.certificate-workbench #v-team .card-h h2{font-family:var(--wb-serif,"Playfair Display",Georgia,serif);font-size:21px;font-weight:600;text-transform:none;letter-spacing:0;margin:0}
html.certificate-workbench #v-administration .admin-overview-grid .card-b{padding:20px 22px;font-size:14px;line-height:1.6}
html.certificate-workbench #v-administration .admin-overview-grid .card-b p{margin:0 0 16px;color:#666}
html.certificate-workbench #v-administration .admin-overview-grid h3{font-size:16px;font-weight:500;margin:0 0 10px}
html.certificate-workbench #v-administration .admin-summary-values{display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:13px;margin:18px 0 0}
html.certificate-workbench #v-administration .admin-summary-values dt{color:#666}html.certificate-workbench #v-administration .admin-summary-values dd{margin:0;text-align:right}
html.certificate-workbench #v-administration .client-team-start{padding:0}
html.certificate-workbench #v-administration .tenant-controls{display:grid;grid-template-columns:1fr 1fr;border-top:0;column-gap:28px}
html.certificate-workbench #v-administration .feature-switch{padding:18px 0;min-height:105px;border-color:#e5e5dd;gap:20px;align-items:center}
html.certificate-workbench #v-administration .feature-switch b{font-size:14px;font-weight:500}
html.certificate-workbench #v-administration .feature-switch small{font-size:12px;line-height:1.6;margin-top:4px;color:#666}
html.certificate-workbench #v-administration .feature-switch input,html.certificate-workbench #v-administration .connector-switch input{width:20px;height:20px;accent-color:#007681;flex-shrink:0}
html.certificate-workbench #v-administration .administration-detail-body{padding:0 22px 22px;gap:22px}
html.certificate-workbench #v-administration .tenant-connectors{padding-top:20px;border-top:1px solid #e3e3da}
html.certificate-workbench #v-administration .tenant-connectors h3{font-size:15px;margin:0 0 7px}
html.certificate-workbench #v-administration .tenant-connectors>.hint{font-size:12px;margin:0 0 12px}
html.certificate-workbench #v-administration .tenant-control-actions{display:flex;gap:10px;align-items:center;padding:16px 22px;border-top:1px solid #e2e2d9;background:#fbfbf8}
html.certificate-workbench #v-administration .admin-save-state{margin-right:auto;color:#666;font-size:12px}
html.certificate-workbench #v-administration .admin-load-state,html.certificate-workbench #v-team .admin-load-state{padding:32px;border:1px solid #ccc;border-radius:8px;background:#fff;font-size:14px;line-height:1.6}
html.certificate-workbench #v-administration .admin-load-state h2,html.certificate-workbench #v-team .admin-load-state h2{font:600 25px/1.35 var(--wb-serif,"Playfair Display",Georgia,serif);margin:0 0 12px}
html.certificate-workbench #v-administration:has(#onboard-form:not([hidden])) #administration-list,html.certificate-workbench #v-administration:has(#onboard-form:not([hidden])) #administration-empty,html.certificate-workbench #v-administration:has(#onboard-form:not([hidden])) #onboard-open{display:none!important}
html.certificate-workbench #v-administration #onboard-form{max-width:1000px;margin:0 auto;padding:28px 32px;border:1px solid #cacac1;border-radius:8px;box-shadow:none}
html.certificate-workbench #v-administration #onboard-form .production-campaign-head h2{font-size:26px;font-family:var(--wb-serif,"Playfair Display",Georgia,serif)}
html.certificate-workbench #v-administration .admin-onboarding-steps{display:flex;list-style:none;gap:0;padding:0;margin:22px 0 28px;border-bottom:1px solid #ccc}
html.certificate-workbench #v-administration .admin-onboarding-steps li{flex:1;border-bottom:3px solid transparent;padding:12px 6px 14px 0;font-size:13px;color:#666;display:flex;align-items:center;gap:9px}
html.certificate-workbench #v-administration .admin-onboarding-steps li>span{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#eee;border:1px solid #ddd;font-size:12px;flex:none}
html.certificate-workbench #v-administration .admin-onboarding-steps li[aria-current=step]{border-bottom-color:#b76519;color:#222;font-weight:600}
html.certificate-workbench #v-administration .admin-onboarding-steps li[aria-current=step]>span{background:#222;color:#fff;border-color:#222}
html.certificate-workbench #v-administration #onboard-form .production-campaign-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
html.certificate-workbench #v-administration #onboard-form label{font-size:14px;display:grid;gap:8px}
html.certificate-workbench #v-administration #onboard-form input,html.certificate-workbench #v-administration #onboard-form textarea{min-height:42px;font-size:14px}
html.certificate-workbench #v-administration #onboard-result{font-size:14px;line-height:1.6}
.admin-confirm-dialog,.team-access-dialog{max-width:calc(100vw - 32px);width:560px;border:1px solid #ccc;border-radius:12px;padding:28px;background:white;box-shadow:0 20px 90px #0003;color:#222}
.admin-confirm-dialog::backdrop,.team-access-dialog::backdrop{background:#2226}
.admin-confirm-dialog h2,.team-access-dialog h2{font:600 27px/1.3 var(--wb-serif,"Playfair Display",Georgia,serif);margin:0 0 12px}
.admin-confirm-dialog p,.team-access-dialog p{font-size:14px;line-height:1.6;color:#666}
.team-access-dialog label{display:grid;gap:7px;font-size:14px;margin:18px 0 8px}
.team-access-dialog select,.team-access-dialog input{min-height:42px;font-size:14px;width:100%}
.team-access-dialog .row-actions,.admin-confirm-dialog .row-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:24px}
.team-access-dialog .team-invite-form{display:grid;grid-template-columns:1fr;gap:14px;margin-top:14px}
.team-access-dialog .team-invite-form label{margin:0}.team-access-dialog .team-invitation-actions{margin-top:4px}
.team-access-dialog .card-h,.team-access-dialog .card-b{padding:0;border:0;background:white}
.team-access-dialog .team-role-guide{margin-top:18px;font-size:13px;line-height:1.7}
html.certificate-workbench #v-team .team-list{display:grid;gap:22px}
html.certificate-workbench #v-team .team-filter>label{display:grid;gap:5px;width:min(520px,65%);font-size:11px;color:#666}
html.certificate-workbench #v-team .team-filter>.hint{max-width:30ch;text-align:right;font-size:12px}
html.certificate-workbench #v-team .client-team-context h2{font-size:21px;margin:4px 0}
html.certificate-workbench #v-team .client-team-context .hint{font-size:13px;margin:5px 0 0}
html.certificate-workbench #v-team .team-action-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;border:1px solid #e3cfad;border-left:3px solid #b66f18;background:#fffbf3;border-radius:7px;font-size:14px}
html.certificate-workbench #v-team .team-action-summary p{font-size:12px;margin:4px 0 0;color:#665c4c}
html.certificate-workbench #v-team .team-domain-disclosure{border-top:1px solid #ddd;padding-top:15px;font-size:14px}
html.certificate-workbench #v-team .team-domain-disclosure>summary{font-weight:500;cursor:pointer;padding:5px 0 15px}
html.certificate-workbench #v-team .team-member-table th{font-size:12px;font-weight:500;text-transform:none;background:#f8f8f5;padding:12px 18px}
html.certificate-workbench #v-team .team-member-table td{padding:19px 18px;font-size:14px;vertical-align:middle;white-space:normal}
html.certificate-workbench #v-team .team-member-table td b{font-weight:500}html.certificate-workbench #v-team .team-member-table .hint{font-size:12px;margin-top:4px}
html.certificate-workbench #v-team .team-queue{font-size:14px}html.certificate-workbench #v-team .team-who .hint{font-size:12px}
html.certificate-workbench #v-connectors .connector-company-context{display:block;margin-bottom:20px}
html.certificate-workbench #v-connectors .connector-company-context h2{font:500 20px/1.5 var(--ff);margin:3px 0}
html.certificate-workbench #v-connectors .connector-company-context p{margin:3px 0 0;font-size:12px}
html.certificate-workbench #v-connectors .connector-banner{border:1px solid #d3e2df;border-radius:7px;background:#eef5f4;padding:18px 22px;margin-bottom:24px}
html.certificate-workbench #v-connectors .connector-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:18px}
html.certificate-workbench #v-connectors #connector-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
html.certificate-workbench #v-connectors #connector-grid>.connector-tile{border:1px solid #ddd;border-radius:6px;box-shadow:none;background:#fff;padding:18px}
html.certificate-workbench #v-connectors #netsuite-card{display:flex;flex-direction:column}
html.certificate-workbench #v-connectors #netsuite-card .connector-logo{justify-content:start;margin:0}
html.certificate-workbench #v-connectors #netsuite-card h2{font-size:14px;margin:0 0 12px}
html.certificate-workbench #v-connectors .customer-source-flow{margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px;background:#f6f8f6;border:1px solid #e2e7e2;border-radius:6px}
html.certificate-workbench #v-connectors .customer-source-flow>div{flex:1}html.certificate-workbench #v-connectors .customer-source-flow strong{font-size:18px;font-weight:500;display:block}
html.certificate-workbench #v-connectors .customer-source-flow>div span{display:block;font-size:12px;line-height:1.6;color:#666;margin-top:7px}
html.certificate-workbench #v-connectors .source-flow-arrow{color:#007681;font-size:28px}
html.certificate-workbench #v-connectors #netsuite-status{grid-column:1;font-size:13px;line-height:1.6;margin:0;color:#555}
html.certificate-workbench #v-connectors #netsuite-sync{grid-column:1/-1;border-top:1px solid #e3e3db;padding-top:18px;margin-top:6px}
html.certificate-workbench #v-connectors .connection-health-summary{font-size:13px;line-height:1.6}
html.certificate-workbench #v-connectors .connection-health-summary p{margin:7px 0 0}
html.certificate-workbench #v-connectors .connection-held-count{color:#666}
html.certificate-workbench #v-connectors #netsuite-card .connector-tile-footer{grid-column:1/-1;border-top:1px solid #e3e3db;padding-top:16px;margin-top:6px}
html.certificate-workbench #v-connectors #netsuite-form{padding:26px;max-width:1000px;border:1px solid #ccc;border-radius:8px;background:#fff}
html.certificate-workbench #v-connectors #netsuite-form .production-campaign-head h2{font:600 27px/1.3 var(--wb-serif,"Playfair Display",Georgia,serif)}
html.certificate-workbench #v-connectors .connector-setup-step{padding:21px 0;border-bottom:1px solid #deded4;margin:0}
html.certificate-workbench #v-connectors .connector-setup-step>summary,html.certificate-workbench #v-connectors .connector-setup-step>h3{font-size:15px;font-weight:500;list-style:none;display:flex;align-items:center;gap:12px;margin:0}
html.certificate-workbench #v-connectors .connector-setup-step>summary{cursor:pointer}
html.certificate-workbench #v-connectors .connector-setup-step>summary>span,html.certificate-workbench #v-connectors .connector-setup-step>h3>span{display:flex;align-items:center;justify-content:center;width:25px;height:25px;background:#eee;border-radius:50%;font-size:12px}
html.certificate-workbench #v-connectors .connector-setup-step .hint{font-size:13px;line-height:1.8;margin-top:16px}
html.certificate-workbench #v-connectors .connector-setup-step .production-campaign-fields{margin-top:22px;align-items:start}
html.certificate-workbench #v-connectors #netsuite-result:not(:empty){padding:15px 18px;border-left:3px solid #007681;background:#f1f7f6;font-size:14px;line-height:1.6;margin:20px 0}
@media(max-width:900px){html.certificate-workbench #v-administration .admin-overview-grid{grid-template-columns:1fr}html.certificate-workbench #v-administration .administration-picker-label,html.certificate-workbench #v-team .team-filter>label{width:100%}html.certificate-workbench #v-administration .administration-directory,html.certificate-workbench #v-team .team-filter{align-items:start;flex-wrap:wrap}html.certificate-workbench #v-administration .admin-scope-note{text-align:left}html.certificate-workbench #v-team .team-filter>.hint{text-align:left;max-width:none}html.certificate-workbench #v-connectors #connector-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){html.certificate-workbench #v-administration .ptitle,html.certificate-workbench #v-team .ptitle,html.certificate-workbench #v-connectors .ptitle{font-size:27px}html.certificate-workbench #v-administration .phead,html.certificate-workbench #v-team .phead{align-items:start;flex-wrap:wrap}html.certificate-workbench #v-administration .administration-directory,html.certificate-workbench #v-team .team-filter,html.certificate-workbench #v-connectors .connector-company-context{padding:16px}html.certificate-workbench #v-administration .tenant-controls{grid-template-columns:1fr}html.certificate-workbench #v-administration .administration-detail-body{padding:0 16px 16px}html.certificate-workbench #v-administration .tenant-control-actions{padding:16px;flex-wrap:wrap}html.certificate-workbench #v-administration .admin-save-state{width:100%;margin-bottom:5px}html.certificate-workbench #v-administration .tenant-control-actions>.btn{flex:1}html.certificate-workbench #v-administration #onboard-form{padding:20px 16px}html.certificate-workbench #v-administration #onboard-form .production-campaign-fields{grid-template-columns:1fr}html.certificate-workbench #v-administration .admin-onboarding-steps li{font-size:11px;gap:6px;align-items:start}html.certificate-workbench #v-administration .admin-onboarding-steps li>span{width:21px;height:21px;font-size:10px}html.certificate-workbench #v-team .team-action-summary{align-items:start;flex-wrap:wrap}html.certificate-workbench #v-team .team-action-summary>.btn{padding-left:0}html.certificate-workbench #v-team .team-table{overflow:visible}html.certificate-workbench #v-team .team-member-table,html.certificate-workbench #v-team .team-member-table tbody{display:block}html.certificate-workbench #v-team .team-member-table thead{display:none}html.certificate-workbench #v-team .team-member-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px 18px;padding:18px;border-bottom:1px solid #e2e2d8}html.certificate-workbench #v-team .team-member-table td{display:block;padding:0;border:0;min-width:0;overflow-wrap:anywhere}html.certificate-workbench #v-team .team-member-table td:first-child{grid-column:1/-1}html.certificate-workbench #v-team .team-member-table td:not(:first-child):not(:last-child):before{content:attr(data-label);display:block;font-size:11px;color:#666;margin-bottom:4px}html.certificate-workbench #v-team .team-member-table td:last-child{align-self:end;text-align:right}html.certificate-workbench #v-team .team-empty-row td{grid-column:1/-1}.team-access-dialog,.admin-confirm-dialog{padding:22px}.team-access-dialog .row-actions>.btn{flex:1}html.certificate-workbench #v-connectors #netsuite-card{display:flex;padding:18px}html.certificate-workbench #v-connectors #netsuite-card h2{margin:14px 0 12px}html.certificate-workbench #v-connectors .customer-source-flow{padding:18px 14px;gap:16px;margin:18px 0}html.certificate-workbench #v-connectors .customer-source-flow strong{font-size:16px}html.certificate-workbench #v-connectors #netsuite-status{margin:12px 0}html.certificate-workbench #v-connectors #connector-grid{grid-template-columns:1fr}html.certificate-workbench #v-connectors #netsuite-form{padding:20px 16px}html.certificate-workbench #v-connectors #netsuite-form .production-campaign-fields{grid-template-columns:1fr}html.certificate-workbench #v-connectors .connector-setup-step .hint{font-size:13px}html.certificate-workbench #v-connectors .connector-tile-actions{flex-wrap:wrap}}

/* Hostile-input pass: placeholders must not read as filled-in values, headings in dialogs and the
   onboarding card must not look disabled. */
#v-administration .inp::placeholder,#v-connectors .inp::placeholder,#v-team input::placeholder,.team-access-dialog input::placeholder{color:#8a8a80;font-weight:400;opacity:1}
.team-access-dialog h2,.admin-confirm-dialog h2,.team-access-dialog .card-h h2{color:#1d1d1b}
html.certificate-workbench #v-administration #onboard-form .production-campaign-head h2{color:#1d1d1b}
#onboard-review dd{white-space:pre-line;overflow-wrap:anywhere}
.dialog-problem{min-height:0;color:#9b1c1c;margin:6px 0 0}.dialog-problem:empty{display:none}
html.certificate-workbench #v-administration .card-h h2,html.certificate-workbench #v-team .card-h h2,html.certificate-workbench #v-administration .tenant-control-card h2{color:#1d1d1b}
#team-client,.administration-client-select{text-overflow:ellipsis}
.team-access-dialog [role=status]:empty{display:none}
.team-access-dialog .card-b>.hint{margin:18px 0 0}
