/* The company review's pages (src/company-page.js), in the 03 tokens of
   style.css (DESIGN.md): white cards on paper, ink pill buttons, 44 px
   targets, 4 px spacing steps. One column, readable from 320 px, and a
   print layout without buttons, forms or the link. */
.co-page{margin:0;min-height:100vh;background:var(--paper);color:var(--ink);font-size:16px;line-height:1.55}
.co-page :focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.co-top{max-width:880px;margin:0 auto;padding:24px 16px 8px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.co-brand{display:inline-flex;align-items:center;gap:10px;font-size:20px;font-weight:600;letter-spacing:-.02em}
.co-brand img{display:block}
.co-lang{display:inline-flex;align-items:center;min-height:44px;color:var(--ink-muted);font-size:14px}
.co-main{max-width:880px;margin:0 auto;padding:8px 16px 64px}
.co-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--r-card);padding:32px;display:grid;gap:16px}
.co-narrow{max-width:560px;margin:0 auto}
.co-card h1{margin:0;font-size:24px;line-height:1.25}
.co-card h2{margin:0 0 8px;font-size:18px}
.co-card p{margin:0}
.co-lead{font-size:17px}
.co-hint,.co-fine{font-size:14px;color:var(--ink-muted)}
.co-page summary{box-sizing:border-box;min-height:44px;padding:10px 0;cursor:pointer}
.co-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.co-block{border-top:1px solid var(--divider);padding-top:16px;display:grid;gap:8px}
.co-form{display:grid;gap:8px}
.co-form label{font-weight:600;font-size:14px;margin-top:8px}
.co-form input{-webkit-appearance:none;appearance:none;font:inherit;font-size:16px;min-height:44px;padding:0 14px;border:1px solid var(--border);border-radius:var(--r);background:var(--bg);color:var(--ink);min-width:0;outline:none;transition:border-color 120ms var(--ease),box-shadow 120ms var(--ease)}
.co-form input:focus{border-color:var(--ink);box-shadow:0 0 0 3px rgba(18,19,23,.10)}
.co-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.co-row input{flex:1 1 140px}
.co-unit{font-size:14px;color:var(--ink-muted)}
/* Every button is drawn here, never the browser's own (William, 17 November 2026: "the button here doesn't feel
   custom"): the primary one a black pill, 48 px, ink #121317 with white text, weight 500, a quiet hover and an ink
   focus ring. */
.co-button,.co-quiet,.co-danger,.co-pill{-webkit-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:999px;font:inherit;font-weight:500;cursor:pointer;text-decoration:none;transition:background-color 120ms var(--ease),border-color 120ms var(--ease),transform 120ms var(--ease)}
.co-button,.co-pill{min-height:48px;padding:0 24px;background:#121317;color:#fff;border:0}
.co-button:hover,.co-pill:hover{background:#000}
.co-button:active,.co-pill:active{transform:scale(.98)}
.co-button:focus-visible,.co-pill:focus-visible,.co-quiet:focus-visible,.co-danger:focus-visible{outline:2px solid #121317;outline-offset:3px}
.co-quiet{background:transparent;color:var(--ink);border:1px solid var(--border)}
.co-quiet:hover{border-color:var(--border-hover)}
.co-danger{background:transparent;color:var(--danger,#a1321b);border:1px solid var(--border)}
.co-button[disabled],.co-pill[disabled]{opacity:.6;cursor:default;transform:none}
.co-status{min-height:1.5em;font-size:15px}
.co-error{color:#8a2d14;font-size:14px}
/* The one tick for the company (src/company-tick.js), beside the booking's button: the sentence is its label. */
.co-accept{display:flex;align-items:flex-start;gap:12px;margin:8px 0 0}
.co-form .co-accept input{flex:none;width:22px;height:22px;min-height:0;padding:0;margin:1px 0 0;accent-color:var(--ink)}
.co-form .co-accept label{font-weight:400;font-size:15px;margin:0}
.co-assumed{font-size:14px;color:var(--ink);background:var(--surface);border-radius:var(--r-sm);padding:8px 12px}
.co-own{font-size:14px;color:var(--ok)}
.co-total{font-size:17px;font-weight:600}
.co-linkbox code{display:block;word-break:break-all;background:var(--surface);border-radius:var(--r-sm);padding:12px;font-size:14px}
.co-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.co-routine{border:0;border-radius:0;padding:0;display:block;break-inside:avoid}
.co-routine-t{font-weight:500;flex:1 1 auto}
.co-facts{font-size:15px}
.co-tags{display:flex;gap:8px;flex-wrap:wrap}
.co-tag{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;border:1px solid var(--border);font-size:13px;color:var(--ink-muted)}
.co-tag-ok{color:var(--ok);background:var(--ok-soft);border-color:transparent}
.co-calc{font-size:13px;color:var(--ink-muted);display:grid;gap:2px}
.co-calc-t{font-weight:600}
.co-plain{margin:0;padding-left:20px;display:grid;gap:4px}
.co-foot{color:var(--ink-muted);font-size:14px}
.co-foot-nav{display:flex;flex-wrap:wrap;align-items:center;gap:0 20px;max-width:880px;margin:0 auto;padding:0 16px 32px;font-size:14px}
.co-foot-nav a{color:var(--ink-muted)}
.co-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:520px){.co-card{padding:20px;border-radius:var(--r-panel)}}
@media (prefers-reduced-motion:reduce){.co-button,.co-quiet,.co-danger{transition:none}}
@media print{
  .co-page{background:#fff;font-size:12pt}
  .co-top .co-nav,.co-noprint,.co-head button,[data-co-link]{display:none !important}
  .co-card{border:0;padding:0}
  .co-routine{border-color:#ccc}
}
.co-answers{margin:0;display:grid;gap:6px}
.co-answers div{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:12px}
.co-answers dt{color:var(--ink-muted)}
.co-answers dd{margin:0}
/* The message to the staff (web/foretag.js show): the notice's words and the link, as it will be sent. */
.co-message{white-space:pre-wrap;word-break:break-word;background:var(--surface);border-radius:var(--r-sm);padding:12px;font:inherit;font-size:14px;line-height:1.55;margin:0}
/* The owner's page, one job per phase (src/company-page.js ownerSection, 17 November 2026): the line of what is true
   now, the one black pill, what happens next, and everything else behind quiet rows, as the workspace's .more. */
.co-owner{gap:24px;padding:40px 32px}
.co-owner h1{font-size:24px;line-height:1.3;letter-spacing:-.01em}
.co-owner h3{margin:8px 0 0;font-size:15px}
.co-first{display:grid;gap:16px}
.co-owner [data-co-link]{display:grid;gap:16px}
.co-owner [data-co-link] .co-button{min-height:52px;padding:0 24px}
.co-next{font-size:15px;color:var(--ink-muted)}
.co-rows{display:grid;border-bottom:1px solid var(--divider)}
.co-rows .co-rows{border-bottom:0}
.co-more{border-top:1px solid var(--divider)}
.co-more>summary,.co-more-btn{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:0;cursor:pointer;list-style:none;color:var(--ink-muted);font:inherit;font-size:15px;font-weight:500;text-align:left;background:none;border:0;border-top:1px solid var(--divider);transition:color 120ms var(--ease)}
details.co-more>summary{border-top:0}
.co-more>summary::-webkit-details-marker{display:none}
.co-more>summary::after{content:'';flex:none;width:8px;height:8px;margin-left:auto;margin-right:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s var(--ease)}
.co-more[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
.co-more>summary:hover,.co-more-btn:hover{color:var(--ink)}
.co-more-body{display:grid;gap:12px;padding:4px 0 20px}
.co-more-body .co-more>summary{font-size:15px}
/* A routine in the list: its steps and its hours a month; the rest of it behind its own row. */
.co-owner .co-list{gap:0;border-top:1px solid var(--divider)}
.co-owner .co-list>li{border-bottom:1px solid var(--divider)}
.co-routine>summary{display:flex;align-items:baseline;gap:12px;padding:14px 0;cursor:pointer;list-style:none}
.co-routine>summary::-webkit-details-marker{display:none}
.co-routine-n{flex:none;color:var(--ink-muted);font-size:15px;white-space:nowrap;font-variant-numeric:tabular-nums}
.co-routine .co-more-body{padding:0 0 16px}
.co-owner .co-total{font-size:22px;font-weight:600}
/* The three steps at the top of the owner's first view (src/company-page.js stepsLine, 17 November 2026): quiet, the
   current one in ink, the others faint, a tick on what is done; the ring and tick of the workspace's .ws-step. */
.co-steps{list-style:none;margin:0 0 8px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;font-size:13px;line-height:18px;color:var(--ink-faint)}
.co-step{display:flex;align-items:flex-start;gap:8px;min-width:0}
.co-step-mark{flex:none;position:relative;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--ink-faint);font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}
.co-step[data-state="now"]{color:var(--ink);font-weight:600}
.co-step[data-state="now"] .co-step-mark{background:var(--ink);color:var(--paper);box-shadow:none}
.co-step[data-state="done"]{color:var(--ink-muted)}
.co-step[data-state="done"] .co-step-mark{box-shadow:inset 0 0 0 1.5px var(--ink-muted)}
.co-step[data-state="done"] .co-step-mark::after{content:"";position:absolute;left:6.5px;top:4px;width:4px;height:8px;border:solid var(--ink-muted);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
/* Step 1's two ways to send: Skicka med mejl, and Kopiera för Slack eller Teams beside it. */
.co-owner [data-co-linkactions]{gap:12px}
.co-owner [data-co-linkactions]:empty{display:none}
.co-owner a.co-button,.co-owner a.co-quiet{text-decoration:none}
.co-owner [data-co-link] .co-quiet{min-height:52px;padding:0 22px}
.co-owner .co-more-body .co-quiet{min-height:44px;padding:0 20px}
/* Made in another browser (web/foretag.js): the one line and the field stand where the link's actions are; only the
   copy and mail buttons and the message are hidden, every other line and row stays (REVIEW B1 of cloud/ownersteps). */
.co-owner[data-elsewhere] [data-co-msgbody],.co-owner[data-elsewhere] .co-more-list>li:has(>[data-co-row="message"]:not([data-co-ask])),.co-owner[data-elsewhere] [data-co-panel][data-co-more="message"]:not([data-co-ask]){display:none}
.co-owner[data-elsewhere] [data-co-linkstate]{font-size:17px;color:var(--ink)}
/* Made elsewhere, the one job is to find the link again: the download (step 1's black pill) waits until it is found,
   so the line and the field are the only thing to do and the first view stays within its 60 words. */
.co-owner[data-elsewhere] [data-co-getrow]{display:none}
@media (max-width:520px){.co-owner [data-co-linkactions]>:not(.co-sr){flex:1 1 100%}.co-steps{gap:8px}}
@media (max-width:520px){.co-owner{border:0;padding:16px 4px}.co-owner h1,.co-owner .co-total{font-size:21px}.co-owner [data-co-link] .co-button{font-size:15px;padding:0 16px}}
@media (prefers-reduced-motion:reduce){.co-more>summary::after,.co-more>summary,.co-more-btn{transition:none}}
@media print{.co-more>summary::after{display:none}.co-owner .co-rows{border:0}}
/* The risk assessment (web/foretag.js dpia): a print-only page of its own. On screen it is never shown; printing
   it shows it alone, Swedish with English beside it, and leaves room under each line the employer fills in. */
.co-dpia{display:none}
@media print{
  body.co-dpia-on > :not(.co-dpia){display:none !important}
  body.co-dpia-on > .co-dpia{display:block;font-size:10pt;line-height:1.45;color:#000}
  .co-dpia h1{font-size:15pt;margin:0 0 4px}
  .co-dpia h2{font-size:11.5pt;margin:14px 0 4px}
  .co-dpia h3{font-size:10.5pt;margin:10px 0 2px}
  .co-dpia p{margin:0 0 4px}
  .co-dpia-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}
  .co-dpia-col[lang="en"]{color:#333}
  .co-dpia-sub{font-weight:600}
  .co-dpia-note{font-style:italic}
  .co-dpia-facts{margin:10px 0;display:grid;gap:3px}
  .co-dpia-facts div{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:8px}
  .co-dpia-facts dt{font-weight:600}
  .co-dpia-facts dd{margin:0;overflow-wrap:anywhere}
  .co-dpia-risk{font-weight:600;margin-top:6px}
  .co-dpia-mark{font-size:9pt;text-transform:uppercase;letter-spacing:.04em}
  .co-dpia-fill{height:22mm;border:1px solid #999;margin:2px 0 8px;break-inside:avoid}
  .co-dpia-pair{break-inside:avoid}
}

/* ---------- The booking, one step (src/company-page.js createPage, 17 November 2026) ----------
   samlify.com's own look: its soft spectrum glow behind a white card, the spectrum on the headline's key words and as
   the one field's outline, one black pill. Beside the form on a wide screen, under it on a phone, samlify.com's three
   lines of what Samlify sees. */
.co-glow{position:relative;isolation:isolate;background:var(--bg)}
.co-glow::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 14% 70%,rgba(238,140,194,.30),transparent 55%),radial-gradient(ellipse at 86% 60%,rgba(77,151,239,.26),transparent 55%),radial-gradient(ellipse at 50% 100%,rgba(133,84,231,.20),transparent 60%),radial-gradient(ellipse at 40% 0%,rgba(248,217,91,.16),transparent 50%)}
.co-glow .co-main{max-width:1040px;padding-top:24px}
.co-glow .co-top,.co-glow .co-foot-nav{max-width:1040px}
.co-start{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:48px;align-items:start;background:var(--bg);border:1px solid var(--border);border-radius:var(--r-panel);padding:56px;box-shadow:var(--sh-med)}
.co-start-main{display:grid;gap:20px;min-width:0}
.co-start-h{margin:0;font-size:44px;line-height:1.08;font-weight:500;letter-spacing:-.03em;text-wrap:balance}
.co-spec{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.co-spec::selection{-webkit-text-fill-color:var(--ink);color:var(--ink)}
.co-invited{margin:0;font-size:15px;color:var(--ink-muted)}
.co-start-form{display:grid;gap:12px}
/* The one field: a 1 px spectrum line, rounded; focused, the line is ink (never the browser's blue or purple). */
.co-field{display:block;border-radius:999px;border:1px solid transparent;background:linear-gradient(var(--bg),var(--bg)) padding-box,var(--grad) border-box;transition:box-shadow 120ms var(--ease)}
.co-field input{-webkit-appearance:none;appearance:none;display:block;box-sizing:border-box;width:100%;min-height:48px;padding:0 20px;border:0;border-radius:999px;background:transparent;font:inherit;font-size:17px;color:var(--ink);outline:none}
.co-field input::placeholder{color:var(--ink-faint)}
.co-page .co-field input:focus-visible{outline:none}
.co-field input:is(:autofill,:-webkit-autofill){box-shadow:0 0 0 100px var(--bg) inset;-webkit-text-fill-color:var(--ink)}
.co-field:focus-within{background:linear-gradient(var(--bg),var(--bg)) padding-box,linear-gradient(#121317,#121317) border-box;box-shadow:0 0 0 3px rgba(18,19,23,.10)}
.co-start-form .co-pill{width:100%;font-size:17px}
.co-press{margin:0;font-size:13px;line-height:19px;color:var(--ink-muted)}
.co-press a{color:var(--ink-muted);text-underline-offset:3px}
.co-press a:hover{color:var(--ink)}
.co-free{margin:0;font-size:15px;color:var(--ink-muted)}
.co-start-form .co-status:empty{display:none}
.co-sees{padding-top:8px}
.co-sees-list{list-style:none;margin:0;padding:0;display:grid;gap:22px}
.co-sees-list li{display:flex;align-items:flex-start;gap:14px}
.co-sees-i{flex:none;margin-top:1px;fill:none;stroke:var(--ink);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.co-sees-list p{margin:0;font-size:18px;line-height:26px;color:var(--ink);text-wrap:pretty}
.co-sees-k{font-weight:600}
@media (max-width:520px){
  .co-owner [data-co-getrow] .co-row>a{flex:1 1 100%}
  .co-glow .co-owner{border:1px solid var(--border);padding:24px 20px;border-radius:var(--r-card)}
}
@media (max-width:820px){
  .co-start{grid-template-columns:minmax(0,1fr);gap:32px;padding:28px 22px;border-radius:var(--r-card)}
  .co-start-h{font-size:32px;line-height:1.12}
  .co-sees{padding-top:24px;border-top:1px solid var(--divider)}
  .co-sees-list p{font-size:16px;line-height:24px}
  .co-glow .co-main{padding:8px 12px 48px}
}
/* After the press on a device that is not a Mac (src/company-page.js phoneView): the kit's one view (web/kit.css), in
   the same card as the booking. The kit's ground sets a full screen's height; here it is the card's own. */
.co-phone[hidden]{display:none}
.co-phone.kit{min-height:0;max-width:640px;margin:0 auto;padding:56px;background:var(--bg);border:1px solid var(--border);border-radius:var(--r-panel);box-shadow:var(--sh-med)}
.co-phone.kit .kit-title:focus{outline:none}
@media (max-width:820px){.co-phone.kit{padding:32px 22px 28px;border-radius:var(--r-card)}}
.co-leaving .co-phone{opacity:0;transform:translateY(-6px);transition:opacity 180ms var(--ease),transform 180ms var(--ease)}
.co-arriving .co-phone{animation:co-in 320ms var(--ease) both}
@media (prefers-reduced-motion:reduce){.co-leaving .co-phone{transition:none}.co-arriving .co-phone{animation:none}}
/* After the press: the booking fades out and the company's page comes in its place. */
.co-leaving .co-start{opacity:0;transform:translateY(-6px);transition:opacity 180ms var(--ease),transform 180ms var(--ease)}
.co-arriving .co-owner{animation:co-in 320ms var(--ease) both}
@keyframes co-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.co-leaving .co-start{transition:none}.co-arriving .co-owner{animation:none}}

/* ---------- Visa mer (src/company-page.js moreBox) ----------
   One quiet button; one short list of plain rows (a name and a chevron); a row opens one panel in place of the list
   (its title, Tillbaka, the content). Nothing opens inside a row, so the first view above never moves. */
.co-morebox{display:grid;border-top:1px solid var(--divider)}
.co-more-toggle,.co-more-row,.co-back{-webkit-appearance:none;appearance:none;font:inherit;background:none;border:0;cursor:pointer;color:var(--ink-muted);text-align:left}
.co-more-toggle{justify-self:start;min-height:48px;padding:0;font-size:15px;font-weight:500;text-decoration:underline;text-underline-offset:4px;transition:color 120ms var(--ease)}
.co-more-toggle:hover,.co-more-toggle[aria-expanded="true"]{color:var(--ink)}
.co-more-list{list-style:none;margin:0;padding:0;display:grid}
.co-more-list>li{border-top:1px solid var(--divider)}
.co-more-row{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:0 4px 0 0;font-size:16px;font-weight:500;color:var(--ink);transition:color 120ms var(--ease)}
.co-more-row:hover{color:#000}
.co-more-l{flex:1 1 auto;min-width:0}
.co-chev{flex:none;width:8px;height:8px;margin-right:6px;border-right:1.5px solid var(--ink-muted);border-bottom:1.5px solid var(--ink-muted);transform:rotate(-45deg)}
.co-panel{display:grid;gap:12px;padding:4px 0 8px}
.co-panel-top{margin:0}
.co-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0;font-size:15px;font-weight:500}
.co-back::before{content:"";width:7px;height:7px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.co-back:hover{color:var(--ink)}
.co-panel-t{margin:0;font-size:20px;line-height:1.3;font-weight:600;outline:none}
.co-panel-t:focus-visible{outline:2px solid #121317;outline-offset:3px;border-radius:4px}
.co-panel .co-more-body{padding:0 0 8px}
.co-panel h3{margin:8px 0 0;font-size:15px}
@media (prefers-reduced-motion:reduce){.co-more-toggle,.co-more-row{transition:none}}
@media print{
  .co-page .co-panel[hidden]{display:grid !important}
  .co-morebox{border:0}
  .co-glow::before{display:none}
  .co-start{border:0;box-shadow:none;padding:0}
}
