:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#162033;background:#eef3f7;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea{font:inherit}button{border:0}.appShell{min-height:100vh;display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px;padding:18px;background:linear-gradient(135deg,rgba(35,107,130,.07),transparent 36%),linear-gradient(180deg,#f7fafc,#edf3f7)}.topBar{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 12px 10px 16px;border:1px solid #d8e3ea;border-radius:12px;background:#ffffffeb;box-shadow:0 14px 30px #1e2d4612}.brandBlock,.topActions,.brandMark,.subHeader,.cleanerActions{display:flex;align-items:center}.brandBlock{gap:11px;min-width:0}.brandMark{width:36px;height:36px;justify-content:center;border-radius:10px;color:#fff;background:#1e6477}.brandBlock h1,.fileIdentity h2{margin:0;line-height:1;letter-spacing:0}.brandBlock h1{font-size:1.28rem}.brandBlock span,.fileIdentity p,.sectionLabel,.fileRow span,.statsGrid span,.fileMetaEditor span{color:#64748b}.brandBlock span{display:block;margin-top:3px;font-size:.8rem}.topActions,.cleanerActions{gap:8px}.statusPill{min-height:34px;display:inline-flex;align-items:center;gap:7px;border:1px solid #cfdae2;border-radius:999px;padding:0 11px;background:#fff;color:#506174;font-size:.78rem;font-weight:740;white-space:nowrap}.statusPill.cloud{border-color:#bfdbd1;color:#1f6b4f;background:#f3fbf7}.signInPanel{min-height:220px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:24px;border:1px solid #d7e2e9;border-radius:12px;background:#fffffff0;box-shadow:0 14px 28px #1e2d460f}.signInPanel h2{margin:6px 0 8px;color:#182337;font-size:1.5rem;letter-spacing:0}.signInPanel p,.googleSignIn p,.cloudNotice{color:#64748b}.googleSignIn{min-width:220px}.googleSignIn p{margin:8px 0 0;font-size:.82rem}.workspace{min-height:0;display:grid;grid-template-columns:minmax(190px,230px) minmax(220px,280px) minmax(0,1fr);gap:14px}.cloudNotice{grid-column:1 / -1;min-height:42px;display:flex;align-items:center;border:1px solid #d7e2e9;border-radius:10px;padding:0 12px;background:#fff;font-size:.86rem;font-weight:680}.cloudNotice.error{border-color:#f0c7c7;color:#9f3737;background:#fff7f7}.folderPane,.filePane,.editorPane,.noteSection,.cleanerSection{min-height:0;border:1px solid #d7e2e9;border-radius:12px;background:#fffffff0;box-shadow:0 14px 28px #1e2d460f}.folderPane,.filePane{display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden}.paneHeader{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;border-bottom:1px solid #e4ebf0}.paneHeader strong{display:block;margin-top:3px;font-size:1rem;color:#1d4050}.sectionLabel{display:block;font-size:.68rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.newFolderRow,.newFileGrid{padding:12px;display:grid;gap:8px;border-bottom:1px solid #e4ebf0;background:#f8fbfc}.newFolderRow{grid-template-columns:minmax(0,1fr) 38px}.newFileGrid{grid-template-columns:minmax(72px,1fr) 46px 46px 38px}.newFolderRow input,.newFileGrid input,.fileMetaEditor input{width:100%;height:38px;border:1px solid #cfdae2;border-radius:9px;background:#fff;color:#172033;padding:0 10px}.newFolderRow button,.newFileGrid button{height:38px;display:grid;place-items:center;border-radius:9px;color:#fff;background:#236b82;cursor:pointer}.newFolderRow button:disabled,.newFileGrid button:disabled,.primaryButton:disabled,.ghostButton:disabled{opacity:.45;cursor:not-allowed}.folderList,.fileList{min-height:0;overflow:auto;display:grid;align-content:start;gap:6px;padding:10px}.folderRow,.fileRow{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid transparent;border-radius:10px;background:transparent;color:#1f2937;padding:9px 10px;text-align:left;cursor:pointer}.fileRow{min-height:54px;flex-direction:column;align-items:flex-start;justify-content:center}.folderRow:hover,.fileRow:hover,.folderRow.selected,.fileRow.selected{border-color:#cddce5;background:#f3f8fa}.folderRow.selected,.fileRow.selected{box-shadow:inset 3px 0 #236b82}.folderRow span,.fileRow strong{font-size:.93rem;font-weight:740}.folderRow em{min-width:26px;height:24px;display:grid;place-items:center;border-radius:999px;background:#e7f1f3;color:#236b82;font-size:.76rem;font-style:normal;font-weight:750}.fileRow span{font-size:.78rem}.editorPane{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.editorHeader{min-height:86px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:14px 16px;border-bottom:1px solid #e4ebf0;background:#fff}.fileIdentity{min-width:0}.fileIdentity h2{margin-top:5px;font-size:1.48rem}.fileIdentity p{margin:7px 0 0;font-size:.82rem}.fileMetaEditor{display:grid;grid-template-columns:84px 58px 58px;gap:8px}.fileMetaEditor label{display:grid;gap:5px}.fileMetaEditor span{font-size:.7rem;font-weight:700}.editorGrid{min-height:0;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:14px;padding:14px}.noteSection,.cleanerSection{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;box-shadow:none}.cleanerSection{grid-template-rows:auto minmax(120px,.75fr) auto auto minmax(120px,.8fr)}.subHeader{min-height:48px;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid #e4ebf0}.noteTextArea,.pasteTextArea{width:100%;min-height:0;resize:none;border:0;outline:none;background:#fff;color:#111827;padding:14px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92rem;line-height:1.55}.pasteTextArea{border-bottom:1px solid #e4ebf0;background:#fbfdfe}.statsGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px;border-bottom:1px solid #e4ebf0;background:#f8fbfc}.statsGrid div{min-height:48px;display:grid;align-content:center;gap:2px;border:1px solid #dbe6ed;border-radius:9px;padding:8px;background:#fff}.statsGrid span{font-size:.66rem;font-weight:750;text-transform:uppercase}.statsGrid strong{font-size:.95rem;color:#1d4050}.formatStat strong{font-size:.9rem;line-height:1.2}.statsGrid .formatStat{grid-column:1 / -1;min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:10px}.cleanerActions{padding:10px;border-bottom:1px solid #e4ebf0}.cleanPreview{min-height:0;overflow:auto;background:#f8fbfc}.cleanPreview.active{background:#f7fbf8}.cleanPreview pre{margin:0;min-height:100%;white-space:pre-wrap;word-break:break-word;padding:14px;color:#253244;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.85rem;line-height:1.5}.primaryButton,.ghostButton,.iconTextButton{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;padding:0 12px;font-size:.86rem;font-weight:730;cursor:pointer}.primaryButton{background:#236b82;color:#fff}.ghostButton,.iconTextButton{border:1px solid #cfdae2;background:#fff;color:#243244}.iconTextButton{min-height:32px;font-size:.78rem}.emptyPane,.emptyEditor{color:#64748b;font-size:.88rem}.emptyPane{padding:16px 10px}.emptyEditor{display:grid;place-items:center}@media(max-width:1100px){.workspace{grid-template-columns:minmax(160px,.62fr) minmax(190px,.76fr) minmax(0,1.6fr)}.editorGrid{grid-template-columns:minmax(0,1fr)}}@media(max-width:760px){.appShell{min-height:auto;padding:10px}.topBar,.signInPanel,.workspace,.editorHeader,.editorGrid{display:flex;flex-direction:column}.topBar,.editorHeader,.signInPanel{align-items:stretch}.topActions{flex-wrap:wrap}.workspace{min-height:auto}.folderPane,.filePane{min-height:260px}.editorPane{min-height:720px}.fileMetaEditor{grid-template-columns:minmax(0,1fr) minmax(52px,.6fr) minmax(52px,.6fr)}.statsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
