/* Centralis-Palette; fachliche Farben von Zeichnungsebenen bleiben in der Fachlogik. */
:root, :root[data-theme="light"] {
  --paper:#F4F5F7; --panel:#fff; --ink:#1F2927; --steel:#596964;
  --rule:#D5DED7; --rule2:#E9EEE8; --signal:#A8C83A; --signal-ink:#243414;
  --blue:#2F6F50; --blue-bg:#EEF6F0; --ok:#23633F; --ok-bg:#E2F3E8;
  --bad:#A94F46; --bad-bg:#FBE8E5; --warn:#765617; --warn-bg:#FFF4D8;
  --open:#75807C; --open-bg:#F0F3F0;
  --font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  --cond:var(--font); --jm-green:#2F6F50; --jm-dark:#173B2C; --jm-sage:#7EA38A;
  --jm-soft:#D8E8DE; --jm-sidebar:232px;
  padding:0;
}
body{font-size:14px;line-height:1.5;background:var(--paper)}
button,input,select,textarea{font-family:var(--font)}
button{transition:background .12s,border-color .12s,box-shadow .12s}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7EA38A;outline-offset:3px}
button:disabled{cursor:not-allowed;opacity:.45}
.jm-skip{position:fixed;left:12px;top:-100px;z-index:9999;background:var(--jm-dark);color:#fff;padding:12px 20px;border-radius:8px}
.jm-skip:focus{top:12px}
.jm-sidebar{position:fixed;inset:0 auto 0 0;width:var(--jm-sidebar);background:#fff;border-right:1px solid var(--rule);padding:28px 16px 18px;display:flex;flex-direction:column;z-index:35}
.jm-brand{border:0;background:none;display:flex;align-items:center;gap:10px;text-align:left;padding:0 8px 35px;cursor:pointer;color:var(--ink)}
.jm-brand b{display:block;font-size:25px;letter-spacing:-1.1px;line-height:1.15;font-weight:750}
.jm-brand small{font-size:8px;letter-spacing:2.1px;color:var(--steel);font-weight:650;display:block;margin-top:6px}
.jm-navlabel{font-size:10px;letter-spacing:1.5px;font-weight:700;color:var(--open);padding:0 12px;margin:3px 0 10px}
.jm-project-label{margin-top:29px}
.jm-navitem{display:flex;align-items:center;gap:11px;width:100%;min-height:46px;padding:10px 12px;border:0;border-radius:8px;background:none;color:var(--steel);font-size:13px;font-weight:550;text-align:left;cursor:pointer;margin-bottom:4px}
.jm-navitem svg{width:19px;height:19px;flex:none;stroke-width:1.7}
.jm-navitem:hover{background:#F4F7F3;color:var(--jm-green)}
.jm-navitem[aria-current="page"]{background:#D8E8DE;color:#214F3B;font-weight:650}
.jm-sidebar-bottom{margin-top:auto;padding:28px 8px 0}
.jm-local{display:flex;gap:9px;align-items:flex-start;font-size:11px;font-weight:600;color:var(--steel)}
.jm-local i{width:7px;height:7px;border-radius:50%;background:var(--jm-sage);margin-top:5px;flex:none}
.jm-local small{display:block;font-size:10px;font-weight:400;margin-top:3px;color:var(--open)}
.jm-company{margin-top:24px;padding-top:18px;border-top:1px solid var(--rule2);font-size:9px;letter-spacing:1.2px;font-weight:650;color:var(--steel)}
.jm-company span{display:block;font-weight:400;letter-spacing:0;font-size:10px;margin-top:6px;color:var(--open)}
.jm-workspace{margin-left:var(--jm-sidebar);min-width:0;min-height:100vh}
.top{min-height:82px;padding:18px 32px;gap:18px;background:rgba(255,255,255,.97);border-bottom:1px solid var(--rule);top:0;flex-wrap:nowrap;box-shadow:0 3px 14px #1f4d3905}
.top .brand small{font-size:11px;font-weight:450;margin-bottom:3px}
.top .brand b{font-size:17px;letter-spacing:-.3px;font-weight:650}
.jm-prototype{font-size:9px;letter-spacing:1px;font-weight:700;color:#68766D;border:1px solid var(--rule);background:#F7F9F5;padding:5px 8px;border-radius:5px}
.sync{font-size:11px;max-width:240px;white-space:normal;line-height:1.35}
.sync i{width:7px;height:7px;flex:none}
.sync.local i{background:var(--jm-sage)}
.sync.error{color:var(--bad)}.sync.error i{background:var(--bad)}
.jm-project-tabs{display:none}
main{padding:32px;max-width:1580px;min-width:0;min-height:calc(100vh - 140px)}
.jm-footer{padding:16px 32px 22px;display:flex;justify-content:space-between;gap:16px;color:var(--open);font-size:10px}
.jm-menu,.jm-close{display:none}
.jm-shade{position:fixed;inset:0;background:#173b2c66;z-index:34;backdrop-filter:blur(2px)}
.jm-shade[hidden]{display:none}
.jm-storage-alert{padding:12px 32px;background:var(--bad-bg);color:var(--bad);font-weight:600;border-bottom:1px solid #e2b9b3}
.jm-storage-alert[hidden]{display:none}
.jm-pagehead{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:28px}
.jm-eyebrow{font-size:10px;font-weight:650;letter-spacing:1.7px;color:var(--jm-green);text-transform:uppercase;margin:0 0 8px}
.jm-pagehead h1{font-size:30px;letter-spacing:-1.1px;line-height:1.2;font-weight:650;margin:0 0 9px}
.jm-pagehead p{color:var(--steel);font-size:13px;margin:0;max-width:620px}
.jm-head-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end;flex:none}
.jm-head-actions .btn{white-space:nowrap}
.btn{border-radius:8px;border-color:var(--rule);background:#fff;box-shadow:0 1px 2px #173b2c05;min-height:42px;font-size:13px;font-weight:600;padding:10px 15px}
.btn:hover{background:#F4F7F3;border-color:#B9C8BE}
.btn.primary{background:var(--jm-green);border-color:var(--jm-green);color:#fff}
.btn.primary:hover{background:#214F3B;border-color:#214F3B}
.btn.signal{background:var(--jm-soft);border-color:#B9C8BE;color:#214F3B}
.btn.danger{color:var(--bad)}
.jm-btn-icon{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.jm-btn-icon svg{width:16px;height:16px}
.jm-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:#fff;border:1px solid var(--rule);border-radius:10px;margin-bottom:29px;padding:20px 0}
.jm-metric{padding:0 24px;display:flex;align-items:center;gap:15px;border-right:1px solid var(--rule2)}
.jm-metric:last-child{border:0}
.jm-metric-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#EEF6F0;color:var(--jm-green);flex:none}
.jm-metric-icon svg{width:21px;height:21px}
.jm-metric strong{display:block;font-size:25px;font-weight:650;line-height:1.2;letter-spacing:-.7px}
.jm-metric small{display:block;color:var(--steel);font-size:11px;margin-top:3px}
.jm-sectionhead{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.jm-sectionhead h2{font-size:16px;font-weight:650;letter-spacing:-.3px;margin:0}
.jm-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--rule);border-radius:8px;padding:0 12px;min-height:42px;max-width:300px}
.jm-search svg{width:16px;height:16px;color:var(--open);flex:none}
.jm-search input{border:0;outline:none;background:none;width:100%;font-size:12px;min-width:0;box-shadow:none}
.jm-project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:20px;align-items:stretch}
.jm-project-card{border:1px solid var(--rule);border-radius:11px;background:#fff;overflow:hidden;box-shadow:0 3px 14px #1f4d3905;display:flex;flex-direction:column;min-width:0}
.jm-project-visual{height:165px;background:#EAF1EB;position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:center}
.jm-project-visual svg{height:150px;width:85%;max-width:440px;display:block}
.jm-label{position:absolute;top:15px;left:18px;font-size:9px;font-weight:600;color:var(--jm-dark);background:#ffffffcc;border:1px solid #fff;padding:4px 8px;border-radius:5px}
.jm-demo-label{left:auto;right:18px;color:var(--steel);background:#ffffffa6}
.jm-project-info{padding:23px 24px 20px;flex:1;display:flex;flex-direction:column}
.jm-project-nr{font-size:10px;font-weight:650;letter-spacing:1px;color:var(--jm-green);margin-bottom:7px}
.jm-project-info h3{font-size:20px;line-height:1.3;letter-spacing:-.5px;font-weight:650;margin:0 0 7px}
.jm-project-info p{font-size:12px;color:var(--steel);margin:0 0 19px}
.jm-project-meta{display:flex;flex-wrap:wrap;gap:15px;font-size:11px;color:var(--steel);margin-bottom:19px}
.jm-project-meta span{display:flex;align-items:center;gap:6px}
.jm-project-meta svg{width:14px;height:14px}
.jm-progress-label{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin:0 0 8px;color:var(--steel)}
.jm-progress-label strong{color:var(--ink);font-weight:600}
.jm-progress{height:5px;background:#E9EEE8;border-radius:3px;overflow:hidden}
.jm-progress span{height:100%;background:var(--jm-sage);display:block}
.jm-project-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid var(--rule2);padding:16px 24px}
.jm-project-actions small{font-size:10px;color:var(--open)}
.jm-project-actions .btn{min-height:38px;padding:8px 14px}
.jm-new-card{border:1px dashed #B9C8BE;border-radius:11px;background:#ffffff50;padding:30px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;min-height:350px;cursor:pointer;color:var(--steel)}
.jm-new-card:hover{background:#fff;border-color:var(--jm-green)}
.jm-new-card .jm-plus{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:var(--jm-soft);color:var(--jm-green);font-size:26px;margin-bottom:17px}
.jm-new-card b{font-size:15px;font-weight:600;color:var(--ink);margin-bottom:7px}
.jm-new-card small{font-size:12px;max-width:235px;line-height:1.6}
.jm-notice{display:flex;gap:14px;background:#EEF3ED;border:1px solid #D5DED7;border-radius:10px;padding:18px 21px;margin-top:26px;align-items:flex-start}
.jm-notice>svg{width:20px;height:20px;flex:none;color:var(--jm-green);margin-top:2px}
.jm-notice b{display:block;font-size:12px;font-weight:650;margin-bottom:4px}
.jm-notice p{font-size:12px;color:var(--steel);margin:0;line-height:1.65}
.jm-notice .btn{margin-left:auto;flex:none}
.jm-house-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:22px}
.jm-house-card{background:#fff;border:1px solid var(--rule);border-radius:10px;padding:23px;min-width:0}
.jm-house-head{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.jm-house-head>span{color:var(--jm-green);width:40px;height:40px;background:#EEF6F0;border-radius:8px;display:grid;place-items:center}
.jm-house-head svg{width:23px;height:23px}
.jm-house-head h2{font-size:16px;margin:0 0 3px;font-weight:650}
.jm-house-head small{font-size:11px;color:var(--steel)}
.jm-unit-row{display:grid;grid-template-columns:46px repeat(var(--jm-cols),minmax(0,1fr));gap:8px;margin:8px 0;align-items:center}
.jm-unit-row>small{font-size:11px;font-weight:600;color:var(--steel)}
.jm-unit{background:#F4F6F3;border:1px solid var(--rule);border-radius:7px;min-height:63px;padding:8px 10px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:3px}
.jm-unit b{font-size:12px;font-weight:650}.jm-unit small{font-size:9px;color:var(--steel)}
.jm-unit.started{background:#EEF6F0;border-color:#B9C8BE}
.jm-unit.nb{background:#FFF4D8;border-color:#E6D5AF}
.jm-unit:hover{border-color:var(--jm-green);box-shadow:0 0 0 1px var(--jm-green)}
.jm-house-card>.btn{margin-top:18px;width:100%}
.jm-house-card>.btn+.btn{margin-top:8px}
.jm-unit-absent{min-height:63px;border:1px dashed var(--rule);border-radius:7px;display:grid;place-items:center;color:var(--open);padding:8px 4px;background:#FAFBF9;text-align:center}
.jm-unit-absent small{font-size:10px}
.jm-floor-configuration{margin:20px 0 16px;padding-top:5px;min-width:0}
.jm-floor-configuration h4{margin-bottom:8px}
.jm-floor-scroll{max-width:100%;overflow-x:auto;border:1px solid var(--rule);border-radius:8px;margin-top:12px}
.jm-floor-table{border-collapse:collapse;width:100%;font-size:11px}
.jm-floor-table caption{text-align:left;padding:10px 12px;background:#F8FAF6;color:var(--steel);font-size:11px}
.jm-floor-table th,.jm-floor-table td{padding:7px 4px;border-bottom:1px solid var(--rule2);text-align:center;white-space:nowrap}
.jm-floor-table thead th{background:#EEF3ED;color:var(--jm-dark);font-weight:600}
.jm-floor-table th:first-child{text-align:left}
.jm-floor-table tbody tr:last-child>*{border-bottom:0}
.jm-floor-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:44px;min-height:48px;cursor:pointer;color:var(--steel)}
.jm-floor-choice input{width:20px;height:20px;accent-color:var(--jm-green);margin:0;cursor:pointer}
.jm-floor-choice span{font-size:10px}
.jm-floor-choice.recorded{cursor:default}
.jm-floor-choice.recorded input{cursor:not-allowed}
.jm-floor-count{font-weight:650;color:var(--jm-green)}
.jm-floor-help{margin-top:10px}
.jm-floor-save{font-size:11px;color:var(--jm-green);min-height:17px;margin:5px 0 0}
.jm-overview-bottom{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:24px}
.jm-small-card{border:1px solid var(--rule);border-radius:10px;background:#fff;padding:22px}
.jm-small-card h2{font-size:14px;margin:0 0 10px;font-weight:650}.jm-small-card p{font-size:12px;color:var(--steel);margin:0 0 15px}
.jm-trades{display:flex;gap:8px;flex-wrap:wrap}.jm-trades span{background:#EEF6F0;border:1px solid var(--rule);font-size:11px;padding:6px 10px;border-radius:6px;color:#214F3B}
.capture{grid-template-columns:290px minmax(0,1fr);gap:22px}.capture>*{min-width:0}
.side{top:calc(var(--toph,82px) + 24px)}
.facade,.form,.card{border-radius:10px;box-shadow:0 2px 9px #1f4d3904}
.houses button{font-size:12px;font-weight:600;flex:1;min-height:44px}
.houses button[aria-pressed="true"]{border-color:var(--jm-green);background:#EEF6F0;color:var(--jm-dark);box-shadow:inset 0 0 0 1px var(--jm-green)}
.cell.sel{outline:2px solid var(--jm-green);outline-offset:2px}
.fhead{background:#F8FAF6;border-radius:10px 10px 0 0;padding:17px 20px}.fhead h2{font-size:19px}
.form fieldset{padding:18px 20px 12px}.form legend{font-size:12px;font-weight:650;color:var(--jm-green)}
.grid{gap:13px}.grid .f{min-width:0}.f label{font-size:11px;font-weight:600;color:var(--steel)}
.f input,.f select,.f textarea{min-height:42px;font-size:13px;border-radius:7px;border-color:var(--rule)}
.f input:focus,.f select:focus,.f textarea:focus{border-color:var(--jm-green);box-shadow:0 0 0 3px #D8E8DE}
.tabs{padding:0 14px;background:#fff}.tabs button{font-size:12px;padding:12px 13px;min-height:46px}
.tabs button[aria-selected="true"]{color:var(--jm-green);border-color:var(--jm-green)}
.seg button{font-size:12px;min-height:40px}.seg button[aria-pressed="true"]{background:var(--jm-soft);border-color:var(--jm-green);color:var(--jm-dark)}
.missing{font-size:11px;padding:10px 18px}.ppo{font-size:11px;padding:5px 8px;min-height:30px;border-color:#DFD2B8;color:#765617}
.banner{font-size:12px;border-radius:8px;padding:11px 15px}.banner .btn{font-size:11px;min-height:35px}
.banner.info{background:#EEF3ED;border-color:var(--rule);color:var(--steel)}
.actions{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--rule);padding:14px 18px;border-radius:0 0 10px 10px;z-index:12;box-shadow:0 -5px 14px #173b2c05}
.actions .btn{font-size:11px;padding:10px 12px}
.toolbar h2{font-size:24px;letter-spacing:-.6px}.card h3{font-size:16px;letter-spacing:-.2px}.card .hint{font-size:11px}
.cards{gap:20px}.toprow{gap:20px}.card{padding:22px}
.tbl{border-color:var(--rule);border-radius:9px;background:#fff}.tbl th{background:#EEF3ED;color:#214F3B;font-size:11px}.tbl td{font-size:12px}
.jm-empty{padding:32px;text-align:center;color:var(--steel);font-size:13px;border:1px dashed var(--rule);border-radius:9px}
.jm-project-hint{font-size:11px;color:var(--steel);margin:0 0 18px}
@media(min-width:1800px){main{padding:38px 46px}.top{padding-inline:46px}}
@media(max-width:1180px){:root{--jm-sidebar:208px}.jm-sidebar{padding-inline:12px}.jm-brand{gap:8px}.jm-brand b{font-size:23px}.jm-navitem{font-size:12px;gap:9px}main{padding:24px}.top{padding-inline:24px}.capture{grid-template-columns:260px minmax(0,1fr);gap:18px}.jm-pagehead h1{font-size:27px}}
@media(max-width:1000px){.capture{grid-template-columns:1fr}.side{position:static}.facade{max-height:none}.jm-pagehead{align-items:flex-start}.jm-head-actions{flex-direction:column}.jm-metric{padding-inline:18px}.jm-metric-icon{display:none}}
@media(max-width:820px){:root{--jm-sidebar:232px}.jm-workspace{margin-left:0}.jm-sidebar{transform:translateX(-100%);transition:transform .18s}.jm-sidebar.open{transform:translateX(0)}.jm-close{display:block;position:absolute;top:9px;right:7px;border:0;background:none;font-size:25px;color:var(--steel);width:34px;height:34px}.jm-menu{display:grid;place-items:center;width:42px;height:42px;flex:none;border:1px solid var(--rule);background:#fff;border-radius:8px;color:var(--jm-green)}.jm-menu svg{width:20px;height:20px}.top{padding:14px 20px;min-height:76px;gap:12px}.top .brand b{font-size:15px}.jm-prototype{display:none}.sync{max-width:175px;font-size:10px}.jm-project-tabs{display:flex;position:sticky;top:var(--toph,76px);z-index:19;padding:5px 16px;background:#fff;border:0;border-bottom:1px solid var(--rule);border-radius:0;gap:4px;overflow-x:auto}.jm-project-tabs button{font-size:12px;padding:9px 14px;min-height:42px;white-space:nowrap}.jm-project-tabs button[aria-current="true"]{background:var(--jm-soft);color:var(--jm-dark)}body[data-jm-view="projekte"] .jm-project-tabs,body[data-jm-view="uebersicht"] .jm-project-tabs{display:none}.jm-overview-bottom{grid-template-columns:1fr}.jm-footer{padding-inline:24px}.jm-pagehead{flex-wrap:wrap}.jm-head-actions{flex-direction:row;justify-content:flex-start}.jm-notice{flex-wrap:wrap}.jm-notice .btn{margin-left:34px}.jm-storage-alert{padding-inline:20px}}
@media(max-width:520px){main{padding:24px 16px}.top{padding:11px 16px;gap:10px}.top .brand small{font-size:10px}.top .brand b{font-size:13px}.sync{max-width:116px;font-size:9px}.jm-menu{width:36px;height:38px}.jm-pagehead{gap:16px;margin-bottom:22px}.jm-pagehead h1{font-size:26px}.jm-pagehead p{font-size:12px}.jm-eyebrow{font-size:9px}.jm-head-actions{width:100%}.jm-head-actions .btn{flex:1;font-size:12px}.jm-metrics{padding:16px 0;margin-bottom:24px}.jm-metric{padding:0 13px}.jm-metric strong{font-size:23px}.jm-metric small{font-size:10px}.jm-project-grid{grid-template-columns:1fr}.jm-project-info{padding:21px}.jm-project-actions{padding:15px 21px}.jm-new-card{min-height:180px;padding:24px}.jm-sectionhead{align-items:flex-start;gap:13px;flex-direction:column}.jm-search{max-width:none;width:100%}.jm-project-visual{height:143px}.jm-project-visual svg{height:130px}.jm-notice{padding:16px;gap:10px}.jm-notice p{font-size:11px}.jm-house-card{padding:18px}.jm-unit-row{grid-template-columns:38px repeat(var(--jm-cols),minmax(0,1fr));gap:6px}.jm-footer{padding-inline:16px;flex-direction:column;gap:3px}.houses button{padding:8px}.fhead{padding:14px}.form fieldset{padding:15px 14px 10px}.grid{grid-template-columns:1fr}.tabs{padding:0 4px;overflow-x:auto;flex-wrap:nowrap}.tabs button{font-size:11px;padding:10px 9px;flex:1;white-space:nowrap}.actions{padding:11px;gap:7px;display:flex;flex-wrap:wrap}.actions .btn{min-height:44px}.actions #bSaveNext{flex:1 1 100%}.actions #bSave{flex:1}.actions .spacer{display:none}.actions #bClear,.actions #bDel{font-size:10px;padding:8px}.jm-project-tabs{padding-inline:12px}.jm-project-tabs button{flex:1;padding-inline:10px}.fhead h2{font-size:17px}.jm-pagehead+.banner{margin-top:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media print{.jm-sidebar,.top,.jm-footer,.jm-project-tabs,.jm-head-actions,.jm-prototype,.jm-notice{display:none!important}.jm-workspace{margin:0}main{padding:0}.jm-house-card,.jm-project-card{break-inside:avoid}}

/* Gemeinsamer Team-Pilot */
body.jm-locked > :not(#jm-auth):not(script){display:none!important}
#jm-auth{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:90px;padding:48px 32px;background:#F4F5F7}
.jm-login-intro{width:330px}.jm-login-intro .jm-eyebrow{margin-top:30px}.jm-login-intro h1{font-size:46px;letter-spacing:-2px;line-height:1.1;margin:12px 0 22px;color:#173B2C}.jm-login-intro p{font-size:25px;line-height:1.4;color:#596964;margin-bottom:38px}.jm-login-intro small{font-size:11px;color:#75807C}
.jm-login-card{width:420px;max-width:100%;padding:34px;background:#fff;border:1px solid #D5DED7;border-radius:16px;box-shadow:0 12px 36px #173b2c08}
.jm-login-card h2{font-size:27px;letter-spacing:-.7px;margin:8px 0 12px}.jm-login-card>p{font-size:13px;color:#596964;line-height:1.6}.jm-login-card label{display:grid;gap:7px;font-size:12px;font-weight:600;margin-top:22px}.jm-login-card input{width:100%;min-height:46px;border:1px solid #B9C8BE;border-radius:7px;padding:10px 12px;background:#fff;font-size:15px}.jm-login-card .btn{width:100%;margin:8px 0 22px}.jm-login-card>small{display:block;font-size:11px;color:#75807C;line-height:1.6}.jm-login-card .jm-login-error{color:#A94F46;margin:12px 0 0;min-height:20px}
#jm-team-actions{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:14px 0 0 16px}#jm-team-actions button{font-size:11px;padding:3px 0;color:#2F6F50}
#jm-team-alert{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:12px 32px;background:#FFF4D8;border-bottom:1px solid #E9D6A2;color:#765617;font-size:12px}#jm-team-alert[hidden]{display:none}
.jm-conflict{position:fixed;inset:0;z-index:90;background:#173b2c77;display:grid;place-items:center;padding:24px;overflow:auto}.jm-conflict>section{background:#fff;width:880px;max-width:100%;max-height:90vh;overflow:auto;border:1px solid #D5DED7;border-radius:14px;padding:28px}.jm-conflict h2{font-size:25px;margin:6px 0 12px}.jm-conflict p{font-size:13px;line-height:1.6}.jm-conflict-scroll{overflow:auto;margin:20px 0;max-height:45vh;border:1px solid #D5DED7;border-radius:8px}.jm-conflict table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:12px}.jm-conflict th,.jm-conflict td{text-align:left;padding:12px;border-bottom:1px solid #D5DED7;vertical-align:top;overflow-wrap:anywhere}.jm-conflict th{background:#EEF6F0;color:#214F3B;position:sticky;top:0}.jm-conflict th:first-child{width:24%}.jm-conflict-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.jm-conflict-error{color:#A94F46}
@media(max-width:820px){#jm-auth{gap:28px;flex-direction:column;padding:30px 18px}.jm-login-intro{width:420px;max-width:100%;display:grid;grid-template-columns:56px 1fr;column-gap:16px;align-items:center}.jm-login-intro img{width:56px;height:56px;grid-row:1/3}.jm-login-intro .jm-eyebrow{margin:0}.jm-login-intro h1{font-size:30px;margin:0}.jm-login-intro p{font-size:16px;margin:18px 0 10px;grid-column:1/-1}.jm-login-intro small{grid-column:1/-1}.jm-login-card{padding:26px}#jm-team-actions{gap:4px}#jm-team-alert{padding:12px 16px;align-items:flex-start;flex-direction:column;gap:8px}.jm-conflict{padding:12px}.jm-conflict>section{padding:20px}.jm-conflict-actions{flex-direction:column}.jm-conflict-actions .btn{width:100%}.jm-conflict th,.jm-conflict td{padding:9px 7px;font-size:11px}}
.jm-conflict{max-width:none;width:auto;box-shadow:none;border-radius:0;gap:0}
body[data-team="true"] .jm-sidebar{overflow-y:auto;overscroll-behavior:contain}
