@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');
:root{--bg:#091421;--panel:#111f2b;--panel2:#162938;--border:rgba(160,193,202,.16);--text:#eaf0f1;--muted:#9caebc;--teal:#5ad1c6;--gold:#dbb983;--shadow:0 22px 75px rgba(0,0,0,.3)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',Arial,sans-serif;line-height:1.55;min-height:100vh;position:relative}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.ambient{position:fixed;z-index:-1;pointer-events:none;filter:blur(65px);border-radius:50%;opacity:.3}.ambient-one{width:480px;height:450px;top:-200px;right:8%;background:#164954}.ambient-two{width:440px;height:380px;bottom:10%;left:-250px;background:#14394c}.top{max-width:1420px;margin:auto;padding:24px clamp(22px,5vw,70px);display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:96px}.brand{display:flex;align-items:center;gap:13px;flex-shrink:0}.brand img{width:45px;height:45px}.brand strong{display:block;letter-spacing:.15em;font-size:13px;white-space:nowrap}.brand small{display:block;letter-spacing:.23em;color:#94adb9;font-size:9px;padding-top:3px}.brand small b{color:#dcb77e;font-weight:600}nav{display:flex;align-items:center;gap:clamp(14px,2.4vw,35px);font-size:13px;color:#b4c5cb}nav a:hover,nav a.active,nav .link:hover{color:var(--teal)}nav .active{font-weight:700}nav form{margin:0}.link{border:0;background:transparent;color:inherit;padding:0}.secure-chip,.admin-badge{letter-spacing:.13em;font-weight:800;font-size:10px;color:#d7c19c;background:rgba(217,182,126,.07);border:1px solid rgba(217,182,126,.27);border-radius:100px;padding:9px 15px}main{max-width:1420px;padding:0 clamp(22px,5vw,70px) 40px;margin:auto;min-height:calc(100vh - 170px)}.eyebrow{color:var(--teal);font-size:11px;letter-spacing:.2em;font-weight:800}.eyebrow.muted{color:#9eb4bd}.spark{color:var(--gold)}h1,h2,h3,p{margin-top:0}h1{font-family:'Playfair Display',Georgia,serif;font-size:clamp(46px,5vw,76px);font-weight:500;letter-spacing:-.035em;line-height:1.09;margin:16px 0 20px}h1 em{color:#d9b982;font-weight:500}h2{letter-spacing:-.025em;font-size:30px}h3{font-size:20px}p{color:#aebfc7}.hero{position:relative;overflow:hidden;border:1px solid #294052;border-radius:19px;min-height:374px;display:flex;align-items:center;justify-content:space-between;padding:48px clamp(30px,5.5vw,78px);background:linear-gradient(90deg,rgba(5,17,28,.99) 0%,rgba(5,17,28,.91) 36%,rgba(6,18,29,.48) 69%,rgba(4,13,23,.28)),url('images/vault-hero.png') center 51% /cover;box-shadow:var(--shadow)}.hero::before{content:'';position:absolute;inset:0;border-top:2px solid rgba(111,213,217,.3);pointer-events:none}.hero-content{position:relative;z-index:1;max-width:700px}.hero h1{font-size:clamp(42px,4.5vw,68px)}.hero p{max-width:530px;font-size:15px;line-height:1.7}.hero-actions{display:flex;gap:12px;margin-top:24px;flex-wrap:wrap}.hero-metric{position:relative;z-index:1;align-self:flex-end;text-align:right;display:flex;flex-direction:column;background:rgba(8,22,35,.75);backdrop-filter:blur(10px);border:1px solid rgba(147,182,192,.23);border-radius:14px;padding:15px 22px;min-width:155px}.hero-metric strong{font-size:46px;font-weight:600;line-height:1}.hero-metric span{font-size:9px;letter-spacing:.16em;color:#e1c59e}.hero-metric .metric-line{height:1px;background:#55737c;margin:9px 0}.hero-metric small{color:#a8c0c9;font-size:10px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:26px;background:linear-gradient(100deg,#66d5c8,#99e1d1);color:#08202a;border:1px solid transparent;border-radius:7px;font-weight:800;font-size:12px;padding:13px 20px;box-shadow:0 6px 20px #071e266b;cursor:pointer}.button:hover{filter:brightness(1.07)}.button.ghost,.button.subtle{background:rgba(12,31,44,.56);color:#d9e5e8;border-color:#55707d;box-shadow:none}.workspace-head{display:flex;align-items:flex-end;justify-content:space-between;margin:43px 0 19px}.workspace-head h2{margin:6px 0 0}.small-count{font:700 11px 'DM Sans',sans-serif;color:#91a9b5;border:1px solid #385363;border-radius:30px;vertical-align:middle;padding:5px 8px;margin-left:4px}.filters{display:flex;gap:11px;align-items:stretch;background:#0f202e;border:1px solid var(--border);border-radius:11px;padding:12px;margin-bottom:20px}.search-field{flex:1;display:flex;align-items:center;border:1px solid #345162;border-radius:7px;background:#0b1925;padding-left:15px}.search-field span{color:var(--teal);font-size:24px}.filters input,.filters select{color:#e7f0f2;background:#0b1925;border:1px solid #345162;border-radius:7px;min-height:45px;padding:10px 13px;font-size:12px;min-width:0}.filters input{flex:1;border:0;background:transparent}.filters input::placeholder,input::placeholder,textarea::placeholder{color:#758f9d}.filters select{max-width:200px;min-width:140px}.filters .button{min-width:104px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.prompt-card{position:relative;background:linear-gradient(145deg,#152938,#101f2e 73%);border:1px solid #294354;border-radius:12px;padding:23px;min-height:244px;display:flex;flex-direction:column;overflow:hidden;transition:.18s transform,.18s border-color}.prompt-card::after{content:'';position:absolute;width:170px;height:170px;right:-100px;top:-90px;border-radius:50%;background:#1d5761;filter:blur(60px);opacity:.25}.prompt-card:hover{transform:translateY(-3px);border-color:#5fbbb8}.meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.pill{font-size:10px;letter-spacing:.08em;padding:5px 10px;border:1px solid #416476;color:#bed6db;border-radius:4px}.visibility{font-size:9px;letter-spacing:.09em;color:#aabfc8;font-weight:800;white-space:nowrap}.visibility.shared{color:#7bd8cd}.visibility.private{color:#d6be95}.card-symbol{font-size:26px;color:var(--gold);margin-top:18px}.prompt-card h3{font-size:19px;margin:4px 0 7px;line-height:1.3}.prompt-card p{font-size:12px;line-height:1.6;max-width:90%;flex:1}.bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;border-top:1px solid #2d4857;padding-top:14px;margin-top:14px;color:#839da9;font-size:9px;letter-spacing:.08em}.bottom b{color:#5a7888}.arrow{font-size:20px;color:#76d8d0}.export{margin-top:20px;border:1px solid #244655;background:linear-gradient(90deg,#112938,#0e1b28);padding:19px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-radius:10px}.export span{display:flex;flex-direction:column;gap:2px;font-size:13px}.export small{font-size:11px;color:#9eb3bd}.export a{color:#7bdbd1;font-weight:700;font-size:12px}.empty{grid-column:1/-1;border:1px dashed #355468;border-radius:12px;padding:48px 20px;text-align:center;background:#112334}.empty h3{margin:0 0 8px}.empty p{font-size:13px}.empty-icon{font-size:34px;color:var(--gold)}.login-layout{position:relative;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);align-items:center;gap:55px;min-height:590px;border:1px solid #294454;border-radius:20px;overflow:hidden;padding:clamp(26px,5vw,75px);background:linear-gradient(90deg,rgba(5,17,29,.89),rgba(6,18,30,.62) 55%,rgba(6,15,26,.73)),url('images/vault-hero.png') center/cover;box-shadow:var(--shadow)}.login-story{position:relative;z-index:1}.login-story h1{font-size:clamp(49px,5vw,75px)}.login-story p{font-size:16px;max-width:460px;line-height:1.8}.login-features{display:flex;flex-direction:column;gap:13px;color:#d6e2e5;margin-top:32px;font-size:12px;font-weight:700;letter-spacing:.03em}.login-features span::first-letter{color:var(--gold)}.login-panel{position:relative;z-index:1;max-width:430px;justify-self:end;width:100%;padding:34px 32px;background:rgba(8,22,34,.91);backdrop-filter:blur(18px);border:1px solid #3e5c67;border-radius:15px;box-shadow:0 25px 60px rgba(0,0,0,.32)}.mini-icon{margin-bottom:16px}.mini-icon img{width:54px;height:54px}.login-panel h2{font-family:'Playfair Display',Georgia,serif;font-size:35px;font-weight:500;margin:9px 0 5px}.login-panel p{font-size:13px;margin-bottom:28px}.login-panel label,.edit-form label,.content-panel label{display:block;color:#bfd2d8;font-size:11px;font-weight:800;letter-spacing:.04em;margin:14px 0 18px}.login-panel input,.edit-form input,.edit-form textarea,.edit-form select,.content-panel input,.content-panel textarea,.content-panel select{display:block;width:100%;margin-top:8px;min-height:45px;border:1px solid #3a5664;border-radius:7px;padding:11px 13px;background:#091a27;color:#eaf3f4;outline:none}.login-panel input:focus,.edit-form input:focus,.edit-form textarea:focus,.edit-form select:focus{border-color:var(--teal)}.login-panel .button.full{width:100%;margin:8px 0;min-height:46px}.login-foot{border-top:1px solid #294253;margin-top:20px;padding-top:15px;font-size:10px;text-align:center;color:#8299a5}.page-head{padding:38px 0 18px}.page-head h1{font-size:clamp(35px,4.4vw,56px);margin:9px 0 11px}.page-head p{font-size:14px}.page-head>a{color:var(--teal);font-size:12px}.content-panel,.edit-form{background:linear-gradient(130deg,#152937,#101e2b);border:1px solid #2e4959;border-radius:12px;padding:24px;margin:18px 0}.content-panel h2{font-size:20px}.content-panel.narrow{max-width:560px}.edit-form .fields{display:grid;grid-template-columns:repeat(2,1fr);gap:0 22px}.edit-form textarea{resize:vertical;line-height:1.6}.toolbar{display:flex;gap:10px;margin:15px 0;flex-wrap:wrap}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.7 ui-monospace,Menlo,Consolas,monospace;color:#dcebe9}.preserve{white-space:pre-wrap;font-size:14px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.two-col .content-panel{margin:0}.member{border-top:1px solid #2d4857;padding:14px 0;display:flex;align-items:center;justify-content:space-between;gap:10px}.member small{display:block;color:var(--muted);font-size:11px}.hint{font-size:12px}.danger{border:1px solid #aa6163;background:transparent;color:#f6a4a6;border-radius:7px;padding:8px 11px;font-size:12px}.flash{border-radius:6px;padding:12px 16px;margin:15px 0;font-size:13px;background:#17413e;color:#c6fff6}.flash.error{background:#43252c;color:#ffcccc}footer{max-width:1420px;padding:30px clamp(22px,5vw,70px);margin:auto;color:#6e8693;font-size:10px;letter-spacing:.07em;border-top:1px solid #1b3646;display:flex;justify-content:space-between;gap:20px}.gold{color:var(--gold)}
@media(max-width:950px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-metric{display:none}.hero{min-height:360px}.login-layout{grid-template-columns:1fr;gap:35px}.login-panel{justify-self:start;max-width:500px}.filters{flex-wrap:wrap}.search-field{flex:1 1 100%}.filters select{flex:1;max-width:none}nav{flex-wrap:wrap;justify-content:flex-end;gap:12px}}@media(max-width:620px){.top{align-items:flex-start;flex-direction:column;gap:16px}.brand strong{font-size:12px}nav{justify-content:flex-start}.hero{padding:32px 22px;min-height:380px;background-position:62% center}.hero h1{font-size:42px}.hero p{font-size:13px}.cards{grid-template-columns:1fr}.workspace-head{align-items:center}.workspace-head h2{font-size:24px}.admin-badge{display:none}.filters{padding:10px}.filters select{flex:1 1 100%;max-width:none}.filters .button{width:100%}.login-layout{padding:26px 18px}.login-story h1{font-size:47px}.login-panel{padding:25px 20px}.edit-form .fields,.two-col{grid-template-columns:1fr}.export{align-items:flex-start;flex-direction:column}footer{flex-direction:column} }
/* Node.js edition: page-specific layouts */
.login-shell{min-height:650px;display:grid;grid-template-columns:1.1fr 1fr;gap:32px;align-items:stretch;margin:30px auto 55px;max-width:1150px;border:1px solid rgba(171,202,219,.15);border-radius:24px;overflow:hidden;background:rgba(10,23,35,.82);box-shadow:0 30px 90px #0006}.login-image{background:linear-gradient(90deg,rgba(7,16,27,.1),rgba(7,16,27,.65)),url('/assets/images/vault-hero.png') center/cover;min-height:400px}.login-box{padding:75px 50px;display:flex;flex-direction:column;justify-content:center}.login-box h1{font-size:clamp(36px,4vw,60px);line-height:1.12}.login-box p{opacity:.75;max-width:380px}.login-box form,.panel form{display:grid;gap:16px;margin:24px 0}.login-box label,.panel label,.edit-form label{display:grid;gap:8px;font-weight:600}.login-box input,.panel input,.edit-form input,.edit-form textarea,.edit-form select{width:100%;padding:13px;border:1px solid #ffffff30;border-radius:9px;color:#f3f8ff;background:#0a1a29;font:inherit}.login-box button{width:100%;margin-top:6px}.login-box small{color:#9faebc}.page-heading{max-width:1080px;margin:44px auto 22px}.page-heading h1{font-size:clamp(32px,4vw,56px);margin:10px 0}.page-heading p{opacity:.7}.prompt-detail,.panel,.edit-form{max-width:1080px;margin:20px auto 55px;padding:30px;background:#0b1c2b;border:1px solid #ffffff1d;border-radius:18px}.prompt-toolbar{display:flex;gap:12px;margin-bottom:18px}.prompt-text{white-space:pre-wrap;word-break:break-word;padding:24px;line-height:1.65;background:#061421;border:1px solid #ffffff20;border-radius:12px;color:#e3eff6;font:inherit}.edit-form{display:grid;gap:18px}.members-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:1080px;margin:auto}.members-layout .panel{width:100%}.member-row{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid #ffffff1d}.member-row form{margin:0}.panel{max-width:1080px}.login-box .eyebrow{margin-bottom:12px}@media(max-width:760px){.login-shell{grid-template-columns:1fr}.login-image{min-height:180px}.login-box{padding:36px 25px}.members-layout{grid-template-columns:1fr}.prompt-detail,.panel,.edit-form{padding:18px}.prompt-toolbar{flex-wrap:wrap}}
