:root{font-family:Arial,Helvetica,sans-serif;color:#203c36;background:#f0f0e8;font-synthesis:none;font-weight:400;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #ae623c}button{cursor:pointer;border:1px solid #ccd4c7;background:#fffef7;color:#29483f;border-radius:5px;padding:10px 13px;transition:background .16s,transform .16s}button:hover{background:#e4eadd;transform:translateY(-1px)}button:disabled{opacity:.4;cursor:default}input,select,textarea{width:100%;min-width:0;padding:10px;background:#fffef8;border:1px solid #c6cebf;border-radius:4px;color:#253b32}input[type=checkbox]{width:15px;height:15px;accent-color:#477a67}input[type=number]{font-variant-numeric:tabular-nums}label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.07em;line-height:1.6;color:#607265}label input,label select{margin-top:5px}textarea{min-height:100px;resize:vertical}h1,h2,p{margin-top:0}.app{min-height:100vh}header{height:88px;border-bottom:1px solid #cbd4c6;padding:20px 34px;display:flex;align-items:center;justify-content:space-between;background:#f7f7ef}.brand{display:flex;align-items:center;gap:13px;color:#203c36;text-decoration:none;font-size:17px;font-weight:700;letter-spacing:.14em}.brand small{display:block;font-size:8px;letter-spacing:.19em;margin-top:6px;color:#6a7c6e}.logo{font-family:Georgia,serif;font-style:italic;font-size:43px;letter-spacing:-14px;padding-right:15px;position:relative}.logo span{color:#b8754c}nav{display:flex;align-items:center;gap:10px}.local-dot{font-size:9px;letter-spacing:.12em;color:#627666;margin-right:14px}.local-dot:before,.status-dot{content:"";display:inline-block;background:#4c816b;width:6px;height:6px;border-radius:50%;margin-right:8px}main{display:grid;grid-template-columns:320px minmax(0,1fr);min-height:calc(100vh - 130px)}aside{padding:32px 25px;border-right:1px solid #cbd4c6;background:#e9eddf}.section-number,.eyebrow{font-size:9px;letter-spacing:.16em;color:#6a7c6e;font-weight:700}.section-number{margin-bottom:18px}h1{font-family:Georgia,serif;font-weight:400;font-size:36px;line-height:1.05;letter-spacing:-1px;margin:22px 0 18px}h1 em{font-weight:400;color:#61806b}.intro{line-height:1.65;font-size:12px;color:#6c7c69;margin-bottom:24px}.subtle{font-size:10px;padding:6px 10px;margin:6px 0 20px}.paired{display:flex;gap:8px;align-items:end}.paired label{flex:1}.paired button{height:39px}.rule{height:1px;background:#c9d1c0;margin:25px 0}h2{font-family:Georgia,serif;font-size:22px;font-weight:400;margin:5px 0 12px}aside h2{font-size:18px;display:flex;justify-content:space-between;align-items:center}h2 span{font-family:Arial;font-size:10px}.hint{font-size:11px;line-height:1.6;color:#77816e}.chips{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:20px;max-height:230px;overflow:auto;padding:3px}.chips button{padding:6px 8px;font-family:Georgia,serif;font-size:13px}.chips small{font-family:Arial;font-size:8px;color:#87927e;margin-right:5px}.chips button.active{background:#294b3e;color:#fffef6;border-color:#294b3e}.chips button.active small{color:#bbcfb7}aside>button{margin-top:7px}.token-editor{margin-top:17px;padding:12px;background:#dfe6d5;border-radius:6px}.button-row{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.button-row button{font-size:11px}.danger{color:#9b593d}.primary{background:#2e5947;color:#fffdf3;border-color:#2e5947}.primary:hover{background:#416a55}.canvas-column{min-width:0;padding:26px 32px 60px}.canvas-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.canvas-toolbar h2{font-size:25px;margin-top:8px;margin-bottom:0}.toolbar-controls{display:flex;gap:14px;align-items:center}.toolbar-controls input[type=number]{width:93px}.check{display:flex;gap:6px;align-items:center;text-transform:none;letter-spacing:0;white-space:nowrap}.check input{margin:0}.proof-wrap{max-width:100%;overflow:auto;background:#dfe4d8;padding:23px;border:1px solid #cfd8c8;border-radius:8px}.paper{background:#fffdf5;box-shadow:0 7px 14px #30493412;border-radius:2px;padding:25px 30px;min-height:330px;animation:reveal .45s ease-out}.paper-top,.paper-bottom{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.17em;color:#a3ab96}.paper-top{margin-bottom:24px;border-bottom:1px solid #ecebdf;padding-bottom:15px}.paper-bottom{margin-top:14px;border-top:1px solid #ecebdf;padding-top:16px}.proof{display:block;font-family:Georgia,serif}.proof-status{display:flex;justify-content:space-between;gap:14px;padding:15px 0;color:#7b8977;font-size:10px;align-items:center}.proof-status i{width:6px;height:6px;border-radius:50%;display:inline-block;margin:0 5px 0 12px}.tier-one{background:#b8754c}.tier-two{background:#6a9d90}.diagnostic{font-size:12px;color:#55725e;background:#e6ebde;padding:13px 16px;border-left:3px solid #8ea180;line-height:1.5}.diagnostic small{display:block;font-size:10px;color:#899381;margin-top:4px}.gloss-panel{padding-top:31px}.gloss-panel .section-number,.export-panel .section-number{margin-bottom:8px;display:block}.gloss-form{display:grid;grid-template-columns:2.3fr .8fr .8fr .9fr .6fr;gap:9px;margin-top:20px}.gloss-list{margin-top:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.gloss-list button{text-align:left;display:flex;align-items:center;gap:9px;min-width:0;background:#f7f8ef}.gloss-list button.selected{border-color:#64826d;background:#e5eddd}.gloss-list strong{font-weight:400;font-size:12px;flex:1;overflow-wrap:anywhere}.gloss-list small{font-size:9px;color:#8b9581;white-space:nowrap}.badge{font-size:10px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.t1{color:#a66c47;background:#f1dfcb}.t2{color:#587e6d;background:#dce8d5}.export-panel{border-top:1px solid #d0d8c8;margin-top:29px;padding-top:25px}.export-panel h2{font-size:26px}.export-panel .hint{max-width:550px}details{border-top:1px solid #d0d8c8;margin-top:22px;padding-top:15px;color:#71816d;font-size:12px;line-height:1.6}summary{cursor:pointer;margin-bottom:14px}details input[type=file]{max-width:430px;margin-bottom:15px}details p{max-width:800px}footer{position:sticky;bottom:0;background:#234336;color:#cddbc5;min-height:40px;padding:12px 25px;font-size:10px;display:flex;gap:4px;align-items:center;z-index:2}.status-dot{background:#b3c7a7;flex-shrink:0}.footer-mark{margin-left:auto;letter-spacing:.16em;font-size:8px;color:#90a98b}.blank-proof{text-align:center;font-family:Georgia,serif;font-size:26px;color:#9eac94;line-height:1.4}.empty{font-family:Georgia,serif;color:#7f9176;font-size:15px}@keyframes reveal{0%{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:none}}@media(max-width:1100px){main{grid-template-columns:275px minmax(0,1fr)}aside{padding:25px 18px}.canvas-column{padding:24px 20px}.gloss-form{grid-template-columns:repeat(4,minmax(0,1fr))}.gloss-text{grid-column:1/-1}.gloss-list{grid-template-columns:1fr}.local-dot{display:none}.canvas-toolbar{align-items:start;flex-direction:column}}@media(max-width:740px){header{padding:15px;height:auto;gap:14px;flex-wrap:wrap}.brand{font-size:14px}nav button{font-size:11px;padding:8px}main{display:flex;flex-direction:column}aside{border-right:0;border-bottom:1px solid #cbd4c6}.chips{max-height:140px}.canvas-column{padding:22px 14px 35px}.proof-wrap{padding:12px}.proof-status{flex-wrap:wrap}.footer-mark{display:none}.gloss-form{grid-template-columns:repeat(2,minmax(0,1fr))}h1{font-size:32px}.intro{max-width:350px}.gloss-list button{padding:10px}.paper{padding:20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}button:hover{transform:none}}
