@charset "UTF-8";
.rom-editor .rom-match-options{display:flex;flex-wrap:wrap;gap:8px 24px;margin:0 0 18px}.rom-match-options .rom-font-option{margin:0;min-height:32px}.rom-use-notice{box-sizing:border-box;width:440px;max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);padding:26px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);box-shadow:0 16px 48px #162b2530;overflow:auto}.rom-use-notice::backdrop{background:#19282166}.rom-notice-heading{display:flex;align-items:center;gap:10px}.rom-notice-heading svg{width:22px;height:22px;color:var(--teal);flex:none}.rom-notice-heading h2{margin:0;font-size:18px}.rom-use-notice p{font-size:14px;line-height:1.8;overflow-wrap:anywhere;margin:16px 0;color:var(--muted)}.rom-notice-actions{display:flex;justify-content:flex-end;margin-top:22px}html:has(.rom-use-notice[open]){overflow:hidden}@media(max-width:600px){.rom-use-notice{padding:22px}.rom-editor .rom-match-options{gap:4px 18px}.rom-notice-actions .rom-open{min-height:40px}}
.rom-translate-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}.rom-translate-actions p{margin:0;flex:1;min-width:180px;font-size:12px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.rom-translate-actions .icon-button:disabled{opacity:.4;cursor:default}
.rom-font-option{display:flex;align-items:center;gap:9px;width:fit-content;max-width:100%;margin:0 0 20px;font-size:13px;cursor:pointer}.rom-font-option input{width:17px;height:17px;margin:0;accent-color:#287e68;flex-shrink:0}.rom-font-option:has(input:disabled){color:var(--muted);cursor:default}
.rom-heading-actions{display:flex;gap:8px;flex-wrap:wrap}.rom-open:disabled{opacity:.45;cursor:default}.rom-editor{padding-bottom:28px;border-bottom:1px solid var(--line)}.rom-editor fieldset{border:0;margin:0;padding:0;min-width:0}.rom-editor fieldset:disabled{opacity:.65}#rom-edit-status{font-size:12px;color:var(--muted)}.rom-text-toolbar{display:flex;gap:14px;align-items:end;margin-bottom:18px}.rom-text-toolbar label{display:grid;gap:7px;font-size:12px;color:var(--muted);min-width:0}.rom-text-toolbar select{width:100%;min-width:0;height:38px;border:1px solid var(--line);border-radius:5px;padding:0 8px;background:white;color:var(--ink);font-size:13px}.rom-member-select{flex:1}.rom-text-workspace{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:24px}.rom-text-sidebar{min-width:0}.rom-text-sidebar .rom-search{width:100%;box-sizing:border-box}.rom-text-rows{height:440px;overflow:auto;margin-top:10px;border-block:1px solid var(--line)}.rom-text-row{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);background:transparent;padding:10px;color:var(--ink);font:inherit;cursor:pointer}.rom-text-row:hover{background:#edf4f1}.rom-text-row[aria-current="true"]{background:#dceee6;box-shadow:inset 3px 0 #287e68}.rom-text-row small{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.rom-text-row span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.rom-text-row.modified small{color:#a65c15}.rom-text-title{display:flex;gap:10px;align-items:center;margin-bottom:16px;flex-wrap:wrap}.rom-text-title h3{font-size:14px;margin:0}.rom-text-title span{font-size:11px;color:var(--muted)}.rom-text-detail{min-width:0}.rom-text-detail>label{display:block;font-size:12px;color:var(--muted);margin-bottom:7px}.rom-text-detail textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:150px;padding:12px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink);font:14px/1.8 Consolas,"Microsoft YaHei",monospace;overflow-wrap:anywhere;margin-bottom:16px}.rom-text-detail textarea[readonly]{background:#edf0f2;min-height:110px}.rom-edit-actions{display:flex;justify-content:flex-end;gap:10px}.rom-text-detail textarea:focus{outline:2px solid #287e68;outline-offset:1px}
@media(max-width:700px){.rom-text-workspace{grid-template-columns:minmax(0,1fr);gap:20px}.rom-text-rows{height:180px}.rom-text-toolbar{gap:8px;flex-wrap:wrap}.rom-text-toolbar>label:first-child{width:100%}.rom-heading-actions{justify-content:flex-end}.rom-text-detail textarea{min-height:180px}.rom-text-detail textarea[readonly]{min-height:90px}}
.rom-main{max-width:1180px;padding:32px 32px 70px;min-height:calc(100svh - 154px)}
.rom-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.rom-heading>div{display:flex;align-items:center;gap:14px}.rom-heading h1{font-size:23px;margin:0;line-height:1.5}.rom-stage{font-size:12px;color:var(--muted)}
.rom-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 14px;border:1px solid #247760;border-radius:6px;color:white;background:#287e68;white-space:nowrap}.rom-open:hover{background:#206752}
.rom-drop{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:22px 0;border-block:1px solid var(--line)}.rom-drop.dragging{background:#e6f2ed;outline:2px dashed #287e68;outline-offset:4px}.rom-file-mark{color:#287e68}.rom-file-mark svg{width:30px;height:30px}.rom-drop>div:nth-child(2){min-width:0;flex:1}.rom-drop h2{font-size:15px;line-height:1.6;margin:0;overflow-wrap:anywhere}.rom-drop p{font-size:12px;color:var(--muted);margin:5px 0 0}
#rom-progress-wrap{width:100%;display:flex;align-items:center;gap:14px}#rom-progress{width:100%;height:8px;accent-color:#287e68}#rom-cancel{border:0;background:none;white-space:nowrap;color:#a14336;font-size:12px;padding:6px}.rom-error{border-left:3px solid #c2533e;padding:10px 14px;color:#a1372d;background:#fff0ec;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.rom-info{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:20px;margin:0;padding:22px 0;border-bottom:1px solid var(--line)}.rom-info div{min-width:0}.rom-info dt{font-size:11px;color:var(--muted);margin-bottom:7px}.rom-info dd{font-size:13px;margin:0;overflow-wrap:anywhere}
.rom-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:25px 0 16px}.rom-toolbar h2{font-size:15px;margin:0;scroll-margin-top:92px}.rom-toolbar h2 span{margin-left:8px;color:var(--muted);font-weight:400;font-variant-numeric:tabular-nums;font-size:12px}.rom-search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:6px;background:white;padding:8px 10px;color:var(--muted);width:260px;max-width:100%}.rom-search input{border:0;min-width:0;width:100%;font-size:12px;background:none;color:var(--ink)}
.rom-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;font-size:12px}.rom-table th{color:var(--muted);font-weight:500;padding:11px 8px;background:#eceff1}.rom-table th:first-child{width:auto}.rom-table th:nth-child(2){width:100px}.rom-table th:nth-child(3){width:90px}.rom-table th:nth-child(4){width:85px}.rom-table th:last-child{width:44px}.rom-table td{padding:8px;border-bottom:1px solid var(--line);vertical-align:middle;font-variant-numeric:tabular-nums}.rom-table tbody tr:hover{background:#ecf2f0}.rom-path{display:block;font-family:Consolas,"Microsoft YaHei",monospace;font-size:13px;line-height:1.65;overflow-wrap:anywhere}.rom-file-error{display:block;color:#aa4636;font-size:11px;line-height:1.7;overflow-wrap:anywhere}.rom-table .icon-button{width:28px;height:28px;background:transparent;border:0}.rom-table .icon-button svg{width:15px;height:15px}.rom-empty{text-align:center;margin:0;padding:60px 0;color:var(--muted);font-size:13px}.rom-pagination{display:flex;align-items:center;justify-content:space-between;padding-top:18px;font-size:12px;color:var(--muted)}.rom-pagination>div{display:flex;gap:8px}.rom-pagination button:disabled{opacity:.35;cursor:default}
@media(max-width:600px){.rom-main{padding:24px 18px 48px}.rom-heading{gap:8px}.rom-heading>div{display:block}.rom-heading h1{font-size:20px}.rom-stage{font-size:11px}.rom-open{font-size:12px;padding:0 10px}.rom-info{grid-template-columns:1fr 1fr;gap:18px}.rom-toolbar{align-items:flex-start;flex-direction:column;gap:12px}.rom-search{width:100%}.rom-id{display:none}.rom-members{display:none}.rom-table th:nth-child(2){width:75px}.rom-table th:last-child{width:32px}.rom-table th,.rom-table td{padding-inline:4px}.rom-path{font-size:12px}}
.rom-heading>.rom-heading-actions{display:flex;gap:8px;min-width:0}
@media(max-width:600px){.rom-heading{flex-direction:column;align-items:stretch;gap:14px}.rom-heading>div:first-child{display:flex;align-items:center;justify-content:space-between}.rom-heading>.rom-heading-actions{justify-content:flex-start}.rom-heading h1{white-space:nowrap}}
