*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#03070b;color:#f2f7fb;font-family:"Segoe UI",Arial,sans-serif}

/* TESLA_FRONT_DOOR_V1_START */
#app-shell[hidden],
#footer-note[hidden],
#tesla-login-form[hidden],
#tesla-register-form[hidden],
#tesla-register-code-row[hidden]{
  display:none !important;
}

#tesla-front-door{
  position:fixed;
  inset:0;
  z-index:10000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  overflow:auto;
  background:#020609;
}

#tesla-front-door[hidden]{
  display:none !important;
}

.tesla-front-door-backdrop{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 20%,rgba(31,112,215,.18),transparent 42%),
    linear-gradient(180deg,#06101a 0%,#020609 70%);
}

.tesla-front-door-card{
  position:relative;
  z-index:1;
  width:min(920px,100%);
  border:1px solid #24384d;
  border-radius:20px;
  padding:22px;
  background:rgba(7,12,18,.97);
  box-shadow:0 24px 80px rgba(0,0,0,.55);
}

.tesla-front-door-brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}

.tesla-front-door-mark{
  width:46px;
  height:46px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#1f70d7;
  font-size:24px;
  font-weight:800;
}

.tesla-front-door-name{
  font-size:21px;
  font-weight:800;
  letter-spacing:.08em;
}

.tesla-front-door-tagline{
  margin-top:3px;
  color:#8ea6bb;
  font-size:13px;
}

.tesla-front-door-hero{
  position:relative;
  height:min(48vh,430px);
  min-height:290px;
  overflow:hidden;
  border:1px solid #172638;
  border-radius:16px;
  background:#050a10;
}

.tesla-front-door-hero img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.tesla-front-door-hero-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,.05) 35%,
    rgba(2,6,9,.88) 100%
  );
}

.tesla-front-door-hero-copy{
  position:absolute;
  left:28px;
  right:28px;
  bottom:24px;
}

.tesla-front-door-hero-copy h1{
  margin:0 0 8px;
  font-size:36px;
}

.tesla-front-door-hero-copy p{
  margin:0;
  max-width:640px;
  color:#c5d2dd;
  line-height:1.5;
}

.tesla-front-door-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:18px;
}

.tesla-door-primary,
.tesla-door-secondary,
.tesla-door-link{
  min-height:48px;
  border-radius:10px;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}

.tesla-door-primary{
  border:1px solid #2f8bf0;
  background:#1f70d7;
  color:#fff;
}

.tesla-door-secondary{
  border:1px solid #31475c;
  background:#0d1823;
  color:#eaf4fc;
}

.tesla-door-link{
  border:0;
  background:transparent;
  color:#79b8ff;
}

.tesla-login-form{
  max-width:420px;
  margin:20px auto 0;
  display:grid;
  gap:9px;
}

.tesla-login-title{
  margin-bottom:7px;
  font-size:20px;
  font-weight:800;
}

.tesla-login-form label{
  color:#9db0c1;
  font-size:13px;
}

.tesla-login-form input{
  height:44px;
  box-sizing:border-box;
  border:1px solid #2a4055;
  border-radius:9px;
  padding:0 12px;
  background:#08111a;
  color:#fff;
  outline:none;
}

.tesla-login-form input:focus{
  border-color:#3b91ed;
}

.tesla-register-code-row{
  display:grid;
  gap:9px;
}

.tesla-front-door-status{
  min-height:20px;
  margin-top:12px;
  text-align:center;
  color:#8ea6bb;
  font-size:13px;
}

@media(max-width:640px){
  #tesla-front-door{
    padding:12px;
  }

  .tesla-front-door-card{
    padding:14px;
  }

  .tesla-front-door-hero{
    height:42vh;
    min-height:250px;
  }

  .tesla-front-door-hero-copy{
    left:18px;
    right:18px;
    bottom:18px;
  }

  .tesla-front-door-hero-copy h1{
    font-size:28px;
  }

  .tesla-front-door-actions{
    grid-template-columns:1fr;
  }
}
/* TESLA_FRONT_DOOR_V1_END */

button,textarea{font:inherit}
button{cursor:pointer}
:root{--gap:10px;--blue:#2f8cff;--panel:#070c12;--panel2:#0d141d;--line:#1b2a3a;--muted:#8da1b2}
#app-shell{display:grid;grid-template-columns:24% 40% 36%;gap:var(--gap);height:calc(100vh - 34px);padding:var(--gap);background:#03070b}
#left-panel,#center-panel,#right-panel{border:1px solid var(--line);border-radius:12px;background:#070c12;overflow:hidden}
#left-panel{display:flex;flex-direction:column;padding:14px}
.top-row,.brand-wrap,.left-title-row,.right-top,.input-actions,.left-actions,.user-card{display:flex;align-items:center}
.top-row{justify-content:space-between;gap:10px;margin-bottom:16px}
.brand-wrap{gap:10px;min-width:0}
.brand-mark{flex:0 0 auto;font-size:40px;line-height:1;color:#47a6ff;font-weight:400}
.brand{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:22px;font-weight:700}
.icon-button{flex:0 0 36px;width:36px;height:36px;border:0;border-radius:8px;background:#101722;color:#fff}
#new-chat{height:50px;border:0;border-radius:8px;background:linear-gradient(90deg,#1768d3,#3b94ff);color:#fff;font-weight:700;font-size:17px;margin-bottom:18px}
.left-title-row{justify-content:space-between;margin-bottom:10px}
.section-title{font-weight:700;font-size:15px}
.menu-dots{font-size:22px;color:#dbe8f3}
#delete-all-chats{min-height:28px;padding:4px 8px;border:1px solid #69333a;border-radius:6px;background:#171015;color:#f2a9b1;font-size:11px;font-weight:700}
#delete-all-chats:disabled{cursor:default;opacity:.45}
#conversation-list{flex:1;overflow:auto;display:flex;flex-direction:column;gap:7px}
.conversation-item{display:grid;grid-template-columns:minmax(0,1fr) 30px 30px;align-items:center;gap:3px;min-height:48px;padding:4px;border:1px solid #182432;border-radius:8px;background:#101721;color:#e7eef5}
.conversation-item.active{background:#102747;border-color:#215c9f}
.conversation-open{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;height:100%;padding:5px 6px;border:0;background:transparent;color:inherit;text-align:left}
.conversation-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.conversation-item .time{font-size:12px;color:#bcc7d0;white-space:nowrap}
.conversation-action{width:28px;height:30px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#aebdca;font-size:15px;line-height:28px}
.conversation-action:hover,.conversation-action:focus-visible{border-color:#2d455d;background:#182330;color:#fff;outline:0}
.conversation-pin.pinned{color:#55aaff}
.conversation-delete{font-size:20px;color:#d9a5aa}
.user-card{margin-top:10px;padding:12px 8px 2px;border-top:1px solid #162332;gap:10px}
.user-avatar{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#1f70d7;font-weight:700}
.user-name{font-weight:700}.user-plan{font-size:12px;color:#42a6ff}.user-settings{margin-left:auto;font-size:18px}

#center-panel{position:relative;display:flex;flex-direction:column;align-items:stretch;background:linear-gradient(180deg,#06101a,#05080d 70%)}
.language-select{position:absolute;top:14px;right:14px;z-index:5;padding:8px 12px;border:1px solid #1c2c3c;border-radius:8px;background:#08111a;font-size:13px}
#tesla-stage{position:relative;height:48%;min-height:300px;overflow:hidden;background:
radial-gradient(circle at 50% 38%,rgba(27,106,181,.34),transparent 36%),
linear-gradient(180deg,#07111c,#05080d)}
#tesla-stage:before{content:"";position:absolute;inset:0;background:
radial-gradient(circle at 26% 34%,rgba(49,156,255,.18),transparent 15%),
radial-gradient(circle at 76% 30%,rgba(49,156,255,.18),transparent 13%),
linear-gradient(112deg,transparent 47%,rgba(55,143,255,.18) 48%,transparent 49%),
linear-gradient(68deg,transparent 51%,rgba(55,143,255,.13) 52%,transparent 53%);z-index:1}
.hero-overlay{position:absolute;inset:0;z-index:2;background:linear-gradient(to bottom,transparent 55%,rgba(3,7,11,.86) 100%)}
#tesla-avatar{position:relative;z-index:0;width:100%;height:100%;object-fit:cover;object-position:center 20%;display:block}
.welcome-card{margin:26px 28px 18px;padding:18px 20px;border:1px solid #151f2b;border-radius:10px;background:#0d141d;line-height:1.5;font-size:15px}
#center-input-card{margin:0 28px 24px;padding:14px;border:1px solid #24384d;border-radius:14px;background:#0b1118}
#user-input{width:100%;min-height:80px;resize:none;border:0;outline:0;background:transparent;color:#fff;padding:4px;font-size:15px}
#user-input::placeholder{color:#6f7f8c}
.input-actions{justify-content:space-between;margin-top:8px}
.left-actions{gap:8px}
.small-action{width:42px;height:42px;border:1px solid #1c2a38;border-radius:9px;background:#0d141d;color:#fff}
#send-button{width:48px;height:48px;border:0;border-radius:10px;background:#277fe7;color:#fff;font-size:22px}

#right-panel{display:flex;flex-direction:column;padding:14px}
.right-top{justify-content:space-between;margin-bottom:10px}
#tools-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:16px}
#tools-grid button{height:72px;border:1px solid #182635;border-radius:9px;background:#101721;color:#eef4f8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}
#tools-grid button span:first-child{font-size:22px}
#tools-grid button span:last-child{font-size:12px}
.assistant-title{font-size:15px;font-weight:700;margin:4px 0 10px}
#messages{flex:1;overflow:auto;padding-right:4px}
.message{max-width:82%;padding:12px 14px;margin:8px 0;border-radius:11px;border:1px solid #182330;background:#0f161f;line-height:1.45}
.message.user{margin-left:auto;background:#141b24}
.message.tesla{margin-right:auto;background:#0d141d}
.conversation-footer{font-size:12px;color:#8d9aa7;margin-top:8px}
#footer-note{height:34px;display:flex;align-items:center;justify-content:center;border-top:1px solid #13202c;background:#05080d;color:#a2adb7;font-size:12px}

::-webkit-scrollbar{width:7px}
::-webkit-scrollbar-thumb{background:#40505f;border-radius:6px}

@media(max-width:1100px){#app-shell{grid-template-columns:23% 42% 35%}}
@media(max-width:820px){html,body{overflow:auto}#app-shell{display:block;height:auto}.language-select{right:10px}.user-card,#left-panel{display:none}#center-panel{height:58vh;border-radius:0}#right-panel{display:flex;height:42vh}#tesla-stage{height:44%}.welcome-card,#center-input-card{margin-left:14px;margin-right:14px}}

/* SAT55 � CENTER INPUT / MIC VISIBILITY */
#center-panel{
  overflow-y:auto;
  overflow-x:hidden;
}

#tesla-stage{
  height:42%;
  min-height:250px;
  flex-shrink:1;
}

.welcome-card{
  margin:14px 28px 12px;
  padding:14px 18px;
}

#center-input-card{
  margin:0 28px 14px;
  padding:10px 12px;
  flex-shrink:0;
}

#user-input{
  min-height:54px;
}

#mic-button{
  font-size:20px;
}

.message-speaker{
  display:block;
  width:26px;
  height:24px;
  margin-top:6px;
  padding:0;
  border:0;
  background:transparent;
  color:#dbe8f3;
  font-size:16px;
  line-height:24px;
  cursor:pointer;
  opacity:.85;
}
.message-speaker.playing{
  color:#22dd66;
  filter:drop-shadow(0 0 5px #22dd66);
  opacity:1;
}

/* SAT61_COMPACT_TOOLS_V1 */
#tools-grid{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:5px !important;
  margin-bottom:12px !important;
}

#tools-grid button{
  min-width:0 !important;
  height:44px !important;
  padding:3px 2px !important;
  border-radius:7px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:2px !important;
  overflow:hidden !important;
}

#tools-grid button span:first-child{
  font-size:15px !important;
  line-height:16px !important;
}

#tools-grid button span:last-child{
  font-size:9px !important;
  line-height:10px !important;
  white-space:nowrap !important;
}


/* SAT61_COMPACT_TOOLS_V1 */
#tools-grid{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:5px !important;
  margin-bottom:12px !important;
}

#tools-grid button{
  min-width:0 !important;
  height:44px !important;
  padding:3px 2px !important;
  border-radius:7px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:2px !important;
  overflow:hidden !important;
}

#tools-grid button span:first-child{
  font-size:15px !important;
  line-height:16px !important;
}

#tools-grid button span:last-child{
  font-size:9px !important;
  line-height:10px !important;
  white-space:nowrap !important;
}


/* CENTER_INPUT_CANON_V1 */
#center-input-card{
  position:relative !important;
  min-height:125px !important;
  height:125px !important;
  margin:0 28px 14px !important;
  padding:14px 16px !important;
  box-sizing:border-box !important;
  flex-shrink:0 !important;
}

#user-input{
  min-height:48px !important;
  height:48px !important;
  padding:8px 4px !important;
  font-size:15px !important;
}

.input-actions{
  position:absolute !important;
  left:16px !important;
  right:16px !important;
  bottom:12px !important;
  margin:0 !important;
}

.small-action{
  width:38px !important;
  height:38px !important;
}

#mic-button{
  position:absolute !important;
  left:50% !important;
  bottom:12px !important;
  transform:translateX(-50%) !important;
  width:38px !important;
  height:38px !important;
  font-size:17px !important;
}

#send-button{
  position:absolute !important;
  right:16px !important;
  bottom:12px !important;
  width:40px !important;
  height:40px !important;
  border-radius:9px !important;
  font-size:18px !important;
}
/* CENTER_INPUT_CANON_V1_END */

/* TESLA_CENTER_FINAL_CANON_V1 */
#center-panel{
  overflow:hidden !important;
}

#tesla-stage{
  height:auto !important;
  min-height:0 !important;
  flex:1 1 auto !important;
}

#tesla-avatar{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center 20% !important;
}

.welcome-card{
  display:none !important;
}

#center-input-card{
  position:relative !important;
  width:100% !important;
  height:96px !important;
  min-height:96px !important;
  margin:0 !important;
  padding:10px 16px !important;
  box-sizing:border-box !important;
  border-radius:12px 12px 0 0 !important;
  flex-shrink:0 !important;
}

#user-input{
  width:100% !important;
  height:34px !important;
  min-height:34px !important;
  max-height:34px !important;
  padding:2px 4px !important;
  font-size:14px !important;
  line-height:1.3 !important;
}

.input-actions{
  position:absolute !important;
  left:16px !important;
  right:16px !important;
  bottom:8px !important;
  margin:0 !important;
}

.small-action{
  width:34px !important;
  height:34px !important;
  border-radius:8px !important;
}

#mic-button{
  position:absolute !important;
  left:50% !important;
  bottom:8px !important;
  transform:translateX(-50%) !important;
  width:34px !important;
  height:34px !important;
  font-size:16px !important;
}

#send-button{
  position:absolute !important;
  right:16px !important;
  bottom:8px !important;
  width:38px !important;
  height:38px !important;
  border-radius:9px !important;
  font-size:18px !important;
}
/* TESLA_CENTER_FINAL_CANON_V1_END */

/* TESLA_INPUT_1MM_GAP_V1 */
#user-input{
  position:relative !important;
  top:-4px !important;
}
/* TESLA_INPUT_1MM_GAP_V1_END */

/* TESLA_TWO_ROW_INPUT_V1 */
#center-input-card{
  display:grid !important;
  grid-template-rows:40px 40px !important;
  row-gap:4px !important;
  height:94px !important;
  min-height:94px !important;
  padding:5px 10px !important;
  background:transparent !important;
  border:0 !important;
}

#user-input{
  position:static !important;
  top:auto !important;
  height:40px !important;
  min-height:40px !important;
  max-height:40px !important;
  padding:8px 12px !important;
  box-sizing:border-box !important;
  border:1px solid #24384d !important;
  border-radius:10px !important;
  background:#0b1118 !important;
}

.input-actions{
  position:relative !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  width:100% !important;
  height:40px !important;
  padding:3px 8px !important;
  box-sizing:border-box !important;
  border:1px solid #24384d !important;
  border-radius:10px !important;
  background:#0b1118 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
}

#mic-button{
  position:absolute !important;
  left:50% !important;
  top:3px !important;
  bottom:auto !important;
  transform:translateX(-50%) !important;
  width:34px !important;
  height:34px !important;
}

#send-button{
  position:static !important;
  width:34px !important;
  height:34px !important;
}

.small-action{
  width:34px !important;
  height:34px !important;
}
/* TESLA_TWO_ROW_INPUT_V1_END */

/* TESLA_FINAL_EQUAL_GAPS_V1 */
#center-input-card{
  margin-top:4px !important;
  background:#070c12 !important;
}

#tesla-stage{
  margin-bottom:0 !important;
}
/* TESLA_FINAL_EQUAL_GAPS_V1_END */

/* TESLA_IMAGE_INPUT_SEPARATOR_V1 */
#center-input-card{
  border-top:4px solid #03070b !important;
  padding-top:4px !important;
}
/* TESLA_IMAGE_INPUT_SEPARATOR_V1_END */

/* TESLA_CENTER_OVERLAP_FIX_V1 */
#center-panel{
  position:relative !important;
}

#tesla-stage{
  margin-bottom:4px !important;
}

#center-input-card{
  margin:4px 0 0 0 !important;
  flex:0 0 94px !important;
}
/* TESLA_CENTER_OVERLAP_FIX_V1_END */

/* SAT62_NAV_MAP_V1 */
#tesla-map-wrap{
  position:absolute;
  left:18px;
  right:18px;
  top:54px;
  bottom:124px;
  z-index:8;
  border:1px solid #24384d;
  border-radius:14px;
  overflow:hidden;
  background:#0b1118;
  box-shadow:0 8px 30px rgba(0,0,0,.45);
}
#tesla-map{
  width:100%;
  height:100%;
}
#tesla-map-wrap .leaflet-container{
  width:100%;
  height:100%;
}
/* SAT62_NAV_MAP_V1_END */

/* TESLA_TRANSLATOR_20_LANGUAGES_V1 */
.translator-language-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:end;
  gap:10px;
  margin-bottom:12px;
}
.translator-language-control{
  display:grid;
  gap:4px;
  min-width:0;
  color:#8da1b2;
  font-size:12px;
}
.translator-language-selector{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  width:100%;
  min-width:0;
  height:38px;
  border:1px solid #24384d;
  border-radius:8px;
  background:#0d141d;
  color:#fff;
  padding:0 8px;
  cursor:pointer;
  user-select:none;
}
.translator-language-selector:focus-visible{
  outline:2px solid #3293ff;
  outline-offset:2px;
}
.translator-language-selector-disabled{
  cursor:not-allowed;
  opacity:.58;
}
.translator-language-value,
.translator-language-option{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.translator-language-value{
  overflow:hidden;
}
.translator-language-text{
  min-width:0;
  overflow:hidden;
  color:#fff;
  font-size:13px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.translator-language-flag{
  flex:0 0 24px;
  width:24px;
  height:16px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:2px;
  object-fit:cover;
}
.translator-language-arrow{
  color:#8da1b2;
  font-size:12px;
}
.translator-language-listbox{
  position:absolute;
  z-index:1200;
  top:calc(100% + 4px);
  left:0;
  right:0;
  max-height:248px;
  overflow-y:auto;
  border:1px solid #2d4863;
  border-radius:8px;
  background:#0d141d;
  box-shadow:0 10px 28px rgba(0,0,0,.45);
  padding:4px;
}
.translator-language-listbox[hidden]{
  display:none;
}
.translator-language-option{
  min-height:34px;
  border-radius:6px;
  padding:5px 7px;
}
.translator-language-option:hover,
.translator-language-option-active{
  background:#17304b;
}
.translator-language-option[aria-selected="true"]{
  box-shadow:inset 3px 0 #3293ff;
}
#translator-swap{
  width:38px;
  height:38px;
}
/* TESLA_TRANSLATOR_20_LANGUAGES_V1_END */

/* TESLA_TOOL_BAG_V1 */
#right-panel{position:relative}
#tool-bag-panel{position:absolute;z-index:30;top:52px;right:14px;bottom:38px;left:14px;display:flex;flex-direction:column;gap:12px;min-height:0;padding:14px;border:1px solid #294158;border-radius:12px;background:#080f17;box-shadow:0 18px 42px rgba(0,0,0,.55);overflow:auto}
#tool-bag-panel[hidden]{display:none}
.tool-bag-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
#tool-bag-title{font-size:18px;font-weight:750}
.tool-bag-subtitle{margin-top:2px;color:#8da1b2;font-size:11px}
#tool-bag-close{flex:0 0 32px;width:32px;height:32px;padding:0;border:1px solid #26394b;border-radius:7px;background:#101a25;color:#eaf3fa;font-size:22px;line-height:28px}
#tool-bag-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.tool-bag-entry{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;min-width:0;min-height:52px;padding:7px 8px;border:1px solid #1d2e3e;border-radius:8px;background:#101721;color:#e7eef5;text-align:left}
.tool-bag-entry:hover,.tool-bag-entry:focus-visible,.tool-bag-entry.active{border-color:#2877c7;background:#10233a;outline:0}
.tool-bag-entry>span:last-child{display:flex;flex-direction:column;min-width:0}
.tool-bag-entry strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.tool-bag-entry small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;color:#8296a8;font-size:9px}
.tool-bag-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:7px;background:#0a1119;color:#52aaff;font-size:17px;font-weight:800}
#tool-bag-workspace{min-height:190px;padding:12px;border:1px solid #1d2d3c;border-radius:9px;background:#0b121a}
#tool-bag-placeholder{display:flex;align-items:center;justify-content:center;min-height:164px;color:#8296a8;font-size:13px}
.tool-bag-tool-view h3{margin:0 0 8px;font-size:17px}
.tool-bag-tool-view p{margin:8px 0 0;color:#b4c2ce;font-size:13px;line-height:1.45}
.tool-bag-capability-state{display:inline-flex;padding:4px 8px;border:1px solid #40546a;border-radius:999px;color:#b7c7d5;font-size:10px;font-weight:800;letter-spacing:.05em}
.tool-bag-capability-state.detected,.tool-bag-capability-state.ready{border-color:#22623f;color:#6ce09b}
.tool-bag-capability-state.unavailable{border-color:#6a3238;color:#f0a1aa}
.tool-bag-capability-state.unverified{border-color:#705a2d;color:#e7c76c}
#tool-bag-calculator-display{width:100%;height:45px;margin-bottom:8px;padding:7px 10px;border:1px solid #263d52;border-radius:7px;background:#050a0f;color:#f3f8fc;font:600 22px/1.2 Consolas,monospace;text-align:right}
.tool-bag-calculator-keys{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.tool-bag-calculator-keys button,.tool-bag-stopwatch-actions button{min-height:34px;border:1px solid #26394b;border-radius:7px;background:#131e29;color:#eef5fa;font-weight:700}
.tool-bag-calculator-keys button:hover,.tool-bag-stopwatch-actions button:hover{background:#1a2c3e}
.tool-bag-calculator-keys button:disabled,.tool-bag-stopwatch-actions button:disabled{cursor:default;opacity:.45}
.tool-bag-calculator-keys .calculator-equals{grid-row:span 2;background:#1e70ce}
.tool-bag-calculator-keys .calculator-zero{grid-column:span 2}
.tool-bag-time-display{padding:20px 8px;color:#f3f8fc;font:700 clamp(25px,3vw,42px)/1 Consolas,monospace;text-align:center;letter-spacing:.04em}
.tool-bag-stopwatch-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.tool-bag-clock-date{color:#9fb1c0;font-size:13px;text-align:center}

@media(max-width:1100px){#tool-bag-grid{grid-template-columns:1fr}.tool-bag-time-display{font-size:25px}}
