/* Phone-specific Portal skin; Sub2API never loads this stylesheet. */
html.tyy-phone{overflow-x:clip;-webkit-text-size-adjust:100%;background:#f5f6f0;scroll-padding-top:76px}
html.tyy-phone body:not(.study){background:#f5f6f0;min-height:100dvh;font-size:14px;line-height:1.65;overflow-x:clip}
html.tyy-phone body:not(.study) :is(input,select,textarea){font-size:16px;min-width:0;max-width:100%;box-sizing:border-box;border-radius:12px}
html.tyy-phone body:not(.study) :is(input:not([type=checkbox]):not([type=radio]),select){min-height:44px}
html.tyy-phone body:not(.study) input:is([type=checkbox],[type=radio]){width:18px;height:18px;flex:none;accent-color:#658657}
html.tyy-phone body:not(.study) :is(button,a){touch-action:manipulation;-webkit-tap-highlight-color:transparent}
html.tyy-phone body:not(.study) .btn{min-height:44px;padding:10px 14px;border-radius:13px;font-size:13px;line-height:1.5;white-space:normal}
html.tyy-phone body:not(.study) .mini-btn{min-height:38px;padding:8px 10px;border-radius:11px;font-size:12px;line-height:1.4;white-space:normal}
html.tyy-phone body:not(.study) :is(.portal-wrap,.admin-wrap,.account-wrap,.legal-wrap,.receive-shell){width:100%;max-width:none;padding:16px 14px calc(28px + env(safe-area-inset-bottom,0px));margin:0;box-sizing:border-box}
html.tyy-phone body.account-page{padding:0}html.tyy-phone .phone-has-page-nav{padding-top:calc(64px + env(safe-area-inset-top,0px))!important}
html.tyy-phone .phone-page-nav{position:fixed;inset:0 0 auto;z-index:40;height:calc(64px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 14px 0;background:#f5f6f0ed;backdrop-filter:blur(16px);border-bottom:1px solid #e2e7dc;display:flex;align-items:center;gap:12px;box-sizing:border-box}
html.tyy-phone .phone-page-nav>a{display:grid;place-items:center;min-width:36px;height:40px;color:#59754d;font-size:32px;text-decoration:none}.phone-page-nav b{font-size:18px;font-weight:700}html.tyy-phone .phone-page-nav .phone-nav-account{margin-left:auto;width:34px;height:34px;background:#e6edde;border-radius:50%;font-size:13px}
html.tyy-phone .phone-has-page-nav :is(.account-nav,.tools-wrap>.topbar,.legal-wrap>p:first-child,.admin-wrap>p:first-child){display:none}
html.tyy-phone body:not(.study) .card-block{padding:16px;margin-top:14px;border-radius:18px;box-shadow:0 3px 12px #59704407;border-color:#e3e8dc;min-width:0}
html.tyy-phone body:not(.study) .card-block h2{font-size:16px;margin:0 0 10px}html.tyy-phone body:not(.study) .muted{font-size:12px;line-height:1.65;overflow-wrap:anywhere}html.tyy-phone body:not(.study) .field{margin-top:12px;min-width:0}html.tyy-phone body:not(.study) .field label{font-size:12px}html.tyy-phone .section-heading{gap:9px;flex-wrap:wrap}html.tyy-phone .section-heading>.btn{padding:7px 10px;min-height:36px}
html.tyy-phone body:not(.study) .table-scroll{max-width:100%;overflow:auto;border-radius:12px;-webkit-overflow-scrolling:touch}html.tyy-phone body:not(.study) .table-scroll table{min-width:650px;font-size:12px}html.tyy-phone body:not(.study) .table-scroll input{font-size:14px}html.tyy-phone body:not(.study) .inline-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html.tyy-phone body:not(.study) .inline-form .field{margin:0}html.tyy-phone .inline-form>.checks,html.tyy-phone .inline-form>.btn{grid-column:1/-1}html.tyy-phone .inline-form .checks{display:flex;flex-wrap:wrap;gap:8px;white-space:normal}
html.tyy-phone .login-shell{max-width:430px;width:100%}html.tyy-phone body.center-page{padding:calc(20px + env(safe-area-inset-top,0px)) 16px calc(20px + env(safe-area-inset-bottom,0px));align-items:center;min-height:100dvh!important}
html.tyy-phone .login-shell .panel{padding:26px 20px 22px;border-radius:24px;border-color:#e1e8d8;box-shadow:0 6px 22px #5970440b}html.tyy-phone #loginForm h1{font-size:29px;margin:6px 0}html.tyy-phone #loginForm>.big-emoji{font-size:32px;margin:0}html.tyy-phone .login-qr-corner{top:14px;right:14px;width:36px;height:36px;min-height:36px}html.tyy-phone .legal-consent{font-size:11px;line-height:1.7;margin:14px 0}html.tyy-phone .captcha-row{grid-template-columns:minmax(0,1fr) 116px;gap:8px}html.tyy-phone .captcha-box{width:116px;height:46px}html.tyy-phone .captcha-box svg{max-width:100%;height:100%}html.tyy-phone .login-footer{margin-top:12px;font-size:11px}html.tyy-phone #loginForm>.btn{margin-top:10px}
html.tyy-phone .portal-wrap{text-align:left;padding-top:calc(12px + env(safe-area-inset-top,0px))!important}html.tyy-phone .portal-wrap .topbar{position:relative;display:flex;gap:12px;align-items:flex-start;margin:0 0 22px;padding:4px 0;flex-wrap:wrap}html.tyy-phone .portal-wrap .topbar>span:last-child{display:flex;gap:6px;flex-wrap:wrap;flex:1;justify-content:flex-end;min-width:120px}html.tyy-phone .portal-wrap .topbar .btn{font-size:10px;padding:6px 8px;min-height:34px}html.tyy-phone .identity-who{font-size:12px;max-width:100%;overflow-wrap:anywhere}html.tyy-phone .identity-who .profile-avatar{width:32px;height:32px}html.tyy-phone .portal-wrap .hero-emoji{font-size:40px;margin:4px 0 0}html.tyy-phone .portal-wrap>h1{font-size:30px;margin:2px 0}html.tyy-phone .portal-wrap .tagline{margin:8px 0 20px;max-width:290px;font-size:13px;line-height:1.7;color:#7d8774}
html.tyy-phone .entry-grid{grid-template-columns:1fr!important;gap:14px;margin:0}html.tyy-phone .entry-card{padding:18px;border-radius:20px;min-width:0;box-shadow:0 4px 14px #59704409}html.tyy-phone .entry-main{display:grid;grid-template-columns:54px minmax(0,1fr);column-gap:14px;align-items:center;text-align:left}html.tyy-phone .entry-icon{grid-row:1/4;font-size:30px;margin:0;width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:#f0f4e9}html.tyy-phone .entry-main h2{grid-column:2;font-size:17px;margin:0}html.tyy-phone .entry-main p{grid-column:2;font-size:11px;margin:3px 0 8px}html.tyy-phone .entry-go{grid-column:2;font-size:12px}html.tyy-phone .entry-legal{display:block;text-align:left;margin-top:15px;padding-top:10px;border-top:1px solid #eef0e7;font-size:10px}
html.tyy-phone body:not(.study) .portal-footer{font-size:11px;margin-top:24px;text-align:center;padding:0 10px}html.tyy-phone .portal-footer-contact{margin-top:6px!important}
html.tyy-phone .account-hero{padding:4px 4px 10px;margin:0;gap:12px}html.tyy-phone .account-hero .profile-avatar{width:56px;height:56px;font-size:24px}html.tyy-phone .account-hero h1{font-size:21px}html.tyy-phone .account-grid{grid-template-columns:1fr;gap:0}html.tyy-phone .account-card:last-child{grid-column:auto}html.tyy-phone .account-card>.btn.full{margin-top:12px}html.tyy-phone .account-actions{gap:8px;margin-top:12px}html.tyy-phone .scope-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}html.tyy-phone .scope-mode{font-size:11px;min-height:40px;padding:7px 4px}html.tyy-phone .study-section-picker{gap:7px}html.tyy-phone .study-section-picker label{padding:9px;font-size:12px;flex:1;justify-content:center}html.tyy-phone .link-request-form .btn{flex:1}
html.tyy-phone .admin-wrap>h1{font-size:20px;margin-bottom:6px}html.tyy-phone .icon-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}html.tyy-phone .icon-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html.tyy-phone .icon-editor{min-width:0;padding:10px}html.tyy-phone .icon-editor h3{font-size:12px}html.tyy-phone .icon-editor input{width:100%;font-size:12px}html.tyy-phone .icon-editor .btn{font-size:11px;padding:7px 8px;min-height:36px}html.tyy-phone .icon-editor-actions{gap:5px;flex-wrap:wrap}html.tyy-phone .legal-tools{flex-direction:column;align-items:stretch}
html.tyy-phone .tool-receive-page{padding:0}html.tyy-phone .receive-nav{display:none}html.tyy-phone .receive-hero{padding:16px;border-radius:18px;display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px}html.tyy-phone .receive-hero h1{font-size:20px;line-height:1.4}html.tyy-phone .receive-hero .receive-emblem{width:44px;height:44px;font-size:22px}html.tyy-phone .receive-hero>.btn{grid-column:1/-1;padding:8px;min-height:38px}html.tyy-phone .receive-device{display:flex;flex-wrap:wrap;gap:8px;padding:12px;border-radius:14px;font-size:11px;overflow-wrap:anywhere}html.tyy-phone .receive-list{padding:14px;border-radius:18px}html.tyy-phone .receive-list-head{display:block}html.tyy-phone .receive-search{width:100%;margin-top:10px}html.tyy-phone .receive-search input{width:100%}html.tyy-phone .receive-gate{padding:14px;border-radius:18px}html.tyy-phone .receive-file-card{padding:12px;gap:8px;grid-template-columns:32px minmax(0,1fr) auto;font-size:12px}html.tyy-phone .receive-file-card b{font-size:13px}html.tyy-phone .receive-file-card :is(.btn,.mini-btn){padding:7px 10px;min-height:38px}html.tyy-phone .receive-file-card small{grid-column:2}html.tyy-phone .receive-footer{font-size:10px;padding:14px}
html.tyy-phone .capacity-strip{padding:14px;gap:6px;margin:12px 0;border-radius:16px}html.tyy-phone .capacity-strip>div:first-child{justify-content:space-between}html.tyy-phone .capacity-strip strong{font-size:24px}html.tyy-phone .tool-pick-zone{padding:16px;border-radius:16px;min-width:0}html.tyy-phone .tool-pick-zone b{font-size:16px}html.tyy-phone .tool-pick-zone input{width:100%;font-size:12px}html.tyy-phone .tool-pick-zone span{font-size:11px}html.tyy-phone .tool-primary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html.tyy-phone .tool-primary-actions .btn{padding:10px 8px;font-size:11px}html.tyy-phone .tool-options{padding:12px;border-radius:14px}html.tyy-phone .tool-options summary{font-size:12px}html.tyy-phone .tool-options summary .muted{display:block;font-size:10px}html.tyy-phone .tool-mode{grid-template-columns:1fr;gap:8px}html.tyy-phone .tool-mode label{padding:12px;border-radius:12px}html.tyy-phone .tool-mode label>input{margin-top:3px}html.tyy-phone .tools-wrap .form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}html.tyy-phone .tools-wrap .form-row .field{min-width:0;margin:0}html.tyy-phone .tool-share-head{align-items:flex-start;gap:8px}html.tyy-phone .tool-share-head a,html.tyy-phone .tool-created code,html.tyy-phone .tool-created p{overflow-wrap:anywhere;word-break:break-word}html.tyy-phone .tool-created>div{flex-wrap:wrap}html.tyy-phone .tool-share-meta{font-size:11px;flex-wrap:wrap;gap:6px}html.tyy-phone .tool-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;border-radius:14px}html.tyy-phone .tool-settings label{font-size:11px}html.tyy-phone .tool-settings input,html.tyy-phone .tool-settings select{display:block;width:100%;margin:5px 0 0}html.tyy-phone .tool-settings .mini-btn{grid-column:1/-1}html.tyy-phone .tool-upload{grid-template-columns:1fr;padding:12px;border-radius:14px}html.tyy-phone .tool-upload input{width:100%}html.tyy-phone .tool-share-actions{display:flex;flex-wrap:wrap;flex-direction:row;gap:7px}html.tyy-phone .tool-share-actions .btn{flex:1}html.tyy-phone :is(.tool-file,.tool-request,.tool-visitor){gap:7px;min-width:0;overflow-wrap:anywhere;font-size:11px}html.tyy-phone .tool-approve-form input{min-width:0;width:100%}
html.tyy-phone .legal-document{padding:18px 16px}html.tyy-phone .legal-document h1{font-size:22px;margin-bottom:10px}html.tyy-phone .legal-content{font-size:14px;line-height:1.85;overflow-wrap:anywhere}html.tyy-phone .legal-content h2{font-size:17px;margin:22px 0 8px}html.tyy-phone .legal-content p{margin:8px 0}
html.tyy-phone body:not(.study) :is(.qr-dialog,.app-dialog){width:calc(100vw - 24px);max-height:calc(100dvh - 32px);border-radius:20px;box-sizing:border-box}html.tyy-phone body:not(.study) :is(.qr-dialog,.app-dialog) form{padding:20px 16px}html.tyy-phone .share-qr-dialog img{width:min(260px,100%);height:auto}html.tyy-phone #qrScannerVideo{max-width:100%;max-height:45dvh}html.tyy-phone .qr-confirm-panel{padding:24px 18px;max-width:100%}html.tyy-phone .qr-confirm-panel dl{font-size:12px;overflow-wrap:anywhere}html.tyy-phone .qr-confirm-panel .account-actions>.btn{flex:1}
@media(orientation:landscape){html.tyy-phone .center-page{align-items:flex-start!important}html.tyy-phone .login-shell{max-width:480px}html.tyy-phone .account-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}html.tyy-phone .entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

html.tyy-phone .icon-editor-head{flex-direction:column;align-items:flex-start;gap:6px}html.tyy-phone .icon-editor small{overflow-wrap:anywhere}html.tyy-phone .icon-filters input{min-width:0}html.tyy-phone .tools-wrap{padding-top:16px!important}html.tyy-phone .capacity-strip>div:first-child{flex-wrap:wrap}html.tyy-phone .tool-section-head{flex-wrap:wrap}html.tyy-phone .tool-request{grid-template-columns:auto minmax(0,1fr)}html.tyy-phone .tool-request>div:last-child{grid-column:1/-1}html.tyy-phone .tool-visitor{grid-template-columns:minmax(0,1fr) auto}

html.tyy-phone .receive-file-card{grid-template-columns:32px minmax(0,1fr) auto}html.tyy-phone .receive-file-icon{width:32px;height:36px;font-size:9px}html.tyy-phone .receive-file-card>div{min-width:0}html.tyy-phone .receive-file-card small{font-size:10px}

.portal-scan-icon{display:none}html.tyy-phone .portal-scan-icon:not([hidden]){display:grid;place-items:center;width:34px;height:34px;border:1px solid #e1e7d8;border-radius:11px;color:#587457;background:white;padding:6px}html.tyy-phone .portal-wrap>.hero-emoji,html.tyy-phone .portal-wrap>h1{text-align:center}html.tyy-phone .portal-wrap>.tagline{text-align:center;margin-left:auto;margin-right:auto}#appSettingsForm .qr-setting{display:flex;align-items:center;gap:8px;margin:12px 0}

html.tyy-phone body:not(.study) dialog h2{text-align:center;padding-inline:32px;box-sizing:border-box}
html.tyy-phone body:not(.study) dialog .dialog-head{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:8px}
html.tyy-phone body:not(.study) dialog .dialog-head>h2{grid-column:2;grid-row:1;padding:0;margin:0}
html.tyy-phone body:not(.study) dialog .dialog-head>button{grid-column:3;grid-row:1}

html.tyy-phone{overscroll-behavior:contain!important}html.tyy-phone body{overscroll-behavior:auto!important}
html.tyy-phone :is(dialog,.table-scroll){overscroll-behavior:contain}
