:root{font-family:Arial,Helvetica,sans-serif;color:#243447;background:#f5f7f8;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,select{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #62b9c1;outline-offset:2px}button:disabled{opacity:.55;cursor:wait}input,textarea,select{border:1px solid #cbd5db;border-radius:5px;background:#fff;color:#243447;padding:9px 10px}textarea{width:100%;resize:vertical}h1,h2,h3,p{margin:0}h1{font-size:26px;margin:12px 0}h2{font-size:17px}h3{font-size:15px}.muted{color:#687b87}.small-text{font-size:12px}.error{color:#a72c38;min-height:20px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;background:#0d727f;color:#fff;border-radius:5px;font-size:25px;font-weight:bold}.brand-mark.small{width:32px;height:32px;font-size:19px;background:#fff;color:#243447}.login{min-height:100vh;display:grid;place-items:center;padding:20px}.login[hidden], [hidden]{display:none!important}.login-form{width:min(100%,400px);background:white;border:1px solid #dce4e8;padding:32px;border-radius:8px}.login-label{margin-top:18px;font-weight:bold}.login-form label{display:block;margin-top:20px;font-weight:bold}.login-form input{display:block;width:100%;margin-top:8px}.login-form .primary{width:100%;margin-top:10px}.primary,.outline,.text-button{border-radius:5px;padding:9px 13px;font-weight:bold}.primary{background:#0d727f;color:#fff;border:1px solid #0d727f}.primary:hover{background:#095d68}.outline{background:#fff;color:#0d727f;border:1px solid #a9c5c9}.outline:hover{background:#edf7f7}.text-button{background:none;border:0;color:#536b79}.app{height:100dvh;display:flex;flex-direction:column}.header{height:60px;background:#243447;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 20px;gap:20px}.heading,.header-right{display:flex;align-items:center;gap:12px}.heading-divider{opacity:.45;margin:0 8px}.header-right{font-size:13px;color:#d7e3e9}.workspace{display:grid;grid-template-columns:250px minmax(0,1fr) 340px;min-height:0;flex:1}.panel{background:#fff;min-height:0;display:flex;flex-direction:column}.pages-panel{border-right:1px solid #dce4e8}.comments-panel{border-left:1px solid #dce4e8}.panel-heading{padding:20px 18px 14px;display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.panel-heading p{font-size:12px;margin-top:5px}.panel-heading select{max-width:135px;font-size:12px;padding:7px}.panel-pad{padding:0 12px 12px}.panel-pad input{width:100%}.page-list,.comments-list{overflow:auto;min-height:0}.group-title{padding:14px 18px 7px;color:#738590;font-size:12px;font-weight:bold}.page-button{width:100%;text-align:left;border:0;background:none;padding:10px 18px;display:flex;align-items:center;gap:9px;color:#334b5b}.page-button:hover{background:#f3f7f7}.page-button.active{background:#e6f2f3;color:#075d68;box-shadow:inset 3px 0 #0d727f;font-weight:bold}.page-button span:first-child{flex:1}.dot{width:8px;height:8px;border-radius:50%;background:#bdcbd1;flex:none}.dot.approved{background:#2a8a75}.dot.changes{background:#d39643}.preview-panel{min-width:0;min-height:0;display:flex;flex-direction:column}.preview-toolbar{background:#fff;border-bottom:1px solid #dce4e8;padding:12px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.current-page{display:flex;flex-direction:column;gap:3px;min-width:0}.current-page span{color:#788a94;font-size:12px;overflow:hidden;text-overflow:ellipsis}.toolbar-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.toolbar-actions select{font-size:12px}.segmented{display:flex;border:1px solid #cbd5db;border-radius:5px;overflow:hidden}.segmented button{border:0;background:#fff;color:#536b79;padding:8px 10px;font-size:12px}.segmented button.active{background:#e5f2f3;color:#075d68;font-weight:bold}.preview-hint{padding:9px 16px;background:#eef7f7;color:#376b70;font-size:12px}.preview-area{overflow:auto;flex:1;min-height:0;padding:20px;display:flex;align-items:flex-start;justify-content:center}.frame-wrap{flex:none;background:#fff;box-shadow:0 2px 12px #2434471c;overflow:hidden}iframe{display:block;border:0;transform-origin:top left;background:white}.empty{padding:26px 18px;color:#788a94;line-height:1.5}.page-actions{padding:0 18px 14px;border-bottom:1px solid #e4eaed;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.page-actions button{font-size:12px}.notice{margin:12px 16px 0;padding:10px;background:#fff3e9;color:#8b4a24;border-radius:4px;line-height:1.4}.composer{padding:16px 18px;background:#f0f8f8;border-bottom:1px solid #dce9e9}.composer p{margin:7px 0 12px}.composer label{display:block;font-size:12px;font-weight:bold;margin:10px 0 6px}.file-label input{display:block;width:100%;font-size:12px;margin-top:6px}.button-row{display:flex;align-items:center;gap:5px;margin-top:12px}.comment{border-bottom:1px solid #e6ecef;padding:15px 18px;cursor:pointer}.comment:hover,.comment.selected{background:#f3f8f8}.comment-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.comment-meta{font-size:12px;color:#788a94;margin-top:7px}.comment-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;margin:10px 0}.badge{font-size:11px;font-weight:bold;padding:4px 7px;border-radius:4px;background:#e9eff2;color:#536b79;white-space:nowrap}.badge.in_progress{background:#fff2db;color:#876019}.badge.ready{background:#e6f1fa;color:#34698b}.badge.accepted{background:#e4f4ec;color:#28725b}.comment select{width:100%;font-size:12px}.reply{border-left:2px solid #c9dcdf;padding-left:10px;margin-top:12px}.reply p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px;line-height:1.4}.reply-form{margin-top:12px}.reply-form button{margin-top:7px;font-size:12px}.attachment-link{color:#0d727f;display:inline-block;margin-bottom:10px}.mobile-tabs{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:1050px){.workspace{grid-template-columns:210px minmax(0,1fr) 300px}.header-right{gap:8px}}@media(max-width:760px){.header{height:auto;min-height:56px;padding:10px 14px}.header-right{font-size:11px;flex-direction:column;align-items:flex-end;gap:2px}.heading-divider,.heading div span:last-child{display:none}.mobile-tabs{display:flex;background:#fff;border-bottom:1px solid #dce4e8}.mobile-tabs button{flex:1;padding:11px;border:0;background:white;color:#607784}.mobile-tabs button.active{color:#0d727f;box-shadow:inset 0 -3px #0d727f;font-weight:bold}.workspace{display:block;flex:1;min-height:0}.workspace>[data-panel]{display:none;height:100%;border:0}.workspace>[data-panel].mobile-active{display:flex}.preview-area{padding:12px}.preview-toolbar{padding:10px 12px}.preview-hint{padding:8px 12px}.toolbar-actions{width:100%;justify-content:space-between}}

.logout{background:none;border:1px solid #8596a2;color:#fff;border-radius:4px;padding:6px 9px;font-size:12px}.logout:hover{background:#ffffff1c}

.export-link{color:#fff;font-size:12px;text-decoration:underline;text-underline-offset:3px}.toolbar-actions .outline{font-size:12px;padding:8px 10px}.app.wide .workspace{grid-template-columns:minmax(0,1fr)}.app.wide .pages-panel,.app.wide .comments-panel{display:none}@media(max-width:760px){.app.wide .workspace>[data-panel="preview"]{display:flex}.app.wide .mobile-tabs{display:none}.export-link{font-size:11px}}

.frame-wrap{position:relative}.frame-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#f5f7f8ed;color:#536b79;text-align:center;padding:20px}

.preview-welcome{align-self:center;max-width:460px;padding:36px;line-height:1.6}.preview-welcome h2{font-size:24px;line-height:1.3;margin-bottom:14px}.preview-welcome p{color:#687b87;margin-bottom:24px}

.review-switch{display:flex;gap:8px;padding:0 18px 14px}.review-switch button{font-size:12px;white-space:nowrap}.review-switch button[aria-pressed="true"]{background:#e6f2f3}.review-switch input{min-width:0;width:100%;font-size:12px}.page-count-badge{font-size:11px;color:#687b87;white-space:nowrap}.comment-page{color:#0d727f;font-size:12px;margin-top:7px}.comment-page-button{margin-top:8px;font-size:12px}
