:root{--ink:#173344;--muted:#6d818d;--line:#dce4e7;--paper:#f5f6f3;--navy:#173e54;--teal:#367777}*{box-sizing:border-box}body{margin:0;font:15px/1.65 "Noto Sans TC",system-ui,sans-serif;color:var(--ink);background:var(--paper)}button,input,select{font:inherit}button,a,input,select,[contenteditable]{-webkit-tap-highlight-color:transparent}a{color:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}[hidden]{display:none!important}.admin-header{height:85px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:16px 3vw}.admin-brand{display:flex}.admin-header-divider{width:1px;height:28px;background:var(--line)}.admin-header>strong{font-weight:500;font-size:15px;letter-spacing:.1em}.view-site{margin-left:auto;text-decoration:none;font-size:13px;color:var(--muted)}.admin-shell{display:grid;grid-template-columns:225px 1fr;min-height:calc(100vh - 85px)}.admin-sidebar{border-right:1px solid var(--line);padding:42px 25px;display:flex;flex-direction:column;gap:32px;background:#eef2ef}.kicker{font-size:10px;letter-spacing:.16em;font-weight:600;color:var(--teal)}.admin-sidebar h1{margin:8px 0 0;font-size:26px;letter-spacing:.06em}.admin-sidebar p{margin:6px 0;color:var(--muted);font-size:12px}.admin-sidebar nav{display:flex;flex-direction:column;gap:8px}.admin-sidebar nav>*{padding:12px 10px;text-decoration:none;border-radius:6px;font-size:13px}.nav-active{background:white;color:var(--navy);box-shadow:0 2px 8px #263f4710}.admin-sidebar nav a:hover{background:#ffffff75}.admin-help{margin-top:18px;border-top:1px solid #d5deda;padding-top:20px}.admin-help strong{font-size:13px}.admin-help p{line-height:1.9}.signout{font-size:12px;color:var(--muted);margin-top:auto}.admin-workspace{min-width:0;padding:38px 3vw 70px}.workspace-heading{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:22px}.workspace-heading h2{font-size:25px;font-weight:500;margin:6px 0;letter-spacing:.02em}.workspace-heading p{font-size:12px;color:var(--muted);margin:0}.primary-button,.secondary-button{border:1px solid var(--navy);padding:11px 17px;border-radius:5px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;line-height:1.5;font-size:13px}.primary-button{background:var(--navy);color:#fff}.primary-button:hover{background:#25566b}.secondary-button{background:white;color:var(--navy);border-color:#c7d3da}.manage-grid{display:grid;grid-template-columns:minmax(225px,30%) minmax(0,1fr);border:1px solid var(--line);border-radius:8px;overflow:hidden;background:white;box-shadow:0 10px 35px #19344805;min-height:650px}.notice-library{background:#fbfcfa;border-right:1px solid var(--line);max-height:calc(100vh - 240px);min-height:640px;overflow:auto;padding:16px 12px}.notice-library>input{width:100%;border:1px solid var(--line);padding:10px 12px;border-radius:5px;font-size:12px;background:white}.status-tabs{display:flex;gap:5px;margin:13px 0}.status-tabs button{flex:1;background:none;border:0;color:var(--muted);font-size:12px;padding:7px 3px;border-radius:4px}.status-tabs .active{background:#e6efeb;color:#245c59}.notice-list-item{width:100%;background:transparent;border:1px solid transparent;padding:16px 11px;text-align:left;border-radius:5px;display:block;margin:3px 0;color:var(--ink)}.notice-list-item:hover{background:#edf3f0}.notice-list-item.selected{background:#eaf1ed;border-color:#c3d6cc}.notice-list-meta{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:7px}.notice-list-meta time{font-size:10px;color:var(--muted);letter-spacing:.03em}.notice-list-item strong{display:block;font-size:13px;line-height:1.8;font-weight:500}.notice-list-item small{font-size:10px;color:var(--muted);display:block;margin-top:7px}.state-badge{display:inline-block;border-radius:3px;background:#eaf1eb;color:#3e6c50;padding:2px 6px;font-size:10px;white-space:nowrap}.state-badge.draft{background:#faf0d9;color:#8d6a29}.notice-editor{min-width:0;padding:28px}.editor-empty{display:flex;min-height:530px;align-items:center;justify-content:center;flex-direction:column;color:var(--muted);text-align:center}.editor-empty>span{font-size:40px;color:#88a49b}.editor-empty h3{font-size:18px;font-weight:400;color:#3f5b69;margin:18px 0 8px}.editor-empty p{font-size:13px;line-height:2}.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.editor-heading h3{font-size:18px;margin:5px 0;font-weight:500}.editor-heading a{font-size:10px;color:var(--muted)}form label{font-size:12px;font-weight:500;display:block;margin-bottom:7px}form input:not([type=checkbox]),form select{width:100%;padding:10px 12px;border:1px solid #cdd9de;border-radius:4px;background:#fff;color:var(--ink);font-size:13px}form input:focus,form select:focus,.rich-body:focus{outline:2px solid #5f969366;outline-offset:1px}#title-zh{font-size:16px}.required{color:#ad5347}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:17px 0}.check-label{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:400;color:#526c7b}.check-label input{accent-color:var(--navy);width:14px;height:14px}.editor-language-tabs{display:flex;margin-top:25px;border-bottom:1px solid var(--line)}.editor-language-tabs button{border:0;background:transparent;color:var(--muted);padding:12px 18px;font-size:12px;border-bottom:2px solid transparent}.editor-language-tabs [aria-selected=true]{border-bottom-color:var(--navy);color:var(--navy);font-weight:600}.rich-toolbar{display:flex;flex-wrap:wrap;gap:4px;padding:8px;background:#f2f5f3;border:1px solid var(--line);border-bottom:0;margin-top:15px}.rich-toolbar button{background:transparent;border:0;padding:4px 8px;color:#47616e;font-size:11px;min-width:26px;border-radius:3px}.rich-toolbar button:hover{background:#dce8e1}.rich-body{min-height:280px;max-height:580px;overflow:auto;padding:18px;border:1px solid var(--line);font-size:14px;line-height:1.95;overflow-wrap:anywhere}.rich-body:empty:before{content:attr(data-placeholder);color:#91a0a7;pointer-events:none}.rich-body img{max-width:100%;height:auto}.rich-body table{border-collapse:collapse;max-width:100%;font-size:12px}.rich-body td,.rich-body th{border:1px solid #ced8dd;padding:5px}.rich-body p{margin:0 0 1em}[role=tabpanel]>label{margin:12px 0 6px}#panel-ko>input{margin-bottom:8px}.field-hint{font-size:11px;color:var(--muted)}.original-check{margin-top:16px}.editor-save-status{font-size:10px;color:var(--muted);margin:22px 0 10px}.editor-save-status.unsaved{color:#a37c38}.editor-actions{display:flex;gap:8px;border-top:1px solid var(--line);padding-top:18px}.editor-actions .primary-button{margin-left:auto}.editor-secondary-actions{display:flex;justify-content:space-between;margin-top:18px}.editor-secondary-actions button{font-size:11px;border:0;background:none;padding:4px 0;color:#8c6159}.global-status{font-size:13px;padding:12px 15px;background:#e7f1e9;border:1px solid #c8ddcf;border-radius:5px;margin-bottom:16px;color:#38634b}.global-status:empty{display:none}.global-status.error{background:#fff1ec;border-color:#e7c6bc;color:#984d3d}.auth-screen{max-width:580px;margin:12vh auto;padding:40px}.auth-screen h1{font-family:Georgia,"Noto Serif TC",serif;font-size:42px;font-weight:400;line-height:1.6;margin:20px 0}.auth-screen p{color:var(--muted);margin:20px 0 28px}.auth-screen>a{margin-right:20px}#switch-account{font-size:13px}#preview-dialog{border:1px solid var(--line);border-radius:8px;padding:0;width:min(850px,94vw);height:85vh;max-height:900px;color:var(--ink)}#preview-dialog::backdrop{background:#102c42aa}.preview-heading{display:flex;align-items:center;gap:20px;padding:14px 20px;border-bottom:1px solid var(--line)}.preview-heading h2{font-size:15px;margin:0}.preview-heading select{margin-left:auto;font-size:12px;padding:5px;border:1px solid var(--line);border-radius:4px}.preview-heading button{border:0;background:transparent;font-size:24px;color:var(--ink)}#preview-frame{display:block;width:100%;height:calc(100% - 110px);border:0}#preview-dialog>p{font-size:11px;margin:0;padding:12px 20px;background:#f3f6f3}.empty-list{font-size:12px;color:var(--muted);padding:20px 8px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}:focus-visible{outline:2px solid #467e80;outline-offset:3px}@media(min-width:1700px){.admin-workspace{padding-left:5vw;padding-right:5vw}}@media(max-width:1150px){.admin-shell{grid-template-columns:180px 1fr}.admin-sidebar{padding:32px 18px}.admin-workspace{padding:28px 22px}.manage-grid{grid-template-columns:240px minmax(0,1fr)}.notice-editor{padding:22px}.workspace-heading h2{font-size:20px}}@media(max-width:900px){.admin-shell{display:block}.admin-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:16px 22px;display:block}.admin-sidebar>div:first-child,.admin-help,.signout{display:none}.admin-sidebar nav{flex-direction:row;flex-wrap:wrap;gap:6px}.admin-sidebar nav>*{padding:7px;font-size:11px}.admin-workspace{padding:25px 18px}.manage-grid{grid-template-columns:220px minmax(0,1fr)}.notice-editor{padding:18px}}@media(max-width:650px){.admin-header{height:72px;padding:12px 16px;gap:12px}.admin-brand svg{width:170px;height:auto}.admin-header>strong{font-size:11px;letter-spacing:0}.admin-header-divider{height:22px}.view-site{font-size:10px}.admin-workspace{padding:22px 12px}.workspace-heading{align-items:flex-start;gap:10px}.workspace-heading h2{font-size:18px;max-width:200px}.workspace-heading .primary-button{padding:10px;font-size:12px}.manage-grid{display:block}.notice-library{border-right:0;border-bottom:1px solid var(--line);max-height:300px;min-height:0;padding:12px}.notice-list-item{padding:10px;margin:0}.notice-list-meta{margin:0}.notice-list-item small{display:none}.notice-editor{padding:20px 15px}.editor-empty{min-height:300px}.editor-actions{flex-wrap:wrap}.editor-actions .primary-button{flex:1}.editor-heading a{font-size:9px}.rich-body{min-height:260px}.auth-screen{margin:5vh auto;padding:26px}.auth-screen h1{font-size:36px}}
.rich-body img{max-height:220px;width:auto;display:block;margin:8px 0 18px}.editor-actions{position:sticky;bottom:0;background:#fff;padding-bottom:8px;z-index:2}
.auth-screen h1{font-size:36px;letter-spacing:.05em}.auth-screen form{max-width:380px;margin:25px 0}.auth-screen form label{margin:16px 0 7px}.auth-screen form input{padding:13px 14px;font-size:15px}.auth-screen form .primary-button{width:100%;padding:13px;margin-top:12px}.auth-screen #switch-account{display:block;margin-top:22px}.auth-screen #login-error{color:#a04636;font-size:13px;margin:12px 0;min-height:0}.auth-screen #login-error:empty{display:none}button.signout{border:0;background:none;text-align:left;padding:0;cursor:pointer}@media(max-width:900px){button.signout{display:block;margin:12px 7px 0}}
