:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202c2b;background:#f6f8f7;font-synthesis:none;--green:#0d6b50;--muted:#7a8580;--line:#e6ebe8;--sidebar:246px}
*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}a{color:var(--green);text-decoration:none}button:disabled{opacity:.5;cursor:not-allowed}svg.icon{height:19px;width:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}small{display:block;font-size:12px;color:var(--muted);line-height:1.6}h1,h2,h3,p{margin:0}h1{font-size:29px;font-weight:650;letter-spacing:-.8px}h2{font-size:17px;font-weight:600;letter-spacing:-.2px}h3{font-size:15px;font-weight:600}.muted{color:var(--muted)}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;overflow-wrap:anywhere}.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:30px 19px 20px;z-index:2}.brand{display:flex;align-items:center;gap:10px;padding:0 13px 29px;color:#1b2c25;font-size:29px;font-weight:750;letter-spacing:-1.4px}.brand-mark{background:var(--green);color:white;border-radius:11px;width:38px;height:38px;display:grid;place-items:center;line-height:1;font-size:38px;font-weight:700;padding-bottom:6px}.brand-sub{display:block;font-size:8px;letter-spacing:2.3px;font-weight:600;color:#909993;margin-top:2px}.workspace{display:flex;gap:11px;align-items:center;background:#f7f9f8;border:1px solid var(--line);border-radius:9px;padding:13px 11px;font-weight:600;font-size:13px}.workspace-icon{display:grid;place-items:center;height:31px;width:31px;border-radius:7px;background:#e8f0eb;color:#52725d}.workspace-dot,.status-dot{height:7px;width:7px;border-radius:50%;background:#26a574;display:inline-block}.workspace-dot{margin-left:auto}.nav-caption{font-size:10px;font-weight:600;letter-spacing:1.3px;color:#9ca59f;margin:30px 13px 13px}nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;border:0;border-radius:8px;background:none;color:#75807b;font-weight:500;padding:13px 14px;text-align:left;width:100%;font-size:13px}.nav-item:hover{background:#f6f8f7}.nav-item.active{background:#eaf3ee;color:var(--green);font-weight:650}.nav-count{margin-left:auto;background:#fff;border-radius:4px;padding:2px 5px;font-size:10px}.sidebar-bottom{margin-top:auto;padding-top:38px}.connection-status{display:flex;gap:8px;align-items:center;font-size:11px;color:#597363;padding:0 12px}.sidebar-bottom p{font-size:11px;line-height:1.8;color:#98a19c;margin:11px 12px 20px}.profile{display:flex;gap:11px;align-items:center;border-top:1px solid var(--line);padding:20px 8px 0;font-size:11px;font-weight:600}.avatar{width:33px;height:33px;border-radius:50%;background:#e8ece8;color:#586c5d;display:grid;place-items:center}.profile small{font-size:10px}.shell{margin-left:var(--sidebar);min-height:100vh;display:flex;flex-direction:column}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px}.crumb{font-size:12px;color:#95a098}.crumb span{padding:0 13px;color:#c4ccc7}.crumb strong{color:#607167;font-weight:500}.topbar-right{display:flex;align-items:center;gap:18px;color:#8a958e;font-size:11px}.local-chip{font-size:9px;letter-spacing:1px;font-weight:600;background:#f1f5f2;color:#7a9081;padding:5px 7px;border-radius:4px}.icon-button{height:31px;min-width:31px;border:1px solid var(--line);background:#fff;border-radius:6px;color:#7b8a81;display:grid;place-items:center;font-size:18px}.icon-button:hover{background:#f2f7f3}main{padding:33px 36px 35px;max-width:1600px;width:100%;margin:auto;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading p{margin-top:9px;color:#849087;font-size:13px;line-height:1.6}.heading-actions{display:flex;gap:9px;flex-wrap:wrap}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid #dfe6e1;border-radius:7px;background:white;color:#53665a;font-size:12px;font-weight:550;padding:10px 14px;white-space:nowrap;min-height:39px}.button:hover{background:#f0f5f1}.button.primary{background:var(--green);border-color:var(--green);color:white;box-shadow:0 2px 3px #0d6b5010}.button.primary:hover{background:#08553f}.button.ghost{border-color:transparent;background:transparent;padding:5px 7px;min-height:28px;color:var(--green)}.button.danger{color:#b05646}.button svg.icon{height:15px;width:15px}.banner{background:#edf4f0;border:1px solid #dce9df;border-radius:9px;padding:13px 16px;display:flex;gap:12px;align-items:center;color:#456452;font-size:12px;line-height:1.6;margin-bottom:25px}.banner strong{font-weight:600}.banner .button{margin-left:auto;font-size:11px;background:transparent;border-color:#c8dacd}.banner.warn{background:#fff8ee;border-color:#f2e4c9;color:#93764a}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:25px}.metric{background:#fff;border:1px solid var(--line);border-radius:10px;padding:19px 21px;min-height:136px}.metric-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#7e8d83}.metric-icon{height:29px;width:29px;border-radius:7px;display:grid;place-items:center;background:#f1f6f2;color:#76917d}.metric-icon svg{height:16px;width:16px}.metric-number{font-size:30px;font-weight:600;letter-spacing:-1px;margin:11px 0 7px}.metric-number .unit{font-size:13px;color:#92a095;font-weight:400;margin-left:4px;letter-spacing:0}.metric-foot{font-size:10px;color:#99a59d;display:flex;gap:6px;align-items:center}.metric-foot.good{color:#5d9770}.metric-foot.warn{color:#b58a43}.split{display:grid;grid-template-columns:1.6fr 1fr;gap:20px;margin-bottom:25px}.panel{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-header{padding:21px 22px 18px;display:flex;justify-content:space-between;align-items:center;gap:15px}.panel-header p{font-size:11px;color:#94a096;margin-top:5px}.chart{display:flex;align-items:flex-end;gap:13px;height:134px;padding:12px 25px 0}.chart-col{flex:1;display:flex;flex-direction:column;align-items:center;gap:10px;height:100%;justify-content:flex-end}.chart-count{font-size:11px;color:#6f8878}.bar{width:100%;max-width:50px;border-radius:4px 4px 0 0;background:#b9d9c3;min-height:4px}.bar[data-level="0"]{height:4px;background:#ebf0ec}.bar[data-level="1"]{height:20px}.bar[data-level="2"]{height:36px}.bar[data-level="3"]{height:52px}.bar[data-level="4"]{height:68px}.bar[data-level="5"]{height:84px}.bar[data-level="6"]{height:96px}.chart-col:last-child .bar{background:var(--green)}.chart-date{font-size:10px;color:#9da89f;white-space:nowrap}.chart-footer{display:flex;align-items:center;gap:6px;padding:18px 25px;font-size:10px;color:#9ba59f}.chart-footer .status-dot{background:#abcbb5;width:6px;height:6px}.storage-summary{padding:4px 22px 16px}.storage-row{display:flex;align-items:center;gap:12px;padding:10px 0}.storage-row+.storage-row{border-top:1px solid #f2f4f2}.storage-symbol{height:33px;width:33px;border-radius:8px;background:#f1f5f2;color:#819785;display:grid;place-items:center}.storage-row-content{flex:1}.storage-row strong{font-size:11px;font-weight:550}.storage-row small{font-size:10px;color:#a2aaa5}.storage-row-number{font-size:11px;color:#61786a}.panel-toolbar{padding:0 22px 17px;display:flex;align-items:center;gap:12px}.search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e2e8e3;border-radius:6px;padding:7px 10px;max-width:300px;color:#a5aea8}.search input{border:0;outline:none;width:100%;font-size:11px;background:transparent;color:#52695b}.search svg.icon{height:14px;width:14px}.filter{border:1px solid #e2e8e3;border-radius:6px;padding:7px 10px;color:#78887c;background:#fff;font-size:11px}.toolbar-count{margin-left:auto;color:#97a39b;font-size:11px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}thead{background:#f8faf8}th{font-size:10px;letter-spacing:.3px;font-weight:500;color:#929f95;padding:12px 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:17px 20px;border-bottom:1px solid #edf1ee;font-size:11px;color:#64786b}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdfb}.name-cell{display:flex;align-items:center;gap:10px;white-space:normal;min-width:160px}.name-cell strong{font-size:12px;color:#354b3d;font-weight:550}.name-cell small{font-size:10px;margin-top:4px}.name-icon{height:33px;width:33px;border-radius:7px;background:#f0f5f1;display:grid;place-items:center;color:#748f7c;flex-shrink:0}.name-icon svg{width:16px;height:16px}.text-button{border:0;padding:0;background:transparent;text-align:left;color:inherit}.text-button:hover strong{text-decoration:underline}.tag{display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:4px 7px;border-radius:5px;background:#f1f4f2;color:#839386;white-space:nowrap}.tag.green{background:#eaf5ed;color:#5b8b69}.tag.amber{background:#fff4df;color:#b78f4b}.tag.red{background:#faece9;color:#b46e62}.tag.blue{background:#eaf1f9;color:#6484a1}.tag .dot{width:5px;height:5px;border-radius:50%;background:currentColor}.destination-tags{display:flex;flex-wrap:wrap;gap:4px;max-width:160px}.row-actions{display:flex;align-items:center;gap:6px}.empty{padding:45px 25px;text-align:center}.empty-icon{height:48px;width:48px;display:grid;place-items:center;background:#f0f5f1;border-radius:14px;margin:0 auto 14px;color:#8ba492}.empty h3{font-size:14px;color:#57715f}.empty p{font-size:12px;color:#98a59b;line-height:1.8;margin:9px auto 17px;max-width:440px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:25px}.entity-card{border:1px solid var(--line);border-radius:10px;background:#fff;padding:21px}.entity-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.entity-card h3{font-size:14px;margin-bottom:6px}.entity-card .meta{display:flex;gap:5px;margin:12px 0 17px;flex-wrap:wrap}.entity-card .info-row{font-size:11px;color:#91a095;display:flex;justify-content:space-between;padding:8px 0;border-top:1px solid #edf1ee;gap:15px}.entity-card .info-row span:last-child{color:#607567;text-align:right;overflow-wrap:anywhere}.entity-card .card-actions{display:flex;gap:8px;margin-top:16px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:29px 0 17px}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.info-block{background:#f7f9f7;border-radius:7px;padding:15px;min-width:0}.info-block label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#91a097;margin-bottom:8px}.info-block p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.note{font-size:12px;white-space:pre-wrap;line-height:1.8;color:#6f8275;margin-top:15px}.footer{display:flex;justify-content:space-between;padding:20px 36px;border-top:1px solid #e9eeea;font-size:10px;color:#a3ada6;gap:20px}.loading{padding:60px;text-align:center;color:#7d9184}dialog{border:1px solid #dfe7e1;border-radius:13px;padding:0;width:min(680px,calc(100% - 32px));max-height:90vh;color:inherit;background:#fff;box-shadow:0 25px 90px #173e2a30}dialog::backdrop{background:#142a2260;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:23px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.dialog-header p{font-size:11px;color:#91a095;margin-top:5px}.dialog-body{padding:23px 25px}.dialog-footer{display:flex;gap:10px;justify-content:flex-end;padding:18px 25px;border-top:1px solid var(--line);position:sticky;bottom:0;background:#fff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:12px;font-weight:550;color:#64776a}.field input:not([type=checkbox]),.field select,.field textarea{width:100%;border:1px solid #dfe7e1;background:#fcfdfc;border-radius:6px;padding:10px;color:#3e5846;min-height:39px}.field textarea{min-height:80px;resize:vertical}.field small{font-size:10px;color:#9aa69e}.checkbox-field{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.6}.checkbox-field input{accent-color:var(--green);width:16px;height:16px}.destination-choice{display:flex;align-items:center;gap:10px;background:#f7faf7;border-radius:7px;padding:10px 12px}.destination-choice .checkbox-field{flex:1}.destination-choice input[type=number]{width:80px;min-height:31px;padding:6px}.destination-choice small{white-space:nowrap}.form-error{background:#fcf0ed;color:#aa6051;padding:11px 13px;font-size:12px;line-height:1.7;border-radius:6px;margin-bottom:15px}.toast{position:fixed;bottom:25px;left:calc(50% + 123px);transform:translateX(-50%);z-index:10;background:#294d38;color:white;padding:13px 21px;border-radius:9px;box-shadow:0 5px 20px #14392226;font-size:12px;max-width:80vw;line-height:1.5}.detail-section{margin-top:24px}.detail-section h3{margin-bottom:12px}.detail-section .table-scroll{border:1px solid var(--line);border-radius:7px}.secret{display:block;white-space:pre-wrap;overflow-wrap:anywhere;background:#f2f5f2;border:1px solid var(--line);padding:15px;border-radius:7px;font-family:ui-monospace,monospace;font-size:12px;user-select:all;margin-top:15px}.operation{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;gap:14px}.operation:last-child{border:0}.operation-main{flex:1;min-width:0}.operation-main strong{font-size:12px;font-weight:550}.operation-main p{font-size:11px;line-height:1.7;color:#90a095;margin-top:5px;overflow-wrap:anywhere}.operation-error{color:#b66b5c!important}.empty-table{padding:35px;text-align:center;color:#95a59a;font-size:12px}.detail-copy{padding:14px;border:1px solid var(--line);border-radius:7px;margin-bottom:10px}.detail-copy-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12px}.detail-copy p{font-size:11px;line-height:1.8;color:#8a9d8f;overflow-wrap:anywhere}.badge-example{font-size:9px;color:#aa9775;font-weight:400}.mobile-brand{display:none}
@media(min-width:1500px){main{padding:40px 48px}.topbar{padding:0 48px}.footer{padding:20px 48px}}
@media(max-width:1150px){:root{--sidebar:215px}main{padding:28px 24px}.topbar{padding:0 24px}.sidebar{padding:25px 13px}.metric{padding:17px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.split{grid-template-columns:1.3fr 1fr}td,th{padding-left:14px;padding-right:14px}.toast{left:calc(50% + 107px)}.footer{padding:18px 24px}}
@media(max-width:850px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.split{grid-template-columns:1fr}.page-heading{align-items:flex-start}.heading-actions{justify-content:flex-end}.crumb{font-size:11px}.topbar-right time{display:none}.footer span:last-child{display:none}}
@media(max-width:650px){:root{--sidebar:0px}.sidebar{position:static;width:100%;padding:14px 15px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:23px;padding:0 0 16px}.brand-mark{height:30px;width:30px;font-size:30px;border-radius:8px}.brand-sub{font-size:7px;letter-spacing:1.6px}.workspace,.nav-caption,.sidebar-bottom{display:none}nav{display:flex;overflow-x:auto;gap:4px;padding-bottom:10px}.nav-item{width:auto;padding:9px 10px;white-space:nowrap;font-size:11px;gap:6px}.nav-item svg{width:14px;height:14px}.nav-count{display:none}.shell{margin:0}.topbar{height:48px;padding:0 18px}.topbar-right{gap:8px}.crumb{font-size:10px}.crumb span{padding:0 7px}main{padding:23px 17px}.page-heading{display:block;margin-bottom:20px}h1{font-size:25px}.heading-actions{justify-content:flex-start;margin-top:17px}.page-heading p{font-size:12px}.banner{align-items:flex-start;font-size:11px;gap:8px;padding:11px}.banner .button{display:none}.metric{padding:15px;min-height:125px}.metric-number{font-size:27px}.metric-label{font-size:11px}.metrics{gap:10px}.metric-foot{font-size:9px}.cards{grid-template-columns:1fr}.panel-header{padding:18px}.panel-toolbar{padding:0 18px 15px;flex-wrap:wrap}.search{max-width:100%;flex:1}.toolbar-count{display:none}.form-grid,.info-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.dialog-body{padding:19px}.dialog-header{padding:20px}.dialog-footer{padding:16px 19px}.toast{left:50%;max-width:90vw}.footer{padding:17px}.local-chip{display:none}.row-actions .button{font-size:10px;padding:7px}.destination-choice input[type=number]{width:62px}}

.button:disabled,.icon-button:disabled{opacity:.4;cursor:not-allowed}.info-block p,.detail-copy p,.note{white-space:pre-line;overflow-wrap:anywhere}.destination-tags .tag{white-space:normal;max-width:30rem}

.transport-notice{background:#fff4df;border-color:#ead6b0;color:#795d30}

/* Server → project → storage tree */
.server-tree {display:grid;gap:20px}.tree-toolbar{margin-bottom:20px;border-radius:12px;background:white}.tree-branches{padding:0 24px 20px}.tree-project{border-left:2px solid #dbe9e3;padding:18px 0 18px 22px;position:relative}.tree-project:before{content:"";position:absolute;left:0;top:30px;width:14px;border-top:2px solid #dbe9e3}.tree-project-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.tree-project-heading strong{display:flex;align-items:center;gap:8px}.tree-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}.tree-facts dt{font-size:12px;color:#73847c;margin-bottom:6px}.tree-facts dd{margin:0;font-size:13px}.tree-facts small{display:block;color:#73847c;margin-top:5px}.tree-destinations{display:grid;gap:10px;padding-left:12px}.tree-storage{display:flex;gap:10px;align-items:center;border-left:2px solid #e8eeeb;padding-left:14px}.tree-storage .icon{color:#73847c}.tree-storage small{display:block;margin-top:3px;color:#73847c}.tree-server .panel-header{flex-wrap:wrap;gap:12px}.tree-server h2{overflow-wrap:anywhere}
@media(max-width:700px){.tree-facts{grid-template-columns:1fr}.tree-branches{padding:0 12px 12px}.tree-project{padding-left:14px}.tree-project-heading{align-items:flex-start;flex-wrap:wrap}.tree-toolbar{flex-wrap:wrap}.tree-server .row-actions{flex-wrap:wrap}}
body.login-page { display: grid; place-items: center; min-height: 100vh; margin: 0; padding: 24px; }
.login-card { max-width: 420px; width: 100%; padding: 28px; background: white; border-radius: 16px; }
.login-card form { margin-top: 20px; }
.login-card input { width: 100%; margin: 12px 0; padding: 12px; font-size: 24px; letter-spacing: .2em; }
.login-card small { display: block; margin-bottom: 16px; }
