.tools-hero{background:#f5f0ff;padding:44px 0 30px;text-align:center}.tools-hero h1{font-size:clamp(30px,4vw,46px);margin:12px 0;letter-spacing:-1.3px}.tools-hero p{max-width:750px;margin:0 auto 16px;font-size:16px}.tools-hero .eyebrow{color:#7041c5}.tool-pills{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.tool-pills span{padding:5px 12px;background:white;border-radius:20px;font-size:12px;color:#5b4976}.tools-main{padding:28px 0 50px}.tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.tool-card{display:flex;flex-direction:column;align-items:flex-start;padding:24px;border:1px solid #e4daef;border-radius:14px;background:white;box-shadow:0 5px 20px #28185006}.tool-card h2{font-size:21px;margin:12px 0}.tool-card p{font-size:14px;flex:1}.tool-card .tag{font-size:11px}.tools-main .primary{background:#6034a2;color:white}.tools-main .button{gap:8px;min-height:42px}.tool-workspace{border:1px solid #e4daef;border-radius:16px;background:white;padding:24px;box-shadow:0 12px 38px #28185009}.tool-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.tool-toolbar h2{font-size:21px;margin:0 auto 0 0}.tool-toolbar label{font-size:13px}.tool-toolbar select{min-height:40px}.tool-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.tool-editor-grid>*{min-width:0}.tools-main label{font-size:13px;font-weight:600;display:block}.tools-main input:not([type=checkbox]),.tools-main select,.tools-main textarea{width:100%;border:1px solid #dcd3e8;border-radius:8px;background:white;color:#281850;padding:10px;font-size:14px;min-width:0}.tools-main textarea{min-height:230px;line-height:1.7;resize:vertical}.tools-main input[type=checkbox]{width:17px;height:17px;flex-shrink:0}.tools-main .tool-toolbar select{width:auto}.tool-meta{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#716b86;margin:8px 0}.tool-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.tool-actions button{font-size:13px}.tool-status{font-size:13px;min-height:24px;color:#6034a2}.tool-note{background:#f8f5fd;padding:13px 16px;border-radius:8px;font-size:12px;line-height:1.6;color:#67577e;margin:14px 0}.tool-suggestions{max-height:380px;overflow:auto;display:grid;gap:10px}.tool-suggestion{border:1px solid #e4daef;border-radius:9px;padding:12px;font-size:13px}.tool-suggestion label{display:flex;align-items:flex-start;gap:9px}.tool-suggestion p{margin:6px 0 0;font-size:12px}.tool-suggestion del{background:#fff1ee;text-decoration:line-through}.tool-suggestion ins{background:#e9f7ef;text-decoration:none}.tool-output{white-space:pre-wrap;overflow-wrap:anywhere;min-height:110px;background:#faf8fd;padding:16px;border:1px solid #e4daef;border-radius:9px;font-size:14px;line-height:1.7}.tool-output:empty:before{content:'Your reviewed text will appear here.';color:#80758d}.tool-how{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:36px 0}.tool-how article{border-top:3px solid #b797e3;padding-top:18px}.tool-how h3{font-size:18px}.tool-how p{font-size:14px}.tool-reading{max-width:900px;margin:42px auto}.tool-reading h2{font-size:25px;margin-top:30px}.tool-reading h3{font-size:19px;margin-top:22px}.tool-reading p,.tool-reading li{font-size:15px;line-height:1.85}.tool-reading a{text-decoration:underline;color:#6034a2}.tool-faq details{border-bottom:1px solid #e4daef;padding:16px 0}.tool-faq summary{cursor:pointer;font-weight:600}.tool-faq p{margin:12px 0 0}.tool-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tool-form-grid>.span-all{grid-column:1/-1}.tool-form-grid textarea{min-height:90px}.tool-form-grid small{display:block;font-size:11px;color:#756a83;font-weight:400;margin-top:4px}.tool-consent{display:flex!important;align-items:flex-start;gap:10px;margin:15px 0;font-size:12px!important;font-weight:400!important}.manual-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);gap:24px}.manual-layout aside{background:#f8f5fd;border-radius:12px;padding:22px;align-self:start}.manual-layout aside h2{font-size:20px}.manual-layout aside p,.manual-layout aside li{font-size:14px}.manual-layout aside ol{padding-left:20px}.manual-layout aside li{margin-bottom:14px}.citation-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:24px}.citation-layout>*{min-width:0}.citation-layout h2{font-size:20px}.citation-list{display:grid;gap:14px}.citation-entry{border:1px solid #e4daef;border-radius:10px;padding:16px;overflow-wrap:anywhere}.citation-entry p{font-size:13px;margin:8px 0}.citation-entry .csl-entry{font-size:14px;line-height:1.7;padding-left:24px;text-indent:-24px}.citation-entry .tool-actions{margin-bottom:0}.citation-empty{padding:32px 20px;background:#f8f5fd;border-radius:12px;text-align:center;font-size:14px}.tools-footer{background:#281850;color:white;padding:30px 0}.tools-footer .container{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between}.tools-footer a{font-size:13px}.tools-credit{font-size:11px;color:#756a83;margin-top:20px}.tools-credit a{text-decoration:underline}.tool-heading-row{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:20px}.tool-heading-row h2{margin:0}.tools-main [hidden]{display:none!important}.tools-main button:disabled{opacity:.55;cursor:wait}.tools-main :focus-visible{outline:2px solid #7041c5;outline-offset:3px}
@media(max-width:1000px){.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.citation-layout{grid-template-columns:1fr}.manual-layout{grid-template-columns:1fr}.manual-layout aside{order:-1}.manual-layout aside ol{display:flex;gap:25px}.tool-editor-grid{grid-template-columns:1fr}}
@media(max-width:600px){.tools-hero{padding:28px 0 22px}.tools-hero h1{font-size:29px}.tools-hero p{font-size:14px}.tools-main{padding-top:20px}.tool-workspace{padding:17px}.tools-grid,.tool-how{grid-template-columns:1fr;gap:14px}.tool-card{padding:20px}.tool-form-grid{grid-template-columns:1fr}.tool-form-grid>*{grid-column:1!important}.tools-main input:not([type=checkbox]),.tools-main select,.tools-main textarea{font-size:16px}.tools-main textarea{min-height:180px}.tool-form-grid textarea{min-height:90px}.manual-layout aside ol{display:block}.tool-toolbar{align-items:stretch}.tool-toolbar h2{width:100%}.tools-main .tool-toolbar select{width:100%}.tool-actions .button{flex:1}.tool-reading h2{font-size:22px}.tool-heading-row{align-items:flex-start;flex-direction:column}}
/* Paired writing workspace */
body[data-tool=paraphrase] .tools-hero{padding:26px 0 22px}body[data-tool=paraphrase] .tools-hero h1{font-size:36px}body[data-tool=paraphrase] .tools-hero p{max-width:760px;font-size:15px}body[data-tool=paraphrase] .tool-pills{display:none}
.paraphrase-workspace{padding:0;overflow:hidden}.rewrite-toolbar{padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fcfaff;border-bottom:1px solid var(--line)}.rewrite-modes{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.rewrite-modes>span{font-size:13px;font-weight:700;margin-right:8px}.rewrite-modes button{border:1px solid transparent;background:transparent;padding:8px 15px;border-radius:7px;color:var(--ink);font-size:14px;font-weight:600;min-height:40px}.rewrite-modes button[aria-pressed=true]{background:#eee4ff;border-color:#b58ce9;color:#6030a3}.rewrite-local{font-size:12px;color:var(--muted)}.rewrite-mode-help{font-size:12px;padding:9px 22px;margin:0;border-bottom:1px solid var(--line);color:var(--muted)}.rewrite-editors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.rewrite-pane{min-width:0;display:flex;flex-direction:column}.rewrite-pane+.rewrite-pane{border-left:1px solid var(--line)}.rewrite-pane-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 22px;height:60px}.rewrite-pane-heading label{font-size:14px;margin:0}.rewrite-pane-heading .text-button{font-size:12px}.rewrite-badge{font-size:11px;background:#f4effa;border-radius:14px;padding:4px 10px;color:#6e5688}.paraphrase-workspace #tool-text,.paraphrase-workspace .rewrite-output{border:0;border-radius:0;box-shadow:none;background:white;margin:0;padding:12px 22px;min-height:280px;height:280px;overflow-y:auto;resize:none;line-height:1.85;font-size:16px;white-space:pre-wrap;overflow-wrap:anywhere;color:#332b44}.paraphrase-workspace .rewrite-output:empty:before{content:attr(data-placeholder);color:#8a8495;pointer-events:none}.rewrite-input-actions,.rewrite-output-help{min-height:64px;display:flex;align-items:center;gap:10px;padding:10px 22px;font-size:12px;color:var(--muted)}.rewrite-input-actions .button{padding:7px 12px;font-size:12px;min-height:36px}.rewrite-upload{position:relative;cursor:pointer;margin:0!important}.rewrite-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0}.rewrite-upload:focus-within{outline:2px solid var(--purple);outline-offset:2px}.rewrite-pane-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px;border-top:1px solid var(--line);margin-top:auto;min-height:76px}.rewrite-pane-footer>span{font-size:11px;color:var(--muted)}.rewrite-pane-footer .tool-actions{margin:0;gap:8px}.rewrite-pane-footer .button{padding:10px 15px}.rewrite-feedback{padding:0 22px}.rewrite-feedback .tool-status{margin:0;padding:12px 0;min-height:40px;font-size:13px}.rewrite-feedback details{border-top:1px solid var(--line);padding:12px 0}.rewrite-feedback summary{font-weight:600;font-size:13px;cursor:pointer}.rewrite-feedback .tool-suggestions{margin:14px 0;max-height:260px}.rewrite-limit{font-size:12px;margin:0;padding:14px 22px;background:#fcfaff;border-top:1px solid var(--line)}.rewrite-limit a{text-decoration:underline}.model-setup{display:flex;gap:22px;align-items:center;padding:18px 22px;background:#f8f5fd;border-top:1px solid var(--line)}.model-setup>div:first-child{flex:1;min-width:0}.model-setup strong{font-size:14px}.model-setup p{font-size:12px;margin:6px 0}.model-actions{display:flex;flex-direction:column;gap:8px;flex-shrink:0}.model-actions .button{font-size:12px;padding:9px 14px}.model-actions .text-button{font-size:12px}.model-setup progress{width:100%;height:8px;accent-color:#7041c5}#model-state{overflow-wrap:anywhere;color:#6030a3}
@media(max-width:760px){body[data-tool=paraphrase] .tools-hero h1{font-size:28px}.rewrite-toolbar{padding:12px 16px;flex-wrap:wrap;gap:8px}.rewrite-local{font-size:11px}.rewrite-mode-help{padding:8px 16px}.rewrite-editors{grid-template-columns:1fr}.rewrite-pane+.rewrite-pane{border-left:0;border-top:1px solid var(--line)}.rewrite-pane-heading{padding:12px 16px;height:50px}.paraphrase-workspace #tool-text,.paraphrase-workspace .rewrite-output{padding:10px 16px;min-height:210px;height:210px;font-size:16px}.rewrite-input-actions{flex-wrap:wrap;padding:10px 16px}.rewrite-pane-footer{padding:12px 16px;flex-wrap:wrap}.rewrite-feedback{padding:0 16px}.rewrite-output-help{padding:10px 16px;min-height:48px}.rewrite-limit{padding:12px 16px}.model-setup{padding:16px;align-items:stretch;flex-direction:column;gap:12px}.model-actions{flex-direction:row;flex-wrap:wrap}.rewrite-modes{gap:4px}.rewrite-modes button{padding:7px 10px}.rewrite-modes>span{margin-right:3px}}
.paraphrase-workspace .tool-suggestion label{display:flex;gap:10px;align-items:flex-start}.paraphrase-workspace .tool-suggestion input[type=checkbox]{min-height:17px;margin:3px 0 0}.paraphrase-workspace .tool-suggestion{padding:12px}.paraphrase-workspace .tool-suggestion p{margin-bottom:0}
/* Reference workspace: essential source details beside the formatted bibliography. */
body[data-tool=references] .tools-hero{padding:26px 0 22px}body[data-tool=references] .tools-hero h1{font-size:36px}body[data-tool=references] .tool-pills{display:none}
.reference-workspace{padding:0;overflow:hidden}.reference-toolbar{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:22px 26px;border-bottom:1px solid var(--line)}.reference-toolbar h2{font-size:22px;margin:0}.reference-toolbar p{font-size:13px;margin:6px 0 0}.reference-toolbar>label{width:270px;flex-shrink:0}.reference-toolbar select{margin-top:5px;min-height:44px}.reference-workspace .citation-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:0}.reference-editor,.reference-library{padding:24px 26px}.reference-editor{background:#fcfaff;border-right:1px solid var(--line)}.reference-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.reference-section-heading h3{font-size:19px;margin:0;letter-spacing:-.3px}.reference-section-heading>span{font-size:11px;color:#7c718c}.reference-section-heading p{font-size:11px;margin:5px 0 0}.source-types{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:7px}.source-types button{border:1px solid #ded5e9;background:white;color:#635474;border-radius:8px;padding:10px 5px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;min-height:42px;cursor:pointer}.source-types button[aria-pressed=true]{background:#f0e6ff;border-color:#ae87df;color:#6030a3;box-shadow:inset 0 0 0 1px #ae87df}.reference-hint{font-size:12px;line-height:1.6;margin:12px 0 18px}.reference-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.reference-fields>.span-all{grid-column:1/-1}.reference-fields label{margin:0;line-height:1.5;font-size:12px}.reference-fields input{margin:5px 0 0;min-height:42px}.reference-fields small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:5px}.reference-authors{padding:0;margin:0;min-width:0;border:0}.reference-authors legend{font-size:12px;font-weight:600;padding:0;margin-bottom:6px}.reference-authors legend span,.reference-extra summary span{font-size:11px;color:var(--muted);font-weight:400;margin-left:6px}.reference-author{padding:10px 12px;background:#fff;border:1px solid #e4daef;border-radius:8px;margin-bottom:8px}.author-row-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.author-row-heading label{display:flex;gap:8px;align-items:center;white-space:nowrap;color:var(--muted);font-weight:400}.tools-main .author-row-heading select{width:140px;font-size:12px;padding:4px 6px;min-height:30px;margin:0}.reference-workspace .text-button{font-size:12px;cursor:pointer;min-height:32px;padding:4px 0}.reference-workspace .text-button:disabled{cursor:default}.author-name-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.reference-extra{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:18px 0 0;padding:12px 0}.reference-extra summary{font-size:13px;font-weight:600;cursor:pointer;color:#6034a2}.reference-extra .reference-fields{padding-top:16px}.source-status{font-size:12px;color:#6034a2;line-height:1.5}.source-status:empty{display:none}.reference-form-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px}.reference-form-actions .button{min-width:160px;font-size:13px}.reference-workspace .citation-list{gap:14px}.reference-library{display:flex;flex-direction:column;align-self:start}.reference-library .citation-empty{border:1px dashed #dacde9;background:#faf8fd;padding:42px 22px}.citation-empty h4{font-size:17px;margin:14px 0 8px}.citation-empty p{font-size:13px;margin:0 auto 20px;max-width:330px}.citation-empty>span:last-child{font-size:11px;color:var(--muted)}.citation-empty-icon{display:inline-flex;background:#eee5fb;color:#7141b0;width:54px;height:54px;border-radius:14px;align-items:center;justify-content:center;font-size:23px;font-family:Georgia,serif}.reference-library .citation-entry{padding:16px 18px}.citation-entry-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.citation-entry-heading>span{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:#7a688c;background:#f4effb;padding:4px 8px;border-radius:4px}.citation-entry-heading>div{display:flex;gap:16px}.citation-inline{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f9f6fe;margin-top:14px;padding:10px 12px;border-radius:7px}.citation-inline>div>span{font-size:10px;color:#7c718c}.citation-inline p{margin:2px 0;font-size:13px}.citation-inline button{flex-shrink:0}.reference-export{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.reference-export .button{padding:10px 16px;font-size:12px}.reference-library .tool-status{margin:10px 0 0;min-height:0}.reference-storage-note{font-size:11px;line-height:1.7;margin:14px 0 0;color:var(--muted)}#reference-count{display:inline-flex;align-items:center;justify-content:center;font-size:12px;min-width:24px;height:24px;padding:0 5px;margin-left:5px;border-radius:12px;background:#efe6fb;color:#6034a2}.reference-footnote{border-top:1px solid var(--line);padding:14px 26px;background:#fcfaff}.reference-footnote>p{margin:0;font-size:11px;line-height:1.6}.reference-footnote summary{cursor:pointer;font-size:11px;color:#756a83;margin-top:6px}.reference-footnote .tools-credit{margin:8px 0 0}
@media(max-width:900px){.reference-workspace .citation-layout{grid-template-columns:1fr}.reference-editor{border-right:0;border-bottom:1px solid var(--line)}.reference-library .citation-empty{padding:25px}.reference-toolbar{align-items:flex-start}.reference-toolbar>label{width:245px}}
@media(max-width:600px){body[data-tool=references] .tools-hero h1{font-size:28px}.reference-toolbar{flex-direction:column;gap:15px;padding:18px}.reference-toolbar>label{width:100%}.reference-toolbar h2{font-size:20px}.reference-editor,.reference-library{padding:18px}.reference-fields{gap:12px}.reference-fields input{font-size:16px;min-height:44px;padding:9px}.reference-fields label{font-size:12px}.reference-section-heading{align-items:flex-start}.reference-section-heading>span{display:none}.reference-section-heading h3{font-size:18px}.reference-workspace .text-button{min-height:38px}.tools-main .author-row-heading select{font-size:14px;min-height:36px;width:142px}.author-row-heading label{font-size:11px;gap:5px}.author-row-heading{gap:8px}.reference-author{padding:8px}.source-types button{font-size:12px}.reference-library .citation-entry{padding:12px}.citation-inline{padding:10px;gap:8px}.citation-inline .text-button{font-size:11px}.reference-footnote{padding:14px 18px}.reference-export .button{flex:1;white-space:nowrap}.reference-workspace .reference-form-actions .button{min-width:0;flex:1}.reference-workspace .reference-form-actions .text-button{padding:4px 8px}}

.reference-footnote .citation-attribution{font-size:12px;margin-top:8px}.citation-attribution a{text-decoration:underline}
