@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/bricolage.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Zeno icons";
  src: url("/assets/ui-icons.woff2") format("woff2");
  font-display: block;
}
:root {
  color-scheme: light;
  --canvas: #f4f6f8;
  --surface: #ffffff;
  --ink: #101d2d;
  --pine: #152b3e;
  --muted: #536372;
  --line: #d5dce3;
  --soft: #e6ebf0;
  --lime: #deff83;
  --amber: #fff4df;
  --burnt: #8d3918;
  --display: "Bricolage Grotesque", "DM Sans", sans-serif;
  font: 16px/1.5 "DM Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden], #feedback:empty { display: none !important; }
button, input, select, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, summary { cursor: pointer; }
button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; border: 1px solid transparent; border-radius: 11px;
  padding: 8px 14px; font-weight: 670; color: var(--pine); background: var(--soft);
}
button:hover { background: #dfe8d8; }
button:active { transform: translateY(1px); }
button:disabled { opacity: .6; cursor: wait; }
button.primary { background: var(--pine); color: white; }
button.primary:hover { background: #19574e; }
a { color: var(--pine); font-weight: 670; text-underline-offset: .2em; }
:where(button, a, input, select, summary):focus-visible { outline: 3px solid #b75614; outline-offset: 3px; }
.glyph, .device-header::before, summary::after, .attention-item > summary::before, .task-panel > summary::before, .overview-empty::before {
  font: 500 22px/1 "Zeno icons";
  letter-spacing: normal; text-transform: none; font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
.shell { position: relative; width: min(100% - 64px, 1280px); margin: 0 auto; }
.masthead {
  min-height: 84px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 9px; line-height: 1; white-space: nowrap; }
.brand strong { font: 760 29px/.95 var(--display); letter-spacing: -.075em; }
.brand-product { border-left: 1px solid #a9b7a8; margin-left: 4px; padding-left: 12px; font-size: 14px; font-weight: 650; }
.mark {
  display: grid; place-items: center; width: 37px; height: 37px;
  border-radius: 10px; background: var(--pine); transform: rotate(-4deg);
}
.mark::before {
  content: ""; width: 22px; height: 18px; background: var(--lime);
  clip-path: polygon(9% 0,100% 0,95% 22%,40% 75%,90% 75%,85% 100%,0 100%,5% 76%,60% 24%,4% 24%);
}
#logout { background: transparent; font-size: 14px; padding-inline: 10px; }
#logout:hover { background: var(--soft); }
#logout .glyph { font-size: 18px; }
#main { max-width: 1040px; margin: 0 auto; padding: 45px 0 90px; }
#main:has(.login-layout) { max-width: 640px; padding: clamp(48px,10vh,116px) 0; }
.login-layout {
  background: var(--pine); color: white; border-radius: 24px;
}
.login-content { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(32px,5vw,64px); }
.login-content h1 { max-width: 8em; font: 760 clamp(44px,6vw,80px)/.96 var(--display); letter-spacing: -.055em; margin: 0; }
.login-content button.primary { background: var(--lime); color: var(--ink); }
.login-content button.primary:hover { background: #c9ef66; }
#google-start { justify-content: space-between; width: 100%; min-height: 52px; padding: 12px 20px; }
.login-content form { width: 100%; }
#auth-wait, .login-content label { color: #ebeff4; }
#nav { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
#nav button { background: transparent; color: var(--muted); font-size: 14px; border-radius: 99px; }
#nav button[aria-current="page"] { background: var(--pine); color: white; }
#nav button:not([aria-current="page"]):hover { background: var(--soft); }
#nav .glyph { font-size: 18px; }
.sync-status {
  width: fit-content; margin: 22px max(0px,calc((100% - 1040px)/2)) -26px auto;
  display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; color: var(--muted);
}
.sync-status::before { content: ""; width: 7px; height: 7px; background: #337965; border-radius: 50%; }
.sync-status[data-connected="false"]::before { background: #a24d17; }
h1,h2,h3 { font-family: var(--display); overflow-wrap: anywhere; }
.page-title { max-width: 100%; margin: 0 0 25px; font-size: clamp(37px,4.6vw,65px); font-weight: 730; line-height: 1.02; letter-spacing: -.052em; }
h2 { font-size: 24px; line-height: 1.14; letter-spacing: -.045em; margin: 0 0 12px; }
h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.035em; margin: 10px 0; }
p { margin: 6px 0; }
small,.sub { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; }
.card,.box { min-width: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 17px; padding: 20px; }
details > summary { list-style: none; position: relative; display: block; min-height: 44px; align-content: center; padding-right: 30px; font-weight: 680; overflow-wrap: anywhere; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "expand_more" / ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--muted); }
details[open] > summary::after { transform: translateY(-50%) rotate(180deg); }
details[open] > summary { margin-bottom: 8px; }
details > summary small { font-weight: 450; margin-top: 3px; }
.section-heading,.actions,.row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.row,.section-heading { justify-content: space-between; }
.section-heading { margin-bottom: 12px; }
.section-heading h2 { margin: 0; }
.attention-section { margin: 0 0 26px; }
.attention-section > h2 { font-size: 17px; letter-spacing: -.025em; }
.attention-item {
  margin: 7px 0; padding: 8px 17px; border-radius: 14px;
  background: var(--amber); color: #572f1b; border: 1px solid #e8c99e;
}
.attention-item > summary { padding-left: 51px; font: 660 18px/1.22 var(--display); }
.attention-item > summary::before {
  content: "notifications" / ""; position: absolute; top: 50%; left: 0; transform: translateY(-50%);
  width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; background: #f8ce98; color: #74330d; font-size: 19px;
}
.attention-item > summary small { font: 450 13px/1.4 "DM Sans",sans-serif; color: #624a38; }
.attention-item .line { border-color: #e6c496; }
.attention-item > :not(summary) { margin-top: 9px; }
.attention-item .actions button { background: #fffaf1; }
.attention-item .actions .primary { background: var(--pine); }
.devices { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 14px; align-items: start; }
.device-card { padding: 19px; }
.device-header { position: relative; min-height: 42px; padding-left: 54px; display: grid; align-content: center; }
.device-header::before {
  content: "devices" / ""; position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; background: #e2ecd7; color: var(--pine);
}
[data-platform="windows"] .device-header::before { content: "computer" / ""; background: #dcece8; }
[data-platform="android"] .device-header::before { content: "smartphone" / ""; }
.device-title { margin: 0; font-size: 22px; }
.device-header small { margin-top: 2px; }
.device-state { margin: 15px 0 12px; }
.device-state p { font-size: 14px; font-weight: 620; line-height: 1.35; }
.status { display: inline-block; border-radius: 20px; background: #eaf0e5; padding: 3px 9px; font-weight: 600; font-size: 12px; color: #384e43; }
.device-state .status { margin-bottom: 4px; }
.device-info { margin: 12px 0 0; border-top: 1px solid var(--line); padding-top: 4px; }
.device-info summary { font-size: 14px; color: var(--muted); }
.device-info form,.card form { margin: 12px 0; }
.device-info small + small { margin-top: 5px; }
.actions button { font-size: 14px; }
.device-card .actions { gap: 6px; }
.overview-empty {
  padding: clamp(26px,4vw,48px);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border: 0; background: var(--pine); color: white; border-radius: 20px;
}
.overview-empty h2 { margin: 0; font-size: clamp(27px,3vw,42px); }
.overview-empty button { color: var(--pine); background: var(--lime); }
.overview-refresh { margin-top: 14px; background: transparent; }
.settings-tasks,.activity-tasks { display: grid; gap: 10px; }
.browser-activity-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .86rem; }
.browser-activity-table th, .browser-activity-table td { padding: .5rem .25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.browser-activity-table th:first-child { width: 44%; }
.browser-activity-table small { display: block; font-weight: 400; }
.task-panel { padding: 9px 20px; }
.task-panel > summary { padding-left: 42px; font: 660 18px/1.25 var(--display); }
.task-panel > summary::before { content: "tune" / ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: #47675d; }
.task-panel[data-key*="pair"] > summary::before { content: "phonelink" / ""; }
.task-panel[data-key*="record"] > summary::before { content: "history" / ""; }
.task-panel[data-key*="notif"] > summary::before { content: "notifications" / ""; }
.task-panel[data-key*="usage"],.task-panel[data-key="trend"] { background: #edf3e4; }
.task-panel[data-key="trend"] > summary::before { content: "bar_chart" / ""; }
.task-panel[open] { padding-bottom: 20px; }
.task-panel[open] > summary { border-bottom: 1px solid var(--line); padding-bottom: 9px; margin-bottom: 13px; }
.devices-section + .task-panel { margin-top: 18px; }
.line { padding: 12px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.line:last-child { border-bottom: 0; }
.line b { display: block; margin: 3px 0; }
label { display: grid; gap: 5px; font-size: 14px; font-weight: 650; }
input,select,textarea { border: 1px solid #a7b7ab; border-radius: 9px; background: #fffef9; color: var(--ink); width: 100%; min-width: 0; min-height: 44px; font-size: 16px; padding: 8px 12px; }
form { display: grid; gap: 12px; max-width: 510px; }
form > button { justify-self: start; }
fieldset { min-width: 0; border: 1px solid var(--line); border-radius: 10px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.check input { width: 19px; min-height: 19px; accent-color: var(--pine); }
.filters { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(180px,100%),1fr)); gap: 10px; }
.barrow { display: grid; align-items: center; grid-template-columns: 74px 1fr 65px; gap: 9px; padding: 3px 0; font-size: 13px; }
.barrow b { text-align: right; }
.barrow meter { width: 100%; accent-color: var(--pine); }
code { overflow-wrap: anywhere; }
.pairing-result { background: #e3f0cf; padding: 16px; margin-bottom: 16px; border-radius: 14px; }
.paircode { font: 650 19px/1.5 monospace; }
#feedback:not(:empty) {
  position: fixed; z-index: 4; bottom: 20px; left: 50%; transform: translateX(-50%);
  width: max-content; max-width: min(620px,92vw); padding: 12px 18px; border-radius: 12px;
  background: var(--pine); color: white; box-shadow: 0 6px 22px #153c3326; overflow-wrap: anywhere;
}
@media(max-width:850px) {
  .shell { width: min(100% - 40px,720px); }
  .masthead { min-height: 69px; }
  #main { padding-top: 35px; padding-bottom: 105px; }
  #main:has(.login-layout) { padding: 24px 0 35px; }
  #nav {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 3; transform: none;
    display: grid; grid-template-columns: repeat(3,1fr); gap: 3px;
    padding: 7px max(12px,calc((100vw - 580px)/2)) max(7px,env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); background: var(--surface);
  }
  #nav button { flex-direction: column; gap: 3px; border-radius: 10px; font-size: 12px; min-height: 47px; padding: 4px 6px; }
  #nav button[aria-current="page"] { background: #e2ecd7; color: var(--pine); }
  #feedback:not(:empty) { bottom: 74px; }
  .login-content { padding: 28px; }
  .sync-status { margin: 14px 0 -19px auto; }
}
@media(max-width:640px) {
  .shell { width: calc(100% - 32px); }
  .masthead { min-height: 63px; }
  .brand strong { font-size: 25px; }
  .brand-product { font-size: 13px; }
  .mark { width: 32px; height: 32px; }
  #main { padding-top: 28px; }
  #main:has(.login-layout) { padding-top: 17px; }
  .login-layout { display: flex; flex-direction: column; border-radius: 19px; }
  .login-content { padding: 32px 24px 24px; }
  .login-content h1 { font-size: clamp(44px,12.5vw,60px); }
  #google-start { width: 100%; }
  .page-title { font-size: clamp(34px,8.6vw,46px); margin-bottom: 18px; }
  .sync-status { margin: 12px 0 -14px; font-size: 11px; }
  h2 { font-size: 21px; }
  .attention-section { margin-bottom: 20px; }
  .attention-item { padding: 6px 12px; }
  .attention-item > summary { font-size: 16px; }
  .devices { grid-template-columns: 1fr; gap: 9px; }
  .device-card { padding: 13px 15px 5px; }
  .device-header { min-height: 36px; padding-left: 46px; }
  .device-header::before { width: 35px; height: 35px; font-size: 21px; border-radius: 10px; }
  .device-title { font-size: 19px; }
  .device-state { margin: 8px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; }
  .device-state p,.device-state .status { margin: 0; }
  .device-card .actions button { min-height: 44px; padding: 6px 11px; }
  .device-info { margin-top: 7px; padding-top: 0; }
  .overview-empty { padding: 24px; }
  .task-panel { padding-inline: 14px; }
}
.attention-item.hero { background: var(--surface); border-color: var(--line); color: var(--ink); }
.attention-item.hero > summary::before { content: "history" / ""; color: var(--pine); background: var(--soft); }
.attention-item.hero > summary small { color: var(--muted); }
.overview-empty + .task-panel { margin-top: 14px; }
.hotspot.state-chip, .device-state .hotspot {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  color: #1e4b40; font-size: 14px; font-weight: 690;
}
.device-state .hotspot::before { content: "wifi" / ""; font: 500 16px/1 "Zeno icons"; }
@media(min-width:851px) {
  .attention-section { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,335px),1fr)); gap: 10px; }
  .attention-section > h2 { grid-column: 1/-1; margin-bottom: 0; }
  .attention-section > details { margin: 0; align-self: start; }
  .devices { align-items: stretch; }
  .device-card { display: flex; flex-direction: column; }
  .device-card > .device-info { margin-top: auto; }
  .device-card > .actions { margin-bottom: 12px; }
}
.device-header { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; }
.device-identity { flex: 1 1 100px; min-width: 0; }
.device-pause { font-size: 13px; padding: 6px 11px; }
.device-state { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; }
.device-state .status { background: transparent; border: 1px solid var(--line); margin: 0; }
.state-chip { font-size: 14px; font-weight: 650; }
.device-state .hotspot { padding: 2px 8px; border-radius: 6px; }
.device-state .hotspot.allowed { background: #e3efdb; color: #275440; }
.device-state .hotspot.blocked { background: #f4dfcf; color: #784128; }
.device-state .requested { color: #77511f; }
.device-secondary-actions { margin: 10px 0; }
@media(max-width:640px) {
  .device-card .device-state { margin: 7px 0; gap: 5px 7px; }
  .device-header { padding-left: 44px; min-height: 38px; }
  .device-header:has(.device-pause) { min-height: 44px; }
  .device-header::before { top: 50%; transform: translateY(-50%); }
  .device-pause { font-size: 13px; }
  .device-state .status,.device-state .state-chip { font-size: 12px; }
  .device-card .device-info summary { font-weight: 580; }
}
.page-title:focus { outline: none; }
.device-card[data-platform="windows"]:has(.device-pause) {
  background: var(--pine); color: #fffdf2; border-color: var(--pine);
}
.device-card[data-platform="windows"]:has(.device-pause) .device-header::before { background: #31485a; color: var(--lime); }
.device-card[data-platform="windows"]:has(.device-pause) .device-header small { color: #d9e2e8; }
.device-card[data-platform="windows"]:has(.device-pause) .device-pause { background: var(--lime); color: #173b32; }
.device-card[data-platform="windows"]:has(.device-pause) .device-state .status { border-color: #53786a; color: #dfebdf; }
.device-card[data-platform="windows"]:has(.device-pause) > .device-info { border-color: #466d60; }
.device-card[data-platform="windows"]:has(.device-pause) > .device-info:not([open]) > summary,
.device-card[data-platform="windows"]:has(.device-pause) > .device-info:not([open]) > summary::after { color: #e0eadb; }
.device-card[data-platform="windows"]:has(.device-pause) > .device-info[open] { background: var(--surface); color: var(--ink); padding: 6px 12px 12px; border-radius: 9px; }
@media(max-width:640px) {
  .attention-section { margin-bottom: 14px; }
  .page-title { font-size: clamp(39px,10vw,52px); margin-bottom: 18px; }
  .section-heading { margin-bottom: 7px; }
  .attention-item { margin-block: 5px; }
  .device-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 4px 8px; padding: 14px 15px 8px; }
  .device-card > .device-header, .device-card > .device-info[open] { grid-column: 1 / -1; }
  .device-card > .device-info:not([open]) { border: 0; padding: 0; margin: 0; }
  .device-card > .device-info:not([open]) > summary { font-size: 12px; padding-right: 23px; }
  .device-card > .device-state { overflow-wrap: anywhere; }
  .device-card:has(> .device-info[open]) > .device-state { grid-column: 1 / -1; }
  #nav button[aria-current="page"] { color: white; background: var(--pine); }
  [data-platform="android"] .device-header::before { color: var(--pine); background: #e7edf4; }
}

.browser-review-coverage { display: grid; gap: .25rem; margin-block: .75rem; padding-inline-start: .75rem; border-inline-start: 3px solid currentColor; }
.install-command { display: block; overflow-wrap: anywhere; margin-block: .5rem; }

.login-content > form:not([hidden]), .login-content > #google-start:not([hidden]) { margin-top: 1.25rem; }
#logout { min-width: 44px; min-height: 44px; justify-content: center; }
