accessify-widget 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4245,6 +4245,25 @@ function html(node, get_value, is_controlled = false, svg = false, mathml = fals
4245
4245
  }
4246
4246
  });
4247
4247
  }
4248
+ function to_class(value, hash, directives) {
4249
+ var classname = value == null ? "" : "" + value;
4250
+ return classname === "" ? null : classname;
4251
+ }
4252
+ function set_class(dom, is_html, value, hash, prev_classes, next_classes) {
4253
+ var prev = dom.__className;
4254
+ if (prev !== value || prev === void 0) {
4255
+ var next_class_name = to_class(value);
4256
+ {
4257
+ if (next_class_name == null) {
4258
+ dom.removeAttribute("class");
4259
+ } else {
4260
+ dom.className = next_class_name;
4261
+ }
4262
+ }
4263
+ dom.__className = value;
4264
+ }
4265
+ return next_classes;
4266
+ }
4248
4267
  function select_option(select, value, mounting = false) {
4249
4268
  if (select.multiple) {
4250
4269
  if (value == void 0) {
@@ -5737,26 +5756,16 @@ const locales = {
5737
5756
  })
5738
5757
  };
5739
5758
  const LANGUAGE_OPTIONS = [
5759
+ { code: "de", label: "Deutsch" },
5740
5760
  { code: "en", label: "English" },
5741
- { code: "zh", label: "中文" },
5742
- { code: "hi", label: "हिन्दी" },
5743
5761
  { code: "es", label: "Español" },
5744
5762
  { code: "fr", label: "Français" },
5745
- { code: "ar", label: "العربية" },
5746
- { code: "bn", label: "বাংলা" },
5747
5763
  { code: "pt", label: "Português" },
5748
- { code: "ru", label: "Русский" },
5749
- { code: "ur", label: "اردو" },
5750
- { code: "id", label: "Bahasa Indonesia" },
5751
- { code: "de", label: "Deutsch" },
5752
- { code: "ja", label: "日本語" },
5753
- { code: "pcm", label: "Naijá" },
5754
- { code: "mr", label: "मराठी" },
5755
- { code: "te", label: "తెలుగు" },
5756
5764
  { code: "tr", label: "Türkçe" },
5757
- { code: "ta", label: "தமிழ்" },
5758
- { code: "vi", label: "Tiếng Việt" },
5759
- { code: "ko", label: "한국어" }
5765
+ { code: "ar", label: "العربية" },
5766
+ { code: "zh", label: "中文" },
5767
+ { code: "ja", label: "日本語" },
5768
+ { code: "ru", label: "Русский" }
5760
5769
  ];
5761
5770
  const RTL_LANGS = /* @__PURE__ */ new Set(["ar", "ur"]);
5762
5771
  let currentWidgetLang = "en";
@@ -5805,7 +5814,7 @@ function TriggerButton($$anchor, $$props) {
5805
5814
  delegate(["click"]);
5806
5815
  var root_2$1 = /* @__PURE__ */ from_html(`<option> </option>`);
5807
5816
  var root_1$3 = /* @__PURE__ */ from_html(`<label class="accessify-language-picker"><span class="sr-only"> </span> <span class="accessify-language-icon" aria-hidden="true"></span> <select class="accessify-language-select"></select></label>`);
5808
- var root$4 = /* @__PURE__ */ from_html(`<div class="accessify-header"><div class="accessify-header-copy"><span class="accessify-header-kicker"> </span> <div class="accessify-header-title"><h2> </h2> <p> </p></div></div> <div class="accessify-header-toolbar"><!> <div class="accessify-header-actions"><button class="accessify-header-btn"><!> <span> </span></button> <button class="accessify-header-btn accessify-header-btn--icon"></button></div></div></div>`);
5817
+ var root$4 = /* @__PURE__ */ from_html(`<div class="accessify-header"><div class="accessify-header-top"><div class="accessify-header-title"><h2> </h2> <p> </p></div> <button class="accessify-header-btn accessify-header-btn--icon"></button></div> <div class="accessify-header-toolbar"><!> <button class="accessify-header-btn accessify-header-btn--secondary"><!> <span> </span></button></div></div>`);
5809
5818
  function PanelHeader($$anchor, $$props) {
5810
5819
  push($$props, true);
5811
5820
  let lang = prop($$props, "lang", 3, "en");
@@ -5815,29 +5824,29 @@ function PanelHeader($$anchor, $$props) {
5815
5824
  }
5816
5825
  var div = root$4();
5817
5826
  var div_1 = child(div);
5818
- var span = child(div_1);
5819
- var text = child(span);
5820
- var div_2 = sibling(span, 2);
5827
+ var div_2 = child(div_1);
5821
5828
  var h2 = child(div_2);
5822
- var text_1 = child(h2);
5829
+ var text = child(h2);
5823
5830
  var p = sibling(h2, 2);
5824
- var text_2 = child(p);
5831
+ var text_1 = child(p);
5832
+ var button = sibling(div_2, 2);
5833
+ html(button, iconClose, true);
5825
5834
  var div_3 = sibling(div_1, 2);
5826
5835
  var node = child(div_3);
5827
5836
  {
5828
5837
  var consequent = ($$anchor2) => {
5829
5838
  var label = root_1$3();
5830
- var span_1 = child(label);
5831
- var text_3 = child(span_1);
5832
- var span_2 = sibling(span_1, 2);
5833
- html(span_2, iconGlobe, true);
5834
- var select = sibling(span_2, 2);
5839
+ var span = child(label);
5840
+ var text_2 = child(span);
5841
+ var span_1 = sibling(span, 2);
5842
+ html(span_1, iconGlobe, true);
5843
+ var select = sibling(span_1, 2);
5835
5844
  each(select, 21, () => LANGUAGE_OPTIONS, index, ($$anchor3, option) => {
5836
5845
  var option_1 = root_2$1();
5837
- var text_4 = child(option_1);
5846
+ var text_3 = child(option_1);
5838
5847
  var option_1_value = {};
5839
5848
  template_effect(() => {
5840
- set_text(text_4, get(option).label);
5849
+ set_text(text_3, get(option).label);
5841
5850
  if (option_1_value !== (option_1_value = get(option).code)) {
5842
5851
  option_1.value = (option_1.__value = get(option).code) ?? "";
5843
5852
  }
@@ -5848,7 +5857,7 @@ function PanelHeader($$anchor, $$props) {
5848
5857
  init_select(select);
5849
5858
  template_effect(
5850
5859
  ($0, $1) => {
5851
- set_text(text_3, $0);
5860
+ set_text(text_2, $0);
5852
5861
  set_attribute(select, "aria-label", $1);
5853
5862
  if (select_value !== (select_value = lang())) {
5854
5863
  select.value = (select.__value = lang()) ?? "", select_option(select, lang());
@@ -5866,42 +5875,37 @@ function PanelHeader($$anchor, $$props) {
5866
5875
  if ($$props.onlangchange) $$render(consequent);
5867
5876
  });
5868
5877
  }
5869
- var div_4 = sibling(node, 2);
5870
- var button = child(div_4);
5871
- var node_1 = child(button);
5878
+ var button_1 = sibling(node, 2);
5879
+ var node_1 = child(button_1);
5872
5880
  html(node_1, iconReset);
5873
- var span_3 = sibling(node_1, 2);
5874
- var text_5 = child(span_3);
5875
- var button_1 = sibling(button, 2);
5876
- html(button_1, iconClose, true);
5881
+ var span_2 = sibling(node_1, 2);
5882
+ var text_4 = child(span_2);
5877
5883
  template_effect(
5878
- ($0, $1, $2, $3, $4, $5) => {
5884
+ ($0, $1, $2, $3, $4) => {
5879
5885
  set_text(text, $0);
5880
5886
  set_text(text_1, $1);
5881
- set_text(text_2, $2);
5882
- set_attribute(button, "aria-label", $3);
5883
- set_text(text_5, $4);
5884
- set_attribute(button_1, "aria-label", $5);
5887
+ set_attribute(button, "aria-label", $2);
5888
+ set_attribute(button_1, "aria-label", $3);
5889
+ set_text(text_4, $4);
5885
5890
  },
5886
5891
  [
5887
- () => t("control.mostUsed", lang()),
5888
5892
  () => t("widget.title", lang()),
5889
5893
  () => t("widget.subtitle", lang()),
5894
+ () => t("widget.close", lang()),
5890
5895
  () => t("widget.reset", lang()),
5891
- () => t("widget.reset", lang()),
5892
- () => t("widget.close", lang())
5896
+ () => t("widget.reset", lang())
5893
5897
  ]
5894
5898
  );
5895
5899
  delegated("click", button, function(...$$args) {
5896
- $$props.onreset?.apply(this, $$args);
5900
+ $$props.onclose?.apply(this, $$args);
5897
5901
  });
5898
5902
  delegated("click", button_1, function(...$$args) {
5899
- $$props.onclose?.apply(this, $$args);
5903
+ $$props.onreset?.apply(this, $$args);
5900
5904
  });
5901
5905
  append($$anchor, div);
5902
5906
  pop();
5903
5907
  }
5904
- delegate(["change", "click"]);
5908
+ delegate(["click", "change"]);
5905
5909
  var root_1$2 = /* @__PURE__ */ from_html(`<button class="accessify-status-reset"> </button>`);
5906
5910
  var root$3 = /* @__PURE__ */ from_html(`<div class="accessify-status" role="status" aria-live="polite"><span class="accessify-status-count"> </span> <!></div>`);
5907
5911
  function StatusBar($$anchor, $$props) {
@@ -6088,9 +6092,9 @@ var root_5 = /* @__PURE__ */ from_html(`<button class="accessify-chip"> </button
6088
6092
  var root_4 = /* @__PURE__ */ from_html(`<article class="accessify-control-card accessify-control-card--text-size"><div class="accessify-control-copy"><span class="accessify-card-icon" aria-hidden="true"></span> <div><h4> </h4> <p> </p></div></div> <div class="accessify-chip-group accessify-chip-group--sizes" role="group"></div></article>`);
6089
6093
  var root_7 = /* @__PURE__ */ from_html(`<button class="accessify-card" role="switch"><div class="accessify-card-top"><span class="accessify-card-icon" aria-hidden="true"></span></div> <span class="accessify-card-label"> </span> <span class="accessify-card-desc"> </span></button>`);
6090
6094
  var root_6 = /* @__PURE__ */ from_html(`<div class="accessify-features"></div>`);
6091
- var root_1$1 = /* @__PURE__ */ from_html(`<section class="accessify-section accessify-section--spotlight"><div class="accessify-section-head"><div><span class="accessify-section-kicker"> </span> <h3> </h3> <p> </p></div></div> <div class="accessify-control-grid"><!> <!></div> <!></section>`);
6095
+ var root_1$1 = /* @__PURE__ */ from_html(`<section class="accessify-section accessify-section--priority"><div class="accessify-section-head"><div><h3> </h3> <p> </p></div></div> <div class="accessify-control-grid"><!> <!></div> <!></section>`);
6092
6096
  var root_10 = /* @__PURE__ */ from_html(`<button class="accessify-card" role="switch"><div class="accessify-card-top"><span class="accessify-card-icon" aria-hidden="true"></span></div> <span class="accessify-card-label"> </span> <span class="accessify-card-desc"> </span></button>`);
6093
- var root_9 = /* @__PURE__ */ from_html(`<section class="accessify-section"><div class="accessify-section-head"><div><h3> </h3> <p> </p></div></div> <div class="accessify-features"></div></section>`);
6097
+ var root_9 = /* @__PURE__ */ from_html(`<section><div class="accessify-section-head"><div><h3> </h3> <p> </p></div></div> <div class="accessify-features"></div></section>`);
6094
6098
  var root$2 = /* @__PURE__ */ from_html(`<div class="accessify-body"><!> <!></div>`);
6095
6099
  function FeatureGrid($$anchor, $$props) {
6096
6100
  push($$props, true);
@@ -6214,7 +6218,7 @@ function FeatureGrid($$anchor, $$props) {
6214
6218
  const FEATURE_LOADERS = {
6215
6219
  contrast: () => import("./contrast-CqsICAkU.js"),
6216
6220
  "text-size": () => import("./text-size-C6OFhCGi.js"),
6217
- "keyboard-nav": () => import("./keyboard-nav-YtijlLYi.js"),
6221
+ "keyboard-nav": () => import("./keyboard-nav-DH4qBThF.js"),
6218
6222
  "focus-highlight": () => import("./focus-highlight-CjERyyUF.js"),
6219
6223
  "link-highlight": () => import("./link-highlight-DBGm067Y.js"),
6220
6224
  "reading-guide": () => import("./reading-guide-VT8NciIL.js"),
@@ -6222,10 +6226,10 @@ function FeatureGrid($$anchor, $$props) {
6222
6226
  "animation-stop": () => import("./animation-stop-DXebPS8D.js"),
6223
6227
  "hide-images": () => import("./hide-images-DJwmsV2C.js"),
6224
6228
  "big-cursor": () => import("./big-cursor-B2UKu9dQ.js"),
6225
- "page-structure": () => import("./page-structure-WFqy5QjQ.js"),
6229
+ "page-structure": () => import("./page-structure-DTBqkrYs.js"),
6226
6230
  tts: () => import("./tts-02b9iV0h.js"),
6227
6231
  "text-simplify": () => import("./text-simplify-CELklw5A.js"),
6228
- "alt-text": () => import("./alt-text-CrPRUX83.js"),
6232
+ "alt-text": () => import("./alt-text-CgzNGvdT.js"),
6229
6233
  "auto-scan": () => import("./auto-scan-pg-09o7A.js")
6230
6234
  };
6231
6235
  let contrastMode = /* @__PURE__ */ state(proxy(readStoredContrastMode()));
@@ -6367,34 +6371,32 @@ function FeatureGrid($$anchor, $$props) {
6367
6371
  var section_1 = root_1$1();
6368
6372
  var div_1 = child(section_1);
6369
6373
  var div_2 = child(div_1);
6370
- var span = child(div_2);
6371
- var text = child(span);
6372
- var h3 = sibling(span, 2);
6373
- var text_1 = child(h3);
6374
+ var h3 = child(div_2);
6375
+ var text = child(h3);
6374
6376
  var p = sibling(h3, 2);
6375
- var text_2 = child(p);
6377
+ var text_1 = child(p);
6376
6378
  var div_3 = sibling(div_1, 2);
6377
6379
  var node_1 = child(div_3);
6378
6380
  {
6379
6381
  var consequent = ($$anchor3) => {
6380
6382
  var article = root_2();
6381
6383
  var div_4 = child(article);
6382
- var span_1 = child(div_4);
6383
- html(span_1, () => getIcon("contrast"), true);
6384
- var div_5 = sibling(span_1, 2);
6384
+ var span = child(div_4);
6385
+ html(span, () => getIcon("contrast"), true);
6386
+ var div_5 = sibling(span, 2);
6385
6387
  var h4 = child(div_5);
6386
- var text_3 = child(h4);
6388
+ var text_2 = child(h4);
6387
6389
  var p_1 = sibling(h4, 2);
6388
- var text_4 = child(p_1);
6390
+ var text_3 = child(p_1);
6389
6391
  var div_6 = sibling(div_4, 2);
6390
6392
  each(div_6, 21, () => CONTRAST_MODES, index, ($$anchor4, mode) => {
6391
6393
  var button = root_3();
6392
- var text_5 = child(button);
6394
+ var text_4 = child(button);
6393
6395
  template_effect(
6394
6396
  ($0) => {
6395
6397
  set_attribute(button, "data-active", get(contrastMode) === get(mode).id);
6396
6398
  set_attribute(button, "aria-pressed", get(contrastMode) === get(mode).id);
6397
- set_text(text_5, $0);
6399
+ set_text(text_4, $0);
6398
6400
  },
6399
6401
  [() => t(get(mode).labelKey, $$props.config.lang)]
6400
6402
  );
@@ -6403,8 +6405,8 @@ function FeatureGrid($$anchor, $$props) {
6403
6405
  });
6404
6406
  template_effect(
6405
6407
  ($0, $1, $2) => {
6406
- set_text(text_3, $0);
6407
- set_text(text_4, $1);
6408
+ set_text(text_2, $0);
6409
+ set_text(text_3, $1);
6408
6410
  set_attribute(div_6, "aria-label", $2);
6409
6411
  },
6410
6412
  [
@@ -6425,29 +6427,29 @@ function FeatureGrid($$anchor, $$props) {
6425
6427
  var consequent_1 = ($$anchor3) => {
6426
6428
  var article_1 = root_4();
6427
6429
  var div_7 = child(article_1);
6428
- var span_2 = child(div_7);
6429
- html(span_2, () => getIcon("text-size"), true);
6430
- var div_8 = sibling(span_2, 2);
6430
+ var span_1 = child(div_7);
6431
+ html(span_1, () => getIcon("text-size"), true);
6432
+ var div_8 = sibling(span_1, 2);
6431
6433
  var h4_1 = child(div_8);
6432
- var text_6 = child(h4_1);
6434
+ var text_5 = child(h4_1);
6433
6435
  var p_2 = sibling(h4_1, 2);
6434
- var text_7 = child(p_2);
6436
+ var text_6 = child(p_2);
6435
6437
  var div_9 = sibling(div_7, 2);
6436
6438
  each(div_9, 21, () => TEXT_SIZE_PRESETS, index, ($$anchor4, preset) => {
6437
6439
  var button_1 = root_5();
6438
- var text_8 = child(button_1);
6440
+ var text_7 = child(button_1);
6439
6441
  template_effect(() => {
6440
6442
  set_attribute(button_1, "data-active", get(textSize) === get(preset));
6441
6443
  set_attribute(button_1, "aria-pressed", get(textSize) === get(preset));
6442
- set_text(text_8, `${get(preset) ?? ""}%`);
6444
+ set_text(text_7, `${get(preset) ?? ""}%`);
6443
6445
  });
6444
6446
  delegated("click", button_1, () => setTextSize(get(preset)));
6445
6447
  append($$anchor4, button_1);
6446
6448
  });
6447
6449
  template_effect(
6448
6450
  ($0, $1, $2) => {
6449
- set_text(text_6, $0);
6450
- set_text(text_7, $1);
6451
+ set_text(text_5, $0);
6452
+ set_text(text_6, $1);
6451
6453
  set_attribute(div_9, "aria-label", $2);
6452
6454
  },
6453
6455
  [
@@ -6471,19 +6473,19 @@ function FeatureGrid($$anchor, $$props) {
6471
6473
  const isActive = /* @__PURE__ */ user_derived(() => $$props.activeFeatures.get(get(feature).id) ?? false);
6472
6474
  var button_2 = root_7();
6473
6475
  var div_11 = child(button_2);
6474
- var span_3 = child(div_11);
6475
- html(span_3, () => getIcon(get(feature).iconId), true);
6476
- var span_4 = sibling(div_11, 2);
6476
+ var span_2 = child(div_11);
6477
+ html(span_2, () => getIcon(get(feature).iconId), true);
6478
+ var span_3 = sibling(div_11, 2);
6479
+ var text_8 = child(span_3);
6480
+ var span_4 = sibling(span_3, 2);
6477
6481
  var text_9 = child(span_4);
6478
- var span_5 = sibling(span_4, 2);
6479
- var text_10 = child(span_5);
6480
6482
  template_effect(
6481
6483
  ($0, $1, $2) => {
6482
6484
  set_attribute(button_2, "data-active", get(isActive));
6483
6485
  set_attribute(button_2, "aria-checked", get(isActive));
6484
6486
  set_attribute(button_2, "aria-label", $0);
6485
- set_text(text_9, $1);
6486
- set_text(text_10, $2);
6487
+ set_text(text_8, $1);
6488
+ set_text(text_9, $2);
6487
6489
  },
6488
6490
  [
6489
6491
  () => t(get(feature).nameKey, $$props.config.lang),
@@ -6501,13 +6503,11 @@ function FeatureGrid($$anchor, $$props) {
6501
6503
  });
6502
6504
  }
6503
6505
  template_effect(
6504
- ($0, $1, $2) => {
6506
+ ($0, $1) => {
6505
6507
  set_text(text, $0);
6506
6508
  set_text(text_1, $1);
6507
- set_text(text_2, $2);
6508
6509
  },
6509
6510
  [
6510
- () => t("control.mostUsed", $$props.config.lang),
6511
6511
  () => t(SECTIONS[0].labelKey, $$props.config.lang),
6512
6512
  () => t(SECTIONS[0].descKey, $$props.config.lang)
6513
6513
  ]
@@ -6530,27 +6530,27 @@ function FeatureGrid($$anchor, $$props) {
6530
6530
  var div_12 = child(section_2);
6531
6531
  var div_13 = child(div_12);
6532
6532
  var h3_1 = child(div_13);
6533
- var text_11 = child(h3_1);
6533
+ var text_10 = child(h3_1);
6534
6534
  var p_3 = sibling(h3_1, 2);
6535
- var text_12 = child(p_3);
6535
+ var text_11 = child(p_3);
6536
6536
  var div_14 = sibling(div_12, 2);
6537
6537
  each(div_14, 21, () => get(features), (feature) => feature.id, ($$anchor4, feature) => {
6538
6538
  const isActive = /* @__PURE__ */ user_derived(() => $$props.activeFeatures.get(get(feature).id) ?? false);
6539
6539
  var button_3 = root_10();
6540
6540
  var div_15 = child(button_3);
6541
- var span_6 = child(div_15);
6542
- html(span_6, () => getIcon(get(feature).iconId), true);
6543
- var span_7 = sibling(div_15, 2);
6541
+ var span_5 = child(div_15);
6542
+ html(span_5, () => getIcon(get(feature).iconId), true);
6543
+ var span_6 = sibling(div_15, 2);
6544
+ var text_12 = child(span_6);
6545
+ var span_7 = sibling(span_6, 2);
6544
6546
  var text_13 = child(span_7);
6545
- var span_8 = sibling(span_7, 2);
6546
- var text_14 = child(span_8);
6547
6547
  template_effect(
6548
6548
  ($0, $1, $2) => {
6549
6549
  set_attribute(button_3, "data-active", get(isActive));
6550
6550
  set_attribute(button_3, "aria-checked", get(isActive));
6551
6551
  set_attribute(button_3, "aria-label", $0);
6552
- set_text(text_13, $1);
6553
- set_text(text_14, $2);
6552
+ set_text(text_12, $1);
6553
+ set_text(text_13, $2);
6554
6554
  },
6555
6555
  [
6556
6556
  () => t(get(feature).nameKey, $$props.config.lang),
@@ -6563,8 +6563,9 @@ function FeatureGrid($$anchor, $$props) {
6563
6563
  });
6564
6564
  template_effect(
6565
6565
  ($0, $1) => {
6566
- set_text(text_11, $0);
6567
- set_text(text_12, $1);
6566
+ set_class(section_2, 1, `accessify-section accessify-section--${get(section).id}`);
6567
+ set_text(text_10, $0);
6568
+ set_text(text_11, $1);
6568
6569
  },
6569
6570
  [
6570
6571
  () => t(get(section).labelKey, $$props.config.lang),
@@ -6836,10 +6837,12 @@ function createWidgetStyles(config2) {
6836
6837
  const isRight = pos.includes("right");
6837
6838
  const isBottom = pos.includes("bottom");
6838
6839
  const z = config2.zIndex || 999999;
6840
+ const panelRadius = isRight ? "28px 0 0 28px" : "0 28px 28px 0";
6841
+ const hiddenTransform = isRight ? "translateX(24px)" : "translateX(-24px)";
6839
6842
  return `
6840
6843
  :host {
6841
6844
  all: initial;
6842
- font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", "Segoe UI", sans-serif;
6845
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
6843
6846
  font-size: 15px;
6844
6847
  line-height: 1.5;
6845
6848
  color-scheme: light dark;
@@ -6859,74 +6862,69 @@ function createWidgetStyles(config2) {
6859
6862
  --space-5: 20px;
6860
6863
  --space-6: 24px;
6861
6864
  --space-7: 32px;
6862
- --radius-sm: 10px;
6863
- --radius-md: 16px;
6865
+ --radius-sm: 12px;
6866
+ --radius-md: 18px;
6864
6867
  --radius-lg: 24px;
6868
+ --radius-xl: 28px;
6865
6869
  --radius-pill: 999px;
6866
- --text-xs: 11px;
6867
- --text-sm: 13px;
6870
+ --text-xs: 12px;
6871
+ --text-sm: 14px;
6868
6872
  --text-base: 15px;
6869
6873
  --text-lg: 18px;
6870
- --text-xl: 24px;
6874
+ --text-xl: 26px;
6871
6875
  --font-medium: 500;
6872
6876
  --font-semibold: 600;
6873
6877
  --font-bold: 700;
6874
- --surface: #f6efe4;
6875
- --surface-strong: #fffdf9;
6876
- --surface-muted: #ece4d8;
6877
- --surface-tint: #e2eee8;
6878
- --text: #17212b;
6879
- --text-secondary: #52616f;
6880
- --border: rgba(23, 33, 43, 0.12);
6881
- --border-strong: rgba(23, 33, 43, 0.22);
6882
- --accent: #0f766e;
6883
- --accent-strong: #0b5c56;
6884
- --accent-soft: rgba(15, 118, 110, 0.12);
6885
- --signal: #c97a1e;
6886
- --signal-soft: rgba(201, 122, 30, 0.14);
6878
+ --surface: #eff4f8;
6879
+ --surface-strong: #ffffff;
6880
+ --surface-muted: #f7f9fc;
6881
+ --surface-tint: #ecf3fb;
6882
+ --text: #152031;
6883
+ --text-secondary: #5c6a79;
6884
+ --border: rgba(21, 32, 49, 0.12);
6885
+ --border-strong: rgba(21, 32, 49, 0.22);
6886
+ --accent: #0e6bd8;
6887
+ --accent-strong: #0a56a7;
6888
+ --accent-soft: rgba(14, 107, 216, 0.1);
6887
6889
  --text-on-accent: #ffffff;
6888
- --shadow-sm: 0 12px 24px rgba(16, 24, 32, 0.08);
6889
- --shadow-lg: 0 28px 80px rgba(9, 21, 30, 0.2);
6890
- --transition-fast: 140ms ease;
6891
- --transition-normal: 220ms ease;
6890
+ --shadow-sm: 0 14px 32px rgba(15, 23, 42, 0.08);
6891
+ --shadow-lg: 0 28px 72px rgba(15, 23, 42, 0.18);
6892
+ --transition-fast: 160ms ease;
6893
+ --transition-normal: 240ms ease;
6892
6894
  }
6893
6895
 
6894
6896
  @media (prefers-color-scheme: dark) {
6895
6897
  #accessify-mount:not([data-theme="light"]) {
6896
- --surface: #0f1a22;
6897
- --surface-strong: #132330;
6898
- --surface-muted: #1a2b38;
6899
- --surface-tint: #17323a;
6900
- --text: #f4f7fa;
6901
- --text-secondary: #b4c3ce;
6902
- --border: rgba(244, 247, 250, 0.12);
6903
- --border-strong: rgba(244, 247, 250, 0.22);
6904
- --accent: #2dd4bf;
6905
- --accent-strong: #16b5a1;
6906
- --accent-soft: rgba(45, 212, 191, 0.12);
6907
- --signal: #f6ad55;
6908
- --signal-soft: rgba(246, 173, 85, 0.16);
6909
- --shadow-sm: 0 12px 24px rgba(0, 0, 0, 0.28);
6910
- --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.45);
6898
+ --surface: #101a27;
6899
+ --surface-strong: #142233;
6900
+ --surface-muted: #0f1825;
6901
+ --surface-tint: #1a314c;
6902
+ --text: #f5f8fb;
6903
+ --text-secondary: #b3c0cd;
6904
+ --border: rgba(245, 248, 251, 0.12);
6905
+ --border-strong: rgba(245, 248, 251, 0.22);
6906
+ --accent: #49a0ff;
6907
+ --accent-strong: #1c7cde;
6908
+ --accent-soft: rgba(73, 160, 255, 0.16);
6909
+ --shadow-sm: 0 16px 36px rgba(0, 0, 0, 0.24);
6910
+ --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.44);
6911
6911
  }
6912
6912
  }
6913
6913
 
6914
6914
  #accessify-mount[data-theme="dark"] {
6915
- --surface: #0f1a22;
6916
- --surface-strong: #132330;
6917
- --surface-muted: #1a2b38;
6918
- --surface-tint: #17323a;
6919
- --text: #f4f7fa;
6920
- --text-secondary: #b4c3ce;
6921
- --border: rgba(244, 247, 250, 0.12);
6922
- --border-strong: rgba(244, 247, 250, 0.22);
6923
- --accent: #2dd4bf;
6924
- --accent-strong: #16b5a1;
6925
- --accent-soft: rgba(45, 212, 191, 0.12);
6926
- --signal: #f6ad55;
6927
- --signal-soft: rgba(246, 173, 85, 0.16);
6928
- --shadow-sm: 0 12px 24px rgba(0, 0, 0, 0.28);
6929
- --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.45);
6915
+ --surface: #101a27;
6916
+ --surface-strong: #142233;
6917
+ --surface-muted: #0f1825;
6918
+ --surface-tint: #1a314c;
6919
+ --text: #f5f8fb;
6920
+ --text-secondary: #b3c0cd;
6921
+ --border: rgba(245, 248, 251, 0.12);
6922
+ --border-strong: rgba(245, 248, 251, 0.22);
6923
+ --accent: #49a0ff;
6924
+ --accent-strong: #1c7cde;
6925
+ --accent-soft: rgba(73, 160, 255, 0.16);
6926
+ --shadow-sm: 0 16px 36px rgba(0, 0, 0, 0.24);
6927
+ --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.44);
6930
6928
  }
6931
6929
 
6932
6930
  .sr-only {
@@ -6942,7 +6940,7 @@ function createWidgetStyles(config2) {
6942
6940
  }
6943
6941
 
6944
6942
  *:focus-visible {
6945
- outline: 3px solid var(--signal);
6943
+ outline: 3px solid var(--accent);
6946
6944
  outline-offset: 3px;
6947
6945
  border-radius: 12px;
6948
6946
  }
@@ -6952,99 +6950,88 @@ function createWidgetStyles(config2) {
6952
6950
  ${isBottom ? "bottom: 20px" : "top: 20px"};
6953
6951
  ${isRight ? "right: 20px" : "left: 20px"};
6954
6952
  z-index: ${z};
6955
- width: 64px;
6956
- height: 64px;
6953
+ width: 60px;
6954
+ height: 60px;
6957
6955
  border: none;
6958
- border-radius: 22px;
6959
- background:
6960
- radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 42%),
6961
- linear-gradient(145deg, #0f766e 0%, #144f67 55%, #c97a1e 100%);
6956
+ border-radius: 20px;
6957
+ background: linear-gradient(180deg, #1681f2 0%, #0e6bd8 100%);
6962
6958
  color: #ffffff;
6963
6959
  cursor: pointer;
6964
6960
  display: flex;
6965
6961
  align-items: center;
6966
6962
  justify-content: center;
6967
- box-shadow: 0 18px 42px rgba(12, 36, 46, 0.34);
6968
- transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
6963
+ box-shadow: 0 18px 36px rgba(14, 107, 216, 0.28);
6964
+ transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
6969
6965
  }
6970
6966
 
6971
6967
  .accessify-trigger:hover {
6972
- transform: translateY(-2px) scale(1.02);
6973
- box-shadow: 0 22px 48px rgba(12, 36, 46, 0.42);
6974
- filter: saturate(1.06);
6968
+ transform: translateY(-1px);
6969
+ box-shadow: 0 20px 40px rgba(14, 107, 216, 0.32);
6975
6970
  }
6976
6971
 
6977
6972
  .accessify-trigger:active {
6978
- transform: translateY(0) scale(0.98);
6973
+ transform: scale(0.98);
6974
+ }
6975
+
6976
+ .accessify-trigger[aria-expanded="true"] {
6977
+ opacity: 0;
6978
+ pointer-events: none;
6979
+ transform: scale(0.92);
6979
6980
  }
6980
6981
 
6981
6982
  .accessify-trigger svg {
6982
- width: 30px;
6983
- height: 30px;
6983
+ width: 28px;
6984
+ height: 28px;
6984
6985
  }
6985
6986
 
6986
6987
  .accessify-panel {
6987
6988
  position: fixed;
6988
- ${isBottom ? "bottom: 96px" : "top: 96px"};
6989
- ${isRight ? "right: 20px" : "left: 20px"};
6989
+ top: 0;
6990
+ bottom: 0;
6991
+ ${isRight ? "right: 0" : "left: 0"};
6990
6992
  z-index: ${z - 1};
6991
- width: 476px;
6992
- max-height: calc(100vh - 120px);
6993
+ width: min(440px, 100vw);
6994
+ height: 100vh;
6993
6995
  display: flex;
6994
6996
  flex-direction: column;
6995
6997
  overflow: hidden;
6996
- border-radius: 28px;
6997
- border: 1px solid var(--border);
6998
- background:
6999
- radial-gradient(circle at top right, rgba(201, 122, 30, 0.16), transparent 36%),
7000
- linear-gradient(180deg, var(--surface-strong) 0%, var(--surface) 100%);
6998
+ border-radius: ${panelRadius};
6999
+ ${isRight ? "border-left" : "border-right"}: 1px solid var(--border);
7000
+ background: linear-gradient(180deg, var(--surface-strong) 0%, var(--surface) 100%);
7001
7001
  color: var(--text);
7002
7002
  box-shadow: var(--shadow-lg);
7003
- transform-origin: ${isBottom ? "bottom" : "top"} ${isRight ? "right" : "left"};
7004
7003
  transition: opacity var(--transition-normal), transform var(--transition-normal);
7005
- backdrop-filter: blur(18px);
7006
7004
  }
7007
7005
 
7008
7006
  .accessify-panel[aria-hidden="true"] {
7009
7007
  opacity: 0;
7010
- transform: scale(0.96) translateY(${isBottom ? "12px" : "-12px"});
7008
+ transform: ${hiddenTransform};
7011
7009
  pointer-events: none;
7012
7010
  display: none;
7013
7011
  }
7014
7012
 
7015
7013
  .accessify-panel[aria-hidden="false"] {
7016
7014
  opacity: 1;
7017
- transform: scale(1) translateY(0);
7015
+ transform: translateX(0);
7018
7016
  }
7019
7017
 
7020
7018
  .accessify-header {
7021
- position: relative;
7019
+ position: sticky;
7020
+ top: 0;
7021
+ z-index: 1;
7022
7022
  display: grid;
7023
7023
  gap: var(--space-4);
7024
- padding: var(--space-5);
7025
- background:
7026
- radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 34%),
7027
- linear-gradient(145deg, #0f2430 0%, #103e4c 52%, #1a5d4b 100%);
7028
- color: #f5fbff;
7029
- }
7030
-
7031
- .accessify-header-copy {
7032
- display: grid;
7033
- gap: var(--space-2);
7024
+ padding: var(--space-6) var(--space-6) var(--space-5);
7025
+ border-bottom: 1px solid var(--border);
7026
+ background: color-mix(in srgb, var(--surface-strong) 94%, transparent);
7027
+ backdrop-filter: blur(16px);
7034
7028
  }
7035
7029
 
7036
- .accessify-header-kicker {
7037
- display: inline-flex;
7038
- align-items: center;
7039
- width: fit-content;
7040
- padding: 6px 10px;
7041
- border-radius: var(--radius-pill);
7042
- background: rgba(255, 255, 255, 0.12);
7043
- color: #ffe2b8;
7044
- font-size: var(--text-xs);
7045
- font-weight: var(--font-semibold);
7046
- letter-spacing: 0.06em;
7047
- text-transform: uppercase;
7030
+ .accessify-header-top {
7031
+ display: flex;
7032
+ align-items: flex-start;
7033
+ justify-content: space-between;
7034
+ gap: var(--space-4);
7048
7035
  }
7049
7036
 
7050
7037
  .accessify-header-title {
@@ -7055,21 +7042,22 @@ function createWidgetStyles(config2) {
7055
7042
  .accessify-header h2 {
7056
7043
  font-size: var(--text-xl);
7057
7044
  font-weight: var(--font-bold);
7058
- line-height: 1.1;
7045
+ line-height: 1.08;
7046
+ letter-spacing: -0.02em;
7047
+ color: var(--text);
7059
7048
  }
7060
7049
 
7061
7050
  .accessify-header p {
7062
- color: rgba(245, 251, 255, 0.82);
7051
+ color: var(--text-secondary);
7063
7052
  font-size: var(--text-sm);
7064
7053
  max-width: 34ch;
7065
7054
  }
7066
7055
 
7067
7056
  .accessify-header-toolbar {
7068
- display: flex;
7057
+ display: grid;
7058
+ grid-template-columns: minmax(0, 1fr) auto;
7069
7059
  align-items: center;
7070
7060
  gap: var(--space-3);
7071
- justify-content: space-between;
7072
- flex-wrap: wrap;
7073
7061
  }
7074
7062
 
7075
7063
  .accessify-language-picker {
@@ -7077,20 +7065,21 @@ function createWidgetStyles(config2) {
7077
7065
  display: inline-flex;
7078
7066
  align-items: center;
7079
7067
  gap: 10px;
7080
- min-width: 172px;
7068
+ min-width: 0;
7069
+ min-height: 48px;
7081
7070
  padding: 0 14px;
7082
7071
  border-radius: 16px;
7083
- border: 1px solid rgba(255, 255, 255, 0.16);
7084
- background: rgba(10, 23, 29, 0.24);
7085
- color: #ffffff;
7086
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
7072
+ border: 1px solid var(--border);
7073
+ background: var(--surface-strong);
7074
+ color: var(--text);
7087
7075
  }
7088
7076
 
7089
7077
  .accessify-language-icon {
7090
7078
  display: inline-flex;
7091
7079
  align-items: center;
7092
7080
  justify-content: center;
7093
- color: #9ce4da;
7081
+ color: var(--accent-strong);
7082
+ flex-shrink: 0;
7094
7083
  }
7095
7084
 
7096
7085
  .accessify-language-icon svg {
@@ -7103,22 +7092,16 @@ function createWidgetStyles(config2) {
7103
7092
  width: 100%;
7104
7093
  border: none;
7105
7094
  background: transparent;
7106
- color: #ffffff;
7095
+ color: var(--text);
7107
7096
  padding: 12px 0;
7108
7097
  font-size: var(--text-sm);
7109
7098
  font-weight: var(--font-medium);
7110
7099
  cursor: pointer;
7100
+ min-width: 0;
7111
7101
  }
7112
7102
 
7113
7103
  .accessify-language-select option {
7114
- color: #17212b;
7115
- }
7116
-
7117
- .accessify-header-actions {
7118
- display: flex;
7119
- align-items: center;
7120
- gap: 10px;
7121
- flex-wrap: wrap;
7104
+ color: #152031;
7122
7105
  }
7123
7106
 
7124
7107
  .accessify-header-btn {
@@ -7126,31 +7109,38 @@ function createWidgetStyles(config2) {
7126
7109
  align-items: center;
7127
7110
  justify-content: center;
7128
7111
  gap: 8px;
7129
- padding: 11px 14px;
7130
- border: 1px solid rgba(255, 255, 255, 0.16);
7112
+ min-height: 48px;
7113
+ padding: 0 16px;
7114
+ border: 1px solid var(--border);
7131
7115
  border-radius: 16px;
7132
- background: rgba(10, 23, 29, 0.24);
7133
- color: #f5fbff;
7116
+ background: var(--surface-strong);
7117
+ color: var(--text);
7134
7118
  cursor: pointer;
7135
7119
  font-size: var(--text-sm);
7136
- font-weight: var(--font-medium);
7137
- transition: background var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
7120
+ font-weight: var(--font-semibold);
7121
+ transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
7138
7122
  }
7139
7123
 
7140
7124
  .accessify-header-btn:hover {
7141
- background: rgba(255, 255, 255, 0.12);
7142
- border-color: rgba(255, 255, 255, 0.24);
7125
+ background: var(--surface-muted);
7126
+ border-color: var(--border-strong);
7143
7127
  transform: translateY(-1px);
7144
7128
  }
7145
7129
 
7130
+ .accessify-header-btn--secondary {
7131
+ background: var(--surface-muted);
7132
+ }
7133
+
7146
7134
  .accessify-header-btn svg {
7147
7135
  width: 16px;
7148
7136
  height: 16px;
7149
7137
  }
7150
7138
 
7151
7139
  .accessify-header-btn--icon {
7152
- width: 44px;
7140
+ width: 48px;
7141
+ min-width: 48px;
7153
7142
  padding-inline: 0;
7143
+ flex-shrink: 0;
7154
7144
  }
7155
7145
 
7156
7146
  .accessify-status {
@@ -7158,9 +7148,9 @@ function createWidgetStyles(config2) {
7158
7148
  align-items: center;
7159
7149
  justify-content: space-between;
7160
7150
  gap: var(--space-3);
7161
- padding: 14px var(--space-5);
7151
+ padding: 14px var(--space-6);
7162
7152
  border-bottom: 1px solid var(--border);
7163
- background: linear-gradient(180deg, rgba(15, 118, 110, 0.06), transparent);
7153
+ background: linear-gradient(180deg, var(--accent-soft) 0%, transparent 100%);
7164
7154
  }
7165
7155
 
7166
7156
  .accessify-status-count {
@@ -7193,64 +7183,52 @@ function createWidgetStyles(config2) {
7193
7183
  }
7194
7184
 
7195
7185
  .accessify-status-reset:hover {
7196
- color: var(--signal);
7186
+ color: var(--accent-strong);
7197
7187
  }
7198
7188
 
7199
7189
  .accessify-body {
7190
+ flex: 1 1 auto;
7200
7191
  display: grid;
7201
7192
  gap: var(--space-4);
7202
7193
  padding: var(--space-4);
7203
7194
  overflow-y: auto;
7195
+ overscroll-behavior: contain;
7196
+ background: var(--surface);
7204
7197
  }
7205
7198
 
7206
7199
  .accessify-section {
7207
7200
  display: grid;
7208
7201
  gap: var(--space-4);
7209
- padding: var(--space-4);
7210
- border-radius: var(--radius-lg);
7202
+ padding: var(--space-5);
7203
+ border-radius: var(--radius-xl);
7211
7204
  border: 1px solid var(--border);
7212
- background: rgba(255, 255, 255, 0.32);
7205
+ background: var(--surface-strong);
7213
7206
  box-shadow: var(--shadow-sm);
7214
7207
  }
7215
7208
 
7216
- .accessify-section--spotlight {
7217
- background:
7218
- linear-gradient(180deg, rgba(15, 118, 110, 0.08) 0%, rgba(255, 255, 255, 0.28) 100%);
7219
- border-color: color-mix(in srgb, var(--accent) 24%, var(--border));
7209
+ .accessify-section--priority {
7210
+ background: linear-gradient(180deg, var(--surface-strong) 0%, var(--surface-muted) 100%);
7220
7211
  }
7221
7212
 
7222
7213
  .accessify-section-head {
7223
- display: flex;
7224
- align-items: flex-start;
7225
- justify-content: space-between;
7226
- gap: var(--space-3);
7214
+ display: grid;
7215
+ gap: 6px;
7227
7216
  }
7228
7217
 
7229
7218
  .accessify-section-head h3 {
7230
7219
  font-size: var(--text-lg);
7231
- font-weight: var(--font-semibold);
7220
+ font-weight: var(--font-bold);
7232
7221
  line-height: 1.15;
7233
7222
  color: var(--text);
7234
7223
  }
7235
7224
 
7236
7225
  .accessify-section-head p {
7237
- margin-top: 6px;
7238
7226
  color: var(--text-secondary);
7239
7227
  font-size: var(--text-sm);
7228
+ line-height: 1.45;
7240
7229
  max-width: 46ch;
7241
7230
  }
7242
7231
 
7243
- .accessify-section-kicker {
7244
- display: inline-flex;
7245
- align-items: center;
7246
- margin-bottom: 8px;
7247
- color: var(--signal);
7248
- font-size: var(--text-xs);
7249
- font-weight: var(--font-semibold);
7250
- letter-spacing: 0.06em;
7251
- text-transform: uppercase;
7252
- }
7253
-
7254
7232
  .accessify-control-grid {
7255
7233
  display: grid;
7256
7234
  grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -7259,11 +7237,12 @@ function createWidgetStyles(config2) {
7259
7237
 
7260
7238
  .accessify-control-card {
7261
7239
  display: grid;
7262
- gap: var(--space-3);
7240
+ gap: var(--space-4);
7241
+ min-height: 176px;
7263
7242
  padding: var(--space-4);
7264
7243
  border-radius: 22px;
7265
7244
  border: 1px solid var(--border);
7266
- background: var(--surface-strong);
7245
+ background: var(--surface-muted);
7267
7246
  }
7268
7247
 
7269
7248
  .accessify-control-copy {
@@ -7275,7 +7254,7 @@ function createWidgetStyles(config2) {
7275
7254
 
7276
7255
  .accessify-control-copy h4 {
7277
7256
  font-size: var(--text-base);
7278
- font-weight: var(--font-semibold);
7257
+ font-weight: var(--font-bold);
7279
7258
  color: var(--text);
7280
7259
  }
7281
7260
 
@@ -7283,43 +7262,46 @@ function createWidgetStyles(config2) {
7283
7262
  margin-top: 4px;
7284
7263
  color: var(--text-secondary);
7285
7264
  font-size: var(--text-sm);
7265
+ line-height: 1.45;
7286
7266
  }
7287
7267
 
7288
7268
  .accessify-chip-group {
7289
7269
  display: flex;
7290
7270
  flex-wrap: wrap;
7291
- gap: 8px;
7271
+ gap: 10px;
7292
7272
  }
7293
7273
 
7294
7274
  .accessify-chip {
7295
- min-height: 40px;
7275
+ min-height: 42px;
7296
7276
  padding: 0 14px;
7297
- border-radius: var(--radius-pill);
7277
+ border-radius: 16px;
7298
7278
  border: 1px solid var(--border);
7299
- background: var(--surface);
7279
+ background: var(--surface-strong);
7300
7280
  color: var(--text);
7301
7281
  cursor: pointer;
7302
7282
  font-size: var(--text-sm);
7303
- font-weight: var(--font-medium);
7304
- transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
7283
+ font-weight: var(--font-semibold);
7284
+ display: inline-flex;
7285
+ align-items: center;
7286
+ justify-content: center;
7287
+ transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
7305
7288
  }
7306
7289
 
7307
7290
  .accessify-chip:hover {
7308
7291
  transform: translateY(-1px);
7309
7292
  border-color: var(--border-strong);
7310
- background: var(--surface-strong);
7293
+ background: var(--surface);
7311
7294
  }
7312
7295
 
7313
7296
  .accessify-chip[data-active="true"] {
7314
- background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
7297
+ background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
7315
7298
  color: var(--text-on-accent);
7316
- border-color: transparent;
7317
- box-shadow: 0 12px 22px rgba(15, 118, 110, 0.24);
7299
+ border-color: var(--accent);
7300
+ box-shadow: 0 12px 20px rgba(14, 107, 216, 0.2);
7318
7301
  }
7319
7302
 
7320
7303
  .accessify-chip-group--sizes .accessify-chip {
7321
7304
  min-width: 68px;
7322
- justify-content: center;
7323
7305
  }
7324
7306
 
7325
7307
  .accessify-features {
@@ -7331,13 +7313,13 @@ function createWidgetStyles(config2) {
7331
7313
  .accessify-card {
7332
7314
  position: relative;
7333
7315
  display: grid;
7334
- gap: 10px;
7335
7316
  align-content: start;
7336
- min-height: 156px;
7317
+ gap: 12px;
7318
+ min-height: 164px;
7337
7319
  padding: var(--space-4);
7338
- border-radius: 22px;
7320
+ border-radius: 24px;
7339
7321
  border: 1px solid var(--border);
7340
- background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
7322
+ background: var(--surface-strong);
7341
7323
  color: var(--text);
7342
7324
  cursor: pointer;
7343
7325
  text-align: left;
@@ -7353,10 +7335,9 @@ function createWidgetStyles(config2) {
7353
7335
  }
7354
7336
 
7355
7337
  .accessify-card[data-active="true"] {
7356
- border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
7357
- background:
7358
- linear-gradient(180deg, rgba(15, 118, 110, 0.08) 0%, rgba(255, 255, 255, 0.18) 100%);
7359
- box-shadow: 0 18px 32px rgba(15, 118, 110, 0.16);
7338
+ border-color: color-mix(in srgb, var(--accent) 48%, var(--border));
7339
+ background: linear-gradient(180deg, var(--accent-soft) 0%, var(--surface-strong) 100%);
7340
+ box-shadow: 0 16px 30px rgba(14, 107, 216, 0.12);
7360
7341
  }
7361
7342
 
7362
7343
  .accessify-card[data-active="true"]::after {
@@ -7364,8 +7345,8 @@ function createWidgetStyles(config2) {
7364
7345
  position: absolute;
7365
7346
  top: 14px;
7366
7347
  right: 14px;
7367
- width: 20px;
7368
- height: 20px;
7348
+ width: 22px;
7349
+ height: 22px;
7369
7350
  border-radius: 999px;
7370
7351
  background: var(--accent);
7371
7352
  mask-image: url("data:image/svg+xml,${CHECKMARK_SVG}");
@@ -7389,30 +7370,30 @@ function createWidgetStyles(config2) {
7389
7370
  display: inline-flex;
7390
7371
  align-items: center;
7391
7372
  justify-content: center;
7392
- width: 44px;
7393
- height: 44px;
7394
- border-radius: 16px;
7373
+ width: 52px;
7374
+ height: 52px;
7375
+ border-radius: 18px;
7395
7376
  background: var(--surface-tint);
7396
7377
  color: var(--accent-strong);
7397
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
7378
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
7398
7379
  }
7399
7380
 
7400
7381
  .accessify-card-icon svg {
7401
- width: 20px;
7402
- height: 20px;
7382
+ width: 22px;
7383
+ height: 22px;
7403
7384
  }
7404
7385
 
7405
7386
  .accessify-card-label {
7406
- font-size: var(--text-base);
7407
- font-weight: var(--font-semibold);
7408
- line-height: 1.2;
7387
+ font-size: 16px;
7388
+ font-weight: var(--font-bold);
7389
+ line-height: 1.22;
7409
7390
  color: var(--text);
7410
7391
  }
7411
7392
 
7412
7393
  .accessify-card-desc {
7413
7394
  color: var(--text-secondary);
7414
7395
  font-size: var(--text-sm);
7415
- line-height: 1.45;
7396
+ line-height: 1.5;
7416
7397
  }
7417
7398
 
7418
7399
  .accessify-footer {
@@ -7420,12 +7401,12 @@ function createWidgetStyles(config2) {
7420
7401
  align-items: center;
7421
7402
  justify-content: center;
7422
7403
  gap: var(--space-2);
7423
- padding: 14px var(--space-5) var(--space-5);
7404
+ padding: 16px var(--space-6) 20px;
7424
7405
  border-top: 1px solid var(--border);
7425
7406
  color: var(--text-secondary);
7426
7407
  font-size: var(--text-xs);
7427
7408
  text-align: center;
7428
- background: linear-gradient(180deg, transparent, rgba(15, 118, 110, 0.04));
7409
+ background: color-mix(in srgb, var(--surface-strong) 95%, transparent);
7429
7410
  }
7430
7411
 
7431
7412
  .accessify-footer a {
@@ -7445,12 +7426,10 @@ function createWidgetStyles(config2) {
7445
7426
  }
7446
7427
  }
7447
7428
 
7448
- @media (max-width: 560px) {
7429
+ @media (max-width: 640px) {
7449
7430
  .accessify-panel {
7450
- width: calc(100vw - 24px);
7451
- ${isRight ? "right: 12px" : "left: 12px"};
7452
- ${isBottom ? "bottom: 86px" : "top: 86px"};
7453
- max-height: calc(100vh - 102px);
7431
+ width: 100vw;
7432
+ border-radius: 0;
7454
7433
  }
7455
7434
 
7456
7435
  .accessify-header,
@@ -7459,6 +7438,18 @@ function createWidgetStyles(config2) {
7459
7438
  padding-inline: var(--space-4);
7460
7439
  }
7461
7440
 
7441
+ .accessify-header {
7442
+ padding-top: var(--space-5);
7443
+ }
7444
+
7445
+ .accessify-header p {
7446
+ max-width: none;
7447
+ }
7448
+
7449
+ .accessify-header-toolbar {
7450
+ grid-template-columns: 1fr;
7451
+ }
7452
+
7462
7453
  .accessify-body {
7463
7454
  padding: var(--space-3);
7464
7455
  }
@@ -7468,6 +7459,7 @@ function createWidgetStyles(config2) {
7468
7459
  grid-template-columns: 1fr;
7469
7460
  }
7470
7461
 
7462
+ .accessify-control-card,
7471
7463
  .accessify-card {
7472
7464
  min-height: 0;
7473
7465
  }
@@ -7475,9 +7467,9 @@ function createWidgetStyles(config2) {
7475
7467
  .accessify-trigger {
7476
7468
  ${isBottom ? "bottom: 16px" : "top: 16px"};
7477
7469
  ${isRight ? "right: 16px" : "left: 16px"};
7478
- width: 58px;
7479
- height: 58px;
7480
- border-radius: 20px;
7470
+ width: 56px;
7471
+ height: 56px;
7472
+ border-radius: 18px;
7481
7473
  }
7482
7474
  }
7483
7475
  `;
@@ -7600,4 +7592,4 @@ export {
7600
7592
  init as i,
7601
7593
  t
7602
7594
  };
7603
- //# sourceMappingURL=index-B6b-ij4T.js.map
7595
+ //# sourceMappingURL=index-qmiN2JAz.js.map