.thesis-page{padding-top:35px;padding-bottom:80px;--th-line:#34534f;--th-accent:#bdd5bf;color:#c9d4cf}.thesis-hero{display:flex;justify-content:space-between;align-items:center;margin:35px 0}.thesis-hero h1{font-family:var(--serif,serif);font-size:clamp(34px,4vw,52px);line-height:1.35;color:#f0ecdf;font-weight:500;margin:16px 0}.thesis-hero em{font-style:normal;color:#becfba}.thesis-hero p{line-height:1.8}.thesis-seal{border:1px solid #9eaf91;border-radius:36px 36px 4px 4px;padding:22px;font:24px/1.5 serif;color:#c1d0ad;margin-right:35px}.thesis-notice{padding:18px 20px;background:#182e30;border-left:3px solid #a5b8a3;border-radius:4px;line-height:1.8}.thesis-page a{color:#c3d6b8}.thesis-notice a{display:inline-block;margin-left:15px}.thesis-upload{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:24px;border:1px dashed #7e9890;border-radius:10px;margin:28px 0 14px;background:#15272a}.thesis-upload label{display:grid;gap:12px}.thesis-upload span,.thesis-upload p{font-size:13px;line-height:1.8;color:#9eafaa}.thesis-page input,.thesis-page select{width:100%;min-width:0;padding:10px;background:#0f2024;border:1px solid #4c6560;color:#e0e6db;border-radius:5px;font:inherit;font-size:14px}.thesis-page input[type=checkbox]{width:17px;height:17px;accent-color:#aec4a4}.thesis-page input[type=file]{font-size:13px}.thesis-page button,.th-file-button{display:inline-flex;justify-content:center;align-items:center;min-height:40px;padding:8px 13px;background:#243e3d;color:#e4e8da;border:1px solid #506d62;border-radius:5px;cursor:pointer;font:inherit;font-size:13px;line-height:1.4}.thesis-page button:hover{background:#36514b}.thesis-page button.primary{background:#becdb2;color:#172b28;font-weight:700}.thesis-page button:disabled{opacity:.45;cursor:not-allowed}.thesis-page :focus-visible{outline:3px solid #ccbe87;outline-offset:3px}.thesis-page details{border:1px solid #34504e;border-radius:8px;padding:20px;margin:24px 0;background:#14272b}.thesis-page summary{cursor:pointer;font-size:17px;color:#e1e6d7;font-weight:600}.thesis-page details p{font-size:13px;line-height:1.9;color:#b1c0b8}.thesis-profile-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px;margin:20px 0}.thesis-profile-grid label{display:grid;gap:8px;font-size:12px;line-height:1.5}.th-check{display:inline-flex!important;align-items:center;gap:7px;font-size:12px;white-space:nowrap}.th-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.th-actions>label{font-size:12px;display:flex;align-items:center;gap:7px}.th-actions select{width:auto;max-width:210px}.th-file-button{position:relative;overflow:hidden}.th-file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.th-work-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:22px;align-items:start}.th-work-grid>section{min-width:0;border:1px solid #385651;background:#15272a;padding:18px;border-radius:8px}.th-work-grid>section>p{font-size:13px;line-height:1.8;color:#acbbb1}.th-panel-title{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;align-items:center;margin-bottom:16px}.th-panel-title h2{font-size:19px;font-weight:500;color:#dce3d3;margin:0}.th-panel-title span{font-size:12px}#th-compare-panel{grid-column:1/-1}.th-para{padding:14px;background:#112125;border:1px solid #334c48;border-left:3px solid #9e895f;border-radius:5px;margin-top:12px;scroll-margin-top:100px}.th-para.confirmed{border-left-color:#789e88}.th-para-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.th-para-top>label:not(.th-check){margin-left:auto;max-width:140px}.th-para-top small,.th-para>small{font-size:11px;color:#96aaa1}.th-para p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9;margin:12px 0;max-height:180px;overflow:auto}.th-issue{padding:16px;background:#102226;border:1px solid #334c48;border-radius:6px;margin-top:13px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.th-issue>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.th-issue label{display:flex;align-items:center;gap:7px;color:#e4e5d6}.th-badge{padding:0 6px;border-radius:3px;background:#413b2a;color:#ded0ad;font-size:11px}.th-badge.fixable{background:#2d4f42;color:#c6dcca}.th-badge.report{background:#2c3d45;color:#b1c8d4}.th-issue button.th-anchor{min-height:26px;padding:2px 7px;font-size:11px;margin-left:auto;background:transparent}.th-excerpt{max-height:52px;overflow:auto;color:#91a79c}.th-issue dl{display:grid;grid-template-columns:35px minmax(0,1fr);gap:4px;margin:10px 0}.th-issue dd{margin:0;color:#d2d9cd}.th-issue dt{color:#8aa497}.th-change{background:#102226;border:1px solid #334c48;border-radius:6px;padding:15px;margin:12px 0;font-size:13px;line-height:1.9;overflow-wrap:anywhere}.th-change h3{font-size:14px;margin:0}.th-change ul{padding-left:18px}.th-change li{margin:8px 0}.th-change del{color:#c8bfa8}.th-change ins{color:#b7d2b0;text-decoration:none}.th-empty{padding:30px 15px;font-size:13px;color:#96aa9e}.thesis-download{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;border:1px solid #4d695b;border-radius:8px;background:#1c3331f5;padding:20px;backdrop-filter:blur(8px);margin-top:24px;z-index:8;box-shadow:0 8px 32px #0004}.thesis-download p{font-size:12px;line-height:1.7;max-width:520px;color:#a5b5a8;margin:6px 0 0}#th-status{min-height:26px;color:#c0d4b4;font-size:13px;line-height:1.8}#th-status.error{color:#ecc1ae}.th-mobile-tabs{display:none}.thesis-page [hidden]{display:none!important}@media(max-width:1000px){.thesis-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.th-work-grid{gap:12px}.th-para-top>label:not(.th-check){max-width:120px}}@media(max-width:700px){.thesis-page{padding-top:22px}.thesis-hero{margin:25px 0}.thesis-seal{margin:0;padding:15px;font-size:21px}.thesis-hero p{font-size:13px;max-width:250px}.thesis-upload{grid-template-columns:1fr;gap:10px;padding:18px}.thesis-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.thesis-page details{padding:15px}.th-work-grid{display:block}.th-work-grid>section{padding:15px}.th-work-grid[data-tab=structure]>section:not(#th-structure-panel),.th-work-grid[data-tab=issues]>section:not(#th-issues-panel),.th-work-grid[data-tab=compare]>section:not(#th-compare-panel){display:none}.th-mobile-tabs{display:flex;gap:6px;margin-bottom:12px;position:sticky;top:65px;z-index:7;padding:8px;background:#102125}.th-mobile-tabs button{flex:1}.th-mobile-tabs button[aria-pressed=true]{background:#bdcdb3;color:#192d29}.thesis-download{position:relative;padding:16px}.thesis-download .th-actions{width:100%}.thesis-download button.primary{flex:1}.th-panel-title button{font-size:12px}.thesis-page h1{font-size:33px}.thesis-notice{font-size:12px}.thesis-page .th-actions>button{min-height:42px}.thesis-boundary p{overflow-wrap:anywhere}}

#th-structure,#th-issues{max-height:640px;overflow:auto;overscroll-behavior:contain;padding-right:5px}#th-changes{max-height:500px;overflow:auto;overscroll-behavior:contain}#th-structure::-webkit-scrollbar,#th-issues::-webkit-scrollbar,#th-changes::-webkit-scrollbar{width:6px}#th-structure::-webkit-scrollbar-thumb,#th-issues::-webkit-scrollbar-thumb,#th-changes::-webkit-scrollbar-thumb{background:#536f61;border-radius:6px}@media(max-width:700px){#th-structure,#th-issues{max-height:65vh}#th-changes{max-height:65vh}}

.th-confirm-dialog{max-width:min(520px,90vw);border:1px solid #79927c;border-radius:10px;background:#17302f;color:#dce3d3;padding:28px;box-shadow:0 20px 80px #0009}.th-confirm-dialog::backdrop{background:#07161ac9;backdrop-filter:blur(4px)}.th-confirm-dialog h2{font-size:21px}.th-confirm-dialog p{line-height:1.9;font-size:14px;overflow-wrap:anywhere}.th-confirm-dialog .th-actions{justify-content:flex-end}

.thesis-upload>div{min-width:0}.thesis-upload b{overflow-wrap:anywhere}

.thesis-presets{margin:25px 0;border:1px solid #38534c;border-radius:10px;background:#15282b;padding:23px}.thesis-presets h2{font-size:23px;color:#e2e6d7;margin:0}.thesis-presets .th-panel-title p{font-size:13px;color:#a7baac;line-height:1.8}.th-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:20px}.th-preset-card{min-width:0;border:1px solid #486357;border-radius:8px;padding:19px;background:#102326;display:flex;flex-direction:column;align-items:flex-start;gap:11px}.th-preset-card:has(button[aria-pressed=true]){border-color:#c4d1ac;background:#213b34;box-shadow:inset 0 0 0 1px #9eb88b}.th-preset-card small{color:#a8b99c;font-size:11px;line-height:1.6}.th-preset-card h3{color:#ebeddf;font-size:18px;margin:0;line-height:1.5}.th-preset-card>p{font-size:13px;line-height:1.85;margin:0;color:#acbfb1}.th-preset-card>b{font-weight:500;font-size:12px;color:#d2d9bd;line-height:1.7}.th-preset-card>button{margin-top:auto;width:100%;min-height:42px}.th-preset-card>button[aria-pressed=true]{background:#b9caa7;color:#172d26}.th-preset-card details{margin:0;padding:0;border:0;background:none;width:100%}.th-preset-card details summary{font-size:12px;font-weight:400;color:#b5c6b6}.th-preset-card details a{font-size:12px;overflow-wrap:anywhere}.th-preset-note{font-size:12px;line-height:1.9;color:#92aa9b}#th-preset-current{color:#cfdbbf;font-size:13px;margin-top:18px}.thesis-presets [aria-pressed=true]{background:#3b594a}@media(max-width:1000px){.th-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.thesis-presets{padding:16px}.th-preset-grid{grid-template-columns:1fr}.th-preset-card{padding:17px}.thesis-presets h2{font-size:21px}}
