.work-page{max-width:1040px;padding-top:clamp(32px,6vw,76px);padding-bottom:clamp(56px,8vw,100px)}.work-page h1{letter-spacing:-.055em;margin:0 0 24px;font-size:clamp(42px,7vw,72px);line-height:1}.work-panel{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:8px;padding:clamp(20px,4vw,38px)}.work-panel+.work-panel{margin-top:20px}.work-panel h2{letter-spacing:-.035em;margin-bottom:8px;font-size:clamp(24px,4vw,32px)}.work-panel p{color:var(--muted);line-height:1.6}.work-form{margin-top:24px}.work-form label{margin-bottom:8px;font-size:14px;font-weight:600;display:block}.work-form>div{gap:12px;display:flex}.work-form input{min-width:0;min-height:48px;font:inherit;border:1px solid #b7c0c6;border-radius:5px;flex:1;padding:10px 12px;font-size:16px}.work-form .button{min-height:48px}.work-panel>.button,.work-panel>.work-action{margin:16px 8px 0 0}.work-panel button:disabled{opacity:.6;cursor:wait}.work-panel :is(button,input,a):focus-visible{outline:2px solid var(--violet);outline-offset:3px}.work-share{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:14px;display:flex}.work-share a{color:#5135a5;overflow-wrap:anywhere;text-decoration:underline}.work-action{border:1px solid var(--line);min-height:44px;color:var(--ink);background:#fff;border-radius:5px;padding:6px 12px;font-size:13px;font-weight:600}.work-action:hover:not(:disabled){background:var(--paper)}a.work-action{align-items:center;display:inline-flex}.work-notice{margin-top:12px}.work-notice[role=alert],.work-remove{color:#9b2635}.work-people{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.work-people h3{margin-bottom:8px;font-size:18px}.work-people ul{margin:0;padding:0;list-style:none}.work-people li{justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.work-people li+li{border-top:1px solid var(--line)}.work-people li span{overflow-wrap:anywhere;min-width:0}.work-people small,.work-item-name small{color:var(--muted);margin-top:3px;font-size:12px;display:block}.work-section-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.work-section-title h3{overflow-wrap:anywhere;min-width:0}.work-sync{color:var(--muted);font-size:13px}.work-sync.live{color:#06715c}.work-breadcrumb,.work-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0 14px;display:flex}.work-breadcrumb-link{color:#5135a5;text-align:left;overflow-wrap:anywhere;background:0 0;border:0;padding:4px 0}.work-breadcrumb-link:hover{text-decoration:underline}.work-breadcrumb-link[aria-current=page]{color:var(--ink);font-weight:600}.work-folder-form{margin:12px 0}.work-items{border-top:1px solid var(--line);margin:18px 0 0;padding:0;list-style:none}.work-items>li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.work-items>.work-selected{background:#f4f0fc}.work-item-name{overflow-wrap:anywhere;align-items:center;gap:12px;min-width:0;display:flex}.work-item-name svg{color:#5135a5;flex:none}.work-item-name>div{min-width:0}.work-item-actions{flex-wrap:wrap;flex:none;gap:6px;display:flex}.work-empty{margin:12px 0}.work-subpanel{border:1px solid var(--line);border-radius:6px;margin-top:16px;padding:16px}.work-share-form{flex-wrap:wrap;align-items:flex-end;gap:10px;margin:14px 0;display:flex}.work-share-form label{gap:5px;min-width:0;font-size:13px;font-weight:600;display:grid}.work-share-form select{background:#fff;border:1px solid #b7c0c6;border-radius:5px;max-width:100%;min-height:44px;padding:8px;font-size:16px}.work-file-dialog{box-sizing:border-box;border:1px solid var(--line);width:min(1040px,100% - 28px);max-width:none;max-height:calc(100dvh - 40px);color:var(--ink);background:#fff;border-radius:10px;margin:auto;padding:0;position:fixed;inset:0;overflow:auto;box-shadow:0 14px 56px #10171f40}.work-file-dialog::backdrop{background:#10171f80}.work-file-header{z-index:1;border-bottom:1px solid var(--line);background:#fff;padding:14px 20px 10px;position:sticky;top:0}.work-file-header h3{overflow-wrap:anywhere;min-width:0;margin:0}.work-file-actions{gap:6px;margin-top:8px}.work-file-actions .work-action[aria-pressed=true]{color:#35246d;background:#f4f0fc;border-color:#7764ad;font-weight:600}.work-file-download{margin-left:auto}.work-file-body{min-height:180px;padding:16px 20px 20px}.work-html-frame,.work-text-preview,.work-editor textarea{box-sizing:border-box;border:1px solid var(--line);background:#fff;border-radius:4px;width:100%;min-height:360px;max-height:65vh;margin:0;display:block}.work-html-frame{height:55dvh}.work-html-frame[hidden]{display:none}.work-html-status{padding:12px 16px}.work-html-status .work-action{margin-top:8px}body:has(.work-page-html)>:is(.site-header,.footer,.guide-launcher,.guide-panel){display:none}.work-page-html.container{width:100%;max-width:none;padding:0}.work-page-html>.work-panel:not(.work-html-page){max-width:min(660px,100% - 32px);margin:20px auto}.work-html-page{border:0;border-radius:0;flex-direction:column;height:100dvh;padding:0;display:flex;overflow:hidden}.work-html-bar{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;padding:6px 12px;display:flex}.work-html-page h2{overflow-wrap:anywhere;min-width:0;margin:0;font-size:clamp(16px,3vw,20px)}.work-html-page .work-toolbar{margin:0}.work-html-page>.work-notice{margin:0;padding:6px 12px}.work-text-preview,.work-editor textarea{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;font:14px/1.5 ui-monospace,monospace;overflow:auto}.work-editor textarea{resize:vertical;font-size:16px}.work-html-editor{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.work-image-preview,.work-pdf-page{max-width:100%;height:auto;margin:0 auto;display:block}.work-pdf-page[hidden]{display:none}.work-pdf-page{border:1px solid var(--line);background:#fff}.work-preview-pages{justify-content:center;align-items:center;margin:0 0 14px}.work-office-bar{flex-wrap:wrap;align-items:flex-end;gap:12px;margin:12px 0;display:flex}.work-office-bar p{align-self:center;margin:0}.work-office-fields{gap:8px;display:grid}.work-office-cells{grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr))}.work-office-bar label,.work-office-fields label{gap:4px;min-width:0;font-size:13px;font-weight:600;display:grid}.work-office input,.work-office select{min-height:44px;color:var(--ink);font:inherit;background:#fff;border:1px solid #b7c0c6;border-radius:5px;padding:8px;font-size:16px}.work-office input[aria-invalid=true]{border-color:#9b2635}.work-office-conflict{border-left:3px solid #9b2635;margin:12px 0;padding-left:12px}.work-office-conflict li{overflow-wrap:anywhere}.work-office-paper{border:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;max-width:780px;min-height:240px;margin:0 auto 12px;padding:clamp(16px,4vw,42px)}.work-office-paper p{color:var(--ink);margin:0 0 14px}.work-slide-preview{background:#faf9fc;min-height:clamp(220px,35vw,440px)}.work-slide-preview p:first-child{font-size:clamp(19px,3vw,32px);font-weight:650}.work-sheet-preview{border:1px solid var(--line);max-width:100%;margin-bottom:12px;overflow:auto}.work-sheet-preview table{border-collapse:collapse;width:max-content;min-width:100%}.work-sheet-preview td,.work-sheet-preview th{border:1px solid var(--line);text-align:left;padding:8px 10px}.work-sheet-preview td{white-space:pre-wrap;overflow-wrap:anywhere;min-width:95px;max-width:280px}.work-sheet-preview th{color:var(--ink);background:#f4f2f8}@media (max-width:740px){.work-items>li{flex-direction:column;align-items:flex-start}.work-html-editor{grid-template-columns:1fr}}@media (max-width:480px){.work-form>div{flex-direction:column}.work-share-form{flex-direction:column;align-items:stretch}.work-file-dialog{width:calc(100% - 12px);max-height:calc(100dvh - 16px)}.work-file-header,.work-file-body{padding-left:12px;padding-right:12px}}.work-file-dialog-html[open]{flex-direction:column;width:calc(100% - 12px);height:calc(100dvh - 12px);max-height:none;display:flex;overflow:hidden}.work-file-dialog-html .work-file-header{flex-wrap:wrap;flex:none;align-items:center;gap:4px 8px;padding:6px 12px;display:flex;position:static}.work-file-dialog-html .work-section-title{flex:1;min-width:0}.work-file-dialog-html .work-file-actions,.work-file-dialog-html .work-file-download{margin:0}.work-file-dialog-html .work-file-body{flex-direction:column;flex:1;min-height:0;padding:0;display:flex}.work-file-dialog-html .work-file-body-editor{padding:12px;display:block;overflow:auto}.work-html-page>.work-html-frame,.work-file-dialog-html .work-file-body>.work-html-frame{border:0;border-radius:0;flex:1;height:auto;min-height:0;max-height:none}@media (max-width:600px){.work-file-dialog-html .work-file-actions{flex-basis:100%}}
