:root{--ink:#312923;--muted:#65594f;--line:#dccdc0;--orange:#a54112;--paper:#fcf8f4;--white:#fff;--focus:#89340d;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans JP",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-size:16px}*{box-sizing:border-box}body{margin:0;min-height:100dvh;display:flex;flex-direction:column}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button{border:0;background:none}a{color:var(--orange)}[hidden]{display:none!important}.skip{position:absolute;left:.5rem;top:-4rem;background:white;padding:.5rem;z-index:20}.skip:focus{top:0}.top{border-top:3px solid var(--orange);border-bottom:1px solid var(--line);background:white}.topinner,.home,footer{width:min(1120px,calc(100% - 64px));margin:auto}.topinner{height:70px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:16px;padding:0}.brand img{width:130px;height:auto}.brand i,.divider{height:24px;width:1px;background:var(--line)}.brand b{font-family:system-ui,sans-serif;font-size:22px;font-weight:620;letter-spacing:-.045em}.help{font-size:14px;font-weight:650;display:flex;align-items:center;gap:8px;min-height:44px}.help span{border:1.7px solid currentColor;border-radius:50%;width:20px;height:20px;line-height:17px}.home{padding:32px 0 30px}.hero{display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden;border:1px solid #e1c8b3;border-radius:14px;background:linear-gradient(110deg,#fff5eb,#f8e2cb);min-height:232px;padding:30px clamp(24px,4vw,52px)}.hero.drag{outline:3px dashed var(--orange);outline-offset:4px}.heroCopy{z-index:1}.hero h1{font-size:clamp(32px,4vw,48px);line-height:1.2;margin:0;font-weight:780;letter-spacing:-.045em}.hero h1 span{font-family:system-ui,sans-serif;letter-spacing:-.06em;margin-left:4px}.hero p{color:#604635;margin:10px 0 20px;font-size:16px}.primary,.ghost,.link,.ribbon button{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:680;border-radius:8px;min-height:42px;padding:0 16px}.primary{background:var(--orange);color:white}.primary:hover{background:#89340d}.hero .primary{min-height:48px;padding:0 22px;font-size:16px}.folder{width:20px;height:14px;border:2px solid currentColor;border-radius:3px;position:relative}.folder:before{content:"";position:absolute;left:-2px;top:-6px;width:8px;height:4px;border:2px solid currentColor;border-bottom:none;border-radius:3px 3px 0 0}.hero small{margin-left:14px;font-size:13px;color:var(--muted)}.mobile{display:none}.art{position:relative;width:330px;height:178px;flex:none;isolation:isolate}.orbit{position:absolute;inset:-128px -230px -136px -45px;z-index:-1;border-radius:50%;border:1px solid #e6c9ad;transform:rotate(-22deg)}.orbit:before,.orbit:after{content:"";position:absolute;border:1px solid #e6c9ad;border-radius:50%;inset:34px}.orbit:after{inset:72px}.paper{position:absolute;border-radius:6px;box-shadow:0 8px 12px #71381120;overflow:hidden}.paper.word{width:118px;height:156px;transform:rotate(-12deg);top:2px;left:50px;padding:15px;background:#fffaf1;border:1px solid #d9bca0}.word b{display:block;font:700 35px Georgia,serif;color:#99512d}.word i{display:block;background:#cfad8e;height:3px;margin-top:10px}.word i:last-child{width:65%}.paper.sheet{width:128px;height:132px;transform:rotate(8deg);left:141px;top:14px;background:#c2d5b2;border:1px solid #9eaf8f;padding:12px}.sheet b{display:block;background:#879c75;width:43px;height:5px;margin-bottom:9px}.sheet i{display:block;height:82px;background:repeating-linear-gradient(0deg,transparent 0 14px,#90aa805e 14px 16px),repeating-linear-gradient(90deg,#eff5e5 0 22px,#94a985 22px 24px);border:1px solid #a1b195}.paper.chart{width:125px;height:89px;top:97px;left:189px;transform:rotate(12deg);background:#cd8055;border:1px solid #b97450;z-index:2;display:flex;align-items:flex-end;padding:15px;gap:4px}.chart i{background:#ffe6c8;width:11px;height:27%}.chart i:nth-child(2){height:47%}.chart i:nth-child(3){height:61%}.chart b{align-self:center;margin-left:8px;width:37px;height:37px;border-radius:50%;background:conic-gradient(#8c4d33 0 26%,#f9dbb9 26% 100%)}h2{font-size:21px;letter-spacing:-.035em;margin:0 0 14px}.newSection,.draftSection{margin-top:30px}.cards{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.tile{--tone:#315a92;--tint:#eaf1fb;display:flex;flex-direction:column;align-items:flex-start;gap:11px;border:1px solid var(--line);border-radius:10px;padding:17px 16px;background:white;text-align:left;transition:transform .15s,border-color .15s}.tile:hover{transform:translateY(-2px);border-color:var(--tone)}.tile strong{font-size:16px}.tile small{font-family:system-ui,sans-serif;letter-spacing:.06em;color:var(--muted);font-size:12px}.tile>span:last-child{display:flex;flex-direction:column;gap:2px}.symbol{display:grid;place-items:center;width:42px;height:44px;border-radius:8px;background:var(--tint);color:var(--tone)}.symbol b{font:700 14px system-ui,sans-serif;letter-spacing:-.06em;display:grid;place-items:center;width:25px;height:29px;border:1.7px solid currentColor;border-radius:3px}.xlsx{--tone:#2f6954;--tint:#e5f1e9}.pptx{--tone:#a44621;--tint:#faebe3}.pdf{--tone:#a43d44;--tint:#fbe8e9}.csv{--tone:#347079;--tint:#e5f3f2}.md{--tone:#705d88;--tint:#f0ebf5}.headingRow{display:flex;align-items:center;justify-content:space-between}.headingRow h2{margin:0}.link{color:var(--orange);padding:0 5px}.empty,.draftRow{padding:17px 20px;background:white;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;gap:14px;margin-top:8px}.empty p{margin:0;color:var(--muted);font-size:14px}.empty .miniFolder{color:#94775d;flex:none;margin:0 3px}.draftRow>button:first-child{flex:1;text-align:left;overflow-wrap:anywhere;font-weight:650}.draftRow small{color:var(--muted)}footer{margin-top:auto;border-top:1px solid var(--line);padding:18px 0;display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}footer a{color:inherit;text-underline-offset:3px}.ghost,.ribbon button{background:white;border:1px solid var(--line)}.ghost:hover,.ribbon button:hover,.help:hover,.link:hover{background:#f7eee5}.editor{display:flex;flex-direction:column;height:calc(100dvh - 74px)}.filebar,.ribbon{display:flex;align-items:center;gap:9px;padding:8px 16px;background:white;border-bottom:1px solid var(--line);flex-wrap:wrap}.filebar input{font-weight:650;border:1px solid transparent;border-radius:5px;min-width:90px;width:clamp(130px,24vw,340px);padding:7px}.filebar input:focus,.filebar input:hover{border-color:var(--line)}.fileActions{margin-left:auto;display:flex;gap:8px}.fileState{font-size:13px;color:var(--muted)}#mount{flex:1;min-height:0;display:flex;flex-direction:column;position:relative}#mount>iframe{width:100%;height:100%;border:0}body.editing .topinner{width:calc(100% - 32px);height:50px}body.editing .editor{height:calc(100dvh - 54px)}body.editing footer{display:none}.ribbon{min-height:47px;gap:6px;background:#fbf9f6}.ribbon button{font-size:14px;min-height:32px;padding:0 12px}.ribbon button[aria-pressed=true]{background:#ffe6d2;border-color:#c17d54}.ribbon label{font-size:14px}.ribbon output{font-size:13px;color:var(--muted);margin-left:auto}.pageArea{flex:1;min-height:0;overflow:auto;display:flex;gap:12px;padding:16px;background:#eeeae5}.source,.preview{min-width:0;flex:1;background:white;border:1px solid var(--line);border-radius:6px;padding:24px;overflow:auto}.source{resize:none;line-height:1.7;font-family:ui-monospace,monospace}.preview{overflow-wrap:anywhere;line-height:1.7}.preview pre{overflow:auto;background:#f6f3ef;padding:8px}.preview table{border-collapse:collapse}.preview td,.preview th{border:1px solid var(--line);padding:4px}.preview :first-child{margin-top:0}.gridArea{flex:1;overflow:auto;background:white}.gridArea table{border-collapse:separate;border-spacing:0;table-layout:fixed}.gridArea th{background:#f2f4ef;color:#46564b;font:500 13px system-ui}.gridArea td,.gridArea th{border-right:1px solid #d9ded7;border-bottom:1px solid #d9ded7;height:32px;min-width:42px}.gridArea thead{position:sticky;top:0;z-index:1}.gridArea tbody th{position:sticky;left:0}.gridArea td{padding:0}.gridArea textarea{width:145px;height:32px;resize:vertical;border:0;padding:5px 7px;display:block;line-height:1.4;font-size:14px}.gridArea textarea:focus{outline:2px solid #2f6954;outline-offset:-2px}.loading{margin:auto;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:12px;padding:25px;max-width:min(480px,calc(100vw - 24px));color:var(--ink)}dialog::backdrop{background:#31292355}dialog h2{margin-right:35px}dialog p,dialog li{line-height:1.65;font-size:15px}.x{position:absolute;right:10px;top:10px;font-size:24px;width:36px;height:36px}.modalActions{display:flex;justify-content:flex-end;gap:8px}.pref{display:flex;align-items:flex-start;gap:8px}.pref input{width:20px;height:20px}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#332d28;color:white;padding:12px 18px;border-radius:8px;z-index:10;max-width:90vw}.danger{color:#96362a}.busy{margin:auto}.retry{align-self:center;margin:auto}.barLabel{font-weight:650;margin-right:6px}
@media(max-width:800px){.cards{grid-template-columns:repeat(3,1fr)}.art{width:245px;transform:scale(.8);transform-origin:center}.hero small{display:block;margin:8px 0 0}.fileState{display:none}}
@media(max-width:550px){.topinner,.home,footer{width:calc(100% - 28px)}.topinner{height:56px}.brand img{width:110px}.home{padding-top:16px}.hero{min-height:205px;padding:20px}.art{position:absolute;right:-120px;bottom:8px;opacity:.52;transform:scale(.64)}.heroCopy{max-width:82%}.hero h1{font-size:30px}.mobile{display:block}.hero p{margin:8px 0 13px}.cards{gap:7px}.tile{padding:12px 9px}.tile strong{font-size:14px}.newSection,.draftSection{margin-top:22px}h2{font-size:18px}.headingRow h2{font-size:16px}.empty{padding:12px}.filebar{gap:4px;padding:5px}.fileActions{gap:4px}.filebar .primary,.filebar .ghost{min-height:36px;padding:0 8px;font-size:13px}.filebar input{width:104px;font-size:14px}.divider{display:none}.pageArea{padding:5px;gap:4px;flex-direction:column}.source,.preview{padding:12px}.draftRow{flex-wrap:wrap}.draftRow small{display:none}.ribbon{padding:5px}.ribbon output{width:100%}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.pref + .pref{margin-top:12px}
@media(max-width:800px){.fileState:not(:empty){display:block;order:4;flex-basis:100%;font-size:12px;padding-left:4px}}
