/* Prototype layer: sizing, links, toast. Screen design lives in concept.css / concept-tools.css. */
html{background:#ece6dc}
html.proto body{opacity:0}
html.proto.ready body{opacity:1}
body{-webkit-tap-highlight-color:rgba(118,91,71,.12)}

/* Screen frame rules carried over from the approved renders */
.statusbar{height:54px;position:relative;display:block;flex:none;background:var(--paper);color:#141414}
.status-time{position:absolute;left:45px;top:27px;transform:translateY(-50%);width:50px;text-align:center;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;font-size:17px;font-weight:700;line-height:20px;letter-spacing:-.45px}
.status-icons{position:absolute;left:281px;top:27px;transform:translateY(-50%);display:block;width:78px;height:16px;overflow:visible}
.mobile{height:844px;min-height:844px;overflow:hidden;position:relative}
.consultation-page .request-header{padding:13px 20px 12px}
.consultation-page .request-action{margin-top:16px}
.consultation-page .request-footer{margin-top:15px;padding-top:11px}

/* Links and touch targets */
a{color:inherit;text-decoration:none;font:inherit}
button:disabled{cursor:pointer}
button,[data-toast],a[href]{cursor:pointer}
a.icon-button,button.icon-button{color:var(--ink)}
a:hover,button:not(.swatch):not(.pay):not(.on):hover,[data-toast]:hover{filter:brightness(.97)}
a.primary:hover,a.pill.solid:hover,button.primary:hover{filter:brightness(1.08)}
a:focus-visible,button:focus-visible,[data-toast]:focus-visible{outline:2px solid #765b47;outline-offset:2px}
.crumb{color:inherit}
a.crumb:hover{text-decoration:underline}
.link-soft{cursor:pointer}
.quick-buy-link{display:block;text-align:center;font-size:11px;color:var(--accent);padding:7px 0 0}
.quick-buy-link:hover{text-decoration:underline}
.product-page .product-photo{height:258px}
.product-page .product-photo img{height:274px}
.product-page .mobile-action{padding-bottom:9px}

/* m4: keep the whole sheet inside the screen */
.sheet{top:238px}

/* m10 / m11 anchors */
.page-dim{display:block}
.mega-col li{padding:0!important}
.mega-col li>a,.mega-col li>.li-in{display:flex;align-items:center;justify-content:space-between;width:100%;padding:13px 0;color:inherit}
.mega-col.types li>a,.mega-col.types li>.li-in{padding:15px 0}
.mega-col li>a:hover .go{transform:translateX(3px)}
.mega-col .go{transition:transform .15s}
.feature-link{display:block;color:inherit}
.feature-link:hover h3{text-decoration:underline}
a.quick-link:hover{color:var(--accent)}
a.dr-close{display:flex}
a.dim{display:block}
a.group-head{color:var(--ink)}
.dr-btn{color:#5d5348}
a.dr-btn{display:flex}
.secondary-links span{cursor:pointer}

/* Stage: wrapper added by proto.js */
.proto-viewport{position:relative;margin:0 auto}
.proto-stage{transform-origin:0 0;position:relative}
.proto-frame{transform-origin:0 0;position:relative}

/* Phone screen on a computer: centred phone frame */
html.mode-frame body{min-height:100vh;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#ece6dc}
html.mode-frame .proto-viewport{margin:0}
html.mode-frame .proto-frame{width:410px;height:864px;padding:10px;border-radius:52px;background:#26221e;box-shadow:0 30px 70px rgba(48,40,32,.28),0 0 0 2px #3a342d inset}
html.mode-frame .proto-stage{width:390px;height:844px;border-radius:42px;overflow:hidden;background:var(--paper)}
html.mode-frame .proto-stage .mobile{margin:0}

/* Phone screen on a real phone: full screen */
html.mode-full body{background:var(--paper);overflow:hidden}
html.mode-full .proto-viewport{position:fixed;left:0;top:0}
html.mode-full .proto-stage{width:390px;background:var(--paper);overflow:hidden}
html.mode-full .proto-stage .mobile{width:390px;height:100%!important;min-height:0!important;margin:0}
html.mode-full .statusbar{height:40px}
html.mode-full .status-time,html.mode-full .status-icons{display:none}
html.mode-full .m2-scroll{overflow-y:auto;min-height:0;padding-bottom:92px;-webkit-overflow-scrolling:touch}
html.mode-full .sheet{overflow-y:auto}
html.mode-full .dr-body{overflow-y:auto;padding-bottom:100px}
html.mode-full .m11 .drawer{width:338px}

/* Computer screens: full width */
html.mode-wide body{overflow-x:hidden;background:var(--paper)}
html.mode-wide.is-small body{overflow-x:auto}
html.mode-wide .proto-viewport{margin:0}
html.mode-wide .proto-stage{width:1440px}

/* Floating link back to the screen list */
.proto-back{position:fixed;z-index:3000;left:16px;top:16px;display:inline-flex;align-items:center;height:30px;padding:0 14px;border-radius:15px;background:rgba(38,34,30,.86);color:#fff;font:600 12.5px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;letter-spacing:.1px;box-shadow:0 4px 14px rgba(48,40,32,.25);white-space:nowrap}
.proto-back:hover{background:#26221e;filter:none}
html.mode-full .proto-back{left:50%;top:5px;transform:translateX(-50%);height:28px;box-shadow:none;background:#765b47}
html.mode-wide .proto-back{left:auto;right:16px;top:auto;bottom:16px;transform:scale(var(--k,1));transform-origin:right bottom}

/* Toast */
.proto-toast{position:fixed;z-index:4000;left:50%;bottom:34px;transform:translate(-50%,12px) scale(var(--k,1));transform-origin:center bottom;max-width:calc(100vw - 32px);padding:11px 18px;border-radius:22px;background:#26221e;color:#fff;font:500 13.5px/1.35 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;text-align:center;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}
.proto-toast.show{opacity:1;transform:translate(-50%,0) scale(var(--k,1))}

html.mode-wide,html.mode-full{background:#fbf9f5}
