/* MATABUMI interface layer. Kept separate from the original Vite build. */
:root {
  --bg:#eeece5;--surface:#f8f6f0;--surface-alt:#f0eee7;--text:#203449;
  --muted:#566270;--border:#d8d8cf;--border-strong:#969f9e;
  --soft:#e5e9e7;--soft-alt:#eaf0ed;--green:#245f60;
  --batak-red:#245f60;--batak-red-hover:#194b4d;--batak-red-dark:#194b4d;
  --batak-red-soft:#e3eeea;--batak-gold:#304f6c;--batak-gold-soft:#e5eaf0;
  --batak-gold-border:#c2cdda;--warning-text:#795300;--warning-bg:#f5e9c9;
  --nav-bg:#203449;--nav-accent:#9bcbc5;--ui-radius:14px;--ui-shadow:0 4px 22px #20344906;
  font-family:"Segoe UI",Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;
  font-size:14px;line-height:1.6;color-scheme:light;
}
[data-theme="dark"] {
  --bg:#1c2024;--surface:#252a2f;--surface-alt:#2b3137;--text:#e8e5df;
  --muted:#bbbdbb;--border:#41484d;--border-strong:#79858b;--soft:#323a3d;
  --soft-alt:#293b3b;--green:#8ec9c1;--batak-red:#d9a780;--batak-red-hover:#e6bb99;
  --batak-red-dark:#775039;--batak-red-soft:#3c3028;--batak-gold:#a9d3cd;
  --batak-gold-soft:#293e3d;--batak-gold-border:#536f6c;
  --warning-text:#e3c172;--warning-bg:#3d3524;--nav-bg:#20272d;--nav-accent:#d9a780;--ui-shadow:none;color-scheme:dark;
}
body,.app,.app h1,.app h2,.app h3,.app h4,.app h5,.app h6,.app button,.app input,.app select,.app textarea{font-family:"Segoe UI",Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}
.app h1,.app h2,.app h3,.app h4{font-style:normal;font-weight:600}
.app main{line-height:1.75}.app main p{font-size:14px}.app main table{font-variant-numeric:tabular-nums}
.gis-map .gis-legend.gis-legend:not(.is-minimized):has(details[open]){height:var(--gis-legend-height,288px)}
.gis-map .official-layer-control:not(.is-minimized):has(details[open]),.gis-map .gis-legend:not(.is-minimized):has(details[open]){height:var(--gis-control-height,360px);box-sizing:border-box}.gis-map .official-layer-control:not(.is-minimized) details[open],.gis-map .gis-legend:not(.is-minimized) details[open]{height:100%;max-height:100%;overflow:auto}
.gis-map .gis-legend{width:220px;padding:9px}.gis-map .gis-legend summary{font-size:12px}.gis-map .gis-legend:not(.is-minimized) details[open]{max-height:min(480px,calc(var(--gis-control-height,180px) * 2 - 10px))}.gis-map .gis-legend.is-minimized{width:36px;padding:0}.gis-map .gis-legend .legend-symbol{gap:7px}
.gis-map .official-layer-control{width:220px;padding:9px}.gis-map .official-layer-control summary{font-size:12px;padding-right:25px}.gis-map .official-layer-control section{margin-top:9px;padding-top:9px}.gis-map .official-layer-control.is-minimized{width:36px;padding:0}
.gis-map .official-layer-control details[open],.gis-map .gis-legend details[open]{max-height:var(--gis-control-height,180px);overflow:auto}
.gis-legend{position:relative}.gis-legend summary{padding-right:28px}.gis-legend .legend-minimize{position:absolute;right:5px;top:5px;width:30px;height:30px;min-height:30px;padding:0;font-size:20px}.gis-legend.is-minimized{width:36px;min-width:36px;padding:0}.gis-legend .legend-restore{width:34px;height:34px;min-height:34px;padding:0;border:0;font-size:21px}
.gis-legend{width:280px;max-width:calc(100vw - 100px);background:var(--surface);color:var(--text);border:1px solid var(--border-strong);border-radius:9px;padding:12px;font-family:"Segoe UI",sans-serif;box-shadow:0 3px 12px #0002}.gis-legend details[open]{max-height:320px;overflow:auto;overscroll-behavior:contain}.gis-legend summary{font-size:13px;font-weight:600;cursor:pointer;min-height:24px}.gis-legend input[type=search]{width:100%;min-height:36px;margin:12px 0 6px;padding:7px;border:1px solid var(--border-strong);border-radius:6px;background:var(--surface);color:var(--text);font-size:12px}.gis-legend p,.gis-legend a{font-size:11px!important;line-height:1.6;overflow-wrap:anywhere}.gis-legend h3{font-size:13px;margin:12px 0 5px}.legend-card,.legend-users:not(:empty){border-top:1px solid var(--border);padding:8px 0}.legend-symbol{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6;margin:6px 0;overflow-wrap:anywhere}.legend-symbol img{object-fit:contain;flex:0 0 24px;background:#f4f2ec;border-radius:2px}.legend-swatch{display:inline-block;width:20px;height:20px;flex:0 0 20px;border:2px solid;border-radius:3px}.legend-pagination{display:flex;gap:8px;margin:10px 0}.gis-legend button{min-height:32px;border:1px solid var(--border-strong);background:var(--soft);color:var(--text);border-radius:5px;padding:5px 8px;font-size:11px;cursor:pointer}.gis-legend button:disabled{opacity:.5}.gis-legend a{color:var(--batak-red)}.gis-legend .legend-note,.gis-legend .legend-state{color:var(--muted)}
.official-layer-control{position:relative}.official-layer-control summary{padding-right:24px}.official-layer-control .official-layer-minimize{position:absolute;right:5px;top:5px;width:30px;height:30px;border:1px solid var(--border);border-radius:5px;background:var(--surface);color:var(--text);cursor:pointer;font-size:20px}.official-layer-control.is-minimized{width:36px;min-width:36px;padding:0;border-radius:7px}.official-layer-control .official-layer-restore{width:34px;height:34px;padding:0;border:0;border-radius:6px;background:var(--surface);color:var(--text);font-size:21px;cursor:pointer}
.official-layer-control{background:var(--surface);color:var(--text);border:1px solid var(--border-strong);border-radius:8px;width:265px;max-width:calc(100vw - 100px);font-family:"Segoe UI",sans-serif;padding:12px;box-shadow:0 3px 12px #0002}.official-layer-control details[open]{max-height:360px;overflow:auto}.official-layer-control summary{font-weight:600;cursor:pointer;font-size:13px;line-height:1.5}.official-layer-control p{font-size:11px!important;line-height:1.65;margin:8px 0}.official-layer-control section{border-top:1px solid var(--border);margin-top:12px;padding-top:12px}.official-layer-control label{display:block;font-size:12px;line-height:1.7}.official-layer-control a{font-size:11px;color:var(--batak-red);display:block;margin:6px 0}.official-layer-control input[type=range]{width:100%}
.workspace-preview-note{padding:12px 16px;border:1px solid var(--border-strong);border-radius:8px;background:var(--soft);color:var(--text);font-size:12px!important;line-height:1.7}
.workspace-roadmap{border-top:1px solid var(--border);margin-top:32px;padding-top:24px}.workspace-roadmap-toggle{display:block;min-height:44px;max-width:100%;padding:12px 18px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--text);font-weight:600;text-align:left;cursor:pointer}.workspace-roadmap-body{padding-top:24px}
matabumi-team-settings{display:block;margin-top:28px;border-top:1px solid var(--border);padding-top:24px}matabumi-team-settings .panel{padding:20px;margin:16px 0;background:var(--surface);border:1px solid var(--border)}matabumi-team-settings form{display:flex;align-items:end;flex-wrap:wrap;gap:12px}matabumi-team-settings label{display:grid;gap:6px;flex:1;min-width:min(220px,100%)}matabumi-team-settings input,matabumi-team-settings select{width:100%;min-height:44px;border:1px solid var(--border-strong);border-radius:7px;padding:8px;background:var(--surface);color:var(--text)}matabumi-team-settings button{min-height:44px;padding:8px 14px;border:1px solid var(--border-strong);border-radius:7px;background:var(--soft);color:var(--text);cursor:pointer}
.app .personal-tool p,.app .compliance-grid p,.app .personal-flow p{font-size:14px;line-height:1.85}
html{scroll-padding-top:90px}body{margin:0;background:var(--bg)}
[hidden]{display:none!important}
*,*::before,*::after{box-sizing:border-box}
button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{
  outline:3px solid var(--batak-gold);outline-offset:3px;
}
button:disabled{cursor:not-allowed}a,button{-webkit-tap-highlight-color:transparent}
.app{min-width:0}.app>.main{margin-left:248px;min-width:0;min-height:100dvh}
.app>aside{
  width:248px;padding:28px 16px 18px;background:var(--nav-bg);color:#dce6ee;
  border:0;border-right:1px solid #ffffff0c;box-shadow:none;scrollbar-width:thin;
  scrollbar-color:#636b5b transparent;overscroll-behavior:contain;
}
.app>aside .brand{color:#fff;padding:0 8px 24px;border-bottom:1px solid #ffffff19;margin-bottom:12px;gap:11px}
.app>aside .brand-logo{border:1px solid #ffffff24;border-radius:11px;padding:3px;background:#fff;width:43px;height:43px;box-shadow:none}
.app>aside .brand>span{color:#fff;font-size:22px;letter-spacing:-.7px}
.app>aside .brand b{color:#a4d5d1}.app>aside .brand small{color:#b9ccd9;font-size:11px;letter-spacing:.8px;line-height:1.9}
.app>aside .nav-label{color:#a1ad94;font-size:9px;letter-spacing:1.5px;margin:22px 12px 8px;font-weight:650}
.app>aside .workspace-label{color:#b3beaa;padding:12px;font-size:10px;border:0;letter-spacing:1.5px}
.app>aside .workspace-label span{color:#c5d0bb;border:1px solid #ffffff1f;background:#ffffff09;font-size:10px;border-radius:5px}
.app>aside nav{display:grid;gap:3px}.app>aside nav a{
  color:#d3dbcd;font-size:12px;font-weight:450;line-height:1.45;min-height:40px;padding:11px 12px;
  border:1px solid transparent;border-radius:8px;gap:11px;box-shadow:none;
}
.app>aside nav a svg{color:#aebca2;flex-shrink:0;opacity:.9}
.app>aside nav a:hover{background:#ffffff0a;color:#fff}
.app>aside nav a.active,.app>aside nav a[aria-current="page"]{
  background:#ffffff0c;color:#edf5fa;border-color:#ffffff24;box-shadow:inset 3px 0 var(--nav-accent);
}
.app>aside nav a.active svg{color:#d6bb8e}.app>aside nav em{background:#ffffff0a;color:#c8d3bc;border:1px solid #ffffff19;font-size:9px}
.app>aside .sidebar-bottom{margin-top:24px;padding-top:16px;border-top:1px solid #ffffff14}
.app>aside .sidebar-bottom a{color:#c6d1bc}.app>aside .powered{color:#a1ad94;border-color:#ffffff14}
.app>aside .powered{font-size:11px;line-height:1.8;color:#bdcbd5}.app>aside .powered small{font-size:11px;color:#bdcbd5}.app>aside .powered strong{color:#edf3f6}.app>aside .powered svg{color:var(--nav-accent)}
.app>.main>header{
  min-height:72px;height:auto;padding:14px 36px;background:var(--surface);border-bottom:1px solid var(--border);
  position:sticky;top:0;z-index:25;gap:16px;box-shadow:none;
}
.app>.main>header::after{display:none}.breadcrumb{font-size:12px;min-width:0;gap:12px}
.breadcrumb strong{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.breadcrumb>span{color:var(--muted)}.header-actions{gap:12px;min-width:0}
.header-actions .account-link{font-size:12px;background:var(--surface-alt);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:8px 12px;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.header-actions .role-badge{font-size:9px;letter-spacing:.7px;background:var(--soft);border-color:var(--border);color:var(--muted);padding:5px 8px;border-radius:5px}
.icon-button{min-width:36px;min-height:36px;border-radius:8px;background:var(--surface);border-color:var(--border)}
.app>.main>main{max-width:1480px;padding:34px 36px 0;min-width:0}
.page-intro{padding:0 0 24px;margin-bottom:24px;border-bottom:1px solid var(--border)}
.page-intro::after{display:none}.page-intro h1,.gis-module .page-intro h1{font-size:clamp(26px,2.5vw,36px);line-height:1.2;letter-spacing:-1.1px;margin:12px 0;color:var(--text);font-weight:650}
.page-intro p{font-size:13px;max-width:800px;line-height:1.8;color:var(--muted)}
.eyebrow{font-size:10px!important;letter-spacing:1.5px!important;color:var(--batak-gold)}
h2{line-height:1.3}h3,h4{line-height:1.45}p{line-height:1.75}
.gemini-gradient-text{background:none!important;-webkit-text-fill-color:var(--text)!important;color:var(--text);font-weight:650;letter-spacing:-1px}
.gemini-sparkle-icon{color:var(--batak-red)}
.gemini-top-bar{border-radius:12px;padding:14px 16px;box-shadow:none;gap:12px;margin-bottom:8px;background:var(--surface)}
.gemini-project-selector{flex-wrap:wrap;min-width:0;gap:9px}.gemini-project-selector select{max-width:100%;min-height:36px;font-size:12px;border-radius:8px;background:var(--surface-alt)}
.gemini-project-selector .selector-label{font-size:11px}.gemini-pill-btn{border-radius:8px;min-height:34px;font-size:11px;padding:7px 11px}
.geoai-module .gemini-intro{margin-bottom:20px}.geoai-module.gemini-theme{max-width:1120px}
.geoai-module[data-geoai-mode="rag"] .gemini-top-actions{display:none}
.gemini-tabs{border-radius:10px}.gemini-tab-btn{border-radius:8px;min-height:36px}
.gemini-chat-container,.gemini-message,.gemini-finding-card{box-shadow:none}
.gemini-input-footer{line-height:1.6!important}
.level-switcher-bar{border-radius:10px!important;padding:12px!important;background:var(--surface)!important;box-shadow:none!important;gap:10px!important}
.level-switcher-title{font-size:11px!important}.level-btn{font-size:10px;min-height:30px;border-radius:6px}
.hero.batak-hero{border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:none;overflow:hidden;min-height:310px}
.hero::after{height:4px;background-image:none;background:linear-gradient(90deg,#8c332c 0 35%,#c69c5a 35% 62%,#303b2e 62%);border:0;opacity:1}
.hero-copy{padding:38px;max-width:780px}.hero h1{font-size:clamp(34px,3.6vw,54px);letter-spacing:-2px;line-height:1.08;font-weight:650}
.hero h1{color:var(--text)}.hero h1 em{color:var(--batak-red)}.hero p{font-size:13px!important;color:var(--muted);line-height:1.85;max-width:560px}
.hero .terrain{opacity:.55}.hero-version{font-size:9px;top:auto;bottom:20px;right:24px;height:auto;color:var(--muted);background:var(--surface-alt);border:1px solid var(--border);border-radius:5px;padding:5px 8px}
.hero-button,.hero-button-outline,.hero-button-ghost{border-radius:8px!important;font-size:12px!important;min-height:40px;padding:10px 16px!important;justify-content:center}
.hero-button{box-shadow:none!important}.hero-button-outline{color:var(--text);background:var(--surface);border-color:var(--border-strong)}.hero-button-ghost{color:var(--muted)}
.batak-stats{border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:20px;gap:20px;margin:20px 0 28px;grid-template-columns:repeat(2,minmax(0,1fr))}
.batak-stats strong{font-size:15px!important}.batak-stats p{font-size:11px!important}
.quick-guide-panel{padding:24px!important;border-radius:14px!important;background:var(--surface)!important;box-shadow:none!important}
.guide-steps-grid{gap:16px}.guide-step-card{border:1px solid var(--border);border-top:2px solid var(--batak-gold);border-radius:10px;padding:20px;box-shadow:none}
.guide-step-card h4{font-size:14px}.guide-step-card p{font-size:12px}.card-link{font-size:12px}
.batak-divider{height:1px!important;background:var(--border)!important;margin:30px 0!important;border:0!important}
.section-heading h2{font-size:26px;letter-spacing:-.65px}.section-heading p{font-size:13px}
.batak-search{border-radius:9px;min-height:42px}.batak-search input{font-size:12px}
.batak-filters{gap:8px;flex-wrap:wrap;margin:18px 0}.batak-filters button{border-radius:7px;font-size:11px;padding:7px 12px;min-height:34px}
.batak-module-grid{gap:16px}.module-card{padding:22px 22px 0;border-radius:12px;box-shadow:var(--ui-shadow);transition:border-color .15s,box-shadow .15s}
.module-card::after{display:none}.module-card:hover{transform:none;box-shadow:0 6px 20px #2630290b;border-color:var(--border-strong)}
.module-card h3{font-size:16px;letter-spacing:-.3px}.module-card p{font-size:12px;line-height:1.8;min-height:64px}
.module-card .category{font-size:9px;letter-spacing:1px;background:var(--soft);border-color:var(--border);color:var(--muted)}
.module-icon{border-radius:9px!important;background:var(--batak-gold-soft)!important;color:var(--batak-gold)!important}
.card-bottom{font-size:10px;border-top-style:solid;padding:14px 0}
.project-card,.panel,.account-panel,.gis-controls,.gis-project-bar,.module-panel{border-radius:12px;box-shadow:none}
.project-grid{gap:16px}.project-card{padding:22px}.project-card h2{font-size:18px}.project-card p{font-size:12px}
.project-form input,.project-form textarea,.account-form input{min-height:42px;border-radius:8px;font-size:13px}
.doc-composer-grid>*{min-width:0}.doc-form-grid>*{min-width:0}.doc-form-grid select{min-width:0;width:100%}.doc-md-preview{overflow-wrap:anywhere}
main input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),main select,main textarea{max-width:100%}
main input,main select,main textarea{accent-color:var(--batak-red)}
.table-wrap,.table-container,.data-table-wrap{overflow:auto;overscroll-behavior:contain;max-width:100%;border-radius:9px}
main table{font-size:12px}main th{font-size:11px;letter-spacing:.02em}main td,main th{line-height:1.6}
main button,main a{overflow-wrap:anywhere}main pre{max-width:100%;overflow:auto}
.gis-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"map" "layers";gap:20px}.gis-layout>.gis-map-panel{grid-area:map;min-width:0}.gis-layout>.gis-controls{grid-area:layers;width:100%;min-width:0}.gis-layout>*{min-width:0}.gis-map{border-radius:12px}.gis-controls{padding:20px}
.gis-layout>.gis-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 22px;align-items:start}.gis-controls>h2,.gis-controls>.gis-hint,.gis-controls>.gis-layer-list{grid-column:1/-1}.gis-controls>h2{margin:0;padding-top:8px}.gis-controls>*{min-width:0}.gis-controls .gis-import-options{display:flex;flex-wrap:wrap;gap:12px}.gis-controls .gis-import-options>label{flex:1;min-width:130px}.gis-controls select,.gis-controls input:not([type=checkbox]):not([type=color]):not([type=range]){min-width:0;max-width:100%;width:100%}.gis-controls .gis-layer-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px}.gis-controls .gis-layer-list>p{grid-column:1/-1}.gis-controls .gis-layer{margin:0}.gis-controls>.gis-demo{align-self:end;min-height:42px}
.gis-layout{grid-template-columns:260px minmax(0,1fr)!important;grid-template-areas:"layers map" "attributes attributes";align-items:start}.gis-layout>.gis-attributes{grid-area:attributes;min-width:0;margin:0;max-width:100%;overflow:hidden}.gis-layout>.gis-controls{grid-template-columns:minmax(0,1fr);padding:16px;gap:14px}.gis-attributes .admin-toolbar{flex-wrap:wrap}.gis-attributes .admin-toolbar>label{min-width:0;max-width:100%}
@media(max-width:1000px){.gis-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"map" "layers" "attributes"}}
@media(max-width:700px){.gis-layout>.gis-controls{grid-template-columns:minmax(0,1fr);gap:14px}.gis-controls .gis-import-options>label{min-width:0;flex-basis:100%}}
.app>.main>main>footer,.app>.main>footer{padding:28px 0;font-size:10px;color:var(--muted);border-top:1px solid var(--border);margin-top:36px;background:transparent}
.ui-skip-link{position:fixed;top:8px;left:12px;z-index:1000;transform:translateY(-160%);background:var(--surface);color:var(--text);border:2px solid var(--batak-gold);padding:10px 16px;border-radius:8px;font-size:14px}
.ui-skip-link:focus{transform:translateY(0)}
.ui-local-toolbar-note{font-size:11px;color:var(--muted);margin:0 0 16px}
.workspace-process{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 38px}.workspace-process span{padding:10px 14px;background:var(--surface);border:1px solid var(--border);border-radius:8px;font-size:12px}.workspace-domain-heading{font-size:24px;letter-spacing:-.5px}.workspace-status-note{font-size:12px;color:var(--muted);margin:10px 0 22px}.workspace-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;width:100%}.workspace-capability{font-size:10px;color:var(--muted);border:1px solid var(--border);padding:5px 8px;border-radius:20px}.workspace-domains details{font-size:12px;margin-bottom:24px;color:var(--muted);line-height:1.7}.workspace-domains summary{cursor:pointer}.workspace-domains details p{margin:10px 0}.workspace-domains .personal-tool-action{padding-top:12px}.personal-workspace{max-width:1180px;margin:0 auto}.personal-intro{padding:20px 0 32px;max-width:790px}
.personal-intro h1{font-size:clamp(32px,3.3vw,48px);line-height:1.15;letter-spacing:-1.6px;color:var(--text);font-weight:650;margin:18px 0}
.personal-intro>p{color:var(--muted);font-size:14px;max-width:700px;line-height:1.9}
.personal-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.personal-actions a{font-size:12px;font-weight:600;padding:12px 18px;border-radius:8px;min-height:44px;border:1px solid var(--border)}
.personal-primary{background:var(--batak-red);color:var(--surface)!important;border-color:var(--batak-red)!important}.personal-secondary{background:var(--surface);color:var(--text)}
.personal-access{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid var(--border);border-radius:12px;padding:20px 24px;background:var(--surface);margin:0 0 24px}
.personal-access strong{font-size:13px}.personal-access p{font-size:12px;color:var(--muted);margin:5px 0 0}.personal-access>a{font-size:12px;font-weight:600;color:var(--batak-red);white-space:nowrap}
.compliance-framework{margin-top:40px;padding-top:28px;border-top:1px solid var(--border)}.compliance-framework h2{font-size:24px;letter-spacing:-.5px}.compliance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:16px}.compliance-grid article{padding:24px;background:var(--surface);border:1px solid var(--border);min-width:0}.compliance-grid h3{font-size:17px;margin:0 0 16px}.compliance-grid p{font-size:12px;line-height:1.85;color:var(--muted)}.compliance-grid .compliance-gate{border-top:1px solid var(--border);padding-top:12px;color:var(--text)}
.personal-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.personal-tool{display:flex;flex-direction:column;align-items:flex-start;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:26px;color:var(--text);transition:border-color .15s}
.personal-tool:hover{border-color:var(--border-strong)}.personal-tool-number{font-size:11px;font-weight:650;color:var(--batak-gold);background:var(--batak-gold-soft);padding:6px 10px;border-radius:7px;margin-bottom:24px}
.personal-tool h3{font-size:19px;letter-spacing:-.4px;margin:0 0 10px}.personal-tool p{font-size:12px;color:var(--muted);line-height:1.9;margin:0 0 24px}.personal-tool-action{font-size:11px;font-weight:600;margin-top:auto;color:var(--batak-red)}
.personal-flow{padding:28px 0;margin-top:22px;border-top:1px solid var(--border)}.personal-flow h2{font-size:18px;margin:0 0 12px;letter-spacing:-.3px}.personal-flow p{font-size:12px;color:var(--muted);max-width:850px}.personal-flow .personal-flow-note{font-size:10px}
@media(max-width:850px){.personal-tools{grid-template-columns:minmax(0,1fr)}.personal-tool{padding:22px}.personal-tool-number{margin-bottom:16px}.personal-access{align-items:flex-start;flex-direction:column;gap:14px}.personal-intro{padding-top:6px}}
@media(min-width:1500px){.app>.main>main{padding:42px 48px 0}.app>.main>header{padding-left:48px;padding-right:48px}}
@media(max-width:1200px){.app>.main>main{padding:26px 26px 0}.app>.main>header{padding-left:26px;padding-right:26px}}
@media(max-width:1024px){
  .app>aside{width:276px;transform:translateX(-100%);transition:transform .2s;z-index:50;padding-top:24px}
  .app>aside.open{transform:translateX(0)}.app>.main{margin-left:0}
  .app .scrim.visible{display:block;position:fixed;inset:0;background:#151c17a8;z-index:45}
  .mobile-toggle{display:flex!important;flex-shrink:0}.app>.main>header{min-height:64px}
  .app>.main>main{padding:28px 24px 0}.hero-copy{width:70%;padding:30px}.hero .terrain{opacity:.4}
}
@media(max-width:640px){
  .app>.main>header{padding:12px 16px;min-height:64px;gap:8px}.breadcrumb{gap:8px;font-size:11px}
  .breadcrumb>span,.breadcrumb>svg,.header-actions .role-badge{display:none}.header-actions{gap:8px}
  .header-actions .account-link{max-width:115px;font-size:10px;padding:8px}.icon-button{min-width:34px;min-height:34px}
  .app>.main>main{padding:24px 16px 0}.page-intro{padding-bottom:18px;margin-bottom:20px}.page-intro p{font-size:12px}
  .page-intro h1,.gis-module .page-intro h1{font-size:28px;letter-spacing:-.8px}.page-intro .eyebrow{font-size:9px!important}
  .hero.batak-hero{border-radius:14px;min-height:0}.hero-copy{width:100%;padding:28px 24px 32px}.hero .terrain{display:none}.hero h1{font-size:38px;letter-spacing:-1.5px}
  .hero-actions-group{gap:8px;flex-wrap:wrap}.hero-version{display:none}.hero p{font-size:12px!important}
  .batak-stats{padding:18px;gap:12px;grid-template-columns:minmax(0,1fr)}.batak-stats>div{padding-bottom:12px}.batak-stats>div:last-child{padding-bottom:0}
  .quick-guide-panel{padding:20px!important}.guide-steps-grid,.batak-module-grid,.project-grid,.detail-grid{grid-template-columns:minmax(0,1fr)}
  .section-heading h2{font-size:24px}.module-card{padding:20px 20px 0}.module-card p{min-height:0}.module-card h3{font-size:16px}
  .level-buttons{gap:6px;flex-wrap:wrap}.level-btn{font-size:9px}.level-switcher-title{font-size:10px!important}
  .gemini-top-bar{padding:12px;border-radius:10px}.gemini-project-selector{width:100%;gap:8px}.gemini-project-selector select{flex:1;min-width:0;width:100%;font-size:12px}
  .gemini-top-bar>div{max-width:100%}.gemini-pill-btn{font-size:10px;padding:7px 9px}
  .gemini-chat-container{min-width:0}.gemini-message{max-width:100%}.gemini-input-container{padding:12px}.gemini-tab-btn{font-size:10px;padding:8px 10px}
  main table{font-size:11px}.app>.main>main>footer{font-size:9px;gap:8px;line-height:1.8}
  .doc-composer-grid,.doc-form-grid{grid-template-columns:minmax(0,1fr)!important}
  .doc-form-grid>label{grid-column:1/-1!important}.doc-toolbar{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Map print settings */
.gis-print-dialog{width:min(520px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:1px solid var(--border,#b8c2c5);border-radius:16px;padding:24px;background:var(--panel,#f4f2ed);color:var(--text,#203449);box-shadow:0 20px 80px #0005;font-family:'Segoe UI',sans-serif}.gis-print-dialog::backdrop{background:#14253299}.gis-print-dialog h2{margin:0 0 18px;font-size:20px}.gis-print-dialog form{display:grid;gap:14px}.gis-print-dialog label{display:grid;gap:6px;font-size:14px}.gis-print-dialog input:not([type=checkbox]),.gis-print-dialog select{width:100%;padding:10px;border:1px solid #88999f;border-radius:7px;background:#fff;color:#203449;font:inherit;box-sizing:border-box}.gis-print-dialog label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.gis-print-dialog p{font-size:13px;line-height:1.5;margin:0}.gis-print-dialog button{padding:11px 16px;border-radius:8px;border:1px solid #66858a;background:#285c64;color:#fff;font:inherit;cursor:pointer}.gis-print-dialog button:disabled{opacity:.55;cursor:wait}.gis-print-dialog [role=status]{font-weight:600;min-height:20px}
.gis-grid-toggle{display:flex;align-items:center;gap:5px;padding:6px 9px;font-size:12px;white-space:nowrap;border:1px solid #899ca655;border-radius:6px}.gis-grid-toggle input{accent-color:#285c64}.gis-grid-info{font-size:11px}.gis-coordinate-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:2}.gis-coordinate-labels span{position:absolute;padding:1px 3px;border-radius:3px;background:#ffffffe6;color:#203449;font:11px 'Segoe UI',sans-serif;white-space:nowrap}
.gis-print-dialog textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:88px;padding:10px;border:1px solid #88999f;border-radius:7px;background:#fff;color:#203449;font:14px/1.5 'Segoe UI',sans-serif}
.gis-momi{margin-top:20px;padding:20px;border:1px solid #80959d40;border-radius:12px}.gis-momi h2{font-size:18px;margin:0 0 12px}.gis-momi p{font-size:13px;line-height:1.65;margin:9px 0}.gis-momi a{color:inherit;text-decoration:underline;text-underline-offset:3px}.gis-momi-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:14px;font-size:13px}.gis-momi-actions button{padding:10px 16px;border:0;border-radius:7px;background:#285c64;color:white;font:600 13px 'Segoe UI',sans-serif;cursor:pointer}.gis-momi-actions [hidden],.gis-momi-frame[hidden]{display:none}.gis-momi-note{opacity:.85}.gis-momi-frame{margin-top:16px;border:1px solid #80959d55;border-radius:8px;overflow:hidden}.gis-momi-frame iframe{display:block;width:100%;height:650px;max-height:80vh;border:0;background:#f4f2ed}@media(max-width:600px){.gis-momi{padding:14px}.gis-momi-frame iframe{height:520px}}
.satellite-explorer{margin-bottom:24px;padding:22px}.satellite-explorer h2{font-size:22px;margin:8px 0 12px}.satellite-explorer>p{font-size:13px;line-height:1.65}.satellite-search-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.satellite-search-form label{display:grid;gap:6px;font-size:12px}.satellite-explorer input,.satellite-explorer select{width:100%;box-sizing:border-box;padding:9px;border:1px solid #829aa666;border-radius:7px;background:var(--panel,#f5f3ee);color:inherit;font:inherit}.satellite-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.satellite-explorer button{padding:9px 12px;background:#285c64;color:white;border:0;border-radius:7px;font:500 13px 'Segoe UI',sans-serif;cursor:pointer}.satellite-explorer button:disabled{opacity:.45;cursor:default}.satellite-actions label{font-size:12px}.satellite-actions input[type=file]{max-width:260px}.satellite-aoi-map{height:350px;border:1px solid #81959f55;border-radius:10px;overflow:hidden;margin:16px 0}.satellite-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.satellite-scene-card{padding:14px;border:1px solid #81959f55;border-radius:9px;overflow-wrap:anywhere}.satellite-scene-card h3{font-size:14px;margin:0}.satellite-scene-card p{font-size:12px;line-height:1.6}.satellite-scene-card button{margin:4px 8px 0 0}.satellite-comparison{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.satellite-comparison article{min-width:0;overflow-wrap:anywhere}.satellite-comparison h4{font-size:14px}.satellite-comparison img{width:100%;max-height:320px;object-fit:contain;background:#1e303a}.satellite-comparison p{font-size:12px;line-height:1.6}.satellite-explorer a{color:inherit;text-decoration:underline}.satellite-scene-detail{margin-top:20px}.satellite-scene-detail:empty{display:none}@media(max-width:700px){.satellite-search-form{grid-template-columns:repeat(2,minmax(0,1fr))}.satellite-results{grid-template-columns:1fr}.satellite-explorer{padding:14px}.satellite-aoi-map{height:300px}}
.satellite-processor{margin-top:20px;padding:18px;border:1px solid #81959f66;border-radius:10px}.satellite-processor[hidden],.satellite-processed-image[hidden]{display:none}.satellite-processor p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.satellite-processor .satellite-actions label{display:flex;align-items:center;gap:7px}.satellite-processor input[type=checkbox]{width:auto}.satellite-processor select{width:auto;min-width:160px}.satellite-processed-image{display:block;max-width:100%;width:512px;height:auto;margin:14px auto;image-rendering:auto;background:repeating-conic-gradient(#d8dedb 0% 25%,#eef0ed 0% 50%) 50%/18px 18px;cursor:crosshair}
.satellite-index-legend{width:min(100%,300px);margin:8px auto;padding:5px 10px;box-sizing:border-box;color:white;text-align:center;font-size:12px;text-shadow:0 1px 3px #000}.satellite-index-legend[hidden]{display:none}
.satellite-analysis-nav{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.satellite-analysis-nav button[aria-pressed=true]{background:var(--accent,#426b72);color:#fff}.satellite-workbench-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.satellite-workbench-fields[hidden]{display:none}.satellite-workbench-fields>p,.satellite-workbench-fields>pre,.satellite-workbench-fields>.satellite-actions{grid-column:1/-1}.satellite-workbench-fields label{display:flex;flex-direction:column;gap:6px;min-width:0}.satellite-workbench-fields input,.satellite-workbench-fields select,.satellite-workbench-fields textarea{max-width:100%;width:100%;box-sizing:border-box}.satellite-workbench-fields input[type=checkbox]{width:auto;align-self:flex-start}.satellite-ai-draft{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.7}.satellite-analysis-result{margin-top:18px}.satellite-analysis-result p{overflow-wrap:anywhere}@media(max-width:650px){.satellite-workbench-fields{grid-template-columns:1fr}.satellite-analysis-nav button{flex:1 1 45%;min-width:0}}
.satellite-workbench{padding:22px;margin-top:24px}.satellite-workbench h2{margin:0 0 16px;font-size:22px}.satellite-workbench p{font-size:13px;line-height:1.7}.satellite-workbench button{padding:9px 12px;border:1px solid #81959f66;border-radius:7px;background:var(--panel,#f5f3ee);color:inherit;font:500 13px 'Segoe UI',sans-serif;cursor:pointer;line-height:1.45}.satellite-workbench button:hover{border-color:#285c64}.satellite-workbench button:disabled{opacity:.45;cursor:default}.satellite-workbench input,.satellite-workbench select,.satellite-workbench textarea{padding:9px;border:1px solid #829aa666;border-radius:7px;background:var(--panel,#f5f3ee);color:inherit;font:inherit}.satellite-workbench textarea{min-height:100px}.satellite-workbench input[type=checkbox]{padding:0}.satellite-workbench [role=status]{padding:8px 0}.satellite-workbench .satellite-actions>button:first-child{background:#285c64;color:#fff}.satellite-workbench-fields{padding:16px 0;border-top:1px solid #81959f33}.satellite-workbench label{font-size:12px}.satellite-processor select{max-width:100%}.satellite-analysis-result[hidden]{display:none}
.satellite-profile{margin:18px 0;padding:12px;border:1px solid #81959f55;border-radius:8px}.satellite-profile svg{display:block;width:100%;max-width:700px;height:auto}.satellite-profile table{width:100%;font-size:12px;border-collapse:collapse}.satellite-profile td,.satellite-profile th{padding:6px;text-align:left;border-bottom:1px solid #81959f33}.satellite-workbench-fields>a{color:inherit;text-decoration:underline}.satellite-analysis-result>details{margin-top:14px}.satellite-analysis-result pre{max-height:360px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.satellite-processor .satellite-workbench-fields{margin-top:12px}.satellite-processor .satellite-workbench-fields label{display:grid;gap:6px}.satellite-processor .satellite-workbench-fields input[type=checkbox]{width:auto;justify-self:start}.satellite-workbench input[type=checkbox]{accent-color:#285c64}.satellite-analysis-result>select{max-width:100%;padding:8px;border:1px solid #81959f66;border-radius:6px;background:var(--panel,#f5f3ee);color:inherit}@media(max-width:650px){.satellite-profile{overflow-x:auto}.satellite-analysis-nav button{font-size:12px}.satellite-workbench{padding:14px}}
