:root{--dark:#302b42;--navy:#45405c;--ink:#40394b;--muted:#8b8196;--bg:#f2eaf0;--cream:#fffaf4;--line:#dfd2dd;--lav:#f1e9f9;--purple:#735aa3;--pink:#ffdad4;--rose:#e27f8f;--mint:#91c0a2;--gold:#ebbc75;--red:#cf566b;--shadow:0 5px 16px #47304915}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:'Pretendard','Malgun Gothic',system-ui,sans-serif;color:var(--ink);background:var(--bg)}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:9px;padding:9px 11px;font-size:12px;font-weight:750;transition:filter .15s}button:hover{filter:brightness(.965)}button:disabled{opacity:.46;cursor:default}input,textarea,select{background:#fff;border:1px solid #d9cbd9;border-radius:9px;color:var(--ink);padding:9px;width:100%;font-size:12px}textarea{min-height:76px;resize:vertical}select{cursor:pointer}.header{height:63px;display:flex;align-items:center;background:var(--dark);padding:0 18px;gap:12px;box-shadow:0 5px 0 #292338;color:#fff;position:relative;z-index:3}.brand{white-space:nowrap;font-size:19px;font-weight:1000;letter-spacing:.5px;text-shadow:2px 2px #151624}.brand b{color:#f7cda0}.brand small{display:block;color:#bfb5ca;letter-spacing:2px;font-size:9px;font-weight:650}.header button{background:#50465f;color:#fff;border:1px solid #756886}.hamb{margin-left:14px;font-weight:850}.navButtons{display:flex;gap:7px}.headerRight{display:flex;gap:7px;margin-left:auto;align-items:center}.headerRight button{min-height:36px}.headerRight i{font-style:normal;background:#e86779;color:white;padding:2px 5px;border-radius:8px;font-size:10px}.shell{height:calc(100vh - 63px);min-height:540px;display:grid;grid-template-columns:187px minmax(0,1fr) 252px;gap:10px;padding:12px}.sidebar,.aside{min-height:0;overflow:auto}.sidebar{background:#fffcf8;border:1px solid #e0d1dc;box-shadow:var(--shadow);border-radius:15px;padding:14px 10px}.sideHead{font-size:13px;font-weight:900;padding:8px 7px;color:#514461}.sideHead span{font-weight:400;font-size:10px;color:#9d91a5}.sidebar button{display:block;text-align:left;width:100%;background:#fff;border:1px solid #e7dde7;margin:5px 0;padding:11px 9px}.sidebar button.selected{background:#e9dcf3;border:1px solid #b8a2d0;color:#503777}.sidebar .sideAction{background:#fcf7fc}.sideDivider{border-top:1px solid #eae0e7;margin:12px 0}.sideHelp{font-size:11px;color:#867b8a;line-height:1.9;background:#f6eff3;border-radius:9px;padding:10px}.sideHelp b{color:#544765}.credit{font-size:10px;margin-top:18px;color:#9c93a0;padding:7px}.credit a{color:#7a6498}.content{min-height:0;display:flex;flex-direction:column;gap:9px}.worldHead{display:flex;align-items:center;justify-content:space-between;background:var(--cream);border:1px solid var(--line);border-radius:13px;padding:10px 15px;gap:10px;min-height:65px;box-shadow:var(--shadow)}.worldHead h1{font-size:16px;margin:0}.worldHead p{font-size:11px;color:var(--muted);margin:4px 0 0}.worldTags{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.worldTags span{border-radius:14px;background:#ece6f2;font-size:10px;padding:6px 8px;white-space:nowrap;font-weight:700}.worldTags span:first-child{background:#e9f2e8;color:#4a795b}#canvasHolder{position:relative;flex:1;min-height:0;border-radius:17px;border:5px solid #cbb5c5;overflow:hidden;background:#d6b69e;box-shadow:0 6px 0 #bfa7b4}canvas{display:block;width:100%;height:100%;image-rendering:pixelated;cursor:crosshair}.worldHint{position:absolute;top:10px;left:12px;background:#392b49d9;color:#fff;padding:7px 10px;border-radius:8px;pointer-events:none;font-size:11px;font-weight:700}.statusStrip{border:1px solid var(--line);background:var(--cream);border-radius:10px;padding:8px;display:flex;gap:15px;flex-wrap:wrap;justify-content:space-between;font-size:10px;color:#867b8d}.aside{display:flex;flex-direction:column;gap:10px}.panel{border-radius:14px;background:var(--cream);border:1px solid var(--line);padding:13px;box-shadow:var(--shadow)}.panelTitle{font-weight:900;font-size:13px;display:flex;align-items:center;justify-content:space-between;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid #eadddf}.panelTitle button{padding:4px 8px;font-size:10px}.asideFoot{font-size:10px;color:#94899b;padding:6px 4px}.quickGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.quickGrid button{padding:8px 2px;background:#f4ecf7;font-size:20px;border:1px solid #e6d6e8}.quickGrid span{display:block;font-size:10px}.tiny{font-size:11px;color:var(--muted)}.statline{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px dashed #eadfe9;font-size:11px;gap:5px}.badge{display:inline-block;border-radius:20px;font-size:10px;font-weight:900;padding:5px 9px;background:#e6f3e6;color:#4d7a5a}.badge.red{background:#ffdedf;color:#ba465c}.badge.gold{background:#ffefcf;color:#9a6b29}.badge.violet{background:#ebdff6;color:#6c508a}.pill{padding:4px 7px;border-radius:9px;background:#f4eaf6;font-size:11px;white-space:nowrap}.primary{background:var(--purple);border-color:var(--purple);color:white}.outline{background:#fff;border-color:#c9b4d9}.dangerBtn{background:#fff1f1;color:#b54357}.row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.between{justify-content:space-between}.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.formField{display:block;margin-bottom:9px}.formField>span{display:block;font-size:11px;font-weight:800;color:#756985;margin-bottom:5px}.muted{color:var(--muted)}.note{border-radius:11px;background:#f5edf6;border:1px solid #e8ddec;padding:12px;font-size:12px;line-height:1.7}.highlight{background:#fff0d9;border-color:#f0c894}.bigTitle{font-size:19px;font-weight:950;margin:0 0 8px}.smallTitle{font-size:14px;font-weight:900}.card{background:#fff;border:1px solid #e4d9e3;padding:12px;border-radius:11px;margin:7px 0;box-shadow:0 2px #f1eaef}.card p{font-size:12px}.card h4{margin:2px 0 7px}.modalCover{position:fixed;inset:0;background:#211a30b5;display:flex;align-items:center;justify-content:center;padding:19px;z-index:15}.modal{width:min(920px,98vw);max-height:94vh;display:flex;flex-direction:column;background:#fffaf7;border:3px solid #b7a2b9;border-radius:17px;box-shadow:0 14px 0 #251c32;overflow:hidden}.modal.workModal{width:min(1470px,99vw);height:min(96vh,960px)}.modalHeading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 20px;background:#f5eafa;border-bottom:1px solid #ded1e2}.modalHeading h2{font-size:18px;margin:0}.modalClose{background:#fcecee;border:1px solid #ddc7d1;font-size:16px}.modalContent{padding:17px 19px;overflow:auto;min-height:0}.modalContent h3{margin:10px 0}.tabbar{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:8px;margin-bottom:12px}.tabbar button{padding:8px 11px}.tabbar button.active{background:#6d5894;color:#fff;border-color:#6d5894}.gridCards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.tableWrap{width:100%;overflow:auto}.table{width:100%;border-collapse:collapse;font-size:12px;background:#fff}.table thead{background:#f0e7f3}.table th,.table td{text-align:left;border-bottom:1px solid #e9e0e9;padding:9px;vertical-align:top;white-space:pre-wrap}.table button{padding:5px 8px}.workLayout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(330px,1fr);gap:14px;min-height:470px}.workList{height:60vh;min-height:380px;overflow:auto;background:#faf5f9;border-radius:12px;padding:7px}.workDetail{height:60vh;min-height:380px;overflow:auto;border:1px solid #e4d9e4;border-radius:12px;padding:13px;background:#fff}.workItem{padding:10px;background:#fff;border:1px solid #e8deea;border-radius:9px;margin:6px 0;cursor:pointer}.workItem.active{outline:2px solid #a58cc6}.workItem:hover{background:#f9f1ff}.workTag{font-size:10px;background:#edf0f6;padding:2px 6px;border-radius:6px}.calendarShell{display:grid;grid-template-columns:minmax(370px,1.35fr) minmax(250px,1fr);gap:14px}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.calendar .dow{text-align:center;font-weight:800;font-size:11px;padding:8px}.daycell{min-height:76px;border:1px solid #e6dbe5;border-radius:8px;background:#fff;position:relative;text-align:left;padding:6px;font-size:12px}.daycell.empty{background:#f7f0f5;opacity:.3}.daycell.selected{outline:2px solid #9574c1;background:#f1e7fa}.daycell.today{border-color:#d9a96d}.evtLabel{display:block;font-size:9px;border-radius:4px;margin-top:3px;background:#dcebdc;padding:3px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.evtLabel.mine{background:#ebe0f4}.evtLabel.busy{background:#ddd}.editBar{background:#fff9ef;border:1px solid #e8cfb3;padding:9px 12px;border-radius:11px}.editTools{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.editTools select{width:auto;max-width:200px}.editNote{font-size:11px;color:#9d876d;margin-top:6px}.hidden{display:none!important}#chatbox{position:absolute;left:11px;bottom:10px;background:#2b2645bb;color:#fff;width:min(400px,90%);padding:9px 10px;border:1px solid #ffffff49;border-radius:12px;backdrop-filter:blur(4px);font-size:12px}#chatList{height:88px;overflow:auto;display:flex;flex-direction:column;gap:4px}#chatList div{word-break:break-word}#chatList b{color:#ffdbba}#chatInput{background:#ffffffda;color:#40364c;margin-top:7px;width:calc(100% - 52px);height:31px;padding:4px 8px}#chatSend{height:31px;padding:4px 7px;background:#cdb6e3;border:none}#worldToast{position:absolute;right:18px;bottom:12px;background:#342c48e8;color:white;max-width:300px;padding:10px 13px;font-size:12px;border-radius:9px;display:none;z-index:5}.avatarPreview{display:flex;justify-content:center;align-items:center;padding:16px;background:#f0e5e7;border-radius:12px}.spritePreview{width:100px;height:100px;image-rendering:pixelated;object-fit:contain}.petChip{display:inline-flex;align-items:center;gap:5px;background:#fff0e3;padding:6px 10px;border-radius:16px;margin:4px}.catalogGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(126px,1fr));gap:9px}.catalogGrid button{min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff}.catalogGrid img{width:62px;height:62px;object-fit:contain;image-rendering:pixelated}.calendarSelectedDate{font-size:16px;font-weight:950}.miniNote{color:#8d7d94;font-size:10px}.inlineForm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.score{font-size:30px;font-weight:900;color:#a579b9}.list{display:flex;flex-direction:column;gap:8px}.meetingStrip{background:#fff0cf;padding:8px;border-radius:8px;font-size:12px}.btnMini{font-size:11px;padding:5px 7px}.warning{color:#b94862;font-size:11px}#profileBtn{white-space:nowrap}.avatarBadge{width:58px;height:58px;border:2px solid #dbc4d4;border-radius:12px;background:#f0e9ed;image-rendering:pixelated;object-fit:cover}.linkAnchor{color:#7555aa;word-break:break-word}.birthdayBanner{font-size:25px;text-align:center;font-weight:950;color:#a85d85;background:linear-gradient(120deg,#fff0ca,#ffe1e9,#f2dffa);padding:30px;border-radius:15px}.birthEmoji{font-size:35px;display:block;animation:bounce .85s infinite alternate}@keyframes bounce{from{transform:translateY(-5px)}to{transform:translateY(8px)}}
@media(max-width:1210px){.shell{grid-template-columns:160px minmax(0,1fr)}.aside{display:none}.navButtons button{padding:7px 8px;font-size:11px}}@media(max-width:780px){.shell{display:flex;flex-direction:column;padding:7px;min-height:calc(100dvh - 63px);height:auto}.sidebar{display:none}.header{padding:0 8px;gap:7px}.brand{font-size:14px}.brand small{font-size:8px}.hamb span,.navButtons{display:none}.headerRight{gap:4px}.headerRight button{padding:6px}.content{height:calc(100dvh - 73px);min-height:490px}.worldHead{align-items:flex-start;flex-direction:column}.worldHead h1{font-size:14px}.worldTags{justify-content:flex-start}.worldHint{font-size:10px}.modalCover{padding:4px}.modal,.modal.workModal{width:100%;height:95dvh;max-height:95dvh}.modalContent{padding:11px}.workLayout,.calendarShell{grid-template-columns:1fr}.workList,.workDetail{height:auto;max-height:32vh;min-height:160px}.calendar .daycell{min-height:56px;padding:3px;font-size:10px}.evtLabel{font-size:8px}.two,.three,.inlineForm{grid-template-columns:1fr}.worldHead p{font-size:10px}.statusStrip{font-size:9px}.editBar select{max-width:132px}.modalHeading{padding:10px}}
.teamBanner{position:absolute;top:49px;left:8%;right:8%;z-index:9;background:#7e4260ee;color:#fff;border:3px solid #ffd0a5;border-radius:12px;display:flex;align-items:center;gap:16px;padding:13px 16px;box-shadow:0 5px 18px #3229449a}.teamBanner strong{font-size:15px}.teamBanner span{flex:1;font-size:12px}.teamBanner button{background:#f8dddc;color:#663957}.roleToggle{display:inline-flex;align-items:center;gap:5px;border:1px solid #d9c5dd;border-radius:10px;padding:7px 9px;font-size:12px;background:#f7f0fb}.roleToggle input{width:auto}.pixelGrid{display:grid;grid-template-columns:repeat(16,21px);gap:2px;max-width:100%;overflow:auto;padding:8px;background:#dcd2e5;border-radius:8px;margin-bottom:12px}.pixelGrid button{width:21px;height:21px;min-width:21px;padding:0;border:1px solid #d7cdd7;border-radius:2px}.modalContent .formField{margin-bottom:10px}.modalContent form>button[type=submit]{margin-top:6px}.modalContent .two>.formField{min-width:0}@media(max-width:780px){.teamBanner{left:2%;right:2%;flex-direction:column;gap:5px}.teamBanner strong{font-size:12px}.pixelGrid{grid-template-columns:repeat(16,16px)}.pixelGrid button{width:16px;height:16px;min-width:16px}}

/* V5: game canvas takes priority, work modal remains full scale */
.shell{grid-template-columns:176px minmax(0,1fr) 218px;gap:8px;padding:8px}.header{height:59px}.worldHead{min-height:58px}.content{gap:6px}.aside .panel{padding:10px}.sideHelp{font-size:10px}.modal.workModal{height:min(97vh,1050px);width:min(1660px,99vw)}#canvasHolder{border:3px solid #b9a0b6}.worldHint{background:#38273cca}.credit{line-height:1.6}
@media(max-width:1100px){.aside{display:none}.shell{grid-template-columns:176px minmax(0,1fr)}.navButtons{display:none}}
@media(max-width:700px){.shell{display:flex;flex-direction:column;height:auto;min-height:calc(100dvh - 59px)}.sidebar{display:none}.content{height:calc(100dvh - 74px)}.header{gap:6px;padding:0 8px}.headerRight button{padding:8px 4px}.brand{font-size:15px}.hamb{margin:0}.worldHead{padding:7px}.worldHead p{display:none}.worldTags{display:none}#canvasHolder{min-height:calc(100dvh - 218px)}.modalCover{padding:4px}.modal.workModal{max-height:100dvh;height:99dvh}.calendarShell,.workLayout,.two{grid-template-columns:1fr}.workList,.workDetail{height:auto;min-height:240px}}

/* V7: small pixel assets in installation catalog */
.catalogGrid img{width:66px;height:66px;image-rendering:pixelated;object-fit:contain}.catalogGrid button{min-height:112px}.catalogGrid span{line-height:1.35}.statusStrip span:first-child{font-weight:800}

#mobileControls{display:none;position:absolute;left:9px;right:9px;bottom:122px;justify-content:space-between;align-items:end;pointer-events:none;z-index:5}
#mobileControls button{pointer-events:auto;min-width:43px;min-height:41px;border-radius:12px;background:#47354bdd;color:white;border:1px solid #f5d8ef;font-size:15px;touch-action:none}
#mobileControls button.pressed{background:#ae87c5}.mobilePad{display:flex;flex-direction:column;align-items:center;gap:2px}.mobilePad div{display:flex;gap:2px}
@media(max-width:700px){#mobileControls{display:flex}#chatbox{bottom:5px;width:calc(100% - 20px);padding:5px 7px}#chatList{height:42px}#chatInput{height:27px;margin-top:3px}#worldToast{bottom:168px;right:4px}.worldHint{display:none}}

/* V10 mobile world map and feature addons */
#mobileWorldMap{position:fixed;left:10px;top:65px;z-index:12;display:none;padding:9px 13px;border:2px solid #fff2dd;border-radius:13px;background:#594168;color:#fff;font-weight:900;box-shadow:0 4px 0 #3d2e48}
#mobileMapSheet{position:fixed;top:109px;left:10px;right:10px;z-index:15;max-height:65vh;overflow:auto;background:#fff9f4;border:3px solid #9e7c99;border-radius:15px;padding:13px;box-shadow:0 8px 30px #21132999;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#mobileMapSheet button{padding:14px 6px;font-weight:850;background:#f7eafa;border:1px solid #d8c7e1;border-radius:10px}
.addon-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.addon-day{border-radius:9px;padding:9px 2px;min-height:51px;text-align:center;border:1px solid #dcd1de;background:#fff}.addon-day.active{border:3px solid #a278aa;background:#f2e5fa}.addon-day.has{background:#e2f1e4}.addon-header{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:13px}.addon-steps{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px}.addon-steps label{font-weight:800;font-size:12px}.addon-row{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:10px;background:#fff;border:1px solid #e4d7e8;border-radius:10px;margin:6px 0}.addon-form{padding:13px;background:#f5edf6;border-radius:13px;display:grid;gap:10px;margin-top:10px}.addon-form input,.addon-form select,.addon-form textarea{width:100%;min-height:40px;padding:8px;border:1px solid #d5c4dd;border-radius:9px}.addon-metric{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:13px;background:#e6f4e3}.addon-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.addon-muted{color:#85758b;font-size:12px}.addon-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.addon-actions button{padding:9px 12px}.addon-stars{color:#d39b30;font-size:24px}.addon-ladder{width:100%;max-width:780px;display:block;margin:auto;background:#faf5ec;border:1px solid #e3d5e6;border-radius:12px}.addon-chip{padding:7px 12px;background:#eee3f1;border-radius:20px;display:inline-block;margin:3px}
@media(max-width:780px){#mobileWorldMap{display:block}.addon-grid{grid-template-columns:1fr}.addon-day{min-height:43px;padding:8px 0;font-size:12px}.modal.workModal{height:98dvh}.modalContent{overflow:auto}#mobileControls{bottom:110px}}

/* Full-size WORK MANAGER V31-inspired workspace: overrides game-modal styling locally. */
.modal.workModal:has(#wmpro-root){width:min(1850px,99.6vw);height:min(99dvh,1160px);max-height:99dvh;border-radius:6px;border:1px solid #7a92a1;box-shadow:0 10px 32px #152d3b7a;background:#f4f7fb}
.modal.workModal:has(#wmpro-root) .modalHeading{background:#1c354b;color:white;padding:9px 17px;border:0}
.modal.workModal:has(#wmpro-root) .modalHeading h2{font-size:17px}
.modal.workModal:has(#wmpro-root) .modalContent{padding:0;flex:1;display:flex;min-height:0;overflow:hidden;background:#f5f7fa}
#wmpro-root{height:100%;width:100%;display:flex;flex-direction:column;overflow:auto;color:#283a4a;font-family:'Malgun Gothic','Noto Sans KR',system-ui,sans-serif}
#wmpro-root button{border-radius:3px;font-size:12px;background:#fff;color:#263c52;border:1px solid #cad7e2;padding:7px 10px;white-space:nowrap;font-weight:600}
#wmpro-root button:hover{background:#edf4f8}#wmpro-root button.wm-teal,#wmpro-root .wm-teal{color:white;background:#087d87;border-color:#087d87}
#wmpro-root input,#wmpro-root textarea,#wmpro-root select{font-size:12px;border-radius:2px;border:1px solid #cdd8e2;color:#1b3046;background:#fff;padding:7px 8px;min-height:32px}
#wmpro-root .wm-subbar{background:#eef3f7;display:flex;align-items:center;padding:8px 13px;gap:7px;min-height:46px;border-bottom:1px solid #d4e0e8}
#wmpro-root .wm-title{font-size:16px;font-weight:850;color:#20384d}#wmpro-root .wm-title small{font-size:11px;font-weight:400;color:#798da0;margin-left:7px}
#wmpro-root .wm-spacer{flex:1}#wmpro-root .wm-help{font-size:11px;color:#718297}
#wmpro-root .wm-stat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:10px 12px 6px}
#wmpro-root .wm-stat-grid>div{border:1px solid #d6e0e9;min-height:62px;background:#fff;padding:8px 12px;display:flex;flex-direction:column;justify-content:space-between}
#wmpro-root .wm-stat-grid span{font-size:11px;color:#627a90}#wmpro-root .wm-stat-grid strong{font-size:18px;color:#1a4463}
#wmpro-root .wm-tabs{display:flex;gap:4px;border-bottom:1px solid #cbd6e0;margin:3px 12px 0;align-items:end}
#wmpro-root .wm-tabs button{border:1px solid #cad5df;border-bottom:0;border-radius:3px 3px 0 0;background:#e8eff5;padding:9px 15px;font-size:12px}
#wmpro-root .wm-tabs button.on{background:#203950;color:#fff}#wmpro-root .wm-tabs em{font-style:normal;font-size:11px;padding-left:5px}
#wmpro-root .wm-filterline{display:grid;grid-template-columns:minmax(180px,1fr) repeat(4,minmax(85px,110px)) auto;gap:7px;padding:10px 12px}
#wmpro-root .wm-tableactions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 12px;background:#f3f6fa;font-size:12px;font-weight:800}
#wmpro-root .wm-tableactions small{color:#7d8d9a;font-weight:400;margin-left:6px;font-size:10px}#wmpro-root .wm-tableactions>div{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
#wmpro-root .wm-table-wrap{overflow:auto;border:1px solid #cbd8e2;background:#fff;margin:0 12px;min-height:240px;flex:1}
#wmpro-root .wm-records{width:max-content;min-width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px}
#wmpro-root .wm-records th{position:sticky;top:0;background:#e8eff4;border-right:1px solid #c7d2db;border-bottom:1px solid #bccbd7;color:#2b475d;padding:8px 10px;cursor:pointer;white-space:nowrap;z-index:1}
#wmpro-root .wm-records td{padding:7px 9px;border:1px solid #dce4ec;max-width:260px;min-width:78px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#wmpro-root .wm-records tr[data-importance="1"]{background:#ffe6ea}#wmpro-root .wm-records tr[data-importance="2"]{background:#fff0df}#wmpro-root .wm-records tr[data-importance="3"]{background:#fff8c7}#wmpro-root .wm-records tr[data-importance="4"]{background:#f0f9e6}#wmpro-root .wm-records tr[data-importance="5"]{background:#ecf4ff}
#wmpro-root .wm-records tr.selected{outline:2px solid #168a9a;outline-offset:-2px}#wmpro-root .wm-records tbody tr{cursor:pointer}
#wmpro-root .wm-preview{border-top:1px solid #c5d2df;min-height:145px;max-height:180px;padding:10px 12px;background:#f8fafc}
#wmpro-root .wm-preview>strong{font-size:12px}#wmpro-root .wm-preview-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:8px;height:108px}
#wmpro-root .wm-preview-cols>div{border:1px solid #d9e4ed;background:#fff;padding:8px;overflow:auto}#wmpro-root .wm-preview-cols b{font-size:11px}
#wmpro-root .wm-preview-cols p{white-space:pre-wrap;font-size:11px;margin:5px 0 0;color:#546b7e}
#wmpro-root .wm-editor{height:100%;display:flex;flex-direction:column;background:#fff;min-height:0}#wmpro-root .wm-editor>.wm-subbar{padding:9px 14px;background:#e9eff5}
#wmpro-root #wm-record-form{flex:1;display:flex;flex-direction:column;min-height:0;padding:10px 15px;gap:8px;overflow:auto}
#wmpro-root .wm-form-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 16px}#wmpro-root .wm-field{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:11px}
#wmpro-root .wm-field>span{font-weight:700;color:#537084}#wmpro-root .wm-edit-tabs{border:1px solid #d5e0e9;min-height:0;flex:1;overflow:auto;padding:12px}
#wmpro-root .wm-editor-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#wmpro-root .wm-editor-cols textarea{resize:vertical;width:100%;min-height:112px}
#wmpro-root .wm-week-control{display:flex;align-items:center;justify-content:flex-start;gap:9px;margin-top:12px;margin-bottom:7px;font-size:12px}
#wmpro-root .wm-actionbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:9px 0;font-size:11px;color:#657b8d}#wmpro-root .wm-actionbar h3{margin:0 12px 0 0;font-size:16px}
#wmpro-root .wm-editor-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:5px 0 0;border-top:1px solid #e5edf2}#wmpro-root .wm-editor-footer span{margin-right:auto;font-size:11px;color:#6c8292}
#wmpro-root .wm-stage-table{width:100%;border-collapse:collapse;font-size:12px}#wmpro-root .wm-stage-table th,#wmpro-root .wm-stage-table td{border:1px solid #d5e0e9;padding:9px;text-align:left}
#wmpro-root .wm-fb{max-width:900px}#wmpro-root .wm-fb article{background:#f2f6f8;padding:10px;margin:7px 0;border-left:3px solid #168994}#wmpro-root .wm-fb small{margin-left:10px;color:#728394}#wmpro-root .wm-fb p{white-space:pre-wrap;margin:6px 0}
#wmpro-root .wm-week-report{height:100%;overflow:auto;padding:11px 15px}#wmpro-root .wm-report-listbox{display:grid;grid-template-columns:1fr 88px 1fr;gap:11px;min-height:180px}
#wmpro-root .wm-report-listbox>div:first-child,#wmpro-root .wm-report-listbox>div:last-child{border:1px solid #d2dee8;background:#fff;padding:8px;min-height:170px}
#wmpro-root .wm-report-listbox strong{font-size:11px}#wmpro-root .wm-report-items{overflow:auto;max-height:155px}
#wmpro-root .wm-report-items label{display:flex;gap:8px;align-items:center;padding:5px 8px;border-bottom:1px solid #edf1f5;font-size:11px;cursor:pointer}
#wmpro-root .wm-report-items label input{width:auto;min-height:auto}#wmpro-root .wm-report-arrows{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
#wmpro-root #wm-extras-form{margin:12px 0;padding:12px;background:#f4f7fa;border:1px solid #dae3eb}
#wmpro-root #wm-extras-form .wm-editor-cols{grid-template-columns:1fr 1fr}#wmpro-root .wm-report-preview{max-height:400px;overflow:auto;border:1px solid #b9cad7;background:white}
#wmpro-root .wm-report-table{width:100%;border-collapse:collapse;font-size:11px;table-layout:fixed}#wmpro-root .wm-report-table th,#wmpro-root .wm-report-table td{border:1px solid #c2d1da;text-align:left;padding:8px;white-space:pre-wrap;vertical-align:top}
#wmpro-root .wm-report-table th:first-child{width:120px}#wmpro-root .wm-report-table thead th{background:#dde9ef}#wmpro-root .wm-report-line strong{font-weight:700}#wmpro-root .wm-report-line p{color:#526b7e;margin:4px 0 12px}
#wmpro-root .wm-muted{font-size:12px;color:#7c8b9a}
@media(max-width:860px){#wmpro-root .wm-subbar{flex-wrap:wrap}#wmpro-root .wm-stat-grid{grid-template-columns:repeat(5,minmax(80px,1fr));overflow:auto}#wmpro-root .wm-filterline{grid-template-columns:1fr 1fr 1fr}#wmpro-root .wm-form-three{grid-template-columns:1fr 1fr}#wmpro-root .wm-editor-cols{grid-template-columns:1fr}#wmpro-root .wm-report-listbox{grid-template-columns:1fr 68px 1fr}#wmpro-root .wm-tableactions{flex-direction:column;align-items:flex-start}}
@media(max-width:540px){#wmpro-root .wm-filterline{grid-template-columns:1fr 1fr}#wmpro-root .wm-filterline input{grid-column:1/-1}#wmpro-root .wm-stat-grid{grid-template-columns:repeat(5,100px)}#wmpro-root .wm-form-three{grid-template-columns:1fr 1fr}#wmpro-root .wm-preview-cols{grid-template-columns:1fr}#wmpro-root .wm-preview{max-height:220px}#wmpro-root .wm-preview-cols{height:160px;overflow:auto}#wmpro-root .wm-report-listbox{grid-template-columns:1fr}#wmpro-root .wm-report-arrows{flex-direction:row}#wmpro-root #wm-extras-form .wm-editor-cols{grid-template-columns:1fr}}

/* V13: interactive campus-style world map; replaces text-only navigation. */
#mapLinks .tw-mini-map{display:block;width:100%;background:#e0efe0;padding:4px;border:2px solid #619070;border-radius:12px;margin:5px 0 7px;text-align:center;overflow:hidden;cursor:pointer;box-shadow:0 3px 0 #45624b}
#mapLinks .tw-mini-map img{display:block;width:100%;aspect-ratio:10/7;object-fit:cover;image-rendering:pixelated;border-radius:5px}
#mapLinks .tw-mini-caption{display:flex;align-items:center;justify-content:space-between;gap:3px;padding:8px 4px 4px;font-size:11px;white-space:nowrap;font-weight:800;color:#315a3f}
#mapLinks .tw-mini-caption b{font-size:10px;color:#5c7567}
#mapLinks .tw-mini-current{font-size:11px;color:#54705c;background:#eef7ed;border:1px solid #cee4c9;border-radius:8px;padding:7px;line-height:1.45;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
#mapLinks .tw-current-dot{width:8px;height:8px;background:#2e9b56;border:1px solid #166b39;border-radius:50%}
#twWorldLayer.tw-world-hidden{display:none!important}
#twWorldLayer{position:fixed;inset:0;z-index:99000;background:rgba(15,31,24,.85);display:flex;align-items:center;justify-content:center;padding:12px;overscroll-behavior:contain}
.tw-world-dialog{width:min(1020px,100%);max-height:calc(100dvh - 20px);overflow:auto;display:flex;flex-direction:column;background:#f7f8ed;border:4px solid #375d43;border-radius:15px;box-shadow:0 16px 0 #132d1e,0 24px 70px #000a;flex-shrink:1}
.tw-world-top{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#214d38;color:#fff;gap:6px}
.tw-world-top b{display:block;font-size:20px;line-height:1.3}
.tw-world-top small{display:block;font-size:11px;margin-top:4px;color:#d6f3db}
.tw-world-top .tw-world-close{background:#f8f6e7;color:#254833;border:0;border-radius:7px;width:42px;height:38px;min-width:42px;text-align:center;font-size:22px;font-weight:800;cursor:pointer}
.tw-world-scene{position:relative;aspect-ratio:10/7;width:100%;max-height:calc(100dvh - 190px);align-self:center;background:#8eb477;overflow:hidden}
.tw-world-scene>img{display:block;width:100%;height:100%;object-fit:fill;image-rendering:pixelated;pointer-events:none}
.tw-world-spot{position:absolute;transform:translate(-50%,-50%);border:2px solid #23543a;background:rgba(255,251,228,.97);color:#254734;padding:6px 10px;font-size:clamp(11px,1.55vw,16px);font-weight:900;line-height:1.3;white-space:nowrap;border-radius:7px;box-shadow:0 3px 0 #315b35,0 0 0 2px #fff9;cursor:pointer;z-index:1;min-width:82px;text-align:center}
.tw-world-spot:hover,.tw-world-spot:focus-visible{background:#fff4b7;border-color:#9f7238;transform:translate(-50%,-53%) scale(1.07);z-index:3}
.tw-world-spot.is-here{background:#d2ffd5;border-color:#16854c}
.tw-world-spot small{display:block;font-size:9px;color:#15784d;font-weight:800}
.tw-world-bottom{display:flex;justify-content:space-between;gap:8px;padding:9px 13px;color:#355740;background:#eef5e9;font-size:11px;font-weight:700}
.tw-world-more{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px;background:#e4efdc;align-items:center}
.tw-world-more b{color:#355740;font-size:12px}
.tw-world-more button{background:#fffefa;border:1px solid #a3bfa3;padding:7px 9px;border-radius:8px;color:#335a43;cursor:pointer}
@media(max-width:650px){#twWorldLayer{padding:5px;align-items:center}.tw-world-dialog{border-width:2px;border-radius:10px;max-height:98dvh}.tw-world-top{padding:8px 10px}.tw-world-top b{font-size:15px}.tw-world-top small{font-size:10px}.tw-world-scene{max-height:min(71dvh,calc(100dvh - 118px))}.tw-world-spot{min-width:0;padding:3px 5px;border-width:1.5px;font-size:clamp(8px,2.55vw,12px);border-radius:5px;box-shadow:0 2px 0 #315b35}.tw-world-spot small{font-size:7px}.tw-world-bottom{font-size:9px;padding:6px 8px}}
