:root{font-family:'DM Sans','Noto Sans JP',system-ui,sans-serif;color:#172033;background:#f5f7fc;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#172033;--muted:#738096;--line:#e5e9f1;--blue:#4366e8;--blue-dark:#2f4fd0;--soft-blue:#edf1ff;--panel:#fff;--shadow:0 18px 55px rgba(22,36,74,.09)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid rgba(67,102,232,.24);outline-offset:2px}.hidden{display:none!important}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.home-screen{max-width:1440px;margin:auto;padding:0 7.2%}.home-header{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(218,224,237,.75)}.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-weight:800;font-size:20px;letter-spacing:-.8px}.brand-mark{width:34px;height:34px;background:var(--blue);border-radius:10px;display:grid;place-items:center;color:white}.brand-mark svg{width:24px;height:24px;stroke:#fff;stroke-width:2}.brand-light{font-weight:500;color:#79849a}.beta-tag{font-size:10px;letter-spacing:1.8px;color:#8b96a9;font-weight:700}.hero{min-height:590px;display:grid;grid-template-columns:1fr 1.08fr;align-items:center;gap:48px;padding:46px 0 54px}.hero-copy{padding-bottom:6px}.eyebrow{font-size:10px;letter-spacing:2px;color:#76849e;font-weight:800;display:flex;align-items:center;gap:9px}.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:#4c73ed;box-shadow:0 0 0 4px #e7ecff}.hero h1{font-size:clamp(39px,4.2vw,58px);line-height:1.26;letter-spacing:-2.8px;margin:24px 0 18px;font-weight:800}.hero h1 span{color:var(--blue)}.hero-description{color:#718096;line-height:1.95;font-size:14px;max-width:450px;margin:0 0 29px}.home-actions{max-width:425px}.primary-btn{height:52px;padding:0 19px;background:var(--blue);color:#fff;border:0;border-radius:11px;font-weight:700;display:flex;align-items:center;gap:10px;box-shadow:0 8px 20px rgba(67,102,232,.2);transition:.18s}.primary-btn:hover{background:var(--blue-dark);transform:translateY(-1px)}.primary-btn svg{width:18px;height:18px}.join-line{display:flex;gap:9px;margin-top:12px}.join-line input{min-width:0;flex:1;height:48px;border:1px solid #dfe4ee;background:#fff;border-radius:10px;padding:0 15px;letter-spacing:2px;font-weight:700}.join-line input::placeholder{letter-spacing:0;font-weight:400;color:#9aa4b5}.secondary-btn{padding:0 18px;border:1px solid #dfe4ee;background:#fff;border-radius:10px;color:#34415b;font-weight:700;white-space:nowrap}.secondary-btn:hover{border-color:#aab8ef;background:#f9faff}.secondary-btn span{margin-left:10px;color:var(--blue)}.error-text{min-height:20px;margin:8px 0 0;color:#d34b57;font-size:12px}.feature-row{display:flex;flex-wrap:wrap;gap:19px;margin-top:25px}.feature-row>div{display:flex;align-items:center;gap:7px;color:#758198;font-size:11px;font-weight:600}.feature-icon{width:23px;height:23px;border:1px solid #e1e7f3;border-radius:7px;display:grid;place-items:center;color:#5871d4}.feature-icon svg{width:14px;height:14px}.hero-art{position:relative;min-width:0;padding:24px 0}.art-window{position:relative;z-index:1;border:1px solid #e0e6f3;border-radius:18px;background:#fff;box-shadow:0 28px 75px rgba(47,66,126,.15);overflow:hidden;transform:rotate(1deg)}.art-toolbar{height:48px;background:#fbfcff;border-bottom:1px solid #edf0f6;display:flex;align-items:center;gap:6px;padding:0 16px}.art-toolbar>span{width:7px;height:7px;border-radius:50%;background:#d8deea}.art-toolbar i{flex:1}.art-toolbar b{font-size:9px;color:#a0a9bb;font-weight:600}.art-toolbar small{font-size:9px;color:#5e7bdb;background:#eef2ff;border-radius:20px;padding:4px 8px;margin-left:10px}.art-board{height:350px;position:relative;overflow:hidden;background-color:#fff;background-image:radial-gradient(#dce3f3 1px,transparent 1px);background-size:22px 22px}.art-note{position:absolute;z-index:2;padding:16px 17px;font-size:15px;line-height:1.5;font-weight:700;box-shadow:0 9px 20px rgba(30,46,88,.12);border-radius:3px}.note-yellow{top:62px;left:12%;background:#fff0ae;color:#55513a;transform:rotate(-5deg)}.note-yellow span{position:absolute;right:11px;top:8px;color:#e0a62b}.note-blue{top:182px;right:12%;background:#dce8ff;color:#3a4c76;transform:rotate(4deg)}.art-lines{position:absolute;inset:0;width:100%;height:100%;z-index:1}.art-lines path{stroke:#5c75d8;stroke-width:2.2;stroke-linecap:round;fill:none;stroke-dasharray:5 5}.art-sticker{position:absolute;z-index:3;color:#eb9d40;font-size:41px}.sticker-one{left:47%;top:46px}.sticker-two{right:22%;bottom:34px;color:#5c75d8}.art-cursor{position:absolute;z-index:4;display:flex;align-items:center;gap:4px;flex-direction:column}.art-cursor span{font-size:9px;color:#fff;background:#536ed7;border-radius:8px 8px 8px 0;padding:4px 7px;font-weight:700}.art-cursor i{width:11px;height:11px;border:2px solid white;background:#536ed7;transform:rotate(45deg);margin-top:-4px}.cursor-a{top:40%;left:39%}.cursor-b{top:72%;right:27%}.cursor-b span,.cursor-b i{background:#28a78a}.art-glow{position:absolute;z-index:0;width:76%;height:75%;top:10%;left:14%;background:#dce4ff;filter:blur(55px);border-radius:50%}.how-section{padding:35px 0 68px;border-top:1px solid #e8ecf4}.section-heading{text-align:center}.section-heading .eyebrow{justify-content:center}.section-heading h2{font-size:24px;letter-spacing:-.8px;margin:12px 0 28px}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.step-card{position:relative;background:#fff;border:1px solid #e8ecf3;padding:25px 24px;border-radius:14px;min-height:185px}.step-number{position:absolute;right:20px;top:19px;font-size:11px;color:#b1bac9;font-weight:800;letter-spacing:1px}.step-icon{width:39px;height:39px;border-radius:11px;background:#eef2ff;color:#4a68da;display:grid;place-items:center}.step-icon svg{width:21px;height:21px}.step-card h3{margin:15px 0 7px;font-size:14px}.step-card p{margin:0;color:#8190a5;font-size:11px;line-height:1.75}.home-footer{height:65px;border-top:1px solid #e8ecf4;display:flex;align-items:center;justify-content:space-between;color:#a0aabd;font-size:10px;letter-spacing:.4px}
/* Room workspace */
.room-screen{height:100dvh;min-height:540px;display:flex;flex-direction:column;background:#f4f6fa;overflow:hidden}.room-topbar{height:60px;flex:0 0 60px;display:flex;align-items:center;gap:22px;padding:0 18px;background:#fff;border-bottom:1px solid #e5e9f0;z-index:5}.room-brand{font-size:17px}.room-brand .brand-mark{width:30px;height:30px;border-radius:9px}.room-brand .brand-mark svg{width:21px;height:21px}.room-meta{display:flex;align-items:center;gap:9px;margin-left:8px}.room-code{font-size:12px;font-weight:800;letter-spacing:1.6px;background:#f0f3fb;color:#435376;border:1px solid #e6eaf4;padding:7px 10px;border-radius:8px}.role-chip{font-size:9px;font-weight:800;letter-spacing:1px;padding:5px 7px;border-radius:6px;background:#edf1ff;color:#4965d2}.connection-badge{display:flex;align-items:center;gap:6px;color:#718096;font-size:10px}.connection-badge i{width:7px;height:7px;background:#e4a83b;border-radius:50%}.connection-badge.online i{background:#21aa7a;box-shadow:0 0 0 3px #e1f6ed}.connection-badge.offline i{background:#db5c63}.top-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.top-btn,.leave-btn{height:34px;border:1px solid #e4e8f0;background:#fff;border-radius:8px;padding:0 11px;display:flex;align-items:center;gap:7px;color:#57647b;font-size:11px;font-weight:700}.top-btn svg{width:15px;height:15px}.top-btn:hover{background:#f6f8fd}.leave-btn{border-color:#f0dede;color:#c04a53;background:#fffafa}.leave-btn:hover{background:#fff0f0}.workspace{min-height:0;flex:1;display:grid;grid-template-columns:58px minmax(0,1fr) 246px;gap:0}.tool-rail{z-index:2;background:#fff;border-right:1px solid #e6eaf1;display:flex;flex-direction:column;align-items:center;padding:12px 7px;gap:11px}.tool-group{display:flex;flex-direction:column;gap:5px}.tool-btn{width:40px;height:40px;border:0;background:transparent;border-radius:10px;color:#6e7b91;display:grid;place-items:center;transition:.15s}.tool-btn svg{width:19px;height:19px}.tool-btn:hover{background:#f1f4fa;color:#3a55b9}.tool-btn.active{background:#eaf0ff;color:#4162df;box-shadow:inset 0 0 0 1px #dce5ff}.rail-separator{width:26px;height:1px;background:#e9edf4}.tool-color-wrap,.tool-width-wrap{display:flex;align-items:center;flex-direction:column;gap:6px}.tool-color-wrap label,.tool-width-wrap label{font-size:9px;color:#98a2b2;font-weight:700}.tool-color-wrap input{appearance:none;width:25px;height:25px;padding:0;border:3px solid #fff;outline:1px solid #dfe4ee;border-radius:50%;overflow:hidden;background:transparent;cursor:pointer}.tool-color-wrap input::-webkit-color-swatch-wrapper{padding:0}.tool-color-wrap input::-webkit-color-swatch{border:0;border-radius:50%}.tool-width-wrap input{width:35px;accent-color:#536fe0}.rail-bottom{margin-top:auto;display:flex;flex-direction:column;gap:4px}.small-tool{width:34px;height:34px}.small-tool svg{width:16px;height:16px}.canvas-column{display:flex;min-width:0;min-height:0;flex-direction:column;position:relative}.canvas-toolbar{height:40px;flex:0 0 40px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;background:#f8f9fc;border-bottom:1px solid #e8ecf3}.canvas-hint{font-size:10px;color:#97a1b1}.canvas-view-actions{display:flex;align-items:center;gap:7px}.canvas-view-actions button{width:26px;height:25px;border:1px solid #e2e7f0;background:#fff;border-radius:6px;color:#68758b;font-weight:700}.canvas-view-actions span{font-size:10px;color:#68758b;min-width:42px;text-align:center;font-variant-numeric:tabular-nums}.canvas-view-actions #resetViewBtn{width:auto;padding:0 8px;font-size:9px;font-weight:600}.canvas-wrap{flex:1;min-height:0;position:relative;overflow:hidden;background:#f8f9fc;touch-action:none}.canvas-wrap canvas{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}.empty-hint{position:absolute;pointer-events:none;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:8px;text-align:center;color:#a0a9b8;transition:opacity .2s}.empty-hint strong{font-size:13px;color:#7e8aa0;font-weight:700}.empty-hint>span:last-child{font-size:10px}.empty-illustration{width:58px;height:58px;border-radius:17px;background:#eef2fb;display:grid;place-items:center;color:#8b9de0}.empty-illustration svg{width:40px;height:40px;stroke-width:1.5}.canvas-bottom{height:27px;flex:0 0 27px;background:#fff;border-top:1px solid #e8ecf3;display:flex;justify-content:space-between;align-items:center;padding:0 12px;color:#a0a9b8;font-size:9px}.right-panel{background:#fff;border-left:1px solid #e6eaf1;display:flex;flex-direction:column;min-height:0;overflow-y:auto;padding:18px 15px 12px}.panel-section{display:flex;flex-direction:column;gap:10px}.panel-title{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:800;color:#4b5870}.count-pill{font-size:9px;min-width:19px;height:19px;display:grid;place-items:center;background:#edf1ff;color:#536ed8;border-radius:12px;padding:0 6px}.participant-list{display:flex;flex-direction:column;gap:7px}.participant-row{height:31px;display:flex;align-items:center;gap:8px;color:#68758a;font-size:10px}.avatar-dot{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:#e8edff;color:#506bd6;font-size:9px;font-weight:800}.avatar-dot.self-dot{background:#e2f4ed;color:#278c69}.you-tag{margin-left:auto;font-size:8px;color:#8e9bae;letter-spacing:.7px}.panel-note{margin:0;color:#a0a9b7;font-size:9px;line-height:1.65}.panel-divider{height:1px;background:#edf0f5;margin:16px 0}.panel-action{display:flex;align-items:center;gap:9px;height:34px;border:1px solid #e8ecf3;background:#fff;border-radius:8px;color:#66738a;padding:0 10px;font-size:10px;text-align:left}.panel-action svg{width:15px;height:15px;color:#697fd0}.panel-action:hover{background:#f7f8fc;border-color:#dce3f1}.room-info{display:flex;gap:8px;align-items:flex-start;color:#8b96a8;font-size:9px;line-height:1.65}.info-dot{width:6px;height:6px;border-radius:50%;background:#32a67a;flex:0 0 6px;margin-top:4px}.info-dot.blue{background:#6683e5}.info-dot.amber{background:#dfa64a}.panel-footer{margin-top:auto;padding-top:18px;display:flex;flex-direction:column;gap:12px}.clear-board-btn{background:#fff;border:1px solid #f0e2e2;border-radius:8px;color:#c66b70;height:31px;font-size:9px}.clear-board-btn:hover{background:#fff8f8}.panel-footer>span{text-align:center;font-size:8px;letter-spacing:1.2px;color:#c0c7d2}.peer-cursors{position:absolute;inset:0;pointer-events:none}.peer-cursor{position:absolute;display:flex;flex-direction:column;align-items:flex-start;font-size:9px;color:white;transition:transform .06s linear}.peer-cursor span{padding:3px 6px;border-radius:5px 5px 5px 0;background:#5974de;white-space:nowrap}
.modal-backdrop{position:fixed;inset:0;z-index:30;background:rgba(20,29,48,.35);backdrop-filter:blur(4px);display:grid;place-items:center;padding:20px}.modal-card{width:min(420px,100%);background:#fff;border:1px solid #e9edf4;border-radius:17px;padding:25px;box-shadow:0 24px 90px rgba(20,30,60,.22);animation:modal-in .18s ease-out}.modal-icon{width:42px;height:42px;border-radius:12px;background:#edf1ff;color:#536ed9;display:grid;place-items:center;margin-bottom:16px}.modal-icon svg{width:20px;height:20px}.modal-card h2{font-size:17px;margin:0 0 8px;color:#25314a}.modal-card p{font-size:12px;line-height:1.8;color:#78859a;margin:0 0 18px;white-space:pre-line}.modal-input{width:100%;resize:vertical;border:1px solid #dfe5f0;border-radius:9px;padding:11px;color:#34415b;margin:0 0 16px;font-size:12px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.modal-actions button{height:37px;padding:0 14px;border-radius:8px;font-size:11px;font-weight:700;border:1px solid #e1e6f0;background:#fff;color:#647189}.modal-actions button.primary{background:var(--blue);border-color:var(--blue);color:white}.modal-actions button.danger{color:#fff;background:#c95760;border-color:#c95760}.modal-actions button:hover{filter:brightness(.97)}.toast-area{position:fixed;z-index:50;right:18px;bottom:18px;display:flex;flex-direction:column;gap:8px;pointer-events:none}.toast{background:#202b42;color:#fff;border-radius:9px;padding:11px 14px;font-size:11px;box-shadow:0 8px 30px rgba(12,20,40,.18);animation:toast-in .2s ease-out;max-width:min(360px,calc(100vw - 36px))}.toast.error{background:#9f3b48}.toast.success{background:#1e7d61}
@keyframes modal-in{from{opacity:0;transform:translateY(7px) scale(.985)}to{opacity:1;transform:none}}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:1050px){.home-screen{padding:0 4%}.hero{gap:25px}.workspace{grid-template-columns:55px minmax(0,1fr) 215px}.right-panel{padding:15px 12px}.hero h1{font-size:47px}}
@media(max-width:760px){.home-screen{padding:0 20px}.home-header{height:68px}.beta-tag{font-size:8px}.hero{display:flex;flex-direction:column;align-items:stretch;padding:42px 0 35px;gap:20px}.hero h1{font-size:clamp(38px,10vw,52px);margin:18px 0 13px}.hero-description{font-size:13px}.hero-art{max-width:520px;width:100%;margin:0 auto;padding:12px 0}.art-board{height:260px}.steps-grid{grid-template-columns:1fr;gap:9px}.step-card{min-height:0;padding:18px 20px}.step-card h3{margin-top:10px}.how-section{padding:26px 0 40px}.section-heading h2{font-size:20px}.room-screen{min-height:460px}.room-topbar{height:54px;flex-basis:54px;padding:0 9px;gap:8px}.room-brand{font-size:14px;gap:6px}.room-brand .brand-mark{width:26px;height:26px}.room-meta{gap:5px;margin-left:1px}.room-code{font-size:10px;padding:6px 7px;letter-spacing:1px}.role-chip{display:none}.connection-badge{font-size:0}.connection-badge i{width:8px;height:8px}.top-actions{gap:5px}.top-btn,.leave-btn{height:31px;padding:0 8px;font-size:10px}.top-btn span{display:none}.top-btn svg{width:16px;height:16px}.workspace{grid-template-columns:1fr;grid-template-rows:46px minmax(0,1fr)}.tool-rail{grid-row:1;grid-column:1;flex-direction:row;justify-content:flex-start;padding:4px 8px;overflow-x:auto;border-right:0;border-bottom:1px solid #e6eaf1;gap:8px}.tool-group{flex-direction:row;gap:3px}.tool-btn{width:35px;height:35px;flex:0 0 35px}.tool-btn svg{width:17px;height:17px}.rail-separator{height:24px;width:1px;flex:0 0 1px}.tool-color-wrap,.tool-width-wrap{flex-direction:row;gap:5px;white-space:nowrap}.tool-color-wrap label,.tool-width-wrap label{display:none}.tool-color-wrap input{width:23px;height:23px}.tool-width-wrap input{width:49px}.rail-bottom{margin:0 0 0 auto;flex-direction:row}.small-tool{width:32px;height:32px}.canvas-column{grid-row:2;grid-column:1}.right-panel{display:none}.canvas-toolbar{height:35px;flex-basis:35px;padding:0 8px}.canvas-hint{font-size:9px}.canvas-bottom{height:23px;flex-basis:23px}.canvas-view-actions{gap:4px}.canvas-view-actions button{width:23px;height:22px}.canvas-view-actions #resetViewBtn{padding:0 5px}.modal-card{padding:21px}.toast-area{right:10px;bottom:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

.top-btn:disabled, .panel-action:disabled {
  opacity: .42;
  cursor: not-allowed;
  filter: grayscale(.35);
}
