:root{color-scheme:light;--ink:#352c32;--muted:#786d73;--line:#e5ddd6;--paper:#f6f3ee;--brand:#754052;--green:var(--brand);--dark:#30232c;--accent:#deba90;--red:#ac4141;--shadow:0 4px 20px #30232c05;font-family:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}button,input,textarea,select{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);border-radius:8px;padding:10px 15px;font-weight:600;transition:.15s}button:hover{border-color:var(--green);background:#f5f2ef}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#492c3a;color:white}.danger{color:var(--red)}.small{padding:6px 10px;font-size:12px}.text-button{border:0;background:transparent;padding:6px;color:var(--green)}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}input,textarea,select{width:100%;background:#fff;border:1px solid #dacfd4;border-radius:7px;padding:11px 12px;color:var(--ink)}input[type=checkbox]{width:auto;accent-color:var(--green)}textarea{resize:vertical;line-height:1.7}label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}small,.muted{color:var(--muted);font-weight:400}.field{margin-bottom:18px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;margin-bottom:10px}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:15px}p{line-height:1.8}.brand{display:flex;align-items:center;gap:11px;font-size:23px;font-weight:700;letter-spacing:2px}.brand-icon{width:36px;height:36px;border-radius:11px;background:var(--accent);display:flex;align-items:center;justify-content:center;gap:3px}.brand-icon i{width:3px;background:var(--dark);border-radius:3px;height:12px}.brand-icon i:nth-child(2){height:21px}.brand-icon i:nth-child(3){height:28px}.brand-icon i:nth-child(4){height:17px}.shell{display:grid;grid-template-columns:225px 1fr;min-height:100vh}.sidebar{background:var(--dark);color:#e7d9e0;padding:32px 23px;position:fixed;inset:0 auto 0 0;width:225px;display:flex;flex-direction:column;z-index:3}.sidebar .brand{color:white;margin-bottom:9px}.side-caption{font-size:11px;color:#b093a1;letter-spacing:2px;margin:0 0 39px 47px}.nav{display:grid;gap:7px}.nav a{padding:13px 16px;border-radius:8px;color:#cdb6c1;text-decoration:none;font-weight:500}.nav a.active{background:#523643;color:#fff}.nav a:hover{background:#472c39}.nav small{color:#b496a4}.nav-group{font-size:10px;letter-spacing:2px;color:#a38794;margin:24px 16px 9px}.side-bottom{margin-top:auto;border-top:1px solid #523643;padding-top:20px}.avatar{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;background:#654554;color:#ede4e8}.userline{display:flex;align-items:center;gap:10px}.side-bottom .text-button{color:#d0b6c2}.side-bottom small{color:#af97a2}.main{grid-column:2;min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);background:#fbfbfa;display:flex;align-items:center;justify-content:space-between;padding:0 44px;gap:20px}.breadcrumb{font-size:12px;letter-spacing:1px;color:var(--muted)}.credit-pill{background:#ebe0e5;border:1px solid #e0ced6;padding:8px 13px;border-radius:30px;font-size:12px;white-space:nowrap}.credit-pill strong{font-size:16px;margin-right:5px}.page{max-width:1350px;padding:38px 44px 70px;margin:auto}.page-heading{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--green);font-weight:700;margin-bottom:9px}.page-heading p{color:var(--muted);margin-bottom:0}.card{background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);padding:25px}.workspace{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:24px}.stack{display:grid;gap:22px;align-content:start}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.card-heading h2,.card-heading h3{margin:0}.step{font-size:10px;font-weight:700;letter-spacing:1px;color:#9b8a92;border:1px solid var(--line);padding:4px 7px;border-radius:5px}.dropzone{border:1.5px dashed #c3a9b5;border-radius:10px;min-height:230px;background:#faf8f6;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;cursor:pointer}.dropzone.drag{background:#ede2e7;border-color:var(--green)}.upload-icon{font-size:29px;color:var(--green);width:56px;height:56px;background:#ece2e7;border-radius:15px;display:grid;place-items:center;margin-bottom:17px}.dropzone strong{font-size:17px}.dropzone p{font-size:12px;margin:9px 0 18px;color:var(--muted)}.file-list{display:grid;gap:8px;margin-top:15px}.file-row{display:flex;align-items:center;justify-content:space-between;background:#f8f6f4;padding:12px;border-radius:7px;gap:10px}.file-row>div{overflow:hidden;text-overflow:ellipsis}.file-row strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.check-row{display:flex;align-items:start;gap:10px;font-weight:400;margin:0;padding:11px 0;border-bottom:1px solid #f1edef}.check-row input{margin-top:3px}.check-row span{flex:1}.check-row strong{font-size:13px}.check-row small{display:block;margin-top:4px;line-height:1.5}/* New transcription: compact dictionary choices; only selected descriptions expand. */
.dict-picker{min-width:0}.dict-picker.is-scrollable{max-height:220px;overflow-y:scroll;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-gutter:stable}.dict-picker.is-scrollable::-webkit-scrollbar{width:6px}.dict-picker.is-scrollable::-webkit-scrollbar-track{background:#f6f4f2;border-radius:6px}.dict-picker.is-scrollable::-webkit-scrollbar-thumb{background:#bda9b2;border-radius:6px}.dict-choice{display:flex;align-items:flex-start;gap:10px;min-height:44px;margin:0;padding:11px 6px;border-bottom:1px solid #f1edef;cursor:pointer;font-weight:400;line-height:21px}.dict-choice:last-child{border-bottom:0}.dict-choice:hover,.dict-choice:focus-within{background:#f7f5f2}.dict-choice>input{flex-shrink:0;margin:4px 0 0}.dict-choice-copy{flex:1;min-width:0}.dict-choice-heading{display:flex;align-items:baseline;justify-content:space-between;gap:6px 10px;flex-wrap:wrap}.dict-choice-heading strong{min-width:0;font-size:13px;overflow-wrap:anywhere}.dict-choice-count{font-size:11px;white-space:nowrap}.dict-choice-description{display:none;line-height:1.6;font-size:12px;margin-top:4px;overflow-wrap:anywhere}.dict-choice>input:checked+.dict-choice-copy .dict-choice-description{display:block}
.notice{background:#f2ebee;color:#795867;border:1px solid #e6d7de;border-radius:9px;padding:13px 15px;font-size:12px;line-height:1.8}.submit-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding-top:22px;border-top:1px solid var(--line)}.submit-row p{font-size:12px;color:var(--muted);margin:0}.submit-row button{padding:12px 25px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:25px}.stat{padding:20px 23px;background:white;border:1px solid var(--line);border-radius:11px}.stat small{font-size:12px}.stat strong{display:block;font-size:28px;font-weight:600;margin-top:9px}.stat em{font-style:normal;font-size:12px;font-weight:400;color:var(--muted);margin-left:7px}.toolbar{display:flex;gap:10px;align-items:center;margin-bottom:20px}.toolbar input{max-width:400px}.toolbar select{max-width:170px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}th{font-weight:500;color:var(--muted);padding:13px 12px;background:#f8f6f4}td{padding:17px 12px;border-bottom:1px solid #f0ebed}td.title-cell{max-width:330px;white-space:normal;word-break:break-word}td small{display:block;margin-top:5px}td .actions{display:flex;gap:7px}.badge{display:inline-block;padding:4px 9px;border-radius:30px;background:#f1edef;color:#76646c;font-size:11px;white-space:nowrap}.badge.completed,.badge.approved{background:#efe5ea;color:#5a3747}.badge.running,.badge.queued{background:#eadde3;color:#5f3b4c}.badge.failed,.badge.cancelled{background:#f7e8e5;color:#a25348}.empty{text-align:center;padding:45px 20px;color:var(--muted)}.empty strong{display:block;color:var(--ink);margin:12px;font-size:17px}.progress{height:7px;background:#efe7eb;border-radius:10px;overflow:hidden;margin:10px 0}.progress>span{display:block;height:100%;background:var(--green);transition:width .4s}.grid-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.dict-card{display:flex;flex-direction:column;min-height:205px}.dict-card p{font-size:12px;color:var(--muted);flex:1;margin:13px 0}.dict-card .count{font-size:25px;line-height:1}.card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:15px;margin-top:17px}.tabs{display:flex;gap:10px;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:25px;flex-wrap:wrap}.tabs button{border:0;background:transparent;font-weight:500}.tabs button.active{background:#eadfe4;color:var(--green)}.prose{max-width:830px;line-height:1.9}.prose h2{margin-top:29px}.prose li{margin:7px 0}.prose pre,.transcript{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font:14px/1.9 "Segoe UI","Microsoft YaHei",sans-serif}.prose pre{background:#f4f1ee;border:1px solid var(--line);padding:18px;border-radius:9px}.audio-player{width:100%;margin:15px 0}.detail-layout{display:grid;grid-template-columns:1fr 285px;gap:22px}.details{display:grid;gap:15px;font-size:12px}.details div{display:flex;justify-content:space-between;gap:15px}.details strong{text-align:right;font-weight:500}.segment{display:flex;gap:18px;border-bottom:1px solid #f0e9ec;padding:16px 0;line-height:1.9}.segment button{align-self:start;border:0;background:#f2eaee;color:var(--green);padding:5px 8px;font-size:11px;white-space:nowrap}.segment p{margin:0}.auth{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.auth-art{background:var(--dark);padding:50px 65px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}.auth-art .brand{position:relative;z-index:1}.auth-art h1{font-size:54px;line-height:1.25;letter-spacing:-2px;font-weight:500;margin:70px 0 25px}.auth-art h1 em{color:var(--accent);font-style:normal}.auth-art p{max-width:380px;color:#cab3be;font-size:15px}.wave{display:flex;align-items:center;gap:8px;height:150px;margin:30px 0}.wave i{width:8px;border-radius:8px;background:#ae8095;height:var(--h);opacity:.75}.auth-foot{font-size:11px;color:#a98f9b;letter-spacing:1px}.auth-form{display:flex;align-items:center;justify-content:center;padding:50px;background:#faf9f8}.auth-form form{width:100%;max-width:370px}.auth-form h2{font-size:27px;margin-bottom:12px}.auth-form .muted{margin-bottom:30px}.auth-form button[type=submit]{width:100%;margin-top:5px;padding:13px}.auth-switch{text-align:center;margin-top:24px;font-size:13px}.error{color:var(--red);font-size:13px;line-height:1.7;margin:12px 0;min-height:20px}.auth-benefits{display:flex;gap:25px;font-size:12px;color:#dac4ce}.loading{text-align:center;padding:80px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:13px 22px;background:var(--dark);color:white;border-radius:9px;box-shadow:var(--shadow);z-index:50;display:none;max-width:90vw}dialog{border:1px solid var(--line);border-radius:14px;padding:28px;max-width:660px;width:calc(100% - 32px);max-height:90vh;overflow:auto;box-shadow:0 24px 100px #1f131933}dialog::backdrop{background:#25161d55;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.dialog-head h2{margin:0}.dialog-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.inline{display:flex;gap:15px}.inline>.field{flex:1}.balance{font-size:54px;line-height:1.2;letter-spacing:-2px;margin:18px 0}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:20px}.editor-actions{display:flex;gap:9px;margin-bottom:12px;flex-wrap:wrap}.section-divider{border-top:1px solid var(--line);margin:28px 0}.hidden{display:none!important}@media(max-width:1100px){.workspace,.detail-layout{grid-template-columns:1fr}.grid-cards{grid-template-columns:repeat(2,1fr)}.page{padding:30px}.topbar{padding:0 30px}}@media(max-width:760px){.shell{display:block}.sidebar{position:static;width:auto;padding:20px}.sidebar .brand{font-size:20px}.side-caption,.nav-group,.side-bottom{display:none}.nav{display:flex;overflow:auto;margin-top:20px;gap:5px}.nav a{white-space:nowrap;padding:10px;font-size:12px}.sidebar .brand-icon{width:30px;height:30px}.topbar{height:60px;padding:0 20px}.page{padding:25px 18px}.page-heading{margin-bottom:22px}h1{font-size:26px}.card{padding:20px}.grid-cards{grid-template-columns:1fr}.stat-grid{gap:8px}.stat{padding:15px}.stat strong{font-size:23px}.toolbar{flex-wrap:wrap}.submit-row{align-items:flex-start;flex-direction:column}.submit-row button{width:100%}.auth{grid-template-columns:1fr}.auth-art{padding:25px}.auth-art h1{font-size:35px;margin:30px 0 15px}.wave,.auth-foot,.auth-benefits{display:none}.auth-art p{font-size:13px;margin-bottom:0}.auth-form{padding:35px 25px}.inline{display:block}.tabs{gap:4px}.tabs button{padding:8px}.page-heading>.primary{font-size:12px;padding:9px}.detail-layout{gap:15px}}

/* Dictionary pages and compact term tags */
.page.dictionary-page{max-width:none;width:100%;padding:24px 24px 160px}.dictionary-meta{margin-bottom:22px}.dictionary-meta .field{margin-bottom:6px}.dictionary-meta .check-row{border:0;margin-top:10px;padding-bottom:0}.dictionary-words{margin-bottom:20px}.term-add{display:flex;gap:10px;margin-bottom:14px}.term-add input{min-width:0;flex:1}.term-toolbar{display:flex;gap:12px;margin:20px 0 16px}.term-toolbar input{flex:1;min-width:0}.term-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}.term-section-heading small{font-size:12px}.term-tags{display:flex;flex-wrap:wrap;align-content:flex-start;gap:10px;padding:6px 0 12px;overflow:visible}.term-tag{display:inline-flex;align-items:center;position:relative;max-width:100%;border:1px solid #e5d8de;border-radius:8px;background:#f5f3f0;transition:background .15s,border-color .15s}.term-tag:hover,.term-tag:focus-within{background:#ede3e8;border-color:#bda3af}.term-tag-edit,.term-tag-text{font-weight:500;font-size:13px;line-height:1.6;padding:7px 10px;overflow-wrap:anywhere;white-space:normal;text-align:left;min-width:0}.term-tag-edit{border:0;border-radius:7px;background:transparent}.term-tag-edit:hover{background:transparent}.term-tags .empty{width:100%;padding:40px 15px}.term-dialog{max-width:440px}.term-dialog-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end;margin-top:18px}.term-dialog-actions .danger{margin-right:auto}.dictionary-times{font-size:11px;line-height:1.9;color:var(--muted);margin-top:14px}.dictionary-times time{font-variant-numeric:tabular-nums}.dictionary-savebar{position:fixed;z-index:20;left:calc(50% + 112.5px);right:auto;transform:translateX(-50%);width:560px;max-width:calc(100vw - 273px);bottom:22px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 20px;padding:14px 18px;background:#fff;border:1px solid #d9c7cf;border-radius:12px;box-shadow:0 8px 38px #331f2826}.dictionary-savebar strong{display:block;font-size:14px}.dictionary-savebar small{display:block;margin-top:4px;font-size:12px}.dictionary-savebar .primary{padding:12px 26px}.dictionary-savebar .error{grid-column:1/-1;margin:0;min-height:0}.dictionary-savebar .error:empty{display:none}.editor-leave{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.editor-leave>div{display:flex;gap:8px;flex-wrap:wrap}.editor-leave[hidden],#bulk-box[hidden]{display:none}.lexicon-policy{margin-top:20px}.lexicon-counts{margin:16px 0 8px}#term-feedback{color:var(--green);font-size:12px;margin-bottom:10px}#term-feedback:empty{display:none}#bulk-box{padding:14px;background:var(--paper);border-radius:9px}#bulk-box button{margin-top:8px}

@media(max-width:760px){.page.dictionary-page{padding:20px 16px 150px}.dictionary-meta .field{margin-bottom:14px}.dictionary-savebar{left:50%;right:auto;width:calc(100vw - 32px);max-width:560px;bottom:calc(12px + env(safe-area-inset-bottom,0px));padding:12px 14px;gap:8px 12px}.dictionary-savebar .primary{padding:12px 18px}.dictionary-savebar strong{font-size:13px}.dictionary-savebar small{font-size:11px}.term-tags{gap:9px}.term-tag-edit,.term-tag-text{padding-top:10px;padding-bottom:10px}.term-toolbar{flex-wrap:wrap}.term-toolbar input{width:100%}.editor-leave{align-items:flex-start;flex-direction:column}.page-heading>#back-dictionaries{padding:8px;font-size:12px;white-space:nowrap}.term-dialog-actions{gap:8px}.term-dialog-actions button{min-height:42px}}
@media(hover:none),(pointer:coarse){.term-tag-edit{min-height:42px}}
body:has(.dictionary-savebar) #toast{bottom:120px;pointer-events:none}
@media(max-width:760px){body:has(.dictionary-savebar) #toast{bottom:calc(108px + env(safe-area-inset-bottom,0px));width:max-content;max-width:calc(100vw - 40px)}}

.dictionary-savebar .primary:disabled,.dictionary-savebar .primary:disabled:hover{background:#e7e5e6;border-color:#dbd6d8;color:#938a8e;opacity:1;cursor:default;box-shadow:none}.dictionary-savebar .primary[aria-busy="true"]{cursor:wait}

.dictionary-savebar[data-dirty="true"]{background:#fff8e5;border-color:#d2aa48;box-shadow:0 8px 38px #90650f30}.dictionary-savebar[data-dirty="true"] #editor-save-state{color:#7a5100}.dictionary-savebar[data-dirty="true"] #editor-save-state:before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:#c58a14}.dictionary-savebar[data-dirty="true"] #editor-save-help{color:#82611e}

.dictionary-page .eyebrow{display:none}.dictionary-page .page-heading{margin-bottom:16px;align-items:center}.dictionary-page .page-heading h1{font-size:26px;margin-bottom:5px}.dictionary-page .page-heading p{font-size:12px;line-height:1.6}.dictionary-page .dictionary-meta,.dictionary-page .dictionary-words{padding:18px}.dictionary-page .dictionary-meta{margin-bottom:14px}.dictionary-page .dictionary-meta .field{margin-bottom:0}.dictionary-page .dictionary-meta label,.dictionary-words>label{margin-bottom:5px}.dictionary-page .dictionary-meta input:not([type=checkbox]),.dictionary-page .dictionary-meta select{padding:8px 10px}.dictionary-page .dictionary-meta .check-row{margin-top:8px;padding:5px 0 0}.dictionary-page .dictionary-meta .dictionary-times{display:flex;flex-wrap:wrap;column-gap:24px;row-gap:2px;margin-top:8px}.term-entry-row{display:flex;align-items:center;gap:10px}.term-entry-row .term-add{flex:1;margin:0}.term-entry-row .editor-actions{display:flex;gap:8px;flex-shrink:0;margin:0}.dictionary-page .term-toolbar{margin:12px 0}.dictionary-page .term-section-heading{margin-bottom:10px}.dictionary-page .dictionary-words{margin-bottom:14px}
@media(max-width:900px){.term-entry-row{flex-wrap:wrap}.term-entry-row .term-add{flex-basis:100%}}
@media(max-width:760px){.dictionary-page .dictionary-meta,.dictionary-page .dictionary-words{padding:16px}.dictionary-page .dictionary-meta .field+.field{margin-top:10px}.dictionary-page .page-heading h1{font-size:23px}.dictionary-page .page-heading{align-items:flex-start}.term-entry-row{gap:8px}.dictionary-page .term-section-heading{gap:6px}}

/* Use the full right column for the guide, retaining responsive page padding. */
.page.guide-page{max-width:none;width:100%}.guide-page>.prose{max-width:none;width:100%}

/* Keep whole-library deletion at the end of the page, away from editing and the fixed savebar. */
.dictionary-page #dict-form{display:flex;flex-direction:column;min-height:calc(100vh - 100px)}.dictionary-delete-area{margin-top:auto;padding-top:48px}.dictionary-delete-area[hidden]{display:none}.dictionary-delete-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0 12px;border-top:1px solid var(--line)}.dictionary-delete-row strong{display:block;color:var(--muted);font-size:12px;font-weight:500}.dictionary-delete-row small{display:block;margin-top:5px;font-size:12px}.dictionary-delete-row button{flex-shrink:0}

/* Badges fit their labels instead of stretching with their flex parents. */
.dict-card>.badge{align-self:flex-start}.check-row>.badge{flex:0 0 auto}

.cleanup-job{margin-top:8px}.minutes-markdown{min-width:0;max-width:100%;overflow-wrap:anywhere;font:14px/1.85 "Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink)}.minutes-markdown>:first-child{margin-top:0}.minutes-markdown h1{font-size:25px;line-height:1.45;letter-spacing:0;margin:1.2em 0 .65em}.minutes-markdown h2{font-size:20px;line-height:1.5;margin:1.5em 0 .7em;padding-bottom:.35em;border-bottom:1px solid var(--line)}.minutes-markdown h3{font-size:17px;margin:1.4em 0 .6em}.minutes-markdown h4,.minutes-markdown h5,.minutes-markdown h6{font-size:15px;margin:1.2em 0 .5em}.minutes-markdown p{margin:.8em 0}.minutes-markdown ul,.minutes-markdown ol{padding-left:1.7em;margin:.8em 0}.minutes-markdown li{margin:.4em 0}.minutes-markdown li>p{margin:.35em 0}.minutes-markdown strong{font-weight:650}.minutes-markdown blockquote{margin:1em 0;padding:.35em 1em;border-left:4px solid #b1909f;background:#f6f3f0;color:#65505a}.minutes-markdown blockquote p{margin:.4em 0}.minutes-markdown hr{border:0;border-top:1px solid var(--line);margin:1.5em 0}.minutes-markdown table{display:block;width:max-content;max-width:100%;overflow-x:auto;white-space:normal;margin:1.2em 0;border:1px solid var(--line);border-radius:7px;font-size:13px}.minutes-markdown th,.minutes-markdown td{padding:10px 13px;min-width:90px;max-width:360px;white-space:normal;border:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}.minutes-markdown th{font-weight:600;color:var(--ink);background:#f2ebee}.minutes-markdown tr:nth-child(even){background:#fbfaf9}.minutes-markdown code{font:12px/1.7 Consolas,monospace;background:#f2eaee;border-radius:4px;padding:2px 5px}.minutes-markdown pre{max-width:100%;overflow-x:auto;padding:15px;background:#f5f2ef;border:1px solid var(--line);border-radius:8px;white-space:pre}.minutes-markdown pre code{padding:0;background:none;white-space:pre}.minutes-markdown a{text-decoration:underline;text-underline-offset:3px}.minutes-markdown .markdown-task{list-style:none;margin-left:-1.4em;display:list-item}.minutes-markdown .markdown-task>input{width:14px;height:14px;margin:0 .5em 0 0;vertical-align:middle;accent-color:var(--green)}.detail-layout>div{min-width:0}@media(max-width:760px){.minutes-markdown h1{font-size:22px}.minutes-markdown h2{font-size:18px}.minutes-markdown th,.minutes-markdown td{padding:8px 10px;min-width:85px}}

.admin-user-identity{min-width:180px;max-width:320px;white-space:normal}.admin-user-identity strong{display:block;overflow-wrap:anywhere}.admin-user-note{display:block;margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;color:var(--muted)}#user-note{resize:vertical;min-height:88px}

.segment button.is-playing{background:var(--green);color:#fff}.segment button:focus-visible{outline:2px solid var(--green);outline-offset:3px}

/* 有词 · warm paper, mulberry ink and copper. */
::selection{background:#e9d5dc;color:#352c32}
body{line-height:1.55;-webkit-font-smoothing:antialiased}
.icon{width:20px;height:20px;flex:0 0 auto;vertical-align:middle}
button:disabled{cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
button:hover{background:#f5edef;border-color:#c4a6b0}
.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--brand);border-color:var(--brand);color:#fff}
.primary:hover{background:#603244;border-color:#603244;color:#fff;text-decoration:none}
.primary .icon{width:17px;height:17px}
input,textarea,select{border-color:#d9cfc9;border-radius:8px}
input::placeholder,textarea::placeholder{color:#91848a}
.brand{gap:12px;letter-spacing:2px;font-weight:600}
.brand-name{font:600 30px/1.2 "Noto Serif SC","Songti SC",SimSun,serif;letter-spacing:4px}
.brand-icon{width:38px;height:38px;border-radius:10px;background:#e8c7a4;color:#422b35;box-shadow:inset 0 0 0 1px #ffffff20}
.brand-icon .icon{width:24px;height:24px;stroke-width:1.65}
.sidebar{background:var(--dark);color:#eddee5;padding:32px 20px 24px;overflow-y:auto}
.sidebar .brand{padding-left:4px;margin-bottom:12px}
.side-caption{color:#d4b7a2;font-size:11px;letter-spacing:4px;margin:0 0 34px 54px}
.nav{gap:7px}
.nav a{display:flex;align-items:center;gap:13px;min-height:46px;padding:12px 16px;color:#cdbfc6;border:1px solid transparent;font-size:13px;border-radius:8px;transition:background .18s,color .18s}
.nav a .icon{width:19px;height:19px;opacity:.88}
.nav a.active{background:#563d4b;color:#fff4e8;border-color:#725161;box-shadow:inset 3px 0 #deba90}
.nav a.active .icon{color:#e8c7a4;opacity:1}
.nav a:hover{background:#45323e;color:#fff4e8}
.nav a.nav-create{margin-bottom:14px;border-color:#65505d;color:#f4e8ee}
.nav a:focus-visible{outline-color:#e8c7a4}
.side-bottom{border-color:#59434f;margin-top:auto;padding-top:20px}
.side-bottom .text-button{color:#dcc6d1;font-weight:400;font-size:12px}
.side-bottom .text-button:hover{background:#45323e}
.side-bottom small{color:#b6a0ab}
.avatar{background:#624454;color:#f1d8bf}
.topbar{height:72px;background:#fcfaf7;padding:0 40px;border-color:var(--line)}
.breadcrumb{color:var(--muted);font-size:12px;letter-spacing:.3px}
.breadcrumb-brand{color:var(--brand);font-weight:600;margin-right:10px}
.breadcrumb-brand+span{color:#b7a6ae;margin-right:10px}
.credit-pill{background:transparent;border:1px solid #dfd2c8;color:#705344;border-radius:7px;padding:6px 11px;font-size:11px}
.credit-pill strong{color:var(--brand);font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.page{padding:34px 40px 70px}
.page-heading{align-items:center;margin-bottom:26px}
h1{font-size:30px;font-weight:600;letter-spacing:1px;line-height:1.4;margin-bottom:0}
.page-heading p{font-size:12px;margin-top:8px}
h2{font-size:19px;font-weight:600;letter-spacing:0}
h3{font-weight:600;line-height:1.65}
.card{border-radius:12px;box-shadow:var(--shadow);background:#fffefd}
.workspace{gap:22px;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr)}
.card-heading{margin-bottom:22px}
.step{color:#998779;border-color:#e5d7cb;border-radius:4px;padding:3px 7px;font-variant-numeric:tabular-nums}
.dropzone{background:#faf6f1;border-color:#c9b6a8;border-radius:9px;min-height:225px;transition:background .15s,border-color .15s}
.dropzone:hover,.dropzone:focus-visible,.dropzone.drag{background:#f5ede8;border-color:var(--brand)}
.upload-icon{background:#efe1da;color:var(--brand);width:50px;height:50px;border-radius:13px}
.upload-icon .icon{width:24px;height:24px;stroke-width:1.6}
.dropzone strong{font-size:17px;font-weight:500}
.dropzone p{line-height:1.85}
.file-row{background:#f7f1ed}
.check-row{border-color:#eee5df}
.check-row small{font-size:11px;line-height:1.7}
.notice{background:#f6efe6;border-color:#e9ddcd;color:#77604d}
.submit-row{gap:14px}
.submit-row p{font-size:11px;line-height:1.9}
.submit-row button{white-space:nowrap}
.vocabulary-selection{border-top:3px solid #b78d68}
.vocabulary-selection h2{display:flex;gap:8px;align-items:center}
.vocabulary-selection h2 .icon{color:var(--brand);width:21px;height:21px}
.selection-hint{font-size:12px;margin-bottom:24px}
.icon-link,.queue-note a{display:inline-flex;align-items:center;gap:3px;font-size:12px}
.icon-link .icon,.queue-note .icon,.tabs a .icon{width:14px;height:14px}
.dict-choice{border-color:#eee6df;border-radius:5px;padding:11px 7px}
.dict-choice:hover,.dict-choice:focus-within{background:#f6efed}
.dict-choice:has(input:checked){background:#f3e9ec}
.dict-choice-count{color:#827079}
.dict-picker.is-scrollable{scrollbar-color:#c3abb4 #f7f2ed}
.dict-picker.is-scrollable::-webkit-scrollbar-track{background:#f7f2ed}
.dict-picker.is-scrollable::-webkit-scrollbar-thumb{background:#c3abb4}
.queue-note{margin:0;padding:0 4px;font-size:12px;color:var(--muted);line-height:1.9}
.quiet-details{color:var(--muted);font-size:12px;line-height:1.8}
.quiet-details summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:9px;width:fit-content;max-width:100%;padding:6px 0;color:#75666d}
.quiet-details summary::-webkit-details-marker{display:none}
.quiet-details summary:before{content:"+";font-size:15px;font-weight:400;line-height:1}
.quiet-details[open] summary:before{content:"−"}
.quiet-details p{max-width:800px;margin:8px 0 0;padding:12px 16px;background:#f1eae4;border-radius:6px}
.library-page{max-width:none}
.library-page .tabs{gap:10px;align-items:center;padding-bottom:13px;margin-bottom:24px}
.tabs button{color:var(--muted);padding:9px 15px}
.tabs button:hover{background:#f0e7e7}
.tabs button.active{background:#ebdde2;color:var(--brand);font-weight:600}
.tabs a{font-size:12px}
.grid-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.dict-card{position:relative;padding:24px 24px 20px;min-height:320px;transition:border-color .18s,box-shadow .18s}
.dict-card:hover{border-color:#c9acb7;box-shadow:0 8px 28px #52354109}
.library-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.library-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid #dfcbd2;background:#f3e9ed;border-radius:8px;color:var(--brand)}
.library-icon .icon{width:21px;height:21px}
.library-card-top .badge{background:#f1ede8;color:#817064;font-size:10px;padding:3px 8px}
.library-card-top .library-active{background:#f2e8dc;color:#805a35}
.dict-card .card-heading{margin-bottom:12px}
.dict-card h3{font-size:16px;letter-spacing:.2px}
.dict-card .count{font-size:35px;letter-spacing:-1px;font-weight:500;font-variant-numeric:tabular-nums;color:#684151}
.dict-card .count small{font-size:12px;letter-spacing:0;margin-left:3px}
.dict-card p{font-size:12px;line-height:1.9;margin:16px 0 12px;color:#7a6e73}
.dict-card p:empty{display:none}
.dict-card>.badge{background:#eee7e2;color:#786555}
.dictionary-times{font-size:10px;line-height:1.85;margin-top:13px}
.dictionary-times .badge{font-size:10px}
.card-footer{margin-top:18px;padding-top:16px}
.card-footer>small{font-size:11px}
.card-footer button{color:var(--brand);border-color:#dfcdd4;background:#fffdfc}
.library-policy{margin-top:22px;border-top:1px solid var(--line);padding-top:12px}
.term-tag{border-color:#e3d6dd;background:#f5eff2;border-radius:6px}
.term-tag:hover,.term-tag:focus-within{border-color:#b895a5;background:#ede0e7}
.term-tag-edit{color:#664152}
.term-tag-edit,.term-tag-text{font-size:13px;font-weight:400}
.dictionary-savebar{border-color:#deced5;box-shadow:0 8px 38px #52354118;border-radius:10px}
.dictionary-savebar .primary:disabled,.dictionary-savebar .primary:disabled:hover{background:#ede8e9;color:#9b9096;border-color:#e0d8dc}
.dictionary-savebar[data-dirty="true"]{background:#fff4e5;border-color:#c6a177;box-shadow:0 8px 38px #61411d20}
.badge{background:#eee9e6;color:#77696f}
.badge.completed,.badge.approved{background:#ede1e8;color:#754052}
.badge.running,.badge.queued{background:#f4e7cf;color:#8b632e}
.badge.failed,.badge.cancelled{background:#f7e8e5;color:#a25348}
th{background:#f5f0eb}td{border-color:#ede4de}
tbody tr:hover{background:#fcf8f5}
.stat{background:#fffefd}.stat strong{color:var(--brand);font-variant-numeric:tabular-nums}
.progress{background:#ece2e7}.progress>span{background:var(--brand)}
.segment{border-color:#eee5df}.segment button{background:#f0e7ec;color:var(--brand)}
.segment button.is-playing{background:var(--brand);color:#fff}
.minutes-markdown blockquote{border-left-color:#b58c9c;background:#f6f0f2;color:#6d5360}
.minutes-markdown th{background:#f1e9e4}.minutes-markdown tr:nth-child(even){background:#fcf9f6}
.minutes-markdown code,.minutes-markdown pre,.prose pre{background:#f4eeeb}
dialog::backdrop{background:#30232c60}
.auth{grid-template-columns:1.08fr 1fr;background:#faf7f2}
.auth-art{background:var(--dark);padding:48px 64px;color:#fff6ec;min-height:100vh}
.auth-story{padding:54px 0 48px}
.auth-kicker{font-size:12px;letter-spacing:5px;color:#c4a69e}
.auth-art h1{font:400 clamp(64px,6.8vw,100px)/1.35 "Noto Serif SC","Songti SC",SimSun,serif;letter-spacing:6px;margin:28px 0 28px}
.auth-art h1 em{color:#e2bc91;font-style:normal}
.auth-art p{font-size:15px;letter-spacing:3px;color:#cdbbc3;line-height:1.9;margin:0}
.auth-words{display:flex;gap:12px;flex-wrap:wrap;margin-top:38px}
.auth-words span{padding:7px 14px;border:1px solid #6a4d5b;border-radius:5px;color:#d9c3ce;font-size:12px;letter-spacing:1px}
.auth-foot{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #5b414f;padding-top:20px;font-size:10px;letter-spacing:2px;color:#b69ba9}
.auth-form{background:#faf7f2;padding:45px}
.auth-form h2{font-size:27px;font-weight:500;letter-spacing:1px}
.auth-form .eyebrow{color:#a67c60;font-size:10px;letter-spacing:2px;margin-bottom:16px}
.auth-form .muted{font-size:13px;margin-bottom:28px}
.auth-form input{background:#fffefc;padding:13px}
.auth-privacy{border-top:1px solid var(--line);padding-top:20px;margin-top:28px;color:#887780;font-size:11px;line-height:1.9}
@media(min-width:1500px){.library-page .grid-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.grid-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}.page,.topbar{padding-left:28px;padding-right:28px}.auth-art{padding:42px}.submit-row{flex-wrap:wrap}}
@media(max-width:1050px){.workspace{grid-template-columns:1fr}.auth-art{padding:34px}.auth-form{padding:36px}.auth-art h1{font-size:68px}.auth-foot{flex-direction:column;gap:8px}}
@media(max-width:760px){
 .sidebar{padding:20px 18px 12px;overflow:visible}
 .sidebar .brand{padding:0;margin-bottom:0;gap:10px}.brand-name{font-size:27px}.sidebar .brand-icon{width:34px;height:34px}.brand-icon .icon{width:22px;height:22px}
 .side-caption{display:block;margin:-23px 0 0 auto;width:fit-content;font-size:10px;letter-spacing:3px;line-height:23px}
 .nav{gap:5px;margin-top:22px;padding-bottom:2px;scrollbar-width:thin;scrollbar-color:#715463 transparent}
 .nav a{min-height:42px;padding:10px 12px;gap:7px;flex:0 0 auto;font-size:12px;border-radius:6px}
 .nav a .icon{width:17px;height:17px}.nav a.nav-create{margin:0 5px 0 0}
 .nav a.active{box-shadow:inset 0 -2px #deba90}
 .topbar{height:54px;padding:0 18px;gap:12px}.breadcrumb{font-size:11px}.breadcrumb-brand{margin-right:5px}.breadcrumb-brand+span{margin-right:5px}
 .credit-pill{padding:5px 8px;font-size:10px}.credit-pill strong{font-size:13px}
 .page{padding:24px 18px 55px}.page-heading{margin-bottom:20px;gap:12px}.page-heading h1{font-size:25px;letter-spacing:.5px}
 .page-heading>.primary{font-size:12px;padding:9px 12px;white-space:nowrap}.card{padding:20px}.workspace{gap:18px}
 .grid-cards{grid-template-columns:1fr;gap:15px}.dict-card{min-height:0;padding:21px}.library-card-top{margin-bottom:14px}.dict-card .card-heading{margin-bottom:12px}
 .dict-card .count{font-size:31px}.dict-card p{margin:13px 0}.library-page .tabs{gap:5px;flex-wrap:wrap;margin-bottom:18px}.tabs button{padding:8px 10px;font-size:12px}.tabs a{font-size:11px}
 .dropzone{min-height:210px;padding:22px 15px}.dropzone strong{font-size:16px}.check-row>.badge{font-size:10px;padding:3px 7px}.submit-row button{width:100%}
 .auth{grid-template-columns:1fr}.auth-art{padding:24px;min-height:0}.auth-story{padding:24px 0 0}.auth-kicker{display:none}
 .auth-art h1{font-size:45px;line-height:1.25;margin:0 0 14px;letter-spacing:3px}.auth-art h1 br{display:none}.auth-art p{font-size:12px;letter-spacing:2px}.auth-words,.auth-foot{display:none}
 .auth-form{padding:30px 25px 36px}.auth-form h2{font-size:24px}.auth-form .eyebrow{font-size:9px;margin-bottom:12px}.auth-privacy{margin-bottom:0}
 .dictionary-page .page-heading h1{font-size:23px}.quiet-details p{padding:12px}.term-tag-edit{min-height:42px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Administration: separate the approval notice from its search controls. */
.admin-user-notice{margin-bottom:16px}
