/* Studio Putih — shared tokens and components for all active MyDesigner views. */
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;color:#171717;background:#f6f6f6;--ink:#171717;--muted:#686868;--line:#e2e2e2;--surface:#fff;--soft:#f2f2f2;--accent:#171717;--radius:14px;--fast:140ms;--motion:240ms;--ease:cubic-bezier(.2,.7,.2,1)}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input,label{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;border:0;color:inherit}button:disabled{cursor:not-allowed;opacity:.42}button,a,input,.dropzone,.toggle-track{transition:background-color var(--fast),border-color var(--fast),color var(--fast),box-shadow var(--fast),opacity var(--fast),transform var(--fast)}button:focus-visible,a:focus-visible,input:focus-visible,label:focus-within{outline:3px solid #888;outline-offset:4px}[hidden]{display:none!important}a{color:inherit}h1,h2,h3,p{margin:0}p{line-height:1.65}svg{flex-shrink:0}input{accent-color:#171717}input:disabled{background:var(--soft)}.skip-link{position:fixed;top:8px;left:12px;padding:12px;background:#171717;color:#fff;z-index:20;transform:translateY(-160%);border-radius:8px}.skip-link:focus{transform:translateY(0)}.noscript{padding:20px;background:#fff;border:2px solid #171717}
.sidebar{width:208px;position:fixed;inset:0 auto 0 0;background:var(--surface);border-right:1px solid var(--line);padding:31px 20px 23px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:19px;font-weight:750;letter-spacing:-.6px;white-space:nowrap}.brand small{display:block;font-size:7px;letter-spacing:1.6px;margin-top:5px;color:var(--muted);font-weight:550}.brand-mark{display:grid;place-items:center;background:#171717;color:#fff;width:35px;height:35px;border-radius:10px;font-size:30px;line-height:1;flex-shrink:0}.nav-caption{font-size:9px;letter-spacing:1.4px;color:var(--muted);margin:47px 10px 14px}.nav-item{display:flex;align-items:center;gap:10px;text-decoration:none;width:100%;padding:12px 11px;border-radius:8px;background:none;color:var(--muted);font-size:12px;font-weight:500;text-align:left;margin-bottom:6px;min-height:43px}.nav-item.active{background:var(--soft);color:var(--ink)}.nav-icon{font-size:20px;line-height:1}.nav-arrow{margin-left:auto;font-size:16px}.nav-item:hover{background:#eaeaea;color:#111}.sidebar-note{margin:auto 10px 35px;padding-top:45px}.note-icon{font-size:48px;line-height:1}.sidebar-note strong{display:block;font-size:26px;letter-spacing:-1px;line-height:1.2;margin:20px 0 13px}.sidebar-note p{font-size:12px;color:var(--muted)}.ink-pair{display:flex;align-items:center;margin-top:24px;font-size:9px;color:var(--muted);white-space:nowrap}.ink-pair i{width:16px;height:16px;border-radius:50%;background:#111;border:1px solid #999}.ink-pair i+i{background:repeating-conic-gradient(#ddd 0 25%,white 0 50%) 50%/6px 6px;margin-left:-4px}.ink-pair span{margin-left:7px}.sidebar-footer{border-top:1px solid var(--line);padding:20px 0 0;display:flex;gap:8px;align-items:center;font-size:10px;color:var(--muted)}.sidebar-footer small{display:block;font-size:9px;margin-top:5px}.avatar{background:#eee;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#222}
.app-shell{margin-left:208px;min-height:100vh;padding:0 32px;outline:none}.topbar{height:73px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.breadcrumb{font-size:11px;color:var(--muted)}.breadcrumb span{margin:0 13px;color:#999}.breadcrumb strong{font-weight:550;color:var(--ink)}.connection{font-size:10px;color:var(--muted);display:flex;gap:8px;align-items:center;border:1px solid var(--line);border-radius:24px;padding:8px 11px;white-space:nowrap}.connection i{width:10px;height:10px;border:1.5px solid #ccc;border-top-color:#171717;border-radius:50%;animation:spin .85s linear infinite}.connection.ready i{width:6px;height:6px;background:#171717;border:0;animation:none}.connection.failed i{background:none;border:1.5px solid #171717;animation:none}.page-heading{padding:32px 0 26px;display:flex;justify-content:space-between;align-items:end;gap:20px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:600;color:var(--muted)}.page-heading h1{font-size:36px;line-height:1.15;letter-spacing:-1.4px;font-weight:650;margin:13px 0}.page-heading p{font-size:12px;color:var(--muted)}.edition{font-size:9px;font-weight:500;letter-spacing:1px;color:var(--muted);text-align:right;white-space:nowrap;line-height:1.8}.edition span{display:block;font-size:9px;letter-spacing:.5px}.capability{display:flex;gap:10px;align-items:center;margin:0 0 21px;font-size:11px;color:var(--muted);background:#eee;border:1px solid #e2e2e2;border-radius:8px;padding:10px 13px;line-height:1.6}.capability>span{border:1px solid #aaa;border-radius:50%;width:16px;height:16px;flex-shrink:0;text-align:center;font-size:10px;line-height:14px}.capability strong{font-weight:600;color:#444}
.studio-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:22px;align-items:start}.settings{display:grid;gap:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius)}.settings .panel{padding:20px;border:0;border-bottom:1px solid var(--line);border-radius:0}.settings .panel:last-child{border-bottom:0}.section-heading{display:flex;gap:9px;align-items:center;margin-bottom:17px}.section-heading h2{font-size:12px;font-weight:600}.step-number{font-size:9px;color:var(--muted);border:1px solid var(--line);width:24px;height:24px;display:grid;place-items:center;border-radius:6px}.dropzone{display:flex;position:relative;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #bcbcbc;border-radius:9px;min-height:150px;background:white;cursor:pointer;text-align:center;gap:7px;padding:15px}.dropzone:hover,.dropzone.dragging{background:#f1f1f1;border-color:#171717}.dropzone.dragging{transform:scale(1.015);box-shadow:0 0 0 4px #1717170b}.dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.dropzone input:disabled{cursor:not-allowed}.dropzone strong{font-size:12px;font-weight:600}.dropzone>span:not(.upload-icon){font-size:10px;color:var(--muted)}.dropzone .file-limit{font-size:9px!important}.upload-icon{border-radius:50%;width:38px;height:38px;display:grid;place-items:center;background:var(--soft);margin-bottom:4px}.upload-icon svg{width:20px;height:20px;fill:none;stroke:#171717;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.file-name{font-size:10px;color:var(--muted);margin-top:12px;overflow-wrap:anywhere}.sample-button{padding:10px 0 0;background:none;font-size:10px;color:var(--muted);width:100%;text-align:center;min-height:32px}.sample-button strong{color:#333;font-weight:600;text-underline-offset:3px}.sample-button:hover strong{text-decoration:underline}.field{margin-top:16px}.field label{display:block;font-size:11px;font-weight:550;margin-bottom:8px}.field input{width:100%;border:1px solid var(--line);border-radius:7px;padding:10px 11px;font-size:12px;color:var(--ink);background:#fff;min-width:0;min-height:39px}.field input:hover{border-color:#aaa}.field input[aria-invalid=true]{border-color:#171717;box-shadow:0 0 0 1px #171717}.output-choice{display:flex;align-items:center;gap:10px;padding:3px 0 8px}.black-swatch{width:28px;height:28px;background:#000;border-radius:50%;box-shadow:inset 0 0 0 3px #fff,0 0 0 1px var(--line);flex-shrink:0}.output-choice strong{font-size:12px;display:block;font-weight:550}.output-choice div>span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.choice-check{margin-left:auto;font-size:14px}.hint{font-size:11px;color:var(--muted);margin:10px 0 16px}.wide{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;font-size:12px;font-weight:600;min-height:44px;padding:12px 9px;border-radius:9px;text-decoration:none}.primary{background:#171717;color:#fff;border:1px solid #171717}.primary:hover:enabled{background:#333;box-shadow:0 4px 9px #00000012;transform:translateY(-1px)}.primary:active:enabled,.secondary:active:enabled{transform:translateY(1px)}.secondary{background:#f2f2f2;color:#171717;border:1px solid var(--line)}.secondary:hover:enabled{background:#e7e7e7;border-color:#aaa}.secondary:enabled{background:#171717;color:white;border-color:#171717}.secondary:enabled:hover{background:#333}.unit-input{display:flex;border:1px solid var(--line);border-radius:7px;align-items:center;overflow:hidden}.unit-input input{border:0;border-radius:0}.unit-input span{font-size:11px;color:var(--muted);padding:0 12px}.small{font-size:10px;line-height:1.7;color:var(--muted);margin-top:8px}.export-panel .wide{margin-top:15px}.review-choice{display:flex;align-items:start;gap:8px;background:#f1f1f1;border:1px solid #d5d5d5;font-size:11px;line-height:1.65;padding:11px;border-radius:7px;color:#333;margin-bottom:15px;animation:arrive var(--motion) var(--ease)}.review-choice input{margin:2px 0;min-width:16px;height:16px}.result-links{display:grid;gap:7px;margin-top:8px;max-height:130px;overflow:auto}.result-links a{font-size:11px;color:#333;overflow-wrap:anywhere;text-underline-offset:3px;padding:5px 0}.result-links a:hover{color:#000}
.workspace{overflow:hidden;min-height:640px}.workspace-header{padding:24px;display:flex;gap:14px;align-items:center;justify-content:space-between}.workspace-header h2{font-size:19px;font-weight:600;letter-spacing:-.4px}.workspace-header p{font-size:11px;color:var(--muted);margin-top:7px}.quiet-button{font-size:11px;background:white;border:1px solid var(--line);border-radius:7px;padding:9px 11px;color:#444;white-space:nowrap;min-height:36px}.quiet-button:hover{border-color:#aaa;background:#f5f5f5}.quiet-button[aria-pressed=true]{background:#171717;color:white;border-color:#171717}.workflow{display:flex;align-items:center;margin:0 24px 20px;gap:10px}.workflow-step{font-size:10px;color:#777;white-space:nowrap;transition:color var(--motion)}.workflow-step b{font-size:10px;font-weight:500;margin-left:5px}.workflow-step.current{color:#171717;font-weight:700}.workflow-line{height:1px;background:var(--line);flex:1;min-width:5px}.status-bar{position:relative;background:#f7f7f7;border-top:1px solid #eee;border-bottom:1px solid #eee;display:flex;align-items:center;gap:9px;padding:13px 24px;min-height:48px;overflow:hidden}.status-dot{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#888}.status-bar.processing .status-dot{background:none;width:13px;height:13px;border:1.5px solid #ccc;border-top-color:#171717;animation:spin .9s linear infinite}.status-bar.processing:after{content:'';position:absolute;bottom:0;left:-32%;height:2px;width:32%;background:linear-gradient(90deg,transparent,#555,transparent);animation:progress 1.8s ease-in-out infinite}.status-bar[data-feedback=error]{background:#ececec;border-color:#bbb}.status-bar[data-feedback=error] .status-dot{border-radius:2px;background:#171717;transform:rotate(45deg)}#status{font-size:11px;line-height:1.7;color:#555;flex:1;min-width:0}#status.error{color:#171717;font-weight:550}.process-clock{font-size:10px;color:#686868;white-space:nowrap;font-variant-numeric:tabular-nums}.status-bar .quiet-button{font-size:10px;min-height:30px;padding:6px 9px}.compare{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:24px}.preview-column{min-width:0}.preview-label{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:13px}.preview-label h3{font-size:12px;font-weight:550}.preview-label>span{font-size:8px;letter-spacing:.7px;color:var(--muted);padding:4px 5px;border:1px solid var(--line);border-radius:4px}.result-column .stage{border-color:#aaa}.stage{position:relative;height:300px;border:1px solid var(--line);border-radius:9px;overflow:auto;display:grid;place-items:center;background:white;isolation:isolate}.checker{background-color:#fff;background-image:conic-gradient(#f1f1f1 25%,transparent 0 50%,#f1f1f1 0 75%,transparent 0);background-size:16px 16px}.stage img{display:block;width:100%;max-width:100%;max-height:100%;object-fit:contain;padding:14px;transition:width 280ms var(--ease)}.stage.empty img{display:none}.stage.empty:before{content:'◇';color:#b7b7b7;font-size:33px;position:absolute;top:calc(50% - 45px)}.stage.empty:after{content:attr(data-empty);font-size:11px;line-height:1.7;color:#777;position:absolute;top:calc(50% + 5px);text-align:center;padding:0 14px}.preview-foot{font-size:10px;line-height:1.7;margin-top:11px;color:var(--muted);min-height:34px}.workspace-bottom{border-top:1px solid var(--line);margin:0 24px;padding:18px 0 0;display:flex;justify-content:space-between;align-items:center;gap:12px}.toggle{display:flex;align-items:center;gap:9px;font-size:11px;color:#555;cursor:pointer;min-height:30px}.toggle input{position:absolute;opacity:0;width:1px;height:1px}.toggle-track{width:28px;height:16px;border-radius:9px;background:#ddd;padding:3px;flex-shrink:0}.toggle-track:after{content:'';display:block;width:10px;height:10px;border-radius:50%;background:white;box-shadow:0 1px 2px #0001;transition:transform var(--motion) var(--ease)}.toggle input:checked+.toggle-track{background:#171717}.toggle input:checked+.toggle-track:after{transform:translateX(12px)}.toggle input:disabled~span{opacity:.5}.toggle input:focus-visible+.toggle-track{outline:3px solid #888;outline-offset:3px}.workspace-bottom .small{margin:0;font-size:10px;text-align:right}.provenance{font-size:10px;color:var(--muted);padding:12px 24px 20px;line-height:1.7}.quality-note{display:flex;gap:12px;padding:17px;background:#f7f7f7;border-radius:9px;margin:0 24px 24px}.quality-note>span{font-size:23px;flex-shrink:0;line-height:1.2}.quality-note strong{font-size:11px;font-weight:550}.quality-note p{font-size:11px;margin-top:5px;color:var(--muted)}.page-footer{padding:25px 0;display:flex;justify-content:space-between;gap:15px;font-size:10px;color:var(--muted)}.compare.zoom .stage{display:block}.compare.zoom img{max-width:none;max-height:none;width:300%;height:auto}.compare.zoom .empty{display:grid}
/* A single motion vocabulary: short feedback, gentle arrivals, truthful waiting. */
.stage-loader{display:none;position:absolute;inset:0;z-index:2;align-items:center;justify-content:center;flex-direction:column;gap:17px;background:#ffffffed;min-height:160px}.stage.is-loading .stage-loader{display:flex;animation:arrive 180ms var(--ease)}.stage.is-loading:before,.stage.is-loading:after{display:none}.loading-ring{width:32px;height:32px;border:2px solid #ddd;border-top-color:#171717;border-radius:50%;animation:spin 1s linear infinite}.loading-caption{font-size:11px;color:#555;text-align:center;padding:0 12px}.button-loading:before{content:'';width:13px;height:13px;border:1.5px solid #ffffff55;border-top-color:currentColor;border-radius:50%;animation:spin .85s linear infinite;flex-shrink:0}.button-loading:disabled{opacity:.8}.toast{position:fixed;bottom:24px;left:calc(50% + 104px);transform:translate(-50%,14px);opacity:0;pointer-events:none;background:#171717;color:white;border:1px solid #444;border-radius:10px;box-shadow:0 6px 24px #0002;font-size:12px;line-height:1.6;padding:13px 20px;z-index:20;max-width:min(500px,calc(100vw - 32px));width:max-content;transition:opacity 180ms,transform 180ms var(--ease)}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);border-radius:17px;max-width:490px;width:calc(100% - 32px);padding:34px;color:#171717;box-shadow:0 20px 70px #0003;background:#fff}dialog::backdrop{background:#17171766;backdrop-filter:blur(3px);animation:fade-in 180ms}dialog[data-closing]{animation:dialog-out 160ms forwards}dialog h2{font-size:27px;letter-spacing:-.8px;margin:12px 0 22px}dialog ol{padding-left:20px;font-size:13px;line-height:1.8}dialog li{margin-bottom:14px}dialog p{font-size:11px;color:var(--muted)}.dialog-close{position:absolute;right:11px;top:11px;background:#f1f1f1;color:#555;font-size:23px;border-radius:50%;width:34px;height:34px}.dialog-close:hover{background:#ddd}.page-heading,.workspace,.settings{animation:arrive 320ms var(--ease) both}.workspace{animation-delay:60ms}.page-footer{animation:fade-in 300ms}.tab-inactive .loading-ring,.tab-inactive .status-dot,.tab-inactive .status-bar:after{animation-play-state:paused}.preparation-page .compare{grid-template-columns:repeat(2,minmax(0,1fr))}.preparation-page .workspace{min-height:580px}.preparation-page #download{margin-top:18px}.preparation-page .report-block{padding:0 24px 22px}.preparation-page .settings .hint{margin-bottom:0}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes progress{to{left:110%}}@keyframes arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes dialog-out{to{opacity:0;transform:translateY(5px)}}@view-transition{navigation:auto}::view-transition-old(root){animation:fade-in 120ms reverse}::view-transition-new(root){animation:fade-in 180ms}
@media(min-width:1550px){.app-shell{padding:0 45px}.studio-layout{grid-template-columns:260px minmax(0,1fr)}.stage{height:360px}}
@media(max-width:1190px){.sidebar{width:175px;padding-left:14px;padding-right:14px}.brand{font-size:17px;gap:8px}.brand small{font-size:6px}.brand-mark{width:32px;height:32px}.app-shell{margin-left:175px;padding:0 23px}.studio-layout{grid-template-columns:215px minmax(0,1fr);gap:16px}.settings .panel{padding:16px}.compare{gap:9px;padding:20px}.stage{height:265px}.preview-label>span{font-size:7px}.page-heading h1{font-size:31px}.edition{display:none}.workspace-header{padding:20px}.workspace-header h2{font-size:17px}.workspace-header p{font-size:10px}.workflow{margin-left:20px;margin-right:20px}.workflow-step b{font-size:9px}.toast{left:calc(50% + 87px)}}
@media(max-width:950px){.sidebar{width:74px;padding:23px 12px}.brand>span:not(.brand-mark),.nav-caption,.sidebar-note,.sidebar-footer,.nav-item .nav-arrow{display:none}.brand{justify-content:center}.nav-item{font-size:0;padding:12px;justify-content:center;margin-top:20px}.nav-icon{font-size:23px}.app-shell{margin-left:74px}.studio-layout{grid-template-columns:210px minmax(0,1fr)}.workflow-step b{display:none}.compare{grid-template-columns:1fr}.stage{height:260px}.preview-foot{min-height:0}.workspace-bottom{flex-wrap:wrap}.workspace{min-height:0}.preview-column{padding-bottom:10px}.toast{left:calc(50% + 37px)}.preparation-page .compare{grid-template-columns:1fr}}
@media(max-width:600px){.sidebar{position:static;width:100%;height:66px;padding:10px 18px;flex-direction:row;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--line)}.brand>span:not(.brand-mark){display:block;font-size:17px}.brand small{display:none}.brand{gap:9px}.brand-mark{height:32px;width:32px}.sidebar nav{display:flex}.nav-item{margin:0;padding:9px;font-size:0;min-height:40px}.nav-item.active{display:none}.nav-icon{font-size:20px}.app-shell{margin-left:0;padding:0 16px}.topbar{height:54px;gap:8px}.breadcrumb,.connection{font-size:9px}.breadcrumb span{margin:0 8px}.connection{padding:7px 9px}.page-heading{padding:26px 0 22px}.page-heading h1{font-size:30px;letter-spacing:-1.1px}.page-heading p{font-size:11px}.eyebrow{font-size:8px}.studio-layout{display:flex;flex-direction:column;gap:17px}.settings{display:contents}.settings .panel,.workspace{width:100%}.settings .panel{border:1px solid var(--line);border-radius:var(--radius);padding:18px}.upload-panel{order:0}.settings .panel:not(.upload-panel):not(.export-panel){order:2}.workspace{order:1}.export-panel{order:3}.compare{grid-template-columns:1fr;padding:18px}.stage{height:280px}.workflow-step b{display:inline;font-size:8px;margin-left:2px}.workflow{gap:6px;margin-left:18px;margin-right:18px}.workspace-header{padding:20px 18px;gap:8px}.workspace-header h2{font-size:17px}.workspace-header p{font-size:10px;max-width:180px}.quiet-button{font-size:10px;min-height:40px}.workspace-bottom{margin:0 18px}.provenance{padding-left:18px;padding-right:18px}.quality-note{margin:0 18px 18px}.capability{font-size:10px}.page-footer{padding:24px 0;flex-direction:column;align-items:center;font-size:9px;gap:8px}.field input{font-size:16px;min-height:44px}.wide{font-size:13px;min-height:46px}.preview-label h3{font-size:12px}.preview-foot{font-size:11px}.status-bar{padding:13px 18px;flex-wrap:wrap}.process-clock{font-size:9px}.status-bar .quiet-button{margin-left:20px}.toast{left:50%;bottom:18px}.preparation-page .compare{grid-template-columns:1fr}.preparation-page .settings{display:block}.preparation-page .report-block{padding-left:18px;padding-right:18px}.preparation-page .workspace{min-height:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.status-bar.processing:after{left:0;width:100%;opacity:.3}.loading-ring{border-style:dotted}.toast.visible{transform:translate(-50%,0)}::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}
