@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  font-family:'Space Grotesk','Noto Sans Thai',sans-serif;
  color:#f3eddb;
  background:#172d27;
  font-synthesis:none;
  --gold:#e9c67a;
  --ink:#19352c;
  --muted:#acb8a7;
  --paper:#f2ebd9;
  --line:#ffffff20;
  color-scheme:dark
}

* {
  box-sizing:border-box
}
body {
  margin:0
}
button,a {
  -webkit-tap-highlight-color:transparent
}
button,input {
  font:inherit
}
button,a {
  touch-action:manipulation
}
button {
  cursor:pointer
}
button {
  color:inherit
}
button:focus-visible,a:focus-visible,input:focus-visible {
  outline:3px solid var(--gold);
  outline-offset:4px
}
button {
  border:0
}
a {
  color:inherit;
  text-decoration:none
}
[hidden] {
  display:none!important
}

body {
  background:radial-gradient(ellipse at 50% 40%,#34513d 0%,#172d27 68%)
}
.office {
  max-width:1400px;
  min-height:100svh;
  margin:auto;
  padding:0 42px;
  display:grid;
  grid-template-columns:minmax(195px,1fr) minmax(320px,460px) minmax(180px,.85fr);
  grid-template-rows:88px 1fr 74px 42px;
  column-gap:44px
}
.masthead {
  grid-column:1/-1;
  display:flex;
  align-items:center;
  gap:18px;
  border-bottom:1px solid var(--line)
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:19px;
  font-weight:700;
  letter-spacing:2.5px
}
.brand small {
  display:block;
  font-size:10px;
  letter-spacing:2px;
  font-weight:400;
  margin-top:4px;
  color:var(--muted)
}
.brand-mark {
  width:41px;
  height:43px;
  display:grid;
  place-items:center;
  border:1px solid #c6ac72;
  font-family:Georgia,serif;
  font-size:31px;
  color:var(--gold);
  position:relative
}
.brand-mark span {
  position:absolute;
  right:-6px;
  top:-9px;
  font-size:16px;
  background:#172d27
}
.demo-badge {
  margin-left:auto;
  color:#c4d4bd;
  font-size:12px;
  display:flex;
  gap:8px;
  align-items:center
}
.demo-badge i,.world-heading i {
  width:6px;
  height:6px;
  background:#cad999;
  border-radius:50%;
  display:inline-block
}
.avatar {
  border:1px solid #64765d;
  border-radius:50%;
  width:40px;
  height:40px;
  color:var(--gold);
  background:#ffffff08
}
.welcome {
  padding-top:56px
}
.eyebrow {
  font-size:10px;
  letter-spacing:1.8px;
  color:var(--muted);
  font-weight:500
}
h1 {
  font-size:clamp(28px,3vw,42px);
  font-weight:500;
  line-height:1.45;
  letter-spacing:-1.5px;
  margin:20px 0 16px
}
h1 span {
  display:block;
  color:var(--gold)
}
.welcome p {
  font-size:14px;
  line-height:1.9;
  color:var(--muted)
}
.welcome-rule {
  width:32px;
  height:2px;
  background:var(--gold);
  margin:32px 0
}
.departments {
  display:grid;
  margin:12px 0 26px
}
.departments button {
  display:flex;
  align-items:center;
  text-align:left;
  background:none;
  border-bottom:1px solid var(--line);
  min-height:44px;
  font-size:14px;
  padding:10px 0;
  gap:10px
}
.departments button span {
  font-size:10px;
  color:var(--muted)
}
.departments b {
  margin-left:auto;
  font-weight:400;
  color:var(--gold)
}
.departments button:hover {
  color:var(--gold)
}
.edition {
  font-size:10px;
  letter-spacing:1.5px;
  color:var(--muted);
  display:flex;
  justify-content:space-between
}
.world {
  min-width:0;
  display:flex;
  flex-direction:column;
  align-self:center
}
.world-heading {
  display:flex;
  justify-content:space-between;
  padding:14px 0 10px;
  font-size:11px;
  color:#cad2bf
}
.world-heading span:first-child {
  letter-spacing:2px;
  display:flex;
  align-items:center;
  gap:7px
}
.map-stage {
  display:flex;
  justify-content:center;
  align-items:center
}
.map {
  position:relative;
  width:100%;
  max-width:calc((100svh - 235px)*2/3);
  aspect-ratio:2/3;
  isolation:isolate;
  box-shadow:0 20px 70px #0005;
  outline:1px solid #d1c2924a;
  outline-offset:4px;
  border-radius:3px
}
.map>img {
  width:100%;
  height:100%;
  display:block;
  border-radius:3px;
  object-fit:contain;
  image-rendering:pixelated
}
.hotspots {
  position:absolute;
  inset:0
}
.hotspot {
  position:absolute;
  background:transparent;
  width:39%;
  height:19%;
  padding:0;
  border-radius:24%;
  display:flex;
  align-items:flex-end;
  justify-content:center
}
.hotspot:after {
  content:'';
  position:absolute;
  inset:0;
  border:1px solid transparent;
  border-radius:inherit;
  pointer-events:none;
  transition:.2s
}
.hotspot:hover:after,.hotspot:focus-visible:after {
  border-color:#ffdc99aa;
  background:#f8d98512;
  box-shadow:0 0 30px #ffdb6a22
}
.revit {
  left:3%;
  top:6%
}
.site {
  left:58%;
  top:7%
}
.command {
  left:28%;
  top:26%;
  width:44%;
  height:23%
}
.ai {
  left:2%;
  top:51%;
  height:23%
}
.structure {
  left:58%;
  top:53%;
  height:22%
}
.map-label {
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:5px;
  white-space:nowrap;
  font-size:12px;
  font-weight:600;
  background:#182f29ed;
  border:1px solid #d9be81;
  color:#fff3ce;
  border-radius:4px;
  padding:7px 8px;
  box-shadow:0 3px 0 #10241bb3,0 4px 12px #0005;
  transition:transform .2s
}
.map-label i {
  font-style:normal;
  color:var(--gold);
  font-size:14px
}
.map-label b {
  font-size:10px;
  color:#d3c08c;
  font-weight:400
}
.command .map-label {
  background:#f0d69d;
  color:#243c2c;
  border-color:#fff0ca
}
.command .map-label i,.command .map-label b {
  color:#654922
}
.hotspot:hover .map-label {
  transform:translateY(-3px)
}
.map-caption {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:11px;
  color:#bfc9b8;
  padding-top:12px
}
.map-caption>span:first-child {
  color:var(--gold)
}
.map-coordinate {
  margin-left:auto;
  font-size:8px;
  letter-spacing:1.2px
}
.field-notes {
  padding-top:60px;
  max-width:215px
}
.field-notes h2 {
  font-size:20px;
  font-weight:500;
  margin:12px 0 28px
}
.note {
  color:var(--ink);
  background:var(--paper);
  padding:22px 20px;
  transform:rotate(2deg);
  box-shadow:5px 7px 0 #0b211b77;
  position:relative
}
.note:before {
  content:'';
  position:absolute;
  width:60px;
  height:17px;
  background:#d2b66b99;
  top:-8px;
  left:calc(50% - 30px);
  transform:rotate(-5deg)
}
.note-number {
  font-size:12px;
  color:#6a7961
}
.note h3 {
  font-size:22px;
  font-weight:500;
  line-height:1.55;
  margin:20px 0 12px
}
.note p {
  font-size:13px;
  line-height:1.8;
  color:#64725b
}
.note button {
  background:transparent;
  color:var(--ink);
  border-top:1px solid #18382c33;
  min-height:44px;
  width:100%;
  text-align:left;
  font-size:13px;
  padding:12px 0 0;
  display:flex;
  justify-content:space-between
}
.siri-card {
  display:flex;
  text-align:left;
  align-items:center;
  gap:9px;
  background:#ffffff06;
  border:1px solid var(--line);
  border-radius:8px;
  width:100%;
  padding:14px 10px;
  margin-top:32px;
  font-size:14px
}
.siri-symbol {
  font-size:27px;
  color:var(--gold)
}
.siri-card small {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-top:5px
}
.siri-card b {
  margin-left:auto;
  font-weight:400
}
.prototype-note {
  font-size:11px;
  line-height:1.8;
  color:var(--muted);
  margin-top:20px
}
.bottom-nav {
  grid-column:2;
  display:flex;
  align-items:center;
  justify-content:space-around;
  align-self:center;
  border:1px solid #d3cd9e33;
  border-radius:12px;
  background:#10261fde;
  padding:5px 8px;
  gap:4px
}
.bottom-nav button,.bottom-nav a {
  position:relative;
  flex:1;
  background:none;
  border-radius:8px;
  min-height:52px;
  padding:5px 2px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:2px;
  font-size:10px;
  color:#b5c3ad
}
.bottom-nav span {
  font-size:22px;
  line-height:24px
}
.bottom-nav .active {
  background:#e7cf9820;
  color:#f3d89a
}
.bottom-nav button:hover {
  color:var(--gold);
  background:#ffffff08
}
.bottom-nav i {
  font-style:normal;
  font-size:8px;
  position:absolute;
  top:3px;
  right:2px;
  border-radius:3px;
  background:#344a37;
  padding:1px 3px
}
.desktop-footer {
  grid-column:1/-1;
  border-top:1px solid var(--line);
  font-size:9px;
  letter-spacing:1.6px;
  color:#91a28f;
  display:flex;
  align-items:center;
  justify-content:space-between
}
.asset-error {
  position:absolute;
  inset:0;
  padding:24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:var(--paper);
  color:var(--ink)
}
.asset-error>span {
  font-size:60px
}
.asset-error h2 {
  font-size:22px
}
.asset-error p {
  font-size:14px
}
.asset-error button {
  min-height:44px;
  margin:4px;
  padding:10px 20px;
  color:var(--paper);
  background:var(--ink);
  border-radius:6px
}

dialog {
  color-scheme:light;
  background:var(--paper);
  color:var(--ink);
  width:min(480px,calc(100% - 28px));
  border:1px solid #e9d2a0;
  border-radius:16px;
  padding:24px;
  box-shadow:0 24px 100px #0007;
  max-height:85svh;
  overflow-y:auto
}
dialog::backdrop {
  background:#071c16b3;
  backdrop-filter:blur(4px)
}
.sheet-handle {
  display:none
}
.sheet-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #19352c22;
  padding-bottom:16px;
  margin-bottom:20px
}
.sheet-header h2 {
  font-size:24px;
  margin:5px 0 0
}
.sheet-header .eyebrow {
  color:#697b5d
}
.sheet-header button {
  background:#19352c0b;
  color:var(--ink);
  border-radius:50%;
  width:44px;
  height:44px
}
.sheet-copy {
  font-size:16px;
  line-height:1.8;
  color:#59684e
}
.sheet-tag {
  font-size:12px;
  background:#dce3cd;
  border-radius:5px;
  padding:5px 8px;
  display:inline-block
}
.primary-button {
  background:var(--ink);
  color:var(--paper);
  border-radius:7px;
  min-height:46px;
  padding:10px 18px;
  margin-top:16px
}
.task {
  display:flex;
  gap:12px;
  padding:16px 0;
  border-bottom:1px solid #19352c22;
  min-height:64px;
  align-items:center;
  cursor:pointer
}
.task input {
  width:22px;
  height:22px;
  accent-color:#365839;
  flex-shrink:0
}
.task span {
  font-size:16px
}
.task:has(input:checked) span {
  text-decoration:line-through;
  color:#68765f
}
.progress {
  height:6px;
  background:#d6dac6;
  border-radius:9px;
  overflow:hidden;
  margin:12px 0
}
.progress>span {
  height:100%;
  display:block;
  background:#50724a
}
.storage-note {
  font-size:12px;
  line-height:1.7;
  color:#69765c
}
.map-list {
  display:grid;
  gap:8px
}
.map-list button {
  display:flex;
  justify-content:space-between;
  min-height:48px;
  align-items:center;
  background:#e1e3d2;
  color:var(--ink);
  padding:12px;
  border-radius:6px;
  text-align:left
}
.chat-log {
  max-height:32svh;
  overflow:auto;
  display:grid;
  gap:10px;
  margin:18px 0;
  overscroll-behavior:contain
}
.message {
  background:#e1e3d2;
  font-size:15px;
  line-height:1.7;
  padding:12px;
  border-radius:10px;
  margin:0;
  overflow-wrap:anywhere
}
.message.user {
  background:#31513e;
  color:#f4efd9;
  margin-left:35px
}
.chat-form {
  display:flex;
  gap:8px
}
.chat-form input {
  min-width:0;
  width:100%;
  padding:12px;
  background:#fffaf0;
  border:1px solid #9eab89;
  border-radius:7px;
  color:var(--ink);
  font-size:16px
}
.chat-form button {
  background:var(--ink);
  color:var(--paper);
  padding:0 16px;
  border-radius:7px;
  min-height:46px
}
.notice {
  position:fixed;
  bottom:95px;
  left:50%;
  transform:translateX(-50%);
  z-index:5;
  background:var(--paper);
  color:var(--ink);
  font-size:13px;
  border-radius:6px;
  box-shadow:0 3px 20px #0003
}
.notice:not(:empty) {
  padding:10px 18px
}
.menu-detail {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:14px 0;
  border-bottom:1px solid #19352c22;
  font-size:14px
}

@media(min-width:900px) and (max-height:760px) {
  .welcome {
  padding-top:24px
}
h1 {
  font-size:28px;
  margin:12px 0
}
.welcome-rule {
  margin:18px 0
}
.field-notes {
  padding-top:26px
}
.note h3 {
  margin:12px 0
}
.departments {
  margin-bottom:16px
}
.office {
  grid-template-rows:74px 1fr 70px 36px
}
.map {
  max-width:calc((100svh - 220px)*2/3)
}

}

@media(max-width:899px) {
  .office {
  max-width:600px;
  display:flex;
  flex-direction:column;
  min-height:100svh;
  padding:0 18px
}
.masthead {
  height:74px;
  flex-shrink:0;
  gap:10px
}
.brand {
  font-size:17px;
  letter-spacing:2px;
  gap:10px
}
.brand small {
  font-size:8px;
  letter-spacing:1.3px
}
.brand-mark {
  width:34px;
  height:36px;
  font-size:26px
}
.demo-badge {
  font-size:10px;
  gap:5px
}
.avatar {
  display:none
}
.welcome,.field-notes,.desktop-footer {
  display:none
}
.world {
  width:100%;
  flex:1;
  justify-content:center;
  padding-bottom:10px
}
.world-heading {
  font-size:10px;
  padding:12px 0 10px
}
.map {
  max-width:min(100%,calc((100svh - 195px)*2/3))
}
.map-caption {
  font-size:10px;
  padding-top:11px;
  justify-content:center
}
.map-coordinate {
  display:none
}
.bottom-nav {
  width:100%;
  flex-shrink:0;
  margin:0 0 max(12px,env(safe-area-inset-bottom));
  min-height:62px
}
.bottom-nav a,.bottom-nav button {
  font-size:11px;
  min-height:50px
}
.bottom-nav i {
  right:8px
}
.map-label {
  font-size:11px;
  padding:6px;
  gap:3px
}
.map-label i {
  font-size:12px
}
.map-label b {
  display:none
}
dialog {
  position:fixed;
  inset:auto 0 0;
  margin:0;
  width:100%;
  max-width:none;
  max-height:88svh;
  border-radius:20px 20px 0 0;
  padding:12px 22px max(24px,env(safe-area-inset-bottom));

}
.sheet-handle {
  display:block;
  width:34px;
  height:4px;
  background:#b6bba0;
  border-radius:6px;
  margin:0 auto 20px
}
.sheet-header {
  margin-bottom:16px
}

}

@media(min-width:900px) {
  .welcome {
  padding-top:28px
}
h1 {
  font-size:32px;
  line-height:1.4;
  margin:14px 0 12px
}
.welcome p {
  margin:10px 0
}
.welcome-rule {
  margin:20px 0
}
.departments {
  margin:8px 0 18px
}
.field-notes {
  padding-top:32px
}
.note h3 {
  margin:14px 0 10px
}
.field-notes h2 {
  margin-bottom:24px
}

}

@media(min-width:900px) {
  .map {
  max-width:calc((100svh - 280px)*2/3)
}

}

.map-label {
  font-size:14px
}
.map-caption {
  font-size:12px
}
.bottom-nav button,.bottom-nav a {
  font-size:12px
}

@media(max-width:899px) {
  .map-label {
  font-size:12px
}
.office {
  padding:0 12px
}
.map-caption {
  font-size:12px
}
.map {
  max-width:min(100%,calc((100svh - 230px)*2/3))
}

}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
  transition:none!important;
  scroll-behavior:auto!important
}

}
