/* PhytoTwin studio — focused spatial workspace */
.content:has(.twin-studio){max-width:none;padding:24px}.ts-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.ts-heading .eyebrow{color:#577261;font-size:10px;letter-spacing:.13em}.ts-heading h1{font-size:27px;letter-spacing:-.5px;font-weight:600;margin:9px 0 0;line-height:1.5}.ts-heading>select{width:260px;background:#fff;font-size:13px}.ts-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;background:#fff;border:1px solid #cbd9cf;border-radius:20px;overflow:hidden;box-shadow:0 14px 40px #183c260b}.ts-stage{min-width:0;background:#12241c;display:flex;flex-direction:column}.ts-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#142b20;border-bottom:1px solid #ffffff16}.ts-toolbar .geo-modes{background:#081a12;border:1px solid #3c5543;gap:4px;padding:4px}.ts-toolbar .geo-modes button{color:#cad8c9;font-size:12px;min-width:90px;padding:9px 14px}.ts-toolbar .geo-modes button[aria-pressed=true]{background:#d7efb4;color:#1b3520;box-shadow:0 2px 6px #0002}.ts-style{display:flex;gap:10px;align-items:center}.ts-style>label{font-size:9px;color:#b8c9b4;display:flex;align-items:center;gap:8px}.ts-style select{background:#203d2b;color:#ecf4e5;border:1px solid #536b4b;padding:8px;font-size:11px;max-width:180px;min-height:34px}.ts-style>button{min-height:36px;padding:8px;background:#203d2b;border-color:#536b4b;color:#dfedcf}.ts-style>button svg{width:18px;height:18px}.ts-canvas-wrap{position:relative;flex:1;isolation:isolate}.ts-stage .geo-scene{height:clamp(470px,65vh,760px);border-radius:0;background:radial-gradient(ellipse at 55% 40%,#284333,#101f17);min-width:0}.ts-canvas-caption{position:absolute;top:18px;left:18px;z-index:3;display:flex;align-items:center;gap:8px;background:#10261edb;backdrop-filter:blur(12px);border:1px solid #78956c55;border-radius:10px;padding:10px 13px;font-size:12px;color:#eff6e6;max-width:calc(100% - 36px);pointer-events:none;flex-wrap:wrap}.ts-canvas-caption small{font-size:8px;color:#c2d6b2;letter-spacing:.08em}.ts-dot{width:6px;height:6px;border-radius:50%;background:#c9f19b;box-shadow:0 0 12px #c9f19b55}.ts-camera{position:absolute;left:50%;bottom:42px;transform:translateX(-50%);z-index:3;display:flex;gap:4px;padding:5px;background:#10261ee8;backdrop-filter:blur(14px);border:1px solid #68825d88;border-radius:13px;box-shadow:0 8px 20px #0002;max-width:calc(100% - 30px)}.ts-camera button{background:transparent;border:0;color:#eef8df;font-size:10px;padding:9px 11px;min-height:35px;white-space:nowrap}.ts-camera button:hover:not(:disabled){background:#38503b}.ts-camera button:disabled{color:#91a18d;opacity:.5}.ts-camera svg{width:17px}.ts-interaction{position:absolute;bottom:12px;left:10px;right:10px;text-align:center;font-size:9px;color:#e5efdb;pointer-events:none;text-shadow:0 1px 4px #000;background:#102219a6;border-radius:20px;padding:4px 8px;width:fit-content;max-width:calc(100% - 20px);margin:auto;line-height:1.6}.ts-layers{display:flex;align-items:center;gap:16px;padding:13px 18px;border-top:1px solid #ffffff1a;flex-wrap:wrap;color:#d9e8d0;font-size:11px}.ts-layers>span{color:#a6bea1;font-size:10px}.ts-layers label{display:flex;align-items:center;gap:7px;color:#e1edd8;font-size:11px}.ts-layers input{accent-color:#c4ed99;min-height:0;width:15px;height:15px;margin:0}.ts-status{padding:13px 18px;color:#ccddc2;font-size:11px;line-height:1.8;border-top:1px solid #ffffff14}.ts-status:empty{display:none}.ts-status p{margin:6px 0}.ts-status strong{font-weight:550;color:#edf7e2}.ts-status .actions{margin-top:8px}.ts-status button{font-size:10px;background:#26442f;color:#edf7e2;border-color:#56734b;min-height:32px;padding:7px 10px}.ts-status .help-text{color:#c6d8ba}.ts-inspector{background:#f5f8f2;min-width:0;border-left:1px solid #d0ddcc}.ts-inspector>section,.ts-method{padding:21px;border-bottom:1px solid #dce5d7}.ts-inspector .eyebrow{font-size:9px;letter-spacing:.08em;color:#55704d}.ts-profile h2{font-size:21px;margin:13px 0 6px;overflow-wrap:anywhere;font-weight:600}.ts-profile>p{font-size:12px;color:#52664a;line-height:1.8;margin:0}.ts-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.ts-facts strong{font-size:23px;font-weight:550;display:block;overflow-wrap:anywhere;line-height:1.3}.ts-facts span{font-size:10px;color:#536b4a;display:block;margin-top:6px}.ts-profile>a{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px}.ts-profile>a svg{width:16px}.ts-selection{background:#eaf2e1;transition:background .25s}.ts-selection h3{font-size:16px;font-weight:600;margin:13px 0 9px;line-height:1.6;overflow-wrap:anywhere}.ts-selection p{font-size:11px;line-height:1.9;color:#455f3f;margin:7px 0}.ts-selection>small{font-size:10px;color:#576b4d;line-height:1.8;display:block;margin-top:12px}.ts-selection dl{font-size:11px;margin:12px 0}.ts-selection dl>div{display:flex;justify-content:space-between;gap:14px;margin-bottom:10px}.ts-selection dt{color:#526b47}.ts-selection dd{margin:0;text-align:right;max-width:65%;overflow-wrap:anywhere}.ts-selection button{font-size:11px;min-height:34px;background:#23472d;color:#f0f8e6;border:0}.ts-selection>a{display:flex;gap:8px;font-size:11px}.ts-selection>a svg{width:16px}.ts-no-data{padding:10px;background:#f8faf3;border:1px dashed #bacdaf;border-radius:8px}.ts-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.ts-section-head h3{font-size:16px;margin:0}.ts-section-head>span{font-size:10px;color:#566e4d}.ts-readings>p{font-size:11px;line-height:1.8;color:#4e6747}.ts-readings #geo-reading-list{max-height:300px;overflow-y:auto;scrollbar-width:thin}.ts-reading{display:block;width:100%;text-align:left;padding:10px 11px;margin:7px 0;background:white;border-color:#d1ddc9}.ts-reading strong{display:block;font-size:11px;font-weight:550;overflow-wrap:anywhere}.ts-reading span{display:block;font-size:9px;color:#59704f;margin-top:5px}.ts-reading:hover{border-color:#739365;background:#edf4e6}.ts-readings #geo-reading-list>p{font-size:10px;color:#566d4e}.ts-method{font-size:11px;color:#425e3c;line-height:1.9}.ts-method summary{cursor:pointer;font-weight:550}.ts-method p{margin:10px 0 0}.ts-stage .empty{color:#e4efdb;padding-top:90px}.ts-stage .empty h3{color:#e4efdb}.ts-stage .empty p{color:#bed2b1}.ts-stage .empty-icon{background:#274332;color:#b9d49f}.ts-stage .geo-unavailable{background:radial-gradient(ellipse,#244831,#10261b);color:#edf5e3;padding:70px 28px 110px}.ts-stage .geo-unavailable h3{color:#edf5e3}.ts-stage .geo-unavailable p{color:#c4d8b8}.ts-stage .geo-unavailable button{background:#d4edb4;color:#193320}.ts-expanded{position:fixed;inset:0;z-index:30;background:#eef3e9;padding:18px;overflow:auto}.ts-expanded .ts-heading{margin-bottom:12px}.ts-expanded .geo-scene{height:calc(100dvh - 245px);min-height:380px}.ts-stage button:focus-visible,.ts-stage select:focus-visible{outline-color:#e2ffb8}
@media(max-width:1200px){.ts-workspace{grid-template-columns:minmax(0,1fr) 265px}.ts-inspector>section,.ts-method{padding:17px}.ts-toolbar{padding:11px;gap:8px;flex-wrap:wrap}.ts-toolbar .geo-modes button{min-width:76px}.ts-style>label{font-size:9px}.ts-facts{gap:9px}.ts-facts strong{font-size:21px}.ts-camera button{padding:8px}.ts-heading h1{font-size:24px}}
@media(max-width:1050px){.ts-workspace{grid-template-columns:1fr}.ts-inspector{display:grid;grid-template-columns:1fr 1fr;border-left:0;border-top:1px solid #d0ddcc}.ts-inspector>section{border-right:1px solid #dce5d7}.ts-method{grid-column:1/-1}.ts-stage .geo-scene{height:540px}.ts-readings{grid-column:1/-1}.ts-readings #geo-reading-list{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}.ts-expanded .geo-scene{height:65vh}}
@media(max-width:600px){.content:has(.twin-studio){padding:20px 12px}.ts-heading{align-items:stretch;flex-direction:column;gap:15px}.ts-heading h1{font-size:24px}.ts-heading>select{width:100%}.ts-workspace{border-radius:14px}.ts-toolbar{align-items:center;gap:10px}.ts-style{margin-left:auto}.ts-style>label{display:block;font-size:8px}.ts-style select{max-width:145px;display:block;margin-top:4px;font-size:10px}.ts-toolbar .geo-modes button{padding:8px 11px;font-size:11px;min-width:67px}.ts-camera{gap:1px;padding:4px;bottom:54px}.ts-camera button{font-size:9px;padding:8px 7px}.ts-stage .geo-scene{height:470px}.ts-canvas-caption{left:12px;top:12px;max-width:calc(100% - 24px);font-size:11px}.ts-canvas-caption small{font-size:7px}.ts-interaction{font-size:9px;bottom:12px;max-width:90%}.ts-inspector{grid-template-columns:1fr}.ts-inspector>section{border-right:0}.ts-readings #geo-reading-list{grid-template-columns:1fr}.ts-layers{gap:12px;padding:12px;font-size:10px}.ts-layers label{font-size:10px}.ts-status{padding:12px;font-size:10px}.ts-facts{margin:16px 0}.ts-expanded{padding:12px}.ts-expanded .ts-heading h1{font-size:20px}.ts-expanded .geo-scene{height:65vh;min-height:380px}}
@media(prefers-reduced-motion:reduce){.twin-studio *{animation:none!important;transition:none!important}}
