:root{font-family:"Avenir Next","Segoe UI",sans-serif;font-size:15px;line-height:1.45;color:#24384b;background:#f1f4f7;--ink:#24384b;--muted:#647689;--line:#d6e0e7;--blue:#245b83;--teal:#087f76;--paper:#fff;--rail:212px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.button{min-height:42px;padding:9px 13px;border:1px solid #c4d1db;border-radius:7px;background:white;color:var(--ink);font-weight:600;cursor:pointer;line-height:1.25;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}button:hover:not(:disabled),.button:hover{background:#e9f0f5;border-color:#8da8bd}button:disabled,.button.disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #329ecd;outline-offset:3px}button.primary{background:var(--blue);border-color:var(--blue);color:white}button.primary:hover:not(:disabled){background:#194565}button.confirm{background:var(--teal);border-color:var(--teal);color:white}button.danger{color:#a13737}input,select,textarea{width:100%;min-height:44px;border:1px solid #bdccd7;border-radius:6px;background:white;padding:9px 10px;color:var(--ink)}input[type=checkbox]{width:18px;min-height:18px;height:18px;accent-color:var(--teal);flex:0 0 18px}label{display:grid;gap:6px;font-size:13px;font-weight:600}small,.hint,.section-note{font-size:12px;color:var(--muted);font-weight:400}.hint{line-height:1.6}.section-note{display:block;margin-bottom:5px}h1,h2,h3,p{margin:0}h1{font-size:27px;letter-spacing:-.6px;line-height:1.3}h2{font-size:19px}h3{font-size:15px}p{line-height:1.6}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}[hidden]{display:none!important}.icon-library,.sr-only{position:absolute;width:0;height:0;overflow:hidden}.notice{position:fixed;bottom:22px;left:calc(var(--rail) + 22px);z-index:300;background:#e2f0ed;color:#17655d;border:1px solid #a7cfc3;border-radius:8px;box-shadow:0 8px 30px #24384b20;padding:12px 14px;display:flex;gap:24px;align-items:center;max-width:min(650px,calc(100vw - 40px));font-size:14px}.notice.error{background:#fff0ee;color:#a13737;border-color:#e6b8b4}.notice button{min-height:28px;border:0;background:none;font-size:23px;padding:0 4px;color:inherit}
.entry-shell{min-height:100dvh;display:grid;grid-template-columns:minmax(300px,.85fr) minmax(380px,1.15fr)}.entry-brand{padding:64px 14%;background:#e8eff3;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:55px}.entry-brand img{width:108px;height:114px;object-fit:contain;mix-blend-mode:multiply}.entry-brand h1{font-size:clamp(40px,5vw,68px);font-weight:600;line-height:1.1;letter-spacing:-2px;color:var(--blue);margin-top:15px}.entry-brand p{color:var(--muted)}.entry-line{display:flex;gap:9px;align-items:center;font-size:12px;color:var(--muted)}.entry-line i,.connection i{display:inline-block;background:var(--teal);width:7px;height:7px;border-radius:50%}.entry-content{display:grid;align-content:center;padding:60px clamp(30px,8vw,130px);background:white}.entry-content section{max-width:420px;width:100%;margin:auto}.entry-content h2{font-size:30px;letter-spacing:-.5px;margin:8px 0 14px}.entry-content section>p{color:var(--muted);font-size:14px;margin-bottom:28px}.entry-content form{display:grid;gap:20px}.entry-content form>button{min-height:48px;margin-top:6px}.entry-content .hint{margin-top:24px;font-size:12px}.member-shell{max-width:860px;margin:auto;padding:36px 24px}.member-shell header{display:flex;justify-content:space-between;align-items:center;margin-bottom:48px}.member-shell header img{width:48px;border-radius:10px}.member-shell h1{margin:24px 0 12px}.member-shell h2{margin:32px 0 16px}.member-camera{padding:20px;background:white;border:1px solid var(--line);border-radius:9px;margin:10px 0}.member-shell>.hint{margin-top:22px}
.atlas-shell{min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--rail);display:flex;flex-direction:column;background:white;border-right:1px solid var(--line);padding:24px 14px;z-index:30}.brand{display:flex;align-items:center;flex-direction:column;text-decoration:none;color:var(--muted);gap:8px;margin:0 0 34px}.brand img{width:87px;height:92px;object-fit:contain}.brand span{font-size:11px}.sidebar nav{display:grid;gap:7px}.sidebar nav button{justify-content:flex-start;border-color:transparent;background:none;padding:12px;min-height:46px;font-size:13px;font-weight:500}.sidebar nav button svg{color:#74889a}.sidebar nav button.active{color:var(--blue);background:#e8f0f5;font-weight:700}.sidebar nav button.active svg{color:var(--blue)}.sidebar nav b{margin-left:auto;background:white;font-size:11px;border-radius:4px;padding:2px 5px}.sidebar-bottom{margin-top:auto;padding:28px 9px 0}.connection{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);padding-bottom:16px;border-bottom:1px solid var(--line)}.sidebar-user{display:flex;align-items:center;gap:10px;padding:18px 0 10px;min-width:0}.sidebar-user>span{width:32px;height:32px;border-radius:50%;background:#e0eeeb;color:var(--teal);display:grid;place-items:center;font-weight:600;flex:none}.sidebar-user>div{min-width:0}.sidebar-user b,.sidebar-user small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}.sidebar-user small{font-size:10px;margin-top:3px}.sidebar-bottom>button{background:none;border:0;justify-content:flex-start;width:100%;font-weight:400;font-size:12px;color:var(--muted);padding-left:0}.sidebar-bottom>button svg{width:17px}.atlas-main{margin-left:var(--rail);min-width:0}.workspace-header{padding:28px 30px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:#f8fafb}.header-actions{display:flex;align-items:center;gap:18px}.saved-indicator{font-size:12px;color:var(--teal)}.saved-indicator.dirty{color:#9a761e}.workspace-page{padding:24px 30px 28px;max-width:1920px;margin:auto}.list-toolbar{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-bottom:20px}.search-field{position:relative;min-width:230px;width:min(420px,100%)}.search-field svg{position:absolute;top:13px;left:12px;width:17px;height:17px;color:var(--muted)}.search-field input{padding-left:38px;font-weight:400;font-size:13px}.segmented{display:flex;gap:3px;padding:4px;background:#e5ebf0;border-radius:8px}.segmented button{background:none;border-color:transparent;min-height:34px;font-size:12px;padding:7px 12px;white-space:nowrap}.segmented button.active{background:white;color:var(--blue);box-shadow:0 1px 4px #24384b12}.result-count{font-size:12px;color:var(--muted);margin-bottom:14px}.camera-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.camera-card{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden;min-width:0}.camera-media{width:100%;padding:0;border:0;border-radius:0;display:block;aspect-ratio:16/9;background:#e4ebf0;position:relative;overflow:hidden}.camera-media img{display:block;width:100%;height:100%;object-fit:cover}.camera-media .badge{position:absolute;left:12px;bottom:12px;background:#fffef5ed}.camera-placeholder{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#8296a7;background:repeating-linear-gradient(0deg,transparent 0 31px,#b6c7d326 31px 32px),repeating-linear-gradient(90deg,transparent 0 31px,#b6c7d326 31px 32px),#e9eff3}.camera-placeholder svg{width:38px;height:38px;stroke-width:1.2}.camera-placeholder span{font-size:11px;font-weight:500}.camera-content{padding:16px}.camera-content h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.camera-content>p{font-size:12px;color:var(--muted);margin-top:5px;min-height:19px}.camera-meta{display:flex;gap:12px;align-items:center;margin:14px 0;color:var(--muted);font-size:11px}.camera-actions{display:flex;gap:8px;border-top:1px solid #edf1f4;padding-top:12px}.camera-actions button{min-height:34px;font-size:12px;padding:6px 9px}.camera-actions button:first-child{flex:1}.camera-actions .icon-button{min-width:34px;padding:6px}.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px;font-weight:600;border-radius:4px;padding:4px 7px;color:#647689;background:#edf1f4}.badge.green{background:#e0efea;color:#137060}.badge.amber{background:#fff0d2;color:#8d6b15}.badge.red{background:#fae6e4;color:#a13737}.empty-state{text-align:center;padding:80px 30px;color:var(--muted)}.empty-state h2{margin-bottom:10px;color:var(--ink)}
.editor-source{display:flex;align-items:center;gap:14px;margin-bottom:20px}.editor-source>button:first-child{justify-content:flex-start;min-width:240px;max-width:440px}.editor-source>button:first-child span:nth-child(2){flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-source>small{flex:1}.icon-button{padding:8px;min-width:40px}.work-grid{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:18px;align-items:start}.viewer-section{min-width:0}.canvas-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;background:white;border:1px solid var(--line);border-radius:9px 9px 0 0}.tool-group{display:flex;gap:6px}.canvas-toolbar button,.canvas-toolbar .button{min-height:36px;padding:8px 10px;font-size:12px;white-space:nowrap}.canvas-toolbar svg{width:17px;height:17px}.canvas-toolbar button.active{background:#e1f0ed;color:var(--teal);border-color:#7bb8ae}.button input[type=file]{position:absolute;width:1px;height:1px;min-height:0;opacity:0}.button:focus-within{outline:3px solid #329ecd}.canvas-stage{min-height:420px;background:#263e51;border:1px solid #263e51;overflow:auto;display:grid;align-content:center;max-height:calc(100vh - 290px);scrollbar-color:#7892a4 #263e51}.no-frame{padding:65px 28px;min-height:420px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#d7e2e9;text-align:center;gap:18px}.no-frame>svg{width:54px;height:54px;stroke-width:1}.no-frame h2{font-weight:500}.no-frame p{max-width:350px;font-size:13px;color:#a4b8c6}.no-frame>button{margin-top:5px}.canvas-stage>#frame-viewer{width:100%;line-height:0}.canvas-stage svg#layout-canvas{display:block;width:100%;height:auto;touch-action:none;outline-offset:-4px;user-select:none}.canvas-stage.drawing svg#layout-canvas{cursor:crosshair}.spot-polygon{fill:#37e0df22;stroke:#37e0df;stroke-width:2;vector-effect:non-scaling-stroke;cursor:pointer}.spot-polygon.proposed{fill:#ffcc4818;stroke:#ffcc48;stroke-dasharray:6 4}.spot-polygon.selected{stroke:#be83ff;fill:#aa5fff33;stroke-width:3;stroke-dasharray:none}.spot-number{fill:white;stroke:#142c40;stroke-width:3;paint-order:stroke;stroke-linejoin:round;font-family:"Avenir Next",sans-serif;font-weight:600;pointer-events:none}.spot-vertex{fill:white;stroke:#8544cc;stroke-width:2;vector-effect:non-scaling-stroke;cursor:grab}.draft-line{stroke:#ffcc48;stroke-width:2;fill:#ffcc4820;vector-effect:non-scaling-stroke;stroke-dasharray:5 3;pointer-events:none}.viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 1px;font-size:11px;color:var(--muted)}.viewer-footer>span:last-child{display:flex;align-items:center;gap:6px;white-space:nowrap}.legend-dot{width:6px;height:6px;display:inline-block;border-radius:50%;margin-left:10px}.legend-dot.confirmed{background:var(--teal)}.legend-dot.proposed{background:#c29832}.inspector{background:white;border:1px solid var(--line);border-radius:9px;padding:18px;min-width:0}.inspector-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.count{font-size:12px;background:#edf2f5;color:var(--muted);border-radius:4px;padding:3px 7px}.spot-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:14px 0;max-height:170px;overflow:auto}.spot-list button{font-size:11px;padding:8px 3px;min-height:34px;font-weight:500}.spot-list button.confirmed{border-color:#72b5aa;color:var(--teal)}.spot-list button.active{background:#efe4ff;border-color:#bb88f3;color:#6a3c90}.property-title{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:20px 0 16px}.property-title>span{font-size:10px;color:var(--muted)}#spot-properties label{margin-bottom:12px}.wide{width:100%;margin-top:9px;font-size:12px}.inspector-bottom{border-top:1px solid var(--line);margin-top:22px;padding-top:10px}.inspector-bottom p{margin-top:12px;font-size:11px}
.table-wrap{border:1px solid var(--line);border-radius:9px;overflow:auto;background:white}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;white-space:nowrap}th{font-weight:500;color:var(--muted);font-size:11px;background:#f8fafb;padding:14px 18px;border-bottom:1px solid var(--line)}td{padding:16px 18px;border-bottom:1px solid #edf1f4}tr:last-child td{border-bottom:0}.user-cell{display:flex;align-items:center;gap:12px}.user-avatar{width:34px;height:34px;border-radius:50%;background:#e8f0f5;color:var(--blue);display:grid;place-items:center;font-weight:600}.user-cell b,.user-cell small{display:block}.user-cell small{font-size:11px;margin-top:3px}.row-actions{display:flex;align-items:center;gap:6px}.row-actions button{min-height:34px;padding:6px 10px;font-size:11px}.role-label{font-size:12px;color:var(--muted)}
dialog{border:1px solid var(--line);border-radius:12px;padding:0;width:min(620px,calc(100vw - 30px));max-height:calc(100dvh - 40px);color:var(--ink);background:white;box-shadow:0 20px 90px #12263840;overflow:auto}dialog::backdrop{background:#142e4566;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--line);gap:16px}.dialog-header .close-dialog{border:0;min-height:34px;font-size:25px;padding:2px 8px;font-weight:400;color:var(--muted)}.dialog-body{display:grid;gap:20px;padding:24px}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;padding:18px 24px;border-top:1px solid var(--line);background:#f8fafb}.dialog-body .hint{margin-top:-8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.file-field{border:1px dashed #b6c7d3;border-radius:7px;padding:16px;background:#f8fafb}.file-field input{font-size:12px;background:white}.checkbox{display:flex;align-items:center;gap:9px}.checks{display:grid;gap:6px;max-height:320px;overflow:auto}.checks label{display:flex;align-items:center;gap:10px;font-weight:400;background:#f4f7f9;padding:11px;border-radius:5px;font-size:13px}.checks label span{min-width:0}.checks label small{display:block;font-size:10px;margin-top:3px}.dialog-error{background:#fff0ee;color:#a13737;padding:12px;border-radius:6px;font-size:13px}details{font-size:12px;color:var(--muted)}summary{cursor:pointer;font-weight:600;padding:4px 0}details>label{margin-top:12px}textarea{resize:vertical;font-size:12px;overflow-wrap:anywhere}
#frame-viewer.zoomed{min-width:180%}
@media(min-width:1700px){.camera-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.work-grid{grid-template-columns:minmax(0,1fr) 310px}}
@media(max-width:1200px){:root{--rail:176px}.sidebar{padding:20px 10px}.sidebar nav button{font-size:12px;padding:11px 9px}.workspace-page{padding:20px}.workspace-header{padding:24px 20px 20px}.work-grid{grid-template-columns:minmax(0,1fr) 250px;gap:12px}.canvas-toolbar{flex-wrap:wrap}.camera-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.list-toolbar{flex-wrap:wrap}.sidebar-user>span{display:none}}
@media(max-width:850px){:root{--rail:84px}.sidebar{padding:12px 5px}.brand{margin-bottom:26px}.brand img{width:58px;height:62px}.brand span{display:none}.sidebar nav button{flex-direction:column;justify-content:center;gap:6px;padding:10px 3px;font-size:9px;min-height:60px}.sidebar nav button svg{width:22px;height:22px}.sidebar nav b{display:none}.sidebar-bottom{padding:18px 4px 0}.sidebar-user{justify-content:center}.sidebar-user>span{display:grid}.sidebar-user>div,.connection{display:none}.sidebar-bottom>button{flex-direction:column;gap:5px;font-size:10px;padding:8px 0}.workspace-header h1{font-size:23px}.work-grid{grid-template-columns:1fr}.inspector{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}.inspector-heading,.inspector>.hint,.spot-list{grid-column:1}.inspector-bottom{grid-column:2;grid-row:1/5;margin:0;padding:0;border:0}#spot-properties{grid-column:1/-1}.canvas-stage{max-height:none;min-height:300px}.no-frame{min-height:300px}.editor-source>small{display:none}.viewer-footer{flex-wrap:wrap}.entry-brand{padding:45px 10%}.entry-content{padding:45px 30px}.entry-brand h1{font-size:44px}.saved-indicator{display:none}.header-actions button{font-size:12px}}
@media(max-width:600px){.entry-shell{grid-template-columns:1fr}.entry-brand{padding:20px 25px;flex-direction:row;align-items:center;justify-content:center;border-right:0;border-bottom:1px solid var(--line)}.entry-brand img{width:68px;height:72px}.entry-brand>div,.entry-line{display:none}.entry-content{padding:34px 25px;align-content:start}.entry-content h2{font-size:26px}.notice{left:16px;bottom:16px;width:calc(100vw - 32px)}.workspace-header{padding:19px 14px 16px;align-items:flex-start;gap:12px}.workspace-header h1{font-size:21px}.workspace-header .section-note{font-size:10px}.header-actions button{font-size:0;min-width:40px;padding:9px}.header-actions button svg{width:20px;height:20px}.workspace-page{padding:16px 12px}.camera-grid{grid-template-columns:1fr;gap:14px}.segmented{width:100%;overflow:auto}.segmented button{font-size:10px;padding:6px 9px}.search-field{min-width:0;width:100%}.editor-source{gap:8px;margin-bottom:14px}.editor-source>button:first-child{min-width:0;flex:1;max-width:none;font-size:12px}.canvas-toolbar{padding:8px;gap:8px}.canvas-toolbar button,.canvas-toolbar .button{font-size:10px;padding:7px;min-height:34px;gap:5px}.canvas-toolbar svg{width:15px;height:15px}.tool-group{flex-wrap:wrap;gap:4px}.canvas-stage,.no-frame{min-height:240px}.no-frame{padding:32px 16px;gap:14px}.no-frame h2{font-size:16px}.no-frame p{font-size:11px}.no-frame>svg{width:34px;height:34px}.no-frame button{font-size:11px}.inspector{display:block;padding:14px}.inspector-bottom{border-top:1px solid var(--line);margin-top:16px;padding-top:10px}.viewer-footer{font-size:10px}.viewer-footer>span:last-child{white-space:normal;flex-wrap:wrap}.form-grid{grid-template-columns:1fr}.dialog-header,.dialog-body{padding:20px}.dialog-header h2{font-size:19px}.dialog-footer{padding:16px 20px}.dialog-footer button{font-size:12px}.table-wrap{max-width:100%}.list-toolbar>button{width:100%}table{font-size:12px}th,td{padding:12px}.member-shell{padding:24px 20px}.member-shell h1{font-size:25px}}

.vertex-hit{fill:transparent;stroke:none;cursor:grab;pointer-events:all}.entry-plan{width:100%;max-width:360px}.entry-plan svg{width:100%;height:auto;color:#7091a6;stroke-width:1.1}
