@import url('./phone-fidelity.css');
/* Measured at 390 × 844: app structure and native UI sizes are preserved.
   The outer device scales uniformly; no miniature per-element restyling. */
.phone-wrap{position:absolute;width:360px;height:734px;left:65%;top:12%;z-index:8;transform-origin:center;opacity:0;--phone-scale:.87}.phone-shell{width:414px;height:868px;position:relative;padding:12px;border-radius:52px;background:linear-gradient(125deg,#bdbbb5,#4d4f49 30%,#b9b9b0 55%,#7b7e75);box-shadow:0 3px 0 1px #dadbd3,0 35px 85px #3b30382b;transform:scale(var(--phone-scale));transform-origin:top left;overflow:hidden}.actual-phone{width:390px;height:844px;border:2px solid #262821;border-radius:42px;overflow:hidden;background:#faf8fd;color:#2e2937;font-family:'Gowun Dodum','Noto Sans KR',sans-serif;position:relative;display:flex;flex-direction:column;line-height:1.625;letter-spacing:0}.actual-status{height:36px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;padding:0 25px;background:#faf8fd;font:600 11px Arial}.actual-status>i{background:#29272a;width:95px;height:23px;position:absolute;top:9px;left:145px;border-radius:25px}.actual-header{display:grid;grid-template-columns:44px 1fr 44px;gap:8px;align-items:center;padding:12px 16px;border-bottom:1px solid #fff9;background:#fffdf8b8;flex-shrink:0;min-height:78px}.history-control{width:44px;height:44px;display:grid;place-items:center;border:1px solid #ded5e3;border-radius:18px;color:#5d2fc2;background:#fffdf8;font:25px Arial}.actual-header strong{display:flex;justify-content:center;align-items:center;gap:8px;font-size:19px;line-height:1.2;font-weight:700;white-space:nowrap}.actual-header strong>img{width:28px;height:28px}.actual-header small{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;margin-top:5px;color:#756d80}.actual-header small>i{width:10px;height:10px;border-radius:50%;background:#3f9d63}.actual-notice{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#ffffffd1;border-bottom:1px solid #fff9;flex-shrink:0}.actual-notice>span{height:28px;display:flex;align-items:center;border:1px solid #efe8fa;background:#f8f5fc;padding:0 8px;border-radius:20px;font:900 10px Arial;color:#5d2fc2}.actual-notice>p{font-size:11px;line-height:1.45;color:#756d80;flex:1;margin:0}.actual-chat-viewport{position:relative;flex:1;min-height:0;overflow:hidden;background:radial-gradient(ellipse at 110% 20%,#8b70972e,transparent 66%),#faf8fd}.actual-chat-track{padding:16px;position:relative}.actual-date{font-size:11px;color:#99919f;text-align:center;margin:0 0 15px}.actual-welcome{position:absolute;top:24px;left:20px;right:20px;display:flex;align-items:flex-start;gap:12px;font-size:15px;z-index:1;color:#756d80;line-height:1.8}.actual-welcome>img{width:40px;height:40px;border-radius:50%;object-fit:contain}.actual-user{display:flex;align-items:flex-end;justify-content:flex-end;gap:8px;max-width:92%;margin-left:auto;opacity:0}.actual-user>img{height:36px;width:36px;border-radius:50%;object-fit:cover;background:#eee4e9;flex-shrink:0}.actual-user>div{border-radius:22px 22px 7px 22px;padding:12px 16px;background:linear-gradient(135deg,#f5eef4,#f8f5fc);border:1px solid #ded0e649;font-size:15px;line-height:1.625}.actual-user small{display:block;text-align:right;font-size:10px;color:#a194a3;margin-top:6px}.actual-user small>b{color:#64a47b;font-weight:400;margin-left:5px}.actual-assistant{margin-top:14px;display:flex;align-items:flex-start;gap:10px;opacity:0}.actual-assistant>img{width:40px;height:40px;border-radius:50%;flex-shrink:0}.actual-assistant>div{padding:12px 16px;border-radius:7px 22px 22px 22px;background:#fffdf8e0;max-width:calc(100% - 50px);border:1px solid #eee4e549}.actual-assistant header{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:12px}.actual-assistant header>span{padding:4px 8px;font-size:10px;font-weight:700;line-height:1;border:1px solid white;background:#f0faf6eb;border-radius:20px;color:#417061}.actual-assistant p{font-size:15px;line-height:1.625;margin-top:9px}.actual-assistant small{font-size:10px;color:#aaa0ac;display:block;margin-top:8px}.actual-typing{position:absolute;top:169px;left:16px;display:flex;gap:10px;opacity:0}.actual-typing>img{width:40px;height:40px;border-radius:50%}.actual-typing>span{display:flex;align-items:center;gap:5px;padding:15px;background:#fffdf8;border-radius:7px 22px 22px 22px}.actual-typing i{width:6px;height:6px;border-radius:50%;background:#b8a8cb}.actual-confirmation{border:1px solid #412e561f;border-radius:24px;background:#fffdf8e0;box-shadow:0 7px 20px #503d5b07;margin-top:12px;opacity:0;overflow:hidden}.memory-heading{padding:20px 20px 16px;display:flex;gap:12px;align-items:flex-start}.memory-heading>span{width:40px;height:40px;border-radius:16px;background:#efe8fa;color:#5d2fc2;display:grid;place-items:center;flex-shrink:0;font-size:20px}.memory-heading>div{min-width:0}.memory-heading small{font-size:12px;font-weight:600;color:#5d2fc2;display:block}.actual-ai-badge{display:inline-block;padding:4px 7px;margin-top:4px;border:1px solid white;border-radius:15px;background:#f0faf6;font-size:10px;font-weight:600;color:#417061;line-height:1.4}.memory-heading h3{font-size:17px;line-height:1.5;font-weight:700;margin-top:4px;letter-spacing:0}.memory-heading p{font-size:14px;line-height:24px;color:#756d80;margin-top:4px}.memory-item{display:flex;align-items:flex-start;gap:10px;border:1px solid #8f65d647;background:#efe8fa73;border-radius:18px;padding:12px;margin:0 12px 12px}.memory-check{height:44px;min-width:32px;color:#8f65d6;padding:8px 4px 0;font-size:20px}.memory-item>div{flex:1;min-width:0}.item-chip{display:inline-block;font-size:11px;font-weight:600;background:#edf0fa;border-radius:20px;padding:4px 8px;margin:0 5px 5px 0}.item-chip.sensitive{background:#fae9df;color:#8b5147}.memory-item strong{font-size:15px;line-height:24px;display:block;margin-top:3px}.memory-item blockquote{font-size:12px;line-height:1.7;color:#887c91;margin:7px 0 0;padding:0}.memory-edit{font-size:12px;color:#5d2fc2;padding:5px 0}.memory-actions{display:grid;gap:8px;padding:0 12px 12px}.memory-actions>span{min-height:48px;padding:12px 10px;display:flex;align-items:center;justify-content:center;border:1px solid #d9cbea;border-radius:16px;color:#5d2fc2;font-size:14px;font-weight:700}.memory-actions>span:first-child{background:linear-gradient(#7040ca,#5d2fc2);color:white;border-color:#5d2fc2}.memory-actions>span:last-child{border:0;min-height:44px;color:#897d93}.actual-bottom{flex-shrink:0;background:#faf8fd;position:relative;z-index:5;padding-top:4px}.actual-quick{display:flex;gap:6px;padding:0 8px 7px;overflow:hidden}.actual-quick>span{height:36px;min-width:max-content;display:flex;align-items:center;border:1px solid #ddd3e8;border-radius:20px;padding:0 11px;background:#fffcfa;font-size:12px;color:#776987}.actual-composer{display:flex;align-items:center;gap:8px;min-height:58px;margin:0 8px;padding:5px;border:1px solid #ddd4e4;border-radius:30px;background:#ffffffdb;box-shadow:0 5px 18px #5a366413}.actual-composer>span{height:44px;width:44px;border-radius:50%;background:linear-gradient(#7040ca,#5d2fc2);color:white;display:grid;place-items:center;font:28px Arial;flex-shrink:0}.actual-composer>span:last-child{background:#bca4e0;font-size:24px}.actual-composer>p{font-size:14px;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#aaa0b2}.actual-disclaimer{font-size:9px;text-align:center;color:#92849f;padding:5px 12px;line-height:1.6}.actual-dock{display:grid;grid-template-columns:repeat(5,1fr);min-height:67px;border:1px solid #dfd2e7;border-radius:26px;margin:2px 8px 8px;background:#fffdf8eb;padding:5px;box-shadow:0 10px 25px #5e387916}.actual-dock>span{display:flex;flex-direction:column;align-items:center;gap:1px;font-size:10px;color:#8b7a9a;justify-content:center}.actual-dock b{height:35px;width:40px;border-radius:16px;display:grid;place-items:center;font-weight:400}.actual-dock svg{width:22px;height:22px}.actual-dock .active{color:#5d2fc2;font-weight:700}.actual-dock .active b{background:#efe8fa;border:1px solid #d5c5e9;color:#5d2fc2}.phone-enlarge{position:absolute;left:0;right:0;top:calc(868px * var(--phone-scale) + 20px);border:0;background:none;color:#7e7184;font-size:10px;letter-spacing:.02em;text-align:center;padding:8px}.phone-dialog{border:0;border-radius:22px;padding:23px 15px;background:#f8f5fc;color:#2e2937;max-width:min(96vw,470px);max-height:94svh;overflow:auto;box-shadow:0 25px 100px #23133544}.phone-dialog::backdrop{background:#221d27aa;backdrop-filter:blur(5px)}.phone-dialog>p{font-size:11px;padding:0 32px 18px 8px;color:#756d80}.dialog-close{position:absolute;right:13px;top:10px;background:none;border:0;font-size:28px;color:#665a70;width:36px;height:36px}.dialog-phone-content .actual-phone{border-radius:24px;border:1px solid #e0d8e7;max-width:100%;height:820px}.dialog-phone-content .actual-chat-viewport{overflow-y:auto}.dialog-phone-content .actual-chat-track{transform:none!important}.dialog-phone-content .actual-welcome,.dialog-phone-content .actual-typing{display:none!important}.dialog-phone-content .actual-user,.dialog-phone-content .actual-assistant,.dialog-phone-content .actual-confirmation{opacity:1!important;visibility:visible!important;transform:none!important}.dialog-phone-content .actual-approve{box-shadow:none!important}
@media(max-height:850px) and (min-width:761px){.phone-wrap{top:12%;width:310px;height:650px;--phone-scale:.75}}
@media(max-width:1100px){.phone-wrap{left:59%;width:300px;--phone-scale:.725}}
@media(max-width:760px){.phone-wrap{left:50%;top:31%;width:280px;height:590px;--phone-scale:.676;transform:translateX(-50%)}.phone-enlarge{font-size:8px;top:calc(868px * var(--phone-scale) + 5px);padding:5px}.phone-dialog{padding:20px 10px;max-height:96svh;max-width:96vw}.phone-dialog .actual-phone{width:min(390px,86vw);height:780px}.phone-dialog .actual-header strong{font-size:16px}.phone-dialog .actual-header{padding-inline:10px;grid-template-columns:37px 1fr 25px;gap:5px}.phone-dialog .actual-header small{font-size:10px}.phone-dialog .actual-notice{padding-inline:10px;gap:8px}.phone-dialog .actual-header strong>img{width:23px;height:23px}.phone-dialog .actual-status>i{left:calc(50% - 47px)}.phone-dialog .actual-status{font-size:10px}.phone-dialog .actual-quick{gap:4px}.phone-dialog .actual-quick>span{font-size:10px;height:32px}.phone-dialog .actual-composer>p{font-size:12px}.phone-dialog .actual-composer>span{width:35px;height:35px}.phone-dialog .actual-composer{min-height:47px}.phone-dialog .actual-disclaimer{font-size:8px}}
