/* PowerOffice presentation only. Shared integration metrics/sections come from customer-integrations.css.
   V3 status: 8px colored dot, neutral text, no pastel chip (REV-104, 2026-11-01). */
#account :is(#workspace-account,.customer-onboarding-content) .po-card{min-width:0;background:#fff;color:var(--r-ink,#16181d);font-weight:400}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-header{display:grid;grid-template-columns:44px minmax(0,1fr) auto 18px;gap:4px 14px;align-items:center;min-height:88px;padding:20px 24px;border:0;background:#fff;font-weight:400}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-header::before{content:"";display:block;grid-column:1;grid-row:1;width:40px;height:40px;border:1px solid var(--r-line,#e4e5e7);border-radius:10px;background:#fff url('/brand/integrations/poweroffice.png') center/30px no-repeat}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-header>.st-who{grid-column:2;grid-row:1;min-width:0}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-header .st-who b{font-size:17px;font-weight:500;line-height:1.45;white-space:normal}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-company-name{font-size:13px;font-weight:400;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-status-group{grid-column:3;grid-row:1;display:flex;align-items:center;flex-wrap:wrap;gap:6px}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-status{display:inline-flex;align-items:center;gap:7px;flex:none;width:max-content;max-width:100%;height:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--r-text,#3d4049);font-size:13px;font-weight:500;line-height:18px;white-space:nowrap}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-status::before{content:"";display:block;flex:0 0 8px;width:8px;height:8px;margin:0;border:0;border-radius:50%;background:#a0a3ab;box-shadow:none;opacity:1}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-status[data-state=connected]::before{background:#30a46c}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-test-badge{display:inline-flex;align-items:center;flex:none;height:22px;padding:0 8px;border:1px solid #dcdde1;border-radius:6px;background:#fff;color:var(--r-text,#3d4049);font-size:12px;font-weight:500;line-height:20px;white-space:nowrap}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-header>.st-chev{grid-column:4;grid-row:1;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .15s}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-header[aria-expanded=true]>.st-chev{transform:rotate(90deg)}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-body{padding:24px;background:var(--integration-panel,#fafafa);border-top:1px solid var(--r-line,#e4e5e7);min-width:0}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-organization{margin:0 0 20px;font-size:13px;line-height:1.5;color:var(--r-muted,#6b7078)}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-place{display:block;width:100%;max-width:360px;margin:0 0 24px}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-place>span{font-weight:500}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-place select{min-height:44px;font-size:16px;font-weight:400}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:44px;margin-bottom:12px}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-section-heading h3{margin:0;font-size:15px;font-weight:500;line-height:1.4}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-date{font-size:16px;line-height:1.5;letter-spacing:0;overflow-wrap:anywhere}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-actions>.r-btn,#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-control-content>.r-btn{min-height:44px;padding:10px 16px;font-size:14px;line-height:1.45;font-weight:500;white-space:normal}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 0;border:0;background:none;box-shadow:none;color:var(--r-muted,#656b74);font:400 13px/1.5 var(--r-font,inherit);text-align:left;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-text-button:hover{color:var(--r-ink,#16181d)}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-section-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;width:100%;padding:0;border:0;background:none;box-shadow:none;color:inherit;text-align:left;font:500 15px/1.5 var(--r-font,inherit);cursor:pointer}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-section-toggle>.st-chev,#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-text-button>.st-chev{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .15s}
#account :is(#workspace-account,.customer-onboarding-content) .po-card :is(.po-section-toggle,.po-text-button)[aria-expanded=true]>.st-chev{transform:rotate(90deg)}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-controls>h3{margin:0}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-test-summary{margin:2px 0 0}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-control-content{display:grid;justify-items:start;gap:12px;margin-top:16px}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-copy,#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-test-result{margin:0;font-size:14px;font-weight:400;line-height:1.6;overflow-wrap:anywhere}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-copy{color:var(--r-muted,#656b74)}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-customers>.po-copy{margin-top:16px}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-feedback{margin:16px 0 0;font-size:14px;font-weight:400;line-height:1.6;overflow-wrap:anywhere}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-feedback-error{padding-left:12px;border-left:2px solid #bf7d16;color:#775016}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-invoice:empty{display:none}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-disconnect{display:block}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-disconnect-confirm{padding:16px;margin-top:8px;border:1px solid var(--r-line,#e4e5e7);border-radius:10px;background:#fff}
#account :is(#workspace-account,.customer-onboarding-content) .po-card button:focus-visible,#account :is(#workspace-account,.customer-onboarding-content) .po-card select:focus-visible{outline:2px solid #2563eb;outline-offset:3px;border-radius:8px}
#account :is(#workspace-account,.customer-onboarding-content) .po-card button:disabled{opacity:.5;cursor:default}
@media(max-width:600px){
 #account :is(#workspace-account,.customer-onboarding-content) .po-card .po-header{grid-template-columns:40px minmax(0,1fr) 18px;padding:16px;gap:6px 12px}
 #account :is(#workspace-account,.customer-onboarding-content) .po-card .po-header::before{width:36px;height:36px;background-size:28px;grid-row:1 / span 2}
 #account :is(#workspace-account,.customer-onboarding-content) .po-card .po-header>.st-chev{grid-column:3;grid-row:1 / span 2}
 #account :is(#workspace-account,.customer-onboarding-content) .po-card .po-status-group{grid-column:2;grid-row:2}
 #account :is(#workspace-account,.customer-onboarding-content) .po-card .po-body{padding:20px 16px}
 #account :is(#workspace-account,.customer-onboarding-content) .po-card .po-actions>.primary{flex:1 1 auto}
}

#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-sync .st-integration-update{display:flex;align-items:center;justify-content:space-between;gap:20px}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-sync h3{margin:0 0 6px;font-size:15px;font-weight:500;line-height:1.5}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-sync .st-switch{width:44px;min-width:44px;min-height:44px;height:44px;border-radius:13px;background:transparent;flex:none}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-sync .st-switch::before{content:"";position:absolute;top:9px;left:0;width:44px;height:26px;border-radius:13px;background:#c6c8cc}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-sync .st-switch::after{top:12px;width:20px;height:20px}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-sync .st-switch[aria-checked=true]{background:transparent}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-sync .st-switch[aria-checked=true]::before{background:var(--r-ink,#16181d)}
#account :is(#workspace-account,.customer-onboarding-content) .po-card .po-sync .st-switch[aria-checked=true]::after{left:21px}
/* V3 03.11 (RegnskapMobil #7): the PowerOffice page as the other providers: the numbers as tiles, «Kunder» as a small label,
   the buttons in one row. */
#account #workspace-account .po-card .po-customers{display:flex;flex-direction:column;gap:12px;margin:0 0 12px;padding:0;border:0;background:none}
#account #workspace-account .po-card .po-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#account #workspace-account .po-card .po-section-heading>h3{margin:0;color:var(--r-muted);font:600 12px/16px var(--r-font);letter-spacing:.4px;text-transform:uppercase}
#account #workspace-account .po-card .st-integration-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;border:0;background:none}
#account #workspace-account .po-card .st-integration-metric{display:flex;flex-direction:column;gap:2px;min-width:0;padding:14px;border:0;border-radius:12px;background:#fff;box-shadow:0 0 0 .5px var(--r-line),0 1px 2px rgba(16,24,40,.05)}
#account #workspace-account .po-card .st-integration-metric>b{overflow:hidden;color:var(--r-ink);font:600 22px/28px var(--r-font);letter-spacing:-.4px;white-space:nowrap;text-overflow:ellipsis}
#account #workspace-account .po-card .st-integration-caption{overflow:hidden;color:var(--r-text);font:400 13px/18px var(--r-font);white-space:nowrap;text-overflow:ellipsis}
#account #workspace-account .po-card .po-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#account #workspace-account .po-card .po-actions>.r-btn{width:100%;height:44px;min-height:44px;margin:0}
