:root{font-family:"DM Sans","Noto Sans SC",sans-serif;color:#4b4850;background:#fbf8f6;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#47444c;--pink:#e99aa9;--pink-dark:#d77e91;--line:rgba(112,104,111,.12);--paper:rgba(255,255,255,.78)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:85px}body{margin:0;min-width:320px;overflow-x:hidden;background:linear-gradient(120deg,#fbf4f1,#f8f7f7 50%,#eff8f5);background-attachment:fixed}body:after{content:"";pointer-events:none;position:fixed;inset:0;z-index:9;opacity:.1;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E")}a,button{cursor:pointer}button,input,select{font:inherit}.ambient{position:fixed;z-index:-1;pointer-events:none;filter:blur(35px);border-radius:50%;opacity:.5}.ambient-one{width:260px;height:260px;top:130px;left:-180px;background:#f5d6dd}.ambient-two{width:320px;height:320px;right:-240px;top:65vh;background:#d9eee8}
.topbar{height:68px;padding:0 max(calc((100vw - 1060px)/2),5vw);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:8;border-bottom:1px solid rgba(103,99,105,.07);background:rgba(251,248,247,.78);backdrop-filter:blur(14px)}.brand,.footer-brand{display:flex;gap:9px;align-items:center;text-decoration:none;color:var(--ink);font-weight:700;font-size:17px}.brand-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:11px 11px 11px 4px;background:#edb7c0;color:white;font-family:"Noto Sans SC";font-size:16px;box-shadow:0 5px 13px #eeb9c044}.brand-dot,.footer-brand span{color:var(--pink-dark)}.main-nav{margin-left:60px;flex:1}.nav-link{font-size:12px;color:#7d7780;text-decoration:none}.account-area{display:flex;align-items:center;gap:16px}.sync-label{display:flex;align-items:center;gap:7px;font-size:10px;color:#96909a}.sync-label i{width:6px;height:6px;border-radius:50%;background:#9ecbb7}.button{border:0;border-radius:9px;padding:10px 15px;font-size:11px;font-weight:600;transition:transform .2s,box-shadow .2s,background .2s}.button:hover{transform:translateY(-2px)}.button-outline{border:1px solid #e7d2d5;background:#fff9f9;color:#8c6770}.button-primary{background:#e69aaa;color:white;box-shadow:0 6px 16px #dc96a533}.button-primary:hover{box-shadow:0 9px 18px #dc96a555}.user-menu{display:flex;align-items:center;gap:8px;font-size:10px;color:#77717b}.user-avatar{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f0c3cc;color:#8e6670}.text-button{border:0;background:none;color:#aaa1a9;font-size:10px}.hidden{display:none!important}
.hero{height:350px;position:relative;display:grid;place-items:center;text-align:center;overflow:hidden;background:linear-gradient(115deg,rgba(255,240,239,.35),rgba(245,249,248,.42))}.hero-inner{position:relative;z-index:1;margin-top:-7px}.hero-emblem{width:58px;height:58px;border-radius:19px 19px 19px 5px;margin:0 auto 17px;display:grid;place-items:center;transform:rotate(-5deg);background:linear-gradient(145deg,#f0c5ca,#d8e9e2);border:3px solid #ffffffd9;box-shadow:0 8px 22px #98858c20}.hero-emblem span{font-family:"Noto Sans SC";font-size:22px;color:#ad7884;transform:rotate(5deg)}.eyebrow{font-size:9px;letter-spacing:.18em;color:#c0959f;font-weight:700;margin:0 0 10px}.hero h1{font-family:"Noto Sans SC";font-size:32px;letter-spacing:.04em;font-weight:600;color:#55505a;margin:0}.hero h1 span{color:#cb8895}.hero-copy{color:#8d8790;font-size:12px;margin:13px 0 19px}.hero-cta{font-size:11px;color:#8b737a;text-decoration:none;border-bottom:1px solid #eac5cc;padding-bottom:4px}.hero-cta span{color:#d98e9c;margin-left:5px}.hero-orbit{position:absolute;border:1px solid #e7cdd344;border-radius:50%;width:300px;height:300px;top:25px;left:calc(50% - 150px);transform:translateY(var(--hero-shift,0px))}
.library-section{max-width:1060px;margin:0 auto;padding:40px 24px 65px;position:relative;z-index:1}.section-heading{display:flex;align-items:flex-end;justify-content:space-between}.section-heading h2{margin:0;color:#4d4851;font-weight:600;font-size:22px;letter-spacing:.03em}.section-subtitle{color:#9c969d;font-size:11px;margin:7px 0 0}.upload-button{padding:11px 16px}.plus{font-size:16px;margin-right:5px;font-weight:400}.toolbar{display:flex;align-items:center;gap:14px;margin-top:24px;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.search-box{height:36px;min-width:200px;width:260px;border:1px solid #e8e2e4;border-radius:8px;background:rgba(255,255,255,.65);display:flex;align-items:center;padding:0 10px;gap:8px}.search-box svg{width:14px;height:14px;fill:none;stroke:#aaa2aa;stroke-width:1.6}.search-box input{width:100%;border:0;outline:0;background:none;font-size:10px;color:var(--ink)}.search-box input::placeholder{color:#b5afb5}.filters{display:flex;gap:3px;align-items:center;flex:1}.filter-chip{border:0;background:transparent;padding:7px 10px;border-radius:7px;color:#9a949c;font-size:10px;transition:all .2s}.filter-chip:hover,.filter-chip.active{background:#f7e8eb;color:#b87383}.drive-toggle{background:none;border:1px solid transparent;border-radius:8px;padding:8px 10px;color:#918a94;font-size:10px;white-space:nowrap}.drive-toggle span{margin-right:5px;color:#d3909d}.drive-toggle b{font-size:9px;font-weight:500;margin-left:6px;background:#f0e8eb;border-radius:8px;padding:3px 5px}.drive-toggle.active{border-color:#edcbd2;background:#fff6f7;color:#a46b78}.notice{margin-top:14px;padding:10px 13px;border-radius:9px;background:#fff8e9;color:#9d8554;font-size:10px;line-height:1.6}.notice a{color:#bb8b61}.shelf-meta{display:flex;justify-content:space-between;align-items:center;margin:22px 0 14px;color:#79737d;font-size:10px}.tiny-label{color:#aaa3ac;font-size:9px}
.document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.doc-card{background:var(--paper);border:1px solid rgba(255,255,255,.95);border-radius:12px;padding:15px 15px 12px;box-shadow:0 5px 20px rgba(79,68,75,.04);transition:opacity .55s ease,transform .3s ease,box-shadow .25s,border .25s;transition-delay:var(--delay,0ms);opacity:0;transform:translateY(16px)}.doc-card.in-view{opacity:1;transform:translateY(0)}.doc-card:hover{transform:translateY(-4px);box-shadow:0 12px 27px rgba(79,68,75,.08);border-color:#f2d8dd}.card-top{display:flex;justify-content:space-between;align-items:flex-start}.file-art{width:42px;height:44px;border-radius:10px;display:grid;place-items:center;position:relative;overflow:hidden}.file-art:after{content:"";position:absolute;width:28px;height:28px;border-radius:50%;right:-8px;bottom:-10px;background:#ffffff44}.file-art svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;z-index:1}.file-art.pdf{background:#f9e9e9;color:#cf8c98}.file-art.doc{background:#e9eef8;color:#8293c5}.file-art.code{background:#e5f2ed;color:#76aa96}.file-art.figma{background:#f5ebf5;color:#b38bb2}.file-art.image{background:#f8f0df;color:#c3a068}.file-art.book{background:#f5eee8;color:#b49479}.save-button{border:1px solid #eee6e8;background:#fffcfc;color:#b1a3aa;width:26px;height:26px;border-radius:8px;font-size:15px;transition:.2s}.save-button:hover,.save-button.saved{color:#c87888;background:#fff0f2;border-color:#f3cfd6}.doc-info{padding-top:11px}.category-tag{font-size:9px;padding:3px 6px;border-radius:5px;background:#f7eef0;color:#b87d88}.category-tag.编程{background:#eaf3ef;color:#79a18e}.category-tag.语言{background:#f5f0df;color:#a7915d}.category-tag.其他{background:#efedf4;color:#8c83aa}.doc-info h3{font-size:12px;font-weight:600;color:#55505a;margin:8px 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.doc-info>p{height:30px;margin:0;color:#9a949c;font-size:9px;line-height:1.6;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.doc-meta{display:flex;gap:7px;align-items:center;color:#aea8af;font-size:8px;margin-top:10px}.meta-sep{color:#dfcbd0}.download-button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:31px;border:1px solid #eee5e7;background:#fffbfb;color:#91777f;font-size:9px;border-radius:7px;margin-top:12px;transition:.2s}.download-button:hover{color:#ba7684;background:#fff4f5;border-color:#edcdd3;transform:translateY(-2px)}.download-button span{font-size:13px;color:#d48d9a}.empty-state{text-align:center;padding:46px 20px;color:#99919b}.empty-icon{font:38px Georgia;color:#d8a3ad}.empty-state h3{margin:8px 0;font-size:15px;color:#69636c}.empty-state p{font-size:10px}.reveal{opacity:0;transform:translateY(14px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.25,1)}.reveal.in-view{opacity:1;transform:translateY(0)}
footer{height:65px;border-top:1px solid rgba(103,99,105,.08);display:flex;align-items:center;justify-content:space-between;padding:0 max(calc((100vw - 1012px)/2),6.5vw);color:#aaa3aa;font-size:9px}.footer-brand{font-size:14px}.back-top{color:#9d929b;text-decoration:none}
.modal-backdrop{position:fixed;inset:0;z-index:20;background:#4d465366;backdrop-filter:blur(6px);display:grid;place-items:center;padding:18px}.modal{width:min(420px,100%);background:#fffdfc;border:1px solid #fff;border-radius:17px;padding:28px 30px 23px;box-shadow:0 30px 90px #55474b30;position:relative;animation:pop .22s both}.upload-modal{width:min(500px,100%)}.modal-close{position:absolute;top:14px;right:15px;border:0;background:none;color:#aaa1a8;font-size:23px}.modal-mark{display:grid;place-items:center;width:36px;height:36px;background:#f5dfe3;color:#b57d87;border-radius:12px 12px 12px 4px;font-weight:700;font-size:17px;margin-bottom:16px}.upload-mark{font-size:22px}.modal h2{font-size:20px;margin:0;color:#4f4952;font-weight:600}.modal-copy{font-size:10px;line-height:1.7;color:#99919a;margin:8px 0 18px}.modal form{display:grid;gap:12px}.modal form>label,.form-row label{font-size:10px;color:#88818b;display:grid;gap:6px}.modal input,.modal select{width:100%;height:37px;border:1px solid #e9e2e5;border-radius:8px;background:#fff;padding:0 10px;outline:0;color:#625c65;font-size:10px}.modal input:focus,.modal select:focus{border-color:#e1a8b3;box-shadow:0 0 0 3px #e7b9c322}.modal-submit{height:39px;margin-top:4px}.modal-foot{font-size:9px;text-align:center;color:#aaa2aa;margin:15px 0 0}.form-message{font-size:10px;line-height:1.5;color:#8d887f;min-height:13px;margin:8px 0 0}.form-message.error{color:#c26d76}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:11px}.file-drop{border:1px dashed #e6bdc6;border-radius:9px;min-height:82px;display:flex!important;align-items:center;justify-content:center;flex-direction:column;gap:5px!important;background:#fff9f9;cursor:pointer!important}.file-icon{font-size:20px;line-height:1;color:#d9909e}.file-main{font-size:10px;color:#837982}.file-help{font-size:9px;color:#b1a9b1}.toast{position:fixed;z-index:30;bottom:22px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#5f5660;color:white;font-size:10px;padding:10px 16px;border-radius:9px;box-shadow:0 8px 25px #4b40452c;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}

@keyframes pop{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(max-width:760px){.topbar{padding:0 20px}.main-nav{margin-left:30px}.hero{height:325px}.library-section{padding:36px 20px 55px}.toolbar{flex-wrap:wrap;gap:8px}.search-box{width:100%;order:0}.filters{order:1}.drive-toggle{order:2;margin-left:auto}.document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sync-label{display:none}}
@media(max-width:500px){.topbar{height:60px;padding:0 15px}.main-nav{margin-left:18px}.account-area{gap:7px}.button-outline{padding:8px 10px;font-size:10px}.user-menu{gap:4px}.user-menu #userEmail{max-width:95px;overflow:hidden;text-overflow:ellipsis}.hero{height:300px}.hero h1{font-size:27px}.hero-copy{font-size:11px}.hero-orbit{width:250px;height:250px;left:calc(50% - 125px);top:24px}.hero-emblem{width:52px;height:52px}.library-section{padding:32px 15px 46px}.section-heading h2{font-size:20px}.section-subtitle{font-size:10px}.upload-button{padding:9px 11px;font-size:10px}.document-grid{gap:9px}.doc-card{padding:11px 10px 10px}.file-art{width:36px;height:39px}.doc-info h3{font-size:10px}.doc-info>p{font-size:8px}.doc-meta{gap:4px;font-size:7px}.download-button{font-size:8px}.tiny-label{display:none}.filters{width:100%;overflow:auto}.filter-chip{padding:7px 9px;white-space:nowrap}footer{padding:0 16px;height:58px}footer>span{display:none}.modal{padding:24px 20px 20px}}

/* Light spring ambience: petals sit behind the page and drift with a soft breeze. */
.petal-field{position:fixed;inset:0;z-index:0;pointer-events:none}
.app-shell{position:relative;z-index:1;isolation:isolate}
.auth-gate{z-index:40}

/* Soft, responsive hover feedback for buttons, filters, and learning cards. */
.button,.filter-chip,.drive-toggle,.save-button,.download-button{transition:transform .42s cubic-bezier(.2,.78,.2,1),box-shadow .42s cubic-bezier(.2,.78,.2,1),background-color .32s ease,border-color .32s ease,color .32s ease}
.button:active,.filter-chip:active,.drive-toggle:active,.save-button:active,.download-button:active{transform:scale(.975)}
.button:focus-visible,.filter-chip:focus-visible,.drive-toggle:focus-visible,.save-button:focus-visible,.download-button:focus-visible,.brand:focus-visible,.nav-link:focus-visible{outline:2px solid #d9909e;outline-offset:3px}
.nav-link{position:relative;transition:color .3s ease}
.nav-link:after{content:"";position:absolute;left:0;right:100%;bottom:-7px;height:1px;background:#d9909e;transition:right .38s cubic-bezier(.2,.78,.2,1)}
.nav-link:hover{color:#b87383}
.nav-link:hover:after{right:0}
.doc-card{position:relative;isolation:isolate;overflow:hidden;transition:opacity .55s ease,transform .52s cubic-bezier(.18,.78,.22,1),box-shadow .52s cubic-bezier(.18,.78,.22,1),border-color .4s ease}
.doc-card:before{content:"";position:absolute;z-index:0;inset:0;pointer-events:none;opacity:0;background:radial-gradient(240px circle at var(--pointer-x,50%) var(--pointer-y,50%),rgba(255,231,236,.64),transparent 72%);transition:opacity .45s ease}
.doc-card>*{position:relative;z-index:1}
.doc-card:hover{transform:translateY(-6px) scale(1.008);box-shadow:0 18px 34px rgba(125,91,103,.11);border-color:rgba(226,168,181,.58)}
.doc-card:hover:before{opacity:1}
.doc-card .download-button:hover{transform:translateY(-2px);box-shadow:0 7px 16px rgba(197,126,142,.11)}
.button:hover,.save-button:hover,.drive-toggle:hover{box-shadow:0 9px 20px rgba(197,126,142,.13)}
.modal input,.modal select{transition:border-color .3s ease,box-shadow .35s cubic-bezier(.2,.78,.2,1),background-color .3s ease}
.modal input:focus,.modal select:focus{box-shadow:0 0 0 4px rgba(231,185,195,.2)}

@media(prefers-reduced-motion:reduce){.petal-field{display:none}.doc-card,.button,.filter-chip,.drive-toggle,.save-button,.download-button,.nav-link:after{transition:none!important}.doc-card:hover,.button:hover,.download-button:hover{transform:none}}
/* Match the reference page's soft rose-to-mint wash; keep the canvas clean. */
body{background:linear-gradient(108deg,#fff0ed 0%,#fbf1f1 48%,#e5f6f2 100%)!important}
body:after,.ambient{display:none!important}
.hero{background:transparent!important}
.topbar{background:rgba(255,255,255,.2)}
/* Exact cursor PNG used by the reference page. */
body,body *{cursor:url("./assets/cursor-reference.png"),auto!important}
input,textarea{cursor:text!important}
.file-drop{cursor:url("./assets/cursor-reference.png"),auto!important}

/* Clean login first view, with the same soft full-page reference gradient. */
html,body{min-height:100%;background-attachment:fixed}
body{min-height:100vh;background:linear-gradient(118deg,#fff0ed 0%,#fbf1f1 49%,#e5f6f2 100%)!important}
.app-shell{min-height:100vh;display:flex;flex-direction:column}
.app-shell main{flex:1}
.auth-gate{position:fixed;inset:0;z-index:40;background:transparent;backdrop-filter:none;padding:24px;min-height:100vh}
.auth-mode-toggle{justify-self:center;padding:4px 8px;color:#a27d86;font-size:11px;cursor:pointer}
.auth-gate .modal{width:min(380px,100%);padding:32px;background:rgba(255,255,255,.82);border:1px solid rgba(255,255,255,.94);border-radius:18px;box-shadow:0 18px 60px rgba(94,75,83,.09);animation:gate-in .5s both}
.auth-gate .modal-mark{width:38px;height:38px;border-radius:13px 13px 13px 4px;margin-bottom:22px}
.auth-gate .eyebrow{margin-bottom:9px;letter-spacing:.12em}
.auth-gate .modal h2{font-size:24px;letter-spacing:.04em}
.auth-gate .modal-copy{font-size:12px;margin:9px 0 22px}
.auth-gate .modal form{gap:15px}
.auth-gate .modal form>label{font-size:11px;gap:7px}
.auth-gate .modal input{height:42px;font-size:12px;background:rgba(255,255,255,.84)}
.auth-gate .modal-submit{height:42px;margin-top:3px;font-size:12px}
.auth-gate .modal-foot{font-size:10px;margin-top:18px}
.hero{height:250px;overflow:visible}
.hero-inner{margin-top:0}
.hero .eyebrow{margin-bottom:12px}
.hero h1{font-size:30px}
.hero-copy{font-size:12px;margin:10px 0 0}
.hero-orbit{display:none}
.library-section{padding-top:12px}
.section-heading h2{font-size:20px}
.toolbar{margin-top:18px}
.doc-card{box-shadow:0 3px 14px rgba(79,68,75,.035)}
.reveal{transition:opacity .45s ease,transform .45s ease}
@keyframes gate-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:500px){.auth-gate{padding:18px}.auth-gate .modal{padding:27px 22px}.hero{height:218px}.library-section{padding-top:10px}}
