/* CredTech Studio 0.2 · visual refinement, not a replacement application.
   Existing data flow and action handlers are preserved.
   Color carries hierarchy; labels, icons and focus states carry meaning. */
:root{
 --bg:#090b10;--panel:#151925;--panel-raised:#202534;--text:#f6f7fb;
 --muted:#a4aaba;--line:rgba(211,220,255,.105);--lime:#d6ff3f;
 --lavender:#c3a6ff;--mint:#57eac6;--orange:#ffae8e;--violet:#9772ff;
 --radius:24px;--ease:cubic-bezier(.2,.7,.2,1);
 --shadow-soft:0 12px 35px #0002,inset 0 1px 0 #ffffff08;
 --shadow-raised:0 24px 65px #0005,inset 0 1px 0 #ffffff14;
}
html{background:var(--bg)}
body{background:radial-gradient(ellipse at 67% -15%,#43466b22,transparent 54%),radial-gradient(ellipse at 6% 25%,#4f327717,transparent 44%),var(--bg);font-size:14px;line-height:1.5}
body:before{content:'';position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 95% 80%,#2c777507,transparent 38%);z-index:-1}
button{font-weight:500}button:hover:not(:disabled){filter:none}button:disabled{opacity:.55}
h1{font-size:clamp(40px,4.2vw,61px);font-weight:600;letter-spacing:-2.5px;line-height:1.08}
h2{font-weight:600}h3{font-weight:600;line-height:1.4}
.eyebrow{font-size:10px;letter-spacing:1.8px;color:#a7afc0;line-height:1.5}
.small{font-size:13px}.muted{color:var(--muted)}
.btn{min-height:46px;border-radius:13px;padding:12px 19px;font-weight:600;border-color:#ffffff15;background:#ffffff04;box-shadow:inset 0 1px 0 #ffffff05;transition:background .18s,color .18s,box-shadow .22s,transform .22s}
.btn:hover:not(:disabled){background:#ffffff0a;transform:translateY(-2px);box-shadow:0 8px 18px #0002,inset 0 1px 0 #ffffff08}
.btn.primary{background:linear-gradient(125deg,#e0ff6f,#d6ff3f 58%,#c3f22f);color:#19210a;border-color:#e7ff84;box-shadow:0 6px 25px #b5d53918,inset 0 1px 0 #fff9}
.btn.primary:hover:not(:disabled){background:linear-gradient(125deg,#e7ff91,#dfff54);box-shadow:0 9px 30px #c4e64825,inset 0 1px 0 #fffa}
.btn:active:not(:disabled),.icon-btn:active:not(:disabled){transform:translateY(0) scale(.98)}
.button-arrow{display:grid;place-items:center;background:#2430060b;border-left:1px solid #23300a20;padding-left:13px;margin-left:7px}
.button-arrow .icon{width:19px;height:19px}
.btn.sm{min-height:38px;font-size:12px}.btn.ghost{box-shadow:none;color:#bec5d2}
.icon-btn{background:#ffffff05;border-color:#ffffff15;border-radius:12px;width:42px;height:42px;color:#cad0dd}
.icon-btn:hover{background:#ffffff0d;color:white}
:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid #defb7d;outline-offset:4px}
input,textarea,select{background:#0c101a;border-color:#c5d3ff1b;font-size:14px;line-height:1.5;border-radius:13px;padding:13px 15px}
input::placeholder,textarea::placeholder{color:#9ca5b6}input:focus,textarea:focus,select:focus{border-color:#bc9eff;box-shadow:0 0 0 4px #ad87ff10}
.badge{font-size:10px;padding:5px 10px;min-height:27px;color:#c0c8d5;border-color:#d5deff1c;background:#ffffff04;font-weight:500}
.badge.lime{color:#d6ff6a;background:#d6ff3f0b;border-color:#d6ff3f28}
.badge.lavender{color:#dccbff;background:#b59bff14;border-color:#c5b8f329}
.badge.orange{color:#ffc1a4;background:#ff977614;border-color:#ffae8e29}
.label{font-size:13px;color:#c9cfdc}.caption,.body-copy{color:var(--muted)}
.form-group{margin-bottom:21px}.check-row{font-size:13px;color:#c1c8d5;line-height:1.6}
.check-row input{width:18px;height:18px;margin-top:3px;flex-shrink:0}
.pill-tabs{background:#0c101977;border-color:#d8dfff13;border-radius:14px;padding:4px}
.pill-tabs button{font-size:12px;font-weight:500;color:#a6afc1;min-height:36px;padding:8px 13px;border-radius:10px}
.pill-tabs button.active{background:linear-gradient(140deg,#353747,#252836);color:#f6f7fb;box-shadow:0 2px 8px #0002,inset 0 1px 0 #ffffff12}
.pill-tabs button:hover:not(.active){background:#ffffff06;color:#f6f7fb}
.surface{border:1px solid #ccd4ff16;border-top-color:#e2e7ff20;background:linear-gradient(140deg,#1b202ddd,#111520ee);box-shadow:var(--shadow-soft)}
/* The frame stays calm, leaving vivid color for intent and identity. */
.app-header{height:84px;max-width:1480px;padding:0 46px}
.brand-symbol{width:30px;height:30px;filter:drop-shadow(0 0 9px #d6ff3f0a)}
.brand-word{font-size:25px;letter-spacing:-1.5px}.brand-label{font-size:11px;color:#a1aaba;display:flex;gap:14px;align-items:center}
.brand-edition{font-family:var(--font);font-size:8px;letter-spacing:1.4px;background:#b69bff0d;border:1px solid #bda5ff22;color:#cbb5f5;padding:3px 6px;border-radius:5px}
.brand-divider{background:#e4e7ff20;margin-left:14px;margin-right:5px}
.header-actions{gap:18px}.preview-label{color:#c7bdab;background:#ffb97906;border-color:#eabb7b1b;font-size:10px;padding:8px 11px}
.preview-label .status-dot{background:#efc585;color:#efc585;box-shadow:none}
.header-actions .credits{color:#c7cfda;font-size:12px}
.user-circle{background:linear-gradient(135deg,#dbc9ff,#bca2ee);color:#292039;outline:3px solid #c4a7f211;box-shadow:inset 0 1px 0 #fffa;width:35px;height:35px}
.header-line{max-width:calc(100% - 92px);background:linear-gradient(90deg,#ffffff04,#c6d1ff15,#ffffff04)}
.app-main{max-width:1400px;padding:29px 46px 134px;min-height:calc(100vh - 85px)}
.view{animation:enter .24s var(--ease)}
.dock-wrap{bottom:23px;z-index:30}.dock{gap:5px;padding:7px;border-radius:22px;border:1px solid #e4e9ff24;border-top-color:#d2ddff3b;background:linear-gradient(135deg,#303645de,#151b25f0);backdrop-filter:blur(22px) saturate(1.4);box-shadow:0 14px 65px #0008,inset 0 1px 0 #ffffff0c}
.dock button{padding:13px 18px;min-height:47px;border-radius:15px;font-weight:500;color:#b8c0ce;transition:transform .18s,background .18s,color .18s}
.dock button.active{background:linear-gradient(135deg,#e0ff6e,#d6ff3f);color:#1d270a;box-shadow:inset 0 1px 0 #ffffffe0,0 3px 15px #d6ff3f12}
.dock button:not(.active):hover{background:#ffffff0a;color:white;transform:translateY(-1px)}
.dock-caption{font-size:8px;letter-spacing:2px;color:#929cac;margin-top:10px}
/* Office: typography, architectural scene, command line and a single notebook. */
.home-topline{margin-bottom:25px;min-height:38px}
.welcome-mark{display:flex;gap:11px;align-items:center}.welcome-line{width:22px;height:2px;background:var(--lime);border-radius:3px;flex-shrink:0}
.welcome-mark .eyebrow{font-size:9px;letter-spacing:1.6px}.welcome-separator{opacity:.3;margin:0 8px}
.studio-switch{gap:12px}.studio-switch>.eyebrow{font-size:8px;letter-spacing:1.7px}
.studio-switch .pill-tabs button{font-size:10px;min-height:29px;padding:5px 10px}.study-number{color:#a8afc0}
.home-grid{grid-template-columns:minmax(0,1fr) 324px;gap:30px;align-items:start}
.greeting{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap;margin:0 0 24px}
.greeting h1{font-size:clamp(40px,4.3vw,60px);line-height:1.08;letter-spacing:-2.7px;color:#f3f3fa}
.greeting h1 span{color:var(--lime);background:linear-gradient(105deg,#e2ff9b 0,#d6ff3f 60%,#9cebcd 110%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.greeting p{font-size:13px;color:#b0b8c8;margin-top:16px;line-height:1.7;max-width:550px}
.greeting .actions{margin-top:1px;gap:0}.greeting .actions .btn{min-height:46px;font-size:12px;padding:12px 16px}
.office-stage{height:353px;margin:0 0 19px;border-radius:26px;border:1px solid #d7e0ff12;border-top-color:#c8d2ff21;background:radial-gradient(ellipse at 48% 50%,#756baf23,transparent 64%),radial-gradient(ellipse at 16% 3%,#97a67a0c,transparent 45%),linear-gradient(135deg,#1c202c,#101420 63%,#141928);box-shadow:0 20px 45px #0002,inset 0 1px 0 #ffffff04;overflow:hidden;isolation:isolate}
.stage-grid{position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(#b5bce318 .65px,transparent .65px);background-size:22px 22px;mask-image:linear-gradient(180deg,#0008,transparent 25%,transparent 65%,#0006)}
.stage-caption{position:absolute;left:23px;top:18px;right:23px;display:flex;align-items:center;gap:8px;z-index:4;font-size:8px;letter-spacing:1.4px;font-weight:500;color:#c0bfd4;pointer-events:none}
.stage-emblem{display:grid;place-items:center;color:#bda3f9;width:24px;height:24px;background:#bea3ff10;border:1px solid #bda3f919;border-radius:7px}.stage-emblem .icon{width:13px;height:13px}
.scene-edition{margin-left:auto;font-size:8px;color:#9a9fb8;letter-spacing:1.2px}
.scene-container{inset:25px -6px -3px;transition:transform .23s var(--ease)}
.scene-svg{filter:drop-shadow(0 16px 16px #05071066)}
.studio-glow{background:radial-gradient(ellipse,#bb85ff2e,transparent 67%);width:72%;height:90%;top:3%;left:12%;filter:blur(28px)}
.dot-main{width:164px;height:164px;left:47%;top:24%;filter:drop-shadow(0 9px 16px #d6ff3f12);z-index:3}
.scene-label{left:46.5%;top:74%;padding:9px 12px;gap:8px;border-color:#d7e1ff25;background:linear-gradient(135deg,#272e32df,#121c1cee);border-top-color:#d5ff821f;box-shadow:0 8px 20px #0003;backdrop-filter:blur(16px);border-radius:12px;min-height:37px}
.scene-label strong{color:#f1f2eb;font-size:12px}.scene-label small{color:#c1c6c4;font-size:10px}.scene-label .dot-signal{box-shadow:0 0 8px #d6ff3f50}
.scene-label:hover{border-color:#d6ff3f66;transform:translateX(-50%) translateY(-1px)}
.scene-callout{top:41%;right:3%;padding:12px 13px;gap:9px;border-radius:15px;background:linear-gradient(125deg,#efe7ffed,#d6c5f5ee);border-color:#fff7;box-shadow:0 9px 24px #06091444,inset 0 1px 0 #fff9;color:#372550;animation:none}
.scene-callout:hover{box-shadow:0 13px 30px #06091455;transform:translateY(-2px)}
.scene-callout small{font-size:7px;letter-spacing:1.3px;color:#694d81;margin:0 0 4px;font-weight:650}
.scene-callout b{font-size:11px;font-weight:650;line-height:1.4;color:#35234b}
.callout-sub{display:block;font-size:9px;color:#6b507e;margin-top:2px}
.scene-callout .callout-icon{width:31px;height:33px;display:grid;place-items:center;flex-shrink:0;border-radius:10px;background:#fff6;border:1px solid #fff8}
.scene-callout .icon{color:#5a3781;width:19px;height:19px;background:none;padding:0}
.scene-callout>.icon{width:12px;height:12px;margin-left:3px;align-self:flex-start;opacity:.7}
.scene-tiny-note{left:23px;bottom:15px;color:#a5aec2;font-size:8px;gap:7px}.scene-tiny-note .icon{width:12px;height:12px}
.stage-corner{position:absolute;right:25px;bottom:10px;color:#b6acdd70;font-size:29px;line-height:1;font-weight:300}
.dot-command{margin:0;border-radius:18px;padding:9px 9px 9px 14px;background:linear-gradient(115deg,#252a37,#151b25);border-color:#cbd5ff22;border-top-color:#cbd5ff30;box-shadow:0 8px 22px #0002,inset 0 1px 0 #ffffff07;gap:12px;min-height:61px}
.command-orb{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;color:#d4f99c;background:linear-gradient(135deg,#d6ff3f1a,#7e5dd022);box-shadow:inset 0 1px 0 #d7edba14}
.command-orb .icon{width:19px;height:19px}.dot-command input{font-size:12px;min-width:0;color:#eef1fa;flex:1;padding:11px 0;outline:0;background:transparent;box-shadow:none}
.command-hint{font-size:7px;letter-spacing:1.5px;white-space:nowrap;color:#9aa4b7;display:none}
.dot-command .send{width:40px;height:40px;border-radius:12px;background:linear-gradient(145deg,#e0ff65,#cafa3b);box-shadow:inset 0 1px 0 #fff9}
.dot-command:before{left:15%;right:15%;background:linear-gradient(90deg,transparent,#bba1ff66,#61e9d286,transparent)}
.dot-command:focus-within{border-color:#ba9afa66;box-shadow:0 0 0 4px #ae87ff0c,0 13px 30px #0003}
.dot-command:focus-within:before{background:linear-gradient(90deg,transparent,#bba1ff,#68e6ce,transparent);background-size:200% 100%;animation:border-light 2.5s linear infinite}
.command-caption{display:flex;justify-content:space-between;gap:14px;margin:12px 4px 0;color:#a0a9bb;font-size:9px}
.command-caption>span:first-child{display:flex;align-items:center;gap:6px}.command-caption .icon{width:11px;height:11px;color:#a6ad98}
.home-footer{margin:20px 0 0;padding-top:16px}.mission-line small{font-size:11px;color:#a6b1c2}.mission-line .mission-icon{color:var(--mint);background:#57eac60b;border-color:#57eac626}
/* A composed, almost editorial notebook. Three functional tasks, one color story. */
.notebook{padding:24px 23px 20px;margin-top:0;border-radius:26px;background:linear-gradient(148deg,#272a3a,#171c2a 45%,#151a26);border-color:#cbd4ff1b;border-top-color:#e5e4ff32;box-shadow:0 20px 55px #0003,inset 0 1px 0 #ffffff05;overflow:hidden}
.notebook:before{left:auto;right:27px;top:0;width:29px;height:39px;border-radius:0;background:linear-gradient(180deg,#ccb0ff,#9e80d9);clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%);opacity:1;box-shadow:0 3px 12px #0003}
.notebook-header{padding:17px 0 17px;align-items:flex-end;border-bottom-color:#d8e2ff14}
.notebook-header .eyebrow{font-size:8px;letter-spacing:1.65px;color:#c1b8d3;margin-bottom:12px}
.notebook-header h2{font-family:var(--heading);font-size:25px;letter-spacing:-.7px;font-weight:600;line-height:1.13;color:#f0ecf8}
.date-chip{background:#d1b5ff0b;border:1px solid #dcc7ff1e;border-radius:12px;color:#bca4de;display:flex;flex-direction:column;align-items:center;padding:9px 10px;gap:0;min-width:44px}
.date-chip strong{font-size:21px;line-height:1.1;font-weight:400;letter-spacing:-1px;color:#d8c3f7}.date-chip span{font-size:6px;letter-spacing:1.3px;margin-top:5px}
.notebook-intro{margin:16px 0 24px;font-size:12px;line-height:1.7;color:#b2b6c9}
.notebook-section-label{display:flex;justify-content:space-between;align-items:center;color:#afb5c7;font-size:8px;letter-spacing:1.6px;margin-bottom:8px}
.notebook-section-label>span{letter-spacing:.5px;color:#aeb497;background:#a4b27b0b;border-radius:6px;padding:3px 6px}
.task-row{gap:11px;padding:16px 0;align-items:center;border-bottom-color:#d9def80c}
.task-check{margin:0;width:31px;height:33px;border-radius:10px;border:1px solid #c6a7ff27;background:#b59aff12;color:#d1b9ff;transition:background .18s,border-color .18s,transform .18s}
.task-check .icon{width:16px;height:16px;stroke-width:1.5}.task-check:hover{background:#baa1ff25;transform:scale(1.04)}
.task-accent-1 .task-check{background:#efa07812;color:#ffbc9a;border-color:#efa07820}
.task-accent-2 .task-check{background:#63ddc512;color:#82e4d2;border-color:#63ddc524}
.task-row.done .task-check{color:#22290d;border-color:#d6ff3f;background:var(--lime)}
.task-title{color:#f0f0f7;font-size:12px;font-weight:550;line-height:1.45}.task-desc{font-size:10px;color:#a6adc0;line-height:1.5;margin-top:4px}
.task-row.done .task-title{color:#a1adad}.task-row .task-link{color:#b8bacb;padding:6px;min-width:27px;min-height:34px}
.task-link:hover{color:var(--lime)}
.note-insight{position:relative;margin:23px 0 19px;padding:19px 18px 17px;background:linear-gradient(130deg,#cbacff,#b699f2 48%,#afa4ee);border:1px solid #e3ceff;border-top-color:#f6edff;border-radius:18px;color:#2d2145;box-shadow:0 9px 28px #05041630,inset 0 1px 0 #ffffff55;overflow:hidden;isolation:isolate}
.note-insight:after{content:'';position:absolute;width:165px;height:165px;border-radius:50%;right:-90px;top:10px;border:1px solid #ffffff4a;box-shadow:0 0 0 18px #fff1,0 0 0 40px #fff1;pointer-events:none;z-index:-1}
.note-insight .eyebrow{font-size:6.5px;color:#564277;letter-spacing:1.1px;max-width:205px;font-weight:650}
.note-insight h3{font-family:var(--heading);font-size:23px;font-weight:600;line-height:1.12;letter-spacing:-.8px;color:#33244b;margin:11px 0 10px}
.note-insight p{color:#574273;font-size:10px;line-height:1.65;margin:0 0 17px}
.insight-spark{position:absolute;top:34px;right:20px;transform:rotate(10deg)}.note-insight .insight-spark .icon{width:37px;height:37px;color:#6d46a83a;stroke-width:1.15}
.mini-journey{display:flex;align-items:center;gap:5px;border-top:1px solid #3720401b;padding-top:13px}
.mini-journey>span{width:25px;height:25px;border-radius:8px;background:#fffc;border:1px solid #fff8;display:grid;place-items:center;font-size:8px;color:#4f316f;box-shadow:0 2px 5px #271d3b08}
.mini-journey>span:nth-of-type(2){background:#ffffff73}.mini-journey>span:nth-of-type(3){background:#ffffff32}
.mini-journey>i{width:8px;height:1px;background:#68428144}.mini-journey>b{display:flex;align-items:center;gap:6px;font-size:8px;color:#4f386b;font-weight:550;margin-left:auto}.mini-journey .icon{width:13px;height:13px;color:inherit}
.notebook-footer{font-size:8px;color:#adb4c4;padding:0;line-height:1.5}.notebook-footer .icon{color:#adb6a6}
.notebook-progress{margin-top:12px;height:3px;background:#bda7ff15;border-radius:3px;overflow:hidden}.notebook-progress>span{display:block;height:100%;background:linear-gradient(90deg,#b499f4,#d6ff3f);border-radius:3px;transition:width .2s ease}
/* Other scene compositions keep the same art direction and actions. */
.direction-desk .office-stage{height:353px;margin:0 0 19px}.direction-desk .dot-main{left:29%;top:18%;width:160px;height:160px}.direction-desk .scene-label{top:73%;left:29%}.direction-desk .scene-callout{right:5%;top:40%}
.direction-dot .office-stage{height:353px;margin:0 0 19px;background:radial-gradient(ellipse at 50% 55%,#71538333,transparent 58%),linear-gradient(130deg,#202232,#111624)}
.direction-dot .dot-main{width:260px;height:260px;top:7%;left:50%}.direction-dot .scene-label{top:80%;left:50%}
.direction-dot .scene-callout{top:32%;right:3%}.direction-dot .orbit-chip{left:7%;top:43%;padding:12px;color:#d8c3ff;background:#2d263eee;border-color:#c5a1ff33;font-size:11px;animation:none}
.direction-dot .orbit-chip.two{right:10%;left:auto;top:65%;background:#1b3634dd;border-color:#77dec133;color:#9befd5;animation:none}
.orbit-ring{border-color:#b49aff2e}.orbit-ring.second{border-color:#77ecd21a}
/* Mission library: collectible, tactile cards, with rich color above the fold. */
.page-heading{margin:7px 0 32px;gap:26px}.page-heading h1{font-size:clamp(35px,3.5vw,49px);line-height:1.12;letter-spacing:-2px;margin-top:12px}
.page-heading p{font-size:13px;color:#aeb8c9;line-height:1.7;margin-top:15px;max-width:700px}
.section-header{margin-bottom:20px}.section-header h2{font-size:21px;letter-spacing:-.5px}
.template-grid{gap:21px}.template-card{padding:23px;min-height:367px;border-radius:24px;background:linear-gradient(150deg,#202b25,#141d1b 70%);border-color:#b6e5b51f;box-shadow:var(--shadow-soft);isolation:isolate}
.template-card:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 0,#cef95521,transparent 60%);pointer-events:none;z-index:-1}
.template-card.purple{background:linear-gradient(145deg,#292439,#1d192c 70%);border-color:#cfb6ff26}.template-card.purple:before{background:radial-gradient(ellipse at 50% 0,#ac82ff26,transparent 60%)}
.template-card.neutral{background:linear-gradient(145deg,#2a2329,#211b20 70%);border-color:#ffc5a722}.template-card.neutral:before{background:radial-gradient(ellipse at 50% 0,#ffc09620,transparent 65%)}
.template-card:hover{transform:translateY(-4px);border-color:#d6ff3f70;box-shadow:0 20px 38px #0003,inset 0 1px 0 #d6ff3f24}
.template-card.purple:hover{border-color:#b693ff80;box-shadow:0 20px 38px #0003,inset 0 1px 0 #b693ff24}
.template-card.neutral:hover{border-color:#ffa58480;box-shadow:0 20px 38px #0003,inset 0 1px 0 #ffa58424}
.template-card .art{height:167px;margin:-3px 0 15px;border-radius:16px;background-image:radial-gradient(#ffffff11 .65px,transparent .65px);background-size:16px 16px}
.template-card .art:before{background:radial-gradient(ellipse,#d6ff3f20,transparent 68%)}
.template-card .paper{width:102px;height:119px;border-radius:18px;background:linear-gradient(135deg,#e0ff89,#badb3e);border:1px solid #eaff9a;box-shadow:0 16px 25px #0005,inset 0 1px 0 #fffb}
.template-card .paper .icon{color:#415811;width:35px;height:35px;stroke-width:1.5;transform:translateY(-8px)}
.template-card .paper.back{background:linear-gradient(135deg,#739a6744,#274c3266);border-color:#d7ffc94d;box-shadow:0 15px 25px #0003;opacity:1;transform:translate(28px,-10px) rotate(17deg);backdrop-filter:blur(7px)}
.template-card .paper.front{transform:translate(-11px,3px) rotate(-10deg)}
.template-card.purple .paper.front{background:linear-gradient(130deg,#e0c5ff,#ac88f0);border-color:#eedfff}
.template-card.purple .paper .icon{color:#634089}.template-card.purple .paper.back{background:linear-gradient(130deg,#b186ff50,#6743ad26);border-color:#cfb1ff5c}
.template-card.neutral .paper.front{background:linear-gradient(135deg,#ffdcc4,#f4a586);border-color:#ffe2ce}
.template-card.neutral .paper .icon{color:#8d4f3a}.template-card.neutral .paper.back{background:linear-gradient(130deg,#ffc29645,#8c435d28);border-color:#ffc6a55c}
.paper-lines{display:flex;flex-direction:column;gap:5px;position:absolute;left:26%;right:26%;bottom:23px}.paper-lines>i{height:3px;border-radius:3px;background:#425c1933}.paper-lines>i:last-child{width:65%}.purple .paper-lines>i{background:#58347733}.neutral .paper-lines>i{background:#8d4f3a33}
.art-satellite{position:absolute;display:block;z-index:3;border-radius:50%;width:20px;height:20px;left:21%;top:17%;background:radial-gradient(circle at 30% 23%,#f9ffe5,#c7e655 65%,#729340);box-shadow:0 7px 15px #0003;transition:transform .23s}
.art-satellite.two{width:13px;height:13px;left:auto;right:21%;top:auto;bottom:19%;background:radial-gradient(circle at 30% 23%,#dbfff5,#6de9cd 65%,#458b76)}
.purple .art-satellite.one{background:radial-gradient(circle at 30% 23%,#f1dcff,#b189f1 65%,#744aa7)}.neutral .art-satellite.one{background:radial-gradient(circle at 30% 23%,#ffeacc,#efa078 65%,#a45f50)}
.template-card:hover .art-satellite.one{transform:translate(-2px,-3px)}.template-card:hover .art-satellite.two{transform:translate(2px,3px)}
.template-card h3{font-size:23px;font-weight:600;line-height:1.15;letter-spacing:-.8px;margin-bottom:13px}
.template-card p{font-size:12px;color:#b4bfba;max-width:290px}.template-card.purple p{color:#bdb3d2}.template-card.neutral p{color:#c5b5bd}
.template-card .bottom{margin-top:auto;padding-top:24px;gap:8px}.template-card .circle-arrow{width:36px;height:36px;border-color:#d6ff3f40;color:#d6ff7b;background:#d6ff3f08;flex-shrink:0}
.template-card.purple .circle-arrow{border-color:#d2b4ff40;color:#d7b7ff;background:#c4a5ff0a}.template-card.neutral .circle-arrow{border-color:#ffc4a840;color:#ffccac;background:#ffc4a80a}
.library-bottom{gap:21px;margin-top:25px}.library-suggestion{padding:24px}.library-suggestion h3{font-size:14px}.library-suggestion p{font-size:12px;color:#b4bdcc;line-height:1.65}
.library-suggestion>.icon{color:#d1b6ff}.mini-dot{background:radial-gradient(circle at 30% 20%,#e4ff87,#d6ff3f 62%,#a3bf40);box-shadow:inset 0 1px 0 #fff8,0 5px 12px #d6ff3f0a}
/* The routine editor remains a readable sequence, not a technical node maze. */
.builder-layout{gap:24px}.builder-canvas{border-radius:25px;border:1px solid #d1d8ff1d;background-image:radial-gradient(ellipse at 43% 57%,#9678cc16,transparent 70%),radial-gradient(#cdd0ff20 .7px,transparent .7px),linear-gradient(125deg,#191d2a,#101622);background-size:auto,22px 22px,auto;box-shadow:inset 0 1px 0 #ffffff07;padding:25px}
.canvas-toolbar{font-size:12px;color:#c1cada}.canvas-toolbar .row>.icon{color:#b498ee}.canvas-body{padding:66px 0 49px;min-height:296px;gap:0}
.flow-node{--step-color:#d6ff3f;position:relative;background:linear-gradient(145deg,#292f3d,#1b202c);border-color:#d8e2ff28;border-top-color:#d8e2ff45;border-radius:19px;padding:20px;width:185px;box-shadow:0 14px 24px #0003;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
.flow-node:before{content:'';position:absolute;left:17px;right:17px;top:-1px;height:1px;background:linear-gradient(90deg,transparent,var(--step-color),transparent);opacity:.45}
.flow-node:nth-of-type(2){--step-color:#c1a0ff}.flow-node:nth-of-type(3){--step-color:#6ce5c9}
.flow-node.active{background:linear-gradient(145deg,#323841,#20282c);border-color:#d6ff3f80;box-shadow:0 0 0 4px #d6ff3f08,0 17px 28px #0004}
.flow-node:nth-of-type(2).active{background:linear-gradient(145deg,#352d48,#252037);border-color:#b991ffa0;box-shadow:0 0 0 4px #b991ff0a,0 17px 28px #0004}
.flow-node:nth-of-type(3).active{background:linear-gradient(145deg,#24433f,#1b302e);border-color:#63e9c78a;box-shadow:0 0 0 4px #63e9c70a,0 17px 28px #0004}
.flow-node:hover{transform:translateY(-2px);border-color:var(--step-color)}
.flow-node .node-icon{width:39px;height:39px;border-radius:12px;background:#d6ff3f18;border:1px solid #d6ff3f24;color:#dcff74;margin-bottom:24px;box-shadow:inset 0 1px 0 #ffffff05}
.flow-node:nth-of-type(2) .node-icon{background:#b695ff1e;border-color:#b695ff29;color:#d0b3ff}.flow-node:nth-of-type(3) .node-icon{background:#6ae8ce18;border-color:#6ae8ce29;color:#93efd7}
.flow-node .node-icon .icon{width:21px;height:21px}.flow-node h3{font-size:13px;letter-spacing:-.3px}.flow-node p{font-size:11px;color:#b6bfcd;min-height:33px}
.flow-node .node-number{color:#b1b9c8;font-size:10px;top:23px;right:18px}.flow-node .node-state{font-size:9px;color:#b4bdca;border-color:#d9e3ff12;margin-top:17px;padding-top:12px;line-height:1.6}
.flow-connector{background:linear-gradient(90deg,#c9eb6d66,#bca1ff77);height:1px}.flow-connector:after{background:#c9b1ff;box-shadow:0 0 0 4px #ac99db12}
.canvas-note{font-size:10px;color:#acb6c9;line-height:1.7}.canvas-note .icon{color:#bba8e4}
.builder-settings{padding:25px;background:linear-gradient(145deg,#242638,#151b28);border-top-color:#d9c3ff3b}
.settings-head h3{font-size:17px;line-height:1.3}.settings-head .caption{color:#b2bdcd;font-size:12px;line-height:1.7}
.selection-count{background:#a58be710;border-color:#c9b3ff22;font-size:12px}.selection-count b{color:#d6c3ff;font-size:19px}
.safe-note{background:#b298e909;border-color:#d9c1ff21;border-radius:13px;color:#bfc6d7;font-size:11px;line-height:1.75;padding:14px}.safe-note .icon{color:#c4adf5}
.builder-actions{margin-top:23px}.builder-actions>.small{font-size:11px}
.run-console{background:linear-gradient(130deg,#1f2d2c,#151c27);border-color:#82e2c326}
.run-events{font-size:12px}.run-progress{background:#abc8be10}.run-progress>span{background:linear-gradient(90deg,#88dec0,#d6ff3f)}
/* CRM: a clear client spine and deliberately restrained color blocks. */
.crm-tools .pill-tabs{border-radius:13px}.crm-list{padding-right:5px}.lead-item{background:linear-gradient(135deg,#202533,#161b28);border-color:#dae2ff13;border-top-color:#dae2ff1e;border-radius:16px;padding:17px;margin-bottom:9px}
.lead-item:hover{border-color:#b6a0eb4d;background:#252a38}.lead-item.active{background:linear-gradient(135deg,#e0ff83,#d0ee51);border-color:#edffa0;box-shadow:0 6px 19px #d6ff3f0b,inset 0 1px 0 #fffd;color:#273114}
.lead-item .initials{background:linear-gradient(135deg,#b4a5d239,#584a7133);color:#dccbff;border-color:#cbb8f128;width:33px;height:33px;font-size:11px}
.lead-item:nth-child(3n+2) .initials{background:#57eac619;color:#9fead9;border-color:#57eac630}.lead-item:nth-child(3n) .initials{background:#ffac8b19;color:#ffd0b9;border-color:#ffac8b30}
.lead-item.active .initials{background:#f6ffe975;color:#344823;border-color:#6c813c32}
.lead-item b{font-size:13px}.lead-item small{color:#a6b0c1;font-size:11px}.lead-item.active small{color:#4d642e}
.lead-item .lead-stage{font-size:10px;color:#a6afbe}.lead-item.active .lead-stage{color:#48582c}
.client-detail{background:linear-gradient(145deg,#202636,#151b28);border-top-color:#d9e3ff29;box-shadow:var(--shadow-soft);padding:27px}
.client-person h2{font-size:25px;color:#f5f2fc}.client-person p{font-size:11px;color:#acb7c8}.person-avatar{background:linear-gradient(135deg,#d7bfff,#a587d4);border:1px solid #ecdfff99;box-shadow:0 9px 22px #8e66d91c;color:#413051}
.client-tabs{border-color:#d3dcff15}.client-tabs button{font-size:12px;color:#acb8c8}.client-tabs button.active{color:#dac0ff;border-color:#c4a4ff}
.detail-grid{gap:16px}.detail-label{font-size:10px;color:#aab4c6}.detail-value{font-size:13px;color:#e7eaf1}
.opportunity-panel{position:relative;overflow:hidden;background:linear-gradient(135deg,#d6b8ff,#b89bf0 64%,#bdafea);color:#3d2753;border:1px solid #ead6ff;border-top-color:#f6eeff;box-shadow:0 10px 25px #0c061826,inset 0 1px 0 #fff5;padding:24px}
.opportunity-panel h2{color:#38204e;font-weight:600}.opportunity-panel p{color:#583d75;font-size:12px;line-height:1.7}.opportunity-panel .eyebrow{color:#604477}.opportunity-panel .btn{background:#3c2551;color:#f3eafa;font-size:12px;border:1px solid #fff2;border-radius:12px}.opportunity-panel .btn:hover{background:#513666}.opportunity-panel .badge{color:#56356c;background:#fff4;border-color:#694f7d33}
.context-task{border-radius:20px;background:linear-gradient(135deg,#e0f7ab,#bbdf83);border:1px solid #efffca;box-shadow:0 10px 20px #0001}
.context-task p{color:#405c2e}.context-task .eyebrow{color:#526d3c}
/* Conversations, intelligence and settings share the same material system. */
.chat-panel{background:linear-gradient(145deg,#1f2634,#121925);border-color:#d4deff21;box-shadow:0 15px 36px #0003}.chat-panel-header{border-bottom-color:#d4deff18;background:#ffffff02}
.chat-people{border-color:#dae0ff18;background:#141925}.chat-person.active{background:linear-gradient(115deg,#353443,#282b3b);border-color:#c5a5ff40}.chat-person small{color:#b1bdd0}
.chat-panel-header h3{font-size:14px}.message{font-size:13px;padding:16px 18px;line-height:1.8;background:linear-gradient(130deg,#2c3042,#252a3a);border-color:#d2dfff16;box-shadow:0 4px 8px #0001;color:#eef0f9;border-radius:17px}
.message.user{background:linear-gradient(130deg,#dff978,#cfe85b);color:#283215;border-color:#e8ffa3}
.chat-chips button{border-color:#c3afff25;background:#ba9cff06;color:#c3c9d9;min-height:33px;font-size:11px}
.supervision-notice{background:#ffbb7a0a;border-color:#edbd9130;color:#e2c1a8;font-size:11px;line-height:1.7}
.insight-map{background:radial-gradient(ellipse at 37% 53%,#8b64d02c,transparent 67%),linear-gradient(135deg,#192330,#131622);border-color:#bba0ed22}
.insight-story{background:linear-gradient(140deg,#2d253a,#1a1d2b);border-top-color:#dec5ff30}.insight-story .eyebrow{color:#c9b3e5}.insight-story h2{line-height:1.2;font-weight:600}.insight-number{color:#d8c0ff;font-weight:400}.insight-story p{font-size:13px;line-height:1.75;color:#b9bfd0}.evidence-note{font-size:10px;color:#aeb6c8;line-height:1.8}
.insight-footer article{background:linear-gradient(140deg,#1c2432,#141b27);padding:26px}.insight-footer article .row>.icon{color:#aaebd0}.insight-footer p{color:#adb9cc;font-size:12px;line-height:1.7}
.overlay{background:#06081296;backdrop-filter:blur(8px)}
.drawer{background:radial-gradient(ellipse at 50% 0,#8961b921,transparent 52%),linear-gradient(150deg,#222638,#111824 75%);border-left:1px solid #ded7ff26;width:480px;max-width:100%;padding:30px 29px 40px;box-shadow:-25px 0 85px #03071177;animation:slide .23s var(--ease)}
.drawer-header{margin-bottom:25px}.drawer-header .eyebrow{color:#c6b5e6}.drawer-header h2{font-size:29px;line-height:1.12;font-weight:600}
.drawer .pill-tabs{margin-bottom:26px}.drawer .pill-tabs button.active{background:linear-gradient(130deg,#c2a7f330,#ac8eff19);box-shadow:inset 0 1px 0 #d5bdff26;color:#ecdeff}
.drawer .body-copy{font-size:13px;color:#b4bfd1;line-height:1.85}
.avatar-stage{height:245px;margin:-9px 0 11px;background:radial-gradient(ellipse at 50% 47%,#b09bdc20,transparent 67%);border-radius:22px;isolation:isolate}
.avatar-stage:before{content:'';position:absolute;inset:12% 10%;border:1px solid #c4aaff14;border-radius:50%;transform:rotate(-25deg) scaleY(.75)}
.avatar-stage:after{bottom:22px;background:#d2b5ff0a;border-color:#cda8ff30;box-shadow:0 0 25px #c9a4ff0c;left:23%;width:54%}
.avatar-stage .dot-modal{width:260px;height:260px;filter:drop-shadow(0 15px 20px #879a7914)}
.color-swatch{width:40px;height:40px;border-radius:50%;box-shadow:inset 0 2px 2px #ffffff5c,inset 0 -2px 3px #0002,0 4px 8px #0002;transition:transform .18s,box-shadow .18s}
.color-swatch:hover{transform:translateY(-2px)}.color-swatch.active{box-shadow:0 0 0 3px #202534,0 0 0 4px #f1e8ff99,inset 0 2px 2px #ffffff5c}
.skill-card{background:#d0c2ef05;border-color:#ccd5f217;border-radius:14px;padding:17px 15px;margin-bottom:11px}.skill-card>.icon{color:#c6acff}.skill-card h3{font-size:13px}.skill-card p{font-size:12px;color:#b0bace;line-height:1.7}
.account-metric{background:radial-gradient(ellipse at 100% 0,#c0a0ff25,transparent 65%),#b7a5e306;border-color:#c6a4ff26;border-radius:18px}.account-metric .value{color:#e2ceff;font-size:27px;letter-spacing:-1px;line-height:1.2}.account-metric p{font-size:12px;color:#b8c0d2}
.modal{background:radial-gradient(ellipse at 100% 0,#9581b622,transparent 54%),linear-gradient(140deg,#252b3b,#151c2a);border-color:#d7d8ff2c;border-top-color:#d7d8ff55;border-radius:25px;box-shadow:0 30px 80px #0007;padding:30px;animation:enter .22s var(--ease)}
.review-summary{border-color:#d2d9ff1d;border-radius:16px;overflow:hidden;background:#0b112026}.review-row{padding:16px;font-size:13px;border-color:#d0d9ff12}.review-row>span{color:#b8c3d6}.review-row b{font-weight:550}
.upload-area{background:#c3a9ff07;border-color:#c3a9ff40;border-radius:17px}.upload-area .icon{color:#c3a9ff}.upload-area p{color:#b0bccf;font-size:12px}
.training-item{background:#c3a9ff08;border-color:#c3a9ff23}.training-item small{color:#b3bfd2}
.preformatted{color:#c4cedf;border-color:#b6c3df20;background:#0d1220;font-size:11px}
.toast{background:linear-gradient(130deg,#2b3244ed,#172133f7);border-color:#d4defb3b;border-left:2px solid #c8efa1;box-shadow:0 12px 45px #0004;backdrop-filter:blur(16px);font-size:12px;color:#f1f5fc;line-height:1.7}
.back-link{color:#b5bfd1;font-size:12px}.back-link:hover{color:#d6ff7c}.empty-state{color:#aebace}.empty-state h3{color:#e6edf8}.empty-state>.icon{color:#b9a3dd;opacity:.9}
::selection{background:#bfa7ff44;color:white}::-webkit-scrollbar-thumb{background:#8690b450;border-radius:10px}
/* Responsiveness is compositional, not a shrunken desktop canvas. */
@media(min-width:1500px){.home-grid{grid-template-columns:minmax(0,1fr) 340px}.greeting{justify-content:space-between}.greeting .actions{margin-bottom:5px}.office-stage{height:370px}.command-hint{display:block}.dot-main{width:175px;height:175px}}
@media(min-width:1101px) and (max-width:1250px){.app-main{padding-left:35px;padding-right:35px}.home-grid{grid-template-columns:minmax(0,1fr) 305px;gap:25px}.greeting h1{font-size:51px}.greeting{gap:17px}.notebook{padding-left:19px;padding-right:19px}.scene-callout{right:2%;max-width:195px}.flow-node{width:156px;padding:16px}.flow-node .node-icon{margin-bottom:19px}.canvas-body{padding-top:58px}.template-card{padding:21px}.template-card h3{font-size:21px}}
@media(max-width:1100px){.home-grid{grid-template-columns:minmax(0,1fr) 296px;gap:23px}.app-main{padding-left:30px;padding-right:30px}.greeting h1{font-size:46px;letter-spacing:-2px}.greeting p{font-size:12px}.greeting{gap:18px}.notebook{padding:22px 18px 18px}.notebook-header h2{font-size:22px}.notebook-intro{font-size:11px}.note-insight h3{font-size:23px}.note-insight{padding:19px 16px}.task-title{font-size:11px}.task-desc{font-size:10px}.office-stage{height:341px}.dot-main{width:151px;height:151px;top:26%}.scene-callout{right:2%;top:43%;padding:10px;gap:7px;max-width:187px}.scene-callout b{font-size:10px}.scene-callout small{font-size:6px}.scene-callout .callout-icon{width:25px;height:29px}.callout-sub{font-size:8px}.scene-callout>.icon{display:none}.scene-label{top:73%}.stage-caption{left:18px;right:18px;font-size:7px}.scene-tiny-note{left:18px;font-size:7px}.template-card h3{font-size:21px}.flow-node{width:170px}.builder-layout{grid-template-columns:1fr}.builder-settings{display:block}.canvas-body{min-height:265px;padding:36px 0}.template-card{min-height:360px;padding:21px}.library-suggestion h3{font-size:13px}.scene-edition{font-size:7px}}
@media(max-width:900px){.app-header{padding:0 26px}.header-line{max-width:calc(100% - 52px)}.home-grid{grid-template-columns:minmax(0,1fr)}.greeting{justify-content:space-between;gap:20px;align-items:flex-end}.greeting h1{font-size:52px}.greeting .actions{margin-bottom:3px}.office-stage{height:365px}.dot-main{width:173px;height:173px;top:24%}.scene-callout{right:7%;top:40%;max-width:none;padding:12px 13px}.scene-callout b{font-size:11px}.scene-callout small{font-size:7px}.callout-sub{font-size:9px}.notebook{margin-top:9px;display:grid;grid-template-columns:1fr 1fr;column-gap:30px;padding:26px}.notebook-header{grid-column:1;grid-row:1}.notebook-header h2{font-size:26px}.notebook-intro{grid-column:1;grid-row:2;font-size:12px;margin-bottom:17px}.task-group{grid-column:2;grid-row:1/4;padding-top:17px}.task-title{font-size:12px}.note-insight{grid-column:1;grid-row:3;margin:0 0 16px}.notebook-footer{grid-column:2;align-self:end;grid-row:3;margin:0 0 16px;font-size:8px}.notebook-progress{grid-column:1/-1;margin-top:0}.notebook:before{right:27px}.studio-switch>.eyebrow{display:none}.template-grid{gap:14px}.template-card{padding:19px;min-height:355px}.template-card .art{height:150px}.template-card h3{font-size:19px}.template-card p{font-size:11px}.template-card .badge{font-size:8px;white-space:normal}.template-card .circle-arrow{width:30px;height:30px}.page-heading h1{font-size:43px}.crm-layout{grid-template-columns:220px minmax(0,1fr)}.crm-context{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:18px}.context-task{margin-top:0}.builder-actions>.small{font-size:11px}.direction-desk .office-stage,.direction-dot .office-stage{height:350px}}
@media(max-width:700px){.app-main{padding:23px 23px 122px}.app-header{height:76px;padding:0 23px}.header-line{max-width:calc(100% - 46px)}.brand-label{display:none}.brand-divider{display:none}.header-actions{gap:12px}.home-topline{align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:23px}.welcome-mark .eyebrow{font-size:8px;letter-spacing:1.4px}.studio-switch{margin-left:auto}.greeting{display:block;margin-bottom:23px}.greeting h1{font-size:48px}.greeting p{font-size:13px;max-width:400px}.greeting .actions{margin-top:21px}.office-stage{height:340px}.dot-main{width:158px;height:158px;top:25%}.scene-callout{right:3%;top:42%;padding:11px;gap:8px}.scene-callout b{font-size:10px}.scene-label{top:73%}.stage-caption{left:17px;right:17px;top:15px;font-size:7px}.stage-emblem{width:23px;height:23px}.scene-tiny-note{font-size:7px;left:18px}.command-caption{font-size:8px}.dot-command{min-height:60px}.dot-command input{font-size:11px}.notebook{column-gap:23px;padding:24px 22px}.notebook-header h2{font-size:23px}.task-row{gap:9px;padding:15px 0}.task-check{width:28px;height:30px}.task-title{font-size:11px}.task-desc{font-size:9px}.notebook-footer{flex-wrap:wrap;gap:7px}.date-chip{padding:8px;min-width:37px}.date-chip strong{font-size:19px}.note-insight h3{font-size:22px}.note-insight p{font-size:9px}.note-insight .eyebrow{font-size:6px}.mini-journey>b{font-size:7px}.mini-journey>span{width:22px;height:24px}.notebook:before{height:27px;width:23px}.template-grid{grid-template-columns:1fr;display:flex;flex-direction:column;gap:15px}.template-card{min-height:222px;padding:25px;display:grid;grid-template-columns:1fr 135px;gap:0 15px}.template-card .art{grid-column:2;grid-row:1/4;width:135px;height:153px;align-self:center;margin:0}.template-card h3{grid-column:1;font-size:25px;max-width:340px}.template-card p{grid-column:1;font-size:12px}.template-card .bottom{grid-column:1;padding-top:19px;margin:0;gap:12px}.template-card .badge{font-size:9px}.template-card .paper{width:81px;height:103px}.template-card .paper .icon{width:29px;height:29px}.template-card .art-satellite.one{left:0;top:15%;width:14px;height:14px}.template-card .art-satellite.two{right:0;bottom:9%;width:11px;height:11px}.library-bottom{gap:15px}.flow-node{width:100%;max-width:330px}.flow-node .node-icon{margin:0}.canvas-body{padding:32px 0;min-height:0}.builder-canvas{padding:21px}.canvas-note{font-size:10px}.flow-node .node-number{top:19px;right:19px}.flow-node p{min-height:0}.flow-node .node-state{margin-top:12px;padding-top:11px}.flow-connector{background:linear-gradient(180deg,#d0ea9580,#c4a8ff80)}.crm-context{grid-template-columns:1fr}.chat-panel-header .btn{font-size:10px}.scene-edition{font-size:7px}.notebook-footer .row{gap:4px!important}.page-heading h1{font-size:41px;letter-spacing:-1.9px}.library-suggestion{padding:23px}.direction-dot .orbit-chip{left:3%;font-size:10px;padding:10px}.direction-dot .orbit-chip.two{right:3%;top:67%}.direction-dot .scene-callout{top:33%;right:2%}.direction-dot .dot-main{width:237px;height:237px;top:12%}.direction-desk .dot-main{width:145px;height:145px;top:24%}}
@media(max-width:520px){
 body{background:radial-gradient(ellipse at 100% 0,#6057871b,transparent 35%),#0c1018}
 .app-header{height:73px;padding:0 21px;gap:13px}.brand{gap:8px}.brand-word{font-size:22px;letter-spacing:-1.3px}.brand-symbol{width:26px;height:26px}.header-actions{gap:10px}.header-actions .credits{display:none}.preview-label{font-size:8px;padding:6px 8px;letter-spacing:.1px}.header-actions .user-circle{width:31px;height:31px;font-size:11px}.header-line{max-width:calc(100% - 42px)}
 .app-main{padding:22px 21px 120px}.home-topline{display:flex;flex-direction:column;gap:15px;margin-bottom:22px;min-height:0;align-items:stretch}.welcome-mark{gap:8px}.welcome-line{width:15px}.welcome-mark .eyebrow{font-size:7px;letter-spacing:1.1px;white-space:normal}.welcome-separator{margin:0 4px}
 .studio-switch{align-self:flex-start;margin-left:0;gap:9px}.studio-switch>.eyebrow{display:inline;font-size:7px;letter-spacing:1px}.studio-switch .pill-tabs{padding:3px;border-radius:11px}.studio-switch .pill-tabs button{font-size:9px;padding:5px 10px;min-height:28px;border-radius:8px}.study-number{font-size:8px}
 .home-grid{display:flex;flex-direction:column;gap:25px}.office-left,.notebook{width:100%;min-width:0}
 .greeting{margin-bottom:22px;display:block}.greeting h1{font-size:39px;letter-spacing:-1.9px;line-height:1.08}.greeting p{font-size:12px;margin-top:15px;line-height:1.8;max-width:315px}.greeting .actions{margin-top:19px}.greeting .actions .btn{font-size:12px;min-height:45px;padding:11px 15px}
 .office-stage{height:269px;margin:0 0 16px;border-radius:21px;overflow:hidden}.scene-container{inset:33px -42px 0}.scene-svg{filter:drop-shadow(0 9px 10px #0005)}.dot-main{width:124px;height:124px;left:46.5%;top:26%}
 .stage-caption{left:13px;right:13px;top:13px;font-size:6px;letter-spacing:1px;gap:6px}.stage-emblem{width:21px;height:21px;border-radius:6px}.stage-emblem .icon{width:12px;height:12px}.scene-edition{font-size:6px;letter-spacing:.8px}
 .studio-glow{height:90%;width:90%;left:4%;top:10%}.scene-callout{top:41%;right:9px;max-width:139px;padding:9px 9px 9px 10px;border-radius:12px;gap:7px}.scene-callout b{font-size:9px;line-height:1.4}.scene-callout small{font-size:5.5px;letter-spacing:.8px;margin-bottom:3px}.callout-sub{font-size:7px;margin-top:3px}.scene-callout .callout-icon{display:none}
 .scene-label{top:auto;bottom:27px;left:43%;padding:7px 9px;gap:6px;min-height:31px;max-width:75%;border-radius:10px}.scene-label strong{font-size:10px;max-width:77px}.scene-label small{font-size:8px;white-space:nowrap}.scene-label .icon{width:12px;height:12px}.scene-label .dot-signal{width:4px;height:4px}
 .scene-tiny-note{left:13px;bottom:10px;font-size:6px;gap:5px}.scene-tiny-note .icon{width:10px;height:10px}.stage-corner{right:13px;bottom:10px;font-size:21px}
 .dot-command{min-height:56px;padding:8px 8px 8px 10px;gap:9px;border-radius:15px}.command-orb{width:26px;height:26px;border-radius:8px}.command-orb .icon{width:15px;height:15px}.dot-command input{font-size:11px;line-height:1.4;padding:8px 0}.dot-command .send{width:36px;height:36px;border-radius:10px}.command-caption{display:flex;gap:8px;font-size:7px;line-height:1.5;margin:11px 1px 0}.command-caption>span:last-child{white-space:nowrap}.command-caption .icon{width:10px;height:10px}
 .notebook{display:block;margin:0;padding:22px 21px 20px;border-radius:23px}.notebook:before{right:23px;width:26px;height:34px}.notebook-header{padding-top:14px;padding-bottom:19px}.notebook-header .eyebrow{font-size:8px}.notebook-header h2{font-size:27px;line-height:1.1}.date-chip{padding:9px 10px;min-width:43px}.date-chip strong{font-size:23px}.date-chip span{font-size:6px}.notebook-intro{font-size:12px;margin:16px 0 23px}.notebook-section-label{font-size:8px;margin-bottom:8px}.task-group{padding:0}.task-row{padding:17px 0;gap:11px}.task-title{font-size:12px}.task-desc{font-size:10px}.task-check{width:32px;height:34px}.task-link{min-width:35px!important;min-height:39px!important}.note-insight{margin:23px 0 19px;padding:21px 20px}.note-insight h3{font-size:27px;line-height:1.08;margin:13px 0 11px}.note-insight p{font-size:11px}.note-insight .eyebrow{font-size:7px;letter-spacing:1px}.note-insight .insight-spark .icon{width:43px;height:43px}.mini-journey>span{width:27px;height:26px;font-size:9px}.mini-journey>b{font-size:9px}.mini-journey>i{width:12px}.notebook-footer{margin:0;font-size:8px;gap:8px}.notebook-progress{margin-top:13px}
 .home-footer{padding-top:16px;margin-top:21px;gap:11px}.home-footer .mission-line{gap:10px}.mission-line b{font-size:11px}.mission-line small{font-size:10px}.mission-line .mission-icon{padding:9px}
 .dock-wrap{bottom:max(13px,env(safe-area-inset-bottom));width:calc(100% - 28px)}.dock{gap:2px;padding:6px;border-radius:20px;box-shadow:0 9px 40px #0009,inset 0 1px 0 #ffffff16;background:linear-gradient(135deg,#303646f0,#161c29f5)}.dock button{flex:1;min-width:0;min-height:51px;flex-direction:column;padding:8px 3px;gap:5px;border-radius:13px;font-size:9px;letter-spacing:0}.dock button .icon{width:18px;height:18px}.dock-caption{display:none}
 .page-heading{margin:7px 0 27px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.4px}.page-heading h1{font-size:35px;letter-spacing:-1.5px;line-height:1.11}.page-heading p{font-size:12px;line-height:1.8;margin-top:14px}.page-heading .badge{margin-top:17px;font-size:9px}.section-header{gap:15px;align-items:center}.section-header h2{font-size:18px;max-width:210px}.section-header .eyebrow{font-size:7px;letter-spacing:1px;text-align:right}
 .template-card{grid-template-columns:minmax(0,1fr) 90px;column-gap:9px;min-height:226px;padding:22px 19px;border-radius:22px}.template-card .art{width:99px;height:140px;margin-right:-8px}.template-card .paper{width:68px;height:90px;border-radius:14px}.template-card .paper.front{transform:translate(-5px,1px) rotate(-10deg)}.template-card .paper.back{transform:translate(14px,-9px) rotate(15deg)}.template-card:hover .paper.front{transform:translate(-6px,0) rotate(-11deg)}.template-card:hover .paper.back{transform:translate(15px,-8px) rotate(16deg)}.template-card .paper .icon{width:25px;height:25px;transform:translateY(-8px)}.paper-lines{bottom:18px;gap:4px}.paper-lines>i{height:2px}.template-card .art-satellite.one{left:0;top:13%;width:12px;height:12px}.template-card .art-satellite.two{right:-2px;bottom:13%;width:9px;height:9px}.template-card h3{font-size:22px;letter-spacing:-.8px;margin-top:2px;line-height:1.15;max-width:210px}.template-card p{font-size:11px;line-height:1.7;max-width:210px}.template-card .bottom{grid-column:1/-1;padding-top:19px;margin-top:0}.template-card .badge{font-size:9px;white-space:normal;min-height:26px}.template-card .circle-arrow{width:30px;height:30px;margin-left:0}.library-bottom{margin-top:18px;gap:14px}.library-suggestion{padding:21px;gap:12px}.library-suggestion h3{font-size:13px}.library-suggestion p{font-size:11px}
 .builder-canvas{padding:18px;border-radius:21px}.canvas-toolbar{font-size:10px;gap:12px;flex-wrap:wrap}.canvas-toolbar .badge{font-size:9px}.canvas-toolbar .btn{font-size:10px;padding:7px 9px}.canvas-body{padding:28px 0 26px;min-height:0}.flow-node{display:grid;grid-template-columns:36px 1fr;gap:4px 13px;width:100%;max-width:315px;padding:17px;min-height:125px;border-radius:17px}.flow-node .node-icon{width:35px;height:37px;margin:0;grid-row:1/3;grid-column:1;border-radius:10px;align-self:center}.flow-node h3{font-size:12px;grid-column:2;letter-spacing:-.2px;margin:0;padding-right:19px}.flow-node p{font-size:10px;grid-column:2;min-height:0}.flow-node .node-number{top:17px;right:14px;font-size:8px}.flow-node .node-state{grid-column:1/-1;font-size:9px;padding-top:10px;margin-top:9px}.canvas-note{font-size:9px;line-height:1.7}.builder-settings{padding:23px;border-radius:21px;display:block}.settings-head h3{font-size:17px}.builder-actions{gap:15px;flex-direction:column-reverse;align-items:stretch}.builder-actions>.row{width:100%;gap:9px}.builder-actions>.row .btn{font-size:11px;min-height:46px;padding:11px 10px}.builder-actions>.small{font-size:10px}.run-console{padding:21px}.run-events{font-size:10px}.run-console .run-actions{gap:8px}.run-console .run-actions .btn{font-size:10px}
 .crm-tools{gap:14px}.crm-layout{display:flex;flex-direction:column;gap:17px}.crm-list{display:flex;max-height:230px;gap:11px;width:100%;padding-right:0;padding-bottom:9px}.lead-item{width:236px;min-width:236px;padding:17px;margin:0;scroll-snap-align:start}.lead-item b{font-size:12px}.lead-item small{font-size:10px}.client-detail{padding:23px;min-height:0}.person-avatar{width:53px;height:53px;font-size:20px}.client-person h2{font-size:23px;line-height:1.2}.client-person p{font-size:10px;line-height:1.6}.client-tabs button{font-size:11px}.crm-context{display:block;width:100%}.opportunity-panel{padding:24px}.opportunity-panel h2{font-size:28px}.opportunity-panel p{font-size:12px}.context-task{margin-top:17px;padding:24px}
 .chat-panel{height:620px;border-radius:21px}.chat-person{padding:12px 11px;gap:10px}.chat-person h3{font-size:12px}.chat-person small{font-size:9px}.chat-panel-header{padding:18px}.chat-panel-header h3{font-size:12px}.chat-panel-header .btn{font-size:9px;min-height:36px;padding:8px 10px}.chat-log{padding:18px;gap:16px}.message{font-size:12px;line-height:1.8;padding:14px 16px;max-width:94%}.chat-chips button{font-size:10px;min-height:34px;padding:7px 9px}.chat-compose{padding:0 12px 15px}.supervision-notice{font-size:10px;line-height:1.6;margin:12px 16px 0}
 .insight-map{min-height:268px}.insight-story{padding:25px}.insight-story h2{font-size:28px}.insight-story p{font-size:12px}.insight-footer{gap:16px}.insight-footer article{padding:24px}.insight-footer article h3{font-size:13px}.insight-footer p{font-size:12px}
 .drawer{padding:26px 22px 38px;width:100%;border:0}.drawer-header h2{font-size:28px}.drawer-header .eyebrow{font-size:8px}.drawer .pill-tabs{margin-bottom:22px}.drawer .pill-tabs button{font-size:11px;min-height:38px;padding:8px 7px}.avatar-stage{height:249px;margin-top:-12px}.avatar-stage .dot-modal{width:252px;height:252px}.colors{gap:13px}.color-swatch{width:38px;height:38px}.form-group .label{font-size:12px}.drawer .body-copy{font-size:12px}.skill-card{padding:16px 14px}.skill-card h3{font-size:13px}.skill-card p{font-size:11px}.safe-note{font-size:11px;padding:14px}.drawer .label{font-size:12px}.overlay.modal-type{padding:13px}.modal{padding:25px 21px;max-height:90dvh;border-radius:22px}.review-row{padding:14px;font-size:11px}.modal-footer{flex-wrap:wrap;gap:10px}.modal-footer .btn{min-height:46px;font-size:11px}.toast-stack{left:16px;right:16px;bottom:92px}.toast{font-size:11px;line-height:1.7;padding:14px 15px}
 .direction-dot .office-stage{height:298px;margin:0 0 16px}.direction-dot .dot-main{width:209px;height:209px;top:15%;left:50%}.direction-dot .scene-label{top:auto;bottom:26px;left:50%}.direction-dot .scene-callout{top:32%;right:9px;max-width:126px}.direction-dot .orbit-chip{left:12px;top:58%;font-size:8px;padding:9px;border-radius:10px}.direction-dot .orbit-chip.two{right:13px;top:69%;font-size:8px}.direction-dot .orbit-ring{width:270px;height:90px}.direction-dot .orbit-ring.second{width:250px;height:210px}
 .direction-desk .office-stage{height:285px;margin:0 0 16px}.direction-desk .dot-main{width:125px;height:125px;left:30%;top:24%}.direction-desk .scene-label{top:auto;bottom:31px;left:30%}.direction-desk .scene-callout{top:45%;right:10px}
}
@media(max-width:360px){.app-header{padding:0 16px}.app-main{padding-left:16px;padding-right:16px}.brand-word{font-size:20px}.header-actions{gap:8px}.greeting h1{font-size:36px}.template-card{padding:20px 17px;grid-template-columns:minmax(0,1fr) 81px}.template-card h3{font-size:21px}.template-card .art{width:90px}.welcome-mark .eyebrow{font-size:6.5px}.command-caption{font-size:6.5px}.notebook-footer{font-size:7px}.dot-command input{font-size:10px}.studio-switch .pill-tabs button{padding:5px 8px}.note-insight .eyebrow{font-size:6.5px}}
/* No parallax, no artificial progress, no shake. Respect reduced motion throughout. */
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
body.reduced-motion *,body.reduced-motion *:before,body.reduced-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(hover:none){.template-card:hover,.flow-node:hover,.btn:hover:not(:disabled){transform:none}}
/* Last-mile touch and reading refinements. */
@media(max-width:520px){
 input,select,textarea{font-size:16px}
 .dot-command input{font-size:13px}
 .chat-compose input,.chat-compose textarea{font-size:16px}
 .scene-callout b{font-size:10px}.callout-sub{font-size:8px}
 .task-check{width:37px;height:39px;border-radius:12px}
 .notebook-intro{font-size:13px}.task-title{font-size:13px}.task-desc{font-size:11px}
 .color-swatch{width:42px;height:42px}.colors{gap:14px}
 .dock button{font-size:10px}
 .command-caption{font-size:8px}.command-caption>span:last-child{display:none}
}
@media(pointer:coarse){
 .studio-switch .pill-tabs button{min-height:36px}
 .pill-tabs button{min-height:42px}
 .task-link,.task-check{min-height:42px}
 .icon-btn,.color-swatch{min-height:42px;min-width:42px}
 .scene-label{min-height:38px}
}
.mobile-flow-back{display:none}
.builder-settings{scroll-margin-top:22px}
@media(max-width:700px){
 .canvas-body>.flow-connector{width:1px;min-width:1px;height:26px;flex:none}
 .canvas-body>.flow-connector:after{top:auto;bottom:0;right:-2px}
 .mobile-flow-back{display:flex;align-items:center;gap:8px;color:#ccb6f7;font-size:12px;padding:0 0 19px;margin:0 0 18px;border-bottom:1px solid #c9b3ff1b;width:100%;text-align:left}
 .mobile-flow-back .icon{width:15px;height:15px}
}
