/* BlockFoundry workshop theme. Existing IDs and workflows remain stable. */
.project-source-title{color:inherit;text-decoration:none}.project-source-title::after{content:" ↗";font-size:.58em;color:#7c8f69;white-space:nowrap}.project-source-title:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.sort-direction{font-size:.75rem;padding:8px 11px;margin:6px 0 6px 8px;vertical-align:middle;white-space:nowrap}
#mod-updates-dialog .mod-update-row{display:flex;gap:13px;align-items:flex-start;padding:18px 0;margin:0}
#mod-updates-dialog .mod-update-row>input{width:18px;height:18px;margin:12px 0 0;flex:none}
#mod-updates-dialog .mod-update-row>.mod-icon{width:44px;height:44px;flex:none;border-radius:9px;object-fit:contain}
.mod-update-info{flex:1;min-width:0;overflow-wrap:anywhere}.mod-update-info>.mod-title-link{font-size:.875rem;line-height:1.5}.mod-update-info small{font-size:.75rem;line-height:1.7;margin-top:6px}
#config-reload::before,#files-refresh::before{content:"";display:inline-block;width:18px;height:18px;margin-right:8px;vertical-align:-4px;background:url('/static/icons/refresh.svg') center/contain no-repeat}
:root{--ink:#172d25;--muted:#6a796e;--line:#dedfd5;--paper:#f6f5ef;--green:#204e39;--lime:#d8e6b4;--white:#fffefb;--copper:#b29260;font-family:"Segoe UI",Inter,Arial,sans-serif}
body{background:var(--paper)}
button,.button,input,select{border-radius:8px}
button,.button{transition:background .15s,border-color .15s,box-shadow .15s}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #9c7c46;outline-offset:3px}
input:focus,select:focus,textarea:focus{outline-color:#71946c}
.sidebar{width:260px;padding:28px 18px;background:linear-gradient(165deg,#152c22,#102219 80%);border-right:1px solid #263f2f}
.sidebar .brand{font-size:1.35rem;color:#e4c997;letter-spacing:-.4px;margin-bottom:30px}
.brand small{color:#a6b7a2;font-size:.6rem;letter-spacing:1.7px}
.sidebar-section{border-color:#334934}
.sidebar .section-heading h2{font-size:.75rem;text-transform:uppercase;letter-spacing:1.5px;color:#a3b29e}
.sidebar-action{background:#1c3528;border-color:#3a503c;border-radius:8px}
.sidebar-action:hover{background:#294635;border-color:#698060}
.sidebar-action-icon{background:#2c4431;color:#d7c28c}
.sidebar .project-nav{padding:13px 10px;border-radius:8px}
.sidebar .project-nav.active{background:#294a34;border-color:#55704d;color:#edf2d8;box-shadow:inset 3px 0 #c3b57b}
.sidebar .project-nav small{color:#aebfa8}
.side-bottom{border-top:1px solid #334934;padding-top:20px;font-size:.8rem}
main{margin-left:260px;padding:0 34px 40px;max-width:1900px;width:calc(100% - 260px)}
.topbar{height:72px;letter-spacing:.1px}
.tag{border-radius:20px;background:#eceee4;border:1px solid #dde2d3;color:#405d42;padding:8px 14px}
.project-cover{position:relative;isolation:isolate;float:left;width:220px;height:140px;margin:26px 24px 24px 0;overflow:hidden;border-radius:9px;background:repeating-linear-gradient(135deg,transparent 0 48px,#78945f16 49px 50px),linear-gradient(110deg,#193529,#345237);border:1px solid #38563e}
.project-cover::after{content:"";position:absolute;z-index:-1;width:140px;height:140px;right:10%;top:20px;transform:rotate(30deg);border:1px solid #cfb57766;box-shadow:20px 20px 0 #cfb57716}
.project-cover img{width:100%;height:100%;object-fit:cover;object-position:center 44%;position:absolute;inset:0;z-index:-1}
.cover-caption{height:100%;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:18px;color:#eee8d4}
.cover-caption span{font-size:.72rem;letter-spacing:3px;color:#d3bd8d}
.cover-caption strong{font-size:1.05rem;font-weight:500;letter-spacing:-.4px}
.has-cover .cover-caption{visibility:hidden}
.has-cover::after{display:none}
.project-header{margin:26px 0 24px 244px;min-height:140px;align-items:flex-start;flex-direction:column;justify-content:center;gap:10px}
.project-header h1{font-size:clamp(1.6rem,2vw,2.3rem);letter-spacing:-.7px;margin:7px 0 10px}
.project-header .eyebrow{color:#8a7859;letter-spacing:1.7px}
.project-header p{line-height:1.7;font-size:.82rem}
.project-header>.actions{max-width:100%;justify-content:flex-start;flex-wrap:wrap;padding-top:0;gap:8px}
.project-title-line img{width:50px;height:50px;border-radius:10px;background:#fffef9;border:1px solid var(--line)}
.primary{background:#234e38;color:#fffef8;box-shadow:0 2px 3px #152c2212}
.primary:hover{background:#2f6648}
.outline{background:#fffef9;border-color:#d4d8c9;color:#344a37}
.outline:hover{background:#f0f2e6;border-color:#a2b096}
#delete-project{color:#934a3c}
.danger{color:#963f32;background:#f8e9e2;border:1px solid #ead2c5}
.metrics{clear:both;background:#fffefb;border-radius:10px;border-color:var(--line)}
.metrics article{padding:20px 22px}
.metrics strong{font-size:1.2rem;font-variant-numeric:tabular-nums}
.server-monitor{gap:14px;margin-top:14px}
.server-monitor article{border-radius:10px;background:#fffefb;border-color:var(--line);padding:19px 22px}
.server-monitor strong{font-size:1.7rem;color:#264e37}
.tabs{gap:28px;margin:22px 0;border-color:#d8ddce}
.tabs button{font-weight:600;padding:17px 2px}
.tabs button[aria-selected=true]{border-color:#527947;color:#285136}
.columns{gap:20px;align-items:start}
.panel{background:#fffefb;border-radius:10px;border-color:var(--line);padding:23px;box-shadow:0 2px 5px #172d2503}
.panel-title{border-bottom:1px solid #e9ebdf;padding-bottom:17px;margin-bottom:18px}
.panel-title h2,h2{font-size:1.05rem}
.badge{background:#edf0e4;color:#546443;border:1px solid #e3e7d6;padding:3px 7px}
.mod-row{padding:16px 0;border-color:#edf0e4}
.mod-icon{background:#eff2e6;border-color:#dce4cf}
.mod-info strong,.mod-title-link{font-weight:600}
.mod-list-switch{background:#eeefe6;border-radius:8px}
.mod-list-switch button[aria-pressed="true"]{background:#fffefb;box-shadow:0 1px 3px #1e382414}
.mod-status-legend{background:#f7f7ef;border-color:#e3e6d7;border-radius:8px}
.console{background:#14231c;color:#d2e4ce;border:1px solid #314a34;border-radius:9px;font-size:.79rem}
.build-activity,.notice{background:#edf2e2;border-color:#cbd8b7;border-radius:9px}
.build-actions>summary{background:#fffefb;border-color:#d4d8c9}
.build-actions-menu{border-color:var(--line);box-shadow:0 12px 28px #142b231c;background:#fffefb}
dialog{background:#fbfaf5;border-color:#dedfd5;border-radius:14px;box-shadow:0 24px 80px #13271b33;max-height:92vh;overflow:auto}
dialog::backdrop{background:#10231880;backdrop-filter:blur(4px)}
dialog label small{display:block;font-size:.75rem;line-height:1.6;color:var(--muted);margin-top:7px;font-weight:400}
dialog input[type=file]{background:#f3f4ea;border:1px dashed #a6b497;font-size:.8rem}
dialog input[type=file]::file-selector-button{border:0;background:#dfe8d2;color:#2f4a32;padding:8px 12px;margin-right:10px;border-radius:5px;cursor:pointer}
#settings-dialog,.settings-footer{background:#f6f5ef}
.settings-section{background:#fffefb;border-color:var(--line)}
.empty{margin:70px auto}.empty h1{color:#234630}.loader-strip{color:#6b795f}
.overview-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:20px;align-items:start}
.overview-server .console{min-height:255px;max-height:370px;font-size:.78rem;line-height:1.9}
.overview-server-actions{display:flex;gap:10px;margin-top:20px}
.overview-client>img{width:100%;height:155px;object-fit:cover;border-radius:7px;margin-bottom:12px}
.overview-client h3{font-size:1rem;margin:0 0 8px;line-height:1.5}
.overview-client>.primary{margin-top:7px;width:100%;text-align:center}
.instance-path{font:.8rem/1.6 Consolas,monospace;overflow-wrap:anywhere;color:#476340;background:#f0f3e8;padding:12px;border-radius:6px}
@media(max-width:1100px){.overview-columns{grid-template-columns:1fr}}
@media(min-width:1600px){main{padding-left:44px;padding-right:44px}.project-header{margin-top:28px}}
@media(max-width:1200px){.sidebar{width:228px}main{margin-left:228px;width:calc(100% - 228px);padding:0 24px 32px}.project-header{flex-direction:column}.project-header>.actions{max-width:100%;justify-content:flex-start;padding-top:0}.project-cover{width:180px;height:140px}.project-header{margin-left:204px}}
@media(max-width:760px){.sidebar{width:100%;padding:18px;position:static}.sidebar .brand{margin-bottom:16px}.side-bottom{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding-top:12px}.side-bottom>span,.side-bottom>p{display:none}.sidebar-section{margin:0;padding-bottom:14px}.sidebar nav{display:flex;flex-direction:row;overflow:auto}.sidebar .project-nav{width:auto;min-width:170px}.sidebar .project-nav.active{box-shadow:inset 0 -3px #c3b57b}main{margin:0;width:100%;padding:0 16px 24px}.topbar{height:58px}.project-cover{height:135px;margin-top:18px}.cover-caption{padding:20px}.cover-caption strong{font-size:1.25rem}.project-header{margin:20px 0}.project-header>.actions{gap:7px}.project-header>.actions>button{font-size:.75rem}.server-monitor{grid-template-columns:1fr}.metrics article{padding:16px}.tabs{gap:18px}.panel{padding:17px}.empty{margin:45px auto}.empty h1{font-size:2.5rem}}
@media(prefers-reduced-motion:reduce){button,.button{transition:none}}
@media(max-width:760px){.project-cover{float:none;width:100%;height:135px;margin:18px 0}.project-header{margin:20px 0;min-height:0}}
